]> git.wh0rd.org Git - nano.git/log
nano.git
18 years agoconsolidate do_scroll_(up|down)() into do_(up|down)(), as they have a
David Lawrence Ramsey [Thu, 6 Jul 2006 22:17:47 +0000 (22:17 +0000)]
consolidate do_scroll_(up|down)() into do_(up|down)(), as they have a
lot of common code

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

18 years agoin do_scroll_up() and do_scroll_down(), fix problems where, after
David Lawrence Ramsey [Thu, 6 Jul 2006 20:40:53 +0000 (20:40 +0000)]
in do_scroll_up() and do_scroll_down(), fix problems where, after
scrolling, the previous and current lines would not be updated properly
if the current line was not the first or last line of the edit window

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

18 years agocomment fixes
David Lawrence Ramsey [Thu, 6 Jul 2006 20:36:01 +0000 (20:36 +0000)]
comment fixes

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

18 years agocomment fixes
David Lawrence Ramsey [Thu, 6 Jul 2006 18:29:37 +0000 (18:29 +0000)]
comment fixes

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

18 years agoadd another post-2.0 item
David Lawrence Ramsey [Wed, 5 Jul 2006 19:52:27 +0000 (19:52 +0000)]
add another post-2.0 item

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

18 years agoif the mark isn't on, allow Meta-} and Meta-{ to indent and unindent
David Lawrence Ramsey [Wed, 5 Jul 2006 18:42:22 +0000 (18:42 +0000)]
if the mark isn't on, allow Meta-} and Meta-{ to indent and unindent
only the current line, just as it would if the mark covered only the
current line, instead of displaying a statusbar message and quitting

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

18 years agoanother cosmetic fix
David Lawrence Ramsey [Wed, 5 Jul 2006 16:46:22 +0000 (16:46 +0000)]
another cosmetic fix

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

18 years agocosmetic fix
David Lawrence Ramsey [Wed, 5 Jul 2006 16:09:36 +0000 (16:09 +0000)]
cosmetic fix

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

18 years agocomment fixes
David Lawrence Ramsey [Wed, 5 Jul 2006 15:21:18 +0000 (15:21 +0000)]
comment fixes

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

18 years agoanother cosmetic fix
David Lawrence Ramsey [Wed, 5 Jul 2006 15:20:16 +0000 (15:20 +0000)]
another cosmetic fix

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

18 years agocosmetic fixes
David Lawrence Ramsey [Wed, 5 Jul 2006 14:27:14 +0000 (14:27 +0000)]
cosmetic fixes

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

18 years agoin get_full_path(), don't return NULL when the current directory doesn't
David Lawrence Ramsey [Wed, 5 Jul 2006 14:14:06 +0000 (14:14 +0000)]
in get_full_path(), don't return NULL when the current directory doesn't
exist, as we can still recover from that, and also add various cleanups

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

18 years agoin browser_refresh() and titlebar(), don't display overly long filenames
David Lawrence Ramsey [Wed, 5 Jul 2006 06:38:47 +0000 (06:38 +0000)]
in browser_refresh() and titlebar(), don't display overly long filenames
with ellipses if the number of columns is extremely small; also, in
certain places, call wnoutrefresh(bottomwin) after calling
blank_statusbar(), in order to ensure that the statusbar is actually
blanked

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

18 years agocosmetic fix
David Lawrence Ramsey [Wed, 5 Jul 2006 05:43:20 +0000 (05:43 +0000)]
cosmetic fix

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

18 years agoin display_string(), properly handle buf[start_index]'s being a null
David Lawrence Ramsey [Wed, 5 Jul 2006 05:31:21 +0000 (05:31 +0000)]
in display_string(), properly handle buf[start_index]'s being a null
terminator

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

18 years agostill more miscellaneous minor fixes
David Lawrence Ramsey [Wed, 5 Jul 2006 05:14:11 +0000 (05:14 +0000)]
still more miscellaneous minor fixes

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

18 years agoanother miscellaneous minor fix
David Lawrence Ramsey [Wed, 5 Jul 2006 04:04:30 +0000 (04:04 +0000)]
another miscellaneous minor fix

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

18 years agoin do_browse_from(), during the operating directory check, if path isn't
David Lawrence Ramsey [Wed, 5 Jul 2006 03:38:49 +0000 (03:38 +0000)]
in do_browse_from(), during the operating directory check, if path isn't
NULL, don't bother freeing it before mallocstrcpy()ing operating_dir
into it, as the latter operation will free it

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

18 years agomiscellaneous minor fixes
David Lawrence Ramsey [Wed, 5 Jul 2006 03:24:39 +0000 (03:24 +0000)]
miscellaneous minor fixes

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

18 years agoyet another comment fix
David Lawrence Ramsey [Wed, 5 Jul 2006 02:35:03 +0000 (02:35 +0000)]
yet another comment fix

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

18 years agomake the file browser's mouse support consistent with other mouse
David Lawrence Ramsey [Wed, 5 Jul 2006 02:34:37 +0000 (02:34 +0000)]
make the file browser's mouse support consistent with other mouse
support, and add a few comment fixes

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

18 years agoin do_browser() and do_help(), detect the previous selected file or
David Lawrence Ramsey [Wed, 5 Jul 2006 02:24:23 +0000 (02:24 +0000)]
in do_browser() and do_help(), detect the previous selected file or
directory and the previous help text line properly again

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

18 years agocalculate width in browser_init(), as it's more consistent
David Lawrence Ramsey [Wed, 5 Jul 2006 02:05:24 +0000 (02:05 +0000)]
calculate width in browser_init(), as it's more consistent

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

18 years agostill more cosmetic fixes
David Lawrence Ramsey [Wed, 5 Jul 2006 01:13:19 +0000 (01:13 +0000)]
still more cosmetic fixes

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

18 years agosimplify and remove redundancies from various bits
David Lawrence Ramsey [Wed, 5 Jul 2006 01:10:18 +0000 (01:10 +0000)]
simplify and remove redundancies from various bits

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

18 years agoin browser_refresh(), fix problem where width wouldn't be properly
David Lawrence Ramsey [Tue, 4 Jul 2006 23:47:22 +0000 (23:47 +0000)]
in browser_refresh(), fix problem where width wouldn't be properly
initialized sometimes

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

18 years agomore comment fixes
David Lawrence Ramsey [Tue, 4 Jul 2006 23:44:17 +0000 (23:44 +0000)]
more comment fixes

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 4 Jul 2006 23:05:27 +0000 (23:05 +0000)]
comment fix

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

18 years agocosmetic fixes
David Lawrence Ramsey [Tue, 4 Jul 2006 23:03:59 +0000 (23:03 +0000)]
cosmetic fixes

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

18 years agosimplify
David Lawrence Ramsey [Tue, 4 Jul 2006 22:17:39 +0000 (22:17 +0000)]
simplify

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 4 Jul 2006 21:47:06 +0000 (21:47 +0000)]
comment fix

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

18 years agocosmetic fixes
David Lawrence Ramsey [Tue, 4 Jul 2006 21:46:34 +0000 (21:46 +0000)]
cosmetic fixes

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

18 years agoadd another missing comment
David Lawrence Ramsey [Tue, 4 Jul 2006 13:54:34 +0000 (13:54 +0000)]
add another missing comment

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

18 years agosimplify, and add missing comments
David Lawrence Ramsey [Tue, 4 Jul 2006 03:49:15 +0000 (03:49 +0000)]
simplify, and add missing comments

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 4 Jul 2006 03:47:36 +0000 (03:47 +0000)]
comment fix

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

18 years agoremove unneeded blank lines
David Lawrence Ramsey [Mon, 3 Jul 2006 18:49:55 +0000 (18:49 +0000)]
remove unneeded blank lines

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

18 years agoin browser_refresh(), add translator comments explaining the maximum
David Lawrence Ramsey [Mon, 3 Jul 2006 18:40:53 +0000 (18:40 +0000)]
in browser_refresh(), add translator comments explaining the maximum
intended lengths of "(dir)" and "(parent dir)"; also add various
formatting fixes

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

18 years agostill more comment fixes
David Lawrence Ramsey [Sun, 2 Jul 2006 21:15:36 +0000 (21:15 +0000)]
still more comment fixes

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

18 years agomore comment fixes
David Lawrence Ramsey [Sun, 2 Jul 2006 21:12:58 +0000 (21:12 +0000)]
more comment fixes

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

18 years agoadd missing comment
David Lawrence Ramsey [Sun, 2 Jul 2006 20:56:34 +0000 (20:56 +0000)]
add missing comment

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

18 years agoyet another cosmetic fix
David Lawrence Ramsey [Sun, 2 Jul 2006 20:41:21 +0000 (20:41 +0000)]
yet another cosmetic fix

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

18 years agomore cosmetic fixes
David Lawrence Ramsey [Sun, 2 Jul 2006 19:04:28 +0000 (19:04 +0000)]
more cosmetic fixes

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

18 years agoadd clarifying comment
David Lawrence Ramsey [Sun, 2 Jul 2006 18:49:30 +0000 (18:49 +0000)]
add clarifying comment

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

18 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Sun, 2 Jul 2006 18:45:45 +0000 (18:45 +0000)]
more miscellaneous minor fixes

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

18 years agoin browser_refresh(), if a filename is too long, truncate and display an
David Lawrence Ramsey [Sun, 2 Jul 2006 18:29:49 +0000 (18:29 +0000)]
in browser_refresh(), if a filename is too long, truncate and display an
ellipsis before it, as titlebar() does; also add various miscellaneous
minor fixes

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

18 years agofix breakage
David Lawrence Ramsey [Sun, 2 Jul 2006 17:36:55 +0000 (17:36 +0000)]
fix breakage

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

18 years agoin browser_init(), fix off-by-one error when calculating longest that
David Lawrence Ramsey [Sun, 2 Jul 2006 17:00:07 +0000 (17:00 +0000)]
in browser_init(), fix off-by-one error when calculating longest that
kept the rightmost column of the screen from being used

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

18 years agostill more comment fixes
David Lawrence Ramsey [Sun, 2 Jul 2006 15:54:14 +0000 (15:54 +0000)]
still more comment fixes

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

18 years agofix breakage
David Lawrence Ramsey [Sun, 2 Jul 2006 15:50:55 +0000 (15:50 +0000)]
fix breakage

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

18 years agomore comment fixes
David Lawrence Ramsey [Sun, 2 Jul 2006 15:39:34 +0000 (15:39 +0000)]
more comment fixes

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

18 years agoupdate changelog entries
David Lawrence Ramsey [Fri, 30 Jun 2006 22:36:29 +0000 (22:36 +0000)]
update changelog entries

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

18 years agocomment fixes
David Lawrence Ramsey [Fri, 30 Jun 2006 22:34:10 +0000 (22:34 +0000)]
comment fixes

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

18 years agoadd more miscellaneous cleanups
David Lawrence Ramsey [Fri, 30 Jun 2006 22:28:37 +0000 (22:28 +0000)]
add more miscellaneous cleanups

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

18 years agoadd miscellaneous cleanups
David Lawrence Ramsey [Fri, 30 Jun 2006 21:13:55 +0000 (21:13 +0000)]
add miscellaneous cleanups

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

18 years agoin do_browser() and do_refresh(), further simplify screen update
David Lawrence Ramsey [Fri, 30 Jun 2006 21:06:15 +0000 (21:06 +0000)]
in do_browser() and do_refresh(), further simplify screen update
handling

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

18 years agoin do_browser() and do_help(), simplify screen update handling
David Lawrence Ramsey [Fri, 30 Jun 2006 21:01:55 +0000 (21:01 +0000)]
in do_browser() and do_help(), simplify screen update handling

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

18 years agosimplify
David Lawrence Ramsey [Fri, 30 Jun 2006 14:28:32 +0000 (14:28 +0000)]
simplify

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

18 years agocomment fix
David Lawrence Ramsey [Fri, 30 Jun 2006 14:25:34 +0000 (14:25 +0000)]
comment fix

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

18 years agofix breakage
David Lawrence Ramsey [Fri, 30 Jun 2006 14:21:29 +0000 (14:21 +0000)]
fix breakage

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

18 years agoin striponedir(), return the stripped path instead of modifying path
David Lawrence Ramsey [Fri, 30 Jun 2006 14:14:40 +0000 (14:14 +0000)]
in striponedir(), return the stripped path instead of modifying path

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

18 years agoin striponedir(), since all the strings passed to this are dynamically
David Lawrence Ramsey [Fri, 30 Jun 2006 13:58:29 +0000 (13:58 +0000)]
in striponedir(), since all the strings passed to this are dynamically
allocated, use null_at() to strip the directory from the string

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

18 years agocosmetic fixes
David Lawrence Ramsey [Fri, 30 Jun 2006 07:27:15 +0000 (07:27 +0000)]
cosmetic fixes

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

18 years agorevert last changes, as the "Go to Directory" prompt can allow movement
David Lawrence Ramsey [Fri, 30 Jun 2006 07:26:14 +0000 (07:26 +0000)]
revert last changes, as the "Go to Directory" prompt can allow movement
anywhere, so the error message won't make sense in some cases

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

18 years agofix breakage
David Lawrence Ramsey [Fri, 30 Jun 2006 07:12:14 +0000 (07:12 +0000)]
fix breakage

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

18 years agoin do_browser(), display an error messsage on the statusbar if we try to
David Lawrence Ramsey [Fri, 30 Jun 2006 07:03:42 +0000 (07:03 +0000)]
in do_browser(), display an error messsage on the statusbar if we try to
move up from "/" via the "Go to Directory" prompt, for consistency

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

18 years agoin do_browser(), after entering "..", select the directory we were in
David Lawrence Ramsey [Fri, 30 Jun 2006 06:41:31 +0000 (06:41 +0000)]
in do_browser(), after entering "..", select the directory we were in
before instead of the first filename in the list, as Pico does; add new
function browser_select_filename() to help do this properly

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

18 years agoadd missing comments
David Lawrence Ramsey [Fri, 30 Jun 2006 05:12:53 +0000 (05:12 +0000)]
add missing comments

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

18 years agoin findnextfile(), simplify the uses of tail()
David Lawrence Ramsey [Fri, 30 Jun 2006 04:46:24 +0000 (04:46 +0000)]
in findnextfile(), simplify the uses of tail()

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

18 years agoin browser_refresh(), for the ".." entry, display "(parent dir)" instead
David Lawrence Ramsey [Fri, 30 Jun 2006 03:19:28 +0000 (03:19 +0000)]
in browser_refresh(), for the ".." entry, display "(parent dir)" instead
of "(dir)", as Pico does

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

18 years agoin browser_refresh(), fix problems where translated versions of "(dir)"
David Lawrence Ramsey [Fri, 30 Jun 2006 02:44:11 +0000 (02:44 +0000)]
in browser_refresh(), fix problems where translated versions of "(dir)"
could be truncated, and where file sizes could be too long

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

18 years agoadd missing blank line
David Lawrence Ramsey [Fri, 30 Jun 2006 02:26:26 +0000 (02:26 +0000)]
add missing blank line

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

18 years agoin browser_refresh(), simplify more things
David Lawrence Ramsey [Thu, 29 Jun 2006 15:46:05 +0000 (15:46 +0000)]
in browser_refresh(), simplify more things

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

18 years agoin browser_refresh(), simplify the for loop
David Lawrence Ramsey [Thu, 29 Jun 2006 15:28:39 +0000 (15:28 +0000)]
in browser_refresh(), simplify the for loop

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

18 years agoin do_browser(), remove unneeded call to blank_edit()
David Lawrence Ramsey [Thu, 29 Jun 2006 15:08:00 +0000 (15:08 +0000)]
in do_browser(), remove unneeded call to blank_edit()

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

18 years agoin get_mouseinput(), handle both releases and clicks of mouse button 1,
David Lawrence Ramsey [Thu, 29 Jun 2006 01:38:58 +0000 (01:38 +0000)]
in get_mouseinput(), handle both releases and clicks of mouse button 1,
as the mouse support works better that way

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

18 years agocosmetic fixes
David Lawrence Ramsey [Wed, 28 Jun 2006 23:27:07 +0000 (23:27 +0000)]
cosmetic fixes

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

18 years agoin do_browser(), refactor and simplify the mouse support, modeling it
David Lawrence Ramsey [Wed, 28 Jun 2006 22:38:11 +0000 (22:38 +0000)]
in do_browser(), refactor and simplify the mouse support, modeling it
after do_mouse() for consistency

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

18 years agofix mouse support so that it really ignores everything except releases
David Lawrence Ramsey [Wed, 28 Jun 2006 21:54:55 +0000 (21:54 +0000)]
fix mouse support so that it really ignores everything except releases
of button 1 (i.e, left clicks)

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 27 Jun 2006 00:39:42 +0000 (00:39 +0000)]
comment fix

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

18 years agoper Mike Frysinger's patch, in doc/syntax/c.nanorc, since .i and .ii are
David Lawrence Ramsey [Mon, 26 Jun 2006 23:40:31 +0000 (23:40 +0000)]
per Mike Frysinger's patch, in doc/syntax/c.nanorc, since .i and .ii are
preprocessed C and C++ output, colorize them there

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

18 years agoadd various option description fixes
David Lawrence Ramsey [Mon, 26 Jun 2006 04:39:31 +0000 (04:39 +0000)]
add various option description fixes

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

18 years agoBack to CVS
David Lawrence Ramsey [Mon, 26 Jun 2006 04:03:31 +0000 (04:03 +0000)]
Back to CVS

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

18 years agoGNU nano 1.3.12 v1.3.12
David Lawrence Ramsey [Mon, 26 Jun 2006 04:01:31 +0000 (04:01 +0000)]
GNU nano 1.3.12

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

18 years agofix #ifdefs
David Lawrence Ramsey [Sun, 25 Jun 2006 17:25:13 +0000 (17:25 +0000)]
fix #ifdefs

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

18 years agoper John M. Gabriele's patch with a few tweaks by me, in README and
David Lawrence Ramsey [Sun, 25 Jun 2006 04:37:05 +0000 (04:37 +0000)]
per John M. Gabriele's patch with a few tweaks by me, in README and
README.CVS, add various cosmetic and wording improvements

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

18 years agoin edit_draw(), don't display any statusbar message when we get a
David Lawrence Ramsey [Wed, 21 Jun 2006 20:51:36 +0000 (20:51 +0000)]
in edit_draw(), don't display any statusbar message when we get a
zero-length regex, as we can get one under legitimate circumstances

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

18 years agoin update_line(), remove unneeded assert, and now-unused function
David Lawrence Ramsey [Wed, 21 Jun 2006 16:54:51 +0000 (16:54 +0000)]
in update_line(), remove unneeded assert, and now-unused function
check_linenumbers()

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

18 years agoca, fr, hu, nl updates from the TP.
Jordi Mallach [Wed, 21 Jun 2006 16:49:00 +0000 (16:49 +0000)]
ca, fr, hu, nl updates from the TP.

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

18 years agoin digits(), return the proper number of digits when n is exactly 10,
David Lawrence Ramsey [Wed, 21 Jun 2006 16:01:20 +0000 (16:01 +0000)]
in digits(), return the proper number of digits when n is exactly 10,
and simplify it to use a for loop instead of a while loop

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

18 years agocomment fix
David Lawrence Ramsey [Wed, 21 Jun 2006 01:30:00 +0000 (01:30 +0000)]
comment fix

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

18 years agofix erroneous version number
David Lawrence Ramsey [Tue, 20 Jun 2006 16:12:22 +0000 (16:12 +0000)]
fix erroneous version number

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

18 years agofix incorrect "Project-Id-Version" entries in several translations
David Lawrence Ramsey [Tue, 20 Jun 2006 13:25:49 +0000 (13:25 +0000)]
fix incorrect "Project-Id-Version" entries in several translations

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

18 years agoBulgarian and Irish updates from the TP.
Jordi Mallach [Mon, 19 Jun 2006 17:46:13 +0000 (17:46 +0000)]
Bulgarian and Irish updates from the TP.

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

18 years agoin help_init(), display the shortcut list help text even when we have
David Lawrence Ramsey [Mon, 19 Jun 2006 16:04:42 +0000 (16:04 +0000)]
in help_init(), display the shortcut list help text even when we have
fewer than 24 columns, for consistency with the toggle help text, and
add various minor consistency fixes

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

18 years agoin help_init(), make sure we have enough memory in all cases when
David Lawrence Ramsey [Mon, 19 Jun 2006 15:35:35 +0000 (15:35 +0000)]
in help_init(), make sure we have enough memory in all cases when
displaying the shortcut and toggle lists; and wrap the shortcut list
help text, for consistency with the toggle help text

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

18 years agocomment fix
David Lawrence Ramsey [Mon, 19 Jun 2006 14:24:12 +0000 (14:24 +0000)]
comment fix

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

18 years agoin help_line_len(), properly handle the case where we can't break the
David Lawrence Ramsey [Mon, 19 Jun 2006 14:18:22 +0000 (14:18 +0000)]
in help_line_len(), properly handle the case where we can't break the
line of help text, and wrap the line of help text at (COLS - 1) instead
of (COLS - 8), for consistency

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

18 years agoUpdated Bulgarian translation from the TP.
Jordi Mallach [Mon, 19 Jun 2006 13:01:45 +0000 (13:01 +0000)]
Updated Bulgarian translation from the TP.

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

18 years agocosmetic fixes
David Lawrence Ramsey [Sun, 18 Jun 2006 15:26:51 +0000 (15:26 +0000)]
cosmetic fixes

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

18 years agofix screen update problem when copying the last line on the screen with
David Lawrence Ramsey [Sun, 18 Jun 2006 15:21:11 +0000 (15:21 +0000)]
fix screen update problem when copying the last line on the screen with
the mark off and CUT_TO_END set to FALSE

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