Commit graph

539 commits

Author SHA1 Message Date
Walter Bright
dd8204550e std.conv: need cast(void) to address warning 2016-06-25 15:07:23 -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
Robert Schadek
db922fee17 Merge pull request #4389 from JackStouffer/conv
Uncommented or removed commented out code in std.conv
2016-06-08 19:46:04 +02:00
Jack Stouffer
97edfbea90 Fixed Issue 15800: std.conv.to does not work with ranges of any char type 2016-06-01 11:35:58 -04:00
Jack Stouffer
0a77c3ff66 Uncommented or removed commented out code in std.conv 2016-06-01 10:45:26 -04:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +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
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
Jack Stouffer
e9f6f4f099 remove dead code from std.conv 2016-05-08 22:18:51 -04:00
Jack Stouffer
05f6daff87 add changelog entry for toImpl privatization 2016-04-27 15:08:57 -04:00
Jack Stouffer
4f66876774 fix std.conv.to docs 2016-04-27 15:08:57 -04:00
Jack Stouffer
0a4f3305fe Made all toImpl overloads private 2016-04-27 15:08:57 -04:00
Brian Schott
ff298c710d Merge pull request #4240 from wilzbach/space_between_operators_containers
fix space between operators
2016-04-26 14:13:36 -07:00
Dmitry Olshansky
22c7f11265 Merge pull request #4199 from Biotronic/fix-8384
Partial fix of Issue 8384 - std.conv.to should allow conversion betwe…
2016-04-27 00:14:06 +04:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Andrei Alexandrescu
249f10a89e Allow affix access from qualified data 2016-04-23 15:11:35 -04:00
biotronic
60a233372a Partial fix of Issue 8384 - std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar* 2016-04-16 00:26:54 +00:00
Nick Treleaven
5182ddd675 Fix emplace!Class(void[]) docs
Move emplace!Class(Class*) unittest to correct overload.
Add actual example for emplace!Class(void[]).
Use ddoc precondition blocks.
2016-03-21 11:09:36 +00:00
Hara Kenji
8221ff729a Merge pull request #4057 from BBasile/issue-15772
fixed issue 15772 - emplace works with abstract classes but it shouldn't
2016-03-14 22:34:09 +09:00
Basile Burg
f8bde7f890 fixed issue 15772 2016-03-14 08:39:52 +01:00
Nikolay Tolstokulakov
eff74ed2a2 netbsd patch 2016-03-11 10:10:47 +06:00
Steven Schveighoffer
b0acb7a394 Fix remaining import deprecation messages 2016-02-22 16:03:12 -05:00
H. S. Teoh
c80f3fe5ef Correct invalid character in error message in int parsing code. 2016-02-17 12:29:34 -08:00
H. S. Teoh
d5fe5ab4fa Fix misleading comment. 2016-02-17 11:55:48 -08:00
H. S. Teoh
30035daa88 Flag should be bool, not size_t. 2016-02-17 11:50:05 -08:00
Andrei Alexandrescu
4898908ae1 Merge pull request #3769 from WalterBright/opttochars
std.conv: improve toChars() performance
2016-01-15 16:42:28 -05:00
Walter Bright
08ffa1d2b5 std.conv: improve toChars() 2016-01-15 11:21:28 -08:00
Andrei Alexandrescu
718208dfc5 Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
tsbockman
1b19dd67e3 Improve std.conv.parse() docs. Point out that std.conv.to() works with string literals. 2015-12-07 19:08:11 -08:00
tsbockman
1f8bb8c811 Clean up invalid "@@@BUG@@@" comments from std.conv.parse unittest. 2015-12-07 18:49:03 -08:00
anonymous
933aa8e30d TypeInfo.init -> TypeInfo.initializer 2015-11-30 21:20:46 +01:00
Jonathan M Davis
d34164a2ea Move some deprecations along. 2015-11-26 00:28:38 -08:00
anonymous
1c8467c676 update links to spec pages 2015-11-24 17:58:49 +01:00
Lionello Lunesu
be227ef595 Fixed some doc warnings 2015-11-17 09:21:52 +08:00
Walter Bright
48d57e36e7 Merge pull request #3805 from andralex/simpler-emplace
Simpler emplace
2015-11-13 18:50:38 -08:00
Andrei Alexandrescu
7e61c6d1d7 Improve coverage 2015-11-13 08:18:43 -05:00
Andrei Alexandrescu
9cc91cdac3 Add unittest for unions, fix typo and alignment 2015-11-12 09:35:43 -05:00
Andrei Alexandrescu
d2fa18dcef Remove trailing whitespace 2015-11-11 21:05:45 -05:00
Andrei Alexandrescu
b4bb27ab5a Review 2015-11-11 19:48:11 -05:00
Andrei Alexandrescu
38caf42704 Major simplification of emplace - get the compiler to generate most of the needed code 2015-11-11 19:32:49 -05:00
Andrei Alexandrescu
32b000d93e Remove static assert(__traits(compiles, xyz)) from std.conv 2015-11-11 13:34:49 -05:00
Andrei Alexandrescu
2eb1280e12 WIP on emplace 2015-11-11 13:25:51 -05:00
Andrei Alexandrescu
d4b2a3e389 remove trailing whitespace 2015-11-11 00:15:55 -05:00
Andrei Alexandrescu
d48220ac65 Fix Issue 15313 - std.conv.emplace cannot initialize const objects 2015-11-10 23:57:36 -05:00
Andrei Alexandrescu
3ede453ab0 No need to return ref from internal functions 2015-11-10 23:52:28 -05:00
Andrei Alexandrescu
b4c876df59 Simplify emplaceImpl for static arrays 2015-11-10 21:26:32 -05:00
Andrei Alexandrescu
e11c1dc346 Simplify emplaceRef 2015-11-10 20:54:34 -05:00
Dmitry Olshansky
e153b0a04b Merge pull request #3763 from JakobOvrum/octal_bloat
Fix std.conv.octal issues
2015-10-27 12:55:59 +03:00