Commit graph

181 commits

Author SHA1 Message Date
Sijmen J. Mulder f257cda04a Make optimization flags configurable 2018-12-16 20:17:29 +01:00
Arun Prakash Jana f71dc87e0c
Prepare for release v2.1 2018-11-23 16:36:39 +05:30
Arun Prakash Jana a4eb852dba
Re-structure files 2018-11-10 13:42:18 +05:30
Arun Prakash Jana 497911e999
Retire nlay 2018-11-10 12:06:21 +05:30
Arun Prakash Jana 373c921ca5
Add blank target 2018-11-03 11:45:36 +05:30
Reiner Herrmann eccc69beeb Honour CPPFLAGS
Preprocessor flags are passed in CPPFLAGS.
Debian uses it to pass hardening options (-D_FORTIFY_SOURCE)
to the compiler.
2018-10-19 18:24:09 +02:00
Arun Prakash Jana d4ab97cb54
Prepare for release v2.0 2018-10-19 15:24:15 +05:30
Arun Prakash Jana 8b8e644cf5
Remove readline dep and use native prompt
- `nnn` is all about navigational convenience so the user doesn't have to type
- the binary size increases due to readline linkage
- alternative workflow: ^G, cd, `nnn`
- readline required using the prompt and the history would stay after quit
2018-08-16 22:54:49 +05:30
Arun Prakash Jana 68f0af6220
Prepare for release v1.9 2018-08-10 07:13:53 +05:30
Arun Prakash Jana d6c0e1093a
Prepare for release v1.8 2018-05-02 03:23:38 +05:30
Arun Prakash Jana 1653414039
Add more phony targets 2018-04-01 22:51:55 +05:30
Arun Prakash Jana 063882c420
Fix #97: add manpage for nlay 2018-03-14 22:29:59 +05:30
Dridi Boukelmoune 6ac45b92bd Make install(1) commands override-able (#96) 2018-03-14 16:11:30 +05:30
ilovezfs b750e4162b Makefile: don't use non-portable -t option (#83)
This fixes the build with the BSD install command by eschewing the GNU 
specific -t option, which is not portable.
2018-02-28 14:17:35 +05:30
Arun Prakash Jana 0f89943d95
Prepare for release v1.7 2018-02-28 01:54:42 +05:30
maxice8 ff502f0b3e Makefile: use PKG_CONFIG instead of hardcoding pkg-config (#78) 2018-01-22 18:39:17 +05:30
Jan Chren a7aaf3a458 make Makefile more packaging friendly (#76)
* make Makefile more packaging friendly

* packagecore: run `strip` before installing
2018-01-10 22:02:48 +05:30
Arun Prakash Jana 3a88e31a0e
Check alignment and enable -O3 2017-12-29 11:08:07 +05:30
Arun Prakash Jana cd177086ca
OpenSUSE gcc fails at '-fno-tree-loop-vectorize' 2017-12-25 19:10:20 +05:30
Arun Prakash Jana f687463574
Prepare for release v1.6 2017-12-25 17:13:25 +05:30
Arun Prakash Jana f801e2e630
Fix #50: use -O3, disable -ftree-loop-vectorize 2017-12-19 22:43:49 +05:30
Arun Prakash Jana 3da5f5d130
Remove -O2 from debug build 2017-12-17 23:36:26 +05:30
Arun Prakash Jana c70f429bc7
Use the same o/p filename in debug mode 2017-11-30 21:42:17 +05:30
Arun Prakash Jana 5ff29cede8
Fix #50: revert to -O2 optimization
The while loop in xstrlcpy() breaks when -O3 is used.
2017-11-30 21:40:52 +05:30
Arun Prakash Jana dcf8fbf78b
Prepare for release v1.5 2017-10-05 00:18:53 +05:30
Arun Prakash Jana b0a806ae2e
Enable O3 optimization 2017-09-27 22:48:46 +05:30
Arun Prakash Jana 91ab00061c
Prepare for v1.4 release 2017-09-04 10:23:02 +05:30
Arun Prakash Jana 277cf66097
Move config.h to nnn.h 2017-09-02 11:39:44 +05:30
Arun Prakash Jana 7fe6abb213
Prepare for release v1.3 2017-07-26 09:31:03 +05:30
Arun Prakash Jana 9a4c446760
Retire config.def.h, unify Makefiles 2017-07-05 08:38:34 +05:30
Arun Prakash Jana 590d079533
Prepare for release v1.2 2017-06-29 09:48:11 +05:30
Arun Prakash Jana 370ed32a28
An undocumented debug mode
1. The debug file is located at /tmp/nnn_debug.
2. Debug mode is completely disabled by default. The debug binary `nnndbg` can
be built by running `make debug`.
2017-06-20 00:50:19 +05:30
Arun Prakash Jana 33c4a227d2
Make Makefile generic 2017-05-13 22:31:14 +05:30
Johnathan Jenkins 9eed24bbac pkg-config for ncurses (#25) 2017-05-13 22:03:08 +05:30
Arun Prakash Jana a310176160
Prepare for release v1.1 2017-05-11 22:25:22 +05:30
Arun Prakash Jana 00aaee9ff1
nlay - a highly customizable file handler 2017-04-23 23:31:08 +05:30
Arun Prakash Jana 89224cfa98
Use readline() at chdir prompt
With the features the readline library provides it would be too naive to ignore.
We break out of the curses mode into the prompt and get back in.
This change introduces dependency on libncurses.
2017-04-20 20:10:58 +05:30
Zhiming Wang afa0540934
Makefile: use libncurses instead of libncursesw on Darwin
macOS 10.12.4 and many earlier versions have libncurses 5.4 with wide character
support, but not libncursesw.
2017-04-16 13:07:42 +05:30
Arun Prakash Jana 5b68fa1a67
Use libncursesw for internationalization
Update README on dependencies
2017-04-16 13:07:29 +05:30
Arun Prakash Jana 85d7f2762e
Move man to $PREFIX/share/man 2017-04-13 20:27:01 +05:30
Arun Prakash Jana 275b42efb0
Prepare for release v1.0 2017-04-13 19:13:33 +05:30
Arun Prakash Jana 74a13c645d
Maximize rlimit, switch to detail view in du mode 2017-04-11 20:22:30 +05:30
Arun Prakash Jana 6cb87b4248
Fix #4. 2017-04-11 03:25:48 +05:30
Arun Prakash Jana aebe6c1898
Fix warnings. Harden compilation. 2017-04-04 07:20:38 +05:30
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