1037 Commits

Author SHA1 Message Date
miloyip
8366bb8975 Add string pattern in schema 2015-05-05 00:08:36 +08:00
miloyip
87adfd464a Merge remote-tracking branch 'origin/master' into schema 2015-05-04 18:25:24 +08:00
miloyip
a3e5fcf490 Minor grammar corrections 2015-05-04 18:22:40 +08:00
miloyip
5bec8b99bb Minor modification to Pointer guide 2015-05-04 17:28:37 +08:00
miloyip
1086297f13 Fix Pointer guide punctuations 2015-05-04 17:05:01 +08:00
Milo Yip
2acc1e9a3d Merge pull request #327 from miloyip/json-pointer
Implementation of Json Pointer
2015-05-04 16:53:20 +08:00
miloyip
5543a090c0 Draft Pointer guide 2015-05-04 16:32:02 +08:00
miloyip
436625f83c Fix ambiguous cases in Pointer::Create() 2015-05-04 15:02:43 +08:00
miloyip
b6a54f7244 Add API doc for GenericPointer, rename some (template) parameters 2015-05-04 13:32:44 +08:00
miloyip
b0c6a9d7f9 Merge remote-tracking branch 'origin/master' into json-pointer 2015-05-04 10:29:25 +08:00
miloyip
56568fd73f Add GenericValue::ValueType and fix warning for SetString(std::string, Allocator) 2015-05-04 10:25:31 +08:00
miloyip
e7bcedb4f4 Simplify code 2015-05-04 10:21:30 +08:00
miloyip
1135ef6622 Fix VC2013 false alarm warning 2015-05-04 10:08:23 +08:00
miloyip
fc7b0a04a1 Add const Value& version of SetValueByPointer() and improve coverage 2015-05-04 10:06:31 +08:00
miloyip
a5d700e9e8 Implemented property dependencies of schema 2015-05-04 01:08:42 +08:00
miloyip
c629d37a00 Simplify FindMember() in schema 2015-05-04 00:20:15 +08:00
miloyip
45bed001ee Remove unusable StringRef overloads 2015-05-03 23:44:58 +08:00
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
ae61b7973c Standardize CrtAllocator::Realloc() for newSize = 0 2015-05-03 21:02:34 +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
6582160a12 Fix out-of-bound access in percent decode 2015-05-03 19:14:58 +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
miloyip
0713b8931d Implement Multi-type 2015-05-02 17:46:55 +08:00
miloyip
e0c26e44c0 Fix the test, and refactor to simplify 2015-05-02 12:24:23 +08:00
miloyip
ae645a2ce4 Fix a bug in additionalItems 2015-05-02 11:03:58 +08:00
Milo Yip
602f87545e Add a failed case 2015-05-02 10:28:10 +08:00
Milo Yip
05ae593583 Implement additionalItems 2015-05-02 10:06:48 +08:00
miloyip
33b5c59e5d Fix some gcc warnings/errors 2015-05-01 22:38:00 +08:00
miloyip
9a5283eb0a Fix mismatched delete 2015-05-01 21:42:26 +08:00
miloyip
5c93e64c68 Fix clang compilation 2015-05-01 20:16:41 +08:00
Milo Yip
c1bcccb16a Very basic JSON schema implementation 2015-05-01 17:59:31 +08:00
Milo Yip
ea7b39b960 Update installation section of zh-cn readme 2015-05-01 08:10:21 +08:00