Commit graph

3362 commits

Author SHA1 Message Date
Don Clugston
5da45b213e Fix issue 7973 BigInt %= long/ulong gives wrong value 2012-06-22 07:04:30 +02:00
Don Clugston
a79bb20ea7 Fix issue 7993 BigInt divide-by-1 error
Thanks to c.m.brandeburg for the fix.
2012-06-21 18:36:22 +02:00
Don Clugston
c5374753b2 Test case for 8022 2012-06-21 08:30:16 +02:00
Jonathan M Davis
32d9b32905 Merge pull request #640 from 9rnsr/fix8264
Issue 8264 - [std.conv.to] constructing conversion doesn't work with alias this
2012-06-20 20:57:08 -07:00
jmdavis
b4a795073c Updates to changelog. 2012-06-20 20:54:49 -07:00
Jonathan M Davis
51d4428923 Merge pull request #633 from jmdavis/refrange
Added RefRange to std.range.
2012-06-20 20:45:40 -07:00
jmdavis
a885cf85ff Added RefRange to std.range.
It's a wrapper which effectively allows you to pass a range by
reference.
2012-06-20 20:44:02 -07:00
k-hara
230f56cf26 Stop using auto ref to distinguish lvalue and rvalue. 2012-06-20 11:04:38 +09:00
k-hara
18564f4fa2 fix Issue 8264 - [std.conv.to] constructing conversion doesn't work with alias this 2012-06-19 15:22:41 +09:00
Johannes Pfau
589218003d Fix isSeedable documentation 2012-06-18 14:52:44 +02:00
Andrei Alexandrescu
cfeadbbe52 Directory iteration should not throw if some of the directory content is concurrently deleted. 2012-06-17 16:01:54 -05:00
Andrei Alexandrescu
c833d9e067 Add per-process deleteme file for testing. Otherwise make unittest -j may break because of simultaneous debug/release runs. 2012-06-17 15:20:17 -05:00
Andrei Alexandrescu
d7a79d7c9f updated 2012-06-17 15:08:19 -05:00
dsimcha
31276a518d Remove incorrect assert. 2012-06-17 15:18:34 -04:00
Iain Buclaw
df08b7c7c9 Update putAArray for non-x86 architechtures. 2012-06-17 14:29:10 +01:00
John Belmonte
01cd4f3eed Issue 8214 - blocking option for TaskPool.finish()
Add backwards compatible blocking option to finish().  Remove disabled
join() method.  Add unit tests for finish().
2012-06-17 08:53:20 -04:00
Jonathan M Davis
d6ffd5877a Merge pull request #627 from jpf91/random-seed
Add seed(InputRange) overload to MersenneTwisterEngine
2012-06-17 04:50:46 -07:00
Johannes Pfau
c0be641cd5 Add seed(InputRange) overload to MersenneTwisterEngine 2012-06-17 13:26:49 +02:00
k-hara
bf1a32fdfc fix Issue 8240 - std.algorithm.joiner and empty inputRangeObject
In this case, _current member is invalid at the start of iteration.
Then joiner should have additional member _valid_current.
2012-06-15 13:23:15 +09:00
Jonathan M Davis
c05e6e4cce Merge pull request #630 from jmdavis/8233
Fix for issue# 8233.
2012-06-13 21:14:33 -07:00
Jonathan M Davis
646bb9e86f Merge pull request #625 from alexrp/stdio-cleanup
Various std.stdio cleanups.
2012-06-13 12:43:20 -07:00
alexrp
e34e1083a2 Rename isStreamingDevice to isFileHandle and deprecate the old name. 2012-06-13 21:00:29 +02:00
alexrp
aff8f4d6a4 Document std.stdio.{stdin,stdout,stderr}. 2012-06-13 20:59:14 +02:00
Brad Anderson
05b8ec7872 Use toUTFz's better description for toStringz
Also fix typo.
2012-06-13 11:46:18 -06:00
jmdavis
5c3d219931 Fix for issue# 8233.
std.array.array fails to compile with ranges of immutable elements which have a length property
2012-06-13 01:44:25 -07:00
Don Clugston
261889c656 Fix issue 8022 BigInt division bug (2) 2012-06-13 08:39:38 +02:00
Brad Anderson
58c82f1267 Add Example to SList.insertAfter documentation
Along with matching unit test.
2012-06-12 21:33:06 -06:00
Jens K. Mueller
61012d929e Fix issue 7948 2012-06-11 23:16:05 +02:00
Jonathan M Davis
9d0e3f9ca5 Merge pull request #611 from jmdavis/traits
Some tweaks to unsigned.
2012-06-11 02:15:42 -07:00
Jonathan M Davis
0f2c2571b6 Merge pull request #619 from jmdavis/7937
Fix for issue# 7937.
2012-06-10 21:28:30 -07:00
Jonathan M Davis
b6ddd05727 Merge pull request #617 from jmdavis/8187
Fix for issue# 8187.
2012-06-10 20:41:17 -07:00
Jonathan M Davis
94c06fb246 Merge pull request #609 from jmdavis/7515
Fix issue 7515
2012-06-10 20:30:26 -07:00
Nils Boßung
e643cde9ed code formatting 2012-06-11 01:43:36 +02:00
alexrp
3d01055d96 Mark some std.stdio.File members pure/nothrow. 2012-06-10 21:27:39 +02:00
Lars T. Kyllingstad
903a5e821a Merge pull request #589 from kbroman/patch-1
Fix comment describing gammaIncompleteComplInverse in std/mathspecial.d
2012-06-10 05:19:06 -07:00
Denis Shelomovskij
7134b603f8 Replace delete with destroy in std.signals 2012-06-10 15:40:40 +04:00
Jonathan M Davis
7ad1e29d2f Merge pull request #618 from jmdavis/8195
Fix for issue# 8195.
2012-06-09 02:30:21 -07:00
Matthias Walter
eb46d99217 Added to BitArray in std.bitmanip:
- const modifiers
- const versions of opApply
- toHash method
- return value for length setter.
2012-06-08 21:34:01 +02:00
Jonathan M Davis
ae5e7585cc Merge pull request #621 from jmdavis/bitmanip
Added peek, read, write, and append to std.bitmanip.
2012-06-08 01:34:38 -07:00
Jonathan M Davis
f1757b88fa Merge pull request #623 from blackwhale/nested-regex
fix Issue 8203 std.regex.match() generates "not enough preallocated memory"
2012-06-08 01:05:07 -07:00
Jonathan M Davis
6b7174d3f9 Merge pull request #622 from dawgfoto/fasterDateTimeUT
faster std.datetime unit tests
2012-06-07 17:46:36 -07:00
Dmitry Olshansky
245782bb63 unittest for bug 8203 2012-06-08 01:33:56 +04:00
dawg
51535771f7 speed up SysTime opCmp tests
- cache DateTime to SysTime conversions
- 3000ms => 60ms
2012-06-07 21:20:05 +02:00
dawg
ec9b7f7e34 reduce benchmark count
- the 10M benchmark test accounts for 50% (5s) of datetime's
  unittest runtime
2012-06-07 19:38:01 +02:00
Dmitry Olshansky
0c35fcd694 fix Issue 8203
Change RegexMatch objects to follow proper COW semantics
2012-06-07 19:22:20 +04:00
jmdavis
9cf1eea338 Added checks to verify indices. 2012-06-07 01:27:25 -07:00
jmdavis
b36b6469e1 Made it possible to give endianness to peek, read, write, and append. 2012-06-06 20:39:50 -07:00
jmdavis
5e24378271 Added peek, read, write, and append to std.bitmanip.
These functions make it easier to manipulate buffers of ubytes which are
meant to be parsed or written to as sequences of larger integral types.
They assume that the buffers hold their data in big endian.
2012-06-06 02:21:33 -07:00
Jonathan M Davis
1709984af6 Merge pull request #608 from jmdavis/xml
Added warnings of future deprecation to modules that will be replaced.
2012-06-05 23:26:57 -07:00
Jonathan M Davis
e9cf468c87 Merge pull request #585 from alexrp/move-crc32
Deprecate crc32 and move it into std.crc32 (with new interface).
2012-06-05 23:20:25 -07:00