]> git.wh0rd.org Git - nano.git/log
nano.git
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

14 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

15 years ago2009-07-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 12 Jul 2009 03:36:58 +0000 (03:36 +0000)]
2009-07-11 Chris Allegretta <chrisa@asty.org>
* nano-regress: Small tweaks
* Change undo code to off unless unabled via a command line option (-u/--undo).  Until this code
  stabilizes this is the only responsible way to treat it.

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

15 years agoMore wrapping redo fixes. Just make do-wrap() undo aware.
Chris Allegretta [Wed, 29 Apr 2009 22:34:27 +0000 (22:34 +0000)]
More wrapping redo fixes.  Just make do-wrap() undo aware.

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

15 years agoComimt point for roll-back of latest undo/redo of split changes.
Chris Allegretta [Wed, 29 Apr 2009 04:43:58 +0000 (04:43 +0000)]
Comimt point for roll-back of latest undo/redo of split changes.

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

15 years agoAdd undoing check for do_enter so redo doesn't blow up.
Chris Allegretta [Sat, 25 Apr 2009 03:31:30 +0000 (03:31 +0000)]
Add undoing check for do_enter so redo doesn't blow up.
Hate to piecemeal these fixed but system unstability is teh suck.

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

15 years agoAdd undo for line break via enter, separate from line wrap
Chris Allegretta [Tue, 21 Apr 2009 05:34:08 +0000 (05:34 +0000)]
Add undo for line break via enter, separate from line wrap
Change message for line split to line wrap, since split ~= break

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

15 years ago- Remove a debug line I left in
Chris Allegretta [Sun, 12 Apr 2009 06:13:16 +0000 (06:13 +0000)]
- Remove a debug line I left in
- Fix undo line split uglyness.  Still not perfect but switching work envs.

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

15 years agoFirst pass at fixing the line splitting undo since it's currently broken beyond belief.
Chris Allegretta [Thu, 26 Mar 2009 01:01:48 +0000 (01:01 +0000)]
First pass at fixing the line splitting undo since it's currently broken beyond belief.
I believe more is broken but committing will motivate me to get closer to a real fix :)

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

15 years ago2009-03-08 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 9 Mar 2009 02:04:40 +0000 (02:04 +0000)]
2009-03-08 Chris Allegretta <chrisa@asty.org>
        * TODO - Break out some targets for various features into 2.2
          and 2.4 series for things which are feasible.

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

15 years ago2009-02-28 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 1 Mar 2009 00:50:19 +0000 (00:50 +0000)]
2009-02-28 Chris Allegretta <chrisa@asty.org>
        * configure.ac: Add check for whether _XOPEN_SOURCE_EXTENDED is needed for
          curses to work w/color.  Fixes compilation on HP-UX with older GCC,
          reported by jay.krell@cornell.edu.

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

15 years ago2009-02-23 Eitan Adler <eitanadlerlist@gmail.com>
Chris Allegretta [Wed, 25 Feb 2009 05:06:05 +0000 (05:06 +0000)]
2009-02-23 Eitan Adler <eitanadlerlist@gmail.com>
* doc/man/Makefile.am: Fix make variable substitution to be more portable

2009-02-23 Chris Allegretta <chrisa@asty.org>
* doc/man/fr/Makefile.am: Add groff check fix to fr files.

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

15 years ago2009-02-23 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 25 Feb 2009 04:32:15 +0000 (04:32 +0000)]
2009-02-23 Chris Allegretta <chrisa@asty.org>
* rcfile.c (parse_keybinding) - Define a var before tryung to use it.  Whoops!
* fix some redefinitions causing compiler warnings, from Eitan Adler.  Other
  (hopefully) fixes for uncasted malloc()s, reported by the same.

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

15 years agoback to SVN, and add header on ChangeLog since I forgot (and its not worth fixing...
Chris Allegretta [Tue, 17 Feb 2009 04:31:04 +0000 (04:31 +0000)]
back to SVN, and add header on ChangeLog since I forgot (and its not worth fixing for the release)

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

15 years agoGNU nano 2.1.9 release v2.1.9
Chris Allegretta [Tue, 17 Feb 2009 04:10:37 +0000 (04:10 +0000)]
GNU nano 2.1.9 release

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

15 years agoFixes for nano-regress and regress fix on nano.c for compilation with slang
Chris Allegretta [Tue, 17 Feb 2009 03:05:17 +0000 (03:05 +0000)]
Fixes for nano-regress and regress fix on nano.c for compilation with slang

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

15 years agoOh, reset multi data in search.c;do_replace_loop() too.
Chris Allegretta [Tue, 17 Feb 2009 02:01:03 +0000 (02:01 +0000)]
Oh, reset multi data in search.c;do_replace_loop() too.

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

15 years agoOkay that will not work. Revert forcing reset_multis on !viewok as it's too expensive
Chris Allegretta [Mon, 16 Feb 2009 23:06:09 +0000 (23:06 +0000)]
Okay that will not work.  Revert forcing reset_multis on !viewok as it's too expensive
for things like deleting text.  Will have to go back and force inside functions.
Add check in reset_multis for CNONE type since that's slowing us down and is dumb
to leave out.

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

15 years ago2009-02-16 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 16 Feb 2009 21:04:00 +0000 (21:04 +0000)]
2009-02-16 Chris Allegretta <chrisa@asty.org>
        * Add new argument to reset_multis for force redraws without attempting to
          guess whether we need to, force updates when running a non-viewok function.
          New utility function color.c:reset_multis_for_id().  Fixes e.g. incorrect
          highlighting when cutting text.

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

15 years ago2009-02-15 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 15 Feb 2009 19:16:18 +0000 (19:16 +0000)]
2009-02-15 Chris Allegretta <chrisa@asty.org>
        * configure.ac, doc/man/Makefile.am - Add check for HTML output support in GNU
          groff.  Fixes Savannah bug #24461: build traps on groff.  Also, add installation
          of html-ized man pages to $datadir/nano/man-html, since we should probably
          install files we went to all the trouble of generating.

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

15 years ago2009-02-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 15 Feb 2009 02:40:16 +0000 (02:40 +0000)]
2009-02-14 Chris Allegretta <chrisa@asty.org>
        * nano.c (precalc_multicolorinfo) - Add debugging so we have a better clue if further
          issues arise.   Also start at the beginning of later lines when trying to match the
          end of a multi-line regex.  Fixes more overly aggressive highlighting found by
          Mike Frysinger.  Finally, advance to the match end for performance.

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

15 years ago2009-02-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 11 Feb 2009 05:45:57 +0000 (05:45 +0000)]
2009-02-11 Chris Allegretta <chrisa@asty.org>
        * nanorc.c (parse_include): Do call real_dir_from_tilde() on included
          files in .nanorc, but still avoiding bug #25297.  Fixes ~ and ~user
          specifications for nanorc include files, as reported by Eitan Adler.

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

15 years ago2009-02-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 9 Feb 2009 04:03:20 +0000 (04:03 +0000)]
2009-02-09 Chris Allegretta <chrisa@asty.org>
        * New option -q, --quiet, rcfile option "quiet" implemented.  Skips printing
          errors about the rcfile and asking user to press enter.  Also, nano should
          now only ask for one enter press when there is an error when not using -q.
          Based on discussion between Eitan Adler and Mike Frysinger.
        * rcfile.c (parse_keybinding) -  Significant cleanups and fixes for
          detecting and reporting errors in key bindings code.

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

15 years ago * Make reset_multidata reset more lines, since contrary to previous problems the
Chris Allegretta [Sun, 8 Feb 2009 18:00:44 +0000 (18:00 +0000)]
    * Make reset_multidata reset more lines, since contrary to previous problems the
          syntax highlting is now too *un*ambitious, causing display glitches when
          deleting a regex boundary.

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

15 years ago2009-02-08 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 8 Feb 2009 17:45:21 +0000 (17:45 +0000)]
2009-02-08 Chris Allegretta <chrisa@asty.org>
        * Add more multidata initliazers for new buffers and 'magic lines'.  Fixes segfaults
          with syntax highlighting in new buffers, initially reported by Mike Frysinger.

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

15 years agoback to SVN
Chris Allegretta [Sun, 8 Feb 2009 05:12:26 +0000 (05:12 +0000)]
back to SVN

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

15 years agoGNU nano 2.1.8 release v2.1.8
Chris Allegretta [Sun, 8 Feb 2009 04:12:07 +0000 (04:12 +0000)]
GNU nano 2.1.8 release

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

15 years agoMark bug 80 as fixed
Chris Allegretta [Sat, 7 Feb 2009 15:24:45 +0000 (15:24 +0000)]
Mark bug 80 as fixed

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

15 years agoRenumber multidataflags to not start at 0 in case it confuses alloc_multidata_if_need...
Chris Allegretta [Sat, 7 Feb 2009 14:48:30 +0000 (14:48 +0000)]
Renumber multidataflags to not start at 0 in case it confuses alloc_multidata_if_needed().
Add alloc_multidata_if_needed() call in edit_draw as the last defense against a crash.

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

15 years agoAdd shortcut for CBEGINBEFORE case to edit_draw()
Chris Allegretta [Sat, 7 Feb 2009 07:09:31 +0000 (07:09 +0000)]
Add shortcut for CBEGINBEFORE case to edit_draw()
Added bug 80 to document segfault when editing near COLS

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

15 years ago2009-02-06 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 7 Feb 2009 00:01:40 +0000 (00:01 +0000)]
2009-02-06 Chris Allegretta <chrisa@asty.org>
        * rcfile.c (parse_include): Abort on being unable to open an included rcfile.  Fixes
          Savannah bug 25490, nanorc: "include"ing a file which doesn't exist causes nano to segfault.

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

15 years ago2009-02-05 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 6 Feb 2009 03:41:02 +0000 (03:41 +0000)]
2009-02-05 Chris Allegretta <chrisa@asty.org>
        * More color syntax speedups:  Determine in reset_multis() whether we really need to call
          edit_refresh().  Additional global var edit_refresh_needed() to hopefully reduce
          repeated calls to the function.  New helper funcs reset_multis_before() and
          reset_multis_after().

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

15 years agoFix for precalc_multicolorinfo: make sure we malloc for all the lines we're precalcul...
Chris Allegretta [Wed, 4 Feb 2009 19:50:23 +0000 (19:50 +0000)]
Fix for precalc_multicolorinfo: make sure we malloc for all the lines we're precalculating, duh.
New utility func alloc_multidata_if_needed().

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