Kyle Isom
8868fe40a1
With Trunk in CI disabled, try Alpine again.
2023-10-22 03:24:36 -07:00
Kyle Isom
c5308dedba
Add SimpleConfig.
...
https://godocs.io/git.wntrmute.dev/kyle/goutils/config is one of the
more useful Go packages in my standard go library that gets used for
building services. I needed something similar for another Shimmering
Clarity project, and thus I figured I'd add it into SCSL.
2023-10-22 01:45:04 -07:00
Kyle Isom
9a8dc08a4f
cppcheck cleanups and additional docs+testing.
2023-10-21 23:33:22 -07:00
Kyle Isom
9faed6a95b
phonebook: exit with appropriate code.
2023-10-21 19:58:22 -07:00
Kyle Isom
168ee430f4
Quaternion self test fixed.
...
The self-test expects a unit quaternion. The Quaternion vector<3>
constructor uses the vector as-is, expecting it to be potentially the
output from an existing Quaternion. MakeQuaternion is the right function
for build a unit quaternion, so the self-test should actually use this.
This error had been hidden due to building with NDEBUG, which ifdefs out
the self-test. The code was probably changed during the refactoring
process.
2023-10-21 19:53:22 -07:00
Kyle Isom
f393f8614f
Adjust phonebook help usage.
...
- If a user requests help via the -h flag, the program shouldn't exit
with an error code, and it should dump information to stdout, not
stderr.
2023-10-21 19:49:36 -07:00
Kyle Isom
8b63985ac9
Fix flags usage and make Commander Flags capable.
...
- Programs should exit on Flags parse error.
- Commander now accepts a string vector for interop with Flags.
2023-10-21 19:45:07 -07:00
Kyle Isom
1420ff343d
tests: simple test example should be a standalone demo.
2023-10-21 17:45:33 -07:00
Kyle Isom
10888b4872
tests: all tests now use SimpleSuite.
...
- Also continuing doc updates.
2023-10-21 17:40:01 -07:00
Kyle Isom
0bf4dd54f3
Remove unused Debug header.
2023-10-21 12:34:38 -07:00
Kyle Isom
aee337f2e9
clang-tidy fixes, documentation, refactoring.
2023-10-21 02:07:59 -07:00
Kyle Isom
4e83da345f
Attempt to fix CircleCI trunk config, round 3.
2023-10-20 21:39:23 -07:00
Kyle Isom
540a0d5b74
Attempt to fix CircleCI trunk config, round 2.
2023-10-20 21:21:39 -07:00
Kyle Isom
2d7a8d5c1d
Attempt to fix CircleCI trunk config.
2023-10-20 21:20:40 -07:00
Kyle Isom
0c7fa41cc8
Document and refactor geom code, round 2.
...
- Doxygenate headers.
- Rename to bring methods and functions in line with everything else.
2023-10-20 21:17:18 -07:00
Kyle Isom
6a421d6adf
Document and refactor geom code.
...
- Doxygenate headers.
- Rename to bring methods and functions in line with everything else.
2023-10-20 20:45:39 -07:00
Kyle Isom
4b1007123a
Test suite cleanups, convert Coord2D to Vector<T, 2>.
...
- The standard SimpleSuite setup now include flags to suppress printing
the report in addition to silencing the test runs. This is useful in
automated testing.
- Point2D and Polar2D in Coord2D have been converted from custom types
to Vector<int, 2> and Vector<double, 2>, respectively.
2023-10-20 19:05:55 -07:00
Kyle Isom
68ed5e0aca
Minor code cleanups.
2023-10-20 16:13:49 -07:00
Kyle Isom
2fceae91fd
geom: add missing include.
2023-10-20 03:14:12 -07:00
Kyle Isom
1c2f9af9d9
ci: update script name.
...
This is a change in the upstream dev container.
2023-10-20 03:08:08 -07:00
Kyle Isom
e923335396
Alpine image can't run trunk.
2023-10-20 03:06:04 -07:00
Kyle Isom
fa8a89625b
add trunk config to repo
2023-10-20 03:05:12 -07:00
Kyle Isom
b49caa3ec9
Cleaning up and documenting scmp code.
2023-10-20 02:59:36 -07:00
Kyle Isom
4eb4008130
Further code cleanups and documentation.
...
- Coverity defects.
- Documentation.
2023-10-20 01:31:06 -07:00
Kyle Isom
2a23d2e204
Fix CircleCI build, more coverity fixes.
2023-10-19 22:57:55 -07:00
Kyle Isom
a5bb31943c
Add trunk to repo, import clang-format.
2023-10-19 22:04:15 -07:00
Kyle Isom
f896a108dd
Coverity fixes.
...
Primarily using std::move in more places.
2023-10-19 21:43:38 -07:00
Kyle Isom
9494871145
README.md: use the correct badge for CircleCI.
2023-10-19 21:19:53 -07:00
Kyle Isom
1c6de07b7a
test/coord2d: add missing <array> include.
2023-10-19 21:18:08 -07:00
Kyle Isom
eaea8c2ab0
Buffer: add explicit/defensive coding checks.
2023-10-19 21:00:35 -07:00
Kyle Isom
6dab443789
Dictionary: add defensive coding checks.
2023-10-19 21:00:21 -07:00
Kyle Isom
0a661a7d70
Close file handle when done.
...
This also brings the arena to a single-return standard.
2023-10-19 20:55:31 -07:00
Kyle Isom
b1bbaebdac
Slow working on bringing the old code up to standard.
...
- Documentation updates - most of the old files use non-Doxygen or
no/minimal header comments.
- Rework SimpleSuite to be more useful.
- Coverity-surfaced fixes.
2023-10-19 20:32:46 -07:00
Kyle Isom
a9991f241a
Add badges to README.
2023-10-19 11:16:13 -07:00
Kyle Isom
49eea73449
Arena: remove resource leak.
2023-10-19 10:59:43 -07:00
Kyle Isom
36fe049485
Continuing refactor work.
2023-10-19 00:58:40 -07:00
Kyle Isom
8d02d078e7
refactor namespaces
2023-10-18 23:57:50 -07:00
Kyle Isom
5f3dc6e9f6
Restructure project, start importing sc3 code.
2023-10-18 23:44:05 -07:00
Kyle Isom
3122ed6ac7
Add circleci config.
2023-10-18 17:57:19 -07:00
Kyle Isom
184d468b06
Dictionary conditions reversed.
...
During a code cleanup, a check for a TLV tag inverted the logic.
2023-10-18 17:35:27 -07:00
Kyle Isom
fa1cb59697
Add missing include header.
...
This was being included transitively.
2023-10-18 16:21:09 -07:00
Kyle Isom
a8387f010f
Trying to get build working on Fedora.
2023-10-18 16:19:09 -07:00
Kyle Isom
00e9bc0f22
Format README.
2023-10-17 00:45:21 -07:00
Kyle Isom
567f5f9564
gitea doesn't support RST READMEs, so renamed this.
2023-10-17 00:44:40 -07:00
Kyle Isom
b7584b06cc
Cleanup example program in Flag docs.
2023-10-16 23:58:49 -07:00
Kyle Isom
a0cd2ca866
Add trailing newline to cmake config.
2023-10-16 21:23:26 -07:00
Kyle Isom
a0edf915ad
Remove test prints and fix cursor checks in dictionary.
2023-10-16 17:53:50 -07:00
Kyle Isom
930a2d68f4
Update docs; bump patch version.
2023-10-16 15:03:22 -07:00
Kyle Isom
40d92db968
Bump package version.
2023-10-16 04:02:46 -07:00
Kyle Isom
407ee1c85d
Cleanup code and docs; add missing header.
...
- The source and header files should have standard comment headers.
- Windows support has been removed, as I've decomissioned my Windows
desktop in favour of a Linux desktop.
- Commander.h wasn't being added to the install directory.
2023-10-16 04:01:35 -07:00