SHOO
|
cf4ff42933
|
Fixed: dmd die of the generation of the document.
|
2010-08-22 15:21:51 +00:00 |
|
SHOO
|
08af0f5500
|
Added stopwatch module
Added StopWatch, Ticks, systime, apptime, comparingBenchmark, measureTime.
|
2010-08-22 15:11:33 +00:00 |
|
David Simcha
|
372641585f
|
Clean up std.range enforce vs. assert situation. Also, a few small fixes for bugs discovered while reading the code.
|
2010-08-22 14:51:36 +00:00 |
|
David Simcha
|
63c6e670a9
|
Fix boundary case bug in stride slicing.
|
2010-08-22 14:24:10 +00:00 |
|
Sean Kelly
|
3b1f4d0010
|
Added unit tests to verify static checking of occlusion.
|
2010-08-22 11:52:04 +00:00 |
|
Sean Kelly
|
b78bc4c59d
|
Bug report from Hans Fugal. The callback occlusion detection was borked for receive() and receiveTimeout(). It was failing if the final parameter was a Variant both because of an off-by-1 error and because the test should have been in a "static if" instead of just an "if" block. Unit tests forthcoming.
|
2010-08-22 11:37:50 +00:00 |
|
David Simcha
|
9ce4fbb9f3
|
Bug 4700: to!float("0") fails
|
2010-08-22 01:54:08 +00:00 |
|
David Simcha
|
82bcaca481
|
Clean up std.range.Take a little, properly handle ref return stuff.
|
2010-08-21 19:41:02 +00:00 |
|
SHOO
|
7ea8f5298a
|
Removed concept.
for template function literals.
isCallable does not match template function literals.
|
2010-08-21 09:42:39 +00:00 |
|
SHOO
|
cedd0339f6
|
Fix document
|
2010-08-21 09:21:41 +00:00 |
|
SHOO
|
4fffc6901b
|
Added isSafe, isUnsafe
isSafe!(func) checks the func that is @safe or @trusted
isUnsafe!(func) checks the func that is @system
|
2010-08-21 09:01:33 +00:00 |
|
David Simcha
|
4e805cfc78
|
Bug 2958: std.getopt RangeError on missing arg
|
2010-08-21 00:19:57 +00:00 |
|
David Simcha
|
9471b3f525
|
Default moveBack, moveAt implementations for elements w/o postblit. This was fixed a long time ago for moveFront.
|
2010-08-20 04:41:28 +00:00 |
|
David Simcha
|
b6ab569a4a
|
Lockstep opApply should take a scope delegate.
|
2010-08-20 00:40:16 +00:00 |
|
David Simcha
|
9b7cb69f99
|
More infiniteness propagation for std.range, remove faulty assumption that infinite ranges don't have ref return in Zip.
|
2010-08-20 00:34:30 +00:00 |
|
David Simcha
|
b4798c3f34
|
Bug 4603: array(iota(1, 0)) error
|
2010-08-20 00:06:06 +00:00 |
|
David Simcha
|
a95bb745ee
|
One more Lockstep issue: _ranges should be shallow copied for consistency with regular foreach.
|
2010-08-19 04:58:37 +00:00 |
|
David Simcha
|
98f98a744e
|
Optimize Lockstep and work around some compiler bugs.
|
2010-08-19 03:44:24 +00:00 |
|
David Simcha
|
d51ceb4c29
|
Bug 4346: More flexible std.array.array. Also improve std.array.array to work better with immutable narrow strings and use emplace() instead of placement new.
|
2010-08-19 00:53:05 +00:00 |
|
David Simcha
|
db2c820045
|
Added isIterable, ForeachType to std.traits in preparation for improvements to std.array.array.
|
2010-08-19 00:48:56 +00:00 |
|
David Simcha
|
d316980220
|
Bug 2903: Splitter should be bi-dir if the input range is bi-dir (Single-character separator version, since range separator version was fixed a long time ago. Excluded terminator version b/c it's not documented/officially part of Phobos yet and there are issues w/ including an empty range if the last character is the terminator that need to be resolved first.)
|
2010-08-18 04:06:26 +00:00 |
|
Andrei Alexandrescu
|
75705bc9e7
|
added assert
|
2010-08-18 02:44:35 +00:00 |
|
Andrei Alexandrescu
|
810c4feb97
|
bugzilla 4671
|
2010-08-18 02:35:22 +00:00 |
|
Adam D. Ruppe
|
086fafddb3
|
Documentation improvements by Pedro Rodrigues
|
2010-08-17 16:47:26 +00:00 |
|
Andrei Alexandrescu
|
b2a36396f1
|
Reverted to 32-bit file routines for Windows; we need to distribute libcmt.lib for 64-bit support.
|
2010-08-17 16:41:23 +00:00 |
|
Andrei Alexandrescu
|
cad40e5902
|
Now large files work with both osx and linux
|
2010-08-17 15:26:04 +00:00 |
|
Andrei Alexandrescu
|
cca7ba835a
|
versioned out failing asserts on OSX
|
2010-08-17 15:11:26 +00:00 |
|
Andrei Alexandrescu
|
5f354415b7
|
seek and tell for large files on OSX using seeko and tello
|
2010-08-17 15:06:34 +00:00 |
|
Andrei Alexandrescu
|
72d9fa0764
|
seek and tell for large files on OSX
|
2010-08-17 07:08:56 +00:00 |
|
David Simcha
|
75de9835b4
|
Bug 2951: std.random.dice() should be templated on proportions.
|
2010-08-17 03:38:36 +00:00 |
|
David Simcha
|
95122e68ab
|
Bug 4408: Ambiguity when using std.algorithm.splitter with generic ranges
|
2010-08-17 02:56:56 +00:00 |
|
David Simcha
|
096ddcad2a
|
Fix a few silly mistakes in std.range. Also, add self as author, as I feel I've earned it.
|
2010-08-17 02:30:45 +00:00 |
|
David Simcha
|
c03041e5fd
|
Clean up std.range.chain, fix several unlisted bugs and make the code more readable.
|
2010-08-17 02:26:46 +00:00 |
|
David Simcha
|
3235b577a7
|
Bug 3877: std.range.chain do not manage infinite ranges correctly
|
2010-08-17 00:50:06 +00:00 |
|
David Simcha
|
60ba977cf4
|
Added std.typetuple.anySatisfy because I need it for my work in std.range.
|
2010-08-17 00:38:38 +00:00 |
|
David Simcha
|
bfc7026ba5
|
Bug 3361 code in std.zlib concatenates void[] arrays (D2 fix)
|
2010-08-16 23:36:57 +00:00 |
|
Andrei Alexandrescu
|
3eb9454c78
|
Fixed seek and tell for large files
|
2010-08-16 20:07:12 +00:00 |
|
Shin Fujishiro
|
caa561b3b2
|
std.math: ddoc fix
|
2010-08-16 18:57:05 +00:00 |
|
David Simcha
|
abb54f279c
|
Lockstep StoppingPolicy should be a runtime arg, not a compile time one.
|
2010-08-16 03:31:59 +00:00 |
|
David Simcha
|
0318457f7c
|
Two related bugs: 3123: std.algorithm.zip fails on 'lazy' ranges ,
4402: std.range.Zip doesn't work w/ non-lvalue ranges.
|
2010-08-16 02:55:02 +00:00 |
|
David Simcha
|
c4cdd64f14
|
Add index variable support to Lockstep, since it ended up being trivial.
|
2010-08-16 00:14:26 +00:00 |
|
David Simcha
|
e8c0c8e5f2
|
Fix for small bug in single-range Lockstep.
|
2010-08-15 21:59:28 +00:00 |
|
David Simcha
|
2141dbf2fe
|
Added Lockstep, hasLvalueElements.
|
2010-08-15 21:26:26 +00:00 |
|
David Simcha
|
836922d87a
|
Bug 4292: CommonType fails for singular alias values.
|
2010-08-15 15:05:02 +00:00 |
|
Lars T. Kyllingstad
|
6090abc2c7
|
Just shuffling some code around
|
2010-08-15 11:26:18 +00:00 |
|
Lars T. Kyllingstad
|
1834ad9f47
|
std.process.Environment should be an abstract final class, so it can't be instantiated or subclassed
|
2010-08-15 11:12:29 +00:00 |
|
Lars T. Kyllingstad
|
d2650cd4a1
|
Added std.process.environment, an AA-like interface for environment variables.
|
2010-08-15 10:59:23 +00:00 |
|
David Simcha
|
8c615f5bf7
|
Saves for regex.
|
2010-08-15 04:03:56 +00:00 |
|
David Simcha
|
49852ac686
|
save() for std.algorithm.
|
2010-08-15 03:50:54 +00:00 |
|
David Simcha
|
1ec079b80a
|
save() methods.
|
2010-08-15 03:28:19 +00:00 |
|