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

16 years agoFix multibuffer mode not showing "Close" string anymore
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

16 years ago- Fix tiny mode again after breaking it again
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

16 years agoConvert more code to use new backend. Add some more sentinel strings
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

16 years agoFix the mouse menus not working with new backend, and
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

16 years agoFix bug 79, add sentinels for function keys in case the user
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

16 years agoFix workaround for user assigning a meta sequence to a key which has
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

16 years agoUpdate BUGS to reflect what got fixed in previous commit.
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

16 years agoMore keybinding fixes
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

16 years agoFixed bug 77 (make ^space and M-space work)
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

16 years agoNew keybindings code and backend. New structs subnfunc for menu functions
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

16 years agoNew keybindings code and backend. New structs subnfunc for menu functions
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

16 years agoresync NEWS with NEWS from the 2.0 branch
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

16 years agoupdate maintenance information
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

16 years agocosmetic fixes
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

16 years agoin print_opt_full(), use strlenpt() instead of strlen(), so that tabs
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

16 years agocomment fix
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

16 years agofix breakage
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

16 years agofix breakage
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

16 years agorevert last changes, but disable all the same features that
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

16 years agoremove slang curses emulation support, as it's hopelessly broken, and it
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

16 years agosimplify terminal handling by using raw mode instead of cbreak mode
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

16 years agoin execute_command(), call terminal_init() instead of just
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

16 years agoresync NEWS with NEWS from the 2.0 branch
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

16 years agofix changelog entry
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

16 years agoin main(), exit if initscr() fails
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

16 years agopreemptively update the version number
David Lawrence Ramsey [Sun, 9 Dec 2007 18:37:11 +0000 (18:37 +0000)]
preemptively update the version number

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

16 years agoin faq.html, add minor punctuation and wording fixes, and update various
David Lawrence Ramsey [Sun, 9 Dec 2007 18:28:36 +0000 (18:28 +0000)]
in faq.html, add minor punctuation and wording fixes, and update various
sections to account for Alpine

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

16 years ago2007-12-09 Jordi Mallach <jordi@gnu.org>
Jordi Mallach [Sun, 9 Dec 2007 17:12:03 +0000 (17:12 +0000)]
2007-12-09  Jordi Mallach  <jordi@gnu.org>

        * LINGUAS: Add zh_CN.
        * es.po, fr.po, it.po, nb.po, nl.po, pt_BR.po: New pull from the TP,
        to fetch the now corrected latest pt_BR file.

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

16 years ago2007-12-08 Jordi Mallach <jordi@gnu.org>
Jordi Mallach [Sat, 8 Dec 2007 19:00:04 +0000 (19:00 +0000)]
2007-12-08  Jordi Mallach  <jordi@gnu.org>

* zh_CN.po: New Simplified Chinese translation by
LI Daobing <lidaobing@gmail.com>.
* fr.po, ga.po, ms.po, nl.po, nn.po, vi.po: Translation updates taken
from the Translation Project.
* Refreshed the rest of the files from the latest TP archive.

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

16 years agofix minor breakage
David Lawrence Ramsey [Sat, 8 Dec 2007 16:59:13 +0000 (16:59 +0000)]
fix minor breakage

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

16 years agofix minor display and cursor placement problems when scrolling between
David Lawrence Ramsey [Sat, 8 Dec 2007 07:00:27 +0000 (07:00 +0000)]
fix minor display and cursor placement problems when scrolling between
pages at the statusbar prompt

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

16 years agoin doc/man/rnano.1 and doc/man/fr/rnano.1, update copyright notices, as
David Lawrence Ramsey [Sat, 8 Dec 2007 04:27:44 +0000 (04:27 +0000)]
in doc/man/rnano.1 and doc/man/fr/rnano.1, update copyright notices, as
Thijs Kinkhorst's copyrights have now been assigned to the Free Software
Foundation

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

16 years agoin get_mouseinput(), gix longstanding problem where mouse clicks on the
David Lawrence Ramsey [Sat, 8 Dec 2007 04:21:15 +0000 (04:21 +0000)]
in get_mouseinput(), gix longstanding problem where mouse clicks on the
statusbar prompt text wouldn't be recognized unless the NO_HELP flag was
turned off

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

16 years agoin disable_mouse_support() and enable_mouse_support(), when toggling
David Lawrence Ramsey [Tue, 4 Dec 2007 20:49:09 +0000 (20:49 +0000)]
in disable_mouse_support() and enable_mouse_support(), when toggling
mouse support on or off, save and restore the mouse click interval

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

16 years agoper OBATA Akio's patch with a few tweaks by me, add wnoutrefresh() calls
David Lawrence Ramsey [Tue, 4 Dec 2007 16:38:47 +0000 (16:38 +0000)]
per OBATA Akio's patch with a few tweaks by me, add wnoutrefresh() calls
after reset_(statusbar_)?cursor() calls, to ensure that the cursor is
placed properly when using NetBSD curses

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

16 years agostill more cosmetic fixes
David Lawrence Ramsey [Mon, 3 Dec 2007 20:14:18 +0000 (20:14 +0000)]
still more cosmetic fixes

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

16 years agoremove unneeded whitespace
David Lawrence Ramsey [Mon, 3 Dec 2007 18:40:33 +0000 (18:40 +0000)]
remove unneeded whitespace

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

16 years agoper Jean-Philippe Guérard's updates, in doc/man/fr/*.1,
David Lawrence Ramsey [Thu, 29 Nov 2007 19:09:21 +0000 (19:09 +0000)]
per Jean-Philippe Guérard's updates, in doc/man/fr/*.1,
doc/man/fr/nanorc.5, fix copyright notices; the copyrights are
disclaimed on these translations, but the copyrights of the untranslated
works also apply

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

16 years agoin doc/man/fr/nanorc.5, remove trailing whitespace
David Lawrence Ramsey [Wed, 28 Nov 2007 17:09:42 +0000 (17:09 +0000)]
in doc/man/fr/nanorc.5, remove trailing whitespace

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

16 years agoin read_file(), improve autodetection of DOS and Mac format files to not
David Lawrence Ramsey [Sat, 17 Nov 2007 20:34:38 +0000 (20:34 +0000)]
in read_file(), improve autodetection of DOS and Mac format files to not
trigger on carriage returns in the middle of files, as found by Kjell
Braden

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

17 years agoupdate copyright notices, as Jordi Mallach's copyrights have now been
David Lawrence Ramsey [Tue, 6 Nov 2007 22:58:33 +0000 (22:58 +0000)]
update copyright notices, as Jordi Mallach's copyrights have now been
assigned to the Free Software Foundation

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

17 years agoin do_gotolinecolumn(), use a clearer error message if we enter an
David Lawrence Ramsey [Mon, 5 Nov 2007 17:18:16 +0000 (17:18 +0000)]
in do_gotolinecolumn(), use a clearer error message if we enter an
invalid line or column number, per Mike Melanson's suggestion

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

17 years agoin input_tab(), disable completion of usernames, directories, and
David Lawrence Ramsey [Thu, 11 Oct 2007 15:49:08 +0000 (15:49 +0000)]
in input_tab(), disable completion of usernames, directories, and
filenames if the cursor isn't at the end of the line, as it can lead to
odd behavior (e.g. adding a copy of the entire match to the middle of
the line instead of just the uncompleted part of the match)

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

17 years agoin username_tab_completion() and cwd_tab_completion(), rename variable
David Lawrence Ramsey [Thu, 11 Oct 2007 15:38:32 +0000 (15:38 +0000)]
in username_tab_completion() and cwd_tab_completion(), rename variable
buflen to buf_len, for consistency

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

17 years agoin cwd_tab_completion(), remove unneeded assert
David Lawrence Ramsey [Thu, 11 Oct 2007 15:19:45 +0000 (15:19 +0000)]
in cwd_tab_completion(), remove unneeded assert

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

17 years agoupdate copyright notices, as Chris Allegretta's copyrights have now been
David Lawrence Ramsey [Thu, 11 Oct 2007 05:01:32 +0000 (05:01 +0000)]
update copyright notices, as Chris Allegretta's copyrights have now been
assigned to the Free Software Foundation; also, make copyright notices
consistent in style

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

17 years agoupdate copyright notices, as my copyrights have now been assigned to the
David Lawrence Ramsey [Fri, 5 Oct 2007 16:44:45 +0000 (16:44 +0000)]
update copyright notices, as my copyrights have now been assigned to the
Free Software Foundation

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

17 years agoUpdated Russian translation by Sergey A. Ribalchenko.
Jordi Mallach [Tue, 18 Sep 2007 11:07:59 +0000 (11:07 +0000)]
Updated Russian translation by Sergey A. Ribalchenko.

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

17 years agoin edit_scroll(), fix problem where the screen wouldn't be updated
David Lawrence Ramsey [Sun, 16 Sep 2007 16:53:20 +0000 (16:53 +0000)]
in edit_scroll(), fix problem where the screen wouldn't be updated
properly if you paged up with the first line of the file onscreen and
the mark on

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

17 years agoin doc/faq.html, update links to the Free Translation Project
David Lawrence Ramsey [Sun, 26 Aug 2007 15:21:05 +0000 (15:21 +0000)]
in doc/faq.html, update links to the Free Translation Project

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