Andrea Pappacoda
5e6008329f
refactor: deprecate TOML_API, add more specific defines
2022-02-12 22:04:16 +02:00
Mark Gillard
b41e12f736
fixed incorrect unicode scalar sequence transformations ( #125 )
...
also:
- fixed extended-precision fractional times causing parse error instead of truncating per the spec (closes #127 )
- fixed some non-spec vertical whitespace being accepted as line breaks (closes #128 )
- added `format_flags::allow_unicode_strings`
2022-01-04 23:58:22 +02:00
Mark Gillard
209e9b6faa
added toml::key
( closes #82 )
...
also:
- added `table::lower_bound()`
- added `table::emplace_hint()`
- changed `table` key type to `toml::key`
- clarified value initializer static assert messages
- lots of misc refactoring
2021-11-10 22:07:05 +02:00
Mark Gillard
aa645dd88c
added array::replace()
( closes #109 )
...
also:
- minor parser cleanup
- updated conformance tests
- documentation fixes
2021-11-06 18:59:47 +02:00
Mark Gillard
f94de96928
fixed missing #include <utility>
...
also:
- added test for `yaml_formatter`
- formatter refactoring + cleanup
- documentation fixes
2021-11-03 19:11:55 +02:00
Mark Gillard
7b50df796f
added toml::yaml_formatter
...
also:
- fixed parser not correctly round-tripping int format in some cases
- added `TOML_ENABLE_FORMATTERS` option
- added `operator->` to `toml::value`
- refactoring
2021-11-03 12:18:53 +02:00
Mark Gillard
87d6c7eef1
renamed default_formatter
to toml_formatter
...
also:
- renamed `TOML_PARSER` option to `TOML_ENABLE_PARSER`
- added `TOML_ENABLE_TOML_FORMATTER` option
- added `TOML_ENABLE_JSON_FORMATTER` option
- added `default_init_flags` param to `array::resize()`
2021-10-30 15:56:14 +03:00