Jack Stouffer
a4f570fd4f
Improve many docs in std.array
2017-03-22 11:19:10 -04:00
Jack Stouffer
55ba37f455
Improve many docs in std.array
2017-03-16 16:11:45 -04:00
Sebastian Wilzbach
090d5164e8
Fix links from $(LREF $(D ...)) -> $(LREF ...)
...
sed -E 's/[$]\(D [$]\(LREF (.*)\)\)/$(LREF \1)/' -i **/*.d
2017-03-05 08:11:29 +01:00
Jack Stouffer
33521889fa
Merge pull request #5212 from wilzbach/remove-quickindex
...
Remove quickIndex for modules with booktables or only one symbol
2017-03-01 16:58:56 -05:00
Jack Stouffer
9d2ee3d9c0
Add more links to std.range definitions
2017-03-01 15:09:46 -05:00
Sebastian Wilzbach
c36f95280c
Remove quickIndex for modules with booktables or only one symbol
2017-03-01 03:59:22 +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
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
872317decc
[scope] add @trusted and 'scope' annotations to std.array
2017-02-02 01:17:48 -08:00
Jonathan M Davis
130714acdd
Move deprecations along.
2017-01-24 03:08:10 -08:00
Nick Treleaven
a17204a3a6
Avoid using private T in methods
2017-01-09 09:10:08 +00:00
Nick Treleaven
277fe1997b
Merge opOpAssign overloads
...
Also avoids private symbols in RefAppender constraint.
2017-01-09 09:10:03 +00:00
Nick Treleaven
b7906549c5
Avoid using private impl
in constraint
2017-01-09 09:09:59 +00:00
Nick Treleaven
7cd7266045
Improve docs for Appender, RefAppender
...
* Expand some docs.
* Document (Ref)Appender.T as it's used in public method signatures.
* Document RefAppender.opDispatch.
* Inline undocumented AppenderType.
* Rename appender(E[]*) parameter -> arrayPtr to better distinguish from
appender(E[]).
2017-01-09 09:09:54 +00:00
Andrei Alexandrescu
bd2f35cbd2
Revert "[DEMO for DIP1005] Converted imports to selective imports in std.array"
2016-12-25 09:17:33 +01:00
Andrei Alexandrescu
e064d5664f
[DEMO][DONOTPULL] Converted imports to selective imports in std.array
2016-12-17 11:50:16 -05:00
Sebastian Wilzbach
b82ae35fd7
Use void for auto function without return statement
2016-12-08 12:32:14 +01:00
Ilya Yaroshenko
4020810799
Merge pull request #4201 from andralex/better-overlap
...
Simplify overlap
2016-09-22 10:46:20 +03:00
Walter Bright
55e5737525
add 'scope' to opApply() parameter
2016-09-14 19:41:41 -07:00
Walter Bright
842f583b6b
std.array: check for overflow on allocation sizes
2016-07-28 13:27:44 -07:00
SealabJaster
aa7385bdcc
Improve documentation of std.array.insertInPlace
2016-07-18 15:38:21 +01:00
Dmitry Olshansky
f49908c56b
Merge pull request #4578 from JackStouffer/unused-variables
...
Remove or Fix Unused Variables
2016-07-11 21:38:30 +02:00
Jack Stouffer
60808c7e1c
Added const and immutable to unmodified variables in std.array
2016-07-08 12:07:41 -04:00
Jack Stouffer
0f7a01178b
Removed unused variables from std.array
2016-07-08 11:36:30 -04:00
Atila Neves
2c4e4c76ce
Add @system and @safe to std.array unit tests
2016-07-04 11:01:34 +02:00
Jack Stouffer
c8cbb67c05
Fixed std.algorithm imports in std.array to not be package wide
2016-07-02 17:38:18 -04:00
Walter Bright
f6ad90e511
Merge pull request #4513 from JackStouffer/local_imports
...
Start work on checking of too broad local imports outside of unit tests
2016-07-01 20:24:23 -07:00
Jack Stouffer
af1c22b6c8
Fixed local imports in std.array
2016-06-30 17:54:12 -04:00
Jack Stouffer
fdccd62396
Improved docs for std.array.join
2016-06-30 11:01:56 -04:00
Walter Bright
7fd0732d75
make std.array toString() @safe
2016-06-25 02:29:33 -07: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
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
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
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
Martin Nowak
26ccb97965
fix variable name in replaceInto example
2016-05-14 21:42:25 +02:00
Jack Stouffer
3df9e2719e
Fixed long lines in std/array.d
2016-05-10 20:51:39 -04:00
Jonathan M Davis
43227b12c4
Move some deprecations along.
2016-05-05 12:44:06 +02:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Andrei Alexandrescu
0fa6a50081
More detailed import
2016-04-24 15:29:14 -04:00
Andrei Alexandrescu
9bf145236b
Simplify overlap
2016-04-24 15:29:14 -04:00
Yazan Dabain
9887af3fe6
Fix some imports
2016-04-12 22:15:09 +03:00
Ilya Yaroshenko
95ea08d50b
fix imports 2
2016-04-07 15:54:04 +02:00
Jonathan M Davis
c3cd933131
Moving deprecations along.
...
This is mostly just putting dates on existing deprecations that were
missing dates, but it does remove a few things that have been deprecated
long enough to be removed.
2016-02-10 16:43:25 -08:00
Jakob Øvrum
1be7e4650a
Clarify std.array.assocArray docs
2016-01-08 02:06:36 +01:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
Dragos Carp
75cbbef0ab
Add asserts for the "compiles" tests
2015-11-16 03:04:07 +01:00