Sebastian Wilzbach
|
61717ecc7d
|
Sort imports
|
2017-06-12 07:54:38 +02:00 |
|
Martin
|
13ca4ddac7
|
Relax a few unittests for double-precision reals
A loss-less roundtrip (to string <=> parse) apparently isn't guaranteed
when using double-precision reals.
|
2017-05-24 23:51:54 +02: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 |
|
Jack Stouffer
|
395ae88ac7
|
Merge pull request #5146 from JackStouffer/isInfinite
Add checks for infinite ranges in many range function signitures (part 3)
|
2017-02-17 13:06:46 -05:00 |
|
Jack Stouffer
|
6a2d51238f
|
Add checks for infinite ranges in many range function signitures
|
2017-02-17 11:14:38 -05:00 |
|
Sebastian Wilzbach
|
31c4226042
|
Fix deprecation: std.utf.toUTF8 -> encode
|
2017-02-17 11:02:46 +01:00 |
|
Walter Bright
|
0cc2d6fa35
|
std.json: use proper block comments
|
2017-02-09 12:39:55 -08:00 |
|
Sebastian Wilzbach
|
cc7f125ed1
|
Add missing imports to public unittests
|
2016-12-15 23:23:35 +01:00 |
|
Jack Stouffer
|
4cad2fc326
|
Remove package wide std.algorithm imports from std/json.d
|
2016-09-20 11:08:21 +01:00 |
|
Walter Bright
|
55e5737525
|
add 'scope' to opApply() parameter
|
2016-09-14 19:41:41 -07:00 |
|
Walter Bright
|
fc8e5f29be
|
Merge pull request #4605 from jmdavis/deprecations
Move deprecations along
|
2016-07-19 01:29:24 -07:00 |
|
Walter Bright
|
50d0023bb3
|
json.d: union pointer access is unsafe
|
2016-07-18 20:01:05 -07:00 |
|
Jonathan M Davis
|
1add09c180
|
Move deprecations along.
|
2016-07-18 14:56:03 -07:00 |
|
Walter Bright
|
f6ad90e511
|
Merge pull request #4513 from JackStouffer/local_imports
Start work on checking of too broad local imports outside of unit tests
|
2016-07-01 20:24:23 -07:00 |
|
Atila Neves
|
08dcaae62c
|
Add @system and @safe to std.json unit tests
|
2016-07-01 19:03:01 +02:00 |
|
Jack Stouffer
|
c7a65ca81d
|
Fixed local imports in std.json
|
2016-06-30 18:07:01 -04:00 |
|
Sebastian Wilzbach
|
6982cdc511
|
fix top-level json.d example
|
2016-06-29 19:53:02 +02: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 |
|
Sebastian Wilzbach
|
a37a5a9896
|
Fix more 404s links
|
2016-06-06 04:29:23 +02:00 |
|
tsbockman
|
7a486d9d03
|
Fix issue 15885 - numeric values serialized to JSON lose precision.
|
2016-05-31 21:21:59 -07:00 |
|
Sebastian Wilzbach
|
1d34a121e9
|
apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
|
2016-05-31 13:07:53 +02: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 |
|
Thibaut CHARLES
|
210d0f70ab
|
Wrong exception message std.json
|
2016-05-25 12:10:36 +02:00 |
|
Jack Stouffer
|
7a62d7ca24
|
Fixed long lines in std/json.d
|
2016-05-10 20:51:39 -04:00 |
|
Sebastian Wilzbach
|
3d67cd228c
|
style fix: space between operators
|
2016-04-26 22:26:20 +03:00 |
|
Lionello Lunesu
|
1f1ed031a3
|
Fix issue 15884 Encode wstring/wchar[]/dstring/dchar[] as JSON string
|
2016-04-14 16:34:19 +08:00 |
|
Dmitry Olshansky
|
ada161f0c5
|
Merge pull request #4176 from BBasile/issue-15884
fix issue 15884 - Assigning char[] to std.json.JSONValue creates array, not string
|
2016-04-11 16:39:50 +04:00 |
|
Basile Burg
|
329f068d7a
|
fix issue 15884 - Assigning char[] to std.json.JSONValue creates array, not string
|
2016-04-09 10:01:51 +02:00 |
|
Basile Burg
|
e1120aa9e1
|
add an option allowing to escape non ascii chars
|
2016-04-09 07:58:53 +02:00 |
|
Dmitry Olshansky
|
c75dc478ea
|
Merge pull request #4108 from dhasenan/std_json_safe
Make std.json @safe.
|
2016-04-05 20:58:59 +04:00 |
|
dhasenan
|
56542b2c1b
|
parseJSON works with @system ranges
|
2016-03-24 15:44:37 +00:00 |
|
dhasenan
|
113e79abec
|
parseJSON infer @safety
|
2016-03-24 13:56:32 +00:00 |
|
dhasenan
|
70690946aa
|
opIndexAssign @safe should be inferred
|
2016-03-24 13:55:01 +00:00 |
|
dhasenan
|
4373141b52
|
toJSON takes a ref rather than a pointer
|
2016-03-24 13:47:51 +00:00 |
|
dhasenan
|
4bfb6cd694
|
fixed JSONValue.str() signature
|
2016-03-23 13:16:24 +00:00 |
|
dhasenan
|
9872b64816
|
address review feedback
|
2016-03-23 13:09:51 +00:00 |
|
dhasenan
|
c6ec8d01ca
|
Make std.json @safe.
(Four @trusted methods, but who's counting?)
|
2016-03-22 23:19:59 +00:00 |
|
Tomoya Tanjo
|
3dbea90a87
|
Using ref instead of out for std.json.parseJSON
|
2016-03-22 22:20:48 +09:00 |
|
Tomoya Tanjo
|
a023336625
|
Replace version(unittest) with unittest
|
2016-03-03 00:07:31 +09:00 |
|
Tomoya Tanjo
|
1794186a11
|
Make parseJSON CTFEable for object of object and array of array
|
2016-03-02 21:46:13 +09:00 |
|
Dragos Carp
|
cacd081e11
|
std.json: Encode control characters
|
2015-12-16 00:55:09 +01:00 |
|
Basile Burg
|
c10012129d
|
documented opIn
|
2015-12-07 11:41:17 +01:00 |
|
Jonathan M Davis
|
d34164a2ea
|
Move some deprecations along.
|
2015-11-26 00:28:38 -08:00 |
|
Nick Sabalausky
|
b46de002e1
|
Doc formatting fixes for https://github.com/D-Programming-Language/dmd/pull/4745
|
2015-10-14 15:29:14 -04:00 |
|
Vladimir Panteleev
|
f26d542967
|
std.json: Rename JsonOptions to JSONOptions
Discussion:
http://forum.dlang.org/post/tjlziczxnjlmckdmdnxn@forum.dlang.org
|
2015-06-29 19:34:29 +00:00 |
|
Jonathan Crapuchettes
|
4c3cc9d523
|
Add attributes to methods in std.json.
|
2015-05-29 22:35:11 -06:00 |
|
Ryan
|
51674c81d7
|
JSON: remove unused import std.typecons : Flag.
|
2015-04-13 23:09:07 -04:00 |
|
Ryan
|
fecf9b3972
|
JSON: Nan/Inf code review tweaks.
Replace Flag!"JsonSpecialFloats" with a flagset enum to allow future
extensibility.
Add more documentation to modified functions.
|
2015-04-13 22:44:49 -04:00 |
|