]>
Sergey Matveev's repositories - nnn.git/log
Arun Prakash Jana [Mon, 21 Oct 2019 01:25:19 +0000 (06:55 +0530)]
Change spaces to tab
Arun Prakash Jana [Sun, 20 Oct 2019 14:11:55 +0000 (19:41 +0530)]
Fix #366: update docs
Arun Prakash Jana [Sun, 20 Oct 2019 14:07:35 +0000 (19:37 +0530)]
Fix #366
Arun Prakash Jana [Sun, 20 Oct 2019 13:49:25 +0000 (19:19 +0530)]
Refactor fixes
Arun Prakash Jana [Sun, 20 Oct 2019 00:05:41 +0000 (05:35 +0530)]
Refactor
Arun Prakash Jana [Sat, 19 Oct 2019 07:55:50 +0000 (13:25 +0530)]
Refactor cp, mv, cp-mv as, rm
Arun Prakash Jana [Sat, 19 Oct 2019 03:31:23 +0000 (09:01 +0530)]
Refactor screen move
Arun Prakash Jana [Sat, 19 Oct 2019 03:13:32 +0000 (08:43 +0530)]
Refactor current directory removal
Arun Prakash Jana [Sat, 19 Oct 2019 01:30:04 +0000 (07:00 +0530)]
Clean up plugin handling code
Arun Prakash Jana [Fri, 18 Oct 2019 23:44:18 +0000 (05:14 +0530)]
Update docs
Arun Prakash Jana [Fri, 18 Oct 2019 22:31:46 +0000 (04:01 +0530)]
Update docs on session
Anna Arad [Fri, 18 Oct 2019 22:11:39 +0000 (01:11 +0300)]
Implementing sessions support (#360)
* Initial commit of sessions implementation
* Reduce code duplication
* Move load session to program flag -e
* Fix context initialization problem when loading session
* Add pinned directory to session and reduce session file size
* Make load_session print an error if exists and few minor adjustments
* Refactor session's file structure
* Initialize required structures in load_session before loading
* Add load session dynamically, restore last session, and extra fixes
* Fix indentation
* Add sessions documentation to man page
* Update fish completions with sessions and make some improvements
* Move to single keybinding session management and add help info
* ESC when asked to insert session name behaves better
* Add sessions completion for bash
* Remove pinned dir from session and minor code refactors
Arun Prakash Jana [Thu, 17 Oct 2019 18:05:49 +0000 (23:35 +0530)]
Use a single keybind for cp/mv as
Arun Prakash Jana [Wed, 16 Oct 2019 02:59:49 +0000 (08:29 +0530)]
Combine related cases together
Sijmen J. Mulder [Wed, 16 Oct 2019 01:37:45 +0000 (03:37 +0200)]
Fix build (and more) on SmartOS (#363)
* Define _XOPEN_SOURCE_EXTENDED on SmartOS
Enables wide ncurses.
* SmartOS has alloca() in alloca.h
* SmartOS does not have sig_t
* dprintf() is not available on SmartOS
So replace its usage with fprintf.
* SmartOS has no d_type
* SmartOS has no CLOCK_MONOTONIC_RAW
* SmartOS has no O_DIRECTORY
* Work around SmartOS not having mime detection
* Missing comma
Sijmen J. Mulder [Wed, 16 Oct 2019 01:31:19 +0000 (03:31 +0200)]
Fix strftime() buffer overflow (#362)
If the formatted string is longer than 17 characters the string won't
be null terminated, causing gibberish to be printed on the status line
and possibly worse.
This occurs with my current locale in which a date is printed as such:
2019-okt.-15 19:26
Which is 18 characters.
Arun Prakash Jana [Tue, 15 Oct 2019 00:45:32 +0000 (06:15 +0530)]
Simplify functions
Arun Prakash Jana [Tue, 15 Oct 2019 00:26:34 +0000 (05:56 +0530)]
Minor reformat
Arun Prakash Jana [Mon, 14 Oct 2019 22:47:12 +0000 (04:17 +0530)]
Improve readibility
Arun Prakash Jana [Mon, 14 Oct 2019 22:17:57 +0000 (03:47 +0530)]
Minor refactor
Arun Prakash Jana [Mon, 14 Oct 2019 17:15:19 +0000 (22:45 +0530)]
Add function to count newlines in file
Arun Prakash Jana [Mon, 14 Oct 2019 16:38:07 +0000 (22:08 +0530)]
Fix build break on macOS
KlzXS [Mon, 14 Oct 2019 16:36:45 +0000 (18:36 +0200)]
Added copy/move-as (copy/move and rename) (#356)
* Added copy/move-as (copy/move and rename)
* Little refactorings
* Also handle selection file for cpmv_rename()
Arun Prakash Jana [Mon, 14 Oct 2019 12:28:16 +0000 (17:58 +0530)]
Use a macro for readability
0xACE [Mon, 14 Oct 2019 12:25:04 +0000 (14:25 +0200)]
Mouseclicks are no longer delayed (#353)
This patch changes the mouseinterval to 0. And handles detection of
doubleclicking events internally.
This allows much faster response times for mouse clicks as nnn no longer
has to wait for ncurses to confirm what type of click it was.
It introduces a new config setting for changing how many milliseconds it
may take for a double click to be registered.
Anna Arad [Mon, 14 Oct 2019 01:06:11 +0000 (04:06 +0300)]
suedit plugin (#359)
0xACE [Sun, 13 Oct 2019 15:23:32 +0000 (17:23 +0200)]
unmount() ask for target if not found (#358)
* unmount() ask for target if not found
unmount() now properly asks for which target to unmount if it cannot
automatically deduce which folder to unmount.
* no more automatic unmounts outside of cfgdir
Anna Arad [Sun, 13 Oct 2019 13:40:06 +0000 (16:40 +0300)]
Remove -Wno-unused-parameter and do cleanup (#357)
Arun Prakash Jana [Sun, 13 Oct 2019 11:58:02 +0000 (17:28 +0530)]
Pass path as second argument
Arun Prakash Jana [Sun, 13 Oct 2019 05:41:39 +0000 (11:11 +0530)]
gutenread: support epub
Anna Arad [Sat, 12 Oct 2019 21:37:53 +0000 (00:37 +0300)]
Makefile detect header change (#355)
Arun Prakash Jana [Sat, 12 Oct 2019 19:39:56 +0000 (01:09 +0530)]
Plugin to browse, download, read from Project Gutenberg
0xACE [Sat, 12 Oct 2019 19:18:50 +0000 (21:18 +0200)]
Check for alternative name for drag/drop exec (#354)
KDE dragon player collides with the name of the drag/drop dependency. On
archlinux the binary is renamed to `dragon-drag-and-drop`.
This change tries `dragon-drag-and-drop` before defaulting to `dragon`.
Arun Prakash Jana [Sat, 12 Oct 2019 17:32:44 +0000 (23:02 +0530)]
Optional fortune quotes in help/config page
Arun Prakash Jana [Sat, 12 Oct 2019 04:18:58 +0000 (09:48 +0530)]
Update docs
Arun Prakash Jana [Sat, 12 Oct 2019 03:14:58 +0000 (08:44 +0530)]
Fix build break
0xACE [Sat, 12 Oct 2019 02:25:30 +0000 (04:25 +0200)]
Added 2 plugins for drag and drop support (#352)
* Added 2 plugins for drag and drop support
These scripts uses https://github.com/mwh/dragon
and curl.
It allows nnn to drag and drop files either to other programs, or to
itself.
* added link to dependency and spelling
* added drag/drop-file scripts to readme table
Arun Prakash Jana [Fri, 11 Oct 2019 21:56:00 +0000 (03:26 +0530)]
Update to Ubuntu 18.04 install commands
Arun Prakash Jana [Fri, 11 Oct 2019 20:43:08 +0000 (02:13 +0530)]
Mount archives using archivemount
Arun Prakash Jana [Fri, 11 Oct 2019 18:56:34 +0000 (00:26 +0530)]
Remove unused param
Arun Prakash Jana [Fri, 11 Oct 2019 17:49:25 +0000 (23:19 +0530)]
Fix #350: cd on quit if NNN_TMPFILE is set
Arun Prakash Jana [Fri, 11 Oct 2019 15:56:03 +0000 (21:26 +0530)]
Update man page on -K
Arun Prakash Jana [Fri, 11 Oct 2019 15:49:51 +0000 (21:19 +0530)]
Fix build break
Arun Prakash Jana [Fri, 11 Oct 2019 15:29:22 +0000 (20:59 +0530)]
Update key collision detection
Anna Arad [Fri, 11 Oct 2019 14:11:56 +0000 (17:11 +0300)]
Implement a basic keybinding collision checker. (ToDo list #337) (#348)
Arun Prakash Jana [Fri, 11 Oct 2019 13:08:06 +0000 (18:38 +0530)]
Fix #351: reduce prompt length for new file/dir
Arun Prakash Jana [Thu, 10 Oct 2019 13:54:42 +0000 (19:24 +0530)]
Document edit selection
KlzXS [Thu, 10 Oct 2019 13:07:16 +0000 (15:07 +0200)]
Implemented edit selection buffer (#345)
* Implemented edit selection buffer
* Added checks and changed keybind
* Forgot check and style fixes
* Don't work late at night again
You forget things when you're tired
Arun Prakash Jana [Thu, 10 Oct 2019 03:00:17 +0000 (08:30 +0530)]
Fix #342: mention as Lead key in docs
Mischievous Meerkat [Wed, 9 Oct 2019 15:54:40 +0000 (21:24 +0530)]
Merge pull request #347 from rindeal/make-fix
allow multiple make targets being specified at once
Jan Chren (rindeal) [Wed, 9 Oct 2019 15:45:40 +0000 (17:45 +0200)]
allow multiple make targets being specified at once
Mischievous Meerkat [Wed, 9 Oct 2019 15:14:46 +0000 (20:44 +0530)]
Merge pull request #344 from rindeal/make
do build configuration with variables instead of targets
Jan Chren (rindeal) [Tue, 8 Oct 2019 14:24:40 +0000 (16:24 +0200)]
do build configuration with variables instead of targets
Arun Prakash Jana [Wed, 9 Oct 2019 14:21:51 +0000 (19:51 +0530)]
Update doc on deselect, file size
Arun Prakash Jana [Tue, 8 Oct 2019 14:15:29 +0000 (19:45 +0530)]
Update doc
Arun Prakash Jana [Mon, 7 Oct 2019 20:17:52 +0000 (01:47 +0530)]
Remove obsolete troubleshooting note
Arun Prakash Jana [Mon, 7 Oct 2019 11:01:50 +0000 (16:31 +0530)]
Fix #338: export current file as $NNN
Arun Prakash Jana [Sun, 6 Oct 2019 14:49:22 +0000 (20:19 +0530)]
Prepare for release v2.7
Arun Prakash Jana [Sun, 6 Oct 2019 14:22:30 +0000 (19:52 +0530)]
Update docs
Arun Prakash Jana [Sun, 6 Oct 2019 13:27:15 +0000 (18:57 +0530)]
Update auto-complete scripts
Arun Prakash Jana [Sun, 6 Oct 2019 07:03:03 +0000 (12:33 +0530)]
Update ToDo list link
Arun Prakash Jana [Sat, 5 Oct 2019 01:56:18 +0000 (07:26 +0530)]
Rename target nolocale to noloc
Arun Prakash Jana [Sat, 5 Oct 2019 01:53:25 +0000 (07:23 +0530)]
Update help
Arun Prakash Jana [Sat, 5 Oct 2019 01:47:01 +0000 (07:17 +0530)]
Limit imput length at readline prompt
Arun Prakash Jana [Sat, 5 Oct 2019 01:36:32 +0000 (07:06 +0530)]
Key ^N replaces ^T to toggle nav mode
Arun Prakash Jana [Sat, 5 Oct 2019 01:29:43 +0000 (06:59 +0530)]
Add keys: Shift+TAB, '
Arun Prakash Jana [Fri, 4 Oct 2019 15:16:57 +0000 (20:46 +0530)]
Suppress permission denied messages
Arun Prakash Jana [Fri, 4 Oct 2019 15:04:37 +0000 (20:34 +0530)]
Use type that fits length
Arun Prakash Jana [Fri, 4 Oct 2019 13:15:21 +0000 (18:45 +0530)]
Use ix.io paste service
Arun Prakash Jana [Fri, 4 Oct 2019 02:34:46 +0000 (08:04 +0530)]
Remove redundant alignment requirement
Arun Prakash Jana [Fri, 4 Oct 2019 02:13:07 +0000 (07:43 +0530)]
Target nolocale: saves more on memory
Arun Prakash Jana [Fri, 4 Oct 2019 01:18:11 +0000 (06:48 +0530)]
fix CHANGELOG
Arun Prakash Jana [Thu, 3 Oct 2019 15:45:11 +0000 (21:15 +0530)]
Track up to 8 events
Arun Prakash Jana [Thu, 3 Oct 2019 12:44:51 +0000 (18:14 +0530)]
Remove weak check for CLI detection
Arun Prakash Jana [Wed, 2 Oct 2019 22:16:35 +0000 (03:46 +0530)]
Update man
Arun Prakash Jana [Wed, 2 Oct 2019 22:14:54 +0000 (03:44 +0530)]
Fix
Arun Prakash Jana [Wed, 2 Oct 2019 22:03:15 +0000 (03:33 +0530)]
Revert "Fix #334: Detect session type"
This reverts commit
e226e8c889e1a218f7ad2ecd669bc6ad00ccca22 .
Arun Prakash Jana [Wed, 2 Oct 2019 21:08:06 +0000 (02:38 +0530)]
Fix #334: Detect session type
Arun Prakash Jana [Wed, 2 Oct 2019 20:54:08 +0000 (02:24 +0530)]
Group dirs on top
Arun Prakash Jana [Wed, 2 Oct 2019 18:46:44 +0000 (00:16 +0530)]
Add plugin uidgid
Arun Prakash Jana [Wed, 2 Oct 2019 18:27:26 +0000 (23:57 +0530)]
Block range selection only when dir chanegs
Arun Prakash Jana [Wed, 2 Oct 2019 17:34:56 +0000 (23:04 +0530)]
Fix #334
Arun Prakash Jana [Wed, 2 Oct 2019 17:04:11 +0000 (22:34 +0530)]
Code refactor
Arun Prakash Jana [Wed, 2 Oct 2019 06:44:38 +0000 (12:14 +0530)]
^S is used by stty, use ^K
Arun Prakash Jana [Tue, 1 Oct 2019 02:05:54 +0000 (07:35 +0530)]
Update plugin viuimg
Arun Prakash Jana [Mon, 30 Sep 2019 23:00:58 +0000 (04:30 +0530)]
Update docs
Arun Prakash Jana [Mon, 30 Sep 2019 22:50:31 +0000 (04:20 +0530)]
SSHFS is optional dep
Arun Prakash Jana [Mon, 30 Sep 2019 21:48:21 +0000 (03:18 +0530)]
Add image
Arun Prakash Jana [Mon, 30 Sep 2019 21:25:40 +0000 (02:55 +0530)]
Fix crc8 match on range selection
Arun Prakash Jana [Mon, 30 Sep 2019 17:32:44 +0000 (23:02 +0530)]
Clear selection file on clear selection
Arun Prakash Jana [Mon, 30 Sep 2019 16:53:54 +0000 (22:23 +0530)]
Remove selmode indicator
Arun Prakash Jana [Mon, 30 Sep 2019 16:40:23 +0000 (22:10 +0530)]
Update program help
Arun Prakash Jana [Mon, 30 Sep 2019 16:05:52 +0000 (21:35 +0530)]
Get rid of selection mode. Plus associated changes.
- distinct keybinds for single entry, range or all selection
- selecting a file/range/all files would turn selection mode on
- single file/range or all selection appends to selection
- any operation (cp, mv, rm, plugin/file execution, cmd prompt, launch app, spawn
shell) on selection ends the selection mode
- selection buffer is cleared after mv, rm on selection
- repeat range selection on same file clears selection and exits seleciton mode
- basic check (won't work on dir reload) added to avoid duplicates in selection
Arun Prakash Jana [Mon, 30 Sep 2019 13:24:27 +0000 (18:54 +0530)]
Shortcut to list selection y is now M
Arun Prakash Jana [Mon, 30 Sep 2019 03:23:26 +0000 (08:53 +0530)]
Update docs on new selection shortcuts
Arun Prakash Jana [Mon, 30 Sep 2019 02:11:34 +0000 (07:41 +0530)]
End multi selection mode before link
Arun Prakash Jana [Mon, 30 Sep 2019 01:24:06 +0000 (06:54 +0530)]
key ^Y is now ^S, key ^K is now ^J, kwy ' is now m
Arun Prakash Jana [Mon, 30 Sep 2019 01:05:16 +0000 (06:35 +0530)]
Remove shortcut Leadq to quit context
Arun Prakash Jana [Sun, 29 Sep 2019 17:36:27 +0000 (23:06 +0530)]
Do not clear buffer on selection end
Arun Prakash Jana [Sun, 29 Sep 2019 17:29:27 +0000 (22:59 +0530)]
Use better keys for selection mode