diff --git a/ChangeLog b/ChangeLog index e0994ce8..c6ecb748 100644 --- 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 index 09c58d55..53f7725b 100644 --- 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, deletes them together with the character they combine with, but deletes them separately. diff --git a/NEWS b/NEWS index 1b7ae892..cf4cc049 100644 --- 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 index e0f78255..50440ef8 100644 --- 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 index 742def5b..8ecfeb24 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -89,7 +89,7 @@

1.3. Why the name change from TIP?

On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program "establishes a full duplex terminal connection to a remote host", 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).

1.4. What is the current version of nano?

-

The current version of nano should be 5.5. Of course, you should always check the nano homepage to see what the latest and greatest version is.

+

The current version of nano should be 5.6. Of course, you should always check the nano homepage to see what the latest and greatest version is.

1.5. I want to read the man page without having to download the program!

Jeez, demanding, aren't we? Okay, look here.


diff --git a/doc/nano.1 b/doc/nano.1 index ab2acbf0..64bc6364 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index 3a08478e..60e2fa52 100644 --- 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 index d015fe31..1182f4a8 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index fd764528..d9e68533 100644 --- a/doc/rnano.1 +++ b/doc/rnano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index 337cf7f9..f9923994 100755 --- 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 &&