Jack Stouffer
edd6aff392
More tests
2016-08-08 15:39:48 -04:00
Jack Stouffer
e936f33ebb
Improved some docs in std.stdio
2016-08-08 10:17:45 -04:00
Jonathan M Davis
29470ebb3c
Fix issue# 16364. Make getUDAs and hasUDA consistent.
2016-08-08 07:01:36 -07:00
Johannes Loher
1bbe7fe56d
Fixed in contract for Base64.decode for arrays
2016-08-08 12:11:30 +02:00
Ilya Yaroshenko
4a634ed2ea
Merge pull request #4688 from ZombineDev/use-assert-in-std-numeric
...
Use assert instead of enforce in std.numeric
2016-08-07 19:08:22 +02:00
David Nadlinger
1efdcd5ebb
Merge pull request #4700 from Cauterite/patch-1
...
Windows is supported; docs said otherwise
2016-08-07 15:23:24 +01:00
Steven Schveighoffer
d7e5537d9e
Merge pull request #4717 from WalterBright/container-array-overflow
...
container.array.sorting.d: add overflow checks
2016-08-05 12:42:41 -04:00
Steven Schveighoffer
c4578cdb80
Merge pull request #4716 from WalterBright/sorting-overflow
...
sorting.d: add overflow checks
2016-08-05 11:31:01 -04:00
Walter Bright
0c8fd57c66
container.array.sorting.d: add overflow checks
2016-08-05 01:02:52 -07:00
Walter Bright
ec8534d58b
sorting.d: add overflow checks
2016-08-05 00:44:20 -07:00
Walter Bright
8f69e217bf
comparison.d: add overflow checks
2016-08-05 00:39:33 -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
ZombineDev
d9abb1028d
Use assert instead of enforce in std.numeric
...
And also use onOutOfMemoryError instead of allocating and throwing a new
exception when malloc fails.
2016-08-04 01:27:21 +03:00
Jack Stouffer
841a76e4fd
Better-er tests
2016-08-03 15:51:57 -04:00
Jack Stouffer
ded1bd5cb6
64bit MurmurHash2
2016-08-03 15:08:12 -04:00
Jack Stouffer
a7684062da
Better tests
2016-08-03 15:04:11 -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
Sebastian Wilzbach
b0e5a1b7da
std.experimental.allocator: Add attributes to makeArray - part 2
2016-08-03 03:39:34 +02:00
Sebastian Wilzbach
6d9918e183
std.experimental.allocator: Add attributes to makeArray - part 1
2016-08-03 03:35:44 +02:00
Sebastian Wilzbach
a5b0016ebb
Add attributes to GCAllocator and theAllocator
2016-08-03 03:16:31 +02:00
Sebastian Wilzbach
d331a5d176
Extend reallocate test for all Allocators
2016-08-03 03:10:41 +02: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
Jack Stouffer
fb2c8dd7dc
Add toHash to SysTime
2016-08-01 13:47:21 -04: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
Cauterite
a12690a2e6
[trivial] Windows is supported; docs said otherwise
2016-08-01 04:50:34 +10: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
a92618b3a3
relax length constraints
2016-07-31 16:45:30 +02: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
Ilya Yaroshenko
945feb73c5
add iotaSlice variant with step
2016-07-30 23:41:31 +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