JakobOvrum
dfbd50636c
Merge pull request #2923 from yebblies/arraybool9999
...
Replace more implicit array to bool conversions
2015-01-30 04:27:30 +09:00
Daniel Murphy
dbb070a994
Copy variadic arguments to buffer to avoid horrific varargs hacks
2015-01-28 19:08:00 +11:00
Daniel Murphy
f255c9e689
Replace more implicit array to bool conversions
2015-01-28 16:33:12 +11:00
k-hara
3ee0dc79dd
Remove pure attribute from the unittests which contain formatting floating point values
...
They were added by pull 2890 (ab9e15222a
), but they were incorrectly accepted by the compiler regression.
2015-01-26 21:47:58 +09:00
Robert burner Schadek
e21a35fd01
documentation update for std.format.d
...
* to much to name it all
alot more examples
back to undocumented + marked for deprecation
2015-01-24 22:01:19 +01:00
H. S. Teoh
e46d911f67
Get rid of obsolete useless comment.
2015-01-07 15:35:19 -08:00
Andrei Alexandrescu
e03e647cea
Fix documentation confusion
2015-01-06 22:55:11 -08:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
H. S. Teoh
33f089cbd9
Merge pull request #2745 from 9il/fv
...
fix Issue 13746 - formatValue of delegates
2014-11-19 10:00:21 -08:00
Ilya Yaroshenko
efb880f651
move format to std.format
...
The reason is to do not import `std.uni` tables, `std.string` and
probably `std.algorithm`. Note that format is used in CTFE code and
`Exception` handing.
And it is more comfortable to import `format` from `std.format`.
std.format: clean imports (2)
remove import std.math : pow from std.uni
update scope imports in std.algorithm
update scope imports in std.exception
doFormat -> template
update scope imports in std.typecons
update scope imports in std.functional
update scope imports in std.range
update std.conv scope import
std.format: clean imports (2)
remove import std.math : pow from std.uni
update scope imports in std.algorithm
update scope imports in std.exception
doFormat -> template
update scope imports in std.typecons
update scope imports in std.functional
update scope imports in std.range
move sfromat
add public import of sformat
use std.uni
2014-11-18 22:14:28 +03:00
Ilya Yaroshenko
04c16e49c0
fix Issue 13746 - formatValue of delegates
2014-11-18 14:01:21 +03:00
Ilya Yaroshenko
4725f89022
std.format: clean imports
2014-11-14 16:30:20 +03:00
Ilya Yaroshenko
ca933b1c82
fix std.format new scope imports
2014-11-11 02:02:56 +03:00
Ilya Yaroshenko
f87ca3ecbf
std.format: clean imports
...
remove new private stuff
add local import
add local import
remove global std.con import
2014-11-09 02:32:20 +03:00
Ilya Yaroshenko
cb8d75ee68
remove isnan
2014-10-25 02:33:38 +04:00
Joakim
093d636de4
Deprecate std.c.* and move all remaining declarations to core.stdc.*
2014-10-14 09:26:21 -05:00
k-hara
6e54969188
Move prefix member function attributes to postfix
2014-10-04 22:27:14 +09:00
k-hara
d0c6d6a61f
Clean unittest code
2014-10-01 11:42:33 +09:00
k-hara
3bdee722c2
Remove typedef handling
2014-10-01 11:37:21 +09:00
H. S. Teoh
ccc4cd7150
Fix wrong "Orphaned format specifier" error message.
...
Print out the specifier, not the entire format string!
2014-09-20 19:59:01 -07:00
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