From 713bab21ea06196bb1c758d8e9914e329571e4ef Mon Sep 17 00:00:00 2001
From: Arun Prakash Jana <engineerarun@gmail.com>
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  |  6 ++--
 nnn.1                              |  2 +-
 src/nnn.c                          |  2 +-
 7 files changed, 54 insertions(+), 8 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 7619d2e..0915545 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`
+  - <kbd>Right</kbd> or <kbd>l</kbd> 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 <kbd>'</kbd> (followed by <kbd>'</kbd> or <kbd>char</kbd>)
+- 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 <kbd>Alt+key</kbd>
+  - allow `NNN_PIPE` usage by commands run as plugin
+  - input format to `NNN_PIPE`: `<ctxcode><opcode><data>` (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 642490f..4134d20 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ Don't memorize! Arrows (or <kbd>h</kbd> <kbd>j</kbd> <kbd>k</kbd> <kbd>l</kbd>),
 - [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 ac6e462..9939a5c 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 d130b16..4504155 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 d631d26..0170982 100644
--- a/misc/packagecore/packagecore.yaml
+++ b/misc/packagecore/packagecore.yaml
@@ -128,7 +128,7 @@ packages:
     deps:
       - ncurses
       - readline
-  opensuse.tumbleweed:
+  opensuse15.1:
     builddeps:
       - make
       - gcc
@@ -138,7 +138,7 @@ packages:
     deps:
       - libncurses6
       - libreadline7
-  opensuse15.1:
+  opensuse.tumbleweed:
     builddeps:
       - make
       - gcc
@@ -147,7 +147,7 @@ packages:
       - ncurses-devel
     deps:
       - libncurses6
-      - libreadline7
+      - libreadline8
   ubuntu14.04:
     builddeps:
       - make
diff --git a/nnn.1 b/nnn.1
index 86a4d87..182fdd4 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 e9827fe..6058094 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