Commit graph

160 commits

Author SHA1 Message Date
The Dlang Bot
f3189822ab
Merge pull request #5989 from wilzbach/static-foreach
Use static foreach in Phobos
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-03 19:05:07 +01:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
The Dlang Bot
db2d2413b4
Merge pull request #5970 from wilzbach/markdownify-algorithm
Markdownify std.algorithm
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-03 15:44:56 +01:00
Sebastian Wilzbach
b0575c8a66 @safeify more unittests II 2018-01-03 06:26:05 +01:00
Sebastian Wilzbach
fc0c29f3a2 Markdownify std.algorithm
Done with: https://github.com/wilzbach/dscanner-fix/blob/master/d_code_markdown.d
2017-12-29 01:17:40 +01:00
The Dlang Bot
eb3c39048a
Merge pull request #3892 from JackStouffer/mean
Add mean to std.numeric
merged-on-behalf-of: unknown
2017-11-22 05:18:03 +01:00
Jack Stouffer
b5572e8f31 Fix issue 14034: Add mean to Phobos 2017-11-21 18:23:12 -05:00
Martin Nowak
4024b1250d Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-11-21 14:10:41 +01:00
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Sebastian Wilzbach
97a2c88175 Move public unittest below their respective declaration 2017-11-20 14:17:41 +01:00
aG0aep6G
d2aad6b7e6
remove unintended highlighting from cache's docs
Fixes two links.
2017-11-13 23:37:45 +01:00
The Dlang Bot
4e71185e99
Merge pull request #5796 from jondegenhardt/splitter-doc-changes
Documentation improvements for std.algorithm.splitter.
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2017-11-11 08:28:49 +01:00
Jon Degenhardt
913a0527cd Switch from dot delimiter to avoid style check involving consecutive dots. 2017-11-10 22:31:44 -08:00
Andrei Alexandrescu
334d4b9c8c
$(LREF reduce) -> $(LREF _reduce) 2017-11-06 14:27:35 -05:00
Jon Degenhardt
a184b26e8d Documentation improvements for std.algorithm.splitter. 2017-10-31 22:47:40 -07:00
Jon Degenhardt
c6ef7c3f5e Fix issue 15735: Correct splitter documentation when argument is an empty range. 2017-10-08 14:10:08 -07:00
jmh530
4150b2bb84 Update iteration.d UT comment 2017-10-03 09:42:28 -04:00
RazvanN7
30c5430181 Get rid of unused variables in std/algorithm/iteration 2017-08-02 09:21:32 +03:00
Jonathan M Davis
8ef2b195f1 Move some deprecations along. 2017-07-18 06:04:40 -06:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
2070d867dd Sort multiple packages within one line 2017-06-12 08:18:25 +02: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
Martin Nowak
b940d0c1c7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-05-23 20:37:35 +02:00
Andrei Alexandrescu
0e441a9d9e Fix Issue 16326 - filter is not lazy enough & has weird save behavior 2017-05-14 08:58:18 -04:00
Vladimir Panteleev
113502af74 std.algorithm.iteration: Add test for issue 17264
Fixes Issue 17264 - [REG2.073] uniq fails with const elements
2017-05-10 22:33:24 +00:00
Vladimir Panteleev
1e61c5cb6e Revert "Merge pull request #4961 from edi33416/uniq_consistency"
This reverts commit 428217b317, reversing
changes made to 7c2dc1ccba.
2017-05-10 22:33:24 +00:00
The Dlang Bot
57a0bf930a Merge pull request #5148 from wilzbach/static_if_iteration
[Static if] replace overload constraints with static if (iteration.d)
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-03-16 21:24:23 +01:00
The Dlang Bot
8146e88326 Merge pull request #5210 from wilzbach/std-algorithm-disable-quick-index
std.algorithm: remove quickIndex, fix outdated book tables & HTML links
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-03-03 15:35:24 +01:00
Sebastian Wilzbach
0f7952c4d8 walkBack follow-up: Mention fold's potential in the examples 2017-03-02 02:24:00 +01:00
Jack Stouffer
2e90b8ba16 Remove unused debug writelns in std.algorithm 2017-03-01 09:47:27 -05:00
Sebastian Wilzbach
b3bf38e6d6 std.algorithm: remove quickIndex, fix outdated book tables & HTML links 2017-03-01 03:59:48 +01:00
Jack Stouffer
f2b5834172 Linked to the definition of forward and bidirectional ranges where they're mentioned in std.algorithm 2017-02-26 11:44:55 -05:00
Sebastian Wilzbach
b8a88558a9 Fix Ddoc warnings 2017-02-26 09:33:14 +01:00
Jack Stouffer
7d4ac19030 Linked to the definition of input ranges where they're mentioned 2017-02-25 19:18:54 -05:00
Jack Stouffer
4ce5d44dbb Use underscores for number literals with five or more digits 2017-02-23 09:45:49 -05: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
2e15d8ac51 [Static if] replace overload constraints with static if (iteration.d) 2017-02-22 05:47:19 +01: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
Andrei Alexandrescu
027ae18cab Merge pull request #5175 from wilzbach/style-cast-space
Add a check to enforce space after cast(..) expressions
2017-02-21 20:11:23 -05:00
Jack Stouffer
e656eec40f Added practical example to std.algorithm.iteration.group 2017-02-21 15:40:24 -05: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
5521541032 Unify assert style to have no spaces between the first brace
Application of:

sed -E "s/assert +\(/assert(/" -i **/*.d
2017-02-21 15:27:15 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Sebastian Wilzbach
8d5b051235 Provide reference to other common names 2017-02-16 02:57:51 +01:00
Walter Bright
9f77f47cc7 Merge pull request #5046 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-01-21 15:45:48 -08:00
Jack Stouffer
fc37e0f750 Merge pull request #4887 from Superstar64/joiner_assign_front
made joiner.front assignable
2017-01-18 16:05:28 -05:00
Dmitry Olshansky
4d19d0ad3a Fix issue 17066 2017-01-17 23:07:56 +01:00
Eduard Staniloiu
3d98191ce9 Fix issue 16970 - Fix deprecations and warnings when compiling Phobos 2016-12-27 15:57:20 +02:00