524 Commits

Author SHA1 Message Date
miloyip
42f1194a8d Add remote reference 2015-05-09 20:24:47 +08:00
miloyip
f0c3fa84fc Add Ref in schema 2015-05-09 11:46:45 +08:00
miloyip
0e4c368952 Merge branch 'master' into schema 2015-05-08 22:19:27 +08:00
miloyip
771fa9879a Add Pointer::Append(Value, Allocator) overload 2015-05-08 22:18:46 +08:00
Milo Yip
677af55f70 Merge remote-tracking branch 'origin/master' into schema 2015-05-08 21:50:25 +08:00
Milo Yip
5dee394004 Add Pointer::Append() and fixed bugs in assignment and Parse() 2015-05-08 21:26:56 +08:00
Milo Yip
24f060f7cb Refactor template parameters and add ISchemaValidator 2015-05-08 18:39:26 +08:00
Milo Yip
a5eabe8d0c Rename classes in schema 2015-05-08 16:26:36 +08:00
miloyip
09530ad834 Fix compilation 2015-05-08 14:03:05 +08:00
Milo Yip
490630b7cc Readd RAPIDJSON_SCHEMA_HAS_REGEX and fix compilation 2015-05-08 13:48:37 +08:00
Milo Yip
6b3244ead3 Remove RAPIDJSON_SCHEMA_HAS_REGEX 2015-05-08 13:44:52 +08:00
Milo Yip
314ee2281c Add multiple patternProperties match 2015-05-08 13:37:30 +08:00
miloyip
e9dd5fffa6 Add schema dependencies (not handling missing property)
[ci skip]
2015-05-07 18:27:17 +08:00
Milo Yip
761561a28d Fix clang compilation and a memory leak 2015-05-07 17:09:55 +08:00
miloyip
e33049d288 Fix minLength & maxLength with code point instead of code unit 2015-05-07 16:15:09 +08:00
miloyip
bbbd1c6f5e Schema code simplification 2015-05-07 15:05:55 +08:00
miloyip
a274063ab2 Massive refactoring of schema 2015-05-07 00:59:51 +08:00
miloyip
a30a641c3e Fix warnings 2015-05-06 21:24:01 +08:00
miloyip
ca2061acef Turn off some not-yet-implemented test cases, and fix a few
[ci skip]
2015-05-06 18:31:56 +08:00
miloyip
5ad3639dd5 Add Json Schema Test Suite
[ci skip]
2015-05-06 18:11:57 +08:00
miloyip
15c712dc8f Attempt to make correct implementation of logic combiners 2015-05-06 16:29:11 +08:00
miloyip
a72c35b9fa Workaround for Valgrind false alarm on wcscmp() 2015-05-06 10:49:01 +08:00
Milo Yip
eb7d02b51d Add anyOf, oneOf and not in schema (buggy) 2015-05-05 18:27:22 +08:00
Milo Yip
1062f0a46b Add allOf in schema 2015-05-05 16:44:05 +08:00
Milo Yip
c2649a36c6 Disable patternProperties tests when no regex 2015-05-05 10:52:31 +08:00
Milo Yip
efc1932c0d Travis gcc/clang versions cannot support C++11 well 2015-05-05 10:28:26 +08:00
miloyip
d5c2f2ec78 Add patternProperties in schema 2015-05-05 00:47:06 +08:00
miloyip
8366bb8975 Add string pattern in schema 2015-05-05 00:08:36 +08:00
Milo Yip
8c01e7e1ce Add Pointer::Erase() and EraseValueByPointer() 2015-05-04 21:50:26 +08:00
miloyip
87adfd464a Merge remote-tracking branch 'origin/master' into schema 2015-05-04 18:25:24 +08:00
miloyip
436625f83c Fix ambiguous cases in Pointer::Create() 2015-05-04 15:02:43 +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
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