Commit graph

614 commits

Author SHA1 Message Date
The Dlang Bot
540e143d97 Merge pull request #5233 from JackStouffer/convError
Remove unnessesary call to text from std.conv.convError
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2017-04-28 02:15:25 +02:00
Jack Stouffer
19966e57b3 Remove unnessesary call to std.conv.text from std.conv.convError 2017-03-09 14:41:36 -05:00
Jack Stouffer
e5e6438606 Removed auto decoding from a helper function in std.conv 2017-03-03 10:34:27 -05:00
Sebastian Wilzbach
6b1d6a3d95 [BOOKTABLES]: Add BOOKTABLE to std.conv (#5220)
[BOOKTABLES]: Add BOOKTABLE to std.conv
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-03-02 01:49:33 +01:00
Sebastian Wilzbach
e67968cea6 Merge pull request #5224 from JackStouffer/links
Add more links to std.range definitions
2017-03-01 22:24:24 +01:00
Jack Stouffer
9d2ee3d9c0 Add more links to std.range definitions 2017-03-01 15:09:46 -05:00
The Dlang Bot
8589665d33 Merge pull request #5193 from JackStouffer/conv.to
Fix formatting issues in std.conv.to docs
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-02-28 03:01:06 +01:00
Jack Stouffer
f11f3f1b87 Fix whitespace formatting issues in std.conv.to docs 2017-02-27 13:47:04 -05:00
Vladimir Panteleev
044ad84eca
std.conv: Fix off-by-one regression in integer radix parse
Introduced in c6fb78ed14 (#5067).
2017-02-27 08:18:19 +00:00
Sebastian Wilzbach
b8a88558a9 Fix Ddoc warnings 2017-02-26 09:33:14 +01:00
Sebastian Wilzbach
ef7be4b60d Automatically add spaces to binary operators (<<)
command:

sed -E "s/([[:alnum:]]) << ([[:alnum:]])/\1 << \2/g" -i **/*.d
sed -E "s/([[:alnum:]])<< ([[:alnum:]])/\1 << \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) <<([[:alnum:]])/\1 << \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
5521541032 Unify assert style to have no spaces between the first brace
Application of:

sed -E "s/assert +\(/assert(/" -i **/*.d
2017-02-21 15:27:15 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Jack Stouffer
360a42ec05 Add checks for infinite ranges in many range function signitures 2017-02-14 14:19:04 -05:00
Jack Stouffer
1399b07145 Merge pull request #5120 from JackStouffer/parse-decoding
Removed auto-decoding from the int with radix version of std.conv.parse
2017-02-13 15:11:28 -05:00
Jack Stouffer
0e1e8609dc Improved docs for AA overload of std.conv.parse 2017-02-12 23:14:15 -05:00
Jack Stouffer
6dd50bad6e Removed auto-decoding from the int with radix version of std.conv.parse 2017-02-12 22:26:38 -05:00
Jack Stouffer
9b9ab08d78 Merge pull request #5039 from JackStouffer/parse-bool
Removed auto-decoding from the bool version of std.conv.parse
2017-02-11 23:05:33 -05:00
Jack Stouffer
eb15392030 Merge pull request #5018 from JackStouffer/parse-decoding
Optimization For Array Overload of std.conv.parse
2017-02-11 22:05:16 -05:00
Walter Bright
d8ca218d54 Merge pull request #5081 from dlang/JackStouffer-patch-2
Fix Issue 17154 – Add opDollar to std.conv.toChars
2017-02-10 15:56:56 -08:00
Walter Bright
2935ae0bd0 Merge pull request #5067 from JackStouffer/patch-21
Small clean-up in std.conv.parse
2017-02-09 14:51:33 -08:00
Jack Stouffer
c6fb78ed14 Small clean-up in std.conv.parse 2017-02-09 09:57:30 -05:00
Jack Stouffer
d5ae07f0f1 Fix Issue 17154 - Added opDollar to std.conv.toChars 2017-02-07 13:36:15 -05:00
Martin
52d291f91f Fix std.conv unittest for double-precision reals 2017-02-03 23:32:12 +01:00
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