thing being undone or redone is currently off the screen.
* src/{files,nano,winio}.c: Rewrap and reshuffle some lines.
-2016-02-22 Chris Allegretta <chrisa@asty.org>
- * Add ability to kill the trailing spaces when justifying
- code. New nanorc option kill_spaces_on_justify, we'll see
- whether this warrants a command line flahg or not.
+2016-02-22 Chris Allegretta <chrisa@asty.org>
+ * Add the ability to kill the trailing spaces when justifying text,
+ by adding a new nanorc option 'kill_spaces_on_justify' -- we'll see
+ whether this warrants a command-line flag or not.
2016-02-22 Benno Schulenberg <bensberg@justemail.net>
* src/nano.c (free_openfilestruct): Elide this function.
* src/winio.c (set_modified): Plug another memory leak.
* src/files.c (set_modified): Move this function to its habitat.
* src/files.c (open_file): Return the fantastic file descriptor
- when opening a non-existent file for reading succeeds.
+ when the opening of a non-existent file for reading succeeds.
* src/nano.c (delete_opennode), src/text.c (discard_until):
Free the items on the undo stack when a buffer is closed.
This fixes Savannah bug #46904 reported by Mike Frysinger.
GNU nano 2.5.0 - 2015.12.05
-2015-12-05 Chris Allegretta <chrisa@asty.org>
+2015-12-05 Chris Allegretta <chrisa@asty.org>
* src/nano.c (main): key_defined() is an ncurses-ism. Add better
checks for this.
possible bailout because of a zero-sized region.
* NEWS: Option --noread allows writing, not reading, to named pipes.
-2015-03-22 Chris Allegretta <chrisa@asty.org>
+2015-03-22 Chris Allegretta <chrisa@asty.org>
* src/text.c (do_alt_speller): timestamp can just be a time_t.
Fixes compilation on win32 and macOS.
GNU nano 2.3.99pre3 - 2015.02.27
-2015-02-25 Chris Allegretta <chrisa@asty.org>
+2015-02-25 Chris Allegretta <chrisa@asty.org>
* src/rcfile.c (parse_binding): Add an exception for do_toggle() as
rebinding toggles broke with r5022. (Fixed in r5134.)
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.
-2015-02-09 Chris Allegretta <chrisa@asty.org>
+2015-02-09 Chris Allegretta <chrisa@asty.org>
* nano.spec.in: Add dependency on texinfo, docdir files for
RPM file creation.
* src/nano.c (version), src/winio.c (do_credits): Update the copyright
years to include 2015.
-2015-01-13 Chris Allegretta <chrisa@asty.org>
+2015-01-13 Chris Allegretta <chrisa@asty.org>
* 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(). Fixes Savannah bug #42373 reported by Benno Schulenberg.
GNU nano 2.3.99pre1 - 2015.01.06
-2015-01-03 Chris Allegretta <chrisa@asty.org>
+2015-01-03 Chris Allegretta <chrisa@asty.org>
* 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
GNU nano 2.3.5 - 2014.07.11
-2014-07-11 Chris Allegretta <chrisa@asty.org>
+2014-07-11 Chris Allegretta <chrisa@asty.org>
* src/files.c (do_lockfile, open_file): If locking fails,
allow the lock failure message to be preserved AND
preserve the filename passed on the cmdline. Fixes
Savannah bug #42668.
-2014-07-02 Chris Allegretta <chrisa@asty.org>
+2014-07-02 Chris Allegretta <chrisa@asty.org>
* src/files.c (do_lockfile): Check whether the directory
of the file we're trying to lock exists, and make the
resulting error message more intuitive. Fixes
GNU nano 2.3.4 - 2014.06.02
-2014-06-02 Chris Allegretta <chrisa@asty.org>
+2014-06-02 Chris Allegretta <chrisa@asty.org>
* doc/syntax/default.nanorc: Can't do trailing spaces in the
default syntax or it will hilight the spaces as you type them
into a new file, which for non-programming is infuriating.
* src/text.c (do_delete): For the undo structure, differentiate
between deleting a newline and any other character.
-2014-05-29 Chris Allegretta <chrisa@asty.org>
+2014-05-29 Chris Allegretta <chrisa@asty.org>
* src/chars.c (addstrings): This function needs to be available even
on non-utf-8 systems.
* nano-regress: Added --disable-utf8 to regression check.
GNU nano 2.3.3 - 2014.05.29
-2014-05-28 Chris Allegretta <chrisa@asty.org>
+2014-05-28 Chris Allegretta <chrisa@asty.org>
* doc/syntax/mutt.nanorc: Include Benno's awesome signature
matcher, modified slightly to also work for quoted sigs.
* doc/syntax/default.nanorc: Be far more gentle with something
* src/global.c (shortcut_init): Standardize the add_to_funcs() calls,
breaking always between the menus and the tag.
-2014-05-27 Chris Allegretta <chrisa@asty.org>
+2014-05-27 Chris Allegretta <chrisa@asty.org>
* src/winio.c (edit_refresh): wredrawln() is not supported under
slang.
* src/rcfile.c: Move parse_magic_exp() next to its sister.
* src/color.c (color_update): Rename a variable, and elide another.
-2014-05-10 Chris Allegretta <chrisa@asty.org>
+2014-05-10 Chris Allegretta <chrisa@asty.org>
* src/rcfile.c (parse_color_names): Redefine false and true to
their appropriate macro names so --with-slang works (slangv2 anyway).
* src/text.c (do_linter): Care about whether user cancelled the file
* src/search.c (search_init): Silence a compiler warning about a
variable possibly being used uninitialized.
-2014-03-31 Chris Allegretta <chrisa@asty.org>
+2014-03-31 Chris Allegretta <chrisa@asty.org>
* doc/syntax/go.nanorc: New file, basic go syntax highlighting.
2014-03-30 Benno Schulenberg <bensberg@justemail.net>
* src/move.c (do_down): Initialize the correct variable to zero.
Solves jumpy scrolling behaviour reported by Chris Allegretta.
-2014-03-04 Chris Allegretta <chrisa@asty.org>
+2014-03-04 Chris Allegretta <chrisa@asty.org>
* global.c (first_sc_for): Return raw keystrokes last, so
they will not be displayed if there are F-keys or Meta keys
mapped for an item in the shortcut list.
Remove erroneous 'suspendenable' -- it is not a settable option
but a bindable function.
-2014-03-03 Chris Allegretta <chrisa@asty.org>
+2014-03-03 Chris Allegretta <chrisa@asty.org>
* global.c (shortcut_init): Don't actually free the shortcut
list, since the next pass via justifying will then remove all
custom shortcuts. Fixes bug discovered by Benno Schulenberg.
to the texinfo documentation, and improve alphabetization a bit.
* src/nano.c (usage): Don't mention --softwrap in tiny version.
-2014-03-01 Chris Allegretta <chrisa@asty.org>
+2014-03-01 Chris Allegretta <chrisa@asty.org>
* global.c (shortcut_init): Fix an issue with the split
do_research() setup when using --enable-tiny.
* rcfile.c (parse_linter): Allow linter to be unset using "".
nano-devel in August 2010: after typing ^R ^T ^W ^G ^X, the file
being edited would get displayed instead of the list of files.
-2014-02-24 Chris Allegretta <chrisa@asty.org>
+2014-02-24 Chris Allegretta <chrisa@asty.org>
* New linter functionality, rcfile option "linter".
* src/global.c (shortcut_init): Actually free the sclist
if it was allocated before.
2014-02-22 David Lawrence Ramsey <pooka109@gmail.com>
* ChangeLog, NEWS, doc/faq.html: Fix typos, wording, and spacing.
-2014-01-25 Chris Allegretta <chrisa@asty.org>
+2014-01-25 Chris Allegretta <chrisa@asty.org>
* src/winio.c (set_modified): Check for a filename before trying to lock.
2014-01-24 Benno Schulenberg <bensberg@justemail.net>
Savannah patch #8180 and fixes the segfault reported on the list:
https://lists.gnu.org/archive/html/nano-devel/2012-07/msg00000.html.
-2014-01-01 Chris Allegretta <chrisa@asty.org>
+2014-01-01 Chris Allegretta <chrisa@asty.org>
* doc/texinfo/nano.texi: Change '@sp4' since makeinfo 5.1 hates the
lack of spacing. Fixes bug #40103 reported by flapane@Savannah.
Also change SVN status to non-binary so diffs work.
-2014-01-01 Chris Allegretta <chrisa@asty.org>
+2014-01-01 Chris Allegretta <chrisa@asty.org>
* src/global.c (strtokeytype): Check for lower-case 'f' for defining F-key
sequences for consistency (previously was two checks for upper case 'F').
Fixes bug #40815 reported by David Binderman <dcb314@Savannah>.