diff --git a/ChangeLog b/ChangeLog index b1b51aba..1d922150 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,85 @@ +Changes between v2.9.3 and v2.9.4: +---------------------------------- + +Benno Schulenberg (65): + bindings: make a key defined as string work also in browser and viewer + bindings: rename the bindable function 'gototext' to 'flipgoto' + bindings: revert the ^/ changes, as ^/ is not always Go-To-Line + bindings: show ^/ instead of ^_ for Go-To-Line + build: fix compilation when configured with --enable-tiny + bump version numbers and add a news item for the 2.9.4 release + docs: mention that a key can be bound to a string + docs: note also in the Info manual that text can be selected with Shift + editing: when --smooth is used, make -at-bottom scroll one row + general: detect in a better way whether we're running on a Linux console + gnulib: update to its current upstream state + goto: avoid a segfault, by initializing 'answer' when it is NULL + help: mention that some keys work on a region when the mark is on + help: tweak the descriptions of ^X and ^R + input: handle the implant() function separately also for the prompt + input: handle the implant() function separately, as it is special + memory: avoid a leak when toggling from Search to Goto + memory: squeal when there is something wrong, instead of stumbling on + new feature: allow binding a key to a string (in a nanorc file) + prompt: disallow pasting when in restricted mode + rcfile: allow a syntax name to be unquoted + search: clear the existing answer when starting a new search + search: get rid of some unneeded recursion when just toggling things + selecting: cancel the softmark upon any attempt to move the cursor + small addition: allow customizing the color of an error message + syntax: color also ^/ in nano's help texts and in nanorc files + syntaxes: remove quotes from each syntax name, and color it differently + syntax: nanorc: color also bindings to a string as valid + tweaks: adjust comments and indentation after the previous change + tweaks: adjust two comments, move two declarations, rewrap three lines + tweaks: appease valgrind concerning syscalls with uninitialized values + tweaks: condense a comment and elide an 'if' + tweaks: correct a typo in NEWS + tweaks: correct a typo that broke binding a key to a string + tweaks: do not needlessly renumber the lines in the buffer + tweaks: don't call strcmp() to determine whether a string is empty + tweaks: drop an assert, add a warning, and change a 'for' to a 'while' + tweaks: drop some debugging stuff, and adjust what remains of it + tweaks: elide another variable, to call a function less often + tweaks: elide an unneeded variable + tweaks: elide an unneeded variable + tweaks: elide an unneeded variable + tweaks: elide an unused variable and parameter + tweaks: elide two unneeded booleans + tweaks: exclude an unlikely error message from the tiny version + tweaks: exclude an unlikely warning from the tiny version + tweaks: fix a copy-and-paste error + tweaks: make the fsfromline() call only for the undo types that need it + tweaks: plug a memory leak when using Verbatim Input at a prompt + tweaks: refactor the implanting of a key expansion + tweaks: remove another superfluous check + tweaks: remove a superfluous check + tweaks: remove two deprecated options and six rebindable function names + tweaks: remove two superfluous checks, and restrict two others + tweaks: rename a parameter and a variable, to be more fitting + tweaks: rename a variable to be more distinct and greppable + tweaks: rename two variables, to be more meaningful + tweaks: reshuffle some code, to be slightly less ugly + tweaks: reshuffle some of the search-and-replace cleanup calls + tweaks: reshuffle the undo types into mostly the same order everywhere + tweaks: shorten the name of two record elements + tweaks: slightly rewrap the FAQ's table of contents + tweaks: transform a 'do' to a 'while', and reshuffle a comment + tweaks: unabbreviate two variable names + undo: when redoing, don't try to find a line number that might not exist + +Brand Huntsman (1): + color: remove unneeded bright comparision to prevent duplicate pairs + +David Lawrence Ramsey (3): + docs: mention that errorcolor does have default colors + input: don't stop prepending when the user adds text via a shortcut + tweaks: fix typo in rebindable function name + +Tom Levy (1): + syntax: go: highlight also floats with leading zeroes as valid + + Changes between v2.9.2 and v2.9.3: ---------------------------------- diff --git a/IMPROVEMENTS b/IMPROVEMENTS index e21a0171..5200076f 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -2,6 +2,8 @@ Improvements in GNU nano ======================== Since 2.9.0: + - A key can be bound to a string -- any mix of text and commands. + - Error messages are shown by default in bright white on red. - and can be used to indent/unindent a marked region. - Can snip trailing whitespace while typing, with 'set trimblanks'. - The ability to record and replay a series of keystrokes (a macro). diff --git a/NEWS b/NEWS index 1019b1d1..8ffcb7ca 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +2018.03.08 - GNU nano 2.9.4 "Isabel" allows binding a key to a string + (any piece of text and/or commands), permits customizing + the color of error messages with 'set errorcolor', colors + those error messages by default in bright white on red, + makes at the bottom of the screen scroll just one + row when --smooth is used, does not fail when redoing a + file insertion, and cancels a Shift-selection when any + cursor key is pressed without Shift even when the cursor + cannot move. Further, it treats tabs fully the same as + spaces when doing automatic hard-wrapping, allows syntax + names to be unquoted, and removes two deprecated options + and six deprecated bindable function names. + 2018.01.29 - GNU nano 2.9.3 "Córdoba" fixes a segfault with trimblanks that could occur when a typed space caused the word after it to be pushed to the next line. It further makes macros diff --git a/configure.ac b/configure.ac index 5edf7ee0..af488702 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 http://www.gnu.org/licenses/. -AC_INIT([GNU nano], [2.9.3], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [2.9.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 index 5782b2a5..f1346df4 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -90,7 +90,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 2.9.3. 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 2.9.4. 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 20170850..6c168619 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 2.9.3" "January 2018" +.TH NANO 1 "version 2.9.4" "March 2018" .SH NAME nano \- Nano's ANOther editor, an enhanced free Pico clone diff --git a/doc/nano.texi b/doc/nano.texi index 5ad64fe2..04dc5756 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 2.9.3 -@set UPDATED January 2018 +@set VERSION 2.9.4 +@set UPDATED March 2018 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 2.9.3 +@subtitle version 2.9.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 2.9.3. +This manual documents the GNU @command{nano} editor, version 2.9.4. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 168539c4..0e6198aa 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 2.9.3" "January 2018" +.TH NANORC 5 "version 2.9.4" "March 2018" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index e66d0434..0cf82cd8 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 2.9.3" "January 2018" +.TH RNANO 1 "version 2.9.4" "March 2018" .SH NAME rnano \- a restricted nano