]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Wed, 19 Jul 2006 00:38:27 +0000 (00:38 +0000)]
fix changelog entries
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3795
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 00:21:17 +0000 (00:21 +0000)]
per Daniel Richard G.'s patch, in parse_rcfile(), add missing
ENABLE_COLOR #ifdef around the second check for a syntax with no color
commands, to fix compilation without color support
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3794
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 00:14:52 +0000 (00:14 +0000)]
rename the values of the scroll_dir enum to UP_DIR and DOWN_DIR, since
UP is defined as a termcap value in Tru64's curses.h, which breaks
compilation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3793
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Jul 2006 18:28:10 +0000 (18:28 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3792
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Jul 2006 18:25:56 +0000 (18:25 +0000)]
revert unneeded #ifdef fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3791
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Jul 2006 18:16:30 +0000 (18:16 +0000)]
add various cosmetic and #ifdef fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3790
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 13:28:13 +0000 (13:28 +0000)]
improve the display of bools in debugging statements
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3789
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 13:27:16 +0000 (13:27 +0000)]
in replace_regexp(), remove unnecessary casting of c to int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3788
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 12:18:57 +0000 (12:18 +0000)]
in do_insertfile(), remove redundant code: we only mark the file as
modified if we're not in multibuffer mode, in which case view mode
should never be on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3787
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 04:19:53 +0000 (04:19 +0000)]
in do_insertfile(), if we don't insert a file into a new buffer,
properly update the x-coordinate to account for the number of characters
inserted on the current line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3786
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 03:06:36 +0000 (03:06 +0000)]
in do_insertfile(), if we're in view mode, as we can be if multibuffer
mode is on, don't mark the file as modified (and remove the code that
does this in execute_command()); also, if we execute a command in a new
buffer, move back to the beginning of the first line of the buffer
afterwards, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3785
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 02:10:27 +0000 (02:10 +0000)]
more typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3784
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 19:30:54 +0000 (19:30 +0000)]
remove unneeded blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3783
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 19:12:40 +0000 (19:12 +0000)]
in nano.h, remove the manual disabling of color support if regex.h isn't
found, as configure.ac now handles that
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3782
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 18:59:29 +0000 (18:59 +0000)]
in configure.ac, if regex.h isn't found, display an error message if we
try to enable color support; also, fix the spacing of the error message
displayed when slcurses.h isn't found
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3781
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 18:57:04 +0000 (18:57 +0000)]
don't include sys/ioctl.h in nano.c when NANO_TINY is defined, as
ioctl() is never used then
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3780
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 18:09:37 +0000 (18:09 +0000)]
in nano.h, if we don't have nanorc support, disable color support, as it
depends on the use of the nanorc
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3779
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 16:50:43 +0000 (16:50 +0000)]
make Jordi's email address, and the description of what the manual pages
were written for, consistent in the documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3778
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 18:17:56 +0000 (18:17 +0000)]
in do_browse_from(), don't bother freeing path if it's NULL
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3777
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 18:12:24 +0000 (18:12 +0000)]
revert erroneous change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3776
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 17:25:12 +0000 (17:25 +0000)]
add miscellaneous minor cleanups to do_browser(), do_browse_from(), and
browser_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3775
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 17:01:45 +0000 (17:01 +0000)]
clean up the TODO list a bit more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3774
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 16:58:20 +0000 (16:58 +0000)]
mention the need to handle resizes better in the TODO list, and clean it
up a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3773
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 9 Jul 2006 00:52:16 +0000 (00:52 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3772
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 9 Jul 2006 00:50:23 +0000 (00:50 +0000)]
remove unneeded #ifdef
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3771
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 9 Jul 2006 00:47:21 +0000 (00:47 +0000)]
revert erroneous change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3770
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 8 Jul 2006 23:45:15 +0000 (23:45 +0000)]
in titlebar(), don't display any blank space for the state if we're in
the file browser, as Pico doesn't, and since path is always assumed to
be NULL if DISABLE_BROWSER is defined, put the check for its being NULL
in a DISABLE_BROWSER #define
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3769
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 8 Jul 2006 21:23:53 +0000 (21:23 +0000)]
typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3768
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 16:21:45 +0000 (16:21 +0000)]
fix inaccurate comments
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3767
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 16:12:24 +0000 (16:12 +0000)]
still more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3766
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 15:54:32 +0000 (15:54 +0000)]
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3765
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 13:54:38 +0000 (13:54 +0000)]
per John M. Gabriele's patch with a few tweaks by me, in
doc/syntax/ruby.nanorc, improve highlighting of constants
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3764
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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