Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj f9b58e2eae libtoml11: Upgrade to 4.4.0
Fix build with clang-20 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-08 15:06:11 -08:00
Wang Mingyu c82bfbbc2e libtoml11: upgrade 4.2.0 -> 4.3.0
0001-fix-add-missing-zero-initialization-to-region.patch
removed since it's included in 4.3.0

Changlog:
=========
Added
------
Support std::optional as a template argument of toml::find
Support multiple arguments toml::visit(visitor, args...)

Fixed
------
toml::detail::region::last_ may be used uninitialized
Fix use with CMake 3.21 and older
fix: prevent size_t-max length string allocation
update README.md
Make parsing faster for very long line
Avoid known problem in MSVC
Check if source_location::file_name() is null before formatting

Changed
-------
Update hugo-book theme
Add MSVC 2017 to appveyor build

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:00 -08:00
Mingli Yu 2248a83058 libtoml11: Add new recipe
toml11 is a feature-rich TOML language library for C++11/14/17/20 [1].

 # ./run-ptest
PASS: test_comments
PASS: test_datetime
PASS: test_error_message
PASS: test_find
PASS: test_find_or
PASS: test_format_floating
PASS: test_format_integer
PASS: test_format_table
PASS: test_get
PASS: test_get_or
PASS: test_literal
PASS: test_location
PASS: test_parse_array
PASS: test_parse_boolean
PASS: test_parse_datetime
[snip]

[1] https://github.com/ToruNiina/toml11

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-12 07:57:16 -07:00