]> Sergey Matveev's repositories - nnn.git/log
nnn.git
7 years agoPrepare for release v1.8 v1.8
Arun Prakash Jana [Tue, 1 May 2018 21:12:30 +0000 (02:42 +0530)]
Prepare for release v1.8

7 years agoUpdate help on filter
Arun Prakash Jana [Tue, 1 May 2018 04:39:10 +0000 (10:09 +0530)]
Update help on filter

7 years agoUpdate image
Arun Prakash Jana [Wed, 25 Apr 2018 20:00:43 +0000 (01:30 +0530)]
Update image

7 years agoMerge fs functions
Arun Prakash Jana [Wed, 25 Apr 2018 19:26:45 +0000 (00:56 +0530)]
Merge fs functions

7 years agoFix man page
Arun Prakash Jana [Wed, 25 Apr 2018 19:11:40 +0000 (00:41 +0530)]
Fix man page

7 years agoUse static variables for crc8fast
Arun Prakash Jana [Wed, 25 Apr 2018 19:06:51 +0000 (00:36 +0530)]
Use static variables for crc8fast

7 years agoUse a smaller buffer
Arun Prakash Jana [Wed, 25 Apr 2018 18:53:31 +0000 (00:23 +0530)]
Use a smaller buffer

7 years agoUse concise change dir prompt
Arun Prakash Jana [Wed, 25 Apr 2018 18:29:36 +0000 (23:59 +0530)]
Use concise change dir prompt

7 years agoShow cp file when NNN_NO_X is set
Arun Prakash Jana [Wed, 25 Apr 2018 17:55:40 +0000 (23:25 +0530)]
Show cp file when NNN_NO_X is set

7 years agoRetire readinput()
Arun Prakash Jana [Wed, 25 Apr 2018 17:39:00 +0000 (23:09 +0530)]
Retire readinput()

7 years agoTidy up xreadline()
Arun Prakash Jana [Wed, 25 Apr 2018 17:07:59 +0000 (22:37 +0530)]
Tidy up xreadline()

7 years agoHandle all ^ chars in main loop
Arun Prakash Jana [Wed, 25 Apr 2018 16:27:46 +0000 (21:57 +0530)]
Handle all ^ chars in main loop

7 years agoReload contents on archive create, extract
Arun Prakash Jana [Wed, 25 Apr 2018 16:26:13 +0000 (21:56 +0530)]
Reload contents on archive create, extract

7 years agoSupport archive creation
Arun Prakash Jana [Tue, 24 Apr 2018 23:34:37 +0000 (05:04 +0530)]
Support archive creation

7 years agoUse simpler descriptions
Arun Prakash Jana [Tue, 24 Apr 2018 03:13:32 +0000 (08:43 +0530)]
Use simpler descriptions

7 years agomulti-cp: show number of cherrypicked files
Arun Prakash Jana [Sun, 22 Apr 2018 14:13:18 +0000 (19:43 +0530)]
multi-cp: show number of cherrypicked files

7 years agonnn is always quoted
Arun Prakash Jana [Thu, 19 Apr 2018 01:25:59 +0000 (06:55 +0530)]
nnn is always quoted

7 years agoFix #104: document tmux TERM setting
Arun Prakash Jana [Thu, 19 Apr 2018 01:22:41 +0000 (06:52 +0530)]
Fix #104: document tmux TERM setting

7 years agoTwo copy modes are exclusive
Arun Prakash Jana [Mon, 16 Apr 2018 20:52:23 +0000 (02:22 +0530)]
Two copy modes are exclusive

7 years agoFix calculation of remaining copybuf bytes
Arun Prakash Jana [Sat, 14 Apr 2018 14:26:04 +0000 (19:56 +0530)]
Fix calculation of remaining copybuf bytes

Start with PATH_MAX bytes and then double each time.

7 years agoSuppress copier script trace
Arun Prakash Jana [Sat, 14 Apr 2018 09:17:34 +0000 (14:47 +0530)]
Suppress copier script trace

7 years agoMove volume capacity, free up
Arun Prakash Jana [Sat, 14 Apr 2018 04:51:39 +0000 (10:21 +0530)]
Move volume capacity, free up

7 years agoAdded brackets for tcc compliance (#103)
arcadius3d [Tue, 10 Apr 2018 01:28:52 +0000 (22:28 -0300)]
Added brackets for tcc compliance (#103)

7 years agoSource code release tarball build on Travis-CI (#101)
jolpaz [Mon, 9 Apr 2018 12:09:53 +0000 (14:09 +0200)]
Source code release tarball build on Travis-CI (#101)

* Build source tarball on travis CI

And add it to github release along with other packages.

* Change key for releases upload

* Fix repo for release upload

* Revert to upstream's creds and repo.

7 years agoPrefer VISUAL, if defined over EDITOR
Arun Prakash Jana [Sun, 8 Apr 2018 00:43:33 +0000 (06:13 +0530)]
Prefer VISUAL, if defined over EDITOR

7 years agoUpdate for PR #100: man and README should be in sync
Arun Prakash Jana [Wed, 4 Apr 2018 01:07:29 +0000 (06:37 +0530)]
Update for PR #100: man and README should be in sync

7 years agoShow hidden files by default when env NNN_SHOW_HIDDEN is set (#100)
Jakub Jirutka [Wed, 4 Apr 2018 01:03:26 +0000 (03:03 +0200)]
Show hidden files by default when env NNN_SHOW_HIDDEN is set (#100)

7 years agoUpdate help
Arun Prakash Jana [Sun, 1 Apr 2018 18:09:51 +0000 (23:39 +0530)]
Update help

7 years agoAdd more phony targets
Arun Prakash Jana [Sun, 1 Apr 2018 17:21:55 +0000 (22:51 +0530)]
Add more phony targets

7 years agoUpdate link to ToDo list
Arun Prakash Jana [Sat, 31 Mar 2018 22:20:40 +0000 (03:50 +0530)]
Update link to ToDo list

7 years agoShow more useful info in help
Arun Prakash Jana [Sat, 31 Mar 2018 21:54:55 +0000 (03:24 +0530)]
Show more useful info in help

7 years agoShow help on typing ? at empty filter prompt
Arun Prakash Jana [Sat, 31 Mar 2018 15:28:13 +0000 (20:58 +0530)]
Show help on typing ? at empty filter prompt

7 years agoDocument how to integrate sxiv
Arun Prakash Jana [Fri, 30 Mar 2018 16:22:26 +0000 (21:52 +0530)]
Document how to integrate sxiv

7 years agoSupport screen locking on Linux
Arun Prakash Jana [Fri, 30 Mar 2018 15:53:28 +0000 (21:23 +0530)]
Support screen locking on Linux

7 years agoNew shortcut ^] to spawn shell in current dir
Arun Prakash Jana [Fri, 30 Mar 2018 15:23:25 +0000 (20:53 +0530)]
New shortcut ^] to spawn shell in current dir

7 years agoAdd install commands for listed packagers
Arun Prakash Jana [Fri, 30 Mar 2018 03:12:27 +0000 (08:42 +0530)]
Add install commands for listed packagers

7 years agoSupport ^A, ^E, ^U and ignore ^ chars at rename prompt
Arun Prakash Jana [Tue, 27 Mar 2018 02:35:47 +0000 (08:05 +0530)]
Support ^A, ^E, ^U and ignore ^ chars at rename prompt

7 years agoSwitch to current dir to run editor/vidir
Arun Prakash Jana [Mon, 19 Mar 2018 00:29:15 +0000 (05:59 +0530)]
Switch to current dir to run editor/vidir

7 years agoFix test dir name
Arun Prakash Jana [Mon, 19 Mar 2018 00:03:39 +0000 (05:33 +0530)]
Fix test dir name

7 years agoRun a custom script support
Arun Prakash Jana [Mon, 19 Mar 2018 00:02:16 +0000 (05:32 +0530)]
Run a custom script support

7 years agoOmit sorting if no matches/entries
Arun Prakash Jana [Sun, 18 Mar 2018 22:24:19 +0000 (03:54 +0530)]
Omit sorting if no matches/entries

7 years agoFree regex
Arun Prakash Jana [Sun, 18 Mar 2018 22:12:56 +0000 (03:42 +0530)]
Free regex

7 years agoUpdate features
Arun Prakash Jana [Sun, 18 Mar 2018 10:48:30 +0000 (16:18 +0530)]
Update features

7 years agoAdd Fedora as a packager
Arun Prakash Jana [Sun, 18 Mar 2018 09:29:42 +0000 (14:59 +0530)]
Add Fedora as a packager

7 years agoRetain nav-as-you-type mode after exiting spawned shell
Arun Prakash Jana [Fri, 16 Mar 2018 17:16:03 +0000 (22:46 +0530)]
Retain nav-as-you-type mode after exiting spawned shell

7 years agoRemove reference of NNN_NOWAIT
Arun Prakash Jana [Thu, 15 Mar 2018 23:16:14 +0000 (04:46 +0530)]
Remove reference of NNN_NOWAIT

7 years agoFix #81: GUI programs shouldn't exit on closing the parent terminal
Arun Prakash Jana [Thu, 15 Mar 2018 22:54:29 +0000 (04:24 +0530)]
Fix #81: GUI programs shouldn't exit on closing the parent terminal

Issue reproduction steps:

1. Spawn a GUI program e.g. open a PDF file in zathura or evince.
2. Without quitting `nnn` close the terminal.
3. Notice that the application quits too.

Can be a nagging issue if someone is not using a drop-down terminal.

Fix: detach a GUI child and start it in a new session.

There are 2 aspects to this commit:

- It fixes #81: in cases where we do not wait for a spawned child we can assume
that the child is a GUI process. We detach and spawn the child in a new session.
- It changes the behaviour to @Rahi374's suggestion in PR #40 i.e. invoke the DE
opener in F_NOWAIT mode.

7 years agonlay: use more portable shebang for bash. (#98)
maxice8 [Wed, 14 Mar 2018 18:59:29 +0000 (15:59 -0300)]
nlay: use more portable shebang for bash. (#98)

7 years agoFix #97: add manpage for nlay
Arun Prakash Jana [Wed, 14 Mar 2018 16:59:59 +0000 (22:29 +0530)]
Fix #97: add manpage for nlay

7 years agoMake install(1) commands override-able (#96)
Dridi Boukelmoune [Wed, 14 Mar 2018 10:41:30 +0000 (11:41 +0100)]
Make install(1) commands override-able (#96)

7 years agoAdd table of external dependencies
Arun Prakash Jana [Sun, 11 Mar 2018 08:12:49 +0000 (13:42 +0530)]
Add table of external dependencies

7 years agoReplace all sprintf() with snprintf()
Arun Prakash Jana [Thu, 8 Mar 2018 21:02:22 +0000 (02:32 +0530)]
Replace all sprintf() with snprintf()

7 years agoFix #95: Add ^I as an alternative to Insert
Arun Prakash Jana [Wed, 7 Mar 2018 13:02:48 +0000 (18:32 +0530)]
Fix #95: Add ^I as an alternative to Insert

7 years agoInteger calculation-only coolsize()
Arun Prakash Jana [Mon, 5 Mar 2018 12:45:42 +0000 (18:15 +0530)]
Integer calculation-only coolsize()

7 years agofloat is suficient and a _little_ faster in coolsize()
Arun Prakash Jana [Mon, 5 Mar 2018 03:16:34 +0000 (08:46 +0530)]
float is suficient and a _little_ faster in coolsize()

7 years agoRevert "Integer-only coolsize() (#84)"
Arun Prakash Jana [Sun, 4 Mar 2018 19:42:10 +0000 (01:12 +0530)]
Revert "Integer-only coolsize() (#84)"

This reverts commit 7be0726164442a83f47e5a9a0cdf2db343832d23.

7 years agoRevert "fix rounding carry in coolsize() (#91)"
Arun Prakash Jana [Sun, 4 Mar 2018 19:41:29 +0000 (01:11 +0530)]
Revert "fix rounding carry in coolsize() (#91)"

This reverts commit 7654a2e0c6057c6d6d85e0625627e3e1dbe8d52d.

7 years agoRevert "Fix compilation warning"
Arun Prakash Jana [Sun, 4 Mar 2018 19:41:14 +0000 (01:11 +0530)]
Revert "Fix compilation warning"

This reverts commit 30fdb6ff11a8a4d720d3efbb21cb0755abd06665.

7 years agoFix compilation warning
Arun Prakash Jana [Sun, 4 Mar 2018 19:27:31 +0000 (00:57 +0530)]
Fix compilation warning

7 years agofix rounding carry in coolsize() (#91)
Alex Suykov [Sun, 4 Mar 2018 19:18:10 +0000 (21:18 +0200)]
fix rounding carry in coolsize() (#91)

Sizes like 1.999 get rounded to (1 + 100/100), which should be displayed
as 2.00 not 1.100 as simple %i.%02i would do without additional measures.

7 years agoFix #89: User-specific tmp file for copying filenames
Arun Prakash Jana [Sun, 4 Mar 2018 05:07:18 +0000 (10:37 +0530)]
Fix #89: User-specific tmp file for copying filenames

Use distinct (by username) tmp filename to copy file paths.

The pattern used is:
/tmp/nnncp$USER

If username is 'arun', the file name is `/tmp/nnncparun`.

7 years agoSupport ~, - and & keyboard shortcuts at the bookmark prompt.
Arun Prakash Jana [Sat, 3 Mar 2018 13:49:06 +0000 (19:19 +0530)]
Support ~, - and & keyboard shortcuts at the bookmark prompt.

In nav-as-you-type mode only control keys are understood when filter is enabled.
We need some way to quicly jump HOME, last visited dir or start dir.

7 years agoAdd ruby files as text file
Arun Prakash Jana [Sat, 3 Mar 2018 04:00:03 +0000 (09:30 +0530)]
Add ruby files as text file

7 years agoBoth src and dst should be alignment checked separately
Arun Prakash Jana [Fri, 2 Mar 2018 19:38:15 +0000 (01:08 +0530)]
Both src and dst should be alignment checked separately

The following pattern passes the current check:

src  - 1010
dst  - 0101
mask - 1111

7 years agoFix zsh path autocompletion (#88)
Nexie Kind [Fri, 2 Mar 2018 12:01:11 +0000 (15:01 +0300)]
Fix zsh path autocompletion (#88)

7 years agoImproved portability on MacOS (#86)
Giacomo Rossetto [Thu, 1 Mar 2018 13:06:26 +0000 (14:06 +0100)]
Improved portability on MacOS (#86)

7 years agoInteger-only coolsize() (#84)
Alex Suykov [Thu, 1 Mar 2018 07:52:25 +0000 (09:52 +0200)]
Integer-only coolsize() (#84)

7 years agoAdd openSUSE Leap badge
Arun Prakash Jana [Wed, 28 Feb 2018 11:09:23 +0000 (16:39 +0530)]
Add openSUSE Leap badge

7 years agoMakefile: don't use non-portable -t option (#83)
ilovezfs [Wed, 28 Feb 2018 08:47:35 +0000 (00:47 -0800)]
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.

7 years agoopenSUSE build system provides several distro packages. thanks @dilawar!
Arun Prakash Jana [Wed, 28 Feb 2018 04:50:11 +0000 (10:20 +0530)]
openSUSE build system provides several distro packages. thanks @dilawar!

7 years agoFix Fedora 25 deps v1.7
Arun Prakash Jana [Tue, 27 Feb 2018 20:44:53 +0000 (02:14 +0530)]
Fix Fedora 25 deps

7 years agoPrepare for release v1.7
Arun Prakash Jana [Tue, 27 Feb 2018 20:24:42 +0000 (01:54 +0530)]
Prepare for release v1.7

7 years agoUpdate documentation on vidir
Arun Prakash Jana [Tue, 27 Feb 2018 03:31:39 +0000 (09:01 +0530)]
Update documentation on vidir

7 years agoUpdate README
Arun Prakash Jana [Mon, 26 Feb 2018 12:20:31 +0000 (17:50 +0530)]
Update README

7 years agoAdd shortcut ^G to quit and cd
Arun Prakash Jana [Sat, 24 Feb 2018 16:13:41 +0000 (21:43 +0530)]
Add shortcut ^G to quit and cd

7 years agoUpdate changelog
Arun Prakash Jana [Sat, 24 Feb 2018 15:38:49 +0000 (21:08 +0530)]
Update changelog

7 years agoUse macros for external utils
Arun Prakash Jana [Sat, 24 Feb 2018 15:15:50 +0000 (20:45 +0530)]
Use macros for external utils

7 years agoSupport batch file rename in vidir
Arun Prakash Jana [Sat, 24 Feb 2018 14:16:58 +0000 (19:46 +0530)]
Support batch file rename in vidir

7 years agoUpdate features
Arun Prakash Jana [Sat, 24 Feb 2018 09:16:33 +0000 (14:46 +0530)]
Update features

7 years agoUpdate Changelog
Arun Prakash Jana [Sat, 24 Feb 2018 08:04:46 +0000 (13:34 +0530)]
Update Changelog

7 years agoAdd packages for CentOS 7.2, Fedora 25 and 27
Arun Prakash Jana [Sat, 24 Feb 2018 05:33:05 +0000 (11:03 +0530)]
Add packages for CentOS 7.2, Fedora 25 and 27

7 years agoUpdate copyright year
Arun Prakash Jana [Sat, 24 Feb 2018 05:25:35 +0000 (10:55 +0530)]
Update copyright year

7 years agoEnable file extract in nav-as-you-type mode
Arun Prakash Jana [Sat, 24 Feb 2018 05:13:06 +0000 (10:43 +0530)]
Enable file extract in nav-as-you-type mode

7 years agoDocument file path copy usage sans clipboard
Arun Prakash Jana [Sat, 24 Feb 2018 03:03:22 +0000 (08:33 +0530)]
Document file path copy usage sans clipboard

7 years agoSupport file path copy when X is unavailable
Arun Prakash Jana [Sat, 24 Feb 2018 02:19:59 +0000 (07:49 +0530)]
Support file path copy when X is unavailable

7 years agoAdd Gentoo as packager, FreeBSD command
Arun Prakash Jana [Fri, 23 Feb 2018 23:49:46 +0000 (05:19 +0530)]
Add Gentoo as packager, FreeBSD command

7 years agoRe-populate after spawning shell
Arun Prakash Jana [Thu, 15 Feb 2018 13:51:58 +0000 (19:21 +0530)]
Re-populate after spawning shell

7 years agoStart dir watch, preserve cur entry when navigate-as-you-type is disabled
Arun Prakash Jana [Tue, 13 Feb 2018 07:58:18 +0000 (13:28 +0530)]
Start dir watch, preserve cur entry when navigate-as-you-type is disabled

7 years agoBetter message for multi-copy
Arun Prakash Jana [Sun, 4 Feb 2018 17:24:58 +0000 (22:54 +0530)]
Better message for multi-copy

7 years agoDo not show quotes on ^K
Arun Prakash Jana [Mon, 29 Jan 2018 15:19:38 +0000 (20:49 +0530)]
Do not show quotes on ^K

7 years agoShow copymode on/off
Arun Prakash Jana [Sun, 28 Jan 2018 07:14:29 +0000 (12:44 +0530)]
Show copymode on/off

7 years agoInterpret ^T in filter mode
Arun Prakash Jana [Sun, 28 Jan 2018 06:53:23 +0000 (12:23 +0530)]
Interpret ^T in filter mode

7 years agoSupport file path quote on single copy
Arun Prakash Jana [Sun, 28 Jan 2018 06:34:56 +0000 (12:04 +0530)]
Support file path quote on single copy

7 years agoSupport file path quote on copy
Arun Prakash Jana [Sun, 28 Jan 2018 06:03:12 +0000 (11:33 +0530)]
Support file path quote on copy

7 years agoMakefile: use PKG_CONFIG instead of hardcoding pkg-config (#78)
maxice8 [Mon, 22 Jan 2018 13:09:17 +0000 (11:09 -0200)]
Makefile: use PKG_CONFIG instead of hardcoding pkg-config (#78)

7 years agoUse macro for CRC8 table length
Arun Prakash Jana [Fri, 19 Jan 2018 15:09:23 +0000 (20:39 +0530)]
Use macro for CRC8 table length

7 years agoRedraw if no entries when navigate-as-you-type is turned off
Arun Prakash Jana [Wed, 17 Jan 2018 14:52:07 +0000 (20:22 +0530)]
Redraw if no entries when navigate-as-you-type is turned off

The main reason to do this is to start watching the current dir for changes. In
any case, this does not harm; if there are dir entries shown on redraw that's
better than showing nothing.

7 years agokeybind to pin current dir - b
Arun Prakash Jana [Wed, 17 Jan 2018 14:02:22 +0000 (19:32 +0530)]
keybind to pin current dir - b

7 years agoSet to last selection if filter is empty
Arun Prakash Jana [Sun, 14 Jan 2018 08:35:19 +0000 (14:05 +0530)]
Set to last selection if filter is empty

7 years agoUse consistent date format
Arun Prakash Jana [Sun, 14 Jan 2018 07:13:20 +0000 (12:43 +0530)]
Use consistent date format