Commit graph

251 commits

Author SHA1 Message Date
GitHub Actions
a5b9c64c7a Update CImg to v.3.3.5 2024-04-17 20:26:24 +00:00
Aaron Liu
56bac07109
try checkoutv2 per https://github.com/actions/checkout/issues/664 2024-04-02 22:22:36 -04:00
Quentin Santos
92cf12d2ec Fix some minor typos 2024-03-23 10:36:25 +01:00
Aaron Liu
84a3616796
fix entry point display and remove spurious newlines 2024-03-20 16:29:33 -04:00
Stefan Haustein
38ec4249b8 small fixes 2024-03-20 20:59:16 +01:00
Stefan Haustein
df32d7e1c1 Updated README, pointing at the API. 2024-03-20 20:14:42 +01:00
Stefan Haustein
8aca9afaf7 cleanup / formatting 2024-03-06 18:51:31 +01:00
Stefan Haustein
917b381bc3 preparation for more character groups 2024-03-06 18:37:16 +01:00
GitHub Actions
a18c4e62c6 Update CImg to v.3.3.4 2024-03-03 00:27:09 +00:00
Stefan Haustein
e5787c0288 Slight reformatting 2024-02-21 20:41:27 +01:00
Stefan Haustein
2fa6ece556 Change getPixel to actually transfer a full pixel with all channels 2024-02-21 20:34:50 +01:00
Aaron Liu
4cb242b7f5
re-add error message formatting from 7b5d790 2024-02-17 14:14:32 -05:00
Stefan Haustein
b783c67f66 split tiv_lib.h/.cpp out of tiv.cpp, adressing issue #52 2024-02-14 20:36:34 +01:00
Stefan Haustein
8c9ca72902 slightly re-word the license. 2024-02-14 19:55:08 +01:00
Stefan Haustein
a901624905 Replace constants copied from sysexits.h with our own definitions 2024-02-14 19:51:05 +01:00
Stefan Haustein
1c2c1c27e8 Always define the exit codes locally -- even on posix. 2024-02-14 19:23:02 +01:00
Alessandro de Oliveira Faria (A.K.A.CABELO)
190689961e
Fix @cabelo's name (#139)
Sorry!
2024-02-11 21:29:12 -05:00
Aaron Liu
a216fc64eb
Workflow for updating CImg (#137)
Also updates CImg to 3.3.3... huh, coincidence? <!-- I think not -->
2024-02-02 16:28:03 -05:00
Aaron Liu
ca97659f83
redo 9969dd1 2024-02-01 18:30:28 -05:00
Aaron Liu
dedaa1b7c2
redo 7b5d790 and f51dc08 2024-02-01 18:27:29 -05:00
Aaron Liu
3373e02e4c
CI: say chosen image name and only trigger if src files are modified or we want it to 2024-02-01 18:21:13 -05:00
Aaron Liu
4e1709a7c5
downgrade needed c++ to 17 2024-02-01 18:20:56 -05:00
Stefan Haustein
cc4b4b30bd
Update README.md
Clean up the installation options
2024-02-01 18:20:55 -05:00
Stefan Haustein
516107ca4f
Update README.md
Add another hint to install ImageMagic to the common problems / troubleshooting section.
2024-02-01 18:20:55 -05:00
Aaron Liu
8d785902e6
merge 2024-02-01 18:20:49 -05:00
Stefan Haustein
bc2d21db09
change format to string streams, as format is only available in 0x20, which complicates compiling on a mac 2024-02-01 18:18:59 -05:00
Aaron Liu
a64e5527a9
Add news and license note 2024-02-01 18:18:58 -05:00
Aaron Liu
e70f05fdf6
test dir mode and add more images that could be tested 2024-02-01 18:18:58 -05:00
Aaron Liu
7b5d7907d1
fix spurious size detect error and format error messages from system
TODO: fix unexpanded tilde on Windows
2024-02-01 18:18:50 -05:00
Aaron Liu
497b533010
hopefully this fixes gcc 2024-02-01 18:16:53 -05:00
Aaron Liu
c6b8855930
fix CI to force gcc 13 2024-02-01 18:14:28 -05:00
Aaron Liu
ac334fdfaa
lots of changes after a lot of time
rewrote some functions to use an accompanying function that returns a string; this prepares for splitting us into a library
fixed weird bug caused by CImg update
some endls have been replaced with \n
slightly more consistent function naming
more comments

1.3 part 1 out of ?
2024-02-01 18:14:27 -05:00
Aaron Liu
d9c1b47816
fix last commit 2024-02-01 18:14:23 -05:00
Aaron Liu
7b3c8286fe
make positioning of flags in emitTermColor consistent with other funcs 2024-02-01 18:13:31 -05:00
Aaron Liu
f51dc08b0a
correct image size in warning
it's 20x6, not 80x24
2024-02-01 18:07:20 -05:00
Aaron Liu
e636a03c13
separate print and string generation functions
string generation during image processing now have their own functions
2024-02-01 18:05:50 -05:00
Aaron Liu
9969dd1cff
rename some functions
change emit to print; emit will be used for things that generate strings/streams
use camelCase, closer to google style
specify that color is terminal color
2024-02-01 18:04:23 -05:00
Aaron Liu
c001eca18d
minor optimizations & bump version
make flags an int8_t
replace excessive instances of endl with \n
make a boolean const with better assignment
2024-02-01 18:01:06 -05:00
Aaron Liu
e72b11d359
more comments 2024-02-01 17:52:19 -05:00
Aaron Liu
e358e372ec
fix weird CImg bug 2024-02-01 17:49:14 -05:00
Stefan Haustein
0bfc892f4f Use a function reference instead of a cimg object for the inner conversion methods. Preparation for factoring them out to a separate file (tiv_lib.h / .cpp) 2024-02-01 21:22:39 +01:00
Stefan Haustein
bba4a692db clarify comments some more 2024-01-24 20:13:28 +01:00
Stefan Haustein
512b3dd91c Align license header with README.md 2024-01-24 19:55:40 +01:00
Stefan Haustein
1154264c54 Clarify / clean up some comments 2024-01-24 19:49:07 +01:00
Aaron Liu
71d1a80d14
PR #136 from penguin359/penguin359-ci: Basic testing CI 2024-01-19 14:18:41 -05:00
Loren M. Lang
ba7bafe092
Dropped install and don't restrict color palette during test 2024-01-19 11:15:19 -08:00
Loren M. Lang
2b46a7a227 Specifiy specific size and colors 2024-01-16 21:41:27 -08:00
Loren M. Lang
8f91b297f1 Create a basic Continuous Integration test
Run a program test at the end.
2024-01-16 21:40:53 -08:00
Aaron Liu
7573de8a61
fix a stupid typo and clarify windows error code 2023-12-06 20:38:24 -05:00
Aaron Liu
c4e12b539a
bump version 2023-12-06 16:04:41 -05:00