Commit graph

888 commits

Author SHA1 Message Date
Andrei Alexandrescu
1cdd07b60d Eliminate shared this for allocators 2017-06-11 11:28:48 -04:00
Sebastian Wilzbach
1e7f7a1ba2 Revert "Use OpaquePointer as a safe support for region based allocators" 2017-06-08 09:45:31 +02:00
Eduard Staniloiu
dfe45f3d0e Remove free_list faulty dtor 2017-06-08 00:40:14 +03:00
Andrei Alexandrescu
5cc9d8b1a8 Eliminate failing assert on 32 bit platforms 2017-06-08 00:40:14 +03:00
Eduard Staniloiu
79cf4ab913 Use OpaquePointer as a safe support for region based allocators 2017-06-08 00:40:14 +03:00
Andrei Alexandrescu
f2ff3527a8 opChecked: use "overflow" consistently in code & dox 2017-06-03 13:22:10 -04:00
The Dlang Bot
4b727ed11d Merge pull request #5326 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-30 01:02:05 +02:00
Robert burner Schadek
27b6122d94 fix Issue 15517
was already fixed but had no fixture
2017-05-29 15:52:43 +02:00
Robert burner Schadek
9e6759995a fix issue 15945, 16256, 17328
tab -> space
2017-05-26 11:33:15 +02:00
Martin Nowak
b940d0c1c7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-05-23 20:37:35 +02:00
Robert burner Schadek
7d7ce4a5eb Logger sharedLog comment on thread-safety
fix Issue 16232 - std.experimental.logger.core.sharedLog isn't thread-safe
2017-05-07 10:54:53 +02:00
Rainer Schuetze
a3e7298686 workaround ld rejecting explicit alignment 2017-05-02 15:27:42 +02:00
Rainer Schuetze
8803c5e582 allow precise scanning of DATA/TLS segment: buffers for preallocated class instances should be typed void[], not ubyte[] and must be properly aligned 2017-05-02 14:15:55 +02:00
Eduard Staniloiu
5bc80e6dd6 Add ISharedAllocator and have the _processAllocator use it 2017-05-01 02:52:50 +03:00
Eduard Staniloiu
ee6e55621e SharedFreeList.reallocate must be shared and take a ref void[] 2017-04-30 19:23:44 +03:00
Martin
68b51e7a81 Fix missing alignment for kernighan_ritchie allocator unittests 2017-04-23 04:51:50 +02:00
The Dlang Bot
2e33404b81 Merge pull request #5302 from Bolpat/Final
Fix Issue 17270 - std.experimental.Final fails on pointers
merged-on-behalf-of: H. S. Teoh <quickfur@users.noreply.github.com>
2017-04-20 21:59:51 +02:00
Q. F. Schroll
7cdfeee0a9 Changed unit test 2017-04-07 19:59:10 +02:00
Jack Stouffer
b19f46a7d1 Fix style problems in std.experimental.allocator.gc_allocator 2017-04-05 10:55:22 -04:00
Eduard Staniloiu
04e844da77 Allocators should take a ubyte[] memory block instead of a void[] one
Allocators that rely on taking a block of unused memory to manage and allocate
from it should take a ubyte[] instead of a void[] in order to prevent users
from accidentally passing valid data and cause memory corruption/leaks.
2017-04-04 16:46:38 +03:00
Eduard Staniloiu
7c0ebad377 Make allocators' resolveInternalPointer take a const pointer as source 2017-04-03 20:35:01 +03:00
Steven Schveighoffer
3f0daf00b6 Fix issue 15534 - Rework constructor docs, removing reference to string parameter that
doesn't exist, and using more appropriate ddoc style.
2017-04-03 08:44:04 -04:00
The Dlang Bot
ccf4ad1fca Merge pull request #5237 from wilzbach/booktable-stdx-allocator
[BOOKTABLES]: Add BOOKTABLE to stdx.allocator
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-03-30 18:18:08 +02:00
H. S. Teoh
e632c58dbe Remove @disable, which is now redundant. 2017-03-26 21:54:17 -07:00
Q. F. Schroll
da17fdc038 added static asserts for arrays and pointers 2017-03-24 01:51:32 +01:00
Q. F. Schroll
c07db5334f added static assert for * type 2017-03-24 00:58:17 +01:00
H. S. Teoh
633a677144 Nicer error messages for std.typecons.experimental.Final. 2017-03-23 16:19:56 -07:00
Q. F. Schroll
e7086e8254 fix * assignment and improved unit test 2017-03-23 20:57:45 +01:00
Q. F. Schroll
05620ead4b Fix issue 17270 2017-03-23 01:23:42 +01:00
Eduard Staniloiu
dd304f635b Allow AffixAllocator to work with IAllocator 2017-03-16 14:44:46 +02:00
Eduard Staniloiu
85000db4be Make the resolveInternalPointer method abide the IAllocator API 2017-03-15 16:54:31 +02:00
Sebastian Wilzbach
090d5164e8 Fix links from $(LREF $(D ...)) -> $(LREF ...)
sed -E 's/[$]\(D [$]\(LREF (.*)\)\)/$(LREF \1)/' -i **/*.d
2017-03-05 08:11:29 +01:00
Sebastian Wilzbach
5b07bd5939 [BOOKTABLES]: Add BOOKTABLE to stdx.checkedint (#5238)
[BOOKTABLES]: Add BOOKTABLE to stdx.checkedint
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-03-04 08:50:39 +01:00
Sebastian Wilzbach
1dfbb9ad16 [BOOKTABLES]: Add BOOKTABLE to stdx.allocator 2017-03-04 05:07:14 +01:00
Sebastian Wilzbach
d6d6831d3b Remove std.experimental.ndslice (#5187)
Remove std.experimental.ndslice
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-03-02 09:02:45 +01:00
Jack Stouffer
e554764c01 Merge pull request #5216 from wilzbach/unluckily-phobos
Replace LUCKY links with actual links
2017-03-01 15:17:19 -05:00
Sebastian Wilzbach
d548e8830a Replace LUCKY links with actual links 2017-02-28 23:46:54 +01:00
Sebastian Wilzbach
427bcb9c71 Fix CircleCi: auto functions that return null should be void 2017-02-28 22:27:51 +01:00
Sebastian Wilzbach
b8a88558a9 Fix Ddoc warnings 2017-02-26 09:33:14 +01:00
Andrei Alexandrescu
a4755b7769 Add simple example at the beginning 2017-02-25 14:26:14 -05:00
Sebastian Wilzbach
78f4e8990e Fix CircleCi for std.experimental.checkedint (add unittest attributes) 2017-02-24 17:20:02 +01:00
Andrei Alexandrescu
4c9e0502a9 Please the style checker although I shouldn't have to 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
5919487140 Use std.math.isNaN instead of comparison to fix failures on Darwin 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
d3ddf0fd38 Improve docs spacing, remove spurious output in unittest 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
30626d289d Improve coverage a bit more 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
0f75fc2ac1 Fix copypasta in documentation 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
082b8b61c8 Add Throw hook, improve coverage, fix a few bugs 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
89df85c412 Lil more coverage 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
cde67f4ca1 Increase coverage, fix bugs 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
ca164a7d74 Add isNAN function, fix bug 2017-02-24 09:12:12 -05:00