]> Sergey Matveev's repositories - nnn.git/log
nnn.git
6 years agoRemove inactive code
Arun Prakash Jana [Fri, 10 Aug 2018 01:20:36 +0000 (06:50 +0530)]
Remove inactive code

6 years agoUpdate docs
Arun Prakash Jana [Tue, 7 Aug 2018 23:48:19 +0000 (05:18 +0530)]
Update docs

6 years agoForward filtering optimization
Arun Prakash Jana [Tue, 7 Aug 2018 23:34:34 +0000 (05:04 +0530)]
Forward filtering optimization

6 years agoImplement dir auto-select in nav-as-you-type mode.
Arun Prakash Jana [Tue, 7 Aug 2018 23:27:49 +0000 (04:57 +0530)]
Implement dir auto-select in nav-as-you-type mode.

If only one entry matches regex filter and it it a directory, cd into it.

6 years agoFixed link
Arun Prakash Jana [Tue, 7 Aug 2018 20:32:03 +0000 (02:02 +0530)]
Fixed link

6 years agonnn is a file manager now
Arun Prakash Jana [Mon, 6 Aug 2018 23:22:39 +0000 (04:52 +0530)]
nnn is a file manager now

6 years agoPR #111: Multiple string constants concatenate since C99
Arun Prakash Jana [Mon, 6 Aug 2018 14:47:35 +0000 (20:17 +0530)]
PR #111: Multiple string constants concatenate since C99

6 years agoShow selection name in archive option
Arun Prakash Jana [Wed, 18 Jul 2018 23:14:24 +0000 (04:44 +0530)]
Show selection name in archive option

6 years agoAdd link to repos
Arun Prakash Jana [Tue, 17 Jul 2018 20:20:22 +0000 (01:50 +0530)]
Add link to repos

6 years agoReduce indentation level
Arun Prakash Jana [Thu, 12 Jul 2018 14:28:53 +0000 (19:58 +0530)]
Reduce indentation level

6 years agoFix checkpatch warnings
Arun Prakash Jana [Sun, 8 Jul 2018 16:02:26 +0000 (21:32 +0530)]
Fix checkpatch warnings

6 years agoFix indentation
Arun Prakash Jana [Fri, 6 Jul 2018 08:05:18 +0000 (13:35 +0530)]
Fix indentation

6 years agoToDo list is rolled
Arun Prakash Jana [Wed, 4 Jul 2018 14:09:11 +0000 (19:39 +0530)]
ToDo list is rolled

6 years agoPass current file name as first argument to custom scripts
Arun Prakash Jana [Wed, 4 Jul 2018 14:05:36 +0000 (19:35 +0530)]
Pass current file name as first argument to custom scripts

6 years agoReplace multiple if with switch
Arun Prakash Jana [Wed, 4 Jul 2018 13:32:47 +0000 (19:02 +0530)]
Replace multiple if with switch

6 years agoHandle '\b' at prompt in earlier curses (rhel25)
Arun Prakash Jana [Wed, 4 Jul 2018 13:18:43 +0000 (18:48 +0530)]
Handle '\b' at prompt in earlier curses (rhel25)

6 years agoAdd Space as 2nd file-path copier key (easy to use)
Arun Prakash Jana [Wed, 27 Jun 2018 15:08:41 +0000 (20:38 +0530)]
Add Space as 2nd file-path copier key (easy to use)

6 years agoUpdate documentation
Arun Prakash Jana [Mon, 18 Jun 2018 12:52:04 +0000 (18:22 +0530)]
Update documentation

6 years agoBring examples below description
Arun Prakash Jana [Sun, 17 Jun 2018 16:26:06 +0000 (21:56 +0530)]
Bring examples below description

6 years agoSupport multiple scripts
Arun Prakash Jana [Sun, 17 Jun 2018 16:17:19 +0000 (21:47 +0530)]
Support multiple scripts

6 years agoExample to integrate fzy using custom script
Arun Prakash Jana [Sun, 17 Jun 2018 12:58:47 +0000 (18:28 +0530)]
Example to integrate fzy using custom script

6 years agoAdd LinuxLinks to Mentions section
Arun Prakash Jana [Fri, 8 Jun 2018 16:30:15 +0000 (22:00 +0530)]
Add LinuxLinks to Mentions section

6 years agoUse macro instead if hardcoded value
Arun Prakash Jana [Fri, 18 May 2018 20:06:17 +0000 (01:36 +0530)]
Use macro instead if hardcoded value

6 years agoFix #108: wrap user and group strings for NULL
Arun Prakash Jana [Fri, 18 May 2018 19:16:56 +0000 (00:46 +0530)]
Fix #108: wrap user and group strings for NULL

6 years agoAdd OpenBSD as a packager
Arun Prakash Jana [Tue, 15 May 2018 00:36:12 +0000 (06:06 +0530)]
Add OpenBSD as a packager

6 years agoRemove redundant message
Arun Prakash Jana [Thu, 10 May 2018 11:53:10 +0000 (17:23 +0530)]
Remove redundant message

6 years agoFix #106: use stock strlen() & strcmp().
Arun Prakash Jana [Wed, 9 May 2018 11:27:01 +0000 (16:57 +0530)]
Fix #106: use stock strlen() & strcmp().

The binary size increases from 49184 to 49216.

6 years agoSupport CYGWIN opener
Arun Prakash Jana [Mon, 7 May 2018 12:29:31 +0000 (17:59 +0530)]
Support CYGWIN opener

6 years agoUpdate man
Arun Prakash Jana [Thu, 3 May 2018 12:29:39 +0000 (17:59 +0530)]
Update man

7 years agoUpdate instruction
Arun Prakash Jana [Wed, 2 May 2018 14:59:46 +0000 (20:29 +0530)]
Update instruction

7 years agoPrepare for release v1.8 v1.8
Arun Prakash Jana [Tue, 1 May 2018 21:12:30 +0000 (02:42 +0530)]
Prepare for release v1.8

7 years agoUpdate help on filter
Arun Prakash Jana [Tue, 1 May 2018 04:39:10 +0000 (10:09 +0530)]
Update help on filter

7 years agoUpdate image
Arun Prakash Jana [Wed, 25 Apr 2018 20:00:43 +0000 (01:30 +0530)]
Update image

7 years agoMerge fs functions
Arun Prakash Jana [Wed, 25 Apr 2018 19:26:45 +0000 (00:56 +0530)]
Merge fs functions

7 years agoFix man page
Arun Prakash Jana [Wed, 25 Apr 2018 19:11:40 +0000 (00:41 +0530)]
Fix man page

7 years agoUse static variables for crc8fast
Arun Prakash Jana [Wed, 25 Apr 2018 19:06:51 +0000 (00:36 +0530)]
Use static variables for crc8fast

7 years agoUse a smaller buffer
Arun Prakash Jana [Wed, 25 Apr 2018 18:53:31 +0000 (00:23 +0530)]
Use a smaller buffer

7 years agoUse concise change dir prompt
Arun Prakash Jana [Wed, 25 Apr 2018 18:29:36 +0000 (23:59 +0530)]
Use concise change dir prompt

7 years agoShow cp file when NNN_NO_X is set
Arun Prakash Jana [Wed, 25 Apr 2018 17:55:40 +0000 (23:25 +0530)]
Show cp file when NNN_NO_X is set

7 years agoRetire readinput()
Arun Prakash Jana [Wed, 25 Apr 2018 17:39:00 +0000 (23:09 +0530)]
Retire readinput()

7 years agoTidy up xreadline()
Arun Prakash Jana [Wed, 25 Apr 2018 17:07:59 +0000 (22:37 +0530)]
Tidy up xreadline()

7 years agoHandle all ^ chars in main loop
Arun Prakash Jana [Wed, 25 Apr 2018 16:27:46 +0000 (21:57 +0530)]
Handle all ^ chars in main loop

7 years agoReload contents on archive create, extract
Arun Prakash Jana [Wed, 25 Apr 2018 16:26:13 +0000 (21:56 +0530)]
Reload contents on archive create, extract

7 years agoSupport archive creation
Arun Prakash Jana [Tue, 24 Apr 2018 23:34:37 +0000 (05:04 +0530)]
Support archive creation

7 years agoUse simpler descriptions
Arun Prakash Jana [Tue, 24 Apr 2018 03:13:32 +0000 (08:43 +0530)]
Use simpler descriptions

7 years agomulti-cp: show number of cherrypicked files
Arun Prakash Jana [Sun, 22 Apr 2018 14:13:18 +0000 (19:43 +0530)]
multi-cp: show number of cherrypicked files

7 years agonnn is always quoted
Arun Prakash Jana [Thu, 19 Apr 2018 01:25:59 +0000 (06:55 +0530)]
nnn is always quoted

7 years agoFix #104: document tmux TERM setting
Arun Prakash Jana [Thu, 19 Apr 2018 01:22:41 +0000 (06:52 +0530)]
Fix #104: document tmux TERM setting

7 years agoTwo copy modes are exclusive
Arun Prakash Jana [Mon, 16 Apr 2018 20:52:23 +0000 (02:22 +0530)]
Two copy modes are exclusive

7 years agoFix calculation of remaining copybuf bytes
Arun Prakash Jana [Sat, 14 Apr 2018 14:26:04 +0000 (19:56 +0530)]
Fix calculation of remaining copybuf bytes

Start with PATH_MAX bytes and then double each time.

7 years agoSuppress copier script trace
Arun Prakash Jana [Sat, 14 Apr 2018 09:17:34 +0000 (14:47 +0530)]
Suppress copier script trace

7 years agoMove volume capacity, free up
Arun Prakash Jana [Sat, 14 Apr 2018 04:51:39 +0000 (10:21 +0530)]
Move volume capacity, free up

7 years agoAdded brackets for tcc compliance (#103)
arcadius3d [Tue, 10 Apr 2018 01:28:52 +0000 (22:28 -0300)]
Added brackets for tcc compliance (#103)

7 years agoSource code release tarball build on Travis-CI (#101)
jolpaz [Mon, 9 Apr 2018 12:09:53 +0000 (14:09 +0200)]
Source code release tarball build on Travis-CI (#101)

* Build source tarball on travis CI

And add it to github release along with other packages.

* Change key for releases upload

* Fix repo for release upload

* Revert to upstream's creds and repo.

7 years agoPrefer VISUAL, if defined over EDITOR
Arun Prakash Jana [Sun, 8 Apr 2018 00:43:33 +0000 (06:13 +0530)]
Prefer VISUAL, if defined over EDITOR

7 years agoUpdate for PR #100: man and README should be in sync
Arun Prakash Jana [Wed, 4 Apr 2018 01:07:29 +0000 (06:37 +0530)]
Update for PR #100: man and README should be in sync

7 years agoShow hidden files by default when env NNN_SHOW_HIDDEN is set (#100)
Jakub Jirutka [Wed, 4 Apr 2018 01:03:26 +0000 (03:03 +0200)]
Show hidden files by default when env NNN_SHOW_HIDDEN is set (#100)

7 years agoUpdate help
Arun Prakash Jana [Sun, 1 Apr 2018 18:09:51 +0000 (23:39 +0530)]
Update help

7 years agoAdd more phony targets
Arun Prakash Jana [Sun, 1 Apr 2018 17:21:55 +0000 (22:51 +0530)]
Add more phony targets

7 years agoUpdate link to ToDo list
Arun Prakash Jana [Sat, 31 Mar 2018 22:20:40 +0000 (03:50 +0530)]
Update link to ToDo list

7 years agoShow more useful info in help
Arun Prakash Jana [Sat, 31 Mar 2018 21:54:55 +0000 (03:24 +0530)]
Show more useful info in help

7 years agoShow help on typing ? at empty filter prompt
Arun Prakash Jana [Sat, 31 Mar 2018 15:28:13 +0000 (20:58 +0530)]
Show help on typing ? at empty filter prompt

7 years agoDocument how to integrate sxiv
Arun Prakash Jana [Fri, 30 Mar 2018 16:22:26 +0000 (21:52 +0530)]
Document how to integrate sxiv

7 years agoSupport screen locking on Linux
Arun Prakash Jana [Fri, 30 Mar 2018 15:53:28 +0000 (21:23 +0530)]
Support screen locking on Linux

7 years agoNew shortcut ^] to spawn shell in current dir
Arun Prakash Jana [Fri, 30 Mar 2018 15:23:25 +0000 (20:53 +0530)]
New shortcut ^] to spawn shell in current dir

7 years agoAdd install commands for listed packagers
Arun Prakash Jana [Fri, 30 Mar 2018 03:12:27 +0000 (08:42 +0530)]
Add install commands for listed packagers

7 years agoSupport ^A, ^E, ^U and ignore ^ chars at rename prompt
Arun Prakash Jana [Tue, 27 Mar 2018 02:35:47 +0000 (08:05 +0530)]
Support ^A, ^E, ^U and ignore ^ chars at rename prompt

7 years agoSwitch to current dir to run editor/vidir
Arun Prakash Jana [Mon, 19 Mar 2018 00:29:15 +0000 (05:59 +0530)]
Switch to current dir to run editor/vidir

7 years agoFix test dir name
Arun Prakash Jana [Mon, 19 Mar 2018 00:03:39 +0000 (05:33 +0530)]
Fix test dir name

7 years agoRun a custom script support
Arun Prakash Jana [Mon, 19 Mar 2018 00:02:16 +0000 (05:32 +0530)]
Run a custom script support

7 years agoOmit sorting if no matches/entries
Arun Prakash Jana [Sun, 18 Mar 2018 22:24:19 +0000 (03:54 +0530)]
Omit sorting if no matches/entries

7 years agoFree regex
Arun Prakash Jana [Sun, 18 Mar 2018 22:12:56 +0000 (03:42 +0530)]
Free regex

7 years agoUpdate features
Arun Prakash Jana [Sun, 18 Mar 2018 10:48:30 +0000 (16:18 +0530)]
Update features

7 years agoAdd Fedora as a packager
Arun Prakash Jana [Sun, 18 Mar 2018 09:29:42 +0000 (14:59 +0530)]
Add Fedora as a packager

7 years agoRetain nav-as-you-type mode after exiting spawned shell
Arun Prakash Jana [Fri, 16 Mar 2018 17:16:03 +0000 (22:46 +0530)]
Retain nav-as-you-type mode after exiting spawned shell

7 years agoRemove reference of NNN_NOWAIT
Arun Prakash Jana [Thu, 15 Mar 2018 23:16:14 +0000 (04:46 +0530)]
Remove reference of NNN_NOWAIT

7 years agoFix #81: GUI programs shouldn't exit on closing the parent terminal
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.

7 years agonlay: use more portable shebang for bash. (#98)
maxice8 [Wed, 14 Mar 2018 18:59:29 +0000 (15:59 -0300)]
nlay: use more portable shebang for bash. (#98)

7 years agoFix #97: add manpage for nlay
Arun Prakash Jana [Wed, 14 Mar 2018 16:59:59 +0000 (22:29 +0530)]
Fix #97: add manpage for nlay

7 years agoMake install(1) commands override-able (#96)
Dridi Boukelmoune [Wed, 14 Mar 2018 10:41:30 +0000 (11:41 +0100)]
Make install(1) commands override-able (#96)

7 years agoAdd table of external dependencies
Arun Prakash Jana [Sun, 11 Mar 2018 08:12:49 +0000 (13:42 +0530)]
Add table of external dependencies

7 years agoReplace all sprintf() with snprintf()
Arun Prakash Jana [Thu, 8 Mar 2018 21:02:22 +0000 (02:32 +0530)]
Replace all sprintf() with snprintf()

7 years agoFix #95: Add ^I as an alternative to Insert
Arun Prakash Jana [Wed, 7 Mar 2018 13:02:48 +0000 (18:32 +0530)]
Fix #95: Add ^I as an alternative to Insert

7 years agoInteger calculation-only coolsize()
Arun Prakash Jana [Mon, 5 Mar 2018 12:45:42 +0000 (18:15 +0530)]
Integer calculation-only coolsize()

7 years agofloat is suficient and a _little_ faster in coolsize()
Arun Prakash Jana [Mon, 5 Mar 2018 03:16:34 +0000 (08:46 +0530)]
float is suficient and a _little_ faster in coolsize()

7 years agoRevert "Integer-only coolsize() (#84)"
Arun Prakash Jana [Sun, 4 Mar 2018 19:42:10 +0000 (01:12 +0530)]
Revert "Integer-only coolsize() (#84)"

This reverts commit 7be0726164442a83f47e5a9a0cdf2db343832d23.

7 years agoRevert "fix rounding carry in coolsize() (#91)"
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.

7 years agoRevert "Fix compilation warning"
Arun Prakash Jana [Sun, 4 Mar 2018 19:41:14 +0000 (01:11 +0530)]
Revert "Fix compilation warning"

This reverts commit 30fdb6ff11a8a4d720d3efbb21cb0755abd06665.

7 years agoFix compilation warning
Arun Prakash Jana [Sun, 4 Mar 2018 19:27:31 +0000 (00:57 +0530)]
Fix compilation warning

7 years agofix rounding carry in coolsize() (#91)
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.

7 years agoFix #89: User-specific tmp file for copying filenames
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`.

7 years agoSupport ~, - and & keyboard shortcuts at the bookmark prompt.
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.

7 years agoAdd ruby files as text file
Arun Prakash Jana [Sat, 3 Mar 2018 04:00:03 +0000 (09:30 +0530)]
Add ruby files as text file

7 years agoBoth src and dst should be alignment checked separately
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

7 years agoFix zsh path autocompletion (#88)
Nexie Kind [Fri, 2 Mar 2018 12:01:11 +0000 (15:01 +0300)]
Fix zsh path autocompletion (#88)

7 years agoImproved portability on MacOS (#86)
Giacomo Rossetto [Thu, 1 Mar 2018 13:06:26 +0000 (14:06 +0100)]
Improved portability on MacOS (#86)

7 years agoInteger-only coolsize() (#84)
Alex Suykov [Thu, 1 Mar 2018 07:52:25 +0000 (09:52 +0200)]
Integer-only coolsize() (#84)

7 years agoAdd openSUSE Leap badge
Arun Prakash Jana [Wed, 28 Feb 2018 11:09:23 +0000 (16:39 +0530)]
Add openSUSE Leap badge

7 years agoMakefile: don't use non-portable -t option (#83)
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.

7 years agoopenSUSE build system provides several distro packages. thanks @dilawar!
Arun Prakash Jana [Wed, 28 Feb 2018 04:50:11 +0000 (10:20 +0530)]
openSUSE build system provides several distro packages. thanks @dilawar!