]> git.wh0rd.org Git - nano.git/log
nano.git
19 years agominor indentation fix for configure.ac, and mention UTF-8 support in
David Lawrence Ramsey [Sat, 19 Mar 2005 21:19:26 +0000 (21:19 +0000)]
minor indentation fix for configure.ac, and mention UTF-8 support in
AUTHORS

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

19 years agoadd full multibyte character support to do_wrap()
David Lawrence Ramsey [Sat, 19 Mar 2005 21:15:30 +0000 (21:15 +0000)]
add full multibyte character support to do_wrap()

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

19 years agoadd multibyte character support to help_line_len(), so that UTF-8 help
David Lawrence Ramsey [Fri, 18 Mar 2005 21:29:33 +0000 (21:29 +0000)]
add multibyte character support to help_line_len(), so that UTF-8 help
text is wrapped properly

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

19 years agoadd more locale string checks beyond case-sensitive "UTF-8" so that we
David Lawrence Ramsey [Fri, 18 Mar 2005 19:07:25 +0000 (19:07 +0000)]
add more locale string checks beyond case-sensitive "UTF-8" so that we
can better detect UTF-8 locales, adapted from Debian's UTF-8 patch for
slang

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

19 years agoupdate changelog
David Lawrence Ramsey [Fri, 18 Mar 2005 05:26:54 +0000 (05:26 +0000)]
update changelog

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

19 years agomake the #ifdef around indent_len() match that of its prototype, so that
David Lawrence Ramsey [Fri, 18 Mar 2005 05:20:54 +0000 (05:20 +0000)]
make the #ifdef around indent_len() match that of its prototype, so that
we can compile with NANO_SMALL and !DISABLE_JUSTIFY again; also add a
comment fix

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

19 years agominor documentation fix
David Lawrence Ramsey [Fri, 18 Mar 2005 04:38:19 +0000 (04:38 +0000)]
minor documentation fix

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

19 years agoallow refreshing of the file browser window, as Pico does
David Lawrence Ramsey [Thu, 17 Mar 2005 19:10:29 +0000 (19:10 +0000)]
allow refreshing of the file browser window, as Pico does

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

19 years agoadd missing blank line, and rename total_blank() to total_update(), as
David Lawrence Ramsey [Thu, 17 Mar 2005 18:11:08 +0000 (18:11 +0000)]
add missing blank line, and rename total_blank() to total_update(), as
the latter is more accurate

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

19 years agoallow refreshing of the help browser window, as Pico does, and remove a
David Lawrence Ramsey [Thu, 17 Mar 2005 17:56:48 +0000 (17:56 +0000)]
allow refreshing of the help browser window, as Pico does, and remove a
few stray spaces from the main help text

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

19 years agoinitialize indent_string later in the justify code, so as to avoid a
David Lawrence Ramsey [Thu, 17 Mar 2005 05:08:15 +0000 (05:08 +0000)]
initialize indent_string later in the justify code, so as to avoid a
possible memory leak

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

19 years agofix justify code regression: if we're justifying the entire file, and we
David Lawrence Ramsey [Thu, 17 Mar 2005 04:48:14 +0000 (04:48 +0000)]
fix justify code regression: if we're justifying the entire file, and we
haven't found any paragraph(s), we should refresh the screen and get out
instead of breaking out of the loop and acting as though we've justified
something, so as to avoid a segfault

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

19 years agofix paragraph searching code regression: if trying to move to the line
David Lawrence Ramsey [Thu, 17 Mar 2005 04:24:12 +0000 (04:24 +0000)]
fix paragraph searching code regression: if trying to move to the line
after the end of the next paragraph leaves us on the same line where we
were before, the search should fail in order to avoid an infinite loop

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

19 years agocontrol characters can only be properly filtered out in both non-UTF-8
David Lawrence Ramsey [Thu, 17 Mar 2005 03:52:08 +0000 (03:52 +0000)]
control characters can only be properly filtered out in both non-UTF-8
and UTF-8 mode inside the output routines, so do it there instead of
inside the input routines

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

19 years agofix misplaced #endif
David Lawrence Ramsey [Wed, 16 Mar 2005 17:00:27 +0000 (17:00 +0000)]
fix misplaced #endif

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

19 years agocomment clarifications
David Lawrence Ramsey [Wed, 16 Mar 2005 16:40:21 +0000 (16:40 +0000)]
comment clarifications

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

19 years agoactually, we can swallow non-ASCII control characters if we're not in
David Lawrence Ramsey [Wed, 16 Mar 2005 16:32:33 +0000 (16:32 +0000)]
actually, we can swallow non-ASCII control characters if we're not in
UTF-8 mode

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

19 years agowhen getting printable input from the edit window or statusbar prompt,
David Lawrence Ramsey [Wed, 16 Mar 2005 15:34:22 +0000 (15:34 +0000)]
when getting printable input from the edit window or statusbar prompt,
don't swallow non-ASCII control characters, since they're parts of UTF-8
sequences

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

19 years agoadd debugging statement
David Lawrence Ramsey [Wed, 16 Mar 2005 14:39:42 +0000 (14:39 +0000)]
add debugging statement

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

19 years agocheck for wget_wch() again instead of get_wch() when looking for the
David Lawrence Ramsey [Wed, 16 Mar 2005 03:03:41 +0000 (03:03 +0000)]
check for wget_wch() again instead of get_wch() when looking for the
wide version of curses, since get_wch() might be a macro instead of a
function

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

19 years agodocumentation update
David Lawrence Ramsey [Tue, 15 Mar 2005 07:20:52 +0000 (07:20 +0000)]
documentation update

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

19 years agoa few last minor fixes to do_credits()
David Lawrence Ramsey [Tue, 15 Mar 2005 07:06:54 +0000 (07:06 +0000)]
a few last minor fixes to do_credits()

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

19 years agoin do_credits(), display Florian König's name properly in UTF-8 mode;
David Lawrence Ramsey [Tue, 15 Mar 2005 06:58:02 +0000 (06:58 +0000)]
in do_credits(), display Florian König's name properly in UTF-8 mode;
since we can't dynamically set that element of the array to its UTF-8
equivalent when in UTF-8 mode, we have to use the ISO-8859-1 version and
pass every string in the credits through make_mbstring() to make sure
they're all UTF-8 (sigh)

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

19 years agofix potential memory corruption problem in make_mbstring(), and also fix
David Lawrence Ramsey [Tue, 15 Mar 2005 06:34:09 +0000 (06:34 +0000)]
fix potential memory corruption problem in make_mbstring(), and also fix
compilation with -pedantic

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

19 years agomake the rest of the justify code support multibyte characters
David Lawrence Ramsey [Tue, 15 Mar 2005 05:44:03 +0000 (05:44 +0000)]
make the rest of the justify code support multibyte characters

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

19 years agofix more inaccurate comments
David Lawrence Ramsey [Mon, 14 Mar 2005 20:32:00 +0000 (20:32 +0000)]
fix more inaccurate comments

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

19 years agowhen justifying, don't remove a space after a duplicate character in
David Lawrence Ramsey [Mon, 14 Mar 2005 20:06:23 +0000 (20:06 +0000)]
when justifying, don't remove a space after a duplicate character in
punct anymore, as it doesn't really make us more compatible with Pico

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

19 years agoadd missing blank lines
David Lawrence Ramsey [Mon, 14 Mar 2005 19:17:27 +0000 (19:17 +0000)]
add missing blank lines

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

19 years agofix erroneous #ifdef
David Lawrence Ramsey [Mon, 14 Mar 2005 18:54:33 +0000 (18:54 +0000)]
fix erroneous #ifdef

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

19 years agomake sure all rcfile arguments are valid multibyte strings
David Lawrence Ramsey [Mon, 14 Mar 2005 18:47:21 +0000 (18:47 +0000)]
make sure all rcfile arguments are valid multibyte strings

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

19 years agoformatting fixes
David Lawrence Ramsey [Mon, 14 Mar 2005 17:47:17 +0000 (17:47 +0000)]
formatting fixes

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

19 years agoadd more multibyte character support to break_line()
David Lawrence Ramsey [Mon, 14 Mar 2005 06:14:02 +0000 (06:14 +0000)]
add more multibyte character support to break_line()

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

19 years agomore comment fixes
David Lawrence Ramsey [Mon, 14 Mar 2005 04:31:44 +0000 (04:31 +0000)]
more comment fixes

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

19 years agoadd missing blank lines
David Lawrence Ramsey [Mon, 14 Mar 2005 00:38:36 +0000 (00:38 +0000)]
add missing blank lines

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

19 years agoremove erroneous if clause in the overhauled justify code
David Lawrence Ramsey [Mon, 14 Mar 2005 00:29:37 +0000 (00:29 +0000)]
remove erroneous if clause in the overhauled justify code

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

19 years agooverhaul the paragraph-searching code to make it simpler too
David Lawrence Ramsey [Sun, 13 Mar 2005 21:12:25 +0000 (21:12 +0000)]
overhaul the paragraph-searching code to make it simpler too

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

19 years agocomment improvement
David Lawrence Ramsey [Sun, 13 Mar 2005 20:39:33 +0000 (20:39 +0000)]
comment improvement

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

19 years agomore comment fixes
David Lawrence Ramsey [Sun, 13 Mar 2005 16:42:36 +0000 (16:42 +0000)]
more comment fixes

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

19 years agofix regressions caused by the justify overhaul: when adjusting the mark,
David Lawrence Ramsey [Sun, 13 Mar 2005 16:05:47 +0000 (16:05 +0000)]
fix regressions caused by the justify overhaul: when adjusting the mark,
take the indentation length into account, and don't declare an
indent_len variable inside a loop when we already have one outside

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

19 years agofix regression caused by the justify overhaul: when justifying a quoted
David Lawrence Ramsey [Sun, 13 Mar 2005 15:48:36 +0000 (15:48 +0000)]
fix regression caused by the justify overhaul: when justifying a quoted
paragraph, don't put the indentation of the first line at the beginning
of every broken line unless that indentation was at the beginning of
every line originally

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

19 years agofix erroneous comment
David Lawrence Ramsey [Sun, 13 Mar 2005 06:03:33 +0000 (06:03 +0000)]
fix erroneous comment

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

19 years agooverhaul the justify code to make it leave the right number of spaces at
David Lawrence Ramsey [Sun, 13 Mar 2005 03:28:37 +0000 (03:28 +0000)]
overhaul the justify code to make it leave the right number of spaces at
the ends of the lines of a paragraph, and also to make it simpler

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

19 years agofix problem where mark_beginx wouldn't be saved properly in
David Lawrence Ramsey [Sat, 12 Mar 2005 20:29:22 +0000 (20:29 +0000)]
fix problem where mark_beginx wouldn't be saved properly in
backup_lines(), and add a few more cosmetic fixes

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

19 years agoundo erroneous tweaks
David Lawrence Ramsey [Fri, 11 Mar 2005 20:32:06 +0000 (20:32 +0000)]
undo erroneous tweaks

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

19 years agoadd a slightly tweaked version of Mike Frysinger's manpage regex, and do
David Lawrence Ramsey [Fri, 11 Mar 2005 20:22:48 +0000 (20:22 +0000)]
add a slightly tweaked version of Mike Frysinger's manpage regex, and do
various documentation updates

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

19 years agowhen using slang, call the right function to enable UTF-8 support
David Lawrence Ramsey [Fri, 11 Mar 2005 17:46:01 +0000 (17:46 +0000)]
when using slang, call the right function to enable UTF-8 support

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

19 years agoformatting fixes
David Lawrence Ramsey [Fri, 11 Mar 2005 04:22:34 +0000 (04:22 +0000)]
formatting fixes

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

19 years agoimprove the handling of whitespace display mode in multibyte locales:
David Lawrence Ramsey [Fri, 11 Mar 2005 04:03:32 +0000 (04:03 +0000)]
improve the handling of whitespace display mode in multibyte locales:
use new function make_mbstring() instead of display_string() to make
sure the multibyte string is valid and interpreted properly

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

19 years agoUpdated Malay from the TP.
Jordi Mallach [Thu, 10 Mar 2005 23:55:20 +0000 (23:55 +0000)]
Updated Malay from the TP.

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

19 years agomake whitespace display mode work with multibyte characters
David Lawrence Ramsey [Thu, 10 Mar 2005 22:52:21 +0000 (22:52 +0000)]
make whitespace display mode work with multibyte characters

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

19 years agoadd DB's overhaul of the rcfile parsing code and related miscellaneous
David Lawrence Ramsey [Thu, 10 Mar 2005 20:55:11 +0000 (20:55 +0000)]
add DB's overhaul of the rcfile parsing code and related miscellaneous
bits

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

19 years agocosmetic fixes
David Lawrence Ramsey [Thu, 10 Mar 2005 17:35:41 +0000 (17:35 +0000)]
cosmetic fixes

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

19 years agofix wording problem
David Lawrence Ramsey [Wed, 9 Mar 2005 23:20:56 +0000 (23:20 +0000)]
fix wording problem

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

19 years agomake the latest faq entry more accurate
David Lawrence Ramsey [Wed, 9 Mar 2005 23:14:01 +0000 (23:14 +0000)]
make the latest faq entry more accurate

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

19 years agoadd faq entry about how to open files with names starting with '+'s
David Lawrence Ramsey [Wed, 9 Mar 2005 22:53:11 +0000 (22:53 +0000)]
add faq entry about how to open files with names starting with '+'s

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

19 years agomake sure that the universal statusbar prompt functions are fully in
David Lawrence Ramsey [Wed, 9 Mar 2005 20:35:10 +0000 (20:35 +0000)]
make sure that the universal statusbar prompt functions are fully in
sync with their edit window counterparts, and add a few cosmetic fixes

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

19 years agoattempt at fixing a problem tracked down by Jim Uhl, where nano will go
David Lawrence Ramsey [Tue, 8 Mar 2005 17:45:36 +0000 (17:45 +0000)]
attempt at fixing a problem tracked down by Jim Uhl, where nano will go
into an infinite loop if the terminal it's running in dies unexpectedly
due to a signal

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

19 years agocosmetic fix
David Lawrence Ramsey [Tue, 8 Mar 2005 16:41:53 +0000 (16:41 +0000)]
cosmetic fix

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

19 years agoreorganize changelog a bit
David Lawrence Ramsey [Fri, 4 Mar 2005 18:25:56 +0000 (18:25 +0000)]
reorganize changelog a bit

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

19 years agoadd a few more missing blank lines, and fix two instances where totsize
David Lawrence Ramsey [Fri, 4 Mar 2005 17:09:41 +0000 (17:09 +0000)]
add a few more missing blank lines, and fix two instances where totsize
is miscalculated in multibyte/wide character mode

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

19 years agocosmetic fixes
David Lawrence Ramsey [Fri, 4 Mar 2005 15:09:55 +0000 (15:09 +0000)]
cosmetic fixes

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

19 years agocomment fix
David Lawrence Ramsey [Wed, 2 Mar 2005 19:34:59 +0000 (19:34 +0000)]
comment fix

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

19 years agoformatting fix
David Lawrence Ramsey [Tue, 1 Mar 2005 23:36:34 +0000 (23:36 +0000)]
formatting fix

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

19 years agoadd missing blank line
David Lawrence Ramsey [Tue, 1 Mar 2005 23:21:21 +0000 (23:21 +0000)]
add missing blank line

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

19 years agocosmetic fixes
David Lawrence Ramsey [Tue, 1 Mar 2005 22:47:00 +0000 (22:47 +0000)]
cosmetic fixes

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

19 years agoremove unneeded blank line
David Lawrence Ramsey [Fri, 25 Feb 2005 21:06:43 +0000 (21:06 +0000)]
remove unneeded blank line

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

19 years agoanother cosmetic fix
David Lawrence Ramsey [Fri, 25 Feb 2005 20:29:44 +0000 (20:29 +0000)]
another cosmetic fix

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

19 years agocosmetic fixes
David Lawrence Ramsey [Fri, 25 Feb 2005 20:21:45 +0000 (20:21 +0000)]
cosmetic fixes

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

19 years agostart adding multibyte/wide character support to the help browser code
David Lawrence Ramsey [Fri, 25 Feb 2005 19:17:57 +0000 (19:17 +0000)]
start adding multibyte/wide character support to the help browser code

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

19 years agofix erroneous statusbar message truncation with multibyte strings
David Lawrence Ramsey [Wed, 23 Feb 2005 22:10:38 +0000 (22:10 +0000)]
fix erroneous statusbar message truncation with multibyte strings

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

19 years agorework things so that strrchrn() is no longer needed, and remove it
David Lawrence Ramsey [Tue, 22 Feb 2005 23:22:37 +0000 (23:22 +0000)]
rework things so that strrchrn() is no longer needed, and remove it

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

19 years agocosmetic fix
David Lawrence Ramsey [Tue, 22 Feb 2005 22:24:14 +0000 (22:24 +0000)]
cosmetic fix

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

19 years agoremove unnecessary #include
David Lawrence Ramsey [Mon, 14 Feb 2005 18:25:32 +0000 (18:25 +0000)]
remove unnecessary #include

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

19 years agomention typo fix in changelog
David Lawrence Ramsey [Mon, 14 Feb 2005 05:38:06 +0000 (05:38 +0000)]
mention typo fix in changelog

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

19 years agotypo fix
David Lawrence Ramsey [Mon, 14 Feb 2005 05:37:09 +0000 (05:37 +0000)]
typo fix

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

19 years agoadd DB's overhaul of the file browser code to increase efficiency and
David Lawrence Ramsey [Mon, 14 Feb 2005 05:00:15 +0000 (05:00 +0000)]
add DB's overhaul of the file browser code to increase efficiency and
add multibyte character support, plus a few tweaks of mine

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

19 years agocosmetic fix
David Lawrence Ramsey [Sat, 12 Feb 2005 23:59:20 +0000 (23:59 +0000)]
cosmetic fix

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

19 years agoadd multibyte character support to is_whole_word(), plus a comment fix
David Lawrence Ramsey [Sat, 12 Feb 2005 23:09:27 +0000 (23:09 +0000)]
add multibyte character support to is_whole_word(), plus a comment fix

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

19 years agofix misplaced #ifdefs
David Lawrence Ramsey [Fri, 11 Feb 2005 20:23:00 +0000 (20:23 +0000)]
fix misplaced #ifdefs

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

19 years agoport over DB's overhaul of safe_tempnam() and his changes to
David Lawrence Ramsey [Fri, 11 Feb 2005 20:09:11 +0000 (20:09 +0000)]
port over DB's overhaul of safe_tempnam() and his changes to
check_operating_dir() to make it use boolean values (plus a few more
boolean-related tweaks of mine); also stop wrapping the bad_chr
parameter of parse_mbchar() in #ifdefs for cleanliness, as the
allow_tabcomp parameter of check_operating_dir() isn't wrapped in
#ifdefs, and don't set bad_chr to TRUE when we get a null byte in a
multibyte string, as it's not an invalid multibyte character

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

19 years agoset statusbar_xend properly when doing tab completion
David Lawrence Ramsey [Fri, 11 Feb 2005 16:23:56 +0000 (16:23 +0000)]
set statusbar_xend properly when doing tab completion

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

19 years agorevert diralphasort() tweak
David Lawrence Ramsey [Fri, 11 Feb 2005 16:02:54 +0000 (16:02 +0000)]
revert diralphasort() tweak

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

19 years agocosmetic fixes
David Lawrence Ramsey [Thu, 10 Feb 2005 02:26:08 +0000 (02:26 +0000)]
cosmetic fixes

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

19 years agoadd DB's overhauls of get_full_path() and check_writable_directory(),
David Lawrence Ramsey [Wed, 9 Feb 2005 18:56:21 +0000 (18:56 +0000)]
add DB's overhauls of get_full_path() and check_writable_directory(),
plus a few tweaks of mine

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

19 years agoremove inaccurate comment
David Lawrence Ramsey [Tue, 8 Feb 2005 21:48:15 +0000 (21:48 +0000)]
remove inaccurate comment

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

19 years agoadd missing #ifdef
David Lawrence Ramsey [Tue, 8 Feb 2005 20:39:28 +0000 (20:39 +0000)]
add missing #ifdef

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

19 years agoadd DB's pverhaul the tab completion code and a few related functions to
David Lawrence Ramsey [Tue, 8 Feb 2005 20:37:53 +0000 (20:37 +0000)]
add DB's pverhaul the tab completion code and a few related functions to
increase efficiency and support multibyte characters; also add a few
miscellaneous tweaks of mine

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

19 years agofix off-by-one error when calculating totsize in read_file(), introduced
David Lawrence Ramsey [Mon, 7 Feb 2005 05:31:51 +0000 (05:31 +0000)]
fix off-by-one error when calculating totsize in read_file(), introduced
when totsize was converted to hold the total number of multibyte
characters

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

19 years agoadd multibyte character support to indent_length(), convert the "smart
David Lawrence Ramsey [Mon, 31 Jan 2005 18:59:30 +0000 (18:59 +0000)]
add multibyte character support to indent_length(), convert the "smart
home" routines to use it (since it returns the number of bytes taken up
by spacing characters at the beginning of the line), and rearrange a few
initializations near asserts

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

19 years agowhen detecting wide character support in curses, check for get_wch()
David Lawrence Ramsey [Fri, 28 Jan 2005 20:09:45 +0000 (20:09 +0000)]
when detecting wide character support in curses, check for get_wch()
instead of wget_wch()

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

19 years agoproperly enable UTF-8 support when using slang
David Lawrence Ramsey [Fri, 28 Jan 2005 19:37:23 +0000 (19:37 +0000)]
properly enable UTF-8 support when using slang

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

19 years agotweak get_mouseinput() to work properly when -O/--morespace is used
David Lawrence Ramsey [Fri, 28 Jan 2005 19:11:51 +0000 (19:11 +0000)]
tweak get_mouseinput() to work properly when -O/--morespace is used

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

19 years agocosmetic fix
David Lawrence Ramsey [Thu, 27 Jan 2005 21:00:10 +0000 (21:00 +0000)]
cosmetic fix

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

19 years agomiscellaneous bits: change flags to an unsigned long and totsize to a
David Lawrence Ramsey [Thu, 27 Jan 2005 20:49:07 +0000 (20:49 +0000)]
miscellaneous bits: change flags to an unsigned long and totsize to a
size_t, store the number of multibyte characters instead of the number
of single-byte characters in totsize, and add a few formatting fixes

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

19 years agotweak do_mouse() to work properly when -O/--morespace is used
David Lawrence Ramsey [Thu, 27 Jan 2005 06:35:56 +0000 (06:35 +0000)]
tweak do_mouse() to work properly when -O/--morespace is used

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

19 years agoturn string functions that don't take length arguments into wrappers for
David Lawrence Ramsey [Tue, 25 Jan 2005 19:21:11 +0000 (19:21 +0000)]
turn string functions that don't take length arguments into wrappers for
the versions that take length arguments, add multibyte equivalent of
strlen(), and fix potential segfault in mbstrnlen()

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

19 years agoin edit_add(), make sure we use the right variable when painting marked
David Lawrence Ramsey [Mon, 24 Jan 2005 21:51:07 +0000 (21:51 +0000)]
in edit_add(), make sure we use the right variable when painting marked
selections, and add a few cosmetic tweaks

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

19 years agocomment fixes
David Lawrence Ramsey [Mon, 24 Jan 2005 14:57:57 +0000 (14:57 +0000)]
comment fixes

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

19 years agoadd another cleanup
David Lawrence Ramsey [Mon, 24 Jan 2005 01:21:09 +0000 (01:21 +0000)]
add another cleanup

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

19 years agoadd multibyte version of revstrcasestr()
David Lawrence Ramsey [Mon, 24 Jan 2005 01:14:17 +0000 (01:14 +0000)]
add multibyte version of revstrcasestr()

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