Caio Luppi
34b171a665
Merge 3d9184e4ae into b58a93b8dd
2015-08-14 12:45:29 +00:00
Niels
b58a93b8dd
merged #111
2015-08-14 14:45:13 +02:00
Caio Luppi
3d9184e4ae
Quick fix to address subsequent unicode chars prob
...
sprintf prints a null character at the end of the string and overwrites the \\ character that was set during initalization (line 4625). Whenever there are two subsequent characters that are escaped, the first one ends up overwriting the second's backslash. In case there's a non-escaped string between them, the string itself overwrites the null character.
Here's an easy way to reproduce this issue:
string bytes{0x7, 0x7};
cout << "bytes: " << bytes << endl;
json j;
j["string"] = bytes;
cout << j.dump() << endl;
// expected result: \u0007\u0007
// actual result: \u0007\0u0007
2015-08-13 13:37:51 -04:00
Niels
6f2da1a39a
try to avoid MSVC bug ( https://connect.microsoft.com/VisualStudio/feedback/details/797682/c-decltype-of-class-member-access-incompletely-implemented )
2015-08-13 10:24:28 +02:00
Niels
fadccc34eb
fixed iterator_wrapper
2015-08-13 10:08:55 +02:00
Niels
66ec58639b
removed failing tests
2015-08-06 23:02:52 +02:00
Niels
2707733920
fixed off-by-one error
2015-08-06 22:53:16 +02:00
Niels
b0eb34394c
added test cases for #83
2015-08-06 22:36:08 +02:00
Niels
11ae6da6d9
reverted “fix” for issue #107
2015-08-06 22:35:56 +02:00
Niels
b431203fe8
fixed travis script
2015-08-06 21:33:24 +02:00
Niels
2c3259320d
addressed locale-issues #107
2015-08-04 18:12:11 +02:00
Niels
c910853304
fixed build
2015-08-02 21:49:42 +02:00
Niels
b00e627c30
fixed build
2015-08-02 21:47:11 +02:00
Niels
9355dce063
fixed build
2015-08-02 21:40:25 +02:00
Niels
e64dc532ab
fixed build
2015-08-02 21:35:07 +02:00
Niels
b5a05e1121
add a test for the iterator_wrapper
2015-08-02 21:27:02 +02:00
Niels
c974e32677
fixed the build
2015-07-30 23:02:55 +02:00
Niels
8eb32084b4
code for #83 (no tests yet)
2015-07-30 21:32:18 +02:00
Niels
a26e44d66e
prepare 1.0.0-rc1
2015-07-26 20:44:55 +02:00
Niels
359cf7993f
closed #75
...
minor changes, but the core idea remains the same
2015-07-26 18:41:58 +02:00
Niels
c8ced4ecbc
cleanup
2015-07-26 10:59:17 +02:00
Niels
eb782770de
removed Clang 3.7
2015-07-26 10:46:15 +02:00
Niels
faac3c47c5
fixed travis
2015-07-26 10:41:49 +02:00
Niels
5993ff9976
updated catch
2015-07-26 10:41:38 +02:00
Niels
4c31de262e
cleanup
2015-07-26 10:17:51 +02:00
Niels
77e6af0593
cleanup
2015-07-24 22:50:22 +02:00
Niels
0608e2d3e0
added g++-mingw-w64-i686
2015-07-24 22:43:00 +02:00
Niels
d9a2077a0e
only calculate coverage for GCC 4.9
2015-07-24 22:41:12 +02:00
Niels
3af829ef02
try
2015-07-24 22:29:03 +02:00
Niels
6a0be8b81c
llvm source
2015-07-24 22:21:30 +02:00
Niels
9d01160ca8
cleaned llvm sources
2015-07-24 22:19:14 +02:00
Niels
004bb1e952
more llvm sources
2015-07-24 22:16:24 +02:00
Niels
82940483c3
sources for llvm
2015-07-24 22:14:16 +02:00
Niels
76bb61b544
set compiler flag
2015-07-24 22:11:09 +02:00
Niels
3b1c3fb77f
added clang
2015-07-24 22:08:29 +02:00
Niels
48ad40607c
fix for environment
2015-07-24 22:03:45 +02:00
Niels
af5efeeff6
try env
2015-07-24 22:00:48 +02:00
Niels
56f1db2996
added CXX
2015-07-24 21:54:38 +02:00
Niels
a4671428ca
wrong sources
2015-07-24 21:52:56 +02:00
Niels
2ef7be5faf
wrong sources
2015-07-24 21:51:01 +02:00
Niels
25293a4ca6
added missing source
2015-07-24 21:46:46 +02:00
Niels
276444113c
local installation
2015-07-24 21:43:07 +02:00
Niels
f5d2efdbd8
move to new Travis infrastructure
2015-07-24 21:41:07 +02:00
Niels
300fba6388
fixed Windows build
2015-07-19 13:33:03 +02:00
Niels
623c03bc49
some cleanup
2015-07-19 12:41:46 +02:00
Niels
818ae5a524
updated documentation to show off MSVC support
2015-07-16 22:37:54 +02:00
Niels
92fffaa872
cleanup
2015-07-16 19:53:42 +02:00
Niels
afb17d7fac
typo...
2015-07-16 19:39:18 +02:00
Niels
c89ca716c5
switch off optimizations in MSVC
2015-07-16 19:32:19 +02:00
Niels
a63c794521
some changes to Appveyor
2015-07-16 19:04:51 +02:00