Commit graph

11114 commits

Author SHA1 Message Date
Walter Bright
6f5e8692ab std.signals: check for overflow on allocation sizes 2016-07-29 15:30:22 -07:00
Walter Bright
c6aa7e19d5 Merge pull request #4685 from wilzbach/std_algorithm_sorting
add unittest attributes to std.algorithm.sorting
2016-07-29 15:09:35 -07:00
Ľudovít Lučenič
d1064467a0 Typos corrections
Sole improvements of documentation.
2016-07-29 23:35:54 +02:00
David Nadlinger
516f303751 Merge pull request #4689 from wilzbach/enable_timsort_ctfe
std.algorithm.sorting: enable CTFE test for Timsort
2016-07-29 21:08:22 +01:00
Steven Schveighoffer
5eb27bc90f Merge pull request #4690 from wilzbach/hexstring_safe
std.digest.digest: make toHexString @safe
2016-07-29 15:15:20 -04:00
David Nadlinger
79d1195724 Merge pull request #4528 from schveiguy/fixgenerate
Fix generate to be correctly implemented range.
2016-07-29 19:20:22 +01:00
Steven Schveighoffer
f7d8db5c5e Add changelog entry, appease travis, fix docs, add unit test 2016-07-29 12:44:30 -04:00
Sebastian Wilzbach
790aada728 replace functions with lambda aliases 2016-07-29 18:16:34 +02:00
Sebastian Wilzbach
7864e43ce5 std.digest.digest: make toHexString @safe 2016-07-29 17:44:50 +02:00
Sebastian Wilzbach
fde82ff034 std.algorithm.sorting: enable CTFE test for Timsort 2016-07-29 17:31:20 +02:00
Sebastian Wilzbach
016d5145b2 make std.algorithm.sorting @safe-er 2016-07-29 17:14:20 +02:00
Johan Engelen
46f0d65358 Fix undefined behavior of BitsSet.ctor() and BitsSet.popFront() upon aggressive optimization.
The bug is triggered by the `assert(bitsSet(1).equal([0]));` unittest already present, with LDC+aggressive inlining and optimization.
2016-07-29 16:02:08 +02:00
Ilya Yaroshenko
f75eeb596d Merge pull request #4437 from puneet/master
Fix for for issue 16182 - std.traits.fullyQualifiedName Bug
2016-07-29 15:40:40 +02:00
Sebastian Wilzbach
bd98ca10d7 add unittest attributes to std.algorithm.comparison 2016-07-29 12:25:56 +02:00
Sebastian Wilzbach
d7a18dc52e add unittest attributes to std.algorithm.iteration 2016-07-29 12:25:22 +02:00
Walter Bright
e99a7f6184 std.functional: add overflow checks 2016-07-28 13:29:00 -07:00
Walter Bright
842f583b6b std.array: check for overflow on allocation sizes 2016-07-28 13:27:44 -07:00
Jack Stouffer
6c5f8a4149 Added fast path for dchars in std.utf.byUTF 2016-07-28 16:07:29 -04:00
Jack Stouffer
014982c6da Added ASCII fast path in std.utf.byUTF 2016-07-28 16:07:29 -04:00
Sebastian Wilzbach
539d860380 Fix issue 16331 - std.container.array should allow uncomparable values 2016-07-28 17:24:46 +02:00
Ilya Yaroshenko
77bee52578 Merge pull request #4671 from WalterBright/utf-trusted
std.utf: fix unsafe .ptr usage
2016-07-28 10:06:25 +02:00
Ilya Yaroshenko
ca1d015f90 Merge pull request #4597 from JackStouffer/parse-decoding
Removed auto-decoding from std.conv.parse
2016-07-28 09:18:41 +02:00
Walter Bright
aa017e5001 Merge pull request #4587 from wilzbach/test-codecov
show code coverage with Codecov.io
2016-07-27 23:27:09 -07:00
Walter Bright
7386c79ad4 Merge pull request #4669 from JackStouffer/patch-15
[trivial] Improved docs for std.range.zip
2016-07-27 23:26:19 -07:00
Walter Bright
1c2632ed80 Merge pull request #4665 from JackStouffer/immutable
[trivial] Added const and immutable to several variables in std.regex.internal.…
2016-07-27 23:26:02 -07:00
Walter Bright
e4f5ce7ea6 std.utf: fix unsafe .ptr usage 2016-07-27 18:10:33 -07:00
Jonathan M Davis
62588fdd14 Merge pull request #4666 from JackStouffer/immutable2
[trivial] Added const and immutable to several variables in std.format
2016-07-27 16:21:12 -07:00
Jack Stouffer
1d25050e49 Added const and immutable to several variables in std.format 2016-07-27 18:01:01 -04:00
Jack Stouffer
846aca3c23 Remove irrelevant comment from std.conv.to docs 2016-07-27 15:47:50 -04:00
Jack Stouffer
c00e298ef6 Improved docs for std.range.zip 2016-07-27 15:40:26 -04:00
Ilya Yaroshenko
52b694570c Merge pull request #4631 from jmh530/patch-1
[ndslice] Change pack example to something simpler
2016-07-27 21:08:56 +02:00
Jack Stouffer
e2ce5a9519 Added const and immutable to several variables in std.regex.internal.parser 2016-07-27 11:12:45 -04:00
dhasenan
31f9a9e389 std.zip: tighter imports, more repeatable test 2016-07-27 15:06:20 +00:00
Sebastian Wilzbach
11b4c1fb1e fix weird compiler error of std.numeric.entropy 2016-07-27 16:37:17 +02:00
jmh530
4fbfeb6855 Changing enums to static immutable
Changing enums to static immutable because that is what Travis CI is telling me to do
2016-07-26 21:54:58 -04:00
jmh530
97efba121f Adding enums to avoid risk of GC allocation
Adding enums to avoid risk of GC allocation
2016-07-26 21:50:43 -04:00
jmh530
5b14ca79c3 Removing extra line between blocks
Removing extra line between blocks
2016-07-26 21:47:53 -04:00
jmh530
bdac4d2a93 Fixing white space on line 107
Fixing white space on line 107
2016-07-26 21:45:12 -04:00
jmh530
7ebce43896 Fixing white space
Trying to fix white space so that Travis CI passes.
2016-07-26 21:35:03 -04:00
jmh530
623d5b116e Fixing space after std.range
Adding a space after std.range to pass Travis CI.
2016-07-26 21:31:04 -04:00
jmh530
c84e8098b8 Fixing indentation and template parameters
Changing indentation to tab from 5 spaces for b. Also, change the formatting for template parameter to remove parentheses.
2016-07-26 21:12:22 -04:00
Walter Bright
f9dd0f8e3f Merge pull request #4660 from 9il/9il-patch-3
fix docs in algorithm.iteration
2016-07-26 17:48:08 -07:00
Walter Bright
dc56fc1615 Merge pull request #4662 from Cauterite/patch-1
make Unique.opDot() inout
2016-07-26 17:47:49 -07:00
Walter Bright
9f7dcd5073 Merge pull request #4663 from JackStouffer/immutable
[trivial] Added const and immutable to several variables in std.internal.math.biguintcore
2016-07-26 17:46:54 -07:00
jmh530
56eb71c871 Update changes to have only one blank line
Was asked to have only one blank line. I assume this meant to split variables from asserts.
2016-07-26 18:43:53 -04:00
jmh530
f21cf84d99 Update changes to modify [0][0] to [0, 0]
Addressing comments to change [0][0] to [0, 0]
2016-07-26 18:41:56 -04:00
Jack Stouffer
59706e6cae Added const and immutable to several variables in std.regex.internal.backtracking 2016-07-26 17:05:15 -04:00
Jack Stouffer
4f81cb0f63 Added const and immutable to several variables in std.internal.math.biguintcore 2016-07-26 15:54:26 -04:00
Jack Stouffer
06c9dca2da [Issue 16073] Fix incorrect uses of random access range primitives in std.range.package 2016-07-26 13:56:21 -04:00
Cauterite
e50b77fbce document unittest 2016-07-27 01:41:31 +10:00