jmdavis
895550649f
Remove all uses of toStringNow.
2013-02-24 18:23:51 -08:00
jmdavis
9bd4044536
Added CTFE-ability tests to some stuff in std.conv and std.string.
...
These tests are for the functionality that std.metastrings provides, and
we need to ensure that the normal functions which are replacing
those in std.metastrings continue to work in CTFE.
2013-02-24 16:02:32 -08:00
Andrej Mitrovic
1d24c8edf5
Fixes Issue 9523 - Regression: Enum to Enum conversion should work in std.conv.
2013-02-17 06:34:55 +01:00
Alex Rønne Petersen
f110604b59
Merge pull request #897 from AndrejMitrovic/Fix_8143
...
Fix Issue 8143 - Safe std.conv.to enum conversion
2013-02-10 10:15:21 -08:00
Andrej Mitrovic
ec1dcf53e3
Fixup Pull1555 - Zero-arg text() should return null string.
2013-02-07 21:06:01 +01:00
Andrej Mitrovic
0b9ace7f34
Specialize textImpl for 1-argument case.
2013-02-07 19:41:37 +01:00
Andrej Mitrovic
aaa6854eb7
Fixes Issue 9373 - Add deprecation messages to Phobos.
2013-01-23 02:44:08 +01:00
Andrej Mitrovic
72a0996089
Fixes Issue 8143 - Safe std.conv.to enum conversion
2013-01-22 02:23:15 +01:00
Andrej Mitrovic
88c2c81fbc
Fixes Issue 6668 - Avoid throwing collateral exceptions in std.conv.to
2013-01-20 17:30:17 +01:00
Nick Treleaven
5083260795
Fix typos
2013-01-07 17:01:11 +00:00
k-hara
b66012ef4e
fix Issue 8908 - Collapse of std.csv by the specifications change of std.conv.parse
2012-12-18 09:11:57 +09:00
Andrei Alexandrescu
f12c860a23
Merge pull request #896 from denis-sh/std.conv.emplace-fixes
...
`std.conv.emplace` fixes & improvements
2012-12-12 07:41:03 -08:00
Nils Boßung
c880456c7b
simplify
2012-12-09 16:18:51 +01:00
Nils Boßung
650a87cbb3
replace counters with bools
...
The only purpose of those counters was to track if anything has been
parsed. A bool suffices and it doesn't overflow.
2012-12-09 08:31:02 +01:00
k-hara
7062ce191a
fix Issue 2486 - taking address of slice rvalue is valid
2012-12-03 14:40:24 +09:00
k-hara
9c35f113cd
Small refactor by isExactSomeString
2012-11-27 22:46:14 +09:00
k-hara
d31e45ac28
fix isSomeString and StringTypeOf
...
additionally DynamicArrayTypeOf and StaticArrayTypeOf considers enums based on arrays
2012-11-27 22:46:12 +09:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
Denis Shelomovskij
44310012fe
Add note about Issue 8902 workaround
...
* Issue 8902 URL: http://d.puremagic.com/issues/show_bug.cgi?id=8902
2012-11-18 21:04:47 +04:00
Denis Shelomovskij
c31fcdcea0
Remove explicit emplace
specialization in unittest.
2012-11-18 20:52:41 +04:00
Denis Shelomovskij
525fb51c87
Prefix EmplaceTest{Struct|Class}
with __conv_
to avoid possible name clashes
...
* also make it `private`
2012-11-04 00:38:35 +04:00
Denis Shelomovskij
4269dd53c4
Add unittest for emplace
with struct without constructor
2012-10-27 15:33:47 +04:00
Denis Shelomovskij
ca9ef194a4
Improve emplace
unittests
2012-10-27 10:46:45 +04:00
Denis Shelomovskij
10375d681b
Add comments to emplace
unittests
2012-10-27 10:38:36 +04:00
Denis Shelomovskij
4bc219451b
Fix Issue 6635 - std.conv.emplace: enforcement is too weak
...
* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6635
2012-10-27 10:23:26 +04:00
Denis Shelomovskij
524fe42efc
Segregate std.conv.testEmplaceChunk
function
2012-10-27 10:23:26 +04:00
Denis Shelomovskij
63503202b7
Fix emplace
part of issue 6436
...
* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6436
2012-10-27 10:23:26 +04:00
Denis Shelomovskij
e62b241351
Fix emplace
issue with structs with disabled ctors
2012-10-27 10:23:26 +04:00
Denis Shelomovskij
6639900267
Refactor emplace
2012-10-27 10:09:07 +04:00
Denis Shelomovskij
d207cd00e1
Divide unittest and position its parts just after emplace
they test
2012-10-27 10:09:07 +04:00
Denis Shelomovskij
614751003b
Position unittests just after emplace
they test
2012-10-27 10:09:07 +04:00
Walter Bright
8153f095b7
use intrinsic ldexp
2012-10-18 14:06:34 -07:00
Andrei Alexandrescu
6cc2408804
Merge pull request #768 from jmdavis/deprecations
...
September 2012 Deprecations
2012-10-06 21:49:52 -07:00
Andrei Alexandrescu
0e22a37c83
Merge pull request #844 from 9rnsr/fix8705
...
More fix for Issue 8705 - std.conv.to bug, from documentation
2012-10-06 21:32:12 -07:00
Brad Roberts
99d729e6cf
properly handle negative values
2012-10-06 17:53:29 -07:00
k-hara
ce805a7603
Mask extra cases caused by unexpected linker error in posix platforms
2012-10-06 18:50:51 +09:00
k-hara
7afe2408dc
fix Issue 8705 - std.conv.to bug, from documentation
...
Mutable care is just necessary for value type, and doesn't need for key types.
2012-10-06 16:41:58 +09:00
monarch dodra
93d9f1bab8
bad usage of unqual for AA
2012-10-06 00:15:06 +03:00
Andrei Alexandrescu
2aceab7064
Merge pull request #836 from monarchdodra/bug8705
...
Fix for issue 8705 (from doc) (again)
2012-10-05 04:38:51 -07:00
monarch dodra
7a716b4a08
Avoid extra complicated unit tests.
2012-10-05 13:49:05 +03:00
unknown
8f3e74b744
Fix for issue 8705 (from doc) (again)
2012-10-05 07:58:40 +02:00
Andrei Alexandrescu
28e1c98d69
Faster integer to text conversion
2012-10-04 17:39:00 -04:00
jmdavis
08722ad38a
Revert "fix issue 8709, from documentation"
...
This reverts commit d028ef99ed
.
This is causing the build to fail and needs to be fixed before being
merged in again.
2012-10-04 13:11:32 -07:00
Andrei Alexandrescu
bbdbfc7bc0
Merge pull request #823 from monarchdodra/toAA
...
fix issue 8709, from documentation
2012-10-04 11:54:58 -07:00
monarch dodra
87400d8a9c
broken unit test
2012-10-04 17:52:02 +03:00
monarch dodra
dce93b1881
fix issue 8729 do not skip leading ws
2012-10-04 07:47:46 +02:00
monarch dodra
848d47c3ee
space after if
2012-10-02 18:45:35 +03:00
monarch dodra
35a41f1aff
Update std/conv.d
2012-10-02 18:32:00 +03:00
monarch dodra
9207654c70
Update std/conv.d
2012-10-02 18:18:47 +03:00
monarch dodra
52fe9fd6fd
Update std/conv.d
2012-10-02 18:17:58 +03:00