Commit graph

655 commits

Author SHA1 Message Date
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
8f86a0d734 Fix if constraints indentation 2018-03-24 13:17:53 +01:00
Jack Stouffer
6f2c09c2aa Add public examples to std.conv and enable dscanner check 2018-03-16 18:20:37 -04:00
cedretaber
bcca039939 Remove an unnecessary index 2018-03-02 00:41:07 +09:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Walter Bright
f4f071cb8e fix Issue 18397 - Poor implementation of std.conf.hexString results in unintended bloat 2018-02-09 01:18:15 -08:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Héctor Barreras Almarcha [Dechcaudron]
bf4edd1cb9 Documenting to for string-to-char conversions 2018-01-28 18:42:28 +01:00
The Dlang Bot
e3c6e4ef95
Merge pull request #5965 from jpf91/aaconv
std.conv: ieeeQuadruple (AArch64) support for parse!real
merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
2018-01-06 15:53:18 +01:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
Steven Schveighoffer
bb79bd8191
Fix whitespace issue. 2017-12-29 10:30:04 -05:00
Héctor Barreras Almarcha [Dechcaudron]
9968b61d07 Fixes issue 18116 2017-12-29 16:21:30 +01:00
Johannes Pfau
a3d16b9587 std.conv: ieeeQuadruple (AArch64) support for parse!real
Currently limited to ieeeExtended precision by the parser. This just
adds code to put the parsed value into a ieeeQuadruple format real.
2017-12-26 10:24:54 +01:00
Johannes Pfau
e4d8a5babe std.conv: Some code cleanup for parse!real 2017-12-26 10:23:55 +01:00
John Colvin
0ca5087737 fix Issue 18044 - std.conv.to for implicitly convertible associative arrays 2017-12-07 16:50:57 +00:00
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Sebastian Wilzbach
97f6f39e4e Change AliasSeq(0, ...) uses of foreach to static foreach 2017-11-02 17:11:37 +01:00
Eduard Staniloiu
981e1b0cd2 Make emplace infer class ctor safety 2017-10-12 20:47:03 +00:00
Iain Buclaw
1cb3447236 Adjust @safe-ty of 64-bit real unittest. 2017-09-09 12:10:49 +02:00
Mark Barbone
d70603e53f
Change immutable to const char as per @ZombineDev's suggestion 2017-08-07 13:05:31 -04:00
mb64
8532db0f7a Add @safe annotation on unittest 2017-08-06 22:54:48 -04:00
Mark Barbone
61cfe9cc2b Faster octal conversion 2017-08-06 18:06:39 -04:00
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