]> git.wh0rd.org Git - nano.git/log
nano.git
19 years agoadd the "tabstospaces" option to the "rcfile" regexes
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

19 years agomove the "tabstospaces" option in nanorc.sample down so the options are
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

19 years agofix changelog entry
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

19 years agocomment fix
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

19 years agorevert erroneous help_init() changes
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

19 years agoadd the ability to convert (non-verbatim input) typed tabs to spaces
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

19 years agoin do_spell(), if the spell-checker printed any error messages onscreen,
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

19 years agocosmetic fix
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

19 years agoin do_int_spell_fix(), display highlighted misspelled words using
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

19 years agoadd missing blank lines
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

19 years agomake --enable-extra only define NANO_EXTRA, and update associated
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

19 years agochange wint_t's back to wchar_t's to fix compilation on Mac OS 10.4.1
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

19 years agoTypo fix by Jens Seidel.
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

19 years agocomment fixes
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

19 years agocosmetic fix
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

19 years agoin do_browser(), make mouse clicks in the browser window work properly
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

19 years agomore miscellaneous minor fixes
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

19 years agofix #ifdefs so that nano compiles with NANO_SMALL defined and
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

19 years ago*more* cleanups to chars.c and related code
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

19 years agoformatting and comment fixes
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

19 years agoformatting fixes
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

19 years agodon't count punctuation when searching for a whole word in
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

19 years agoin open_prevnext_file(), move up a misplaced assert and rename a
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

19 years agomore miscellaneous fixes
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

19 years agorevert the changes to the behavior of Esc Esc [3-digit number from 000
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

19 years agomore miscellaneous cleanups
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

19 years agocomment fix
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

19 years agominor faq updates
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

19 years agomore cosmetic fixes
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

19 years agoyet *another* cleanup
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

19 years agocomment fix
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

19 years agoimprove detection of blank characters in the "punct" and "brackets"
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

19 years agoyet another cleanup
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

19 years agonisw?blank() should return int, not bool, to match isblank()
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

19 years agochange the behavior of Esc Esc [3-digit number from 000 to 255] so that
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

19 years agoin the "nanorc" regexes in nanorc.sample, tweak the "comment" regex to
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

19 years agosimplify is_valid_mbstring() by making it use mbstowcs()
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

19 years agodon't work around invalid multibyte sequences in rcfile options anymore,
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

19 years agomiscellaneous minor fixes
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

19 years agostill more cleanups to chars.c and related code
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

19 years agomore cosmetic fixes
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

19 years agoremove unneeded blank line
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

19 years agorevert the simplification of the display_string() call in
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

19 years agocosmetic fixes
David Lawrence Ramsey [Mon, 13 Jun 2005 04:11:20 +0000 (04:11 +0000)]
cosmetic fixes

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

19 years agowhen doing history string tab completion, skip over an exact match
David Lawrence Ramsey [Mon, 13 Jun 2005 03:52:33 +0000 (03:52 +0000)]
when doing history string tab completion, skip over an exact match
unless it's the only match, as the old history code did

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

19 years agoin do_replace_loop(), simplify the display_string() call that we use to
David Lawrence Ramsey [Mon, 13 Jun 2005 03:19:50 +0000 (03:19 +0000)]
in do_replace_loop(), simplify the display_string() call that we use to
get the word that we're going to highlight

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

19 years agosimplify the word detection code
David Lawrence Ramsey [Mon, 13 Jun 2005 02:48:52 +0000 (02:48 +0000)]
simplify the word detection code

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

19 years agodetect words more accurately by taking punctuation into account, and
David Lawrence Ramsey [Mon, 13 Jun 2005 02:40:04 +0000 (02:40 +0000)]
detect words more accurately by taking punctuation into account, and
convert all word-detecting functions to use the same wrapper function
for ease of maintenance

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

19 years agodocument cosmetic fix
David Lawrence Ramsey [Mon, 13 Jun 2005 02:24:17 +0000 (02:24 +0000)]
document cosmetic fix

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

19 years agocosmetic fix
David Lawrence Ramsey [Mon, 13 Jun 2005 02:22:44 +0000 (02:22 +0000)]
cosmetic fix

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

19 years agoin shortcut_init(), allow the mark to be used in view mode, as Pico does
David Lawrence Ramsey [Sun, 12 Jun 2005 23:53:28 +0000 (23:53 +0000)]
in shortcut_init(), allow the mark to be used in view mode, as Pico does

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

19 years agofix changelog entry
David Lawrence Ramsey [Sun, 12 Jun 2005 23:49:05 +0000 (23:49 +0000)]
fix changelog entry

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

19 years agowhen the mark is on, only do a word count on the marked text
David Lawrence Ramsey [Sun, 12 Jun 2005 23:20:20 +0000 (23:20 +0000)]
when the mark is on, only do a word count on the marked text

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

19 years agoremove unnecessary screen update
David Lawrence Ramsey [Sun, 12 Jun 2005 22:40:09 +0000 (22:40 +0000)]
remove unnecessary screen update

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

19 years agoimplement word count via Meta-D at the main window
David Lawrence Ramsey [Sun, 12 Jun 2005 22:31:03 +0000 (22:31 +0000)]
implement word count via Meta-D at the main window

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

19 years agoone last cleanup to chars.c
David Lawrence Ramsey [Sun, 12 Jun 2005 18:05:42 +0000 (18:05 +0000)]
one last cleanup to chars.c

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

19 years agovarious cleanups to chars.c and related code
David Lawrence Ramsey [Sun, 12 Jun 2005 17:48:46 +0000 (17:48 +0000)]
various cleanups to chars.c and related code

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

19 years agoin do_tab(), remove unneeded variable kbinput
David Lawrence Ramsey [Sun, 12 Jun 2005 16:45:37 +0000 (16:45 +0000)]
in do_tab(), remove unneeded variable kbinput

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

19 years agomore formatting fixes
David Lawrence Ramsey [Sun, 12 Jun 2005 16:13:44 +0000 (16:13 +0000)]
more formatting fixes

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

19 years agocosmetic and formatting fixes
David Lawrence Ramsey [Sun, 12 Jun 2005 16:00:09 +0000 (16:00 +0000)]
cosmetic and formatting fixes

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

19 years agoadd macro charset(), a wrapper that calls memset(), and use it in
David Lawrence Ramsey [Sun, 12 Jun 2005 15:24:36 +0000 (15:24 +0000)]
add macro charset(), a wrapper that calls memset(), and use it in
resize_variables()

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

19 years agoin resize_variables(), use sizeof(char) in the memset() that initializes
David Lawrence Ramsey [Sun, 12 Jun 2005 15:19:11 +0000 (15:19 +0000)]
in resize_variables(), use sizeof(char) in the memset() that initializes
hblank instead of assuming that the size of a char is 1

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

19 years agocomment fix
David Lawrence Ramsey [Sun, 12 Jun 2005 02:14:48 +0000 (02:14 +0000)]
comment fix

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

19 years agoin display_string(), don't check for multicolumn characters if the NO_UTF8 flag isn...
David Lawrence Ramsey [Fri, 10 Jun 2005 20:45:54 +0000 (20:45 +0000)]
in display_string(), don't check for multicolumn characters if the NO_UTF8 flag isn't set

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

19 years agoin color_to_int(), assert that colorname isn't NULL, since that case is
David Lawrence Ramsey [Thu, 9 Jun 2005 14:04:08 +0000 (14:04 +0000)]
in color_to_int(), assert that colorname isn't NULL, since that case is
now handled elsewhere; also clarify an error message in parse_colors()

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

19 years agoin disable_extended_input(), disable extended output processing as well
David Lawrence Ramsey [Thu, 9 Jun 2005 04:02:57 +0000 (04:02 +0000)]
in disable_extended_input(), disable extended output processing as well
as extended input processing; also rename it to disable_extended_io()

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

19 years agoformatting fixes
David Lawrence Ramsey [Thu, 9 Jun 2005 04:00:03 +0000 (04:00 +0000)]
formatting fixes

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

19 years agoin parse_colors(), properly generate an error if we get a color
David Lawrence Ramsey [Thu, 9 Jun 2005 01:09:00 +0000 (01:09 +0000)]
in parse_colors(), properly generate an error if we get a color
directive without a regex string

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

19 years agoupdate documentation for the "color" regex
David Lawrence Ramsey [Wed, 8 Jun 2005 21:30:50 +0000 (21:30 +0000)]
update documentation for the "color" regex

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

19 years agoin parse_colors(), properly parse a background color without a
David Lawrence Ramsey [Wed, 8 Jun 2005 21:17:32 +0000 (21:17 +0000)]
in parse_colors(), properly parse a background color without a
foreground color

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

19 years agomake parse_line_column() consistent with the color regex-parsing code
David Lawrence Ramsey [Wed, 8 Jun 2005 21:16:14 +0000 (21:16 +0000)]
make parse_line_column() consistent with the color regex-parsing code
and go back to returning an error on strings like "3,"

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

19 years agocosmetic fixes
David Lawrence Ramsey [Wed, 8 Jun 2005 20:23:06 +0000 (20:23 +0000)]
cosmetic fixes

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

19 years agocosmetic fix
David Lawrence Ramsey [Wed, 8 Jun 2005 20:13:38 +0000 (20:13 +0000)]
cosmetic fix

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

19 years agorevert the conversion of each line to a valid multibyte string, as it
David Lawrence Ramsey [Wed, 8 Jun 2005 20:12:57 +0000 (20:12 +0000)]
revert the conversion of each line to a valid multibyte string, as it
doesn't take encodings other than ASCII and Latin-1 into account and
hence isn't accurate enough

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

19 years agoclarify changelog entry
David Lawrence Ramsey [Wed, 8 Jun 2005 19:57:31 +0000 (19:57 +0000)]
clarify changelog entry

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

19 years agowhen reading a file in, make sure each line is a valid multibyte string
David Lawrence Ramsey [Wed, 8 Jun 2005 19:50:02 +0000 (19:50 +0000)]
when reading a file in, make sure each line is a valid multibyte string

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

19 years agoin doc/faq.html, update the question about the FAQ to mention the
David Lawrence Ramsey [Wed, 8 Jun 2005 18:46:51 +0000 (18:46 +0000)]
in doc/faq.html, update the question about the FAQ to mention the
current maintainer

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

19 years agotypo fix
David Lawrence Ramsey [Wed, 8 Jun 2005 02:28:06 +0000 (02:28 +0000)]
typo fix

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

19 years agocosmetic fixes
David Lawrence Ramsey [Wed, 8 Jun 2005 01:35:10 +0000 (01:35 +0000)]
cosmetic fixes

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

19 years agoFix French mandir.
Jordi Mallach [Tue, 7 Jun 2005 22:23:45 +0000 (22:23 +0000)]
Fix French mandir.

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

19 years agofix erroneous #ifdef that caused a compilation problem when
David Lawrence Ramsey [Tue, 7 Jun 2005 03:20:35 +0000 (03:20 +0000)]
fix erroneous #ifdef that caused a compilation problem when
--enable-nanorc wasn't used and --enable-extra was, and make sure we put
back the keystroke that breaks us out of the credits (if any)

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

19 years agopreemptively update the version number
David Lawrence Ramsey [Tue, 7 Jun 2005 02:25:23 +0000 (02:25 +0000)]
preemptively update the version number

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

19 years agoadd else's
David Lawrence Ramsey [Mon, 6 Jun 2005 19:35:53 +0000 (19:35 +0000)]
add else's

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

19 years agoin do_insertfile(), set i to 0 when we get a filename via the file
David Lawrence Ramsey [Mon, 6 Jun 2005 19:25:29 +0000 (19:25 +0000)]
in do_insertfile(), set i to 0 when we get a filename via the file
browser, so that it's read in properly when we exit the file browser

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

19 years agoadd missing blank line
David Lawrence Ramsey [Mon, 6 Jun 2005 18:41:17 +0000 (18:41 +0000)]
add missing blank line

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

19 years agoin shortcut_init(), remove unnecessary "Refresh" placeholder in the file
David Lawrence Ramsey [Mon, 6 Jun 2005 18:38:16 +0000 (18:38 +0000)]
in shortcut_init(), remove unnecessary "Refresh" placeholder in the file
browser shortcut list; also add a few formatting fixes

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

19 years agoin do_yesno(), allow refreshing the screen via Ctrl-L, as Pico does
David Lawrence Ramsey [Mon, 6 Jun 2005 17:00:08 +0000 (17:00 +0000)]
in do_yesno(), allow refreshing the screen via Ctrl-L, as Pico does

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

19 years agoin die(), if the current filestruct's been partitioned, unpartition it
David Lawrence Ramsey [Mon, 6 Jun 2005 16:27:18 +0000 (16:27 +0000)]
in die(), if the current filestruct's been partitioned, unpartition it
before saving the associated file

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

19 years agoin do_replace_loop(), when moving to the next match, update the screen
David Lawrence Ramsey [Mon, 6 Jun 2005 03:46:32 +0000 (03:46 +0000)]
in do_replace_loop(), when moving to the next match, update the screen
using edit_refresh() instead of edit_redraw(), as the latter won't work
properly when we've replaced one or more instances of a string in copy
and haven't yet updated current->data to match copy

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

19 years agofix another memory corruption problem in display_string() found by
David Lawrence Ramsey [Mon, 6 Jun 2005 03:17:07 +0000 (03:17 +0000)]
fix another memory corruption problem in display_string() found by
valgrind

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

19 years agoadd const
David Lawrence Ramsey [Mon, 6 Jun 2005 01:53:48 +0000 (01:53 +0000)]
add const

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

19 years agomake parse_line_column() more consistent: don't return an error on
David Lawrence Ramsey [Sun, 5 Jun 2005 23:12:18 +0000 (23:12 +0000)]
make parse_line_column() more consistent: don't return an error on
strings like "3," since we don't return one on strings like ",3"

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

19 years agovarious umask-related cleanups
David Lawrence Ramsey [Sun, 5 Jun 2005 19:33:27 +0000 (19:33 +0000)]
various umask-related cleanups

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

19 years agoformatting fix
David Lawrence Ramsey [Sun, 5 Jun 2005 19:20:36 +0000 (19:20 +0000)]
formatting fix

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

19 years agoin safe_tempfile(), open a newly created temporary file in "r+b" mode
David Lawrence Ramsey [Sun, 5 Jun 2005 19:18:11 +0000 (19:18 +0000)]
in safe_tempfile(), open a newly created temporary file in "r+b" mode
instead of "w+b" mode, since the latter truncates the file if it already
exists, and we don't need to do that since it's an error if the file
already exists

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

19 years agomove check_linenumbers() down so that it's near the other debugging
David Lawrence Ramsey [Sun, 5 Jun 2005 19:08:59 +0000 (19:08 +0000)]
move check_linenumbers() down so that it's near the other debugging
routines

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

19 years agoremove unneeded blank line
David Lawrence Ramsey [Sat, 4 Jun 2005 01:16:46 +0000 (01:16 +0000)]
remove unneeded blank line

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

19 years agoremove erroneous extra prototype
David Lawrence Ramsey [Sat, 4 Jun 2005 00:24:22 +0000 (00:24 +0000)]
remove erroneous extra prototype

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

19 years agofix #ifdef
David Lawrence Ramsey [Fri, 3 Jun 2005 21:00:55 +0000 (21:00 +0000)]
fix #ifdef

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

19 years agofor consistency, remove -R/--regexp command line option, and allow the
David Lawrence Ramsey [Fri, 3 Jun 2005 20:51:39 +0000 (20:51 +0000)]
for consistency, remove -R/--regexp command line option, and allow the
toggle unconditionally

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