Commit graph

53 commits

Author SHA1 Message Date
Dennis
5cd77a6e32
User hyperlinks to refer to bugzilla issues (#8766) 2023-06-16 14:45:44 +03: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
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
Hackerpilot
bbab95e337 Make sure that uses of testAllocator are inside of StdUnittest version blocks. 2020-03-10 12:24:10 -07: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
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
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
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -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
Alexandru Jercaianu
f130ff0628 minor refactor for regionMode 2017-11-18 21:11:00 +02:00
Alexandru Jercaianu
02074889d5 Fix Issue 16564 - KRRegion.empty sometimes returns Ternary.no 2017-11-16 16:19:59 +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
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
Andrei Alexandrescu
df7f89dfdd Merge pull request #5787 from edi33416/safe_alloc_good_alloc_size
Make goodAllocSize @safe
2017-10-24 13:11:08 -04:00
Eduard Staniloiu
97ddc3d11d Improve unittests 2017-10-19 13:30:24 +00:00
Eduard Staniloiu
97e6d45688 Make goodAllocSize @safe 2017-10-19 09:35:58 +00:00
Eduard Staniloiu
1dbfb9d3d1 Make owns pure nothrow @safe @nogc 2017-10-19 09:31:50 +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
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
Eduard Staniloiu
79cf4ab913 Use OpaquePointer as a safe support for region based allocators 2017-06-08 00:40:14 +03:00
Martin Nowak
b940d0c1c7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-05-23 20:37:35 +02:00
Martin
68b51e7a81 Fix missing alignment for kernighan_ritchie allocator unittests 2017-04-23 04:51:50 +02: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
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
somzzz
8a69b10451 fix issue 16564 2017-01-16 03:40:57 -08: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
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
Dmitry Olshansky
f91fba5f5a Merge pull request #4414 from s-ludwig/master
Add empty doc comments to all public Phobos modules to fix /library/.
2016-06-08 20:55:32 +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
Bastiaan Veelo
db6f55e2b1 Fix 404 (using MREF_ALTTEXT). 2016-06-06 00:59:17 +02:00
Bastiaan Veelo
c9674aa9de Fix 404. 2016-06-06 00:14:28 +02:00
Andrei Alexandrescu
b94026470d Merge pull request #4307 from JackStouffer/allocator
Move Ternary from std.experimental.allocator.common to std.typecons
2016-05-24 10:29:23 -04:00
Jack Stouffer
b7165c04bc Move Ternary from std.experimental.allocator.common to std.typecons 2016-05-24 10:27:10 -04:00
Jack Stouffer
c643eaa291 Remove commented out code and redundant comments from std.experimental.allocator 2016-05-12 08:25:42 -04:00
Basile Burg
70c4ad4cbe fix, test cant pass under win32
due to max alloc size
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5cce2a1c30 Reduce unittests' pressure on resources 2015-10-02 07:35:09 -04:00