Commit Graph

516 Commits

Author SHA1 Message Date
Pras Velagapudi
b685584e42 Add optimization for find implementation. 2022-02-13 06:28:03 -05:00
Pras Velagapudi
c688aa3bcb Add a unit test for object member access. 2022-02-13 06:08:42 -05:00
Pras Velagapudi
76c9f40c42 Added simple loading utility. 2022-02-13 05:38:54 -05:00
Pras Velagapudi
66424a1116 Added a column limit to the file. 2022-02-13 05:38:23 -05:00
Pras Velagapudi
f03461bb01 Fixed issue with YAML::Node reference usage. 2022-02-13 05:25:31 -05:00
Pras Velagapudi
7f23f3694b Fix unit tests to match property tree. 2022-02-11 19:22:14 -05:00
Pras Velagapudi
698936aee1 Added missing dep for YAML-cpp. 2022-02-11 19:17:07 -05:00
Pras Velagapudi
328db2f644 Initial pass at yaml-cpp support. 2022-02-11 19:13:43 -05:00
Tristan Penman
34f75118f0 Add note about GCC versions to readme 2022-02-10 10:45:07 +11:00
Tristan Penman
5ca87a6199 Remove very obsolete valgrind suppressions file 2022-02-09 22:17:16 +11:00
Tristan Penman
27d30658d2 Update vendored jsoncpp to version 1.9.5 2022-02-09 22:01:49 +11:00
Tristan Penman
c2822576a2 Update CMakeLists to use add_compile_definitions 2022-02-08 09:21:21 +11:00
Tristan Penman
f97013928d Remove unnecessary indentation from code snippets in readme 2022-02-07 21:41:29 +11:00
Tristan Penman
7d4ea9088d Add boost::json example and delete problematic constructors 2022-02-07 20:50:23 +11:00
Tristan Penman
d34f78b435 Improve error messaging when parsing schemas and documents 2022-02-06 20:14:37 +11:00
Tristan Penman
dd32f66df8 Build tests for fuzzing 2022-02-04 11:00:17 +11:00
Tristan Penman
8b5f253c78 Tweak readme formatting 2022-02-03 10:36:12 +11:00
Tristan Penman
a2e3958617 Remove Travis CI config 2022-02-03 10:35:29 +11:00
Tristan Penman
3940b3615c Mention web-based demo in readme 2022-02-03 10:01:59 +11:00
Tristan Penman
f5f979b07d Mention boost compiler warnings in README 2022-01-31 20:29:45 +11:00
Tristan Penman
80afdef597
Merge pull request #150 from jonpetri/jonpetri/cmake-improvements 2022-01-31 19:54:45 +11:00
Jon Petrissans
4622b958e4 Set valijson_BUILD_TESTS OFF by default in cmake
Avoids extra unnecessary dependencies by default.
2022-01-31 08:40:44 +01:00
Jon Petrissans
50010fd959 Make VALIJSON_USE_EXCEPTIONS interface definition 2022-01-31 08:40:44 +01:00
Jon Petrissans
c5dac2bc0b Install cmake export file 2022-01-31 08:40:44 +01:00
Jon Petrissans
c7d5f2cbec Remove valijson_INSTALL_HEADERS from cmake build
As the install is done separately from the build, no need to make header
installation optional.
2022-01-30 18:11:30 +01:00
Tristan Penman
bfb5860cbd Fix fuzzer build 2022-01-10 07:35:04 +11:00
Tristan Penman
7b8654382a
Merge pull request #147 from keith-bennett-airmap/keith/shellcheck 2022-01-07 11:32:16 +11:00
Keith Bennett
1f25558c21 make shellcheck clean
`$ bash ./shellcheck.sh`
```
Checking: /home/kbennett/src/public/valijson/tests/fuzzing/oss-fuzz-build.sh
Checking: /home/kbennett/src/public/valijson/shellcheck.sh
All scripts found (listed above) passed shellcheck
```
2022-01-06 16:05:37 -06:00
Tristan Penman
3c185cb896
Merge pull request #145 from mporsch/smart-pointer-memory-management 2021-12-25 22:35:48 +11:00
Marco Porsch
828fc87623 use implicit conversion of unique_ptr<T, DeleterA> to unique_ptr<const T, DeleterB>
relies on DeleterB being constructible from DeleterA
also uses that T* can always be converted to void* (but not the other way around)
2021-12-20 10:37:47 +01:00
Marco Porsch
cf841e10e9 use unique_ptr for memory management in constraints and subschema 2021-12-09 15:33:25 +01:00
Tristan Penman
4a99dd79d0 Add missing include 2021-12-07 09:53:09 +11:00
Tristan Penman
75ada05cf8 Use strong types in external_schema example, and update README 2021-11-06 08:53:39 +11:00
Tristan Penman
26f3a8476f Less const-ness 2021-11-06 08:44:09 +11:00
Tristan Penman
3eaf1bb93e Add note about VALIJSON_USE_EXCEPTIONS to the README 2021-11-05 09:59:35 +11:00
Tristan Penman
4990e352a7 Update inspector to enable and handle exceptions 2021-11-05 08:57:42 +11:00
Tristan Penman
af071f0198 Update inspector build to work with Qt6 2021-11-05 08:33:43 +11:00
Tristan Penman
7b6d22f166 Update CMakeLists.txt to check for boost/json.hpp before building tests 2021-10-06 20:33:39 +11:00
Tristan Penman
5da8973097
Merge pull request #139 from YangJiao1996/master
Always apply callback function when validating schema
2021-10-06 10:57:22 +11:00
Yang Jiao
0f0cc2bc55 Always apply callback function when validating schema 2021-10-05 18:23:27 -04:00
Tristan Penman
9a2ebbdec2
Merge pull request #137 from veselypeta/readme-cmake
update README add with cmake
2021-09-17 09:24:26 +10:00
veselypeta
e5530febe7 update README add with cmake 2021-09-16 14:34:05 +01:00
Tristan Penman
2dfc7499a3 Update Authors file 2021-09-15 16:23:10 +10:00
Tristan Penman
6dab4978be Update README and tweak syntax in Boost.JSON adapter 2021-09-15 10:15:03 +10:00
Tristan Penman
2ecd211952
Merge pull request #136 from matty0ung/boostjson
Add support for Boost.JSON
2021-09-15 10:12:26 +10:00
Tristan Penman
b1119cccd6
Merge pull request #135 from matty0ung/uris
Support fetching sub-schemas from other files
2021-09-11 09:14:30 +10:00
Matt Young
f5cf601efa Add Boost.JSON support 2021-09-10 08:55:03 +02:00
Matt Young
14325788f8 Add Boost.JSON support 2021-09-10 08:54:00 +02:00
Matt Young
d3104ea8d8 Support fetching sub-schemas from other files 2021-09-09 19:27:13 +02:00
Tristan Penman
ad7dac75a5
Merge pull request #133 from rayvincent2/feature/add-urn-reference-support
Add support for urn document references
2021-08-26 10:12:09 +10:00