ToruNiina
|
773c3816be
|
ci: remove needless confirmation on CI
|
2019-03-19 19:39:45 +09:00 |
|
Toru Niina
|
1b417ddc7a
|
Merge pull request #45 from ToruNiina/get_or
fix `get_or` and add `find_or`
|
2019-03-19 01:41:21 +09:00 |
|
ToruNiina
|
7a0ecf977d
|
feat: add find_or(table, key, fallback)
get_or(value, fallback) is still ok, but get_or(table, key, fallback)
is now deprecated.
|
2019-03-18 17:44:03 +09:00 |
|
ToruNiina
|
aade704411
|
refactor: remove needless overload of get_or
|
2019-03-18 17:10:18 +09:00 |
|
ToruNiina
|
ca3f6102ef
|
fix: correctly resolve overloads of get_or
|
2019-03-18 16:44:36 +09:00 |
|
ToruNiina
|
4a58b629ce
|
feat: add a way to check arg is "string literal"
|
2019-03-18 16:31:12 +09:00 |
|
ToruNiina
|
3adba237b8
|
feat: enable to show message for deprecated()
|
2019-03-18 16:28:27 +09:00 |
|
Toru Niina
|
ccf03d9291
|
Merge pull request #44 from ToruNiina/test-link
test: add test for multiple translation unit
|
2019-03-18 15:20:04 +09:00 |
|
Toru Niina
|
30ae90ebd5
|
Merge pull request #43 from ToruNiina/hotfix
fix: incorrect move in constructor and return type deducing in toml::visit
|
2019-03-18 14:08:23 +09:00 |
|
ToruNiina
|
d5369c3429
|
test: add test for multiple translation unit
|
2019-03-18 12:39:58 +09:00 |
|
Toru Niina
|
48f2f0555d
|
Merge pull request #42 from ToruNiina/test-suite
run toml-test suite
|
2019-03-18 12:33:48 +09:00 |
|
ToruNiina
|
f40fd12e25
|
refactor: add and rewrite comments
|
2019-03-18 11:09:12 +09:00 |
|
ToruNiina
|
65c2c3c238
|
fix: correctly deduce return value of visitor
|
2019-03-18 10:53:04 +09:00 |
|
ToruNiina
|
891a61a5e3
|
fix: do not move array element without checking
|
2019-03-18 02:05:55 +09:00 |
|
ToruNiina
|
1e6f30f6fa
|
chore: update README.md
|
2019-03-18 01:50:23 +09:00 |
|
ToruNiina
|
02346a3126
|
Merge branch 'master' into test-suite
|
2019-03-18 01:40:17 +09:00 |
|
Toru Niina
|
1908f18e95
|
Merge pull request #41 from ToruNiina/hotfix
fix: simplify and correct the format of timezone
|
2019-03-18 01:39:11 +09:00 |
|
ToruNiina
|
3bfa7f09ba
|
test: use the test suite in the effective way
add tests/check_toml_test.cpp to compare json object
|
2019-03-18 01:36:43 +09:00 |
|
ToruNiina
|
243f43fafd
|
Merge branch 'master' into hotfix
|
2019-03-17 21:16:37 +09:00 |
|
ToruNiina
|
66e27a94b6
|
fix: simplify and correct the format of timezone
|
2019-03-17 21:14:17 +09:00 |
|
ToruNiina
|
227688ec63
|
ci: make result clearer a bit
|
2019-03-17 19:36:23 +09:00 |
|
ToruNiina
|
e761a503c0
|
ci: fix silly mistake in circleci script
|
2019-03-17 19:27:58 +09:00 |
|
ToruNiina
|
209ad79a8f
|
ci: fix config file of circleci
|
2019-03-17 19:26:22 +09:00 |
|
ToruNiina
|
cdf209d7f6
|
ci: show the status on CI
|
2019-03-17 19:23:52 +09:00 |
|
ToruNiina
|
77ab391885
|
ci: fix name of directory and add test script
|
2019-03-17 19:20:24 +09:00 |
|
ToruNiina
|
6628fe5ace
|
test: add language agnostic toml-test
|
2019-03-17 19:12:13 +09:00 |
|
Toru Niina
|
f3e3000d45
|
Merge pull request #40 from ToruNiina/remove-to-toml
refactor: remove to_toml and related tests
|
2019-03-17 13:12:30 +09:00 |
|
Toru Niina
|
f7380c6e32
|
Merge pull request #39 from ToruNiina/throw-incorrect-unicode
Throw syntax_error when parser encounter an incorrect utf-8 codepoint
|
2019-03-17 13:12:16 +09:00 |
|
Toru Niina
|
d86870e038
|
Merge pull request #38 from ToruNiina/get-any-type
extended conversions
|
2019-03-17 13:11:59 +09:00 |
|
Toru Niina
|
0908806915
|
Merge pull request #33 from ToruNiina/is-something
add `is_boolean` and other stuffs like that
|
2019-03-16 23:55:01 +09:00 |
|
ToruNiina
|
d17c192681
|
refactor: remove to_toml and related tests
|
2019-03-16 17:05:58 +09:00 |
|
ToruNiina
|
cad8f51256
|
doc: add explanation of conversions to README
|
2019-03-16 16:56:37 +09:00 |
|
ToruNiina
|
43014c6619
|
fix: remove redefined default template argument
|
2019-03-16 16:24:10 +09:00 |
|
ToruNiina
|
30a41aa710
|
fix: use older style in BOOST_TEST
|
2019-03-16 16:15:01 +09:00 |
|
ToruNiina
|
04bfeba3f2
|
merge branch master into get-any-type
|
2019-03-16 15:58:18 +09:00 |
|
ToruNiina
|
190636b791
|
fix: support getting a container of external types
|
2019-03-16 15:52:22 +09:00 |
|
ToruNiina
|
31e450f9af
|
test: add test for from/into based conversions
|
2019-03-16 15:46:21 +09:00 |
|
ToruNiina
|
b1b72a94a8
|
feat: support conversion with external types
|
2019-03-16 14:44:04 +09:00 |
|
ToruNiina
|
6929bcdf78
|
feat: add from<T> and into<T>
|
2019-03-16 14:27:05 +09:00 |
|
ToruNiina
|
fd063af7ce
|
refactor: make include guard style uniform
|
2019-03-16 14:19:47 +09:00 |
|
ToruNiina
|
df6dcbc4ed
|
feat: check a class has from/into_toml member fn
to support better serialization
|
2019-03-16 14:16:31 +09:00 |
|
ToruNiina
|
9b8db6a225
|
fix: remove extraneous null character after float
the bug was introduced by snprintf
v2.1.3
|
2019-03-15 19:30:36 +09:00 |
|
ToruNiina
|
76863cb27f
|
refactor: simplify branches about utf8 codepoint
|
2019-03-15 17:48:47 +09:00 |
|
ToruNiina
|
514df99e40
|
feat: consider invalid UTF-8 as syntax_error
the following codepoints are considered to be a syntax_error
- [0xD800, 0xDFFF]
- larger than 0x10FFFF
|
2019-03-15 17:39:31 +09:00 |
|
ToruNiina
|
055353a460
|
chore: merge branch 'master' into is-something
|
2019-03-15 17:25:17 +09:00 |
|
Toru Niina
|
9eb4008d6d
|
Merge pull request #37 from ToruNiina/to-toml-deprecated
feat: mark to_toml as deprecated
v2.1.2
|
2019-03-15 17:12:45 +09:00 |
|
ToruNiina
|
a04544637b
|
feat: mark to_toml as deprecated
because the constructor of `toml::value()` supports all the stuff that
are supported by `to_toml`.
|
2019-03-15 14:29:32 +09:00 |
|
Toru Niina
|
4c7dc17b78
|
Merge pull request #36 from ToruNiina/refactor-format-underline
refactor: remove redundant function overload
|
2019-03-15 13:41:16 +09:00 |
|
ToruNiina
|
59aaaab436
|
test: add test to check format_error compiles
|
2019-03-15 12:40:01 +09:00 |
|
ToruNiina
|
61dfa4a2dc
|
feat: format any number of values into an err msg
```cpp
toml::format_error("[error] message", v1, "v1", v2, "v2", ...);
```
|
2019-03-15 12:38:37 +09:00 |
|