Paul Backus
e05ee968ac
Region: don't use NullAllocator as a sentinel
...
Region will now always assume that its ParentAllocator is a real
allocator, and attempt to use its 'allocate' and 'deallocate' methods
accordingly.
The behavior previously provided by Region!(NullAllocator, ...) remains
available via BorrowedRegion!(...).
See issue 23090 for detailed rationale.
2022-09-19 16:31:20 -04:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Hackerpilot
bbab95e337
Make sure that uses of testAllocator are inside of StdUnittest version blocks.
2020-03-10 12:24:10 -07:00
Steven Schveighoffer
6b72ce316d
Trim as much version(unittest) as possible from allocator ( #6452 )
...
* Trim as much version(unittest) as possible from allocator
* improve internal test function addr to m_addr (and fix verbosity a bit)
* Remove shared from RCISharedAllocator, as it's already shared
* Fix issue with m_addr
2018-04-13 22:02:00 +03:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
RazvanN7
223ba57258
Delete test in free_tree
2018-03-29 23:03:17 +03:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
c94d93e121
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-01-09 02:19:50 +01:00
Sebastian Wilzbach
233e90bdc1
Add PHOBOSSRC urls to std.experimental
2018-01-08 02:52:50 +01:00
Sebastian Wilzbach
2678754347
Add StdUnittest to std.net.curl + stdx.allocator
2017-12-21 09:36:10 +01:00
Eduard Staniloiu
2a02f6feb9
Make reallocate nothrow nogc
2017-11-28 14:50:26 +00:00
Eduard Staniloiu
df72d45c7c
Make allocators expand safe
2017-11-22 19:51:12 +02:00
Eduard Staniloiu
ee9fc06656
Mark deallocateAll as @nogc
2017-11-06 21:57:59 +00:00
Eduard Staniloiu
da335ad328
Mark deallocate as nothrow @nogc
2017-11-06 10:09:29 +00:00
Eduard Staniloiu
badaa758e7
Revert "Allocators owns should take const void[]"
2017-11-02 20:23:35 +02:00
Eduard Staniloiu
6f8b418e6c
Allocators owns should take const void[]
2017-11-01 10:01:36 +00:00
Eduard Staniloiu
97ddc3d11d
Improve unittests
2017-10-19 13:30:24 +00: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
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +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
Jack Stouffer
c183c2e5c2
Fixed std.algorithm imports in std.experimental.allocator to not be package wide
2016-07-03 01:34:31 -04:00
Sönke Ludwig
f07dfe6df0
Add empty doc comments to all public Phobos modules to fix /library/.
...
The DDOX based documentation is configured to only show entities with doc comments and thus hides modules without one. This adds an empty comment to all public Phobos modules that have stayed undocumented so far.
They should probably get a proper documentation with description/license/copyright/.... This just fixes the documentation until then.
2016-06-06 10:53:11 +02:00
Jack Stouffer
c643eaa291
Remove commented out code and redundant comments from std.experimental.allocator
2016-05-12 08:25:42 -04:00
Steven Schveighoffer
e9e52d9e05
Add goodAllocationSize to GCAllocator -- the GC has very well defined
...
behavior for this.
2016-01-31 14:50:53 -05:00
Yazan Dabain
44d273c3bd
Fixes #15433 : std.experimental.allocator.building_blocks.free_tree only compiles with unittest
2015-12-11 10:44:06 +02:00
Andrei Alexandrescu
499ecfedc5
Moved a bunch of building blocks into a new package building_blocks
2015-10-02 07:35:09 -04:00