]> git.wh0rd.org Git - nano.git/log
nano.git
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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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:16:40 +0000 (19:16 +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/branches/nano_2_0_branch/nano@4182 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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/nano@4178 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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/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/branches/nano_2_0_branch/nano@4169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

17 years agovarious documentation updates
David Lawrence Ramsey [Fri, 24 Aug 2007 00:36:51 +0000 (00:36 +0000)]
various documentation updates

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

17 years agocosmetic fixes
David Lawrence Ramsey [Thu, 23 Aug 2007 17:54:49 +0000 (17:54 +0000)]
cosmetic fixes

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

17 years agoin the French manpages, delete translation of old licensing terms, until
David Lawrence Ramsey [Thu, 23 Aug 2007 14:00:58 +0000 (14:00 +0000)]
in the French manpages, delete translation of old licensing terms, until
it can be updated

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

17 years agotypo fix
David Lawrence Ramsey [Thu, 23 Aug 2007 13:51:06 +0000 (13:51 +0000)]
typo fix

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

17 years agoconvert documentation to GPLv3/GFDLv1.2
David Lawrence Ramsey [Thu, 23 Aug 2007 04:34:37 +0000 (04:34 +0000)]
convert documentation to GPLv3/GFDLv1.2

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

17 years agofile COPYING.DOC was added on branch nano_2_0_branch on 2007-08-23 04:35:44 +0000
David Lawrence Ramsey [Thu, 23 Aug 2007 04:34:36 +0000 (04:34 +0000)]
file COPYING.DOC was added on branch nano_2_0_branch on 2007-08-23 04:35:44 +0000

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

17 years agoThis commit was manufactured by cvs2svn to create branch
Chris Allegretta [Thu, 23 Aug 2007 04:34:36 +0000 (04:34 +0000)]
This commit was manufactured by cvs2svn to create branch
'nano_2_0_branch'.

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

17 years agoconvert documentation to GPLv3/GFDLv1.2
David Lawrence Ramsey [Thu, 23 Aug 2007 04:34:35 +0000 (04:34 +0000)]
convert documentation to GPLv3/GFDLv1.2

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

17 years agoin the French manpage translations, make all copyright notices
David Lawrence Ramsey [Tue, 21 Aug 2007 17:00:42 +0000 (17:00 +0000)]
in the French manpage translations, make all copyright notices
consistent, and in rnano.1, add missing copyright notice from
nano-tiny.1, which rnano.1 is based on

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

17 years agoin rnano.1, add missing copyright notice from nano-tiny.1, which rnano.1
David Lawrence Ramsey [Tue, 21 Aug 2007 16:38:43 +0000 (16:38 +0000)]
in rnano.1, add missing copyright notice from nano-tiny.1, which rnano.1
is based on

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

17 years agoproperly handle more cases of inserting a file/uncutting text with the
David Lawrence Ramsey [Thu, 16 Aug 2007 14:45:17 +0000 (14:45 +0000)]
properly handle more cases of inserting a file/uncutting text with the
mark on

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

17 years agofix breakage
David Lawrence Ramsey [Thu, 16 Aug 2007 04:05:05 +0000 (04:05 +0000)]
fix breakage

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

17 years agomore fixes for uncutting text/inserting files with the mark on
David Lawrence Ramsey [Thu, 16 Aug 2007 03:23:30 +0000 (03:23 +0000)]
more fixes for uncutting text/inserting files with the mark on

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

17 years agostill more cosmetic fixes
David Lawrence Ramsey [Thu, 16 Aug 2007 03:18:17 +0000 (03:18 +0000)]
still more cosmetic fixes

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

17 years agomore cosmetic fixes
David Lawrence Ramsey [Thu, 16 Aug 2007 02:51:07 +0000 (02:51 +0000)]
more cosmetic fixes

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

17 years agocosmetic fixes
David Lawrence Ramsey [Thu, 16 Aug 2007 02:46:26 +0000 (02:46 +0000)]
cosmetic fixes

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

17 years agoin do_insertfile(), make sure the mark is always properly positioned
David Lawrence Ramsey [Thu, 16 Aug 2007 02:34:23 +0000 (02:34 +0000)]
in do_insertfile(), make sure the mark is always properly positioned
after inserting a one-line file with the mark on

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

17 years agoconvert to GPLv3
David Lawrence Ramsey [Sat, 11 Aug 2007 05:18:50 +0000 (05:18 +0000)]
convert to GPLv3

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

17 years agofile COPYING was added on branch nano_2_0_branch on 2007-08-11 05:18:45 +0000
David Lawrence Ramsey [Sat, 11 Aug 2007 05:17:37 +0000 (05:17 +0000)]
file COPYING was added on branch nano_2_0_branch on 2007-08-11 05:18:45 +0000

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

17 years agoThis commit was manufactured by cvs2svn to create branch
Chris Allegretta [Sat, 11 Aug 2007 05:17:37 +0000 (05:17 +0000)]
This commit was manufactured by cvs2svn to create branch
'nano_2_0_branch'.

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

17 years agoupdate the copyright notice on the tab completion code originally from
David Lawrence Ramsey [Fri, 10 Aug 2007 22:12:39 +0000 (22:12 +0000)]
update the copyright notice on the tab completion code originally from
busybox to account for modifications

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

17 years agocomment fix
David Lawrence Ramsey [Fri, 10 Aug 2007 22:07:14 +0000 (22:07 +0000)]
comment fix

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

17 years agosimplify ngetdelim(), and update the copyright notice on ngetline() and
David Lawrence Ramsey [Fri, 10 Aug 2007 17:03:29 +0000 (17:03 +0000)]
simplify ngetdelim(), and update the copyright notice on ngetline() and
ngetdelim() to account for modifications

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

17 years agostill more cosmetic fixes
David Lawrence Ramsey [Wed, 8 Aug 2007 00:05:49 +0000 (00:05 +0000)]
still more cosmetic fixes

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

17 years agosimplify
David Lawrence Ramsey [Tue, 7 Aug 2007 23:51:05 +0000 (23:51 +0000)]
simplify

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

17 years agoin copy_from_file(), fix potential segfault after uncutting one line of
David Lawrence Ramsey [Tue, 7 Aug 2007 20:21:39 +0000 (20:21 +0000)]
in copy_from_file(), fix potential segfault after uncutting one line of
text with the mark on by properly preserving the beginning of the mark;
also, make sure the mark is always properly positioned after uncutting
one line of text with the mark on

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

17 years agocosmetic fixes
David Lawrence Ramsey [Tue, 7 Aug 2007 19:55:06 +0000 (19:55 +0000)]
cosmetic fixes

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

17 years agotypo fix
David Lawrence Ramsey [Tue, 7 Aug 2007 18:37:39 +0000 (18:37 +0000)]
typo fix

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

17 years agoin version(), display copyright notices
David Lawrence Ramsey [Wed, 1 Aug 2007 12:49:57 +0000 (12:49 +0000)]
in version(), display copyright notices

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

17 years agocapitalization fixes
David Lawrence Ramsey [Wed, 1 Aug 2007 12:24:00 +0000 (12:24 +0000)]
capitalization fixes

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

17 years agofix copyright notice and changelog entries
David Lawrence Ramsey [Wed, 1 Aug 2007 01:28:39 +0000 (01:28 +0000)]
fix copyright notice and changelog entries

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

17 years agoupdate copyright notices to account for modifications
David Lawrence Ramsey [Tue, 31 Jul 2007 21:20:08 +0000 (21:20 +0000)]
update copyright notices to account for modifications

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

17 years agoin faq.html, update RPM links for nano 2.0.x
David Lawrence Ramsey [Sun, 29 Jul 2007 16:30:27 +0000 (16:30 +0000)]
in faq.html, update RPM links for nano 2.0.x

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

17 years agofix changelog entry
David Lawrence Ramsey [Sat, 14 Jul 2007 16:41:40 +0000 (16:41 +0000)]
fix changelog entry

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

17 years agoin copy_file(), assert that inn and out don't both point to the same
David Lawrence Ramsey [Thu, 12 Jul 2007 03:12:31 +0000 (03:12 +0000)]
in copy_file(), assert that inn and out don't both point to the same
file

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

17 years agoin nstrcasestr(), mbstrcasestr(), revstrstr(), revstrcasestr(), and
David Lawrence Ramsey [Tue, 10 Jul 2007 22:54:58 +0000 (22:54 +0000)]
in nstrcasestr(), mbstrcasestr(), revstrstr(), revstrcasestr(), and
mbrevstrcasestr(), simplify and rewrite to use strncasecmp()

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

17 years agoin do_replace_loop(), fix problem where replacing e.g. single-byte
David Lawrence Ramsey [Mon, 9 Jul 2007 23:24:37 +0000 (23:24 +0000)]
in do_replace_loop(), fix problem where replacing e.g. single-byte
characters with multibyte ones could result in openfile->totsize's being
miscalculated

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

17 years agotypo fixes
David Lawrence Ramsey [Mon, 9 Jul 2007 22:57:07 +0000 (22:57 +0000)]
typo fixes

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

17 years agoin mbstrncasecmp(), mbstrnlen(), mbstrpbrk(), and has_blank_mbchars(),
David Lawrence Ramsey [Mon, 9 Jul 2007 22:41:55 +0000 (22:41 +0000)]
in mbstrncasecmp(), mbstrnlen(), mbstrpbrk(), and has_blank_mbchars(),
simplify by using for loops instead of while loops where possible, to
match the single-byte versions of these functions

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

17 years agoin nstrcasestr(), mbstrcasestr(), revstrstr(), revstrcasestr(), and
David Lawrence Ramsey [Fri, 6 Jul 2007 13:44:13 +0000 (13:44 +0000)]
in nstrcasestr(), mbstrcasestr(), revstrstr(), revstrcasestr(), and
mbrevstrcasestr(), return char* instead of const char*

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

17 years agocosmetic fix
David Lawrence Ramsey [Fri, 6 Jul 2007 13:38:20 +0000 (13:38 +0000)]
cosmetic fix

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

17 years agoin nstrcasestr(), mbstrcasestr(), revstrstr(), revstrcasestr(), and
David Lawrence Ramsey [Mon, 2 Jul 2007 15:51:26 +0000 (15:51 +0000)]
in nstrcasestr(), mbstrcasestr(), revstrstr(), revstrcasestr(), and
mbrevstrcasestr(), for efficiency, return haystack immediately if
needle/rev_start is blank

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

17 years agoin nstrncasecmp() and mbstrncasecmp(), for efficiency, return zero
David Lawrence Ramsey [Sun, 1 Jul 2007 21:46:00 +0000 (21:46 +0000)]
in nstrncasecmp() and mbstrncasecmp(), for efficiency, return zero
immediately if s1 and s2 point to the same string

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

17 years agomore cosmetic fixes
David Lawrence Ramsey [Sun, 1 Jul 2007 21:33:17 +0000 (21:33 +0000)]
more cosmetic fixes

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

17 years agocosmetic fixes
David Lawrence Ramsey [Sun, 1 Jul 2007 21:17:05 +0000 (21:17 +0000)]
cosmetic fixes

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

17 years agoin do_yesno_prompt(), remove redundant check for NO_HELP's being FALSE
David Lawrence Ramsey [Sat, 30 Jun 2007 21:19:42 +0000 (21:19 +0000)]
in do_yesno_prompt(), remove redundant check for NO_HELP's being FALSE

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

17 years agocomment fix
David Lawrence Ramsey [Thu, 28 Jun 2007 18:31:13 +0000 (18:31 +0000)]
comment fix

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

17 years agofix minor breakage
David Lawrence Ramsey [Thu, 28 Jun 2007 16:38:00 +0000 (16:38 +0000)]
fix minor breakage

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

17 years agoin do_mouseinput(), add mouse wheel support, per Helmut Jarausch's
David Lawrence Ramsey [Thu, 28 Jun 2007 16:26:15 +0000 (16:26 +0000)]
in do_mouseinput(), add mouse wheel support, per Helmut Jarausch's
suggestion, and add various mouse support-related simplifications

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

17 years agoin get_key_buffer(), fix inaccurate comments
David Lawrence Ramsey [Fri, 25 May 2007 16:54:06 +0000 (16:54 +0000)]
in get_key_buffer(), fix inaccurate comments

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

17 years agoBack to CVS
David Lawrence Ramsey [Thu, 26 Apr 2007 12:01:26 +0000 (12:01 +0000)]
Back to CVS

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

17 years agoGNU nano 2.0.6 v2.0.6
David Lawrence Ramsey [Thu, 26 Apr 2007 12:00:34 +0000 (12:00 +0000)]
GNU nano 2.0.6

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

17 years agoin TODO, add entries for fixing limitations with pasting text and
David Lawrence Ramsey [Mon, 23 Apr 2007 15:39:01 +0000 (15:39 +0000)]
in TODO, add entries for fixing limitations with pasting text and
handling bad/incomplete UTF-8 sequences

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

17 years agostill more cosmetic fixes
David Lawrence Ramsey [Mon, 23 Apr 2007 14:03:28 +0000 (14:03 +0000)]
still more cosmetic fixes

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

17 years agoin backup_lines(), avoid a segfault when the mark begins and ends on the
David Lawrence Ramsey [Sun, 22 Apr 2007 15:04:05 +0000 (15:04 +0000)]
in backup_lines(), avoid a segfault when the mark begins and ends on the
line after the last line of the paragraph

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

17 years agoBack to CVS
David Lawrence Ramsey [Sun, 22 Apr 2007 12:39:29 +0000 (12:39 +0000)]
Back to CVS

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

17 years agoGNU nano 2.0.5 v2.0.5
David Lawrence Ramsey [Sun, 22 Apr 2007 12:38:14 +0000 (12:38 +0000)]
GNU nano 2.0.5

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

17 years agoone last cosmetic fix
David Lawrence Ramsey [Sat, 21 Apr 2007 20:33:56 +0000 (20:33 +0000)]
one last cosmetic fix

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

17 years agorevert erroneous change
David Lawrence Ramsey [Sat, 21 Apr 2007 20:24:16 +0000 (20:24 +0000)]
revert erroneous change

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

17 years agofurther simplify do_writeout()
David Lawrence Ramsey [Sat, 21 Apr 2007 20:13:06 +0000 (20:13 +0000)]
further simplify do_writeout()

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

17 years agoin do_writeout(), if we're in restricted mode, we're not allowed to
David Lawrence Ramsey [Sat, 21 Apr 2007 18:57:47 +0000 (18:57 +0000)]
in do_writeout(), if we're in restricted mode, we're not allowed to
write selections to files, so don't display the "Write Selection to
File" prompt

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

17 years agocomment fix
David Lawrence Ramsey [Sat, 21 Apr 2007 18:53:38 +0000 (18:53 +0000)]
comment fix

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

17 years agosimplify do_writeout()
David Lawrence Ramsey [Sat, 21 Apr 2007 18:23:06 +0000 (18:23 +0000)]
simplify do_writeout()

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

17 years agoformatting fix
David Lawrence Ramsey [Fri, 20 Apr 2007 04:13:06 +0000 (04:13 +0000)]
formatting fix

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

17 years agoin tail(), remove unneeded if statement
David Lawrence Ramsey [Thu, 19 Apr 2007 04:12:54 +0000 (04:12 +0000)]
in tail(), remove unneeded if statement

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

17 years agoyet another cosmetic fix
David Lawrence Ramsey [Thu, 19 Apr 2007 03:53:23 +0000 (03:53 +0000)]
yet another cosmetic fix

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

17 years agostill more cosmetic fixes
David Lawrence Ramsey [Thu, 19 Apr 2007 03:23:16 +0000 (03:23 +0000)]
still more cosmetic fixes

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

17 years agomore cosmetic fixes
David Lawrence Ramsey [Thu, 19 Apr 2007 03:15:04 +0000 (03:15 +0000)]
more cosmetic fixes

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

17 years agoin doc/faq.html, add a new section 4.14 by John M. Gabriele, with a few
David Lawrence Ramsey [Wed, 18 Apr 2007 23:15:30 +0000 (23:15 +0000)]
in doc/faq.html, add a new section 4.14 by John M. Gabriele, with a few
tweaks of mine, to explain how autoindent affects pasted text

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

17 years agoanother cosmetic fix
David Lawrence Ramsey [Wed, 18 Apr 2007 19:25:00 +0000 (19:25 +0000)]
another cosmetic fix

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

17 years agocosmetic fix
David Lawrence Ramsey [Wed, 18 Apr 2007 19:16:08 +0000 (19:16 +0000)]
cosmetic fix

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

17 years agofix various file-saving bugs
David Lawrence Ramsey [Wed, 18 Apr 2007 19:09:44 +0000 (19:09 +0000)]
fix various file-saving bugs

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

17 years agofix various file- and rcfile-opening bugs
David Lawrence Ramsey [Wed, 18 Apr 2007 18:22:13 +0000 (18:22 +0000)]
fix various file- and rcfile-opening bugs

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

17 years agosimplify real_dir_from_tilde()
David Lawrence Ramsey [Wed, 18 Apr 2007 17:13:36 +0000 (17:13 +0000)]
simplify real_dir_from_tilde()

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

17 years agoin parse_kbinput(), interpret Cancel and Shift-Cancel
David Lawrence Ramsey [Wed, 18 Apr 2007 14:06:34 +0000 (14:06 +0000)]
in parse_kbinput(), interpret Cancel and Shift-Cancel

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

17 years agoin get_escape_seq_kbinput(), add missing comments
David Lawrence Ramsey [Wed, 18 Apr 2007 13:48:37 +0000 (13:48 +0000)]
in get_escape_seq_kbinput(), add missing comments

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

17 years agoin input_tab(), don't bother checking if num_matches is less than zero,
David Lawrence Ramsey [Tue, 17 Apr 2007 18:12:19 +0000 (18:12 +0000)]
in input_tab(), don't bother checking if num_matches is less than zero,
as it's a size_t and hence unsigned

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

17 years agoin real_dir_from_tilde(), fix long-standing problem where directory
David Lawrence Ramsey [Tue, 17 Apr 2007 04:38:30 +0000 (04:38 +0000)]
in real_dir_from_tilde(), fix long-standing problem where directory
names that began with "~", but that weren't users' home directories,
could be erroneously treated as users' home directories (e.g. "~d/"
would be treated as "~daemon/")

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

17 years agofix changelog entry
David Lawrence Ramsey [Tue, 17 Apr 2007 04:29:03 +0000 (04:29 +0000)]
fix changelog entry

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

17 years agoin get_real_dir_from_tilde(), fix segfault when dealing with directory
David Lawrence Ramsey [Tue, 17 Apr 2007 03:43:59 +0000 (03:43 +0000)]
in get_real_dir_from_tilde(), fix segfault when dealing with directory
names that begin with "~", but that aren't users' home directories

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

17 years agoper Mike Frysinger's patch with a few tweaks of mine, in
David Lawrence Ramsey [Wed, 11 Apr 2007 22:18:16 +0000 (22:18 +0000)]
per Mike Frysinger's patch with a few tweaks of mine, in
doc/syntax/asm.nanorc, doc/syntax/c.nanorc, and doc/syntax/sh.nanorc,
copy the regex that highlights trailing whitespace from
doc/syntax/java.nanorc to these files, as it's also useful in them

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

17 years agoBack to CVS
David Lawrence Ramsey [Fri, 6 Apr 2007 12:54:36 +0000 (12:54 +0000)]
Back to CVS

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