Commit graph

69 commits

Author SHA1 Message Date
somzzz
8a69b10451 fix issue 16564 2017-01-16 03:40:57 -08:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
WalterW
f7e14e905b Fix issue 16352 - dead-lock in std.allocator.free_list unittest
This fixes the actual unittest.
2016-12-24 01:40:47 -05:00
WalterW
776202b4e4 SharedFreeList - Fix nodes count desync and use after free on deallocateAll 2016-12-23 12:55:32 -05:00
WalterW
5caa66ef31 Fix issue 16352 - dead-lock in std.allocator.free_list unittest 2016-12-23 12:55:32 -05:00
Sebastian Wilzbach
c5ba7c7d0b Style fix: Add whitespace between import colon 2016-12-08 01:46:46 +01:00
anonymous
4afa2045c5 cover "desperation mode" 2016-09-19 12:25:45 +02:00
anonymous
46599a63ed fix issue 16507 - std.experimental.allocator: FreeTree clears too eagerly
Try parent allocator without clearing first. Documentation says so.
2016-09-19 00:15:31 +02:00
anonymous
2a2e04b9c7 fix issue 16506 - segfaults in std.experimental.allocator: FreeTree with GCAllocator or Mallocator 2016-09-18 23:49:29 +02:00
Jack Applegame
e56ac3620a modify unittest to increase test coverage 2016-08-29 22:50:07 +04:00
Jack Applegame
d07cb58d3e add unittest 2016-08-29 22:14:53 +04:00
Jack Applegame
f02c9a3688 fix AllocatorList.allocate weird behavior
Wrong `return` position. That says it all. Creating unnecessary allocators, memory leaks and so on.
2016-08-29 19:52:16 +04:00
Andrei Alexandrescu
54a5e49b2a Fix issue 16046 - ScopedAllocator does not set prev, causing segfaults 2016-08-22 12:23:28 -04:00
Johannes Loher
7f16265ab6 Commented out documentation for the commented out function goodAllocSize in NullAllocator"
Previously, the docs showed the additional line "Returns n.". This documentation comment belongs to the goodAllocSize function, which is commented out, so commented out the doc comment, too.
2016-07-31 11:23:35 +02:00
David Nadlinger
c33f3862b7 Merge pull request #4493 from schveiguy/fixcycles2
Fix cycles in Phobos
2016-07-06 00:06:11 +01: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
Jack Stouffer
fb67a6bb74 Fixed local imports in std.experimental.allocator.building_blocks.free_list 2016-06-30 18:07:00 -04:00
Jack Stouffer
3011d06039 Fixed local imports in std.experimental.allocator.building_blocks.bitmapped_block 2016-06-30 18:07:00 -04:00
Jack Stouffer
3be9dc0192 Fixed local imports in std.experimental.allocator.building_blocks.affix_allocator 2016-06-30 18:07:00 -04:00
Steven Schveighoffer
df168487fc Fix cycles in Phobos 2016-06-28 15:00:01 -04:00
Andrei Alexandrescu
7172eda466 Merge pull request #4327 from tsbockman/isPowerOf2
Add `std.math.isPowerOf2()`. Supports floating-point and integers.
2016-06-16 23:09:02 -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
Vladimir Panteleev
290894cbcf Merge pull request #4409 from veelo/patch-1
Fix 404.
2016-06-07 13:23:39 +03: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
tsbockman
18d1b436e4 Update Phobos to use the new std.math.isPowerOf2() everywhere.
`std.uni` looks like it may depend upon its local `isPowerOf2()` implementation
to return `true` for `0`. Since the semantics are different from the standard
version, I have renamed it to `isPow2OrZero()` to avoid confusion.
2016-06-04 21:19:38 -07:00
anonymous
68742c059a Ddoc: clean up macros in std.experimental.allocator
Replacing LINK2, A, and the custom XREF2 with MREF and friends. Also
removing other unused macros.

This fixes the links on DDOX pages.
2016-06-04 22:16:11 +02:00
Steven Schveighoffer
bc63d2b949 Merge pull request #4372 from andralex/allocator-change-expand
Change semantics of expand: the null array cannot be expanded 'in place'
2016-05-27 17:45:44 -04:00
Andrei Alexandrescu
8ecabe23f2 Change semantics of expand: the null array cannot be expanded 'in place' 2016-05-27 16:36:01 -04:00
Andrei Alexandrescu
140c51447f Remove spurious deprecation lookup warning 2016-05-27 16:05:35 -04: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
Sebastian Wilzbach
f891779f25 use the new alias syntax 2016-04-27 01:56:50 +03:00
Andrei Alexandrescu
249f10a89e Allow affix access from qualified data 2016-04-23 15:11:35 -04:00
Dmitry Olshansky
e46fb63158 Merge pull request #4034 from rainers/fix_allocator
enable and fix tests of std.experimental.allocator for Win64/Win32mscoff
2016-03-16 23:50:18 +03:00
Kai Nacke
1e96d5d4bd Allocator: Add stack direction for a lot of non-Intel architectures.
This should cover most architectures which D supports.
2016-03-12 20:04:40 +01:00
David Nadlinger
42625ce05c Merge pull request #3949 from japplegame/patch-1
fix Bucketizer.owns
2016-03-05 23:02:35 +00:00
Rainer Schuetze
d979bb8165 test std.experimental.allocator for Win64/Win32mscoff
fix assert in std.experimental.allocator.building_blocks.bitmapped_block for 32-bit build
2016-03-01 13:08:08 +01:00
Joakim
10c01a0614 On Android, update std.datetime to extract timezone data and some other fixes. 2016-02-10 14:25:42 +05:30
Steven Schveighoffer
e9e52d9e05 Add goodAllocationSize to GCAllocator -- the GC has very well defined
behavior for this.
2016-01-31 14:50:53 -05:00
Jack Applegame
f790eeeb98 Fix imports. 2016-01-29 13:48:36 +03:00
Jack Applegame
b2e6ed320f Bucketizer unittest update 2016-01-29 13:31:46 +03:00
Jack Applegame
a527393821 fix Bucketizer.owns 2016-01-24 10:04:43 +03:00
Andrei Alexandrescu
ac96a3d3c0 Merge pull request #3684 from 9il/shared_free_list
[allocators] add approxMaxNodes for shared free list
2016-01-14 02:48:51 -05:00
Yazan Dabain
44d273c3bd Fixes #15433: std.experimental.allocator.building_blocks.free_tree only compiles with unittest 2015-12-11 10:44:06 +02:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00