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 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
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
|
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
|
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
|
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
|
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 |
|
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 |
|
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 |
|
Chris Allegretta
|
848f5be64f
|
Change waits to waitpids to lessen the chance of a hang, and fix status check
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1324 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-12-09 05:49:05 +00:00 |
|
Chris Allegretta
|
5ad92ac4f8
|
- nano.c:do_int_speller() - Make internal spell program use sort -f and uniq to create a less redundant word list. [The only reason this is going in during feature freeze is because the int speller is useless as is and should either be improved or removed. I chose improved]
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1323 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-12-09 00:58:51 +00:00 |
|
David Lawrence Ramsey
|
0084eaa9e0
|
documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1317 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-11-04 16:05:42 +00:00 |
|
David Lawrence Ramsey
|
dc60b72e96
|
forward-ported --disable-wrapping-as-root from nano 1.0.x
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1311 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-10-25 16:08:53 +00:00 |
|
Chris Allegretta
|
2a15c584f1
|
Add DLR's --disable-nls to version info
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1307 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-10-25 01:51:13 +00:00 |
|
David Lawrence Ramsey
|
2ab03f6896
|
miscellaneous bug fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1303 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-10-17 02:19:31 +00:00 |
|
Chris Allegretta
|
e42df73644
|
- Disable VSTOP keystroke. Stops people accidentally locking up, nano (suggested by David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1302 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-10-15 00:27:55 +00:00 |
|
Chris Allegretta
|
1dd0bc98a2
|
Remove malloc.h completely and add color synatx highlighting toggle
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1300 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-10-13 18:43:45 +00:00 |
|
David Lawrence Ramsey
|
7c4222ca90
|
make the spacing fix use isspace(); it works the same way and takes up
less space in the binary
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1284 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-26 22:49:56 +00:00 |
|
Chris Allegretta
|
4300092919
|
Newer version of DLR's patch based on DB's tab thing
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1283 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-21 15:41:33 +00:00 |
|
Chris Allegretta
|
81dea02ca7
|
Add DLR's fixes to the wrapping behavior
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1282 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-21 02:19:45 +00:00 |
|
Chris Allegretta
|
67ca2aa874
|
nano.c:do_wrap() - Restore the wrapping behavior to the previous wrapping point behavior (pre 1.1.10) (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1279 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-19 23:19:34 +00:00 |
|
David Lawrence Ramsey
|
e21adfa181
|
David Benbennick's minor fixes, plus one of mine
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1275 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-13 18:14:04 +00:00 |
|
David Lawrence Ramsey
|
ad40fdba59
|
DLR: prototype overhaul, etc.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1270 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-06 20:35:28 +00:00 |
|