]>
Sergey Matveev's repositories - nnn.git/log
Arun Prakash Jana [Wed, 5 Aug 2020 19:36:21 +0000 (01:06 +0530)]
File colors is independent of context colors
Arun Prakash Jana [Wed, 5 Aug 2020 18:57:12 +0000 (00:27 +0530)]
Initialize file type colors as default
Arun Prakash Jana [Wed, 5 Aug 2020 15:06:50 +0000 (20:36 +0530)]
Utility functions to top, API to get file extn
Arun Prakash Jana [Wed, 5 Aug 2020 14:35:27 +0000 (20:05 +0530)]
Show locaiton in context color
Arun Prakash Jana [Wed, 5 Aug 2020 11:05:45 +0000 (16:35 +0530)]
Show file details in file missing colors
Arun Prakash Jana [Wed, 5 Aug 2020 07:42:11 +0000 (13:12 +0530)]
Set dir to bold only if required
Arun Prakash Jana [Wed, 5 Aug 2020 07:29:54 +0000 (12:59 +0530)]
Code reformat
Arun Prakash Jana [Tue, 4 Aug 2020 18:41:56 +0000 (00:11 +0530)]
Show dirs in bold
Arun Prakash Jana [Tue, 4 Aug 2020 16:55:17 +0000 (22:25 +0530)]
Fix build break
Arun Prakash Jana [Tue, 4 Aug 2020 16:49:01 +0000 (22:19 +0530)]
Update docs
Arun Prakash Jana [Tue, 4 Aug 2020 15:32:19 +0000 (21:02 +0530)]
Support file colors in detail mode
Arun Prakash Jana [Tue, 4 Aug 2020 15:06:19 +0000 (20:36 +0530)]
Program option to use older
Arun Prakash Jana [Tue, 4 Aug 2020 13:52:29 +0000 (19:22 +0530)]
Support file colors
Arun Prakash Jana [Mon, 3 Aug 2020 19:12:58 +0000 (00:42 +0530)]
Detect odd hex symbols in NNN_COLORS
Arun Prakash Jana [Mon, 3 Aug 2020 17:38:28 +0000 (23:08 +0530)]
Identify orphaned symlinks
Arun Prakash Jana [Mon, 3 Aug 2020 16:55:42 +0000 (22:25 +0530)]
Use wrapper API
Arun Prakash Jana [Mon, 3 Aug 2020 09:27:00 +0000 (14:57 +0530)]
Fix #691
Arun Prakash Jana [Sun, 2 Aug 2020 18:28:52 +0000 (23:58 +0530)]
Minor reformat
Arun Prakash Jana [Sun, 2 Aug 2020 17:48:13 +0000 (23:18 +0530)]
Revert "Reduce processing if NNN_COLORS is unset"
This reverts commit
b948423a80759becf7c1ca2c9831960b5b43c5f8 .
Arun Prakash Jana [Sun, 2 Aug 2020 17:45:48 +0000 (23:15 +0530)]
Reduce processing if NNN_COLORS is unset
Arun Prakash Jana [Sun, 2 Aug 2020 13:43:18 +0000 (19:13 +0530)]
Clear selection list after copy
Without this, there is a conflict with using the `-u` option (use selection).
After copying selected files, the selection is intact and if the user issues
a deletion next, the source files (meant for copying) are deleted.
Arun Prakash Jana [Sun, 2 Aug 2020 11:33:35 +0000 (17:03 +0530)]
Fix illegal access
Arun Prakash Jana [Sun, 2 Aug 2020 10:48:35 +0000 (16:18 +0530)]
Support xterm 256 color
Arun Prakash Jana [Sat, 1 Aug 2020 19:24:07 +0000 (00:54 +0530)]
Avoid redundant printw() call for order
Arun Prakash Jana [Sat, 1 Aug 2020 19:10:51 +0000 (00:40 +0530)]
Show selection in reverse in status bar
Arun Prakash Jana [Sat, 1 Aug 2020 17:50:55 +0000 (23:20 +0530)]
Fix build break
Martin Roa Villescas [Sat, 1 Aug 2020 16:35:13 +0000 (18:35 +0200)]
Write last dir on quit in vim picker mode
Arun Prakash Jana [Wed, 22 Jul 2020 14:49:38 +0000 (20:19 +0530)]
Code reduction
Arun Prakash Jana [Wed, 22 Jul 2020 11:35:03 +0000 (17:05 +0530)]
Create mountpoint by hostname, clear prompt
Arun Prakash Jana [Wed, 22 Jul 2020 11:30:45 +0000 (17:00 +0530)]
Fix #684: support path appended to hostname
Arun Prakash Jana [Tue, 21 Jul 2020 17:00:12 +0000 (22:30 +0530)]
Fix #685: indicator H fo hidden
Arun Prakash Jana [Tue, 21 Jul 2020 12:49:22 +0000 (18:19 +0530)]
Pro-deletion jokers from Wikipedia can go to hell!
There's a specific problem with control in the hands of random jokers - it's abused.
Ref: https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Nnn_(file_manager)
Jan Meischner [Tue, 21 Jul 2020 07:57:56 +0000 (09:57 +0200)]
Allow absolute paths returned by fzf in fzcd plugin (#682)
* Allow absolute paths returned by fzf in fzcd plugin
* Fix issue with POSIX syntax
* Add descriptive comment
* Add comment
* Remove description
* Add new line at the end of the file
Co-authored-by: Jan Meischner <jan.meischner@verimi.com>
Jason [Tue, 14 Jul 2020 23:19:13 +0000 (08:19 +0900)]
Fix typo (#679)
Arun Prakash Jana [Tue, 14 Jul 2020 00:14:41 +0000 (05:44 +0530)]
Prepare for release v3.3
Arun Prakash Jana [Sun, 12 Jul 2020 18:50:12 +0000 (00:20 +0530)]
Update help
Arun Prakash Jana [Sun, 12 Jul 2020 18:30:34 +0000 (00:00 +0530)]
Alt+Esc to exit nav-to-type and redraw
Arun Prakash Jana [Thu, 9 Jul 2020 15:00:30 +0000 (20:30 +0530)]
Add a note that Esc cancels
Arun Prakash Jana [Thu, 9 Jul 2020 14:55:39 +0000 (20:25 +0530)]
Fix #675
lvgx [Wed, 8 Jul 2020 15:23:35 +0000 (17:23 +0200)]
Update preview-tui (#674)
Co-authored-by: akimdi <akimdi@users.noreply.github.com>
Arun Prakash Jana [Tue, 7 Jul 2020 02:27:43 +0000 (07:57 +0530)]
Use the term mark instead of pin
Arun Prakash Jana [Tue, 7 Jul 2020 01:59:38 +0000 (07:29 +0530)]
Pin dir when visitng target file in find and list
Arun Prakash Jana [Mon, 6 Jul 2020 18:13:36 +0000 (23:43 +0530)]
Add quick find (fd) and grep (rg) plugin examples
Arun Prakash Jana [Sat, 4 Jul 2020 17:31:36 +0000 (23:01 +0530)]
Remove snprintf() from start-up path
Arun Prakash Jana [Sun, 28 Jun 2020 15:03:54 +0000 (20:33 +0530)]
Revert "Simplify check"
This reverts commit
37e5e6189a10ce0da8df4dbdb64398cf7a02c0bd .
Arun Prakash Jana [Sat, 27 Jun 2020 19:22:24 +0000 (00:52 +0530)]
Copy the correct length
Arun Prakash Jana [Sat, 27 Jun 2020 18:39:48 +0000 (00:09 +0530)]
Minor refactor
Arun Prakash Jana [Sat, 27 Jun 2020 18:18:23 +0000 (23:48 +0530)]
Fix build break
KlzXS [Sat, 27 Jun 2020 17:46:17 +0000 (17:46 +0000)]
Add relative paths support for cp/mv as (#668)
Arun Prakash Jana [Sat, 27 Jun 2020 17:44:14 +0000 (23:14 +0530)]
Fix build break
Arun Prakash Jana [Sat, 27 Jun 2020 16:52:20 +0000 (22:22 +0530)]
Pin current path on archive/remote mount
Arun Prakash Jana [Sat, 27 Jun 2020 15:38:55 +0000 (21:08 +0530)]
Update docs
Arun Prakash Jana [Thu, 25 Jun 2020 14:29:47 +0000 (19:59 +0530)]
Simplify check
Sijmen J. Mulder [Tue, 23 Jun 2020 23:05:42 +0000 (01:05 +0200)]
Fix check when char is unsigned (#665)
If char is unsigned (as on ARM) subtracting a larger number would
result in a wrap around, not a negative value.
src/nnn.c: In function 'readpipe':
src/nnn.c:4325:11: warning: comparison is always false due to limited
range of data type [-Wtype-limits]
if (ctx < 0 || ctx > CTX_MAX)
^
Sijmen J. Mulder [Tue, 23 Jun 2020 22:47:05 +0000 (00:47 +0200)]
Always use builtin alloca() (#666)
Fixes the build on NetBSD 9 on arm64.
GCC expands alloca() to __builtin_alloca() but only in nonstandard mode,
e.g. when -std=... is not supplied. In standards mode (with -std=...)
alloca() is left undefined by GCC. The C library may define it but it
also may not, as on NetBSD on arm64:
$ uname -srp
NetBSD 9.0 aarch64
$ cat alloca.c
#include <stdlib.h>
int main() { char *p = alloca(10); }
$ gcc alloca.c
$ gcc -std=c99 alloca.c
alloca.c:(.text+0xc): warning: Warning: reference to the libc
supplied alloca(3); this most likely will not work. Please use the
compiler provided version of alloca(3), by supplying the
appropriate compiler flags (e.g. not -std=c89).
ld: alloca.c:(.text+0xc): undefined reference to `alloca'
The fix is to either not use standards mode (undesirable) or to
explicitly use the builtin, which is what this patch does.
This is also sufficient for Solarius/Illumos so that check and include
are removed.
Arun Prakash Jana [Mon, 22 Jun 2020 03:47:59 +0000 (09:17 +0530)]
Add -Wshadow to CFLAGS and fixes
KlzXS [Sat, 20 Jun 2020 13:39:32 +0000 (13:39 +0000)]
Add plugin bulknew (#662)
* Add plugin bulknew
* Update documentation
* Update dependencies
* Add whitespace note
Arun Prakash Jana [Fri, 19 Jun 2020 02:01:54 +0000 (07:31 +0530)]
Update contributing guideline
lvgx [Fri, 19 Jun 2020 01:40:37 +0000 (03:40 +0200)]
Avoid SIGWINCH interruptions of NNN_PIPE IO (#659)
Fixes #656
Mario [Thu, 18 Jun 2020 03:36:27 +0000 (05:36 +0200)]
Initial CONTRIBUTING.md (#655)
Arun Prakash Jana [Tue, 16 Jun 2020 13:39:09 +0000 (19:09 +0530)]
Update docs
akimdi [Tue, 16 Jun 2020 13:38:46 +0000 (16:38 +0300)]
added support webp format (#652)
* added support webp format
* update nuke plugin with support webp format
Arun Prakash Jana [Mon, 15 Jun 2020 14:24:44 +0000 (19:54 +0530)]
Option -u to disable current/selection prompt
Arun Prakash Jana [Mon, 15 Jun 2020 13:35:44 +0000 (19:05 +0530)]
Clear selection after some operations (see notes)
Selection is cleared after successful:
- file removal
- batch rename
- link creation
However, selection is not cleared after:
- archive creation: user may want to delete the files after archiving
Arun Prakash Jana [Sun, 14 Jun 2020 05:45:41 +0000 (11:15 +0530)]
Update docs
Arun Prakash Jana [Sun, 14 Jun 2020 04:26:34 +0000 (09:56 +0530)]
Show '+' in statusbar instead of 's' for selection
Arun Prakash Jana [Sat, 13 Jun 2020 19:01:48 +0000 (00:31 +0530)]
Refactor key-val pair parsing
Arun Prakash Jana [Sat, 13 Jun 2020 18:30:39 +0000 (00:00 +0530)]
Make once-used function inline
Arun Prakash Jana [Fri, 12 Jun 2020 11:29:57 +0000 (16:59 +0530)]
Update docs
Mario [Thu, 11 Jun 2020 13:15:54 +0000 (15:15 +0200)]
Sane tree defaults and viu support (#649)
Ian R [Thu, 11 Jun 2020 05:46:40 +0000 (05:46 +0000)]
Feature #534: Support hardware cursor sync
Arun Prakash Jana [Thu, 11 Jun 2020 05:41:35 +0000 (11:11 +0530)]
Update docs
Arun Prakash Jana [Wed, 10 Jun 2020 20:19:40 +0000 (01:49 +0530)]
support imv in imgview and nuke
Arun Prakash Jana [Wed, 10 Jun 2020 18:02:03 +0000 (23:32 +0530)]
Use Firefox Send for upload if ffsend is found
Arun Prakash Jana [Wed, 10 Jun 2020 17:03:59 +0000 (22:33 +0530)]
Add hx as alternative hex viewer
Doron Behar [Wed, 10 Jun 2020 07:50:38 +0000 (10:50 +0300)]
preview-tui: make scope & pistol run before `file` (#647)
Both Pistol and `scope.sh` are run `file --mimetype` or an equivalent, internally.
Thus, for speed, it's better to run them before almost anything else.
Mario [Wed, 10 Jun 2020 00:41:57 +0000 (02:41 +0200)]
Pistol support (#646)
Mario [Wed, 10 Jun 2020 00:26:15 +0000 (02:26 +0200)]
Kitty splits (#643)
* Easier to browse plugin README.md
* Splits are inverted
* trying to fix kitty splits
* Correctly restores the kitty layout
* More clear comments
Mario [Tue, 9 Jun 2020 23:58:35 +0000 (01:58 +0200)]
Fixes environmental variables not being passed on preview-tui (#644)
Arun Prakash Jana [Tue, 9 Jun 2020 18:13:49 +0000 (23:43 +0530)]
Selection mode don't need to be persistent
Arun Prakash Jana [Tue, 9 Jun 2020 18:03:32 +0000 (23:33 +0530)]
Plugin run flags don't need to be persistent
Arun Prakash Jana [Tue, 9 Jun 2020 17:33:36 +0000 (23:03 +0530)]
Picker mode doesn't need to be persistent
Arun Prakash Jana [Tue, 9 Jun 2020 16:56:35 +0000 (22:26 +0530)]
Retain order on session load
Mario [Tue, 9 Jun 2020 14:57:28 +0000 (16:57 +0200)]
preview-tui splits are inverted (#642)
* Easier to browse plugin README.md
* Splits are inverted
* $SPLIT clarification and default values for $SPLIT and $TERMINAL
Mario [Tue, 9 Jun 2020 13:59:28 +0000 (15:59 +0200)]
Easier to browse plugin README.md (#641)
Arun Prakash Jana [Tue, 9 Jun 2020 05:14:09 +0000 (10:44 +0530)]
Update docs
Mario [Tue, 9 Jun 2020 01:09:35 +0000 (03:09 +0200)]
Unified preview-tui and preview-kitty scripts (#634)
* Unified preview-tui and preview-kitty
* Remove preview-kitty
* No need to set $TERMINAL
* fix undeclared variable
* Integrated support for scope.sh
* Review fixes
* allow_remote_control must be enabled on kitty
* Documentation, kitty splits and images fallback
* fix restoring kitty layout
Arun Prakash Jana [Mon, 8 Jun 2020 16:26:33 +0000 (21:56 +0530)]
Simplify subdir creation
Arun Prakash Jana [Mon, 8 Jun 2020 04:14:53 +0000 (09:44 +0530)]
Derive session and mount paths, shorten paths
Arun Prakash Jana [Mon, 8 Jun 2020 03:18:20 +0000 (08:48 +0530)]
Subdir 'mounts' for remote/archive mounts
Arun Prakash Jana [Sat, 6 Jun 2020 19:04:46 +0000 (00:34 +0530)]
Fix #639: store NNNLVL in tmp var
lvgx [Sat, 6 Jun 2020 15:17:41 +0000 (17:17 +0200)]
preview-kitty: fix crash on first file on dash (#636)
In the dash shell, when `exec < fifo` is interrupted by SIGCHLD, it exits.
So we replace it with `cat fifo |`.
Issue discussed in #614
Arun Prakash Jana [Sat, 6 Jun 2020 10:51:43 +0000 (16:21 +0530)]
Fix #637: remove mount dir after unmount
ncoder-1 [Sat, 6 Jun 2020 03:17:40 +0000 (03:17 +0000)]
Update preview-kitty (#638)
Fixed typo in preview-kitty.
Arun Prakash Jana [Thu, 4 Jun 2020 14:52:35 +0000 (20:22 +0530)]
Update docs
KlzXS [Thu, 4 Jun 2020 14:51:50 +0000 (14:51 +0000)]
Added selection prompt and README entry (#633)
Arun Prakash Jana [Thu, 4 Jun 2020 04:03:48 +0000 (09:33 +0530)]
Add Live Previews asciicast
Thanks @Kabouik!
lvgx [Thu, 4 Jun 2020 02:53:04 +0000 (04:53 +0200)]
preview-tui: wait killed previewers (#632)
KlzXS [Thu, 4 Jun 2020 02:47:09 +0000 (02:47 +0000)]
Added GPG encrypt and decrypt plugins (#630)
* Added GPG encrypt and decrypt plugins
* Made description more descriptive
Arun Prakash Jana [Wed, 3 Jun 2020 22:11:42 +0000 (03:41 +0530)]
Fix tmux version check