Arun Prakash Jana
aebe6c1898
Fix warnings. Harden compilation.
7 jaren geleden
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.
7 jaren geleden
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
7 jaren geleden
Arun Prakash Jana
90e98b832b
Revert non-portable optimization
7 jaren geleden
Arun Prakash Jana
7be7a6d215
Optimizations
7 jaren geleden
Arun Prakash Jana
584a5f90f3
Remove sh as script opener, use vi
7 jaren geleden
Arun Prakash Jana
8775a52779
Rename project to nnn (Noice is Not Noice)
7 jaren geleden
Arun Prakash Jana
c78e3bf14f
strip binary
7 jaren geleden
sin
e56e7d912b
Bump to 0.6
8 jaren geleden
sin
2bed0dd175
Accept user-defined LDFLAGS in Makefile
Diff by Ypnose
8 jaren geleden
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.
8 jaren geleden
Arun Prakash Jana
e59b414503
Remove config.h on clean.
8 jaren geleden
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.
8 jaren geleden
sin
d56de6318f
Bump to 0.5
8 jaren geleden
sin
98e06fc739
Bump to 0.4
9 jaren geleden
sin
252e8561ef
Bump to 0.3
9 jaren geleden
lostd
ee72ebd042
Make config independent to avoid accidental overwrites
9 jaren geleden
sin
d337e25fb3
Bump to 0.2
10 jaren geleden
lostd
b78755bb01
First release
10 jaren geleden
lostd
4d72d592d8
No need for +=, also favors portability
10 jaren geleden
lostd
bd6b3e932e
Build with -lcurses by default to be more generic
10 jaren geleden
lostd
eebbf61c10
Use a var for dist files and remove queue.h
10 jaren geleden
sin
89d0dc35ee
Add dist target
10 jaren geleden
sin
f4b5df5b3a
Replace asprintf() with strlcpy() and strlcat()
10 jaren geleden
sin
cae14a8208
Ensure manprefix exists
10 jaren geleden
lostd
2d46c45a43
The queue header is not needed for now
10 jaren geleden
lostd
7ee4928a3f
Just let the commands show up
10 jaren geleden
sin
6d991593d6
Add manpage
10 jaren geleden
lostd
8e0f853f20
Still use some of the implicit magic
10 jaren geleden
sin
65c1dfe167
Add install/uninstall targets
10 jaren geleden
sin
4c330409b0
And CPPFLAGS
10 jaren geleden
sin
e776ebe36c
Use CFLAGS too
10 jaren geleden
sin
a13096b773
Force rebuild of noice.o if queue.h is modified
10 jaren geleden
sin
43fa667cd6
Add config.def.h
10 jaren geleden
sin
a9b5370ac6
Add strlcpy()
10 jaren geleden
lostd
b6c43f66a9
Change string copies to use strlcpy(3)
10 jaren geleden
lostd
561caf46db
Add the noice file browser
10 jaren geleden