diff --git a/ChangeLog b/ChangeLog index 77dacde6..18916f74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,96 @@ +Changes between v2.9.1 and v2.9.2: +---------------------------------- + +Benjamin Mintz (1): + syntax: python: add 'async', 'await', and 'nonlocal' as keywords + +Benno Schulenberg (62): + bump version numbers and add a news item for the 2.9.2 release + display: ensure that cursor is visible when compiled with --with-slang + docs: mention that the source code is best viewed with a tab size of 4 + docs: say thanks to some fairly recent translators, and rename one + gnulib: pull in the fix for the missing stat include + gnulib: update to its current upstream state + help: show that "Tab" will indent, just like "Sh-Tab" will unindent + help: swap the order of the Complete and Comment functions + indenting: don't exclude last line of region when region is empty + indenting: keep affecting last line of marked region if it was at first + input: allow using and to (un)indent selected region + input: make work also when using --rebindkeypad + input: optimize a bit for non-shortcut keys, as they are most frequent + options: rename 'justifytrim' to 'trimblanks', because it has morphed + prompt: blank the bar when a "continue?" is answered with No or ^C + syntaxes: remove redundant word-boundary markers + syntax: javascript: add some comments, and color explicit numbers too + syntax: javascript: add some keywords, and sort them more logically + syntax: javascript: color strings differently from major keywords + syntax: javascript: require that a comment is preceded by whitespace + syntax: lua: condense some regexes, tweak comments, reorder things + syntax: nanorc: don't color parts of valid strings as if invalid + syntax: python: color also the special values 'False', 'None', 'True' + text: allow unindenting when not all lines are indented + text: keep cursor at left edge when it IS there when indenting/commenting + text: let a Shift-selection persist when indenting and commenting + text: let indenting/commenting skip the last line if its x is zero + text: set and reset the Modified state correctly when undoing/redoing + tweaks: add a separate function that actually wipes the status bar + tweaks: avoid incrementing a variable that won't be used again later + tweaks: condense or rewrap a bunch of repetitious comments + tweaks: condense, reword, and rewrap a bunch of comments + tweaks: condense some debugging code, and rewrap a line + tweaks: convert the indentation of the NEWS file too + tweaks: convert the indentation to use only tabs + tweaks: drop some old debugging code plus a superfluous comment + tweaks: elide two parameters from the get_region() function + tweaks: elide two variables that are used just once + tweaks: factor out a piece of common code + tweaks: fix some whitespace errors, and convert alignment tabs to spaces + tweaks: fold some regexes into one another, for conciseness + tweaks: frob four comments, and rewrap two lines + tweaks: invert the logic of a variable, and rename it + tweaks: limit the resetting of "Modified" to writing a full buffer + tweaks: move some frequently-used keystrokes to the top of the list + tweaks: remove a redundant call of renumber() + tweaks: remove a superfluous condition + tweaks: remove a superfluous placing of a terminating nul byte + tweaks: remove some unneeded parentheses, and shorten two function calls + tweaks: remove two irrelevant conditions + tweaks: rename three variables, for more contrast and variety + tweaks: reshuffle a bit of common code, moving it to an existing function + tweaks: reshuffle another bit of code, for conciseness + tweaks: rewrap some lines and some comments, and trim two others + tweaks: slightly rename four functions, for aptness and variety + tweaks: strip some debugging stuff, and condense a bit of code + tweaks: trim another placing of a terminating nul byte + tweaks: use for git the more faithful "less -x1,5" suggested by Brand + tweaks: use spaces for alignment also in the THANKS file + wrapping: delete trailing blanks upon hardwrapping, when requested + wrapping: keep prepending to the same next line as long as possible + wrapping: we're still on the same line if the next line has not changed + +David Lawrence Ramsey (3): + input: support backtab when Slang and/or --rebindkeypad is used + tweaks: use printf's z modifier for (s)size_t, instead of casting + undo: when adding text adds a magicline, an undo should remove both + +Liu Hao (1): + syntax: c: increase the color contrast of reminders like FIXME + +Michael Francis (1): + syntax: php: function and variable names can contain uppercase and digits + +Mike Frysinger (1): + syntax: javascript: add newer keywords and string syntax + +Tom Levy (6): + syntax: go: fix word boundary before dot in number literal + syntax: go: sign of exponent in number literal is optional + syntax: lua: add new and missing standard library functions + syntax: lua: correct the word boundaries on standard library functions + syntax: lua: require at least one digit for hexadecimal numbers + syntax: lua: support fractional part and exponent for decimal and hex + + Changes between v2.9.0 and v2.9.1: ---------------------------------- diff --git a/IMPROVEMENTS b/IMPROVEMENTS index 82b4f6de..e21a0171 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -2,6 +2,8 @@ Improvements in GNU nano ======================== Since 2.9.0: + - 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). - Assigned functions to ^S (save file) and ^Q (start backward search). - Indenting and unindenting have been integrated into the undo system. diff --git a/NEWS b/NEWS index 46bdaa1b..192a19a4 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,19 @@ +2018.01.02 - GNU nano 2.9.2 "Pussy Riot" correctly displays the Modified + state when undoing/redoing (also when the file was saved + somewhere midway), improves the undoing of an automatic + linefeed at EOF, fixes a build issue on the BSDs, shows + the cursor again when compiled with --withslang, renames + the option 'justifytrim' to 'trimblanks' because it will + now snip trailing whitespace also while you are typing + (and hard-wrapping is enabled), continues pushing words + to the next line much longer (when hard-wrapping), makes + and indent and unindent a marked region, + allows unindenting when not all lines are indented, lets a + region marked with Shift persist when indenting/unindenting + or commenting/uncommenting it, and in those cases excludes + the last line of the region when it is not visibly marked + (which makes for a more intuitive behavior). + 2017.11.27 - GNU nano 2.9.1 "Damyatta" fixes a bug where, when the mark is on, ^S would overwrite the file with just the marked region. This release further clears the "Modified" flag diff --git a/configure.ac b/configure.ac index ba8a99e2..c2763e54 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.1], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [2.9.2], [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 159951a5..32cba9aa 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -83,7 +83,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.1. 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.2. 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 fbfc4453..96e9cdf0 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.1" "November 2017" +.TH NANO 1 "version 2.9.2" "January 2018" .SH NAME nano \- Nano's ANOther editor, an enhanced free Pico clone diff --git a/doc/nano.texi b/doc/nano.texi index ac68b4b2..8a44dfaf 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 2.9.1 -@set UPDATED November 2017 +@set VERSION 2.9.2 +@set UPDATED January 2018 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 2.9.1 +@subtitle version 2.9.2 @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.1. +This manual documents the GNU @command{nano} editor, version 2.9.2. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 1b05a287..a1a5cb32 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.1" "November 2017" +.TH NANORC 5 "version 2.9.2" "January 2018" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index 40cbec64..41b62a3c 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.1" "November 2017" +.TH RNANO 1 "version 2.9.2" "January 2018" .SH NAME rnano \- a restricted nano