Thomas Jensen
f739343c29
Move some declarations from shape.h to boxes.in.h
...
This resolves some otherwise circular dependencies between modules.
2023-12-09 14:54:13 +01:00
Thomas Jensen
cde5ecc26a
Extract match_outer_shape() function in 'remove' module
2023-12-02 22:26:31 +01:00
Thomas Jensen
a759026790
Switch input
structure entirely to bxstring
2023-12-02 22:25:12 +01:00
Thomas Jensen
b91dfd5dff
Fix some problems with LEX and YACC defaults on Linux
...
Remove flags_darwin, which are the same as flags_unix now
2023-12-02 13:51:55 +01:00
David Sargeant
80880a3ad7
Removed linker --wrap
option so unit tests run on macOS
2023-12-02 13:51:55 +01:00
David Sargeant
d2c44c04e0
Update function name to be wrapped in unit testing Makefile
2023-12-02 13:51:55 +01:00
David Sargeant
5f0db01418
Update Makefile, src/Makefile, and utest/Makefile to support MacOS unit tests
2023-12-02 13:51:55 +01:00
Thomas Jensen
d80ed48102
Fix declared header dependencies in Makefiles
2023-05-01 21:41:02 +02:00
Thomas Jensen
4ff37eb5ba
Extend bxstring functionality
2023-03-31 21:00:00 +02:00
Thomas Jensen
b0d3384bd4
Add new "bxstring" module which is meant to evolve into boxes' string abstraction
...
It handles embedded escape sequences, mbcs encodings, and characters wider than 1 column.
2023-03-26 21:34:44 +02:00
Thomas Jensen
77d02890a7
Update copyright statements for 2023
2023-03-26 21:32:08 +02:00
Thomas Jensen
a3a37b50fc
Upgrade project license to GPL-3 #101
2022-09-18 15:00:15 +02:00
Thomas Jensen
0e2b57c97d
Add unit tests for indentation mode cmdline parsing
2021-11-04 14:12:40 +01:00
Thomas Jensen
ab28ad8c3a
Add workaround for mockable fprintf on MinGW
2021-11-01 14:23:19 +01:00
Thomas Jensen
4ae947ff99
Extend unit testing capabilities
...
- Structure unit tests into multiple modules
- Add setup/teardown of fixtures
- Add ability to capture and check stdout and stderr
- Add mock handling to Makefile
2021-10-28 09:01:14 +02:00
Thomas Jensen
a5dae11c4c
Add the first cmocka-based unit tests
2021-10-21 20:23:52 +02:00