Commit Graph

738 Commits

Author SHA1 Message Date
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
Chris Allegretta
201f1d976a - Fix globals and externs such that nano will compile with DISABLE_SPELLER (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1426 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-05 02:51:19 +00:00
Chris Allegretta
5ec68628ce - Fix nano not compiling with ENABLE_RCFILE BLE_TABCOMP (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-05 02:39:34 +00:00
Chris Allegretta
5ea694ebd1 - nano.1, nano.1.html: - Add initialization file comments, change some options from bracketed to underlined to emphasize that they are not optional
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1424 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-04 14:24:54 +00:00
Jordi Mallach
a577d5a8b8 Catalan, French, Ukrainian and German updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1423 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-04 14:13:36 +00:00
Chris Allegretta
cddbfd0988 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1422 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 15:29:56 +00:00
Chris Allegretta
5c8c276622 GNU nano 1.1.99pre2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1420 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 15:21:27 +00:00
Chris Allegretta
d89eb91e77 Apply the same regexp_init checks to using last|search in search_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 07:07:40 +00:00
Chris Allegretta
c45335782a - files.c:save_history() Fix off-by-one bug causing write to unallocated memory (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 05:04:09 +00:00
Chris Allegretta
434d686ee4 files.c:do_insertfile() - Add some more checks and fix recursion when toggling multibuffer (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 04:55:17 +00:00
Chris Allegretta
0eab236580 files.c:do_browser() - Even more checks and operating dir fixes (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:39:05 +00:00
Chris Allegretta
dbfc56cb8e Oops, now credit DB
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:33:04 +00:00
Chris Allegretta
a0d89977b7 - Fix screen getting trashed on signals nano can catch (TERM and HUP). New global variable curses_ended changes to winio.c:statubar() and nano.c:die()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:32:08 +00:00
Chris Allegretta
cff6e6f60f DB's justify patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1412 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:22:02 +00:00
Chris Allegretta
ce452fb880 DB's debug and multibuffer and regcomp fix to make nano less of a complete cpu hog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 02:56:44 +00:00
Chris Allegretta
5c63f27721 Dlr's revert multibuffer and view mode patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-02 04:26:54 +00:00
Chris Allegretta
f80a59c7cc - files.c:do_browser() - Fix goto directory operating dir check and tilde expansion (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-30 00:57:33 +00:00
Chris Allegretta
858d9d90cb - files.c:do_browse_from() - Fix path checking to fix bad paths, escaping the operating directory, new function readable_dir() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-30 00:53:32 +00:00
Chris Allegretta
2a7b8b24bb -nano.c:do_justify() - Unset KEEP_CUTBUFFER so nano won't crash with subsequent ^K cuts and justifies (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-30 00:42:20 +00:00
Chris Allegretta
5d71514f21 - Fix nano crashing when searching/replacing an invalid regex (try ^*). Changed regexp_init() to return 1 or 0 based on regcomp()'s return value and search_init to exit with an error message (sorry Jordi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-29 04:18:37 +00:00
Chris Allegretta
e92a7bcb78 - nano.c:do_mouse() - Fix the mouse code to work with lines longer than COLS and with the proper positioning, including special characters (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-28 01:36:38 +00:00
Chris Allegretta
db28e96f2c - winio.c:do_yesno() - Fix mouse interaction bugs with yes/no prompt (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-28 01:23:40 +00:00
Chris Allegretta
d26ab913f1 - Fix constant curos updates from obliterating other system messages, and fix statusbar message length. Affects files.c:load_open_file(), nano.c:main(), search.c:findnextstr(), winio.c:statusbar() and do_cursorpos() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-28 01:16:47 +00:00
Chris Allegretta
b698c35f4b - files.c:do_browser() - Fix incorrect path check for check_operating_dir() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1401 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 22:05:07 +00:00
Chris Allegretta
a340766790 - nano.c:do_char() - Remove unneeded check_statblank() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1400 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 21:13:03 +00:00
Chris Allegretta
47fcfe5d78 - Fix cursor position being saved when escaping out of nanogetstr with keys like ^Y and ^V. New arg resetpos to nanogetstr(), added static int resetpos in statusq() (bug found by DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1399 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 21:01:16 +00:00
Chris Allegretta
8a85aa0baa - search.c:do_search(), do_replace_loop() - Fix edit_update call to use CENTER instead of current_x (related to David Benbennick's fixes for spelling)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1398 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 20:02:15 +00:00
Chris Allegretta
64fc78c0f1 - nano.c:do_int_spell_fix(), do_int_speller() - Fix crashes with mark position, current_x position and edit_update args (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 19:57:44 +00:00
Chris Allegretta
63d0b48d5b - winio.c:edit_refresh() - Fix cursor being above as well as below the current screen (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1396 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 19:47:10 +00:00
Chris Allegretta
77e726d518 - files.c:save_history() - Fix nrealloc return value being ignored (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1395 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 19:36:08 +00:00
Chris Allegretta
9090f2e44b General - Fix subexpression replacement to work consistently. Affects search.c:replace_regexp() and utils.c:strstrwrapper() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1393 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:45:05 +00:00
Chris Allegretta
1939c3590b - search.c:do_replace_loop() - Fix various bugs having to do with replace string length and positioning (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1392 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:26:25 +00:00
Chris Allegretta
1a128afdb2 - nano.c:window_init() - Fix leaking *WINDOWs (no pun intended) (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1391 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:15:56 +00:00
Chris Allegretta
54c1f7932c - files.c:open_file() - Fix FD leak with file load error (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1390 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:11:09 +00:00
Chris Allegretta
149781d827 - cut.c:do_cut_text() - Fix incorrect cursor location when cutting long lines (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1389 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 03:54:00 +00:00
Chris Allegretta
0e86e60653 - Changed some translatable debug messages to use %s instead of the function name, and removed gettext from two strings that had no actual words in them that should be translated. Suggested originally by Christian Rose
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-23 04:27:23 +00:00
Chris Allegretta
f22e8bf775 - nanorc.sample: - Change comment to say magenta instead of purple
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1386 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-23 01:21:26 +00:00
Chris Allegretta
3bbc416a73 - winio.c:bottombars() - Change strcpy of gettext() Up string to strncpy of max width 8, to stop stupid strcpy crash
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1385 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-23 00:46:12 +00:00
Chris Allegretta
36fec72f6a nano.c:usage() - Revamp -H option message to fit in 80 column terminal
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1383 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-22 01:13:25 +00:00
Chris Allegretta
3d459ad83d nano.c:main() - Call load_file with arg 0 for insert, as we aren't really doing an insert, allows new_file() to run if we open a non-file at startup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1382 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-22 01:09:40 +00:00
Jordi Mallach
eeb500428d i18n fixes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-18 22:42:34 +00:00
Chris Allegretta
f89d698293 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1378 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 22:31:25 +00:00
Chris Allegretta
d46f544758 Commit release notes, final preps for release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1375 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 21:47:33 +00:00
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
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