David Lawrence Ramsey
29be8031df
comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2486 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-20 14:55:46 +00:00
Jordi Mallach
c5fe41cec8
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
2005-04-20 13:26:41 +00:00
Jordi Mallach
72bff8eee4
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
2005-04-20 13:24:39 +00:00
Jordi Mallach
d4a1c0ad29
Credit Vietnamese translator.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2483 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-20 13:22:08 +00:00
David Lawrence Ramsey
1ccada16ae
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
2005-04-19 22:37:01 +00:00
David Lawrence Ramsey
5b2f17e591
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
2005-04-19 21:47:01 +00:00
David Lawrence Ramsey
3705924fc8
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2480 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-19 20:13:13 +00:00
David Lawrence Ramsey
c596c0c4da
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
2005-04-19 16:32:08 +00:00
David Lawrence Ramsey
9cf1df1f06
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
2005-04-19 03:15:21 +00:00
Jordi Mallach
56074a1da6
Update Vietnamese from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2477 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-18 15:37:49 +00:00
Jordi Mallach
f79a3fa51a
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
2005-04-18 12:40:38 +00:00
Jordi Mallach
b9180f4a82
Remove bogus space from help text.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2475 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-18 12:31:11 +00:00
David Lawrence Ramsey
ad11460eb7
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
2005-04-16 18:27:57 +00:00
David Lawrence Ramsey
04652518fd
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
2005-04-16 18:07:37 +00:00
David Lawrence Ramsey
22425a204d
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-16 15:57:19 +00:00
David Lawrence Ramsey
e527e458f4
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
2005-04-15 18:07:26 +00:00
David Lawrence Ramsey
ac71fdde97
more cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2470 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-15 17:48:20 +00:00
David Lawrence Ramsey
ffda704ef6
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-14 17:08:35 +00:00
David Lawrence Ramsey
6a244b689f
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
2005-04-14 03:52:28 +00:00
David Lawrence Ramsey
c2b07472e2
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
2005-04-14 03:13:49 +00:00
Jordi Mallach
f1aed80922
Updated Spanish from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2466 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-13 22:58:51 +00:00
Jordi Mallach
95660ee4d9
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
2005-04-13 14:26:02 +00:00
David Lawrence Ramsey
ddedf2dbd4
Back to CVS
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2464 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-10 03:59:53 +00:00
David Lawrence Ramsey
c32a5e7b4e
GNU nano 1.3.7
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2462 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-10 03:58:44 +00:00
David Lawrence Ramsey
a3e5fad059
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
2005-04-09 14:47:54 +00:00
Jordi Mallach
7accda6dd7
Fix format definitions...
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2460 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-09 12:09:15 +00:00
Jordi Mallach
b9f28013a7
Added Plural-Forms to zh_TW.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-09 09:48:45 +00:00
David Lawrence Ramsey
c504dffa39
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
2005-04-09 04:10:58 +00:00
David Lawrence Ramsey
fc0ebe982d
remove inaccurate comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-09 03:51:00 +00:00
David Lawrence Ramsey
dcb4e3a66d
clarify comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2456 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-08 20:27:02 +00:00
David Lawrence Ramsey
00762ffaeb
add comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-08 20:06:08 +00:00
David Lawrence Ramsey
4857728f6e
remove unneeded blank line
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-08 17:10:59 +00:00
Jordi Mallach
c0718343f5
Updated Catalan, Italian and Traditional Chinese.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-08 09:02:49 +00:00
David Lawrence Ramsey
d9a4dedd35
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
2005-04-07 02:45:28 +00:00
Jordi Mallach
de85d63520
Added Kinyarwanda translation.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2451 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-06 08:13:08 +00:00
David Lawrence Ramsey
53d7bce68a
remove unneeded space
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-05 14:18:41 +00:00
Jordi Mallach
a716bf42bc
Updated Romanian and French from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2449 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-04-04 23:20:32 +00:00
David Lawrence Ramsey
403e0feced
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
2005-04-01 19:45:35 +00:00
David Lawrence Ramsey
e61e2c6f49
preemptively update the version number
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-03-31 19:47:17 +00:00
David Lawrence Ramsey
d4a071e492
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
2005-03-31 17:00:43 +00:00
David Lawrence Ramsey
894d80fc5d
add missing blank line
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-03-31 05:26:06 +00:00
David Lawrence Ramsey
612caef65f
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
2005-03-31 00:11:43 +00:00
David Lawrence Ramsey
88ad64d597
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
2005-03-30 23:52:02 +00:00
David Lawrence Ramsey
aa683853d4
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
2005-03-30 18:11:59 +00:00
David Lawrence Ramsey
050469c595
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
2005-03-30 17:10:57 +00:00
David Lawrence Ramsey
4811b81456
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
2005-03-30 17:03:43 +00:00
David Lawrence Ramsey
050b13ae5d
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-03-29 23:10:20 +00:00
David Lawrence Ramsey
6a84684571
add more documentation fixes for consistency
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-03-27 04:30:33 +00:00
David Lawrence Ramsey
caac92012d
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
2005-03-27 01:34:40 +00:00
David Lawrence Ramsey
32a285c1eb
various documentation fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2436 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-03-26 23:15:51 +00:00