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

15 years ago2009-02-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 3 Feb 2009 05:05:58 +0000 (05:05 +0000)]
2009-02-02 Chris Allegretta <chrisa@asty.org>
        * New color precalculation code for mult-line regexes.  New function precalc_multicolorinfo(),
          new structure multidata for keeping track of where regexes start/stop.  More
          performance improvements forthcoming.

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

15 years agoFix comiplation issues with --enable-tiny --enable-nanorc (?!)
Chris Allegretta [Sun, 1 Feb 2009 00:04:42 +0000 (00:04 +0000)]
Fix comiplation issues with --enable-tiny --enable-nanorc (?!)

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

15 years ago2009-01-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 31 Jan 2009 23:36:00 +0000 (23:36 +0000)]
2009-01-29 Chris Allegretta <chrisa@asty.org>
* nano.c (move_to_filestruct) - properky initialize new fileage for multiswatching, sigh.
  Fix cut sefaults discovered by Mike Frysinger.

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

15 years ago- Fix compliation breakage with --disable-justify, reported by Mike Frysinger
Chris Allegretta [Sat, 31 Jan 2009 16:13:03 +0000 (16:13 +0000)]
- Fix compliation breakage with --disable-justify, reported by Mike Frysinger
- Add --disable-justify to nano-regress so I stop missing that

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

15 years agoMake changelog message less harsh as terminal state shoudl now be fine on exit.
Chris Allegretta [Fri, 30 Jan 2009 17:38:23 +0000 (17:38 +0000)]
Make changelog message less harsh as terminal state shoudl now be fine on exit.

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

15 years agoPull stdin reading out into a function, add ^c interrupt message on stderr.
Chris Allegretta [Fri, 30 Jan 2009 17:37:44 +0000 (17:37 +0000)]
Pull stdin reading out into a function, add ^c interrupt message on stderr.

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

15 years ago2009-01-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 30 Jan 2009 08:34:27 +0000 (08:34 +0000)]
2009-01-29 Chris Allegretta <chrisa@asty.org>
        * nano.c (main): Add support for nano acting like a pager when invoked with - as first
          file argument.  Not yet perfect (garbles screen state on exit) but it's something.

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

15 years ago2009-01-28 Davide Pesavento <davidepesa@gmail.com>
Chris Allegretta [Wed, 28 Jan 2009 18:32:33 +0000 (18:32 +0000)]
2009-01-28 Davide Pesavento <davidepesa@gmail.com>
        * doc/syntax/gentoo.nanorc: Updates from David and Mike Frysinger.

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

15 years agoFix regression bugs introduced with other recent bugs disguised as features.
Chris Allegretta [Wed, 28 Jan 2009 05:11:57 +0000 (05:11 +0000)]
Fix regression bugs introduced with other recent bugs disguised as features.

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

15 years ago2009-01-25 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 26 Jan 2009 08:48:22 +0000 (08:48 +0000)]
2009-01-25 Chris Allegretta <chrisa@asty.org>
        * files.c (open_file), nanorc.c (parse_include): Don't get_full_path on
          included rc files, due to it potentially impacting the ability
          to read files in nano's cwd().  Fixes Savnanah bug #25297 reported by Mike
          Frysinger)

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

15 years agoFix reset_multis undefined call when not using color.
Chris Allegretta [Mon, 26 Jan 2009 07:55:01 +0000 (07:55 +0000)]
Fix reset_multis undefined call when not using color.

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

15 years ago * First pass at some caching of caching color info. Right now it's only for
Chris Allegretta [Sun, 25 Jan 2009 07:25:17 +0000 (07:25 +0000)]
    * First pass at some caching of caching color info.  Right now it's only for
          multi-line regexes but this may not be enough to increase performance.

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

15 years ago2009-01-24 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 24 Jan 2009 22:40:41 +0000 (22:40 +0000)]
2009-01-24 Chris Allegretta <chrisa@asty.org>
        * Add interruptability to search functions.  New functions enable_nodelay and
          disable_nodelay and changes to the routines to handle checking for pending
          searches.  Fixes Savnnah bug 24946: Need interrrupt for search.

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

15 years ago2009-01-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 19 Jan 2009 19:10:39 +0000 (19:10 +0000)]
2009-01-19 Chris Allegretta <chrisa@asty.org>
        * Change funcion definitions to shorts instead of (void *)s.  New mapping function
          iso_me_harder_funcmap().  Fixes compilation complaints with -pedantic,
          reported by Eitan Adler <eitanadlerlist@gmail.com>.

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

15 years agoChange vesion back to SVN. How did I forget to do that during release. Tisk.
Chris Allegretta [Mon, 29 Dec 2008 19:42:57 +0000 (19:42 +0000)]
Change vesion back to SVN.  How did I forget to do that during release.  Tisk.

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

16 years agoGNU nano 2.1.7 release. v2.1.7
Chris Allegretta [Mon, 10 Nov 2008 06:33:12 +0000 (06:33 +0000)]
GNU nano 2.1.7 release.

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

16 years agoAdd tiny check around new mtime check code. Fixes certain compile time options.
Chris Allegretta [Wed, 22 Oct 2008 22:11:46 +0000 (22:11 +0000)]
Add tiny check around new mtime check code. Fixes certain compile time options.

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

16 years ago2008-10-20 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 21 Oct 2008 10:20:07 +0000 (10:20 +0000)]
2008-10-20 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Add check for file modification when saving
          the file so the user can at least know they may be blowing away changes.

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

16 years ago * global.c (shortcut_init), search.c (search_init): Fix add_to_sclist for...
Chris Allegretta [Wed, 15 Oct 2008 01:25:25 +0000 (01:25 +0000)]
    * global.c (shortcut_init), search.c (search_init): Fix add_to_sclist for ^W^T so
          invalid messages will display properly.  Fixes Savannah bug 24507.

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

16 years agoGet rid of some unused variables with -Wall
Chris Allegretta [Tue, 14 Oct 2008 19:55:34 +0000 (19:55 +0000)]
Get rid of some unused variables with -Wall

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

16 years ago2008-10-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 14 Oct 2008 16:46:58 +0000 (16:46 +0000)]
2008-10-14 Chris Allegretta <chrisa@asty.org>
        * nanorc.5: Fix redo man page entry and update explanation, reported by
          Eitan Adler <eitanadlerlist@gmail.com>

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

16 years agoEliminate linescut variable from undo structure as its an unneeded pain in the ass.
Chris Allegretta [Tue, 14 Oct 2008 04:34:56 +0000 (04:34 +0000)]
Eliminate linescut variable from undo structure as its an unneeded pain in the ass.
Also initialize to_end, because for some reason it seems to be not getting set even when
type == CUT in add_undo (?!)

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

16 years ago2008-10-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 14 Oct 2008 01:14:12 +0000 (01:14 +0000)]
2008-10-13 Chris Allegretta <chrisa@asty.org>
        * Remove CUTTOEND as an undo type as it's unneeded, fix u->to_end logic in undo struct.
        * undo.c (update_undo): Don't free cutbuffer if NULL, fix for Savannah bug #24499

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

16 years ago2008-10-04 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 4 Oct 2008 11:10:11 +0000 (11:10 +0000)]
2008-10-04 Chris Allegretta <chrisa@asty.org>
        * cut.c (Add_undo): Save last cut undo information so it can be used for next uncut, fixes
          Savannah bug 24183.

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

16 years agoBack to SVN
Chris Allegretta [Fri, 3 Oct 2008 22:35:17 +0000 (22:35 +0000)]
Back to SVN

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

16 years agoGNU nano 2.1.6 release v2.1.6
Chris Allegretta [Fri, 3 Oct 2008 22:20:43 +0000 (22:20 +0000)]
GNU nano 2.1.6 release

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

16 years ago2008-10-03 Pascal Gentil <pascal.gentil@univ-rennes1.fr>
Chris Allegretta [Fri, 3 Oct 2008 21:00:35 +0000 (21:00 +0000)]
2008-10-03 Pascal Gentil <pascal.gentil@univ-rennes1.fr>
       * fortran.nanorc: Sample python syntax highlighting file

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

16 years ago2009-09-30 Dirkjan Ochtman <dirkjan@ochtman.nl>
Chris Allegretta [Wed, 1 Oct 2008 00:55:13 +0000 (00:55 +0000)]
2009-09-30 Dirkjan Ochtman <dirkjan@ochtman.nl>
        * python.nanorc: Small python syntax update

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

16 years ago2008-09-30 <bluestorm_dylc@hotmail.com>
Chris Allegretta [Wed, 1 Oct 2008 00:49:19 +0000 (00:49 +0000)]
2008-09-30 <bluestorm_dylc@hotmail.com>
       * ocaml.nanorc: Sample OCaml syntax highlighting file

2008-09-30 Dave Geering <dgeering@toshiba-tap.com>
       * objc.nanorc: Sample Objective-C Syntax Hightlighting file

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

16 years agomake --enable-tiny disable the new enabled-by-default options as that's presumably...
Chris Allegretta [Tue, 30 Sep 2008 16:47:57 +0000 (16:47 +0000)]
make --enable-tiny disable the new enabled-by-default options as that's presumably the expected behavior

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

16 years ago* configure.ac: Change extra, multibuffer, color and rcfile to default to enabled
Chris Allegretta [Tue, 30 Sep 2008 15:30:51 +0000 (15:30 +0000)]
* configure.ac: Change extra, multibuffer, color and rcfile to default to enabled
I'm sure no one will complain about this :-P

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

16 years ago2008-09-30 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 30 Sep 2008 14:30:33 +0000 (14:30 +0000)]
2008-09-30 Chris Allegretta <chrisa@asty.org>
* python.nanorc, ruby.nanorc: Add header lines for python and ruby as well

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

16 years ago2008-09-21 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 21 Sep 2008 23:02:30 +0000 (23:02 +0000)]
2008-09-21 Chris Allegretta <chrisa@asty.org>
        * rcfile.c, color.c, nano.h: Add new capability for matching a syntax type by the "header" (1st line)
          of a file being edited.  Based on Savannah bug 24197 and inital proof of concept by Dave Geering
          <dgeering@toshiba-tap.com>

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

16 years ago2008-09-16 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 16 Sep 2008 21:35:19 +0000 (21:35 +0000)]
2008-09-16 Chris Allegretta <chrisa@asty.org>
        * text.c: Add support for undoing a text uncut.  Split out the undo and redo of a text cut
          in order to avoid code duplication.

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

16 years ago * nano.c: Do call disable_signals at startup regardless, since under cygwin...
Chris Allegretta [Sat, 6 Sep 2008 06:52:47 +0000 (06:52 +0000)]
    * nano.c: Do call disable_signals at startup regardless, since under cygwin we can't generate
          ^C without it.

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

16 years agoBack to svn!
Chris Allegretta [Sat, 30 Aug 2008 21:59:23 +0000 (21:59 +0000)]
Back to svn!

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

16 years agoGNU nano 2.1.5 release v2.1.5
Chris Allegretta [Sat, 30 Aug 2008 21:40:33 +0000 (21:40 +0000)]
GNU nano 2.1.5 release

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

16 years agoMove the wordbounds check down so it will happen if either --enable-all or --enable...
Chris Allegretta [Sat, 30 Aug 2008 21:32:55 +0000 (21:32 +0000)]
Move the wordbounds check down so it will happen if either --enable-all or --enable-color

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

16 years ago * global.c, help.c, browser.c, files.c, proto.h: Fix several compipation...
Chris Allegretta [Sat, 30 Aug 2008 21:00:00 +0000 (21:00 +0000)]
    * global.c, help.c, browser.c, files.c, proto.h: Fix several compipation and programmatic
          issues with --disable-help, especially that do-writeout was treating ^G the same as ^M.

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

16 years ago * nano-regress: New perl script to check for some of the more obvious issues...
Chris Allegretta [Sat, 30 Aug 2008 20:33:32 +0000 (20:33 +0000)]
    * nano-regress: New perl script to check for some of the more obvious issues with compilation
          issues with certain configure options.

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

16 years ago2008-08-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 30 Aug 2008 05:16:20 +0000 (05:16 +0000)]
2008-08-29 Chris Allegretta <chrisa@asty.org>
        * configure.ac, color.c, rcfile.c, utils.c: 1st attempt at supporting systems which don't support
          GNU-style word boundaries.  New function fixbounds() to translate from GNU-style to
          BSD-style, autoconf option GNU_WORDBOUNDS.

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

16 years ago2008-08-28 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 28 Aug 2008 06:13:05 +0000 (06:13 +0000)]
2008-08-28 Chris Allegretta <chrisa@asty.org>
        * configure.ac, rcfile.c:  Add support for an alternate rcfilename at configure time.  Maybe this
          should become a command line option some day, but I don't see the need currently.  Start of
          fix for Savannah bug #24128: Add nanorc support to win32 platform.

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

16 years ago * text.c (do_enter): Fix issue when compiled with --enable-debug, fixes...
Chris Allegretta [Thu, 21 Aug 2008 04:24:25 +0000 (04:24 +0000)]
    * text.c (do_enter):  Fix issue when compiled with --enable-debug, fixes Savannah bug 24092.

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

16 years ago2008-08-21 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 21 Aug 2008 04:21:06 +0000 (04:21 +0000)]
2008-08-21 Chris Allegretta <chrisa@asty.org>
        * text.c: Change error messages where we may possibly get into a bad state and urge
          the user to save when this happens.  Originally by Benno Schulenberg <bensberg@justemail.net>

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

16 years ago2008-08-08 Magnus Granberg <zorry@ume.nu> / Adam Conrad <?>
Chris Allegretta [Sun, 17 Aug 2008 16:25:40 +0000 (16:25 +0000)]
2008-08-08 Magnus Granberg <zorry@ume.nu> / Adam Conrad <?>
        * files.c: (write_file): Add needed flags to open() calls when writing out files.  Fixes Savannah bug
          #23827: Compilation fails with -D_FORTIFY_SOURCE=2

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

16 years ago * files.c (write_file): Check exit code of fclose(), since in certain out of space...
Chris Allegretta [Sat, 16 Aug 2008 23:54:15 +0000 (23:54 +0000)]
* files.c (write_file): Check exit code of fclose(), since in certain out of space conditions the OS will
  happily report successful fwrite()s until you try and close the file.  Fix for Savannah bug
  #24000: no free space on partition - nano claims successful write - file empty

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

16 years agoBack to svn.
Chris Allegretta [Sat, 9 Aug 2008 19:50:34 +0000 (19:50 +0000)]
Back to svn.

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

16 years agoGNU nano 2.1.4 release. v2.1.4
Chris Allegretta [Sat, 9 Aug 2008 10:25:22 +0000 (10:25 +0000)]
GNU nano 2.1.4 release.

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

16 years ago * text.c (add_undo): Fix check for multi-line cut check skips adding other...
Chris Allegretta [Sat, 9 Aug 2008 10:08:33 +0000 (10:08 +0000)]
    * text.c (add_undo): Fix check for multi-line cut check skips adding other new legit events.

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

16 years agoRe-add the skip_backup label since we do still need it in one case.
Chris Allegretta [Sat, 9 Aug 2008 09:31:33 +0000 (09:31 +0000)]
Re-add the skip_backup label since we do still need it in one case.

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

16 years ago * text.c (do_redo): Fix improperly restoring the text when redoing a line...
Chris Allegretta [Sat, 9 Aug 2008 09:28:07 +0000 (09:28 +0000)]
    * text.c (do_redo): Fix improperly restoring the text when redoing a line split.

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

16 years ago * files.c: Do not go on and attempt to write the main file if writing the...
Chris Allegretta [Sat, 9 Aug 2008 03:39:10 +0000 (03:39 +0000)]
    * files.c: Do not go on and attempt to write the main file if writing the backup file failed,
          related to Savannah bug 24000.

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

16 years ago * text.c: Reset openfile-> to OTHER after an undo or redo so we don't mistakenly
Chris Allegretta [Fri, 8 Aug 2008 03:02:03 +0000 (03:02 +0000)]
    * text.c: Reset openfile-> to OTHER after an undo or redo so we don't mistakenly
          mistakenly think this is an update when it's really an add.  Also
          Fix an extra ; after an if statement which makes nano try to free a struct which
          may be NULL

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

16 years agoBack to SVN version
Chris Allegretta [Tue, 5 Aug 2008 02:38:40 +0000 (02:38 +0000)]
Back to SVN version

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

16 years agoGNU nano 2.1.3 release
Chris Allegretta [Tue, 5 Aug 2008 01:35:42 +0000 (01:35 +0000)]
GNU nano 2.1.3 release

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

16 years ago- Add redo of an insert
Chris Allegretta [Sun, 3 Aug 2008 20:19:42 +0000 (20:19 +0000)]
- Add redo of an insert
- Fix bug in fsfromlineno
- Tiny cleanups in undo

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

16 years ago- Change add_undo and current_undo to only take action arg, as openfilestruct arg...
Chris Allegretta [Sun, 3 Aug 2008 04:48:05 +0000 (04:48 +0000)]
- Change add_undo and current_undo to only take action arg, as openfilestruct arg is always openfile
- Add ability to undo a file/cmd insert, needed to add undoable flag to read_file and open_buffer as a result

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

16 years ago- Add very basic undo for text replace.
Chris Allegretta [Sat, 2 Aug 2008 22:31:01 +0000 (22:31 +0000)]
- Add very basic undo for text replace.
- Fix lots of warnings whe using -Wall
- Fix some comments

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

16 years agoAllow current undo code to compile with NANO_TINY
Chris Allegretta [Sat, 2 Aug 2008 14:39:42 +0000 (14:39 +0000)]
Allow current undo code to compile with NANO_TINY

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

16 years agoAllow basic multi-^K cuts to be redone properly. Code getting uglier by the second.
Chris Allegretta [Fri, 1 Aug 2008 07:29:06 +0000 (07:29 +0000)]
Allow basic multi-^K cuts to be redone properly.  Code getting uglier by the second.

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

16 years ago- When undoing a cut, set cutbuffer to NULL after freeing the current one
Chris Allegretta [Fri, 1 Aug 2008 06:52:15 +0000 (06:52 +0000)]
- When undoing a cut, set cutbuffer to NULL after freeing the current one
- When updating a normal consecutive ^K cut, bail from add_undo since it's not an add, and in update_undo free the old cutbuffer before copying it again.

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

16 years agoWhen redoing a text add, actually copy the beginning of the line back!
Chris Allegretta [Fri, 1 Aug 2008 04:11:57 +0000 (04:11 +0000)]
When redoing a text add, actually copy the beginning of the line back!

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

16 years agoAdd undoing argument to do_cut_text as we don't want to be messing around with the...
Chris Allegretta [Fri, 1 Aug 2008 03:50:20 +0000 (03:50 +0000)]
Add undoing argument to do_cut_text as we don't want to be messing around with the undo contents when we're in the
middle of an undo.

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

16 years ago* configure.ac: Add ncursesw dir to include path if lib detected
Chris Allegretta [Thu, 31 Jul 2008 17:01:47 +0000 (17:01 +0000)]
* configure.ac: Add ncursesw dir to include path if lib detected

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

16 years agoCommit back some undo/redo rewrites
Chris Allegretta [Thu, 31 Jul 2008 04:24:04 +0000 (04:24 +0000)]
Commit back some undo/redo rewrites

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

16 years agoAdd xflags to undo struct so we can add extra info to the undo process (e.g. backspac...
Chris Allegretta [Mon, 14 Jul 2008 07:18:22 +0000 (07:18 +0000)]
Add xflags to undo struct so we can add extra info to the undo process (e.g. backspace vs delete)
Fix redo of a line join.

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

16 years agoAllow backspace to be bound to keys in .nanorc
Chris Allegretta [Sun, 13 Jul 2008 16:44:19 +0000 (16:44 +0000)]
Allow backspace to be bound to keys in .nanorc
Allow kdel to be rebound
Add note about rebinding kdel to backspace for those using OSX or PuTTY to connect to remote Linux machines in nanorc.sample.in

When undoing text deletes, move current_x to proper location

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

16 years agoAdd ability to rebind the (still unfinished) undo and redo functions in case anyone...
Chris Allegretta [Sun, 13 Jul 2008 01:36:06 +0000 (01:36 +0000)]
Add ability to rebind the (still unfinished) undo and redo functions in case anyone is interested in testing it out early.
Add to nanorc.5 also.

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

16 years ago2008-07-11 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Sat, 12 Jul 2008 02:52:08 +0000 (02:52 +0000)]
2008-07-11 Mike Frysinger <vapier@gentoo.org>
        * doc/nanorc.sample.in: Include the updates files in the default sample nanorc.

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

16 years agoClean up some unused variables from old undo implementation.
Chris Allegretta [Sat, 12 Jul 2008 02:48:20 +0000 (02:48 +0000)]
Clean up some unused variables from old undo implementation.

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

16 years ago2008-07-11 Fabian Groffen <grobian@gentoo.org>
Chris Allegretta [Sat, 12 Jul 2008 02:32:19 +0000 (02:32 +0000)]
2008-07-11 Fabian Groffen <grobian@gentoo.org>
        * nano.c: Don't include langinfo.h if not using ENABLE_UTF8
          (Savannah patch 6565)

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

16 years ago2008-07-11 Michael Haubenwallner <michael.haubenwallner@salomon.at>
Chris Allegretta [Sat, 12 Jul 2008 02:20:16 +0000 (02:20 +0000)]
2008-07-11 Michael Haubenwallner <michael.haubenwallner@salomon.at>
        * global.c: include proto.h earlier in file to fix AIX compilation
          (Savannah patch 6559)

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

16 years ago2008-07-11 Michael Haubenwallner <michael.haubenwallner@salomon.at>
Chris Allegretta [Sat, 12 Jul 2008 02:13:22 +0000 (02:13 +0000)]
2008-07-11 Michael Haubenwallner <michael.haubenwallner@salomon.at>
        * global.c: include proto.h earlier in file to fix AIX compilation
          (Savannah patch 6559)

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

16 years agoSavannah bug 23751: Segfault when viewing help using Japanese locale
Chris Allegretta [Sat, 12 Jul 2008 01:54:49 +0000 (01:54 +0000)]
Savannah bug 23751: Segfault when viewing help using Japanese locale
Fix break_line crashing when using certain locales from Mitsuya Shibata

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

16 years agoAdd beginning undo feature, since I want to start fixing bugs from savannah and don...
Chris Allegretta [Thu, 10 Jul 2008 20:13:04 +0000 (20:13 +0000)]
Add beginning undo feature, since I want to start fixing bugs from savannah and don't want to manager another checking, and the code basically works for some operations.

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

16 years agoFix for 23733: search history broken with nano-2.1.1+
Chris Allegretta [Sun, 29 Jun 2008 06:22:31 +0000 (06:22 +0000)]
Fix for 23733: search history broken with nano-2.1.1+

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

16 years agoBack to SVN
Chris Allegretta [Wed, 25 Jun 2008 03:42:28 +0000 (03:42 +0000)]
Back to SVN

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