88 Commits

Author SHA1 Message Date
Joao Paulo Magalhaes
a02ebda1f2 refactor error API: show failed check conditions 2025-12-28 19:17:25 +00:00
Joao Paulo Magalhaes
d084cfddbc refactor error API: library 2025-12-28 18:58:05 +00:00
Joao Paulo Magalhaes
653eac9741 v0.10.0 2025-09-30 20:25:00 +01:00
Joao Paulo Magalhaes
ff16588141 rename c4/yml/detail/{parser_dbg => dbgprint}.hpp 2025-09-28 18:45:44 +01:00
Joao Paulo Magalhaes
47ec2fa184 v0.9.0 2025-04-10 20:51:13 +01:00
Joao Paulo Magalhaes
e65999dc4d v0.8.0 2025-02-15 11:03:52 +00:00
Joao Paulo Magalhaes
ff35392ce4 fix clang-tidy workflow and reported errors 2025-01-17 19:36:38 +00:00
Joao Paulo Magalhaes
9b8df62d9a v0.7.2 2024-08-26 19:21:47 +01:00
Joao Paulo Magalhaes
5ccf9a2446 v0.7.1 2024-08-15 17:41:17 +01:00
Marc Alff
022d2a2d65 Update CMakeLists.txt 2024-08-13 17:14:44 +01:00
Marc Alff
74974a4447 Fixes #458 2024-08-13 17:14:44 +01:00
Joao Paulo Magalhaes
837255cfc4 v0.7.0 2024-06-11 18:57:25 +01:00
Joao Paulo Magalhaes
735ba65bba refactor: event-based parser policy
rewrite parser based on events, rewrite filtering
separating the filter code to a different class
wip
wip
wip
filter single quoted is working
refactor to filter processor wip
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted seems to be working
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted wip
double quoted working!
filter plain scalar wip
wip
filter plain scalar wip
wip
test filter processors
fix write in inplace::translate_esc
block literal wip
block literal wip
block literal wip
block literal wip
block literal wip
block literal wip
block literal working!
filter block folded wip
filter block folded wip
cleanup filter
filter locations are needed only for double quoted scalars
add FilterResult to encapsulate validity
prepare filter for using in parser
in-parser filtering wip
filter empty block literals
filter block folded ok
all filters working
moving filters to parse wip
fix block_folded
fixing block folded WIP
new filter: all tests passing!
fix sanitizer issues
refactor: harmonize parser filtering function names
wip ci fixes
coverage wip
filter arena no longer needed
double quoted filter wip
fix wip
fix wip
fix wip
wip: inplace mid-extending vs end-extending
all tests ok
wip
wip
wip2
wip
wip
wip doc
wip doc
wip anchor
fix newlines in emit of docs
wip ref
wip new parser
wip new parser
wip new parser
fix
wip new parser
wip new parser
wip new parser
wip new parser
wip new parser: tag directives
wip new parser: tag resolving
wip new parser: more sink edge cases
wip new parser: key containers working in the sink
prepare event sink stack
tree parse wip
cleanup event sink
tree parse wip
tree parse wip
tree parse wip
tree parse wip: now parsing simple flow seqs!
new parser wip: flow seqs: added anchor/ref parsing
new parser wip: seq flow goes on while there is a seq flow
new parser wip: seqimap events
new parser wip: seqimap parsing
new parser wip: now parsing flow maps!
wip
wip
new parser wip: block seqs wip
new parser wip: block maps wip
wip
wip
wip
map anchors ok
tags wip
anchors and tags now working
add tests for container keys
structure wip
key containers: working in events from yaml!
wip
wip
docs wip
qmrk wip
qmrk seq blck
qmrk wip
fix seqimap again
qmrk with tags
doc wip
doc wip
doc wip
doc wip
doc wip
doc wip
remove old parsing functions
fix
wip buffered events for container keys
ditto
ditto
ditto
ditto
container keys seem to be working
report error for container keys
flow key containers inside qmrk
remove unused functions
remove more unused functions
comments
wip
comments wip
wip
wip
wip
wip
most tests working
fix more tests
wip: refactor parser to not depend on tree
ditto
remove include dependencies
parser: do not use tree directly
fixes
fix annotations when starting child maps
more fixes
more fixes
more fixes
more fixes
block scalars
block scalars
fixes to scalars
wip
wip
wip
wip
add error location checks
wip
wip
sudden docs
sudden docs wip
sudden docs in block map/seq
first test cases for simple seq are working!
fixing test cases WIP
mark doc only on explicit docs or stream children
more progress
wip
wip
fixing indentless seqs wip
simple seqs are working!
nested_seqx2 working!
disable all un-refactored tests
fix empty_seq
fix empty map/file
empty scalar wip
fix empty scalars
fix test number
fix null vals and empty scalars
fix nested seq
map wip
map wip
fix maps!
fix nested maps!
fix map of seq
fix seq of map
fix sets
explicit key WIP
explicit key WIP
explicit key WIP
explicit key WIP
explicit keys working!
fix regressions
fix generic map seq tests
docs WIP
docs + indentation wip
remove unused functions
fix regressions
rename test_new_parser to test_parser_engine
docs working!
fix json
fix scalar names
anchors wip
anchors wip
anchors wip
anchors mostly working
anchors WIP
anchors/refs working!
move test lib files to a separate folder
tags wip
simple seq
simple seq
tag wip
tags working!
rename TestCase->TestCaseNode, into separate files
remove empty var
fix indentation
fix github_issues
fix github issues
single quoted wip
single quoted wip
single quoted is working!
double quoted wip
double quoted wip
fix plain scalar emit
literal scalar wip
literal scalar wip
literal scalar wip
literal scalar wip
literal scalar wip
move tags to separate source files
minor cleanup
block literal wip
block literal wip
add json parser
update benchmarks
improve json
fix compilation in clang
fix bm_emit
block literal wip
block literal wip
block literal wip
reference resolver
block literal wip
block literal working!
fix regressions
block folded wip
block folded wip
block folded wip
block folded wip
block folded wip
block folded wip
block folded wip
block folded wip: indented blocks
block folded wip
block folded wip
block folded wip
block folded working!
plain scalar wip
plain scalar wip
plain scalar working!
style wip
style wip
style wip
style wip
style WIP
scalar style wip
scalar style ok
fix regression of scalar plain
fix regression of double quoted wip
block literal wip (old)
double quoted wip
fix regression in double quoted
fix merge
add tests for merge
fix merge wip
fix vs compilation wip
parse overloads wip
parse overloads wip
parse overloads
fix merge for styles
fixes to quickstart wip
enable serialize test
improve test merge
fix test serialize
test tree wip
fix locations
test tree wip
test parser wip
fix test for yaml events (from tree)
refactor yaml event tests to use parameterized tests
event tests: use the scalar style information from the tree
event tests: use the container style information from the tree
event tests: working both from parser and tree
improve tag errors
fix tags wip
fix tags
fix bm
fix bm
fix test parser
fix tree wip
fix quickstart wip
fix test tree wip
fix some valgrind warnings
fix quickstart wip
fix tree & quickstart wip
fix docmaps with keyref as the first child
fix parsing into existing nodes
fix quickstart!
more fixes (~regressions from quickstart)
fix tool tests
fix test suite wip
fix test suite wip @215/1633
fix test suite wip @152/1633 91%
disable tests with container keys: 96/1633  94%
test suite wip
test suite parse: update missing errors
fix parsing of scalars starting with ?
fix skipping of whitespace in flow mode 47/1633 97%
fix missing anchor 45/1633 97%
fix neutral tag resolve 43/1633 97%
fix parse of yaml events 39/1633 98%
fix tags normalization 50/1633 97%
fix tags normalization 38/1633 98%
fix scalar with trailing colon : 36/1633 98%
exempt more missing errors. 32/1633 98%
30/1633 98%
22/1633 99%
18/1633 99%
backspace in dquo. 16/1633 99%
8/1633 99%
7/1633 99%
6/1633 99%
3/1633 99%
100% pass!
adding events parser to test suite and events tool
sneaky block container keys WIP
cleanup yaml-events
fix warning
wip
fix block key containers
test suite: fix event emitting WIP
100% tests pass!
fix missing doc UKK6
test suite: add tests comparing reference events and emitted events WIP
test suite: fix comparison of emitted events
100% test pass
enable tests for key containers. 100% pass!
enable error tests for event emitter. 100% pass!
update test suite exclusions
[refac] split event handlers
[fix] compilation in windows
windows exports
fix wip
wip
wip
wip
tab tokens working!
fix NodeType::operator== ambiguity in C++20
clean up test names
cover json as much as possible in the tests
fix the difficult failure in vs-x86-release builds
ensure json is tested in the test groups
fix some problems with the declaration/definition of test groups
minor cleanup in json emit
parser cleanup wip
cleanup and improve coverage
cleanup and improve coverage
cleanup and improve coverage
cleanup and improve coverage
wip cleanup and coverage
wip cleanup and coverage
style is no longer tagged WIP
tidy style API
ensure tree assertions go through the tree's callbacks
style API
bm wip
bm wip
changelog
tidy type+style predicates
add id_type to take place as the new type for node ids
update benchmarks
WIP fix warnings when the id_type is signed 32 bit
wip
wip [ci skip]
woops
wip [ci skip]
add test to ensure #422
fix rebase problem
fix noderef tests which were optimized
github workflows: update checkout version
add some more plain scalar tests
add yamlscript like test
quickstart: call sample_tags/directives on the proper place
add test for 379
update docs post rebase
fix rebase problems and update docs
test parse engine: fix gcc4.8 not accepting C++11 raw strings as macro args
investigating gcc x86 release failures
fix gcc x86 release failures (?)
gcc x86 release failures: cleanup print
update c4core
update swig interface
fix benchmark workflow
improve coverage
improve error logging functions
annotate unreachable to prevent error in visual studio
improve coverage
split event stack wip
split event stack wip
split event stack wip
tidy up some defines, and improve the dump function
emit: disable uncovered statements
2024-05-05 18:47:07 +02:00
Joao Paulo Magalhaes
620615fa0d v0.6.0 2024-04-28 22:52:03 +01:00
Joao Paulo Magalhaes
8ee464fc3b install is now optional
see #403
2024-04-18 23:57:12 +01:00
Joao Paulo Magalhaes
c3624a5a15 (Const)NodeRef: report errors through the closest callback 2024-04-04 16:59:49 +01:00
Joao Paulo Magalhaes
c0605977de v0.5.0 2022-08-20 17:31:48 +01:00
Joao Paulo Magalhaes
213b201d26 v0.4.1 2022-03-09 12:08:56 +00:00
Joao Paulo Magalhaes
ed547aa008 v0.4.0 2022-02-24 07:29:08 +01:00
Fargier Sylvain
f18b0b649e 🔧 gcc-4.8.5 support
- fix missing initializer for member [-Werror=missing-field-initializers]
 - fix ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
 - add gcc-4.8 tests
 - ubuntu has less patches than CentOS7 on gcc, some old bugs are not
   - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55971
   - https://sourceware.org/bugzilla/show_bug.cgi?id=25399
 - compat.cmake
   - disable some features with old compilers
2022-02-23 09:45:52 +01:00
Joao Paulo Magalhaes
13f799f4bf [test] add CI tests for tab tokens 2022-02-10 00:43:59 +00:00
Joao Paulo Magalhaes
70664a07d3 [fix] re yaml/yaml-runtimes#26 ensure RYML_BUILD_TOOLS brings c4fs 2022-01-22 19:19:22 +00:00
Joao Paulo Magalhaes
9b81208479 [test] re #194: add tool to consume yaml and emit test suite events
[ci skip]
2022-01-21 23:58:48 +00:00
Joao Paulo Magalhaes
ee581f8570 v0.3.0 2021-12-28 17:18:42 +00:00
Joao Paulo Magalhaes
1558853a63 [impl] add amalgamation into single header file 2021-12-28 11:46:27 +00:00
Joao Paulo Magalhaes
04af04e89d [test] do not link with yaml-cpp or libyaml 2021-12-25 14:51:41 +00:00
Joao Paulo Magalhaes
6993a7c56f v0.2.3 2021-11-04 17:55:27 +00:00
Joao Paulo Magalhaes
f14c4da7ee [fix] uninstall target should be prefixed to avoid name collisions 2021-10-02 16:09:35 +01:00
Joao Paulo Magalhaes
fda9058b67 v0.2.2 2021-09-25 23:12:18 +01:00
Joao Paulo Magalhaes
091c095547 [chore] upload python packages to pypi (test) 2021-09-16 16:12:47 +02:00
Joao Paulo Magalhaes
9f0e0fb184 v0.2.0 2021-07-09 20:36:56 +01:00
Joao Paulo Magalhaes
1b8cdb1a56 [wip] base64 sample 2021-07-02 18:21:31 +01:00
Konstantinos Chatzilygeroudis
74f35c0a4d [cmake]: add uninstall target 2021-03-06 01:08:41 +02:00
Joao Paulo Magalhaes
d21c43e927 chg: pkg: version 0.1.0 2020-11-02 23:46:15 +00:00
Joao Paulo Magalhaes
eba9c8be6c [chore] move testing to github actions 2020-10-29 22:37:44 +00:00
Joao Paulo Magalhaes
aa40845dcb [chore] update c4core
addresses #74 : deserialization of boolean strings
addresses #75 : cannot compile or install on MacOS
2020-10-25 19:24:36 +00:00
Joao Paulo Magalhaes
bc6cbcd61f fix compile error from sign comparison warning 2020-08-27 23:34:42 +01:00
Joao Paulo Magalhaes
26b4b3b29f fixes #80: extra pedantic warnings 2020-08-26 23:16:37 +01:00
Joao Paulo Magalhaes
3a21ed5213 fixes #78: use fixed commits for yaml-cpp to prevent random CI failures 2020-08-20 20:00:38 +01:00
Joao Paulo Magalhaes
f2f717485e compile into a DLL on windows 2020-05-25 23:17:39 +02:00
Joao Paulo Magalhaes
d6f6bd2956 add preprocessor: relaxed maps (with implicit top-level bools) 2020-04-19 22:19:06 +02:00
Joao Paulo Magalhaes
a5bd9ccf14 update c4proj 2020-01-22 00:02:10 +01:00
Joao Paulo Magalhaes
71710315a9 rename extern to ext 2020-01-16 00:42:28 +01:00
Joao Paulo Magalhaes
eab9050064 c4proj: fix install of incorporated targets 2020-01-15 01:23:40 +01:00
Joao Paulo Magalhaes
c6de006936 c4proj: remove need for prefix (store globally as project constant) 2020-01-05 23:30:52 +01:00
Joao Paulo Magalhaes
e31d75265e implement installs. first go, still a little rough. 2019-12-08 17:07:33 +01:00
Joao Paulo Magalhaes
6a5577a22d implemented INCORPORATE behavior for library dependencies 2019-10-31 22:56:16 +01:00
Joao Paulo Magalhaes
979609c06d tidy project folders 2019-10-31 22:55:04 +01:00
Joao Paulo Magalhaes
ab198afa3b update cmake: modules are now known as subprojects 2019-10-28 22:50:29 +01:00
Joao Paulo Magalhaes
9f7f079f22 Merge branch 'dev' of https://github.com/biojppm/rapidyaml into dev 2019-10-11 16:24:04 +02:00