Commit Graph

1439 Commits

Author SHA1 Message Date
ToruNiina
51805ba537 ci: use actions/setup-go to to setup go 2024-06-16 20:51:48 +09:00
ToruNiina
5dcbec0fad ci: add toml-test workflow 2024-06-16 20:45:30 +09:00
ToruNiina
29f8517cf4 test: set precision if non-toml float is given
in toml-test encoder test, it passes a large integer with float type.
in that case, we used a std::stringstream, so no prec information is
stored.
2024-06-16 20:43:17 +09:00
ToruNiina
717c2d8eaa doc: add links to README 2024-06-16 20:33:10 +09:00
ToruNiina
24b24d7fa9 fix: deploy dir, and update actions-gh-pages 2024-06-16 20:20:44 +09:00
ToruNiina
f48d3f81fe ci: use submodule as theme location 2024-06-16 20:03:45 +09:00
ToruNiina
38e4a34ea2 doc: update README a bit 2024-06-16 19:43:40 +09:00
ToruNiina
172ddcbd12 feat: update single_include/toml.hpp 2024-06-16 19:35:58 +09:00
ToruNiina
9c725140ca refactor: add basic_value::config_type 2024-06-16 19:33:55 +09:00
ToruNiina
5c4722fb5d feat: use MSVC_LANG after 2015 Update 3 2024-06-16 19:33:22 +09:00
ToruNiina
6f05bffb5f fix: do not use assert-only never reached branch 2024-06-16 19:32:54 +09:00
ToruNiina
872ef72572 fix: use sscanf_s in case of MSVC 2024-06-16 19:32:28 +09:00
ToruNiina
cb1a20407d fix: add missing include file 2024-06-16 19:31:29 +09:00
ToruNiina
c5851db533 fix: do not use std::gmtime in tests 2024-06-16 19:30:35 +09:00
ToruNiina
3443f86a4a chore: use warning level 3 in msvc 2024-06-16 19:29:16 +09:00
ToruNiina
12452a695d ci: use appveyor for multi msvc versions 2024-06-16 19:28:46 +09:00
ToruNiina
9fa137599f feat: add hugo theme as a submodule 2024-06-16 13:27:22 +09:00
ToruNiina
abcbed92a3 chore: add options required to use MSVC
to use utf-8 file and to use standard-compliant preprocessor
2024-06-16 13:12:12 +09:00
ToruNiina
8326709fae fix: set prec as max in case of hex 2024-06-16 13:11:47 +09:00
ToruNiina
6533454bc6 fix: template forgotten to rewrite
Squashed commit of the following:

commit c0b2ff1cd5de60c467d22a9174c0b8439f234b34
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 12:27:58 2024 +0900

    ci: turn on ci

commit 41f6e1d4d710b841580c0a34126cbdc5c95203b0
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 12:27:44 2024 +0900

    refactor: remove debug dumps

commit d037e26a5a77102168f9c30694e158e8388bddb6
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 12:19:43 2024 +0900

    fix: avoid taking next of end

commit 0ce5565686a0f684d61dc55014e4cd670ecbfc87
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 12:14:04 2024 +0900

    ci(WIP): add more debug dumps

commit e7ebef57d5d463ff591c37c120a1bed93824a7ba
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 00:41:36 2024 +0900

    ci(WIP): add more debug dumps

commit 8e3488e038d5241af14dab334bedbae911bc6d29
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 00:33:52 2024 +0900

    ci(WIP): add iostream

commit 4198d1274c5a8701df885f5fb36ef1d54ea9b18e
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 00:32:13 2024 +0900

    ci(WIP): add debug dumps

commit 1c87d24743f9b3228c7ed216e9e2a4d7cb588f6d
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 00:06:11 2024 +0900

    ci: disable ci jobs except msvc

commit 605ee1e7635c7f99f150ede70360d0ca792de7c0
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sun Jun 16 00:06:00 2024 +0900

    ci(WIP): add debug dumps

commit 2851b22246fc87fa26ac8d4d708dccf02fd3dbee
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sat Jun 15 23:59:06 2024 +0900

    chore: mark interface for interface lib

commit 74e5e49d2c1540d055e8397b3ce5d7b22dc50288
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sat Jun 15 23:53:50 2024 +0900

    chore: add required options for MSVC

commit 5ec385753473d1535b769299c66438eed929330a
Author: ToruNiina <niina.toru.68u@gmail.com>
Date:   Sat Jun 15 23:53:34 2024 +0900

    ci: fix typo after copy-paste
2024-06-16 13:11:13 +09:00
ToruNiina
c7db1a3de0 fix: typo in macro definitions 2024-06-15 22:35:16 +09:00
ToruNiina
6cf003f374 ci: install hugo module 2024-06-15 22:21:32 +09:00
ToruNiina
bb2542f2bf chore: remove debug flag fatal-errors from ci 2024-06-15 21:55:25 +09:00
ToruNiina
3a1e893d68 ci: add actions test and docs 2024-06-15 19:41:59 +09:00
ToruNiina
1e97dff5e3 chore: update gitignore 2024-06-15 19:38:00 +09:00
ToruNiina
7444d2df95 ci: reset all ci setup 2024-06-15 19:35:19 +09:00
ToruNiina
2c6460ae77 fix: add example/CMakeLists 2024-06-15 19:32:30 +09:00
ToruNiina
4b5e85c2bc doc: update README 2024-06-15 19:28:16 +09:00
ToruNiina
64197caa05 doc: add reference manual 2024-06-15 19:27:42 +09:00
ToruNiina
7210e708a6 feat: add single_include file and generator 2024-06-15 19:25:15 +09:00
ToruNiina
da2a85b500 feat: add examples 2024-06-15 19:23:05 +09:00
ToruNiina
7789b4e8be feat: add json to tests/extlib 2024-06-15 19:19:12 +09:00
ToruNiina
e68e77320d feat: add doctest as a submodule 2024-06-15 19:15:09 +09:00
ToruNiina
3f9e3ce5d2 feat: update build system to v4 2024-06-15 19:14:44 +09:00
ToruNiina
c47ff10a64 test: update test codes to v4 2024-06-15 19:14:06 +09:00
ToruNiina
7c123ab378 feat: update codes to v4 2024-06-15 19:13:02 +09:00
ToruNiina
7277ebdbad feat: move codes under include/ 2024-06-15 19:11:46 +09:00
Toru Niina
b389bbc4eb
Merge pull request #242 from 0X1A/master
Fix issues with CMake package configuration when used with vcpkg #110
2024-06-12 00:46:15 +09:00
ToruNiina
5e4eb52f84 fix: add cxx_std to check_cxx_source_compiles
in macos, default version is 98 and it fails to compile boost test.
ci fails in the test branch because of apt timeout, but osx jobs works.
2024-06-11 23:47:49 +09:00
Alberto Corona
cbd596144d Fix issue with CMake package configuration #110 2024-05-01 18:57:49 -05:00
ToruNiina
85faca9cbe ci: update action checkout 2024-03-20 23:43:01 +09:00
ToruNiina
3509be6629 ci: add env var to avoid installation failure 2024-03-20 23:33:47 +09:00
ToruNiina
fb7b02f254 ci: remove old version of osx that takes time 2024-03-20 23:33:27 +09:00
ToruNiina
2466959cf9 chore: avoid false-positive ref life warning 2024-03-20 22:42:00 +09:00
ToruNiina
a76c5b385f refactor: replace mut-ref by take-and-move pattern 2024-03-20 22:40:46 +09:00
ToruNiina
52621a4fd8 feat: remove cxx_standard related stuff
fix #241
2024-03-20 22:38:56 +09:00
ToruNiina
64cd90637b refactor: move cmake component to where it's used 2024-03-20 22:35:03 +09:00
ToruNiina
d4a6fc7953 refactor: remove scripts for old version of cmake
now minimum_require ensures that version is not used
2024-03-20 22:34:02 +09:00
ToruNiina
d4eb5f3c9d chore: update patch version 2024-01-07 18:06:50 +09:00
ToruNiina
cc2e453b5b feat: remove strerror from errmsg in FILE* version
parse(FILE*) is a minor overload, but dispatching strerror takes too
much cost. Standard library version is not thread-safe, so some compiler
reports a warning. There are thread-safe versions defined in XSI, GNU,
and Windows. XSI/GNU versions can be detected by macros, but in some
cases, detection-by-macro written in the doc does not work.
Since errno can be obtained from the exception, users can call strerror
that is available in their env if needed. We can just report errno.
2024-01-07 10:48:17 +09:00