Walter Bright
fc84e14d54
std.container.rbtree: compile with -dip1000
2019-03-20 12:15:19 -07:00
Walter Bright
fbfd844fd9
rbtree _add need only return a bool
2019-03-19 22:56:01 -07:00
Walter Bright
bc3dd0afda
Even more scope for FormatSpec
2019-03-18 01:28:47 -07:00
tibi77
7ae2e67a47
Remove redundant body of @disable functions. Issue 14854 DMD ( #6893 )
...
Remove redundant body of @disable functions. Issue 14854 DMD
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-03-06 02:00:04 +01:00
Bastiaan Veelo
79043ed54a
Remove underscore.
2019-02-21 12:12:57 +01:00
Nathan Sashihara
dcca23edca
Fix Issue 19164 - malloc may be considered pure when failure results in program exit (no need to reset errno)
2018-11-17 17:00:16 -05:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
Nathan Sashihara
9f42f1f686
Simplify newly-added RedBlackTree.toHash
2018-09-01 14:33:41 -04:00
Vlad Vitan
e61f897381
Fix Issue 18683 - no toHash in rbtree
2018-09-01 14:08:33 -04:00
Steven Schveighoffer
5a3a181922
Fix issue 19171 - Fix invalid assert in Array!bool slicing
2018-08-15 14:24:51 -04:00
Sebastian Wilzbach
84b98fc3f0
Remove invalid Markdown backticks in std.{container,path,random}.d
2018-06-19 22:04:01 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Martin Nowak
b2016be155
fix Issue 18800 - Array.length setter segfaults for payloads with indirections
2018-04-30 09:39:52 +02:00
Jack Stouffer
e14f89e170
Make references to input ranges a link to isInputRange
2018-04-08 16:19:57 -04:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
a4a11a4092
Merge pull request #6191 from thaven/enhancement/slist
...
SList implementation improvements
2018-04-02 15:15:27 +02:00
Harry T. Vennik
8d873b9ce7
Add unittest for dup
...
`dup` was only being tested through its usage in `opBinary`, so the
new implementation of `opBinary`, which doesn't use `dup` anymore,
left `dup` untested.
2018-03-28 19:28:57 +02:00
Harry T. Vennik
7e77124637
Forbid shared element types for SList
...
Did not work anyway, and would be bad usage of shared too.
2018-03-28 19:28:57 +02:00
Harry T. Vennik
da67f771c7
Put common logic of insert methods into new static method
...
Also optimize by avoiding allocation of temporary root Node.
2018-03-28 19:28:57 +02:00
Harry T. Vennik
8af8b86dd0
Optimize opBinary
2018-03-28 19:28:57 +02:00
Jack Stouffer
b0aa5597cf
Revert "std.container.slist: Fix a @safe cannot call @system issue"
2018-03-27 07:42:43 -04:00
carblue
a3cfd08490
dip1000.mak+std.container.slist: Fix a -dip1000 compilable issue
2018-03-22 06:43:52 +01:00
viktor
a3f8992766
Fix issue 18634 - support for delegate comparators in rbtree
...
RedBlackTree.opEquals() was preventing the use of delegates by
explicitly forcing the equal() check to go through a function.
2018-03-20 00:38:06 +02:00
The Dlang Bot
997464b4b2
Merge pull request #4885 from rjframe/arraymem
...
Fix issue 13642 - Change of length reallocates without notifying GC
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-05 18:58:16 +01:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04
Replaced version(unittest) blocks with version(StdUnittest)
2018-02-01 19:56:59 -05:00
RazvanN7
281fe177ac
Fix erroneous imports
2018-01-22 16:37:22 +02:00
Jack Stouffer
dc291a16e4
Changed all instances of FormatSpec to const ref
2018-01-04 10:05:16 -05:00
Ryan Frame
e837813478
Fix issue 13642 - Change of length reallocates without notifying GC
2017-12-29 07:24:54 -05:00
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