]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Tue, 21 Jun 2005 04:11:04 +0000 (04:11 +0000)]
revert last change, as the multibyte strcoll() functions can't handle
e.g. 2-to-1 character conversions as the original strcoll() can
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2744
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 21 Jun 2005 03:26:58 +0000 (03:26 +0000)]
add a multibyte case-insensitive version of strcoll(), and make
diralphasort() use it so that filenames are sorted properly according to
the current locale
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2743
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 21 Jun 2005 01:41:46 +0000 (01:41 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2742
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 21 Jun 2005 01:33:31 +0000 (01:33 +0000)]
recover properly when the alternate spell checker fails
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2741
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 20 Jun 2005 23:10:24 +0000 (23:10 +0000)]
make sure the function checks are *really* in alphabetical order
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2740
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 20 Jun 2005 21:17:01 +0000 (21:17 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2739
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 20 Jun 2005 21:03:57 +0000 (21:03 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2738
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 20 Jun 2005 20:58:41 +0000 (20:58 +0000)]
remove unnecessary variables from and add missing asserts to
control_mbrep()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2737
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 20 Jun 2005 03:01:04 +0000 (03:01 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2736
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 19 Jun 2005 22:22:01 +0000 (22:22 +0000)]
update the "Feature Toggles" section in nano.texi to match current nano
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2735
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 19 Jun 2005 21:10:48 +0000 (21:10 +0000)]
when reading color syntax names or sorting filenames, use mbstrcasecmp()
instead of strcasecmp() to compare them, in case they're UTF-8
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2734
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 19 Jun 2005 19:57:13 +0000 (19:57 +0000)]
in read_line(), rename variable len to buf_len, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2733
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 22:33:55 +0000 (22:33 +0000)]
comment and indentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2732
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 22:33:24 +0000 (22:33 +0000)]
remove the reset_cursor() call in statusq(), as it erroneously leaves
the cursor in the edit window when we're at the "Save File Under
Different Name" prompt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2731
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 20:47:41 +0000 (20:47 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2730
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 20:08:43 +0000 (20:08 +0000)]
in configure.ac, check for possibly unavailable functions in
alphabetical order
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2729
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 19:56:30 +0000 (19:56 +0000)]
formatting fixes for Makefile.am and m4/Makefile.am
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2728
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 17:20:54 +0000 (17:20 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2727
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 17:06:02 +0000 (17:06 +0000)]
in configure.ac, check for get_wch() instead of wget_wch() to determine
if there's a wide curses library, as it's a more generic function
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2726
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 15:49:17 +0000 (15:49 +0000)]
rename total_update() total_redraw() for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2725
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 15:15:48 +0000 (15:15 +0000)]
work around slang brain damage in total_update()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2724
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 14:30:40 +0000 (14:30 +0000)]
fix still more minor display update problems
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2723
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 14:05:21 +0000 (14:05 +0000)]
fix more minor screen update problems
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2722
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 05:15:08 +0000 (05:15 +0000)]
n is ignored in the mbstowcs() call, so it can be 0 instead of
(size_t)-1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2721
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 04:32:26 +0000 (04:32 +0000)]
in statusq(), call wrefresh(bottomwin) after getting an answer and
blanking out the statusbar, to make sure that the blanking is done; this
fixes a problem where the statusbar is not properly blanked after using
the "Go To Line" prompt with the NO_HELP flag set
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2720
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 03:37:56 +0000 (03:37 +0000)]
in toggle_init(), reorder the toggles to put more toggles with similar
functions together
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2719
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Jun 2005 03:03:32 +0000 (03:03 +0000)]
clarify the description of the line wrapping toggle
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2718
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 22:53:41 +0000 (22:53 +0000)]
change the short option for --restricted from -Z to -R
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2717
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 22:50:55 +0000 (22:50 +0000)]
fix misplaced long option
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2716
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 22:33:15 +0000 (22:33 +0000)]
add comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2715
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 22:11:43 +0000 (22:11 +0000)]
add a description of -U/--quickblank to nano.texi, plus a few more
miscellaneous documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2714
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 21:52:59 +0000 (21:52 +0000)]
QUICK_BLANK and CONST_UPDATE shouldn't be working at the same time, as
they make the statusbar blank and redraw itself far too many times, and
it makes no sense to use them together anyway; also, clean up
check_statusblank() a little
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2713
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 21:21:10 +0000 (21:21 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2712
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 21:08:13 +0000 (21:08 +0000)]
rename the CONSTUPDATE flag to CONST_UPDATE, and clarify its description
in the help text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2711
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 19:09:18 +0000 (19:09 +0000)]
add missing #ifdef
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2710
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 19:06:25 +0000 (19:06 +0000)]
add -U/--quickblank option, a Meta-U toggle, and a "quickblank" rcfile
option to blank the statusbar after 1 keystroke instead of 25; note that
this is disabled when NANO_SMALL is defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2709
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 19:01:00 +0000 (19:01 +0000)]
move all the rcfile options disabled by NANO_SMALL to the end, for
consistency with the long options in nano.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2708
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 18:27:00 +0000 (18:27 +0000)]
since the DISABLE_CURPOS flag is only used in winio.c, reduce it to a
static bool there
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2707
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 18:14:03 +0000 (18:14 +0000)]
in statusbar(), set statusblank to 25 instead of 26, to match current
Pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2706
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 18:00:16 +0000 (18:00 +0000)]
more miscellaneous documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2705
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 17 Jun 2005 17:37:46 +0000 (17:37 +0000)]
more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2704
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 20:58:19 +0000 (20:58 +0000)]
various #ifdef fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2703
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 20:41:20 +0000 (20:41 +0000)]
miscellaneous cleanups in do_find_bracket(): rename variables for
consistency, and save the search direction and regexp setting in two
bools instead of one flags variable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2702
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 18:56:00 +0000 (18:56 +0000)]
add "backwards" and "casesensitive" to the "rcfile" regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2701
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 18:48:30 +0000 (18:48 +0000)]
add the "regexp" rcfile option back in at DB's suggestion, the
"casesensitive" and "backwards" rcfile options for consistency,
documentation updates, and related cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2700
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 18:35:55 +0000 (18:35 +0000)]
document the new Meta-E toggle
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2699
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 17:26:01 +0000 (17:26 +0000)]
in usage(), remove inaccurate default listed for -Q/--quotestr
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2698
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 12:43:08 +0000 (12:43 +0000)]
fix assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2697
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 12:17:23 +0000 (12:17 +0000)]
fix compilation with --enable-debug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2696
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 12:16:24 +0000 (12:16 +0000)]
remove stray "]"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2695
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 03:11:39 +0000 (03:11 +0000)]
wording fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2694
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 03:07:05 +0000 (03:07 +0000)]
in shortcut_init(), clarify the description of ^X when
--enable-multibuffer is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2693
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 02:13:10 +0000 (02:13 +0000)]
change the SMOOTHSCROLL flag to the SMOOTH_SCROLL flag
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2692
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 02:09:57 +0000 (02:09 +0000)]
change the NO_UTF8 flag to the USE_UTF8 flag, and reverse its meaning
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2691
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 01:56:51 +0000 (01:56 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2690
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 01:37:13 +0000 (01:37 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2689
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 01:36:10 +0000 (01:36 +0000)]
fix memory leak
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2688
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 01:25:11 +0000 (01:25 +0000)]
add the "tabstospaces" option to the "rcfile" regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2687
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Jun 2005 01:18:56 +0000 (01:18 +0000)]
move the "tabstospaces" option in nanorc.sample down so the options are
in alphabetical order again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2686
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 23:36:08 +0000 (23:36 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2685
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 23:35:53 +0000 (23:35 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2684
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 23:33:54 +0000 (23:33 +0000)]
revert erroneous help_init() changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2683
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 23:20:56 +0000 (23:20 +0000)]
add the ability to convert (non-verbatim input) typed tabs to spaces
using the -E/--tabstospaces command line options, the "tabstospaces"
rcfile option, and the toggle Meta-E; also, change the short command
line option for --backupdir from -E to -C
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2682
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 20:21:02 +0000 (20:21 +0000)]
in do_spell(), if the spell-checker printed any error messages onscreen,
make sure they're cleared off
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2681
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 19:26:48 +0000 (19:26 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2680
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 19:21:04 +0000 (19:21 +0000)]
in do_int_spell_fix(), display highlighted misspelled words using
display_string(), as do_replace_loop() does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2679
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 19:15:14 +0000 (19:15 +0000)]
add missing blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2678
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 18:53:47 +0000 (18:53 +0000)]
make --enable-extra only define NANO_EXTRA, and update associated
documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2677
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 16:07:14 +0000 (16:07 +0000)]
change wint_t's back to wchar_t's to fix compilation on Mac OS 10.4.1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2676
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Wed, 15 Jun 2005 16:05:42 +0000 (16:05 +0000)]
Typo fix by Jens Seidel.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2675
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 07:38:25 +0000 (07:38 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2674
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 07:34:09 +0000 (07:34 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2673
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 07:32:58 +0000 (07:32 +0000)]
in do_browser(), make mouse clicks in the browser window work properly
when the MORE_SPACE flag is set
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2672
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 07:18:30 +0000 (07:18 +0000)]
more miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2671
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 06:30:05 +0000 (06:30 +0000)]
fix #ifdefs so that nano compiles with NANO_SMALL defined and
DISABLE_TABCOMP undefined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2670
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 06:04:08 +0000 (06:04 +0000)]
*more* cleanups to chars.c and related code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2669
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 03:56:36 +0000 (03:56 +0000)]
formatting and comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2668
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 03:15:45 +0000 (03:15 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2667
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 03:03:45 +0000 (03:03 +0000)]
don't count punctuation when searching for a whole word in
is_whole_word()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2666
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 15 Jun 2005 03:01:41 +0000 (03:01 +0000)]
in open_prevnext_file(), move up a misplaced assert and rename a
variable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2665
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 23:38:41 +0000 (23:38 +0000)]
more miscellaneous fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2664
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 23:38:08 +0000 (23:38 +0000)]
revert the changes to the behavior of Esc Esc [3-digit number from 000
to 255], as it still won't let us type all possible bytes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2663
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 23:36:13 +0000 (23:36 +0000)]
more miscellaneous cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2662
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 04:22:32 +0000 (04:22 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2661
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 02:32:37 +0000 (02:32 +0000)]
minor faq updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2660
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 02:24:25 +0000 (02:24 +0000)]
more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2659
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 02:08:25 +0000 (02:08 +0000)]
yet *another* cleanup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2658
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 02:03:56 +0000 (02:03 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2657
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 14 Jun 2005 01:55:56 +0000 (01:55 +0000)]
improve detection of blank characters in the "punct" and "brackets"
rcfile options
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2656
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 20:19:03 +0000 (20:19 +0000)]
yet another cleanup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2655
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 19:51:56 +0000 (19:51 +0000)]
nisw?blank() should return int, not bool, to match isblank()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2654
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 17:26:19 +0000 (17:26 +0000)]
change the behavior of Esc Esc [3-digit number from 000 to 255] so that
it enters the byte with that value regardless of whether we're in UTF-8
mode or not, and update the help text to mention this; this will allow
searching for and replacing raw bytes with their equivalent multibyte
sequences as entered using verbatim input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2653
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 16:41:48 +0000 (16:41 +0000)]
in the "nanorc" regexes in nanorc.sample, tweak the "comment" regex to
color comments that don't start at the beginning of a line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2652
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 15:56:29 +0000 (15:56 +0000)]
simplify is_valid_mbstring() by making it use mbstowcs()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2651
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 14:50:32 +0000 (14:50 +0000)]
don't work around invalid multibyte sequences in rcfile options anymore,
but generate errors
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2650
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 14:00:22 +0000 (14:00 +0000)]
miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2649
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 13:25:36 +0000 (13:25 +0000)]
still more cleanups to chars.c and related code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2648
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 05:16:55 +0000 (05:16 +0000)]
more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2647
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 05:13:14 +0000 (05:13 +0000)]
remove unneeded blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2646
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 13 Jun 2005 04:37:28 +0000 (04:37 +0000)]
revert the simplification of the display_string() call in
do_replace_loop(), as it breaks display in some ways
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2645
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8