The Dlang Bot
63de27b530
Merge pull request #5591 from RazvanN7/Issue_12260
...
Fix Issue 12260 - Improve error of std.stdio.readf when involving whitespace
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-07-31 17:37:14 +02:00
RazvanN7
afc732661a
Fix Issue 12260 - Improve error of std.stdio.readf when involving whitespace
2017-07-31 17:51:41 +03:00
Nick Treleaven
d402b50d0f
Make constraint for toImpl
with radix clearer
...
`parse` with radix requires isIntegral!T.
2017-07-22 12:09:48 +01:00
Jonathan M Davis
d9a65e1730
Fix the date on some deprecations.
...
They were only deprecated a year ago, and the deprecation cycle is
supposed to be two years.
2017-07-18 06:04:48 -06:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Sebastian Wilzbach
3afbd28c43
Fix Dscanner errors
2017-06-12 04:24:41 +02:00
The Dlang Bot
4f2d89bc57
Merge pull request #5425 from JackStouffer/issue16108
...
Fix Issue 16108: to!string fails on struct with disabled postblit
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-11 05:32:30 +02:00
The Dlang Bot
f3183f5784
Merge pull request #5433 from JackStouffer/conv-patch
...
Removed extra string allocations in std.conv.to
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-06-01 19:48:00 +02:00
Jack Stouffer
a5263c30b4
Removed extra string allocation in std.conv.to
2017-05-30 14:03:32 -04:00
Jack Stouffer
3d80936f0b
Fix Issue 16108: tostrings fails on struct with disabled postblit
2017-05-25 14:36:06 -04:00
Martin Nowak
b940d0c1c7
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-05-23 20:37:35 +02:00
Eduard Staniloiu
2ffe350c96
Replace deprecated functions from std_conv and std_uri
2017-05-21 18:52:21 +03:00
Walter Bright
6af2c7c6c0
std.conv.toTextRange(): don't reinvent ToTempString()
2017-05-20 13:34:30 -07:00
Andrei Alexandrescu
5e496439e5
Add top documentation for asOriginalType and move its definition appropriately
2017-05-19 16:22:13 -04:00
Andrei Alexandrescu
bf43110f5a
Add asOriginalType function for enums
2017-05-18 21:52:18 -04:00
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
Martin Nowak
2f73b87837
simply use cast(Source) which is @safe
2017-04-06 15:20:31 +02:00
Jack Stouffer
813efcb7e4
Fix Issue 17282 - std.conv.parse throws with -debug
2017-03-28 20:31:06 -04: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