nordlow
b4ce8436d7
Annotate bitmapped_block.d to please dlang/dmd#12520
2021-05-18 01:13:52 +02:00
nordlow
f8bc7a1181
Annotate allocator/common.d to please dlang/dmd#12520
2021-05-17 05:21:35 +02:00
Iain Buclaw
859a367ffa
Cleanup temp files in std.process and std.experimental.checkedint
...
Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de>
2021-05-14 15:03:34 +02:00
Boris Carvajal
5dd42968e3
Rename the initial value of some enums from init to _init
2021-05-12 10:56:46 +08:00
Nathan Sashihara
6f430a7202
Fix Issue 21758 - std.experimental.checkedint opBinaryRight with integer left-hand side does not compile for any operators except + and -
2021-04-25 20:43:24 +08:00
berni44
b2019ebab0
Narrow imports of std.math in the rest of phobos.
2021-04-21 03:00:57 +02:00
Nathan Sashihara
86e3617665
Fix Issue 21761 - make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared
2021-04-12 10:31:30 +02:00
Nathan Sashihara
c98180ccc6
Fix Issue 21759 - std.experimental.checkedint.Checked is not compatible with "%d" and "%x" integer format specifiers
2021-03-25 00:04:02 +01:00
Nathan Sashihara
3a314492c5
Fix Issue 18024 - checkedint.Abort and checkedint.Warn should be @safe
2021-03-24 23:12:06 +01:00
Nathan Sashihara
361b51cddf
Fix Issue 21760 - std.conv.to does not know how to convert a string to a std.experimental.checkedint.Checked!T
2021-03-24 23:11:36 +01:00
berni44
6f2a0934a7
Adapt imports of std.format to new structure of std.format.
2021-03-19 13:22:00 +01:00
MoonlightSentinel
d5412f71cc
Remove spurious __EOF__ hiding existing declarations/tests
2021-02-01 16:42:37 +01:00
Martin Kinkelin
7558583c44
Replace usages of std.functional.forward with core.lifetime.forward
...
Where it has been moved to. Also get rid of the corresponding tests
in Phobos, an exact copy is in druntime (+ more forward tests).
Also extend a `scoped` test to make sure it properly forwards
r/lvalue-ness of its arguments. This required dlang/druntime#3352
and thus wasn't added in dlang/phobos#7776 directly.
2021-01-31 12:20:09 +01:00
Martin Kinkelin
543994eec0
std.experimental.allocator: Adapt unittests to emplace() fix (proper rvalue forwarding)
2021-01-18 12:00:32 +01:00
Martin Kinkelin
1a459c5996
Get rid of std.conv.emplace[Ref](), use core[.internal].lifetime
...
The emplace() stuff was moved to druntime; for some reason, it's still
in Phobos.
I've diffed the two versions, and they are still almost identical (incl.
unittests); the druntime version appears to have seen some improvements
(e.g., forwarding r/lvalueness of the arguments) in the meantime.
2021-01-17 16:02:25 +01:00
Martin Nowak
ec45951efd
Merge remote-tracking branch 'upstream/stable' into merge_stable
2020-10-18 21:34:13 +02:00
Martin Kinkelin
87cf224311
allocator_list unittests: Use core.memory.pageSize instead of minimumPageSize
...
Nothing else in druntime/Phobos uses the problematic `minimumPageSize`
symbol. Problematic because the page size changes from 4 to 16 KB with
macOS 11.0.
2020-10-09 09:42:54 +02:00
Andrei Alexandrescu
986b8202ec
Use std.ascii.newline
2020-09-20 23:55:07 -04:00
Andrei Alexandrescu
c41ec6f560
Do the right thing and verify the stderr output
2020-09-20 20:13:39 -04:00
Andrei Alexandrescu
5da48602d8
Use redirection of stderr to null
2020-09-20 13:57:42 -04:00
Andrei Alexandrescu
e28ac3c61d
EASY: obey the rule of silence.
2020-09-19 22:48:09 -04:00
H. S. Teoh
34a14509d2
std.experimental.checkedint should support chain assignment.
...
Cf. bug #21169 .
2020-09-10 06:06:01 +02:00
aG0aep6G
77b4dbbd36
tighten up other imports
...
These don't affect the import graph.
2020-09-08 14:00:11 +02:00
aG0aep6G
3fcf905408
remove unnecessary imports
...
Pulling a single thread out of the hairball of imports that is Phobos.
2020-09-08 14:00:04 +02:00
Nathan Sashihara
453faadf5b
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
2020-08-03 15:07:32 +02:00
Iain Buclaw
6d6c02cda7
std.experimental.allocator.building_blocks.region: Remove duplicated RISCV version condition
2020-06-29 16:35:52 +02:00
MoonlightSentinel
c46c2c3aa6
Fix public examples failing due to missing imports
2020-06-28 18:12:56 +02:00
Harry Gillanders
86e2d75187
Fix issue 20929
...
std.experimental.allocator.expandArray's range-based overload fails to
instantiate for char and wchar arrays.
2020-06-18 05:56:06 +01:00
Nathan Sashihara
e801d54faa
std.experimental.allocator: use core.bitop for trailingZeroes and leadingOnes
2020-05-15 10:34:20 -07:00
wolframw
658f8aeff6
Fix Issue 20743 - Checked!(int, Abort) does not abort but raise SIGFPE
2020-04-22 16:55:12 +02: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
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
Jacob Carlborg
fa94658f6a
Fix logger unit test for iOS derived platforms
...
The current working directory is not writeable on Apple's ARM platforms.
2020-03-03 12:51:07 +01:00
Bernhard Seckinger
fd05d96149
Remove 'could not locate' warning from std unittests
2020-01-24 18:33:39 +02:00
Alexandru Militaru
bb62aaca3d
Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest
2020-01-19 14:05:17 +02:00
MoonlightSentinel
1096cf4c1a
Remove deprecated std.experimental.all
2019-11-16 18:23:04 +01:00
Atila Neves
4cfef68d61
Replace in
with const
in preparation of dmd change
...
Changing dmd to implement `in` meaning `scope const` when DIP1000 is
selected causes Phobos to fail to compile. This changes Phobos in
preparation for that change.
2019-10-23 12:41:35 +02:00
Martin Nowak
d2e931f149
Merge remote-tracking branch 'upstream/stable' into merge_stable
2019-08-05 08:51:49 +02:00
Harry T. Vennik
c44b4717cf
Fix Issue 20046 - Get make!T to compile when T is a shared value type
2019-07-13 11:14:53 +02:00
David Gileadi
775bcdee51
Turn on -preview=markdown
2019-07-04 10:28:30 -07:00
RazvanN7
2669a2b565
Fix 2 more cases
2019-06-27 16:40:04 +03:00
RazvanN7
1b9b9698d5
Fix blocking issue in std/experimental/allocator/building_blocks/region.d
2019-06-26 13:13:30 +03:00
Nicholas Wilson
a460470bb4
Merge pull request #7040 from dkgroot-dlang/region_brk_sbrk
...
(s)brk support has been removed from DragonFlyBSD
2019-05-26 08:10:59 +08: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
Walter Bright
cf2ca66841
fix rvalue test for Final
2019-05-20 15:49:40 -07:00
Nicholas Wilson
bbd0b3ebf7
Fix broken unittest
2019-05-17 14:08:36 +08: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