Commit Graph

1521 Commits

Author SHA1 Message Date
ToruNiina
da98b6558d fix: ctor of time and null 2024-07-27 18:27:16 +09:00
ToruNiina
c433577120 feat: add key_format_info to basic_value ctor 2024-07-27 18:26:52 +09:00
ToruNiina
a39300f9d9 feat: add detail::change_region_of_key 2024-07-27 16:39:46 +09:00
ToruNiina
2193c5c201 feat(WIP): use default arg instead of overloads 2024-07-26 02:49:11 +09:00
ToruNiina
e2bbf550a0 feat(WIP): init key_region and key_fmt 2024-07-26 00:54:31 +09:00
ToruNiina
1809484542 feat: add key_fmt/region to value 2024-07-26 00:13:23 +09:00
ToruNiina
0571dd74ca feat: add key format to fwd 2024-07-26 00:11:53 +09:00
ToruNiina
19199ac82c feat: add key_format 2024-07-25 01:24:55 +09: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
ToruNiina
acd6ed9a1e feat: add uppercase to integer fmt
for hex integer
2024-07-14 15:11:05 +09:00
ToruNiina
654ec0e013 feat: add stream operator to value 2024-07-14 14:20:04 +09:00
ToruNiina
9fd24aa23b feat [skip ci]: update single_include 2024-07-10 15:17:11 +00:00