Commit graph

212 commits

Author SHA1 Message Date
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
The Dlang Bot
8e4dfdbd50
Merge pull request #5794 from n8sh/container-array-puremalloc
Fix Issue 17919: Make std.container.Array use pureMalloc
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-15 00:42:11 +01:00
n8sh
06d738f069 Fix Issue 17919: Make std.container.Array use pureMalloc
Using pureMalloc like std.typecons.RefCounted does would make it
possible to use std.container.Array in  `pure` code.
2017-10-25 13:14:50 -04:00
Andrei Alexandrescu
e5a146bca3 Merge pull request #5784 from Darredevil/issue-9362-slist-remove
Fix Issue 9362 - Add a method to remove one item to std.container.SList
2017-10-24 09:28:18 -04:00
Alexandru Caciulescu
aee56671f8 Fix issue 9362 - Add linearRemoveElement from Slist 2017-10-19 17:32:17 +03:00
Alexandru Caciulescu
7d5708b0a8 Add liniarRemoveElement from Dlist 2017-10-19 17:31:27 +03:00
Andrei Alexandrescu
1a08d2a8d6 Convert section labels to title case 2017-07-12 15:19:57 -04:00
The Dlang Bot
8f98afc9ae Merge pull request #5473 from dmarquant/bug12866
Issue 12866: Allows concatenating of std.container.array with static arrays as T.
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-06-27 00:41:40 +02:00
Steven Schveighoffer
4de14ab4c9 Change opOpAssign to use auto ref to prevent copying static arrays 2017-06-26 10:54:39 -04:00
anonymous
29c7f36df5 fix issue 17519 - RedBlackTree doesn't like const/immutable elements 2017-06-18 11:35:00 +03:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
The Dlang Bot
863a3f604d Merge pull request #5457 from Boris-Barboris/dlist_remove
DList mutation: popFirstOf and popLastOf
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-06-12 22:39:31 +02:00
Boris-Barboris
16cb9873ce errata 2017-06-12 22:23:16 +03:00
Boris-Barboris
8b09ce3c38 no return value 2017-06-12 22:15:03 +03:00
Boris-Barboris
a5fbc4db78 shring range too to keep it in consistent state 2017-06-12 22:13:38 +03:00
Boris-Barboris
641fc718b6 work around range consistency checks 2017-06-12 21:53:29 +03:00
Boris-Barboris
60e8209d98 doc unittest, syntax refining 2017-06-12 21:35:57 +03: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
David Marquant
879f0b9d0a Remove redundant check using binop 2017-06-11 22:27:03 +02:00
David Marquant
7c21752197 Fix Issue 12866 - concatenating to std.container.array of static arrays 2017-06-11 22:24:20 +02:00
Boris-Barboris
2c79fbf8e5 extended moduletests coverage 2017-06-09 20:52:20 +03:00
Boris-Barboris
0415721e05 DList: popFirstOf and popLastOf 2017-06-09 19:24:38 +03:00
Sebastian Wilzbach
e162658601 Fix Issue 17452 - Undefined references in std.container.array 2017-05-29 21:43:37 +02:00
The Dlang Bot
a7e2f340fa Merge pull request #5294 from byebye/array_length_opt
std.container.Array - do not realloc if enough capacity
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-04-18 02:59:02 +02:00
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
a7651e327c std.container.Array - do not realloc if enough capacity 2017-03-31 13:02:06 +02: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