Mark Gillard
a122b3b9b4
more preprocessor cleanup
...
- fixing 'unknown pragma' warnings in GCC
- cleaning up test structure
2020-06-24 21:05:23 +03:00
Mark Gillard
464d3d13cc
documentation improvements
...
- updated TOML links to new toml.io website
- refactored the main page
2020-06-24 14:28:20 +03:00
Mark Gillard
00a8d14a49
minor preprocessor/doxygen cleanup
2020-06-23 13:04:05 +03:00
Mark Gillard
0d8f794feb
Update README [skip ci]
2020-06-23 01:32:25 +03:00
Mark Gillard
97bf64b9fd
CI: update node docker image
2020-06-23 01:24:18 +03:00
Mark Gillard
965a707fe2
deleted some duplicated preprocessor handling
...
also:
- updated test and dox submodules
- updated README
2020-06-23 00:35:02 +03:00
Mark Gillard
7fb4dbbb6d
fixed std::numeric_limits::max() getting broken by macros in some environments
2020-06-21 00:02:59 +03:00
Mark Gillard
ab85988d59
fixed single-digit negative integer parsing bug ( closes #39 )
...
also:
- fixed overflow for very long binary integer literals
- added optimization for parsing string views containing trailing null characters
- added more tests
v.1.3.2
2020-06-19 14:17:52 +03:00
Mark Gillard
041d7a7a44
Readme updates [skip ci]
2020-06-08 21:47:31 +03:00
Chris Mc
13a02140c7
Adding details for using Conan package manager ( #38 ) [skip ci]
2020-06-08 18:32:25 +03:00
Mark Gillard
83315a3912
fixed multi-line strings being allowed in keys
...
also:
- significantly improved the performance of toml::parse_file
- improved the performance of printing to streams for deepy-nested TOML data
- simplified some of the examples
- added more tests
- cleaned up some of the test code
2020-06-08 18:31:23 +03:00
Mark Gillard
da024510c5
fixed parse failure when parsing an empty file
...
Blank files are in fact totally valid TOML and should not cause a parse failure (fixes #35 ).
2020-06-07 16:28:08 +03:00
Mark Gillard
3792093d09
v1.3.0
v1.3.0
2020-06-02 18:49:16 +03:00
Mark Gillard
2c83d1b482
updating toml.hpp
2020-05-24 13:50:52 +03:00
Mark Gillard
d8fdf4e1e5
fixed weird overflow with BOMs in char8 mode
2020-05-24 13:42:15 +03:00
Mark Gillard
289c95cb51
renamed table proxy pair members to first
and second
to match STL ( closes #30 )
...
also:
- implemented `table_iterator::operator -> ()` (closes #29 )
- added `array::resize()` and `array::truncate()` (closes #33 )
- refactored BOM handling to make static analyzer happy (closes #34 )
- added `array::capacity()`, `array::shrink_to_fit()`, `array::max_size()`
- implemented non-const -> const conversion for table and array iterators
2020-05-23 17:35:47 +03:00
Mark Gillard
983e22978e
fixed formatter::print_inline causing compilation failures in windows DLL builds
2020-05-20 13:27:06 +03:00
Mark Gillard
9083b58fd5
updated submodules
...
also fixed inline warning spam in gcc10
2020-05-13 15:56:56 +03:00
Chris Mc
992e7034c5
fixing typo ( #26 )
v1.2.5
2020-04-23 18:15:13 +03:00
Mark Gillard
aa37852f53
minor code cleanup
2020-04-21 16:40:03 +03:00
Mark Gillard
61106ab9f3
minor improvements to codegen of unicode functions
2020-04-19 23:08:51 +03:00
Mark Gillard
5e683e9a73
fixed is_unicode_XXXXXX
functions being wrong in some cases
...
also:
- added tests for unicode functions
- changed `TOML_LIKELY` semantics to work with gcc-style intrinsics
- greatly improved unicode-related codegen
- parser refactoring
2020-04-18 23:42:33 +03:00
Mark Gillard
0c2279d15a
minor improvements to the wording of some error messages
...
also:
- added 'error_printer' example
v1.2.4
2020-04-14 12:45:32 +03:00
Mark Gillard
0fbdc945bb
fix examples breaking CI =/
2020-04-14 08:45:24 +03:00
Mark Gillard
61304ac519
added toml_generator example
2020-04-14 08:25:03 +03:00
Mark Gillard
cd9b3d2198
fixed some multi-line string parsing issues
...
also:
- fixed pedantic warnings on gcc 10 and clang 11
2020-04-13 23:23:11 +03:00
Mark Gillard
42af364887
refactored parser
...
Mainly to simplify a the error handling code (it had gotten a bit verbose), but also to reduce compiled binary sizes.
also:
- moved windows terminal code page stuff in examples to a separate file
v1.2.3
2020-04-11 19:43:38 +03:00
Mark Gillard
f3990256ce
moved preprocessor machinery to a separate header
...
- added doxygen page for the configuration options
- added SPDX-License-Identifiers around the place
- changed TOML_UNRELEASED_FEATURES default to 0
- simplified ABI namespace machinery
- fixed a number of doxygen bugs
2020-04-10 19:46:00 +03:00
Mark Gillard
682436aa2e
fixed printing of inf and nan
...
also:
- fixed parser not handling floats with leading '.' characters
- added `TOML_PARSER` configuration option
- added `TOML_LIB_SINGLE_HEADER` indicator
- moved parse_error and the utf8 stream machinery to separate headers
- updated catch2
2020-04-09 16:49:16 +03:00
Mark Gillard
104b2741d1
minor refactoring in the parser to reduce binary sizes
...
also:
- fixed pedantic vtable warnings on clang with -Weverything
- renamed `_impl.h` headers to `.hpp`
- build system and CI config tweaks
2020-04-08 16:33:57 +03:00
Mark Gillard
45c0fe26c0
added build option GENERATE_CMAKE_CONFIG
[skip ci]
...
also:
- minor cleanup
v1.2.0
2020-04-07 22:34:54 +03:00
Giulio Romualdi
ee35432b71
Add the Cmake configuration files support ( #22 ) [skip ci]
2020-04-07 18:33:00 +03:00
Mark Gillard
dce20a7e2d
make meson pkgconfig module use the correct project name [skip ci]
2020-04-07 18:26:55 +03:00
Mark Gillard
0dc7c25288
fix for CI pipeline failing when compiling runs out of memory
...
ugh honestly
2020-04-07 18:16:23 +03:00
Mark Gillard
4e3534a3e8
add CI install step for 'locales'
2020-04-07 18:07:03 +03:00
Mark Gillard
5ca6b29cb9
added support for implementations without <charconv>
( fixes #21 )
...
also:
- fixed some parsing and printing ops being locale-dependent (fixes #19 )
- fixed pkgconfig subdir being wrong (fixes #23 )
- fixed some parsing errors at EOF when `TOML_EXCEPTIONS = 0`
- fixed some unreferenced variable warnings on older compilers
- fixed some 'maybe-uninitialized' false-positives on GCC9
- added debug/release awareness to CI tests
- added locale awareness to catch test runner
2020-04-07 18:01:22 +03:00
Mark Gillard
3f04e12b53
minor doxygen tweaks
2020-04-05 15:11:21 +03:00
Mark Gillard
16911e5413
Added project homepage note to README [skip ci]
v1.1.0
2020-04-03 16:51:04 +03:00
Mark Gillard
358ac66669
added operator[], begin(), end() to parse_result in noexcept-mode
...
also:
- added note about `#include <fstream>` requirements README
- added tests for parse_result
- added array and table iterators to the toml namespace
2020-04-03 16:33:02 +03:00
Matthias Klumpp
764e6dd032
meson: Permit installation of toml++ ( #16 )
2020-04-03 11:03:15 +03:00
Mark Gillard
cb000809b0
support for upcoming TOML v1.0.0 release
...
see https://github.com/toml-lang/toml/issues/698 for info about TOML v1.0.0
also:
- fixed some parser error-paths not returning early enough when exceptions were disabled
- added more specific error messages for parsing errors relating to prohibited codepoints
- added compilation speed improvements (particularly for platforms lacking floating-point `std::to_chars`)
- added many minor documentation improvements
- added additional tests
2020-04-03 00:39:21 +03:00
Mark Gillard
e260f2df79
minor compilation speed and binary size improvements
...
also:
- minor documentation fixes
2020-04-01 15:53:10 +03:00
Mark Gillard
41d05792a5
narrowed scope of abi namespacing
...
also
- simplified `noexcept` specifiers (removed `TOML_MAY_THROW_UNLESS`)
- minor documentation fixes
v1.0.0
2020-03-28 18:56:59 +02:00
Mark Gillard
d44e61b640
minor documentation fixes
2020-03-27 11:46:10 +02:00
Mark Gillard
7fca8822aa
documentation fixes
v0.6.0
2020-03-24 15:47:49 +02:00
Mark Gillard
b2f36e38f1
added trivial abi attribute to date, time, time_offset
...
also:
- included <cassert> directly in 'debug' builds when TOML_ASSERT isn't defined
- minor preprocessor cleanup
- minor documentation fixes
2020-03-23 17:55:32 +02:00
Mark Gillard
60853e27db
TOML_GCC_ATTR => TOML_GNU_ATTR
2020-03-22 12:02:56 +02:00
Mark Gillard
f1664fa068
minor preprocessor cleanup
2020-03-19 17:51:43 +02:00
Mark Gillard
ee9b30c774
fixed compilation on older implementations without std::launder
...
also:
- fixed `json_formatter` type deduction on older compilers
- added build configuration option for compiling examples
v0.5.0
2020-03-18 15:28:00 +02:00
Gábor Kozár
fe0ef67e52
Fix build with GCC 8.2.0 ( #15 )
...
Fix build with GCC 8.2.0
Co-authored-by: Gábor Kozár <kozar@davinciderivatives.com>
2020-03-16 15:45:55 +02:00