Commit Graph

1585 Commits

Author SHA1 Message Date
ToruNiina
5d74160df3 fix: do not use recursion in last_one(Ts...) 2024-08-10 14:19:11 +09:00
ToruNiina
3498af032f test: add deeply nested example to find_or 2024-08-10 14:17:05 +09:00
ToruNiina
9b914db23d doc: add description about ordered_type_config 2024-08-10 02:10:54 +09:00
Toru Niina
fcb1d3d7e5 Merge pull request #264 from jackwil1/jackwil1-docs-typo
Fix typos in documentation template syntax
2024-08-08 23:56:36 +09:00
Jack W
9d39b1f54a Fix template syntax in jp docs 2024-08-08 17:57:05 +12:00
Jack W
157d65f91f Fix template syntax in en docs 2024-08-08 17:55:13 +12:00
ToruNiina
9481c477f1 feat [skip ci]: update single_include 2024-08-07 16:25:53 +00:00
ToruNiina
f886a91c02 feat: Merge branch 'ci-osx-latest' 2024-08-08 01:04:38 +09:00
ToruNiina
834ec3a835 feat: include <exception> for terminate 2024-08-08 00:58:00 +09:00
ToruNiina
df8f978f3d ci: add macos with latest (unstable) xcode 2024-08-07 23:57:31 +09:00
ToruNiina
6421df3c6d ci: add missing cpu-cores var 2024-08-07 00:41:33 +09:00
ToruNiina
9f7434bc6e ci: add osx-14 to build envs 2024-08-07 00:41:17 +09:00
ToruNiina
91b7cd637c feat [skip ci]: update single_include 2024-08-06 15:37:10 +00:00
ToruNiina
63d9c04718 fix #262: merge 'check-empty-aot-while-format' 2024-08-07 00:36:24 +09:00
ToruNiina
80c3e343e7 fix: if aot is empty, format as oneline
[[aot]] itself defines an empty table, so there is no way to format an
empty array-of-tables as table-like format. the only way to format an
empty array is: = [].
2024-08-06 01:28:59 +09:00
ToruNiina
12c0f379f2 fix: typo in format output 2024-07-25 01:41:21 +09:00
ToruNiina
ff3d866728 feat [skip ci]: update single_include 2024-07-24 16:30:58 +00:00
Toru Niina
35ac3d1356 Merge pull request #261 from ken-matsui/make-thread-local-optional
Make thread_local for color_mode optional
2024-07-25 01:30:38 +09:00
Ken Matsui
696335aaf7 Make thread_local for color_mode optional 2024-07-24 07:04:40 -07:00
ToruNiina
83843fd699 feat [skip ci]: update single_include 2024-07-24 12:22:48 +00:00
Toru Niina
455fadbae0 Merge pull request #260 from ken-matsui/support-optional-conversion
Support std::optional members for TOML11_DEFINE_CONVERSION_NON_INTRUSIVE
2024-07-24 21:22:24 +09:00
Ken Matsui
6d4d953304 Support std::optional members for TOML11_DEFINE_CONVERSION_NON_INTRUSIVE 2024-07-23 10:03:58 -07:00
ToruNiina
572781971f doc: add doc about CPM 2024-07-23 01:29:13 +09:00
ToruNiina
0072e740d5 feat [skip ci]: update single_include 2024-07-21 15:53:41 +00:00
Toru Niina
4dd83fe778 Merge pull request #258 from pinotree/read-streamsize
fix: manually cast file size to std::streamsize
2024-07-22 00:41:56 +09:00
Pino Toscano
fe19e7ee0a fix: manually cast file size to std::streamsize
When reading a file to vector, manually cast the file size (represented
as std::streamoff hidden as auto) to std::streamsize, which is the type
for std::istream::read(); this avoids the warning/error

  error: conversion from ‘long long int’ to ‘std::streamsize’ {aka ‘int’} may change value [-Werror=conversion]

This means a truncation happens on 32bit architectures, however that
seems a limitation of the standard library.
2024-07-21 10:36:40 +02:00
ToruNiina
f33ca743fb chore: bump version 4.1.0 v4.1.0 2024-07-21 14:48:47 +09:00
ToruNiina
754c1ef879 doc: update changelogs 2024-07-21 14:48:19 +09:00
ToruNiina
911abe939e doc: update acknowledgment in README 2024-07-21 14:34:20 +09:00
ToruNiina
100d05822a feat [skip ci]: update single_include 2024-07-20 16:01:53 +00:00
ToruNiina
feda8356a3 Merge branch 'example-u8string' 2024-07-21 01:01:24 +09:00
ToruNiina
88aaefd747 Revert "ci: build examples in each cases"
This reverts commit 4d0ad7335b.
2024-07-20 22:43:00 +09:00
ToruNiina
4d0ad7335b ci: build examples in each cases 2024-07-20 21:12:09 +09:00
ToruNiina
96460a15d4 feat: support key string conversion in get<map> 2024-07-20 20:57:42 +09:00
ToruNiina
a50895cdff doc: add u8string example 2024-07-20 20:57:18 +09:00
ToruNiina
886801d00a feat [skip ci]: update single_include 2024-07-20 10:07:38 +00:00
ToruNiina
f3a1586a44 Merge branch 'u8string' into v4_1_0 2024-07-20 17:59:30 +09:00
ToruNiina
098569a96d Merge branch 'main' into v4_1_0 2024-07-20 17:57:05 +09:00
ToruNiina
43f5a74bf0 feat: support string_type in toml::format 2024-07-20 17:23:05 +09:00
ToruNiina
6085c53ea2 fix: skip null char in string literal 2024-07-20 17:21:56 +09:00
Toru Niina
496782b42e Merge pull request #256 from CDK6182CHR/main
Support template into_toml members (Issue #255)
2024-07-20 16:20:24 +09:00
ToruNiina
f7deb1e89e feat [skip ci]: update single_include 2024-07-20 03:15:58 +00:00
xep
ce42e78e3c add test for template into_toml 2024-07-20 11:15:30 +08:00
xep
b853860a8f Add: template-version into_toml (Github issue #255) 2024-07-20 10:44:45 +08:00
ToruNiina
eba1aa2fde feat: take string type itself when conversion 2024-07-20 04:36:32 +09:00
ToruNiina
8434a6b18b Merge branch 'u8string' into v4_1_0 2024-07-18 01:03:58 +09:00
ToruNiina
eefca6e080 Merge branch 'main' into v4_1_0 2024-07-18 01:03:43 +09:00
ToruNiina
5e05b75473 test: add u8string constructor 2024-07-17 01:04:10 +09:00
ToruNiina
d9449747f3 fix: add constraint to array-like/table-like 2024-07-17 01:03:47 +09:00
ToruNiina
00e0ce12e7 feat: generalize ctor and remove feature macro 2024-07-16 23:48:15 +09:00