Commit Graph

434 Commits

Author SHA1 Message Date
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
Tristan Penman
1844241d2a Make Boost a truly optional dependency 2019-08-20 11:18:58 +10:00
Tristan Penman
56fb36dff9 Improve optional example and test suite options in CMakeLists.txt 2019-08-20 11:11:42 +10:00
Tristan Penman
c19a02bff0
Merge pull request #69 from drdavella/use-maybe
Fix places in adapter implementation where non-strict checks should be used
2019-08-20 10:44:22 +10:00
Tristan Penman
f5724d7c62
Merge pull request #74 from webfolderio/master
Added vcpkg port link
2019-05-09 07:33:51 +10:00
WebFolder OÜ
6adf9f50c1
Added vcpkg port link 2019-05-08 23:43:23 +03:00
Tristan Penman
dd084d7474
Merge pull request #65 from drdavella/inherit-docuri
Allow findAbsoluteDocumentUri to be overridden by subclasses of SchemaParser
2018-11-17 22:35:57 +11:00
Tristan Penman
93c69a729f
Merge pull request #71 from cjkoenig/update_rapidjson
Update rapidjson to v1.1.0
2018-10-30 21:58:34 +11:00
Tristan Penman
dd17741f4b
Merge pull request #68 from sebastianst/cmake-prefix
cmake: Add prefix to public options
2018-10-29 21:49:09 +11:00
Christoph König
12425ff0be Update rapidjson to v1.1.0 2018-10-24 12:05:24 +02:00
Daniel D'Avella
25c5a5df51 Fix instances in basic_adapter that should use maybe 2018-09-06 09:13:12 -04:00
Daniel D'Avella
d23f4047ed Fix instances in schema_parser.hpp that should use maybe* 2018-09-06 09:13:12 -04:00
Sebastian Stammler
61355b7d73 cmake: Add prefix to public options 2018-09-01 22:27:29 +02:00
Daniel D'Avella
67efb56b2c Allow findAbsoluteDocumentUri to be overridden by subclasses of SchemaParser 2018-08-28 13:41:22 -04:00
Tristan Penman
c2f22fddf5 Minor change to internal/optional.hp so that __has_include is used only if __cplusplus >= 201703 2018-08-02 12:07:51 +10:00
Tristan Penman
a81780e8c7 Auto-update of Xcode project settings for Xcode 9.2 2018-08-01 14:44:27 +10:00
Tristan Penman
d91991c2d1 Whitespace corrections for schema_parser.hpp 2018-08-01 14:43:40 +10:00
Tristan Penman
69b2bec157 Produce a more useful error message when attempting to parse a schema from a JSON value that is not an object 2018-08-01 14:39:43 +10:00
Tristan Penman
a95be7a780 Upgrade bundled version of nlohmann json to v3.1.2 2018-08-01 14:39:43 +10:00
Tristan Penman
60e35eb58a
Merge pull request #61 from TKussel/master
Inclusion of current's cmake module directory for nested projects
2018-05-31 15:00:10 +10:00
Tobias Kussel
7cbce6dca6 Inclusion of current's cmake module directory for nested projects 2018-05-30 10:43:44 +02:00
Tristan Penman
d9c4f22f30 Address std::allocator deprecation warning in custom_allocator.hpp 2018-03-08 11:10:39 +11:00
Tristan Penman
f68cd48e0c
Merge pull request #59 from drolevar/patch-1
Fix compilation warning on 32-bit systems.
2018-03-08 10:38:12 +11:00
Andrij Abyzov
c9fe25907f
Fix compilation warning on 32-bit systems.
On 32-bit systems size_t is a 32-bit type which causes the following warning:
warning: large integer implicitly truncated to unsigned type [-Woverflow]

There's no reason have size_t storage variable for uint64_t accessors.
2018-03-07 16:23:38 +01:00