From 713bab21ea06196bb1c758d8e9914e329571e4ef Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 26 May 2020 05:21:46 +0530 Subject: [PATCH] Prepare for release v3.2 --- CHANGELOG | 46 ++++++++++++++++++++++++++++++ README.md | 2 +- misc/auto-completion/fish/nnn.fish | 2 +- misc/auto-completion/zsh/_nnn | 2 +- misc/packagecore/packagecore.yaml | 20 ++++++------- nnn.1 | 2 +- src/nnn.c | 2 +- 7 files changed, 61 insertions(+), 15 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 7619d2ea..09155457 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,49 @@ +nnn v3.2 +2020-05-26 + +- an official logo +- previews + - config `NNN_FIFO` to write hovered file paths a previewer can read + - plugin `preview-tabbed`: [tabbed](https://tools.suckless.org/tabbed)/xembed based file previewer + - plugin `preview-tui`: simple TUI file previewer in tmux/xterm + - plugin `preview-kitty`: preview using kitty terminal's capabilities + - [live preview](https://github.com/jarun/nnn/wiki/Live-previews) configuration example +- find & list + - send list of files from (cmd run as) plugin to `nnn` + - plugin `finder`: find/fd/fzf/grep/ripgrep/fzf (in subtree) and list in `nnn` + - Right or l on symlink in list dir takes to target file +- persistent session option `-S` [for disk usage, run `nnn -T d` (see help)] +- hover on the file when a file path is passed as positional argument +- go to first file or match with ' (followed by ' or char) +- config `NNN_SEL` to specify custom selection file +- config `NNN_LOCKER` to specify locker program +- dim file details in detail mode +- call `chdir()` on directory change +- option `-l`: number of lines to move on mouse scroll +- graphical [keybind map](https://github.com/jarun/nnn/wiki/Usage#graphical-map) +- let `NNN_COLORS` override `NO_COLOR` +- plugins + - option `-P`: run plugin by key at start + - run plugins with Alt+key + - allow `NNN_PIPE` usage by commands run as plugin + - input format to `NNN_PIPE`: `` (see plugins doc) + - set `ctxcode` to `+` for smart context usage (next inactive, else current) + - `getplugs` to fetch plugins by installed version of `nnn` + - plugin `mimelist`: list files by mime type in subtree + - plugin `bookmarks`: named bookmarks using symlinks + - plugin `nbak`: backup `nnn` config + - `nuke` adds lowdown as alternative markdown viewer + - several plugin improvements +- fix broken screen on resize (see #520) +- fix broken version sort (see #550) +- fix list and pipe modes not working together +- fix multiple issues with listing files +- fix `@` shown in detail mode for symlink to dir +- fix listing files directly under `/` +- move to `-std=c11` + +------------------------------------------------------------------------------- + nnn v3.1 2020-04-13 diff --git a/README.md b/README.md index 642490f0..4134d20e 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Don't memorize! Arrows (or h j k l), - [Todd Yamakawa](https://github.com/toddyamakawa) - and other contributors -Visit the [ToDo list](https://github.com/jarun/nnn/issues/506) to contribute or see the features in progress. +Visit the [ToDo list](https://github.com/jarun/nnn/issues/594) to contribute or see the features in progress. ## Elsewhere diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish index ac6e462c..9939a5c6 100644 --- a/misc/auto-completion/fish/nnn.fish +++ b/misc/auto-completion/fish/nnn.fish @@ -11,7 +11,7 @@ else set sessions_dir $HOME/.config/nnn/sessions end -complete -c nnn -s a -d 'auto-setup NNN_FIFO' +complete -c nnn -s a -d 'auto-create NNN_FIFO' complete -c nnn -s A -d 'disable dir auto-select' complete -c nnn -s b -r -d 'bookmark key to open' -x -a '(echo $NNN_BMS | awk -F: -v RS=\; \'{print $1"\t"$2}\')' complete -c nnn -s c -d 'cli-only opener' diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn index d130b162..4504155d 100644 --- a/misc/auto-completion/zsh/_nnn +++ b/misc/auto-completion/zsh/_nnn @@ -9,7 +9,7 @@ setopt localoptions noshwordsplit noksharrays local -a args args=( - '(-a)-a[auto-setup NNN_FIFO]' + '(-a)-a[auto-create NNN_FIFO]' '(-A)-A[disable dir auto-select]' '(-b)-b[bookmark key to open]:key char' '(-c)-c[cli-only opener]' diff --git a/misc/packagecore/packagecore.yaml b/misc/packagecore/packagecore.yaml index d631d26a..01709828 100644 --- a/misc/packagecore/packagecore.yaml +++ b/misc/packagecore/packagecore.yaml @@ -128,16 +128,6 @@ packages: deps: - ncurses - readline - opensuse.tumbleweed: - builddeps: - - make - - gcc - - pkg-config - - readline-devel - - ncurses-devel - deps: - - libncurses6 - - libreadline7 opensuse15.1: builddeps: - make @@ -148,6 +138,16 @@ packages: deps: - libncurses6 - libreadline7 + opensuse.tumbleweed: + builddeps: + - make + - gcc + - pkg-config + - readline-devel + - ncurses-devel + deps: + - libncurses6 + - libreadline8 ubuntu14.04: builddeps: - make diff --git a/nnn.1 b/nnn.1 index 86a4d875..182fdd4a 100644 --- a/nnn.1 +++ b/nnn.1 @@ -1,4 +1,4 @@ -.Dd Apr 13, 2020 +.Dd May 26, 2020 .Dt NNN 1 .Os .Sh NAME diff --git a/src/nnn.c b/src/nnn.c index e9827fef..60580948 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -107,7 +107,7 @@ #include "dbg.h" /* Macro definitions */ -#define VERSION "3.1" +#define VERSION "3.2" #define GENERAL_INFO "BSD 2-Clause\nhttps://github.com/jarun/nnn" #define SESSIONS_VERSION 1