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

16 years agoGNU nano 2.1.2 release. v2.1.2
Chris Allegretta [Wed, 25 Jun 2008 03:35:15 +0000 (03:35 +0000)]
GNU nano 2.1.2 release.

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

16 years agoAdd ChangeLog update for previous fix, argh.
Chris Allegretta [Wed, 25 Jun 2008 03:09:10 +0000 (03:09 +0000)]
Add ChangeLog update for previous fix, argh.

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

16 years agoAdd function check_bad_binding to check ppl arent binding things they shouldn, though...
Chris Allegretta [Wed, 25 Jun 2008 03:06:11 +0000 (03:06 +0000)]
Add function check_bad_binding to check ppl arent binding things they shouldn, though currently its only one entry long ('meta-[')

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

16 years agoAdd a fix for bug #23144 that actually works (several bugs in one here)
Chris Allegretta [Tue, 3 Jun 2008 08:09:05 +0000 (08:09 +0000)]
Add a fix for bug #23144 that actually works (several bugs in one here)

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

16 years agoTentative fix for bug #23144: using arrow keys in search buffer affects main window
Chris Allegretta [Tue, 3 Jun 2008 06:21:31 +0000 (06:21 +0000)]
Tentative fix for bug #23144: using arrow keys in search buffer affects main window

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

16 years agoFix for Savannah bug #23442: left/right arrow keys do not work with --enable-tiny
Chris Allegretta [Tue, 3 Jun 2008 05:55:04 +0000 (05:55 +0000)]
Fix for Savannah bug #23442: left/right arrow keys do not work with --enable-tiny

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

16 years agofiles.c,proto.h,text.c: Fix for conflicts with AIX curses variables, from William...
Chris Allegretta [Sat, 31 May 2008 23:09:40 +0000 (23:09 +0000)]
files.c,proto.h,text.c: Fix for conflicts with AIX curses variables, from William Jojo <jojowil@hvcc.edu>

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

16 years agoglobal.c: Fix for compile error when --disable-speller is used (Savannah bug 23227...
Chris Allegretta [Sat, 31 May 2008 22:49:55 +0000 (22:49 +0000)]
global.c: Fix for compile error when --disable-speller is used (Savannah bug 23227 by Mike Frysinger)

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

16 years agoMinor formatting issue and trying to test why my writes are failing to the svn tree...
Chris Allegretta [Sat, 31 May 2008 22:33:32 +0000 (22:33 +0000)]
Minor formatting issue and trying to test why my writes are failing to the svn tree in 2.0.

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

16 years agoFix for segfault when window size is too small by Andreas Amann <andreas.amann@tyndal...
Chris Allegretta [Sat, 31 May 2008 22:23:16 +0000 (22:23 +0000)]
Fix for segfault when window size is too small by Andreas Amann <andreas.amann@tyndall.ie>

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

16 years agoMakefile changes for the included files and updated Changelog
Chris Allegretta [Sat, 31 May 2008 21:59:53 +0000 (21:59 +0000)]
Makefile changes for the included files and updated Changelog

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

16 years agoNew syntax highlighting from Mike F. Credits:
Chris Allegretta [Sat, 31 May 2008 21:55:21 +0000 (21:55 +0000)]
New syntax highlighting from Mike F.  Credits:

awk.nanorc by Donnie Berkholz <dberkholz@gentoo.org>
css.nanorc by Simon Rupf <simon.rupf@int-ag.ch>
xml.nanorc by Josef 'Jupp' Schugt <jupp@rubyforge.org>

Slight tweak by chrisa on the CSS file to make the brightwhite section end on line boundary due to matching too greedily on valid CSS
(see digg's css/111/global.css as an example)

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

16 years agoMinor formatting issue in NEWS for 2.1.1
Chris Allegretta [Wed, 2 Apr 2008 04:35:39 +0000 (04:35 +0000)]
Minor formatting issue in NEWS for 2.1.1

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

16 years agoBack to SVN
Chris Allegretta [Wed, 2 Apr 2008 04:21:31 +0000 (04:21 +0000)]
Back to SVN

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

16 years agoAdd the newa, argh
Chris Allegretta [Wed, 2 Apr 2008 04:08:24 +0000 (04:08 +0000)]
Add the newa, argh

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

16 years agoGNU nano 2.1.1 release
Chris Allegretta [Wed, 2 Apr 2008 04:08:09 +0000 (04:08 +0000)]
GNU nano 2.1.1 release

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

16 years agoFix for bug #22780: build failure with --enable-multibuffer --enable-tiny
Chris Allegretta [Mon, 31 Mar 2008 06:25:14 +0000 (06:25 +0000)]
Fix for bug #22780: build failure with --enable-multibuffer --enable-tiny
Plus make the actual prompt work with --enable-tiny when inserting files.

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

16 years agoBenno's latest fixes for help menu translations.
Chris Allegretta [Thu, 20 Mar 2008 05:56:46 +0000 (05:56 +0000)]
Benno's latest fixes for help menu translations.

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

16 years agoWow, I somehow did not run into the "invalid range" error
Chris Allegretta [Thu, 20 Mar 2008 05:52:08 +0000 (05:52 +0000)]
Wow, I somehow did not run into the "invalid range" error
until after I committed, how does that work?  Anyway, fix
the range error message for debian.nanorc.

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

16 years agoAdd some rc file name debugging
Chris Allegretta [Thu, 20 Mar 2008 05:41:00 +0000 (05:41 +0000)]
Add some rc file name debugging
Add debian nanorc example
Fix that previous entries as well as new one need Makefile.am entries

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

16 years agoFix default bracket match shortcut
Chris Allegretta [Thu, 20 Mar 2008 04:57:46 +0000 (04:57 +0000)]
Fix default bracket match shortcut

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

16 years agoFix for my fix for Mike's fix...dont add menu item refencing nano_exitbrowser_msg
Chris Allegretta [Thu, 20 Mar 2008 04:51:26 +0000 (04:51 +0000)]
Fix for my fix for Mike's fix...dont add menu item refencing nano_exitbrowser_msg
when using DISABLE_BROWSER

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

16 years agoAdd Mike F's latest patches for 2.1.0 and new syntax configs for tcl, php and gentoo.
Chris Allegretta [Thu, 20 Mar 2008 04:45:55 +0000 (04:45 +0000)]
Add Mike F's latest patches for 2.1.0 and new syntax configs for tcl, php and gentoo.

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