RazvanN7
23fcc1cc25
Style changes
2017-01-15 12:11:06 +02:00
RazvanN7
098e52ba21
Created the make/disposeMultidimensionalArray functions + unittest
2017-01-12 19:47:37 +02:00
RazvanN7
936a802b50
Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension
2016-12-21 16:38:59 +02:00
RazvanN7
935d4ada9a
Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension
2016-12-21 16:31:44 +02:00
Sebastian Wilzbach
b82ae35fd7
Use void for auto function without return statement
2016-12-08 12:32:14 +01:00
Nick Treleaven
46d281bd07
expandArray: Move ForcedInputRange example into undocumented test
...
ForcedInputRange is private.
2016-09-05 12:17:06 +01:00
Andrei Alexandrescu
2854ae011f
Merge pull request #4680 from wilzbach/allocator_safe_2
...
Propagate attributes in std.experimental.allocator.make
2016-08-30 07:53:38 -04:00
Lodovico Giaretta
b96a330b77
fix issue 16319
2016-08-15 21:02:30 +02:00
Sebastian Wilzbach
ed4404399f
Propagate attributes in std.experimental.allocator.make
2016-08-15 12:09:23 +02:00
Sebastian Wilzbach
9c7bd0e24e
std.experimental.allocator: Add attributes to makeArray - part 3
2016-08-15 10:17:40 +02:00
Andrei Alexandrescu
a5c8440bc6
Merge pull request #4681 from wilzbach/allocator_safe_4
...
Add attributes to makeArray - part 1 (length)
2016-08-15 01:56:42 -04:00
Andrei Alexandrescu
c8e0c6ea08
Merge pull request #4679 from wilzbach/allocator_safe_1
...
Add attributes to GCAllocator and theAllocator
2016-08-15 01:26:11 -04:00
Sebastian Wilzbach
b0e5a1b7da
std.experimental.allocator: Add attributes to makeArray - part 2
2016-08-03 03:39:34 +02:00
Sebastian Wilzbach
6d9918e183
std.experimental.allocator: Add attributes to makeArray - part 1
2016-08-03 03:35:44 +02:00
Sebastian Wilzbach
a5b0016ebb
Add attributes to GCAllocator and theAllocator
2016-08-03 03:16:31 +02:00
Sebastian Wilzbach
f35efe42f0
infer ElementType for ranges in makeArray and makeSlice
2016-07-23 01:21:34 +02:00
Jack Stouffer
b7019f1677
Removed unused debug imports from std.experimental.allocator
2016-07-03 21:34:26 -04:00
Jack Stouffer
9e75dd0b35
Removed global std.exception import from std.experimental.allocator
2016-07-03 21:33:18 -04:00
Jack Stouffer
3f618f24f8
Removed global std.conv import from std.experimental.allocator
2016-07-03 21:32:11 -04:00
Jack Stouffer
ffd5c44de6
Replaced package wide std.range import in std.experimental.allocator
2016-07-03 21:30:34 -04:00
Jack Stouffer
665dd87fde
Removed global std.algorithm import from std.experimental.allocator
2016-07-03 21:29:17 -04:00
Jack Stouffer
c183c2e5c2
Fixed std.algorithm imports in std.experimental.allocator to not be package wide
2016-07-03 01:34:31 -04:00
Jack Stouffer
98531fbd57
Fixed local imports in std.experimental.allocator.package
2016-06-30 18:07:00 -04:00
Robert Schadek
7f3d8545dc
Merge pull request #4503 from JackStouffer/makeArray
...
[Issue 16219] makeArray does unnecessary allocations for ranges with length
2016-06-30 12:02:47 +02:00
Jack Stouffer
833bca4aa5
Fixed Issue 16219: std.experimental.allocator.makeArray does unnecessary allocations for ranges with length
2016-06-29 16:51:18 -04:00
Jack Stouffer
9ad30b3e39
Fix too permissive constraint on std.experimental.allocator.makeArray
2016-06-29 14:03: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
anonymous
68742c059a
Ddoc: clean up macros in std.experimental.allocator
...
Replacing LINK2, A, and the custom XREF2 with MREF and friends. Also
removing other unused macros.
This fixes the links on DDOX pages.
2016-06-04 22:16:11 +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
Andrei Alexandrescu
8ecabe23f2
Change semantics of expand: the null array cannot be expanded 'in place'
2016-05-27 16:36:01 -04:00
Andrei Alexandrescu
249f10a89e
Allow affix access from qualified data
2016-04-23 15:11:35 -04:00
Basile Burg
8533b6b532
fix redundant static checking, keep the deeper one from 15772
2016-03-14 15:58:33 +01:00
Steven Schveighoffer
3edc09dfa4
Merge pull request #4023 from BBasile/ussue-15639
...
fixed issue 15639 - allocator.make enables abstract class instantiation
2016-03-04 18:03:41 -05:00
Steven Schveighoffer
c0a34b41f7
Fix spacing around equals
...
See https://github.com/D-Programming-Language/phobos/pull/4022#commitcomment-16474681
2016-03-03 14:52:47 -05:00
Basile Burg
175b9129a0
fixed issue 15639
2016-03-01 22:19:29 +01:00
Basile Burg
211c10aff2
fixed issue 15721
2016-03-01 22:17:38 +01:00
Dariusz Antoniuk
338dfff953
Take array by ref for expandArray with init
2016-02-08 17:33:37 +01:00
JakobOvrum
eec7609314
Merge pull request #3956 from ZombineDev/patch-3
...
Fix makeArray for types with disabled this(this)
2016-01-29 08:27:06 +09:00
Dariusz Antoniuk
e9ef91d5d4
Fix a typo in stack allocator usage example
...
Objs should be deallocated by the same allocator used to allocate them.
2016-01-28 15:16:48 +01:00
Petar Kirov
6615f6990e
Fix makeArray for types with disabled this(this)
2016-01-27 17:39:59 +02:00
anonymous
933aa8e30d
TypeInfo.init -> TypeInfo.initializer
2015-11-30 21:20:46 +01:00
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07: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
Ilya Yaroshenko
bf64ff48a1
[DMD 2.069][allocators] Fix issue 15187
...
https://issues.dlang.org/show_bug.cgi?id=15187
Update package.d
2015-10-11 23:23:03 +06:00
Andrei Alexandrescu
71a00eee59
Simplify package documentation generation, fux errors in allocator's documentation
2015-10-03 19:51:08 -04:00
Andrei Alexandrescu
f86669b2be
Fix documentation of methods returning Ternary
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
b944173020
Improve usage guidelines
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
b5c0f72499
Documentation and import change
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
499ecfedc5
Moved a bunch of building blocks into a new package building_blocks
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
e0ad05d7b0
Name change: .it -> .instance for all allocators
2015-10-02 07:35:09 -04:00