somzzz
8a69b10451
fix issue 16564
2017-01-16 03:40:57 -08:00
Sebastian Wilzbach
18ecb6b72c
Make more modules publicly runnable on dlang.org
2017-01-06 23:29:55 +01:00
WalterW
f7e14e905b
Fix issue 16352 - dead-lock in std.allocator.free_list unittest
...
This fixes the actual unittest.
2016-12-24 01:40:47 -05:00
WalterW
776202b4e4
SharedFreeList - Fix nodes count desync and use after free on deallocateAll
2016-12-23 12:55:32 -05:00
WalterW
5caa66ef31
Fix issue 16352 - dead-lock in std.allocator.free_list unittest
2016-12-23 12:55:32 -05:00
Sebastian Wilzbach
b82ae35fd7
Use void for auto function without return statement
2016-12-08 12:32:14 +01:00
Sebastian Wilzbach
c5ba7c7d0b
Style fix: Add whitespace between import colon
2016-12-08 01:46:46 +01:00
anonymous
4afa2045c5
cover "desperation mode"
2016-09-19 12:25:45 +02:00
anonymous
46599a63ed
fix issue 16507 - std.experimental.allocator: FreeTree clears too eagerly
...
Try parent allocator without clearing first. Documentation says so.
2016-09-19 00:15:31 +02:00
anonymous
2a2e04b9c7
fix issue 16506 - segfaults in std.experimental.allocator: FreeTree with GCAllocator or Mallocator
2016-09-18 23:49:29 +02: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
Jack Applegame
e56ac3620a
modify unittest to increase test coverage
2016-08-29 22:50:07 +04:00
Jack Applegame
d07cb58d3e
add unittest
2016-08-29 22:14:53 +04:00
Jack Applegame
f02c9a3688
fix AllocatorList.allocate weird behavior
...
Wrong `return` position. That says it all. Creating unnecessary allocators, memory leaks and so on.
2016-08-29 19:52:16 +04:00
Andrei Alexandrescu
54a5e49b2a
Fix issue 16046 - ScopedAllocator does not set prev, causing segfaults
2016-08-22 12:23:28 -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
Andrei Alexandrescu
098e52ec1b
Merge pull request #4682 from wilzbach/allocator_safe_5
...
Add attributes to makeArray - part 2 (length + init)
2016-08-15 00:24:14 -04:00
Andrei Alexandrescu
accf8d540e
Merge pull request #4705 from wilzbach/test_alloc
...
[trivial] Extend reallocate test for all Allocators
2016-08-14 23:44:16 -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
d331a5d176
Extend reallocate test for all Allocators
2016-08-03 03:10:41 +02:00
Cauterite
a12690a2e6
[trivial] Windows is supported; docs said otherwise
2016-08-01 04:50:34 +10:00
Johannes Loher
7f16265ab6
Commented out documentation for the commented out function goodAllocSize in NullAllocator"
...
Previously, the docs showed the additional line "Returns n.". This documentation comment belongs to the goodAllocSize function, which is commented out, so commented out the doc comment, too.
2016-07-31 11:23:35 +02:00
Sebastian Wilzbach
f35efe42f0
infer ElementType for ranges in makeArray and makeSlice
2016-07-23 01:21:34 +02:00
David Nadlinger
c33f3862b7
Merge pull request #4493 from schveiguy/fixcycles2
...
Fix cycles in Phobos
2016-07-06 00:06:11 +01:00
Jack Stouffer
f085c82bf6
Removed global std.math import from std.experimental.allocator.common
2016-07-03 21:39:59 -04:00
Jack Stouffer
79e87255ba
Fixed std.algorithm import in std.experimental.allocator.common to not be package wide
2016-07-03 21:38:30 -04: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
Jack Stouffer
3deeaeb196
Fixed local imports in std.experimental.allocator.mmap_allocator
2016-06-30 18:07:00 -04:00
Jack Stouffer
fb67a6bb74
Fixed local imports in std.experimental.allocator.building_blocks.free_list
2016-06-30 18:07:00 -04:00
Jack Stouffer
3011d06039
Fixed local imports in std.experimental.allocator.building_blocks.bitmapped_block
2016-06-30 18:07:00 -04:00
Jack Stouffer
3be9dc0192
Fixed local imports in std.experimental.allocator.building_blocks.affix_allocator
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
Steven Schveighoffer
df168487fc
Fix cycles in Phobos
2016-06-28 15:00:01 -04:00
Andrei Alexandrescu
7172eda466
Merge pull request #4327 from tsbockman/isPowerOf2
...
Add `std.math.isPowerOf2()`. Supports floating-point and integers.
2016-06-16 23:09: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