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
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
Dmitry Olshansky
834d865172
more stuff and tests on escapes in character classes
2011-12-14 02:43:55 +04:00
Dmitry Olshansky
59d3f35cdc
another tweak for escapes in character classes
2011-12-13 16:14:31 +04:00
Andrei Alexandrescu
f703904e8a
Merge pull request #367 from blackwhale/master
...
Hopefully final decision on escapes in character sets
2011-12-12 19:14:21 -08:00
Dmitry Olshansky
bb2851b8e7
comma also could be considered as special
2011-12-12 16:46:45 +04:00
Dmitry Olshansky
27cc7722fc
fix escape syntax to that of regular-expression.info
2011-12-12 15:13:56 +04:00
dsimcha
4afe6a5f3b
Should be bool.
2011-12-11 13:01:40 -05:00
dsimcha
c487da7087
Use bool instead.
2011-12-11 12:40:44 -05:00
dsimcha
93ccd0cfb3
Improve the documentation for std.concurrency.
2011-12-11 12:07:13 -05:00
k-hara
e9a4f6660d
Issue 7070 - can't assign null to Variant
2011-12-10 12:26:48 +09:00
Andrei Alexandrescu
f88e848ed9
Merge branch 'reverse'
2011-12-09 12:02:06 -06:00
Andrei Alexandrescu
24192fc3a0
Added in-place reverse for narrow strings
2011-12-09 11:49:36 -06:00
David Simcha
9d151ac1f9
Make Task.base public because it doesn't work anymore on 2.057 if it's private.
2011-12-09 12:09:15 -05:00
jmdavis
7774df3203
Fixed it so that non-deprecated functions in std.file didn't call deprecated functions.
2011-12-09 00:43:32 -08:00
Don Clugston
d619dd513f
7078 BigInt.toInt returns a long
...
Just a silly typo
2011-12-08 09:24:12 +01:00
Walter Bright
add73f61ea
try again to get it to work for 64 bits
2011-12-07 23:44:01 -08:00
Walter Bright
4cf3a6e91c
would not compile for 64 bits
2011-12-07 22:30:14 -08:00
Walter Bright
e875fb3dd6
Merge branch 'master' of github.com:D-Programming-Language/phobos
2011-12-07 20:40:38 -08:00
Walter Bright
86df60f442
needed due to fix to Issue 7027
2011-12-07 20:39:46 -08:00
Andrei Alexandrescu
5f4b39b2ee
Merge pull request #355 from donc/bigintcleanup2
...
BigInt: uint->size_t in nonasm primitives
2011-12-07 15:36:35 -08:00
Don Clugston
b828057506
BigInt: uint->size_t in nonasm primitives
...
Causes incorrect results for bigints larger than 2^^34 bytes long.
2011-12-07 10:09:04 +01:00
jmdavis
9f9028829c
Fixed documentation for std.process.shell so that it shows up.
...
http://d.puremagic.com/issues/show_bug.cgi?id=7040
2011-12-06 12:39:18 -08:00
David Simcha
ae16fd1b51
Update std/range.d
2011-12-05 14:25:29 -05:00
dsimcha
36fc2fb922
Fix trivial regression in lockstep caused by DMD enforcing const more strictly.
2011-12-05 10:01:43 -05:00
Andrei Alexandrescu
6ac45d88af
Merge pull request #328 from jmdavis/deprecations
...
Applied deprecations for November 2011.
2011-12-04 13:04:07 -08:00
Andrei Alexandrescu
62349ee641
Merge pull request #347 from klickverbot/master
...
Phobos build fix.
2011-12-04 13:03:16 -08:00
Andrei Alexandrescu
b3c0ce24fc
Merge pull request #336 from denis-sh/typecons-improvement
...
Convert unnecessary flag `opDispatch` property functions to templates
2011-12-04 13:03:02 -08:00
David Nadlinger
cabdd80769
Make extra std.internal.uni test -property compliant.
...
This was not caught before the merge because the test was disabled until commit eb4bd2bc73
.
2011-12-04 22:01:05 +01:00
David Nadlinger
927f879dba
Linux build fix, was missing from pull 342.
2011-12-04 21:48:43 +01:00
Andrei Alexandrescu
9ffb83e944
Merge pull request #331 from dawgfoto/master
...
extern(C) not needed for vararg any longer
2011-12-04 11:48:27 -08:00
David Nadlinger
130b1ac71c
Whitespace cleanup.
2011-12-04 09:56:14 +01:00
David Nadlinger
62872423cb
Make sure LockingTextReader is an input range.
2011-12-04 09:56:14 +01:00
David Nadlinger
034b7e02bd
Remove unused, private Array helper.
2011-12-04 09:56:14 +01:00
David Nadlinger
ca2a082868
Until.predSatisfied() is a private helper function, mark it as such.
2011-12-04 09:56:14 +01:00
David Nadlinger
e312f9898b
Strict @property syntax compliance.
...
This enables the test suite to build with the -property switch enabled.
std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Hara Kenji
0eddab60b9
Merge pull request #343 from Poita/format-size-opt
...
Size optimisations on std.format
2011-12-03 23:36:06 -08:00
Peter Alexander
8eb953ef1e
Raw write fix and more appropriate function names.
...
Moved the raw write back into formatValue as it
would cause issues on big endian systems. Also
renamed formatInt to formatIntegral and formatUInt
to formatUnsigned to better signify their purpose.
2011-12-03 13:01:02 +00:00
David Simcha
063e53c7c3
Merge pull request #332 from dawgfoto/FixEmplace
...
fix bug in emplace
2011-12-02 19:32:18 -08:00
David Simcha
6359876ce2
Merge pull request #335 from alexrp/master
...
Use D_LP64 to make bitness-based decisions, not X86(_64).
2011-12-02 19:30:05 -08:00
k-hara
7db94dbc90
Issue 7055 - to!float("INF2") == 2
2011-12-03 11:27:58 +09:00