blob: 7c1f24c4461765ff04cffad30494786fd657772b [file] [log] [blame]
Chris Allegretta7e080822001-01-08 02:31:03 +00001CVS code -
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +00002General
3 - Changed #ifdefs to check for both DISABLE_TABCOMP and
4 NANO_SMALL, makes tiny option leave out tab completion, which
5 shoudl be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +00006 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
7 back.
8 - Changed nano.h to automatically define 5 DISABLE varibles when
9 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegrettabbebec62001-01-09 00:37:32 +000010- configure.in:
11 - Fix for _use_keypad check breaking slang support (Christian
12 Weisgerber).
Chris Allegretta2c4feca2001-01-09 17:40:56 +000013- faq.html:
14 - Added some info on making the binary smaller with the configure
15 script.
Chris Allegrettabf692612001-01-08 16:59:19 +000016- files.c:
17 real_dir_from_tilde()
18 - Oops, fix case where buf ="~", silly crash (bug discovered by
19 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +000020 do_browser()
21 - Added space and - keys to do page up and down.
Chris Allegretta7e080822001-01-08 02:31:03 +000022
Chris Allegretta16991442001-01-07 22:06:11 +000023nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +000024General -
25 - New file browser code. New functions in files.c:do_browser(),
26 helper functions browser_init(), tail(), striponedir(),
27 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +000028 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +000029 - Keypad code has been changed slightly. Now checks for
30 _use_keypad flag in window to see whether or not to turn
31 the keypad() back off when finished (taken from aumix). Moved
32 to winio.c where it should probably be anyway. New confgure
33 check for _use_keypad in window sstruct. This will have to do
34 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +000035 - Moved keypad() calls for PDCURSES from main() to window_init()
36 so the keypad continues to work after a Meta-X, for example.
37 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +000038- faq.html:
39 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +000040- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +000041 username_tab_completion()
42 - Added the (char *) sizeof when allocating memory for the filename
43 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +000044 cwd_tab_completion()
45 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +000046 - Added the (char *) sizeof when allocating memory for the filename
47 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +000048 do_writeout()
49 - Now takes an argument so the string typed in can be retained
50 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +000051 do_browser()
52 - Don't decrement longest by the length of path. Fixes crashes
53 on entering various dirs (Rocco).
54 - Don't ungetch() the exit key, unneeded, fixes inerting a file
55 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +000056- move.c:
57 page_down()
58 - Don't do an edit_update when there is only one page of text
59 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +000060- nano.c:
61 main()
62 - Reorder the getopt options to be more or less alphabetical
63 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +000064- winio.c:
65 do_cursorpos()
66 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +000067 do_credits()
68 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +000069 titlebar()
70 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +000071 do_help()
72 - Changed way of temporarily bringing up shortcuts at the
73 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +000074- utils.c:
75 mallocstrcpy()
76 - Takes char pointers now instead of void (makes debugging a
77 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +000078 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +000079- es.po:
80 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +000081
Chris Allegretta66149e72000-12-19 02:51:06 +000082nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +000083General
84 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +000085 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +000086 - Changed filename to no longer use PATH_MAX, so it can work on the
87 HURD. Changes in files.c:write_file(), new function
88 nano.c:clear_filename(), many changed in main(), a few other
89 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +000090 - Added -b, -e, and -f flags, which we ignore as nano provides
91 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +000092- cut.c:
93 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +000094 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +000095 - Fix screen not being displayed when we are uncutting marked
96 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +000097 - Fix magic line not getting created when (you guessed it)
98 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +000099- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +0000100 read_file()
101 - If we encounter an error and insert is not set, run new_file().
102 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +0000103 write_file()
104 - Change open call flags, basically copy joe's way of doing it so
105 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +0000106 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +0000107 open_file()
108 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +0000109- nano.c:
110 renumber()
111 - Dont stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000112 main()
113 - Added code to check for Alt-Alt (27-27) keystrokes and set the
114 next keystroke as a control sequence. New variable
115 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
116 around Control-S,Q,Z handlers because we need it now for
117 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +0000118 - Added --view option to getopt_long()call . Bug discovered
119 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +0000120 help_init()
121 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta92325e72000-12-18 03:44:22 +0000122 ^_ in pico mode not be displayed in the help (bug discovered by
123 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +0000124 do_toggle()
125 - Added fix_editbot() call to fix improper redisplay of edit
126 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000127- nano.1, nano.1.html:
128 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +0000129- winio.c
130 do_help()
131 - Force keypad on so F-keys and PageUp/Down will work properly.
132 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +0000133- utils.c:
134 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +0000135 - Increment totsize!! We decrement it when we've read a file,
136 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +0000137
Chris Allegrettab29550e2000-12-09 03:34:12 +0000138nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +0000139General
140 - Changed --disable-spell to --disable speller. The term is
141 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +0000142- files.c:
143 write_file()
Chris Allegretta20c131c2000-12-04 04:20:09 +0000144 - Added tmp check to TMP_OPT section (how apropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +0000145 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +0000146 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +0000147 - We now run check on result of lstat(), not stat(), to be
148 safer. New variable anyexists, we use still use realexists
149 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +0000150 - OOPS, line up link/unlink/rename check if conditional with
151 top if conditional. Option -l has been broken for 9 versions,
152 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +0000153 - Added saving perms at end of link so we can apply them to the
154 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +0000155- winio.c:
156 edit_add()
157 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +0000158 do_replace_highlight()
159 - New code to handle being past COLS (Roco Corsi).
160 - Moved from search.c, as it's definitely a winio function now =)
161 update_line()
162 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +0000163
Chris Allegrettafedd7242000-12-03 03:15:38 +0000164nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +0000165- General
Chris Allegrettabe77c612000-11-24 14:00:16 +0000166 - Username tab completion code, and cleaned up existing tabcomp
167 code. New functions real_dir_from_tide(), append_slash_if_dir(),
168 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +0000169 - Ignore key sequence 543 & 545, right control and alt keys in
170 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +0000171 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
172 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +0000173 - New function nano_disabled_msg(), to alert that certain
174 functions have been disabled, similaer to nano_tiny feature.
175- New configure options:
176 - Added configure argument --disable-tabcomp. Affects
177 bottom of files.c and write_file, utils.c:check_wildcard_match()
178 and winio.c:nanogettsr().
179 - New options --enable-extra. New code in nano.c:version() to
180 print out various options from ./configure, function do_credits().
181 - Added --disable-spell option for those who want to just disable
182 the spell check feature. Affects the spellinf fucntions
183 do_spell, do_int_speller and do_alt_speller.
184 - Added --disable-justify to get rid of the justify function.
185 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +0000186- files.c:
187 write_file()
188 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +0000189 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +0000190 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +0000191 - Added call to real_name_from tilde, oops. Added check for
192 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +0000193 read_file()
194 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +0000195- global.c:
196 shortcut_init()
197 - Now takes an argument as to whether to display the unjustify
198 shortcut or the normal uncut text one. Needed to accomodate
199 the klugey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +0000200- nano.1, nano.1.html:
201 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +0000202 - Added "NOTES" section, where I explain what nano.save & friends
203 are.
204 - Added a copyright notice for the manpage, under the GPL.
205 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +0000206- nano.c:
207 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +0000208 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
209 text there, then grabs the next keystroke and, if the unjustify
210 key, gets rid of the justified text and calls do_uncut_text.
211 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000212 do_int_spell*
213 - Various fixes (Rocco Corsi).
214 - Changed abort of program to aborting based on value of "edit a
215 replacement" question, and not caring about the replace loop
216 return value. That way the user can get out of the replace loop
217 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +0000218 version()
219 - Took out huge check for the various --disabled macros,
220 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +0000221 nano_small_msg(), nano_disabled_msg()
222 - Added checks for disabled functions to see whether or not to
223 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +0000224 do_next_word()
225 - Update the previous line as well as the current one in case we
226 have moved beyond COLS or back from COLS, patch submitted
227 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +0000228 die()
229 - Now creates .save file using variable-length strings. Also
230 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +0000231 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +0000232 handle_sighup()
233 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000234- search.c:
235 do_replace_hilight()
236 - New function, displays the currently selected word as hilighted
237 in the spell check. Called from do_replace_loop (Rocco Corsi).
238 - Added calls to curs_set(0) and (1) to diable the cursor when
239 hilighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +0000240- es.po:
241 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +0000242
Chris Allegrettaca7a21d2000-11-24 01:35:40 +0000243nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +0000244- AUTHORS
245 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +0000246- nano.c:
247 main()
248 - Changed check for argc == 1 to argv[optind] == NULL to decide
249 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +0000250- search.c:
251 findnextstr()
Chris Allegretta1cc29f62000-11-20 01:29:37 +0000252 - Fix curent_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +0000253 search_init()
254 - Silly typo in our "one simple call" of statusq. Stopped
255 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +0000256 do_replace()
257 - Copy back the previous value of last_replace into answer if
258 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +0000259- winio.c:
260 do_up()
261 - Deleted first update_line() call, screws up display when marker is set.
Chris Allegrettad466ab72000-11-19 20:36:41 +0000262- nano.1, nano.1.html
263 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +0000264
Chris Allegretta6da149a2000-11-19 02:23:03 +0000265nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +0000266- General
267 - Ran source through indent -kr again. Make everything pretty.
268 - Changed behavior of "search" and "replace" prompts to make all
269 previous values editable. This change was made so that you can
270 replace with the null string without needing a special key for it.
271 changed code in search_init(), do_replace(), nanogetstr (see
272 below).
273 - Added some missing gettext calls here and there (Jordi).
274 - Revamped nanogetsr() and calls to it to use variable length strings.
275 MANY changes in nanogetstr(), many chances in search.c, new
276 function mallocstrcpy which is sure to be a programmatic
277 nightmare, changed last_search, last_replace, answer to
278 pointers. New function not_found_msg in search.c for displaying
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +0000279 truncated strings in satusbar when the string is not found
280 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +0000281 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +0000282 - New spelling code by Rocco Corsi. New functions
283 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
284 New functions search_init_globals and do_replace_loop, changes
285 to search_init(), do_replace, findnextstr, moved last_search and
286 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +0000287 - New tab completion code. Used check_wildcard_match, input_tab,
288 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +0000289 hacked them a lot, changes to nanogetstr(). nanogetstr() and
290 statusq() now take an arg for whether or not to allow tab
291 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +0000292 - Fixed value being input in statusbar during a search or replace
293 and CASE_SENSITIVE or the other search is called and the
294 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +0000295 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
296 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +0000297- files.c:
298 do_writeout()
299 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +0000300- global.c
Chris Allegretta105da332000-10-31 05:10:10 +0000301 - New global replace_list_2, for 2nd half of the replace dialog
302 ("Replace with:"), has fewer options than first half because
303 they were inapropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +0000304 toggle_init()
305 - Added #ifdef around toggle_regex_msg to get rid of compiler
306 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +0000307
308- nano.c:
309 keypad_on()
310 - New function, toggles turning the keypad on and off in edit and
311 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000312- search.c
313 findnexstr()
314 - New arg for begin_x variable, basically a rewrite that
315 makes a little more sense and isn't quite as messy (Rocco Corsi).
316 - Update the line we're checking if not the whole screen, because
317 it's quite possible the search team could exist somewhere way
318 to the right on the same line, for example.
319 replace_abort()
320 - Add reset of placewewant, stops cursor from jumping when moving
321 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +0000322 do_replace()
323 - Added code for Gotoline key after entering the search term.
324 Fixes bug #46.
Chris Allegretta9c371a22000-10-27 05:48:05 +0000325 - Removed redundant code involving processing replacemenet string.
326 Converted if statements to switch statements.
327 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +0000328 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +0000329 do_search()
330 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +0000331- winio.c
332 nanogetstr()
333 - Added check for 343 in while loop to get rid of getting "locked"
334 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +0000335 - Changed check to return -2 on "enter" from answer == ""
336 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +0000337 - Fixed fallthrough code because there was no break. Make much
338 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +0000339 - Added check for ASCII 54[124] when using PDCURSES, ignore them
340 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000341 nanoget_repaint()
342 - New function, removes about 30 lines of duplicate code in
343 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +0000344 - Black magic code to make $ appear in prompt if we're past
345 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +0000346 blank_edit()
347 - Removed wrefresh() call, much less choppy now. If there's a need
348 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +0000349- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +0000350 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +0000351
Chris Allegretta07e97d62000-10-03 01:52:50 +0000352nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +0000353- General
354 - Added PDCurses support under cygwin, which allows building
355 a nice stand-alone nano.exe for those poor Windows users.
356 Extra check in configure.in for initscr() in -lcurses (as
357 PDcurses has no tgetent), some #ifdef PDCURSES statements
358 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +0000359 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +0000360- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +0000361 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +0000362 main()
363 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +0000364- search.c
365 - Added initializations for last_search and last_replace (Rocco Corsi)
366
Chris Allegretta629edad2000-09-19 00:27:19 +0000367nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +0000368- General
369 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
370 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +0000371- configure.in:
372 - Added default case for cross-compiling to get rid of annoying
373 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +0000374- cut.c:
375 do_cut_text()
376 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +0000377 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +0000378- files.c:
379 open_file()
380 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +0000381- global.c:
382 shortcut_init()
383 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +0000384- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +0000385 main()
Chris Allegretta9239d742000-09-06 15:19:18 +0000386 - Added check for _POSIX_VDISABLE and use raw mode if not
387 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +0000388 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +0000389 - Revamped a great deal of the F-key and keypad key handling,
390 because we not longer use keypad() (see below).
391 - Removed keypad() call because nano was not working with the
392 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +0000393 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +0000394 do_toggle()
395 - Rewrote function to allow NOHELP toggle to wotk on systems
396 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +0000397 mouse_init()
398 - Add keypad only if mouse support is on, otherwise mouse doesn't
399 work. I guess you have to choose between having the mouse and
400 having a working keypad for the time being (thank god for Meta-m).
Chris Allegretta2a42af12000-09-12 23:02:49 +0000401- winio.c:
402 total_refresh()
403 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +0000404 onekey()
405 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +0000406
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +0000407- search.c:
408 findnextstr()
409 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +0000410- es.po:
411 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +0000412- de.po
413 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +0000414
Chris Allegretta423cbfd2000-09-04 16:21:29 +0000415nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +0000416- General
417 - New shortcuts to toggle certain options that are normally only
418 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
419 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +0000420 called from shortcut_init(), and do_toggle in nano.c. Also
421 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +0000422 signal_init(). Moved "struct sigaction act"into a static in
423 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +0000424 - Changed from Alt-key symbol (@) which is completely nonstandard
425 to the *nix "Meta" symbol (M-). Changed help_init to show
426 the M-key usage and the help text to explain keys whcih generate
427 Meta. Moved the toggle Meta keystrokes to the first column
428 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +0000429 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +0000430 - Changed last_search and last_replace vars to statically
431 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +0000432- global.c:
433 toggle_init()
434 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
435 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +0000436- nano.c:
437 do_mouse()
438 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +0000439 do_wrap()
440 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +0000441 do_toggle()
442 - Added checks for no help and no wrap mode, and print opposite
443 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +0000444 do_suspend(), do_cont():
445 - New functions, handle suspend signal in a Pico-like manner and
446 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +0000447- winio.c:
448 total_refresh()
449 - Added edit_refresh() call to actually update the screen if messy.
450 edit_refresh_clearok()
451 - New function, does a total update for edit refresh, needed to fix
452 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +0000453 onekey()
454 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +0000455
Chris Allegretta6306a112000-09-02 07:55:41 +0000456 update_line()
457 - Added check for binary data >= 1 and <= 26, and use ^+letter
458 to display it. Should fix editing text files with binary
459 data in them. Placing of the cursor seems to be a bit screwed
460 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +0000461- search.c:
462 search_abort()
463 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
464 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +0000465 findnextstr():
466 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +0000467 - Fixed check for string that only occurs on the same line failing
468 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +0000469
Chris Allegrettaba96f7a2000-08-09 21:38:28 +0000470nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +0000471- cut.c:
472 do_cut_text()
473 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +0000474 - Added check_statblank().
475 - Check for fileptr == filebot, if so return, we shouldn't bother
476 cutting the magic line.
477 do_uncut_text()
478 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +0000479- nano.c:
480 main()
481 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +0000482- po/Makefile.in.in:
483 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
484 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +0000485- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +0000486 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +0000487
Chris Allegretta0bf4e142000-08-04 02:42:04 +0000488nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +0000489- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
490 Affects many many functions. Removed functions edit_update_top and
491 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +0000492- Added global variable tabsize, we no longer screw with the curses
493 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +0000494- configure.in:
495 - Finally fixed check for slang to report "no" if not called
496 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +0000497- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +0000498 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +0000499 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +0000500 null_at()
501 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +0000502 delete_buffer()
503 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +0000504 do_backspace()
505 - Now calls page_up_center instead of page_up (as it should?)
506 do_enter()
507 - Fixed typo (?) in check for inptr->next. Caused lots of
508 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +0000509 main()
510 - Removed now useless usrtabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +0000511- search.c:
512 replace_abort()
513 - redundant, now just calls search abort until it does something
514 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +0000515- winio.c:
516 edit_refresh()
517 - Added check for current line "running" off the screen.
518 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +0000519 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +0000520 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +0000521 edit_update()
522 - Rewritten, hopefully this will remove a lot of the
523 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +0000524- move.c:
525 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +0000526 - do an edit_update() at last case. Made function more like
527 Pico's version, only move down to two lines before editbot.
528 page_up()
529 - Made function more like Pico's version, only move down to two
530 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +0000531
Chris Allegrettaa1a55c72000-07-28 00:36:03 +0000532nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +0000533- nano.h:
534 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
535- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +0000536 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +0000537 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +0000538 - Simplified check for freeing cutbuffer. Added checks for doing
539 multiple cuts with -k, now sets marked_cut to 2 for later
540 processing by do_uncut_text().
541 do_uncut_text()
542 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +0000543- files.c:
544 write_file()
545 - Removed (redundant) check for writing out files with -t.
546 do_writeout()
547 - Changed check for filename to filename[0]. Added some code,
548 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +0000549- nano.c:
550 do_justify() & do_wrap():
551 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +0000552- de.po
553 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +0000554
Chris Allegretta1d7110d2000-07-23 16:59:07 +0000555nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +0000556- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +0000557 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
558 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +0000559- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
560 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +0000561- move.c
562 page_down()
563 - Don't edit_refresh() if the bottom of the file is in the edit
564 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +0000565- nano.c:
566 main():
567 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +0000568 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +0000569 die():
570 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +0000571 do_spell():
572 - Changed exit semantincs a bit so that aspell wouldn't get
573 all screwy (bug disovered by Joshua Jensen.
574- files.c:
575 read_file():
576 - Added init of buf variable, hopefully this will stop the
577 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +0000578 write_file():
579 - Added code to check to see if using -l and the file is not
580 in fact a link. This should fix the behavior where a file
581 that does not have write permission but could be removed and
582 rewritten is saved without error. Please test this feature
583 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +0000584- search.c:
585 search_init():
586 - Added " (to replace)" statement to end of search string if
587 we are doing a replace. Manually converted all the translations
588 from '%s' to '%s%s' to ensure they still work with the new code.
589 Also put in the translation for " (replace)" in the .po's. Hope
590 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +0000591 do_search(), do_replace():
592 - Removed call to search_abort()/replace_abort() before call to
593 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +0000594 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +0000595 findnextstr()
596 - do not center string found if it is currently visable. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +0000597- fr.po:
598 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +0000599- es.po:
600 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +0000601
Chris Allegrettae955dae2000-07-07 22:24:59 +0000602nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +0000603- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +0000604 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
605 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
606 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +0000607 search_init() and do_replace() and strstrwrapper().
608 - Added _POSIX_VERSION check to regexp code. Better than nothing
609 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +0000610 - Made search functions & keys more like Pico. Added goto line from
611 search and replace function, changed wording to "No Replace" instead
612 of "To Search", "To Replace" to simply "Replace", and changed to
613 Pico's keystroke by default, ^R. Affects search_init(),
614 do_search() in search.c, globals in nano.h and
615 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +0000616 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +0000617- cut.c
618 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +0000619- files.c:
620 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +0000621 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +0000622- nano.c:
623 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +0000624 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
625 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +0000626 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +0000627 - Corrected FIXME in do_enter with explanation. (Rob)
628 - Fixed FIXME in do_justify, resulted in creation of
629 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +0000630 help_init():
631 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +0000632 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +0000633 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +0000634 do_backspace(), do_delete():
635 - Added magic line code here too.
636
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +0000637- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +0000638 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +0000639- fi.po:
640 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +0000641- utils.c:
642 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +0000643- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +0000644 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +0000645 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +0000646 do_yesno(), nanogetstr():
647 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +0000648 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
649 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +0000650 clear_bottomwin():
651 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +0000652 edit_update_top():
653 - Fixed a bug that caused nano to not update when
654 current->next == NULL (e.g. paging down to the very bottom of
655 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +0000656 fix_editbot:
657 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +0000658 edit_add:
659 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +0000660
Chris Allegretta4da1fc62000-06-21 03:00:43 +0000661nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +0000662- New flag "-T" or "--tabsize" to specify how to display tab widths.
663 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
664 winio.c, and nano.h. Many harcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +0000665 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +0000666- id.po:
667 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +0000668- es.po:
669 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +0000670- winio.c
671 - Rewrite of display functions to correct the display problems
672 we had been seeing. Affects: add_marked_sameline, edit_add,
673 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +0000674 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +0000675 total_refresh():
676 - Cut dispaly_main_list call, as this function is only supposed to refresh
677 what's already on the screen, not go through the process of adding the
678 text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +0000679- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +0000680 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +0000681- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +0000682 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +0000683 - Removed editwineob, as it was redundant for (editwinrows - 1).
684 Changed all calls to editwinrows - 1 in nano.c and move.c.
685 - Removed all functions that were split into other files.
686 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +0000687 do_enter():
688 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +0000689 do_insertfile():
690 - Fix display problem when using ctrl-r to load a file
691 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +0000692 handle_sigwinch():
693 - Added titlebar(), edit_refresh() and display_main_list() calls because
694 a resize wasn't picking up on possible different width correctly.
695- utils.c:
696 - Moved nmalloc() and nrealloc() here.
697- move.c:
698 - New file, contains movement functions (like do_home(), do_up(),
699 do_down(), page_up(), etc...).
700- files.c:
701 - Contains functions for files (read_file, insert_file,
702 do_writeout(), etc).
703- search.c:
704 - Contains all our searching and related functions, (do_search(),
705 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +0000706
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000707nano-0.9.10 - 06/04/2000
708- es.po:
709 - Translation updates (Jordi).
710- AUTHORS, nano.1.html, TODO, README:
711 - Documentation and email address updates (Jordi).
712- nano.c:
713 main():
714 - Moved Adam's termio code down to after getopt() and before initscr()
715 to stop people losing their SIGINT character when using args that
716 exit nano before it runs (--version, --help, etc).
717
718nano-0.9.9 - 05/31/2000
719- Makeile.am:
720 - Added proper lines for defining LOCALEDIR.
721- configure.in:
722 - Spelling fixes (Jordi Mallach)
723 - Removed CFLAGS changes for gcc, reduces portability according to
724 some, and it certainly doesn't seem to decrease exe size.
725- es.po:
726 - Spanish ranslation updates (Jordi Mallach)
727- POTFILES.in:
728 - Added global.c file, was screwing up translations (i.e. they
729 weren't getting done).
730- cut.c:
731 add_to_cutbuffer():
732 - Added totsize increment.
733 - Cut fixes and optimizations (Rob Siemborski).
734 do_uncut_text():
735 - Added totsize increment in several places.
736- nano.c:
737 headers:
738 - Removed LOCALEDIR define.
739 do_justify():
740 - Added edit_refresh() call (bug discovered by Adam).
741 page_down_center():
742 - Added call to edit_update(current) for last case. Removed
743 increment of current_y since it's now just wasteful.
744 do_enter():
745 - Added totsize increment.
746 renumber(), renumber_all():
747 - Removed totsize-- and totsize init in renumber_all.
748 do_mouse():
749 - Added edit_refresh() call to show hilight updates. Removed
750 unnecessary wrefresh(edit).
751 main():
752 - Moved up locale calls so that translated --help messages would
753 actually get translated.
754 do_backspace(), do_delete():
755 - Added decrement of totsize.
756 init_help_msg():
757 - New function, initializes help text if NANO_SMALL isn't set (fixes
758 broken i18n).
759 read_file():
760 - malloc call changed to nmalloc (Rob Siemborski).
761- winio.c:
762 total_refresh():
763 - Completely rewrote function, not quite so braindamaged now.
764
765nano-0.9.8 - 05/18/2000
766- nano.c:
767 main():
768 - Added awesome code that disables the CINTR and CQUIT
769 character (Adam Rogoyski). Removed raw()/noraw() calls so that
770 nano gets input in 'normal' mode, which is the Right Way(tm) to
771 do it. ^S, ^Z and ^Q now work properly as a result, as well as
772 ^C. New variable term, global bariable oldterm to save previous
773 term settings, and changes to finish() and die().
774 - Added extra #ifdefs in getopt code, so that above code and
775 flag init is run even if GETOPT_LONG is not #defined.
776 - Added memset line before sigactions. (Adam Rogoyski)
777 do_suspend():
778 Removed function, see above for why.
779- winio.c:
780 update_line(), center_cursor():
781 - Removed wrefresh(edit) from bottom of functions. wrefresh
782 should now only be called once, at the bottom of the main()
783 loop.
784- global.c:
785 shortcut_init():
786 - Removed suspend sc_init call and suspend message because suspend is no
787 longer needed in the shortcut list to work properly.
788
789nano-0.9.7 - 05/14/2000
790- nano.c:
791 do_home(), do_end():
792 - Added calls to update_line for the current line, fixes
793 lack of update (bug discovered by Alberto García).
794 main():
795 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
796 following symlinks even when -l isn't set, and "no changes"
797 error when nano is called from crontab -e (Adam Rogoyski).
798- cut.c:
799 do_cut_text():
800 - Added edit_update_top to cut when mark is set, fixes lack of
801 display update (bug discovered by Ken Tyler).
802
803nano-0.9.6 - 05/08/2000
804- New Italian translation (it.po), by Daniele Medri.
805- nano.c:
806 page_up(), page_down():
807 - Added reset of placewewant to 0, as it should be.
808 do_up(), do_down():
809 - Added call to update_line() for line we move from and line we
810 move to, in order to keep the highlighting correct.
811 do_wrap():
812 - Added var chop, new code to wrap lines more like Pico, mostly.
813 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
814- winio.c:
815 do_help():
816 - Added edit_refresh() before exit.
817 update_cursor():
818 - Removed cursor updating which really wasn't needed anyway.
819 edit_update():
820 - Removed yucky code that didn't work, this function now just
821 computes edittop and editbot and calls edit_refresh() to do the
822 rest, which removes a lot of dupliicate code..
823
824nano-0.9.5 - 05/01/2000
825- Removed bytes from file struct because it was computationally wasteful.
826- cut.c:
827 do_uncut_text():
828 - Added call to edit_refresh().
829- nano.c:
830 do_backspace():
831 - Added reset of editbot when deleting the last line of the file
832 (bug discovered by Adam).
833 do_char():
834 - Removed call to reset_cursor().
835 do_delete():
836 - Added similar check as to do_backspace().
837 do_enter():
838 - Added call to edit_refresh().
839 do_left(), right():
840 - Added call to update_line(), still redundant but better...
841 do_up(), do_down():
842 - Added refresh calls both for current line and line to which
843 we are moving.
844 main():
845 - Removed inefficient call to edit_refresh() after every keystroke.
846 It is now up each function to leave the screen in a good state.
847- winio.c:
848 do_cursorpos()
849 - Rewritten to not use bytes from filestruct by an incremental sum.
850 update_line(), reset_cursor():
851 - Optimized calls to xplustabs() through a single variable.
852 - update_line() now takes a new arg, an index into the string
853 for where to update the line from. Needed for new update
854 code.
855- configure.in:
856 - Better checks for slang, allows argument to --with-slang.
857 (Albert Chin-A-Young)
858 - Removed -Iintl from CFLAGS in gcc check.
859- Makefile.am:
860 - Addition of -Iintl for gettext (Albert Chin-A-Young)
861
862nano-0.9.4 - 04/25/2000
863 - Fixed calls to no_help and changed them to the more consistent
864 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
865 not 1. Code to temporarily disable NO_HELP when in the
866 help system. (Adam Rogoyski)
867- cut.c:
868 do_marked_cut(), do_cut(), do_uncut():
869 - Commented out unnecessary bits when NANO_SMALL is being used.
870- winio.c:
871 xpt(), strlenpt(), actual_x():
872 - Added check for value of data[i] & 0x80, if so do not make
873 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
874 edit_refresh():
875 - New check for temp == NULL (bad thing), if so go back to the
876 previous line. New filestruct var hold points to prev line.
877 Fixes segfault when paging down to the end of a file.
878- nano.c:
879 write_file():
880 - Added check for if file exists and is not equal to the current
881 filename, prompt for overwrite (Adam Rogoyski).
882 do_down():
883 - Removed check for current->next == NULL, now checks return value
884 of do_down before setting current_x = 0 (discovered by Adam).
885 do_justify():
886 - Fixed segfault when reaching the last line (tried to assign
887 currrent->next->data when current->next == NULL) (discovered
888 by Adam).
889- utils.c:
890 - Removed extra macro defs that are now in nano.h.
891- nano.h:
892 - Changed macro SET() to use |= instead of ^=. Fixes bug in
893 cut code when cutting more than one line, and cutbuffer gets
894 blown away when it shouldnt.
895
896nano-0.9.3 - 04/29/2000
897- cut.c:
898 do_marked_cut():
899 - Fixed off by one error in cut code for marked text.
900 do_cut_text():
901 - Removed check for being on the last line, part of
902 magic line code.
903 add_to_cutbuffer():
904 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
905 - Added inptr->prev = NULL for case where cutbuffer == NULL.
906- nano.c:
907 do_backspace(), do_char():
908 - Removed "magic line" code. It was basically causing more bugs
909 than it was helping for the sake of compatibillity. This fixes
910 at least one known segfault condition.
911 do_enter():
912 - Added setting editbot to new node if the new node is the last
913 node in the file.
914 write_file():
915 - Changed writing file bahavior. Now, if last line of the file
916 has any data on it, we write a newline on it, else we dont.
917- winio.c:
918 add_marked_sameline():
919 - New code that checks for whether the begin and end of the marker
920 are on different lines. Missing previously.
921 edit_add():
922 - added some more checks for text length. Cleaned up some mvwaddnstrs that
923 could be written more simply as waddnstrs.
924 edit_refresh():
925 - Removed check for temp == filebot, it is now treated like any other line.
926 Fixes a bug where selected text on the last line shows normally.
927 xpt():
928 - Removed an extra computation for tabs variable that was incorrect.
929 xplustabs():
930 - Since xpt now actualy works, this func is now just a wrapper for
931 xpt(current, current_x)
932- nano.1, nano.1.html:
933 - Added -l option to man pages.
934- configure.in:
935 - New option --enable-tiny, #defines NANO_SMALL in config.h.
936 Disables call to gettext in functions and other i18n stuff in
937 nano.c, the detailed help mode, the resize functions, and the
938 justify code which no one ever uses.
939 - New option --with-slang. Enables slang libraries instead of
940 ncurses, requires slcurses.h for wrapper functions. (Based
941 on patches for 0.8.7 by Glenn McGrath).
942
943nano-0.9.2 - 04/15/2000
944- This release just fixes the serious segfault problem if nano is
945 invoked any way other than using the absolute path. The bug was
946 in the new code for checking whether nano is invoked as pico.
947
948nano-0.9.1 - 04/14/2000
949- Added pico compatibility for ^T when in search or switch to switch
950 to the opposite function. Added one to REPLACE_LIST_LEN and
951 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
952 new strings that will have to be gettex()ed. New argument 'replacing'
953 to search_init(). Handlers in do_replace and do_search().
954- New write code, now follows symbolic links instead of replacing them
955 with the new file. New option (-l, --nofollow) to enable the old
956 (incorrect, but secure) behavior (Adam Rogoyski).
957- nano.c:
958 do_wrap():
959 - Fixed another bug relating to wrapping, and which would cause
960 a segfault *sigh*.
961 do_replace():
962 - Incremented current_x by the length of the replacement
963 text inside the main repalce loop. Fixes bug #15.
964 add_marked_sameline():
965 - New function, handles marked text when start & end of marker is
966 on one line, also supports most marked text when cursor > COLS.
967 main():
968 - Code to check if nano is invoked as 'pico', and if so
969 automatically set pico_msgs (Robert Jones).
970
971nano-0.9.0 - 04/07/2000
972- nano.1, nano.1.html: Updated man page with my email address and homepage.
973- winio.c:
974 reset_cursor(), update_line():
975 - Changed update algorithm for x value to (COLS - 7) multiple when x
976 value > (COLS - 2).
977- edit_refresh():
978 - Removed inner loop code, now calls update_line() for each line
979 in question, MUCH nicer.
980- xplustabs(), xpt():
981 - Removed redundant increment of tabs when collumn no % 8 == 0.
982 - Added check for data[i] < 32, most of such bits are 2 chars wide.
983- update_line():
984 - Fixed a stupid call to strlenpt with col when we should have
985 been using actual_col. Ugh.
986
987nano-0.8.9 - 03/22/2000
988- nano.c:
989 empty_line(), no_spaces(), justify_format(), do_justify():
990 Actually added these (screwup applying patch).
991 do_justify(): Added call to set_modified().
992
993nano-0.8.8 - 03/12/2000
994- Preliminary internationalization support. Many many functions modified
995 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
996 New dirs po/ and intl/, changes to configure.in and Automake.am to
997 support i18n.
998- nano.c:
999 includes: Ddded sys/param.h and limits.h. (Adam Rogoyski).
1000 statics: Changed some things that were not necessarily static
1001 (Adam Rogoyski).
1002 nrealloc(): New function, similar to nmalloc(). Changed calls from
1003 realloc() to nrealloc (Adam Rogoyski).
1004 empty_line(), no_spaces(), justify_format(), do_justify():
1005 New functions for justify function (Adam Rogoyski).
1006- winio.c:
1007 blank_edit(): Added wrefresh call to edit so that screen updates (like
1008 on ^L) actually work.
1009 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
1010
1011nano-0.8.7 - 03/01/2000
1012- main.c:
1013 do_wrap(): Better fix for segfaults, and fix for lisnes being wrapped
1014 to a single character on one line when no good place to
1015 break the line exists, and for wrapping lines longer than COLS.
1016- nano.1.html:
1017 Html version of man page, now included in dist. For
1018 the benefit of nano packages in Linux distributions.
1019
1020nano-0.8.6 - 02/24/2000
1021- gobal.c:
1022 shortcut_init():
1023 Added shortcuts for goto_line and do_replace when using
1024 pico_msgs. Oops.
1025- nano.c:
1026 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
1027 do_wrap(): Added check for backing up past tabs, which we shouldnt do.
1028 Removed check for backing up past spaces first.
1029 main(): Added for loop to check for alt keys instead of hard list.
1030 do_enter(): Fix for bug #14, added call to reset_cursor and messed
1031 up do_char quite a bit.
1032 version(): Added time and date stamp for compile on version message.
1033 Added mail and web page info.
1034- README: Updated mailing list info.
1035
1036nano-0.8.5 - 02/18/2000
1037- nano.c:
1038 main(): Finally fixed tilde being input on page up/down keys in
1039 certain terminal types. Fix was input 26->91->5[34] check
1040 for 126, if so make the kbinput PAGE UP/DOWN, else unget
1041 the keystroke and continue. Added #include <ioctl.h> for
1042 ioctl call.
1043 handle_hup():
1044 Handler for hangup signal. Belated include of patch from
1045 Tim Sherwood.
1046- winio.c:
1047 edit_refresh():
1048 Temporary fix for selecting text when temp == current.
1049 edit_refresh() is now unmanagably complex, and must be
1050 revamped.
1051 check_statblank():
1052 Added check for constupdate, makes things less choppy
1053 (Adam Rogoyski)
1054
1055nano-0.8.4 - 02/11/2000
1056- Moved global variables that were only (or mostly) used in one file into
1057 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
1058- global.c:
1059 shortcut_init():
1060 Removed redundant NANO_CONTROL_H from backspace shortcut,
1061 added char 127 which should have been there.
1062- nano.c:
1063 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
1064 segfaults (Adam Rogoyski).
1065- Makefile.am: Added all source filenames (Adam Rogoyski).
1066- nano.1: Fixed mail addressed and added mailing list address.
1067- README: Updated my email address and the nano web page.
1068
1069nano-0.8.3 - 02/08/2000
1070- New pico mode (-p, --pico), toggles (more) compatibility with the
1071 Pico messages displayed in the shortcut list. Note that there are still
1072 small differences in this mode.
1073- nano.h: New shortcut struct format, for the benefit of i18n and
1074 our help menu. Removed shortcut message macros, they are
1075 now all in shortcut_init in global.c.
1076- nano.c:
1077 do_wrap(): Removed resetting of current_x when we are in fact
1078 wrapping to the next line, fixes a bug in -i mode.
1079 do_enter():
1080 Rewrote the autoindent mode code to be a lot less pretty,
1081 but a lot more magical.
1082 main():
1083 Removed case for ignoring char 126 (~). That's kind of
1084 important, we'll have to fix handling that sequence when
1085 pageing up/down on a terminal some other way... Revamped
1086 main switch loop in much snazzier fashion based on the
1087 shortcut list.
1088- winio.c:
1089 New function display_main_list. Affects all functions
1090 that used to call bottombars() with main_list. Added
1091 because we now only call bottombars with the macro
1092 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
1093 changes to the main_list shortcut list (see global.c below).
1094 New function do_help, our preliminary dynamic help system.
1095- Many many funcs:
1096 Changed from int to void to allow one uniform type to call
1097 from the shortcut struct. Also a few functions that do
1098 not simple have void argument have new functions called
1099 funcname_void(void) to be called from the shortcut list.
1100 do_cut_text and do_uncut_text were changed to void
1101 arguments because they were never called with a filestruct
1102 other than *current anyway.
1103- global.c:
1104 Shortcut list main_list was expanded to cover all
1105 shortcuts that could be caught in the main loop.
1106 Consequently there is a new macro MAIN_VISIBLE which tells
1107 how many items in the main list to actually show.
1108
1109nano-0.8.2 - 02/02/2000
1110- Added initial mouse (-m, --mouse) support. New global variable
1111 use_mouse. (Adam Rogoyski)
1112
1113- nano.c: Set intial value of fill to COLS - 8 rather than just 72
1114 regardless. (Adam Rogoyski).
1115 do_delete():
1116 Deleted call to do_backspace() when on the end of a line,
1117 because it won't update the line properly.
1118 do_backspace():
1119 Removed unnecessary pointer manipulation that was being
1120 handled by unlink_node().
1121 open_file():
1122 Added check for trying to open a directory (currently we
1123 segfault on this). Bug pointed out by Chad Ziccardi.
1124
1125nano-0.8.1 - 01/28/2000
1126- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
1127 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
1128 global.c and proto.h.
1129- nano.c:
1130write_file(): Added (incredibly) necessary check for EPERM when
1131 link() fails. This allows us to actually save
1132 files via rename() on filesystems that dont
1133 support hard links (AIEEEEEE).
1134do_goto():
1135 Fixed a stupid mistake where we were calling
1136 bottombars() with replace_list instead of goto_list.
1137- nano.h:
1138 New char *help in shortcut structure for help
1139 feature. Added NANO_*_MSG and NANO_*_HELP #deifnes
1140 for help function and i18n.
1141- global.c:
1142 New functions shortcut_init (called in nano.c) and
1143 sc_init_one() to initialize the shortcuts without
1144 using {}s (for i18n).
1145
1146nano-0.8.0 - 01/25/2000
1147- View flag (-v, --view) implemented. Global variable view_mode, affects
1148 main loop of nano.c and new_file(). (me)
1149- nano.c:
1150 split checks for TERMIOS_H and TERMIO_H up so we
1151 can (theoretically) include them both, which is good.
1152handle_sigwinch():
1153 Added check for ncurses.h. (Andy Kahn)
1154do_spell():
1155 We now only try ispell because we don't as of yet
1156 handle the 'spell' program the right way, now that
1157 I finally know what the right way is =-). Added
1158 call to edit_update(fileage) to stop segfaults.
1159global_init():
1160 Added initialization of edit* filestruct pointers
1161 to stop segfaults on spell check.
1162usage():
1163 Check for getopt_long, and if no leave out the
1164 GNU options everyone seems to love so much (Andy Kahn)
1165main():
1166 Added checks for getopt_long (Andy Kahn)
1167 We ignore character 126 because it gets put into
1168 the buffer when we page up/down on a vt terminal.
1169write_file():
1170 Fixes for umask (Adam Rogoyski). Renamed tmpfile
1171 variable to tmp. Documented the tmp opttion
1172 better in the function comments. Fixed my
1173 stupidly commented out check for tmp on setting
1174 umask which I really like =>
1175- nano.h:
1176 Made desc variable in shortcut struct a pointer
1177 instead of a fixed-length string.
1178- utils.c:
1179 Fixed check for config.h before nano.h.
1180- configure.in:
1181 New checks for getopt_long, getopt.h, removed
1182 CFLAGS and LDFLAGS changes. Gonna have to run
1183 strip manually now =-) (Andy Kahn)
1184 Added check for HAVE_WRESIZE, new file acconfig.h (me).
1185
1186nano-0.7.9 - 01/24/2000
1187- New autoindent feature. Command flag 'i' or '--autoindent'. New
1188 function do_char() to clean up character output, global
1189 variable autoindent in global.c. (Graham Mainwaring)
1190- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
1191 files on exit without prompting. Affects do_writeout(). Also
1192 do_writeout() now takes a parameter for if exiting.
1193 Global variable temp_opt in global.c (Graham Mainwaring)
1194- Preliminary spell program support. Added command flag '-s' or
1195 '--speller' for alternative speller command. Added function do_spell()
1196 and exit_spell() to nano.c. New global variable alt_speller.
1197- nano.c:
1198 main(): We now ignore input of decimal 410 because these get entered
1199 when we resize the screen. Sorted options in getopt()
1200 switch statement.
1201 usage(): Sorted options and changed tabs to make room for -s option.
1202 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
1203 doesn't print the number of lines written on the statusbar.
1204 global_init():
1205 Added more initializations to globals to support do_spell().
1206
1207nano-0.7.8 - 01/23/2000
1208- Stubbed justify function. Affects main() in nano.c and nano.h defines.
1209- Added Fkey equivalents for Pico compatibilty. Affects nano.h defines
1210 and main() in nano.c
1211- Removed redundant reset_cursor() calls from the blank() routines.
1212- nano.c:
1213 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
1214 Removed check for isprint() characters in main while loop
1215 for people with odd character sets *shrug*. Added some X
1216 window F-key combos.
1217 read_line(): New function, consolidates of most of the special
1218 sections of the file reading code. (Rob Siemborski)
1219 do_replace(): Many scattered fixes. (Rob Siemborski)
1220 write_file(): Added check for empty filename.
1221- winio.c:
1222 nanogetstr(): Fixes for deleting at places other than the end of the
1223 buffer, cut support. (Adam Rogoyski)
1224 blank_edit(): New function, blanks edit buffer. Added call to it in
1225 total_refresh().
1226- configure: Checks for glib if snprintf of vsnprintf aren't available
1227 (Andy Kahn). Changed warning message when no termcap lib
1228 is found.
1229
1230nano-0.7.7 - 01/19/2000
1231- Option '-v' for version moved to '-V', because -v is Pico's "read only"
1232 mode (affects getopt() in main() and usage() function in nano.c
1233- New flag -c, always show cursor position. Affects main() in nano.c and
1234 statusbar() in winio.c
1235- Option '-x' doesn't show help window at the bottom of the editor.
1236 New variable no_help in nano.h and proto.h, affects main(), usage(),
1237 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
1238 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
1239 hand =P) (Adam Rogoyski)
1240- nano.c:
1241 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
1242 page_up(), page_down():
1243 - New functions. We now set the cursor at the top right corner,
1244 not at the center line, and page up and down a full screen
1245 rather than a half screen. Original functions renamed to
1246 page_up_center() and page_down_center().
1247 main():
1248 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
1249 in main while loop because suspend mode was broken. This should
1250 fix it, at least for now.
1251 - Added long option support (By popular harassment ;-) - Added
1252 #include for getopt.h, changed getopt() to getopt_long().
1253 Options added so far: --version (-V), --nowrap (-w), --suspend
1254 (-z), --help (-h), --nohelp (-x).
1255 - Rewrote signal statements (Adam Rogoyski)
1256
1257nano 0.7.6 - 01/15/2000
1258- New ChangeLog format
1259- nano.c:
1260 main(): Bound CONTROL_H to backspace (oops)
1261 Added more Alt-[-key combinations, for page up & down.
1262 read_bytes(): New function (Adam Rogoyski)
1263 read_file(): Optimizations - malloc()s *buf a little at a time rather
1264 than one huge buffer, and replaced the strcat at the end
1265 with an index variable. Added call to read_bytes().
1266 do_next_word(): New function, binding is control-space (0) (me)
1267
1268- winio.c:
1269 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
1270 (formula is extra space needed = COLS / 6 - 13).
1271 actual_x() & strlenpt():
1272 Added bug#9 fix - when tabs % 8 == 0, we should only
1273 increment tabs by 1.
1274 titlebar(): Fixed overrun in titlebar on very long filenames.
1275
12760.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
1277 writing a newline at EOF. do_cursorpos and do_replace are now not
1278 directly bound to signals but picked up as their control sequences
1279 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
12800.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
1281 available memory, align bug fixed (Big Gaute).
1282
1283--- As of version 0.7.4 TIP is renamed to nano.
1284
12850.7.3 Fixed a double blank_statusbar() when jumping to first and last
1286 lines. Took out unnecessary updates in load_file. Bug fix in
1287 do_left. Missing updates to totlines, fixed bug #7 (last line not
1288 having a newline at the end doesnt get read, bugfix in do_replace
1289 with replace all, more/better comments (Robert Siemborski)
12900.7.2 Our first patch accepted into the source! configure fixes
1291 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
1292 Bug fix in update_line for editing long lines. Fixed arguments
1293 being put into the filename when none is specified. Preliminary
1294 +line command argument function.
12950.7.1 configure tweak for better FreeBSD support. Removed refresh() from
1296 edit_refresh to stop cursor "jumping" during screen updates. This
1297 will probably cause a bug or two. Replace is now Alt-R (@R) and
1298 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
1299 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
1300 Control-G will become the Help key, but for now is stubbed out.
13010.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
1302 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
1303 length file. Added Esc-[-A,B,C,D cursor key sequences.
13040.6.9 Preliminary cursor position function. Split up tip.c more, made
1305 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
1306 that was leaving out a character.
13070.6.8 By request, optchr in main() is now an int. Removed unneeded
1308 globals. Bound functions for next/prev page, and wrote functions
1309 do_home and do_end.
13100.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
1311 created read_file. Implemented Insert File. Fixes in tipgetstr
1312 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
13130.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
1314 aborted searches and more Pico-compatible messages. statusq() now
1315 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
13160.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
1317 regarding buffers with filebot in them. Fixins in do_backspace
1318 and do_enter. Removed unused variables. Removed strip_newline.
13190.6.4 Took out the awful newlines from each string buffers. This will
1320 certainly cause more bugs. Fixes in do_exit(). Better empty file
1321 handling (I hope).
13220.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
1323 do_enter() rewritten.
13240.6.2 Better default file permissions. Complete rewrite of do_wrap().
1325 Better handling of editing with cursor near COLS - 1.
13260.6.1 Starting to implement wrapping toggle. Fix for unhandled control
1327 codes being entered into the buffer. Bug fix in actual_x; more
1328 > COLS - 1 functionality, especially on lines with TABs. Fixed being
1329 locked into cutbuffer when cutting more than one marked screen of text.
13300.6.0 We have TABs!!! To do this, placewewant is now set to the actual
1331 width on the screen we want to be, not an index of current->data.
1332 New functions xplustabs and actual_x convert the actual place
1333 the cursor should be on the screen to and from the place in the
1334 string.
13350.5.5 Changed do_right to test do_down before setting current_x to 0,
1336 eliminiating the "looping" on the last line when holding the right
1337 arrow. Preliminary support for longer than COLS - 1 lines.
1338 Wrote do_delete.
13390.5.4 Fixed a big in total_update that wasn't repainting the screen properly.
1340 tipgetstr is much more messy but text is now more editable ;)
1341 Fixed crash on entering a new file, hopefully. Awful stub for tab
1342 handling, only in do_right() to save me some sanity.
13430.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
1344 Fixed a few bugs in do_uncut when not uncutting from marked text.
1345 I would not trust your data with the mark code right now, but then
1346 we're not at version 1.0 yet so dont trust anything ;)
13470.5.2 Added reset_cursor() before end of update_line so cursor doesnt
1348 jump after each keystroke entered. Select text stubbed. Fixed
1349 a bug in total_refresh(). Setting a mark will hilight properly,
1350 but does not actually affect what gets put in the cutbuffer (yet).
13510.5.1 Writing a file out causes modified to be set back to 0. Good.
1352 Set_modified function written. Cut and uncut text now set
1353 modified when called.
13540.5.0 Half way there! Implemented write out, save function seems
1355 stable. Changed statusbar blank routing to not refresh, a separte
1356 program calls it and then refreshes. Made the program not clear
1357 the srceen on exit, just the bottom two lines (like Pico).
13580.4.2 Implemented replace all in replace function. Crude exit function
1359 (asks yes or no if modified but does not write to file).
13600.4.1 Implementing search & replace. Fixed crash on deleting at top of
1361 edit buffer. Implemented "timeout" of statusbar messages.
1362 Implemented ^A and ^E (beginning and end of line).
13630.4.0 Split code into global.c and proto.h to allow for better multiple
1364 file handling. Added #defines for the majority of the shortcut
1365 kets in tip.h for easy modification.
13660.3.1 Write edit_refresh which doesn't move the screen around, just
1367 updates what's there already. do_wrap() and do_enter() added.
13680.3.0 Preliminary cutbuffer (cut and uncut) support.
13690.2.7 Check for Modification added. do_search() works.
13700.2.5 Rewrite of file data struct.
13710.2 Read in data to buffer, bound keystrokes to stub functions,
1372 initial cursor movement on screen. Initial autoconf support.
13730.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00001374
1375$Id$