Commit graph

365 commits

Author SHA1 Message Date
Brad Roberts
8d1c89d2a6 Merge pull request #2432 from rainers/coff32
COFF support for Win32
2014-09-11 13:55:13 -07:00
Vladimir Panteleev
253b90b3f2 std.format: Make double to string conversion @safe
Bonus optimization: avoid redundant and possibly-unsafe strlen
2014-09-07 11:58:49 +00:00
Geod24
7100047473 Replace enforceEx with enforce where it's possible 2014-08-25 12:18:02 +02:00
Rainer Schuetze
3ed25d61ae use CRuntime_DigitalMars/CRuntime_Microsoft instead of Win32/Win64 where appropriate 2014-08-23 16:14:18 +02:00
Martin Nowak
e7bcad9406 localize some imports 2014-08-02 01:05:56 +02:00
Михаил Страшун
3ee34072a6 Merge pull request #2150 from joakim-noah/android
Get tests passing on Android/x86
2014-07-12 04:05:07 +03:00
Joakim
11de397dd7 Start getting tests passing on Android/x86 2014-07-09 17:52:15 -05:00
k-hara
e4e51431d9 fix import declaration 2014-07-08 13:39:12 +09:00
Dmitry Olshansky
6883e0e4fe Merge pull request #2296 from Element-126/doc_formatValue_add_example
Add documentation examples for formatValue()
2014-07-05 02:42:36 +04:00
Dragos Carp
a04075fc9a Updated std.format documentation of width and precision specifiers 2014-07-04 02:57:53 +02:00
Jean-Loup Tastet
aa7022b77e Add documented unit tests for formatValue()
Add example showing how to forward format specifiers.
Add example highlighting the similarity with formattedWrite(), and
comparing their use.

Change /** */ for /// and add $(D formatValue)

Replace /** */ with /++ +/
2014-07-02 21:16:43 +02:00
monarchdodra
e2e3a70a62 Constrain isSomeString 2014-05-25 17:43:42 +02:00
Daniel Murphy
6782f44f71 va_list fix for win64 2014-05-23 09:03:46 -07:00
Daniel Murphy
76878d8c43 Don't assume va_list is void* 2014-05-21 12:19:23 -07:00
k-hara
2c1a8f8eaf Supplemental fix for issue 7469 2014-05-10 02:39:53 +09:00
Andrej Mitrovic
905819883d Add link to introductory std.format DWiki page to std.format. 2014-04-29 14:48:43 +02:00
monarch dodra
73ae97b564 Merge pull request #2122 from AndrejMitrovic/Fix8921
Issue 8921 - Enum arrays should be formatted properly
2014-04-25 21:47:47 +02:00
Andrej Mitrovic
e2f6549606 Fix Issue 8921 - Enum arrays should be formatted properly. 2014-04-24 22:30:48 +02:00
Steven Schveighoffer
b4123688cf Merge pull request #2090 from AndrejMitrovic/Fix11175
Issue 11175 - Format should support IUnknown classes
2014-04-24 11:46:28 -04:00
Andrej Mitrovic
cf65136efd Fixup wrong example in doFormat. 2014-04-23 21:31:13 +02:00
Andrej Mitrovic
c434dfac4b Fix Issue 11175 - Format should support IUnknown classes. 2014-04-23 20:56:09 +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
Andrej Mitrovic
18296f048f Strip spaces. 2014-04-21 16:45: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