Commit graph

57 commits

Author SHA1 Message Date
n8sh
06d738f069 Fix Issue 17919: Make std.container.Array use pureMalloc
Using pureMalloc like std.typecons.RefCounted does would make it
possible to use std.container.Array in  `pure` code.
2017-10-25 13:14:50 -04:00
The Dlang Bot
8f98afc9ae Merge pull request #5473 from dmarquant/bug12866
Issue 12866: Allows concatenating of std.container.array with static arrays as T.
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-06-27 00:41:40 +02:00
Steven Schveighoffer
4de14ab4c9 Change opOpAssign to use auto ref to prevent copying static arrays 2017-06-26 10:54:39 -04:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00: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
David Marquant
879f0b9d0a Remove redundant check using binop 2017-06-11 22:27:03 +02:00
David Marquant
7c21752197 Fix Issue 12866 - concatenating to std.container.array of static arrays 2017-06-11 22:24:20 +02:00
Sebastian Wilzbach
e162658601 Fix Issue 17452 - Undefined references in std.container.array 2017-05-29 21:43:37 +02:00
byebye
a7651e327c std.container.Array - do not realloc if enough capacity 2017-03-31 13:02:06 +02:00
byebye
9fddec58c9 std.container.Array - optimize concatenation 2017-03-23 12:58:01 +01:00
byebye
165195936c std.container.Array - documentation cleanup
- add missing details, e.g. about exception being thrown
- fix wrong descriptions
- fix wrong complexity specifications
2017-03-21 00:53:49 +01:00
byebye
1f78675386 Fix initializeAll invocation 2017-03-11 20:22:14 +01:00
byebye
8ba7ce59ba Fix issue 13619 - array capacity not updated when changing length 2017-03-11 18:42:02 +01:00
Sebastian Wilzbach
c36f95280c Remove quickIndex for modules with booktables or only one symbol 2017-03-01 03:59:22 +01:00
Sebastian Wilzbach
a2c6398332 Automatically add spaces to binary operators (==)
command:

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-23 00:57:47 +01:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
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