Commit Graph

1293 Commits (a7a78decb6bbf77d90471fc85a482bd1327f78a7)

Author SHA1 Message Date
Chris Allegretta a7a78decb6 - nano.c:justify_format() - Fix ugly behavior when wrapping spaces at the end of long words (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1477 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-19 22:27:53 +00:00
Jordi Mallach 593a0678b8 Finnish and Spanish update :)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-19 15:56:49 +00:00
Jordi Mallach 9658c4cd82 Updated German, Ukrainian and Russian translations.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1475 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-17 14:16:22 +00:00
Jordi Mallach e0516f330f Galician & French update.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1474 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-16 16:10:02 +00:00
Chris Allegretta 33ac7b9181 - files.c:read_file() - If the file we're loading has already been detected as a DOS or Mac formatted file, don't turn on NOCONVERT if we find binary chars in it. This is because if it's detected as DOS/Mac format, at least one line has already been converted so setting NOCONVERT (which is supposed to signal that none of the file should be converted) makes no sense. (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1473 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-16 03:13:47 +00:00
Jordi Mallach 1aa8541c5c Updated French, Dutch, Swedish and Catalan translations.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-15 15:52:56 +00:00
Jordi Mallach fc71eb5f72 nanorc.5 fixes from DB.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1471 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-15 13:34:03 +00:00
Jordi Mallach 07e2000094 Format fix for nanorc.5
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1470 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-14 22:10:14 +00:00
Chris Allegretta 3d3325129c Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-14 03:10:12 +00:00
Chris Allegretta 7ba3279073 GNU nano 1.1.99pre3 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1468 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-14 03:09:35 +00:00
Chris Allegretta f717f98d07 Revert const char * strings as it gives warnings with -Wwrite-strings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1467 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 22:25:01 +00:00
Chris Allegretta d3c8f09d17 Use homenv variable instead of getenv(HOME) 3 times in do_rcfile
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1466 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 22:18:24 +00:00
Chris Allegretta 1debce2865 More getpwent changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 22:00:19 +00:00
Jordi Mallach 5acbc8bb0d Updated Russian translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1464 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 15:58:20 +00:00
Jordi Mallach aebfac8567 Add upgrading information for nano 1.0 users.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1463 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 12:50:53 +00:00
Chris Allegretta fee360a06f Fix uneeded content type message from man pages
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1462 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 04:08:04 +00:00
Chris Allegretta 4f989faa6e - Moved nano.1 color and syntax sections to nanorc, pointed nano.1 to nanorc.5 for initialization file. Changed nanorc.5 variables to be italics to match nano.1. Added nanorc.5.html to CVS tree
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 04:01:49 +00:00
Chris Allegretta 2e39c1c283 - rcfile.c:do_rcfile() - Revert (somewhat) previous behavior of looking at /home/chrisa, and only run getpw* if it is NULL. Most *nix programs seem to only care about /home/chrisa, and at the user-level getpw* may not be reliable (and its slower)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1460 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 03:36:15 +00:00
Chris Allegretta 65f075d3a1 - Change resetpos function to be global (now called resetstatuspos. Fixes annoying but small odd problem with cursor placement when inserting a file. This needs to be done better in 1.3 (originally by David Lawrence Ramsey) Added this issue to TODO
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 03:03:49 +00:00
Chris Allegretta bcc8688a3b - Remove do_preserve_msg, as using -p still gives Pico-style string behavior, so an annoying message every invocation is probably unneeded (all cheer)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 01:54:41 +00:00
Chris Allegretta d0845df735 Oops, we should probably re-initialize keyhandled each iteration of the main loop ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 00:56:57 +00:00
Chris Allegretta fe1d0722d4 - nano.c:main() - Silence annoying compiler messages about clobbering and uninitialized variables by moving variable inits to the top of main() and re-initializing them after the sigsetjmp()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1456 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 00:52:49 +00:00
Chris Allegretta a0449d92a0 - files.c: load_history() - Fix segfault on loading huge strings from history file (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:58:01 +00:00
Chris Allegretta 7641708cb6 - nano.c:do_suspend() - Fix untranslated message (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:54:34 +00:00
Chris Allegretta e9b5c6fe90 - winio.c:browser_init(), striponedir(), do_browse_from() - Various memory leak fixes (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:49:56 +00:00
Chris Allegretta d127c71ab3 - nano.c:do_wrap() - Fix isspace() call to operate on int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:20:45 +00:00
Chris Allegretta b2cd248d1c const char * fixes and defined(NCURSES_MOUSE_VERSION) additions to winio.c funcs that need them
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1451 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:18:19 +00:00
Chris Allegretta 428f620370 DB's justify fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 03:21:45 +00:00
Chris Allegretta fdcb9e92d6 - Memory leak fixes for files.c:do_insertfile(),do_browser(), nano.c:do_spell(), and search.c:do_replace() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1449 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 02:52:04 +00:00
Jordi Mallach a4a9d1759f Added --keyword=P_:1,2 to XGETTEXT_OPTIONS.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1448 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 11:33:43 +00:00
Jordi Mallach d16f9f66a1 Change ngettext macro to P_(), to avoid clash with C's __ identifier.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 11:30:11 +00:00
Jordi Mallach 65f998e429 Silly reformat.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1446 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 11:27:04 +00:00
Jordi Mallach f16ca28efb Update, not doing Spanish anymore...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 10:54:05 +00:00
Chris Allegretta 4640fe3f57 - nano.c:do_help () - Fix line lengths not being computed properly, causes display glitches most noticeable with < 20 rows. New function nano.c:line_len(). (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 03:10:03 +00:00
Chris Allegretta a90d0cf214 DB's gotoline fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 02:55:03 +00:00
Chris Allegretta f8f2d586dc DB's fill and window length fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1442 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 02:43:48 +00:00
Chris Allegretta 3a78406d56 - nano.c:help_init() - Fix crashing in do_help when COLS < 23 (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 02:32:58 +00:00
Jordi Mallach 2ddd75e705 Updated Finnish translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 23:51:17 +00:00
Jordi Mallach e61be2dd6d Fix it better.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 23:50:42 +00:00
Chris Allegretta 992a25a69c * it.po: Fix broken format string in translation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 03:33:51 +00:00
Jordi Mallach a66a8f72a4 Add nanorc.5 manpage.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 01:28:40 +00:00
Jordi Mallach ab5fec61a8 Spanish update.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1436 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 00:04:35 +00:00
Chris Allegretta 97e10b5d0d - nano.spec.in - Change default flags to --enable-all
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 22:05:50 +00:00
Jordi Mallach 588df68a8c Italian and Galician updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 22:02:17 +00:00
Chris Allegretta bfc8b2ac4d - winio.c:nanogetstr() - Remove unnecessary reset of x since it is now handled elsewhere (David Lawrence Ramsey)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1433 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 21:49:13 +00:00
Chris Allegretta bcaeeb4411 Add the ChangeLog entry for the 2nd half of DB's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 02:03:26 +00:00
Chris Allegretta 3cdf6ff1de - files.c:input_tab() - Fix assumption that matches is null terminated (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 02:02:02 +00:00
Chris Allegretta 17ec14b9a5 Better fix hopefully for color issue
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-07 00:19:05 +00:00
Chris Allegretta a3daf3a256 - nanorc.sample: - Make nanorc entry less tolerant of invalid colors
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-07 00:11:55 +00:00
Chris Allegretta d6e84363d7 - rcfile.c:colortoint() - Don't bomb after invalid color and print bad color name (David Benbennick). And reset mcolor to -1.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-07 00:02:00 +00:00