]>
git.wh0rd.org Git - nano.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris Allegretta [Thu, 13 Mar 2008 17:48:16 +0000 (17:48 +0000)]
Fix multibuffer mode not showing "Close" string anymore
on buffer open/closer.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4225
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Thu, 13 Mar 2008 08:23:52 +0000 (08:23 +0000)]
- Fix tiny mode again after breaking it again
- Resurrect IFSCHELP to get rid of some needless help message stubs
- Add support for rebinding the suspend key
- Fix wrong refresh help message
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4224
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Wed, 12 Mar 2008 04:44:14 +0000 (04:44 +0000)]
Convert more code to use new backend. Add some more sentinel strings
for enter and backspace keys in case their control key alternates get
rebound.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4223
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Tue, 11 Mar 2008 04:52:57 +0000 (04:52 +0000)]
Fix the mouse menus not working with new backend, and
specifically problms in help and browser routines.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4222
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Tue, 11 Mar 2008 03:03:53 +0000 (03:03 +0000)]
Fix bug 79, add sentinels for function keys in case the user
rebinds them to something else. Fix debug mode crash when the user
typos a menu name. Add menus for pageup and pagedown bindings and make
rebinding up and down actually do up and down and not page up and page down.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4221
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 9 Mar 2008 05:07:37 +0000 (05:07 +0000)]
Fix workaround for user assigning a meta sequence to a key which has
a dedicated keyboard equivalent (arrows, home/end, page up/down, etc).
Not fully fixable so document the remaining issue in bug 79.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4220
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 9 Mar 2008 02:53:34 +0000 (02:53 +0000)]
Update BUGS to reflect what got fixed in previous commit.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4219
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 9 Mar 2008 02:52:40 +0000 (02:52 +0000)]
More keybinding fixes
- Fix tiny mode compilation problems
- Fix F-keys not working (silly typo)
- Change file browser to use new backend
- global.c - new helper function sc_seq_or, makes logic simpler down in the functions than calling first_sc_for directly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4218
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Wed, 5 Mar 2008 17:15:33 +0000 (17:15 +0000)]
Fixed bug 77 (make ^space and M-space work)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4217
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Wed, 5 Mar 2008 07:35:01 +0000 (07:35 +0000)]
New keybindings code and backend. New structs subnfunc for menu functions
and toggles and sc for shortcut keys, old 'shortcut' and 'toggles' structs are
gone. The current implementation has a bunch of broken stuff (some of which is
documented in BUGS). Updated nanorc.5 with some mostly complete documentation
on configuring.
Part 2 of commit since I accidentally did it in src/ the first time. Yeah,
welcome back bonehead.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4216
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Wed, 5 Mar 2008 07:34:01 +0000 (07:34 +0000)]
New keybindings code and backend. New structs subnfunc for menu functions
and toggles and sc for shortcut keys, old 'shortcut' and 'toggles' structs are
gone. The current implementation has a bunch of broken stuff (some of which is
documented in BUGS). Updated nanorc.5 with some mostly complete documentation
on configuring.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4215
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 20 Dec 2007 18:57:41 +0000 (18:57 +0000)]
resync NEWS with NEWS from the 2.0 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4214
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 20 Dec 2007 18:41:04 +0000 (18:41 +0000)]
update maintenance information
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4210
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 20 Dec 2007 17:06:01 +0000 (17:06 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4209
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 22:00:17 +0000 (22:00 +0000)]
in print_opt_full(), use strlenpt() instead of strlen(), so that tabs
are placed properly when displaying translated strings in UTF-8, as
found by Jean-Philippe Guérard
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4208
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 16:51:48 +0000 (16:51 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4207
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 16:47:06 +0000 (16:47 +0000)]
fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4206
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 16:13:37 +0000 (16:13 +0000)]
fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4205
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 15:55:48 +0000 (15:55 +0000)]
revert last changes, but disable all the same features that
--enable-tiny does when --with-slang is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4204
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 02:39:25 +0000 (02:39 +0000)]
remove slang curses emulation support, as it's hopelessly broken, and it
doesn't make the binary very much smaller, especially when --enable-tiny
is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4203
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 02:03:00 +0000 (02:03 +0000)]
simplify terminal handling by using raw mode instead of cbreak mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4202
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Dec 2007 01:28:53 +0000 (01:28 +0000)]
in execute_command(), call terminal_init() instead of just
disable_signals() after executing the command, as the command may have
changed the terminal settings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4201
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 17 Dec 2007 23:07:49 +0000 (23:07 +0000)]
resync NEWS with NEWS from the 2.0 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4200
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 17 Dec 2007 23:05:11 +0000 (23:05 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4199
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 10 Dec 2007 17:59:26 +0000 (17:59 +0000)]
in main(), exit if initscr() fails
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4198
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8