]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Thu, 27 Oct 2005 18:59:23 +0000 (18:59 +0000)]
in nanorc.sample, tweak the "c-file" regex for characters to properly
handle '\"'
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3057
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 Oct 2005 15:33:05 +0000 (15:33 +0000)]
fix inaccurate comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3056
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 Oct 2005 15:27:09 +0000 (15:27 +0000)]
make sure we don't treat a click on an empty area of the shortcut list
as a statusbar prompt click
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3055
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 Oct 2005 05:00:48 +0000 (05:00 +0000)]
make prompt a static instead of a global, since it's only used in
winio.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3054
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 Oct 2005 04:51:41 +0000 (04:51 +0000)]
at long last, properly handle mouse clicks on the statusbar prompt text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3053
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 Oct 2005 03:35:42 +0000 (03:35 +0000)]
cosmetically refactor statusbar()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3052
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 26 Oct 2005 23:14:59 +0000 (23:14 +0000)]
refactor nanoget_repaint() to split out the new function
get_statusbar_page_start(), the statusbar prompt's equivalent of
get_page_start(); also make sure that the minimum allowed terminal size
in columns is 4, as the statusbar prompt code relies on this assumption
and will crash otherwise
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3051
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 Oct 2005 06:27:38 +0000 (06:27 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3050
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 Oct 2005 02:12:09 +0000 (02:12 +0000)]
add the ability to scroll up or down single lines without scrolling the
cursor, via Meta-- and Meta-+; note that this is disabled when
NANO_SMALL is defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3049
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 Oct 2005 01:46:27 +0000 (01:46 +0000)]
Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3048
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 Oct 2005 01:44:23 +0000 (01:44 +0000)]
GNU nano 1.3.9
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3046
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Sun, 23 Oct 2005 19:53:43 +0000 (19:53 +0000)]
French manpage updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3045
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Sun, 23 Oct 2005 18:50:44 +0000 (18:50 +0000)]
Mass update from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3044
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Oct 2005 19:20:52 +0000 (19:20 +0000)]
in nanorc.sample, tweak one "TeX" regex to use the "icolor" directive
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3043
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 8 Oct 2005 06:12:41 +0000 (06:12 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3042
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Oct 2005 15:57:48 +0000 (15:57 +0000)]
in do_tab(), make sure that we insert the correct number of spaces if
the TABS_TO_SPACES flag is set and placewewant is greater than the
current column position of the cursor
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3041
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 6 Oct 2005 20:46:11 +0000 (20:46 +0000)]
add missing string translation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3040
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 6 Oct 2005 20:20:50 +0000 (20:20 +0000)]
Update Catalan to match the TP file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3039
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 6 Oct 2005 05:28:37 +0000 (05:28 +0000)]
in get_key_buffer(), only save all open buffers and hang up when a
blocking wgetch() returns ERR and errno is set to EIO (input/output
error); if errno is set to something else, recover properly; this fixes
problems with nano's erroneously hanging up while e.g. resizing or
unsuspending in a chroot
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3038
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 4 Oct 2005 04:52:06 +0000 (04:52 +0000)]
add the last of Mike Frysinger's "c-file" regex improvements, slightly
simplified by me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3037
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 4 Oct 2005 04:21:43 +0000 (04:21 +0000)]
add most of Mike Frysinger's "c-file" regex tweaks and improvements
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3036
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 4 Oct 2005 03:41:32 +0000 (03:41 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3035
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 4 Oct 2005 03:40:41 +0000 (03:40 +0000)]
in display_string(), *really* avoid a memory corruption problem by
allocating enough space for (COLS + 1) characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3034
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 27 Sep 2005 19:56:12 +0000 (19:56 +0000)]
preemptively update the version number
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3033
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 26 Sep 2005 02:58:16 +0000 (02:58 +0000)]
cosmetic fix: sort the meta sequence #defines in ASCII order
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3032
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 26 Sep 2005 02:14:37 +0000 (02:14 +0000)]
minor documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3031
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 25 Sep 2005 18:42:05 +0000 (18:42 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3030
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 24 Sep 2005 19:42:48 +0000 (19:42 +0000)]
in get_escape_seq_kbinput(), fix a typo preventing the
VT100/VT220/VT320/xterm/rxvt escape sequence for ',' on the numeric
keypad with NumLock off from being interpreted properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3029
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 19:46:39 +0000 (19:46 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3028
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 19:44:19 +0000 (19:44 +0000)]
revert previous changes, as lines are broken on tabs regardless of goal
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3027
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 19:36:39 +0000 (19:36 +0000)]
in break_line(), fix another problem where goal could be miscalculated
on lines containing tabs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3026
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 17:52:52 +0000 (17:52 +0000)]
miscellaneous minor fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3025
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 17:47:27 +0000 (17:47 +0000)]
*really* fix the previous break_line() problem
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3024
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 16:36:08 +0000 (16:36 +0000)]
really fix the previous break_line() problem
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3023
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 06:12:54 +0000 (06:12 +0000)]
in break_line(), fix a problem where a line could be broken in the
middle of a multibyte character
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3022
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 20 Sep 2005 04:15:33 +0000 (04:15 +0000)]
in display_string(), really avoid a memory corruption problem by
allocating enough space for COLS characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3021
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 16 Sep 2005 17:24:22 +0000 (17:24 +0000)]
fix another minor spacing problem in titlebar()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3020
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 14 Sep 2005 20:20:58 +0000 (20:20 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3019
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 14 Sep 2005 19:17:56 +0000 (19:17 +0000)]
in (control_)?mbrep(), if crep is an invalid multibyte sequence, copy
Unicode 0xFFFD (Replacement Character) into it using strncpy() instead
of assigning the former to it; this avoids segfaults when freeing crep
later, since it's supposed to be dynamically allocated
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3018
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 13 Sep 2005 04:53:44 +0000 (04:53 +0000)]
remove do_(left|right)()'s ability to optionally not update the current
line, as this was only used in do_backspace(), and it didn't always
update the screen properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3017
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 13 Sep 2005 04:45:46 +0000 (04:45 +0000)]
more miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3016
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 6 Sep 2005 06:25:25 +0000 (06:25 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3015
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 5 Sep 2005 01:36:47 +0000 (01:36 +0000)]
in display_string(), if column is less than start_col and the
character's a tab, which can be possible if there are enough tabs and
the terminal size is sufficiently large, don't try to display it using
control_mbrep()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3014
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 4 Sep 2005 03:29:47 +0000 (03:29 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3013
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 19:13:27 +0000 (19:13 +0000)]
in configure.ac, update the description of the ENABLE_COLOR option to
mention the need for regex.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3012
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 19:09:36 +0000 (19:09 +0000)]
if we don't have regex.h and hence regex support, disable color support,
as it depends on the use of regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3011
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 04:42:44 +0000 (04:42 +0000)]
minor documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3010
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 04:35:58 +0000 (04:35 +0000)]
in move_to_filestruct(), fix problem where edittop wouldn't be reset
properly if it was inside the text moved to another filestruct; also add
comment fixes and miscellaneous cleanups to it and
copy_from_filestruct()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3009
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 03:08:09 +0000 (03:08 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3008
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 19:11:26 +0000 (19:11 +0000)]
fix compilation with -pedantic
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3007
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 18:52:06 +0000 (18:52 +0000)]
fix compilation with --enable-debug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3006
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 18:51:27 +0000 (18:51 +0000)]
fix credits length
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3005
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 18:29:02 +0000 (18:29 +0000)]
add Mike Frysinger to credits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3004
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 28 Aug 2005 03:07:13 +0000 (03:07 +0000)]
make is_valid_unicode() catch more invalid Unicode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3003
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Aug 2005 16:26:57 +0000 (16:26 +0000)]
more email address updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3002
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Aug 2005 16:18:15 +0000 (16:18 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3001
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Aug 2005 16:16:36 +0000 (16:16 +0000)]
update email address
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3000
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 22 Aug 2005 08:47:16 +0000 (08:47 +0000)]
Credit Bulgarian and Dutch translators.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2999
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 22 Aug 2005 08:45:37 +0000 (08:45 +0000)]
Convert to UTF-8.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2998
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 22 Aug 2005 08:40:19 +0000 (08:40 +0000)]
New Bulgarian translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2997
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Aug 2005 03:03:15 +0000 (03:03 +0000)]
really fix edit_scroll() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2996
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Aug 2005 03:02:46 +0000 (03:02 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2995
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Aug 2005 01:27:05 +0000 (01:27 +0000)]
fix more edit_scroll() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2994
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 15 Aug 2005 23:17:33 +0000 (23:17 +0000)]
Updated Catalan translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2993
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 15 Aug 2005 23:12:15 +0000 (23:12 +0000)]
Updated Dutch from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2992
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 14 Aug 2005 21:17:37 +0000 (21:17 +0000)]
clean up do_credits() even more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2991
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 14 Aug 2005 20:08:49 +0000 (20:08 +0000)]
use doupdate() instead of refresh() to reenter curses mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2990
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 14 Aug 2005 19:25:16 +0000 (19:25 +0000)]
turn the keypad on in topwin again, and clean up do_credits() a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2989
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 13 Aug 2005 20:05:06 +0000 (20:05 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2988
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 13 Aug 2005 19:54:40 +0000 (19:54 +0000)]
for consistency, display high-bit single-byte control characters as Unicode FFFD in UTF-8 mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2987
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 11 Aug 2005 18:30:47 +0000 (18:30 +0000)]
add missing comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2986
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 23:32:08 +0000 (23:32 +0000)]
still more various documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2985
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 22:51:49 +0000 (22:51 +0000)]
various documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2984
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 22:12:28 +0000 (22:12 +0000)]
add new -W/--wordbounds command line option, and new "wordbounds" rcfile
option, to control whether the word movement functions treat punctuation
characters as part of a word
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2983
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 21:52:59 +0000 (21:52 +0000)]
in usage(), remove unneeded translation of "--quickblank"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2982
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 21:26:32 +0000 (21:26 +0000)]
clarify changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2981
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 21:22:15 +0000 (21:22 +0000)]
readd the option to turn the keypad off by default from nano 1.2.x, with
a few tweaks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2980
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 20:03:58 +0000 (20:03 +0000)]
in update_history(), add a check to make sure the parameter we pass to
renumber() isn't NULL, and update related comments
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2979
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 8 Aug 2005 23:47:28 +0000 (23:47 +0000)]
cover the full range of Unicode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2978
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 8 Aug 2005 23:03:25 +0000 (23:03 +0000)]
store Unicode values in longs instead of ints
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2977
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Aug 2005 19:38:11 +0000 (19:38 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2976
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Aug 2005 03:14:29 +0000 (03:14 +0000)]
even better handling of invalid Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2975
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Aug 2005 21:38:41 +0000 (21:38 +0000)]
don't allow entering invalid Unicode in make_mbchar() either
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2974
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Aug 2005 20:24:26 +0000 (20:24 +0000)]
add better handling of invalid Unicode, plus a few miscellaneous minor
fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2973
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 2 Aug 2005 19:54:25 +0000 (19:54 +0000)]
more get_unicode_kbinput() fixes: properly discard hexadecimal FFFE to
FFFF instead of xxxE and xxxF, and discard hexadecimal D800 to DFFF as
well, as they're also invalid Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2972
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 21:53:54 +0000 (21:53 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2971
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 21:17:38 +0000 (21:17 +0000)]
fix misplaced code in previous edit_scroll() fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2970
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 21:05:29 +0000 (21:05 +0000)]
eliminate still more redundant screen updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2969
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 19:12:05 +0000 (19:12 +0000)]
rename get_word_kbinput() to get_unicode_kbinput(), and also rename
related variables
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2968
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 18:56:46 +0000 (18:56 +0000)]
in get_word_kbinput(), limit the input word to hexadecimal FFFD instead
of FFFF, as FFFE and FFFF are invalid Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2967
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 18:27:10 +0000 (18:27 +0000)]
miscellaneous enum cleanups, including making the file-writing
functions' append parameter an enum instead of an int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2966
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:55:07 +0000 (05:55 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2965
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:54:11 +0000 (05:54 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2964
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:08:01 +0000 (05:08 +0000)]
document the "none" and "default" syntaxes in nanorc.5
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2963
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:01:30 +0000 (05:01 +0000)]
document the explanation of the "none" syntax in nanorc.sample
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2962
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 04:59:34 +0000 (04:59 +0000)]
port over Brand Huntsman's reserved "none" syntax to counteract his
"default" syntax when necessary (the latter *is* actually ported mostly
from his patch with a few tweaks; the "default-syntax" option is
apparently something else entirely)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2961
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 04:34:27 +0000 (04:34 +0000)]
treat color syntax names case sensitively, for consistency with how
their filename regexes are treated
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2960
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 04:23:29 +0000 (04:23 +0000)]
more color updates: add a "default" syntax that takes no extensions for
those files that don't match any other syntax's extensions (ported from
Brand Huntsman's old patch, but modified to work with a syntax named
"default" instead of requiring a "default-syntax" keyword, and to fit
into the existing color architecture)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2959
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 03:05:53 +0000 (03:05 +0000)]
the old assert is actually needed, so put it back too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2958
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 02:18:05 +0000 (02:18 +0000)]
revert previous simplification, as it only moved complexity from one
place to another, and add formatting fixes to the old code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2957
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8