33870fb8e7
Add SBOM in CycloneDX format
2022-09-18 21:55:18 +02:00
082a808a1a
Add header to pipeline definition
2022-09-18 21:55:03 +02:00
a3a37b50fc
Upgrade project license to GPL-3 #101
2022-09-18 15:00:15 +02:00
4aa38ce620
Minor update to vscode settings
2022-09-18 14:33:44 +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
eab1e13df2
Fix a small bug when parsing the padding command line argument (-p)
...
When an empty string was passed as padding spec, this was
not properly flagged as an error.
2021-11-05 14:03:49 +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
5ea2f5b2b8
Add test for long usage info
2021-11-02 21:13:09 +01:00
b07af10931
Add three more unit tests for regex_replace()
2021-11-01 21:46:43 +01:00
ab28ad8c3a
Add workaround for mockable fprintf on MinGW
2021-11-01 14:23:19 +01:00
96a79f309c
Move 3rd party libs needed on Windows to 'vendor' folder
2021-11-01 14:23:19 +01:00
d732154bf8
Improve compatibility of testrunner.sh with mingw shell
2021-11-01 14:23:09 +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
729c4e0692
Add two more unit tests on tools.c
2021-10-21 20:49:49 +02:00
a5dae11c4c
Add the first cmocka-based unit tests
2021-10-21 20:23:52 +02:00
f8d20378ea
Add coverage measurement to GitHub Actions
2021-09-12 10:44:57 +02:00
1b731a08bd
Refactor testrunner.sh script for readability
2021-09-11 20:29:40 +02:00
e40fe370e2
Add test coverage measurement to black-box tests
2021-09-09 21:44:49 +02:00
3c56934ddc
Remove whitespace check on -c ( #92 )
...
Resolves #88
2021-08-31 17:31:43 +02:00
270d3ed7d7
Improve testrunner.sh's handling of whitespace args #92
2021-08-30 16:37:51 +02:00
ab9f123981
Count tab as whitespace in "empty shape" check #92
2021-08-28 15:08:44 +02:00
a02e241cfa
Add box designs 'cowsay' and 'tux' (from cowsay) #91
...
Cowsay and every cowsay implementation in a new language doesn't support different width characters, and the odds of cowsay getting an update are very low. Step on cowsay's toes and provide a cow that doesn't break for chinese, japanese, korean users. Used with permission by Tony Monroe.
2021-08-25 22:21:42 +02:00
7f54baf409
=> take advantage of 'boxes -q "(all)"' when defining boxes-types-alist
...
=> make boxes-known-modes user customizable
2021-08-12 14:19:25 +02:00
ecb8132569
Amend definition of boxes-types-alist to catch box names containing an
...
underscore (eg ian_jones)
2021-08-09 11:07:55 +02:00
b96b67878b
Add vscode recommended extensions list
2021-08-08 21:05:06 +02:00
121c2c32cb
Add latest version badge in README.md
2021-07-16 11:39:04 +02:00
4fc33e7cee
Fix quoting of closing comment tags in config
2021-06-18 20:56:08 +02:00
89fea620e3
Update choco package spec
2021-06-16 21:08:56 +02:00
4ced2b4715
Fix bug with :global:
parent resolution
2021-06-16 20:52:36 +02:00
47dfac4897
Make 'normand' sample a little narrower
2021-06-15 20:44:27 +02:00
0296c8dd7c
v2.1.1
v2.1.1
2021-06-14 21:00:11 +02:00
e5af7dba2d
Add new box design 'normand'
2021-06-13 22:35:40 +02:00
d1a318d1c3
Tag some box designs as 'large' in config file
...
This is for box designs which are best suited for large content,
like figlet fonts or just a lot of text. They want to be BIG!
2021-06-13 22:35:39 +02:00
fe3074524f
Add new box design 'weave'
2021-06-13 22:35:39 +02:00
252d080403
Tag 'none' is not allowed
2021-06-13 22:35:39 +02:00
2d3a842728
Refactor lexer and parser for maintainability
...
- Speedmode is now purely a parser thing
- Lexer start condition SPEEDMODE is no longer needed
- Added lexer start condition BOX to distinguish box def content
- DELIMs are now purely a lexer thing
- No shared state between lexer and parser for DELIMs anymore
- Fix bug where speedmode could terminate in a SAMPLE block
- All lexer start conditions now exclusive
- Improved debug output
- Renamed parser token YDELWORD to YDELIMSPEC
2021-06-13 22:34:53 +02:00
00153f8068
Fix a bug where alias names could be defined twice
...
This could happen when configs are inherited, but aliases redefined
(a rare case so far).
2021-06-08 22:06:25 +02:00
d6433d3d41
Update some URLs after website redesign
2021-05-29 20:56:55 +02:00
273207893c
Update README.md
2021-04-28 10:10:49 +02:00
4daa0f4f46
Fix repo encoding of ISO-8859-15 encoded files #83
2021-04-27 10:51:00 +02:00
b90475eb2c
Remove preproc troubleshooting file parser.p #82
...
It was useful for checking what the pre-processor
did to the parser.c file, but as this invocation
caused problems on macos, we can leave it out.
2021-04-27 10:39:13 +02:00
28e5cef58d
Add animated example gif to readme
2021-04-25 13:58:14 +02:00
688a4d107d
fix definition of boxes-types-alist to catch up with changed output
...
layout of "boxes -l"
2021-04-23 11:47:50 +02:00
5d3bdfb9fa
Gracefully handle "git describe" failure in Makefile
...
If the build environment does not have git or the git repo available,
we just leave out the git hash from the version information.
It would be missing anyway, but the empty parentheses
look awkward.
2021-04-21 22:16:59 +02:00
7b7d4b4adf
The vim syntax file is now default encoding
2021-04-21 21:08:29 +02:00