Commit Graph

1192 Commits

Author SHA1 Message Date
Chris Allegretta
5af5889448 Latest patch by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1374 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 21:07:38 +00:00
Chris Allegretta
b32ccd9257 Minor #endif fix at the end of files.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1373 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 13:16:09 +00:00
Chris Allegretta
327abdab4a Add DB's real fix, and add do_disabled_msg to proto.h (whose code is this?)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1372 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 05:04:17 +00:00
Chris Allegretta
d6c8d1a06d - winio.c:nanogetstr - Move down NANO_SMALL in tab check so nano won't complain if just NANO_SMALL is defined (David Benbennick, presumed fix)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1371 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 03:56:06 +00:00
Chris Allegretta
e6600379c9 nano.c:version() - Move up check for --disable-nls as it's independent of --enable-tiny now (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1370 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 03:39:41 +00:00
Chris Allegretta
f9ab3f79e5 - nano.1, nano.1.html - Updated for the --preserve and --historylog options
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1369 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 03:06:28 +00:00
Chris Allegretta
3f8a63cadb - faq.html: Added docs about the new unified search string interface and search histories, and added --enable-all into configure docs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1368 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 02:49:23 +00:00
Chris Allegretta
d957f5903e configure.ac: - Added --enable-all option to compile in all the extra stuff we'd normally need extra flags for
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1367 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 00:17:45 +00:00
Chris Allegretta
f3de8b552e - Added search/replace history log. Flag -H, --historylog. Flags HISTORY_CHANGED and HISTORYLOG, added entries in nanorc.sample, new functions log_history and save_history (Ken Tyler)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1366 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 23:44:46 +00:00
Chris Allegretta
09fc4300ec DLR's latest bits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1365 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 22:16:38 +00:00
Chris Allegretta
2ad0f6c0ad - search.c:do_gotoline() - Don't call blank_statusbar_refresh() so if there's an error returned in multibuffer mode, we can actually see it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1364 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 03:51:02 +00:00
Chris Allegretta
2d5fc3adac - nano.c:do_int_speller() - Fix FD leaks which occur outside of errors (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1363 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 03:11:23 +00:00
Chris Allegretta
d757e25817 Update copyright notices, courtesy of mr DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 19:33:27 +00:00
Jordi Mallach
9b0d18d284 Remove stuff generated by autopoint.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1361 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 18:30:49 +00:00
Jordi Mallach
b9475525d8 Update for recent CVS changes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1360 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 18:16:54 +00:00
Jordi Mallach
73dcc43267 Roll back AC_CONFIG_HEADER change, to make automake1.6 users happy.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1359 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 18:15:52 +00:00
Jordi Mallach
a0e829cd8c Updated for translation changes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1358 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:43:59 +00:00
Jordi Mallach
7fc0ddfe38 Added Peio.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1357 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:42:29 +00:00
Jordi Mallach
38c563d1e0 Add LINGUAS, with the list of supported languages previously in configure.ac (ALL_LINGUAS).
Updated Italian translation (Marco Colombo).
New Basque translation (Peio Ziarsolo).


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1356 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:41:58 +00:00
Jordi Mallach
631ee1faa6 Small cleanups. Add copyright header, add autopoint support and define bug report address and full package name in AC_INIT. Move ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1355 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:40:35 +00:00
Jordi Mallach
48053784e2 Make it much simpler by just using autoreconf.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1354 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:38:38 +00:00
Jordi Mallach
cb850cee36 Remove generic stuff.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1353 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:37:54 +00:00
Chris Allegretta
908f770f7d Back out the changes I made to nano.c to catch the spelling scroll bug earlier
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1352 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 11:18:58 +00:00
Chris Allegretta
0e7a3f5e2d - Fixed awful scrolling in do_int_speller. Problem was findnextstr() calling edit_update(), though screen updating is not its business Added checks in do_search() and do_replace_loop() to do the checks. It really should not be done here, as some function in winio.c should handle this, but I can't seem to find a good place to put this check
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1351 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 03:06:25 +00:00
Chris Allegretta
688c8eb112 DLR's latest changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-14 23:36:11 +00:00
Chris Allegretta
ca7113afee - search.c:do_replace_loop() - Remove check for answer being a blank string, presumed to a PICO_MODE holdover, but it stops us from doing a blank spelling replacement
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-14 23:35:24 +00:00
Chris Allegretta
497b5040a7 Add spell check selected text to TODO, note that I'm not asking you to implement this tonight DLR :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1348 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-13 14:45:39 +00:00
Chris Allegretta
54380cf56b Update texi file more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1347 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-13 04:50:34 +00:00
Chris Allegretta
9fa5fbd3af nano.texi - Updates for the most recent and not so recent changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1346 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-13 02:56:29 +00:00
Chris Allegretta
7662c86dbf DLR and DB's latest fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1345 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-13 01:35:15 +00:00
Chris Allegretta
3f1b6851cb nano.c:do_int_speller - Change all child error checks to use one goto (gasp) called close_pipes_and_exit, so we don't leak FDs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1344 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-12 23:54:05 +00:00
Chris Allegretta
ed4fb2cf0f - nanorc.sample: - Added some examples for groff and the nanorc courtesy of Robert D. Goulding. Added double hash marks to comment lines, so people who uncomment the beginning of every line won't get syntax errors
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1343 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-11 01:14:07 +00:00
Chris Allegretta
54abd94d48 Fix broken meta keys screwing up previous answer, fix misplaced (?) #endif in nanogetstr
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1342 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-09 23:43:12 +00:00
Chris Allegretta
8031f83422 Add a buffer holder for current search/replace data, so we don't lose it when going back through history
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1341 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-09 05:29:58 +00:00
Chris Allegretta
6cd143db7a - Add in Pico's -p flag, (-p, --preserve). To preserve the XON and XOFF keys (^Q and ^S). Add warning if we invoke -p and add checks for using --preserve (to skip warning) and --pico (to force showing it). New flag PRESERVE, function do_preserve_msg(), changes to main(), signal_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1340 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 23:35:44 +00:00
Chris Allegretta
37d594c1bd More bits left over from getting rid of pico mode, no more CLEAR_BACKUPSTRING, woo! Also reodered flags to remove gaps
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1339 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 22:00:41 +00:00
Chris Allegretta
916a8ec69c - TODO - Added some wishlist stuff
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1338 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 21:51:16 +00:00
Chris Allegretta
15c28f8b86 Completely removed PICO_MODE, as with the search/replace history patch we should have the extended functionality we can without being incompatible with pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1337 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 21:47:06 +00:00
Chris Allegretta
a65ba51b9e Now make the code with with NANO_SMALL :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1336 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 20:57:07 +00:00
Chris Allegretta
63287926cb Fix search/replace history adding blank lines, yuck
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1335 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 20:43:49 +00:00
Chris Allegretta
5beed509a6 Ken's search history patch, minus the .nano_history stuff
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1334 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 20:41:21 +00:00
David Lawrence Ramsey
95e0cf584c fix silly typo (#ifdef -> #ifndef) keeping nano -w from working
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1333 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-02 16:32:20 +00:00
Jordi Mallach
5a9e25ae33 Recommend automake 1.7.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1332 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-25 19:59:17 +00:00
David Lawrence Ramsey
9b13ff31bb miscellaneous bug fixes, part 2
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1331 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-22 16:30:00 +00:00
Chris Allegretta
334a94049f nano.c:do_int_speller(), do_alt_speller() - Programs now return char *, also fix waitpid invocation and checking of WIFEXITED WEXITSTATUS calls
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1330 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-16 04:25:53 +00:00
Jordi Mallach
3e5ad6397c Updated French translation.
Added Turkish translation.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1329 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-14 22:15:35 +00:00
Chris Allegretta
bfd2f5613d Okay, I guess an edit_update is needed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1328 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-10 03:03:20 +00:00
Chris Allegretta
35908f829c Fix screen not updating at exit of spell
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1327 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-10 00:55:32 +00:00
Chris Allegretta
1d8fa1fa90 Make speller update the screen less excessively, and switch case sensitive search so we can fix individual capitalization cases of misspelled words
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1326 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-10 00:53:21 +00:00
Chris Allegretta
2a7a9a242f Be more verbose about what we're doing with new spell code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1325 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-10 00:16:27 +00:00