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
Dragos Carp
eb293b5063
Fix issue 15320
2015-11-13 03:45:29 +01:00
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Vladimir Panteleev
82590904f7
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-15 23:44:44 +00: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
k-hara
8e11f0ebe2
fix Issue 10895 - incorrect std.array.join behavior with array of string-like class using alias this
2015-09-03 17:54:40 +09:00
David Soria Parra
f5fb09c91e
Remove dead insert() comment
...
The comment about insert() is from 2011. insert() is long gone and insertInPlace
is the standard. No need to keep the old commented-out function around.
2015-08-29 02:10:24 -07:00
Dmitry Olshansky
a336f3c7bc
Merge pull request #3497 from aG0aep6G/hasMember
...
std.traits.hasMember: just forward to __traits(hasMember, ...)
2015-08-27 09:29:55 +03:00
H. S. Teoh
41abc0c5ec
Add sameHead/sameTail to function list in docs.
2015-08-23 21:24:35 -07:00
k-hara
9d24ef3500
Add unittest for the fixed unlisted bug
2015-08-20 09:10:30 +09:00