nano

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

commit 9a2ef3a542ca8bcf3ad76a6ed5f297ad676fd28d
parent b480e7fc9c60caf9fc4ec7d8c80cba911488f0cc
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu,  3 Oct 2019 14:21:09 +0200

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

Diffstat:
MChangeLog | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MIMPROVEMENTS | 1+
MNEWS | 6++++++
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, 89 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,75 @@ +Changes between v4.4 and v4.5: +------------------------------ + +Benno Schulenberg (60): + bindings: add a dedicated keycode for <Tab> 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 @@ -2,6 +2,7 @@ Improvements in GNU nano ======================== Since 4.0: + - What the <Tab> 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 @@ -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 <Tab> key should produce: some spaces, a hard TAB, ... +• The output of --help is properly aligned again for all languages. +• <Tab> 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 @@ -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 @@ -85,7 +85,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>4.4</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>4.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> <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 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 @@ -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 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.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 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.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 @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="4.4" +VERSION="4.5" ./configure -C --enable-tiny && make && ./configure -C &&