1450 Commits

Author SHA1 Message Date
miloyip
e20645f0d1 Add optional allocator for Pointer default/copy constructor 2015-05-17 22:20:56 +08:00
miloyip
a4cbd3f81b Refactor SchemaValidator.TestSuite to use MemoryPoolAllocator explicitly 2015-05-17 20:44:11 +08:00
miloyip
3919348602 Refactor hasher construction 2015-05-17 20:43:52 +08:00
miloyip
69c58b584f Use state allocator for all context states 2015-05-17 18:58:57 +08:00
miloyip
87d1f95551 Use state allocator for creating parallel validators 2015-05-17 18:06:43 +08:00
miloyip
7ef7ba13f0 Refactor: aggregate parallel validators 2015-05-17 13:07:12 +08:00
miloyip
5e220bbfbc Change schema literal strings to Value type, eliminates StrLen() 2015-05-17 11:02:53 +08:00
miloyip
a92c3b6995 Make schema working for UTF-16 and other encodings 2015-05-17 10:21:58 +08:00
miloyip
332c226f5e Remove Schema::Property::typeless member variable 2015-05-16 17:37:53 +08:00
Milo Yip
4335a62219 Merge remote-tracking branch 'origin/master' into schema 2015-05-16 16:28:29 +08:00
Milo Yip
9acea17d2f Fix nested ref 2015-05-16 16:15:00 +08:00
Milo Yip
5b6061c7e6 Fix meta schema validation 2015-05-16 15:51:36 +08:00
miloyip
11f666a793 Add more verbose info 2015-05-16 10:52:16 +08:00
miloyip
371b9286b1 Refactor move pointer into schema 2015-05-16 10:25:10 +08:00
miloyip
d452a548b8 Add verbose output for schema diagnosis 2015-05-16 10:13:36 +08:00
miloyip
84d74052c1 Fix memory bugs 2015-05-15 21:18:52 +08:00
Milo Yip
0fb2b803b8 Change $ref handling mechnism 2015-05-15 19:53:22 +08:00
Milo Yip
302d1b735f Re-generate images in OSX 2015-05-14 16:56:52 +08:00
Milo Yip
3e56b0c35d Add one more commit about std::string from master 2015-05-14 15:49:33 +08:00
Milo Yip
0e9fe888b7 v1.0.2 release 2015-05-14 15:49:26 +08:00
Milo Yip
424abf1edc Merge pull request #335 from miloyip/member_stdstring
Add Value::XXXMember(...) overloads for std::string
2015-05-14 14:56:35 +08:00
Milo Yip
82ff580faa Merge pull request #342 from miloyip/issue340_doubleparsebug
Fix some numbers parsed incorrectly
2015-05-14 14:00:47 +08:00
Milo Yip
add5a50581 Fix some numbers parsed incorrectly
Fix #340
2015-05-14 12:03:21 +08:00
miloyip
e0a8a327ea Add meta schema test (failing now) 2015-05-13 20:14:41 +08:00
miloyip
979088de60 Add 64-bit integer schema validations 2015-05-13 09:44:25 +08:00
Milo Yip
f8b3c65d7d Merge pull request #337 from Phyks/master
Forgot to update the CMakeLists.txt in doc folder
2015-05-13 07:21:28 +08:00
Phyks
9c008b07ee Forgot to update the CMakeLists.txt in doc folder 2015-05-12 20:15:06 +02:00
miloyip
2786103abd Add Value::XXXMember(...) overloads for std::string 2015-05-12 22:48:14 +08:00
Milo Yip
7562d0219a Merge pull request #334 from Phyks/master
Fix CMakeLists for include as a thirdparty in projects
2015-05-12 13:42:50 +08:00
Phyks
89ad34cef4 Fix CMakeLists for include as a thirdparty in projects 2015-05-12 00:23:50 +02: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
Milo Yip
0edd743c83 Fix Document.UserBuffer test 2015-05-11 13:58:45 +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
Milo Yip
6b7e7d769d Fix gcc warning 2015-05-11 11:13:28 +08:00
Milo Yip
8c258405f2 Fix Document.UserBuffer test 2015-05-11 11:03:50 +08:00
Milo Yip
544e26c147 Increase user buffer in documents 2015-05-11 10:33:29 +08:00
Milo Yip
f788702147 Fix compilation error 2015-05-11 10:21:11 +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
573faa9025 Try to fix a gcc warning 2015-05-10 10:47:21 +08:00
miloyip
74300ac718 Add Hasher::IsValid() 2015-05-10 10:26:33 +08:00
miloyip
c040d26c79 Disable printing hash code 2015-05-10 10:23:15 +08:00
miloyip
8209077b8a Try to fix effc++ warning 2015-05-10 09:00:37 +08:00