Commit graph

208 commits

Author SHA1 Message Date
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
98531fbd57 Fixed local imports in std.experimental.allocator.package 2016-06-30 18:07:00 -04:00
Jack Stouffer
3deeaeb196 Fixed local imports in std.experimental.allocator.mmap_allocator 2016-06-30 18:07:00 -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
Robert Schadek
7f3d8545dc Merge pull request #4503 from JackStouffer/makeArray
[Issue 16219] makeArray does unnecessary allocations for ranges with length
2016-06-30 12:02:47 +02:00
Jack Stouffer
833bca4aa5 Fixed Issue 16219: std.experimental.allocator.makeArray does unnecessary allocations for ranges with length 2016-06-29 16:51:18 -04:00
Jack Stouffer
9ad30b3e39 Fix too permissive constraint on std.experimental.allocator.makeArray 2016-06-29 14:03:02 -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
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +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
Jack Stouffer
95e90ba788 Fixed long lines in std/experimental/allocator/mallocator.d 2016-05-10 20:51:39 -04:00
Dmitry Olshansky
0853d4bc2e Merge pull request #4245 from wilzbach/use_new_alias
use the 'new' alias syntax
2016-04-27 17:16:49 +04:00
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
f891779f25 use the new alias syntax 2016-04-27 01:56:50 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +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
Basile Burg
8533b6b532 fix redundant static checking, keep the deeper one from 15772 2016-03-14 15:58:33 +01: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
Dmitry Olshansky
1dc6ff97d6 Merge pull request #4014 from schveiguy/allocator_expand
Fix GCAllocator.expand to properly utilize GC.extend
2016-03-11 23:34:17 +03:00
Steven Schveighoffer
498d9b0b5e use correct math 2016-03-11 11:33:12 -05:00
David Nadlinger
42625ce05c Merge pull request #3949 from japplegame/patch-1
fix Bucketizer.owns
2016-03-05 23:02:35 +00:00
Steven Schveighoffer
3edc09dfa4 Merge pull request #4023 from BBasile/ussue-15639
fixed issue 15639 - allocator.make enables abstract class instantiation
2016-03-04 18:03:41 -05:00
Steven Schveighoffer
c0a34b41f7 Fix spacing around equals
See https://github.com/D-Programming-Language/phobos/pull/4022#commitcomment-16474681
2016-03-03 14:52:47 -05:00
Basile Burg
175b9129a0 fixed issue 15639 2016-03-01 22:19:29 +01:00
Basile Burg
211c10aff2 fixed issue 15721 2016-03-01 22:17:38 +01: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
H. S. Teoh
5c53be7676 Merge pull request #3977 from joakim-noah/android
Android update
2016-02-23 13:51:42 -08:00
Steven Schveighoffer
1d1ddfbf5d Fix GCAllocator.expand to properly utilize GC.extend 2016-02-21 17:17:02 -05:00
Joakim
10c01a0614 On Android, update std.datetime to extract timezone data and some other fixes. 2016-02-10 14:25:42 +05:30
Dariusz Antoniuk
338dfff953 Take array by ref for expandArray with init 2016-02-08 17:33:37 +01:00
ZombineDev
1c555f0d1f Handle all return codes of posix_memalign, such as EINVAL. 2016-02-03 17:33:24 +02:00
ZombineDev
ce938fe432 Add attributes to most functions in allocator.mallocator and allocator.common.
Also made the style more consistent.
2016-02-03 17:33:24 +02:00
Steven Schveighoffer
245977e3e7 Add more unit tests for GCAllocator.goodAllocSize 2016-02-02 15:11:55 -05:00
Steven Schveighoffer
0c5e570360 Optimize use of bsr better. 2016-02-01 09:27:04 -05:00