nano

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

commit aecbc6faa98cd3397ec23e9db1819c625116d299
parent a06b921f12e42d4d3e5b23cabf0874516c72d881
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 22 Aug 2019 09:41:18 +0200

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

Diffstat:
MChangeLog | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MIMPROVEMENTS | 2++
MNEWS | 7+++++++
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, 83 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,67 @@ +Changes between v4.3 and v4.4: +------------------------------ + +Benno Schulenberg (53): + browser: draw a bar of spaces only where needed -- for the selected item + build: exclude the search-at-startup feature from the tiny version + bump version numbers and add a news item for the 4.4 release + copying: do not prevent M-6 from copying emptiness into the cutbuffer + display: blank the status bar on a successful cut or paste + display: clear the remainder of a row only when there actually is some + display: don't clear a row beforehand -- just clear the remainder + display: use a somewhat faster method to clear a row + display: when linenumbering, correctly spotlight text that spans two rows + display: where needed, use slow blanking, but elsewhere do it much faster + docs: change a few URLs over to https, and rewrap a couple of NEWS items + docs: document the search-at-startup feature (+/string or +?string) + docs: make the synopsis of --speller and 'set speller' more accurate + docs: mention the M-N toggle instead of the obsolete M-# one + docs: slightly reword some of the descriptions around syntax highlighting + docs: slightly reword the descriptions of most configure options + docs: stop mentioning the 'unjustify' function, as it no longer exists + gnulib: update to its current upstream state + new document: a condensed overview of nano's shortcut keystrokes + new feature: allow specifying a search string to "jump to" at startup + rcfile: properly handle an empty syntax before an 'include' statement + scrolling: don't overscroll when the edit window has just one row + search: don't wipe the status bar at startup when there was an error + search: wipe the status bar before searching again (M-W / M-Q) + syntax: c: allow an underscore in lowercase type names + syntax: default: colorize bracketed section headers in some config files + syntaxes: change some unneeded 'icolor' commands to 'color' commands + syntaxes: recognize .ctp extension as a PHP file, and .cu as a C/C++ file + syntax: perl: avoid recognizing embedded hash signs as a comment starter + syntax: perl: avoid upsetting older glibcs with crafty range expression + syntax: perl: don't color the character after a variable name + syntax: po: colorize numbers only when they form a self-contained word + text: copy leading quote characters when automatic hard-wrapping occurs + tweaks: add a translator hint, to clarify four short words + tweaks: call the correct lighting function directly when softwrapping + tweaks: condense some comments, and drop two unneeded initializations + tweaks: drop two parameters that are no longer needed + tweaks: improve a comment, and drop a superfluous one + tweaks: improve a handful of comments + tweaks: make a function name unique, to not overlap with others + tweaks: move a call from two different places to a single place + tweaks: move a function to before the first one that calls it + tweaks: move a general function to a better place + tweaks: remove a saving and restoring that has become superfluous + tweaks: rename a function, to suit better, and reshuffle its parameters + tweaks: rename a parameter in three functions, to say what it points to + tweaks: reshuffle an assignment, and trim some excessive blank lines + tweaks: reshuffle an 'if' out of a function, and rename the function + tweaks: reword and condense two comments, and correct another + tweaks: rewrap two lines, and reshuffle some logic to make more sense + tweaks: shorten two messages that translators tend to make too long + tweaks: try the allocation of a multidata cache just once per line + tweaks: when precalculating, allocate all the cache space upfront + +Brand Huntsman (3): + rcfile: for an empty syntax, show the line number of the 'syntax' command + rcfile: report the correct command location for an invalid 'include' + search: accept toggles for case and regex when searching at startup + + Changes between v4.2 and v4.3: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS @@ -2,6 +2,8 @@ Improvements in GNU nano ======================== Since 4.0: + - 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. - Automatic hard-wrapping is no longer the default. - Addition of --guidestripe to draw a helpful vertical bar. diff --git a/NEWS b/NEWS @@ -1,3 +1,10 @@ +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. +• When automatic hard-wrapping occurs (--breaklonglines), any leading + quoting characters will be automatically copied to the new line. +• M-6 works again also when the cursor is at end of buffer. + 2019.06.18 - GNU nano 4.3 "Musa Kart" • The ability to read from and write to a FIFO has been regained. • Startup time is reduced by fully parsing a syntax only when needed. 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.3], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [4.4], [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.3</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.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> <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.3" "June 2019" +.TH NANO 1 "version 4.4" "August 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.3 -@set UPDATED June 2019 +@set VERSION 4.4 +@set UPDATED August 2019 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 4.3 +@subtitle version 4.4 @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.3. +This manual documents the GNU @command{nano} editor, version 4.4. @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.3" "June 2019" +.TH NANORC 5 "version 4.4" "August 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.3" "June 2019" +.TH RNANO 1 "version 4.4" "August 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.3" +VERSION="4.4" ./configure -C --enable-tiny && make && ./configure -C &&