Toru Niina
4b74012723
Merge pull request #271 from SeverinLeonhardt/CMP0127
...
Fix use with CMake 3.21 and older
2024-08-29 21:30:14 +09:00
Severin Leonhardt
5e786476dd
Fix use with CMake 3.21 and older
...
The minimum required CMake version is 3.16 but CMP0127 was only
introduced in 3.22. This results in errors with versions 3.16 - 3.21:
```
CMake Error at CMakeLists.txt:28 (cmake_policy):
Policy "CMP0127" is not known to this version of CMake.
```
Fixed by only setting the policy when it's actually available.
2024-08-27 09:40:48 +02:00
ToruNiina
26d403e461
feat [skip ci]: update single_include
2024-08-19 14:10:59 +00:00
Toru Niina
f40f4d7770
Merge pull request #268 from kontura/zero-init
...
fix: add missing zero initialization to region
2024-08-19 23:10:35 +09:00
Aleš Matěj
9c7cef94a5
fix: add missing zero initialization to region
2024-08-19 14:18:29 +02:00
ToruNiina
cc0bee4fd4
feat: bump version
2024-08-12 12:47:30 +09:00
ToruNiina
b415dd81ed
doc: update changelog
2024-08-12 12:47:09 +09:00
ToruNiina
0c833452e4
Merge branch 'main' of github.com:ToruNiina/toml11
2024-08-12 00:24:30 +09:00
ToruNiina
070fa825e4
doc: update README
2024-08-12 00:23:59 +09:00
ToruNiina
a2e8d68c95
doc: update doc for thread-local colorization
2024-08-12 00:23:17 +09:00
ToruNiina
b90b5bdb35
feat [skip ci]: update single_include
2024-08-10 09:35:38 +00:00
ToruNiina
9b58c7e321
Merge branch 'find-or-deep-nest'
2024-08-10 18:35:10 +09:00
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
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