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 |
|
Sebastian Wilzbach
|
c6f694d633
|
Revert "[Static if] replace overload constraints with static if (mutation.d)"
|
2017-05-19 12:03:54 +02:00 |
|
Sebastian Wilzbach
|
c6819e2d6e
|
[Static if] replace overload constraints with static if (mutation.d)
|
2017-05-12 15:05:23 +02:00 |
|
Dmitry Olshansky
|
54da39a2df
|
Make std.algo.copy CTFE-able
|
2017-03-16 16:58:26 +01:00 |
|
The Dlang Bot
|
c6aa7b8ada
|
Merge pull request #5128 from BBasile/issue-16342
fix issue 16342 - add std.algorithm.mutation.fill fallback for mutable strings
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
|
2017-03-13 19:21:12 +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 |
|
Jack Stouffer
|
f6b25d2d5a
|
Merge pull request #5180 from JackStouffer/algorithm-cruft
Remove unused debug writelns in std.algorithm
|
2017-03-01 11:22:55 -05:00 |
|
Sebastian Wilzbach
|
3817d6f37d
|
Check public functions for public examples (#4998)
Check public functions for public examples
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
|
2017-03-01 15:49:15 +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 |
|
Basile Burg
|
bab801c672
|
fix issue 16342 - add std.algorithm.mutation.fill fallback for mutable strings
|
2017-03-01 01:50:55 +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 |
|
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
|
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
|
a58f6cd249
|
Dscanner: enable check for conflicts with builtin properties
|
2017-02-20 14:13:57 +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 |
|
Nick Treleaven
|
759da8eec0
|
swapRanges: Remove redundant constraint tests
hasSwappableElements already tests for isInputRange.
Also fix hasSwappableElements docs.
|
2017-02-15 17:21:21 +00:00 |
|
Jack Stouffer
|
83b25ec626
|
Merge pull request #4970 from RazvanN7/Issue_16959
Fix Issue 16959 - bringToFront fails on char array
|
2017-01-05 14:14:55 -05:00 |
|
RazvanN7
|
82c30a6882
|
Issue 16959 - Added doc entry about Unicode behaviour + 1 public unittest
|
2017-01-05 13:31:46 +02:00 |
|
WalterW
|
99b74fb962
|
Add @nogc annotated unittest for std.algorithm.remove
|
2016-12-29 00:08:02 -05:00 |
|
WalterW
|
07d4c37229
|
Add thorough unittest to std.algorithm.remove
|
2016-12-29 00:07:54 -05:00 |
|
WalterW
|
424aec1159
|
Fix Issue 16996 - std.algorithm.remove with SwapStrategy.unstable removes more entries
|
2016-12-28 23:16:37 -05:00 |
|
Sebastian Wilzbach
|
e2025c2c34
|
Add public examples to std.algorithm
|
2016-12-20 04:14:10 +01:00 |
|
Sebastian Wilzbach
|
cc7f125ed1
|
Add missing imports to public unittests
|
2016-12-15 23:23:35 +01:00 |
|
Sebastian Wilzbach
|
df2e72d113
|
Style fix: add whitespace after if/while
|
2016-12-08 01:46:46 +01:00 |
|
Alexandru Razvan Caciulescu
|
946a46774c
|
Fix Issue 8087 - Improve clarity of std.algorithm documentation
|
2016-10-31 08:17:06 +02:00 |
|
Steven Schveighoffer
|
ea3f446a98
|
Fix issue where initializeAll does not properly use
TypeInfo_StaticArray.initializer. Found in issue 16394
|
2016-08-18 17:29:29 -04:00 |
|
Jack Stouffer
|
268fa2538d
|
Add some const and immutable to std.algorithm
|
2016-07-01 17:11:09 -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
|
0c100a7b5a
|
std.algorithm: set accidentally exposed methods to private
|
2016-06-04 16:13:07 +02:00 |
|
Steven Schveighoffer
|
e216c10b2c
|
Merge pull request #4383 from JackStouffer/issue16073
Partial Fix for Issue 16073
|
2016-06-02 14:30:24 -04:00 |
|
Jack Stouffer
|
3a1db06f41
|
[Issue 16073] Fix incorrect uses of random access range primitives in std.algorithm.mutation
|
2016-06-02 09:31:06 -04:00 |
|
Sebastian Wilzbach
|
1d34a121e9
|
apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
|
2016-05-31 13:07:53 +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
|
ef9722928c
|
XREF_PACK_NAMED -> REF_ALTTEXT (sed)
Done by:
arg='\s*([^(),]*)'
from='\$\(XREF_PACK_NAMED\s'$arg','$arg','$arg','$arg'\)'
to='$(REF_ALTTEXT \4, \3, std,\1,\2)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
|
2016-05-27 21:32:46 +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 |
|
anonymous
|
4a28601977
|
rewrap
|
2016-04-30 20:30:16 +02:00 |
|
anonymous
|
f46e52b4f2
|
documentation: fix requirements of remove
All overloads require a bidirectional range with lvalue elements.
|
2016-04-30 20:26:34 +02:00 |
|