nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 1e9d12abc59e155daaeb939af0e6055c2998f02c
parent 3bce9fb755cd5c3da3f191a2d5466325a7a5630f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 23 Feb 2021 18:48:45 +0100

bump version numbers and add a news item for the 5.6 release

Diffstat:
MChangeLog | 58++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MIMPROVEMENTS | 1+
MNEWS | 13+++++++++++++
Mconfigure.ac | 2+-
Mdoc/faq.html | 2+-
Mdoc/nano.1 | 2+-
Mdoc/nano.texi | 8++++----
Mdoc/nanorc.5 | 2+-
Mdoc/rnano.1 | 2+-
Mroll-a-release.sh | 2+-
10 files changed, 82 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,61 @@ +Changes between v5.5 and v5.6: +------------------------------ + +Benno Schulenberg (52): + build: avoid a warning about duplicate symbol when building from tarball + build: detect a build from git also when building out of tree + build: include a workaround only for versions of ncurses that need it + bump version numbers and add a news item for the 5.6 release + color: do not look for another 'end' match after already finding one + color: give highlighted text its own color, to not look like marked text + color: recompile the file-probing regexes a little faster with REG_NOSUB + color: use bright yellow to highlight a search match + color: use inverse video for highlighting when there are no colors + debug: add timing instruments to cache precalculation and screen refresh + display: for a large paste or insertion, recalculate the multiline cache + docs: correct the description of --quickblank for the changed base value + docs: correct the formatting of a comment in the sample nanorc + docs: correct the word order for Alt+D in the cheat sheet -- it changed + docs: mention the new 'set highlightcolor' option + docs: remove all mentions of --markmatch and 'set markmatch' + docs: say that --minibar is modified by --constantshow and --stateflags + feedback: make Full Justify show a message also when using --minibar + gnulib: update to its current upstream state + minibar: show a message a little longer when --quickblank isn't used + minibar: show cursor position + character code only with --constantshow + minibar: show the state flags only when --stateflags is used + minibar: suppress the toggling feedback for M-C, but show it for M-Y/M-P + options: remove --markmatch and 'set markmatch', as the behavior is gone + painting: always do backtracking for the first row of the screen + painting: trigger a refresh when a second start match appears on a line + painting: trigger fewer unneeded full-screen refreshes + painting: when finding an end match, set its multidata right away + scrolling: keep centering after large paste, also when line numbers widen + search: just highlight the found occurrence, instead of marking it + search: make highlighting the standard, non-changeable behavior + tweaks: avoid the vague possibility of advancing beyond end-of-line + tweaks: be slightly more efficient in marking lines as WOULDBE + tweaks: call wattron()/wattroff() only when actually painting something + tweaks: correct a comment, improve another, and trim some verbosity + tweaks: don't bother comparing virgin multidata with current situation + tweaks: don't bother initializing freshly allocated multidata + tweaks: don't bother wiping the multidata before recomputing it + tweaks: elide a function that is now just one line + tweaks: frob a condition, to be more concise, and reshuffle another + tweaks: frob some comments, and adjust indentation after previous change + tweaks: frob some comments, and reshuffle two fragments of code + tweaks: frob two fragments of code, to be more readable + tweaks: make a skipping condition more precise + tweaks: remove an old fix that was made superfluous by a recent fix + tweaks: remove a strangely placed warning + tweaks: rename six symbols, to be more straightforward + tweaks: reshuffle some code, and reduce the scope of a variable + tweaks: reshuffle three conditions into a better order + tweaks: rewrap and reindent a few lines + tweaks: rewrap two lines, for esthetics + tweaks: stop evaluating a rule when the match is offscreen to the right + + Changes between v5.4 and v5.5: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS @@ -2,6 +2,7 @@ Improvements in GNU nano ======================== Since 5.0: + - A search highlights the found text, in black on yellow by default. - Option --minibar reduces the interface to a bottom bar with basic info. - The cursor skips over combining characters, <Del> deletes them together with the character they combine with, but <Bsp> deletes them separately. diff --git a/NEWS b/NEWS @@ -1,3 +1,16 @@ +2021.02.24 - GNU nano 5.6 "Wielewaal" +• A search match gets highlighted (in black on yellow by default), + in addition to placing the cursor at the start of the match. + The color combination can be changed with 'set highlightcolor'. + By default the cursor is hidden until the next keystroke, but + it can be forced on with --showcursor / 'set showcursor'. +• Option --markmatch / 'set markmatch' has been removed. +• Cursor position and character code are displayed in the minibar + only when option --constantshow / 'set constantshow' is used, + and their display can be toggled with M-C. +• The state flags are displayed in the minibar only when option + --stateflags / 'set stateflags' is used. + 2021.01.14 - GNU nano 5.5 "Rebecca" • Option 'set minibar' makes nano suppress the title bar and instead show a bar with basic editing information at the bottom: file name diff --git a/configure.ac b/configure.ac @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see https://www.gnu.org/licenses/. -AC_INIT([GNU nano], [5.5], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [5.6], [nano-devel@gnu.org], [nano]) AC_CONFIG_SRCDIR([src/nano.c]) AC_CANONICAL_HOST AM_INIT_AUTOMAKE([1.14]) diff --git a/doc/faq.html b/doc/faq.html @@ -89,7 +89,7 @@ <h3><a name="1.3"></a>1.3. Why the name change from TIP?</h3> <blockquote><p>On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program &quot;establishes a full duplex terminal connection to a remote host&quot;, and was included with many older Unix systems (and newer ones like Solaris). The conflict was not noticed at first because there is no 'tip' utility included with most GNU/Linux distributions (where nano was developed).</p></blockquote> <h3><a name="1.4"></a>1.4. What is the current version of nano?</h3> -<blockquote><p>The current version of nano <i>should</i> be <b>5.5</b>. Of course, you should always check the <a href="https://nano-editor.org/">nano homepage</a> to see what the latest and greatest version is.</p></blockquote> +<blockquote><p>The current version of nano <i>should</i> be <b>5.6</b>. Of course, you should always check the <a href="https://nano-editor.org/">nano homepage</a> to see what the latest and greatest version is.</p></blockquote> <h3><a name="1.5"></a>1.5. I want to read the man page without having to download the program!</h3> <blockquote><p>Jeez, demanding, aren't we? Okay, look <a href="https://nano-editor.org/dist/latest/nano.1.html">here</a>.</p></blockquote> <hr width="100%"> diff --git a/doc/nano.1 b/doc/nano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.TH NANO 1 "version 5.5" "January 2021" +.TH NANO 1 "version 5.6" "February 2021" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 5.5 -@set UPDATED January 2021 +@set VERSION 5.6 +@set UPDATED February 2021 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 5.5 +@subtitle version 5.6 @author Chris Allegretta @page @@ -63,7 +63,7 @@ e-mail: @email{chrisa@@asty.org}@* @node Top @top -This manual documents the GNU @command{nano} editor, version 5.5. +This manual documents the GNU @command{nano} editor, version 5.6. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.TH NANORC 5 "version 5.5" "January 2021" +.TH NANORC 5 "version 5.6" "February 2021" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.TH RNANO 1 "version 5.5" "January 2021" +.TH RNANO 1 "version 5.6" "February 2021" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="5.5" +VERSION="5.6" ./configure -C --enable-tiny && make && ./configure -C &&