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
Don Clugston
22c8beec58
5321: std.math: assumes X86 or X86_64 on FPU control word code
2010-12-08 00:47:29 +00:00
Don Clugston
ea766d9f71
5322 std.math: version(Sparc) should be SPARC
2010-12-08 00:41:01 +00:00
Don Clugston
b020b39837
5330 Druntime/Phobos: remove special treatment for GDC
2010-12-07 14:12:16 +00:00
Brad Roberts
a1d52bdc2b
Add support for MODEL=64 to the posix.mak file.
...
Fix a couple 64 bit issues.
2010-12-04 08:31:35 +00:00
Brad Roberts
7e564ec873
Remove redundant 'nothrow' from each method, the entire file is nothrow.
...
Minor whitespace changes.
2010-12-04 08:08:03 +00:00
Don Clugston
9cd7f3bcb8
Fixes 5293: std.math: Error: shift by -48 is outside the range 0..32
2010-12-03 03:25:13 +00:00
David Simcha
8aede6061f
Attempt number 2: Work around Bug 4298 in gammafunction and errorfunction code.
2010-11-29 13:57:37 +00:00
Don Clugston
6d5104ceb5
Relaxed tolerance on betaIncompleteInv unit test. The fact that a 0.8-bit error in log() caused a 38 bit change in the result, is a nice demonstration of how difficult this function is to calculate. BTW Mathematica crashes on this calculation.
2010-11-29 08:31:51 +00:00
Don Clugston
5db6dad8c1
Increase tolerance of this test, now that we know that failure is caused by a small imprecision in AMD's microcode.
2010-11-28 20:11:36 +00:00
Don Clugston
b152601707
Removed std.iterator. It hasn't been part of the build since June 8.
2010-11-26 07:27:54 +00:00
Andrei Alexandrescu
4a189f8915
bugzilla 5257, including suggestion to default predicate to true
2010-11-25 22:50:55 +00:00
Don Clugston
84477a5d3e
Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output.
2010-11-24 19:34:47 +00:00
Masahiro Nakagawa
3dbdfbfdf6
Workaround for dmd 2.050.
2010-11-24 13:51:26 +00:00