-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re #480 : improve deserialization of empty strings
- Deserializing an empty quoted string *will not* cause an error. Previously, this was causing an error. - Deserializing an empty string *will* cause an error. - Ensure keys are deserialized using all the rules applying to vals: add readkey() analogs to read(). - Added `KEYNIL` and `VALNIL` to `NodeType_e`, used by the parser to mark the key or val as empty. This changed the values of the `NodeType_e` enumeration. - Added `NodeType::key_is_null()` and `NodeType::val_is_null()`.
- Loading branch information
Showing
31 changed files
with
1,080 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
## Fixes | ||
|
||
- Fix [#480](https://github.com/biojppm/rapidyaml/issues/480) ([PR#489](https://github.com/biojppm/rapidyaml/pull/489)): | ||
- Deserializing an empty quoted string *will not* cause an error. | ||
- Deserializing an empty string *will* cause an error. | ||
- Ensure keys are deserialized using all the rules applying to vals. | ||
- Added `KEYNIL` and `VALNIL` to `NodeType_e`, used by the parser to mark the key or val as empty. This changed the values of the `NodeType_e` enumeration. | ||
- Added `NodeType::key_is_null()` and `NodeType::val_is_null()`. | ||
- [PR#488](https://github.com/biojppm/rapidyaml/pull/488): | ||
- add workarounds for problems with codegen of gcc 11,12,13 | ||
- improve CI coverage of gcc and clang optimization levels | ||
- [BREAKING] Fix [#477](https://github.com/biojppm/rapidyaml/issues/477): changed `read<std::map>()` to overwrite existing entries. The provided implementations had an inconsistency between `std::map` (which wasn't overwriting) and `std::vector` (which *was* overwriting). | ||
- [BREAKING] Fix [#477](https://github.com/biojppm/rapidyaml/issues/477) ([PR#479](https://github.com/biojppm/rapidyaml/pull/479)): changed `read<std::map>()` to overwrite existing entries. The provided implementations had an inconsistency between `std::map` (which wasn't overwriting) and `std::vector` (which *was* overwriting). | ||
|
||
|
||
## Thanks | ||
|
||
- @Delian0 | ||
- @perlpunk |
Submodule c4core
updated
3 files
+3 −3 | src/c4/charconv.hpp | |
+0 −2 | src/c4/format.hpp | |
+0 −3 | src/c4/substr.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.