Milo Yip
a5990f3eea
Optimize ScanCopyUnescapedString for insitu parsing
2016-01-22 18:26:24 +08:00
Milo Yip
f13caadded
Fix valgrind problem
2016-01-22 16:13:06 +08:00
Milo Yip
e392652754
Fix compilation
2016-01-22 16:05:46 +08:00
Milo Yip
d1e6eae2a9
Remove unused code
2016-01-22 15:43:51 +08:00
Milo Yip
ae5cf58878
Fix ScanCopyUnescapedString performance issue
2016-01-22 15:33:08 +08:00
Milo Yip
69d0f41c4b
Implemented ScanCopyUnescapeString optimization
...
Some performance issues to be fixed
2016-01-22 12:18:05 +08:00
Milo Yip
8fbe442925
Merge pull request #510 from miloyip/issue509_writingnaninf
...
Fix #509 by checking Nan/Inf when writing a double
2016-01-20 22:30:15 +08:00
Milo Yip
78c7d54aba
Fix #498 VC2015 warnings
2016-01-20 22:29:50 +08:00
Milo Yip
bab80e7cca
Fix clang warning
2016-01-20 02:01:14 +08:00
Milo Yip
ad1d22eba5
Fix #509 by checking Nan/Inf when writing a double
2016-01-20 01:53:40 +08:00
Milo Yip
9515b9cc94
Merge pull request #501 from thedrow/fix-cmake-min-version-warning
...
CMake will no longer complain that the minimum CMake version is not specified
2016-01-04 09:28:30 +08:00
Milo Yip
d0045f15bd
Merge pull request #504 from thedrow/containerized-travis
...
Move Travis to container based infrastructure
2016-01-04 09:27:53 +08:00
Omer Katz
163c4b7583
Fixed cmake syntax errors.
2015-12-31 12:07:28 +02:00
Omer Katz
96fbaef1ec
Workaround clang and ccache bugs described in http://petereisentraut.blogspot.co.il/2011/05/ccache-and-clang.html
2015-12-31 12:04:47 +02:00
Omer Katz
84c56130d2
Adjust CMakeLists.txt files to use ccache when it's available.
2015-12-31 11:56:39 +02:00
Milo Yip
ef6957c177
PutReserve() and PutUnsafe() optimisation for Writer
2015-12-31 15:30:28 +08:00
Milo Yip
1a21379e3c
Merge branch 'master' into optimization
2015-12-31 09:23:38 +08:00
Omer Katz
5121034bb8
CMake will no longer complain that the minimum CMake version is not specified for test/CMakeLists.txt.
2015-12-29 16:57:42 +02:00
Milo Yip
c6384da755
Try to fix clang and gcc warnings problems again x11
2015-12-18 20:53:07 +08:00
Milo Yip
5c003f3ecb
Try to fix clang and gcc warnings problems again x9
...
Abandon RAPIDJSON_NORETURN_SUFFIX
2015-12-18 20:34:46 +08:00
Milo Yip
6d6381f596
Try to fix clang and gcc warnings problems again x7
2015-12-18 20:15:11 +08:00
Milo Yip
d72039f3ef
Try to fix clang and gcc warnings problems again x6
2015-12-18 20:06:58 +08:00
Milo Yip
d6478991d0
Try to fix clang and gcc warnings problems again x4
2015-12-18 19:54:10 +08:00
Milo Yip
4cb7c88ca9
Try to fix clang and gcc warnings problems again x3
2015-12-18 19:47:11 +08:00
Milo Yip
17f2ca6913
Try to fix clang and gcc warnings problems
2015-12-18 19:04:09 +08:00
Milo Yip
74c8dcfd57
Fix clang -Weverything
2015-12-18 18:34:04 +08:00
miloyip
8b265fe4b6
Fixes #489
2015-12-06 11:38:53 +08:00
Milo Yip
28f2ed00d9
Merge pull request #484 from miloyip/Issue483_PointerValue
...
Fix #483 by using the correct value type
2015-11-30 17:37:58 +08:00
Milo Yip
db0a03a43c
Fix #483 by using the correct value type
2015-11-30 17:22:06 +08:00
Philipp A. Hartmann
9378001e35
documenttest.cpp: check/use conversion from Document to ParseResult
2015-11-26 22:33:14 +01:00
Philipp A. Hartmann
c8d298bc9e
documenttest.cpp: EXPECT_THROW when checking empty allocator ( closes #469 )
...
In the MoveConstructor/MoveAssignment tests, a check for a `NULL` allocator
return has been used to check for the correct moved-from state of a Document.
After the merge of #426 , the GetAllocator call fails with an assertion,
if the allocator of a GenericDocument is NULL.
Check for the throw, instead of NULL in the move-related tests.
Tested with GCC 4.9 on Linux with C++11 enabled.
Reported-by: @woldendans
2015-11-16 21:32:09 +01:00
Andrey
f7960ac0e8
Comments parsing fixes.
...
* Comments parsing function correctly handles EOF.
* Since SkipWhitespaceAndComments can generate errors, its calls should be followed by RAPIDJSON_PARSE_ERROR_EARLY_RETURN macro.
* Some tests to make the bug never appear again.
2015-10-14 00:04:29 +03:00
Andrey
5ce78b135d
Introduce support of comments.
2015-10-11 15:09:58 +03:00
Philipp A. Hartmann
41dd68f092
add simple test for unchanged DOM after parse error
2015-10-07 21:50:14 +02:00
Milo Yip
311b48224f
Try to fix incorrect 64-bit alignment
...
Added unit tests for alignment macros.
Fixes #418
2015-09-01 10:05:33 +08:00
Philipp A. Hartmann
46e1696316
add free inline swap
functions
2015-07-13 09:35:15 +02:00
Philipp A. Hartmann
dd901f498b
add GenericDocument<>::Swap
...
See #368 .
2015-07-04 01:57:24 +02:00
miloyip
ce0184e73b
Add and fix -Wimplicit-fallthrough for clang, revert #350
2015-06-03 23:53:14 +08:00
miloyip
c8c8ad47c3
Further improve coverage of GenericPointer::Erase()
2015-05-21 17:02:27 +08:00
miloyip
7ddaa80e46
Improve coverage of GenericPointer::Erase()
2015-05-21 16:45:39 +08:00
miloyip
6e1d10ec6b
Add GenericValue::EraseMember(string types) APIs
2015-05-21 16:12:33 +08:00
miloyip
f688b2b152
Improve coverage of Pointer
2015-05-21 13:25:37 +08:00
Milo Yip
3229566573
Add multiple SkipWhitespace perftest
2015-05-20 13:33:14 +08:00
Milo Yip
424abf1edc
Merge pull request #335 from miloyip/member_stdstring
...
Add Value::XXXMember(...) overloads for std::string
2015-05-14 14:56:35 +08:00
Milo Yip
add5a50581
Fix some numbers parsed incorrectly
...
Fix #340
2015-05-14 12:03:21 +08:00
miloyip
2786103abd
Add Value::XXXMember(...) overloads for std::string
2015-05-12 22:48:14 +08:00
Milo Yip
0edd743c83
Fix Document.UserBuffer test
2015-05-11 13:58:45 +08:00
miloyip
771fa9879a
Add Pointer::Append(Value, Allocator) overload
2015-05-08 22:18:46 +08:00
Milo Yip
5dee394004
Add Pointer::Append() and fixed bugs in assignment and Parse()
2015-05-08 21:26:56 +08:00
miloyip
a72c35b9fa
Workaround for Valgrind false alarm on wcscmp()
2015-05-06 10:49:01 +08:00