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

master
Benno Schulenberg 2018-11-11 12:00:30 +01:00
parent 2404474dce
commit 31fdd2908b
10 changed files with 155 additions and 10 deletions

122
ChangeLog
View File

@ -1,3 +1,124 @@
Changes between v3.1 and v3.2:
------------------------------
Benjamin Mintz (1):
syntax: python: do not highlight 'print' and 'exec' in Python 3
Benno Schulenberg (87):
bindings: allow using <Enter> to exit from the linter
bindings: allow using ^X to exit from the linter
bindings: drop M-| as a keystroke for 'cutwordleft' -- set it free again
bindings: in tiny version with help, don't show unfunctional M-◀ and M-▶
bindings: make <Alt+Up> and <Alt+Down> work also on a Linux console
bindings: make the linter separately accessible, through M-B by default
bindings: make the Shift+arrow keys work by default on more terminals
bindings: no longer bind F13 and F14 and F15
bindings: recognize ASCII DEL as backspace also in viewer and browser
bindings: recognize <Ctrl+Shift+Delete> also on a Linux console
bindings: rename 'prevhistory' to 'older' and 'nexthistory' to 'newer'
bindings: stop binding <Bsp> to do_backspace() in the browser menu
bindings: when implanting a string, make sure to use positive values
build: exclude scrolling functions only from tiny version without help
build: fix compilation again when configured with --enable-tiny
build: fix compilation when configured with --disable-multibuffer
build: verify that --enable-tiny compiles before allowing a release
bump version numbers and add a news item for the 3.1 release
debug: report for which modified editing keys ncurses has no keycode
display: correct a mistaken label in the help lines of the browser
display: ensure that the help lines are shown when in linting mode
display: let the title bar show when nano is in linting mode
display: show the cursor also in a help text (when --showcursor is used)
display: use a different color when showing a linting message
docs: document the slightly changed workings of the --view option
docs: give suggestions for alternative key bindings in the sample nanorc
docs: remove a no-longer-needed suggestion from the sample nanorc
docs: update the description of -R/--restricted, as it now reads nanorc
docs, usage: mention that --showcursor now covers help texts too
feedback: give proper message for ^R when combining --view & --restricted
gnulib: update to its current upstream state
help: add a relevant explanatory text for the linter
help: move the linter to the end, to restore pairing in the help lines
help: pull "Older" and "Newer" into view on an 80-column terminal
help: restore the blank line between manipulation and position stuff
help: show <PgUp> and <PgDn> instead of F7 and F8 for pagewise scrolling
help: show the keystroke <Ctrl+Shift+Delete> as "Sh-^Del"
linter: allow using <Ctrl+Up> and <Ctrl+Down> to jump to other message
linter: do not pause when there are no messages for unopened files
linter: for "first"/"last", reshow actual message after a short pause
options: --ignorercfiles is now available in restricted mode
options: let view mode activate "multibuffer" to allow viewing more files
speller: remove a pointless message -- it is never seen
startup: allow reading nanorc in restricted mode, to permit customization
syntaxes: remove several redundant end-of-line anchors from regexes
tweaks: add a comment, and correct an indentation
tweaks: add two more translator hints
tweaks: capitalize the word "nano" when at the start of a sentence
tweaks: change a bunch of URLs to use 'https' instead of 'http'
tweaks: condense a handful of comments, and drop an assert
tweaks: condense another bit of code
tweaks: define a symbol to make the code itself a little simpler
tweaks: don't bother asking ncurses for keycodes for shifted Left/Right
tweaks: drop a check for the needle (the search string) being empty
tweaks: drop the checking of two flags that can no longer be toggled
tweaks: elide a function that is used just once and is a oneliner
tweaks: elide a wrapper function that is no longer useful
tweaks: exclude word-deletion keystrokes from the tiny version
tweaks: fold a few pairs of regexes into each other
tweaks: group a series of related variables together
tweaks: improve two comments, and reshuffle a line for consistency
tweaks: include an extra function call only where it is needed
tweaks: move all the function keys to the end of the shortcuts list
tweaks: move some calls of edit_redraw() to where they are needed
tweaks: redefine MMOST to exclude MBROWSER, to simplify the bindings
tweaks: reduce some repetitious and superfluous comments to just one
tweaks: remove a check that was made redundant by the previous commit
tweaks: remove a now-unused parameter from four functions
tweaks: remove an unneeded check for NULL, and rename a parameter
tweaks: remove a stray file that was accidentally comitted
tweaks: remove some old debugging code
tweaks: rename a bunch of variables, to make it clearer what they contain
tweaks: rename a flag, to match the name of the option
tweaks: rename a variable, to be a bit more fitting
tweaks: renumber a couple of symbols, and reshuffle a bit of code
tweaks: reorder some code to put backward motion before the forward one
tweaks: reshuffle a couple of conditions, to group things better
tweaks: reshuffle some conditions, putting the least likely one first
tweaks: reshuffle some lines to get standard order (first up, then down)
tweaks: reshuffle some lines, to put things in order of option name
tweaks: snip trailing whitespace that ended with a non-breaking space
tweaks: stop setting and requiring the Meta flag for special keycodes
tweaks: swap and reword two bullet points in the rnano manpage
tweaks: there is no reason to block SIGWINCHes while waiting for speller
undo: move another piece of checking to the two places that need it
undo: move some special checking code to the one place that needs it
wrapping: make the --fill option override 'set fill' again
Brand Huntsman (5):
bindings: hard-bind the zap function to M-Del (Alt+Delete)
display: make all dying messages end in a newline
linter: throttle "first"/"last" message on repeated key presses
new feature: a bindable 'zap', to erase text without changing cutbuffer
options: add --zap, that makes <Bsp> and <Del> erase a marked region
David Lawrence Ramsey (16):
display: do spotlighting as part of drawing the screen
docs: update rnano manpage, as -R/--restricted now reads nanorc
input: don't detect <Ctrl+Shift+Delete> on Linux console in tiny version
input: properly consume a modified Delete key also in the tiny version
input: properly recognize Alt+Delete when using -K/--rebindkeypad
input: recognize some escape sequences for <Shift+Delete>
speller: restore the mark coordinates slightly later
syntax: nanohelp: properly color the keystroke "Sh-^Del"
tweaks: don't define controldelete or controlshiftdelete in tiny version
tweaks: join two lines, and add a clarifying comment
tweaks: move the justifying of a single paragraph into its own function
tweaks: normalize the indentation of the shuffled code
tweaks: reshuffle some code to avoid several checks for having justified
tweaks: simplify by using a 'do/while' loop instead of 'while (TRUE)'
weeding: remove the 'active' parameter from spotlight()
wrapping: make relative fill values work again also for screen resizes
Changes between v3.0 and v3.1:
------------------------------
@ -19,6 +140,7 @@ Benno Schulenberg (13):
Liu Hao (1):
search: disallow switching to the Replace prompt when in view mode
Changes between v2.9.8 and v3.0:
--------------------------------

View File

@ -2,6 +2,7 @@ Improvements in GNU nano
========================
Since 3.0:
- Addition of --zap to make <Del> and <Bsp> obliterate marked text.
- <Ctrl+Delete> wipes next word and <Shift+Ctrl+Delete> preceding word.
- An external spell check can be undone.

22
NEWS
View File

@ -1,3 +1,25 @@
2018.11.11 - GNU nano 3.2 "Het kromme hout" changes the default binding
for the linter to M-B so that the spell checker (^T) can
always be used, and changes (when linting) the text in the
title bar and the color of the status bar to make linting
mode more obvious. It also adds a bindable 'zap' function
for deleting a line or marked region without changing the
cutbuffer, adds --zap to bind the <Del> and <Backspace>
keys to the zap function when something is marked, and
hard-binds <Alt+Del> to 'zap'. Furthermore, it shows the
cursor also in the help viewer (when --showcursor is used),
renames the bindable functions 'prevhistory' to 'older' and
'nexthistory' to 'newer' (update your nanorcs when needed),
reads the nanorc files also in restricted mode to allow
customization by the user (if this should not be allowed,
use --ignorercfiles in addition to --restricted), allows
in view mode to open also other files (if this should not
be allowed, use --restricted in addition to --view), makes
resizes respect a relative --fill again, no longer binds
F13...F15 by default, properly re-highlights a misspelled
word after invoking help in the internal spell checker,
and does not skip Unicode characters in string binds.
2018.09.18 - GNU nano 3.1 "Je faisais des bonds comme ça!" fixes a
misbinding of ^H on some terminals and some systems,
does not leave stray stuff after the prompt upon exit

View File

@ -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], [3.1], [nano-devel@gnu.org], [nano])
AC_INIT([GNU nano], [3.2], [nano-devel@gnu.org], [nano])
AC_CONFIG_SRCDIR([src/nano.c])
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([1.14])

View File

@ -91,7 +91,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>3.1</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>3.2</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%">

View File

@ -16,7 +16,7 @@
.\" Documentation License along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH NANO 1 "version 3.1" "September 2018"
.TH NANO 1 "version 3.2" "November 2018"
.SH NAME
nano \- Nano's ANOther editor, an enhanced free Pico clone

View File

@ -8,8 +8,8 @@
@smallbook
@set EDITION 0.5
@set VERSION 3.1
@set UPDATED September 2018
@set VERSION 3.2
@set UPDATED November 2018
@dircategory Editors
@direntry
@ -23,7 +23,7 @@
@titlepage
@title GNU @command{nano}
@subtitle a small and friendly text editor
@subtitle version 3.1
@subtitle version 3.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 3.1.
This manual documents the GNU @command{nano} editor, version 3.2.
@menu
* Introduction::

View File

@ -16,7 +16,7 @@
.\" Documentation License along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH NANORC 5 "version 3.1" "September 2018"
.TH NANORC 5 "version 3.2" "November 2018"
.SH NAME
nanorc \- GNU nano's configuration file

View File

@ -16,7 +16,7 @@
.\" Documentation License along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH RNANO 1 "version 3.1" "September 2018"
.TH RNANO 1 "version 3.2" "November 2018"
.SH NAME
rnano \- a restricted nano

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION="3.1"
VERSION="3.2"
./configure -C --enable-tiny && make &&
./configure -C --disable-wrapping-as-root &&