]> git.wh0rd.org Git - nano.git/log
nano.git
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

19 years agoremove erroneous if block in update_history() preventing the history
David Lawrence Ramsey [Fri, 3 Jun 2005 20:18:46 +0000 (20:18 +0000)]
remove erroneous if block in update_history() preventing the history
list position from being properly moved to the bottom in some cases

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

19 years agoreally fix bad #ifdefs; history functions are left out when NANO_SMALL
David Lawrence Ramsey [Fri, 3 Jun 2005 19:28:30 +0000 (19:28 +0000)]
really fix bad #ifdefs; history functions are left out when NANO_SMALL
is defined, and history saving and loading functions are left out when
NANO_SMALL is defined and/or ENABLE_NANORC isn't defined

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

19 years agofix more bad #ifdefs
David Lawrence Ramsey [Fri, 3 Jun 2005 19:11:27 +0000 (19:11 +0000)]
fix more bad #ifdefs

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

19 years agocosmetic fixes
David Lawrence Ramsey [Fri, 3 Jun 2005 19:10:47 +0000 (19:10 +0000)]
cosmetic fixes

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

19 years agoremove now-unnecessary null_at()
David Lawrence Ramsey [Fri, 3 Jun 2005 14:30:52 +0000 (14:30 +0000)]
remove now-unnecessary null_at()

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

19 years agotypo fix
David Lawrence Ramsey [Fri, 3 Jun 2005 04:09:45 +0000 (04:09 +0000)]
typo fix

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

19 years agoin configure.ac, don't refer to the built-in file browser as crappy
David Lawrence Ramsey [Fri, 3 Jun 2005 01:43:56 +0000 (01:43 +0000)]
in configure.ac, don't refer to the built-in file browser as crappy
anymore

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

19 years agofix #ifdefs so the tiny version of nano compiles again; prepending a
David Lawrence Ramsey [Fri, 3 Jun 2005 01:36:05 +0000 (01:36 +0000)]
fix #ifdefs so the tiny version of nano compiles again; prepending a
file now uses safe_tempfile() instead of mkstemp() directly, and
safe_tempfile() requires get_full_path() and check_writable_directory()

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

19 years agocomment fix
David Lawrence Ramsey [Fri, 3 Jun 2005 01:33:04 +0000 (01:33 +0000)]
comment fix

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

19 years agodefine last_kbinput inside the right #ifdef block
David Lawrence Ramsey [Thu, 2 Jun 2005 19:50:18 +0000 (19:50 +0000)]
define last_kbinput inside the right #ifdef block

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

19 years agoreadd tab completion of history strings, with a few minor tweaks
David Lawrence Ramsey [Thu, 2 Jun 2005 18:41:31 +0000 (18:41 +0000)]
readd tab completion of history strings, with a few minor tweaks

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

19 years agofix more bad #ifdefs, and add a few formatting fixes
David Lawrence Ramsey [Thu, 2 Jun 2005 05:50:58 +0000 (05:50 +0000)]
fix more bad #ifdefs, and add a few formatting fixes

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

19 years agotypo fix
David Lawrence Ramsey [Thu, 2 Jun 2005 02:32:39 +0000 (02:32 +0000)]
typo fix

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

19 years agofix mismatched #ifdefs
David Lawrence Ramsey [Thu, 2 Jun 2005 02:27:12 +0000 (02:27 +0000)]
fix mismatched #ifdefs

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

19 years agoclarify a comment, and don't try to display the buffer name in
David Lawrence Ramsey [Wed, 1 Jun 2005 04:23:52 +0000 (04:23 +0000)]
clarify a comment, and don't try to display the buffer name in
die_save_file() if it's been blanked out by get_next_file()'s failure to
find a unique filename

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

19 years agoadd missing blank line
David Lawrence Ramsey [Tue, 31 May 2005 17:35:11 +0000 (17:35 +0000)]
add missing blank line

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

19 years agorework the file-writing routines so that they can work properly with
David Lawrence Ramsey [Tue, 31 May 2005 04:28:15 +0000 (04:28 +0000)]
rework the file-writing routines so that they can work properly with
already-opened files, such as the mkstemp()-created files used by the
spell-checking code

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

19 years agoformatting fix
David Lawrence Ramsey [Tue, 31 May 2005 03:39:59 +0000 (03:39 +0000)]
formatting fix

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

19 years agocomment fix
David Lawrence Ramsey [Tue, 31 May 2005 03:36:15 +0000 (03:36 +0000)]
comment fix

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

19 years agocosmetic fixes
David Lawrence Ramsey [Tue, 31 May 2005 03:33:30 +0000 (03:33 +0000)]
cosmetic fixes

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

19 years agoadd documentation updates for -E/--backupdir's new ability to make
David Lawrence Ramsey [Mon, 30 May 2005 02:09:21 +0000 (02:09 +0000)]
add documentation updates for -E/--backupdir's new ability to make
filenames unique, and preemptively update the version number

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

19 years agoin die(), tweak the message displayed when a backup file can't be
David Lawrence Ramsey [Sun, 29 May 2005 23:03:28 +0000 (23:03 +0000)]
in die(), tweak the message displayed when a backup file can't be
written, so as to not duplicate a translted string

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

19 years agowhen using a backup directory, make sure all the filenames written are
David Lawrence Ramsey [Sun, 29 May 2005 02:22:55 +0000 (02:22 +0000)]
when using a backup directory, make sure all the filenames written are
unique by using get_next_filename() when necessary

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

19 years agofix mismatched subscript
David Lawrence Ramsey [Sat, 28 May 2005 23:51:03 +0000 (23:51 +0000)]
fix mismatched subscript

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

19 years agocosmetic fixes
David Lawrence Ramsey [Sat, 28 May 2005 23:32:45 +0000 (23:32 +0000)]
cosmetic fixes

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

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Sat, 28 May 2005 23:21:30 +0000 (23:21 +0000)]
miscellaneous minor fixes

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

19 years agocosmetic fixes
David Lawrence Ramsey [Fri, 27 May 2005 13:50:31 +0000 (13:50 +0000)]
cosmetic fixes

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

19 years agoadd multibyte/wide character support to input_tab(), so that we don't
David Lawrence Ramsey [Fri, 27 May 2005 13:06:18 +0000 (13:06 +0000)]
add multibyte/wide character support to input_tab(), so that we don't
end up with a string that contains only part of a multibyte character
during tab completion

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

19 years agodocument bool fix
David Lawrence Ramsey [Fri, 27 May 2005 03:57:01 +0000 (03:57 +0000)]
document bool fix

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

19 years agobool fix
David Lawrence Ramsey [Fri, 27 May 2005 03:52:21 +0000 (03:52 +0000)]
bool fix

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

19 years agorevert last change for now, as it breaks the display of filename matches
David Lawrence Ramsey [Thu, 26 May 2005 19:48:41 +0000 (19:48 +0000)]
revert last change for now, as it breaks the display of filename matches

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

19 years agoin input_tab(), make sure that we don't set *place to the middle of a
David Lawrence Ramsey [Thu, 26 May 2005 19:14:42 +0000 (19:14 +0000)]
in input_tab(), make sure that we don't set *place to the middle of a
multibyte character

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

19 years agoformatting fixes
David Lawrence Ramsey [Thu, 26 May 2005 18:57:56 +0000 (18:57 +0000)]
formatting fixes

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

19 years agocosmetic fixes
David Lawrence Ramsey [Thu, 26 May 2005 18:20:05 +0000 (18:20 +0000)]
cosmetic fixes

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

19 years agoyet another comment fix
David Lawrence Ramsey [Thu, 26 May 2005 18:11:32 +0000 (18:11 +0000)]
yet another comment fix

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

19 years agotypo fix
David Lawrence Ramsey [Thu, 26 May 2005 18:05:22 +0000 (18:05 +0000)]
typo fix

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

19 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Thu, 26 May 2005 18:03:17 +0000 (18:03 +0000)]
more miscellaneous minor fixes

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

19 years agoport over DB's (better) equivalent of the last fix, and tweak a few
David Lawrence Ramsey [Thu, 26 May 2005 06:09:07 +0000 (06:09 +0000)]
port over DB's (better) equivalent of the last fix, and tweak a few
comments

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

19 years agoremove redundancy
David Lawrence Ramsey [Thu, 26 May 2005 05:53:29 +0000 (05:53 +0000)]
remove redundancy

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

19 years agoremove unneeded blank line
David Lawrence Ramsey [Thu, 26 May 2005 05:50:46 +0000 (05:50 +0000)]
remove unneeded blank line

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

19 years agofix changelog entry
David Lawrence Ramsey [Thu, 26 May 2005 05:39:53 +0000 (05:39 +0000)]
fix changelog entry

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

19 years agoremove redundancy
David Lawrence Ramsey [Thu, 26 May 2005 05:33:57 +0000 (05:33 +0000)]
remove redundancy

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

19 years agoreally fix one of the last fixes
David Lawrence Ramsey [Thu, 26 May 2005 05:27:19 +0000 (05:27 +0000)]
really fix one of the last fixes

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

19 years agoadd various fixes to avoid a hang and several potential assertion
David Lawrence Ramsey [Thu, 26 May 2005 05:17:13 +0000 (05:17 +0000)]
add various fixes to avoid a hang and several potential assertion
failures when building with DEBUG defined

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

19 years agoanother comment fix
David Lawrence Ramsey [Thu, 26 May 2005 04:00:39 +0000 (04:00 +0000)]
another comment fix

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

19 years agoreplace all instances of strncpy() with charcpy(), since the only
David Lawrence Ramsey [Thu, 26 May 2005 03:47:24 +0000 (03:47 +0000)]
replace all instances of strncpy() with charcpy(), since the only
difference between them is that the former pads strings with nulls when
they're longer than the number of characters specified, which doesn't
appear to be used anywhere

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

19 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Thu, 26 May 2005 03:32:41 +0000 (03:32 +0000)]
more miscellaneous minor fixes

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

19 years agofix inaccurate comments
David Lawrence Ramsey [Thu, 26 May 2005 02:46:42 +0000 (02:46 +0000)]
fix inaccurate comments

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

19 years agoreally fix the off-by-one errors in LINE,COLUMN parsing; the column
David Lawrence Ramsey [Wed, 25 May 2005 18:44:37 +0000 (18:44 +0000)]
really fix the off-by-one errors in LINE,COLUMN parsing; the column
number in do_gotolinecolumn() should always be one-based

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

19 years agoin configure.ac, add minor tweaks to some of the test blocks to avoid
David Lawrence Ramsey [Tue, 24 May 2005 22:20:39 +0000 (22:20 +0000)]
in configure.ac, add minor tweaks to some of the test blocks to avoid
XSI:isms

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

19 years agofix one last off-by-one error that occurs when do_gotolinecolumn() is
David Lawrence Ramsey [Mon, 23 May 2005 20:16:29 +0000 (20:16 +0000)]
fix one last off-by-one error that occurs when do_gotolinecolumn() is
used interactively

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

19 years agocomment fix
David Lawrence Ramsey [Mon, 23 May 2005 18:49:28 +0000 (18:49 +0000)]
comment fix

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

19 years agooops; free magichistory *properly* when we don't need it anymore
David Lawrence Ramsey [Mon, 23 May 2005 17:19:32 +0000 (17:19 +0000)]
oops; free magichistory *properly* when we don't need it anymore

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

19 years agofree magichistory when we don't need it anymore
David Lawrence Ramsey [Mon, 23 May 2005 17:14:46 +0000 (17:14 +0000)]
free magichistory when we don't need it anymore

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

19 years agooverhaul the history code to work more consistently, and clean up
David Lawrence Ramsey [Mon, 23 May 2005 16:30:06 +0000 (16:30 +0000)]
overhaul the history code to work more consistently, and clean up
various parts of it; note that history tab completion has been removed

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

19 years agoUpdated French from the TP.
Jordi Mallach [Mon, 23 May 2005 11:49:50 +0000 (11:49 +0000)]
Updated French from the TP.

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

19 years agocomment fixes
David Lawrence Ramsey [Sun, 22 May 2005 04:16:36 +0000 (04:16 +0000)]
comment fixes

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

19 years agoin save_history(), properly save history when in view mode
David Lawrence Ramsey [Sat, 21 May 2005 22:41:23 +0000 (22:41 +0000)]
in save_history(), properly save history when in view mode

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

19 years agoin usage(), add formatting fixes and a missing N_()
David Lawrence Ramsey [Sat, 21 May 2005 17:15:46 +0000 (17:15 +0000)]
in usage(), add formatting fixes and a missing N_()

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

19 years agovarious minor fixes
David Lawrence Ramsey [Fri, 20 May 2005 02:57:05 +0000 (02:57 +0000)]
various minor fixes

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

19 years agowhen calling do_gotolinecolymn(), default to the current line and column
David Lawrence Ramsey [Tue, 17 May 2005 22:27:15 +0000 (22:27 +0000)]
when calling do_gotolinecolymn(), default to the current line and column
if the ones passed in are unspecified or invalid

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

19 years agoin do_gotolinecolumn(), start the search for a line from fileage instead
David Lawrence Ramsey [Tue, 17 May 2005 22:01:55 +0000 (22:01 +0000)]
in do_gotolinecolumn(), start the search for a line from fileage instead
of current (again)

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

19 years agomention the support for moving to a different column in the prompt
David Lawrence Ramsey [Tue, 17 May 2005 21:49:19 +0000 (21:49 +0000)]
mention the support for moving to a different column in the prompt
formerly known as the "Go to Line" prompt, and also in the help text
where possible

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

19 years agofix off-by-one problems with COLUMN; it should be zero-based
David Lawrence Ramsey [Tue, 17 May 2005 18:29:05 +0000 (18:29 +0000)]
fix off-by-one problems with COLUMN; it should be zero-based

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