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
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
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
4e1709a7c5
downgrade needed c++ to 17
2024-02-01 18:20:56 -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
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
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
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
Aaron Liu
e5c4677542
Merge branch 'master' of https://github.com/stefanhaustein/TerminalImageViewer
2023-12-06 15:58:41 -05:00
Aaron Liu
11d82bde63
try to help #132
...
also added a bit of docs
2023-12-06 15:57:55 -05:00
Aaron Liu
c87dd19ea1
should fix #132
2023-12-06 15:49:06 -05:00
Huell-Howitzer
55e6f062a3
Fix typo
2023-11-30 16:45:52 -08:00
Aaron Liu
413a90124c
version 1.2
2023-09-29 21:06:50 -04:00
Patrice Torguet
31b959cc49
Correct a small bug
...
The code misses a + sign on line 36.
2023-02-16 16:17:24 +01:00
Aaron Liu
c0ae9cffe0
Update tiv.cpp
2022-06-26 10:38:44 +08:00
Aaron Liu
e69c53e4cc
Fix #101
2021-05-26 21:45:31 +02:00
Aaron Liu
43aa3ac274
Revert Update Makefile
2021-05-22 19:09:18 +02:00
Aaron Liu
009c6b7acb
Update Makefile
2021-05-22 19:09:18 +02:00
Aaron Liu
7f5ed52be7
Filesystem no longer Experimental
2021-05-22 19:09:18 +02:00
Aaron Liu
93ee24fbc1
Filesystem no longer Experimental
2021-05-22 19:09:18 +02:00
pepa65
91d74f6678
Squash warning
...
Make end_marker unsigned
2020-12-14 20:55:15 +01:00
Aaron Liu
47e45c782d
Add note
2020-10-22 20:56:54 +02:00
Stefan Haustein
5dce9e6108
Fix initialization issue #87 (replicating an earlier pull request that wasn't submitted for some reason)
2020-10-21 23:42:01 +02:00
Stefan Haustein
9566005db8
Version numer v1.1.0
2020-07-05 16:42:42 +02:00
Stefan Haustein
37dc1f9b07
Add an explicit error message for files that can't be opened
2020-07-05 13:15:42 +02:00
Jan Chren (rindeal)
134ca73909
cpp: prevent crashes when last argument expects a value
2019-10-21 21:12:09 +02:00