Commit graph

736 commits

Author SHA1 Message Date
kinke
6c9bfb207c Fix std.conv unittest compile error for double-precision reals
strtod() is @system and thus can't be called from a @safe unittest.
2017-02-03 23:31:57 +01:00
Jack Stouffer
d4229c4f59 Replace custom exception ctor in std.conv.ConvException with the standard ones 2017-01-26 13:29:36 -05:00
Jack Stouffer
78cbb45395 Improved documentation of std.conv.parse 2017-01-26 11:43:34 -05:00
Jack Stouffer
f5bbb2598a Switched to appender in array overload of std.conv.parse 2017-01-26 11:41:59 -05:00
Jack Stouffer
9c91e0cf16 Removed private template from public constraint in std.conv.parse 2017-01-26 11:41:59 -05:00
Basile Burg
307675ad75
fix issue 9615, std.conv.parse!(T[]) should allow a trailing comma 2017-01-23 23:51:57 +01:00
Jack Stouffer
de1f108730 Removed auto-decoding from the bool version of std.conv.parse 2017-01-16 12:52:55 -05:00
Jack Stouffer
03a91fc48c Merge pull request #5017 from JackStouffer/textImpl
Slight optimization for std.conv.text/wtext/dtext
2017-01-13 05:50:56 -05:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Jack Stouffer
4c4ab0d42e Slight optimization for std.conv.text/wtext/dtext 2017-01-05 18:14:24 -05:00
LemonBoy
47dd696c5c Explicitly initialize a bool variable with a bool value. 2017-01-06 00:06:14 +01:00
Jack Stouffer
a30844663f Removed auto-decoding from the floating point version of std.conv.parse 2017-01-05 00:51:01 -05:00
Jack Stouffer
2b0969532e micro-optimization in std.conv.parse 2017-01-04 15:20:49 -05:00
Jack Stouffer
a07a727e89 Cleaned up auto decoding special case in std.conv.parse for integers 2017-01-04 13:46:20 -05:00
sprinkle131313
0857bdfe27 Enables long line style check. 2016-12-20 04:00:36 -05:00
Sebastian Wilzbach
0e9f16ebe9 Reenable style checking of std/conv.d 2016-12-08 13:15:15 +01:00
Ilya Yaroshenko
9046849d36 Merge pull request #4932 from dlang/stable
merge stable into master
2016-12-07 18:08:59 +02:00
Nick Treleaven
b46ca983f2 Fix Issue 16478 - Don't allow to!T() in constraint
Use specialization to prefer to!S when S is a static array.
2016-11-24 15:16:50 +00:00
Steven Schveighoffer
b612dcdd56 Fix constraint 2016-11-23 17:23:24 -05:00
Martin Nowak
ea55c96c43 move unittest outside of template 2016-11-20 23:27:37 +01:00
Martin Nowak
0556bf138e fix Issue 16667 - wrong @safe unittest compilation error 2016-11-16 20:05:29 +01:00
Nick Treleaven
43f37800ab Defer doc changes to another PR 2016-11-14 10:51:08 +00:00
Nick Treleaven
b967d944a2 Remove isRawStaticArray - same as isStaticArray
isStaticArray!T already checks !isAggregateType!T.
2016-11-12 12:33:26 +00:00
Nick Treleaven
006ee446f8 Fix Issue 16478 - Don't allow to!T() in constraint
Also avoid highlighting 'to' unnecessarily.
2016-11-12 12:33:23 +00:00
Johan Engelen
f9e97641cc Fix alignment of std.conv emplacement test buffers. 2016-10-12 12:24:08 +02:00
Walter Bright
74ac8f92e5 std.conv: add annotations 2016-09-06 23:54:52 -07:00
Robert Schadek
f6167ab22d Merge pull request #4633 from JackStouffer/conv
[trivial] Improved docs for std.conv.parse (part 4)
2016-08-24 08:58:32 +02:00
Lodovico Giaretta
b96a330b77 fix issue 16319 2016-08-15 21:02:30 +02:00
Ilya Yaroshenko
ca1d015f90 Merge pull request #4597 from JackStouffer/parse-decoding
Removed auto-decoding from std.conv.parse
2016-07-28 09:18:41 +02:00
Jack Stouffer
846aca3c23 Remove irrelevant comment from std.conv.to docs 2016-07-27 15:47:50 -04:00
Jack Stouffer
01010c5828 Removed auto-decoding from std.conv.parse 2016-07-23 22:27:38 -04:00
Jack Stouffer
ea2b643c00 Improved docs for std.conv.parse 2016-07-21 13:15:37 -04:00
Jack Stouffer
8b073fe55b Improved docs for std.conv.parse 2016-07-20 13:31:17 -04:00
Andrei Alexandrescu
6cbaa94251 Merge pull request #4600 from JackStouffer/conv
Improved docs for std.conv.parse
2016-07-15 16:47:27 -04:00
Walter Bright
6d877221c5 Merge pull request #4601 from JackStouffer/conv2
Improved docs for std.conv.parse (part 2)
2016-07-14 19:14:18 -07:00
Steven Schveighoffer
c9df29eb5c Merge pull request #4280 from JackStouffer/textImpl
Small performance increase for std.conv.text/wtext/dtext
2016-07-14 19:39:19 -04:00
Jack Stouffer
e9925222dd Improved docs for std.conv.parse 2016-07-13 14:22:46 -04:00
Jack Stouffer
176a047e05 Improved docs for std.conv.parse 2016-07-13 12:24:45 -04:00
Jack Stouffer
f678909768 Fix Issue 15995: std.conv.text and friends can be made faster with std.array.appender 2016-07-12 13:42:21 -04:00
Sebastian Wilzbach
f14e7ccd85 enable travis check for selected imports 2016-07-10 03:08:15 +02:00
Atila Neves
786b2c1257 Add @system and @safe to std.conv unit tests 2016-07-09 11:21:27 +02:00
H. S. Teoh
c4b397315c Merge pull request #4489 from aG0aep6G/16192-2
fix issue 16192 - std.conv.toChars() opSlice wrong for radix other th…
2016-07-06 16:53:55 -07:00
Jack Stouffer
94717e5f4f Fixed std.algorithm imports in std.conv to not be package wide 2016-07-02 23:59:48 -04:00
Steven Schveighoffer
5e794ca44c Move unit test so it makes it into the docs 2016-06-30 20:00:51 -04:00
Steven Schveighoffer
5b02e86997 Merge pull request #4460 from MetaLang/fix12357
Fix Issue 12357 - Deprecate calling text, wtext and dtext with 0 arguments
2016-06-30 17:22:23 -04:00
MetaLang
ac01da550f Fix Issue 12357 - Deprecate calling text, wtext and dtext with 0 arguments 2016-06-29 20:33:20 -03:00
anonymous
18c9ffc625 fix issue 16192 - std.conv.toChars() opSlice wrong for radix other than 10 2016-06-28 16:12:09 +02:00
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