Commit graph

37 commits

Author SHA1 Message Date
Zhiming Wang e758ff78e5
Allow custom CFLAGS and CPPFLAGS in Makefile
This is consistent with the fact that custom LDFLAGS are already allowed, and
for once, it makes warning options easier to control.

Also use automatic variables $@ and $^ consistently.
2017-04-03 14:50:21 -04:00
Arun Prakash Jana 87e0891b8d
Remove redundant stuff
1. Have a faster copy of strlcpy()
2. Remove redundant legacy files
3. Fix an issue with NULL check on array name
2017-04-02 21:45:10 +05:30
Arun Prakash Jana 90e98b832b
Revert non-portable optimization 2017-04-02 08:23:13 +05:30
Arun Prakash Jana 7be7a6d215
Optimizations 2017-04-01 14:41:07 +05:30
Arun Prakash Jana 584a5f90f3
Remove sh as script opener, use vi 2017-04-01 02:55:00 +05:30
Arun Prakash Jana 8775a52779
Rename project to nnn (Noice is Not Noice) 2017-03-30 23:57:38 +05:30
Arun Prakash Jana c78e3bf14f
strip binary 2017-03-30 02:29:28 +05:30
Arun Prakash Jana 596da965cf Merge remote-tracking branch 'upstream/master' 2016-10-05 20:41:32 +05:30
sin e56e7d912b Bump to 0.6 2016-08-24 10:47:25 +01:00
sin 2bed0dd175 Accept user-defined LDFLAGS in Makefile
Diff by Ypnose
2016-08-22 11:22:24 +01:00
Arun Prakash Jana 2958ecd040 Remove libmagic, use file command.
The magic.mgc file gets created in the local directory, opening
the global file throws unwanted messages. So we are using the o/p
of the file command to determine if the file is a plain text file.
2016-08-21 09:54:51 +05:30
Arun Prakash Jana e59b414503
Remove config.h on clean. 2016-08-20 21:43:32 +05:30
Arun Prakash Jana bc731cd9c0
Modify file type handling.
Use mpv, fmedia, zathura.
Invoke libmagic to identify text files and open with vim.
Use xdg-open for unhandled mimes.
2016-08-20 20:05:35 +05:30
sin d56de6318f Bump to 0.5 2016-03-11 09:59:48 +00:00
sin 98e06fc739 Bump to 0.4 2016-01-26 20:07:29 +00:00
sin 252e8561ef Bump to 0.3 2015-11-20 14:59:41 +00:00
lostd ee72ebd042 Make config independent to avoid accidental overwrites 2015-06-04 23:03:57 +01:00
sin d337e25fb3 Bump to 0.2 2015-03-12 14:20:36 +00:00
lostd b78755bb01 First release 2014-11-14 20:17:33 +02:00
lostd 4d72d592d8 No need for +=, also favors portability 2014-11-14 18:32:24 +02:00
lostd bd6b3e932e Build with -lcurses by default to be more generic 2014-11-14 18:13:02 +02:00
lostd eebbf61c10 Use a var for dist files and remove queue.h 2014-11-14 15:47:18 +02:00
sin 89d0dc35ee Add dist target 2014-11-14 12:20:37 +00:00
sin f4b5df5b3a Replace asprintf() with strlcpy() and strlcat() 2014-11-14 10:26:46 +00:00
sin cae14a8208 Ensure manprefix exists 2014-10-27 13:56:33 +00:00
lostd 2d46c45a43 The queue header is not needed for now 2014-10-23 18:14:18 +03:00
lostd 7ee4928a3f Just let the commands show up 2014-10-22 18:24:16 +03:00
sin 6d991593d6 Add manpage 2014-10-22 12:52:45 +01:00
lostd 8e0f853f20 Still use some of the implicit magic 2014-10-21 22:58:46 +03:00
sin 65c1dfe167 Add install/uninstall targets 2014-10-21 16:52:40 +01:00
sin 4c330409b0 And CPPFLAGS 2014-10-21 11:23:37 +01:00
sin e776ebe36c Use CFLAGS too 2014-10-21 11:21:50 +01:00
sin a13096b773 Force rebuild of noice.o if queue.h is modified 2014-10-21 11:18:35 +01:00
sin 43fa667cd6 Add config.def.h 2014-10-21 11:15:27 +01:00
sin a9b5370ac6 Add strlcpy() 2014-10-21 11:08:57 +01:00
lostd b6c43f66a9 Change string copies to use strlcpy(3) 2014-10-08 15:08:29 +03:00
lostd 561caf46db Add the noice file browser 2014-10-07 06:05:30 +00:00