]>
Sergey Matveev's repositories - nnn.git/log
Arun Prakash Jana [Sun, 18 Jul 2021 22:21:32 +0000 (03:51 +0530)]
Fix #1110: sanitize path from plugin
Arun Prakash Jana [Sun, 18 Jul 2021 20:22:44 +0000 (01:52 +0530)]
Clear filter early before running plugin
Arun Prakash Jana [Sun, 18 Jul 2021 06:15:50 +0000 (11:45 +0530)]
Selection-specific scratch buffer
Arun Prakash Jana [Sat, 17 Jul 2021 21:21:09 +0000 (02:51 +0530)]
Free allocated memory
Arun Prakash Jana [Sat, 17 Jul 2021 16:11:19 +0000 (21:41 +0530)]
Plugin suedit - preserve environment
Arun Prakash Jana [Sat, 17 Jul 2021 15:02:01 +0000 (20:32 +0530)]
fzopen - add option to open files in nuke
Arun Prakash Jana [Sat, 17 Jul 2021 14:17:53 +0000 (19:47 +0530)]
Merge plugin fzz into autojump
Arun Prakash Jana [Sat, 17 Jul 2021 08:17:08 +0000 (13:47 +0530)]
Remember the last command executed at prompt
Arun Prakash Jana [Sat, 17 Jul 2021 07:39:33 +0000 (13:09 +0530)]
Add macro for prompt
Arun Prakash Jana [Sat, 17 Jul 2021 07:35:37 +0000 (13:05 +0530)]
Use a simpler macro
Arun Prakash Jana [Fri, 16 Jul 2021 23:16:35 +0000 (04:46 +0530)]
Fix unused variable warning
Arun Prakash Jana [Fri, 16 Jul 2021 15:49:17 +0000 (21:19 +0530)]
Code reformat
Arun Prakash Jana [Fri, 16 Jul 2021 05:39:20 +0000 (11:09 +0530)]
Fix selection in /
Arun Prakash Jana [Thu, 15 Jul 2021 22:24:19 +0000 (03:54 +0530)]
Remove from selection when hovered entry is deleted
Arun Prakash Jana [Thu, 15 Jul 2021 20:50:28 +0000 (02:20 +0530)]
Ignore filter key if no results
Arun Prakash Jana [Thu, 15 Jul 2021 20:24:15 +0000 (01:54 +0530)]
Do not apply filter if directory is empty
Arun Prakash Jana [Thu, 15 Jul 2021 18:52:27 +0000 (00:22 +0530)]
Allocate PATH_MAX aligned memory size
Arun Prakash Jana [Thu, 15 Jul 2021 17:25:31 +0000 (22:55 +0530)]
Optimize repeat copy of same prefix
Arun Prakash Jana [Thu, 15 Jul 2021 14:42:07 +0000 (20:12 +0530)]
Optimize bulk selection
Arun Prakash Jana [Thu, 15 Jul 2021 13:25:03 +0000 (18:55 +0530)]
Invert optimization: allocate in a go
Arun Prakash Jana [Thu, 15 Jul 2021 06:15:32 +0000 (11:45 +0530)]
Show msg for both invert and select all
Arun Prakash Jana [Wed, 14 Jul 2021 20:36:11 +0000 (02:06 +0530)]
Optimize invert further
Arun Prakash Jana [Wed, 14 Jul 2021 15:34:02 +0000 (21:04 +0530)]
In-place invert optimization
Arun Prakash Jana [Tue, 13 Jul 2021 21:07:53 +0000 (02:37 +0530)]
Update docs
Arun Prakash Jana [Tue, 13 Jul 2021 16:16:18 +0000 (21:46 +0530)]
Update add to and invert selection logic
Arun Prakash Jana [Mon, 12 Jul 2021 19:37:11 +0000 (01:07 +0530)]
Scan for selection status on redraw()
Arun Prakash Jana [Sun, 11 Jul 2021 21:24:00 +0000 (02:54 +0530)]
Remove redundant macro
Arun Prakash Jana [Sun, 11 Jul 2021 19:00:41 +0000 (00:30 +0530)]
Remove redundant prompt
Terminator X [Sun, 11 Jul 2021 18:28:58 +0000 (23:58 +0530)]
Merge pull request #1106 from KlzXS/persistent_selection
Use selbufpos instead of selbuflen
KlzXS [Sun, 11 Jul 2021 18:16:28 +0000 (20:16 +0200)]
Use selbufpos instead of selbuflen
KlzXS [Sat, 10 Jul 2021 01:49:39 +0000 (03:49 +0200)]
Persistent selection (#1086)
* Add persistsel
* Fix Makefile spacing
* Update Haiku Makefile
* Do a double pass on inversion
* Split single and double pass for easier testing
Removed lastappendpos
Eliminate suffix matches
* Check if dir is in selection before searching for files
Fix double pass
* Switch to mainline
Optimize memory moving
Handle large selection in invertsel()
Going forward with 2pass
* Update Makefiles
* Fix style
* Move forward declarations
* Remove edit selection in inversion
Replace buf with g_buf to fix CI
Fix CI
* Style changes
* Comment the code
* Style fixes
* Fix infinite loop
* Fix crash on empty invert
* Fix off-by-one-in-two-places
Off-by-twice?
* Adopt changes from master
* Only check directory if entry in it is selected
* Better organization
* Wrong variable
* Tiny optimizations
* Style fixes and updated man page
* Update man page
* Remember where we found directory path in selection
Add in progress message on invert
Arun Prakash Jana [Fri, 9 Jul 2021 20:38:48 +0000 (02:08 +0530)]
Fix #1102: suppress clang unused variable warnings
Arun Prakash Jana [Fri, 9 Jul 2021 15:30:46 +0000 (21:00 +0530)]
Fix #1101: confirm trashing files
Arun Prakash Jana [Tue, 6 Jul 2021 17:55:49 +0000 (23:25 +0530)]
Fix #1098: clear selmode on last deselect
Piña Colada [Tue, 6 Jul 2021 12:18:25 +0000 (17:48 +0530)]
Merge pull request #1095 from luukvbaal/patches
Remove gitstatus libgit2 dependency
Luuk van Baal [Tue, 6 Jul 2021 00:01:19 +0000 (02:01 +0200)]
Remove gitstatus libgit2 dependency
Piña Colada [Mon, 5 Jul 2021 16:59:03 +0000 (22:29 +0530)]
Merge pull request #1094 from jarun/preview-tui
Allow tmux inside kitty without KITTY_LISTEN_ON set
Luuk van Baal [Mon, 5 Jul 2021 13:40:18 +0000 (15:40 +0200)]
Allow tmux inside kitty without KITTY_LISTEN_ON set
Piña Colada [Fri, 2 Jul 2021 23:54:23 +0000 (05:24 +0530)]
Merge pull request #1091 from luukvbaal/adjust_cols
Move adjust_cols and no else braces
Luuk van Baal [Fri, 2 Jul 2021 22:50:51 +0000 (00:50 +0200)]
Move ajust cols and no else braces
Arun Prakash Jana [Fri, 2 Jul 2021 15:04:02 +0000 (20:34 +0530)]
Fix off_t to uint_t comparison warning
The man page says:
"blkcnt_t and off_t shall be signed integer types."
https://man7.org/linux/man-pages/man0/sys_types.h.0p.html
Piña Colada [Thu, 1 Jul 2021 09:26:53 +0000 (14:56 +0530)]
Merge pull request #1090 from luukvbaal/imgview
Imgview fix ucollage directory
Luuk van Baal [Thu, 1 Jul 2021 09:23:57 +0000 (11:23 +0200)]
Imgview fix ucollage directory
Piña Colada [Thu, 1 Jul 2021 09:06:07 +0000 (14:36 +0530)]
Merge pull request #1084 from luukvbaal/imgview
Imgview open hovered image and reuse NNN_PREVIEWDIR
Luuk van Baal [Thu, 1 Jul 2021 00:26:47 +0000 (02:26 +0200)]
Imgview hovered image/thumbnail dir
Piña Colada [Wed, 30 Jun 2021 14:21:50 +0000 (19:51 +0530)]
Merge pull request #1088 from 1bman/1bman-patch-1
fix icons.h typo
1bman [Wed, 30 Jun 2021 08:55:01 +0000 (14:25 +0530)]
fix icons.h typo
fixed some typo
Piña Colada [Tue, 29 Jun 2021 18:29:30 +0000 (23:59 +0530)]
Merge pull request #1087 from KlzXS/debug
Fix debug line number
KlzXS [Tue, 29 Jun 2021 17:49:59 +0000 (19:49 +0200)]
Fix debug line number
Arun Prakash Jana [Sun, 27 Jun 2021 18:46:32 +0000 (00:16 +0530)]
Try to unmount hovered local dir
Arun Prakash Jana [Sun, 27 Jun 2021 15:47:33 +0000 (21:17 +0530)]
Reformat help
Piña Colada [Sun, 27 Jun 2021 15:24:42 +0000 (20:54 +0530)]
Merge pull request #1082 from tonijarjour/patch-1
Make sxiv play gifs automatically
Arun Prakash Jana [Sun, 27 Jun 2021 15:13:26 +0000 (20:43 +0530)]
Reformat help
Toni Jarjour [Sun, 27 Jun 2021 15:11:39 +0000 (11:11 -0400)]
Make sxiv play gifs automatically
Arun Prakash Jana [Fri, 25 Jun 2021 18:27:28 +0000 (23:57 +0530)]
Update docs
Arun Prakash Jana [Thu, 24 Jun 2021 18:24:43 +0000 (23:54 +0530)]
Update readme
Arun Prakash Jana [Wed, 23 Jun 2021 18:12:10 +0000 (23:42 +0530)]
Remove redundant param
Arun Prakash Jana [Tue, 22 Jun 2021 15:21:23 +0000 (20:51 +0530)]
Fix memory leak
Arun Prakash Jana [Tue, 22 Jun 2021 14:57:07 +0000 (20:27 +0530)]
Simplify mkpath()
KlzXS [Sun, 20 Jun 2021 20:09:45 +0000 (22:09 +0200)]
Replace fd dependency with find (#1078)
Arun Prakash Jana [Sun, 20 Jun 2021 16:46:09 +0000 (22:16 +0530)]
Break long macros
Arun Prakash Jana [Sun, 20 Jun 2021 16:11:16 +0000 (21:41 +0530)]
One notify FIFO mode at a time
Arun Prakash Jana [Sun, 20 Jun 2021 15:55:22 +0000 (21:25 +0530)]
Fix patch break
Arun Prakash Jana [Sun, 20 Jun 2021 14:59:41 +0000 (20:29 +0530)]
Improve alignment
Arun Prakash Jana [Sun, 20 Jun 2021 13:50:10 +0000 (19:20 +0530)]
Add range check
Arun Prakash Jana [Sun, 20 Jun 2021 10:15:03 +0000 (15:45 +0530)]
Fix alignments
Arun Prakash Jana [Sun, 20 Jun 2021 08:59:07 +0000 (14:29 +0530)]
Fix patch break
Arun Prakash Jana [Sun, 20 Jun 2021 08:53:13 +0000 (14:23 +0530)]
Alphabetically order internal states
Arun Prakash Jana [Sun, 20 Jun 2021 07:19:24 +0000 (12:49 +0530)]
Shared previewer and explorer
Arun Prakash Jana [Sun, 20 Jun 2021 04:55:40 +0000 (10:25 +0530)]
Print version to stdout
Arun Prakash Jana [Sat, 19 Jun 2021 15:34:21 +0000 (21:04 +0530)]
Fix compilation error when FIFO is disabled
Arun Prakash Jana [Sat, 19 Jun 2021 15:06:16 +0000 (20:36 +0530)]
Use macro in all places
Arun Prakash Jana [Sat, 19 Jun 2021 13:09:35 +0000 (18:39 +0530)]
Use easily identifiable type
Arun Prakash Jana [Sat, 19 Jun 2021 11:53:28 +0000 (17:23 +0530)]
Restore statusbar after unmounting remote/archive
Arun Prakash Jana [Sat, 19 Jun 2021 09:46:24 +0000 (15:16 +0530)]
Fix created archive not highlighted
Arun Prakash Jana [Sat, 19 Jun 2021 08:19:48 +0000 (13:49 +0530)]
Default to CWD for atool
Arun Prakash Jana [Sat, 19 Jun 2021 07:30:50 +0000 (13:00 +0530)]
Do not open current dir in nez context when extracting archive
Arun Prakash Jana [Sat, 19 Jun 2021 05:45:17 +0000 (11:15 +0530)]
Fix #1076: show file name in archive extract prompt
Arun Prakash Jana [Fri, 18 Jun 2021 20:18:14 +0000 (01:48 +0530)]
Fix returns
Arun Prakash Jana [Fri, 18 Jun 2021 14:49:27 +0000 (20:19 +0530)]
Fix broken window due to double spawn
Michael Lan [Thu, 17 Jun 2021 23:51:51 +0000 (16:51 -0700)]
Refactor fifo code and add explorer (#1075)
* Refactor fifo code and add explorer
* add explorer option and flag
* notify explorer fifo on selection
* close explorer fifo file descriptor
* Try to create explorer fifo if doesn't exist
This doesn't quite work
* Allow uncreated fifos
* delete persistence fifo on cleanup
with correct formatting
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
* Work correctly with NOFIFO
* Refactor variable names
* fix
* Use -X flag for explorer mode
* Update manpage with explorer mode
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
luukvbaal [Thu, 17 Jun 2021 23:32:44 +0000 (01:32 +0200)]
Update gitstatus patch (#1074)
Arun Prakash Jana [Thu, 17 Jun 2021 22:16:50 +0000 (03:46 +0530)]
sigwinch test
Arun Prakash Jana [Wed, 16 Jun 2021 19:01:26 +0000 (00:31 +0530)]
Revert "Remove redundant old state handlers"
This reverts commit
1590103ab7fbb87f05c8b3cc1b3db14d9f9a11c7.
Arun Prakash Jana [Wed, 16 Jun 2021 18:14:24 +0000 (23:44 +0530)]
Update docs
Arun Prakash Jana [Tue, 15 Jun 2021 18:47:01 +0000 (00:17 +0530)]
Remove redundant old state handlers
Arun Prakash Jana [Tue, 15 Jun 2021 15:22:59 +0000 (20:52 +0530)]
Get rid of file stream functions
Arun Prakash Jana [Tue, 15 Jun 2021 13:32:10 +0000 (19:02 +0530)]
Code reformat, use basic IO functions
Arun Prakash Jana [Tue, 15 Jun 2021 09:49:06 +0000 (15:19 +0530)]
Use raw functions instead of file functions
Arun Prakash Jana [Tue, 15 Jun 2021 09:08:08 +0000 (14:38 +0530)]
Fix #1072: use internal tmp file to page output
Arun Prakash Jana [Mon, 14 Jun 2021 16:42:55 +0000 (22:12 +0530)]
Remove redundant newline
Arun Prakash Jana [Sun, 13 Jun 2021 18:20:28 +0000 (23:50 +0530)]
Extract archive to, mount remove/archive in smart context
Arun Prakash Jana [Sun, 13 Jun 2021 08:43:39 +0000 (14:13 +0530)]
Support archive "extract to..."
Arun Prakash Jana [Sun, 13 Jun 2021 05:08:12 +0000 (10:38 +0530)]
Update docs
Arun Prakash Jana [Sun, 13 Jun 2021 03:34:49 +0000 (09:04 +0530)]
Fix patch incompatibility
Arun Prakash Jana [Sat, 12 Jun 2021 20:33:47 +0000 (02:03 +0530)]
Remove option from auto-complete
Arun Prakash Jana [Sat, 12 Jun 2021 19:52:36 +0000 (01:22 +0530)]
Config NNN_HELP to show output of a program on top of help page
Arun Prakash Jana [Sat, 12 Jun 2021 19:06:45 +0000 (00:36 +0530)]
Use netbsd-curses v0.3.2
Arun Prakash Jana [Sat, 12 Jun 2021 18:46:09 +0000 (00:16 +0530)]
Fix #1067: handle SIGWINCH the ncurses way
Ref: https://invisible-island.net/ncurses/ncurses-intro.html#xterm
Anna Arad [Sat, 12 Jun 2021 17:32:48 +0000 (19:32 +0200)]
Add force-tty capability to spawn and set pagers to it (#1070)
Co-authored-by: Anna Arad <annagram@shards.me>