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

16 years agoBack to svn
Chris Allegretta [Wed, 19 Mar 2008 03:41:48 +0000 (03:41 +0000)]
Back to svn

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

16 years agoGah, upgrate the translations for 2.1.0
Chris Allegretta [Wed, 19 Mar 2008 03:32:25 +0000 (03:32 +0000)]
Gah, upgrate the translations for 2.1.0

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

16 years agoCommit for 2.1.0 release. v2.1.0
Chris Allegretta [Wed, 19 Mar 2008 03:01:34 +0000 (03:01 +0000)]
Commit for 2.1.0 release.

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

16 years agoFix for 106305: unable to ctrl+c out of save when exiting
Chris Allegretta [Wed, 19 Mar 2008 02:32:48 +0000 (02:32 +0000)]
Fix for 106305: unable to ctrl+c out of save when exiting
Add new YESNO menu for calls to do_yesno_prompt, to enable cancel.

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

16 years agoAdd Benno's latest translation fixes for shorcut display,
Chris Allegretta [Tue, 18 Mar 2008 03:06:27 +0000 (03:06 +0000)]
Add Benno's latest translation fixes for shorcut display,
first line message help, and comments to assist translators.

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

16 years agoAdd .gitignore files for Mike F, remove .cvsignores which are
Chris Allegretta [Tue, 18 Mar 2008 02:44:39 +0000 (02:44 +0000)]
Add .gitignore files for Mike F, remove .cvsignores which are
not needed.

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

16 years agoFix for bug #22632: verbatim input in prompts broken with nano-2.0.99pre1
Chris Allegretta [Mon, 17 Mar 2008 05:50:04 +0000 (05:50 +0000)]
Fix for bug #22632: verbatim input in prompts broken with nano-2.0.99pre1

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

16 years agoFixes from Benno Schulenberg.
Chris Allegretta [Sun, 16 Mar 2008 23:57:14 +0000 (23:57 +0000)]
Fixes from Benno Schulenberg.

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

16 years agofaq.html: Updates for Alpine, subversion access and Savannah.
Chris Allegretta [Sun, 16 Mar 2008 18:25:31 +0000 (18:25 +0000)]
faq.html: Updates for Alpine, subversion access and Savannah.

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

16 years agoFix problems with inserting files using --disable-tabcomp and probably
Chris Allegretta [Sun, 16 Mar 2008 14:24:28 +0000 (14:24 +0000)]
Fix problems with inserting files using --disable-tabcomp and probably
other --disable type options.

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

16 years agoFix for bug #22615: nano-2.0.99pre1 fails to build when configured with --disable...
Chris Allegretta [Sun, 16 Mar 2008 12:55:41 +0000 (12:55 +0000)]
Fix for bug #22615: nano-2.0.99pre1 fails to build when configured with --disable-justify

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

16 years agoHmm. Actually dont want to download the whole tree, update the trunk
Chris Allegretta [Sun, 16 Mar 2008 02:34:38 +0000 (02:34 +0000)]
Hmm.  Actually dont want to download the whole tree, update the trunk
checkout instructions.

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

16 years agoActually include the updated SVN document, grr.
Chris Allegretta [Sun, 16 Mar 2008 02:19:57 +0000 (02:19 +0000)]
Actually include the updated SVN document, grr.

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

16 years agoUpdate source checkout information now that we are using
Chris Allegretta [Sat, 15 Mar 2008 23:14:34 +0000 (23:14 +0000)]
Update source checkout information now that we are using
svn inetad of cvs.

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

16 years ago- Update man page a little bit more
Chris Allegretta [Fri, 14 Mar 2008 04:08:51 +0000 (04:08 +0000)]
- Update man page a little bit more
- Change do_prompt and get_prompt_line to pass meta_key and func_key
  so the calling program can DTRT when it calsl get_shortcut.  In
  particular this allows the "new file buffer" toggle on the insert file
  menu to work, and presumably other rebinding stuff should now work also.

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