]> git.wh0rd.org Git - nano.git/log
nano.git
14 years agoGNU nano 2.2.4 v2.2.4
Chris Allegretta [Thu, 15 Apr 2010 07:40:41 +0000 (07:40 +0000)]
GNU nano 2.2.4

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Apr 2010 21:55:39 +0000 (21:55 +0000)]
2010-04-07 Chris Allegretta <chrisa@asty.org>
        * doc/man/nano.1,nanorc.5: Remove the backup file warnings now
          that a sufficient security fix exists for the backup file code.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoAdd CVE information for the fixes in this release.
Chris Allegretta [Wed, 14 Apr 2010 21:53:59 +0000 (21:53 +0000)]
Add CVE information for the fixes in this release.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4501 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Apr 2010 06:03:12 +0000 (06:03 +0000)]
2010-04-14 Chris Allegretta <chrisa@asty.org>
        * files.c (wirte_file): Don't set current_stat when tmp == TRUE, check
          whether current_stat is set when trying to use it, and don't do the
          modification check if the filename changed, since we have no way
          of knowing about it in that case.  Fixes Savannah bug 29392, reported
          by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4500 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Apr 2010 03:14:40 +0000 (03:14 +0000)]
2010-04-09 Chris Allegretta <chrisa@asty.org>
        * text.c (do_alt_speller): Skip invoking the alt speller if the file size
          is 0 bytes.  Fixes Savannah bug 29393 reported by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4499 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-13 Felipe Bugno <necron@bol.com.br>
Chris Allegretta [Wed, 14 Apr 2010 02:38:56 +0000 (02:38 +0000)]
2010-04-13 Felipe Bugno <necron@bol.com.br>
        * doc/syntax/cmake.nanorc: Added cmake syntax highlighting file.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4498 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoSigh, left out O_EXCL from Dan's patch
Chris Allegretta [Fri, 9 Apr 2010 15:31:00 +0000 (15:31 +0000)]
Sigh, left out O_EXCL from Dan's patch

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4497 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 9 Apr 2010 15:01:51 +0000 (15:01 +0000)]
2010-04-09 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Better security fixes for backup file writing,
          mangled from submission by Dan Rosenberg <dan.j.rosenberg at gmail>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4496 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoOkay maybe make it crash EVEN less.
Chris Allegretta [Thu, 8 Apr 2010 04:07:14 +0000 (04:07 +0000)]
Okay maybe make it crash EVEN less.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4495 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 8 Apr 2010 02:22:53 +0000 (02:22 +0000)]
2010-04-02 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Previous fixes should not cause a crash
          when saving a new file.  Discovered by Mike Frysinger <vapier@gentoo.org>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4494 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 7 Apr 2010 06:20:55 +0000 (06:20 +0000)]
2010-04-07 Chris Allegretta <chrisa@asty.org>
        * doc/man/nano.1,nanorc.5: Add warnings about using backup
          mode as root due to the Dan Rosenberg security analysis.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoFix that wording cause it's the file owner we care about
Chris Allegretta [Wed, 7 Apr 2010 05:53:41 +0000 (05:53 +0000)]
Fix that wording cause it's the file owner we care about

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago * files.c (do_writeout): Also abort on writing a backup
Chris Allegretta [Wed, 7 Apr 2010 05:48:24 +0000 (05:48 +0000)]
    * files.c (do_writeout): Also abort on writing a backup
          file when its owner doesn't match the edited file.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4491 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-04-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 3 Apr 2010 02:39:18 +0000 (02:39 +0000)]
2010-04-02 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Expand modification check to include both the
          original file's device ID and inode number as reasons to warn the
          user that the file has been modified.  Based on security article on nano
          by Dan Rosenberg.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4490 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-03-21 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 21 Mar 2010 05:31:43 +0000 (05:31 +0000)]
2010-03-21 Chris Allegretta <chrisa@asty.org>
        * nano.c (page_stdin et al): Don't attempt to reset/reopen the terminal
          settings when reading stdin if it was aborted with SIGINT.  May fix Savannah
          bug 29114 reported by  Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4489 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-03-21 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Sun, 21 Mar 2010 05:04:03 +0000 (05:04 +0000)]
2010-03-21 Mike Frysinger <vapier@gentoo.org>
        * doc/syntax/c.nanorc: Add additional support for #include_next and #pragma

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4488 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoFix ChangeLog to reflect previosu commit.
Chris Allegretta [Sun, 21 Mar 2010 04:57:14 +0000 (04:57 +0000)]
Fix ChangeLog to reflect previosu commit.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4487 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoMake previous fix more succinct and fix page down also.
Chris Allegretta [Sun, 21 Mar 2010 04:56:37 +0000 (04:56 +0000)]
Make previous fix more succinct and fix page down also.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4486 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago * move.c (do_page_up): Explicitly set current_y to 0 when paging up when not in
Chris Allegretta [Sun, 21 Mar 2010 04:35:17 +0000 (04:35 +0000)]
* move.c (do_page_up): Explicitly set current_y to 0 when paging up when not in
  smooth scroll mode, as previous fixes would otherwise cause the cursor to not
  really be moved to the stop of the screen.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4485 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-03-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 7 Mar 2010 19:35:46 +0000 (19:35 +0000)]
2010-03-07 Chris Allegretta <chrisa@asty.org>
        * configure.ac, nano.c (handle_sigwinch): Create check for whether LINES and
          COLS can safely be redefined.  Fixes compilation issues with cygwin, and likely
          with newer versions of ncurses, fixes Savannah bug 28984 repoted by Andy Koppe
          and Eric Oliver via mailing list.
        * winio.c (get_mouseinput) - fix stray semicolon in code, also reported in
          bug 28984.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4484 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoGNU nano 2.2.3 release v2.2.3
Chris Allegretta [Thu, 11 Feb 2010 06:13:55 +0000 (06:13 +0000)]
GNU nano 2.2.3 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4482 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-01-28 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 29 Jan 2010 03:40:58 +0000 (03:40 +0000)]
2010-01-28 Chris Allegretta <chrisa@asty.org>
        * move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cusor
          position.  Part one of fix for Savannah bug 21178 by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoBack to SVN
Chris Allegretta [Tue, 19 Jan 2010 00:05:49 +0000 (00:05 +0000)]
Back to SVN

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4480 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoGNU nano 2.2.2 release v2.2.2
Chris Allegretta [Mon, 18 Jan 2010 03:47:40 +0000 (03:47 +0000)]
GNU nano 2.2.2 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4478 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoCompile fix with current_stat. Not sure how I missed that.
Chris Allegretta [Mon, 18 Jan 2010 03:43:24 +0000 (03:43 +0000)]
Compile fix with current_stat.  Not sure how I missed that.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4477 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoMissed ChangeLog entry frm previous, must have been from wrong cwd
Chris Allegretta [Mon, 18 Jan 2010 00:24:09 +0000 (00:24 +0000)]
Missed ChangeLog entry frm previous, must have been from wrong cwd

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-01-17 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 17 Jan 2010 05:30:22 +0000 (05:30 +0000)]
2010-01-17 Chris Allegretta <chrisa@asty.org>
        * nano.c (main), prompt.c (do_statusbar_input): Handle problems with an unmapped
          function due to key rebinding, fixes crashes on FreeBSD repoted by Eitan
          Adler <eitanadlerlist@gmail.com>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4475 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-01-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 14 Jan 2010 06:32:37 +0000 (06:32 +0000)]
2010-01-14 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Fix for crash / incorrect external modification warning
          due to earlier fix in r4467.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4474 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-01-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 13 Jan 2010 03:21:19 +0000 (03:21 +0000)]
2010-01-12 Chris Allegretta <chrisa@asty.org>
        * move.c (do_page_up, do_page_down): Fix issues with not enough scrolling down/up
          and cursor centering.
        * winio.c (edit_scroll): Remove lots of needless checking of line length for
          soft wrapping code.
        * winio.c (edit_update) - Remove extra code for when updating with old_current outside
          of the new buffer boundary and centering issues.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4473 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-01-05 Tito <farmatito@tiscali.it>
Chris Allegretta [Tue, 5 Jan 2010 23:35:50 +0000 (23:35 +0000)]
2010-01-05 Tito <farmatito@tiscali.it>
        * search.c (update_history) - Fix bad length check causing search crash on armel platform.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2010-01-04 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 4 Jan 2010 19:00:55 +0000 (19:00 +0000)]
2010-01-04 Chris Allegretta <chrisa@asty.org>
        * winio.c: edit_update, edit_redraw - Fix search not scrolling to the middle of the screen
          (reported by alpha@qzx.com) and places where we rely on maxrows but should not.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4471 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agodoc/man/nano.1: Avoid a groff warning by prepending a zero-width space to a line...
Jordi Mallach [Sat, 26 Dec 2009 01:58:50 +0000 (01:58 +0000)]
doc/man/nano.1: Avoid a groff warning by prepending a zero-width space to a line starting with '.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4470 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-22 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 23 Dec 2009 05:03:09 +0000 (05:03 +0000)]
2009-12-22 Chris Allegretta <chrisa@asty.org>
        * files.c (write_file): Fix compatibility with previous stat fix and tiny mode.

2009-12-22 David Lawrence Ramsey <pooka109@gmail.com>
        * global.c: Add new strings for forward/back in the file browser.  New variables
          nano_forwardfile_msg and nano_backfile_msg.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-20 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 20 Dec 2009 05:55:41 +0000 (05:55 +0000)]
2009-12-20 Chris Allegretta <chrisa@asty.org>
        * files.c (is_file_writable): remove assert check for f, since it's not
          initialized at the time.  Fixes Savannah bug 28309, reported by Zoltan Kovacs.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4468 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-20 Brian Szymanski <skibrianski via Savannah>
Chris Allegretta [Sun, 20 Dec 2009 05:46:35 +0000 (05:46 +0000)]
2009-12-20 Brian Szymanski <skibrianski via Savannah>
        * src/files.c (write_file): Check stat struct exists, and if not use just obtained stat data.
          Fixes Ubuntu bug 471568, "reproducible crash in nano on trying to save to a file
          different than the one specified on the command line".

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4467 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-15 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 15 Dec 2009 18:07:17 +0000 (18:07 +0000)]
2009-12-15 Chris Allegretta <chrisa@asty.org>
        * doc/nanorc.sample.in - Remove erroneous 'set suspendenable' as it's actually a
          key binding (e.g. 'bind M-Z suspendenable all') and not a settable flag.  Fixes
          Savannah bug 28299 reported by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4466 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoOh snap, back to SVN.
Chris Allegretta [Sun, 13 Dec 2009 05:03:24 +0000 (05:03 +0000)]
Oh snap, back to SVN.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoGNU nano 2.2.1 release v2.2.1
Chris Allegretta [Sun, 13 Dec 2009 03:31:00 +0000 (03:31 +0000)]
GNU nano 2.2.1 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4463 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 12 Dec 2009 22:21:20 +0000 (22:21 +0000)]
2009-12-12 Chris Allegretta <chrisa@asty.org>
        * text.c (do_delete), nano.c (do_output): Add check for length of current line
          before and after adding/deleting text, and do full refresh if it is now
          a different multiple of COLS.  Also get rid of superfluous do_refresh
          vars now that we have edit_refresh_needed.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4462 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Wed, 9 Dec 2009 17:09:37 +0000 (17:09 +0000)]
2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
        * global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to
          research in either main menu or browser.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 9 Dec 2009 16:51:43 +0000 (16:51 +0000)]
2009-12-09 Chris Allegretta <chrisa@asty.org>
        * files.c (read_file) - Add parameter for whether we should even try to check
          file writability, as the message is useless when we're inserting into an
          existing buffer.  Fixes Savannah bug 28219.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4460 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Mon, 7 Dec 2009 12:34:23 +0000 (12:34 +0000)]
2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
        * global.c (shortcut_init): Many fixes for keybindings code oversights, including
          restore page up/down and GotoDir to browser,
        * browser.c (do_browser): Fix breaking out of a submenu (e.g. gotodir) breaks out
          of browser altogether.
        * doc/nanorc.sample.in: Add missing entries for fortran/ObjC/OCaml entries.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-03 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Fri, 4 Dec 2009 04:29:55 +0000 (04:29 +0000)]
2009-12-03 David Lawrence Ramsey <pooka109@gmail.com>
        * global.c (shortcut_init) - Remove help shortcut from help shortcut list :-)  Tweaked
          to reorder exit shortcut to end of list to not mess up prev/next shortcut symmetry.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-03 Eitan Adler <eitanadlerlist@gmail.com>
Chris Allegretta [Fri, 4 Dec 2009 03:46:04 +0000 (03:46 +0000)]
2009-12-03 Eitan Adler <eitanadlerlist@gmail.com>
        * doc/syntax/makefile.nanorc - Fix poor regex for all alpha characters which sometimes leads to
          error messages, reported by gibboris@gmail.com.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoAdd --disable-wrapping to nano-regress
Chris Allegretta [Thu, 3 Dec 2009 03:20:24 +0000 (03:20 +0000)]
Add --disable-wrapping to nano-regress

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4456 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Dec 2009 03:12:00 +0000 (03:12 +0000)]
2009-12-02 Chris Allegretta <chrisa@asty.org>
        * text.c (add_undo, do_undo, do_redo) - Do not execute cases for SPLIT when DISABLE_WRAPPING
          is defined.  Fixes Savannah bug 28151 (anon).

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoFix escaping of hyphens for the -$ option.
Jordi Mallach [Wed, 2 Dec 2009 22:47:57 +0000 (22:47 +0000)]
Fix escaping of hyphens for the -$ option.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-01 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Wed, 2 Dec 2009 03:36:22 +0000 (03:36 +0000)]
2009-12-01 David Lawrence Ramsey <pooka109@gmail.com>
        * Update documentation for 2.2 features including sample nanorc file, texinfo
          file, man pages, UPGRADE file, and update copyright noticed for the current year.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-12-01 Kamil Dudka <kdudka@redhat.com>
Chris Allegretta [Wed, 2 Dec 2009 03:24:18 +0000 (03:24 +0000)]
2009-12-01 Kamil Dudka <kdudka@redhat.com>
        * chars.c, file.c - Better handle unused results for things like mbtowc(), new
          macro IGNORE_CALL_RESULT.

2009-12-01 Chris Allegretta <chrisa@asty.org>
        * global.c (shortcut_init) - Remove redundant entries for ^Y/^V reported by
          Christian Weisgerber.
        * doc/man/nanorc.5 - Fix typo in Meta documentation, reported by gibboris@gmail.com.

2009-11-29 David Lawrence Ramsey <pooka109@gmail.com>
        * global.c (shortcut_init) - Add support for ^P and ^N in the help menu.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoGNU nano 2.2.0 release v2.2.0
Chris Allegretta [Mon, 30 Nov 2009 05:26:30 +0000 (05:26 +0000)]
GNU nano 2.2.0 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-29 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Sun, 29 Nov 2009 06:24:10 +0000 (06:24 +0000)]
2009-11-29 David Lawrence Ramsey <pooka109@gmail.com>
        * global.c: Fix replace and insert file initializations for proper compilation options.
        * nano.c (do_suspend): Update comments to reflect actual code path, bad Chris and thanks for
          noticing Jordi.
        * configure.ac: Fix typos

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4449 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 29 Nov 2009 06:13:22 +0000 (06:13 +0000)]
2009-11-29 Chris Allegretta <chrisa@asty.org>
        * prompt.c (get_prompt_string) - Universally handle help key when is disabled.  Fixes Savannah
          bug 28117 by David Lawrence Ramsey <pooka109@gmail.com>.
        * chars.c, files.c: Add junk vars to silence the compiler.  Sigh.

2009-11-29 David Lawrence Ramsey <pooka109@gmail.com>
        * Change several *chars to const char, additional cleanups and casts to make compilers happier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4448 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * doc/dyntax/makefile.nanorc - Sample Makefile highlighting based on wiki...
Chris Allegretta [Sat, 28 Nov 2009 04:11:04 +0000 (04:11 +0000)]
    * doc/dyntax/makefile.nanorc - Sample Makefile highlighting based on wiki.linuxhelp.net version.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 28 Nov 2009 03:01:30 +0000 (03:01 +0000)]
2009-11-27 Chris Allegretta <chrisa@asty.org>
        * nano.c (do_suspend): Don't clear the screen but do move the cursor down to the last line
          first in an effort to not corrupt the screen, which contradicts Pico but is consistent
          with almost all other text editors.  Fixes Savannah bug 28110/Debian bug 460510
          reported by Tim Connors <reportbug@rather.puzzling.org>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4446 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * rcfile.c (parse_rcfile), initialize size argument to getline(), fixes crash on...
Chris Allegretta [Fri, 27 Nov 2009 05:09:56 +0000 (05:09 +0000)]
* rcfile.c (parse_rcfile), initialize size argument to getline(), fixes crash on FreeBSD
  reported by Eitan Adler <eitanadlerlist@gmail.com>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-26 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 27 Nov 2009 03:04:59 +0000 (03:04 +0000)]
2009-11-26 Chris Allegretta <chrisa@asty.org>
        * winio.c (edit_scroll): Adjust for long lines when scrolling.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-26 Jordi Mallach <jordi@gnu.org>
Chris Allegretta [Fri, 27 Nov 2009 02:50:12 +0000 (02:50 +0000)]
2009-11-26 Jordi Mallach <jordi@gnu.org>
        * doc/man/*: Update all man pages to escape unescapred hyphens.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoSimplify logic in do_down() since we now have maxrows to rely on.
Chris Allegretta [Thu, 26 Nov 2009 18:23:00 +0000 (18:23 +0000)]
Simplify logic in do_down() since we now have maxrows to rely on.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4442 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-24 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 24 Nov 2009 17:15:53 +0000 (17:15 +0000)]
2009-11-24 Chris Allegretta <chrisa@asty.org>
        * move.c (do_page_up, do_page_down): Make these functions work better with soft
          line wrapping.
        * winio.c (compute_maxrows): Make maxrows calculation more accurate when all lines are > COLS.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoPart 2 of David's fixes for David's bug 71 fix
Chris Allegretta [Sun, 22 Nov 2009 23:23:31 +0000 (23:23 +0000)]
Part 2 of David's fixes for David's bug 71 fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-22 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 22 Nov 2009 21:35:56 +0000 (21:35 +0000)]
2009-11-22 Chris Allegretta <chrisa@asty.org>
        * nano.c (main): Allow edit_refresh_needed to take effect when using --enable-tiny
          (fixes Savannah bug 28076 reported by David Lawrence Ramsey).

2009-11-22 David Lawrence Ramsey <pooka109@gmail.com>
        * nano.c (move_to_filestruct): Fix bug 71 (cut at top of line recenters)
        * Fix compilation with --enable-tiny

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-22 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Sun, 22 Nov 2009 16:36:53 +0000 (16:36 +0000)]
2009-11-22 Mike Frysinger <vapier@gentoo.org>
        * doc/syntax/gentoo.nanorc: Tweak comment highlighting.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoBack to SVN!
Chris Allegretta [Sun, 22 Nov 2009 02:52:23 +0000 (02:52 +0000)]
Back to SVN!

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.99pre2 release v2.1.99pre2
Chris Allegretta [Sun, 22 Nov 2009 02:49:39 +0000 (02:49 +0000)]
GNU nano 2.1.99pre2 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
Chris Allegretta [Sat, 21 Nov 2009 17:12:28 +0000 (17:12 +0000)]
    * prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
          Fixes Savannah bug 24957 by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-21 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 21 Nov 2009 16:26:59 +0000 (16:26 +0000)]
2009-11-21 Chris Allegretta <chrisa@asty.org>
        * rcfile.c: Add unbinding keyword, fixes Savannah bug 22852 reported by frankd.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4433 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 20 Nov 2009 05:09:12 +0000 (05:09 +0000)]
2009-11-19 Chris Allegretta <chrisa@asty.org>
        * nano.c (die_save_file) Try nd match the permissions of the file we were
          editing but only make a minimal effort to do so. Fixes Savannah bug 27273
          reported by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoTypo fix part 2, noticed by j.mader@gmail.com.
Chris Allegretta [Wed, 18 Nov 2009 22:10:13 +0000 (22:10 +0000)]
Typo fix part 2, noticed by j.mader@gmail.com.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoBack to svn, oops.
Chris Allegretta [Wed, 18 Nov 2009 21:34:09 +0000 (21:34 +0000)]
Back to svn, oops.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-18 Adrian Bunk <bunk via Savannah>
Chris Allegretta [Wed, 18 Nov 2009 12:39:47 +0000 (12:39 +0000)]
2009-11-18 Adrian Bunk <bunk via Savannah>
* nano.c (main) - Allow --fill and --nowrap to override nanorc entries and each other
          on the command line.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFurther fixes, also fix some page/up down issues where we go way off course.
Chris Allegretta [Mon, 16 Nov 2009 04:28:40 +0000 (04:28 +0000)]
Further fixes, also fix some page/up down issues where we go way off course.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-15 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 16 Nov 2009 00:15:45 +0000 (00:15 +0000)]
2009-11-15 Chris Allegretta <chrisa@asty.org>
        * winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling
          is enabled.  Fixes Savannah bug 28024 by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4427 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.99pre1 release v2.1.99pre1
Chris Allegretta [Sun, 15 Nov 2009 06:20:21 +0000 (06:20 +0000)]
GNU nano 2.1.99pre1 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * files.c (do_writeout) - Only mention file modification if we're writing...
Chris Allegretta [Sat, 14 Nov 2009 20:06:24 +0000 (20:06 +0000)]
    * files.c (do_writeout) - Only mention file modification if we're writing the same
          file we originally opened.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4424 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 14 Nov 2009 19:57:38 +0000 (19:57 +0000)]
2009-11-14 Chris Allegretta <chrisa@asty.org>
        * move.c (do_first_line, do_last_line): Just set edit_refresh_needed rather than
          get messy.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4423 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * nano.c (do_mouse): Fix mouse support not working with soft wrapping. Fixes
Chris Allegretta [Fri, 13 Nov 2009 20:38:32 +0000 (20:38 +0000)]
    * nano.c (do_mouse): Fix mouse support not working with soft wrapping.  Fixes
          Savannah bug 27549 reported by Hannes Schueller.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4422 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 13 Nov 2009 13:48:56 +0000 (13:48 +0000)]
2009-11-13 Chris Allegretta <chrisa@asty.org>
        * winio.c: Add new static maxsize to be able to easier calculation with
          softwrap.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4421 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 11 Nov 2009 06:00:33 +0000 (06:00 +0000)]
2009-11-11 Chris Allegretta <chrisa@asty.org>
        * winio.c: Large tweaking of cursor and text display based on COLS not COLS - 1,
          due to finally understanding that display_string wasn't being called properly
          when softwrap was enabled.  Fixes Savnnah bug 27603, Return key doesn't scroll
          viewport reported by Hannes Schueller.
        * - Fix size_t formatting issues with -pedantic by converting vals to long unsigned
          for printing.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4420 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoBetter fix, remove unneeded closecode variable and update bug credit.
Chris Allegretta [Tue, 10 Nov 2009 03:44:12 +0000 (03:44 +0000)]
Better fix, remove unneeded closecode variable and update bug credit.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4419 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 10 Nov 2009 02:46:17 +0000 (02:46 +0000)]
2009-11-09 Chris Allegretta <chrisa@asty.org>
        * files.c (read_file): - Remove debugging messages from file load

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 7 Nov 2009 16:56:17 +0000 (16:56 +0000)]
2009-11-07 Chris Allegretta <chrisa@asty.org>
        * nano.h - Add bogus value at begin of flags enumeration because it
          causes casesens rcfile option to misbehave, reported by Helmut
          Jarausch <jarausch@igpm.rwth-aachen.de>

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * rcfile.c - Add in specific check for UNDOABLE and fix declaration as
Chris Allegretta [Tue, 3 Nov 2009 19:31:17 +0000 (19:31 +0000)]
    * rcfile.c - Add in specific check for UNDOABLE and fix declaration as
          to what flag it toggles.  Fixes undo mode being able to be called from
          the rc file, reported by Helmut Jarausch <jarausch@igpm.rwth-aachen.de>

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-03 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 3 Nov 2009 18:47:39 +0000 (18:47 +0000)]
2009-11-03 Chris Allegretta <chrisa@asty.org>
        * nano.h - Fix comma at end of enumerator list which angers -pedantic.

2009-11-03 Mike Frysinger <vapier@gentoo.org>
        * files.c - Move up is_file_writable() to stop implicit definition complaints.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-10-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 27 Oct 2009 04:09:27 +0000 (04:09 +0000)]
2009-10-27 Chris Allegretta <chrisa@asty.org>
        * browser.c (browser_init): Set column width to something sane when
          initializing in a directory with no file entries.  Fixes Savannah
          bug 24163 found (and initial patch) by Paul Wise.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoback to svn, and:
Chris Allegretta [Tue, 15 Sep 2009 04:51:09 +0000 (04:51 +0000)]
back to svn, and:
* winio.c: Clean up some unused variables from the soft wrapping code.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.11 release v2.1.11
Chris Allegretta [Tue, 15 Sep 2009 03:50:17 +0000 (03:50 +0000)]
GNU nano 2.1.11 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd softwrap and undo into the sample .nanorc.
Chris Allegretta [Mon, 14 Sep 2009 21:38:53 +0000 (21:38 +0000)]
Add softwrap and undo into the sample .nanorc.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-09-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 13 Sep 2009 04:50:44 +0000 (04:50 +0000)]
2009-09-12 Chris Allegretta <chrisa@asty.org>
        * winio.c (edit_update) - properly update edittop when using soft wrapping.
          Fixes lack of centering for searching for off-screen answers, found by
          Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-09-03 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Sep 2009 23:29:14 +0000 (23:29 +0000)]
2009-09-03 Chris Allegretta <chrisa@asty.org>
        * global.c (shortcut_init): Fix up/down keys not responding in the file browser,
          discovered by Hannes <mr_creosote@mutantwatch.de>.
        * move.c (do_up) - Fix another scrolling issue with softwrap when the
          cursor is beyond COLS, discovered by Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-09-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Sep 2009 05:45:13 +0000 (05:45 +0000)]
2009-09-02 Chris Allegretta <chrisa@asty.org>
        * Attempt to check file writability and emit a warning on the status bar
          if nano doesn't think the file can be written to.  Feature originally
          requested by Damien Jolders <madamien@skullsquad.com> et al.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFix regular scrolling with softwrap enabled too. Stop trying to be clever and just
Chris Allegretta [Thu, 3 Sep 2009 02:48:35 +0000 (02:48 +0000)]
Fix regular scrolling with softwrap enabled too.  Stop trying to be clever and just
figure out if we need to bail and call edit_refresh().

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 30 Aug 2009 03:50:16 +0000 (03:50 +0000)]
2009-08-29 Chris Allegretta <chrisa@asty.org>
        * Fix more soft wrapping issues, particularly with soft scrolling,
          discovered by Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 19 Aug 2009 05:38:07 +0000 (05:38 +0000)]
2009-08-19 Chris Allegretta <chrisa@asty.org>
* Fix issue with soft wrapping not displaying the last character of each line,
  fixed bug discovered by Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-17 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Tue, 18 Aug 2009 02:55:22 +0000 (02:55 +0000)]
2009-08-17 Mike Frysinger <vapier@gentoo.org>
* doc/syntax/(gentoo|sh|tcl).nanorc: Fix problems with empty regexes on POSIX.
  Fixes Savannah bug 27175.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-17 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 17 Aug 2009 07:52:10 +0000 (07:52 +0000)]
2009-08-17 Chris Allegretta <chrisa@asty.org>
        * Initial soft line wrapping implementation.  Command line flags
          -$ or --softwrap.
        * nano.c, text.c: Clean up some fprintf warnings in debug mode due to printing
          a size_t without using the zd specifier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4402 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoBack to SVN version
Chris Allegretta [Sat, 15 Aug 2009 02:54:35 +0000 (02:54 +0000)]
Back to SVN version

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4401 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 14 Aug 2009 03:18:29 +0000 (03:18 +0000)]
2009-08-13 Chris Allegretta <chrisa@asty.org>
* New global flag implementation courtesy of Adam Wysocki <gophi@arcabit.pl>, allows
    previous undo flag to be implemented consistent with other flags.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4400 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.10 release v2.1.10
Chris Allegretta [Tue, 28 Jul 2009 05:08:35 +0000 (05:08 +0000)]
GNU nano 2.1.10 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4398 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-07-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 27 Jul 2009 04:16:44 +0000 (04:16 +0000)]
2009-07-27 Chris Allegretta <chrisa@asty.org>
* text.c (undo_cut, redo_cut): Don't actually try and undo/redo an empty cut, i.e. the magicline.
  Fixes crash on cutting last line discovered by Eitan Adler <eitanadlerlist@gmail.com>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd in rcfile support for undo since it would be bad to overly punish the masochists...
Chris Allegretta [Sun, 12 Jul 2009 06:13:36 +0000 (06:13 +0000)]
Add in rcfile support for undo since it would be bad to overly punish the masochists who want to try it out and hopefully submit bug reports.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4396 35c25a1d-7b9e-4130-9fde-d3aeb78583b8