blob: 2ca6c9dac294b1511c392be70296424b3a679c5b [file] [log] [blame]
Chris Allegretta47a26862001-07-29 01:17:38 +00001CVS code -
Chris Allegrettac1049ac2001-08-17 00:03:46 +00002- General
3 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
4 new flag CLEAR_BACKUPSTRING because there's no easy way to
5 clear the backupstring without making it global (messy), so we
6 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +00007 - --enable-tiny now leaves out the Auto Indent code, do you really
8 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +00009 - New flag -o, --operatingdir, similar to Pico's -o mode. New
10 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +000011 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +000012 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +000013 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +000014 new code in read_line and write_file. New cmdline flag
15 (-D --dos) to automatically write the file in DOS format,
16 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +000017 - Mac file writing supported too. Flag -M, --mac. Toggle
18 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +000019 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegretta5050d352001-09-27 00:44:58 +000020 changes to page_up() and page_down(). Fixes to paging by
21 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +000022 - Bracket (brace, parens, etc) matching code by Ken Tyler.
23 New functions do_find_bracket(), changes to findnextstr(),
24 command is Meta-] (hope you dont mind since I already sold off
25 Meta-O to the MacOS file code Ken...)
Chris Allegretta0357c4d2001-09-19 02:59:25 +000026- nano.c:
27 main()
28 - Added vars oldcurrent and oldcurrent_x to check whether cursor
29 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +000030 - Many tweaks and changes from numerics to char equivs
31 (David Lawrence Ramsey).
Chris Allegretta6414b402001-09-21 03:21:11 +000032 do_mouse()
33 - Send 27 when the menu item clicked is an alt key seq... The
34 lines aren't lined up since the menu width changed though,
35 this breakage depends on whether the new widths will be kept
36 or not (FEEDBACK!!)
Chris Allegretta56214c62001-09-27 02:46:53 +000037 do_wrap()
38 - Fixes for Pico incompatibility in cases 2b and 2c.
39 (David Lawrence Ramsey).
40 global_init()
41 - New arg save_cutbuffer, allows cutbuffer to not be lost when
42 using multibuffer.
Jordi Mallach372b1a02001-08-08 19:35:23 +000043- nano.texi:
Chris Allegretta9b3c7e82001-08-25 16:00:53 +000044 - corrected the Mouse Toggle section, noticed by Daniel Bonniot.
Chris Allegrettabeb54972001-09-22 23:54:45 +000045- rcfile.c:
46 - NUM_RCOPTS fix (DLR).
Chris Allegretta759d3522001-09-27 13:04:10 +000047- search.c:
48 - Changed search prompt to "Search" followed by a list of
49 bracketed, free-standing modifiers that do not imply a grammar,
50 and the (to replace) string separately. Hopefully this resolves
51 the i18n problems that this provoked.
Chris Allegretta9b3c7e82001-08-25 16:00:53 +000052- winio.c:
53 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +000054 bottombars()
55 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +000056 nanogetstr()
57 - More key fixes (David Lawrence Ramsey)
Jordi Mallach2cde0a22001-09-05 13:23:53 +000058- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +000059 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
60- po/es.po:
61 - Updated Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +000062- po/gl.po:
63 - Updated Galician translation (Jacobo TarrĂ­o).
Jordi Mallach90bbdd32001-09-12 19:06:59 +000064- po/da.po:
65 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +000066- po/sv.po:
67 - Updated Swedish translation (Christian Rose).
Chris Allegretta47a26862001-07-29 01:17:38 +000068
Chris Allegretta0e8c8d82001-07-29 01:16:27 +000069nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +000070- General
71 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
72 - Added m4/ directory to allow rebuilding using only the internal
73 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +000074- nano.c:
75 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +000076 - Change the multibuffer getopt option to 'F' (David Lawrence
77 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +000078 do_mark()
79 - Temporarily disable cursorpos when enabled to be able to see
80 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +000081- nanorc.sample
82 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +000083- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +000084 new_file()
85 - Do add_open_files if there aren't any open yet (David Lawrence
86 Ramsey).
87 close_open_file()
88 - Try to open the next file first, then the previous one
89 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +000090- global.c:
91 shortcut_init()
92 - Rewrote the whereis and replace lists to put CANCEL at the end
93 of the list, and not include the toggle functions when using
94 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +000095- nano.h:
96 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +000097 - Rewrote all the macro definitions to be a little less messy,
98 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +000099- rcfile.c:
100 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000101- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +0000102 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000103 search_init()
104 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +0000105- winio.c:
106 bottombars()
107 - Fixed an off by one that wasn't letting lines with odd #
108 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +0000109
Chris Allegretta9a748602001-07-15 16:07:23 +0000110nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +0000111- General
112 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +0000113 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +0000114 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +0000115 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +0000116 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +0000117 this automatically, but now just mouse support can be disabled
118 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000119 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +0000120 - Added rcfile.c source file. Only includes much of anything when
121 --enable-nanorc is used. Tons of new funcs, most notably
122 do_rcfile() called from nano.c:main(). Added much needed
123 function ncalloc(), will have to go through source code later
124 and change the aproproate calls which used nmalloc for lack of
125 an apropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000126 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +0000127 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +0000128 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +0000129 - Added config.guess and config.sub to distribution because,
130 apparently, newer autoconf/automakes can't live without them.
131 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +0000132 - Changed all string allocations to charalloc(), new function
133 designed to take nmalloc argument but call calloc based on
134 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +0000135 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
136 and justify being disabled. This allows us to compile out the
137 -r flag if neither are set, and will also allow us to comment
138 out -W when it is written.
139 - Allow fill to take a negative value ot signify a "from right side"
140 value. This allows the value to vary with the screen size yet
141 still be correct. New static value wrap_at to minimize code
142 inpact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000143 - Allow file appending. New shortcut list nano_insertfile_list (since
144 insert and write routines can't share shortcut lists anymore),
145 new args to do_writeout and write_file called append, and of source
146 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +0000147 - Allow backwards searching. Drastic rewrite of the search prompt
148 string by Chris. All other code by Ken Tyler. New globals
149 nano_reverse_msg, new functions revstrstr and revstrcasestr,
150 many changes to search functions. Not too big a code size
151 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +0000152 - Moved extension functions (Case Sensitive, Regexp, and Backwards
153 Search, Append key in write file function) to Meta keys, as
154 people are complaining loudly about nano not being control-key
155 compatible with Pico, which is a Bag Thing (TM). Changes to
156 shortcut_init, toggle_init, new toggles for backwards and regexp
157 (and you can now toggle all search options including regexp at
158 the Search: prompt!) Changes to nanogetstr to enable Meta
159 keys to be grabbed, changes to onekey to print M-style shortcuts.
160 - New macro TOGGLE which just toggles, no more silly checking
161 ISSET and then using SET or UNSET when we want a simple toggle
162 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +0000163 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +0000164 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +0000165 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
166 and write_file(), new functions add_open_file(),
167 open_file_change_name(), load_open_file(), open_file_dup_search(),
168 open_file_dup_fix(), open_prevfile(), open_nextfile(),
169 close_open_file(), get_full_path(), die_save_file(), etc.
170 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +0000171 - Using --enable-extra automatically defines --enable-multibuffer
172 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +0000173 - Moved to gettext 0.10.38 at the last second, sure to break
174 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +0000175- Makefile.am:
176 - Include ABOUT-NLS and the new THANKS files to the distributed list.
177- THANKS:
178 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +0000179 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +0000180- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +0000181 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +0000182 initialization file and set options normally used on the command
183 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +0000184 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +0000185 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +0000186- cut.c:
187 add_to_cutbuffer()
188 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +0000189 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +0000190 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
191 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000192 - Added 'destructive' argument. Allows the selected text to be
193 added to the cutbuffer without changing the contents of the
194 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +0000195 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +0000196 - If the line is empty when using -k and wasn't already added,
197 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +0000198 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +0000199 - Moved the case of current == mark_beginbuf into cut_marked
200 segment, so do_writeout could call it when writing selection to
201 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +0000202 do_uncut_text()
203 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +0000204- faq.html:
205 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +0000206 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000207- files.c:
208 do_browser()
209 - Minor fixes to the processing of SELECT function (Rocco)
210 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +0000211 - Don't shift the size of the file is it's less than 1K. Fixed
212 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +0000213 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
214 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000215 do_writeout()
216 - New code to allow writing selected text to a separate file.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +0000217 When this is done, the current state is prserved.
218 write_file()
219 - New arg, nonamechange, means whether or not to update the
220 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +0000221 - Increment lineswritten when the very last line isn't null.
222 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000223- global.c:
224 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +0000225- move.c:
226 page_up()
227 - Rewritten with a loop to make screen updates work when
228 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +0000229 do_home(), do_end()
230 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +0000231- nano.1:
232 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +0000233- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000234 do_alt_speller()
235 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +0000236 ABCD(), main()
237 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +0000238 main()
239 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +0000240 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +0000241 signal_init()
242 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
243 SIGCONT from being interrupted, allows suspending nano
244 to work more reliably, esp. with mutt, etc.
245 do_suspend()
246 - Don't try to play with the handler inside the handler. Just
247 raise a SIGSTOP. We also now write the "use "fg"" message to
248 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +0000249 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
250 Eliminates the possibility that nano can be suspended when
251 it's not supposed to be. Many many many thanks to Jordi and
252 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +0000253 do_cont()
254 - Now just does a refresh call instead of playing with the SIGTSTP
255 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000256- nano.h:
257 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
258- proto.h:
259 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000260- search.c:
261 do_gotoline()
262 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +0000263 do_replace()
264 - If we manage to make it in somehow with VIEW_MODE on, abort
265 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +0000266- utils.c
267 strcasestr()
268 - Replaced by mutt's mutt_stristr function, because the thought
269 of dynamically allocating memory and copying each line in a file
270 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +0000271- winio.c:
272 actual_x()
273 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +0000274- po/POTFILES.in:
275 - Added utils.c to the list.
276- po/es.po, po/ca.po:
277 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +0000278- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +0000279 - Galician translation by Jacobo TarrĂ­o.
Jordi Mallach92b3bd22001-05-16 09:10:31 +0000280- po/uk.po, po/ru.po:
281 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +0000282 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +0000283- po/id.po:
284 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +0000285- po/it.po
286 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +0000287- po/no.po:
288 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
289- po/sv.po:
290 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +0000291
292nano 1.1 tree forked here 04/07/2001
293
Chris Allegretta38068cd2001-04-06 20:04:23 +0000294nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +0000295- General:
296 - added configure option --disable-wrapping. Does what it says,
297 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +0000298 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +0000299 Affects configure, nano.c:do_char() and check_wrap() obviously,
300 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +0000301- aclocal.m4:
302 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +0000303- faq.html:
304 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +0000305- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +0000306 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +0000307 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +0000308 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +0000309 - use strcasecmp to sort directory if available, pilot does that
310 as well (Matthias Andree)
311 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +0000312 - Changed lstat calls to stat, which fixes the browser not
313 following links to directories. We only use lstat() when
314 printing the details of the file, and if it is a link, then
315 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +0000316 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +0000317 do_browser()
318 - Fix broken size suffix off-by-one errors (Matthias Andree)
319 cwd_tab_completion(), do_browse_from()
320 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
321 - Changed above to use PATH_MAX only when defined on the
322 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +0000323- intl/Makefile.in:
324 distclean
325 - added intl/libintl.h to the rm -f rule, should fix the unresolved
326 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +0000327
Chris Allegretta2bfbda02001-03-23 03:50:44 +0000328nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +0000329- General
330 - Added void to functions declared as () args, nano.c:do_mark()
331 and search.c:regexp_cleanup(). (Christian Weisgerber).
332 - Changed internal variables called "new" to "newnode" to avoid
333 the "new" C++ reserved word, even though there is likely no way
334 nano will EVER be compilable with a C++ compiler. (suggested by
335 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +0000336- ca.po, es.po:
337 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +0000338- cs.po:
339 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +0000340- nano.info:
341 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +0000342- winio.c:
343 statusq()
344 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +0000345
3461.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +0000347- nano.c:
348 do_wrap()
349 - Added case for autoindenting text causing new line (Adam).
350 - Added SAMELINE case to above. Added checks to cases 1b and
351 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +0000352- move.c:
353 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +0000354 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +0000355 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +0000356- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +0000357 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +0000358 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +0000359 search_init()
360 - If using Pico mode and regex and same answer is entered, use
361 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +0000362- nano.texi:
363 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +0000364
Chris Allegrettaa4a222d2001-02-20 03:52:13 +0000365nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +0000366- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +0000367 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +0000368 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +0000369 removed "Goto Line", aligned "Read File" with "Write Out" and
370 "Replace" with "Where is" for consistency.
371 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +0000372 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +0000373- configure.in:
374 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +0000375 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +0000376 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +0000377- cut.c:
378 do_cut_text()
379 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +0000380- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +0000381 do_delete()
382 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +0000383 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +0000384 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +0000385 do_justify()
386 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +0000387 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +0000388 main()
389 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +0000390- winio.c:
391 do_yesno()
392 - Added localized yes, no and all strings to function and rewrote
393 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000394- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +0000395 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000396- fi.po:
397 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +0000398- hu.po:
399 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000400- id.po:
401 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +0000402- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +0000403 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +0000404- ca.po:
405 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +0000406 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
407 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +0000408
Chris Allegretta34318ed2001-01-31 23:22:36 +0000409nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +0000410General
Chris Allegrettad4ddd012001-01-23 01:17:07 +0000411 - Removed center_x and center_y globals. center_y was
412 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +0000413 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +0000414 - Deleted free_node, duplicate of delete_node, and changed all
415 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +0000416 - Fix for resizing the window in modes other than normal edit mode
417 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +0000418- files.c:
419 write_file()
420 - Don't free() realname on error, if it needs to be free()d later
421 it will be (fixes crash on successful write after failed write,
422 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +0000423 username_tab_completion()
424 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +0000425 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +0000426 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +0000427 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +0000428 - Rewritten using getpwent (suggested by Adam, much optimized by
429 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +0000430- global.c:
431 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +0000432- nano.c:
433 do_justify()
434 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +0000435 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +0000436 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +0000437 global_init(), handle_sigwinch()
438 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +0000439 do_alt_speller()
440 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +0000441 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +0000442- proto.h:
443 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +0000444- winio.c:
445 nanogetstr()
446 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +0000447
Chris Allegretta9d6f3f32001-01-21 02:35:03 +0000448nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +0000449General
450 - Changed #ifdefs to check for both DISABLE_TABCOMP and
451 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000452 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +0000453 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000454 back. (Rocco)
455 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +0000456 - Added message for when keypad goes awry. Added code in main and
457 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +0000458 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +0000459 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +0000460 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +0000461- configure.in:
462 - Fix for _use_keypad check breaking slang support (Christian
463 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +0000464 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +0000465 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +0000466- faq.html:
467 - Added some info on making the binary smaller with the configure
468 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +0000469 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +0000470- files.c:
471 real_dir_from_tilde()
472 - Oops, fix case where buf ="~", silly crash (bug discovered by
473 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +0000474 do_browser()
475 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +0000476 cwd_tab_completion(), input_tab()
477 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +0000478 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000479- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +0000480 ABCD()
481 - New function, figures out what kbinput to return given
482 input common to several switch statements, allows us to
483 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000484 main()
485 - Alternate speller option no longer valid if DISABLE_SPELLER is
486 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +0000487 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
488 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +0000489 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000490 nano_small_msg()
491 - This function has been removed. All references now call
492 nano_disabled_msg. (Rocco)
493 version()
494 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
495 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
496 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +0000497 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000498 usage()
499 - Alternate speller option no longer valid if DISABLE_SPELLER is
500 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +0000501 window_init(), handle_sigwinch()
502 - Added check for not having enough LINES to do anything useful,
503 if so die with an error. (Rocco)
504 die_too_small()
505 - Function to print the window too small error message, avoids
506 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +0000507 do_justify()
508 - Small fix for totsize calculation (Rob)
509
Chris Allegrettad9742c62001-01-12 15:51:53 +0000510- fi.po:
511 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +0000512
Chris Allegretta16991442001-01-07 22:06:11 +0000513nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +0000514General -
515 - New file browser code. New functions in files.c:do_browser(),
516 helper functions browser_init(), tail(), striponedir(),
517 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +0000518 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +0000519 - Keypad code has been changed slightly. Now checks for
520 _use_keypad flag in window to see whether or not to turn
521 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +0000522 to winio.c where it should probably be anyway. New configure
523 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +0000524 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +0000525 - Moved keypad() calls for PDCURSES from main() to window_init()
526 so the keypad continues to work after a Meta-X, for example.
527 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +0000528- faq.html:
529 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +0000530- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +0000531 username_tab_completion()
532 - Added the (char *) sizeof when allocating memory for the filename
533 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +0000534 cwd_tab_completion()
535 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +0000536 - Added the (char *) sizeof when allocating memory for the filename
537 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +0000538 do_writeout()
539 - Now takes an argument so the string typed in can be retained
540 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +0000541 do_browser()
542 - Don't decrement longest by the length of path. Fixes crashes
543 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +0000544 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +0000545 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +0000546- move.c:
547 page_down()
548 - Don't do an edit_update when there is only one page of text
549 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +0000550- nano.c:
551 main()
552 - Reorder the getopt options to be more or less alphabetical
553 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +0000554- winio.c:
555 do_cursorpos()
556 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +0000557 do_credits()
558 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +0000559 titlebar()
560 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +0000561 do_help()
562 - Changed way of temporarily bringing up shortcuts at the
563 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +0000564- utils.c:
565 mallocstrcpy()
566 - Takes char pointers now instead of void (makes debugging a
567 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +0000568 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +0000569- es.po:
570 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +0000571
Chris Allegretta66149e72000-12-19 02:51:06 +0000572nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +0000573General
574 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +0000575 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +0000576 - Changed filename to no longer use PATH_MAX, so it can work on the
577 HURD. Changes in files.c:write_file(), new function
578 nano.c:clear_filename(), many changed in main(), a few other
579 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000580 - Added -b, -e, and -f flags, which we ignore as nano provides
581 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +0000582- cut.c:
583 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000584 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +0000585 - Fix screen not being displayed when we are uncutting marked
586 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +0000587 - Fix magic line not getting created when (you guessed it)
588 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +0000589- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +0000590 read_file()
591 - If we encounter an error and insert is not set, run new_file().
592 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +0000593 write_file()
594 - Change open call flags, basically copy joe's way of doing it so
595 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +0000596 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +0000597 open_file()
598 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +0000599- nano.c:
600 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +0000601 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000602 main()
603 - Added code to check for Alt-Alt (27-27) keystrokes and set the
604 next keystroke as a control sequence. New variable
605 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
606 around Control-S,Q,Z handlers because we need it now for
607 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +0000608 - Added --view option to getopt_long()call . Bug discovered
609 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +0000610 help_init()
611 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta92325e72000-12-18 03:44:22 +0000612 ^_ in pico mode not be displayed in the help (bug discovered by
613 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +0000614 do_toggle()
615 - Added fix_editbot() call to fix improper redisplay of edit
616 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000617- nano.1, nano.1.html:
618 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +0000619- winio.c
620 do_help()
621 - Force keypad on so F-keys and PageUp/Down will work properly.
622 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +0000623- utils.c:
624 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +0000625 - Increment totsize!! We decrement it when we've read a file,
626 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +0000627
Chris Allegrettab29550e2000-12-09 03:34:12 +0000628nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +0000629General
630 - Changed --disable-spell to --disable speller. The term is
631 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +0000632- files.c:
633 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +0000634 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +0000635 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +0000636 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +0000637 - We now run check on result of lstat(), not stat(), to be
638 safer. New variable anyexists, we use still use realexists
639 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +0000640 - OOPS, line up link/unlink/rename check if conditional with
641 top if conditional. Option -l has been broken for 9 versions,
642 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +0000643 - Added saving perms at end of link so we can apply them to the
644 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +0000645- winio.c:
646 edit_add()
647 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +0000648 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +0000649 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +0000650 - Moved from search.c, as it's definitely a winio function now =)
651 update_line()
652 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +0000653
Chris Allegrettafedd7242000-12-03 03:15:38 +0000654nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +0000655- General
Chris Allegrettabe77c612000-11-24 14:00:16 +0000656 - Username tab completion code, and cleaned up existing tabcomp
657 code. New functions real_dir_from_tide(), append_slash_if_dir(),
658 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +0000659 - Ignore key sequence 543 & 545, right control and alt keys in
660 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +0000661 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
662 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +0000663 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +0000664 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +0000665- New configure options:
666 - Added configure argument --disable-tabcomp. Affects
667 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +0000668 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +0000669 - New options --enable-extra. New code in nano.c:version() to
670 print out various options from ./configure, function do_credits().
671 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +0000672 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +0000673 do_spell, do_int_speller and do_alt_speller.
674 - Added --disable-justify to get rid of the justify function.
675 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +0000676- files.c:
677 write_file()
678 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +0000679 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +0000680 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +0000681 - Added call to real_name_from tilde, oops. Added check for
682 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +0000683 read_file()
684 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +0000685- global.c:
686 shortcut_init()
687 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +0000688 shortcut or the normal uncut text one. Needed to accommodate
689 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +0000690- nano.1, nano.1.html:
691 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +0000692 - Added "NOTES" section, where I explain what nano.save & friends
693 are.
694 - Added a copyright notice for the manpage, under the GPL.
695 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +0000696- nano.c:
697 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +0000698 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
699 text there, then grabs the next keystroke and, if the unjustify
700 key, gets rid of the justified text and calls do_uncut_text.
701 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000702 do_int_spell*
703 - Various fixes (Rocco Corsi).
704 - Changed abort of program to aborting based on value of "edit a
705 replacement" question, and not caring about the replace loop
706 return value. That way the user can get out of the replace loop
707 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +0000708 version()
709 - Took out huge check for the various --disabled macros,
710 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +0000711 nano_small_msg(), nano_disabled_msg()
712 - Added checks for disabled functions to see whether or not to
713 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +0000714 do_next_word()
715 - Update the previous line as well as the current one in case we
716 have moved beyond COLS or back from COLS, patch submitted
717 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +0000718 die()
719 - Now creates .save file using variable-length strings. Also
720 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +0000721 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +0000722 handle_sighup()
723 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000724- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +0000725 do_replace_highlight()
726 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000727 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +0000728 - Added calls to curs_set(0) and (1) to disable the cursor when
729 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +0000730- es.po:
731 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +0000732
Chris Allegrettaca7a21d2000-11-24 01:35:40 +0000733nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +0000734- AUTHORS
735 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +0000736- nano.c:
737 main()
738 - Changed check for argc == 1 to argv[optind] == NULL to decide
739 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +0000740- search.c:
741 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +0000742 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +0000743 search_init()
744 - Silly typo in our "one simple call" of statusq. Stopped
745 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +0000746 do_replace()
747 - Copy back the previous value of last_replace into answer if
748 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +0000749- winio.c:
750 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +0000751 - Deleted first update_line() call, screws up display when marker is
752 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +0000753- nano.1, nano.1.html
754 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +0000755
Chris Allegretta6da149a2000-11-19 02:23:03 +0000756nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +0000757- General
758 - Ran source through indent -kr again. Make everything pretty.
759 - Changed behavior of "search" and "replace" prompts to make all
760 previous values editable. This change was made so that you can
761 replace with the null string without needing a special key for it.
762 changed code in search_init(), do_replace(), nanogetstr (see
763 below).
764 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +0000765 - Revamped nanogetstr() and calls to it to use variable length
766 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +0000767 MANY changes in nanogetstr(), many chances in search.c, new
768 function mallocstrcpy which is sure to be a programmatic
769 nightmare, changed last_search, last_replace, answer to
770 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +0000771 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +0000772 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +0000773 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +0000774 - New spelling code by Rocco Corsi. New functions
775 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
776 New functions search_init_globals and do_replace_loop, changes
777 to search_init(), do_replace, findnextstr, moved last_search and
778 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +0000779 - New tab completion code. Used check_wildcard_match, input_tab,
780 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +0000781 hacked them a lot, changes to nanogetstr(). nanogetstr() and
782 statusq() now take an arg for whether or not to allow tab
783 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +0000784 - Fixed value being input in statusbar during a search or replace
785 and CASE_SENSITIVE or the other search is called and the
786 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +0000787 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
788 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +0000789- files.c:
790 do_writeout()
791 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +0000792- global.c
Chris Allegretta105da332000-10-31 05:10:10 +0000793 - New global replace_list_2, for 2nd half of the replace dialog
794 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +0000795 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +0000796 toggle_init()
797 - Added #ifdef around toggle_regex_msg to get rid of compiler
798 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +0000799
800- nano.c:
801 keypad_on()
802 - New function, toggles turning the keypad on and off in edit and
803 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000804- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +0000805 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000806 - New arg for begin_x variable, basically a rewrite that
807 makes a little more sense and isn't quite as messy (Rocco Corsi).
808 - Update the line we're checking if not the whole screen, because
809 it's quite possible the search team could exist somewhere way
810 to the right on the same line, for example.
811 replace_abort()
812 - Add reset of placewewant, stops cursor from jumping when moving
813 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +0000814 do_replace()
815 - Added code for Gotoline key after entering the search term.
816 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +0000817 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +0000818 Converted if statements to switch statements.
819 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +0000820 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +0000821 do_search()
822 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +0000823- winio.c
824 nanogetstr()
825 - Added check for 343 in while loop to get rid of getting "locked"
826 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +0000827 - Changed check to return -2 on "enter" from answer == ""
828 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +0000829 - Fixed fallthrough code because there was no break. Make much
830 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +0000831 - Added check for ASCII 54[124] when using PDCURSES, ignore them
832 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000833 nanoget_repaint()
834 - New function, removes about 30 lines of duplicate code in
835 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +0000836 - Black magic code to make $ appear in prompt if we're past
837 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +0000838 blank_edit()
839 - Removed wrefresh() call, much less choppy now. If there's a need
840 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +0000841- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +0000842 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +0000843
Chris Allegretta07e97d62000-10-03 01:52:50 +0000844nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +0000845- General
846 - Added PDCurses support under cygwin, which allows building
847 a nice stand-alone nano.exe for those poor Windows users.
848 Extra check in configure.in for initscr() in -lcurses (as
849 PDcurses has no tgetent), some #ifdef PDCURSES statements
850 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +0000851 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +0000852- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +0000853 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +0000854 main()
855 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +0000856- search.c
857 - Added initializations for last_search and last_replace (Rocco Corsi)
858
Chris Allegretta629edad2000-09-19 00:27:19 +0000859nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +0000860- General
861 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
862 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +0000863- configure.in:
864 - Added default case for cross-compiling to get rid of annoying
865 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +0000866- cut.c:
867 do_cut_text()
868 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +0000869 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +0000870- files.c:
871 open_file()
872 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +0000873- global.c:
874 shortcut_init()
875 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +0000876- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +0000877 main()
Chris Allegretta9239d742000-09-06 15:19:18 +0000878 - Added check for _POSIX_VDISABLE and use raw mode if not
879 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +0000880 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +0000881 - Revamped a great deal of the F-key and keypad key handling,
882 because we not longer use keypad() (see below).
883 - Removed keypad() call because nano was not working with the
884 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +0000885 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +0000886 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +0000887 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +0000888 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +0000889 mouse_init()
890 - Add keypad only if mouse support is on, otherwise mouse doesn't
891 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +0000892 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +0000893- winio.c:
894 total_refresh()
895 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +0000896 onekey()
897 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +0000898
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +0000899- search.c:
900 findnextstr()
901 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +0000902- es.po:
903 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +0000904- de.po
905 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +0000906
Chris Allegretta423cbfd2000-09-04 16:21:29 +0000907nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +0000908- General
909 - New shortcuts to toggle certain options that are normally only
910 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
911 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +0000912 called from shortcut_init(), and do_toggle in nano.c. Also
913 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +0000914 signal_init(). Moved "struct sigaction act"into a static in
915 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +0000916 - Changed from Alt-key symbol (@) which is completely nonstandard
917 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +0000918 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +0000919 Meta. Moved the toggle Meta keystrokes to the first column
920 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +0000921 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +0000922 - Changed last_search and last_replace vars to statically
923 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +0000924- global.c:
925 toggle_init()
926 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
927 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +0000928- nano.c:
929 do_mouse()
930 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +0000931 do_wrap()
932 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +0000933 do_toggle()
934 - Added checks for no help and no wrap mode, and print opposite
935 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +0000936 do_suspend(), do_cont():
937 - New functions, handle suspend signal in a Pico-like manner and
938 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +0000939- winio.c:
940 total_refresh()
941 - Added edit_refresh() call to actually update the screen if messy.
942 edit_refresh_clearok()
943 - New function, does a total update for edit refresh, needed to fix
944 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +0000945 onekey()
946 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +0000947
Chris Allegretta6306a112000-09-02 07:55:41 +0000948 update_line()
949 - Added check for binary data >= 1 and <= 26, and use ^+letter
950 to display it. Should fix editing text files with binary
951 data in them. Placing of the cursor seems to be a bit screwed
952 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +0000953- search.c:
954 search_abort()
955 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
956 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +0000957 findnextstr():
958 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +0000959 - Fixed check for string that only occurs on the same line failing
960 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +0000961
Chris Allegrettaba96f7a2000-08-09 21:38:28 +0000962nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +0000963- cut.c:
964 do_cut_text()
965 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +0000966 - Added check_statblank().
967 - Check for fileptr == filebot, if so return, we shouldn't bother
968 cutting the magic line.
969 do_uncut_text()
970 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +0000971- nano.c:
972 main()
973 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +0000974- po/Makefile.in.in:
975 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
976 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +0000977- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +0000978 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +0000979
Chris Allegretta0bf4e142000-08-04 02:42:04 +0000980nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +0000981- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
982 Affects many many functions. Removed functions edit_update_top and
983 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +0000984- Added global variable tabsize, we no longer screw with the curses
985 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +0000986- configure.in:
987 - Finally fixed check for slang to report "no" if not called
988 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +0000989- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +0000990 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +0000991 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +0000992 null_at()
993 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +0000994 delete_buffer()
995 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +0000996 do_backspace()
997 - Now calls page_up_center instead of page_up (as it should?)
998 do_enter()
999 - Fixed typo (?) in check for inptr->next. Caused lots of
1000 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00001001 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00001002 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00001003- search.c:
1004 replace_abort()
1005 - redundant, now just calls search abort until it does something
1006 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00001007- winio.c:
1008 edit_refresh()
1009 - Added check for current line "running" off the screen.
1010 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00001011 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00001012 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00001013 edit_update()
1014 - Rewritten, hopefully this will remove a lot of the
1015 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00001016- move.c:
1017 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00001018 - do an edit_update() at last case. Made function more like
1019 Pico's version, only move down to two lines before editbot.
1020 page_up()
1021 - Made function more like Pico's version, only move down to two
1022 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00001023
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00001024nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00001025- nano.h:
1026 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
1027- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00001028 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00001029 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00001030 - Simplified check for freeing cutbuffer. Added checks for doing
1031 multiple cuts with -k, now sets marked_cut to 2 for later
1032 processing by do_uncut_text().
1033 do_uncut_text()
1034 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00001035- files.c:
1036 write_file()
1037 - Removed (redundant) check for writing out files with -t.
1038 do_writeout()
1039 - Changed check for filename to filename[0]. Added some code,
1040 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00001041- nano.c:
1042 do_justify() & do_wrap():
1043 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00001044- de.po
1045 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00001046
Chris Allegretta1d7110d2000-07-23 16:59:07 +00001047nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00001048- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00001049 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
1050 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00001051- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
1052 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00001053- move.c
1054 page_down()
1055 - Don't edit_refresh() if the bottom of the file is in the edit
1056 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00001057- nano.c:
1058 main():
1059 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001060 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00001061 die():
1062 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001063 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00001064 - Changed exit semantics a bit so that aspell wouldn't get
1065 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001066- files.c:
1067 read_file():
1068 - Added init of buf variable, hopefully this will stop the
1069 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00001070 write_file():
1071 - Added code to check to see if using -l and the file is not
1072 in fact a link. This should fix the behavior where a file
1073 that does not have write permission but could be removed and
1074 rewritten is saved without error. Please test this feature
1075 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00001076- search.c:
1077 search_init():
1078 - Added " (to replace)" statement to end of search string if
1079 we are doing a replace. Manually converted all the translations
1080 from '%s' to '%s%s' to ensure they still work with the new code.
1081 Also put in the translation for " (replace)" in the .po's. Hope
1082 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00001083 do_search(), do_replace():
1084 - Removed call to search_abort()/replace_abort() before call to
1085 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00001086 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00001087 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00001088 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00001089- fr.po:
1090 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00001091- es.po:
1092 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00001093
Chris Allegrettae955dae2000-07-07 22:24:59 +00001094nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00001095- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00001096 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
1097 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
1098 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00001099 search_init() and do_replace() and strstrwrapper().
1100 - Added _POSIX_VERSION check to regexp code. Better than nothing
1101 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00001102 - Made search functions & keys more like Pico. Added goto line from
1103 search and replace function, changed wording to "No Replace" instead
1104 of "To Search", "To Replace" to simply "Replace", and changed to
1105 Pico's keystroke by default, ^R. Affects search_init(),
1106 do_search() in search.c, globals in nano.h and
1107 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00001108 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00001109- cut.c
1110 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00001111- files.c:
1112 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00001113 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00001114- nano.c:
1115 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00001116 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
1117 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00001118 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00001119 - Corrected FIXME in do_enter with explanation. (Rob)
1120 - Fixed FIXME in do_justify, resulted in creation of
1121 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00001122 help_init():
1123 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00001124 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00001125 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00001126 do_backspace(), do_delete():
1127 - Added magic line code here too.
1128
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00001129- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00001130 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00001131- fi.po:
1132 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00001133- utils.c:
1134 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00001135- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00001136 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00001137 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00001138 do_yesno(), nanogetstr():
1139 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00001140 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
1141 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00001142 clear_bottomwin():
1143 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00001144 edit_update_top():
1145 - Fixed a bug that caused nano to not update when
1146 current->next == NULL (e.g. paging down to the very bottom of
1147 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00001148 fix_editbot:
1149 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00001150 edit_add:
1151 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00001152
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001153nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00001154- New flag "-T" or "--tabsize" to specify how to display tab widths.
1155 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00001156 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001157 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00001158- id.po:
1159 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001160- es.po:
1161 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00001162- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00001163 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00001164 we had been seeing. Affects: add_marked_sameline, edit_add,
1165 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00001166 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001167 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001168 - Cut display_main_list call, as this function is only supposed to
1169 refresh what's already on the screen, not go through the process
1170 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00001171- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00001172 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00001173- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00001174 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001175 - Removed editwineob, as it was redundant for (editwinrows - 1).
1176 Changed all calls to editwinrows - 1 in nano.c and move.c.
1177 - Removed all functions that were split into other files.
1178 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00001179 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00001180 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00001181 do_insertfile():
1182 - Fix display problem when using ctrl-r to load a file
1183 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001184 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00001185 - Added titlebar(), edit_refresh() and display_main_list() calls
1186 because a resize wasn't picking up on possible different width
1187 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00001188- utils.c:
1189 - Moved nmalloc() and nrealloc() here.
1190- move.c:
1191 - New file, contains movement functions (like do_home(), do_up(),
1192 do_down(), page_up(), etc...).
1193- files.c:
1194 - Contains functions for files (read_file, insert_file,
1195 do_writeout(), etc).
1196- search.c:
1197 - Contains all our searching and related functions, (do_search(),
1198 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00001199
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001200nano-0.9.10 - 06/04/2000
1201- es.po:
1202 - Translation updates (Jordi).
1203- AUTHORS, nano.1.html, TODO, README:
1204 - Documentation and email address updates (Jordi).
1205- nano.c:
1206 main():
1207 - Moved Adam's termio code down to after getopt() and before initscr()
1208 to stop people losing their SIGINT character when using args that
1209 exit nano before it runs (--version, --help, etc).
1210
1211nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00001212- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001213 - Added proper lines for defining LOCALEDIR.
1214- configure.in:
1215 - Spelling fixes (Jordi Mallach)
1216 - Removed CFLAGS changes for gcc, reduces portability according to
1217 some, and it certainly doesn't seem to decrease exe size.
1218- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00001219 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001220- POTFILES.in:
1221 - Added global.c file, was screwing up translations (i.e. they
1222 weren't getting done).
1223- cut.c:
1224 add_to_cutbuffer():
1225 - Added totsize increment.
1226 - Cut fixes and optimizations (Rob Siemborski).
1227 do_uncut_text():
1228 - Added totsize increment in several places.
1229- nano.c:
1230 headers:
1231 - Removed LOCALEDIR define.
1232 do_justify():
1233 - Added edit_refresh() call (bug discovered by Adam).
1234 page_down_center():
1235 - Added call to edit_update(current) for last case. Removed
1236 increment of current_y since it's now just wasteful.
1237 do_enter():
1238 - Added totsize increment.
1239 renumber(), renumber_all():
1240 - Removed totsize-- and totsize init in renumber_all.
1241 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00001242 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001243 unnecessary wrefresh(edit).
1244 main():
1245 - Moved up locale calls so that translated --help messages would
1246 actually get translated.
1247 do_backspace(), do_delete():
1248 - Added decrement of totsize.
1249 init_help_msg():
1250 - New function, initializes help text if NANO_SMALL isn't set (fixes
1251 broken i18n).
1252 read_file():
1253 - malloc call changed to nmalloc (Rob Siemborski).
1254- winio.c:
1255 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001256 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001257
1258nano-0.9.8 - 05/18/2000
1259- nano.c:
1260 main():
1261 - Added awesome code that disables the CINTR and CQUIT
1262 character (Adam Rogoyski). Removed raw()/noraw() calls so that
1263 nano gets input in 'normal' mode, which is the Right Way(tm) to
1264 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00001265 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001266 term settings, and changes to finish() and die().
1267 - Added extra #ifdefs in getopt code, so that above code and
1268 flag init is run even if GETOPT_LONG is not #defined.
1269 - Added memset line before sigactions. (Adam Rogoyski)
1270 do_suspend():
1271 Removed function, see above for why.
1272- winio.c:
1273 update_line(), center_cursor():
1274 - Removed wrefresh(edit) from bottom of functions. wrefresh
1275 should now only be called once, at the bottom of the main()
1276 loop.
1277- global.c:
1278 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00001279 - Removed suspend sc_init call and suspend message because suspend
1280 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001281
1282nano-0.9.7 - 05/14/2000
1283- nano.c:
1284 do_home(), do_end():
1285 - Added calls to update_line for the current line, fixes
1286 lack of update (bug discovered by Alberto GarcĂ­a).
1287 main():
1288 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
1289 following symlinks even when -l isn't set, and "no changes"
1290 error when nano is called from crontab -e (Adam Rogoyski).
1291- cut.c:
1292 do_cut_text():
1293 - Added edit_update_top to cut when mark is set, fixes lack of
1294 display update (bug discovered by Ken Tyler).
1295
1296nano-0.9.6 - 05/08/2000
1297- New Italian translation (it.po), by Daniele Medri.
1298- nano.c:
1299 page_up(), page_down():
1300 - Added reset of placewewant to 0, as it should be.
1301 do_up(), do_down():
1302 - Added call to update_line() for line we move from and line we
1303 move to, in order to keep the highlighting correct.
1304 do_wrap():
1305 - Added var chop, new code to wrap lines more like Pico, mostly.
1306 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
1307- winio.c:
1308 do_help():
1309 - Added edit_refresh() before exit.
1310 update_cursor():
1311 - Removed cursor updating which really wasn't needed anyway.
1312 edit_update():
1313 - Removed yucky code that didn't work, this function now just
1314 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00001315 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001316
1317nano-0.9.5 - 05/01/2000
1318- Removed bytes from file struct because it was computationally wasteful.
1319- cut.c:
1320 do_uncut_text():
1321 - Added call to edit_refresh().
1322- nano.c:
1323 do_backspace():
1324 - Added reset of editbot when deleting the last line of the file
1325 (bug discovered by Adam).
1326 do_char():
1327 - Removed call to reset_cursor().
1328 do_delete():
1329 - Added similar check as to do_backspace().
1330 do_enter():
1331 - Added call to edit_refresh().
1332 do_left(), right():
1333 - Added call to update_line(), still redundant but better...
1334 do_up(), do_down():
1335 - Added refresh calls both for current line and line to which
1336 we are moving.
1337 main():
1338 - Removed inefficient call to edit_refresh() after every keystroke.
1339 It is now up each function to leave the screen in a good state.
1340- winio.c:
1341 do_cursorpos()
1342 - Rewritten to not use bytes from filestruct by an incremental sum.
1343 update_line(), reset_cursor():
1344 - Optimized calls to xplustabs() through a single variable.
1345 - update_line() now takes a new arg, an index into the string
1346 for where to update the line from. Needed for new update
1347 code.
1348- configure.in:
1349 - Better checks for slang, allows argument to --with-slang.
1350 (Albert Chin-A-Young)
1351 - Removed -Iintl from CFLAGS in gcc check.
1352- Makefile.am:
1353 - Addition of -Iintl for gettext (Albert Chin-A-Young)
1354
1355nano-0.9.4 - 04/25/2000
1356 - Fixed calls to no_help and changed them to the more consistent
1357 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
1358 not 1. Code to temporarily disable NO_HELP when in the
1359 help system. (Adam Rogoyski)
1360- cut.c:
1361 do_marked_cut(), do_cut(), do_uncut():
1362 - Commented out unnecessary bits when NANO_SMALL is being used.
1363- winio.c:
1364 xpt(), strlenpt(), actual_x():
1365 - Added check for value of data[i] & 0x80, if so do not make
1366 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
1367 edit_refresh():
1368 - New check for temp == NULL (bad thing), if so go back to the
1369 previous line. New filestruct var hold points to prev line.
1370 Fixes segfault when paging down to the end of a file.
1371- nano.c:
1372 write_file():
1373 - Added check for if file exists and is not equal to the current
1374 filename, prompt for overwrite (Adam Rogoyski).
1375 do_down():
1376 - Removed check for current->next == NULL, now checks return value
1377 of do_down before setting current_x = 0 (discovered by Adam).
1378 do_justify():
1379 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00001380 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001381 by Adam).
1382- utils.c:
1383 - Removed extra macro defs that are now in nano.h.
1384- nano.h:
1385 - Changed macro SET() to use |= instead of ^=. Fixes bug in
1386 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00001387 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001388
1389nano-0.9.3 - 04/29/2000
1390- cut.c:
1391 do_marked_cut():
1392 - Fixed off by one error in cut code for marked text.
1393 do_cut_text():
1394 - Removed check for being on the last line, part of
1395 magic line code.
1396 add_to_cutbuffer():
1397 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
1398 - Added inptr->prev = NULL for case where cutbuffer == NULL.
1399- nano.c:
1400 do_backspace(), do_char():
1401 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00001402 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001403 at least one known segfault condition.
1404 do_enter():
1405 - Added setting editbot to new node if the new node is the last
1406 node in the file.
1407 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00001408 - Changed writing file behavior. Now, if last line of the file
1409 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001410- winio.c:
1411 add_marked_sameline():
1412 - New code that checks for whether the begin and end of the marker
1413 are on different lines. Missing previously.
1414 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00001415 - added some more checks for text length. Cleaned up some
1416 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001417 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001418 - Removed check for temp == filebot, it is now treated like any other
1419 line. Fixes a bug where selected text on the last line shows
1420 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001421 xpt():
1422 - Removed an extra computation for tabs variable that was incorrect.
1423 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00001424 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001425 xpt(current, current_x)
1426- nano.1, nano.1.html:
1427 - Added -l option to man pages.
1428- configure.in:
1429 - New option --enable-tiny, #defines NANO_SMALL in config.h.
1430 Disables call to gettext in functions and other i18n stuff in
1431 nano.c, the detailed help mode, the resize functions, and the
1432 justify code which no one ever uses.
1433 - New option --with-slang. Enables slang libraries instead of
1434 ncurses, requires slcurses.h for wrapper functions. (Based
1435 on patches for 0.8.7 by Glenn McGrath).
1436
1437nano-0.9.2 - 04/15/2000
1438- This release just fixes the serious segfault problem if nano is
1439 invoked any way other than using the absolute path. The bug was
1440 in the new code for checking whether nano is invoked as pico.
1441
1442nano-0.9.1 - 04/14/2000
1443- Added pico compatibility for ^T when in search or switch to switch
1444 to the opposite function. Added one to REPLACE_LIST_LEN and
1445 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00001446 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001447 to search_init(). Handlers in do_replace and do_search().
1448- New write code, now follows symbolic links instead of replacing them
1449 with the new file. New option (-l, --nofollow) to enable the old
1450 (incorrect, but secure) behavior (Adam Rogoyski).
1451- nano.c:
1452 do_wrap():
1453 - Fixed another bug relating to wrapping, and which would cause
1454 a segfault *sigh*.
1455 do_replace():
1456 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00001457 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001458 add_marked_sameline():
1459 - New function, handles marked text when start & end of marker is
1460 on one line, also supports most marked text when cursor > COLS.
1461 main():
1462 - Code to check if nano is invoked as 'pico', and if so
1463 automatically set pico_msgs (Robert Jones).
1464
1465nano-0.9.0 - 04/07/2000
1466- nano.1, nano.1.html: Updated man page with my email address and homepage.
1467- winio.c:
1468 reset_cursor(), update_line():
1469 - Changed update algorithm for x value to (COLS - 7) multiple when x
1470 value > (COLS - 2).
1471- edit_refresh():
1472 - Removed inner loop code, now calls update_line() for each line
1473 in question, MUCH nicer.
1474- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00001475 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001476 - Added check for data[i] < 32, most of such bits are 2 chars wide.
1477- update_line():
1478 - Fixed a stupid call to strlenpt with col when we should have
1479 been using actual_col. Ugh.
1480
1481nano-0.8.9 - 03/22/2000
1482- nano.c:
1483 empty_line(), no_spaces(), justify_format(), do_justify():
1484 Actually added these (screwup applying patch).
1485 do_justify(): Added call to set_modified().
1486
1487nano-0.8.8 - 03/12/2000
1488- Preliminary internationalization support. Many many functions modified
1489 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
1490 New dirs po/ and intl/, changes to configure.in and Automake.am to
1491 support i18n.
1492- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00001493 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001494 statics: Changed some things that were not necessarily static
1495 (Adam Rogoyski).
1496 nrealloc(): New function, similar to nmalloc(). Changed calls from
1497 realloc() to nrealloc (Adam Rogoyski).
1498 empty_line(), no_spaces(), justify_format(), do_justify():
1499 New functions for justify function (Adam Rogoyski).
1500- winio.c:
1501 blank_edit(): Added wrefresh call to edit so that screen updates (like
1502 on ^L) actually work.
1503 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
1504
1505nano-0.8.7 - 03/01/2000
1506- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00001507 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001508 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00001509 break the line exists, and for wrapping lines longer than
1510 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001511- nano.1.html:
1512 Html version of man page, now included in dist. For
1513 the benefit of nano packages in Linux distributions.
1514
1515nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00001516- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001517 shortcut_init():
1518 Added shortcuts for goto_line and do_replace when using
1519 pico_msgs. Oops.
1520- nano.c:
1521 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00001522 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001523 Removed check for backing up past spaces first.
1524 main(): Added for loop to check for alt keys instead of hard list.
1525 do_enter(): Fix for bug #14, added call to reset_cursor and messed
1526 up do_char quite a bit.
1527 version(): Added time and date stamp for compile on version message.
1528 Added mail and web page info.
1529- README: Updated mailing list info.
1530
1531nano-0.8.5 - 02/18/2000
1532- nano.c:
1533 main(): Finally fixed tilde being input on page up/down keys in
1534 certain terminal types. Fix was input 26->91->5[34] check
1535 for 126, if so make the kbinput PAGE UP/DOWN, else unget
1536 the keystroke and continue. Added #include <ioctl.h> for
1537 ioctl call.
1538 handle_hup():
1539 Handler for hangup signal. Belated include of patch from
1540 Tim Sherwood.
1541- winio.c:
1542 edit_refresh():
1543 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00001544 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001545 revamped.
1546 check_statblank():
1547 Added check for constupdate, makes things less choppy
1548 (Adam Rogoyski)
1549
1550nano-0.8.4 - 02/11/2000
1551- Moved global variables that were only (or mostly) used in one file into
1552 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
1553- global.c:
1554 shortcut_init():
1555 Removed redundant NANO_CONTROL_H from backspace shortcut,
1556 added char 127 which should have been there.
1557- nano.c:
1558 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
1559 segfaults (Adam Rogoyski).
1560- Makefile.am: Added all source filenames (Adam Rogoyski).
1561- nano.1: Fixed mail addressed and added mailing list address.
1562- README: Updated my email address and the nano web page.
1563
1564nano-0.8.3 - 02/08/2000
1565- New pico mode (-p, --pico), toggles (more) compatibility with the
1566 Pico messages displayed in the shortcut list. Note that there are still
1567 small differences in this mode.
1568- nano.h: New shortcut struct format, for the benefit of i18n and
1569 our help menu. Removed shortcut message macros, they are
1570 now all in shortcut_init in global.c.
1571- nano.c:
1572 do_wrap(): Removed resetting of current_x when we are in fact
1573 wrapping to the next line, fixes a bug in -i mode.
1574 do_enter():
1575 Rewrote the autoindent mode code to be a lot less pretty,
1576 but a lot more magical.
1577 main():
1578 Removed case for ignoring char 126 (~). That's kind of
1579 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00001580 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001581 main switch loop in much snazzier fashion based on the
1582 shortcut list.
1583- winio.c:
1584 New function display_main_list. Affects all functions
1585 that used to call bottombars() with main_list. Added
1586 because we now only call bottombars with the macro
1587 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
1588 changes to the main_list shortcut list (see global.c below).
1589 New function do_help, our preliminary dynamic help system.
1590- Many many funcs:
1591 Changed from int to void to allow one uniform type to call
1592 from the shortcut struct. Also a few functions that do
1593 not simple have void argument have new functions called
1594 funcname_void(void) to be called from the shortcut list.
1595 do_cut_text and do_uncut_text were changed to void
1596 arguments because they were never called with a filestruct
1597 other than *current anyway.
1598- global.c:
1599 Shortcut list main_list was expanded to cover all
1600 shortcuts that could be caught in the main loop.
1601 Consequently there is a new macro MAIN_VISIBLE which tells
1602 how many items in the main list to actually show.
1603
1604nano-0.8.2 - 02/02/2000
1605- Added initial mouse (-m, --mouse) support. New global variable
1606 use_mouse. (Adam Rogoyski)
1607
Chris Allegretta88520c92001-05-05 17:45:54 +00001608- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001609 regardless. (Adam Rogoyski).
1610 do_delete():
1611 Deleted call to do_backspace() when on the end of a line,
1612 because it won't update the line properly.
1613 do_backspace():
1614 Removed unnecessary pointer manipulation that was being
1615 handled by unlink_node().
1616 open_file():
1617 Added check for trying to open a directory (currently we
1618 segfault on this). Bug pointed out by Chad Ziccardi.
1619
1620nano-0.8.1 - 01/28/2000
1621- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
1622 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
1623 global.c and proto.h.
1624- nano.c:
1625write_file(): Added (incredibly) necessary check for EPERM when
1626 link() fails. This allows us to actually save
1627 files via rename() on filesystems that dont
1628 support hard links (AIEEEEEE).
1629do_goto():
1630 Fixed a stupid mistake where we were calling
1631 bottombars() with replace_list instead of goto_list.
1632- nano.h:
1633 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00001634 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001635 for help function and i18n.
1636- global.c:
1637 New functions shortcut_init (called in nano.c) and
1638 sc_init_one() to initialize the shortcuts without
1639 using {}s (for i18n).
1640
1641nano-0.8.0 - 01/25/2000
1642- View flag (-v, --view) implemented. Global variable view_mode, affects
1643 main loop of nano.c and new_file(). (me)
1644- nano.c:
1645 split checks for TERMIOS_H and TERMIO_H up so we
1646 can (theoretically) include them both, which is good.
1647handle_sigwinch():
1648 Added check for ncurses.h. (Andy Kahn)
1649do_spell():
1650 We now only try ispell because we don't as of yet
1651 handle the 'spell' program the right way, now that
1652 I finally know what the right way is =-). Added
1653 call to edit_update(fileage) to stop segfaults.
1654global_init():
1655 Added initialization of edit* filestruct pointers
1656 to stop segfaults on spell check.
1657usage():
1658 Check for getopt_long, and if no leave out the
1659 GNU options everyone seems to love so much (Andy Kahn)
1660main():
1661 Added checks for getopt_long (Andy Kahn)
1662 We ignore character 126 because it gets put into
1663 the buffer when we page up/down on a vt terminal.
1664write_file():
1665 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00001666 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001667 better in the function comments. Fixed my
1668 stupidly commented out check for tmp on setting
1669 umask which I really like =>
1670- nano.h:
1671 Made desc variable in shortcut struct a pointer
1672 instead of a fixed-length string.
1673- utils.c:
1674 Fixed check for config.h before nano.h.
1675- configure.in:
1676 New checks for getopt_long, getopt.h, removed
1677 CFLAGS and LDFLAGS changes. Gonna have to run
1678 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00001679 Added check for HAVE_WRESIZE, new file acconfig.h
1680 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001681
1682nano-0.7.9 - 01/24/2000
1683- New autoindent feature. Command flag 'i' or '--autoindent'. New
1684 function do_char() to clean up character output, global
1685 variable autoindent in global.c. (Graham Mainwaring)
1686- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
1687 files on exit without prompting. Affects do_writeout(). Also
1688 do_writeout() now takes a parameter for if exiting.
1689 Global variable temp_opt in global.c (Graham Mainwaring)
1690- Preliminary spell program support. Added command flag '-s' or
1691 '--speller' for alternative speller command. Added function do_spell()
1692 and exit_spell() to nano.c. New global variable alt_speller.
1693- nano.c:
1694 main(): We now ignore input of decimal 410 because these get entered
1695 when we resize the screen. Sorted options in getopt()
1696 switch statement.
1697 usage(): Sorted options and changed tabs to make room for -s option.
1698 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
1699 doesn't print the number of lines written on the statusbar.
1700 global_init():
1701 Added more initializations to globals to support do_spell().
1702
1703nano-0.7.8 - 01/23/2000
1704- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00001705- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001706 and main() in nano.c
1707- Removed redundant reset_cursor() calls from the blank() routines.
1708- nano.c:
1709 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
1710 Removed check for isprint() characters in main while loop
1711 for people with odd character sets *shrug*. Added some X
1712 window F-key combos.
1713 read_line(): New function, consolidates of most of the special
1714 sections of the file reading code. (Rob Siemborski)
1715 do_replace(): Many scattered fixes. (Rob Siemborski)
1716 write_file(): Added check for empty filename.
1717- winio.c:
1718 nanogetstr(): Fixes for deleting at places other than the end of the
1719 buffer, cut support. (Adam Rogoyski)
1720 blank_edit(): New function, blanks edit buffer. Added call to it in
1721 total_refresh().
1722- configure: Checks for glib if snprintf of vsnprintf aren't available
1723 (Andy Kahn). Changed warning message when no termcap lib
1724 is found.
1725
1726nano-0.7.7 - 01/19/2000
1727- Option '-v' for version moved to '-V', because -v is Pico's "read only"
1728 mode (affects getopt() in main() and usage() function in nano.c
1729- New flag -c, always show cursor position. Affects main() in nano.c and
1730 statusbar() in winio.c
1731- Option '-x' doesn't show help window at the bottom of the editor.
1732 New variable no_help in nano.h and proto.h, affects main(), usage(),
1733 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
1734 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
1735 hand =P) (Adam Rogoyski)
1736- nano.c:
1737 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
1738 page_up(), page_down():
1739 - New functions. We now set the cursor at the top right corner,
1740 not at the center line, and page up and down a full screen
1741 rather than a half screen. Original functions renamed to
1742 page_up_center() and page_down_center().
1743 main():
1744 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
1745 in main while loop because suspend mode was broken. This should
1746 fix it, at least for now.
1747 - Added long option support (By popular harassment ;-) - Added
1748 #include for getopt.h, changed getopt() to getopt_long().
1749 Options added so far: --version (-V), --nowrap (-w), --suspend
1750 (-z), --help (-h), --nohelp (-x).
1751 - Rewrote signal statements (Adam Rogoyski)
1752
1753nano 0.7.6 - 01/15/2000
1754- New ChangeLog format
1755- nano.c:
1756 main(): Bound CONTROL_H to backspace (oops)
1757 Added more Alt-[-key combinations, for page up & down.
1758 read_bytes(): New function (Adam Rogoyski)
1759 read_file(): Optimizations - malloc()s *buf a little at a time rather
1760 than one huge buffer, and replaced the strcat at the end
1761 with an index variable. Added call to read_bytes().
1762 do_next_word(): New function, binding is control-space (0) (me)
1763
1764- winio.c:
1765 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
1766 (formula is extra space needed = COLS / 6 - 13).
1767 actual_x() & strlenpt():
1768 Added bug#9 fix - when tabs % 8 == 0, we should only
1769 increment tabs by 1.
1770 titlebar(): Fixed overrun in titlebar on very long filenames.
1771
17720.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
1773 writing a newline at EOF. do_cursorpos and do_replace are now not
1774 directly bound to signals but picked up as their control sequences
1775 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
17760.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
1777 available memory, align bug fixed (Big Gaute).
1778
1779--- As of version 0.7.4 TIP is renamed to nano.
1780
17810.7.3 Fixed a double blank_statusbar() when jumping to first and last
1782 lines. Took out unnecessary updates in load_file. Bug fix in
1783 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00001784 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001785 with replace all, more/better comments (Robert Siemborski)
17860.7.2 Our first patch accepted into the source! configure fixes
1787 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
1788 Bug fix in update_line for editing long lines. Fixed arguments
1789 being put into the filename when none is specified. Preliminary
1790 +line command argument function.
17910.7.1 configure tweak for better FreeBSD support. Removed refresh() from
1792 edit_refresh to stop cursor "jumping" during screen updates. This
1793 will probably cause a bug or two. Replace is now Alt-R (@R) and
1794 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
1795 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
1796 Control-G will become the Help key, but for now is stubbed out.
17970.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
1798 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
1799 length file. Added Esc-[-A,B,C,D cursor key sequences.
18000.6.9 Preliminary cursor position function. Split up tip.c more, made
1801 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
1802 that was leaving out a character.
18030.6.8 By request, optchr in main() is now an int. Removed unneeded
1804 globals. Bound functions for next/prev page, and wrote functions
1805 do_home and do_end.
18060.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
1807 created read_file. Implemented Insert File. Fixes in tipgetstr
1808 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
18090.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
1810 aborted searches and more Pico-compatible messages. statusq() now
1811 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
18120.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
1813 regarding buffers with filebot in them. Fixins in do_backspace
1814 and do_enter. Removed unused variables. Removed strip_newline.
18150.6.4 Took out the awful newlines from each string buffers. This will
1816 certainly cause more bugs. Fixes in do_exit(). Better empty file
1817 handling (I hope).
18180.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
1819 do_enter() rewritten.
18200.6.2 Better default file permissions. Complete rewrite of do_wrap().
1821 Better handling of editing with cursor near COLS - 1.
18220.6.1 Starting to implement wrapping toggle. Fix for unhandled control
1823 codes being entered into the buffer. Bug fix in actual_x; more
1824 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00001825 locked into cutbuffer when cutting more than one marked screen of
1826 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000018270.6.0 We have TABs!!! To do this, placewewant is now set to the actual
1828 width on the screen we want to be, not an index of current->data.
1829 New functions xplustabs and actual_x convert the actual place
1830 the cursor should be on the screen to and from the place in the
1831 string.
18320.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00001833 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001834 arrow. Preliminary support for longer than COLS - 1 lines.
1835 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000018360.5.4 Fixed a bug in total_update that wasn't repainting the screen
1837 properly. tipgetstr is much more messy but text is now more
1838 editable ;) Fixed crash on entering a new file, hopefully. Awful
1839 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000018400.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
1841 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00001842 I would not trust your data with the mark code right now, but then
1843 we're not at version 1.0 yet so dont trust anything ;)
18440.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001845 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00001846 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001847 but does not actually affect what gets put in the cutbuffer (yet).
18480.5.1 Writing a file out causes modified to be set back to 0. Good.
1849 Set_modified function written. Cut and uncut text now set
1850 modified when called.
18510.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00001852 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001853 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00001854 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000018550.4.2 Implemented replace all in replace function. Crude exit function
1856 (asks yes or no if modified but does not write to file).
18570.4.1 Implementing search & replace. Fixed crash on deleting at top of
1858 edit buffer. Implemented "timeout" of statusbar messages.
1859 Implemented ^A and ^E (beginning and end of line).
18600.4.0 Split code into global.c and proto.h to allow for better multiple
1861 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00001862 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000018630.3.1 Write edit_refresh which doesn't move the screen around, just
1864 updates what's there already. do_wrap() and do_enter() added.
18650.3.0 Preliminary cutbuffer (cut and uncut) support.
18660.2.7 Check for Modification added. do_search() works.
18670.2.5 Rewrite of file data struct.
18680.2 Read in data to buffer, bound keystrokes to stub functions,
1869 initial cursor movement on screen. Initial autoconf support.
18700.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00001871
1872$Id$