19df293463
fix: fix macos build issue again
2026-01-23 15:11:55 +08:00
71eb0741f6
fix: try fix clang libcxx charconv issue.
...
- add compile checker in cmake to detect charconv support status.
- and expose macro for yycc to enable different part of charconv repectively to prevent duplicated defines.
2026-01-23 14:46:09 +08:00
09fea7e0a3
feat: add charconv polyfill for clang and apple clang
2026-01-23 11:02:54 +08:00
aecf9bb8cc
chore: fix github action build issue
2026-01-22 19:50:20 +08:00
6449ae1977
chore: use github provided package to fetch dependencies
2026-01-22 16:24:21 +08:00
1c1e709ed1
chore: update github build script.
...
- enable gtest and benchmark build.
- allow install gtest and benchmark binary.
- add test and benchmark step in github action.
2026-01-22 16:12:57 +08:00
fe4193efa7
refactor: change project layout
...
- move script as asset because they are not build script
- create new script directory for "User Compile" method because github action need to build with gtest.
- change compile manual for this change.
- modify external dependency location in github action and gitignore.
2026-01-22 15:48:28 +08:00
746d20a835
fix: fix environ not found when building env.
...
- re-organize included headers for env.
- resolve environ not found when building env on macos. use our explicit extern declare to replace system header decl.
2026-01-22 15:26:33 +08:00
8989e909ad
refactor: rename one overload of "replace" in string op into "to_replace" to indicate it produce new instance.
2026-01-22 10:23:26 +08:00
718fe426bf
fix: fix clap option ctor signature error
2026-01-21 19:22:50 +08:00
1a4074fd98
doc: add last lost doc
2026-01-21 11:17:12 +08:00
74027e7297
fix: fix linux runtime bugs
...
- use std::filesystem::read_symlink for symlink reading instead of complex homemade linux-syscall-based function. std function is more robust than I written.
- fix linux command line argument getter issue.
2026-01-20 21:27:58 +08:00
044c04aa07
doc: add doc for num namespace
2026-01-20 14:30:14 +08:00
e161dafac5
doc: add new added carton doc
2026-01-20 13:57:09 +08:00
4d9487813b
doc: migrate all old doc
2026-01-20 13:20:17 +08:00
7a34057836
doc: finish encoding doc
2026-01-15 13:48:41 +08:00
17053f4ebf
doc: finish csconsole doc
2026-01-14 13:59:42 +08:00
de2b927a14
doc: finish win console and termcolor doc
2026-01-14 10:08:45 +08:00
a50233ab6e
chore: add preprocessor support for doxygen
2026-01-13 15:45:38 +08:00
6dfd957ce9
doc: fix doxygen issue
2026-01-13 14:33:37 +08:00
215a8ce8b8
doc: fix doc for winfct
2026-01-13 13:24:18 +08:00
2b6ac98f27
doc: add doc for 2 win chapters and fix typo in windows dialog
2026-01-12 17:13:16 +08:00
c708e1e672
doc: write doc for parse&stringify and windows import guard
2025-12-30 16:15:34 +08:00
e929ba3776
doc: write document
2025-12-28 16:54:22 +08:00
6dbd031e00
doc: finish string reinterpret doc
2025-12-25 15:43:43 +08:00
337734d340
refactor: refactor doc layout
2025-12-25 15:13:02 +08:00
45f32297da
chore: fix workflow execution permission issue
...
- fix github workflow exec permission issue
- fix termcolor enum class issue on Linux
- fix compiler macro on macos
2025-12-24 19:52:36 +08:00
47bb60f0e4
doc: write doxygen doc for library macros
2025-12-24 13:04:26 +08:00
408ea5ef33
doc: add doxygen comment for code
2025-12-23 21:21:34 +08:00
cc5e6239ba
doc: add doc for code, mainly for clap
2025-12-23 13:59:14 +08:00
a077604c7d
chore: add github action workflows
2025-12-23 13:11:37 +08:00
7a2edb92b3
doc: finish COMPILE.md
2025-12-23 10:59:35 +08:00
9ce1608be0
fix: fix clang compile error
...
- fix the include of stacktrace error.
- fix env include issues.
- fix wrong include for libcxx enumerate patch.
- fix libcxx enumerate patch build issue.
- re-add default move and copy ctor for tabulate class.
- remove const decorator for clap manual member to resolve default ctor error.
2025-12-20 23:12:15 +08:00
b8f794a879
feat: add polyfill for llvm libcxx to make it possible to compile
2025-12-20 22:21:57 +08:00
622d3e0eb1
refactor: we decide to remove the entire brigadier module
2025-12-20 21:57:48 +08:00
bac1600558
feat: write some brigadier code
2025-12-20 21:54:09 +08:00
96e5172d7a
feat: prepare the refactor for brigadier
2025-12-19 14:26:35 +08:00
5993ae59c0
feat: add strict_* family for safe numeric op.
...
- add strict_* function family for same numeric operation. this function family recently become stable in Rust.
- add corresponding test.
2025-12-19 09:44:22 +08:00
fece224ec5
fix: fix gcc compile issue
2025-12-16 22:04:01 +08:00
e864b0115e
feat: swap the default value with min/max value in binstore serde.
...
considering setting default value is common that min/max value,
move default value template argument ahead of min/max template argument,
because C++ can not skip template argument like Rust `_` does.
2025-12-16 21:26:49 +08:00
8a604ee813
refactor: rename flag_enum to cenum.
...
- rename flag_enum to cenum because it not only provide functions related to flag enum, but also make C++ enum used like C enum.
2025-12-16 21:22:15 +08:00
b3ace3d820
refactor: remove legacy code.
...
- all 1.x legacy code were removed because all features has been migrated.
2025-12-16 20:37:12 +08:00
75442061e9
refactor: remove constraint
...
- remove constraint because we no longer require them. constraints are put into seperate modules.
2025-12-16 20:35:32 +08:00
194f055039
fix: fix binstore bugs according to test
2025-12-16 14:37:46 +08:00
fcd0b3364f
test: add test for carton binstore
...
- rename serialize namespace to serdes.
- fix some compile issue.
- add test for carton binstore
2025-12-16 14:32:02 +08:00
8a7387c7ff
test: finish lexer61 test and fix its issue.
2025-12-15 13:47:07 +08:00
23c2378ebc
feat: add 61 lexer
2025-12-14 23:24:59 +08:00
9369728759
feat: finish binstore storage
2025-12-12 23:23:02 +08:00
6c9e23f628
feat: finish storage helper functions.
...
- finish IO read and write function for binstore storage.
- refactor binstore ByteArray.
2025-12-12 22:23:56 +08:00
f49d974a46
feat: finish binstore setting get/set/reset
2025-12-12 20:25:06 +08:00