Commit graph

255 commits

Author SHA1 Message Date
Geod24
62c72ca6ff Follow up review on PR 7441
Steven identified a couple mistakes in the massive round of linkification.
Fixing them here.
2020-04-15 02:15:04 +09:00
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
drug007
e4959d4777 Test for issue 20589 2020-02-26 20:05:34 +03:00
The Dlang Bot
3d322b7cc4
Merge pull request #7370 from burner/std.container.rbtree_assert_messages
adding assert messages to rbtree
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-02-02 04:24:33 +01:00
The Dlang Bot
6a8350c688
Merge pull request #7369 from burner/std.container.binary_heap_assert_messages
adding assert messages to std.container.binary_heap
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-02-02 04:23:10 +01:00
Robert Schadek
a0f381c514 adding assert messages to std.container.binary_heap 2020-01-27 14:10:32 +00:00
Robert Schadek
8456482ec1 adding assert messages to std.container.slist 2020-01-27 09:32:57 +00:00
Robert Schadek
09bede3b80 adding assert messages to rbtree 2020-01-27 09:23:07 +00:00
Alexandru Militaru
bb62aaca3d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
Robert Schadek
e70d86b75d Add assert messages for container.array (#7190) 2019-11-04 13:08:28 +02:00
Bernhard Seckinger
79ef683f5c Fix issue 19626 - RedBlackTree of an enum fails in unittest mode 2019-10-17 20:12:22 +02:00
Robert burner Schadek
6786e4228e Geod24 typo fixes 2019-09-21 15:12:25 +01:00
Robert Schadek
a670c53592 adds assert messages to std.container.dlist 2019-09-20 12:30:32 +08:00
Nathan Sashihara
d35c93dac7 Avoid mulu in std.container.array.Array!T when T.sizeof == 1
LDC 1.15 and GDC with optimizations enabled recognize that mulu
with a second argument of 1 will never overflow and elide unnecessary
operations but DMD and LDC 1.14 do not.
2019-06-01 08:50:23 -04:00
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