mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 06:09:38 +03:00
bump version numbers and add a news item for the 5.5 release
This commit is contained in:
parent
bc36813349
commit
7519a458b2
93
ChangeLog
93
ChangeLog
@ -1,3 +1,96 @@
|
|||||||
|
Changes between v5.4 and v5.5:
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Benno Schulenberg (84):
|
||||||
|
build: fix compilation for --enable-{tiny,help,multibuffer}
|
||||||
|
build: fix compilation when configured with --disable-utf8
|
||||||
|
build: fix compilation when configured with --enable-tiny
|
||||||
|
build: remove the '--with-slang' configure option
|
||||||
|
bump version numbers and add a news item for the 5.5 release
|
||||||
|
chars: short-circuit determining the width of characters under U+0300
|
||||||
|
chars: speed up the handling of invalid UTF-8 starter bytes
|
||||||
|
copyright: update the years for the FSF
|
||||||
|
display: add code for showing minimal state-information bar at the bottom
|
||||||
|
display: do not show the state flags in the help viewer or file browser
|
||||||
|
docs: explain the effect of --minibar / -_ / 'set minibar'
|
||||||
|
docs: explain the purpose of --markmatch / -^ / 'set markmatch'
|
||||||
|
docs: insert links to the mailing-list archives into the README
|
||||||
|
docs: mention in NEWS that some workarounds were removed
|
||||||
|
docs: mention the new 'set promptcolor' option
|
||||||
|
docs: remove all mentions of Slang
|
||||||
|
feedback: differentiate between remarks, mistakes, and information
|
||||||
|
feedback: wipe the status bar by default after 20 keystrokes
|
||||||
|
files: when truncating a file name, give an indication of this
|
||||||
|
general: remove support for Slang
|
||||||
|
gnulib: update to its current upstream state
|
||||||
|
input: intercept ^Z also when --minibar is active
|
||||||
|
input: interpret a keystroke as Meta only when an earlier escape was solo
|
||||||
|
memory: avoid leaking the speller or linter command string, when invoked
|
||||||
|
minibar: add an [x/y] "counter" when multiple files are open
|
||||||
|
minibar: add a percentage that shows how far the cursor is into the file
|
||||||
|
minibar: allow the number-of-lines to overrule also the state flags
|
||||||
|
minibar: allow the number-of-lines to overrule location + character code
|
||||||
|
minibar: drop the side spaces before suppressing the state flags
|
||||||
|
minibar: represent bytes as 0xNN and valid Unicode code points as U+NNNN
|
||||||
|
minibar: show the info bar again some 0.8 seconds after a message
|
||||||
|
minibar: show the line count in the bar (at startup and when saving)
|
||||||
|
minibar: show Unicode codes when in a UTF-8 locale
|
||||||
|
minibar: suppress some elements when there is no room to show them
|
||||||
|
minibar: when the next character has zero width, show its code too
|
||||||
|
minibar: when the overnext character has zero width too, show its code
|
||||||
|
mouse: do not offset the shortcuts by 'margin' when using --linenumbers
|
||||||
|
oops: use the correct condition for checking the last line will change
|
||||||
|
options: accept 'set promptcolor' for setting the color of the prompt bar
|
||||||
|
options: add --markmatch and -^ for activating the select-match behavior
|
||||||
|
options: add --minibar and -_ for activating basic state-information bar
|
||||||
|
prompt: restore a workaround for a cursor misplacement bug in ncurses
|
||||||
|
prompt: suppress the ">" character always when exactly at the right edge
|
||||||
|
rcfile: rename 'nowrap' toggle to 'breaklonglines', to match the option
|
||||||
|
search: set the mark at the end of a found match so it gets highlighted
|
||||||
|
search: suppress the cursor when highlighting a match
|
||||||
|
speller: do an internal spell check when --speller is an empty string
|
||||||
|
speller: strip leading whitespace from command, to avoid a sneaky crash
|
||||||
|
syntax: go: add author and license line
|
||||||
|
syntax: nanorc: colorize 'bookstyle' as a valid option
|
||||||
|
syntax: nanorc: colorize 'set promptcolor' as valid
|
||||||
|
syntax: sh: recognize shebangs with any shell after 'env', not just 'sh'
|
||||||
|
tweaks: adjust the indentation after the previous change
|
||||||
|
tweaks: avoid compilation warnings on 32-bit machine plus newer compiler
|
||||||
|
tweaks: avoid computing the cursor column twice, and the "page" too
|
||||||
|
tweaks: avoid hitting negative values when using size_t
|
||||||
|
tweaks: change an intermediate variable to a better one
|
||||||
|
tweaks: clean up after the previous change
|
||||||
|
tweaks: condense the description of how to report a bug
|
||||||
|
tweaks: correct a translator hint
|
||||||
|
tweaks: correct two comments after the previous changes
|
||||||
|
tweaks: do not change the pointer, but move the content of the string
|
||||||
|
tweaks: drop a small optimization for invalid UTF-8 starter bytes
|
||||||
|
tweaks: elide a variable, by using a reallocation instead
|
||||||
|
tweaks: fold some conditions into bitwise masks, for efficiency
|
||||||
|
tweaks: fold two similar and three identical cases together
|
||||||
|
tweaks: move 'set indicator' to its alphabetical place in the manual
|
||||||
|
tweaks: move the displaying of the state letters into a separate function
|
||||||
|
tweaks: push back the deprecation of the 'set nowrap' option
|
||||||
|
tweaks: put the new options in a consistent order in the code
|
||||||
|
tweaks: reduce the scope of a static variable
|
||||||
|
tweaks: remove some #ifdefs that were there only for Slang
|
||||||
|
tweaks: rename a variable, to be similar to its sister
|
||||||
|
tweaks: reshuffle a condition, to probably avoid an unneeded calculation
|
||||||
|
tweaks: reshuffle an option, to have two related ones grouped together
|
||||||
|
tweaks: reshuffle some lines, to group things better
|
||||||
|
tweaks: reshuffle some lines, to have most #includes near the beginning
|
||||||
|
tweaks: reshuffle some more lines, to have most #defines together
|
||||||
|
tweaks: reshuffle two lines, and rename a variable to a plain word
|
||||||
|
tweaks: reword the description of an option
|
||||||
|
tweaks: simplify a bit of logic
|
||||||
|
tweaks: use a boolean instead of an enumeration of two values
|
||||||
|
undo: remove the added magic line when a replacement caused one
|
||||||
|
weeding: remove some obsolete information from the README
|
||||||
|
|
||||||
|
OIX (1):
|
||||||
|
mouse: update title bar (the M flag) when the click is on the cursor
|
||||||
|
|
||||||
|
|
||||||
Changes between v5.3 and v5.4:
|
Changes between v5.3 and v5.4:
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@ Improvements in GNU nano
|
|||||||
========================
|
========================
|
||||||
|
|
||||||
Since 5.0:
|
Since 5.0:
|
||||||
|
- Option --minibar reduces the interface to a bottom bar with basic info.
|
||||||
|
- Option --markmatch marks the search result, for better visibility.
|
||||||
- The cursor skips over combining characters, <Del> deletes them together
|
- The cursor skips over combining characters, <Del> deletes them together
|
||||||
with the character they combine with, but <Bsp> deletes them separately.
|
with the character they combine with, but <Bsp> deletes them separately.
|
||||||
- For using libmagic the option --magic or -! or 'set magic' is required.
|
- For using libmagic the option --magic or -! or 'set magic' is required.
|
||||||
|
18
NEWS
18
NEWS
@ -1,3 +1,21 @@
|
|||||||
|
2021.01.14 - GNU nano 5.5 "Rebecca"
|
||||||
|
• Option 'set minibar' makes nano suppress the title bar and instead
|
||||||
|
show a bar with basic editing information at the bottom: file name
|
||||||
|
(plus an asterisk when the buffer is modified), the cursor position
|
||||||
|
(line,column), the character under the cursor (U+xxxx), the flags
|
||||||
|
that --stateflags normally shows, plus the percentage of the buffer
|
||||||
|
that is above the cursor.
|
||||||
|
• With 'set promptcolor' the color combination of the prompt bar can
|
||||||
|
be changed, to allow contrasting it with the mini bar (which always
|
||||||
|
has the same color as the title bar).
|
||||||
|
• Option 'set markmatch' highlights the result of a successful search
|
||||||
|
by putting the mark at the end of the match, making the match more
|
||||||
|
visible. It also suppresses the cursor until the next keystroke.
|
||||||
|
(If you dislike the hiding of the cursor, use 'set showcursor'.)
|
||||||
|
• The bindable toggle 'nowrap' has been renamed to 'breaklonglines',
|
||||||
|
to match the corresponding option, like for all other toggles.
|
||||||
|
• Support for Slang has been removed.
|
||||||
|
|
||||||
2020.12.02 - GNU nano 5.4 "Terre des hommes"
|
2020.12.02 - GNU nano 5.4 "Terre des hommes"
|
||||||
• Moving the cursor now skips over combining characters (and other
|
• Moving the cursor now skips over combining characters (and other
|
||||||
zero-width characters). Deleting a character deletes also any
|
zero-width characters). Deleting a character deletes also any
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see https://www.gnu.org/licenses/.
|
# along with this program. If not, see https://www.gnu.org/licenses/.
|
||||||
|
|
||||||
AC_INIT([GNU nano], [5.4], [nano-devel@gnu.org], [nano])
|
AC_INIT([GNU nano], [5.5], [nano-devel@gnu.org], [nano])
|
||||||
AC_CONFIG_SRCDIR([src/nano.c])
|
AC_CONFIG_SRCDIR([src/nano.c])
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
AM_INIT_AUTOMAKE([1.14])
|
AM_INIT_AUTOMAKE([1.14])
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
<h3><a name="1.3"></a>1.3. Why the name change from TIP?</h3>
|
<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 "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).</p></blockquote>
|
<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 "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).</p></blockquote>
|
||||||
<h3><a name="1.4"></a>1.4. What is the current version of nano?</h3>
|
<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>5.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>
|
<blockquote><p>The current version of nano <i>should</i> be <b>5.5</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>
|
<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>
|
<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%">
|
<hr width="100%">
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
.\" Documentation License along with this program. If not, see
|
.\" Documentation License along with this program. If not, see
|
||||||
.\" <https://www.gnu.org/licenses/>.
|
.\" <https://www.gnu.org/licenses/>.
|
||||||
.\"
|
.\"
|
||||||
.TH NANO 1 "version 5.4" "December 2020"
|
.TH NANO 1 "version 5.5" "January 2021"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nano \- Nano's ANOther editor, inspired by Pico
|
nano \- Nano's ANOther editor, inspired by Pico
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
@smallbook
|
@smallbook
|
||||||
@set EDITION 0.5
|
@set EDITION 0.5
|
||||||
@set VERSION 5.4
|
@set VERSION 5.5
|
||||||
@set UPDATED December 2020
|
@set UPDATED January 2021
|
||||||
|
|
||||||
@dircategory Editors
|
@dircategory Editors
|
||||||
@direntry
|
@direntry
|
||||||
@ -23,7 +23,7 @@
|
|||||||
@titlepage
|
@titlepage
|
||||||
@title GNU @command{nano}
|
@title GNU @command{nano}
|
||||||
@subtitle a small and friendly text editor
|
@subtitle a small and friendly text editor
|
||||||
@subtitle version 5.4
|
@subtitle version 5.5
|
||||||
|
|
||||||
@author Chris Allegretta
|
@author Chris Allegretta
|
||||||
@page
|
@page
|
||||||
@ -63,7 +63,7 @@ e-mail: @email{chrisa@@asty.org}@*
|
|||||||
@node Top
|
@node Top
|
||||||
@top
|
@top
|
||||||
|
|
||||||
This manual documents the GNU @command{nano} editor, version 5.4.
|
This manual documents the GNU @command{nano} editor, version 5.5.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Introduction::
|
* Introduction::
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
.\" Documentation License along with this program. If not, see
|
.\" Documentation License along with this program. If not, see
|
||||||
.\" <https://www.gnu.org/licenses/>.
|
.\" <https://www.gnu.org/licenses/>.
|
||||||
.\"
|
.\"
|
||||||
.TH NANORC 5 "version 5.4" "December 2020"
|
.TH NANORC 5 "version 5.5" "January 2021"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nanorc \- GNU nano's configuration file
|
nanorc \- GNU nano's configuration file
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
.\" Documentation License along with this program. If not, see
|
.\" Documentation License along with this program. If not, see
|
||||||
.\" <https://www.gnu.org/licenses/>.
|
.\" <https://www.gnu.org/licenses/>.
|
||||||
.\"
|
.\"
|
||||||
.TH RNANO 1 "version 5.4" "December 2020"
|
.TH RNANO 1 "version 5.5" "January 2021"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
rnano \- a restricted nano
|
rnano \- a restricted nano
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION="5.4"
|
VERSION="5.5"
|
||||||
|
|
||||||
./configure -C --enable-tiny && make && ./configure -C &&
|
./configure -C --enable-tiny && make && ./configure -C &&
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user