From df9ca85961db790185f0e910a3f5a409910bb2df Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 29 Jul 2020 09:35:34 +0200 Subject: [PATCH] bump version numbers and add a news item for the 5.0 release --- ChangeLog | 401 ++++++++++++++++++++++++++++++++++++++++++++++ IMPROVEMENTS | 7 + NEWS | 41 +++++ configure.ac | 2 +- doc/faq.html | 2 +- doc/nano.1 | 2 +- doc/nano.texi | 8 +- doc/nanorc.5 | 2 +- doc/rnano.1 | 2 +- roll-a-release.sh | 2 +- 10 files changed, 459 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 397435a7..36efb2a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,404 @@ +Changes between v4.9 and v5.0: +------------------------------ + +Andreas K. Foerster (1): + syntax: ada: new file -- coloring rules for Ada 2012 files + +Benno Schulenberg (374): + anchor: do not let a full justification transfer an anchor to the top + anchor: do not let piping and spelling transfer an anchor to the top + anchor: during full justification preserve anchors as during single ones + backup: do not understand ^C as "Yes" when asking whether to continue + backup: when rereading the original file fails, ask the user what to do + bindings: add mistakenly removed M-J (Full Justify) back to the main menu + bindings: add ^Z (Suspend) to the "Execute Command" menu + bindings: allow toggling the help lines at several prompts and in browser + bindings: allow typing digits on the numeric keypad by holding Shift + bindings: make ^L (Refresh) work at all the prompts too + bindings: make ^T invoke the "Execute Command" menu, and ^T^T the Speller + bindings: remove the Full-Justify function from the Search menu + bindings: stop on the keypad from entering spurious letter + bindings: stop supporting without NumLock + build: allow compilation to succeed on curses without italic support + build: do not let --disable-speller exclude also the formatter code + build: fix compilation for --enable-tiny --enable-color --enable-nanorc + build: fix compilation when configured with --disable-color + build: fix compilation when configured with --disable-speller + build: fix compilation when configured with --enable-tiny + build: fix compilation when configured with --enable-tiny + build: fix miscompilation for --enable-{tiny,color,nanorc} + build: fix the Makefile after two header files were renamed + build: make a deeper clone of gnulib (when building from git) + build: make ./configure report which global nanorc file will be used + build: replace the non-standard backslash escape "\e" with "\x1B" + build: stop distributing a nano.spec file + build: use a more dependable method for detecting a build from git + bump version numbers and add a news item for the 5.0 release + color: avoid allocating emptiness when there are no multiline regexes + color: when syntax coloring is toggled back on, calculate multiline data + colors: move purple one step away from magenta, and use a darker mauve + copying: change the implementation, away from cutting plus copying back + copying: do not forget to update the screen when M-6 is pressed + copying: when using M-6, copy the final line in the buffer just once + copying: with --nonewlines, don't add a final newline to the cutbuffer + counting: count words and characters without partitioning the file + counting: count words correctly also when --wordchars is used + cutting: change the implementation of cutting to not use partitioning + cutting: overhaul the pasting routine, to not make use of partitioning + display: avoid an additional redrawing when redrawing the screen + display: blank the status bar for a copy operation, like for cut & paste + display: do not try to draw content when there is no open buffer yet + display: reposition the cursor after an error message also in a help text + docs: complete the renaming of 'tempfile' to 'saveonexit' + docs: copy the 4.9.1 news item from the release branch + docs: copy the 4.9.2 news item from the release branch + docs: copy the 4.9.3 news item from the release branch + docs: document the --indicator (-q) and 'set indicator' options + docs: document the new -O/--bookstyle and 'set bookstyle' options + docs: explain how anchors work, and document their bindable functions + docs: improve some descriptions concerning the file browser + docs: in the sample nanorc file, refer instead of duplicating + docs: mention that doing a full-buffer operation wipes away all anchors + docs: mention that M-X toggle is special, because available in most menus + docs: mention that the dedicated cursor-moving keys are not rebindable + docs: mention the nine new color names, and "bold" plus "italic" + docs: note Marco as the original author of the bookmarking code + docs: reduce the TODO file to a reference to the bug tracker on Savannah + docs: stop mentioning that --wordchars overrides --wordbounds + docs: use 'bold' and 'light' instead of 'bright' in the sample nanorc + feedback: beep also at a prompt when receiving an unknown escape sequence + feedback: do not list "." and ".." as possible completions + feedback: indicate an anchor with a "+" in the line-number margin + feedback: show a message also when trying to copy an empty region + feedback: show the cursor position also at startup in an empty buffer + feedback: skip wiping the prompt bar when the shortcut printed a message + files: also when creating a backup fails, ask the user whether to proceed + files: ask the user whether to proceed every time a backup fails + files: before prompting, show also the reason why the backup failed + files: disallow tabbing when in restricted mode + files: do not append but truncate when allowing insecure backups + files: do not let a stray CR in a DOS file trigger Mac format + files: do not make a failsafe backup when in restricted mode + files: give a more precise warning when deleting an existing backup fails + files: ignore errors when calling chmod() on a backup file + files: ignore errors when calling chown() on a backup file + files: ignore errors when calling futimens() on a backup file + files: list possible completions after just one instead of two + files: make a backup only when requested, not an unrequested failsafe one + files: make better use of the last row when there are many completions + files: make filtering of the entire buffer into a new buffer work again + files: never report a file as being of mixed format + files: reinitialize the palette only when the syntax actually changed + files: remove two superfluous calls for shielding temp files from others + files: show a warning when writing a backup fails, before prompting + files: show possible tab completions near the bottom of the edit window + files: take into account that also closing a backup file can fail + files: trigger the Easter egg only when "zzy" is typed at the prompt + files: warn the root user when all the write bits are missing + files: write out a marked region without partitioning the buffer + general: make five tools accessible through the "Execute Command" menu + general: rename "bookmark" to "anchor", to sound less permanent + gnulib: update to its current upstream state + help: describe what has been added to the "Execute Command" menu + help: pair the items in the two bottom lines better in the tiny version + help: put the two toggles first in the "Execute Command" menu + history: don't send error messages to the screen; store them in the queue + history: take into account that closing a file can fail + history: take into account that statting a file can fail too + indicator: recompute the extra rows also for cut/paste/split/join + indicator: recompute the extra rows also when justifying and resizing + indicator: rework how the "scrollbar" is computed when softwrapping + input: interpret an escape sequence only when it starts with "[" or "O" + input: reset the counters when a three-digit sequence is not completed + input: stop recognizing the raw escape sequences for F13 to F16 + locking: ignore the insecure-backup flag when creating a lock file + locking: prevent a symlink attack by not opening an existing lock file + memory: plug a leak, by freeing the cutbuffer after a bracketed paste + menus: remove unneeded words and shortenings from key labels + new feature: a position-plus-portion indicator on the righthand side + oops -- restore an accidentally changed file + options: add --indicator and -q for switching on the scroll-bar thing + options: add -O/--bookstyle to make leading whitespace mean new paragraph + options: let --afterends affect also the deleting of words (Ctrl+Delete) + options: make -S the short synonym of --softwrap + options: rename --tempfile to --saveonexit, to be far clearer + options: stop recognizing the obsolete --morespace and --smooth + prompt: at Yes-No, do not treat a screen resize as an invalid keystroke + rcfile: accept prefix "light" to make a color brighter without bolding it + rcfile: add bindable function 'execute', for access to "Execute Command" + rcfile: allow specifying a bright background color (with prefix "light") + rcfile: complain when an essential key binding is missing + rcfile: do not complain when "bright" is used with a background color + rcfile: introduce nine new named colors, from "pink" to "latte" + rcfile: introduce the modifier "bold", for specifying bolding separately + rcfile: introduce the modifier 'italic', for slanted text + rcfile: rename bindable function 'curpos' to 'location' + rcfile: rename 'extcmd' to 'execute', to be more readable and fitting + rcfile: report the first bad color element, not a later one that is okay + rcfile: restore terminal settings when exiting upon excessive unbindings + replacing: recalculate the multiline coloring info when needed + scrolling: add a function and a key binding to center the cursor line + speller: take into account that statting a file can fail [coverity] + startup: allow presetting case-sensitive search also in the tiny version + startup: check stdout instead of stdin when probing for a Linux console + startup: enter curses mode before reading the nanorc files + startup: initialize colors only when the terminal is capable of colors + syntax: css: color multiline comments correctly + syntax: default: colorize embedded control codes + syntax: email: rename file and syntax, away from the mistaken 'mutt' + syntax: markdown: do not colorize text between two bold words as italic + syntax: markdown: new file -- coloring rules for Markdown files + syntax: mgp: drop the almost-empty MagicPoint file and syntax + syntax: move distro-specific files down to a subdirectory, syntax/extra/ + syntax: nanorc: colorize 'bright' anyway, so existing syntaxes look okay + syntax: nanorc: colorize the new named colors too, from "mint" to "mauve" + syntax: nanorc: stop colorizing 'bright', even though it's still accepted + syntax: sql: condense some regexes, and reduce their number + syntax: sql: rename the file to match the name of the syntax + syntaxes: move the rules for Fortran and Povray files down to extra/ + syntaxes: remove some stuff that has been commented out for a long time + syntaxes: remove some superfluous outer parentheses from regexes + syntaxes: remove unneeded backslash escapes before quotes + syntaxes: uniformize the initial comment + tabbing: beep at the first listing, and when there are zero possibilities + tabbing: properly terminate the answer when the sole match is a folder + text: retain a bookmark when two lines are joined or something is cut + tweaks: add a condition, so that two ifs can be elided + tweaks: add a helpful message for when pkg.m4 is missing during a build + tweaks: add a helping variable, in order to unwrap three lines + tweaks: add a helping variable, to slightly condense the code + tweaks: add a symbol, in order to condense three function calls + tweaks: add four early returns for read/write errors of history files + tweaks: add four more translator hints + tweaks: add two comments, and improve another + tweaks: adjust comments and indentation after the previous change + tweaks: adjust the conditional help-item pairing for absence of speller + tweaks: adjust the file format indicator in a quicker way + tweaks: adjust the indentation after the previous change + tweask: adjust the indentation after the previous change + tweaks: avoid a compiler warning + tweaks: avoid a function call when a simple boolean will do + tweaks: avoid an unnecessary refresh for zero or just one completion + tweaks: avoid a warning about an unused variable in the tiny version + tweaks: avoid checking a variable three times for each pass in the loop + tweaks: avoid unneeded calls of free() by reallocating the full name + tweaks: call init_pair() just once for each pair number + tweaks: call the spotlighting routines only for the relevant line + tweaks: call use_default_colors() just once for each run + tweaks: cascade the ifs properly: without increasing the indentation + tweaks: change a helping variable, to make two blocks still more similar + tweaks: change a 'switch' to 'if', to elide a dummy 'return' + tweaks: close opened files when something goes wrong [coverity] + tweaks: condense a bit of code, by reusing an existing variable + tweaks: condense a comment, and express a condition in a different way + tweaks: condense a comment, and reshuffle a few lines + tweaks: condense a comment, and reshuffle some conditions + tweaks: condense and improve some comments + tweaks: condense some cases to a single line, for more clarity + tweaks: condense the code a little further, by grouping things better + tweaks: correct a comment, and avoid third repetition of some conditions + tweaks: correct a comment, and drop a redundant (because nested) #ifdef + tweaks: correct some comments, as VT100 and such have smaller keypads + tweaks: correct two spelling mistakes [codespell] + tweaks: delete a ChangeLog that is no longer updated and is incomplete + tweaks: delete another pointless ChangeLog + tweaks: delete a now-unused function + tweaks: delete some unneeded code, and rename the function accordingly + tweaks: delete the now-unused partitioning and unpartitioning routines + tweaks: delete two functions that are never executed + tweaks: do not use 'switch' when there are just two possibilities + tweaks: do not use the string "stat()" in any of the comments + tweaks: don't bother overwriting a CR -- decreasing the length is enough + tweaks: don't bother statting the lock file before unlinking it + tweaks: don't bother using the exclusive flag when creating a lock file + tweaks: don't check for escape sequences that start with a lowercase "o" + tweaks: don't use a symbol for other purposes + tweaks: do the conversion of -1 to a specific color just once + tweaks: do the saving of histories in a single place + tweaks: drop an unneeded assignment, and reshuffle a few lines + tweaks: drop a superfluous check for a non-zero length + tweaks: drop obsolete 'nano.spec' from .gitignore file, and reshuffle + tweaks: drop two redundant conditions, and improve three comments + tweaks: drop two unneeded assignments + tweaks: drop two unneeded wnoutrefresh() calls in the spotlight routines + tweaks: elide a function that is called just once + tweaks: elide a function that is too sparse + tweaks: elide another parameter, relevant in just three menus + tweaks: elide a now-unused parameter -- it is always FALSE + tweaks: elide an unneeded call of strlen(), and copy NUL byte with string + tweaks: elide an unneeded global variable + tweaks: elide an unneeded parameter, and rename the other + tweaks: elide an unneeded variable, as there is nothing beyond '*place' + tweaks: elide an unused parameter, and rename the other and a variable + tweaks: elide a parameter, by calling the relevant function beforehand + tweaks: elide a parameter that is relevant for only one menu (Goto Dir) + tweaks: elide a redundant intermediate function + tweaks: elide a variable and be more direct, and rename another + tweaks: elide a variable, and shortcircuit a return + tweaks: elide a variable, by returning the result directly + tweaks: elide a wrapper function, by checking a precondition earlier + tweaks: elide three functions that are called just once + tweaks: elide three parameters, as they are the same for both calls + tweaks: elide two ifs for the most likely case, when defaults are allowed + tweaks: elide two redundant calls of strchr() + tweaks: exclude a bit of bracketed-paste code from the tiny version + tweaks: exclude an unneeded fragment of code from the tiny version + tweaks: exit from the writing loop as soon as the last line is reached + tweaks: fix twenty typos, in old Changelogs and in some comments + tweaks: fold translation of all modified keypad keystrokes together + tweaks: fold two blocks into each other, to elide three overlapping cases + tweaks: for each version, mention the changes to the PO files last + tweaks: get rid of a bunch of annoying casts, and thus condense the code + tweaks: group the exiting routines together, and condense the comments + tweaks: handle the double escapes directly, instead of going round again + tweaks: handle two similar things in the same way + tweaks: implement the anchor routines in a different way + tweaks: improve a comment, rename a function, and elide a parameter + tweaks: improve a comment, reshuffle a scroll command, elide a variable + tweaks: improve four comments + tweaks: improve several comments, and rewrap two lines + tweaks: improve some comments, and reshuffle an assignment + tweaks: improve some comments and whitespace, and reshuffle a few lines + tweaks: improve three comments, drop one, and unwrap a line + tweaks: improve two comments, and reshuffle some lines for conciseness + tweaks: invert a condition, to have two clauses in a more logical order + tweaks: invert a condition, to see the similarity between the two modes + tweaks: make an early return for zero matches, and rename a variable + tweaks: make an error message more accurate and reduce it to its essence + tweaks: make three hard-bindings of special keys more efficiently + tweaks: move a copyright notice to a better place, and improve it + tweaks: move a fragment of code to the one branch that needs it + tweaks: move a function to a more logical place + tweaks: move a function to before the one that calls it + tweaks: move a function to before the one that calls it + tweaks: move a function, to be in the order in which they are called + tweaks: move a function to the file where it is used the most + tweaks: move an 'if', to not call leftedge_for() when not softwrapping + tweaks: move an initialization function to before the one that calls it + tweaks: move two functions, to have them in a more logical order + tweaks: normalize the indentation after the previous change + tweaks: normalize the indentation after the previous change + tweaks: normalize the indentation after the previous change + tweaks: normalize the indentation after the previous change + tweaks: normalize the indentation after the previous change + tweaks: order three menu names in the documentation slightly better + tweaks: plug a leak, by always freeing the full filename [valgrind] + tweaks: rake a common statement to the end of the case + tweaks: recalculate the multiline info just once when doing "Replace All" + tweaks: reduce the indentation after the previous change + tweaks: remove an incorrect mention of umask() from a comment + tweaks: remove an unneeded call of wnoutrefresh() + tweaks: remove an unneeded cursor movement, and rename a variable + tweaks: remove an unneeded element from the openfilestruct + tweaks: remove a redundant cursor movement, remove a redundant condition + tweaks: remove a superfluous check on the length of the key buffer + tweaks: remove a superfluous global variable + tweaks: remove some superfluous conditions + tweaks: remove three unneeded while loops from two input routines + tweaks: remove two calls of umask() by specifying permissions directly + tweaks: remove two redundant conditions, and make a more direct return + tweaks: remove two superfluous assignments + tweaks: remove unneeded variables after the previous change + tweaks: rename a function, and move it to before the one that calls it + tweaks: rename a function, and move it to before the one that calls it + tweaks: rename a function, to be more correct + tweaks: rename a function, to be more general and clearer + tweaks: rename a function, to be more precise, and reshuffle it + tweaks: rename a function, to be more precise, and reshuffle some things + tweaks: rename a function, to better describe what it does + tweaks: rename a function, to leave the old names behind + tweaks: rename a function, to match with the boolean that guards it + tweaks: rename a function, to not shadow a variable, and elide parameter + tweaks: rename a parameter and a variable, to be more meaningful + tweaks: rename a struct element, to be shorter and preciser + tweaks: rename a symbol, and actually use it where it is needed + tweaks: rename a symbol, away from a double abbreviation + tweaks: rename a symbol, from a phrase to a noun + tweaks: rename a symbol, to be more accurate, and reshuffle two lines + tweaks: rename a symbol, to better suit its purpose, and reduce its scope + tweaks: rename a variable, and condense a comment + tweaks: rename a variable, and normalize the indentation + tweaks: rename a variable, and reduce the scope of two others + tweaks: rename a variable, for more contrast with the function name + tweaks: rename a variable, for shortness and contrast + tweaks: rename a variable, improve a comment, and reshuffle a few things + tweaks: rename a variable, to avoid overrepetition of 'backup' + tweaks: rename a variable, to better describe what it holds + tweaks: rename a variable, to better fit related ones + tweaks: rename a variable, to make more sense + tweaks: rename a variable, to not refer to a row as a "line" + tweaks: rename one of the flag symbols, to be clearer + tweaks: rename two functions and a variable, and improve two comments + tweaks: rename two functions, and rename and reshuffle a parameter + tweaks: rename two functions, to better indicate what they do + tweaks: rename two header files, to be distinct and not an abbreviation + tweaks: rename two labels, for brevity + tweaks: rename two parameters, away from abbreviations + tweaks: rename two parameters, away from an abbreviation + tweaks: rename two parameters, to be more fitting + tweaks: rename two variables, and reduce the scope of a third + tweaks: rename two variables, away from abbreviations + tweaks: rename two variables, to avoid a repetitive prefix + tweaks: rename two variables, to be shorter and without abbreviations + tweaks: reshuffle a bit of code, to elide an #ifndef + tweaks: reshuffle a condition, for symmetry + tweaks: reshuffle a condition, to avoid a repetition of code + tweaks: reshuffle a condition, to make a little more sense + tweaks: reshuffle a declaration and six calls of free(), to avoid a leak + tweaks: reshuffle a few lines, and remove a few unneeded comments + tweaks: reshuffle a few lines, for conciseness + tweaks: reshuffle a few lines, to elide an 'if' from the most common path + tweaks: reshuffle a fragment of code, to elide a 'goto' + tweaks: reshuffle an assignment, for conciseness, and rename a variable + tweaks: reshuffle and trim a comment, and remove unneeded pair of braces + tweaks: reshuffle a statement, to have major initialization in nano.c + tweaks: reshuffle some code, to avoid needlessly calling a function + tweaks: reshuffle some conditions, to straighten the logic + tweaks: reshuffle some lines, for esthetics + tweaks: reshuffle some lines, to better separate the three cases + tweaks: rewrap a few lines in old news items, for more balanced lines + tweaks: separate a symbol from its definition by two spaces + tweaks: shorten an error message, to be appropriate in all situations + tweaks: shorten the name of a symbol, to match its bindable function + tweaks: simplify an error message, by mentioning just the main point + tweaks: simplify the counting of characters in a section + tweaks: skip the conversion to multibyte for plain ASCII codes + tweaks: slightly improve a comment and the ordering of some lines + tweaks: slightly improve the grouping of shortcuts in some help texts + tweaks: three escapes is the same as either zero escapes or one escape + tweaks: trim an ASCII case, as the function is called only for UTF-8 + tweaks: trim some oververbose comments -- they overshadow the code + tweaks: uniformize some old translator credits + tweaks: update a translator hint, and add another + tweaks: update three translator hints, add two, and frob three strings + tweaks: use a better symbol than 'ERR' to signify a valid hex digit + tweaks: use knowledge of Unicode to skip the general multibyte conversion + tweaks: use three switches instead of cascading ifs, for brevity + undo: choose the proper x positions to place the cursor and rejoin lines + undo: when undoing a line cut, place the cursor back where it was + usage: unabbreviate option arguments where possible + verbatim: show an error message when an invalid Unicode code is entered + verbatim: turn bracketed-paste mode off while waiting for input + +Marco Diego Aurélio Mesquita (4): + bindings: hard-bind the bookmark functions to M-Ins and M-PgUp/M-PgDn + display: support the position indicator also when --softwrap is used + files: make the M-F (New Buffer) toggle non-persistent + new feature: bindable functions for toggling and jumping to "bookmarks" + +Michalis Kokologiannakis (3): + files: improve the backup procedure to ensure no data is lost + tweaks: adjust some indentation after the previous change + tweaks: move the backup code to a separate function + +Pedro Victor de Brito Cordeiro (1): + tweaks: make parameter names in prototypes match those in the definitions + +Ryan Westlund (2): + syntax: go: highlight the chan keyword, and the special +build comment + syntax: haskell: new file -- coloring rules for Haskell programs + + Changes between v4.8 and v4.9: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS index 5717ad39..0d033aff 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -1,6 +1,13 @@ Improvements in GNU nano ======================== +Since 5.0: + - With --indicator a "scrollbar" is shown, indicating position+portion. + - M-Ins places an anchor, M-PgUp/M-PgDn jump to the nearest anchor. + - Toggling help lines (M-X) and Refresh (^L) work nearly everywhere. + - Colors can be modified with the attributes "bold," and/or "italic,". + - Nine new color names: from pink and purple to orange and latte. + Since 4.0: - Pasting from outside into nano suppresses auto-indentation. - Such an external paste can be undone with a single M-U. diff --git a/NEWS b/NEWS index 298aa2ca..3a7844fd 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,44 @@ +2020.07.29 - GNU nano 5.0 "Among the fields of barley" +• With --indicator (or -q or 'set indicator') nano will show a kind + of scrollbar on the righthand side of the screen to indicate where + in the buffer the viewport is located and how much it covers. +• With any line can be "tagged" with an anchor, and + and will jump to the nearest anchor. + When using line numbers, an anchor is shown as "+" in the margin. +• The Execute Command prompt is now directly accessible from the + main menu (with ^T, replacing the Spell Checker). The Linter, + Formatter, Spell Checker, Full Justification, Suspension, and + Cut-Till-End functions are available in this menu too. +• On terminals that support at least 256 colors, nine new color + names are available: pink, purple, mauve, lagoon, mint, lime, + peach, orange, and latte. These do not have lighter versions. +• For the color names red, green, blue, yellow, cyan, magenta, + white, and black, the prefix 'light' gives a brighter color. + Prefix 'bright' is deprecated, as it means both bold AND light. +• All color names can be preceded with "bold," and/or "italic," + (in that order) to get a bold and/or italic typeface. +• With --bookstyle (or -O or 'set bookstyle') nano considers any + line that begins with whitespace as the start of a paragraph. +• Refreshing the screen with ^L now works in every menu. +• In the main menu, ^L also centers the line with the cursor. +• Toggling the help lines with M-X now works in all menus except + in the help viewer and the linter. +• At a filename prompt, the first lists the possibilities, + and these are listed near the bottom instead of near the top. +• Bindable function 'curpos' has been renamed to 'location'. +• Long option --tempfile has been renamed to --saveonexit. +• Short option -S is now a synonym of --softwrap. +• The New Buffer toggle (M-F) has become non-persistent. Options + --multibuffer and 'set multibuffer' still make it default to on. +• Backup files will retain their group ownership (when possible). +• Data is synced to disk before "... lines written" is shown. +• The raw escape sequences for F13 to F16 are no longer recognized. +• Distro-specific syntaxes, and syntaxes of less common languages, + have been moved down to subdirectory syntax/extra/. The affected + distros and others may wish to move wanted syntaxes one level up. +• Syntaxes for Markdown, Haskell, and Ada were added. + + 2020.05.23 - GNU nano 4.9.3 "Almendras" • One more bug introduced in version 4.9 is fixed: a crash when the terminal screen is resized while at a lock-file prompt. diff --git a/configure.ac b/configure.ac index 0d7396f9..f1486931 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], [4.9], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [5.0], [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 1cd6448a..d6390652 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 4.9. 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.0. 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 11ef62f6..ea5044db 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 4.9" "March 2020" +.TH NANO 1 "version 5.0" "July 2020" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi index e6513bea..06f08582 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 4.9 -@set UPDATED March 2020 +@set VERSION 5.0 +@set UPDATED July 2020 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 4.9 +@subtitle version 5.0 @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 4.9. +This manual documents the GNU @command{nano} editor, version 5.0. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 22ae2bc5..5ea8966c 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 4.9" "March 2020" +.TH NANORC 5 "version 5.0" "July 2020" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index 93303992..e4190a3c 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 4.9" "March 2020" +.TH RNANO 1 "version 5.0" "July 2020" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh index 811f1689..9b1ffca7 100755 --- a/roll-a-release.sh +++ b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="4.9" +VERSION="5.0" ./configure -C --enable-tiny && make && ./configure -C &&