dukc
470149c3ad
Addressed Andrei's review
2017-09-09 22:09:02 +03:00
dukc
7d8b081ff6
Addressed code reviews.
2017-08-23 19:45:14 +03:00
RazvanN7
55120ef91a
Get rid of unused variables
2017-08-22 11:00:14 +03:00
RazvanN7
4bbfc438d1
std.array.array cannot be instantiated for pointers to ranges
2017-08-22 10:47:34 +03:00
dukc
dff9ffe5fd
Re-enabled nothrow and removed a test with enum array to shut up CirceCI.
2017-08-21 22:04:09 +03:00
dukc
995381074b
std.array.overlap made ctfe:able and redocumented.
2017-08-17 20:14:11 +03:00
RazvanN7
eadf51a841
Fix Issue 15096 - std.array.array cannot be instantiated for pointers to ranges
2017-08-16 13:21:09 +03:00
H. S. Teoh
0c0aed8662
Fix issue 17711: std.array.byPair ought to work with const AA's.
2017-08-01 16:27:27 -07:00
Jack Stouffer
f9aade3265
Removed old debug printfs
2017-07-12 10:22:05 -04:00
Sebastian Wilzbach
b6512b94f4
has_public_example: std.array
2017-07-10 02:28:26 +02:00
Jack Stouffer
2108df251c
Added examples to std.array.split
2017-07-07 10:43:26 -04:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
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
Sönke Ludwig
bdb626f5ff
Remove trailing whitespace.
2017-03-25 19:09:50 +01:00
Sönke Ludwig
c770fb4812
Fix issue 17251 - Appender.put doesn't accept const input range elements.
...
The two overloads taking an element and a const range were conflicting because canPutConstRange is overlapping the definition of canPutItem.
2017-03-25 19:04:52 +01:00
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