Commit graph

61 commits

Author SHA1 Message Date
Nick Treleaven
ea28abfadb [std.container DList docs] Fix time complexity of insertFront etc
See https://forum.dlang.org/post/vkubcdpniiseeuxvdvim@forum.dlang.org
2025-02-17 17:48:13 +01:00
Martin Kinkelin
b0ef9ac009 Merge remote-tracking branch 'origin/stable' into merge_stable 2024-11-17 01:17:07 +01:00
Nicholas Wilson
b7743abfcf
Fix bugzilla issue 24637 (#9073) 2024-10-27 17:18:41 +08:00
Vladiwostok
231ae8b68a
Fix D-Scanner linting issues (#9070)
* Fix UndocumentedDeclarationCheck linting issue

* Fix IfConstraintsIndentCheck linting issue

* Address feedback

* Fix publictests CI

* Fix old (libdparse) D-Scanner linting warn
2024-10-27 01:21:56 -07:00
WebFreak001
3b3757af6b
fix 22147: allow @disable this(this) T in DList!T 2023-03-12 19:49:11 +01:00
Andrej Mitrovic
92a9d600d1 Fix issue 23333 - Make DList opSlice @nogc 2022-09-15 13:33:49 +02:00
Ömer Faruk IRMAK
61d3fe3293 Add explicit default ctor for DList.PayNode
Worksaround Issue 22510 (https://issues.dlang.org/show_bug.cgi?id=22510)
which prevented us from using structs with explicit copy ctors with DList.
2021-11-14 14:50:23 +03:00
nordlow
4ba167b15b Annotate std/container/dlist.d to please dlang/dmd#12520 2021-05-18 01:58:16 +02:00
Steven Schveighoffer
b842a66f57 Move stableRemove alias to correct place 2020-07-11 08:58:22 +02: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
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
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +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
Alexandru Caciulescu
7d5708b0a8 Add liniarRemoveElement from Dlist 2017-10-19 17:31:27 +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
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
c36f95280c Remove quickIndex for modules with booktables or only one symbol 2017-03-01 03:59:22 +01:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01: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
Jack Stouffer
50476873b0 Removed package wide std.algorithm imports from std.container.array/binaryheap 2016-07-07 09:46:02 -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
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Sebastian Wilzbach
357e02a4a9 remove unused TEXTWITHCOMMAS macro 2016-05-27 05:52:27 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
6d45879cec add documentation example for DList 2016-03-03 15:26:04 +02:00
Sebastian Wilzbach
44cc4ffc89 hotlink common collection keywords for user search 2016-02-24 18:39:42 +02:00
Jonathan M Davis
d34164a2ea Move some deprecations along. 2015-11-26 00:28:38 -08:00
Ryan Roden-Corrent
05fd49ed88 Fix DList.insertFront(range) regression - #15263.
As createNode was taking a value by ref, Dlist.insertFront could not be
called with a range with a non-ref front.

Fix by taking the value as `auto ref` instead of just `ref`.
Resolves #15263.
2015-10-31 08:25:03 -04:00
Martin Nowak
a4f1cb07d2 fix Issue 14300 - DList casting to base type is broken
- All insert methods should take `auto ref T t`
  instead of `Stuff t`, because the latter is
  an unnecessary temporary if `Stuff` isn't `T`.

- Small, copyable, register sized Ts should always be
  passed by-value instead of auto ref.
2015-03-20 03:09:47 +01:00
Andrei Alexandrescu
11b32b56e5 Fix links 2015-02-16 13:39:18 -08:00
Mike Parker
956e5abfc9 Fix broken documentation links in all std.container modules. 2015-01-07 23:01:51 +09:00
H. S. Teoh
72f03b0ce6 Boilerplate docs for std.container.*.
Improve std.container.* documentation.
2014-12-06 09:40:31 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
0b948a6529 Use scope imports in std.container package
part2

part3
2014-11-15 01:19:18 +03:00
k-hara
6e54969188 Move prefix member function attributes to postfix 2014-10-04 22:27:14 +09:00
monarch dodra
4579a45cca Cleanup 13508 2014-09-24 11:45:56 +02:00