Commit graph

33 commits

Author SHA1 Message Date
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
monarchdodra
f51f8d457f Split DList Node into DNode and PayNode. 2014-09-20 15:43:41 +02:00
monarch dodra
d10fea94d5 Fix issue 13425 - DList.linearRemove on last...
...element returns non-empty range.

The main issue is that DList.Range is implemented in terms of "first and last" as opposed to "first and past last", which means you have to special-case empty ranges. The fix is to do the same thing as in `opSlice`, and to explicitly initialize a null Range when it is empty.
2014-09-08 17:30:48 +02:00
Mikhail Novikov
e881d153ac Fix Issue 12913 - container: removeAny: fix docs (position of removed element must be unspecified) 2014-08-20 11:42:43 +03:00
H. S. Teoh
177ecea48d Merge pull request #2382 from sigod/dlist-unused-code
DList: remove opBinary(string)(DList)
2014-08-05 09:31:59 -07:00
Hackerpilot
c578bf13d5 Eliminate bad use of alias 2014-08-04 16:20:20 -07:00
Mikhail Novikov
55c1de4b92 DList: deprecate opOpAssign(string)(DList) 2014-08-05 00:28:37 +03:00
Mikhail Novikov
514133355a DList: remove opBinary(string)(DList) 2014-07-30 23:46:20 +03:00
k-hara
62e5095fa5 fix Issue 13076 - [dmd 2.066-b2] DList clearing of empty list 2014-07-09 23:35:29 +09:00
k-hara
fa8c4f3280 Add missing imports 2014-06-28 21:46:48 +09:00
Damian Day
82544bd272 Update to git head. 2014-06-06 10:32:04 +01:00
Damian Day
0634e408f7 New Container
Turn std.container into a package.

Delete container.d

Remove totalcontainer from package.
Create std.container.util.d and reference it from other containers.
Correct code coverage for containers.

Add containers for unit testing.

Make std.container.util public from any module.
Move around imports (avoid version(unittest)).

Remove irrelevant unittests.
2014-05-28 08:31:22 +01:00