anonymous
|
e1af1b0b51
|
fix issue 16090 - popFront generates out-of-bounds array index on corrupted utf-8 strings
|
2016-05-31 17:50:44 +02:00 |
|
Sebastian Wilzbach
|
ca098c57d2
|
manual allman brace fixup
|
2016-05-31 13:07:53 +02: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
|
d648f9320e
|
XREF_PACK -> REF (sed)
Done by:
from='\$\(XREF_PACK\s+([^(),]*),\s*([^(),]*),\s*([^(),]*)\)'
to='$(REF \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
|
18b8abf60a
|
remove the deprecated wiki macros
|
2016-05-27 05:52:23 +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
|
484f7bfbe0
|
enforce: whitespace after catch
|
2016-05-14 15:28:43 +03:00 |
|
Jack Stouffer
|
82b1c0e097
|
Fixed long lines in std/range/primitives.d
|
2016-05-10 20:51:39 -04:00 |
|
Jack Stouffer
|
f793024339
|
Fixed long lines in std/range/package.d
|
2016-05-10 20:51:39 -04:00 |
|
Nick Treleaven
|
58b1f7a03e
|
Document narrow string front, back
Also make back not compile when T is void, as front does.
|
2016-05-04 12:23:12 +01:00 |
|
Jack Stouffer
|
98a17937e7
|
Add informative example to roundRobin
|
2016-04-27 10:42:19 -04:00 |
|
Dmitry Olshansky
|
0853d4bc2e
|
Merge pull request #4245 from wilzbach/use_new_alias
use the 'new' alias syntax
|
2016-04-27 17:16:49 +04:00 |
|
Dmitry Olshansky
|
c1027f1970
|
Merge pull request #4246 from wilzbach/sed_spaces_part_2
style fix: add space after 'for' operator
|
2016-04-27 16:17:18 +04:00 |
|
Sebastian Wilzbach
|
d1714c9afb
|
minor style fixes
|
2016-04-27 04:18:22 +03:00 |
|
Sebastian Wilzbach
|
5a8988c149
|
style fix: add space after for operator
|
2016-04-27 02:04:02 +03:00 |
|
Sebastian Wilzbach
|
f891779f25
|
use the new alias syntax
|
2016-04-27 01:56:50 +03:00 |
|
Sebastian Wilzbach
|
3d67cd228c
|
style fix: space between operators
|
2016-04-26 22:26:20 +03:00 |
|
Dmitry Olshansky
|
23fcb244ef
|
Merge pull request #4138 from Biotronic/fix-15860
Fix Issue 15860 - lockstep should support foreach_reverse
|
2016-04-26 18:49:30 +04:00 |
|
biotronic
|
154b0e9cb8
|
Fix Issue 15860 - lockstep should support foreach_reverse
|
2016-04-19 22:32:57 +00:00 |
|
Steven Schveighoffer
|
5e91307cff
|
Merge pull request #4013 from MetaLang/iota-length
Clean up iota.Result.length
|
2016-04-19 11:06:30 -04:00 |
|
MetaLang
|
65cf74d46b
|
Change iota to always have size_t length
|
2016-04-19 09:21:14 -03:00 |
|
Nick Treleaven
|
0fff9203f8
|
[trivial] Tweak moveFront example
|
2016-04-18 13:44:15 +01:00 |
|
Andrei Alexandrescu
|
069b216302
|
TRIVIAL: reuse popFrontN for stride
|
2016-04-15 12:06:59 -04:00 |
|
Yazan Dabain
|
9887af3fe6
|
Fix some imports
|
2016-04-12 22:15:09 +03:00 |
|
Dmitry Olshansky
|
1d2e88c266
|
Merge pull request #4069 from John-Colvin/patch-16
faster pairwise summation
|
2016-04-12 13:17:18 +04:00 |
|
Dmitry Olshansky
|
401158d54a
|
Merge pull request #4167 from 9il/api
clean API for moveAt, fix indexes/lengths to be type of size_t, fix length declarations
|
2016-04-10 17:07:51 +04:00 |
|
Ilya Yaroshenko
|
3884b9d13a
|
clean API for moveAt
|
2016-04-10 12:46:55 +02:00 |
|
Ilya Yaroshenko
|
6fa02dabcf
|
fix length declarations
|
2016-04-10 12:46:55 +02:00 |
|
Ilya Yaroshenko
|
d4fa64bb42
|
fix index types to size_t
|
2016-04-10 12:46:51 +02:00 |
|
Ilya Yaroshenko
|
ddf8268d42
|
UFCS for moveAt, moveFront, moveBack
|
2016-04-09 09:28:14 +02:00 |
|
Ilya Yaroshenko
|
ff296c514b
|
fix imports
|
2016-04-07 13:25:18 +02:00 |
|
Jack Stouffer
|
38c243cf91
|
Fix Issue 13409: add padLeft and padRight
|
2016-03-24 13:39:44 -04:00 |
|
John Colvin
|
f69a7d9536
|
fix broken std.range.Take slicing
|
2016-03-24 13:11:11 +00:00 |
|
JakobOvrum
|
19ccbcf493
|
Merge pull request #4054 from greenify/docu_locksteep
std.range: explain difference between lockstep and zip
|
2016-03-13 22:29:04 +09:00 |
|
Sebastian Wilzbach
|
69346b1ea5
|
std.range: explain difference between lockstep and zip with new examples
|
2016-03-12 14:58:00 +02:00 |
|
Atila Neves
|
9cc2a5ae59
|
Replace 'reduce' with 'fold' in the documentation
|
2016-03-05 18:50:11 +01:00 |
|
Sebastian Wilzbach
|
6c386d6f31
|
convert docstring examples to unittests
|
2016-03-03 19:39:12 +02:00 |
|
Steven Schveighoffer
|
b0acb7a394
|
Fix remaining import deprecation messages
|
2016-02-22 16:03:12 -05:00 |
|
Andrei Alexandrescu
|
1e74490f44
|
Merge pull request #3855 from JakobOvrum/range_tail
Add std.range.tail
|
2016-01-12 13:35:54 -05:00 |
|
Brian Schott
|
44ed1ed839
|
Merge pull request #3873 from JackStouffer/patch-4
Add Ali's range tutorial to std.range docs
|
2015-12-30 22:00:46 -08:00 |
|
Jack Stouffer
|
d3b02d7ea5
|
Add Ali's range tutorial to std.range docs
It was added to the top of std.algorithm but not here.
|
2015-12-30 18:46:48 -05:00 |
|
Benjamin L. Merritt
|
5f08c058ab
|
Changed "Examples:" in Ddoc to "Example:"
|
2015-12-17 18:32:41 -08:00 |
|
H. S. Teoh
|
64f43ce42c
|
Merge pull request #3854 from 9rnsr/enforceProp
fix property enforcement
|
2015-12-15 09:37:12 -08:00 |
|
Jakob Øvrum
|
a16cfc0690
|
Add std.range.tail
Suggested by Andrei Alexandrescu in this thread:
http://forum.dlang.org/post/n3sfgg$1hpm$3@digitalmars.com
|
2015-12-10 04:59:31 +09:00 |
|
anonymous
|
1a2ef53923
|
document that chunkSize must be greater than zero
There's an assert(chunkSize != 0) in the constructor which needs to be
documented.
|
2015-12-07 13:27:19 +01:00 |
|
k-hara
|
e864e53adc
|
fix property enforcement
|
2015-12-04 15:42:53 +09:00 |
|
Xinok
|
dda21ec7d1
|
Issue 15385
|
2015-11-29 16:16:54 -06:00 |
|