532 Commits

Author SHA1 Message Date
Milo Yip
0fb2b803b8 Change $ref handling mechnism 2015-05-15 19:53:22 +08:00
miloyip
979088de60 Add 64-bit integer schema validations 2015-05-13 09:44:25 +08:00
miloyip
1a59ab50dc Add invalid schema keyword 2015-05-11 23:53:03 +08:00
miloyip
a326c6814c Merge branch 'master' into schema 2015-05-11 22:05:12 +08:00
miloyip
7eb117a26e Reduce Pointer parsing/copying to single allocation 2015-05-11 21:41:26 +08:00
miloyip
98b66e3c5a Change Document::ParseStream() to use stack allocator for Reader 2015-05-11 13:58:02 +08:00
miloyip
3dc40a8f34 Fix MemoryPoolAllocator::Clear() to clear user-buffer 2015-05-11 13:57:50 +08:00
Milo Yip
5bc9523cbf Add invalid schema/document pointers 2015-05-11 13:55:34 +08:00
miloyip
3f1e2c4003 Use allocator in SchemaDocument 2015-05-11 00:37:18 +08:00
miloyip
c54b7faf7c Change Document::ParseStream() to use stack allocator for Reader 2015-05-10 23:26:58 +08:00
miloyip
69414cb4d6 Fix MemoryPoolAllocator::Clear() to clear user-buffer 2015-05-10 22:54:47 +08:00
miloyip
01393e0145 Add uniqueItems in schema 2015-05-10 17:44:43 +08:00
miloyip
aeb5bda600 Use Hasher to match enum in schema 2015-05-10 12:17:23 +08:00
miloyip
74300ac718 Add Hasher::IsValid() 2015-05-10 10:26:33 +08:00
miloyip
1af660c8cb Add hasher 2015-05-10 08:59:58 +08:00
miloyip
8f5405a939 Fix compilation error 2015-05-09 22:49:36 +08:00
miloyip
3873bcb714 Fix some remote ref issues 2015-05-09 21:36:30 +08:00
miloyip
42f1194a8d Add remote reference 2015-05-09 20:24:47 +08:00
miloyip
ed7e9bc9f0 Refactor template parameters in schema 2015-05-09 15:58:01 +08:00
miloyip
4a0b59121e Move private schema classes into internal namespace 2015-05-09 14:33:25 +08:00
miloyip
422aebf3ac Clean up schema 2015-05-09 14:22:04 +08:00
miloyip
f0c3fa84fc Add Ref in schema 2015-05-09 11:46:45 +08:00
miloyip
1e4a3818ed Centralise schema ownership to SchemaDocument 2015-05-09 09:19:22 +08:00
miloyip
a576a0f5d5 Merge branch 'master' into schema 2015-05-09 08:40:55 +08:00
miloyip
63a1db0907 Fix a bug in Pointer 2015-05-09 08:38:27 +08:00
miloyip
74f1bc582b Add schema map in SchemaDocument 2015-05-09 08:37:49 +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
5f548ac9a1 Fix a bug related to if block 2015-05-08 15:22:28 +08:00
miloyip
dec1225c07 Fix warning and runtime delete error. 2015-05-08 15:07:31 +08:00
miloyip
fff931b512 Fix another compilation error 2015-05-08 14:09:46 +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
3d3555d373 Use move semantics for property name 2015-05-07 23:37:05 +08:00
miloyip
242d67fa8d Handle all properties in schema 2015-05-07 23:05:05 +08:00
miloyip
e9dd5fffa6 Add schema dependencies (not handling missing property)
[ci skip]
2015-05-07 18:27:17 +08:00
miloyip
9e907ea219 Remove unused multiTypeSchema 2015-05-07 17:22:16 +08:00
Milo Yip
761561a28d Fix clang compilation and a memory leak 2015-05-07 17:09:55 +08:00
miloyip
1948fb5786 Fix multipleOf in schema tests 2015-05-07 16:42:41 +08:00
miloyip
e33049d288 Fix minLength & maxLength with code point instead of code unit 2015-05-07 16:15:09 +08:00
miloyip
9c0e409ff2 Fix "additional items do not match schema" 2015-05-07 15:36:48 +08:00
Milo Yip
f19a1b6abc Fix clang errors/warnings 2015-05-07 15:12:25 +08:00
miloyip
bbbd1c6f5e Schema code simplification 2015-05-07 15:05:55 +08:00
miloyip
838e29f482 Remove polymorphism in schema 2015-05-07 10:26:13 +08:00