diff --git a/ChangeLog b/ChangeLog index f177ec1f..e0994ce8 100644 --- a/ChangeLog +++ b/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: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS index 725ac0fe..4c408f34 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -2,6 +2,8 @@ Improvements in GNU nano ======================== 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, deletes them together with the character they combine with, but deletes them separately. - For using libmagic the option --magic or -! or 'set magic' is required. diff --git a/NEWS b/NEWS index 71e41ee1..1b7ae892 100644 --- a/NEWS +++ b/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" • Moving the cursor now skips over combining characters (and other zero-width characters). Deleting a character deletes also any diff --git a/configure.ac b/configure.ac index 00839b09..4d2a5c19 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 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_CANONICAL_HOST AM_INIT_AUTOMAKE([1.14]) diff --git a/doc/faq.html b/doc/faq.html index 6d8a324a..742def5b 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -89,7 +89,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 5.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 5.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 cc4bd43b..fa3e4398 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 5.4" "December 2020" +.TH NANO 1 "version 5.5" "January 2021" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi index 3679a6db..50be4495 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 5.4 -@set UPDATED December 2020 +@set VERSION 5.5 +@set UPDATED January 2021 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 5.4 +@subtitle version 5.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 5.4. +This manual documents the GNU @command{nano} editor, version 5.5. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index ab72febf..84926bad 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 5.4" "December 2020" +.TH NANORC 5 "version 5.5" "January 2021" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index bc714065..fd764528 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 5.4" "December 2020" +.TH RNANO 1 "version 5.5" "January 2021" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh index 79c25e4b..337cf7f9 100755 --- a/roll-a-release.sh +++ b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="5.4" +VERSION="5.5" ./configure -C --enable-tiny && make && ./configure -C &&