Commit Graph

291 Commits

Author SHA1 Message Date
Brian Barto
08957b766c Document nmscharset module
modified:   src/nmscharset.c
2017-01-20 13:47:34 -05:00
Brian Barto
a0d80ddb19 Update documentation for nmseffect module
modified:   src/nmseffect.c
2017-01-20 10:46:33 -05:00
Brian Barto
0b44f64468 Update documentation for nmseffect library
modified:   src/nmseffect.c
2017-01-19 15:15:24 -05:00
Brian Barto
ea6983113f Don't need to print output from nmseffect_exec()
modified:   src/nms.c
2017-01-19 14:51:21 -05:00
Brian Barto
272e780adf Make module for character set to allow easy substitution with different set.
modified:   Makefile
	new file:   src/nmscharset.c
	new file:   src/nmscharset.h
	modified:   src/nmseffect.c
2017-01-19 12:08:20 -05:00
Brian Barto
8a09f36cee Rename nmsterm modules to nmstermio, and update function names to align with new module name
modified:   Makefile
	modified:   src/nmseffect.c
	deleted:    src/nmsterm.h
	renamed:    src/nmsterm.c -> src/nmstermio.c
	new file:   src/nmstermio.h
	renamed:    src/nmsterm_ncurses.c -> src/nmstermio_ncurses.c
	modified:   src/sneakers.c
2017-01-19 11:42:29 -05:00
Brian Barto
bd5614363f Change function name to nmseffect_set_returnopts()
modified:   src/nmseffect.c
	modified:   src/nmseffect.h
	modified:   src/sneakers.c
2017-01-19 11:25:24 -05:00
Brian Barto
4edd0d51da Change function name to nmseffect_set_autodecrypt()
modified:   src/nms.c
	modified:   src/nmseffect.c
	modified:   src/nmseffect.h
2017-01-19 11:20:53 -05:00
Brian Barto
5fd104afee Change file names and update function names (to align with file name changes)
modified:   Makefile
	renamed:    src/main.c -> src/nms.c
	deleted:    src/nms.h
	renamed:    src/nms.c -> src/nmseffect.c
	new file:   src/nmseffect.h
	modified:   src/sneakers.c
2017-01-19 11:17:40 -05:00
Brian Barto
a2a6b28df1 Use nmsterm_get_clearscr() such that we no longer need to return cursor row position from the init function.
modified:   src/nms.c
	modified:   src/nmsterm.c
	modified:   src/nmsterm.h
	modified:   src/nmsterm_ncurses.c
2017-01-18 19:31:59 -05:00
Brian Barto
089a089bc4 Move static vars foregroundColor and clearScr to nmsterm implementations. Make setters and getters as necessary.
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/nmsterm.c
	modified:   src/nmsterm.h
	modified:   src/nmsterm_ncurses.c
	modified:   src/sneakers.c
2017-01-18 19:19:33 -05:00
Brian Barto
b4fd33a43b Create an abstraction layer between terminal and main nms code so we can substitute ncurses functions without duplicating code.
modified:   Makefile
	deleted:    src/nms-ncurses.c
	modified:   src/nms.c
	new file:   src/nmsterm.c
	new file:   src/nmsterm.h
	new file:   src/nmsterm_ncurses.c
	modified:   src/sneakers.c
2017-01-18 18:51:10 -05:00
Brian Barto
4ec37fc46e Remove commented code
modified:   src/nms-ncurses.c
2017-01-18 15:07:50 -05:00
Brian Barto
0359617c96 Make 'all' for ncurses implementations
modified:   Makefile
2017-01-18 00:16:45 -05:00
Brian Barto
cffbd272d7 Make ncurses implementation for sneakers
modified:   Makefile
	modified:   src/nms-ncurses.c
2017-01-18 00:14:21 -05:00
Brian Barto
e153046219 The nms-ncurses buid should be named nms 2017-01-17 22:08:48 -05:00
Brian Barto
e42155973a ncurses implementation
modified:   Makefile
	new file:   src/nms-ncurses.c
2017-01-17 22:00:24 -05:00
Brian Barto
b1a0db59ae The -c option doesn't require an argument (bug fix)
modified:   src/main.c
2017-01-17 21:54:13 -05:00
Brian Barto
5ffdfb5e40 Substitute the conditional checks with a 'rm -f'
modified:   Makefile
2017-01-17 19:39:16 -05:00
Brian Barto
79cfbf0b71 Dont make sneakers by default. user must specify 'make sneakers' or 'make all'
modified:   Makefile
2017-01-17 19:30:24 -05:00
Brian Barto
1c65c9a218 Renamed the files
modified:   Makefile
	modified:   README.md
	renamed:    src/nms.c -> src/main.c
	renamed:    src/libnms.c -> src/nms.c
	renamed:    src/libnms.h -> src/nms.h
	modified:   src/sneakers.c
2017-01-16 16:28:12 -05:00
Brian Barto
4d7706c907 Add support for returnOpts without clearing the screen
modified:   src/libnms.c
2017-01-15 14:26:19 -05:00
Brian Barto
e7ec1e9b9a Change main.c file name to nms.c
modified:   Makefile
	renamed:    src/main.c -> src/nms.c
2017-01-13 15:58:05 -05:00
Brian Barto
71852ac3f5 README clarification
modified:   ../README.md
2017-01-13 15:55:43 -05:00
Brian Barto
848f3d613e Remove nms files (no longer needed)
deleted:    nms.c
	deleted:    nms.h
2017-01-13 15:22:34 -05:00
Brian Barto
4867943414 Add version badge to README
modified:   README.md
2017-01-13 15:17:07 -05:00
Brian Barto
daeefa29f9 Clarify README
modified:   README.md
2017-01-13 12:29:53 -05:00
Brian Barto
51fcc56d93 The -v option doesn't need piped data
modified:   README.md
2017-01-12 21:27:32 -05:00
Brian Barto
1f59129b1a Add version option to README. Also some minor word changes to the install instructions.
modified:   ../README.md
2017-01-12 16:59:56 -05:00
Brian Barto
15d033a93c Add clear-screen functionality
modified:   README.md
	modified:   src/main.c
2017-01-12 16:38:24 -05:00
Brian Barto
597e61d33a Add dependency info
modified:   README.md
2017-01-11 21:13:04 -05:00
Brian Barto
b6164f4cf8 Replace license info with MIT
deleted:    COPYING
	new file:   LICENSE
2017-01-11 21:07:30 -05:00
Brian Barto
7f7380b6f8 Remove install file since it is no longer needed
deleted:    INSTALL.md
2017-01-11 21:03:32 -05:00
Brian Barto
7d48a6fe85 Update install instructions
modified:   README.md
2017-01-11 21:00:47 -05:00
Brian Barto
55cac26989 Merge branch 'master' of https://github.com/bartobri/no-more-secrets 2017-01-11 20:39:37 -05:00
Brian Barto
3f0c49862f Update README documentation for new version
modified:   README.md
2017-01-11 20:37:38 -05:00
Brian Barto
fe47edeefb Updated screenshots
modified:   README.md
2017-01-10 19:24:10 -05:00
Brian Barto
da514019de Initial update with code from libnms
modified:   Makefile
	new file:   src/libnms.c
	new file:   src/libnms.h
	modified:   src/main.c
	modified:   src/sneakers.c
2017-01-08 17:22:03 -05:00
Brian Barto
e77d50c6ea Merge pull request #40 from dbaio/master
Add install instructions for FreeBSD
2016-10-30 10:17:08 -04:00
Danilo G. Baio (dbaio)
c5c9ced249 Add install instructions for FreeBSD 2016-10-30 10:54:37 -02:00
Brian Barto
56796a4be9 Typo fix
modified:   INSTALL.md
2016-10-30 08:37:23 -04:00
Brian Barto
666901d100 Add link to docker image
modified:   INSTALL.md
2016-10-30 08:35:29 -04:00
Brian Barto
c2e11ddd65 Merge pull request #33 from ZeroChaos-/patch-1
Merged. Thanks for the help!
2016-09-19 09:31:44 -04:00
Zero_Chaos
a5ec746492 update Makefile to support overrides
This is what I needed to do to package this app for gentoo.  Hilarious work btw, really love it. thanks.
2016-09-18 23:33:29 -04:00
Brian Barto
b95317c382 Fixing some indent issues
modified:   src/main.c
2016-09-18 19:03:18 -04:00
Brian Barto
9aa3f374b5 README update
modified:   README.md
2016-09-18 13:51:34 -04:00
Brian Barto
4101110c31 README update
modified:   README.md
2016-09-18 13:50:17 -04:00
Brian Barto
8057b00414 README update
modified:   README.md
2016-09-18 13:49:00 -04:00
Brian Barto
47b8fb8c56 README update
modified:   README.md
2016-09-18 13:45:45 -04:00
Brian Barto
0de7656312 README update.
modified:   README.md
2016-09-18 13:44:59 -04:00