Commit Graph

2470 Commits

Author SHA1 Message Date
Steve Hanson 6b57738e4a handle internal refs properly 2021-03-11 14:49:28 +00:00
miloyip 1c2c8e085a doc: fix incorrect template parameters in EncodedOutputStream example
Fix #1851
2021-03-02 11:15:31 +08:00
Steve Hanson fe1a29ca69 fix platform-dependent compiler error with >> 2021-02-25 23:54:44 +00:00
Steve Hanson ad73c032e7 fix compile errors 2021-02-25 22:51:35 +00:00
Steve Hanson 892f6e3fd3 fix bracket 2021-02-25 22:21:20 +00:00
Steve Hanson cabc3d5aa1 merge 2021-02-25 22:12:05 +00:00
Steve Hanson 7698b3cd48 code and tests 2021-02-25 21:45:29 +00:00
Steve Hanson dad85cab9d
Merge pull request #2 from smhdfdl/multiple-validation-failures-and-validation-messages
Multiple validation failures and validation messages
2021-02-25 21:01:50 +00:00
Milo Yip b1a4d91a53
Merge pull request #1779 from pavel-pimenov/fix-1778-part-1
fix 1778  (part 1)
2021-02-23 10:23:34 +08:00
Milo Yip 8be64594f2
Merge pull request #1847 from stac47/fix_1846
Fix recursive operator== call in C++20 (#1846)
2021-02-23 10:21:11 +08:00
Laurent Stacul 24ebd51287 Fix recursive operator== call in C++20 (#1846) 2021-02-22 16:52:27 +00:00
Milo Yip 8bce684cda
Merge pull request #1844 from smhdfdl/multiple-validation-failures-and-validation-messages
After PR 1837, fix crash where simple type with sub-schema has a bad value
2021-02-22 00:01:56 +08:00
Steve Hanson 9bb81e20ff fix crash where simple type with sub-schema has a bad value 2021-02-12 17:36:55 +00:00
Milo Yip 13dfc96c9c
Merge pull request #1837 from smhdfdl/multiple-validation-failures-and-validation-messages
Fixes for issues #1835 & #1836 - Multiple validation failures and readable validation messages
2021-02-03 21:19:27 +08:00
Steve Hanson 167efb4fa0 work around issue 1089 2021-02-03 08:34:10 +00:00
Steve Hanson 28dc42d8d3 restore coverage 2021-01-29 19:20:01 +00:00
Steve Hanson a3757456fe correct workaround for issue 1805 2021-01-29 16:43:12 +00:00
Steve Hanson 7fee368be3 Revert "revert perftest"
This reverts commit 221e8d5364.
2021-01-29 11:58:31 +00:00
Steve Hanson 221e8d5364 revert perftest 2021-01-29 11:38:33 +00:00
Steve Hanson f89e75af75 remove C++ 11 std::string to_string() syntax 2021-01-29 11:08:01 +00:00
Steve Hanson c491dd5213 remove C++ 11 enum syntax 2021-01-29 10:26:05 +00:00
Steve Hanson 6f3cccd6e1 remove debug std::cout, handle empty error object in example 2021-01-28 14:21:36 +00:00
Steve Hanson 05e7b33977 code and tests 2021-01-28 12:11:43 +00:00
Steve Hanson 5d17b24e53
Merge pull request #1 from Tencent/master
PR for commits 2021/01/12
2021-01-12 14:54:16 +00:00
Milo Yip 585042c02b
Merge pull request #1821 from slsyy/master
Add implicit conversion from Object and Array to Value (#1404)
2021-01-06 13:43:21 +08:00
Krystian Chmura cbf62de55d Add implicit conversion from Object and Array to Value (#1404)
Allows resolution of JSON Pointer on Object and Array
2021-01-05 14:20:57 +01:00
Milo Yip 3cdd3c8370
Merge pull request #1817 from lukedan/lukedan_cpp20
Fix #1721
2020-12-28 10:32:35 +08:00
Xuanyi Zhou 5e50f27ed1 also initialize class member 2020-12-26 23:41:42 -05:00
Xuanyi Zhou 1e4f59d3ae add return statement & comment 2020-12-26 23:38:27 -05:00
Xuanyi Zhou d742a030aa add body to private copy constructor & copy assignment 2020-12-26 23:27:43 -05:00
Xuanyi Zhou 3006926231 suppress enum bitwise operation warnings on msvc 2020-12-26 23:09:39 -05:00
Xuanyi Zhou 13f5ab4f44 fix schema test compile error 2020-12-26 22:58:13 -05:00
Milo Yip 56f215e5c3
Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-public
Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBER…
2020-12-23 09:41:20 +08:00
Milo Yip 0ccdbf364c
Merge pull request #1786 from ssb22/master
Remove unnecessary wording from BSD license not needed for MIT license (fixes #528)
2020-10-13 09:54:06 +08:00
Silas S. Brown b7734d97c0 Remove unnecessary wording from BSD license not needed for MIT license (fixes #528) 2020-10-09 10:04:27 +01:00
Pave Pimenov 3a65e2dd7f fix https://github.com/Tencent/rapidjson/issues/1778 (part 1) 2020-09-12 19:53:06 +03:00
Milo Yip ce81bc9edf
Merge pull request #1760 from escherstair/fix_ce6_support
fix _BitScanReverse() usage for CE6
2020-08-07 10:12:21 +08:00
escherstair 5fbf8bf89c fix unit test 2020-08-06 15:55:42 +02:00
escherstair 7f559ec80a fix naive implementation for clzll() 2020-08-06 15:55:26 +02:00
escherstair 58e2964856 add unit test for clzll() 2020-08-06 14:57:39 +02:00
escherstair aa5dd60865 fix naive version implementation 2020-08-04 14:39:19 +02:00
escherstair 91940e84b1 fallback to the naive version for CE6 2020-08-04 14:38:45 +02:00
escherstair 6364c8e5ab fix _BitScanReverse() usage for CE6 2020-08-04 10:01:44 +02:00
Milo Yip f56928de85
Merge pull request #1744 from lklein53/improve-surrogate-handling
Improve surrogate handling (#1738)
2020-07-13 11:10:39 +08:00
Lars Klein 6694c996b9 Add test case for low surrogate handling 2020-07-04 14:48:55 +02:00
Lars Klein ed73d7bdb4 Improve surrogate handling
Report a single low surrogate as kParseErrorStringUnicodeSurrogateInvalid.
2020-07-04 14:34:09 +02:00
Milo Yip 88bd956d66
Merge pull request #1453 from eidosmontreal/custom_malloc
Adding a single customization point that ensures all allocations within rapidjson can be performed with a custom memory allocator
2020-06-23 14:34:10 +08:00
Gaspard Petit 004e8e61a0 Merge branch 'master' into custom_malloc 2020-06-22 22:31:37 -04:00
Milo Yip 1a803826f1
Merge pull request #1720 from madeso/master
Fixes issue #1718
2020-05-19 00:25:35 +08:00
Gustav ac0fc79c76 Fixes issue #1718 2020-05-18 14:06:39 +02:00