Arun Prakash Jana
ae961da157
Support file colors
2020-08-04 19:22:29 +05:30
Arun Prakash Jana
306af787ca
Add -Wshadow to CFLAGS and fixes
2020-06-22 09:17:59 +05:30
Arun Prakash Jana
e3d90a98ce
Support make option O_CTX8 for 8 contexts
...
Note that this is not compatible with 4 contexts.
2020-05-30 07:01:34 +05:30
Arun Prakash Jana
e688188fa6
x86-64 to x86_64
2020-05-26 06:21:01 +05:30
lvgx
86e579799b
Add an option to print hovered files to a FIFO ( #548 )
...
* Add an option to print hovered files to a FIFO
This adds an env variable, `NNN_FIFO`, that can be set to a path that
`nnn` will open/create as a FIFO, and where every hovered file's path is
printed. This allows creating external perview/quick open plugins, ...
It can be compiled out with the make variable `O_NOFIFO`.
* Check filename ptr instead of full path (for FIFO)
* Add documentation to use NNN_FIFO in plugins
* Fix path sent to FIFO in empty dirs
2020-05-04 09:35:13 +05:30
lvgx
e68d0db949
Install logo to desktop icons ( #542 )
...
This shows the "n³" logo as icon in application menus, when desktop file is
installed (using `install-desktop` make target).
2020-05-01 21:28:07 +05:30
Arun Prakash Jana
35c3497364
Use memccpy
2020-04-13 20:35:14 +05:30
lvgx
6e6d3cba0d
Add .desktop file for XDG compatible DEs ( #501 )
...
Install with `make install-desktop`
It now appears in application menus, search, etc. in XDG compatible
desktop environments (like GNOME, KDE, ...).
2020-04-01 02:29:21 +05:30
Arun Prakash Jana
a4243edacc
make var O_NOBATCH to compile out native batch renamer
2020-03-30 22:09:39 +05:30
Arun Prakash Jana
3a9ddbd90f
Add batchrename to readme, minor Makefile change
2020-03-11 09:07:20 +05:30
Arun Prakash Jana
e664b2d29f
Compile option O_NOMOUSE to disable mouse support
2020-02-14 08:21:30 +05:30
Arun Prakash Jana
4bd742dafb
Fix static package name in repo
2020-02-13 16:38:06 +05:30
Arun Prakash Jana
80545534a9
Fix #474 : explicitly indicate gzip to tar
2020-02-13 15:18:56 +05:30
Arun Prakash Jana
f6e7dbf6f9
Fix static file upload
2020-02-12 08:32:49 +05:30
Arun Prakash Jana
c7e2dc0005
Upload static binary as package
2020-01-31 08:43:35 +05:30
Maxim Baz
6b093f213f
Compile static bin locally for release ( #457 )
2020-01-31 03:16:06 +05:30
Arun Prakash Jana
cb6f30fed4
Remove redundant lib only for older GLIBC
2020-01-28 18:55:41 +05:30
Arun Prakash Jana
3fd9e6ace7
Add -DNORL when var O_STATIC is set
2020-01-25 23:44:28 +05:30
Arun Prakash Jana
1684d7b24e
Makefile option to compile with PCRE lib
...
Command: make O_PCRE=1 strip
2020-01-24 23:29:05 +05:30
Arun Prakash Jana
d67ad84360
Add static compilation flag
...
make command:
make O_STATIC=1 O_NORL=1 strip
2020-01-23 22:22:07 +05:30
Arun Prakash Jana
db647e7c4c
On the fly dist generation
2019-12-30 01:37:01 +05:30
Arun Prakash Jana
26d49a16b3
Get version string from source
2019-12-29 23:43:09 +05:30
Arun Prakash Jana
7157644250
Fix #420 : simplify bookmarking, retire lead key
2019-12-29 08:20:56 +05:30
Anna Arad
fd9fcf741e
Get nnn compile and run on Haiku ( #403 )
...
* Add support for Haiku OS
* Adjust DISTFILES and dist rule in haiku
2019-12-27 23:32:20 +05:30
Maxim Baz
f0eba7d51b
Improvements for distribution ( #417 )
...
* Don't pack sources (github does it better), sign sources
* Make CircleCI generate the same git archive as Github, return make dist
* Revert make clean too
* Upload signature to Github release
* Read Github token from an env variable
2019-12-21 05:02:39 +05:30
Arun Prakash Jana
90108ba763
Prepare for release v2.8.1
2019-12-05 04:47:32 +05:30
Arun Prakash Jana
cc36aa8d49
Prepare for release v2.8
2019-12-04 02:58:27 +05:30
Arun Prakash Jana
55f687e463
Update version to 2.7
2019-11-01 19:38:41 +05:30
Anna Arad
06ff2c55da
Remove -Wno-unused-parameter and do cleanup ( #357 )
2019-10-13 19:10:06 +05:30
Anna Arad
6d7c25822a
Makefile detect header change ( #355 )
2019-10-13 03:07:53 +05:30
Jan Chren (rindeal)
7cc108f6a8
allow multiple make targets being specified at once
2019-10-09 17:45:40 +02:00
Jan Chren (rindeal)
9e25886694
do build configuration with variables instead of targets
2019-10-09 17:05:56 +02:00
Arun Prakash Jana
a37ddfa080
Rename target nolocale to noloc
2019-10-05 07:26:18 +05:30
Arun Prakash Jana
133f55170b
Target nolocale: saves more on memory
2019-10-04 08:10:31 +05:30
Arun Prakash Jana
75bfcb1834
Prepare for release v2.6
2019-08-06 04:13:10 +05:30
Jan Chren
176187c1ed
remove $(STRIP) leftover from Makefile
...
Use only the `strip` target fort stripping the binary.
2019-08-03 22:09:16 +00:00
tanyaionova
e93abcf709
Set CP in Makefile
...
$(CP) is not set by GNU Make
Seems like [1] is a full list of what GNU Make defines implicitly
[1] https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
2019-06-26 15:25:31 +03:00
Arun Prakash Jana
5ea8218e4f
Prepare for release v2.5
2019-05-27 08:00:32 +05:30
Bruce Hill
b5272a3973
Adding scrolloff option.
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
bd653ac91e
Code refactor
2019-05-22 08:44:42 +05:30
Arun Prakash Jana
7cb2d22e9f
Fix build break
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
c8e54ce4e2
Code refactor
2019-05-22 08:44:19 +05:30
smartmic
5cd8578799
Update Makefile library linking for debug target
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
20256bbf99
Fix #249
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
b555887ca8
Fix target all to work with target debug
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
40b98e8c9e
Prepare for release v2.4
2019-03-19 03:17:22 +05:30
Arun Prakash Jana
a8388ab60b
Add target norl to drop libreadline
2019-02-22 05:35:26 +05:30
Arun Prakash Jana
95d0eb6a17
Use a shorter macro
2019-02-22 05:19:04 +05:30
Arun Prakash Jana
1c96ac4ff5
Prepare for release v2.3
2019-02-19 16:08:37 +05:30
Georgi Kirilov
a85268cf79
Don't rebuild on make install
2019-02-01 18:55:56 +05:30
Arun Prakash Jana
94e4201dc1
Use libreadline at command prompt
2019-01-24 12:05:13 +05:30
Arun Prakash Jana
f9860f1c7f
Prepare for release v2.2
2019-01-01 08:01:48 +05:30
Sijmen J. Mulder
6658af3f66
Revert "Remove CPPFLAGS since C++ is not used"
...
Mistook CPPFLAGS ("C preprocessor flags") for CXXFLAGS ("C++ flags").
This reverts commit 0956b82d33fb2956da837e6a06a2a6f7216d47c0.
2018-12-17 10:22:36 +01:00
Sijmen J. Mulder
4005a1fa46
Remove CPPFLAGS since C++ is not used
2018-12-16 20:19:08 +01:00
Sijmen J. Mulder
7833781221
Make curses flags configurable
2018-12-16 20:19:08 +01:00
Sijmen J. Mulder
599f4e82b7
Also use pkg-config for regular ncurses
2018-12-16 20:19:08 +01:00
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