]> Sergey Matveev's repositories - nnn.git/log
nnn.git
5 years agoUse KEY_RESIZE when prompting user input
0xACE [Tue, 16 Jul 2019 02:30:16 +0000 (04:30 +0200)]
Use KEY_RESIZE when prompting user input

The problem was that a window wouldn't resize while prompting the user
for input. These changes allows the input methods in nnn to resize
properly if KEY_RESIZE is defined.

A more portable solution would be hooking the WINCH signal and update
the xlines value from there along with some resized flag.

In some cases the full window isn't redrawn until the user has finished
the input. This is because in some functions I wasn't sure the current
"path" was available.

5 years agoFix #307
Arun Prakash Jana [Mon, 15 Jul 2019 19:24:31 +0000 (00:54 +0530)]
Fix #307

5 years agoUpdate docs
Arun Prakash Jana [Mon, 15 Jul 2019 14:49:46 +0000 (20:19 +0530)]
Update docs

5 years agoAdd F2 for rename (undocumented)
Arun Prakash Jana [Mon, 15 Jul 2019 14:32:35 +0000 (20:02 +0530)]
Add F2 for rename (undocumented)

5 years agoCompact notation for time/size sort order
Arun Prakash Jana [Sun, 14 Jul 2019 20:12:12 +0000 (01:42 +0530)]
Compact notation for time/size sort order

5 years agoRemove redundant initialization
Arun Prakash Jana [Sun, 14 Jul 2019 19:38:24 +0000 (01:08 +0530)]
Remove redundant initialization

5 years agoUpdate docs
Arun Prakash Jana [Sun, 14 Jul 2019 17:41:30 +0000 (23:11 +0530)]
Update docs

5 years agoResurrect default sort
Arun Prakash Jana [Sun, 14 Jul 2019 17:30:14 +0000 (23:00 +0530)]
Resurrect default sort

5 years agoRemove unused variable
Arun Prakash Jana [Sun, 14 Jul 2019 17:02:50 +0000 (22:32 +0530)]
Remove unused variable

5 years agoFix coolsize
Arun Prakash Jana [Sun, 14 Jul 2019 16:57:22 +0000 (22:27 +0530)]
Fix coolsize

5 years agoFix crash on a broken USB
Arun Prakash Jana [Sun, 14 Jul 2019 08:55:46 +0000 (14:25 +0530)]
Fix crash on a broken USB

5 years agoUpdate docs
Arun Prakash Jana [Fri, 12 Jul 2019 22:19:43 +0000 (03:49 +0530)]
Update docs

5 years agoTermux improvement: toggle nav-as-you-type
Arun Prakash Jana [Fri, 12 Jul 2019 16:58:44 +0000 (22:28 +0530)]
Termux improvement: toggle nav-as-you-type

2 changes:
- Toggle nav-as-you-type with left single/double click below last entry
- Handle mouse events when filter is on

5 years agoFix commenting style (if applicable)
Arun Prakash Jana [Fri, 12 Jul 2019 15:43:49 +0000 (21:13 +0530)]
Fix commenting style (if applicable)

5 years agoTermux improvement: remap visit parent click
Arun Prakash Jana [Fri, 12 Jul 2019 15:36:37 +0000 (21:06 +0530)]
Termux improvement: remap visit parent click

Visit parent is now left single click outside context nums on top row.

5 years agoSupport mouse scroll
Arun Prakash Jana [Fri, 12 Jul 2019 14:20:30 +0000 (19:50 +0530)]
Support mouse scroll

This is limited to libncurses support of full mouse scrolling.
Ref: https://invisible-island.net/ncurses/man/curs_mouse.3x.html#h3-Mouse-events

5 years agoUpdate comments and debug info
Arun Prakash Jana [Fri, 12 Jul 2019 13:07:12 +0000 (18:37 +0530)]
Update comments and debug info

5 years agoMerge pull request #305 from 0xACE/fosterhome
Mischievous Meerkat [Fri, 12 Jul 2019 12:58:21 +0000 (18:28 +0530)]
Merge pull request #305 from 0xACE/fosterhome

Find a parent when CWD disappears

5 years agoKeep lastname directory selected
0xACE [Fri, 12 Jul 2019 12:55:03 +0000 (14:55 +0200)]
Keep lastname directory selected

incase the user just lost access, it would be better to remember the
selected directory to keep it highlighted.

5 years agofixed misleading `else if` & text. removed lastdir
0xACE [Fri, 12 Jul 2019 12:33:39 +0000 (14:33 +0200)]
fixed misleading `else if` & text. removed lastdir

5 years agoUpdate checksum plugin documentation
Arun Prakash Jana [Fri, 12 Jul 2019 03:21:18 +0000 (08:51 +0530)]
Update checksum plugin documentation

5 years agoFind a parent when CWD disappears
0xACE [Thu, 11 Jul 2019 22:45:55 +0000 (00:45 +0200)]
Find a parent when CWD disappears

The previous behaviour would exit nnn when the CWD disappeared.

5 years agoShow image thumbnails with lsix
Arun Prakash Jana [Thu, 11 Jul 2019 18:33:10 +0000 (00:03 +0530)]
Show image thumbnails with lsix

5 years agoFix mtime comparison
Arun Prakash Jana [Thu, 11 Jul 2019 17:03:49 +0000 (22:33 +0530)]
Fix mtime comparison

5 years agoUpdate docs
Arun Prakash Jana [Thu, 11 Jul 2019 03:05:39 +0000 (08:35 +0530)]
Update docs

5 years agoMerge pull request #303 from fokinpv/forgotten-export
Mischievous Meerkat [Wed, 10 Jul 2019 13:44:25 +0000 (19:14 +0530)]
Merge pull request #303 from fokinpv/forgotten-export

Add forgotten export for quitcd scripts

5 years agoCombine 'XDG_CONFIG_HOME' and 'HOME` in quitcd.fish
Pavel Fokin [Wed, 10 Jul 2019 12:56:17 +0000 (15:56 +0300)]
Combine 'XDG_CONFIG_HOME' and 'HOME` in quitcd.fish

5 years agoLinuk to youtube vide
Arun Prakash Jana [Wed, 10 Jul 2019 08:29:33 +0000 (13:59 +0530)]
Linuk to youtube vide

5 years agoAdd packagers page in Wiki
Arun Prakash Jana [Wed, 10 Jul 2019 06:57:50 +0000 (12:27 +0530)]
Add packagers page in Wiki

5 years agoAdd NuTyX to list of packagers
Arun Prakash Jana [Wed, 10 Jul 2019 04:07:02 +0000 (09:37 +0530)]
Add NuTyX to list of packagers

5 years agoFix #304
Arun Prakash Jana [Wed, 10 Jul 2019 03:51:28 +0000 (09:21 +0530)]
Fix #304

5 years agoAdd forgotten export for quitcd scripts
Pavel Fokin [Tue, 9 Jul 2019 19:51:25 +0000 (22:51 +0300)]
Add forgotten export for quitcd scripts

5 years agoMerge pull request #302 from fokinpv/fix-quitcd-example
Mischievous Meerkat [Tue, 9 Jul 2019 05:00:12 +0000 (10:30 +0530)]
Merge pull request #302 from fokinpv/fix-quitcd-example

Fix quitcd snippets for 'zsh' and 'bash'

5 years agoUpdate quitcd snippet for 'fish'
Pavel Fokin [Tue, 9 Jul 2019 04:09:19 +0000 (07:09 +0300)]
Update quitcd snippet for 'fish'

5 years agoBash auto-complete enhancements
Arun Prakash Jana [Mon, 8 Jul 2019 18:05:30 +0000 (23:35 +0530)]
Bash auto-complete enhancements

5 years agoSet mouse interval
Arun Prakash Jana [Mon, 8 Jul 2019 17:55:21 +0000 (23:25 +0530)]
Set mouse interval

5 years agoFix quitcd snippets for 'zsh' and 'bash'
Pavel Fokin [Mon, 8 Jul 2019 17:13:52 +0000 (20:13 +0300)]
Fix quitcd snippets for 'zsh' and 'bash'

5 years agoAdd video of nnn on Termux
Arun Prakash Jana [Sun, 7 Jul 2019 16:27:45 +0000 (21:57 +0530)]
Add video of nnn on Termux

5 years agoRevert "Move declarations up"
Arun Prakash Jana [Sat, 6 Jul 2019 13:25:48 +0000 (18:55 +0530)]
Revert "Move declarations up"

This reverts commit afdfcecb9c757eb52be34f854947de48fd437447.

5 years agoSet scrolloff to 3
Arun Prakash Jana [Fri, 5 Jul 2019 16:10:33 +0000 (21:40 +0530)]
Set scrolloff to 3

5 years agoMinor refactor
Arun Prakash Jana [Fri, 5 Jul 2019 15:28:36 +0000 (20:58 +0530)]
Minor refactor

5 years agoFix #301
Arun Prakash Jana [Fri, 5 Jul 2019 02:12:52 +0000 (07:42 +0530)]
Fix #301

5 years agoMove declarations up
Arun Prakash Jana [Thu, 4 Jul 2019 21:17:55 +0000 (02:47 +0530)]
Move declarations up

5 years agoDo not show mantissa for absolute sizes
Arun Prakash Jana [Thu, 4 Jul 2019 20:38:31 +0000 (02:08 +0530)]
Do not show mantissa for absolute sizes

5 years agoShow stat when file has single quote
Arun Prakash Jana [Thu, 4 Jul 2019 19:57:46 +0000 (01:27 +0530)]
Show stat when file has single quote

5 years agoReplace snprintf for printing file size
Arun Prakash Jana [Thu, 4 Jul 2019 19:43:55 +0000 (01:13 +0530)]
Replace snprintf for printing file size

5 years agoUse macros for return codes
Arun Prakash Jana [Fri, 28 Jun 2019 15:42:43 +0000 (21:12 +0530)]
Use macros for return codes

5 years agoMerge pull request #299 from ath3/ringtone-fixes
Mischievous Meerkat [Thu, 27 Jun 2019 02:02:18 +0000 (07:32 +0530)]
Merge pull request #299 from ath3/ringtone-fixes

Small ringtone plugin fixes

5 years agoSmall ringtone plugin fixes
ath3 [Thu, 27 Jun 2019 01:38:02 +0000 (03:38 +0200)]
Small ringtone plugin fixes

5 years agoMerge pull request #298 from ath3/checksum-cleanup
Mischievous Meerkat [Thu, 27 Jun 2019 01:12:27 +0000 (06:42 +0530)]
Merge pull request #298 from ath3/checksum-cleanup

Remove unneeded check from checksum plugin

5 years agoMerge pull request #297 from ath3/mocplay-shuffle
Mischievous Meerkat [Thu, 27 Jun 2019 01:10:31 +0000 (06:40 +0530)]
Merge pull request #297 from ath3/mocplay-shuffle

Add shuffle to mocplay

5 years agoMerge pull request #296 from tanyaionova/duplicate-patch
Mischievous Meerkat [Thu, 27 Jun 2019 01:06:40 +0000 (06:36 +0530)]
Merge pull request #296 from tanyaionova/duplicate-patch

Remove duplicate code (#295)

5 years agoRemove unneeded check from checksum plugin
ath3 [Thu, 27 Jun 2019 00:42:27 +0000 (02:42 +0200)]
Remove unneeded check from checksum plugin

5 years agoAdd shuffle to mocplay
ath3 [Thu, 27 Jun 2019 00:19:55 +0000 (02:19 +0200)]
Add shuffle to mocplay

5 years agoRemove duplicate code (#295)
tanyaionova [Wed, 26 Jun 2019 22:01:42 +0000 (01:01 +0300)]
Remove duplicate code (#295)

These three lines are exact copy of 4555-4557.
As opener is not changed in between, we can delete these

5 years agoMerge pull request #294 from tanyaionova/makefile-patch
Mischievous Meerkat [Wed, 26 Jun 2019 12:54:13 +0000 (18:24 +0530)]
Merge pull request #294 from tanyaionova/makefile-patch

Set CP in Makefile

5 years agoSet CP in Makefile
tanyaionova [Wed, 26 Jun 2019 12:25:31 +0000 (15:25 +0300)]
Set CP in Makefile

$(CP) is not set by GNU Make
Seems like [1] is a full list of what GNU Make defines implicitly
[1] https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html

5 years agoUpdate docs
Arun Prakash Jana [Wed, 26 Jun 2019 06:15:33 +0000 (11:45 +0530)]
Update docs

5 years agoWhat's in the name?
Arun Prakash Jana [Wed, 26 Jun 2019 01:06:03 +0000 (06:36 +0530)]
What's in the name?

5 years agoUse generic msg
Arun Prakash Jana [Mon, 24 Jun 2019 19:38:32 +0000 (01:08 +0530)]
Use generic msg

5 years agoFix order of options in man
Arun Prakash Jana [Mon, 24 Jun 2019 16:20:01 +0000 (21:50 +0530)]
Fix order of options in man

5 years agoFix #291
Arun Prakash Jana [Mon, 24 Jun 2019 16:15:02 +0000 (21:45 +0530)]
Fix #291

5 years agoPretty table
Arun Prakash Jana [Sun, 23 Jun 2019 03:48:35 +0000 (09:18 +0530)]
Pretty table

5 years agoAdd text2speech plugin
Arun Prakash Jana [Sat, 22 Jun 2019 19:40:14 +0000 (01:10 +0530)]
Add text2speech plugin

5 years agoFix #290: terminate g_buf correctly
Arun Prakash Jana [Sat, 22 Jun 2019 08:32:39 +0000 (14:02 +0530)]
Fix #290: terminate g_buf correctly

5 years agoFix #290: wchar_t may vary in size
Arun Prakash Jana [Sat, 22 Jun 2019 01:49:00 +0000 (07:19 +0530)]
Fix #290: wchar_t may vary in size

5 years agoAdd an mp3 ringtone generator
Arun Prakash Jana [Fri, 21 Jun 2019 17:06:34 +0000 (22:36 +0530)]
Add an mp3 ringtone generator

5 years agoUpdate docs
Arun Prakash Jana [Fri, 21 Jun 2019 02:02:07 +0000 (07:32 +0530)]
Update docs

5 years agoThe table is sorted
Arun Prakash Jana [Thu, 20 Jun 2019 15:27:19 +0000 (20:57 +0530)]
The table is sorted

5 years agoFix #288
Arun Prakash Jana [Thu, 20 Jun 2019 13:40:47 +0000 (19:10 +0530)]
Fix #288

5 years agoAdd note on vim warning
Arun Prakash Jana [Thu, 20 Jun 2019 13:08:45 +0000 (18:38 +0530)]
Add note on vim warning

5 years agoMerge pull request #286 from ath3/plugin-md5sum
Mischievous Meerkat [Thu, 20 Jun 2019 13:06:07 +0000 (18:36 +0530)]
Merge pull request #286 from ath3/plugin-md5sum

Added md5sum plugin

5 years agoRefactored splitjoin and ndiff plugins, made them POSIX compliant
ath3 [Thu, 20 Jun 2019 08:45:24 +0000 (10:45 +0200)]
Refactored splitjoin and ndiff plugins, made them POSIX compliant

5 years agoExtended md5sum script to support multiple checksums and renamed it to checksum
ath3 [Thu, 20 Jun 2019 01:39:23 +0000 (03:39 +0200)]
Extended md5sum script to support multiple checksums and renamed it to checksum

5 years agoFix #287
Arun Prakash Jana [Wed, 19 Jun 2019 20:43:59 +0000 (02:13 +0530)]
Fix #287

5 years agoUpdate manual installation command
Arun Prakash Jana [Wed, 19 Jun 2019 16:33:08 +0000 (22:03 +0530)]
Update manual installation command

5 years agoChanged bash code to sh
ath3 [Wed, 19 Jun 2019 11:40:31 +0000 (13:40 +0200)]
Changed bash code to sh

5 years agoAdded md5sum plugin
ath3 [Wed, 19 Jun 2019 01:57:09 +0000 (03:57 +0200)]
Added md5sum plugin

5 years agoFix #285
Arun Prakash Jana [Mon, 17 Jun 2019 14:15:29 +0000 (19:45 +0530)]
Fix #285

5 years agoUpdate to gcc 9.1
Arun Prakash Jana [Mon, 17 Jun 2019 03:13:17 +0000 (08:43 +0530)]
Update to gcc 9.1

5 years agoUpdate docs
Arun Prakash Jana [Sun, 16 Jun 2019 17:08:45 +0000 (22:38 +0530)]
Update docs

5 years agoMove scripts to misc
Arun Prakash Jana [Sun, 16 Jun 2019 16:51:13 +0000 (22:21 +0530)]
Move scripts to misc

5 years agoAdd widely available cmatrix as locker fallback
Arun Prakash Jana [Sun, 16 Jun 2019 13:45:06 +0000 (19:15 +0530)]
Add widely available cmatrix as locker fallback

5 years agoUse case insensitive version sort to compare
Arun Prakash Jana [Sun, 16 Jun 2019 13:26:11 +0000 (18:56 +0530)]
Use case insensitive version sort to compare

5 years agoMerge pull request #284 from anitagraham/docs
Mischievous Meerkat [Sun, 16 Jun 2019 03:53:34 +0000 (09:23 +0530)]
Merge pull request #284 from anitagraham/docs

Add clarification for usage of moving and copying selections

5 years agoAdd clarification for usage of moving and copying selections
Anita Graham [Sun, 16 Jun 2019 03:38:39 +0000 (11:38 +0800)]
Add clarification for usage of moving and copying selections

5 years agoWait and show command output when running a command
Arun Prakash Jana [Sat, 15 Jun 2019 16:17:37 +0000 (21:47 +0530)]
Wait and show command output when running a command

5 years agoUpdate deps
Arun Prakash Jana [Fri, 14 Jun 2019 03:22:17 +0000 (08:52 +0530)]
Update deps

5 years agoFix warning on CentOS 6 (refer to #282)
Arun Prakash Jana [Thu, 13 Jun 2019 00:37:53 +0000 (06:07 +0530)]
Fix warning on CentOS 6 (refer to #282)

5 years agoMerge pull request #280 from sjmulder/pr/sign-compare
Mischievous Meerkat [Wed, 12 Jun 2019 23:52:31 +0000 (05:22 +0530)]
Merge pull request #280 from sjmulder/pr/sign-compare

Fix sign conversion and comparison warnings

5 years agoMerge pull request #281 from sjmulder/pr/fwrite
Mischievous Meerkat [Wed, 12 Jun 2019 23:50:54 +0000 (05:20 +0530)]
Merge pull request #281 from sjmulder/pr/fwrite

Don't ignore fwrite errors

5 years agoDon't ignore fwrite errors
Sijmen J. Mulder [Wed, 12 Jun 2019 23:07:03 +0000 (01:07 +0200)]
Don't ignore fwrite errors

Fixes warning on CentOS 6:

  src/nnn.c:754: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

5 years agoFix sign conversion and comparison warnings
Sijmen J. Mulder [Wed, 12 Jun 2019 22:51:19 +0000 (00:51 +0200)]
Fix sign conversion and comparison warnings

Building on i386 (NetBSD or Debian):

  src/nnn.c: In function 'selectiontofd':
  src/nnn.c:783:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while (pos <= lastpos) {
               ^
  src/nnn.c:791:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (pos <= lastpos) {
             ^
  src/nnn.c: In function 'showcplist':
  src/nnn.c:823:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (pos && pos == copybufpos)
                   ^
  src/nnn.c: In function 'xlink':
  src/nnn.c:1955:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while (pos < copybufpos) {

5 years agoUpdate docs
Arun Prakash Jana [Wed, 12 Jun 2019 03:22:46 +0000 (08:52 +0530)]
Update docs

5 years agonnn is available on CRUX
Arun Prakash Jana [Wed, 12 Jun 2019 01:29:28 +0000 (06:59 +0530)]
nnn is available on CRUX

5 years agoSupprt exit on 'q'
Arun Prakash Jana [Mon, 10 Jun 2019 14:17:00 +0000 (19:47 +0530)]
Supprt exit on 'q'

5 years agoSupport XDG_CONFIG_HOME
Arun Prakash Jana [Sun, 9 Jun 2019 05:06:35 +0000 (10:36 +0530)]
Support XDG_CONFIG_HOME

5 years agoMove cd on quit file
Arun Prakash Jana [Fri, 7 Jun 2019 16:23:27 +0000 (21:53 +0530)]
Move cd on quit file

The new location is ~/.config/nnn/.lastd

5 years agoRemove retired config variable
Arun Prakash Jana [Fri, 7 Jun 2019 13:58:11 +0000 (19:28 +0530)]
Remove retired config variable

5 years agoUpdate plugins
Arun Prakash Jana [Fri, 7 Jun 2019 03:14:49 +0000 (08:44 +0530)]
Update plugins