* Sun Mar 11 2018 astieger@suse.com
- GNU nano 2.9.4:
* allow binding a key to a string (any piece of text and/or
commands)
* permit customizing the color of error messages with
'set errorcolor'
* color those error messages by default in bright white on red
* make <Enter> at the bottom of the screen scroll just one row
when --smooth is used
* do not fail when redoing a file insertion
* cancel a Shift-selection when any cursor key is pressed without
Shift even when the cursor cannot move
* treat tabs fully the same as spaces when doing automatic
hard-wrapping
* allows syntax names to be unquoted
* remove deprecated options and deprecated bindable function
names
* Wed Jan 31 2018 astieger@suse.com
- GNU nano 2.9.3:
* fix a segfault with trimblanks that could occur when a typed
space caused the word after it to be pushed to the next line
* make macros work also when your keyboard still emits escape
sequences
* add the options -M and --trimblanks for the command line
* recognizeskey combos with Shift on a few more terminals
* no longer show dots in certain prompt texts when visible
witespace is turned on
* fix two corner cases when doing replacements in a marked region
* allow to open a named pipe again when using --noread
* accurately detect a needed color change when a line contains
a start match but not a corresponding end match any more
- includes changes gom 2.9.2:
* correctly display the Modified state when undoing/redoing
(also when the file was saved somewhere midway)
* improve the undoing of an automatic linefeed at EOF
* show the cursor again when compiled with --withslang
* rename the option 'justifytrim' to 'trimblanks' because it
will now snip trailing whitespace also while you are typing
(and hard-wrapping is enabled)
* continue pushing words to the next line much longer (when
hard-wrapping)
* make <Tab> and <Shift+Tab> indent and unindent a marked region
* allow unindenting when not all lines are indented
* let a region marked with Shift persist when indenting/
unindenting or commenting/uncommenting it
* Mon Dec 11 2017 astieger@suse.com
- GNU nano 2.9.1:
* Fix a bug where, when the mark is on, ^S would overwrite the
file with just the marked region
* Clear the "Modified" flag when all edits are undone
* Add or updates some magic strings
* Remember when the cursor was last at line 1, column 1
* Sat Nov 18 2017 astieger@suse.com
- GNU nano 2.9.0:
* introduce the ability to record and replay keystrokes:
(M-: to start and stop recording, M-; to play the macro back)
* make ^Q and ^S do something useful by default
(^Q starts a backward search, and ^S saves the current file)
* change ^W to start always a forward search,
* show the number of open buffers (when more than one) in the title bar
* no longer ask to press Enter when there are errors in an rc file
* retire the options '--quiet' and 'set quiet' and 'set backwards'
* make indenting and unindenting undoable
* look in $XDG_CONFIG_HOME for a nanorc file
* look in $XDG_DATA_HOME for the history files
* add a history stack for executed commands (^R^X)
* do not overwrite the position-history file of another nano
* fix a score of tiny bugs
* Tue Aug 29 2017 mpluskal@suse.com
- Update to version 2.8.7:
* fixes a lockup when tabs are wider than the screen
* makes indenting + unindenting more predictable by retaining
relative indentations
* allows pasting (^U) at a prompt
* allows triple quotes
* fixes some hard-to-describe issues with softwrapping and
boundary-crossing tabs.
* Tue Jul 25 2017 aloisio@gmx.com
- Update to 2.8.6
* Add the ability to do softwrapping between words
- - at whitespace -- instead of always at the edge of the
screen. This can be activated with -a or --atblanks or
'set atblanks' together with the softwrap option.
* Fix a handful of rare display glitches,
* Harmonize quoting rules in the rc files
* Rename the option 'cut' to 'cutfromcursor'
(please update your nanorc files before 2020).
* Sat Jul 01 2017 asterios.dramis@gmail.com
- Update to version 2.8.5:
* Avoid a crash when waking from a suspension that was induced
from the outside.
* Allow negative line and column numbers on the command line.
* Avoid some flickering when resizing the screen while in the
file browser.
* Open files in the order they were mentioned on the command
line.
* Do not pretend to have woken from suspension when receiving a
SIGCONT.
* Sun Jun 04 2017 astieger@suse.com
- update to 2.8.4:
* include the nanorc man page again.
- includes changes from 2.8.3:
* fix a misplacement of the spotlight during interactive replacing
* speed up backwards searching
* improve PHP syntax highlighting
* no longer ask ?save anyway?? when the user ^Q discards the buffer
* Wed May 10 2017 mpluskal@suse.com
- Update to version 2.8.2:
* new feature: it makes the ^G help texts searchable with ^W.
* fixes a crash when resizing the window in the middle of
verbatim input
* avoids an unlikely crash when used without UTF-8 support in some
locales
* avoids redrawing the screen twice when switching between
buffers while line numbers are active
* works around a coloring bug on musl
* tweaks to the documentation
* translation updates for fifteen languages.
* Wed Apr 12 2017 astieger@suse.com
- GNU nano 2.8.1:
* fix scrolling problems in softwrap mode when double-width
characters on row boundaries are involved
* show double-width characters as ">" and "<" when split across
two rows
* move the cursor more predictably (at the cost of sometimes
putting it on the second "half" of a character)
* avoid creating lines that consist of only blanks when using
autoindent
* make ^Home and ^End go to the start and end of the file
(on terminals that support those keystrokes)
* place the cursor better when linting
* let the linter ask only once whether to open an included file
* add bindings for ^Up and ^Down in the file browser
* Fri Mar 31 2017 fstrba@suse.com
- Update to version 2.8.0
* the Up and Down keys now step from visual row to visual row
instead of jumping between logical lines
* the Home and End keys now move to the start and end of a row,
and only when already there, then to the start and end of the
logical line
* the screen can now scroll per row instead of always per logical
line
* makes use of gnulib, to make it build on more platforms
* Fri Feb 24 2017 mpluskal@suse.com
- Update to version 2.7.5:
* the \B and \b regex anchors
* correctly repaints things when multiline regexes with identical
start and end are involved
* fixes a crash with zero-length regex matches
* does replacements at the edges of a marked region right,
* displays at most three warnings at startup
* documents the ability to read a file from standard input
Version: 2.7.4-6.1
* Sun Jan 15 2017 astieger@suse.com
- GNU nano 2.7.4:
* undo deletions in an orderly manner again
* set the preferred x position for vertical movements more
consistently
* avoid some scrolling problems in softwrap mode
* correct the behavior of the beginning-of-word anchor (\<) in
regex searches.
* Thu Dec 29 2016 astieger@suse.com
- GNU nano 2.7.3:
* now able to handle filenames that contain newlines
* avoid a brief flash of color when switching between buffers
that are governed by different syntaxes
* make the Shift+Ctrl+Arrow keys select text again on a Linux
console
* more resistant against malformations in the positionlog file
* do not crash when ^C is typed on systems where it produces the
code KEY_CANCEL
* no longer mistakenly warn about editing an unlocked file just
after saving a new one
* Sun Dec 18 2016 astieger@suse.com
- GNU nano 2.7.2:
* complete with one keystroke (^] by default) a fragment of a
word to a full word existing elsewhere in the current buffer
* fixes two bugs related to using line numbers in softwrap mode
* allow using the PageUp and PageDown keys together with Shift on
VTE-based terminals
* stop help lines from flickering during interactive replacing
* make a "set fill" override an earlier "set nowrap"
* properly restore the selected region after an external spell
check
* Thu Nov 03 2016 astieger@suse.com
- GNU nano 2.7.1:
* add ability to display line numbers
* fix some bugs with scrolling in softwrap mode
* stricter parsing of key rebindungs
* marks a new buffer as modified when the output of a command
(^R ^X) has been read into it
* Sun Sep 04 2016 astieger@suse.com
- GNU nano 2.7.0:
* new feature: allowing text to be selected by holding Shift
together with the cursor keys.
* now works also when run in very tiny terminals
(down to one line, one column)
* improves the handling of the prompt in cramped spaces
* Sun Aug 14 2016 astieger@suse.com
- nano 2.6.3:
* make Ctrl+Arrow keys work also on a Linux virtual console
* take as verbatim only the very first keystroke after M-V
* remove any lock files held when dying
* do not abort when a word contains digits (with default speller)
* fix a small sorting bug in the file browser
* speed up searching case-insensitively in a UTF-8 locale
* do not enter invalid bytes when holding down both Alt keys
* Wed Aug 03 2016 asterios.dramis@gmail.com
- Update to version 2.6.2:
* The keystrokes Ctrl+Up and Ctrl+Down for jumping between blocks
of text, and the option 'wordchars' for specifying which
characters (beside alphanumeric ones) should be considered
word-forming.
* Provides feedback during Unicode input (M-V followed by a
six-digit hexadecimal number which must start with 0 or 10).
* Avoids a crash when resizing the window during Verbatim input.
* Doesn't drop a keystroke after having been suspended.
* Replaces the beginning-of-line anchor (^) just once per line.
* Several tiny improvements in screen rendering and key handling.
- Removed build time references fix (not needed anymore).
* Mon Jun 27 2016 mpluskal@suse.com
- Update to version 2.6.1:
* "Stampede" is chiefly a translation update
* adds one little feature (the ability to use negative numbers
with Go To Line: -1 meaning the first line from the bottom)
* includes syntax highlighting for Rust, and fixes three tiny
* bugs (but in such far corners of the editor that they aren't
even worth mentioning).
* Mon Jun 20 2016 mpluskal@suse.com
- Download keyring from savannah
* Sat Jun 18 2016 mpluskal@suse.com
- Update to version 2.6.0:
* fixes more than fifty little bugs -- and some of them not so
little.
* It improves moving about in the file browser, corrects failings
of the internal spell checker, adds a new feature
(comment/uncomment lines, with default binding M-3), makes some
error messages clearer, shows more of a file when positionlog
is used and the cursor is near the end, displays all error
messages at startup if there are multiple ones, does not
misinterpret keystrokes when typing very fast, is less eager
to trim the filename on narrow terminals, speeds up
case-insensitive searches, and allows to abort re-searches.
* Fri Feb 26 2016 mpluskal@suse.com
- Update to 2.5.3
* several bugfixes fostray cursor positioning errors, many many
memory leaks including file reading, using the file browser,
searching for multi-byte characters, history completion, and
many other places.
* New features include the ability to trim whitespace from the
ends of lines when justifying text, see nanorc(5) option
justifytrim for deets.
* Sat Feb 13 2016 mpluskal@suse.com
- Update to 2.5.2
* several fixes for various memory leaks, position history size
growth, and a long standing issue with using nano under sudo
creading root-owned files
* There are also the usual bevy of documentation and other
miscellaneous fixes and touch ups.
* Tue Jan 12 2016 astieger@suse.com
- 2.5.1:
* fix syntax-highlighting bug
* fix positionlog bug
* disable time-eating multiline regex in the C syntax
* adds an escape hatch to the WriteOut menu when --tempfile is
used: the discardbuffer command, ^Q.
* translation updates for fifteen languages
* small fix in the softwrap code
* Sun Dec 06 2015 mpluskal@suse.com
- Update to 2.5.0
* color synax highlighting improvements
* several bugfixes
* since this release there will no longer be separate stable and
unstable branches
* Thu Nov 19 2015 astieger@suse.com
- GNU nano 2.4.3:
* Fix several memory leaks
* Fix issues with color syntax higlighting
* Fix issues with search/replace
* Fix issues with file insertion
* Fix help menu bugs
Version: 2.4.2-3.1
* Mon Jul 06 2015 astieger@suse.com
- GNU nano 2.4.2:
* ability to resize when in modes other than the main editing window
* proper displaying of invalid UTF-8 bytes
* new syntax definitions for Elisp, Guile, and PostgreSQL
* better display of shortcuts in the help menu and file browser
* Thu Apr 16 2015 astieger@suse.com
- GNU nano 2.4.1:
* several fixes for issues with the file browser menu
* linter and formatter functions fixes
* spell checker fixes
* fixes to undo/redo with some specific marked-cutting situations
* small improvements to the color syntax highlighting definitions
* Sat Mar 28 2015 mpluskal@suse.com
- Add gpg signature
* Mon Mar 23 2015 sor.alexei@meowr.ru
- Update to 2.4.0:
* doc/nanorc.sample.in: Remove ?undo? section which is now obsolete.
* doc/syntax/nanorc.nanorc: Remove 'undo' from the valid options.
* doc/texinfo/nano.texi, doc/man/nanorc.5: Typo fix.
* src/global.c (add_to_sclist): Remove the now unused and unneeded
addition ability from this builder function of the shortcut list.
* src/global.c (strtokeytype): Move this to a better place.
* src/global.c (first_sc_for): Move this too to a better place.
* src/prompt.c (do_yesno_prompt): Use the new and more direct
func_from_key() wrapper instead of get_shortcut().
* src/text.c (do_linter): Likewise.
* src/files.c (do_insertfile, do_writeout): Likewise.
* src/files.c (do_insertfile): Adjust some indentation.
* src/prompt.c (do_statusbar_input), src/browser.c (do_browser):
Reorder a few things, and adjust some whitespace.
* doc/man/nano.1, doc/man/rnano.1: Separate short and long option
by a comma instead of putting the long one between parentheses.
And showing the required quotes around the argument of -Q.
* doc/texinfo/nano.texi: Standardize the formatting of command-line
options -- each one separately. Also add some more markup.
* doc/man/nano.1, doc/man/rnano.1: Tweak the formatting a bit so
that po4a will create a nicer POT file.
* doc/man/nanorc.5: Improve some of the wordings and formatting.
* doc/syntax/nanorc.nanorc: Remove a mistaken OR which causes a
'Bad regex, empty (sub)expression' error on some systems.
* doc/texinfo/nano.texi: Improve some wordings and formatting.
* src/text.c (do_justify): Replace the old get_shortcut() wrapper
with the new func_from_key().
* doc/syntax/{perl,python,ruby,sh}.nanorc: Recognize also header
lines of the form "#!/usr/bin/env thing" besides "#!/bin/thing".
* doc/syntax/spec.nanorc: Colorize %pretrans and %posttrans fully.
* src/files.c (do_lockfile): Gettextize the "File being edited"
prompt, and improve its wording.
* src/winio.c (do_credits): Remove the names of past translators
from the Easter-egg scroll.
* THANKS: Add a missing historical translator name.
* src/winio.c (do_credits): Add Mark to the scroll, for all his
undo work, colouring nano's interface, and other patches.
* New formatter code to support syntaxes like
go which have tools to automatically lint and reformat the text
for you (gofmt), which is lovely. rcfile option formatter,
function text.c:do_formatter() and some other calls.
* src/files.c (open_buffer): Check here for locking and properly
handle choosing to not open a file when locked instead of in
open_file().
* src/winio.c (do_credits): Add a general entry for all translators.
* src/files.c (write_lockfile): Avoid writing uninitialized bytes
to the lock file -- a simple null_at() would not initialize the
buffer.
* src/files.c (do_lockfile): Make sure that 'lockprog' and
'lockuser' are terminated -- strncpy() does not guarantee that
on its own.
* src/files.c (do_lockfile): Avoid printing a wrong PID on the
status bar due to treating serialized PID bytes as signed
integers.
* src/files.c (write_lockfile): Do not trim the nano version
number -- snprintf() counts the trailing zero into the size limit.
* src/cut.c (do_cut_text): Make sure to set modified even when
using --enable-tiny.
* src/file.c (do_lockfile): Also show the name of the affected file
when finding a lock file, for when many files are opened at once.
* src/file.c (do_lockfile): The user does the editing, not the editor.
* doc/syntax/sh.nanorc: Recognize also dash, openrc and runscript.
* README: Fix the explanation of how to subscribe to a mailing list.
* doc/syntax/{java,lua,python,ruby}.nanorc: Wrap some overlong lines.
* src/rcfile.c (parse_binding): Add an exception for do_toggle() as
rebinding toggles broke with r5022. (Fixed in r5134.)
* doc/man/nanorc.5, doc/texinfo/nano.texi: Add a note about the
inherent imperfection of using regular expressions for syntax
highlighting.
* doc/man/nanorc.5: Improve the indentation of some lists.
* doc/man/nanorc.5, doc/texinfo/nano.texi: Remove the mistaken
square brackets around the arguments of "header" and "magic" --
those arguments are not optional. Also add "formatter" to the
texinfo document, and slightly improve its punctuation.
* src/proto.h, src/nano.c: Fix compilation with --enable-tiny plus
- -enable-nanorc.
* src/rcfile.c (parse_binding): Fix the rebinding of toggles.
* doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi: Update
years and version numbers in the docs in anticipation of a release.
* src/nano.c (version): Drop compile time from version information
to enable a reproducible build.
* src/nano.c (renumber): Get out if there is nothing to renumber,
to prevent do_undo() from falling over trying to renumber emptiness.
* src/text.c (do_formatter): Fix a message plus a few comments.
* src/text.c (do_alt_speller): Do not set the modified flag when
an external spell checker didn't make any changes.
* src/nano.c (finish_stdin_pager, cancel_stdin_pager, stdin_pager):
Normalize the whitespace, remove an old comment, and place another
one better.
* src/text.c (do_undo): Make a message equal to another one. It
was mistakenly changed in r4950. (This is translation-neutral.)
* src/global.c (shortcut_init): Keep related items together in the
^G help screen.
* src/text.c (do_alt_speller): Restore the positions of the mark
and the cursor in a better way: to the columns where they were.
* src/text.c (do_alt_speller): Remove some leftovers.
* src/search.c: Place some comments better and unwrap some lines.
* src/chars.c (move_mbleft): Start looking for a multibyte char
not at the start of the string, but only as far back as such a
char can possibly be. Change suggested by Mark Majeres.
* src/search.c (findnextstr): Step backward or forward not simply
one byte but one character (possibly multibyte).
* src/winio.c (edit_redraw): Do not center the current line when
smooth scrolling is used.
- Do less manually in spec.
* Tue Sep 16 2014 asterios.dramis@gmail.com
- Update to version 2.3.6:
* Fix for installing internationalization files.
* Documentation (in particular man page) fixes.
* Few touch ups to syntax highlighting definitions.
From version 2.3.5:
* Many visible and under-the-hood fixes for components such as file locking,
more fixes to the undo system, and you no longer have to explicitly ask
nano to have undo/redo support as it now defaults to being enabled.
* Better handling of --tempfile mode.
* Better handling of command line arguments when also attempting to specify
+<line number>.
From version 2.3.4:
* Small number of fixes, but in particular allows nano to compile on non-UTF8
curses implementations (i.e. libncursesw).
* Small fixes to the undo implementation.
* Small fixes to the default syntax config.
From version 2.3.3:
* Many improvements to the core system, including substantial improvements to
the undo/redo code, UTF-8 handling, the configure script, and display of
shortcuts on very wide terminals.
* Ability to read named pipes (--noread), as well as linter support (see the
nanorc man page for details).
* Much improved syntax highlighting code, and configurations for JSON,
texinfo, Go, and a default syntax for catch all highlighting.
* Ability to set the color of the title bar, status bar, and shortcut keys
(e.g. "^X") and their descriptions (see the nanorc man page for details).
* Lots of other fixes.
- Added new build requirements groff-full, makeinfo and pkg-config.
* Sat Mar 23 2013 asterios.dramis@gmail.com
- Update to version 2.3.2:
* vim-style file locking (though not backup/restore), useful when using nano
in a multi-editor environment.
* Additional support for word boundary checking when cross compiling.
* Fixes for trying to go to an invalid line number.
* Documentation tweaks.
* Wed May 11 2011 asterios.dramis@gmail.com
- Update to version 2.3.1:
* Some fixes for the new libmagic code.
* Fix for improper character counts when using auto-indent.
* New syntax highlighting definitions for RPM spec and lua files.
- Spec file updates:
* Simplified License: to GPLv3+ which is the main license.
- Removed nano-no-build-date.patch and added a fix inside the spec file.
* Sun Feb 27 2011 asterios.dramis@gmail.com
- Update to version 2.3.0:
* libmagic support for syntax highlighting has been added on top of the
existing file extension and header support already available.
* Cursor position can be saved between editing sessions with the -P or
- -poslog command line flags, or via "set poslog" in your .nanorc.
* Also included are some fixes for compilation with g++, and better handling
of issues writing the backup file, which should reduce the need for the
'set allow_insecure_backup" nanorc option.
- Spec file updates:
* More changes based on rpmdevtools templates and spec-cleaner run.
* Changed License: to GPLv3+ and (GFDL or GPLv3+).
* Added description for the patch based on openSUSE Patches Guidelines.
* Updates in Buildrequires: and Requires: sections.
* Added Recommends: for the lang package.
* Updated Authors: data.
* Updates in %install section. Manually install the doc files in order to
easily split them between the main and lang package.
* Removed %check section (the package doesn't implement "make check").
* Use %preun instead of %postun for "install_info".
* Sat Jan 01 2011 asterios.dramis@gmail.com
- Update to version 2.2.6
* This is just a small release to update a bug where restricted mode was not
particularly restricted since key bindings were introduced.
- Spec file changes after spec-cleaner run.
* Tue Aug 31 2010 cristian.rodriguez@opensuse.org
- Update to version 2.2.5
* This release includes slightly less restrictive checkng
when writing files in strange environments
* Also included are some syntax highlighting updated
- Do not provide build dates in binaries
* Thu Apr 15 2010 pascal.bleser@opensuse.org
- update to 2.2.4:
* security fixes due to an assessment of nano's vulnerability to
symlink attacks on open files; the CVEs fixed with this release
are CVE-2010-1160 and CVE-2010-1161
* fixes for various crash modes when using the spell checker on
new files in multibuffer mode
* fix for the 'file was modified' message when saving to a new
filename
* fixes to page up/down due to the soft wrapping code
* new syntax higlighting definition for cmake-related files
- changes from 2.2.3:
* fix for paging up/down with smooth scrolling causing the cursor
position not being preserved due to a bug in 2.2.2
* Sun Jan 24 2010 bitshuffler@opensuse.org
- Updated to 2.2.2
- Removed generic INSTALL file
- Split of -lang subpackage
* Tue Dec 01 2009 crrodriguez@opensuse.org
- update to nano 2.2.0 (stable release)
* Mon Nov 23 2009 crrodriguez@novell.com
- update to version 2.1.99pre2
* Sun Oct 11 2009 crrodriguez@opensuse.org
- --enable-debug for a while..
* Wed Sep 30 2009 crrodriguez@opensuse.org
- correct voidreturn patch
* Tue Sep 29 2009 crrodriguez@suse.de
- cleanup spec file a bit
- fix voidreturn
* Mon Sep 21 2009 crrodriguez@suse.de
- update to version 2.1.11
- tag localized man pages correctly
* Sat Sep 05 2009 crrodriguez@suse.de
- update to version 2.1.10 see NEWS for details
* Wed Feb 18 2009 crrodriguez@suse.de
- update to version 2.1.9 see NEWS for details
* Issues with the new sped-up syntax highlighting code were
corrected. Other fixes include configure-time detection of groff HTML
support before attempting to generate the HTML version of man pages. Using
~ or ~username syntax in .nanorc should now work again. Also, nano will now
only ask for one acknowledgment of errors it encounters when parsing nanorc
files, and a new -q (--quiet) flag will silence these messages altogether.