From c00431134fbe76e9f66778890be7f5479be18e6b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 22 Dec 2019 15:34:04 +0100 Subject: [PATCH] bump version numbers and add a news item for the 4.7 release --- ChangeLog | 45 +++++++++++++++++++++++++++++++++++++++++++++ NEWS | 9 +++++++++ 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, 64 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index b004c7fc..2a45590d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,48 @@ +Changes between v4.6 and v4.7: +------------------------------ + +Benno Schulenberg (39): + build: add the uploading of PDF and cheatsheet to the release script + build: avoid three compiler warnings when using gcc-9.2 or newer + build: fix compilation for --enable-tiny --enable-wrapping + build: fix compilation on macOS, where 'st_mtim' is unknown + build: fix compilation when configured with --disable-justify + bump version numbers and add a news item for the 4.7 release + display: don't color the space that separates line numbers from text + docs: add or improve the 'description' meta tag in the two HTML pages + docs: add the 'lang' attribute in the right place to the two HTML pages + docs: mention that all keywords in a nanorc file should be in lowercase + docs: mention that a negative number after "+" counts from the end + gnulib: update to its current upstream state + input: make indent only when mark and cursor are on different lines + justify: distinguish between tabs and spaces when comparing indentation + justify: treat consecutive indentations that look the same as the same + linter: beep when trying to go beyond first or last message + rcfile: accept also function names and menu names only in lowercase + rcfile: accept only keywords in all lowercase, for speed of comparison + rcfile: demand that function 'exit' is bound in the file browser + syntax: nanohelp: colorize also ^/ as a possible keystroke + syntax: sh: recognize shell rc files also in dedicated directories + tweaks: avoid using strlen() where it is not needed + tweaks: drop M-Space and ^Space from the browser's key list + tweaks: improve two comments and the ordering of some operands + tweaks: move three functions to the file where they are used + tweaks: optimize the trimming of trailing whitespace + tweaks: remove a stray space + tweaks: rename a function, to get out of the way for another rename + tweaks: rename a function, to get rid of a useless suffix + tweaks: reshuffle a few lines, for brevity or speed or consistency + tweaks: reshuffle a few lines, for symmetry with the preceding function + tweaks: reshuffle a fragment of code, for efficiency + tweaks: reshuffle and rename a few things, to elide duplication + tweaks: reshuffle an item, to avoid a lone 'else' + tweaks: reshuffle two declarations, for compactness + tweaks: slightly streamline the search for a possible wrapping point + tweaks: trim or adjust some whitespace in HTML, and add two keywords + tweaks: unwrap a few lines, and move some strings to among their peers + wrapping: never break in the quoting part nor in the indentation part + + Changes between v4.5 and v4.6: ------------------------------ diff --git a/NEWS b/NEWS index f8faf04f..ef8d13ef 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +2019.12.23 - GNU nano 4.7 "Havikskruid" +• A will indent a marked region only when mark and cursor are + on different lines. +• Two indentations (any mix of tabs and spaces) are considered the + same when they look the same (that is: indent to the same level). +• When using --breaklonglines or ^J, a line will never be broken in + its leading whitespace or quoting. +• The keywords in nanorc files must be in lowercase. + 2019.11.29 - GNU nano 4.6 "And don't you eat that yellow snow" • The 'formatter' command has returned, bound by default to M-F. It allows running a syntax-specific command on the contents of diff --git a/configure.ac b/configure.ac index 3d53edab..bd45a2e2 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], [4.6], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [4.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 2e0ef983..a67ccf5d 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -88,7 +88,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 4.6. 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 4.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 879b7670..d8dc5f78 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 4.6" "November 2019" +.TH NANO 1 "version 4.7" "December 2019" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi index d641e951..586e2b10 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 4.6 -@set UPDATED November 2019 +@set VERSION 4.7 +@set UPDATED December 2019 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 4.6 +@subtitle version 4.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 4.6. +This manual documents the GNU @command{nano} editor, version 4.7. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index b7509ed1..22788789 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 4.6" "November 2019" +.TH NANORC 5 "version 4.7" "December 2019" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index 14832c9b..4f8fee3c 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 4.6" "November 2019" +.TH RNANO 1 "version 4.7" "December 2019" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh index 881cde24..c699048a 100755 --- a/roll-a-release.sh +++ b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="4.6" +VERSION="4.7" ./configure -C --enable-tiny && make && ./configure -C &&