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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
David Lawrence Ramsey
|
99519ae375
|
second attempt at ngettext() fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1318 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-11-04 16:12:19 +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
|
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 |
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 |
Chris Allegretta
|
f7c6811e36
|
- Changed do_insertfile to (a) report multibuffer status at the prompt and allowing it to be toggled, taking into account the need to keep the translatable strings, and (b) added a variable inspath to keep track of what the string was before toggling. I'm sure there's bugs, have at it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1269 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-03 22:58:40 +00:00 |
David Lawrence Ramsey
|
0341b58c05
|
DLR: minor bits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1264 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-08-21 16:10:37 +00:00 |
Chris Allegretta
|
d865da108f
|
DLR's latest and greatest
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1256 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-29 23:46:38 +00:00 |
Chris Allegretta
|
dffa207320
|
Everything from DB's patch that makes any sense to me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-24 01:02:26 +00:00 |
Chris Allegretta
|
87104114bd
|
Get rid of annoying init error in read_file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1238 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-21 15:46:48 +00:00 |
Chris Allegretta
|
c4e3d9ed01
|
Another DLR fixin: credits and DOS/Mac compatibility. Also get rid of those colons in ChangeLog after function names
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1237 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-21 15:44:13 +00:00 |
Chris Allegretta
|
cf287c87cd
|
More DLR updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1236 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-20 13:57:41 +00:00 |
Chris Allegretta
|
6df90f5787
|
DLR and DB fixes mega-merge
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1235 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-19 01:08:59 +00:00 |
David Lawrence Ramsey
|
5db0cdc4c9
|
Carl Drinkwater's backup patch, plus miscellaneous fixes by David
Benbennick and me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1225 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-06-28 22:45:14 +00:00 |
David Lawrence Ramsey
|
f21cd10a3f
|
DLR: latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-06-13 00:40:19 +00:00 |
Chris Allegretta
|
6232d6659f
|
DB's latest patch, minus one totsize--. Also fixed a < in help_init that should be <=
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1206 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-12 19:52:15 +00:00 |
Chris Allegretta
|
4dc03d5733
|
DLR's latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1204 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-11 03:04:44 +00:00 |
Chris Allegretta
|
7c27be42d0
|
added an update_color, updated edit_add, i18ned a string and changed some getopt handlers in main to mallocstrcpy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1203 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-05 23:03:54 +00:00 |
Chris Allegretta
|
b6c5dc29ef
|
- Added syntax command to .nanorc file, to allow multiple syntaxes. New function color.c:update_color(), calls in various files.c places, syntaxtype struct, global variables syntaxes, syntaxfile_regexp and synfilematches
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1197 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-04 03:47:33 +00:00 |
Chris Allegretta
|
b275175bef
|
Re-add O_CREAT since I botched the merge, some indentation fixes also, by DB
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1193 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-23 10:22:33 +00:00 |
Chris Allegretta
|
0547eb36c4
|
- General: - Change from read() and write() to file streams by Jay Carlson. Allows OS to implement read and write ahead rather than making us do it. Hopefully merged properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1192 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-22 23:52:34 +00:00 |
Chris Allegretta
|
2542274250
|
Prepend fixes for O_CREAT & append compatibililty by David Benbennick
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1191 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-21 23:15:36 +00:00 |
Chris Allegretta
|
0e9b7aa16d
|
- General: - Preliminary prepend code. This may be a bad idea, but I've been wanting it for awhile now and we'll see how bad it messes everything up. Changes to files.c:do_writeout(), write_file()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1188 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-16 03:15:47 +00:00 |
Chris Allegretta
|
f2387fbdf7
|
- Change to openfilestruct for multibuffer mode by DLR. New functions nano.c:make_new_opennode(), free_openfilestruct(), delete_opennode(), unlink_opennode(), splice_opennode(), new struct openfilestruct in nano.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1173 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-10 02:31:20 +00:00 |
Chris Allegretta
|
7162e3d686
|
DB's latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1170 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-06 05:02:14 +00:00 |
Chris Allegretta
|
77777d4c0d
|
Add David Benbennick's changes to open_pipe() and move it to nano.c, and add his nperror function
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1159 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-29 16:31:29 +00:00 |
Chris Allegretta
|
e373909037
|
- files.c:do_insertfile() - Handle cancel from ExtCmd properly (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1154 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-29 15:06:05 +00:00 |
Chris Allegretta
|
2598c66d81
|
DLR's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1152 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-28 01:59:34 +00:00 |
Chris Allegretta
|
f6cba64376
|
David's fixes for read_file and the assert stuff for renumber
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1147 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-26 13:05:54 +00:00 |
Chris Allegretta
|
bb88ece93c
|
Rocco's mods to open_pipe
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1145 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-25 13:40:39 +00:00 |
Chris Allegretta
|
b23d14460e
|
Redo open_pipe with just pipes and no FIFOs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1138 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-21 23:39:56 +00:00 |