Commit Graph

20 Commits

Author SHA1 Message Date
a759026790 Switch input structure entirely to bxstring 2023-12-02 22:25:12 +01:00
6cea61c327 Add bxstring support to 'generate' module 2023-05-19 22:12:51 +02:00
cd2ccdaed3 Add bxs_filter_visible() and react to color options in bxs_to_output() in 'bxstring' module 2023-05-09 21:09:00 +02:00
08feb7eb2c Add long options capability to command line 2023-05-06 22:43:11 +02:00
4cce7ae461 Add bxs_is_visible_char() to 'bxstring' module 2023-05-04 21:30:47 +02:00
c41997870e Add test case and fix for string with broken escape sequences 2023-05-01 14:18:33 +02:00
21a691fbd1 Use UTF-8 data read from config file #72
- shapes get additional MBCS values
- metadata is already converted for real to use bxstr_t*
2023-04-19 21:06:00 +02:00
5026357fc2 Add more tests for bxstring creating functions 2023-03-28 21:27:06 +02:00
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
77d02890a7 Update copyright statements for 2023 2023-03-26 21:32:08 +02:00
a3a37b50fc Upgrade project license to GPL-3 #101 2022-09-18 15:00:15 +02:00
11da751439 Add more unit tests for command line option parsing 2021-11-05 22:02:55 +01:00
7b828461ed Add unit tests for different input and output file situations 2021-11-05 21:48:50 +01:00
413b174d6c Add unit tests for alignment option parsing (-a) 2021-11-05 21:10:11 +01:00
fbc4678faa Add some unit tests for tab option parsing (-t) 2021-11-05 14:28:13 +01:00
f13207318a Add some unit tests for -p option parsing 2021-11-05 14:07:58 +01:00
84d051f1e5 Add unit tests for '-k' option parsing 2021-11-04 21:53:35 +01:00
0e2b57c97d Add unit tests for indentation mode cmdline parsing 2021-11-04 14:12:40 +01:00
b07af10931 Add three more unit tests for regex_replace() 2021-11-01 21:46:43 +01:00
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