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
tsbockman
8343948e17
Trivial fixes to enable Phobos to compile properly with DMD PR #5229 .
2015-10-23 20:43:52 -07:00
Shriramana Sharma
9faf41e770
std.format: give a proper message when a floating point value is not given a compatible format character
2015-10-21 20:22:52 +05:30
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Vladimir Panteleev
82590904f7
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-15 23:44:44 +00:00
Dragos Carp
d698887729
Remove obsolete TypeTuple references
...
Replace following names:
std.typetuple -> std.meta
TypeTuple -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple -> Fields
std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Vladimris Nordholm
645e9e14e9
Change Char[] to immutable(Char)[]
2015-08-28 22:06:13 +02:00
vladdeSV
0cb9b9e523
format() returns the correcty type
...
Change type from C to S
Fix error in conv.d
Added isSomeString
Changed unittests
assert message is converted to string
Change S to Char[]
Replace std.conv.convFormat() with alias to std.format.format()
Revert S to Char[]
Change back to Char[]
Remove pure
2015-08-26 11:25:57 +02:00
Hara Kenji
c3a39c5461
Merge pull request #3470 from WalterBright/betterFormatU
...
std.format.formatUnsigned: refactor
2015-07-04 14:36:23 +09:00
Hara Kenji
c47f468a0e
Merge pull request #3471 from WalterBright/betterFormat
...
std.format - better formatChar()
2015-07-04 13:38:31 +09:00
Walter Bright
83c3adb2a0
std.format - void buffer init
2015-07-03 20:21:59 -07:00
Walter Bright
e9b59df0ab
std.format - better formatChar()
2015-07-03 19:25:06 -07:00
Walter Bright
f4e37c3979
std.format.formatUnsigned: refactor
2015-07-03 17:14:13 -07:00
anonymous
b28962635f
fix package XREFs
...
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Daniel Murphy
ebc90dc149
Merge pull request #2657 from joakim-noah/separate_glibc
...
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-30 08:22:30 -06:00
Robert burner Schadek
434d6bb202
format: alias syntax update
2015-05-28 18:43:49 +02:00
Joakim
3352c90c2e
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-27 21:54:52 -05:00
Martin
5ddd7e5da3
Adapt some unit tests for MSVCRT 14 (VS 2015).
2015-05-21 23:47:33 +02:00
Martin Nowak
116dec1374
Merge pull request #3263 from rainers/format_ti_const_base
...
Adjust to change in TypeInfo_Const.next/base
2015-05-07 20:20:52 +02:00
Rainer Schuetze
782a1c07c3
Adjust to changed fixed TypeInfo_Const.next -> base
2015-05-06 23:37:40 +02:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Kai Nacke
d1de8c7996
Cent-ify std.format.
...
Adds formatted output support for cent/ucent if supported.
Requires #3153 .
2015-05-01 13:51:37 +02:00
smcmurray
3dd86d6ecb
Example needs std.array for appender!string()
2015-04-03 20:17:08 -07:00
Hackerpilot
194e962fe9
Fix macro expansion for format()
2015-03-29 16:09:12 -07:00
Ulrich Kuettler
6f6c6862d6
Add table headers in ddoc function tables
2015-02-21 19:10:51 +01:00
Ulrich Kuettler
7ded904816
Add very high level description for first time readers
...
Be more precise about allocation
Sort function table
2015-02-21 13:30:18 +01:00
Hara Kenji
799fdf81ad
Merge pull request #2970 from aG0aep6G/14153
...
[DDoc] fix Issue 14153 - std.format page displaying incorrectly
2015-02-10 00:17:06 +09:00
anonymous
3886e0ac6c
indent
2015-02-09 12:49:27 +01:00
anonymous
d99ad147e4
add missing dl tags
2015-02-09 12:47:58 +01:00
sinkuu
4a0f817304
Use enforceFmt
2015-02-06 21:59:39 +09:00
sinkuu
8063616929
Issue 14059 - Formatted write with wrong formatting string
2015-02-04 21:10:54 +09:00
majiang
39997524e9
Fix Issue 14111 - Broken DDOC for std.format
...
<dl> and </dl> were not matching.
2015-02-02 14:35:50 +09:00