Commit graph

69 commits

Author SHA1 Message Date
Mathis Beer
eb0ffd9d1f Reduce size of slow testcase in std.algorithm.setops 2018-03-15 16:40:03 +01:00
Andrei Alexandrescu
6465d6ea5a
Add duplicates to test data 2018-01-16 12:10:13 -05:00
Andrei Alexandrescu
1ed73fa969
Use UFCS throughout 2018-01-16 12:09:24 -05:00
RazvanN7
a4cd3a6542 Fix Issue 18230 - multiwayUnion sets wrong pred lambdas 2018-01-15 16:07:18 +02: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
RazvanN7
3a4f83577e Get rid of unused variables in std/algorithm 2017-08-02 17:30:16 +03:00
RazvanN7
dc648c5b38 Add documentation and unittests regarding multisets 2017-07-21 10:12:16 +03:00
RazvanN7
9efa504bdc Fix Issue 6718 - nWayUnion => nWayMerge, plus true nWayUnion 2017-07-17 16:41:49 +03:00
RazvanN7
e471b222ce Rename nWayUnion => multiwayMerge and NWayUnion => MultiwayMerge 2017-07-17 15:05:10 +03: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
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
Jack Stouffer
e554764c01 Merge pull request #5216 from wilzbach/unluckily-phobos
Replace LUCKY links with actual links
2017-03-01 15:17:19 -05: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
Sebastian Wilzbach
d548e8830a Replace LUCKY links with actual links 2017-02-28 23:46:54 +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
Jack Stouffer
7d4ac19030 Linked to the definition of input ranges where they're mentioned 2017-02-25 19:18:54 -05:00
Sebastian Wilzbach
a2c6398332 Automatically add spaces to binary operators (==)
command:

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-23 00:57:47 +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
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
Jonathan M Davis
130714acdd Move deprecations along. 2017-01-24 03:08:10 -08:00
Sebastian Wilzbach
c352281212 Enforce Allman style for do { 2016-12-09 17:40:50 +01:00
Sebastian Wilzbach
c5ba7c7d0b Style fix: Add whitespace between import colon 2016-12-08 01:46:46 +01:00
anonymous
11a9c58a8e XREF -> REF
Removing the one that refers to std.algorithm.setops.SetUnion, because
that is not documented anymore (it's deprecated).
2016-11-13 01:25:25 +01:00
e-y-e
befa0bfb6e Updated Flag uses to Yes/No structs 2016-09-29 14:45:20 +01:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Sebastian Wilzbach
501a1d5f41 fix issue 15960 - deprecate setUnion in favor of merge 2016-08-28 17:51:29 +02:00
Jack Stouffer
268fa2538d Add some const and immutable to std.algorithm 2016-07-01 17:11:09 -04:00
Andrei Alexandrescu
e59c06b410 Merge pull request #4431 from wilzbach/document_std_algorithm_test
add external imports to documented unittests in std.algorithm
2016-06-18 06:38:44 -04:00
Andrei Alexandrescu
ac9c93cb9e Merge pull request #4315 from wilzbach/algorithms_private_cleanup
std.algorithm: set accidentally exposed methods to private
2016-06-18 04:27:58 -04: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
Sebastian Wilzbach
8b60ec24b0 add external imports to documented unittests in std.algorithm 2016-06-15 03:42:28 +02:00
Sebastian Wilzbach
0c100a7b5a std.algorithm: set accidentally exposed methods to private 2016-06-04 16:13:07 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
614294cd70 remove whitespace in ddoc output of std/algorithm 2016-05-25 03:57:01 +02:00
Vladimir Panteleev
38a6370788 Merge pull request #4303 from wilzbach/mref_phobos
use mref macro instead of link2
2016-05-24 03:12:08 +03:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
Sebastian Wilzbach
b8f17e2531 std.algorithms: document public methods 2016-05-12 17:53:03 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Sebastian Wilzbach
ce79561214 convert docstring examples to unittests 2016-03-08 14:54:55 +02:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
H. S. Teoh
9c2643b31e Add Params:, Returns:, for setUnion. 2015-09-04 23:12:08 -07:00
H. S. Teoh
a86d838cba Add Params, Returns, See_also, to setSymmetricDifference. 2015-09-04 23:09:56 -07:00
H. S. Teoh
a7cafe1334 Add Params:, Returns: to setIntersection. 2015-09-04 23:08:01 -07:00
H. S. Teoh
a5f56f5716 Add Params:, Returns:, See_also: for setDifference. 2015-09-04 23:05:08 -07:00
H. S. Teoh
7f261f7eb8 Add Params: and Returns: for nWayUnion. 2015-09-04 23:02:00 -07:00