Commit Graph

155 Commits

Author SHA1 Message Date
Greg Shuflin
e2d0ce2e59 Make ncurses version work 2023-07-25 23:22:00 -07:00
Greg Shuflin
193817fda6 Remove autoDecrypt as global 2023-07-25 23:17:17 -07:00
Greg Shuflin
da8bc84c36 Remove boilierplate from deleted code 2023-07-25 23:07:52 -07:00
Greg Shuflin
d036f6574b Delete old C source file 2023-07-25 23:03:47 -07:00
Greg Shuflin
6bc7d0b94e make charset characters be C null-terminated strings 2023-07-25 23:03:13 -07:00
Greg Shuflin
fcf2df1c51 Move chartable to rust
Currently broken
2023-07-25 16:18:30 -07:00
Greg Shuflin
1232487f58 char table in rust 2023-07-25 01:44:10 -07:00
Greg Shuflin
1d4d5f0520 Handle reading input in Rust 2023-07-24 01:13:02 -07:00
Greg Shuflin
4b3bf5dc4b Simplify C 2023-07-23 22:21:13 -07:00
Greg Shuflin
d1b289ff8e Remove unused code 2023-07-23 21:01:43 -07:00
Greg Shuflin
9feeb6782b Remove C args 2023-07-23 20:59:42 -07:00
Greg Shuflin
b02247fbe6 Autodecrypt in rust 2023-07-23 20:18:44 -07:00
Greg Shuflin
30b77617e2 Doc comment 2023-07-23 20:16:58 -07:00
Greg Shuflin
1e87c76689 Handle maskblank in rust 2023-07-23 20:13:44 -07:00
Greg Shuflin
2841625b15 handle invalid argument 2023-07-23 20:05:26 -07:00
Greg Shuflin
4f74c2f8cd Cargo fmt 2023-07-23 20:01:02 -07:00
Greg Shuflin
a1e8fb7aec Remove C code for foreground color 2023-07-23 20:00:52 -07:00
Greg Shuflin
b6acbc2484 Handle color fully in rust 2023-07-23 19:56:31 -07:00
Greg Shuflin
c5bdc65923 Start doing color handling in rust 2023-07-23 19:35:15 -07:00
Greg Shuflin
c334492ea9 More args in rust 2023-07-23 03:19:40 -07:00
Greg Shuflin
78fb4ecbfc cargo fmt 2023-07-23 03:14:49 -07:00
Greg Shuflin
c280dbe716 Call a method from rust 2023-07-23 03:14:38 -07:00
Greg Shuflin
d7b402c764 Arg parsing in rust 2023-07-23 03:04:59 -07:00
Greg Shuflin
ec74203e70 Start porting to rust 2023-07-23 03:03:23 -07:00
Brian Barto
60ffa52f50 Update version to 1.0.1
modified:   src/nms.c
2021-09-24 15:02:46 -04:00
Brian Barto
2b5e31a3dc Update the version to 1.0.0
modified:   src/nms.c
2021-09-24 15:00:45 -04:00
Brian Barto
3237ac188b Reverting commit 1e80be48 because it is causing compile warnings.
modified:   src/nmstermio.c
2021-09-24 14:42:54 -04:00
Humm
1e80be4840 use freopen(3) correctly 2021-01-29 10:55:42 +01:00
Brian Barto
efe6d37f68 Fix indentation
modified:   src/nms.c
2020-06-20 18:41:48 -04:00
Patrick Nappa
90b7d0410b fixed bug where piping into sneakers caused crash, and added missing free 2019-02-13 11:06:42 +11:00
Brian Barto
50dc9cc055 Use the new arguments for nmseffect_exec and remove the input functions
modified:   src/sneakers.c
2018-10-26 16:48:54 -04:00
Brian Barto
1440337579 Move STDIN association to termio module
modified:   Makefile
	modified:   src/nmseffect.c
	modified:   src/nmstermio.c
	modified:   src/nmstermio_ncurses.c
2018-10-24 22:20:33 -04:00
Brian Barto
a771cf32c1 Rip out whats left of input position. Not using it.
modified:   src/nmseffect.c
2018-10-24 22:05:40 -04:00
Brian Barto
65901d9875 Rip out returnopts functionality. Not using it.
modified:   src/nmseffect.c
2018-10-24 22:02:35 -04:00
Brian Barto
1cd3657415 Use error_log for logging/printing errors
modified:   src/nms.c
2018-10-24 21:50:42 -04:00
Brian Barto
d921892576 Add input and error modules for getting input and reporting errors
modified:   Makefile
	new file:   src/error.c
	new file:   src/error.h
	new file:   src/input.c
	new file:   src/input.h
	modified:   src/nms.c
	modified:   src/nmseffect.c
	modified:   src/nmseffect.h
2018-10-24 21:44:48 -04:00
Brian Barto
86181d9b52 Getting the return value of write() for now. Will do something with it in a future commit.
modified:   src/nmstermio.c
2018-10-24 20:41:23 -04:00
Brian Barto
1c8f8808d9 Should be using strlen instead of sizeof.
modified:   src/nmstermio.c
2018-08-05 20:05:19 -04:00
Brian Barto
56df5f3de5 Dynamically allocation memory for the display buffer based on column count.
modified:   src/sneakers.c
2018-06-13 18:58:24 -04:00
Brian Barto
40f7d1a080 Support the esc key for aborting the sneakers menu.
modified:   src/sneakers.c
2018-06-13 14:06:24 -04:00
Brian Barto
65ded7d75b Replace inSize with 'i' and use a standard for loop to handle incrementing.
modified:   src/nms.c
2017-09-20 09:15:04 -04:00
Brian Barto
40da2058b4 Check the return value of realloc() for error
modified:   src/nms.c
2017-09-20 09:03:45 -04:00
Brian Barto
30bd00f949 Set initial capacity to 50 chars.
modified:   src/nms.c
2017-09-20 09:00:38 -04:00
Brian Barto
39c02de520 getchar() must be assigned to an int to handle EOF properly.
modified:   src/nmstermio.c
2017-09-20 08:35:08 -04:00
Brian Barto
733503ce3a Fix some indetation issues and add brackets.
modified:   src/nmseffect.c
2017-04-22 14:46:12 -04:00
liv
b70e70e3dd Add option to mask single blank spaces 2017-04-11 10:51:56 +01:00
Brian Barto
e1fccfce94 Add comment for MinGW support code
modified:   src/nmstermio.c
2017-03-21 09:40:15 -04:00
Trinh Hoang Anh
9ebc9a7d76 Add support for MinGW on Windows 2017-03-19 16:21:27 +08:00
Brian Barto
9cd1d1e8d3 Increment version number for bug fix.
modified:   README.md
	modified:   src/nms.c
2017-03-08 17:25:08 -05:00
Brian Barto
ff5fbbd7c7 Clear output from nmstermio_get_cursor_row()
modified:   src/nmseffect.c
2017-03-08 16:19:47 -05:00