Commit graph

186 commits

Author SHA1 Message Date
Steven Schveighoffer
cded892eba Fix style 2017-04-11 15:39:52 -04:00
kirsybuu
2245025f6b Only grow if full 2017-04-11 11:31:55 -04:00
Michael Coulombe
ef9f4b9fee fix issue 17314 2017-04-09 11:55:26 -04:00
Michael Coulombe
0912b24302 fix issue 17314 2017-04-09 09:22:37 -04:00
byebye
9fddec58c9 std.container.Array - optimize concatenation 2017-03-23 12:58:01 +01:00
byebye
165195936c std.container.Array - documentation cleanup
- add missing details, e.g. about exception being thrown
- fix wrong descriptions
- fix wrong complexity specifications
2017-03-21 00:53:49 +01:00
byebye
1f78675386 Fix initializeAll invocation 2017-03-11 20:22:14 +01:00
byebye
8ba7ce59ba Fix issue 13619 - array capacity not updated when changing length 2017-03-11 18:42:02 +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
e554764c01 Merge pull request #5216 from wilzbach/unluckily-phobos
Replace LUCKY links with actual links
2017-03-01 15:17:19 -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
Sebastian Wilzbach
c36f95280c Remove quickIndex for modules with booktables or only one symbol 2017-03-01 03:59:22 +01:00
Sebastian Wilzbach
d548e8830a Replace LUCKY links with actual links 2017-02-28 23:46:54 +01: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
Andrei Alexandrescu
2a97fb4234 Merge pull request #5036 from JackStouffer/nogc-Array
Fix Issue 17153 – Make std.container.array @nogc
2017-02-20 16:00:06 -05:00
Jack Stouffer
ccff296d70 Removed some GC allocations from std.container.array 2017-02-20 14:44:28 -05:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Bastiaan Veelo
e1c55df579 [doc] Fix argument naming. 2017-02-09 15:35:08 +01:00
Basile Burg
17cea5abdc
style fix - remove wrong usages of the final attribute 2017-01-16 21:00:13 +01:00
somzzz
682536d586 fix issue 155421 2016-12-08 13:43:56 -08:00
somzzz
b339da57ed unittest for dup present and missing in Store 2016-12-06 17:00:41 -08:00
somzzz
4c708c7566 comment 2016-12-06 10:17:46 -08:00
somzzz
c3714ea01e unittest 2016-12-06 02:04:57 -08:00
somzzz
192b47aadb allow BinaryHeap.dup only on Store.dup present 2016-12-02 12:37:42 -08:00
somzzz
fba056a8df fix issue 13314 2016-12-02 04:40:14 -08:00
Tomoya Tanjo
242a4959d4 Make std.container.rbtree.RedBlackTree._add @safe 2016-11-21 06:22:45 +09:00
Per Nordlöw
ad5537d5c9 Restrict making of containers to non-infinite ranges 2016-10-13 16:33:14 +02:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Jack Stouffer
f82611ad19 Remove package wide std.algorithm imports from std/container/rbtree.d 2016-09-20 11:01:28 +01:00
Andrei Alexandrescu
6ca3017b91 Merge pull request #4359 from wilzbach/fix_16072
fix issue 16072 - container.binaryheap should be extendable for arrays
2016-09-16 12:43:49 -04:00
Steven Schveighoffer
75627ddb6b I'm not the author of most of these, just RBTree. 2016-09-13 09:25:16 -04:00
Jonathan M Davis
5c2be71132 Move deprecations along. 2016-09-07 00:15:29 -07:00
Walter Bright
0c8fd57c66 container.array.sorting.d: add overflow checks 2016-08-05 01:02:52 -07:00
Sebastian Wilzbach
539d860380 Fix issue 16331 - std.container.array should allow uncomparable values 2016-07-28 17:24:46 +02:00
Jack Stouffer
f9397c70a1 Removed package wide std.algorithm imports from std.container.util 2016-07-18 09:46:03 -04:00
Jack Stouffer
b62801d880 Removed package wide std.algorithm imports from std.container.slist 2016-07-18 09:44:59 -04:00
Jack Stouffer
dc8e929f85 Removed package wide std.algorithm imports from std.container.array 2016-07-18 09:40:20 -04:00
Jack Stouffer
50476873b0 Removed package wide std.algorithm imports from std.container.array/binaryheap 2016-07-07 09:46:02 -04:00
Jack Stouffer
aba30c6c40 Fixed local imports in std.container.util 2016-06-30 17:54:13 -04:00
Jack Stouffer
565b45ed0d Fixed local imports in std.container.slist 2016-06-30 17:54:13 -04:00
Jack Stouffer
e51a044c19 Fixed local imports in std.container.rbtree 2016-06-30 17:54:13 -04:00
Jack Stouffer
fb12e930c0 Fixed local imports in std.container.array 2016-06-30 17:54:13 -04:00
Sebastian Wilzbach
71f01c961d fix issue 16072 - container.binaryheap should be extendable for arrays 2016-06-19 18:05:01 +02:00
Martin Nowak
f24567b1ed fix spacing after if 2016-06-18 16:58:22 +02:00
Andrei Alexandrescu
81d132f39a Merge pull request #4381 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-06-18 08:31:42 -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