]>
 
 
Sergey Matveev's repositories - nnn.git/log 
 
 
 
 
 
 
Arun Prakash Jana [Fri, 16 Mar 2018 17:16:03 +0000 (22:46 +0530)] 
 
Retain nav-as-you-type mode after exiting spawned shell 
 
Arun Prakash Jana [Thu, 15 Mar 2018 23:16:14 +0000 (04:46  +0530)] 
 
Remove reference of NNN_NOWAIT 
 
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. 
 
maxice8 [Wed, 14 Mar 2018 18:59:29 +0000 (15:59 -0300)] 
 
nlay: use more portable shebang for bash. (#98) 
 
Arun Prakash Jana [Wed, 14 Mar 2018 16:59:59 +0000 (22:29 +0530)] 
 
Fix #97: add manpage for nlay 
 
Dridi Boukelmoune [Wed, 14 Mar 2018 10:41:30 +0000 (11:41 +0100)] 
 
Make install(1) commands override-able (#96) 
 
Arun Prakash Jana [Sun, 11 Mar 2018 08:12:49 +0000 (13:42 +0530)] 
 
Add table of external dependencies 
 
Arun Prakash Jana [Thu, 8 Mar 2018 21:02:22 +0000 (02:32  +0530)] 
 
Replace all sprintf() with snprintf() 
 
Arun Prakash Jana [Wed, 7 Mar 2018 13:02:48 +0000 (18:32 +0530)] 
 
Fix #95: Add ^I as an alternative to Insert 
 
Arun Prakash Jana [Mon, 5 Mar 2018 12:45:42 +0000 (18:15 +0530)] 
 
Integer calculation-only coolsize() 
 
Arun Prakash Jana [Mon, 5 Mar 2018 03:16:34 +0000 (08:46 +0530)] 
 
float is suficient and a _little_ faster in coolsize() 
 
Arun Prakash Jana [Sun, 4 Mar 2018 19:42:10 +0000 (01:12  +0530)] 
 
Revert "Integer-only coolsize() (#84)"
This reverts commit 
7be0726164442a83f47e5a9a0cdf2db343832d23 .
 
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 .
 
Arun Prakash Jana [Sun, 4 Mar 2018 19:41:14 +0000 (01:11  +0530)] 
 
Revert "Fix compilation warning"
This reverts commit 
30fdb6ff11a8a4d720d3efbb21cb0755abd06665 .
 
Arun Prakash Jana [Sun, 4 Mar 2018 19:27:31 +0000 (00:57  +0530)] 
 
Fix compilation warning 
 
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. 
 
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`. 
 
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. 
 
Arun Prakash Jana [Sat, 3 Mar 2018 04:00:03 +0000 (09:30 +0530)] 
 
Add ruby files as text file 
 
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 
 
Nexie Kind [Fri, 2 Mar 2018 12:01:11 +0000 (15:01 +0300)] 
 
Fix zsh path autocompletion (#88) 
 
Giacomo Rossetto [Thu, 1 Mar 2018 13:06:26 +0000 (14:06 +0100)] 
 
Improved portability on MacOS (#86) 
 
Alex Suykov [Thu, 1 Mar 2018 07:52:25 +0000 (09:52 +0200)] 
 
Integer-only coolsize() (#84) 
 
Arun Prakash Jana [Wed, 28 Feb 2018 11:09:23 +0000 (16:39 +0530)] 
 
Add openSUSE Leap badge 
 
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. 
 
Arun Prakash Jana [Wed, 28 Feb 2018 04:50:11 +0000 (10:20 +0530)] 
 
openSUSE build system provides several distro packages. thanks @dilawar! 
 
Arun Prakash Jana [Tue, 27 Feb 2018 20:44:53 +0000 (02:14  +0530)] 
 
Fix Fedora 25 deps 
 
Arun Prakash Jana [Tue, 27 Feb 2018 20:24:42 +0000 (01:54  +0530)] 
 
Prepare for release v1.7 
 
Arun Prakash Jana [Tue, 27 Feb 2018 03:31:39 +0000 (09:01 +0530)] 
 
Update documentation on vidir 
 
Arun Prakash Jana [Mon, 26 Feb 2018 12:20:31 +0000 (17:50 +0530)] 
 
Update README 
 
Arun Prakash Jana [Sat, 24 Feb 2018 16:13:41 +0000 (21:43 +0530)] 
 
Add shortcut ^G to quit and cd 
 
Arun Prakash Jana [Sat, 24 Feb 2018 15:38:49 +0000 (21:08 +0530)] 
 
Update changelog 
 
Arun Prakash Jana [Sat, 24 Feb 2018 15:15:50 +0000 (20:45 +0530)] 
 
Use macros for external utils 
 
Arun Prakash Jana [Sat, 24 Feb 2018 14:16:58 +0000 (19:46 +0530)] 
 
Support batch file rename in vidir 
 
Arun Prakash Jana [Sat, 24 Feb 2018 09:16:33 +0000 (14:46 +0530)] 
 
Update features 
 
Arun Prakash Jana [Sat, 24 Feb 2018 08:04:46 +0000 (13:34 +0530)] 
 
Update Changelog 
 
Arun Prakash Jana [Sat, 24 Feb 2018 05:33:05 +0000 (11:03 +0530)] 
 
Add packages for CentOS 7.2, Fedora 25 and 27 
 
Arun Prakash Jana [Sat, 24 Feb 2018 05:25:35 +0000 (10:55 +0530)] 
 
Update copyright year 
 
Arun Prakash Jana [Sat, 24 Feb 2018 05:13:06 +0000 (10:43 +0530)] 
 
Enable file extract in nav-as-you-type mode 
 
Arun Prakash Jana [Sat, 24 Feb 2018 03:03:22 +0000 (08:33 +0530)] 
 
Document file path copy usage sans clipboard 
 
Arun Prakash Jana [Sat, 24 Feb 2018 02:19:59 +0000 (07:49 +0530)] 
 
Support file path copy when X is unavailable 
 
Arun Prakash Jana [Fri, 23 Feb 2018 23:49:46 +0000 (05:19  +0530)] 
 
Add Gentoo as packager, FreeBSD command 
 
Arun Prakash Jana [Thu, 15 Feb 2018 13:51:58 +0000 (19:21 +0530)] 
 
Re-populate after spawning shell 
 
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 
 
Arun Prakash Jana [Sun, 4 Feb 2018 17:24:58 +0000 (22:54 +0530)] 
 
Better message for multi-copy 
 
Arun Prakash Jana [Mon, 29 Jan 2018 15:19:38 +0000 (20:49 +0530)] 
 
Do not show quotes on ^K 
 
Arun Prakash Jana [Sun, 28 Jan 2018 07:14:29 +0000 (12:44 +0530)] 
 
Show copymode on/off 
 
Arun Prakash Jana [Sun, 28 Jan 2018 06:53:23 +0000 (12:23 +0530)] 
 
Interpret ^T in filter mode 
 
Arun Prakash Jana [Sun, 28 Jan 2018 06:34:56 +0000 (12:04 +0530)] 
 
Support file path quote on single copy 
 
Arun Prakash Jana [Sun, 28 Jan 2018 06:03:12 +0000 (11:33 +0530)] 
 
Support file path quote on copy 
 
maxice8 [Mon, 22 Jan 2018 13:09:17 +0000 (11:09 -0200)] 
 
Makefile: use PKG_CONFIG instead of hardcoding pkg-config (#78) 
 
Arun Prakash Jana [Fri, 19 Jan 2018 15:09:23 +0000 (20:39 +0530)] 
 
Use macro for CRC8 table length 
 
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. 
 
Arun Prakash Jana [Wed, 17 Jan 2018 14:02:22 +0000 (19:32 +0530)] 
 
keybind to pin current dir - b 
 
Arun Prakash Jana [Sun, 14 Jan 2018 08:35:19 +0000 (14:05 +0530)] 
 
Set to last selection if filter is empty 
 
Arun Prakash Jana [Sun, 14 Jan 2018 07:13:20 +0000 (12:43 +0530)] 
 
Use consistent date format 
 
Arun Prakash Jana [Sun, 14 Jan 2018 06:41:46 +0000 (12:11 +0530)] 
 
Improve common message handling 
 
Arun Prakash Jana [Sun, 14 Jan 2018 04:48:53 +0000 (10:18 +0530)] 
 
Use concise and lowercase messages 
 
Arun Prakash Jana [Sat, 13 Jan 2018 21:57:24 +0000 (03:27  +0530)] 
 
Replace snprintf() with xstrlcpy() 
 
Arun Prakash Jana [Sat, 13 Jan 2018 20:13:30 +0000 (01:43  +0530)] 
 
Support multiple file path copy 
 
Design overview: 
 
We are introducing multiple file path copy as a mode which can be toggled using 
the keybind `^Y`. `^K` works as the individual entry selector. If the user wants 
to select a range, (s)he can press `^Y` on the first entry and `^Y` on the last 
entry. 
 
We subscribe to notifications, so we need a fail-proof way to detect changes in 
the directory contents. For example, if a file is deleted, it becomes difficult 
to get the names of all the files in a range containing that file. If the file 
is on a range boundary it would lead to wrong calculations. To handle this the 
right way we use CRC8 checksum of all the visible entries in the directory. The 
checksum is calculated based on the file information buffer. If the CRC changes 
on a redraw(), we reset the multi-select mode. 
 
New line (`\n`) works as the delimiter between file paths. Note that you may have 
to disable IFS in the `NNN_COPIER` script to show file paths separated by spaces. 
 
Arun Prakash Jana [Sat, 13 Jan 2018 03:58:29 +0000 (09:28 +0530)] 
 
Key changes: ^F - extract archive, ^X - quit 
 
Jan Chren [Wed, 10 Jan 2018 16:32:48 +0000 (17:32 +0100)] 
 
make Makefile more packaging friendly  (#76) 
 
* make Makefile more packaging friendly 
 
* packagecore: run `strip` before installing 
 
Arun Prakash Jana [Tue, 9 Jan 2018 08:51:09 +0000 (14:21 +0530)] 
 
Remap ^S and ^Q. 
 
The replacement keys are: 
 
^J - toggle du mode 
^Y - quit 
 
The change is done because ^S, ^Q keybinds are lost in the following case: 
- start nnn 
- navigate to a different directory 
- spawn a shell 
- exit the shell 
 
The issue happens only with the 'special' keybinds like ^S, ^Q, ^Z... which get 
their original shell interpretation back. 
 
So we are replacing these 2 keybinds with 2 'non-special' combinations. 
 
Arun Prakash Jana [Tue, 9 Jan 2018 08:02:57 +0000 (13:32 +0530)] 
 
Sufficient to use refresh() after exitcurses() 
 
Arun Prakash Jana [Mon, 8 Jan 2018 19:01:15 +0000 (00:31  +0530)] 
 
Add shortcut ^S to toggle du mode 
 
Arun Prakash Jana [Mon, 8 Jan 2018 18:43:11 +0000 (00:13  +0530)] 
 
Explicitly optimize modulo ops 
 
Arun Prakash Jana [Sun, 7 Jan 2018 21:57:41 +0000 (03:27  +0530)] 
 
Open with GUI app - Suppress stdout, stderr 
 
Arun Prakash Jana [Sun, 7 Jan 2018 14:38:59 +0000 (20:08 +0530)] 
 
Simplify detail printing 
 
Arun Prakash Jana [Sun, 7 Jan 2018 03:44:25 +0000 (09:14 +0530)] 
 
Change bookmark prompt and pin dir keys. 
 
New keys: 
 
- bookmark prompt (^B) 
- pin directory (B) 
 
The intention of the change is to facilitate opening the bookmark prompt in 
navigate-as-you-type mode. The bookmark prompt is used more than the pin 
current directory option. 
 
Arun Prakash Jana [Sat, 6 Jan 2018 21:57:09 +0000 (03:27  +0530)] 
 
Highest priority to desktop search, rename 
 
Arun Prakash Jana [Sat, 6 Jan 2018 06:28:01 +0000 (11:58 +0530)] 
 
Enable extra shortcuts in navigate-as-you-type mode 
 
Enabled functionality: 
 
- Copy file path (^K) 
- Run desktop search utility (^/) 
- Rename file (^R) 
- Open with... (^O) 
- Pin current directory (^B) 
- Visit pinned directory (^V) 
- Extract archive (^X) 
 
Arun Prakash Jana [Sat, 6 Jan 2018 04:31:54 +0000 (10:01 +0530)] 
 
Swap weekday and month 
 
Arun Prakash Jana [Fri, 5 Jan 2018 22:29:36 +0000 (03:59  +0530)] 
 
Use a date format string 
 
Arun Prakash Jana [Fri, 5 Jan 2018 22:25:57 +0000 (03:55  +0530)] 
 
Rearrange date format in file details 
 
codeliveroil [Fri, 5 Jan 2018 22:19:27 +0000 (14:19 -0800)] 
 
Use standard date formats. (#74) 
 
- For standard view, use ISO 8601 date format. 
- For detailed view (i.e. stat), use default Linux date 
  format. Also, remove GMT offset to avoid confusion in 
  determining source of offset when reading alongside 
  the local time zone. 
 
Arun Prakash Jana [Thu, 4 Jan 2018 12:40:59 +0000 (18:10 +0530)] 
 
Show target for symlinks 
 
Arun Prakash Jana [Thu, 4 Jan 2018 12:16:06 +0000 (17:46 +0530)] 
 
The *alloc() family is aligned 
 
Arun Prakash Jana [Thu, 4 Jan 2018 00:53:20 +0000 (06:23 +0530)] 
 
Wrap realloc() to return aligned address 
 
Arun Prakash Jana [Sat, 30 Dec 2017 08:24:49 +0000 (13:54 +0530)] 
 
Use aligned large buffers 
 
Arun Prakash Jana [Fri, 29 Dec 2017 05:49:37 +0000 (11:19 +0530)] 
 
Fix #73: How to discard changes and exit new/rename prompt 
 
Arun Prakash Jana [Fri, 29 Dec 2017 05:38:07 +0000 (11:08 +0530)] 
 
Check alignment and enable -O3 
 
Arun Prakash Jana [Wed, 27 Dec 2017 20:17:44 +0000 (01:47  +0530)] 
 
Fix checkpatch reports 
 
Dmitri Goutnik [Wed, 27 Dec 2017 19:48:05 +0000 (14:48 -0500)] 
 
Add FreeBSD as a package source (#72) 
 
Daniel Lockyer [Wed, 27 Dec 2017 10:36:57 +0000 (10:36 +0000)] 
 
Free allocated resources using regfree (#71) 
 
Arun Prakash Jana [Tue, 26 Dec 2017 19:58:01 +0000 (01:28  +0530)] 
 
Use ffs() tweak. 
 
Arun Prakash Jana [Tue, 26 Dec 2017 19:41:38 +0000 (01:11  +0530)] 
 
Remove arm targets 
 
Arun Prakash Jana [Tue, 26 Dec 2017 19:02:26 +0000 (00:32  +0530)] 
 
Explicitly cast opaque types 
 
Arun Prakash Jana [Tue, 26 Dec 2017 18:46:23 +0000 (00:16  +0530)] 
 
TAB is not identified on OS X 
 
Dmitri Goutnik [Tue, 26 Dec 2017 18:23:20 +0000 (13:23 -0500)] 
 
Lookup xdg-open in PATH on non-Apple platforms (#70) 
 
Arun Prakash Jana [Tue, 26 Dec 2017 18:19:47 +0000 (23:49 +0530)] 
 
Retire Makefile.native 
 
Arun Prakash Jana [Tue, 26 Dec 2017 18:03:32 +0000 (23:33 +0530)] 
 
Use ffs() instead of ffsl() 
 
Arun Prakash Jana [Tue, 26 Dec 2017 17:41:48 +0000 (23:11 +0530)] 
 
Cross compile nnn on Travis CI 
 
Dmitri Goutnik [Tue, 26 Dec 2017 15:52:45 +0000 (10:52 -0500)] 
 
Fix compiler warnings on FreeBSD 11.x (#69) 
 
Arun Prakash Jana [Tue, 26 Dec 2017 13:55:52 +0000 (19:25 +0530)] 
 
Add openSUSE to packagers 
 
Arun Prakash Jana [Tue, 26 Dec 2017 04:34:10 +0000 (10:04 +0530)] 
 
Update README 
 
Update documentation 
 
Arun Prakash Jana [Mon, 25 Dec 2017 18:19:49 +0000 (23:49 +0530)] 
 
Update README 
 
Arun Prakash Jana [Mon, 25 Dec 2017 17:57:37 +0000 (23:27 +0530)] 
 
Replace getorder() by ffsl() 
 
Arun Prakash Jana [Mon, 25 Dec 2017 12:05:27 +0000 (17:35 +0530)] 
 
OpenSUSE gcc fails at '-fno-tree-loop-vectorize' 
 
Arun Prakash Jana [Mon, 25 Dec 2017 11:43:25 +0000 (17:13 +0530)] 
 
Prepare for release v1.6 
 
Arun Prakash Jana [Mon, 25 Dec 2017 11:11:49 +0000 (16:41 +0530)] 
 
Add OpenSUSE Leap 42.3, reorder matrix