376 Commits

Author SHA1 Message Date
Arthur Chan
7807a314ad Add unit test build to OSS-Fuzz build.sh (#287) 2025-12-24 14:20:45 +02:00
Rafał
e7aaccca3f Formatter flag to force multi-line arrays (#282) 2025-08-30 11:23:55 +03:00
Sangar
bf869b0e07 Add IWYU pragmas for provider header (#277) 2025-07-05 22:54:07 +03:00
Mikael Persson
708fff700f Fixed undefined behavior with log10 cast of fractional doubles (#276) 2025-06-11 03:45:26 +03:00
Miko
2f35c28a52 Export missing symbols and fix CMakeLists.txt for modules (#273) 2025-05-19 19:48:41 +03:00
Niels Dekker
8eb4012353 TOML_DISABLE_NOEXCEPT_NOEXCEPT workaround MSVC bug noexcept + modules (#271) 2025-05-15 11:24:24 +03:00
Niels Dekker
5abab000e3 fix MSVC C++20 module build error C2872, C2039, C2873 on 'literals' (#267) 2025-05-07 12:56:50 +03:00
Niels Dekker
2693c6c385 avoid using impl in error_printer example (#268) 2025-05-07 12:19:06 +03:00
NmPassTHFan
49eb12d594 fix: std::is_trivial is deprecated in C++26, replace to 'is_trivially_default_constructible_v && is_trivially_copyable_v'. (#270)
Co-authored-by: nmpassthf <sunyulong@wondersoft.cn>
2025-05-07 10:59:19 +03:00
Niels Dekker
a7d16a5d0d mention TOML_DISABLE_CONDITIONAL_NOEXCEPT_LAMBDA in README.md (#269) 2025-04-24 17:57:50 +03:00
Miko
fea1d905f2 Allow tomlplusplus to be built by C++20 modules (#266) 2025-03-31 21:20:47 +03:00
Niels Dekker
f5b3fb2c3e add DEL character example invalid_parses in examples/error_printer (#260) 2025-03-14 21:21:16 +02:00
Niels Dekker
4295f90d35 test MSVC default conformance mode, using its legacy lambda processor (#253) 2025-03-14 21:19:46 +02:00
Toni500github
d1eed09ae7 Fix build msys2 (#264) 2025-03-14 16:25:10 +02:00
Dirk Eddelbuettel
ddd97fdf3f Address clang++20 nag about 'whitespace in literal operator' (#263) 2025-03-12 06:47:45 +02:00
Niels Dekker
cb3473588e let error_printer example print source line of parse error (#259) 2025-03-02 19:12:09 +02:00
Niels Dekker
2ca7ac6c2c let toml::get_line return an _optional_ string_view (#258) 2025-02-27 15:56:02 +02:00
Niels Dekker
8b86a2490c declare toml::get_line(std::string_view, source_index) constexpr (#256) 2025-02-26 11:47:47 +02:00
Niels Dekker
f3f625819a add get_line(doc, line_num) utility (#255) 2025-02-23 18:20:03 +02:00
Niels Dekker
cbc00d6766 add TOML_DISABLE_CONDITIONAL_NOEXCEPT_LAMBDA workaround MSVC error C2057 (#247)
Offered a workaround to compile errors like "error C2057: expected constant expression", when using the "legacy lambda processor" of Visual C++. Such compile errors were reported by Kevin Dick, Jan 19, 2024, at issue https://github.com/marzer/tomlplusplus/issues/219
2025-02-12 23:41:10 +02:00
Stefano Bonicatti
d6af2611ad ci: Fix python collision with system installation (#250) 2025-02-12 18:19:23 +02:00
Stefano Bonicatti
80e0b59675 docs: Fix some contributors profile link in the README (#252) 2025-02-12 11:29:24 +02:00
Stefano Bonicatti
a140d6ca0d ci: Update actions to fix fuzzing (#251)
- The upload-artifact@v3 is fully deprecated,
  update to v4.

- Update upload-sarif to v3.
2025-02-12 09:54:39 +02:00
Niels Dekker
5cda06475f add unit test for pull request #244 (print end of source region) (#248)
Tested commit 1fdd67ce5a, "let `print_to_stream` also print the end of a source region (#244)"
2025-02-10 13:00:27 +02:00
Niels Dekker
1fdd67ce5a let print_to_stream also print the end of a source region (#244) 2025-02-07 10:45:59 +02:00
DapengFeng
d00dd1f5cb add CMake option tomlplusplus_INSTALL (#240) 2025-02-02 13:47:18 +02:00
tyler92
c4369ae1d8 fix stack overflow by limiting the maximum depth of dotted keys (#242) 2024-11-14 14:08:35 +02:00
Mark Gillard
380c49f07a fixed CMake install target installing meson.build files
fixes #236
2024-10-06 14:09:31 +03:00
L-Super
0591ae350b Update README.md to add namespace (#235) 2024-09-03 19:00:11 +03:00
Sefa Eyeoglu
51e3475f38 feat: install examples for top level builds (#233)
This might be useful for distribution packagers to provide example programs in their packages.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-01 22:25:37 +03:00
Mark Gillard
e2bae9d559 fix #231, redux 2024-07-12 12:04:23 +03:00
Mark Gillard
495119a8a6 fixed unclear error message (closes #224) 2024-07-12 11:54:20 +03:00
Mark Gillard
7ddb98543c fix is_homogeneous with outparam (fixes #231) 2024-07-12 11:43:25 +03:00
UMU
b43f8a032a Update toml-test URL in README (#230) 2024-07-08 17:42:54 +03:00
Mark Gillard
1f7884e591 workaround for weird symbol issue on nvc++ 2024-03-19 14:07:25 +09:00
Gelldur
a851257c49 Update README.md (#222) 2024-02-22 14:11:53 +02:00
Chad Skeeters
482878fcd2 fix: uses tbl variable name rather than arr in table.get documentation (#221) 2024-02-20 02:12:22 +02:00
Mark Gillard
89406c77e6 update documentation ci 2024-01-28 22:41:21 +02:00
Bailey Capuano
d8fa9a1fdd Resolved bug in kMaxValue in SerializationTest for toml_fuzzer (#215) 2023-11-23 09:10:55 +02:00
Bailey Capuano
b19649478c OSSFuzz integration (#214) 2023-11-19 14:40:31 +02:00
Mark Gillard
f1a38d23b7 fix main page code formatting 2023-10-13 22:12:18 +03:00
Mark Gillard
30172438ce v3.4.0 v3.4.0 2023-10-13 16:39:42 +03:00
Mark Gillard
cc1962eac7 fixed keys with \n round-tripping incorrectly 2023-10-10 17:21:03 +03:00
Mark Gillard
be30d11245 fixed keys containing \t formatting incorrectly 2023-10-09 19:41:18 +03:00
Mark Gillard
941341fce6 improved support for using enums with value_or() 2023-09-25 18:50:34 +03:00
Mark Gillard
42a428f8ea fixed FLT_RADIX check getting broken by MKL
fixes #202
2023-09-11 15:20:17 +03:00
Mark Gillard
d46cac705a fixed #197
also:
- fixed `noexcept(...)` sometimes being incorrectly derived on `for_each()
- refactors
2023-09-05 13:53:23 +03:00
Mark Gillard
882d9d1c34 fixed gnu symbol visibility for static lib builds (fixes #201)
also:
- renamed header files to .hpp
- updated conformance tests
- minor documentation fixes
2023-08-26 17:41:29 +03:00
Mark Gillard
dbc4bcecf2 update docs 2023-07-28 16:38:14 +03:00
Mark Gillard
4a28c36c43 misc preprocessor handling fixes 2023-06-14 15:44:33 +03:00