Commit Graph

357 Commits

Author SHA1 Message Date
Tristan Penman
0481a0bb69 Minor tidy up of const auto usage 2020-06-28 12:39:50 +10:00
Tristan Penman
94cef2fa8d Add example showing local file resolution 2020-06-26 20:05:26 +10:00
Tristan Penman
7a52fc88cd
Merge pull request #88 from silbo/master
Add QJsonArray include to use doc.array()
2020-06-10 14:35:48 +10:00
Silver Kuusik
622f9d6839
Add QJsonArray include to use doc.array()
* otherwise invalid use of incomplete type 'class QJsonArray'
2020-06-10 06:18:58 +02:00
Tristan Penman
83af012942
Merge pull request #87 from silbo/master
Add missing include for DerefProxy
2020-06-09 09:40:43 +10:00
Silver Kuusik
4e1b3be88e
Add missing include for DerefProxy 2020-06-08 23:00:21 +02:00
Tristan Penman
12a1d5e006 Switch back to using embedded copy of JSON-Schema-Test-Suite 2020-06-03 19:58:48 +10:00
Tristan Penman
aa0f766b03 Merge branch 'master' of github.com:tristanpenman/valijson 2020-06-03 19:56:37 +10:00
Tristan Penman
8febb456f4 Merge remote-tracking branch 'origin/master' into v6-and-v7-support 2020-06-03 19:54:48 +10:00
Tristan Penman
a4a1f98186 Update README to reflect current level of v7 support 2020-06-03 19:51:23 +10:00
Tristan Penman
92d369e916
Merge pull request #81 from myxo/master
Fix warning C4244 on x86 target
2020-02-06 11:45:07 +11:00
myxo
8866e6da24 Fix warning C4244 on x86 target
Warning message: "warning C4244: '=': conversion from 'uint64_t' to 'std::size_t'"
2020-02-04 16:08:50 +03:00
Tristan Penman
4cf83102af Minor whitespace fix 2020-01-08 14:39:22 +11:00
Tristan Penman
cdfaf7e434
Merge pull request #80 from beg0/master
Fix bad iterator comparaison when resolving json pointer
2020-01-08 14:34:17 +11:00
Cédric CARRÉE
4338affeb3 Fix bad iterator comparaison when resolving json pointer
When resolving a json pointer and use an empty string as a
referenceToken, the value is coerced as an empty object and a temporary empty
object is returned from 'asObject()'. Then we used to compare 2
iterators from 2 differents temporary empty objects.
2020-01-07 16:36:56 +01:00
Tristan Penman
42cdb3f5b3 Add file-level documentation to std_string_adapter.hpp 2019-10-10 13:32:16 +11:00
Tristan Penman
6287656e2b Implement propertyNames constraint 2019-10-10 13:23:42 +11:00
Tristan Penman
dcddea604d Add StdStringAdapter to support propertyNames constraint 2019-10-10 13:22:51 +11:00
Tristan Penman
bae7991fda Update some old-style for loops 2019-10-09 21:42:36 +11:00
Tristan Penman
05bd44744f Change default draft version 2019-10-09 21:22:36 +11:00
Tristan Penman
0abf633bc0 Fix typos in tests 2019-09-26 10:59:45 +10:00
Tristan Penman
caf5543402 Rename internal function for consistency 2019-09-26 10:59:36 +10:00
Tristan Penman
5f8c73fdf7 Update 'dependencies' constraint to pass v7 tests 2019-09-24 21:46:03 +10:00
Tristan Penman
5430e79754 Update 'required' constraint to match v7 tests 2019-09-24 21:22:15 +10:00
Tristan Penman
98d804a367 Add support for const constraint 2019-09-24 20:38:45 +10:00
Tristan Penman
caff3cdbd9 Fix up comments 2019-09-24 20:13:46 +10:00
Tristan Penman
c4f15c92cc Replace NULL with nullptr in schema_parser.hpp 2019-09-24 14:12:03 +10:00
Tristan Penman
f71355b90f Add support for 'contains' constraint 2019-09-24 14:08:45 +10:00
Tristan Penman
4d10ac66a8
Merge pull request #77 from Delgan/patch-1
Add the name of the unexpected object's property to the corresponding error message
2019-09-11 10:37:12 +10:00
Delgan
1e6a8c778f
Add the name of the unexpected object's property to the corresponding error message 2019-09-10 21:22:51 +02:00
Tristan Penman
ba44a8d641 Replace NULLs with nullptr in validation_visitor.hpp 2019-09-03 21:38:08 +10:00
Tristan Penman
866f5761bf Improve support for boolean subschemas 2019-08-31 21:37:55 +10:00
Tristan Penman
c89d1d89cd Add passing test cases for draft 7 2019-08-30 11:00:21 +10:00
Tristan Penman
c210d07c61 Update AllOfConstraint and AnyOfConstraint to support draft 7 2019-08-30 10:33:56 +10:00
Tristan Penman
a285ed0fbe Add test cases for draft 7 exclusiveMaximum, exclusiveMinimum, maximum and minimum constraints 2019-08-29 22:21:30 +10:00
Tristan Penman
9b299c9517 Fix issues in parsing of if/then/else constraints 2019-08-29 22:18:04 +10:00
Tristan Penman
ef61c8e0de Support for draft 7 exclusiveMaximum and exclusiveMinimum constraints 2019-08-29 21:34:22 +10:00
Tristan Penman
925ff8ff68 Initial support for 'if', 'then' and 'else' subschemas 2019-08-29 10:31:37 +10:00
Tristan Penman
dac4cff42f Whitespace fixes 2019-08-28 21:27:45 +10:00
Tristan Penman
c8dfd94035 Merge remote-tracking branch 'origin/master' into v6-and-v7-support 2019-08-27 12:38:34 +10:00
Tristan Penman
d3a560d329 Remove non-pragma header guards, and cleanup whitespace 2019-08-27 12:32:47 +10:00
Tristan Penman
dbe09e0bab Tidy up handling of optional dependencies 2019-08-27 12:19:27 +10:00
Tristan Penman
d0f67e4afc Remove old header inclusion guards 2019-08-22 22:19:09 +10:00
Tristan Penman
162f246e63 Add placeholders for conditional constraint 2019-08-22 22:12:40 +10:00
Tristan Penman
0f9e8cacf8 Disable unnecessary C++11 checks in source code 2019-08-20 22:38:19 +10:00
Tristan Penman
757e2fa2aa Update xcode project files 2019-08-20 22:22:38 +10:00
Tristan Penman
b36de50d4a Update xcode project files 2019-08-20 22:21:53 +10:00
Tristan Penman
38d4b15ac8 Minor fixes for test suite build 2019-08-20 21:59:30 +10:00
Tristan Penman
99810fa60e Minor fixes for test suite build 2019-08-20 21:55:23 +10:00
Tristan Penman
9354601f11 Switch to using JSON-Schema-Test-Suite as a git submodule 2019-08-20 21:52:29 +10:00