Commit graph

48 commits

Author SHA1 Message Date
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
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +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
Vladimir Panteleev
38a6370788 Merge pull request #4303 from wilzbach/mref_phobos
use mref macro instead of link2
2016-05-24 03:12:08 +03:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
Jack Stouffer
13e7176b8f Fixed long lines in std/container/rbtree.d 2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Sebastian Wilzbach
e2ce2b36f8 add documentation example for RBTree 2016-03-11 00:25:03 +02:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Jack Stouffer
0f05183f5c implemented issue 5945 2015-09-03 08:43:06 -04:00
Maksim Klimov
a29552563d Constness of opSlice, upperBound, lowerBound and equalRange 2015-08-09 14:41:48 -07:00
Brian Schott
3f82c9711d Document the return value of stableInsert 2015-05-20 03:00:59 -07:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748 Don't use fqn for any/all
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
anonymous
e837b2ad94 inout leftmost, rightmost, next, and prev 2015-04-23 23:23:45 +02:00
anonymous
2065983d03 const RedBlackTree.opBinaryRight
Fixes Issue 12702.
2015-04-23 22:36:57 +02:00
Exi
d0592e9ccb removed unnecessary ref eq check 2015-04-20 09:26:34 -07:00
Kevin
504847cddf updated doc, added reference equality check in opEquals 2015-04-18 16:01:10 -07:00
rsw0x
3c78fe388c Mark RBTree.length as const
add unit tests for constness
2015-04-01 10:16:30 -04:00
Andrei Alexandrescu
11b32b56e5 Fix links 2015-02-16 13:39:18 -08:00
Steven Schveighoffer
381c62e6ff Allow lambda that isn't string when unittest is enabled. 2015-01-30 10:31:52 -05:00
Steven Schveighoffer
acac626608 Fix issue 14082 -- unit test should only test known cases in red black tree. 2015-01-30 10:10:44 -05:00
k-hara
a6f330c030 Use debug instead of version 2015-01-25 20:21:45 +09: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
Steven Schveighoffer
ec5990986a Merge pull request #2617 from nordlow/pure-rbtree
Tag printing in rbtree.check() with debug to enable purity inference
2014-10-22 06:49:25 -04:00
Per Nordlöw
a7f3f22ccd Tag unittests at global scope as pure 2014-10-20 22:07:04 +02:00
Per Nordlöw
52379a6b92 Remove debug calls to printTree from within printTree itself 2014-10-20 18:28:13 +02:00
Per Nordlöw
97212ca17c Use debug printTree() instead 2014-10-20 00:21:36 +02:00
Per Nordlöw
049af6e633 Correct typo 2014-10-19 22:53:59 +02:00
Per Nordlöw
ea390ec67e Add non-debug purity unittest 2014-10-19 22:50:33 +02:00
Per Nordlöw
30b4e871c1 Tag printing with debug to infer purity 2014-10-19 22:13:02 +02:00
Martin Nowak
43a1e276fe fix Issue 12915 - RedBlackTree leaks memory 2014-10-18 20:46:57 +02:00
Jakob Ovrum
643eae5884 Add construction-from-range capability to RedBlackTree 2014-07-24 03:27:26 +09:00
Jakob Ovrum
d4e17e67e9 Move examples in RedBlackTree to documented unit tests 2014-07-24 03:27:25 +09:00
Dmitry Olshansky
d9684cc181 Merge pull request #2247 from Safety0ff/rbrefac
std.container: RedBlackTree.remove readability enhancement.
2014-06-29 17:30:35 +04:00
k-hara
fa8c4f3280 Add missing imports 2014-06-28 21:46:48 +09:00
safety0ff
9cf72cd9e6 std.container: RedBlackTree.remove readability enhancement. 2014-06-26 18:48:31 -04: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