Commit graph

344 commits

Author SHA1 Message Date
Andrej Mitrovic
cf65136efd Fixup wrong example in doFormat. 2014-04-23 21:31:13 +02:00
Andrej Mitrovic
83b9b44f46 Fix Issue 7289 - Document how std.format handles structs, unions, and hashes. 2014-04-23 14:15:36 +02:00
Andrej Mitrovic
10dab0e7bf Strip spaces. 2014-04-23 14:05:48 +02:00
k-hara
b32e4032c1 fix Issue 11778 - format for null does not verify fmt flags. 2014-04-03 22:39:46 +09:00
k-hara
b52649ab8b fix Issue 12505 - Null pointers are pretty-printed even when hex output is requested 2014-04-03 19:47:00 +09:00
Rainer Schuetze
40c14681f3 std.digest.sha: disable SSSE3 for SHA because it has unsupported calling convention
std.format, std.math: workarounds for different behaviour of sprintf
std.conv: workarounds for different behaviour of strtold
std.math: disable unittests for exp2f and exp2l
std.math: fix lrint(real), disable tmpfile test
std.process: seek to end of file before trying to append to it from another process
std.process: do not try to terminate an invalid process handle
win64.mak: disable COMDAT folding for release build
2014-02-27 22:16:29 +01:00
Daniel Murphy
4d0892baba Remove uses of the comma operator 2014-02-18 00:48:40 +11:00
k-hara
d9e9832021 fix Issue 12135 - [AA] Format tail after associative array value is treated as separator if explicit separator is empty 2014-02-15 15:04:41 +09:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Johannes Pfau
8b124e461c [ARM] Fix phobos unit tests 2014-01-15 16:31:25 +01:00
monarchdodra
202f22350f fix Issue 11780 - RangeError in format for incomplete format specifier 2014-01-01 17:26:08 +01:00
Martin Nowak
c445f1c288 Merge pull request #1766 from jmdavis/deprecations
Move various deprecations along.

Conflicts:
    std/algorithm.d
    std/zip.d
2013-12-19 23:33:47 +01:00
Daniel Murphy
1818d190b5 More implicit array to bool 2013-12-15 19:55:34 +11:00
jmdavis
efd6ea0cbf Move various deprecations along. 2013-12-11 23:44:12 -08:00
monarch dodra
ae34e224f8 Merge pull request #1578 from tom-tan/safe-pure-nothrow-this-format-FormatSpec
Mark a constructor of std.format.FormatSpec as @safe, pure, nothrow
2013-12-03 08:38:31 -08:00
Martin Nowak
05fe0ae758 fix usage of Type.prop in typeof expressions
- use Type.init.prop
2013-12-01 21:32:32 +01:00
Daniel Murphy
13f343334c Remove cases where an array is used in a boolean context 2013-11-27 18:23:07 +11:00
Daniel Murphy
1754eed7f6 Fix cases where goto skips initialization of variables 2013-11-20 00:20:33 +11:00
Daniel Murphy
92358ab76c Convert x.classinfo to typeid(x) 2013-11-18 21:54:02 +11:00
Simen Kjærås
ac9fcce808 Better fix for bug 11390 :p 2013-10-31 00:37:46 +01:00
Simen Kjærås
0c5a439e93 Fix bug 11390 2013-10-30 22:47:09 +01:00
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
Tomoya Tanjo
5967ceac7b Mark a constructor of std.format.FormatSpec as @safe, pure 2013-10-03 02:29:45 +09: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