Commit graph

1241 commits

Author SHA1 Message Date
Andrei Alexandrescu
e33609bb1f Made replace more general 2011-01-11 05:11:37 +00:00
Andrei Alexandrescu
391850ebe2 Fixes and improvements to cmp 2011-01-11 03:21:31 +00:00
Andrei Alexandrescu
09ee12db23 Fixes for bugzilla 3313 and 5443 2011-01-11 00:50:45 +00:00
Masahiro Nakagawa
b5058f6875 Fix std.random.XorshiftEngine for 64bit environment 2011-01-10 18:19:12 +00:00
Masahiro Nakagawa
2f7bcb8dce Add max / min properties to Xorshift 2011-01-10 15:56:40 +00:00
Masahiro Nakagawa
951491f8fb Added Xorshift to std.random 2011-01-10 15:27:55 +00:00
Andrei Alexandrescu
6462d38a07 http://d.puremagic.com/issues/show_bug.cgi?id=3317 2011-01-09 21:44:03 +00:00
Andrei Alexandrescu
2c8d824173 unconditionalized unittest for round 2011-01-09 20:47:20 +00:00
Andrei Alexandrescu
0d68ef4531 conditionalized unittest for round 2011-01-09 20:43:19 +00:00
Don Clugston
87cee7103a Fix broken math unittest build on Windows 2011-01-09 19:56:04 +00:00
Andrei Alexandrescu
0efff7fcee Added unittests for http://d.puremagic.com/issues/show_bug.cgi?id=2944 2011-01-09 16:38:15 +00:00
Andrei Alexandrescu
dcb32224bd unittest for http://d.puremagic.com/issues/show_bug.cgi?id=3531 2011-01-09 07:29:31 +00:00
Andrei Alexandrescu
1420a8f09d unittest cleans after itself 2011-01-09 07:25:27 +00:00
Andrei Alexandrescu
ff7f7039d1 http://d.puremagic.com/issues/show_bug.cgi?id=3369 2011-01-09 07:00:39 +00:00
Andrei Alexandrescu
36112efd02 Added size property to File 2011-01-09 06:58:12 +00:00
Don Clugston
87e2382a36 Fix 64-bit segfaults in std.math. 2011-01-04 22:15:32 +00:00
Andrei Alexandrescu
074bfd394f Added link to memoize documentation 2011-01-04 03:52:04 +00:00
Andrei Alexandrescu
198cd5f49f Added memoize 2011-01-04 03:46:01 +00:00
Andrei Alexandrescu
0b876c040d Added filterBidirectional for completeness 2011-01-03 17:54:35 +00:00
Andrei Alexandrescu
825ddd564f Readded Filter unittests. Minor fix for move 2011-01-03 15:27:01 +00:00
Brad Roberts
c5a7e8573f Fix bad %.*s usage. 2011-01-03 04:48:22 +00:00
Andrei Alexandrescu
be994a2d0b Removed std.boxer 2011-01-03 03:22:43 +00:00
Andrei Alexandrescu
cd62445240 Undeprecated std.regexp 2011-01-03 03:21:09 +00:00
Andrei Alexandrescu
fc8603304c approxEqual misses -infinity 2011-01-03 02:06:28 +00:00
Andrei Alexandrescu
55bd1fcc57 deprecated module doesn't work 2011-01-03 01:30:20 +00:00
Sean Kelly
ecc7390670 Changed thisTid to construct a MessageBox if one doesn't exist (true for the main thread and threads created with core.thread instead of spawn). This eliminates a double construction for spawned threads or the alternative of a segfault when sending to a thread not created by spawn. 2011-01-03 01:15:22 +00:00
Andrei Alexandrescu
1f6a5f39d1 Deprecated std.regexp 2011-01-02 23:31:31 +00:00
Andrei Alexandrescu
c20d454d63 std.boxer deprecated and eliminated from posix.mak and documentation 2011-01-02 23:21:12 +00:00
Andrei Alexandrescu
589cf86488 marked std.bind as deprecated in case someone uses it 2011-01-02 23:16:50 +00:00
Andrei Alexandrescu
a14b7ad317 Replaced ell with en in the complexity column for better readability 2011-01-02 22:49:00 +00:00
Brad Roberts
069efcb49b Integrate changes from the d1 branch, still not enough to pass the std/math.d unit tests. 2011-01-01 23:25:59 +00:00
Walter Bright
b67b3a86ec start on 64 bit math by Don 2010-12-31 09:38:01 +00:00
Andrei Alexandrescu
c0ccf7fffe Fix spurious message during compilation of Phobos 2010-12-29 13:34:45 +00:00
Sean Kelly
541dd2a147 Removed openrj. 2010-12-29 03:54:46 +00:00
Steven Schveighoffer
f20359168a Fixed reserve function to use GC.extend when possible. 2010-12-27 19:40:19 +00:00
Steven Schveighoffer
4435b311eb Fixed std.array.Appender so it uses the newcapacity function to determine grow size when appending a range. Previously, it just grew enough to fit the range contents, which does not amortize appending performance.
Now, appending a range beats builtin append.  I noticed that appending a range does not beat appending single elements when the size of the range is small (such as one element).  There are probably heuristics we can find to optimize the copying, but I have a feeling these should just go into the builtin array copy code anyways.

Fixes bugzilla 5198
2010-12-27 19:02:40 +00:00
Kenji Hara
84b03988c5 Fixed the fail of dmd test. 2010-12-25 12:37:48 +00:00
Kenji Hara
e0737dee46 bugzilla 5371, ambiguous stringnize of class with alias this 2010-12-25 00:42:35 +00:00
Andrei Alexandrescu
86a080f056 Fixed unlisted bug in readf 2010-12-24 03:05:42 +00:00
Brad Roberts
f368104f37 A bunch of 64 bit fixes, including disabling tests that don't pass 2010-12-23 20:39:22 +00:00
Andrei Alexandrescu
8975184044 Removed caching used inside map 2010-12-23 15:13:34 +00:00
Sean Kelly
5b788d3457 Changed std.demangle to call core.demangle. This should provide the desired behavior without breaking any user code. 2010-12-23 04:34:41 +00:00
Walter Bright
b802a9af01 replace template with CTFE function 2010-12-20 08:30:16 +00:00
Steven Schveighoffer
b24873fe7b Fix issue where an assert requires the range to be printable (Which it may not be). This solves bugzilla 4901 2010-12-17 18:28:49 +00:00
Andrei Alexandrescu
7bc0565c02 Integrated RedBlackTree by Steven Schveighoffer 2010-12-13 06:44:17 +00:00
SHOO
cdc546892d Retry Issue 5340
http://d.puremagic.com/issues/show_bug.cgi?id=5340

And added some unittest.

The changes of std.base64 are caused by char[] NOT being OutputRange.
is(R2 == char[]) && isOutputRange!(R2, char) always returns false.
2010-12-10 15:01:25 +00:00
SHOO
9d3ae0ad70 Revert.
Sorry, unittest was failure..

std\base64.d(404): Error: template std.base64.Base64Impl!('+','/').encode(R1,R2) if (isArray!(R1) && is(ElementType!(R1) : ubyte) && is(R2 == char[]) && isOutputRange!(R2,char)) does not match any function template declaration.
....

It seems to be necessary to check behavior of std.base64.
2010-12-10 11:44:55 +00:00
SHOO
28ed751472 Fixed: Issue 5340 - isOutputRange!(Appender!string, int) must be false
http://d.puremagic.com/issues/show_bug.cgi?id=5340
2010-12-10 11:24:36 +00:00
Brad Roberts
53f7fa5b2d Check in x86_64 code paths as not implemented yet for the std.math routines that require purity, which isn't provided by the libc versions of the math functions. 2010-12-08 09:23:40 +00:00
Don Clugston
719be00105 Fix svn 2212, for x86_64. 2010-12-08 05:15:04 +00:00