Walter Bright
ec8534d58b
sorting.d: add overflow checks
2016-08-05 00:44:20 -07:00
Ilya Yaroshenko
ee30556a34
Merge pull request #4709 from andrewbenton/issue_16351
...
Fix issue 16351
2016-08-04 15:39:16 +02:00
Ilya Yaroshenko
bd33e92935
remove object file
2016-08-04 11:04:27 +02:00
Dmitry Olshansky
fba7339893
Merge pull request #4639 from 9il/mm3
...
fix Issue 16311 - toHash for Slice is not defined
2016-08-04 11:00:45 +02:00
Andrew Benton
65fe9934b4
Fix issue 16351
...
When using nonstandard output libraries such as
https://github.com/sickill/stderred argumentless writeln() will fail on
the enforce because it check specifically for a newline to be returned.
Checking instead that the output is not EOF follows the documentation
and allows overridden write() functions from the standard library.
2016-08-03 19:32:43 -04:00
Ilya Yaroshenko
15c04beabd
remove pragma(inline, false)
2016-08-03 16:22:33 +02:00
Walter Bright
03a5eae0f4
fix .ptr safety problem in schwartzSort()
2016-08-03 00:03:21 -07:00
Steven Schveighoffer
5422d2647e
Merge pull request #4655 from WalterBright/uni-overflow
...
std.uni: add overflow checks to storage allocation
2016-08-02 19:15:11 -04:00
Walter Bright
d48c3c35ed
std.uni: add overflow checks to storage allocation
2016-08-02 14:32:05 -07:00
Martin Trenkmann
31d8b4785d
Fixed wrong variable name in embedded doc
2016-08-02 18:43:14 +02:00
Steven Schveighoffer
ef828293f5
Merge pull request #4654 from WalterBright/functional-overflow
...
std.functional: add overflow checks
2016-08-02 11:31:02 -04:00
Steven Schveighoffer
6784f6323d
Merge pull request #4657 from WalterBright/signals-overflow
...
std.signals: check for overflow on allocation sizes
2016-08-02 10:22:35 -04:00
Walter Bright
7b30453dd2
Merge pull request #4686 from wilzbach/std_algorithm_iteration
...
add unittest attributes to std.algorithm.iteration
2016-08-02 04:07:44 -07:00
Walter Bright
5768530d38
Merge pull request #4684 from jpf91/digestCov
...
Add unittest for .length and .peek (std.digest.digest.WrapperDigest)
2016-08-02 03:12:26 -07:00
Dmitry Olshansky
22fdbcd1db
Merge pull request #4656 from WalterBright/array-overflow
...
std.array: check for overflow on allocation sizes
2016-07-31 21:53:03 +02:00
Ilya Yaroshenko
4866f6c79d
add Slice.toHash
2016-07-31 18:07:42 +02:00
David Nadlinger
d7a7173c7d
Merge pull request #4668 from JackStouffer/asserts
...
Enable always true assert checks in Travis
2016-07-31 17:04:35 +01:00
David Nadlinger
eb9e676783
Merge pull request #4647 from 9il/assign
...
fix Issue 16315 and optimise arithmetic operations for Slice
2016-07-31 15:50:26 +01:00
Jack Stouffer
f30c6a106c
Enable always true assert checks in Travis
2016-07-31 10:47:26 -04:00
Ilya Yaroshenko
04b45d1deb
Merge pull request #4697 from ZombineDev/patch-6
...
Make iotaSlice implementation easier to understand
2016-07-31 15:50:13 +02:00
David Nadlinger
50ad274826
Merge pull request #4678 from llucenic/patch-1
...
Typos corrections for logger
2016-07-31 13:47:52 +01:00
Petar Kirov
fd0ceb2b39
Make iotaSlice implementation easier to understand
2016-07-31 15:18:50 +03:00
Ilya Yaroshenko
7cfac7d3f0
Merge pull request #4696 from ghost91-/std_experimental_allocator_building_blocks_nullallocator_doc_fix
...
[trivial] Fix docs for NullAllocator
2016-07-31 13:49:08 +02: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
Ilya Yaroshenko
3e0a93325b
fix Issue 16315, optimise arithmetic operations for Slice
2016-07-31 11:11:47 +02:00
Ilya Yaroshenko
c58e3fadc9
Issue 16308 - [ndslice] should always has save primitive
...
The reason is that Slice never calls front/popFront and others
primitives of underlaying range.
remove constraints for `save` in ndslice.selection
2016-07-31 10:43:26 +02:00
Johannes Pfau
8cb66be20a
Add unittest for .length and .peek (std.digest.digest.WrapperDigest)
2016-07-30 09:35:01 +02:00
Steven Schveighoffer
69c00bc1a9
Merge pull request #4627 from ttung/empty
...
Properly handle the case where an environment variable is an empty string
2016-07-29 22:56:11 -04:00
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
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
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
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