Commit graph

534 commits

Author SHA1 Message Date
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
monarch dodra
52303d1672 #8729 fixes 2012-10-02 08:17:43 +02:00
jmdavis
14c9a0ae44 Undocumented September deprecations.
The deprecated stuff scheduled for removal in September is now
undocumented and marked (in a normal comment) for removal in March 2013.
2012-09-30 04:15:56 -07:00
monarch dodra
d028ef99ed fix issue 8709, from documentation 2012-09-30 11:51:07 +03:00
monarch dodra
e3973fd023 Missing doc 2012-09-21 15:07:28 +03:00
jmdavis
106bdd8cae Fixed type in std.conv. 2012-08-05 17:01:07 -07:00
k-hara
c6dc1711c4 fix template constraints 2012-08-06 01:05:06 +09:00
jmdavis
d283d5735c Move August removals to September.
Several deprecated items were listed for removal in August, but it's
looking likely that 2.060 will come out in August, and I'd prefer not to
have them removed for 2.060 given how many items are already in the
changelog, and they're already deprecated, so it'll only affect people
compiling with -d either way. So, I'm changing the ddoc comments to say
September instead of August. They'll be removed in 2.061.
2012-07-23 23:11:07 -07:00
jmdavis
735c2adbda Changes required for issue# 6277. 2012-07-21 01:57:28 -07:00
Denis Shelomovskij
64f93b970a Replace typeof(<type>.init[0]) with templates
* ElementEncodingType (12)
* ElementType(1)
2012-07-11 12:58:40 -07:00
jmdavis
02931eb501 Revert "Merge pull request #664 from denis-sh/add-ArrayTarget-template"
This reverts commit f4d0a49493, reversing
changes made to 3cb69914c5.

The merging of request #664 was accidental, and it should not have been
merged. See https://github.com/D-Programming-Language/phobos/pull/664
for details.
2012-07-11 11:49:28 -07:00
k-hara
d6ffbd1328 Add const attribute more strictly 2012-07-11 01:02:59 +09:00
David Simcha
f4d0a49493 Merge pull request #664 from denis-sh/add-ArrayTarget-template
Add array target template
2012-07-08 13:08:27 -07:00
jmdavis
28781bfb9f Old deprecations which were not properly taken care of previously. 2012-07-07 02:03:49 -07:00
jmdavis
7514e0322a Fixed deprecations, since we had no release in June. 2012-07-06 22:15:53 -07:00
Denis Shelomovskij
00c0d61403 Replace typeof(<type>.init[0]) with templates
* ArrayTarget (12)
2012-07-06 13:38:06 +04:00
Denis Shelomovskij
ea6c9be477 Replace typeof(<type>.init[0]) with templates
* ElementEncodingType (12)
* ElementType(1)
2012-07-06 13:27:07 +04:00
k-hara
18564f4fa2 fix Issue 8264 - [std.conv.to] constructing conversion doesn't work with alias this 2012-06-19 15:22:41 +09:00
Hara Kenji
61947e5fef Merge pull request #599 from 9rnsr/fix_nullfmt
Issue 7348 & 8040 - null literal should be formatted as "null"
2012-05-28 11:16:07 -07:00
jmdavis
4b8143afee Deprecated stuff scheduled for deprecation in May 2012. 2012-05-23 01:31:25 -07:00
k-hara
f5ccd7fdab Retry to fix Issue 7348 - Format and unformat typeof(null) objects properly
We should represent null literal as "null" instead of "" in formatting, because unformatting requires one or more length string representation of the object.
2012-05-23 13:01:50 +09:00
k-hara
40de9e601b fix Issue 8080 - 'alias this' causes toString to be shadowed by aliased object 2012-05-22 16:10:13 +09:00
k-hara
2e3d877f76 fix Issue 7348 - to!string(null) matches more than one template declaration 2012-05-22 16:10:11 +09:00
k-hara
8d455147cf fix Issue 6175 - String corruption when passing static char arrays to std.conv 2012-05-22 16:10:10 +09:00
k-hara
d964333d35 Fix documentations 2012-05-22 16:10:09 +09:00
k-hara
532f88e3d3 Arrangement tests 2012-05-22 16:10:07 +09:00
k-hara
fb964ae04b Merge conversions representing with string into one toImpl function 2012-05-22 16:06:39 +09:00
k-hara
618a3b72f3 Add enum base types 2012-05-14 14:10:17 +09:00
k-hara
5edac8f10e Remove meaningless comment 2012-05-13 02:47:21 +09:00
k-hara
64d983edaa Bit cleaner constraints 2012-05-12 20:06:30 +09:00
k-hara
b3c079c040 Add test for the conversion from string to enum 2012-05-12 20:06:30 +09:00
k-hara
cce4aec10e Add test for the conversion from enum to string
string based enum to string conversion should return member name, instead of base value.
2012-05-12 20:06:30 +09:00
k-hara
52462bec6e fix Issue 7909 - to!(enum)(string) and to!(string)(enum) break when enum is integral 2012-05-12 20:06:29 +09:00
Francois Chabot
07d34c1ae0 Fix for BUG 4744, enum parsing will now test every member and select the one with the longest matching string 2012-04-29 19:58:03 -07:00
David Herberth
30246dab37 changed toImpl fix as proposed 2012-04-19 20:22:17 +02:00
David Herberth
53c36a7dbb reworked fix 2012-04-19 20:22:17 +02:00
David Herberth
30d9405ad4 added tests for bug 7660 2012-04-19 20:16:31 +02:00