Commit graph

74 commits

Author SHA1 Message Date
Per Nordlöw
fc96b0a99d make some traits iterative using static foreach 2018-10-23 21:22:57 +02:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Walter Bright
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Jack Stouffer
e14f89e170 Make references to input ranges a link to isInputRange 2018-04-08 16:19:57 -04:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
29557f1da3
Merge pull request #6215 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-02-24 12:36:28 +01:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Nick Treleaven
8a0228d13e Fix link title 2018-02-20 13:48:16 +00:00
Nick Treleaven
1119e7c4d0
Change hypen to comma 2018-02-13 12:02:10 +00:00
Nick Treleaven
c9520b7352 Tweak std.meta docs
Replace uses of 'list' with sequence.
S[n] is not the nth element (zero based).
Add links, formatting.
2018-02-07 16:45:02 +00:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
Martin Nowak
eb6e63aad1 use proper partion-and-conquer for NoDuplicates
- partition NoDuplicates as well as EraseAllN
- factor out EraseAllN to optimize compile time/mem
2017-11-21 18:59:08 +01:00
Simen Kjærås
a6e9b151fe Fix issue 17995 2017-11-20 16:34:52 +00:00
Ilya Yaroshenko
2eb41fd1bc allow n=0 for std.meta.Repeat 2017-10-18 21:44:09 +07:00
Steven Schveighoffer
4a9549ec7d fix docs a bit. 2017-09-17 14:25:28 -04:00
Steven Schveighoffer
f3cec8bdd3 Fix issue 9591 - Allow Instantiate template to be public, give example
of how Instantiate + ApplyRight can be used to solve the problem.
2017-09-17 12:29:28 -04:00
The Dlang Bot
d68a6c3d8f Merge pull request #5638 from dlang/MetaLang-patch-1
Remove all mentions of TypeTuple from std.meta
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-21 00:51:42 +02:00
MetaLang
58989c347f Remove all mentions of TypeTuple from std.meta 2017-07-20 22:05:02 +02:00
Sebastian Wilzbach
caf274304e Mention TypeTuple at std.meta.AliasSeq 2017-07-20 21:00:36 +02:00
Sebastian Wilzbach
b6ea0d7d1a Add std.meta.Stride 2017-07-13 10:58:34 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
H. S. Teoh
442cd24c15 Hide bugfix unittest from ddoc.
This particular unittest does not give any additional information to the
user, and the bugzilla note only serves to confuse. So it should not be
part of the ddoc'd unittest.
2017-06-08 09:37:47 -07:00
Jonathan M Davis
07fddbb388 Move deprecations along. 2017-05-07 11:27:48 +02:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Stefan Koch
ecd689d604 correct anySatisfy docs 2017-01-11 05:52:04 +01:00
tsbockman
b46d832110 Optimize staticSort for partially sorted input.
`staticMerge` is very expensive, as it allocates a lot of compile time
memory.
2016-12-15 09:15:31 -08:00
tsbockman
345111f4b2 Add std.meta.staticIsSorted. 2016-12-15 09:12:34 -08:00
Martin Nowak
0f5b131d0a Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
        std/traits.d
2016-11-05 12:15:09 +01:00
somzzz
daf4d06d47 fixup 2016-11-01 06:25:46 -07:00
somzzz
e0ca51f9f0 fix issue 8799 2016-11-01 06:14:14 -07:00
Petar Kirov
be6571ca37 Resurrect ApplyLeft and ApplyRight's documentation
Also put the signature of `isImplicitlyConvertible` in a comment to make the example more clear.
2016-10-23 23:05:18 +03:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Atila Neves
d599518eee Add @safe to std.meta unit tests 2016-07-01 11:14:48 +02:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Dmitry Olshansky
03d4171455 Merge pull request #4374 from mogucpp/master
make ApplyLeft/ApplyRight work with deep template
2016-06-08 11:51:32 +04:00
mogucpp
fad7eb0bf8 simplify Alias/ApplyLeft/ApplyRight impl, fix Issue 16070, more tests 2016-06-07 08:04:29 +08:00
Petar Kirov
6958c8179d Move allSatisfy, anySatisfy and staticIndexOf to searching in the quick index 2016-05-30 03:23:17 +03:00
Sebastian Wilzbach
f2e4aad20d Issue deprecation warning for deprecated IndexOf 2016-05-29 23:56:06 +02:00
Sebastian Wilzbach
ba2205e210 Add quickindex table to std/meta.d 2016-05-29 23:56:03 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
d1714c9afb minor style fixes 2016-04-27 04:18:22 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00