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