333 Commits

Author SHA1 Message Date
miloyip
524974deec Add Validation of UTF-8 sequence for percent encoding, also improves coverage 2015-05-03 21:58:55 +08:00
miloyip
c35d47f83c Change copyright header of pointer test 2015-05-03 21:37:12 +08:00
miloyip
86d298cd46 Merge branch 'master' into json-pointer 2015-05-03 21:24:51 +08:00
miloyip
1c98609ada Standardize MemoryPoolAllocator::Realloc() also, and improve coverage 2015-05-03 21:23:13 +08:00
miloyip
6fdfc90bb2 Merge branch 'master' into json-pointer 2015-05-03 21:07:33 +08:00
miloyip
3c73975513 Fix 2 FILE* leaks in documenttest.cpp 2015-05-03 20:52:44 +08:00
miloyip
bfd47a70ed Fix merge conflict 2015-05-03 20:30:46 +08:00
miloyip
7fc716006f Merge branch 'master' into json-pointer
Conflicts:
	test/unittest/CMakeLists.txt
2015-05-03 20:27:21 +08:00
miloyip
369cf2a8b7 Fix wcscmp() causing false alarm in Valgrind 2015-05-03 20:11:55 +08:00
miloyip
b55a9bcacb Try diagnosis Valgrind error 2015-05-03 19:58:25 +08:00
miloyip
f55002c9a2 Try to fix valgrind error 2015-05-03 19:27:12 +08:00
miloyip
bb0e828928 Some std::string overloads for Pointer 2015-05-03 18:55:55 +08:00
miloyip
0eb6cb8e5f Add equality/inequality operator, URI fragment stringify and UTF-8 Percent Encoding/Decoding 2015-05-03 14:14:05 +08:00
miloyip
28f14bd68f Add parsing of URI fragment representation of JSON pointer 2015-05-03 09:51:15 +08:00
miloyip
2ee15de4a9 Add no allocator overloads for Swap 2015-05-02 22:58:41 +08:00
miloyip
fd9386589f Add overloads for document as root, with no allocator parameter. 2015-05-02 22:46:30 +08:00
miloyip
d0d18847c5 Add GetValueByPointerWithDefault() overloads 2015-05-02 22:08:03 +08:00
miloyip
32b45f6e6d Add GetWithDefault() overloads 2015-05-02 21:52:49 +08:00
miloyip
2ddbd09031 Add '-' support for Create() and Set() 2015-05-02 21:30:40 +08:00
miloyip
2ece55abc7 Implement pointer parse error 2015-05-02 20:44:30 +08:00
miloyip
1ef380586d Fix a bug in Pointer::Create() and Add different overloads for Set() related implementations 2015-05-02 20:07:50 +08:00
Milo Yip
7708215b60 Try to fix #313 again 2015-04-25 00:13:09 +08:00
Milo Yip
735354efd3 Separate handling for pos/neg exp and improve pos exp overflow 2015-04-24 22:50:42 +08:00
Milo Yip
93d13ad2ac Fix #313 Assertion In Pow10.h is triggered in Document::Parse 2015-04-24 21:44:42 +08:00
miloyip
5ab1e9361d Add version macros for RapidJSON 2015-04-21 16:38:49 +08:00
miloyip
8d39282af5 Update license headers for tests 2015-04-18 21:41:38 +08:00
miloyip
aa61b08d11 Fix warnings for misctest 2015-04-18 21:31:56 +08:00
Milo Yip
0e8bbe5e3e Standardize behavior of CrtAllocator::Malloc() 2015-04-17 13:01:14 +08:00
miloyip
30ace6fa95 Fix mistake in perftest 2015-04-16 10:55:42 +08:00
miloyip
556d154bed Search sample data in more folders for perftest 2015-04-16 10:34:45 +08:00
miloyip
a7763cbeca Fix allocator test 2015-04-16 09:42:22 +08:00
Milo Yip
0571a211bd Cover SkipWhiteSpace for InsituStringStream 2015-04-15 22:36:00 +08:00
Milo Yip
4d3c64acee Improves SkipWhitespace test 2015-04-15 21:07:30 +08:00
Milo Yip
a81585b5e2 Further improve SkipWhitespace coverage 2015-04-15 20:51:36 +08:00
Milo Yip
998e76fecc Improves SkipWhitespace coverage 2015-04-15 20:38:46 +08:00
miloyip
ee505261c1 Try to use another namespace for SIMD version 2015-04-15 18:34:18 +08:00
miloyip
a32d8b7650 Add SIMD SkipWhitespace() unit test which don't run in Valgrind 2015-04-15 18:18:57 +08:00
Milo Yip
fa32ec8991 Merge pull request #302 from thebusytypist/issue298_coverage
Improve code coverage for iterative parsing
2015-04-15 16:32:22 +08:00
thebusytypist
0d28bb13c7 Add a missing error handling check(a single number as JSON root). 2015-04-15 15:46:31 +08:00
thebusytypist
8576747373 Add unittest for state transition to IterativeParsingMemberKeyState. 2015-04-15 14:51:48 +08:00
thebusytypist
7cb031cc03 Add unittests for parsing root JSON value other than array and object. 2015-04-15 14:45:07 +08:00
miloyip
631302e68e Reduce random test iterations to speedup travis 2015-04-15 14:41:33 +08:00
miloyip
c69ff41fc2 Add tests for parsing number with exhaustive exponents and random signifcant 2015-04-15 14:23:00 +08:00
miloyip
5b89f331c5 Add more test numbers for writer 2015-04-15 00:18:22 +08:00
Milo Yip
f8909e875b Improve coverage of encoded streams 2015-04-14 21:50:13 +08:00
Milo Yip
872aba660c Improve coverage of encoded streams 2015-04-14 21:08:33 +08:00
miloyip
3621235cd0 Improve dtoa coverage 2015-04-14 14:52:42 +08:00
miloyip
4824f12efb Fixed a bug in trimming long number sequence 2015-04-14 13:59:05 +08:00
miloyip
4cc62876ae Add some parsing number tests 2015-04-14 13:22:39 +08:00
miloyip
3a92374011 Try turning on slow test on number parsing 2015-04-14 12:01:41 +08:00