Commit Graph

62 Commits

Author SHA1 Message Date
Joao Paulo Magalhaes
d4e45195fd [impl] add tag lookup 2022-02-12 13:25:17 +00:00
Joao Paulo Magalhaes
6063311326 [fix] ensure accepting ':' as the full string in block maps 2022-02-10 00:57:44 +00:00
Joao Paulo Magalhaes
e133ae701b [impl] add parsing of tabs after : and - 2022-02-09 15:18:48 +00:00
Joao Paulo Magalhaes
09fa2e07bc [fix] fix edge cases for explicit keys 2022-02-06 05:39:10 +00:00
Joao Paulo Magalhaes
fed929eddc [fix] re #208: ensure there is a trailing newline on block literals with spaces only 2022-02-04 19:42:11 +00:00
Joao Paulo Magalhaes
a978fea765 [fix] re #205: fix parsing of escaped tabs in double-quoted scalars 2022-02-04 17:35:28 +00:00
Joao Paulo Magalhaes
8a6baa6c7d [refac] rewrite test suite case discovery to use the premade cases 2022-02-04 14:25:03 +00:00
Joao Paulo Magalhaes
8d59f956e7 [fix] re #208 fixes to whitespace in block folded scalars 2022-02-03 17:07:17 +00:00
Joao Paulo Magalhaes
f99d66f8d7 [fix] block scalars: fix scanning quirks with indentation level 2022-02-02 12:36:37 +00:00
Joao Paulo Magalhaes
5e4e4ca54a [fix] re #208 block literals: fix parsing of trailing whitespace 2022-02-02 12:36:34 +00:00
Joao Paulo Magalhaes
cd901df9d0 [fix] re #203: do not convert null, ~ or empty to none while parsing 2022-01-28 21:06:45 +00:00
Joao Paulo Magalhaes
835bbddd9e [fix] re #205: add missing escaped characters in dquo scalars 2022-01-28 19:07:21 +00:00
Joao Paulo Magalhaes
07c13e27cf [impl] re #204 dquo scalars: add escaping of \x \u \U re 2022-01-27 00:42:41 +00:00
Joao Paulo Magalhaes
843d2a5435 [test] re #200: update yaml-test-suite and add new exclusions 2022-01-23 03:11:53 +00:00
Joao Paulo Magalhaes
902eeead9c [fix] wrong url for yaml-test-suite
fixes #201
[ci skip]
2022-01-23 00:50:00 +00:00
Joao Paulo Magalhaes
d37f035a2e [chore] update test suite format 2021-12-26 17:05:00 +00:00
Joao Paulo Magalhaes
a1f6f1ee12 [fix] parsing of multiline plain scalars inside flow maps 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
25d4d6c421 [fix] fix folding of block scalars with leading indented parts 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
affcb194bd [fix] fix folding of indented block parts 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
9e9dc05290 [fix] fix filtering trailing whitespace in quoted scalars 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
e25ffbacb9 [fix] ensure filtering of tabs in single-quoted scalars 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
7cd37b658e [fix] ensure filtering of all multiline quoted scalars 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
6cb02b9bd8 [fix] fix filtering of double-quoted scalars 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
a9451d63a1 [fix] yaml test suite: fix filtering of event scalars 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
4c23563f5e [fix] block scalars, literal and folded 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
de14e00819 [chore] update parts listing 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
9750f03235 [fix] block scalars at 0 indentation must stop on stream token 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
e18a9a4cf1 [chore] test suite tidying 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
5040472b82 [fix] keys with ? are explicit, not complex 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
24017b7213 [fix] test suite specs: some of the tests have a missing --- in out-yaml 2021-11-03 15:42:16 +00:00
Joao Paulo Magalhaes
b9ee884c2d [fix] block scalars: fix inference of block indentation 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
1d45af8053 [fix] block scalars must accept chomp and indentation in any order 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
48635095dc [wip]
[ci skip]
2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
f0a3a52cd2 [fix] plain scalars: stop on comment sequence " #" 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
583309f610 [fix] plain scalars: fix parsing of trailing whitespace 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
83d956c7fb [fix] plain scalars: fix parsing of unindented scalars at root level 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
61aece8be1 [fix] plain scalars: fix parsing of whitespace lines 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
ce1c11d2fa [fix] fix parsing of tags followed by comments in seq values 2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
ff1d63075c [wip] test suite: add specific tests for folded and quoted scalar failures
[ci skip]
2021-11-03 15:42:15 +00:00
Joao Paulo Magalhaes
6f7cf152b9 [chore] update test suite status in the README [skip ci] 2021-08-22 13:30:28 +01:00
Joao Paulo Magalhaes
b5e1bdd45d [fix] plain scalars: trim trailing whitespace (35KP 3MYT 36F6 H2RW UGM3) 2021-08-22 04:10:04 +01:00
Joao Paulo Magalhaes
125add6917 [fix] fix problems with complex keys (3MYT, 7W2P, ZWK4) 2021-08-22 02:36:20 +01:00
Joao Paulo Magalhaes
4a5096d54d [fix] fix parsing of comments within implicit keys (X8DW) 2021-08-21 01:08:25 +01:00
Joao Paulo Magalhaes
21b81b58ec [fix] fix parsing of flow maps with ommitted values (4ABK) 2021-08-21 00:04:55 +01:00
Joao Paulo Magalhaes
ede65299bc [fix] fix filtering of double-quoted scalars (4ZYM,7A4E,TL85) 2021-08-19 20:20:24 +01:00
Joao Paulo Magalhaes
a4c8bc5ef4 [tidy] test suite parts: ensure exclusions are ordered 2021-08-18 01:21:45 +01:00
Joao Paulo Magalhaes
db38499e9f [fix] empty docs are now parsed as a docval with null scalar (6XDY,6ZKB,PUW8) 2021-08-17 16:48:53 +01:00
Joao Paulo Magalhaes
c74478d3b2 [fix] fix filtering of indented regions in folded scalars (7T8X) 2021-08-17 16:48:53 +01:00
Joao Paulo Magalhaes
29c1214be5 [fix] fix parsing of implicit scalars when tags are present (PW8X) 2021-08-17 16:48:53 +01:00
Joao Paulo Magalhaes
63db9d6208 [fix] improve behavior with tabs 2021-08-17 16:48:53 +01:00