Commit Graph

38 Commits

Author SHA1 Message Date
Thomas Jensen
4246ad1203
Update copyright statements for 2024 2024-02-16 22:01:58 +01:00
Thomas Jensen
863c7c1f7b
Test and fix more comparison types in box removal 2023-12-02 22:26:36 +01:00
Thomas Jensen
505b10b98f
Remove unused code from 'tools' module 2023-12-02 22:26:35 +01:00
Thomas Jensen
e2d5eab97b
Add BMIN macro to tools.h 2023-12-02 22:25:17 +01:00
Thomas Jensen
a759026790
Switch input structure entirely to bxstring 2023-12-02 22:25:12 +01:00
David Sargeant
71331ee205 tools.h - change set_bx_fprintf() function declaration to match renamed parameter 2023-12-02 13:51:55 +01:00
David Sargeant
54957a144b Change bx_fprintf to a function pointer to enable unit testing on MacOS 2023-12-02 13:51:55 +01:00
Thomas Jensen
6cea61c327
Add bxstring support to 'generate' module 2023-05-19 22:12:51 +02:00
Thomas Jensen
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
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
ab28ad8c3a
Add workaround for mockable fprintf on MinGW 2021-11-01 14:23:19 +01:00
Thomas Jensen
a7227c8aa8
Extract reading of input lines into its own, new 'input' module #78 2021-04-17 15:30:51 +02:00
Thomas Jensen
8a6d0d3315
Add and use bx_strndup() in 'tools' module for cross-platform compatibility 2021-04-11 20:34:51 +02:00
Thomas Jensen
27adf5b6ba
Add argument to -q option for tag queries #23
-q is no longer undocumented,
but can officially be used in combination with -l
2021-04-06 22:13:41 +02:00
Thomas Jensen
aab643acbc
Add array_contains0() and array_count0() function to tools module 2021-04-06 22:13:41 +02:00
Thomas Jensen
9315e62528
Add 'parent' keyword to parser/lexer #5
Also major parser/lexer rework to support being called multiple
times.  Switch to reentrant and parameterizable parser.
2021-03-22 20:45:45 +01:00
Thomas Jensen
614ea31237
Add function array_contains() to 'tools' module 2021-03-22 20:45:45 +01:00
Thomas Jensen
033c879ae6
Add helper function concat_strings_alloc() to tools module 2021-03-19 16:40:53 +01:00
Thomas Jensen
f4f14cdc61
Update copyright statements in source files with current year 2021-02-15 21:10:54 +01:00
Thomas Jensen
5dad2d1137
Add unicode-awareness in box removal functionality #1 2021-02-13 11:01:55 +01:00
Thomas Jensen
a579da13a5
Unicode-enable regex processing by introducing PCRE2 #1 #67 2021-02-13 11:01:54 +01:00
Thomas Jensen
53e7782b5f
Remove unused function nspaces32() from tools module #1 2021-02-13 11:01:54 +01:00
Thomas Jensen
eeeacf2949
First successful box with unicode and ansi sequences #1
Existing test cases all green
2021-02-13 11:01:37 +01:00
Thomas Jensen
a6a5898341
Unicode-enable the reading of input #1 2021-02-13 11:01:27 +01:00
Thomas Jensen
f2ddb6d6df
Support unicode in expand_tabs_into() of tools.c
Declare ucs4_t character constants in boxes.h
Start unicode support in boxes.c #1
2021-02-13 10:54:26 +01:00
Thomas Jensen
f536d45f7a
Apply new code format from CLion 2021-02-13 10:54:26 +01:00
Thomas Jensen
f9193eb4b3 Replace CPP style comments with C style comments 2019-02-20 11:04:09 +01:00
Thomas Jensen
7d98227583
Change source file header to plain GPLv2 headers 2019-02-15 21:24:31 +01:00
Thomas Jensen
022cdd17c8
Change website references to https 2019-02-14 21:41:11 +01:00
Thomas Jensen
90f967adb3 Remove obsolete revision histories from source file headers 2015-01-11 23:15:48 +01:00
Thomas Jensen
2dccdbcc0d Moved boxes sources from RCS to git 2014-08-27 22:41:48 +02:00
Thomas Jensen
6f11b40d19 Changed expand_tabs_into() signature in order to support advanced tab handling
Added tabbify_indent()
2006-07-22 19:11:07 +00:00
Thomas Jensen
3f8bdab8f2 Updated email and web addresses in comment header 2006-07-12 05:25:27 +00:00
Thomas Jensen
a5119027eb Added concat_strings() function prototype from Joe Zbiciak's patches 1999-08-31 15:38:42 +00:00
Thomas Jensen
80846a69d1 Added GNU GPL disclaimer
Removed include boxes.h
Added prototypes for strisyes() and strisno()
1999-07-20 18:56:15 +00:00
Thomas Jensen
77e0ce8550 Initial revision 1999-06-23 11:19:30 +00:00