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

19 years agoset placewewant more efficiently
David Lawrence Ramsey [Tue, 17 May 2005 18:15:00 +0000 (18:15 +0000)]
set placewewant more efficiently

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

19 years agomore LINE,COLUMN-related work: fix problems parsing it, and allow it at
David Lawrence Ramsey [Tue, 17 May 2005 18:06:26 +0000 (18:06 +0000)]
more LINE,COLUMN-related work: fix problems parsing it, and allow it at
the (soon-to-be-renamed) "Go to Line" prompt

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

19 years agoformatting fix
David Lawrence Ramsey [Tue, 17 May 2005 16:54:34 +0000 (16:54 +0000)]
formatting fix

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

19 years agoin do_gotoline(), properly show an error message if we try to go to line
David Lawrence Ramsey [Tue, 17 May 2005 01:55:44 +0000 (01:55 +0000)]
in do_gotoline(), properly show an error message if we try to go to line
0, since the first line in the file is 1

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

19 years agoadd error detection to parse_line_column()
David Lawrence Ramsey [Tue, 17 May 2005 00:25:50 +0000 (00:25 +0000)]
add error detection to parse_line_column()

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

19 years agoadd missing comment
David Lawrence Ramsey [Mon, 16 May 2005 23:33:53 +0000 (23:33 +0000)]
add missing comment

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

19 years agomove duplicate code from the +LINE,COLUMN feature into a separate
David Lawrence Ramsey [Mon, 16 May 2005 23:23:15 +0000 (23:23 +0000)]
move duplicate code from the +LINE,COLUMN feature into a separate
function, parse_line_column()

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

19 years agorename another variable
David Lawrence Ramsey [Mon, 16 May 2005 20:13:09 +0000 (20:13 +0000)]
rename another variable

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

19 years agocomment fix
David Lawrence Ramsey [Mon, 16 May 2005 19:43:04 +0000 (19:43 +0000)]
comment fix

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

19 years agoadd the ability to open a file on a specified column as well as a
David Lawrence Ramsey [Mon, 16 May 2005 18:38:16 +0000 (18:38 +0000)]
add the ability to open a file on a specified column as well as a
specified line, by allowing an argument of the form +LINE,COLUMN

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

19 years agoupdate the Free Software Foundation's mailing address in various
David Lawrence Ramsey [Sun, 15 May 2005 19:57:17 +0000 (19:57 +0000)]
update the Free Software Foundation's mailing address in various
comments

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

19 years agomore indentation fixes and one more cosmetic fix
David Lawrence Ramsey [Sat, 14 May 2005 23:21:02 +0000 (23:21 +0000)]
more indentation fixes and one more cosmetic fix

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

19 years agorename a few more variables, and fix some indentation
David Lawrence Ramsey [Sat, 14 May 2005 23:14:47 +0000 (23:14 +0000)]
rename a few more variables, and fix some indentation

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

19 years agostill more cosmetic fixes
David Lawrence Ramsey [Sat, 14 May 2005 22:44:16 +0000 (22:44 +0000)]
still more cosmetic fixes

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

19 years agodocument a renamed variable
David Lawrence Ramsey [Sat, 14 May 2005 21:19:15 +0000 (21:19 +0000)]
document a renamed variable

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

19 years agomore cosmetic fixes
David Lawrence Ramsey [Sat, 14 May 2005 20:52:20 +0000 (20:52 +0000)]
more cosmetic fixes

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

19 years agoin cut_line(), set placewewant properly after cutting a line, to avoid a
David Lawrence Ramsey [Sat, 14 May 2005 18:41:25 +0000 (18:41 +0000)]
in cut_line(), set placewewant properly after cutting a line, to avoid a
problem where the screen won't be updated if (a) we're not on the first
page when we cut the line, and (b) immediately after we cut the line, we
hit End to move to the end of the line after it

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

19 years agoanother cosmetic fix
David Lawrence Ramsey [Sun, 8 May 2005 17:08:51 +0000 (17:08 +0000)]
another cosmetic fix

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

19 years agocosmetic fix
David Lawrence Ramsey [Fri, 6 May 2005 17:03:53 +0000 (17:03 +0000)]
cosmetic fix

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

19 years agorevert one last change that was causing breakage
David Lawrence Ramsey [Tue, 3 May 2005 21:42:04 +0000 (21:42 +0000)]
revert one last change that was causing breakage

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

19 years agoremove redundant code
David Lawrence Ramsey [Tue, 3 May 2005 21:35:58 +0000 (21:35 +0000)]
remove redundant code

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

19 years agorevert one of the previous changes; we don't really need a shortcut for
David Lawrence Ramsey [Tue, 3 May 2005 20:57:13 +0000 (20:57 +0000)]
revert one of the previous changes; we don't really need a shortcut for
moving to the next search/replace history string, as we don't have one
for tab completion either

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

19 years agorearrange nanogetstr() to fix breakage
David Lawrence Ramsey [Tue, 3 May 2005 03:18:44 +0000 (03:18 +0000)]
rearrange nanogetstr() to fix breakage

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

19 years agorevert some attempts at simplifying the search/replace history code that
David Lawrence Ramsey [Mon, 2 May 2005 21:48:34 +0000 (21:48 +0000)]
revert some attempts at simplifying the search/replace history code that
were causing breakage; make "previous history" and "next history" use
separate keys; and display them as "^P" and "^N" instead of using one
sentinel value for both, so that clicking on them with the mouse works
again

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

19 years agodocument the simplification of a history check in nanogetstr(), and
David Lawrence Ramsey [Fri, 29 Apr 2005 13:16:05 +0000 (13:16 +0000)]
document the simplification of a history check in nanogetstr(), and
remove an extra parenthesis so it actually compiles (oops)

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

19 years agomore comment fixes
David Lawrence Ramsey [Fri, 29 Apr 2005 04:32:38 +0000 (04:32 +0000)]
more comment fixes

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

19 years agomore comment fixes
David Lawrence Ramsey [Fri, 29 Apr 2005 03:28:27 +0000 (03:28 +0000)]
more comment fixes

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

19 years agoremove a redundant check in get_history_newer(), and add a few comment
David Lawrence Ramsey [Fri, 29 Apr 2005 03:24:43 +0000 (03:24 +0000)]
remove a redundant check in get_history_newer(), and add a few comment
fixes

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

19 years agoUpdated Malay from the TP.
Jordi Mallach [Wed, 27 Apr 2005 06:14:48 +0000 (06:14 +0000)]
Updated Malay from the TP.

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

19 years agooops; in do_output(), properly allow wrapping when we insert a tab, for
David Lawrence Ramsey [Tue, 26 Apr 2005 17:21:47 +0000 (17:21 +0000)]
oops; in do_output(), properly allow wrapping when we insert a tab, for
consistency; this is incompatible with Pico, but Pico doesn't wrap
properly when other control characters are on a line, either, so its
behavior with regard to tabs is apparently a bug; besides, we wrap at
all other blank characters, including multibyte ones, so we shouldn't
make an exception for tabs

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

19 years agoUpdate Norwegian bokmaal from the TP.
Jordi Mallach [Tue, 26 Apr 2005 04:47:03 +0000 (04:47 +0000)]
Update Norwegian bokmaal from the TP.

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

19 years agoin do_output(), fix an off-by-one error that allowed wrapping when we
David Lawrence Ramsey [Mon, 25 Apr 2005 22:48:58 +0000 (22:48 +0000)]
in do_output(), fix an off-by-one error that allowed wrapping when we
inserted a tab, for Pico compatibility

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

19 years agoin shortcut_init(), move the "Refresh" and "Exit" shortcuts to the
David Lawrence Ramsey [Mon, 25 Apr 2005 21:48:22 +0000 (21:48 +0000)]
in shortcut_init(), move the "Refresh" and "Exit" shortcuts to the
beginning of the help browser shortcut list, for consistency

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

19 years agominor bits: fix slang compilation by calling clearok(TRUE) and
David Lawrence Ramsey [Mon, 25 Apr 2005 20:08:29 +0000 (20:08 +0000)]
minor bits: fix slang compilation by calling clearok(TRUE) and
wrefresh() on edit instead of curscr, since slang's curses emulation
doesn't include a curscr equivalent; and revert Jordi's removal of a
space in the main help text, as its second paragraph won't be properly
indented by one space without it

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

19 years agocomment fixes
David Lawrence Ramsey [Wed, 20 Apr 2005 14:55:46 +0000 (14:55 +0000)]
comment fixes

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

19 years agoUpdate Malay, Romanian and Traditional Chinese from the TP.
Jordi Mallach [Wed, 20 Apr 2005 13:26:41 +0000 (13:26 +0000)]
Update Malay, Romanian and Traditional Chinese from the TP.

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

19 years agoErr, stable branch has been nano_1_2 for the last two years, doh!
Jordi Mallach [Wed, 20 Apr 2005 13:24:39 +0000 (13:24 +0000)]
Err, stable branch has been nano_1_2 for the last two years, doh!

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

19 years agoCredit Vietnamese translator.
Jordi Mallach [Wed, 20 Apr 2005 13:22:08 +0000 (13:22 +0000)]
Credit Vietnamese translator.

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

19 years agoactually, since copy_file() doesn't allocate ever-increasing space for a
David Lawrence Ramsey [Tue, 19 Apr 2005 22:37:01 +0000 (22:37 +0000)]
actually, since copy_file() doesn't allocate ever-increasing space for a
file, it should read the file BUFSIZ bytes at a time; remove erroneous
changelog entry

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

19 years agochange all hardcoded instances of 128 bytes to MAX_BUF_SIZE, and #define
David Lawrence Ramsey [Tue, 19 Apr 2005 21:47:01 +0000 (21:47 +0000)]
change all hardcoded instances of 128 bytes to MAX_BUF_SIZE, and #define
MAX_BUF_SIZE as 128 in nano.h

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

19 years agocosmetic fixes
David Lawrence Ramsey [Tue, 19 Apr 2005 20:13:13 +0000 (20:13 +0000)]
cosmetic fixes

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

19 years agomiscellaneous bits: make get_next_filename() use an unsigned long, make
David Lawrence Ramsey [Tue, 19 Apr 2005 16:32:08 +0000 (16:32 +0000)]
miscellaneous bits: make get_next_filename() use an unsigned long, make
num_of_digits() take a size_t instead of a ssize_t, and rename
num_of_digits() to digits()

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

19 years agoin do_browser() and do_help(), don't treat NANO_CANCEL_KEY as
David Lawrence Ramsey [Tue, 19 Apr 2005 03:15:21 +0000 (03:15 +0000)]
in do_browser() and do_help(), don't treat NANO_CANCEL_KEY as
NANO_EXIT_KEY anymore, for consistency

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

19 years agoUpdate Vietnamese from the TP.
Jordi Mallach [Mon, 18 Apr 2005 15:37:49 +0000 (15:37 +0000)]
Update Vietnamese from the TP.

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

19 years agoCatalan, Italian and Romanian updates from the TP.
Jordi Mallach [Mon, 18 Apr 2005 12:40:38 +0000 (12:40 +0000)]
Catalan, Italian and Romanian updates from the TP.

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

19 years agoRemove bogus space from help text.
Jordi Mallach [Mon, 18 Apr 2005 12:31:11 +0000 (12:31 +0000)]
Remove bogus space from help text.

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

19 years agoremove more unneeded clearok(TRUE)'s, and avoid an unnecessary update
David Lawrence Ramsey [Sat, 16 Apr 2005 18:27:57 +0000 (18:27 +0000)]
remove more unneeded clearok(TRUE)'s, and avoid an unnecessary update

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

19 years agosimplify total_update() to call clearok(TRUE) and wrefresh() on curscr,
David Lawrence Ramsey [Sat, 16 Apr 2005 18:07:37 +0000 (18:07 +0000)]
simplify total_update() to call clearok(TRUE) and wrefresh() on curscr,
which updates the entire screen in fewer function calls

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

19 years agocosmetic fix
David Lawrence Ramsey [Sat, 16 Apr 2005 15:57:19 +0000 (15:57 +0000)]
cosmetic fix

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

19 years agovarious #include fixes: since proto.h includes nano.h, only include the
David Lawrence Ramsey [Fri, 15 Apr 2005 18:07:26 +0000 (18:07 +0000)]
various #include fixes: since proto.h includes nano.h, only include the
former in source files; also add an #include guard to proto.h, and make
the config.h #include in nano.h match the config.h #includes everywhere
else

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

19 years agomore cosmetic fixes
David Lawrence Ramsey [Fri, 15 Apr 2005 17:48:20 +0000 (17:48 +0000)]
more cosmetic fixes

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

19 years agocosmetic fix
David Lawrence Ramsey [Thu, 14 Apr 2005 17:08:35 +0000 (17:08 +0000)]
cosmetic fix

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

19 years agovarious minor bits: add miscellaneous comment fixes; in
David Lawrence Ramsey [Thu, 14 Apr 2005 03:52:28 +0000 (03:52 +0000)]
various minor bits: add miscellaneous comment fixes; in
get_next_filename(), use a long instead of an int for the number
prepended to the filename; and in num_of_digits(), use a ssize_t instead
of an int

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

19 years agoin print1opt_full(), if desc should be empty, allow it to be NULL
David Lawrence Ramsey [Thu, 14 Apr 2005 03:13:49 +0000 (03:13 +0000)]
in print1opt_full(), if desc should be empty, allow it to be NULL
instead of "", since the latter is not necessarily translated as ""

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

19 years agoUpdated Spanish from the TP.
Jordi Mallach [Wed, 13 Apr 2005 22:58:51 +0000 (22:58 +0000)]
Updated Spanish from the TP.

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

19 years agoAdded Vietnamese translation by Phan Vinh Thinh <teppi82@gmail.com>.
Jordi Mallach [Wed, 13 Apr 2005 14:26:02 +0000 (14:26 +0000)]
Added Vietnamese translation by Phan Vinh Thinh <teppi82@gmail.com>.

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

19 years agoBack to CVS
David Lawrence Ramsey [Sun, 10 Apr 2005 03:59:53 +0000 (03:59 +0000)]
Back to CVS

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

19 years agoGNU nano 1.3.7 v1.3.7
David Lawrence Ramsey [Sun, 10 Apr 2005 03:58:44 +0000 (03:58 +0000)]
GNU nano 1.3.7

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

19 years agoin configure.ac, mention explicitly that the check for the broken
David Lawrence Ramsey [Sat, 9 Apr 2005 14:47:54 +0000 (14:47 +0000)]
in configure.ac, mention explicitly that the check for the broken
regexec() is needed for glibc 2.2.3

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

19 years agoFix format definitions...
Jordi Mallach [Sat, 9 Apr 2005 12:09:15 +0000 (12:09 +0000)]
Fix format definitions...

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

19 years agoAdded Plural-Forms to zh_TW.
Jordi Mallach [Sat, 9 Apr 2005 09:48:45 +0000 (09:48 +0000)]
Added Plural-Forms to zh_TW.

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

19 years agoin nanogetstr(), fix a misplaced break and some indentation
David Lawrence Ramsey [Sat, 9 Apr 2005 04:10:58 +0000 (04:10 +0000)]
in nanogetstr(), fix a misplaced break and some indentation

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

19 years agoremove inaccurate comment
David Lawrence Ramsey [Sat, 9 Apr 2005 03:51:00 +0000 (03:51 +0000)]
remove inaccurate comment

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

19 years agoclarify comment
David Lawrence Ramsey [Fri, 8 Apr 2005 20:27:02 +0000 (20:27 +0000)]
clarify comment

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

19 years agoadd comment
David Lawrence Ramsey [Fri, 8 Apr 2005 20:06:08 +0000 (20:06 +0000)]
add comment

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

19 years agoremove unneeded blank line
David Lawrence Ramsey [Fri, 8 Apr 2005 17:10:59 +0000 (17:10 +0000)]
remove unneeded blank line

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

19 years agoUpdated Catalan, Italian and Traditional Chinese.
Jordi Mallach [Fri, 8 Apr 2005 09:02:49 +0000 (09:02 +0000)]
Updated Catalan, Italian and Traditional Chinese.

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

19 years agoremove TODO item about allowing the editing of UTF-8 as raw bytes when
David Lawrence Ramsey [Thu, 7 Apr 2005 02:45:28 +0000 (02:45 +0000)]
remove TODO item about allowing the editing of UTF-8 as raw bytes when
the NO_CONVERT flag is used, as it will be practically impossible to get
right (since displayed non-editable strings should always be parsed as
UTF-8, whether the edited text is or not, and the switching back and
forth between raw and normal mode when editing text and displaying it
will be far too complicated)

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

19 years agoAdded Kinyarwanda translation.
Jordi Mallach [Wed, 6 Apr 2005 08:13:08 +0000 (08:13 +0000)]
Added Kinyarwanda translation.

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

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

19 years agoUpdated Romanian and French from the TP.
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

19 years agoin nanorc.sample, break up overly long perl and nanorc regexes into
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

19 years agopreemptively update the version number
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

19 years agoin do_insertfile(), fix handling of blank filenames in multibuffer mode
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

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

19 years agoin statusq(), make sure that the vsnprintf(foo) call and foo's
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

19 years agoin do_insertfile(), fix a problem where going into the help browser at
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

19 years agoin help_init(), avoid a warning when compiling with -pedantic by
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

19 years agomove bool from the C++-specific line to the C-specific line, since C99
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

19 years agoin nanorc.sample, merge Neil Brown's C++ regexes into the "c-file"
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

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

19 years agoadd more documentation fixes for consistency
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

19 years agoin parse_rcfile(), fix a debugging message to display the long value of
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

19 years agovarious documentation fixes
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

19 years agomake sure that all references to cut-to-end are left out when NANO_SMALL
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

19 years agoper DB's patch, in main(), change 0 to NULL in the option struct where
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

19 years agoupdate changelog
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

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

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

19 years agoin make_mbchar(), remove an unneeded assert
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

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

19 years agoadd various portability and potential segfault fixes involving getcwd()
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

19 years agoin configure.ac, tweak a few more things to make sure that everything
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

19 years agoin configure.ac, per Mike Frysinger's patch, add support for
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

19 years agoin cut_to_eol(), fix an inaccurate comment
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

19 years agoin titlebar(), make sure that the (mv)?waddnstr() calls take the proper
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

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

19 years agoper Mike Frysinger's patch, in move_mbleft(), fix assert to reference
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

19 years agomove macro definition
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