]> Sergey Matveev's repositories - nnn.git/log
nnn.git
3 years agoRevert "Remove redundant old state handlers"
Arun Prakash Jana [Wed, 16 Jun 2021 19:01:26 +0000 (00:31 +0530)]
Revert "Remove redundant old state handlers"

This reverts commit 1590103ab7fbb87f05c8b3cc1b3db14d9f9a11c7.

3 years agoUpdate docs
Arun Prakash Jana [Wed, 16 Jun 2021 18:14:24 +0000 (23:44 +0530)]
Update docs

3 years agoRemove redundant old state handlers
Arun Prakash Jana [Tue, 15 Jun 2021 18:47:01 +0000 (00:17 +0530)]
Remove redundant old state handlers

3 years agoGet rid of file stream functions
Arun Prakash Jana [Tue, 15 Jun 2021 15:22:59 +0000 (20:52 +0530)]
Get rid of file stream functions

3 years agoCode reformat, use basic IO functions
Arun Prakash Jana [Tue, 15 Jun 2021 13:32:10 +0000 (19:02 +0530)]
Code reformat, use basic IO functions

3 years agoUse raw functions instead of file functions
Arun Prakash Jana [Tue, 15 Jun 2021 09:49:06 +0000 (15:19 +0530)]
Use raw functions instead of file functions

3 years agoFix #1072: use internal tmp file to page output
Arun Prakash Jana [Tue, 15 Jun 2021 09:08:08 +0000 (14:38 +0530)]
Fix #1072: use internal tmp file to page output

3 years agoRemove redundant newline
Arun Prakash Jana [Mon, 14 Jun 2021 16:42:55 +0000 (22:12 +0530)]
Remove redundant newline

3 years agoExtract archive to, mount remove/archive in smart context
Arun Prakash Jana [Sun, 13 Jun 2021 18:20:28 +0000 (23:50 +0530)]
Extract archive to, mount remove/archive in smart context

3 years agoSupport archive "extract to..."
Arun Prakash Jana [Sun, 13 Jun 2021 08:43:39 +0000 (14:13 +0530)]
Support archive "extract to..."

3 years agoUpdate docs
Arun Prakash Jana [Sun, 13 Jun 2021 05:08:12 +0000 (10:38 +0530)]
Update docs

3 years agoFix patch incompatibility
Arun Prakash Jana [Sun, 13 Jun 2021 03:34:49 +0000 (09:04 +0530)]
Fix patch incompatibility

3 years agoRemove option from auto-complete
Arun Prakash Jana [Sat, 12 Jun 2021 20:33:47 +0000 (02:03 +0530)]
Remove option from auto-complete

3 years agoConfig NNN_HELP to show output of a program on top of help page
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

3 years agoUse netbsd-curses v0.3.2
Arun Prakash Jana [Sat, 12 Jun 2021 19:06:45 +0000 (00:36 +0530)]
Use netbsd-curses v0.3.2

3 years agoFix #1067: handle SIGWINCH the ncurses way
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

3 years agoAdd force-tty capability to spawn and set pagers to it (#1070)
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>
3 years agoDrop unreliable popen() call [e.g. fails if filename has "]
Arun Prakash Jana [Sat, 12 Jun 2021 17:01:27 +0000 (22:31 +0530)]
Drop unreliable popen() call [e.g. fails if filename has "]

3 years agoSimplify show_stats()
Arun Prakash Jana [Sat, 12 Jun 2021 16:03:26 +0000 (21:33 +0530)]
Simplify show_stats()

3 years agoInitialize local array to NULL
Arun Prakash Jana [Sat, 12 Jun 2021 14:10:43 +0000 (19:40 +0530)]
Initialize local array to NULL

3 years agoAttempt to fix #1067: hook into ncurses to resize on KEY_RESIZE
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

3 years agoUse standard descriptor names
Arun Prakash Jana [Fri, 11 Jun 2021 18:05:57 +0000 (23:35 +0530)]
Use standard descriptor names

3 years agoMerge pull request #1066 from kevinsjoberg/remove-fzf-options
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

3 years agoRemove opinionated options
Kevin Sjöberg [Fri, 11 Jun 2021 13:48:29 +0000 (15:48 +0200)]
Remove opinionated options

3 years agoSupport opening regular text files on macOS
Kevin Sjöberg [Fri, 11 Jun 2021 09:46:51 +0000 (11:46 +0200)]
Support opening regular text files on macOS

3 years agoCheckpatch fixes
Arun Prakash Jana [Wed, 9 Jun 2021 18:39:24 +0000 (00:09 +0530)]
Checkpatch fixes

3 years agoUse static global
Arun Prakash Jana [Tue, 8 Jun 2021 15:20:09 +0000 (20:50 +0530)]
Use static global

3 years agoUpdate examples
Arun Prakash Jana [Sun, 6 Jun 2021 19:48:34 +0000 (01:18 +0530)]
Update examples

3 years agoUpdate docs
Arun Prakash Jana [Sun, 6 Jun 2021 18:05:15 +0000 (23:35 +0530)]
Update docs

3 years agoRemove redundant examples
Arun Prakash Jana [Sun, 6 Jun 2021 16:46:24 +0000 (22:16 +0530)]
Remove redundant examples

3 years agoNNN_PLUG: use `|` to page run-and-exit cmd output
Arun Prakash Jana [Sun, 6 Jun 2021 16:21:30 +0000 (21:51 +0530)]
NNN_PLUG: use `|` to page run-and-exit cmd output

3 years agoFix alignment
Arun Prakash Jana [Sun, 6 Jun 2021 13:28:13 +0000 (18:58 +0530)]
Fix alignment

3 years agoNNN_PLUG: use & as run-gui-cmd-as-plugin symbol (earlier |)
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 |)

3 years agoNNN_PLUG: use ! as run-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 _)

3 years agoAdd another useful plugin example
Arun Prakash Jana [Sun, 6 Jun 2021 12:05:05 +0000 (17:35 +0530)]
Add another useful plugin example

3 years agoPlugin fzcd - decouple from selection
Arun Prakash Jana [Sun, 6 Jun 2021 11:37:23 +0000 (17:07 +0530)]
Plugin fzcd - decouple from selection

3 years agoPlugin cleanup 2: one-liners with paged output
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`

3 years agoPlugin cleanup 1
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

3 years agoMerge pull request #1055 from luukvbaal/patches
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

3 years agoAdd gitstatus patch -G flag
Luuk van Baal [Sat, 5 Jun 2021 14:21:01 +0000 (16:21 +0200)]
Add gitstatus patch -G flag

3 years agoMention patch framework
Arun Prakash Jana [Fri, 4 Jun 2021 23:18:34 +0000 (04:48 +0530)]
Mention patch framework

3 years agoMerge pull request #1054 from luukvbaal/preview-tui
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

3 years agoPreview-tui single previewpid file
Luuk van Baal [Fri, 4 Jun 2021 22:35:54 +0000 (00:35 +0200)]
Preview-tui single previewpid file

3 years agoMerge pull request #1053 from luukvbaal/preview-tui
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

3 years agoSupress pgrep output
Luuk van Baal [Fri, 4 Jun 2021 15:04:01 +0000 (17:04 +0200)]
Supress pgrep output

3 years agoMerge pull request #1052 from luukvbaal/preview-tui
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

3 years agoFix preview-tui zombie
Luuk van Baal [Fri, 4 Jun 2021 14:43:59 +0000 (16:43 +0200)]
Fix preview-tui zombie

3 years agoMerge pull request #1051 from luukvbaal/preview-tui
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

3 years agoFix preview-tui job control
Luuk van Baal [Fri, 4 Jun 2021 02:10:35 +0000 (04:10 +0200)]
Fix preview-tui job control

3 years agoAdd mention
Arun Prakash Jana [Thu, 3 Jun 2021 17:58:07 +0000 (23:28 +0530)]
Add mention

3 years agoPost-release formalities
Arun Prakash Jana [Thu, 3 Jun 2021 17:24:12 +0000 (22:54 +0530)]
Post-release formalities

3 years agoPrepare for release v4.1.1 Sake v4.1.1
Arun Prakash Jana [Thu, 3 Jun 2021 16:42:36 +0000 (22:12 +0530)]
Prepare for release v4.1.1 Sake

3 years agoUpdate gitstatus patch (#1048)
luukvbaal [Thu, 3 Jun 2021 15:07:07 +0000 (17:07 +0200)]
Update gitstatus patch (#1048)

3 years agoMerge pull request #1049 from luukvbaal/imgview
Piña Colada [Thu, 3 Jun 2021 14:38:28 +0000 (20:08 +0530)]
Merge pull request #1049 from luukvbaal/imgview

Plugin imgview improvements

3 years agoImprove imgview plugin
Luuk van Baal [Thu, 3 Jun 2021 13:09:20 +0000 (15:09 +0200)]
Improve imgview plugin

3 years agoFurther gitstatus cleanup/fixes (#1046)
luukvbaal [Thu, 3 Jun 2021 09:01:27 +0000 (11:01 +0200)]
Further gitstatus cleanup/fixes (#1046)

3 years agoAdd Makefile target to compile nnn with musl libc
Arun Prakash Jana [Wed, 2 Jun 2021 23:03:17 +0000 (04:33 +0530)]
Add Makefile target to compile nnn with musl libc

3 years agoRestore source code packing on CircleCI
Arun Prakash Jana [Wed, 2 Jun 2021 22:20:30 +0000 (03:50 +0530)]
Restore source code packing on CircleCI

3 years agoFix #1041
Arun Prakash Jana [Wed, 2 Jun 2021 21:45:09 +0000 (03:15 +0530)]
Fix #1041

3 years agoRemove _Atomic usage
Arun Prakash Jana [Wed, 2 Jun 2021 16:23:29 +0000 (21:53 +0530)]
Remove _Atomic usage

3 years agoMove patches to top level
Arun Prakash Jana [Wed, 2 Jun 2021 05:42:01 +0000 (11:12 +0530)]
Move patches to top level

3 years agoPrepare for release v4.1 Sake v4.1
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

3 years agoAdd user patch framework (#1037)
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

3 years agoMerge pull request #1038 from luukvbaal/unicodearrows
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

3 years agoUnicode arrows for O_ICONS/NERD
Luuk van Baal [Mon, 31 May 2021 16:41:05 +0000 (18:41 +0200)]
Unicode arrows for O_ICONS/NERD

3 years agoUpdate docs
Arun Prakash Jana [Mon, 31 May 2021 12:11:38 +0000 (17:41 +0530)]
Update docs

3 years agoMerge pull request #1036 from luukvbaal/preview-tui
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

3 years agoFix preview-tui jpeg mime
Luuk van Baal [Mon, 31 May 2021 09:43:51 +0000 (11:43 +0200)]
Fix preview-tui jpeg mime

3 years agoFix #1034: do not auto-generate packages for SuSE
Arun Prakash Jana [Sun, 30 May 2021 23:21:19 +0000 (04:51 +0530)]
Fix #1034: do not auto-generate packages for SuSE

3 years agoMerge pull request #1035 from luukvbaal/manhome
Piña Colada [Sun, 30 May 2021 23:07:41 +0000 (04:37 +0530)]
Merge pull request #1035 from luukvbaal/manhome

Update man page

3 years agoUpdate man page
Luuk van Baal [Sun, 30 May 2021 23:04:07 +0000 (01:04 +0200)]
Update man page

3 years agoMerge pull request #1033 from luukvbaal/preview-tui
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

3 years agoPreview-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

3 years agoMerge pull request #1032 from luukvbaal/imgplugins
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

3 years agoAdd ucollage to imgview
Luuk van Baal [Sun, 30 May 2021 19:33:48 +0000 (21:33 +0200)]
Add ucollage to imgview

3 years agoMerge pull request #1031 from luukvbaal/imgplugins
Piña Colada [Sun, 30 May 2021 19:24:57 +0000 (00:54 +0530)]
Merge pull request #1031 from luukvbaal/imgplugins

Merge image plugins

3 years agoMerge image plugins
Luuk van Baal [Sun, 30 May 2021 18:11:54 +0000 (20:11 +0200)]
Merge image plugins

3 years agoUpdate documentation
Arun Prakash Jana [Sun, 30 May 2021 17:59:10 +0000 (23:29 +0530)]
Update documentation

3 years agoClear the selection for uniform behaviour
Arun Prakash Jana [Sat, 29 May 2021 10:36:42 +0000 (16:06 +0530)]
Clear the selection for uniform behaviour

3 years agoGet rid of getchar()
Arun Prakash Jana [Sat, 29 May 2021 09:28:55 +0000 (14:58 +0530)]
Get rid of getchar()

3 years agoAlt+Esc to quit context from filter prompt
Arun Prakash Jana [Sat, 29 May 2021 07:45:05 +0000 (13:15 +0530)]
Alt+Esc to quit context from filter prompt

3 years agoRemove ntfw-specific code
Arun Prakash Jana [Sat, 29 May 2021 07:06:37 +0000 (12:36 +0530)]
Remove ntfw-specific code

3 years agoDecouple variable documentation section
Arun Prakash Jana [Sat, 29 May 2021 04:45:21 +0000 (10:15 +0530)]
Decouple variable documentation section

3 years agoFix condition
Arun Prakash Jana [Fri, 28 May 2021 22:10:00 +0000 (03:40 +0530)]
Fix condition

3 years agoRename plugin fzdirs to fzcd, retains fzcd features
Arun Prakash Jana [Fri, 28 May 2021 19:03:50 +0000 (00:33 +0530)]
Rename plugin fzdirs to fzcd, retains fzcd features

3 years agofzdirs - check if the first entry in path-list exists
Arun Prakash Jana [Fri, 28 May 2021 18:16:00 +0000 (23:46 +0530)]
fzdirs - check if the first entry in path-list exists

3 years agoRestore hovered file name on select and run plugin
Arun Prakash Jana [Fri, 28 May 2021 18:01:20 +0000 (23:31 +0530)]
Restore hovered file name on select and run plugin

3 years agofzdirs: support default list, default to $PWD
Arun Prakash Jana [Fri, 28 May 2021 17:54:06 +0000 (23:24 +0530)]
fzdirs: support default list, default to $PWD

3 years agoPlugin fzdirs: fuzzy search multiple directories
Arun Prakash Jana [Fri, 28 May 2021 13:34:14 +0000 (19:04 +0530)]
Plugin fzdirs: fuzzy search multiple directories

3 years agoShow number of files selected in local buffer, if any
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.

3 years agoplugin cleanfilename -> fixname, unmount-parent -> umounttree
Arun Prakash Jana [Thu, 27 May 2021 13:45:21 +0000 (19:15 +0530)]
plugin cleanfilename -> fixname, unmount-parent -> umounttree

3 years agoAttempt to create a new context with Shift-TAB, else reverse cycle
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

3 years agoMerge pull request #1028 from luukvbaal/makefile
Piña Colada [Wed, 26 May 2021 19:34:56 +0000 (01:04 +0530)]
Merge pull request #1028 from luukvbaal/makefile

Update haiku Makefile

3 years agoUpdate haiku Makefile
Luuk van Baal [Wed, 26 May 2021 18:54:00 +0000 (20:54 +0200)]
Update haiku Makefile

3 years agoUpdate musl compilation script
Arun Prakash Jana [Wed, 26 May 2021 18:18:22 +0000 (23:48 +0530)]
Update musl compilation script

3 years agoIgnore NOLC when ICONS/NERD are set (#1027)
luukvbaal [Wed, 26 May 2021 18:17:38 +0000 (20:17 +0200)]
Ignore NOLC when ICONS/NERD are set (#1027)

3 years agoMulti-threaded FTS-based disk usage calculation
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

3 years agoFix du calculation
Arun Prakash Jana [Tue, 25 May 2021 21:46:01 +0000 (03:16 +0530)]
Fix du calculation

3 years agoMake option O_NOLOC renamed to O_NOLC
Arun Prakash Jana [Mon, 24 May 2021 17:08:08 +0000 (22:38 +0530)]
Make option O_NOLOC renamed to O_NOLC

3 years agoDynamic view update in disk usage mode
Arun Prakash Jana [Sun, 23 May 2021 21:26:12 +0000 (02:56 +0530)]
Dynamic view update in disk usage mode