From 9a2ef3a542ca8bcf3ad76a6ed5f297ad676fd28d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 3 Oct 2019 14:21:09 +0200 Subject: [PATCH] bump version numbers and add a news item for the 4.5 release --- ChangeLog | 72 +++++++++++++++++++++++++++++++++++++++++++++++ IMPROVEMENTS | 1 + NEWS | 6 ++++ 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 +- 10 files changed, 89 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6104ae6c..5c82866f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,75 @@ +Changes between v4.4 and v4.5: +------------------------------ + +Benno Schulenberg (60): + bindings: add a dedicated keycode for for when a region is marked + bump version numbers and add a news item for the 4.4 release + color: don't concatenate an absolute path with the working directory + docs: add two examples of the 'tabgives' command to the sample nanorc + docs: describe the new syntax-specific 'tabgives' command + docs: mark the undoing of justifications as done in the TODO list + docs: mention that gcc must be at least version 5.0 + gnulib: update to its current upstream state + mouse: make the clickable width of menu items more consistent + new feature: a 'tabgives' command to define what the Tab key produces + search: after search-at-startup, store the column (for vertical movement) + tweaks: add a translator hint, and correct two others + tweaks: add some translator hints, be more precise on permissible length + tweaks: add two hints for translators, to try and help avoid mistakes + tweaks: adjust indentation after previous change, reshuffle declarations + tweaks: avoid a comparison between signed and unsigned [coverity] + tweaks: avoid leaking memory when finding an invalid string [coverity] + tweaks: avoid recomputing a maximum value every time round the loop + tweaks: don't burden all menus with something meant for the WriteOut menu + tweaks: elide a function from a non-UTF8 build + tweaks: elide two multiplications with something that is always 1 + tweaks: frob a few comments + tweaks: improve a bunch of comments, and reshuffle some declarations + tweaks: improve a handful of comments, and reduce the needed padding + tweaks: mark as 'const' a parameter that takes fixed strings [coverity] + tweaks: meld two calls of free() into a single one, to elide an 'else' + tweaks: move a fragment of common code into the appropriate function + tweaks: move a function to a better file, to be amongst its kind + tweaks: move a function to before its callers and next to its kind + tweaks: move two functions to after the ones that they call + tweaks: remove some timing code that has served its purpose + tweaks: remove two superfluous macros, as sizeof(char) is always 1 + tweaks: rename a function, to be a bit more fitting + tweaks: rename another type, again to better fit the general pattern + tweaks: rename another type, to also better fit the general pattern + tweaks: rename another variable, for a better fit + tweaks: rename a type, to better fit the general pattern + tweaks: rename a variable, normalize a comment, and reshuffle a free() + tweaks: rename a variable, to be more compact + tweaks: rename three variables, for contrast and more sense + tweaks: rename three variables, for more contrast + tweaks: rename three variables, to better indicate what they hold + tweaks: rename two variables, away from single letters + tweaks: rename two variables, to better describe what they contain + tweaks: reshuffle a fragment, to group some toggles together + tweaks: reshuffle a line, to group things better + tweaks: reshuffle some lines, to elide an unneeded assignment + tweaks: reshuffle some lines, to have the same order as elsewhere + tweaks: reshuffle two fragments, to group things better + tweaks: rewrap a line, reshuffle a declaration, and improve some comments + tweaks: simplify a calculation, as done elsewhere + tweaks: simplify the determination of a canonical path + tweaks: sort two keywords strictly alphabetically + tweaks: speed up determining the width of plain ASCII characters + tweaks: speed up the counting of the menu entries to be shown + tweaks: use a more effecient way to skip storing an empty file name + tweaks: use an early return when there is no tilde + tweaks: use 'void' in prototypes of parameterless functions [coverity] + usage: mark the -J/--guidestripe option plus argument as translatable + usage: properly align --help output also when it has accented characters + +Brand Huntsman (1): + search: accept a match at start of file when searching from command line + +Dirkjan Ochtman (1): + syntax: rust: add the words reserved in 2018, and remove unreserved ones + + Changes between v4.3 and v4.4: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS index ade7e176..194e721f 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -2,6 +2,7 @@ Improvements in GNU nano ======================== Since 4.0: + - What the key produces can be specified per syntax with 'tabgives'. - The ability to perform a search at startup with +/string or +?string. - Comment characters are copied when automatic hard-wrapping occurs. - The ability to both read from and write to a FIFO. diff --git a/NEWS b/NEWS index 4a812967..df213710 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +2019.10.04 - GNU nano 4.5 "Košice" +• The new 'tabgives' command allows you to specify per syntax what + the key should produce: some spaces, a hard TAB, ... +• The output of --help is properly aligned again for all languages. +• will indent a marked region also when M-} has been rebound. + 2019.08.25 - GNU nano 4.4 "Hagelslag" • At startup, the cursor can be put on the first or last occurrence of a string by preceding the filename with +/string or +?string. diff --git a/configure.ac b/configure.ac index 60422102..e46f10ca 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.4], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [4.5], [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 69d996db..1462b7e4 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -85,7 +85,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.4. 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.5. 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 18855aee..2a078f5a 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.4" "August 2019" +.TH NANO 1 "version 4.5" "October 2019" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi index 175222aa..8a45b804 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 4.4 -@set UPDATED August 2019 +@set VERSION 4.5 +@set UPDATED October 2019 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 4.4 +@subtitle version 4.5 @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.4. +This manual documents the GNU @command{nano} editor, version 4.5. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 7a742093..0a79185d 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.4" "August 2019" +.TH NANORC 5 "version 4.5" "October 2019" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index c855917e..6b1f8777 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.4" "August 2019" +.TH RNANO 1 "version 4.5" "October 2019" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh index d96f9991..498e659f 100755 --- a/roll-a-release.sh +++ b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="4.4" +VERSION="4.5" ./configure -C --enable-tiny && make && ./configure -C &&