- Oct 10, 2022
-
-
GHA authored
This makes the code independent of other encoding options like -gnatWx, -Wx
-
- Sep 10, 2021
-
-
Pierre-Marie de Rodat authored
-
- Sep 09, 2021
-
-
Pierre-Marie de Rodat authored
As an alternative to GitHub PR #9
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
This change breaks the public API. This is necessary, as in TOML 1.0.0 and unlike for previous format versions, arrays can hold values of heterogeneous types (for instance: [1, "foo", True]). This subtle change breaks the semantics of the API we had so far, which assumed that arrays could contain only homogeneous values (only integers, or only booleans, or ...). In order to adapt to the new semantics, this commit removes the constructor/accessors with this assumption.
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
The RFC 3339 allows "t" as the date/time separator and "z" for the UTC time zone instead of the "standard" upper case "T" and "Z". Fix the parser to handle these as well.
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
This makes the testsuite compatible with BurntSushi's testcase format.
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
- Sep 06, 2021
-
-
Pierre-Marie de Rodat authored
A testcase JSON data (tests/valid/string/escapes.json) contains a raw delete control code (\x7f), which is invalid in YAML files. Decode JSON and re-encode it in YAML instead of assuming that all JSON data is valid according to the YAML format.
-
Pierre-Marie de Rodat authored
-
- Nov 08, 2020
-
-
Pierre-Marie de Rodat authored
Fixes #8
-
- Nov 02, 2020
-
-
Pierre-Marie de Rodat authored
Also remove the redundant -E flag for the testsuite.
-
- Sep 24, 2020
-
-
Fabien Chouteau authored
-
Fabien Chouteau authored
-
Pierre-Marie de Rodat authored
For #7
-
Pierre-Marie de Rodat authored
Fixes #7
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
Because of the testsuite bug corrected when transitionning to Python3, some testcase baselines were not correct. This commit fixes them.
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
In order to reduce noise in "test.yaml" files, allow the "Z" syntax for "+00:00" timezones, and allow the omission of millisecond when it is zero.
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
-
Pierre-Marie de Rodat authored
In Python, booleans are subtypes of integers: "isinstance(True, int)" is true, so we need to check for booleans before checking for integers.
-
Pierre-Marie de Rodat authored
Also fix a very embarrassing bug: the JSON dump comparator never complained about expected/actual discrepancies... So this commit also reveals lots of errors in the testsuite. Upcoming commits will fix them.
-
- Sep 23, 2020
-
-
Pierre-Marie de Rodat authored
... to ADA_TOML_BUILD_MODE. This is an attempt to avoid conflicts with incompatible definitions of this scenario variables: depending on projects, this variable may accept incompatible sets of values: "debug", "dev", "DEBUG", "production", "PROD", "release", etc.
-
- Nov 23, 2019
-
-
Pierre-Marie de Rodat authored
-