Commit Graph

660 Commits

Author SHA1 Message Date
Thomas Jensen
bae35281d0
v2.3.1 2024-10-03 10:47:35 +02:00
Thomas Jensen
eea1dfea1c
Update sample GIF in README.md 2024-09-30 21:57:17 +02:00
Thomas Jensen
35c4bb351e
Activate ANSI processing on older terminals on Windows 2024-09-28 20:55:55 +02:00
Thomas Jensen
00fdedd302
Remove unused function array_contains() from 'tools' module 2024-09-28 15:00:46 +02:00
Thomas Jensen
a71e1b875c
Add test cases for generating debug log output 2024-09-28 15:00:45 +02:00
Thomas Jensen
83fc460a49
Remove remaining EOF comments from source files 2024-09-28 15:00:45 +02:00
Thomas Jensen
17013e60e7
Migrate preprocessor-based debug statements to our logging module 2024-09-28 15:00:45 +02:00
Thomas Jensen
083fc37b12
Consolidate undocumented options into -x command line option 2024-09-28 15:00:45 +02:00
Thomas Jensen
c0bba2adf1
Use 'logging' module for first outputs in 'cmdline' module 2024-09-28 14:53:16 +02:00
Thomas Jensen
f5e7d7b31e
Add unit tests of new 'logging' module 2024-09-28 14:53:16 +02:00
Thomas Jensen
d8e0e7421c
Add new module 'logging' to handle debug logging
This should be nicer than using the preprocessor.
2024-09-28 14:53:16 +02:00
Thomas Jensen
716348befc
Give SPDX id of our license in README 2024-06-01 16:18:23 +02:00
Thomas Jensen
7e87a76781
Show Bram Moolenaar as designer of vim-box 2024-05-30 18:11:29 +02:00
Thomas Jensen
0dcfdf2963
Simplify pattern in adjust_eols() in 'parsecode' module 2024-05-13 21:55:50 +02:00
Thomas Jensen
13c5ef8e43
Fix MacOS CI build by staying on macos-13 2024-05-05 21:19:25 +02:00
Thomas Jensen
d723db3144
Update status info in README.md 2024-05-05 14:15:24 +02:00
Thomas Jensen
ce44ba6307
Tolerate escape codes in config file when converting line endings for Chocolatey package 2024-02-17 21:19:51 +01:00
Thomas Jensen
75dfd61801
v2.3.0 2024-02-17 12:43:27 +01:00
Thomas Jensen
556a5e8bda
Tolerate escape codes in config file when converting line endings for windows package 2024-02-17 12:43:26 +01:00
Thomas Jensen
4246ad1203
Update copyright statements for 2024 2024-02-16 22:01:58 +01:00
Thomas Jensen
5456fc2367
Adapt Windows-specific code to recent changes
This included renaming the `WORD` token in our lexer to `BXWORD`,
in order to avoid a conflict with a symbol in windows.h.
2024-02-15 22:00:41 +01:00
Thomas Jensen
2b0e3ceaec
Add test case for UTF-8 parent config file name 2024-02-14 22:03:15 +01:00
Thomas Jensen
d62b04e485
Drop fields REVISION, REVDATE, and CREATED from config file
These pieces of information are really in Git, so they are no longer required in the config file.
2024-02-14 22:03:15 +01:00
Thomas Jensen
7137e59a53
Add aliases 'lua-cmt' and 'sql-cmt' for 'ada-cmt'; same for 'ada-box' 2024-02-14 22:03:14 +01:00
Thomas Jensen
36016b9019
Migrate to new tags syntax in config file
The new syntax is supported since boxes v2.1.0.
2024-02-14 22:03:08 +01:00
Thomas Jensen
05019d688c
Rename some variables to use English abbreviations 2024-01-01 13:37:43 +01:00
Thomas Jensen
daa8b6d761
Fix static build on Linux with ncurses
When compiling our static ncurses, we need to have a valid TERMINFO variable, so that the fallback terminfo database can be retrieved. This must be a terminfo database in the newer, hashed format (hex directories), as required by ncurses >= 6.1. Normally, that's what you get when installing terminfo on Linux. On MinGW, it's also available, but sometimes in a weird directory.
2023-12-31 17:03:51 +01:00
Thomas Jensen
15e06b197a
Cherry-pick the v2.2.1 version declarations from the release_2.2.1 branch to master 2023-12-31 14:27:19 +01:00
Thomas Jensen
d857b59dbe
Fix unit test test_inputfiles_actual_success() in 'cmdline_test' module
to create dummy output in out/ directory.
2023-12-30 20:21:45 +01:00
Thomas Jensen
4888a1e27e
Remove SBOM from repo
In the future, we will instead use GitHub features to publish SBOMs
with a release. It does not make sense to declare a single SBOM,
because it depends on the build system.
2023-12-30 20:09:07 +01:00
Thomas Jensen
297a6ef959
Use -ggdb3 option for more detailed debug info 2023-12-24 14:12:51 +01:00
Thomas Jensen
0eb8272e9b
Change testrunner.sh so that coverage is only calculated for all black-box tests in total
Coverage per test can be displayed using the new `--coverage-per-test` option, which implies `--coverage`.
This should speed up our CI workflows.
2023-12-24 14:12:50 +01:00
Thomas Jensen
e6343dda0e
Address shellcheck findings in utest/report.sh 2023-12-24 14:12:50 +01:00
Thomas Jensen
2727e0c997
Add sunny-day tests to GitHub workflow 2023-12-24 14:11:42 +01:00
Thomas Jensen
89f0608504
Fix some box removal bugs 2023-12-24 14:11:42 +01:00
Thomas Jensen
e9a3014db0
Add 'dragon' box design 2023-12-24 14:11:42 +01:00
Thomas Jensen
dd82c33888
Fix vertical shape detection with open sides 2023-12-24 14:11:41 +01:00
Thomas Jensen
0fe0362926
Update vscode config 2023-12-24 14:11:41 +01:00
Thomas Jensen
5c615a3ada
Compensate for default padding when mending 2023-12-24 14:11:41 +01:00
Thomas Jensen
70344a7324
Add test suite for sunny day scenarios
We add, mend, and remove every design in our official config file
and check that the operation is successful.
2023-12-24 14:11:40 +01:00
David Sargeant
62f8587a28
Add ANSI box options to default config 2023-12-24 14:06:50 +01:00
Thomas Jensen
0d4f49f0fb
Add default padding to some box designs 2023-12-24 14:06:49 +01:00
Thomas Jensen
30950e7f72
Refactor is_blankward() in shape.c 2023-12-09 14:54:14 +01:00
Thomas Jensen
0eed7422f6
Restore indentation mode on box removal 2023-12-09 14:54:14 +01:00
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
76c4e10cd1
Add new test case for nearly blank corners and indentation removal
... including some fixes to make this work.
2023-12-09 14:54:13 +01:00
Thomas Jensen
c146373601
Update .gitignore with cmake build artifacts 2023-12-09 14:54:12 +01:00
Thomas Jensen
02610f4613
Free some unused memory in 'cmdline' module 2023-12-09 14:53:13 +01:00
Thomas Jensen
94de53c6f0
Do not use ncurses on Windows
Instead, we just assume that on Windows, we always have color-capable terminals.
2023-12-09 14:51:25 +01:00
Thomas Jensen
ba40638946
Add two more black-box tests for removal with fixes 2023-12-09 14:51:23 +01:00