Commit graph

89 commits

Author SHA1 Message Date
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Jack Stouffer
ccff296d70 Removed some GC allocations from std.container.array 2017-02-20 14:44:28 -05:00
Bastiaan Veelo
e1c55df579 [doc] Fix argument naming. 2017-02-09 15:35:08 +01:00
Steven Schveighoffer
75627ddb6b I'm not the author of most of these, just RBTree. 2016-09-13 09:25:16 -04:00
Walter Bright
0c8fd57c66 container.array.sorting.d: add overflow checks 2016-08-05 01:02:52 -07:00
Sebastian Wilzbach
539d860380 Fix issue 16331 - std.container.array should allow uncomparable values 2016-07-28 17:24:46 +02:00
Jack Stouffer
dc8e929f85 Removed package wide std.algorithm imports from std.container.array 2016-07-18 09:40:20 -04:00
Jack Stouffer
50476873b0 Removed package wide std.algorithm imports from std.container.array/binaryheap 2016-07-07 09:46:02 -04:00
Jack Stouffer
fb12e930c0 Fixed local imports in std.container.array 2016-06-30 17:54:13 -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
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
Robert Schadek
2f124dee5d Merge pull request #4330 from wilzbach/example_array
add module example to std.container.array
2016-05-24 16:59:49 +02:00
Sebastian Wilzbach
66099f1640 add module example to std.container.array 2016-05-23 18:22:34 +02:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
Dragos Carp
42a7855d29 Fix issue 15807 2016-03-18 02:06:29 +01:00
Vladimir Panteleev
52d6930daf Use canonical links to forum.dlang.org
http://forum.dlang.org/help#canonical
2015-10-07 10:55:51 +00:00
Robert burner Schadek
8f937b10f5 std.container.array remove workaround
there was a bug workaround that works know

moretesting
2015-07-16 09:40:45 +02:00
Andrei Alexandrescu
11b32b56e5 Fix links 2015-02-16 13:39:18 -08:00
JakobOvrum
224238a854 Merge pull request #2631 from nordlow/inout-array-range
Fix constness of array.d
2015-01-29 15:38:53 +09:00
Per Nordlöw
14d928e02e Fix constness of std.container.Array 2015-01-28 23:14:02 +01:00
Marc Schütz
27071a6c7f Add forgotten D to macro 2015-01-25 21:53:30 +01:00
Ferdinand Majerech
33261628ea Mentioning that a container is not a range. 2015-01-24 17:08:33 +01:00
Tobias Pankrath
22f974d19f Explain memory management a bit more 2015-01-11 18:15:48 +01: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
Dicebot
1149972dac Add unittest to prevent repeating regression
See https://issues.dlang.org/show_bug.cgi?id=13621
2014-10-27 21:46:55 +02:00
Dicebot
aa4f47d1b5 Revert "Merge pull request #2573 from nordlow/inout-array"
This reverts commit 4ae1b147a3, reversing
changes made to 335228cb07.

Conflicts:
	std/container/array.d
2014-10-27 21:45:16 +02:00
Per Nordlöw
8affb003e9 More constness checks 2014-10-01 12:32:43 +02:00
Per Nordlöw
703305f0bf Use inout for ref returning members in std.container.array 2014-09-30 23:43:25 +02:00
monarch dodra
478c77b079 Tweak static if in Array
Probably changes nothing in the generated code, but can have an impact of attribute inference. I'm trying to get this to be `@nogc`
2014-09-08 21:51:15 +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
Jakob Ovrum
8c329d6197 std.container.array.Array.stableLinearRemove aliases to wrong symbol
Removed the alias entirely because Array.linearRemove is not actually stable anyway
2014-07-14 13:44:01 +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