]> Sergey Matveev's repositories - nnn.git/log
nnn.git
7 years agoUse sudo to install packagecore v1.5
Arun Prakash Jana [Thu, 5 Oct 2017 01:51:12 +0000 (07:21 +0530)]
Use sudo to install packagecore

7 years agoPrepare for release v1.5
Arun Prakash Jana [Wed, 4 Oct 2017 18:26:59 +0000 (23:56 +0530)]
Prepare for release v1.5

7 years agoUpdate help
Arun Prakash Jana [Mon, 2 Oct 2017 17:33:45 +0000 (23:03 +0530)]
Update help

7 years agoFix alignment in examples
Arun Prakash Jana [Mon, 2 Oct 2017 02:43:36 +0000 (08:13 +0530)]
Fix alignment in examples

7 years agoRemove redundant conversion
Arun Prakash Jana [Sun, 1 Oct 2017 13:29:43 +0000 (18:59 +0530)]
Remove redundant conversion

7 years agoDisable noti subscription for the same dir
Arun Prakash Jana [Sun, 1 Oct 2017 10:43:35 +0000 (16:13 +0530)]
Disable noti subscription for the same dir

7 years agoChange archive list shortcut to 'F'
Arun Prakash Jana [Sat, 30 Sep 2017 22:58:48 +0000 (04:28 +0530)]
Change archive list shortcut to 'F'

7 years agoFix #44: document PAGER usage in certain screens
Arun Prakash Jana [Sat, 30 Sep 2017 00:17:38 +0000 (05:47 +0530)]
Fix #44: document PAGER usage in certain screens

7 years agoEnable O3 optimization
Arun Prakash Jana [Wed, 27 Sep 2017 17:18:46 +0000 (22:48 +0530)]
Enable O3 optimization

7 years agoRevert "Archive handling on OS X using unar+lsar"
Arun Prakash Jana [Wed, 27 Sep 2017 16:37:04 +0000 (22:07 +0530)]
Revert "Archive handling on OS X using unar+lsar"

This reverts commit 1e859eb1370bd67cecd06b7bc8c6f885b80554bd.
We will use atool on OS X as well, it can be brewed easily.

7 years agoArchive handling on OS X using unar+lsar
Arun Prakash Jana [Wed, 27 Sep 2017 16:26:02 +0000 (21:56 +0530)]
Archive handling on OS X using unar+lsar

7 years agoSupport archive listing and extraction
Arun Prakash Jana [Wed, 27 Sep 2017 14:49:42 +0000 (20:19 +0530)]
Support archive listing and extraction

7 years agoShow current entry number in du mode
Arun Prakash Jana [Wed, 27 Sep 2017 12:07:36 +0000 (17:37 +0530)]
Show current entry number in du mode

7 years agoShow current entry number.
Arun Prakash Jana [Tue, 26 Sep 2017 20:38:58 +0000 (02:08 +0530)]
Show current entry number.

...because you need to know where you are.

7 years agoFix #42
Arun Prakash Jana [Sun, 24 Sep 2017 17:58:27 +0000 (23:28 +0530)]
Fix #42

7 years agoAdd badge to PPA for Ubuntu variants
Arun Prakash Jana [Sat, 23 Sep 2017 17:32:35 +0000 (23:02 +0530)]
Add badge to PPA for Ubuntu variants

7 years agonnn is on Ubuntu 17.10
Arun Prakash Jana [Sat, 23 Sep 2017 14:08:56 +0000 (19:38 +0530)]
nnn is on Ubuntu 17.10

7 years agoAdd step to set NNN_NOWAIT in Quickstart
Arun Prakash Jana [Wed, 20 Sep 2017 03:08:55 +0000 (08:38 +0530)]
Add step to set NNN_NOWAIT in Quickstart

7 years agoUpdate NNN_NOWAIT changes
Arun Prakash Jana [Tue, 19 Sep 2017 14:25:02 +0000 (19:55 +0530)]
Update NNN_NOWAIT changes

7 years agoPrevent nnn from waiting on open file process (#40)
Paul [Tue, 19 Sep 2017 06:30:54 +0000 (02:30 -0400)]
Prevent nnn from waiting on open file process (#40)

* Prevent nnn from waiting on open file process

* Add env var flag to not wait for child process when opening file

* Set nowait flag once to skip bit-or every time we open a file

* Add documentation for NNN_NOWAIT

7 years agoSkip entries in case fstatat() fails, do not exit
Arun Prakash Jana [Wed, 13 Sep 2017 13:14:27 +0000 (18:44 +0530)]
Skip entries in case fstatat() fails, do not exit

7 years agoNew video
Arun Prakash Jana [Sun, 10 Sep 2017 20:50:35 +0000 (02:20 +0530)]
New video

7 years agoSupport file and dir create
Arun Prakash Jana [Sun, 10 Sep 2017 07:35:25 +0000 (13:05 +0530)]
Support file and dir create

7 years agoConvert metaviewer and color to bitfields
Arun Prakash Jana [Fri, 8 Sep 2017 20:46:10 +0000 (02:16 +0530)]
Convert metaviewer and color to bitfields

7 years agoAdd general info in help
Arun Prakash Jana [Fri, 8 Sep 2017 19:40:21 +0000 (01:10 +0530)]
Add general info in help

7 years agoAdd package information
Arun Prakash Jana [Tue, 5 Sep 2017 12:37:45 +0000 (18:07 +0530)]
Add package information

7 years agoChange donation button
Arun Prakash Jana [Mon, 4 Sep 2017 20:50:08 +0000 (02:20 +0530)]
Change donation button

7 years agoAdd gcc, pkg-config as build deps v1.4
Arun Prakash Jana [Mon, 4 Sep 2017 05:05:43 +0000 (10:35 +0530)]
Add gcc, pkg-config as build deps

7 years agoUpdate README
Arun Prakash Jana [Mon, 4 Sep 2017 04:57:23 +0000 (10:27 +0530)]
Update README

7 years agoPrepare for v1.4 release
Arun Prakash Jana [Mon, 4 Sep 2017 04:53:02 +0000 (10:23 +0530)]
Prepare for v1.4 release

7 years agoClean up after compilation
Arun Prakash Jana [Sun, 3 Sep 2017 03:36:05 +0000 (09:06 +0530)]
Clean up after compilation

7 years agoAdd pin directory in cool list
Arun Prakash Jana [Sat, 2 Sep 2017 14:04:02 +0000 (19:34 +0530)]
Add pin directory in cool list

7 years agoMake test script more aggressive
Arun Prakash Jana [Sat, 2 Sep 2017 12:39:47 +0000 (18:09 +0530)]
Make test script more aggressive

7 years agoReorder APIs
Arun Prakash Jana [Sat, 2 Sep 2017 08:39:34 +0000 (14:09 +0530)]
Reorder APIs

7 years agoDisable dircolor if no sub-directories
Arun Prakash Jana [Sat, 2 Sep 2017 08:32:29 +0000 (14:02 +0530)]
Disable dircolor if no sub-directories

Fix regression from 1e5a0b8c5bc78462956d01c647293a7da594c36f.

7 years agoAdd tests for Unicode and astral codepoints
Arun Prakash Jana [Sat, 2 Sep 2017 07:58:58 +0000 (13:28 +0530)]
Add tests for Unicode and astral codepoints

7 years agoNote Makefile.native differences
Arun Prakash Jana [Sat, 2 Sep 2017 07:17:02 +0000 (12:47 +0530)]
Note Makefile.native differences

7 years agoRe-arrange artifacts
Arun Prakash Jana [Sat, 2 Sep 2017 07:04:29 +0000 (12:34 +0530)]
Re-arrange artifacts

7 years agoMake mktest.sh an executable
Arun Prakash Jana [Sat, 2 Sep 2017 06:54:40 +0000 (12:24 +0530)]
Make mktest.sh an executable

7 years agoAdd auto-completion scripts
Arun Prakash Jana [Sat, 2 Sep 2017 06:53:19 +0000 (12:23 +0530)]
Add auto-completion scripts

7 years agoMove config.h to nnn.h
Arun Prakash Jana [Sat, 2 Sep 2017 06:09:44 +0000 (11:39 +0530)]
Move config.h to nnn.h

7 years agoChange name to scripts directory
Arun Prakash Jana [Sat, 2 Sep 2017 05:45:10 +0000 (11:15 +0530)]
Change name to scripts directory

7 years agoIntegrate PackageCore to generate packages
Arun Prakash Jana [Fri, 1 Sep 2017 16:46:14 +0000 (22:16 +0530)]
Integrate PackageCore to generate packages

7 years agoUse 'pin' dir instead of 'mark' dir
Arun Prakash Jana [Fri, 1 Sep 2017 14:27:36 +0000 (19:57 +0530)]
Use 'pin' dir instead of 'mark' dir

7 years agoCalculate number of cols for name only once
Arun Prakash Jana [Fri, 1 Sep 2017 14:00:25 +0000 (19:30 +0530)]
Calculate number of cols for name only once

7 years agoChange to light mode if < 35 columns are available
Arun Prakash Jana [Fri, 1 Sep 2017 13:28:32 +0000 (18:58 +0530)]
Change to light mode if < 35 columns are available

7 years agoRemove redundant variable
Arun Prakash Jana [Fri, 1 Sep 2017 12:20:14 +0000 (17:50 +0530)]
Remove redundant variable

7 years agoAdjusting number of cols is redundant with shortening.
Arun Prakash Jana [Fri, 1 Sep 2017 05:05:04 +0000 (10:35 +0530)]
Adjusting number of cols is redundant with shortening.

7 years agoFix #36: uneven splitting of codepoints
Arun Prakash Jana [Fri, 1 Sep 2017 04:52:44 +0000 (10:22 +0530)]
Fix #36: uneven splitting of codepoints

Check if the number of columns needed to print name exceeds the number of cols.
If it does, split the name str at the max number of columns available for name.
Conversion to wide char ensures the split is done at a valid codepoint.

The current patch adds some optimization as well:

- No more copying to an intermediate (global) string.
- If the name is shortened, escape chars are replaced only till the terminator.

7 years agoUndocumented keys: F2, F5
Arun Prakash Jana [Sun, 27 Aug 2017 18:10:43 +0000 (23:40 +0530)]
Undocumented keys: F2, F5

7 years agoFix cursor position issue with astral symbols
Arun Prakash Jana [Sat, 26 Aug 2017 08:04:43 +0000 (13:34 +0530)]
Fix cursor position issue with astral symbols

In case of astral symbols like Devanagari matras multiple wide-char codepoints
occupy a single position/column. Positioning the cursor wrt. the actual number
of wide-characters in a wide-char string gets "visually incorrect".  The trick
is to calculate the correct number of columns needed to represent a fixed-size
wide-character string.

Relevant man pages:

1. wcswidth(3)
2. wctomb(3)
3. mblen(3)

Interesting links:

1. https://www.gnu.org/software/libc/manual/html_node/Non_002dreentrant-Character-Conversion.html
2. https://www.gnu.org/software/libc/manual/html_node/Shift-State.html
3. https://10hash.com/c-programming/uchar/
4. https://mathiasbynens.be/notes/javascript-unicode#accounting-for-astral-symbols

Example file names for test:

1. Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 5)
2. Eso eso aamar ghare eso ♫ এসো এসো আমার ঘরে এসো ♫ Swagatalakshmi Dasgupta
3. Führer

7 years agoA shorter overwrite message (key is not echoed)
Arun Prakash Jana [Sat, 26 Aug 2017 04:07:04 +0000 (09:37 +0530)]
A shorter overwrite message (key is not echoed)

7 years agoRevert "Handle multi-byte: 2 codepoints single column"
Arun Prakash Jana [Fri, 25 Aug 2017 21:12:33 +0000 (02:42 +0530)]
Revert "Handle multi-byte: 2 codepoints single column"

This reverts commit e8cf0dc663436e2ac30f737a17d8cc91efbdd364.

7 years agoHandle multi-byte: 2 codepoints single column
Arun Prakash Jana [Fri, 25 Aug 2017 21:05:01 +0000 (02:35 +0530)]
Handle multi-byte: 2 codepoints single column

Very frequent with Devanagari scripts ('matra's)

7 years agoMore concise help
Arun Prakash Jana [Fri, 25 Aug 2017 16:39:03 +0000 (22:09 +0530)]
More concise help

7 years agoClear rename prompt with Ctrl-L
Arun Prakash Jana [Fri, 25 Aug 2017 16:19:55 +0000 (21:49 +0530)]
Clear rename prompt with Ctrl-L

7 years agoThe '> ' as rename prompt is distracting
Arun Prakash Jana [Fri, 25 Aug 2017 13:52:30 +0000 (19:22 +0530)]
The '> ' as rename prompt is distracting

7 years agombstowcs() returns the codepoints
Arun Prakash Jana [Fri, 25 Aug 2017 12:57:06 +0000 (18:27 +0530)]
mbstowcs() returns the codepoints

7 years agoSimplify filter handling
Arun Prakash Jana [Fri, 25 Aug 2017 08:40:57 +0000 (14:10 +0530)]
Simplify filter handling

7 years agoGet rid of getch() ('Führer' works now)
Arun Prakash Jana [Fri, 25 Aug 2017 08:27:22 +0000 (13:57 +0530)]
Get rid of getch() ('Führer' works now)

7 years agoShow line number only on fatal error
Arun Prakash Jana [Thu, 24 Aug 2017 16:56:46 +0000 (22:26 +0530)]
Show line number only on fatal error

7 years agoRe-order macros, globals...
Arun Prakash Jana [Thu, 24 Aug 2017 15:18:01 +0000 (20:48 +0530)]
Re-order macros, globals...

7 years agoRemove extern ref to wget_wch()
Arun Prakash Jana [Thu, 24 Aug 2017 14:13:11 +0000 (19:43 +0530)]
Remove extern ref to wget_wch()

7 years agoRemove extern ref to add_history()
Arun Prakash Jana [Thu, 24 Aug 2017 14:06:33 +0000 (19:36 +0530)]
Remove extern ref to add_history()

7 years agoFix build failure
Arun Prakash Jana [Thu, 24 Aug 2017 12:24:59 +0000 (17:54 +0530)]
Fix build failure

7 years agoShow volume capacity in help
Arun Prakash Jana [Thu, 24 Aug 2017 12:20:00 +0000 (17:50 +0530)]
Show volume capacity in help

7 years agoRename MAX_BM to BM_MAX
Arun Prakash Jana [Thu, 24 Aug 2017 04:46:35 +0000 (10:16 +0530)]
Rename MAX_BM to BM_MAX

7 years agoSupport multi-byte string in rename
Arun Prakash Jana [Thu, 24 Aug 2017 04:45:32 +0000 (10:15 +0530)]
Support multi-byte string in rename

7 years agoShow filename in rename
Arun Prakash Jana [Thu, 24 Aug 2017 01:34:56 +0000 (07:04 +0530)]
Show filename in rename

7 years agoAdd checks before dir access
Arun Prakash Jana [Wed, 23 Aug 2017 12:43:22 +0000 (18:13 +0530)]
Add checks before dir access

7 years agoRemove shortcut F2 for refresh.
Arun Prakash Jana [Wed, 23 Aug 2017 12:06:32 +0000 (17:36 +0530)]
Remove shortcut F2 for refresh.

F2 is not very portable e.g., doesn't work over putty (default settings).

7 years agoDisable dir watch in filter mode
Arun Prakash Jana [Tue, 22 Aug 2017 21:58:26 +0000 (03:28 +0530)]
Disable dir watch in filter mode

7 years agoUse hyphen within date
Arun Prakash Jana [Tue, 22 Aug 2017 19:47:09 +0000 (01:17 +0530)]
Use hyphen within date

7 years agoUpdate features
Arun Prakash Jana [Tue, 22 Aug 2017 19:24:29 +0000 (00:54 +0530)]
Update features

7 years agoSupport in-place file rename
Arun Prakash Jana [Tue, 22 Aug 2017 19:16:58 +0000 (00:46 +0530)]
Support in-place file rename

7 years agoLine length size limit is now 139
Arun Prakash Jana [Tue, 22 Aug 2017 17:04:17 +0000 (22:34 +0530)]
Line length size limit is now 139

7 years agoDo not follow mounted fs in du mode
Arun Prakash Jana [Tue, 22 Aug 2017 16:01:06 +0000 (21:31 +0530)]
Do not follow mounted fs in du mode

7 years agoImplement BSD, Apple dir watch (#35)
Arun Prakash Jana [Mon, 21 Aug 2017 16:33:26 +0000 (22:03 +0530)]
Implement BSD, Apple dir watch (#35)

7 years agoWatch out for directory changes
Arun Prakash Jana [Sun, 20 Aug 2017 20:48:14 +0000 (02:18 +0530)]
Watch out for directory changes

7 years agoLimit max open fds to 20K.
Arun Prakash Jana [Sun, 20 Aug 2017 19:25:45 +0000 (00:55 +0530)]
Limit max open fds to 20K.

7 years agoA compact help format
Arun Prakash Jana [Sun, 20 Aug 2017 16:10:52 +0000 (21:40 +0530)]
A compact help format

7 years agoSupport mark a directory
Arun Prakash Jana [Sun, 20 Aug 2017 11:17:23 +0000 (16:47 +0530)]
Support mark a directory

In certain workflows you know you would have revisit a directory. Mark it!

7 years agognome-search-tool: add option --path
Arun Prakash Jana [Thu, 17 Aug 2017 03:13:24 +0000 (08:43 +0530)]
gnome-search-tool: add option --path

7 years agoRe-order installation section
Arun Prakash Jana [Mon, 14 Aug 2017 00:13:01 +0000 (05:43 +0530)]
Re-order installation section

7 years agoAdd section on packages
Arun Prakash Jana [Sun, 13 Aug 2017 14:50:37 +0000 (20:20 +0530)]
Add section on packages

7 years agoShow vol free in help
Arun Prakash Jana [Fri, 11 Aug 2017 20:12:55 +0000 (01:42 +0530)]
Show vol free in help

7 years agoAdd goodies
Arun Prakash Jana [Fri, 28 Jul 2017 21:59:11 +0000 (03:29 +0530)]
Add goodies

7 years agoUpdate readme
Arun Prakash Jana [Wed, 26 Jul 2017 04:04:30 +0000 (09:34 +0530)]
Update readme

7 years agoPrepare for release v1.3 v1.3
Arun Prakash Jana [Wed, 26 Jul 2017 04:01:03 +0000 (09:31 +0530)]
Prepare for release v1.3

7 years agoFix #34: use ~75% of max open file descs
Arun Prakash Jana [Tue, 25 Jul 2017 04:43:22 +0000 (10:13 +0530)]
Fix #34: use ~75% of max open file descs

7 years agoUpdate fedora version to 26 (#33)
Michael Fenn [Wed, 12 Jul 2017 07:04:23 +0000 (03:04 -0400)]
Update fedora version to 26 (#33)

7 years agoRemove tab
Arun Prakash Jana [Sun, 9 Jul 2017 02:11:44 +0000 (07:41 +0530)]
Remove tab

7 years agoReset current on empty filter prompt
Arun Prakash Jana [Sat, 8 Jul 2017 05:32:17 +0000 (11:02 +0530)]
Reset current on empty filter prompt

7 years agoOption -n is redundant
Arun Prakash Jana [Wed, 5 Jul 2017 18:32:09 +0000 (00:02 +0530)]
Option -n is redundant

7 years agoCode refactoring
Arun Prakash Jana [Wed, 5 Jul 2017 16:38:13 +0000 (22:08 +0530)]
Code refactoring

7 years agoUse xmemrchr() instead of strrchr()
Arun Prakash Jana [Wed, 5 Jul 2017 04:47:42 +0000 (10:17 +0530)]
Use xmemrchr() instead of strrchr()

7 years agoChange single-line 0-arg APIs to macros
Arun Prakash Jana [Wed, 5 Jul 2017 04:08:19 +0000 (09:38 +0530)]
Change single-line 0-arg APIs to macros

7 years agoRetire config.def.h, unify Makefiles
Arun Prakash Jana [Wed, 5 Jul 2017 03:08:34 +0000 (08:38 +0530)]
Retire config.def.h, unify Makefiles

7 years agoUpdate memory usage (latest release)
Arun Prakash Jana [Wed, 5 Jul 2017 02:47:51 +0000 (08:17 +0530)]
Update memory usage (latest release)

7 years agoMore concise help screen.
Arun Prakash Jana [Tue, 4 Jul 2017 04:31:15 +0000 (10:01 +0530)]
More concise help screen.