Thomas Jensen
|
6ce0f86898
|
Rename s1 and s2 parameters of u32_strnrstr to haystack and needle in unicode module
|
2023-12-02 22:25:18 +01:00 |
|
Thomas Jensen
|
f30f12a988
|
Add south_side_rev to shape module
|
2023-12-02 22:25:18 +01:00 |
|
Thomas Jensen
|
ead517a4d7
|
Fix problems found by unit tests and compiler
These had been caused by the reimplementation of a module.
|
2023-12-02 22:25:18 +01:00 |
|
Thomas Jensen
|
4175d72bc8
|
Rewrite 'remove' module to enable unicode, double-with chars, and coloring
|
2023-12-02 22:25:17 +01:00 |
|
Thomas Jensen
|
9511d18bc1
|
Add bxs_ltrim() to bxstring module
|
2023-12-02 22:25:17 +01:00 |
|
Thomas Jensen
|
e2d5eab97b
|
Add BMIN macro to tools.h
|
2023-12-02 22:25:17 +01:00 |
|
Thomas Jensen
|
aef8c56eed
|
Add u32_insert_space_at() to 'unicode' module
|
2023-12-02 22:25:17 +01:00 |
|
Thomas Jensen
|
6c40928ed0
|
Add u32_is_blank() in 'unicode' module
|
2023-12-02 22:25:16 +01:00 |
|
Thomas Jensen
|
1b71c4fca2
|
Extract some common code in 'detect' module
|
2023-12-02 22:25:16 +01:00 |
|
Thomas Jensen
|
47c32efa5f
|
Extract a new module 'detect' from 'remove' module
This is the "design autodetect" functionality.
|
2023-12-02 22:25:16 +01:00 |
|
Thomas Jensen
|
a759026790
|
Switch input structure entirely to bxstring
|
2023-12-02 22:25:12 +01:00 |
|
Thomas Jensen
|
45ce5e6762
|
Add more box removal test cases
|
2023-12-02 22:23:43 +01:00 |
|
Thomas Jensen
|
15c72d4d99
|
Restore branch coverage for tests on Linux
|
2023-12-02 14:36:19 +01:00 |
|
Thomas Jensen
|
1cbd1f933c
|
Change Makefile so that 'clean' spares the vendor/ folder
Run 'make cleanall' to remove it as well
|
2023-12-02 14:02:08 +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 |
|
Matthew Thompson
|
2c904da505
|
use defines
|
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 |
|
Matthew Thompson
|
03c79973f0
|
Remove ignore errors
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
cc6b3502af
|
Add flex and bison to env
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
ed19a57c59
|
Enable white-box tests on macOS
|
2023-12-02 13:51:55 +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
|
5f0db01418
|
Update Makefile, src/Makefile, and utest/Makefile to support MacOS unit tests
|
2023-12-02 13:51:55 +01:00 |
|
David Sargeant
|
503a81cf9a
|
setup_mocks() should set function pointer bx_fprintf to point to __wrap_bx_fprintf()
|
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 |
|
David Sargeant
|
f369cb80ba
|
.gitignore add VS Code and JetBrains CLion files
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
bfee5e3023
|
Try and handle multiple coveralls
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
a89b8cc838
|
Try and handle test 111
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
a71c3f080d
|
Ignore unused error
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
5e9c69ccec
|
move to branch_coverage to avoid warning
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
0233ef2c3e
|
Update to checkout v4
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
f732ff298b
|
Remove LC_ALL as more tests crashed with it
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
f3bd61075f
|
Add LC_ALL
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
ba4a01728b
|
Add findutils for xargs
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
fa13dedef2
|
Add gnu-sed
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
9530c5889d
|
macos runners have git libunistring pcre2 and ncurses by default
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
c137b853fb
|
Use GNU grep on macos
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
539f215e35
|
Turn off whitebox
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
069197052e
|
Allow override of LEX and YACC; merge changes from macos-ci branch
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
3551c4bd57
|
Explicit LEX and YACC
|
2023-12-02 13:51:55 +01:00 |
|
Matthew Thompson
|
a14601bd09
|
Add macOS CI
|
2023-12-02 13:51:55 +01:00 |
|
Thomas Jensen
|
bfb8428f1f
|
Fix Windows build for more recent MinGW
- Use ncurses.h from MinGW directory
- Remove 'src/misc' directory, which is now covered by MinGW
|
2023-11-12 15:19:52 +01:00 |
|
Matthew Thompson
|
fd65f16827
|
Add _DARWIN_C_SOURCE if APPLE (#119)
|
2023-08-24 15:50:57 +02:00 |
|
Thomas Jensen
|
47b7084fa1
|
Enable terminal colors globally for tests
|
2023-05-19 22:12:51 +02:00 |
|
Thomas Jensen
|
2984cda0ca
|
Add test for generating a colored unicode box which
includes some double-wide characters
|
2023-05-19 22:12:51 +02:00 |
|
Thomas Jensen
|
6cea61c327
|
Add bxstring support to 'generate' module
|
2023-05-19 22:12:51 +02:00 |
|
Thomas Jensen
|
232be1cdc4
|
Fix color test cases for GitHub Actions without TERM
|
2023-05-10 21:06:00 +02:00 |
|
Thomas Jensen
|
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 |
|
Thomas Jensen
|
241459e5b4
|
Add ncurses library to check terminal's color support
|
2023-05-08 21:12:00 +02:00 |
|
Thomas Jensen
|
89111c55b6
|
Add new command line options --color and --no-color
|
2023-05-07 15:25:23 +02:00 |
|