Commit graph

897 commits

Author SHA1 Message Date
David Nadlinger
c33f3862b7 Merge pull request #4493 from schveiguy/fixcycles2
Fix cycles in Phobos
2016-07-06 00:06:11 +01:00
Jack Stouffer
f085c82bf6 Removed global std.math import from std.experimental.allocator.common 2016-07-03 21:39:59 -04:00
Jack Stouffer
79e87255ba Fixed std.algorithm import in std.experimental.allocator.common to not be package wide 2016-07-03 21:38:30 -04:00
Jack Stouffer
b7019f1677 Removed unused debug imports from std.experimental.allocator 2016-07-03 21:34:26 -04:00
Jack Stouffer
9e75dd0b35 Removed global std.exception import from std.experimental.allocator 2016-07-03 21:33:18 -04:00
Jack Stouffer
3f618f24f8 Removed global std.conv import from std.experimental.allocator 2016-07-03 21:32:11 -04:00
Jack Stouffer
ffd5c44de6 Replaced package wide std.range import in std.experimental.allocator 2016-07-03 21:30:34 -04:00
Jack Stouffer
665dd87fde Removed global std.algorithm import from std.experimental.allocator 2016-07-03 21:29:17 -04: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
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
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
Andrei Alexandrescu
9753c3159b Merge pull request #4411 from wilzbach/kill_web_http
Fix broken WEB links
2016-06-15 17:47:43 -04: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
Sebastian Wilzbach
49531e3c73 fix broken web links
sed 's/(WEB http:\/\//(WEB /' -i **/*.d
2016-06-07 18:54:17 +02: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
anonymous
a3070094d7 Ddoc: add missing UL 2016-06-03 11:10:54 +02:00
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +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
Vladimir Panteleev
38a6370788 Merge pull request #4303 from wilzbach/mref_phobos
use mref macro instead of link2
2016-05-24 03:12:08 +03:00
Brian Schott
7b08e86d83 Merge pull request #4311 from JackStouffer/allocator3
Remove commented out code and redundant comments from std.experimental.allocator
2016-05-20 14:15:18 -07:00
Rishub Nagpal
abfd50c473 Updated examples for FileLogger: Logger name parameter has been removed 2016-05-18 15:55:38 -04:00
Brian Schott
1565a3243e Merge pull request #4324 from wilzbach/extend_whitespace_list
enforce: whitespace after catch
2016-05-16 19:04:43 -07:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
ZombineDev
f4333fa2cc Remove ref from the Slice.this parameters
This allows passing rvalues directly.
2016-05-14 21:42:15 +03:00
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
Jack Stouffer
c643eaa291 Remove commented out code and redundant comments from std.experimental.allocator 2016-05-12 08:25:42 -04:00
Vladimir Panteleev
3636733dcc Merge pull request #4299 from JackStouffer/patch-6
Prepare for long line checks in travis
2016-05-11 04:36:15 +03:00
Jack Stouffer
8559ba93ed Fixed long lines in std/experimental/ndslice/iteration.d 2016-05-10 20:51:39 -04:00
Jack Stouffer
95e90ba788 Fixed long lines in std/experimental/allocator/mallocator.d 2016-05-10 20:51:39 -04:00
Ilya Yaroshenko
4c8980efc9 Trivial Fix Issue 16010 2016-05-10 20:06:37 +02:00
Petar Kirov
9e2268ca19 Use iotaSlice instead of iota in one more place 2016-05-08 14:57:33 +03:00