Commit Graph

1524 Commits

Author SHA1 Message Date
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
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
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
ToruNiina
92c2af024c feat: Merge branch 'ci-use-j' 2024-07-16 22:44:54 +09:00
ToruNiina
c9574b8ce6 ci: add cpu-cores and -j 2024-07-16 01:17:43 +09:00
ToruNiina
b68f1fd57f test: add case of get/find<u8string> 2024-07-16 01:03:19 +09:00
ToruNiina
d99f260c1a Merge branch 'origin/output-operator' into v4_1_0 2024-07-16 00:31:20 +09:00
ToruNiina
c0a8b60a5d feat: enable to convert generic string 2024-07-16 00:17:18 +09:00
ToruNiina
93503e9c59 fix: remove operator<<(basic_value) from test 2024-07-14 17:08:44 +09:00
ToruNiina
cae5f34fb1 doc: add int_fmt.uppercase to doc 2024-07-14 15:17:15 +09:00
ToruNiina
a69877005d test: check if uppercase is parsed 2024-07-14 15:14:01 +09:00
ToruNiina
452f1702c2 test: enable to output int_fmt.uppercase 2024-07-14 15:13:34 +09:00
ToruNiina
0f0f9cf3c1 feat: set upper/lowercase while serialization 2024-07-14 15:12:34 +09:00
ToruNiina
49b373d4f5 feat: parse hex int upper/lowercase 2024-07-14 15:12:18 +09:00