Commit Graph

231 Commits

Author SHA1 Message Date
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
Brian Barto
ef47314933 Merge branch 'master' of https://github.com/bartobri/no-more-secrets 2016-09-18 13:37:56 -04:00
Brian Barto
6fd6a7276f README update. Some clarifications.
modified:   README.md
2016-09-18 13:37:15 -04:00
Brian Barto
c4b84d9394 Merge pull request #29 from jubalh/master
Add package manager instructions for openSUSE
2016-09-18 10:27:27 -04:00
Michael Vetter
c75ce390de Add package manager instructions for openSUSE
no-more-secrets is now in the 'games' repository of openSUSE.
2016-09-18 16:22:47 +02:00
Brian Barto
98defaa866 Merge pull request #25 from jubalh/master
Add install instructions for openSUSE
2016-09-14 08:00:21 -04:00
Michael Vetter
656d308a97 Add install instructions for openSUSE 2016-09-14 12:31:32 +02:00
Brian Barto
0af55b446a Updated version number for new release
modified:   src/main.c
2016-07-14 08:48:22 -04:00
Brian Barto
5aa1eb0485 Adding a condition for Darwin kernels to use ncurses instead of ncursesw.
modified:   Makefile
2016-07-09 14:06:23 -04:00
Brian Barto
0496a3f7c8 Merge pull request #22 from apjanke/destdir
Makefile: add DESTDIR support
2016-05-20 19:54:32 -04:00
Andrew Janke
91cdae4b72 Makefile: add DESTDIR support 2016-05-20 16:13:33 -04:00