Jeremy Baxter
f31a7bc41d
replace dead links
...
for link in $(grep -Eor 'https?://[^\\)", ]+' | grep -v dlang.org \
| grep -Eo 'https?://.+'); do (printf "%s: " "$link"; curl -Is "$link" \
| head -n1) | grep -E '4..$'; done
for link in $(grep -Eor '\\$\\(HTTP .+, ' | grep -v dlang.org \
| cut -d' ' -f2- | sed 's/, .*$//'); do out="$(curl -Is "$link")"; \
(! [ $? = 0 ] || printf '%s' "$out" | head -n1 | grep -Eq '4..') \
&& printf '%s\\n' "$link"; done
2024-07-14 15:16:11 +12:00
Denis Feklushkin
2bd1b833f8
Redundant stack grow direction checks removed
2023-04-28 17:36:40 +03:00
Paul Backus
d31f81ee7c
Split SharedBorrowedRegion from BorrowedRegion
...
Since they do not present the same structural interface, they should be
separate types (i.e., hasMember cannot tell the difference between a
'shared' method and a thread-local method).
2022-09-19 16:31:20 -04:00
Paul Backus
63882e2e2d
SharedRegion: don't use NullAllocator as sentinel
...
SharedRegion 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 SharedRegion!(NullAllocator, ...)
remains available via shared(BorrowedRegion!(...)).
See issue 23090 for detailed rationale.
2022-09-19 16:31:20 -04:00
Paul Backus
70d41a122a
Use BorrowedRegion internally in SharedRegion
2022-09-19 16:31:20 -04:00
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
Paul Backus
e04186b82f
Use BorrowedRegion internally in [InSitu]Region
2022-09-19 16:31:20 -04:00
Paul Backus
e6ebc2ad51
Add BorrowedRegion, a non-owning Region allocator
...
Previously, this behavior could only be obtained by instantiating Region
with NullAllocator as its ParentAllocator. Extracting it into a separate
allocator will allow Region itself to be simplified.
2022-09-19 16:31:20 -04:00
berni44
b2019ebab0
Narrow imports of std.math in the rest of phobos.
2021-04-21 03:00:57 +02:00
Iain Buclaw
6d6c02cda7
std.experimental.allocator.building_blocks.region: Remove duplicated RISCV version condition
2020-06-29 16:35:52 +02:00
David Abdurachmanov
3d84369f87
Add support for RISC-V 32 & 64 bit
...
This allows libphobos to compiled on RISC-V targets.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2020-03-28 14:29:49 -07:00
Hackerpilot
bbab95e337
Make sure that uses of testAllocator are inside of StdUnittest version blocks.
2020-03-10 12:24:10 -07:00
Jacob Carlborg
4282c121cd
Fix allocator tests on iOS derived platforms
2020-03-03 12:51:07 +01:00
RazvanN7
1b9b9698d5
Fix blocking issue in std/experimental/allocator/building_blocks/region.d
2019-06-26 13:13:30 +03:00
Diederik de Groot
859dc49859
brk support has been removed from DragonFlyBSD
...
sbrk has been declared deprecated
mmap() is suggested as a replacement for sbrk()
2019-05-26 00:05:32 +02:00
Iain Buclaw
9403aae9a9
std.experiment.allocator: SPARC64 stack grows downwards
2019-04-13 21:04:41 +02:00
Iain Buclaw
501080fa4f
Add minimum RISCV support to phobos
2019-04-09 21:12:46 +02:00
Iain Buclaw
3abe79ed52
Add minimum HPPA support to phobos
2019-01-18 01:41:28 +01:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
The Dlang Bot
f8a17a7898
Merge pull request #6508 from CyberShadow/pull-20180515-044632
...
Fix Issue 18847 - std.allocator: Region uses .parent before it can be set
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-06-07 23:01:39 +02:00
Joakim
f916d73af7
Musl: last remaining tweaks
2018-06-07 11:58:44 +05:30
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Vladimir Panteleev
72b2128e6e
Fix Issue 18847 - std.allocator: Region uses .parent before it can be set
2018-05-15 04:47:07 +00:00
Alexandru Jercaianu
60c0e6fb9e
Add deallocateAll for SharedRegion
2018-04-18 15:49:37 +03:00
Per Nordlöw
95b2f9f846
Merge remote-tracking branch 'upstream/master' into pure-region-allocate
2018-04-05 10:38:04 +02:00
Per Nordlöw
b2564e4dc7
qualify Region allocator
2018-04-04 12:59:41 +02:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Alexandru Jercaianu
ca57ca0d41
Add SharedRegion
2018-03-19 19:49:05 +02:00
Joakim
034988a0db
Add needed changes to get all tests passing with Musl
2018-02-17 14:25:07 +05:30
Alexandru Jercaianu
70dbc5919e
Fixed overflow bugs in Region and added goodAllocSize for all regions
2018-02-07 19:53:20 +02:00
Alexandru Jercaianu
67d6acf0b4
Region grownDownwards alignedAllocation takes into account alignment
...
replaced ulong with constant
2018-02-07 15:51:56 +02:00
Sebastian Wilzbach
233e90bdc1
Add PHOBOSSRC urls to std.experimental
2018-01-08 02:52:50 +01:00
Eduard Staniloiu
8a4a03550a
Fix SBrkRegion expand bug
2017-11-27 00:28:52 +02:00
Eduard Staniloiu
df72d45c7c
Make allocators expand safe
2017-11-22 19:51:12 +02:00
Alexandru Jercaianu
c2609a8c25
added testcase
2017-11-09 15:20:51 +02:00
Alexandru Jercaianu
04cbf312a9
Fix Issue 15637 - Region allocator assert failure when expanding the last allocation
2017-11-09 14:53:32 +02:00
Eduard Staniloiu
a498d87222
Make empty @safe
2017-11-07 18:00:52 +00: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
Andrei Alexandrescu
a49cce2dfb
hoist check for n == 0 to the top
2017-10-31 12:56:21 -04:00
Eduard Staniloiu
42ccb842ca
Fix region allocate and expand 0 sz
2017-10-31 15:19:23 +00:00
Eduard Staniloiu
e42b06fc41
Fix FreeBSD SbrkRegion alignment issue
2017-10-27 17:12:52 +00:00
Eduard Staniloiu
71ed13678d
Fix issue 17901 - FreeBSD SbrkRegion alignment
2017-10-24 16:56:14 +00:00
Eduard Staniloiu
1dbfb9d3d1
Make owns pure nothrow @safe @nogc
2017-10-19 09:31:50 +00:00
Iain Buclaw
061c2a7945
Use MIPS32 version condition instead of MIPS.
2017-10-07 23:33:35 +02:00
Sebastian Wilzbach
70f06b2357
Remove old, redundant private import access specifier
...
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:
sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02: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
Sebastian Wilzbach
1e7f7a1ba2
Revert "Use OpaquePointer as a safe support for region based allocators"
2017-06-08 09:45:31 +02:00