Commit graph

52 commits

Author SHA1 Message Date
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
H. S. Teoh
6f0fbeb7d7 Add Params: for largestPartialIntersection. 2015-09-04 22:58:41 -07:00
H. S. Teoh
7acb9eac80 Add Params: and Returns: to cartesianProduct docs. 2015-09-04 22:51:06 -07:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748 Don't use fqn for any/all
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
Andrei Alexandrescu
5dd6df0bd3 Merge pull request #2996 from quickfur/std_algo_cleanup
std.algorithm cleanup
2015-02-16 16:50:14 -08:00
Vladimir Panteleev
2c5294b64f Merge pull request #2989 from andralex/posix.mak
Fix name of package documentation: std_xyz_package.html -> std_xyz.html
2015-02-17 00:04:13 +02:00
Andrei Alexandrescu
11b32b56e5 Fix links 2015-02-16 13:39:18 -08:00
H. S. Teoh
873f448ef3 Move SortOutput to std.algorithm.sorting. 2015-02-16 10:58:31 -08:00
H. S. Teoh
685c27b2d8 Merge pull request #2979 from sinkuu/fix_14149
Issue 14149 - Bad std.algorithm error messages
2015-02-15 07:39:05 -08:00
Andrei Alexandrescu
a894b3d5aa Improved constraints and front() for setUnion 2015-02-14 08:54:18 -08:00
sinkuu
b55c07c63a Move internal stuff to std.algorithm.internal 2015-02-14 14:02:37 +09:00
H. S. Teoh
398038a1d3 Move cheat sheet entries into respective submodules. 2015-01-20 10:43:50 -08:00
H. S. Teoh
c3d464d1aa Add ddoc headers for submodules. 2015-01-20 10:27:42 -08:00
H. S. Teoh
5cae4f0cb5 Split mutation algorithms into own submodule.
Clean up inter-package imports.
2015-01-20 09:14:06 -08:00