diff --git a/ChangeLog b/ChangeLog index 1d922150..720819f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,63 @@ +Changes between v2.9.4 and v2.9.5: +---------------------------------- + +Benno Schulenberg (45): + build: exclude more things when configured with --disable-multibuffer + build: fix compilation again when configured with --enable-tiny + build: fix compilation when configured with --disable-multibuffer + build: fix compilation with --enable-{tiny,help,multibuffer} + bump version numbers and add a news item for the 2.9.5 release + cut: avoid calling renumber() on what might be NULL + docs: clarify how the Linux console is deficient: in the arrow keys + docs: clarify what the scrollup and scrolldown bindable functions do + docs: document the newly added color name "normal" + docs: mention in the FAQ that pastes from the clipboard + files: prevent an infinite loop when reading from standard input fails + files: prevent the undo of reading a file into a new buffer + help: describe the Scroll-Up and Scroll-Down commands more precisely + help: do not reserve space for line numbers, as they are absent + linting: drop messages for other files when configured for one buffer + memory: plug a leak, by actually freeing a discarded undo struct + scrolling: first move the cursor before pushing current chunk offscreen + scrolling: let Scroll-Up/Down keep the cursor in the same text position + selecting: don't cancel a softmark when just scrolling the screen + small addition: understand color name "normal" to mean the default color + syntax: sh: color also the 'cut', 'head', 'tail', and 'sort' commands + syntax: sh: color options distinctively, and color also long options + syntax: sh: uncolor "tar" when it's part of a filename + tweaks: adjust a couple of types, to reduce the number of warnings + tweaks: adjust or correct some comments, and rename a function + tweaks: adjust the indentation after the previous changes + tweaks: bundle some settings for a new buffer + tweaks: change a parameter of open_buffer() and invert its logic + tweaks: condense some code, to remove a bit of duplication + tweaks: drop a handful of unhelpful asserts + tweaks: elide an unneeded and shadowing variable + tweaks: elide a parameter, as it's always the inverse of another + tweaks: elide a parameter that is always 1 + tweaks: elide two parameters and thus a pair of wrapper functions + tweaks: factor out the check for 'viewok' into its own function + tweaks: fix a typo and adjust some wording and formatting in the FAQ + tweaks: frob some comments plus miscellaneous other stuff + tweaks: fuse two ifs into one + tweaks: move an 'if' and then remove an unneeded label + tweaks: reduce the font size of the questions in the FAQ + tweaks: remove an inconsistent space from two pointer declarations + tweaks: remove unneeded settings and unsettings of MULTIBUFFER + tweaks: reshuffle some movement code, to reduce the number of conditions + tweaks: revert commit c88a2fd9 -- the extra variable is needed + tweaks: rewrap and amend some lines in the NEWS file + +David Lawrence Ramsey (1): + tweaks: correct several parameter types + +Kamil Dudka (1): + input: do not crash if sctofunc() returns NULL + +Liu Hao (1): + build: fix compilation error when configured with --disable-justify + + Changes between v2.9.3 and v2.9.4: ---------------------------------- diff --git a/IMPROVEMENTS b/IMPROVEMENTS index 5200076f..65705175 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -2,6 +2,7 @@ Improvements in GNU nano ======================== Since 2.9.0: + - Addition of the color name "normal", meaning the default color. - 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. diff --git a/NEWS b/NEWS index af17e705..ad5427ad 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,17 @@ +2018.03.29 - GNU nano 2.9.5 "Kiša pada" changes the way the Scroll-Up + and Scroll-Down commands work (M-- and M-+): instead of + keeping the cursor in the same screen position they now + keep the cursor in the same text position (if possible). + This version further adds a new color name, "normal", + which gives the default foreground or background color, + which is useful when you want to undo some overzealous + painting by earlier syntax regexes. Bug fixes include: + a segfault when trying to insert a file in restricted + mode, the reading in of a new file being "undoable", a + slight miswrapping of help texts when --linenumbers was + used, and the shell syntax coloring the word "tar" in + file names. + 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 diff --git a/configure.ac b/configure.ac index af488702..e74eae16 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.4], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [2.9.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 5b940d15..6bbcc9d8 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -91,7 +91,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.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 2.9.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 6301458c..f25a07ef 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.4" "March 2018" +.TH NANO 1 "version 2.9.5" "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 75be4bf6..c73cedbb 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,7 +8,7 @@ @smallbook @set EDITION 0.5 -@set VERSION 2.9.4 +@set VERSION 2.9.5 @set UPDATED March 2018 @dircategory Editors @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 2.9.4 +@subtitle version 2.9.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 2.9.4. +This manual documents the GNU @command{nano} editor, version 2.9.5. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index b2b2fbcb..68804b10 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.4" "March 2018" +.TH NANORC 5 "version 2.9.5" "March 2018" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index 0cf82cd8..0dffb63f 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.4" "March 2018" +.TH RNANO 1 "version 2.9.5" "March 2018" .SH NAME rnano \- a restricted nano