Tristan Penman
bd1f707f8c
Merge pull request #201 from tyler92/improve-fuzzing
...
Fuzzing improvements
2024-10-22 14:10:17 +11:00
Tristan Penman
cc6ca369d3
Merge pull request #197 from tyler92/fix-buffer-overflow
...
Fix buffer overflow in u8_strlen
2024-10-22 10:03:24 +11:00
Tristan Penman
ad1e184b1c
Merge pull request #199 from tyler92/stack-overflow-invalid-ref
...
Fix stack overflow for unresolved references
2024-10-21 20:42:00 +11:00
Tristan Penman
65d4d68373
Fix up include grouping
2024-10-21 09:45:24 +11:00
Tristan Penman
7fd212f68d
Merge pull request #198 from tyler92/division-by-zero
...
Prevent potential division by zero
2024-10-21 08:43:50 +11:00
Mikhail Khachayants
63c56dd730
Prevent potential division by zero
2024-10-21 00:16:06 +03:00
Mikhail Khachayants
48e4099ad2
Fuzzing improvements
2024-10-20 14:36:13 +03:00
Mikhail Khachayants
1c67b948b6
Fix stack overflow for unresolved references
2024-10-20 13:47:54 +03:00
Mikhail Khachayants
b7c051fbc1
Fix buffer overflow in u8_strlen
2024-10-19 00:02:36 +03:00
Tristan Penman
fc9ddf14db
Fix bug in difference() for rapidjson
2024-08-28 13:02:35 +10:00
Tristan Penman
a0e05907ae
Tidy up regex changes
2024-05-17 08:52:22 +10:00
Tristan Penman
31ce4a5948
Merge branch 'sandwoodK-master'
2024-05-17 08:35:18 +10:00
sandwoodK
2431bdeaa6
Ability to customize regular expression engine
2024-05-02 09:18:28 +02:00
Tristan Penman
c1dde4e270
Merge pull request #190 from BohdanBuinich/compatibility_with_new_boost_lib
...
Compatibility with boost-1.85.0
2024-04-24 15:47:41 +10:00
BohdanBuinich
c54607119d
Compatibility with boost-1.85.0
...
Starting from boost version 1.85.0, json::error_code is now deprecated
Changes added here:
bacc644f93
2024-04-23 01:08:04 +03:00
Tristan Penman
27f7e75ca1
Merge pull request #187 from jackorobot/move_schema
...
Implemented functioning move constructors/operators
2024-01-07 11:41:11 +11:00
Tristan Penman
6599e8b33a
Merge pull request #188 from Rail-Connected/pullreq1
...
Various cosmetic fixes.
2024-01-07 11:27:46 +11:00
Maarten van der Schrieck
96f4740ab6
README.md: Fix un-escaped underscore characters and typo.
2024-01-06 22:37:00 +01:00
Maarten van der Schrieck
c70f22c506
updated examples/valijson_nlohmann_bundled.hpp
2024-01-06 22:33:22 +01:00
Maarten van der Schrieck
a40ec5ea96
Various fixes, reducing compiler warnings.
...
My compiler gave various warnings, which are easily fixed.
- redundant ";"
- missing NORETURN attributes
- inline @param documentation not in line with functions
- include guard prefix "_" is reserved
2024-01-06 22:30:26 +01:00
Jesse Hoogervorst
299fe1c78d
Implemented Schema and Subschema move constructor and assignment operators.
...
Default implementations were not sufficient, since raw pointers are not actually moved correctly automatically, resulting in segmentation faults.
2024-01-04 15:05:37 +01:00
Tristan Penman
478f9a4671
Merge pull request #186 from jackorobot/move_schema
...
Added explicit default move constructors/operators
2023-12-17 15:42:40 +11:00
Jesse Hoogervorst
37dceaa5db
Added explicit default move constructor/operator to Schema and Subschema to enable move semantics for these classes
2023-12-15 10:44:18 +01:00
Tristan Penman
0b4771e273
Merge branch 'domire8-fix/yaml-cpp-adapter'
2023-12-15 10:55:10 +11:00
Tristan Penman
afc92d5428
Change isString to IsString
2023-12-15 10:54:41 +11:00
Dominic Reber
5d7a6c5c4c
Fix isString() method in yaml_cpp_adapter
2023-12-13 15:48:55 +01:00
Tristan Penman
9de00d75b4
Bump minimum cmake version to 3.5.1
2023-11-01 16:41:02 +11:00
Tristan Penman
d52d2dd053
Use string instead string_view
2023-08-26 09:03:02 +10:00
Tristan Penman
373576a3d2
Process each invalid example separately in picojson_format_test
2023-08-24 20:52:18 +10:00
Tristan Penman
0b7efb3763
Make subschema constraint validation clearer
2023-08-24 20:45:43 +10:00
Tristan Penman
0530af0709
Improve PicoJSON format test example
2023-08-24 20:40:00 +10:00
Tristan Penman
cd9258c241
Add picojson example
2023-08-24 09:38:06 +10:00
Tristan Penman
138c3785ef
Tweak behaviour of format constraint validation
2023-08-24 09:37:44 +10:00
Tristan Penman
92b9514bde
Revert "fail with the first unmet constraint to avoid running into type mismatches"
...
This reverts commit aee67d58f0
.
I believe the original intention of this code was to fall through to
later constraints, even if earlier constraints were not satisfied. This
is not captured by any of the tests in the test suite, which is an
oversight on my part.
2023-08-24 09:18:24 +10:00
Marco Porsch
aee67d58f0
fail with the first unmet constraint to avoid running into type mismatches
2023-08-23 15:42:06 +02:00
Marco Porsch
f716227d0a
check the type constraint first because others might rely on it
2023-08-23 15:41:15 +02:00
Tristan Penman
f1902801d6
Merge pull request #179 from DavidKorczynski/cifuzz-int
2023-07-15 15:55:28 +10:00
David Korczynski
3c63c49d60
Add CIFuzz Github Action
...
Signed-off-by: David Korczynski <david@adalogics.com>
2023-07-11 11:13:57 -07:00
Tristan Penman
4d857316f2
Revert "Bump nlohmann-json submodule"
...
This reverts commit 8065a5accc
.
2023-06-10 12:11:50 +10:00
Tristan Penman
8065a5accc
Bump nlohmann-json submodule
2023-06-10 09:00:53 +08:00
Tristan Penman
5dcec3ef49
Merge pull request #177 from taichi-dev/master
2023-06-10 10:55:19 +10:00
yekuang
94ca772cc7
[Build] Make it work on Linux ( #1 )
2023-06-07 22:52:25 +08:00
Cheng Cao
780bf06715
Rework adapter to build on VS 2022 with latest JSON for modern C++
2023-06-05 14:50:43 -07:00
Tristan Penman
f7399c1a24
Merge pull request #175 from cbrumgard/master
2023-05-19 11:26:40 +10:00
Chris Brumgard
9e5b479b95
Fixed validation_visitor to work with adaptors that only support the
...
forward_iterator_tag for array value iterators.
2023-05-18 10:11:37 -04:00
Tristan Penman
2acde8ec54
Merge pull request #172 from silvergasp/ci
...
Adds Github Actions configuration for CI
2023-02-26 13:09:30 +11:00
Nathaniel Brough
e339c2c2ef
Adds Github Actions configuration for CI
2023-02-25 11:25:30 -08:00
Tristan Penman
65ba76e493
Merge pull request #169 from AustinHaigh-Hach/fix-typos
2022-11-02 09:25:22 +11:00
Austin Haigh
f1ff351828
fix typos in preprocessor macros
2022-11-01 13:29:16 -06:00
Tristan Penman
78ac8a737d
Correct token replacement issue
2022-10-26 21:01:58 +11:00