From a69a8ce3ca2acf3370a9b163cf8cbf5abd4462c4 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 29 Apr 2021 09:55:15 +0200 Subject: [PATCH] bump version numbers and add a news item for the 5.7 release --- ChangeLog | 74 +++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 8 +++++ configure.ac | 2 +- doc/faq.html | 2 +- doc/nano.1 | 2 +- doc/nano.texi | 8 ++--- doc/nanorc.5 | 2 +- doc/rnano.1 | 2 +- roll-a-release.sh | 2 +- 9 files changed, 92 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index add0effa..3a40f0f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,77 @@ +Changes between v5.6.1 and v5.7: +-------------------------------- + +Benno Schulenberg (62): + build: drop the check for two functions that we don't use any more + build: fix compilation for --enable-tiny plus --enable-multibuffer + build: fix compilation when configured with --disable-multibuffer + build: fix compilation when configured with --enable-tiny + bump version numbers and add a news item for the 5.7 release + chars: implement mblen() ourselves, for efficiency + chars: implement mbtowc() ourselves, for more efficiency + chars: work around a UTF-8 bug in glibc, to display invalid codes right + chars: work around the wrong private-use-character widths on OpenBSD + display: avoid determining twice from and until where to draw each row + display: make the output of --constantshow less jittery + editing: prevent the pointer for the top row from becoming dangling + feedback: upon first switch to a buffer, show its error message (if any) + files: always register the format, also when the file is unwritable + files: create a new buffer earlier, so that error messages can be stored + files: when Mac format has been detected, stay with it + gnulib: pull in the fix for a build problem on older Debian + gnulib: update to its current upstream state + indicator: adjust the size to the number of visible lines, not chunks + input: accept Unicode codes for non-characters as valid, since they are + memory: do not allocate space for multidata when it's already allocated + memory: fix an off-by-one error to free also the last line in a group + memory: prevent a use-after-free when the user respects a lock file + oops: that doesn't work -- you can't break out of two for loops at once + options: retire the obsolete 'smooth', 'morespace', and 'nopauses' + softwrap: avoid time-consuming computations, to burden large files less + startup: do not crash when trying to open a device or directory + startup: do not store an error message in the record of another buffer + startup: save the compiled file-matching regexes, to avoid recompiling + startup: show the helpful message only when ^G has not been rebound + syntax: c: colorize also labels that contain digits, and uncolorize colon + syntax: po: improve the coloring of format specifiers + syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return + tweaks: adjust and improve one comment, and frob another + tweaks: adjust two comments, and reshuffle two fragments + tweaks: avoid a warning on newer compilers, by writing an extra byte + tweaks: avoid calling extra_chunks_in() when not softwrapping + tweaks: avoid converting a file name for more than will fit on screen + tweaks: avoid parsing a multibyte character twice + tweaks: condense three comments, drop another, and rewrap a line + tweaks: drop unneeded braces and adjust indentation after previous change + tweaks: elide a call of strlen() for every row + tweaks: elide a function that is now basically just two lines + tweaks: elide an unneeded resetting NULL call to wctomb() + tweaks: elide a small function that is used just once + tweaks: elide the pointless is_valid_unicode() function + tweaks: elide two more instances of useless character copying + tweaks: improve a couple of comments + tweaks: morph a function into what it is actually used for + tweaks: normalize the indentation after an earlier change + tweaks: put the most likely condition first, for a quicker return + tweaks: reduce the maximum character length from six bytes to four + tweaks: remove a misplaced (and nested) #ifdef + tweaks: rename a variable, away from an abbreviation + tweaks: rename a variable, for contrast with another + tweaks: reshuffle a comment, and put the main extension first + tweaks: reshuffle a fragment of code, to prepare for the next change + tweaks: reshuffle two conditions, to have the most unlikely one first + tweaks: set the file format only when unset, so it doesn't need saving + tweaks: shorten a comment and trim an #ifdef + tweaks: simplify two fragments of code + tweaks: simplify two fragments of code, eliding useless character copying + +Hussam al-Homsi (1): + syntax: c: make the highlighting of '#include <...>' more compliant + +Mike Frysinger (1): + syntax: tcl: support Expect scripts too + + Changes between v5.6 and v5.6.1: -------------------------------- diff --git a/NEWS b/NEWS index 18891c15..1484c08e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +2021.04.29 - GNU nano 5.7 "Toți ceilalți arau câmpurile" +• The output of --constantshow (without --minibar) is more stable. +• When opening multiple buffers and there is an error message, this + message is shown again upon first switch to the relevant buffer. +• The position and size of the indicator now follow actual lines, + instead of visual lines when in softwrap mode, meaning that the + size of the indicator can change when scrolling in softwrap mode. + 2021.03.03 - GNU nano 5.6.1 "Geelgors" • Search matches are properly colorized in softwrap mode too. • Option 'highlightcolor' has been renamed to 'spotlightcolor'. diff --git a/configure.ac b/configure.ac index 52cb31c6..1c100cb3 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.6.1], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [5.7], [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 911d002e..af9d0506 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.6.1. 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.7. 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 4b0d87c6..9685e79b 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.6.1" "March 2021" +.TH NANO 1 "version 5.7" "April 2021" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi index c03269ca..d9b6f082 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 5.6.1 -@set UPDATED March 2021 +@set VERSION 5.7 +@set UPDATED April 2021 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 5.6.1 +@subtitle version 5.7 @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.6.1. +This manual documents the GNU @command{nano} editor, version 5.7. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 3f7fb708..5a1eb592 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.6.1" "March 2021" +.TH NANORC 5 "version 5.7 "April 2021" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index c447be5b..715f8560 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.6.1" "March 2021" +.TH RNANO 1 "version 5.7" "April 2021" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh index 2d47ea55..65a5a680 100755 --- a/roll-a-release.sh +++ b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="5.6.1" +VERSION="5.7" ./configure -C --enable-tiny && make && ./configure -C &&