]>
Sergey Matveev's repositories - nnn.git/log
Arun Prakash Jana [Tue, 15 Jun 2021 13:32:10 +0000 (19:02 +0530)]
Code reformat, use basic IO functions
Arun Prakash Jana [Tue, 15 Jun 2021 09:49:06 +0000 (15:19 +0530)]
Use raw functions instead of file functions
Arun Prakash Jana [Tue, 15 Jun 2021 09:08:08 +0000 (14:38 +0530)]
Fix #1072: use internal tmp file to page output
Arun Prakash Jana [Mon, 14 Jun 2021 16:42:55 +0000 (22:12 +0530)]
Remove redundant newline
Arun Prakash Jana [Sun, 13 Jun 2021 18:20:28 +0000 (23:50 +0530)]
Extract archive to, mount remove/archive in smart context
Arun Prakash Jana [Sun, 13 Jun 2021 08:43:39 +0000 (14:13 +0530)]
Support archive "extract to..."
Arun Prakash Jana [Sun, 13 Jun 2021 05:08:12 +0000 (10:38 +0530)]
Update docs
Arun Prakash Jana [Sun, 13 Jun 2021 03:34:49 +0000 (09:04 +0530)]
Fix patch incompatibility
Arun Prakash Jana [Sat, 12 Jun 2021 20:33:47 +0000 (02:03 +0530)]
Remove option from auto-complete
Arun Prakash Jana [Sat, 12 Jun 2021 19:52:36 +0000 (01:22 +0530)]
Config NNN_HELP to show output of a program on top of help page
Arun Prakash Jana [Sat, 12 Jun 2021 19:06:45 +0000 (00:36 +0530)]
Use netbsd-curses v0.3.2
Arun Prakash Jana [Sat, 12 Jun 2021 18:46:09 +0000 (00:16 +0530)]
Fix #1067: handle SIGWINCH the ncurses way
Ref: https://invisible-island.net/ncurses/ncurses-intro.html#xterm
Anna Arad [Sat, 12 Jun 2021 17:32:48 +0000 (19:32 +0200)]
Add force-tty capability to spawn and set pagers to it (#1070)
Co-authored-by: Anna Arad <annagram@shards.me>
Arun Prakash Jana [Sat, 12 Jun 2021 17:01:27 +0000 (22:31 +0530)]
Drop unreliable popen() call [e.g. fails if filename has "]
Arun Prakash Jana [Sat, 12 Jun 2021 16:03:26 +0000 (21:33 +0530)]
Simplify show_stats()
Arun Prakash Jana [Sat, 12 Jun 2021 14:10:43 +0000 (19:40 +0530)]
Initialize local array to NULL
Arun Prakash Jana [Sat, 12 Jun 2021 07:28:28 +0000 (12:58 +0530)]
Attempt to fix #1067: hook into ncurses to resize on KEY_RESIZE
Arun Prakash Jana [Fri, 11 Jun 2021 18:05:57 +0000 (23:35 +0530)]
Use standard descriptor names
Piña Colada [Fri, 11 Jun 2021 14:04:32 +0000 (19:34 +0530)]
Merge pull request #1066 from kevinsjoberg/remove-fzf-options
Remove opinionated options
Kevin Sjöberg [Fri, 11 Jun 2021 13:48:29 +0000 (15:48 +0200)]
Remove opinionated options
Kevin Sjöberg [Fri, 11 Jun 2021 09:46:51 +0000 (11:46 +0200)]
Support opening regular text files on macOS
Arun Prakash Jana [Wed, 9 Jun 2021 18:39:24 +0000 (00:09 +0530)]
Checkpatch fixes
Arun Prakash Jana [Tue, 8 Jun 2021 15:20:09 +0000 (20:50 +0530)]
Use static global
Arun Prakash Jana [Sun, 6 Jun 2021 19:48:34 +0000 (01:18 +0530)]
Update examples
Arun Prakash Jana [Sun, 6 Jun 2021 18:05:15 +0000 (23:35 +0530)]
Update docs
Arun Prakash Jana [Sun, 6 Jun 2021 16:46:24 +0000 (22:16 +0530)]
Remove redundant examples
Arun Prakash Jana [Sun, 6 Jun 2021 16:21:30 +0000 (21:51 +0530)]
NNN_PLUG: use `|` to page run-and-exit cmd output
Arun Prakash Jana [Sun, 6 Jun 2021 13:28:13 +0000 (18:58 +0530)]
Fix alignment
Arun Prakash Jana [Sun, 6 Jun 2021 13:18:14 +0000 (18:48 +0530)]
NNN_PLUG: use & as run-gui-cmd-as-plugin symbol (earlier |)
Arun Prakash Jana [Sun, 6 Jun 2021 13:07:49 +0000 (18:37 +0530)]
NNN_PLUG: use ! as run-cmd-as-plugin symbol (earlier _)
Arun Prakash Jana [Sun, 6 Jun 2021 12:05:05 +0000 (17:35 +0530)]
Add another useful plugin example
Arun Prakash Jana [Sun, 6 Jun 2021 11:37:23 +0000 (17:07 +0530)]
Plugin fzcd - decouple from selection
Arun Prakash Jana [Sun, 6 Jun 2021 08:26:09 +0000 (13:56 +0530)]
Plugin cleanup 2: one-liners with paged output
- remove `mediainf`
- remove `uidgid`
- remove `hexview`
- remove `pdfview`
Arun Prakash Jana [Sun, 6 Jun 2021 05:11:30 +0000 (10:41 +0530)]
Plugin cleanup 1
- rename `wall` to `wallpaper`
- remove `upgrade` - packaging is on OBS now
- remove `treeview` - needs minor preview-tui tweak
- remove `picker` - `nnn -p -` does the same
Piña Colada [Sat, 5 Jun 2021 14:30:09 +0000 (20:00 +0530)]
Merge pull request #1055 from luukvbaal/patches
Add gitstatus patch -G flag
Luuk van Baal [Sat, 5 Jun 2021 14:21:01 +0000 (16:21 +0200)]
Add gitstatus patch -G flag
Arun Prakash Jana [Fri, 4 Jun 2021 23:18:34 +0000 (04:48 +0530)]
Mention patch framework
Piña Colada [Fri, 4 Jun 2021 22:57:58 +0000 (04:27 +0530)]
Merge pull request #1054 from luukvbaal/preview-tui
Preview-tui single previewpid file
Luuk van Baal [Fri, 4 Jun 2021 22:35:54 +0000 (00:35 +0200)]
Preview-tui single previewpid file
Piña Colada [Fri, 4 Jun 2021 15:54:27 +0000 (21:24 +0530)]
Merge pull request #1053 from luukvbaal/preview-tui
Suppress pgrep output
Luuk van Baal [Fri, 4 Jun 2021 15:04:01 +0000 (17:04 +0200)]
Supress pgrep output
Piña Colada [Fri, 4 Jun 2021 14:55:48 +0000 (20:25 +0530)]
Merge pull request #1052 from luukvbaal/preview-tui
Fix preview-tui zombie
Luuk van Baal [Fri, 4 Jun 2021 14:43:59 +0000 (16:43 +0200)]
Fix preview-tui zombie
Piña Colada [Fri, 4 Jun 2021 02:13:59 +0000 (07:43 +0530)]
Merge pull request #1051 from luukvbaal/preview-tui
Fix preview-tui job control
Luuk van Baal [Fri, 4 Jun 2021 02:10:35 +0000 (04:10 +0200)]
Fix preview-tui job control
Arun Prakash Jana [Thu, 3 Jun 2021 17:58:07 +0000 (23:28 +0530)]
Add mention
Arun Prakash Jana [Thu, 3 Jun 2021 17:24:12 +0000 (22:54 +0530)]
Post-release formalities
Arun Prakash Jana [Thu, 3 Jun 2021 16:42:36 +0000 (22:12 +0530)]
Prepare for release v4.1.1 Sake
luukvbaal [Thu, 3 Jun 2021 15:07:07 +0000 (17:07 +0200)]
Update gitstatus patch (#1048)
Piña Colada [Thu, 3 Jun 2021 14:38:28 +0000 (20:08 +0530)]
Merge pull request #1049 from luukvbaal/imgview
Plugin imgview improvements
Luuk van Baal [Thu, 3 Jun 2021 13:09:20 +0000 (15:09 +0200)]
Improve imgview plugin
luukvbaal [Thu, 3 Jun 2021 09:01:27 +0000 (11:01 +0200)]
Further gitstatus cleanup/fixes (#1046)
Arun Prakash Jana [Wed, 2 Jun 2021 23:03:17 +0000 (04:33 +0530)]
Add Makefile target to compile nnn with musl libc
Arun Prakash Jana [Wed, 2 Jun 2021 22:20:30 +0000 (03:50 +0530)]
Restore source code packing on CircleCI
Arun Prakash Jana [Wed, 2 Jun 2021 21:45:09 +0000 (03:15 +0530)]
Fix #1041
Arun Prakash Jana [Wed, 2 Jun 2021 16:23:29 +0000 (21:53 +0530)]
Remove _Atomic usage
Arun Prakash Jana [Wed, 2 Jun 2021 05:42:01 +0000 (11:12 +0530)]
Move patches to top level
Arun Prakash Jana [Wed, 2 Jun 2021 05:14:41 +0000 (10:44 +0530)]
Prepare for release v4.1 Sake
Sake - https://en.wikipedia.org/wiki/Sake
luukvbaal [Wed, 2 Jun 2021 04:27:06 +0000 (06:27 +0200)]
Add user patch framework (#1037)
* Add user patch framework
* Add git status patch
* Add namefirst-gitstatus compatibility
* Add patch targets
* Fix gitstatus colors and patch order
Piña Colada [Mon, 31 May 2021 17:32:44 +0000 (23:02 +0530)]
Merge pull request #1038 from luukvbaal/unicodearrows
Unicode arrow indicators for O_ICONS/NERD
Luuk van Baal [Mon, 31 May 2021 16:41:05 +0000 (18:41 +0200)]
Unicode arrows for O_ICONS/NERD
Arun Prakash Jana [Mon, 31 May 2021 12:11:38 +0000 (17:41 +0530)]
Update docs
Piña Colada [Mon, 31 May 2021 12:01:58 +0000 (17:31 +0530)]
Merge pull request #1036 from luukvbaal/preview-tui
Fix preview-tui jpeg mime
Luuk van Baal [Mon, 31 May 2021 09:43:51 +0000 (11:43 +0200)]
Fix preview-tui jpeg mime
Arun Prakash Jana [Sun, 30 May 2021 23:21:19 +0000 (04:51 +0530)]
Fix #1034: do not auto-generate packages for SuSE
Piña Colada [Sun, 30 May 2021 23:07:41 +0000 (04:37 +0530)]
Merge pull request #1035 from luukvbaal/manhome
Update man page
Luuk van Baal [Sun, 30 May 2021 23:04:07 +0000 (01:04 +0200)]
Update man page
Piña Colada [Sun, 30 May 2021 22:18:32 +0000 (03:48 +0530)]
Merge pull request #1033 from luukvbaal/preview-tui
Preview-tui-ext to preview-tui
Luuk van Baal [Sun, 30 May 2021 21:48:10 +0000 (23:48 +0200)]
Preview-tui-ext to preview-tui
Piña Colada [Sun, 30 May 2021 19:42:34 +0000 (01:12 +0530)]
Merge pull request #1032 from luukvbaal/imgplugins
Add ucollage to imgview
Luuk van Baal [Sun, 30 May 2021 19:33:48 +0000 (21:33 +0200)]
Add ucollage to imgview
Piña Colada [Sun, 30 May 2021 19:24:57 +0000 (00:54 +0530)]
Merge pull request #1031 from luukvbaal/imgplugins
Merge image plugins
Luuk van Baal [Sun, 30 May 2021 18:11:54 +0000 (20:11 +0200)]
Merge image plugins
Arun Prakash Jana [Sun, 30 May 2021 17:59:10 +0000 (23:29 +0530)]
Update documentation
Arun Prakash Jana [Sat, 29 May 2021 10:36:42 +0000 (16:06 +0530)]
Clear the selection for uniform behaviour
Arun Prakash Jana [Sat, 29 May 2021 09:28:55 +0000 (14:58 +0530)]
Get rid of getchar()
Arun Prakash Jana [Sat, 29 May 2021 07:45:05 +0000 (13:15 +0530)]
Alt+Esc to quit context from filter prompt
Arun Prakash Jana [Sat, 29 May 2021 07:06:37 +0000 (12:36 +0530)]
Remove ntfw-specific code
Arun Prakash Jana [Sat, 29 May 2021 04:45:21 +0000 (10:15 +0530)]
Decouple variable documentation section
Arun Prakash Jana [Fri, 28 May 2021 22:10:00 +0000 (03:40 +0530)]
Fix condition
Arun Prakash Jana [Fri, 28 May 2021 19:03:50 +0000 (00:33 +0530)]
Rename plugin fzdirs to fzcd, retains fzcd features
Arun Prakash Jana [Fri, 28 May 2021 18:16:00 +0000 (23:46 +0530)]
fzdirs - check if the first entry in path-list exists
Arun Prakash Jana [Fri, 28 May 2021 18:01:20 +0000 (23:31 +0530)]
Restore hovered file name on select and run plugin
Arun Prakash Jana [Fri, 28 May 2021 17:54:06 +0000 (23:24 +0530)]
fzdirs: support default list, default to $PWD
Arun Prakash Jana [Fri, 28 May 2021 13:34:14 +0000 (19:04 +0530)]
Plugin fzdirs: fuzzy search multiple directories
Arun Prakash Jana [Thu, 27 May 2021 17:42:14 +0000 (23:12 +0530)]
Show number of files selected in local buffer, if any
Even if selection mode is not on, it helps to show
number of files currently selected in local buffer.
Say, after running a plugin selection mode goes off.
However, if the plugin doesn't clear the selection
buffer, the files still remain selected in buffer.
Arun Prakash Jana [Thu, 27 May 2021 13:45:21 +0000 (19:15 +0530)]
plugin cleanfilename -> fixname, unmount-parent -> umounttree
Arun Prakash Jana [Thu, 27 May 2021 12:40:46 +0000 (18:10 +0530)]
Attempt to create a new context with Shift-TAB, else reverse cycle
Piña Colada [Wed, 26 May 2021 19:34:56 +0000 (01:04 +0530)]
Merge pull request #1028 from luukvbaal/makefile
Update haiku Makefile
Luuk van Baal [Wed, 26 May 2021 18:54:00 +0000 (20:54 +0200)]
Update haiku Makefile
Arun Prakash Jana [Wed, 26 May 2021 18:18:22 +0000 (23:48 +0530)]
Update musl compilation script
luukvbaal [Wed, 26 May 2021 18:17:38 +0000 (20:17 +0200)]
Ignore NOLC when ICONS/NERD are set (#1027)
Arun Prakash Jana [Wed, 26 May 2021 16:26:59 +0000 (21:56 +0530)]
Multi-threaded FTS-based disk usage calculation
Implements pthreads based du using FTS. Currently 4 threads are used.
NFTW is dropped as there is no way to pass any custom values to fn().
FTS does not require any per entry function callback.
The performance numbers are best with FTS:
./nnn-fts -T d / 5.29s user 0.94s system 116% cpu 5.335 total
1/21 du:102.402G free:8.476G files:397644
101132550144B
./nnn-ftw -T d / 5.52s user 0.94s system 116% cpu 5.534 total
1/21 du:102.400G free:8.474G files:397653
101133148160B
./nnn-4.0 -T d / 0.20s user 2.27s system 24% cpu 10.241 total
1/21 du:102.400G free:8.475G files:397654
101133299712B
Arun Prakash Jana [Tue, 25 May 2021 21:46:01 +0000 (03:16 +0530)]
Fix du calculation
Arun Prakash Jana [Mon, 24 May 2021 17:08:08 +0000 (22:38 +0530)]
Make option O_NOLOC renamed to O_NOLC
Arun Prakash Jana [Sun, 23 May 2021 21:26:12 +0000 (02:56 +0530)]
Dynamic view update in disk usage mode
Arun Prakash Jana [Sun, 23 May 2021 14:38:11 +0000 (20:08 +0530)]
Fix spelling, remove Known Issues section in favour of Troubleshooting Wiki
Arun Prakash Jana [Sat, 22 May 2021 03:04:59 +0000 (08:34 +0530)]
Minor changes to nuke
Arun Prakash Jana [Fri, 21 May 2021 02:35:44 +0000 (08:05 +0530)]
Suppress session open failure msg in picker mode
Arun Prakash Jana [Thu, 20 May 2021 04:26:55 +0000 (09:56 +0530)]
Fix #1023: support named persistent settions