1038 Commits

Author SHA1 Message Date
miloyip
0b793ea58a Add test for covering PutN() generic version 2015-04-13 15:18:26 +08:00
miloyip
e9b92256a2 Add itoatest 2015-04-13 15:11:32 +08:00
miloyip
18a8891f0d Improve coverage for Writer and PrettyWriter 2015-04-13 14:50:08 +08:00
miloyip
3c028685df Add tests for Writer API for RAPIDJSON_HAS_STDSTRING 2015-04-13 14:25:05 +08:00
miloyip
3d82781a75 Improve PrettyWriter coverage 2015-04-13 14:17:21 +08:00
miloyip
127ce7175a Add a missing error handling for Writer, and add tests for invalid encoding. 2015-04-13 14:05:43 +08:00
miloyip
79433827e8 Add Tests for WriteUInt64(), WriteInt64() of generic stream 2015-04-13 13:41:56 +08:00
miloyip
fddffbe82b Revert "Try disabling inline for coverage"
This reverts commit 6a622aa0d095998bf6619b613643cb240c5336e3.
2015-04-13 13:21:45 +08:00
miloyip
6a622aa0d0 Try disabling inline for coverage 2015-04-13 13:08:29 +08:00
miloyip
a0a6d737fc Fix gcc compilation 2015-04-13 11:13:03 +08:00
miloyip
752afa7b79 Add prettywritertest 2015-04-13 10:58:05 +08:00
miloyip
35d0577e80 Try to fix doxygen problem 2015-04-13 00:44:52 +08:00
miloyip
d05801901a Activate coveralls/gcov for code coverage analysis 2015-04-13 00:32:24 +08:00
miloyip
6ee691550f Move GenericPointer::kInvalidIndex to rapidjson::kPointerInvalidIndex
It is needed to prevent linking error for gcc/clang
2015-04-11 14:48:33 +08:00
Milo Yip
519a899fa1 Merge pull request #296 from miloyip/issue294_WriteIntSegFault
Try to fix a potential seg fault on some compiler
2015-04-11 12:25:45 +08:00
miloyip
e346b93325 Try to fix a potential set fault on some compiler
Merge the fix from https://github.com/miloyip/itoa-benchmark/issues/8
2015-04-11 12:10:44 +08:00
Milo Yip
6f4337c555 Merge pull request #295 from miloyip/issue287_WarningFloatEqual
Fix several -Wfloat-equal related comments in #293
2015-04-11 11:52:45 +08:00
miloyip
cb59a5a9a2 Correct the Value::operator==() for double. 2015-04-11 11:34:44 +08:00
miloyip
55f8339a0a Compare exact binary representation for full precision test
Conflicts:
	doc/diagram/simpledom.png
2015-04-11 11:26:47 +08:00
Milo Yip
7e24024f51 Merge pull request #293 from miloyip/issue287_WarningFloatEqual
Add -Wfloat-equal and fix all derived warnings
2015-04-11 01:06:47 +08:00
Milo Yip
a0a361d2b5 Merge pull request #292 from shindo/pull-FindPackageHandleStandardArgs
fixed 'Unknown CMake command "find_package_handle_standard_args"'
2015-04-11 01:05:26 +08:00
Milo Yip
5ae85e67f6 Yet two more warnings 2015-04-11 00:41:09 +08:00
Danil Osherov
2e0a2f61f4 CMake: fixed 'Unknown CMake command "find_package_handle_standard_args"'.
Added INCLUDE(FindPackageHandleStandardArgs) before using find_package_handle_standard_args().
2015-04-10 19:34:55 +03:00
Milo Yip
d7ad55f49e Another two warnings 2015-04-11 00:20:10 +08:00
Milo Yip
09448e980b Another warning in valuetest 2015-04-11 00:12:15 +08:00
Milo Yip
2452afbf3c Fix -Wfloat-equal warnings in Value::operator== and valuetest 2015-04-11 00:02:17 +08:00
Milo Yip
e04d66bdd8 Try to use EXPECT_NEAR 2015-04-10 23:47:53 +08:00
Milo Yip
c18812a36a Fix yet another -Wfloat-equal warning 2015-04-10 23:37:20 +08:00
Milo Yip
bd435f76ab Another trial to fix the kInvalidIndex problem 2015-04-10 23:32:28 +08:00
Milo Yip
2524693cfd Suppress float-equal in readertest.cpp 2015-04-10 23:24:33 +08:00
Milo Yip
fb4f321d82 Fix another -Wfloat-equal warning 2015-04-10 23:10:08 +08:00
Milo Yip
c7bcdb9c0c Fix a clang/gcc linker error
static const member integer not working
2015-04-10 23:06:17 +08:00
Milo Yip
dfba62e143 Fixed two -Wfloat-equal warnings 2015-04-10 22:57:41 +08:00
Milo Yip
53ed550a5e Merge remote-tracking branch 'origin/master' into issue287_WarningFloatEqual 2015-04-10 22:50:24 +08:00
Milo Yip
e0743b2fb0 Fix a clang/gcc warning 2015-04-10 22:43:46 +08:00
Milo Yip
26be3be5c7 Fix several clang/gcc warnings 2015-04-10 22:12:59 +08:00
Milo Yip
dfc864b1d3 Fix a bug in Pointer::Create() which makes it very slow 2015-04-10 22:06:56 +08:00
Milo Yip
02aa12a29e Merge pull request #291 from miloyip/issue289_NegativeZeroRoundtrip
Fix #289 negative zero roundtrip (double only)
2015-04-10 21:53:58 +08:00
Milo Yip
1b9cab7f12 Try to fix more gcc/clang compilation errors 2015-04-10 21:40:18 +08:00
Milo Yip
f73ec57241 Add -Wfloat-equal to reproduce warnings 2015-04-10 21:30:42 +08:00
Milo Yip
928d3421b4 Merge pull request #290 from miloyip/issue288_QuoteInUnicodeEscape
Fix #288 double quote in unicode escape
2015-04-10 21:25:04 +08:00
Milo Yip
e5cf3b85f3 Fix #289 negative zero roundtrip (double only) 2015-04-10 21:24:29 +08:00
Milo Yip
601a62e5b3 Try to fix a gcc/clang issue after removing Document::ValueType 2015-04-10 20:59:39 +08:00
Milo Yip
b7e34100ed Fix #288 double quote in unicode escape 2015-04-10 20:36:27 +08:00
Milo Yip
b2d72ef751 Add XXXByPointer() helper functions 2015-04-10 19:28:12 +08:00
Milo Yip
cf0ff19cac Add Pointer default/copy constructor, assignment operator. Test constructor with tokens 2015-04-10 18:25:02 +08:00
Milo Yip
c11547ebfa Implement Pointer::Create(). Get(). GetWithDefault(). Set(). Swap() 2015-04-10 17:43:11 +08:00
Milo Yip
852c25123c Implement parser/generator for JSON Pointer 2015-04-10 14:54:13 +08:00
miloyip
79e81fe36f Typo v1.0-beta 2015-04-08 14:50:27 +08:00
miloyip
a31eb8962e Add missing \" in simpledom diagram 2015-04-08 14:31:08 +08:00