Andrej Mitrovic
4ba3387b7d
Fixes Issue 11299 - formattedRead does not compile without the -unittest flag due to missing import.
2013-10-19 13:00:34 +02:00
Walter Bright
43faa15c5a
rebase
2013-10-16 11:32:45 -07:00
Walter Bright
d8c114cf07
remove import dependencies from std.format
2013-10-16 11:26:17 -07:00
Martin Nowak
276e5ec1d6
Merge pull request #1642 from WalterBright/rm-std.string-from-format
...
remove std.string dependency from std.format
2013-10-16 09:26:40 +02:00
Walter Bright
772e7c513b
remove std.string dependency from std.format
2013-10-15 13:35:41 -07:00
Igor Stepanov
8021cffae0
Other AA fixes
2013-10-11 02:25:55 +04:00
Martin Nowak
d4e2ce1a53
Merge pull request #1624 from IgorStepanov/fixaaformattest
...
fix AA format tests
2013-10-10 06:28:58 +02:00
Igor Stepanov
4a22d3e6c8
fix AA format tests
2013-10-10 00:19:27 +04:00
monarchdodra
2db9413d96
Fix Issue 11152 - formatChar doesn't handle \0
2013-10-02 11:06:35 +02:00
monarchdodra
c36228b962
more raw unittests
2013-09-19 09:23:56 +02:00
monarchdodra
d03f61821b
Add raw char/string unittests
2013-09-19 09:05:37 +02:00
monarchdodra
4d482d3146
Fix raw write for strings
2013-09-19 08:51:49 +02:00
monarchdodra
ae2559dfff
Shuffling code in format
2013-09-19 08:47:58 +02:00
monarchdodra
41d56659ed
Fix raw character write
2013-09-19 08:45:36 +02:00
Vladimir Panteleev
7ef599707e
DDoc fixes
2013-09-09 06:38:29 +00:00
H. S. Teoh
b680614e57
Add unittest for issue 6893.
2013-08-23 11:03:47 -07:00
Hackerpilot
6f9c22bfa9
Merge remote-tracking branch 'upstream/master'
2013-07-13 19:37:11 +00:00
Hackerpilot
ae1dcaa3e1
Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace
2013-07-13 19:34:37 +00:00
Philippe Daouadi
c8177294f5
Fixed grammar description of formattedWrite in docstring
2013-07-04 22:16:42 +02:00
Andrej Mitrovic
4da1639c98
Merge pull request #1337 from 9rnsr/fix_attrs
...
Potentially @safe & pure formatting
2013-06-27 18:53:22 -07:00
k-hara
03a32d6fa4
Fix issue 313 & 314
2013-06-25 08:38:30 +09:00
irritate
14a0a92c70
Issue 5692 - Fix printing of complex numbers with a negative imaginary part.
...
Removes redundant plus sign before the negative sign.
http://d.puremagic.com/issues/show_bug.cgi?id=5692
2013-06-22 21:54:53 -04:00
k-hara
d8d4c1ea41
[formatValue] (pointer)
...
+ Infer attributes in retro range primitives
2013-06-20 10:57:48 +09:00
k-hara
f3e8ed8443
[format] Add @safe/pure ability to writeUpToNextSpec, fillUp, and formattedWrite
2013-06-20 10:57:45 +09:00
k-hara
84a0a41f68
[formatValue] (bool, null, integrals, floatings, chars)
...
Floating point is blocked by sprintf
2013-06-20 10:54:42 +09:00
k-hara
92bef24f2f
fix Issue 10254 - Purity correctness is broken with constructor
2013-06-20 10:54:30 +09:00
k-hara
bf71d1e067
[Refactoring] Define enforceFmt
2013-06-20 10:54:27 +09:00
k-hara
ed03c4af01
Fix trivial nitpicks
2013-06-20 10:54:20 +09:00
k-hara
920c3c1344
Supplemental fix for issue 10334
2013-06-17 20:42:36 +09:00
Jonathan M Davis
22c75c7904
Merge pull request #1313 from klickverbot/mingw-format
...
Adjust floating point formatting tests for MinGW
2013-06-16 04:30:27 -07:00
David Nadlinger
5465e59779
Adjust floating point formatting tests for MinGW.
...
As far as I am aware, the C standard doesn't make any
guarantees about what the leading digit in the hex formats
is, nor about the number of exponent digits displayed by
default.
We should look into replacing the functions with our own
implementations to provide consistent behavior independent
of the host C runtime library, and potentially also allowing
the functionality to be used from CTFE.
2013-06-16 13:13:50 +02:00
k-hara
e2d991b005
Move checkCTFEable to std.exception.assertCTFEable, and use it
2013-06-02 02:32:24 +09:00
majiang
62ac95f305
fix 10188 - Wrong document comment
2013-05-29 13:38:10 +09:00
majiang
d47fdc4d32
fix issue 10167
2013-05-26 00:39:33 +09:00
jmdavis
ce1b2294b0
Undocument some deprecated functions.
...
They were marked for removal in the docs (many of them were intended to
be removed in January), so now they've been removed from the docs and
marked for removal from the code in November.
2013-05-05 16:34:25 -07:00
Vladimir Panteleev
16286c045b
DDoc tweaks and fixes
2013-04-18 23:49:06 +00:00
k-hara
8bd50039b5
Remove unnecessary cast
...
That has changed in https://github.com/D-Programming-Language/druntime/pull/359
2013-03-19 15:10:26 +09:00
Andrej Mitrovic
b22a90eb9e
Fixes Issue 9336 - Format should work on shared address.
2013-01-25 19:44:16 +01:00
Andrej Mitrovic
aaa6854eb7
Fixes Issue 9373 - Add deprecation messages to Phobos.
2013-01-23 02:44:08 +01:00
Andrej Mitrovic
5057ca5404
Fixes Issue 7142 - Implement field width for boolean formatting.
2013-01-22 04:10:12 +01:00
Andrei Alexandrescu
e9cb971002
Merge pull request #1079 from AndrejMitrovic/Fix5065
...
Issue 5065 - Format specifier must be '%s' for some types
2013-01-20 04:50:26 -08:00
Andrej Mitrovic
d6d12ffdc8
Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier.
2013-01-19 03:11:06 +01:00
Daniel Murphy
41a9f1fa05
Fix Issue 6408 - Phobos fixes
...
Do not use typeof(Type[0]) to get the element type of an array, use typeof(Type.init[0])
2013-01-18 19:10:16 +11:00
Andrei Alexandrescu
259cd23d67
Merge pull request #901 from Poita/bug8900
...
Fix bug 8900 - Zip with infinite char range fails.
2012-12-13 09:00:09 -08:00
k-hara
1c54f33603
fixup for Issue 8902
...
After default initialization, only the first one in overlapped fields is readable in CTFE.
2012-12-13 19:29:33 +09:00
k-hara
6f825ddb3e
More workaround
2012-12-09 22:28:34 +09:00
k-hara
7882f28d60
Fix formatting nan in Win64 platform
2012-12-09 19:48:57 +09:00
Andrei Alexandrescu
d6100b404f
Merge pull request #939 from 9rnsr/replace_format
...
Replacement std.string.format and sformat implementations in November 2012
2012-12-08 19:41:35 -08:00
k-hara
75064f6be1
fix Issue 9117 - format fails if opCast and this alias are both defined in an aliased struct
2012-12-07 19:15:42 +09:00
k-hara
6d53de5893
fix isBuiltinType and BuiltinTypeOf
2012-11-27 22:46:21 +09:00