]> Sergey Matveev's repositories - nnn.git/log
nnn.git
3 years agoPrepare for release v3.4 v3.4
Arun Prakash Jana [Tue, 18 Aug 2020 09:41:38 +0000 (15:11 +0530)]
Prepare for release v3.4

3 years agoFix #704
Arun Prakash Jana [Tue, 18 Aug 2020 07:45:21 +0000 (13:15 +0530)]
Fix #704

3 years agoUpdate docs
Arun Prakash Jana [Tue, 18 Aug 2020 04:59:38 +0000 (10:29 +0530)]
Update docs

3 years agoMinor refactor
Arun Prakash Jana [Mon, 17 Aug 2020 15:27:15 +0000 (20:57 +0530)]
Minor refactor

3 years agoIcons and colors
Arun Prakash Jana [Mon, 17 Aug 2020 12:41:18 +0000 (18:11 +0530)]
Icons and colors

3 years agoUpdate docs
Arun Prakash Jana [Mon, 17 Aug 2020 08:35:15 +0000 (14:05 +0530)]
Update docs

3 years agoMore icons
Arun Prakash Jana [Sun, 16 Aug 2020 21:25:21 +0000 (02:55 +0530)]
More icons

3 years agoMore icons
Arun Prakash Jana [Sun, 16 Aug 2020 12:40:26 +0000 (18:10 +0530)]
More icons

3 years agoMore icon extns, reserve number entries
Arun Prakash Jana [Sun, 16 Aug 2020 11:21:55 +0000 (16:51 +0530)]
More icon extns, reserve number entries

3 years agoSupport icon-specific colors
Arun Prakash Jana [Sun, 16 Aug 2020 08:19:09 +0000 (13:49 +0530)]
Support icon-specific colors

3 years agoMinor reformat
Arun Prakash Jana [Sun, 16 Aug 2020 01:24:47 +0000 (06:54 +0530)]
Minor reformat

3 years agoIcons (#697)
KlzXS [Sun, 16 Aug 2020 01:00:58 +0000 (01:00 +0000)]
Icons (#697)

* Add icons

* Fix build break

* Fix icon position in detailed mode

* Various fixes

* Provision for icon specific colors

No icons with oldcolor. Small optimizatons

* Update Makefiles

Small refinement for other matching

3 years agoUpdate docs
Arun Prakash Jana [Sat, 15 Aug 2020 16:04:23 +0000 (21:34 +0530)]
Update docs

3 years agoMore appropriate enum name
Arun Prakash Jana [Sat, 15 Aug 2020 14:51:22 +0000 (20:21 +0530)]
More appropriate enum name

3 years agoForce accurate regex match
Arun Prakash Jana [Sat, 15 Aug 2020 12:02:06 +0000 (17:32 +0530)]
Force accurate regex match

3 years agoAdding support for `most` pager (#698)
Anarchiste [Sat, 15 Aug 2020 02:03:16 +0000 (04:03 +0200)]
Adding support for `most` pager (#698)

* Added support of most

* Only test if bat exists

* Faster this way

* Don't test for bat'

3 years agoSimplify and preprocess archive handling
Arun Prakash Jana [Fri, 14 Aug 2020 02:50:01 +0000 (08:20 +0530)]
Simplify and preprocess archive handling

3 years agoInitialize all make options
Arun Prakash Jana [Thu, 13 Aug 2020 18:32:54 +0000 (00:02 +0530)]
Initialize all make options

3 years agoMerge pull request #696 from ucs1/revert-escdelay
Jana [Wed, 12 Aug 2020 13:32:57 +0000 (19:02 +0530)]
Merge pull request #696 from ucs1/revert-escdelay

Fix arrow keys not working on mintty

3 years agoRevert "Set Escape delay to 0"
ucs [Wed, 12 Aug 2020 09:55:15 +0000 (11:55 +0200)]
Revert "Set Escape delay to 0"

An ESCDELAY of 0 can break long escape sequences, such as the arrow keys,
on slower terminals.

This reverts commit 2599564e6480384b0872174f685c0128276062ca.

3 years agoMerge pull request #693 from CodeforEvolution/haikuUpdate
Jana [Tue, 11 Aug 2020 16:50:01 +0000 (22:20 +0530)]
Merge pull request #693 from CodeforEvolution/haikuUpdate

Haiku: General fixup, add icon, add rdef file

3 years agoMerge pull request #694 from ucs1/fix-readdir
Jana [Tue, 11 Aug 2020 16:48:25 +0000 (22:18 +0530)]
Merge pull request #694 from ucs1/fix-readdir

Fix inability to enter directories on an XFS filesystem on top of an md device

3 years agoFix some directories not opening
ucs [Mon, 10 Aug 2020 11:02:47 +0000 (13:02 +0200)]
Fix some directories not opening

3 years agoHaiku: General fixup, add icon, add rdef file
CodeforEvolution [Sun, 9 Aug 2020 21:44:11 +0000 (16:44 -0500)]
Haiku: General fixup, add icon, add rdef file

- Add a native vector icon for Haiku (it hasn't been Haiku-ified yet however)
- Add a rdef file (specifies application metadata)
- Add clipboard support, notififcation support, and basic nuke support
- Fix support for fortunes on Haiku ("-s" option is not available on Haiku)
- Cleanup Haiku recipe

3 years agoUpdate docs
Arun Prakash Jana [Sun, 9 Aug 2020 21:49:31 +0000 (03:19 +0530)]
Update docs

3 years agoReduce a check
Arun Prakash Jana [Sun, 9 Aug 2020 08:34:27 +0000 (14:04 +0530)]
Reduce a check

3 years agoSupport traversal on creation, update docs
Arun Prakash Jana [Sat, 8 Aug 2020 04:46:11 +0000 (10:16 +0530)]
Support traversal on creation, update docs

3 years agoRevert "Move helper APIs to header file"
Arun Prakash Jana [Fri, 7 Aug 2020 17:46:17 +0000 (23:16 +0530)]
Revert "Move helper APIs to header file"

This reverts commit 1fecdb2393c31283267c01dd4f48d9ff6df17474.

3 years agoMove helper APIs to header file
Arun Prakash Jana [Fri, 7 Aug 2020 17:40:25 +0000 (23:10 +0530)]
Move helper APIs to header file

3 years agoUpdate docs
Arun Prakash Jana [Thu, 6 Aug 2020 03:26:33 +0000 (08:56 +0530)]
Update docs

3 years agoFix #692 (partially)
Arun Prakash Jana [Wed, 5 Aug 2020 20:00:56 +0000 (01:30 +0530)]
Fix #692 (partially)

3 years agoFile colors is independent of context colors
Arun Prakash Jana [Wed, 5 Aug 2020 19:36:21 +0000 (01:06 +0530)]
File colors is independent of context colors

3 years agoInitialize file type colors as default
Arun Prakash Jana [Wed, 5 Aug 2020 18:57:12 +0000 (00:27 +0530)]
Initialize file type colors as default

3 years agoUtility functions to top, API to get file extn
Arun Prakash Jana [Wed, 5 Aug 2020 15:06:50 +0000 (20:36 +0530)]
Utility functions to top, API to get file extn

3 years agoShow locaiton in context color
Arun Prakash Jana [Wed, 5 Aug 2020 14:35:27 +0000 (20:05 +0530)]
Show locaiton in context color

3 years agoShow file details in file missing colors
Arun Prakash Jana [Wed, 5 Aug 2020 11:05:45 +0000 (16:35 +0530)]
Show file details in file missing colors

3 years agoSet dir to bold only if required
Arun Prakash Jana [Wed, 5 Aug 2020 07:42:11 +0000 (13:12 +0530)]
Set dir to bold only if required

3 years agoCode reformat
Arun Prakash Jana [Wed, 5 Aug 2020 07:29:54 +0000 (12:59 +0530)]
Code reformat

3 years agoShow dirs in bold
Arun Prakash Jana [Tue, 4 Aug 2020 18:41:56 +0000 (00:11 +0530)]
Show dirs in bold

3 years agoFix build break
Arun Prakash Jana [Tue, 4 Aug 2020 16:55:17 +0000 (22:25 +0530)]
Fix build break

3 years agoUpdate docs
Arun Prakash Jana [Tue, 4 Aug 2020 16:49:01 +0000 (22:19 +0530)]
Update docs

3 years agoSupport file colors in detail mode
Arun Prakash Jana [Tue, 4 Aug 2020 15:32:19 +0000 (21:02 +0530)]
Support file colors in detail mode

3 years agoProgram option to use older
Arun Prakash Jana [Tue, 4 Aug 2020 15:06:19 +0000 (20:36 +0530)]
Program option to use older

3 years agoSupport file colors
Arun Prakash Jana [Tue, 4 Aug 2020 13:52:29 +0000 (19:22 +0530)]
Support file colors

3 years agoDetect odd hex symbols in NNN_COLORS
Arun Prakash Jana [Mon, 3 Aug 2020 19:12:58 +0000 (00:42 +0530)]
Detect odd hex symbols in NNN_COLORS

3 years agoIdentify orphaned symlinks
Arun Prakash Jana [Mon, 3 Aug 2020 17:38:28 +0000 (23:08 +0530)]
Identify orphaned symlinks

3 years agoUse wrapper API
Arun Prakash Jana [Mon, 3 Aug 2020 16:55:42 +0000 (22:25 +0530)]
Use wrapper API

3 years agoFix #691
Arun Prakash Jana [Mon, 3 Aug 2020 09:27:00 +0000 (14:57 +0530)]
Fix #691

3 years agoMinor reformat
Arun Prakash Jana [Sun, 2 Aug 2020 18:28:52 +0000 (23:58 +0530)]
Minor reformat

3 years agoRevert "Reduce processing if NNN_COLORS is unset"
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.

3 years agoReduce processing if NNN_COLORS is unset
Arun Prakash Jana [Sun, 2 Aug 2020 17:45:48 +0000 (23:15 +0530)]
Reduce processing if NNN_COLORS is unset

3 years agoClear selection list after copy
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.

3 years agoFix illegal access
Arun Prakash Jana [Sun, 2 Aug 2020 11:33:35 +0000 (17:03 +0530)]
Fix illegal access

3 years agoSupport xterm 256 color
Arun Prakash Jana [Sun, 2 Aug 2020 10:48:35 +0000 (16:18 +0530)]
Support xterm 256 color

3 years agoAvoid redundant printw() call for order
Arun Prakash Jana [Sat, 1 Aug 2020 19:24:07 +0000 (00:54 +0530)]
Avoid redundant printw() call for order

3 years agoShow selection in reverse in status bar
Arun Prakash Jana [Sat, 1 Aug 2020 19:10:51 +0000 (00:40 +0530)]
Show selection in reverse in status bar

3 years agoFix build break
Arun Prakash Jana [Sat, 1 Aug 2020 17:50:55 +0000 (23:20 +0530)]
Fix build break

3 years agoWrite last dir on quit in vim picker mode
Martin Roa Villescas [Sat, 1 Aug 2020 16:35:13 +0000 (18:35 +0200)]
Write last dir on quit in vim picker mode

3 years agoCode reduction
Arun Prakash Jana [Wed, 22 Jul 2020 14:49:38 +0000 (20:19 +0530)]
Code reduction

3 years agoCreate mountpoint by hostname, clear prompt
Arun Prakash Jana [Wed, 22 Jul 2020 11:35:03 +0000 (17:05 +0530)]
Create mountpoint by hostname, clear prompt

3 years agoFix #684: support path appended to hostname
Arun Prakash Jana [Wed, 22 Jul 2020 11:30:45 +0000 (17:00 +0530)]
Fix #684: support path appended to hostname

3 years agoFix #685: indicator H fo hidden
Arun Prakash Jana [Tue, 21 Jul 2020 17:00:12 +0000 (22:30 +0530)]
Fix #685: indicator H fo hidden

3 years agoPro-deletion jokers from Wikipedia can go to hell!
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)

3 years agoAllow absolute paths returned by fzf in fzcd plugin (#682)
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>
3 years agoFix typo (#679)
Jason [Tue, 14 Jul 2020 23:19:13 +0000 (08:19 +0900)]
Fix typo (#679)

3 years agoPrepare for release v3.3 v3.3
Arun Prakash Jana [Tue, 14 Jul 2020 00:14:41 +0000 (05:44 +0530)]
Prepare for release v3.3

3 years agoUpdate help
Arun Prakash Jana [Sun, 12 Jul 2020 18:50:12 +0000 (00:20 +0530)]
Update help

3 years agoAlt+Esc to exit nav-to-type and redraw
Arun Prakash Jana [Sun, 12 Jul 2020 18:30:34 +0000 (00:00 +0530)]
Alt+Esc to exit nav-to-type and redraw

3 years agoAdd a note that Esc cancels
Arun Prakash Jana [Thu, 9 Jul 2020 15:00:30 +0000 (20:30 +0530)]
Add a note that Esc cancels

3 years agoFix #675
Arun Prakash Jana [Thu, 9 Jul 2020 14:55:39 +0000 (20:25 +0530)]
Fix #675

3 years agoUpdate preview-tui (#674)
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>
3 years agoUse the term mark instead of pin
Arun Prakash Jana [Tue, 7 Jul 2020 02:27:43 +0000 (07:57 +0530)]
Use the term mark instead of pin

3 years agoPin dir when visitng target file in find and list
Arun Prakash Jana [Tue, 7 Jul 2020 01:59:38 +0000 (07:29 +0530)]
Pin dir when visitng target file in find and list

3 years agoAdd quick find (fd) and grep (rg) plugin examples
Arun Prakash Jana [Mon, 6 Jul 2020 18:13:36 +0000 (23:43 +0530)]
Add quick find (fd) and grep (rg) plugin examples

3 years agoRemove snprintf() from start-up path
Arun Prakash Jana [Sat, 4 Jul 2020 17:31:36 +0000 (23:01 +0530)]
Remove snprintf() from start-up path

3 years agoRevert "Simplify check"
Arun Prakash Jana [Sun, 28 Jun 2020 15:03:54 +0000 (20:33 +0530)]
Revert "Simplify check"

This reverts commit 37e5e6189a10ce0da8df4dbdb64398cf7a02c0bd.

3 years agoCopy the correct length
Arun Prakash Jana [Sat, 27 Jun 2020 19:22:24 +0000 (00:52 +0530)]
Copy the correct length

3 years agoMinor refactor
Arun Prakash Jana [Sat, 27 Jun 2020 18:39:48 +0000 (00:09 +0530)]
Minor refactor

3 years agoFix build break
Arun Prakash Jana [Sat, 27 Jun 2020 18:18:23 +0000 (23:48 +0530)]
Fix build break

3 years agoAdd relative paths support for cp/mv as (#668)
KlzXS [Sat, 27 Jun 2020 17:46:17 +0000 (17:46 +0000)]
Add relative paths support for cp/mv as (#668)

3 years agoFix build break
Arun Prakash Jana [Sat, 27 Jun 2020 17:44:14 +0000 (23:14 +0530)]
Fix build break

3 years agoPin current path on archive/remote mount
Arun Prakash Jana [Sat, 27 Jun 2020 16:52:20 +0000 (22:22 +0530)]
Pin current path on archive/remote mount

3 years agoUpdate docs
Arun Prakash Jana [Sat, 27 Jun 2020 15:38:55 +0000 (21:08 +0530)]
Update docs

3 years agoSimplify check
Arun Prakash Jana [Thu, 25 Jun 2020 14:29:47 +0000 (19:59 +0530)]
Simplify check

3 years agoFix check when char is unsigned (#665)
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)
             ^

3 years agoAlways use builtin alloca() (#666)
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.

3 years agoAdd -Wshadow to CFLAGS and fixes
Arun Prakash Jana [Mon, 22 Jun 2020 03:47:59 +0000 (09:17 +0530)]
Add -Wshadow to CFLAGS and fixes

3 years agoAdd plugin bulknew (#662)
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

3 years agoUpdate contributing guideline
Arun Prakash Jana [Fri, 19 Jun 2020 02:01:54 +0000 (07:31 +0530)]
Update contributing guideline

3 years agoAvoid SIGWINCH interruptions of NNN_PIPE IO (#659)
lvgx [Fri, 19 Jun 2020 01:40:37 +0000 (03:40 +0200)]
Avoid SIGWINCH interruptions of NNN_PIPE IO (#659)

Fixes #656

3 years agoInitial CONTRIBUTING.md (#655)
Mario [Thu, 18 Jun 2020 03:36:27 +0000 (05:36 +0200)]
Initial CONTRIBUTING.md (#655)

3 years agoUpdate docs
Arun Prakash Jana [Tue, 16 Jun 2020 13:39:09 +0000 (19:09 +0530)]
Update docs

3 years agoadded support webp format (#652)
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

3 years agoOption -u to disable current/selection prompt
Arun Prakash Jana [Mon, 15 Jun 2020 14:24:44 +0000 (19:54 +0530)]
Option -u to disable current/selection prompt

3 years agoClear selection after some operations (see notes)
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

3 years agoUpdate docs
Arun Prakash Jana [Sun, 14 Jun 2020 05:45:41 +0000 (11:15 +0530)]
Update docs

3 years agoShow '+' in statusbar instead of 's' for selection
Arun Prakash Jana [Sun, 14 Jun 2020 04:26:34 +0000 (09:56 +0530)]
Show '+' in statusbar instead of 's' for selection

3 years agoRefactor key-val pair parsing
Arun Prakash Jana [Sat, 13 Jun 2020 19:01:48 +0000 (00:31 +0530)]
Refactor key-val pair parsing

3 years agoMake once-used function inline
Arun Prakash Jana [Sat, 13 Jun 2020 18:30:39 +0000 (00:00 +0530)]
Make once-used function inline

3 years agoUpdate docs
Arun Prakash Jana [Fri, 12 Jun 2020 11:29:57 +0000 (16:59 +0530)]
Update docs