Sebastian Wilzbach
8089602180
Merge pull request #5795 from MartinNowak/cstring_template_bloat
...
factor out code that does not depend on input range
2017-11-17 16:17:25 +01:00
Andrei Alexandrescu
a07e0efb62
Merge pull request #5863 from jercaianu/allocbug
...
Fix Issue 17986 - Erratic failure with std/experimental/allocator/common.d(445): unittest failure
2017-11-17 09:25:20 -05:00
Alexandru Jercaianu
f529c855ae
Fix Issue 17986 - Erratic failure with std/experimental/allocator/common.d(445): unittest failure
2017-11-17 12:15:05 +02:00
Alexandru Jercaianu
02074889d5
Fix Issue 16564 - KRRegion.empty sometimes returns Ternary.no
2017-11-16 16:19:59 +02:00
Sebastian Wilzbach
ea1e9b2aa3
Merge pull request #5819 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-11-15 16:11:15 +01:00
The Dlang Bot
8e4dfdbd50
Merge pull request #5794 from n8sh/container-array-puremalloc
...
Fix Issue 17919: Make std.container.Array use pureMalloc
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-15 00:42:11 +01:00
Andrei Alexandrescu
9dde01acac
Merge pull request #5861 from jercaianu/align
...
alignedReallocate also checks for correct alignment if sizes are equal
2017-11-14 14:48:44 -05:00
Alexandru Jercaianu
b619323193
added testcase for alignedReallocate
...
replaced ulong with size_t
spaces after cast
2017-11-14 20:00:57 +02:00
The Dlang Bot
99002c366b
Merge pull request #5792 from jercaianu/lockingtextwriter
...
Fix Issue 9661 - LockingTextWriter should increment file handle reference count
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-14 18:14:07 +01:00
Alexandru Jercaianu
4df0c64179
alignedReallocate checks for alignment if sizes are equal
2017-11-14 18:38:11 +02:00
The Dlang Bot
d1a0a32e79
Merge pull request #5858 from BBasile/issue-12064
...
fix issue 12064 - std.typecons.wrap doesn't handle NVI
merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2017-11-14 17:01:41 +01:00
Alexandru Jercaianu
0802e6adef
Refactored if blocks
2017-11-14 17:55:37 +02:00
Mathis Beer
61d53a1ad4
fix Issue 14477 - Nullable does not work with structs with default constructor disabled
...
Add unittest, improve error message a bit.
2017-11-14 08:47:02 +01:00
The Dlang Bot
e39a528707
Merge pull request #5860 from aG0aep6G/patch-1
...
remove unintended highlighting from cache's docs
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-14 00:20:07 +01:00
aG0aep6G
d2aad6b7e6
remove unintended highlighting from cache's docs
...
Fixes two links.
2017-11-13 23:37:45 +01:00
Andrei Alexandrescu
0308bd6b9a
Merge pull request #5857 from BBasile/issue-16398
...
fix issue 16398 - experimental allocators, add aligned reallocation for Posix
2017-11-13 16:22:33 -05:00
Andrei Alexandrescu
fbe4f4e361
whitespace
2017-11-13 14:48:52 -05:00
Andrei Alexandrescu
58d7efe1ae
Fix a few issues
2017-11-13 14:40:46 -05:00
The Dlang Bot
53e5cf67df
Merge pull request #5852 from jercaianu/region
...
Fix Issue 15637 - Region allocator assert failure when expanding the last allocation
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-13 19:22:51 +01:00
The Dlang Bot
20413aed16
Merge pull request #5854 from jercaianu/bitmap_chooseAtRuntime
...
Fixed Issue 16253 - BitmappedBlock allocator not working with chooseAtRuntime
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-13 18:39:21 +01:00
Andrei Alexandrescu
0b006c6f8c
Merge pull request #5856 from jercaianu/freeList
...
Fix Issue 15140 - std.experimental.allocator.building_blocks.free_list.FreeList leaks memory
2017-11-13 11:30:12 -05:00
Basile Burg
c9f2158b59
fix issue 12064 - std.typecons.wrap doesn't handle NVI
2017-11-13 13:41:19 +01:00
Basile Burg
a196f171f6
fix issue 16398 - experimental allocators, add aligned reallocation for Posix
2017-11-13 13:20:52 +01:00
Andrei Alexandrescu
5e41ddf0cf
Merge pull request #5851 from jercaianu/alignedreal
...
alignedReallocate returns false on failure and FallbackAllocator needs stateless allocators for test
2017-11-11 16:23:22 -05:00
Alexandru Jercaianu
762375058f
Added test for FreeList destructor
2017-11-11 23:13:06 +02:00
Alexandru Jercaianu
b8d70b32fd
Fix Issue 15140 - std.experimental.allocator.building_blocks.free_list.FreeList leaks memory
2017-11-11 21:43:28 +02:00
Alexandru Jercaianu
f8a8589036
Added test for stateful allocator with FallbackAllocator
2017-11-11 19:59:58 +02:00
The Dlang Bot
4e71185e99
Merge pull request #5796 from jondegenhardt/splitter-doc-changes
...
Documentation improvements for std.algorithm.splitter.
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2017-11-11 08:28:49 +01:00
Jon Degenhardt
913a0527cd
Switch from dot delimiter to avoid style check involving consecutive dots.
2017-11-10 22:31:44 -08:00
Alexandru Jercaianu
3910abb31b
Renamed 'file' to 'file_'
2017-11-10 19:43:55 +02:00
Mathis Beer
d2c3b5d57d
Handle structs with @disable this in Nullable
2017-11-10 15:48:28 +01:00
Alexandru Jercaianu
1f63f2d039
Added constraint for Allocator to have alignedAllocate
2017-11-10 15:31:00 +02:00
Alexandru Jercaianu
01295695c5
Minor refactor in test
2017-11-10 01:27:13 +02:00
Alexandru Jercaianu
22954c5376
Added comments reflecting the change
2017-11-10 01:24:40 +02:00
Alexandru Jercaianu
752235ee8c
Removed FILE* member, because we can access it through the 'File' object
2017-11-10 01:04:34 +02:00
Alexandru Jercaianu
f730d230f5
Fixed Issue 16253 - BitmappedBlock allocator not working with chooseAtRuntime
2017-11-10 00:25:00 +02:00
The Dlang Bot
2534841d3c
Merge pull request #5842 from Darredevil/issue-17467-bitArray-rollLeft-rollRight
...
Fix Issue 17467 - BitArray are broken with <<= 64
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-09 20:07:44 +01: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
Alexandru Jercaianu
5fa79373c9
Added comments explaining why we need to keep both members
2017-11-09 14:02:46 +02:00
Alexandru Jercaianu
caadfecd26
Change comment to reflect change
2017-11-09 13:52:51 +02:00
Alexandru Jercaianu
9bad191d6a
alignedReallocate returns false if alignedAllocate fails
...
FallbackAllocator requires both allocators to be stateless when running tests
fallback test
2017-11-09 13:45:48 +02:00
The Dlang Bot
feab9a2f52
Merge pull request #5729 from wilzbach/static-foreach
...
Change AliasSeq(0, ...) uses of foreach to static foreach
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-11-08 10:15:50 +01:00
The Dlang Bot
ce7fe52f9e
Merge pull request #5799 from edi33416/safe_alloc_empty
...
Make empty @safe
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-07 19:36:22 +01:00
Eduard Staniloiu
a498d87222
Make empty @safe
2017-11-07 18:00:52 +00:00
The Dlang Bot
b95f73a2c7
Merge pull request #5805 from Darredevil/issue-17742-transposed-opIndex
...
Fix Issue 17742 - std.range.transposed does not have opIndex
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2017-11-07 17:19:20 +01:00
Alexandru Caciulescu
997eb62299
Fix Issue 17467 - BitArray are broken with <<= 64
2017-11-07 17:39:31 +02:00
Alexandru Caciulescu
cfb5bcfae8
Clean template arg
2017-11-07 17:37:32 +02:00
The Dlang Bot
8f9813efd8
Merge pull request #5838 from jmdavis/direntry_unicode
...
Fix issue 17962: dirEntries is truncating Unicode file names.
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2017-11-07 15:50:13 +01:00
The Dlang Bot
80b1636a09
Merge pull request #5841 from edi33416/nogc_alloc_deallocateAll
...
Mark deallocateAll as @nogc
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-07 01:25:07 +01:00