Chris Allegretta
|
0567bfe14c
|
files.c:add_open_file() - Get rid of unsetting MARK_ISSET because otherwise writing marked text will automatically unset the marker with multibuffer enabled
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@894 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-28 14:42:18 +00:00 |
Chris Allegretta
|
3a24f3f780
|
Changed header comments to say "version 2" instead of "version 1" as the COPYING file is actually version 2 of the GPL (bug noticed by Jordi Mallach)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@873 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-24 11:33:54 +00:00 |
Chris Allegretta
|
fa0c6963ce
|
Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again, this was causing nasty errors if the call to nrealloc moved where the data was located
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-22 23:22:19 +00:00 |
Chris Allegretta
|
b3655b4c5e
|
DLR's cut and miscellaneous fixes, my cut fixes, and context-sensitive help, woohoo
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@864 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-22 03:15:31 +00:00 |
Chris Allegretta
|
76e291beee
|
Added conversion messages for DOS and Mac files, and Alt-space as do-previous-word
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@858 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-14 19:05:10 +00:00 |
Chris Allegretta
|
1b3381bee8
|
Initialize totsize in files.c:new_file() and let do_gotopos keep current position when invoking the alternate speller (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@799 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-28 21:59:01 +00:00 |
Chris Allegretta
|
352801cf4c
|
Fix brace error with nano-tiny in do_writeout()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-28 19:42:41 +00:00 |
Chris Allegretta
|
9519eb0c88
|
- files.c: do_writeout() - Expanded strings to not use %s and ?: to determine write/append string to be nice to translators
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@791 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-27 20:46:25 +00:00 |
Chris Allegretta
|
ce78c1eb88
|
DLR's latest fixes for the tabcomp code and keys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@783 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-23 01:18:03 +00:00 |
Chris Allegretta
|
0319176f2d
|
More Mac file fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@777 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 06:38:38 +00:00 |
Chris Allegretta
|
960a8635bc
|
Oops, another Mac fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 05:08:12 +00:00 |
Chris Allegretta
|
8fa1e28681
|
Added mac file support too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@774 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 04:20:25 +00:00 |
Chris Allegretta
|
7004c289f8
|
-D cmdline flag for DOS formatted files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@773 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 00:42:10 +00:00 |
Chris Allegretta
|
91841895e0
|
Code to read/write dos formatted files. Massive amounts of new code in read_line and write_file. New flag DOS_FILE
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@771 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-21 02:37:01 +00:00 |
Chris Allegretta
|
e1f1452eb5
|
General: - New flag -o, --operatingdir, similar to Pico's -o mode. New function check_operating_dir(), changes to load_file (arg), open_file_dup_search (arg), new function do_gotopos for -F.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@767 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-19 03:19:43 +00:00 |
Chris Allegretta
|
e642197ff7
|
new_file() and close_open_file() fixes by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@735 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-07-18 01:03:36 +00:00 |
Chris Allegretta
|
5cce53b5a8
|
do_writeout() - Check for open_files == NULL before using it (Ryan Krebs)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@734 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-07-17 10:42:50 +00:00 |
Chris Allegretta
|
355fbe5770
|
Moved --loadoninsert to --multibuffer and -F, --enable-extra defines --enable-multibuffer
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@727 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-07-14 19:32:47 +00:00 |
Chris Allegretta
|
2d7893d086
|
Added multi buffer (load on insert) code. This wont intoduce any bugs ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@722 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-07-11 02:08:33 +00:00 |
Chris Allegretta
|
a2c02e9c8d
|
do_browser() - More Picoish keystrokes for the browser, ^P, ^N, etc, for up, down, etc, and add the consistent ^C to exit (Jim Knoble)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@710 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-07-02 01:31:44 +00:00 |
Chris Allegretta
|
1a8b296adf
|
write_file() - Increment lineswritten when the very last line isn't null. Fixes off by one count when writing selection to file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-06-30 18:41:08 +00:00 |
Chris Allegretta
|
500b5e3539
|
do_cut_text(): Moved the case of current == mark_beginbuf into cut_marke segment, so do_writeout could call it when writing selection to file. Added some NANO_SMALL ifdefs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@689 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-06-21 23:58:47 +00:00 |
Chris Allegretta
|
0241d19e4c
|
Ugh, sigh
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-06-05 23:45:54 +00:00 |
Chris Allegretta
|
ecc3d7f39e
|
write_file() - New arg, nonamechange, means whether or not to update the current filename after writing the file out.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@677 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-06-05 23:24:55 +00:00 |
Chris Allegretta
|
d21195f882
|
Oops\! Don't automatically assume the current filename when writing a selection to file, very bad\!\!\!
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-06-05 22:57:43 +00:00 |
Chris Allegretta
|
cc197ef0ea
|
Added selection write to file and append codes, main changes to files.c stuff, new shortcut list for inserting files, new args to do_writeout and write_file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@672 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-29 04:21:44 +00:00 |
Chris Allegretta
|
d46156258b
|
do_browser() - Don't shift the size of the file is it's less than 1K. Fixed files less than 1K being displayed as 0B (Rocco)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-23 21:54:47 +00:00 |
Chris Allegretta
|
6fe61499e8
|
All the updates that I've been waiting all weekend to commit, no desc, tough
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-21 12:56:25 +00:00 |
Chris Allegretta
|
88b091510b
|
Changed all string allocations to charalloc(), new function designed to take nmalloc argument but call calloc based on (char *) size.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@661 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-17 11:35:43 +00:00 |
Chris Allegretta
|
b10283c4e8
|
Move down current shortcut assignment into loop in browser code to keep it updated
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@643 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-07 12:08:37 +00:00 |
Chris Allegretta
|
f3fde7c2fc
|
Fix not being able to select last item in browser with mouse
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@642 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-06 03:02:21 +00:00 |
Chris Allegretta
|
051fc6e05a
|
Added file clicking ability in file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@640 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-05 23:17:36 +00:00 |
Chris Allegretta
|
88520c93be
|
Various spelling updates by David Lawrence Ramsey
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@639 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-05-05 17:45:54 +00:00 |
Chris Allegretta
|
8ce2413feb
|
Add color changes, undocumented and ugly, but hey maybe people want to see what chap I wrote so far
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-04-30 11:28:46 +00:00 |
Chris Allegretta
|
6efda54a6c
|
Move config.h up in include lists and remove actual_x inline tag
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@616 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-04-28 18:03:52 +00:00 |
Rocco Corsi
|
12f294c651
|
"Goto Directory" added and minor fixes in the browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-04-14 06:50:24 +00:00 |
Chris Allegretta
|
6b58acd377
|
More mouse integration, esp with the shortcut lists
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@593 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-04-12 03:01:53 +00:00 |
Chris Allegretta
|
60c65424c3
|
Oops, stray parenthesis when PATH_MAX isn't defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-04-03 14:26:35 +00:00 |
Chris Allegretta
|
90d307413b
|
More browser and misc fixes by Matthias Andree that Chris screwed around with
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@585 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-04-03 01:02:38 +00:00 |
Chris Allegretta
|
0876dc9860
|
Change some lstats to stats, check file via lstat first, then stat() if it's a link in the browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-03-28 13:04:08 +00:00 |
Chris Allegretta
|
49805175e3
|
files.c:diralphasort() - Changed stat calls to lstat to stop abort on symlinks, otherwise return 0. (Matthias Andree, fixes bug #58)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@578 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-03-28 02:14:28 +00:00 |
Chris Allegretta
|
55493c2052
|
Im an idiot, that could easily screw up --included-gettext. Rolled back libintl.h check
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-03-18 18:55:06 +00:00 |
Chris Allegretta
|
4aa302fe4a
|
aclocal.m4 check change, added explicit check for libintl.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@567 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-03-18 18:50:04 +00:00 |
Chris Allegretta
|
a711f7e638
|
username_tab_completion() - Removed redundant conditional (Rocco)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@504 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-23 04:16:31 +00:00 |
Chris Allegretta
|
2c2c5f2156
|
username_tab_completion: rewritten using getpwent
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-23 03:27:31 +00:00 |
Chris Allegretta
|
e5e4d49316
|
Rocco's groovy fixes to real_dir_from_tilde
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-23 03:09:15 +00:00 |
Chris Allegretta
|
ee733e6d4c
|
real_dir_from_tilde() - Rewritten using getpwent (suggected by Adam)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@498 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-22 22:17:08 +00:00 |
Chris Allegretta
|
8d9b11a847
|
username_tab_completion(): - Optimization and removal of useless vars (Rocco).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@491 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-19 04:17:24 +00:00 |
Chris Allegretta
|
0fc2b81df8
|
write_file(): Don't free() realname on write error
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@490 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-18 15:04:20 +00:00 |
Chris Allegretta
|
4058709e0b
|
input_tab(): Added memset() to matchBuf to ensure sanity (Rocco, Adam).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@484 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-16 04:45:38 +00:00 |
Chris Allegretta
|
51dd32fb4e
|
Changed null out at end of matchBuf from NULL to 0
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@483 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-16 04:20:08 +00:00 |
Chris Allegretta
|
b4c43683a5
|
input_tab(): - Added null end of matchBuf for sanity (Rocco).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@479 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-15 17:22:27 +00:00 |
Chris Allegretta
|
a35ec048d7
|
files.c:cwd_tab_completion(), input_tab(): Changed bare malloc/calloc calls to nmalloc (found by Rocco).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@478 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-15 02:26:12 +00:00 |
Rocco Corsi
|
af5c302b48
|
Move #ifndef cleanups. Some HELP and SPELLER #ifndef additions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-12 07:51:05 +00:00 |
Rocco Corsi
|
06aca1cc9e
|
Rolled back DISABLE_TABCOMP and NANO_SMALL changes from earlier today
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-11 05:30:31 +00:00 |
Chris Allegretta
|
a4d6d1df37
|
Add check for tiny option in #ifdefs for DISABLE_TABCOMP code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@468 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-10 23:44:10 +00:00 |
Chris Allegretta
|
8eac3b5069
|
do_browser() - added space and - keys for page down and up
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@464 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-08 21:14:04 +00:00 |
Chris Allegretta
|
bf69261597
|
real_dir_from_tilde(): ops, fix case where buf =~, silly crash
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@463 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-08 16:59:19 +00:00 |
Chris Allegretta
|
3f583165c4
|
Oops, take out my debugging code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-07 05:51:28 +00:00 |
Chris Allegretta
|
e1ebaf3821
|
do_writeout() takes an arg now, and mallocstrcpy now gives up if src == dest
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-07 05:50:36 +00:00 |
Chris Allegretta
|
c08f50d9de
|
Back to the drawing board, old keypad code, dont slightly better
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-06 18:12:43 +00:00 |
Chris Allegretta
|
816a165b4b
|
Fixes for dir crash by rocco and exit called on insert file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@451 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-06 17:43:56 +00:00 |
Chris Allegretta
|
150469a646
|
Added do_browse_from(), called from do_writeout and do_insert, changed mallocstrcpy to *char
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-05 21:13:14 +00:00 |
Chris Allegretta
|
544347c08a
|
Oops, stop freeing stuff we can't necessarily free
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@449 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-05 14:31:52 +00:00 |
Chris Allegretta
|
6636dc3181
|
Changed ENABLE_BROWSER to DISABLE_BROWSER, tiny build now doesn't build browser either
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@448 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-05 05:41:07 +00:00 |
Chris Allegretta
|
123e5e66d3
|
Don't free realname when exiting do_browser in insert_file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@446 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 22:05:47 +00:00 |
Chris Allegretta
|
ba8edea860
|
Accept s and S silently to selected a file/dir
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 05:22:46 +00:00 |
Chris Allegretta
|
b0f5282de2
|
Fix segfault when width == 0
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@442 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 05:20:23 +00:00 |
Chris Allegretta
|
fe41584102
|
Make functions return themselves when do_browser() aborts
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 05:08:37 +00:00 |
Chris Allegretta
|
0e9d3c6c28
|
Commented file browser code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 04:59:17 +00:00 |
Chris Allegretta
|
6e82741931
|
Added fkey equivs to browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 04:41:08 +00:00 |
Chris Allegretta
|
f0999a18f0
|
use lstat instead of stat in filestat, so we can check for if the file is a symlink in the browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 02:49:56 +00:00 |
Chris Allegretta
|
63c8ab94fb
|
Tadaa. Keypad issue fixed. It was the stupid timeout(0) call. UGH
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-04 02:33:52 +00:00 |
Chris Allegretta
|
425a266a92
|
Some better page up/down fixes, added keypad_on() call for now
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-03 15:09:27 +00:00 |
Chris Allegretta
|
f4b9601c1b
|
First try at browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-03 07:11:47 +00:00 |
Rocco Corsi
|
8b6cccc5cc
|
TAB-TAB completion segfaulting with more than 2048 files fixed. (Rocco)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-01-02 06:21:07 +00:00 |
Chris Allegretta
|
ee289d7a2b
|
Don't skip . and .. in cwd_tab_completion()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-27 16:12:47 +00:00 |
Chris Allegretta
|
3a7c0bee6b
|
Fix segfault when read_file encounters an error opening the file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-18 01:09:07 +00:00 |
Chris Allegretta
|
1a6e904583
|
Rid nano of PATH_MAX\!
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-14 13:56:28 +00:00 |
Chris Allegretta
|
b04a98dc86
|
Use MAX_PATH in write_file strncpy (for now) instead of 132
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-14 13:24:08 +00:00 |
Chris Allegretta
|
7960dcf919
|
Removed unneeded st2 var, don't open device files in open_file()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-13 15:01:29 +00:00 |
Chris Allegretta
|
544d9b0210
|
Update comment in write_file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-11 02:47:13 +00:00 |
Chris Allegretta
|
1cd506612d
|
Remove useless fstat call
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-11 02:47:12 +00:00 |
Chris Allegretta
|
321590a59d
|
More totsize fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@402 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-10 06:03:40 +00:00 |
Chris Allegretta
|
f597777323
|
Remove the append check we just added :>
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@398 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-09 23:58:41 +00:00 |
Chris Allegretta
|
d62614cbc4
|
Let's just copy joe word for word and just change the name to nano!!!!
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-09 23:37:00 +00:00 |
Chris Allegretta
|
33084397dd
|
More fun security crap
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@396 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-09 22:50:38 +00:00 |
Chris Allegretta
|
da13f0b45c
|
Oops, misplaced comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@391 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-06 05:59:31 +00:00 |
Chris Allegretta
|
1bd0ce2832
|
Okay, now the permissions should be fixed too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@390 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-06 05:56:08 +00:00 |
Chris Allegretta
|
b5bb24c949
|
Commented the code that got us into this mess in the first place 9 releases ago
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@388 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-06 00:57:54 +00:00 |
Chris Allegretta
|
71e464034d
|
Line up link/unlink/rename check if conditional with top if conditional
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-06 00:40:26 +00:00 |
Chris Allegretta
|
21e3c28af2
|
Oops, get rid of my debugging code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@386 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-05 12:04:16 +00:00 |
Chris Allegretta
|
fb62f73a9a
|
Rocco fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@385 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-05 11:36:41 +00:00 |
Chris Allegretta
|
fb2226a9ae
|
Okay, we'll use O_EXCL also
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@383 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-04 05:25:47 +00:00 |
Chris Allegretta
|
37f627f2f8
|
Oops, we didn't want the latter check because if this is a new file there wont be any previous inodes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@382 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-04 05:19:25 +00:00 |
Chris Allegretta
|
07f9ee059f
|
Okay, forget O_EXCL, do lots of other obscure checks instead =)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@381 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-04 05:15:39 +00:00 |
Chris Allegretta
|
20c131cf67
|
Added tmp check to TMP_OPT section (how apropriate).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@379 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-04 04:20:09 +00:00 |
Chris Allegretta
|
5982849325
|
Added O_EXCL call to open is tmp == 1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@378 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-04 03:31:39 +00:00 |
Chris Allegretta
|
581bc60d0c
|
Okay last time, now if there's any file at all, dont save the .save file. (foolproof? :)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@368 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-03 03:01:12 +00:00 |
Chris Allegretta
|
f7ee9e6996
|
Okay, now abort if the symlink isn't owned by the user, and some mode fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@364 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2000-12-02 21:13:50 +00:00 |