Mark Gillard
3f4a540ca6
fixed inconsistent error messages for overlong ints/floats ( closes #133 )
...
also:
- added `at_path()` (closes #118 )
- added `node_view::operator==`
- updated conformance tests
2022-01-08 00:08:31 +02:00
Mark Gillard
307ebd1f47
refactoring
2021-11-15 09:06:03 +02:00
Mark Gillard
9066ac7d01
fixed strong exception guarantee edge-cases
...
also:
- added `value` copy+move constructor overloads with flags override
`table::ref()` now supports explicit ref categories and cv-qualifiers
2021-11-14 19:24:19 +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
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
0ffd23d73f
removed final
from value
, array
and table
...
also:
- renamed `TOML_WINDOWS_COMPAT` to `TOML_ENABLE_WINDOWS_COMPAT`
- renamed `TOML_UNRELEASED_FEATURES` to `TOML_ENABLE_UNRELEASED_FEATURES`
- added additional tests
- fixed minor documentation issues
2021-10-31 17:58:42 +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
Mark Gillard
1bf09fe500
added value flags to array + table insert methods ( closes #44 )
...
also:
- made single header generation script `#pragma once`-aware
2021-10-29 12:59:59 +03:00
Mark Gillard
467ade4efc
fixed issues with dllexport + extern templates
2021-10-27 19:48:45 +03:00
Mark Gillard
18dfcf2314
added formatter indentation flags ( closes #120 )
...
also:
- minor refactoring (esp. GNU attributes)
- added documentation about formatters being free to ignore flags where necessary
2021-10-27 16:10:57 +03:00
Mark Gillard
bd9944a31a
removed double-bracket requirement for toml::table
constructor
...
also:
- fixed incorrect `noexcept` specifications on many functions
- fixed missing `#include <initializer_list>`
- removed unnecessary uses of `final`
2021-10-26 23:53:27 +03:00
Mark Gillard
7da912c45e
fixed incorrect clang+GCC flag in meson build script
...
also:
- renamed `_impl.h` files to `*.inl`
- simplified warning + namespace management boilerplate
- applied clang-format to examples
- bumped minimum required meson version to `0.54.0`
2021-10-26 00:53:57 +03:00
Mark Gillard
516b8e2096
greatly simplified project header structure
...
also:
- removed `TOML_LARGE_FILES`
- removed unnecessary template machinery (esp. where ostreams were involved)
- made all overloaded operators 'hidden friends'
- documentation fixes
- version bump - this will form the foundation of v3
2021-10-25 01:04:23 +03:00
Mark Gillard
0f589ceba8
added header bookend includes
2021-10-24 13:21:32 +03:00
Mark Gillard
ca76e5d571
project-wide refactoring
...
- moved implementation-only headers to `/impl`
- replaced `[[nodiscard]]` with `TOML_NODISCARD`
- added `.clang-format` + applied to all files
also:
- added support for Unicode 14.0
- fixed minor documentation issues
- version bump (pre-emptive for next release)
2021-10-23 18:20:49 +03:00