Walter Bright
e9cae54d54
std.format: remove unused declaration of _pfloatfmt
2017-01-21 16:13:03 -08:00
Walter Bright
a5556a12a3
formattedWrite - pointers to stack variables need to be 'scope'
2017-01-20 20:22:48 -08:00
Sebastian Wilzbach
cf65a3be03
Remove deprecated doFormat
2016-12-23 23:24:23 +01:00
sprinkle131313
0857bdfe27
Enables long line style check.
2016-12-20 04:00:36 -05:00
Sebastian Wilzbach
cc7f125ed1
Add missing imports to public unittests
2016-12-15 23:23:35 +01:00
Andrei Alexandrescu
99398975d4
Merge pull request #4912 from RazvanN7/bootcamp_fixes
...
Issue 5236 - raw reading for integers and a few refactorings
2016-12-07 12:47:56 -05:00
RazvanN7
050781da61
Added proper indentation
2016-12-06 13:10:10 +02:00
RazvanN7
5498a70f0e
Applied review feedback
2016-12-06 13:10:10 +02:00
RazvanN7
bacddb87ff
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
f5bece91ab
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
58374ac540
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
3ab55e96e1
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
ddc63be000
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
6d13f66855
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
Martin Nowak
ce85fd60a9
fix Issue 16661 - failing dstring/wstring format string
...
- fix incorrect pointer diff computation introduced by PR #4427
commit 2be035584f
2016-11-16 19:47:00 +01:00
Jack Stouffer
1d25050e49
Added const and immutable to several variables in std.format
2016-07-27 18:01:01 -04:00
Atila Neves
ed058a3404
Add @system and @safe to std.format unit tests
2016-07-10 14:09:30 +02:00
Walter Bright
e41d77db83
Merge pull request #4467 from JackStouffer/format
...
Fixed std.algorithm imports in std.format
2016-07-08 03:36:37 -07:00
Andrei Alexandrescu
5e49ae97f0
Merge pull request #4468 from WalterBright/fmtsep
...
harmonize use of std.format sep[]
2016-07-03 17:26:21 -04:00
Walter Bright
c2b4aebab4
harmonize use of std.format sep[]
2016-07-03 11:59:49 -07:00
Jack Stouffer
66d619ae1d
Fixed local imports in std.format
2016-06-30 18:07:00 -04:00
Andrei Alexandrescu
4c935837c1
Merge pull request #4464 from WalterBright/inf-format
...
fix formatting of inference
2016-06-27 06:08:24 -04:00
Walter Bright
043e0f4353
fix formatting of inference
2016-06-27 02:26:46 -07:00
Jack Stouffer
36e476941b
Fixed std.algorithm imports in std.format
2016-06-26 17:53:27 -04:00
Andrei Alexandrescu
dc52a43774
Merge pull request #4476 from WalterBright/deprecateDoFormat
...
std.format: deprecate doFormat()
2016-06-26 08:23:00 -04:00
Andrei Alexandrescu
4735465347
Merge pull request #4469 from WalterBright/formatsafe
...
annotate std.format with @safe
2016-06-26 08:18:50 -04:00
Andrei Alexandrescu
9a8d6cbcf4
Merge pull request #4466 from WalterBright/headUpToNextSpec
...
fix unsafe code in std.format headUpToNextSpec
2016-06-26 08:14:41 -04:00
Walter Bright
bb77a3a889
std.format: deprecate doFormat()
2016-06-25 20:07:17 -07:00
Walter Bright
0281bd3005
annotate std.format with @safe
2016-06-25 00:53:29 -07:00
Walter Bright
b78329297c
fix unsafe code in std.format headUpToNextSpec
2016-06-24 18:54:19 -07:00
Walter Bright
f717ca9182
remove unsafe code from std.format readUpToNextSpec
2016-06-24 18:45:08 -07:00
Sebastian Wilzbach
ec47ac4224
Remove the WEB macro in favor of HTTP
...
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Walter Bright
2be035584f
fix some unsafe behavior in std.format
2016-06-14 02:57:16 -07:00
Sebastian Wilzbach
1d34a121e9
apply all-man braces in Phobos
...
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
anonymous
d648f9320e
XREF_PACK -> REF (sed)
...
Done by:
from='\$\(XREF_PACK\s+([^(),]*),\s*([^(),]*),\s*([^(),]*)\)'
to='$(REF \3, std,\1,\2)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-05-27 21:32:46 +02:00
anonymous
764caefa36
XREF -> REF (sed)
...
Done by:
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
89a2dd5f11
use mref macro instead of link2
2016-05-16 03:30:08 +03:00
Jack Stouffer
de82527866
Fixed long lines in std/format.d
2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
H. S. Teoh
5c53be7676
Merge pull request #3977 from joakim-noah/android
...
Android update
2016-02-23 13:51:42 -08:00
Steven Schveighoffer
fac1bc22b5
Fix import issues for std.format and std.stdio
2016-02-21 18:58:12 -05:00
Martin Nowak
ce2ac192c9
fix incorrect imports/fqn usages
...
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
H. S. Teoh
4a762a9ae4
Fix issue 15663: format("%#o", 0) should be "0" not "00".
2016-02-11 17:24:15 -08:00
Joakim
10c01a0614
On Android, update std.datetime to extract timezone data and some other fixes.
2016-02-10 14:25:42 +05:30
Jonathan M Davis
0899d9403f
Move deprecations along.
...
This includes deprecating std.c.*, which apparently was marked as
scheduled for deprecation in 2.068 but never actually deprecated (though
it looks like it was previously removed from the documentation build,
since it doesn't show up on dlang.org).
2015-12-30 00:18:53 -08:00
Robert burner Schadek
632489b657
better debugging
...
fix
2015-11-05 22:46:17 +01:00
Robert burner Schadek
98b2fc0975
std.format_housekeeping
...
* reactived outcommented unittests
* moved comment examples into unittest examples
* fixed indention
2015-11-05 22:46:17 +01:00
Walter Bright
cf22992cbb
Merge pull request #3768 from CyberShadow/pull-20151024-051829
...
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00