Chris Allegretta
|
564535a6f7
|
- files.c:check_writable_directory() - Stat full_path, not path (Steven Kneizys)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1111 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-06 15:32:17 +00:00 |
|
Chris Allegretta
|
6235a7d6d5
|
Get rid of stupid uninitialized warnings and move nano_dos_msg and nano_mac_msg into NANO_SMALL check
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-27 04:38:32 +00:00 |
|
Chris Allegretta
|
f5de33a6ef
|
- Many malloc() cleanups and files.c tweaks by Steven Kneizys, new functions utils.c:free_shortcutage() (got to love that name\!) & free_toggles(), and big cleanup program thanks_for_all_the_fish() (originally thanks_for_the_memories()). Mods to shortcut_init() by Chris
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1085 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-27 04:14:16 +00:00 |
|
Chris Allegretta
|
48b06708ff
|
Multiple unnamed buffers allowed, multiple filename extensions on die_save_file(), more DLR fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1081 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-22 04:30:50 +00:00 |
|
Chris Allegretta
|
bc72e366d2
|
Added Ken's patch, DLR's latest fixes and a little cleanup to bottombars()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1076 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-16 20:03:44 +00:00 |
|
Chris Allegretta
|
a8c225787b
|
DLR's patch merged, Static toggles and shortcut gone, lots of stuff changed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1073 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-15 19:17:02 +00:00 |
|
Jordi Mallach
|
8ae5789447
|
Updated copyright notices to 2002.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@967 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-04 17:57:40 +00:00 |
|
Chris Allegretta
|
32da456ab0
|
DLR's latest patch: view+multibuffer, die() fixes, insert key fixes in main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@961 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-02 15:12:21 +00:00 |
|
Chris Allegretta
|
64dd95dd75
|
files.c:read_file() - Make conversion message less confusing (suggested by Jordi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@955 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-12-27 20:53:54 +00:00 |
|
Chris Allegretta
|
2084acc37d
|
At LONG last committed David's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@912 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-11-29 03:43:08 +00:00 |
|
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 |
|