Tomoya Tanjo
242a4959d4
Make std.container.rbtree.RedBlackTree._add @safe
2016-11-21 06:22:45 +09:00
Jack Stouffer
f82611ad19
Remove package wide std.algorithm imports from std/container/rbtree.d
2016-09-20 11:01:28 +01:00
Jack Stouffer
e51a044c19
Fixed local imports in std.container.rbtree
2016-06-30 17:54:13 -04:00
Martin Nowak
f24567b1ed
fix spacing after if
2016-06-18 16:58:22 +02:00
Andrei Alexandrescu
81d132f39a
Merge pull request #4381 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-06-18 08:31:42 -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
1d34a121e9
apply all-man braces in Phobos
...
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Martin Nowak
82a147765a
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-05-29 23:56: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
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
Steven Schveighoffer
bf1dde7ac7
Fix issue 15941 -- rbtree no longer supports classes
2016-05-27 08:19:08 -04: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