]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Tue, 5 Apr 2005 14:18:41 +0000 (14:18 +0000)]
remove unneeded space
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2450
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 4 Apr 2005 23:20:32 +0000 (23:20 +0000)]
Updated Romanian and French from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2449
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 1 Apr 2005 19:45:35 +0000 (19:45 +0000)]
in nanorc.sample, break up overly long perl and nanorc regexes into
separate regexes of no more than 256 bytes, as POSIX-compliant regexp
implementations can reject regexes of over 256 bytes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2448
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 31 Mar 2005 19:47:17 +0000 (19:47 +0000)]
preemptively update the version number
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2447
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 31 Mar 2005 17:00:43 +0000 (17:00 +0000)]
in do_insertfile(), fix handling of blank filenames in multibuffer mode
so that they work properly again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2446
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 31 Mar 2005 05:26:06 +0000 (05:26 +0000)]
add missing blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2445
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 31 Mar 2005 00:11:43 +0000 (00:11 +0000)]
in statusq(), make sure that the vsnprintf(foo) call and foo's
subsequent null termination both take the proper number of bytes when
using multibyte characters, so that multibyte prompt strings aren't
prematurely cut off
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2444
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 30 Mar 2005 23:52:02 +0000 (23:52 +0000)]
in do_insertfile(), fix a problem where going into the help browser at
the "Insert File" prompt would always result in the current answer's
being used as the filename afterward
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2443
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 30 Mar 2005 18:11:59 +0000 (18:11 +0000)]
in help_init(), avoid a warning when compiling with -pedantic by
breaking overly long help text up into separate chunks, and add a few
wording fixes to the help text as well
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2442
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 30 Mar 2005 17:10:57 +0000 (17:10 +0000)]
move bool from the C++-specific line to the C-specific line, since C99
defines it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2441
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 30 Mar 2005 17:03:43 +0000 (17:03 +0000)]
in nanorc.sample, merge Neil Brown's C++ regexes into the "c-file"
regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2440
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 29 Mar 2005 23:10:20 +0000 (23:10 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2439
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 27 Mar 2005 04:30:33 +0000 (04:30 +0000)]
add more documentation fixes for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2438
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 27 Mar 2005 01:34:40 +0000 (01:34 +0000)]
in parse_rcfile(), fix a debugging message to display the long value of
a flag properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2437
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 23:15:51 +0000 (23:15 +0000)]
various documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2436
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 22:49:46 +0000 (22:49 +0000)]
make sure that all references to cut-to-end are left out when NANO_SMALL
is defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2435
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 22:49:08 +0000 (22:49 +0000)]
per DB's patch, in main(), change 0 to NULL in the option struct where
needed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2434
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 20:53:40 +0000 (20:53 +0000)]
update changelog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2433
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 20:50:59 +0000 (20:50 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2432
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 20:41:36 +0000 (20:41 +0000)]
add missing blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2431
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 06:54:36 +0000 (06:54 +0000)]
in make_mbchar(), remove an unneeded assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2430
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 04:49:01 +0000 (04:49 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2429
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 26 Mar 2005 04:42:28 +0000 (04:42 +0000)]
add various portability and potential segfault fixes involving getcwd()
calls
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2428
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 25 Mar 2005 23:19:04 +0000 (23:19 +0000)]
in configure.ac, tweak a few more things to make sure that everything
still works properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2427
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 25 Mar 2005 22:25:24 +0000 (22:25 +0000)]
in configure.ac, per Mike Frysinger's patch, add support for
--enable-utf8 and --disable-utf8 options, with slang support and a few
other tweaks added by me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2426
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 25 Mar 2005 06:24:13 +0000 (06:24 +0000)]
in cut_to_eol(), fix an inaccurate comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2425
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 25 Mar 2005 05:00:32 +0000 (05:00 +0000)]
in titlebar(), make sure that the (mv)?waddnstr() calls take the proper
number of bytes when using multibyte characters, so that multibyte
strings aren't prematurely cut off; also allow the "View" state to be
displayed when a filename is passed in, in case we're in multibuffer
mode and inside the file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2424
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 24 Mar 2005 22:28:25 +0000 (22:28 +0000)]
add missing blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2423
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 23 Mar 2005 05:56:11 +0000 (05:56 +0000)]
per Mike Frysinger's patch, in move_mbleft(), fix assert to reference
the proper variable, so that nano builds with DEBUG defined again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2422
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 20:17:38 +0000 (20:17 +0000)]
move macro definition
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2421
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 04:50:11 +0000 (04:50 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2419
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 03:59:32 +0000 (03:59 +0000)]
in help_line_len(), make the text display more flexible, and closer to
what nano 1.2.x does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2418
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 03:58:51 +0000 (03:58 +0000)]
add missing space in the help text, and fix an allocsize-related assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2417
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 02:51:01 +0000 (02:51 +0000)]
in help_init(), when calculating allocsize, take multibyte characters
into account, and keep the column number limits consistent
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2416
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 02:50:24 +0000 (02:50 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2415
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 02:17:36 +0000 (02:17 +0000)]
in do_justify(), move break_pos after the space earlier, as do_wrap()
does with wrap_loc, as it's more efficient
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2414
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 01:53:57 +0000 (01:53 +0000)]
in find_paragraph(), fix a problem where a search for the next paragraph
would skip over certain cases of one-line paragraphs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2413
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Mar 2005 01:25:34 +0000 (01:25 +0000)]
in do_justify(), instead of breaking a line at a space and readding the
space afterwards, just break the line after the space, as it's more
efficient
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2412
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Mar 2005 08:03:46 +0000 (08:03 +0000)]
remove unneeded space
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2411
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Mar 2005 07:24:47 +0000 (07:24 +0000)]
in printopt(), add DB's tweaks to make sure longflag isn't passed in
when HAVE_GETOPT_LONG isn't defined, and rework the special case of
options that are ignored for Pico compatibility so that they display
more neatly when HAVE_GETOPT_LONG isn't defined; in usage(), fix an
erroneous #ifdef that resulted in the -d/--rebinddelete and -k/--cut
options' not being printed when NANO_SMALL was defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2410
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Mar 2005 06:33:41 +0000 (06:33 +0000)]
more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2409
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Mar 2005 06:14:45 +0000 (06:14 +0000)]
document cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2408
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Mar 2005 06:12:07 +0000 (06:12 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2407
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 21:20:47 +0000 (21:20 +0000)]
after (re)initializing the terminal, make sure the cursor is always
turned on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2406
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 20:04:59 +0000 (20:04 +0000)]
Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2405
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 20:02:51 +0000 (20:02 +0000)]
GNU nano 1.3.6
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2403
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 07:26:47 +0000 (07:26 +0000)]
and make the locale string checks use the #defined strcasestr() alias if
necessary
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2402
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 07:24:49 +0000 (07:24 +0000)]
put the old #defined aliases for strcasecmp(), strncasecmp(),
strcasestr(), and strnlen() back with the #defined aliases for getline()
and getdelim(), as they make things simpler
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2401
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 06:50:26 +0000 (06:50 +0000)]
when checking the locale string, use nstrcasestr() if we don't have
strcasestr()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2400
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 03:10:31 +0000 (03:10 +0000)]
add asserts to do_wrap()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2399
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 20 Mar 2005 02:50:31 +0000 (02:50 +0000)]
check for a UTF-8-supporting version of slang
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2398
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 19 Mar 2005 21:33:13 +0000 (21:33 +0000)]
miscellaneous documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2397
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 19 Mar 2005 21:20:20 +0000 (21:20 +0000)]
update changelog again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2396
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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