Commit graph

2536 commits

Author SHA1 Message Date
Nils Boßung
10d636b7b3 make parse with radix work on ranges (bugzilla 7302) 2012-01-17 12:57:40 +01:00
David Simcha
e815ad2727 Merge pull request #382 from jmdavis/deprecations
Deprecated stuff that was scheduled for deprecation in January 2012.  This breaks one of the DMD tests, but I'm merging it anyhow because it's trivial and it's clearly a problem with the test, not the production code.
2012-01-14 12:35:35 -08:00
David Simcha
1d2962b4a1 Merge pull request #383 from 9rnsr/fix7230
Issue 7230 - Crash during printing anonymous union with writeln family functions.
2012-01-14 12:30:59 -08:00
David Simcha
bb234967ca Merge pull request #384 from mrmonday/moduleof
Add PackageName, ModuleName and FullyQualifiedName traits.
2012-01-14 12:28:04 -08:00
Jonathan M Davis
58ab4b0422 Merge pull request #387 from dsimcha/stdRangeImprovements
Fix a bug in std.range.hasLvalueElements due to ambiguity between addres...
2012-01-13 22:52:10 -08:00
Jonathan M Davis
529d416af1 Merge pull request #388 from dsimcha/parallelismCleanup
Parallelism cleanup
2012-01-13 22:49:07 -08:00
Walter Bright
8cfc0d232b 'is' doesn't work for signalling/quiet nan comparison 2012-01-10 00:03:14 -08:00
dsimcha
86398b46fa Fix a bug in std.range.hasLvalueElements due to ambiguity between addresses of functions and addresses of return values.
Remove workaround for Bug 2443 in lockstep.
2012-01-09 20:55:26 -05:00
Andrei Alexandrescu
ae112b9dea Merge pull request #314 from NilsBossung/bugzilla6874
(bugzilla 6874) disable the broken optimized path and fall back to append
2012-01-09 07:51:21 -08:00
dsimcha
c7dd245dc4 Remove workarounds for lack of non-ref opApply in parallel foreach, now that Bug 2443 is fixed. 2012-01-08 22:59:53 -05:00
dsimcha
ce949a2eb4 Make std.parallelism conform better to the Phobos style guide. Note that this was mostly done with an automated tool with a quick scroll-through to clean up its errors. At any rate, it's better than it was. 2012-01-08 22:52:51 -05:00
jmdavis
4e05818751 Added unit test for readLink cenforce fix. 2012-01-07 22:17:20 -08:00
jmdavis
69f0097d8b Fixed bug in std.file.readLink with regards to cenforce.
readLink should be checking that the result of readlink is not -1,
not that it's not 0, so the cenforce calls were wrong and were
resulting in incorrect behavior when readlink failed.
2012-01-07 18:03:36 -08:00
Brad Roberts
23d7f34df0 fix win32 parts of andrei's std.stdio changes 2012-01-07 14:01:26 -08:00
Brad Roberts
6180c14cd4 Merge remote-tracking branch 'andralex/stdio' 2012-01-07 13:41:22 -08:00
Robert Clipsham
c7f9c71624 Fix copy/paste fail. 2012-01-07 02:57:24 +00:00
Robert Clipsham
bf232cea4b Fix a slight issue with fullyQualifiedName 2012-01-07 02:32:27 +00:00
Robert Clipsham
8c8fd3ef88 Fix names to match phobos style guidelines. 2012-01-06 22:58:25 +00:00
Robert Clipsham
9b790cbf04 Add PackageName, ModuleName and FullyQualifiedName traits. 2012-01-06 22:50:28 +00:00
k-hara
31a8f97423 Issue 7230 - Crash during printing anonymous union with writeln family functions. 2012-01-07 05:25:16 +09:00
jmdavis
60a0a1c9e7 Deprecated stuff that was scheduled for deprecation in January 2012. 2012-01-02 22:52:36 -08:00
Brad Roberts
d538a2733c enable std.math tests on 64 bit platforms, disabling just the three failing tests instead 2012-01-01 21:14:33 -08:00
Brad Roberts
ea27e2bcd6 enable std.format tests on 64 bit platforms, disabling just the two failing tests instead 2012-01-01 20:57:05 -08:00
Walter Bright
10a2872229 fix public importing 2012-01-01 12:15:51 -08:00
k-hara
d493815bfe Supplemental changes for 3235 & 6714 2011-12-31 14:39:05 +09:00
Walter Bright
380ae65511 remove empty statements 2011-12-29 00:05:45 -08:00
Torarin
00bfb6873f Added auto ref to formatElement and formatValue to make them work with non-copyable structs. 2011-12-28 02:05:40 +01:00
k-hara
7dcb93621d Supplemental change of issue 3382 - [tdpl] Implement uniform function call syntax 2011-12-26 22:57:49 +09:00
k-hara
1c6914ac3c Reject bad assignment by template constraint. 2011-12-26 01:40:18 +09:00
Andrei Alexandrescu
5ec35812ba Merge pull request #374 from jmdavis/datetime
Removed static constructors from std.datetime.
2011-12-22 22:44:10 -08:00
jmdavis
ca68f72060 Further tweaks from review. 2011-12-22 22:27:24 -08:00
jmdavis
a7e665c013 Changed datetime's singletons to use a separate bool for now.
I'll change it back to use double-checked locking once that works with
shared, but the atomicLoading stuff seemed overly complicated and
error-prone for what is supposed to be a temporary workaround for the
issues with shared.
2011-12-22 20:39:09 -08:00
Jonathan M Davis
ea3a33b307 Merge pull request #350 from shoo/fix6642
Issue 6642 - SysTime should not be hasUnsharedAliasing
2011-12-20 23:13:49 -08:00
jmdavis
e9dc4b94eb Versioned some of std.file's unit tests.
Some of the tests are too time-sensitive, and the sleeps are slowing the
tests down, so I've versioned off the ones that I believe are currently
causing issues for the autotester.

It looks like it may be possible to make the file times retrieved more
precise, which would lessen the need for sleeps. It would probably also
be prudent to combine a number of the tests, which would cut back on the
number sleeps needed. Hopefully, this change is enough to deal with
autotester's issues for now though.
2011-12-19 21:08:58 -08:00
Andrei Alexandrescu
893f2b1d35 Improved handling of temporary files during testing 2011-12-18 18:06:30 -06:00
Andrei Alexandrescu
3189d296e4 Fix bug in byLine() with empty files 2011-12-18 14:40:38 -06:00
Jesse Phillips
c5c1059448 Updated std.csv for -property 2011-12-18 11:26:39 -08:00
David Simcha
e8e92f3f99 Merge pull request #362 from klickverbot/receive-function
Issue 7092 - std.concurrency.receive does not accept free functions.
2011-12-18 10:09:20 -08:00
Jesse Phillips
4e313454b8 Merge branch 'master' into csv 2011-12-18 10:06:46 -08:00
Brad Roberts
532b26e6e0 Merge pull request #348 from CyberShadow/std-random-randomsample
std.random: Fix documentation and one of randomSample's overloads.
2011-12-18 03:39:57 -08:00
jmdavis
d3816f156e Changed singletons to use __gshared and atomicLoad and atomicStore.
Apparently. the compiler doesn't insert the correct memory fences for
shared yet, so double-checked locking does work right with shared yet.
This change should be undone (and the singletons changed back to using
shared) once shared has been fixed in the compiler.
2011-12-17 21:49:10 -08:00
jmdavis
56c8acdeb4 Removed static constructors from std.datetime. 2011-12-16 23:53:49 -08:00
Andrei Alexandrescu
7cda6760d7 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-12-15 20:41:48 -06:00
Andrei Alexandrescu
b7f42ec925 Hello, world release mode after strip reduced from 700KB to 220KB 2011-12-15 20:40:39 -06:00
k-hara
7f67f8d932 Fix for 4251 - assumeUnique cannot receive in char[] 2011-12-15 17:34:10 +09:00
k-hara
17e87a472d Revert "Revert "Merge pull request #284 from 9rnsr/fix6208_on_inout""
This reverts commit fef20ede25.
2011-12-15 17:34:09 +09:00
k-hara
999970c835 For propGetSet 2011-12-15 14:55:07 +09:00
k-hara
d2ada0e527 Add "America/Bahia" from/to "Bahia Standard Time"
Related: http://support.microsoft.com/kb/2633952/en-us
2011-12-15 12:19:48 +09:00
Andrei Alexandrescu
5dbc8ff310 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-12-14 01:54:22 -06:00
Walter Bright
971404356e Merge pull request #369 from blackwhale/master
fix for a fix for character classes in std.regex
2011-12-13 15:28:42 -08:00