blob: 9e1491899217c9be7fbf394efb60d46261bda9d1 [file] [log] [blame]
Chris Allegretta5fd6cac2001-12-12 13:55:19 +00001CVS code -
2
Chris Allegretta7bf25092001-12-12 02:44:40 +00003nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +00004- General
5 - Preliminary syntax highlighting support. New functions
6 colortoint() and parse_color() in rcfile.c, new code in
7 edit_add() in winio.c to actually do the highlighting. It's
8 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +00009 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +000010- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +000011 - Fixes for tab completion and screen refresh (David Lawrence
12 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +000013 add_open_file()
14 - Get rid of unsetting MARK_ISSET because otherwise writing
15 marked text will automatically unset the marker with
16 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +000017- global.c:
18 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +000019 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
20 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +000021- nano.c:
22 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +000023 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +000024 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
25 signal_init()
26 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
27 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +000028 help_init()
29 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +000030 do_curpos()
31 - Now takes arg for constant updating to always show the cursor
32 position (David Lawrence Ramsey).
33 do_wrap()
34 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +000035 do_spell()
36 - Dont prompt for replace if we don't change the word in
37 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +000038- po/de.po:
39 - German translation updates (Karl Eichwalder).
40- po/ru.po:
41 - Russian translation updates (Sergey A. Ribalchenko).
42- po/sv.po:
43 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +000044- po/da.po:
45 - Danish translation updates (Keld Simonse).
46- po/es.po:
47 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +000048- po/fr.po:
49 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +000050- m4/gettext.m4:
51 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +000052
Chris Allegrettadc57bba2001-10-26 16:14:45 +000053nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +000054- General
55 - Finally wrote function-specific help mode. Changes to
56 nano.c:help_init() and winio.c:do_help(). Changed
57 currshortcut and currslen #ifdefs to depend on both
58 DISABLE_HELP and DISABLE_MOUSE being defined to not
59 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +000060 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
61 this was causing nasty errors if the call to nrealloc moved
62 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +000063 - Changed header comments to say "version 2" instead of "version
64 1" as the COPYING file is actually version 2 of the GPL (bug
65 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +000066- cut.c:
67 do_cut_text()
68 - Check to see whether marked text is contained within edit
69 window and if so only do an edit_refresh (variable dontupdate
70 replaces cuttingpartialline).
71 do_uncut_text()
72 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +000073- faq.html
74 - Removed nano-editor.org FTP site address [deprecated] and added
75 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +000076- files.c:
77 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +000078 People should know that their file wasnt normally formatted.
79 load_file()
80 - Status message when trying to load an already loaded file with multiple
81 buffers (David Lawrence Ramsey).
82 read_file()
83 - Get rid of useless linetemp variable and name num_lines int
84 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +000085- nano.c:
86 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +000087 Alt-space, as next word is hard coded as control-space. Fixed
88 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +000089 beginning of first line, prog should simply abort. Added
90 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +000091- nano.h:
92 - Additional #define, SMALL_TOO to determine how long
93 MAIN_LIST_LEN is. We need this because of the find matching
94 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +000095 main()
Chris Allegretta347c1842001-10-24 01:37:13 +000096 - Moved #ifndef NANO_SMALL down past the case 0: line so
97 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +000098- rcfile.c:
99 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +0000100- po/sv.po:
101 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +0000102- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +0000103 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +0000104- po/es.po:
105 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallacheb94b9e2001-10-15 14:26:48 +0000106- po/ru.po, uk.po:
107 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +0000108
Chris Allegretta03260b42001-10-04 01:24:07 +0000109nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +0000110- General
111 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
112 new flag CLEAR_BACKUPSTRING because there's no easy way to
113 clear the backupstring without making it global (messy), so we
114 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +0000115 - --enable-tiny now leaves out the Auto Indent code, do you really
116 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +0000117 - New flag -o, --operatingdir, similar to Pico's -o mode. New
118 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +0000119 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +0000120 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +0000121 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +0000122 new code in read_line and write_file. New cmdline flag
123 (-D --dos) to automatically write the file in DOS format,
124 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +0000125 - Mac file writing supported too. Flag -M, --mac. Toggle
126 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +0000127 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +0000128 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +0000129 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +0000130 - Bracket (brace, parens, etc) matching code by Ken Tyler.
131 New functions do_find_bracket(), changes to findnextstr(),
132 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +0000133 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
134 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +0000135 - Call do_gotopos from do_alt_spell() to keep position
136 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +0000137 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +0000138 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +0000139 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +0000140 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +0000141- cut.c:
142 cut_marked_segment()
143 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +0000144 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +0000145 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +0000146 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +0000147- faq.html:
148 - Notes about the Free Translation Project.
149 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +0000150- files.c:
151 do_writeout()
152 - Expanded strings to not use %s and ?: to determine
153 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +0000154 new_file()
155 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +0000156- nano.c:
157 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +0000158 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +0000159 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +0000160 - Many tweaks and changes from numerics to char equivs
161 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +0000162 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +0000163 do_mouse()
164 - Send 27 when the menu item clicked is an alt key seq... The
165 lines aren't lined up since the menu width changed though,
166 this breakage depends on whether the new widths will be kept
167 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +0000168 - Change k based on currslen to allow the new widths in
169 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +0000170 do_wrap()
171 - Fixes for Pico incompatibility in cases 2b and 2c.
172 (David Lawrence Ramsey).
173 global_init()
174 - New arg save_cutbuffer, allows cutbuffer to not be lost when
175 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +0000176- nano.1:
177 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +0000178- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +0000179 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
180 - Added many command line options, toggles and other additions
181 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +0000182- rcfile.c:
183 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +0000184 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +0000185 - Fix incorrect argument in fill and tabsize error message
186 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +0000187- search.c:
188 - Changed search prompt to "Search" followed by a list of
189 bracketed, free-standing modifiers that do not imply a grammar,
190 and the (to replace) string separately. Hopefully this resolves
191 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +0000192 findnextstr()
193 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +0000194- winio.c:
195 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +0000196 bottombars()
197 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +0000198 nanogetstr()
199 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +0000200 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +0000201- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +0000202 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +0000203- po/ca.po, po/es.po:
204 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +0000205- po/gl.po:
206 - Updated Galician translation (Jacobo Tarrío).
Jordi Mallach90bbdd32001-09-12 19:06:59 +0000207- po/da.po:
208 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +0000209- po/sv.po:
210 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +0000211- po/it.po:
212 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +0000213- po/fi.po:
214 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +0000215
Chris Allegretta0e8c8d82001-07-29 01:16:27 +0000216nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +0000217- General
218 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
219 - Added m4/ directory to allow rebuilding using only the internal
220 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +0000221- nano.c:
222 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +0000223 - Change the multibuffer getopt option to 'F' (David Lawrence
224 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +0000225 do_mark()
226 - Temporarily disable cursorpos when enabled to be able to see
227 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +0000228- nanorc.sample
229 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +0000230- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +0000231 new_file()
232 - Do add_open_files if there aren't any open yet (David Lawrence
233 Ramsey).
234 close_open_file()
235 - Try to open the next file first, then the previous one
236 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +0000237- global.c:
238 shortcut_init()
239 - Rewrote the whereis and replace lists to put CANCEL at the end
240 of the list, and not include the toggle functions when using
241 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000242- nano.h:
243 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +0000244 - Rewrote all the macro definitions to be a little less messy,
245 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +0000246- rcfile.c:
247 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000248- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +0000249 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000250 search_init()
251 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +0000252- winio.c:
253 bottombars()
254 - Fixed an off by one that wasn't letting lines with odd #
255 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +0000256
Chris Allegretta9a748602001-07-15 16:07:23 +0000257nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +0000258- General
259 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +0000260 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +0000261 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +0000262 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +0000263 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +0000264 this automatically, but now just mouse support can be disabled
265 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000266 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +0000267 - Added rcfile.c source file. Only includes much of anything when
268 --enable-nanorc is used. Tons of new funcs, most notably
269 do_rcfile() called from nano.c:main(). Added much needed
270 function ncalloc(), will have to go through source code later
271 and change the aproproate calls which used nmalloc for lack of
272 an apropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000273 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +0000274 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +0000275 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +0000276 - Added config.guess and config.sub to distribution because,
277 apparently, newer autoconf/automakes can't live without them.
278 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +0000279 - Changed all string allocations to charalloc(), new function
280 designed to take nmalloc argument but call calloc based on
281 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +0000282 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
283 and justify being disabled. This allows us to compile out the
284 -r flag if neither are set, and will also allow us to comment
285 out -W when it is written.
286 - Allow fill to take a negative value ot signify a "from right side"
287 value. This allows the value to vary with the screen size yet
288 still be correct. New static value wrap_at to minimize code
289 inpact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000290 - Allow file appending. New shortcut list nano_insertfile_list (since
291 insert and write routines can't share shortcut lists anymore),
292 new args to do_writeout and write_file called append, and of source
293 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +0000294 - Allow backwards searching. Drastic rewrite of the search prompt
295 string by Chris. All other code by Ken Tyler. New globals
296 nano_reverse_msg, new functions revstrstr and revstrcasestr,
297 many changes to search functions. Not too big a code size
298 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +0000299 - Moved extension functions (Case Sensitive, Regexp, and Backwards
300 Search, Append key in write file function) to Meta keys, as
301 people are complaining loudly about nano not being control-key
302 compatible with Pico, which is a Bag Thing (TM). Changes to
303 shortcut_init, toggle_init, new toggles for backwards and regexp
304 (and you can now toggle all search options including regexp at
305 the Search: prompt!) Changes to nanogetstr to enable Meta
306 keys to be grabbed, changes to onekey to print M-style shortcuts.
307 - New macro TOGGLE which just toggles, no more silly checking
308 ISSET and then using SET or UNSET when we want a simple toggle
309 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +0000310 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +0000311 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +0000312 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
313 and write_file(), new functions add_open_file(),
314 open_file_change_name(), load_open_file(), open_file_dup_search(),
315 open_file_dup_fix(), open_prevfile(), open_nextfile(),
316 close_open_file(), get_full_path(), die_save_file(), etc.
317 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +0000318 - Using --enable-extra automatically defines --enable-multibuffer
319 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +0000320 - Moved to gettext 0.10.38 at the last second, sure to break
321 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +0000322- Makefile.am:
323 - Include ABOUT-NLS and the new THANKS files to the distributed list.
324- THANKS:
325 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +0000326 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +0000327- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +0000328 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +0000329 initialization file and set options normally used on the command
330 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +0000331 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +0000332 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +0000333- cut.c:
334 add_to_cutbuffer()
335 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +0000336 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +0000337 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
338 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000339 - Added 'destructive' argument. Allows the selected text to be
340 added to the cutbuffer without changing the contents of the
341 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +0000342 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +0000343 - If the line is empty when using -k and wasn't already added,
344 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +0000345 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +0000346 - Moved the case of current == mark_beginbuf into cut_marked
347 segment, so do_writeout could call it when writing selection to
348 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +0000349 do_uncut_text()
350 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +0000351- faq.html:
352 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +0000353 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000354- files.c:
355 do_browser()
356 - Minor fixes to the processing of SELECT function (Rocco)
357 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +0000358 - Don't shift the size of the file is it's less than 1K. Fixed
359 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +0000360 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
361 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000362 do_writeout()
363 - New code to allow writing selected text to a separate file.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +0000364 When this is done, the current state is prserved.
365 write_file()
366 - New arg, nonamechange, means whether or not to update the
367 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +0000368 - Increment lineswritten when the very last line isn't null.
369 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000370- global.c:
371 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +0000372- move.c:
373 page_up()
374 - Rewritten with a loop to make screen updates work when
375 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +0000376 do_home(), do_end()
377 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +0000378- nano.1:
379 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +0000380- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000381 do_alt_speller()
382 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +0000383 ABCD(), main()
384 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +0000385 main()
386 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +0000387 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +0000388 signal_init()
389 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
390 SIGCONT from being interrupted, allows suspending nano
391 to work more reliably, esp. with mutt, etc.
392 do_suspend()
393 - Don't try to play with the handler inside the handler. Just
394 raise a SIGSTOP. We also now write the "use "fg"" message to
395 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +0000396 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
397 Eliminates the possibility that nano can be suspended when
398 it's not supposed to be. Many many many thanks to Jordi and
399 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +0000400 do_cont()
401 - Now just does a refresh call instead of playing with the SIGTSTP
402 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000403- nano.h:
404 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
405- proto.h:
406 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000407- search.c:
408 do_gotoline()
409 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +0000410 do_replace()
411 - If we manage to make it in somehow with VIEW_MODE on, abort
412 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +0000413- utils.c
414 strcasestr()
415 - Replaced by mutt's mutt_stristr function, because the thought
416 of dynamically allocating memory and copying each line in a file
417 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +0000418- winio.c:
419 actual_x()
420 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +0000421- po/POTFILES.in:
422 - Added utils.c to the list.
423- po/es.po, po/ca.po:
424 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +0000425- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +0000426 - Galician translation by Jacobo Tarrío.
Jordi Mallach92b3bd22001-05-16 09:10:31 +0000427- po/uk.po, po/ru.po:
428 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +0000429 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +0000430- po/id.po:
431 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +0000432- po/it.po
433 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +0000434- po/no.po:
435 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
436- po/sv.po:
437 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +0000438
439nano 1.1 tree forked here 04/07/2001
440
Chris Allegretta38068cd2001-04-06 20:04:23 +0000441nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +0000442- General:
443 - added configure option --disable-wrapping. Does what it says,
444 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +0000445 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +0000446 Affects configure, nano.c:do_char() and check_wrap() obviously,
447 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +0000448- aclocal.m4:
449 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +0000450- faq.html:
451 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +0000452- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +0000453 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +0000454 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +0000455 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +0000456 - use strcasecmp to sort directory if available, pilot does that
457 as well (Matthias Andree)
458 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +0000459 - Changed lstat calls to stat, which fixes the browser not
460 following links to directories. We only use lstat() when
461 printing the details of the file, and if it is a link, then
462 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +0000463 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +0000464 do_browser()
465 - Fix broken size suffix off-by-one errors (Matthias Andree)
466 cwd_tab_completion(), do_browse_from()
467 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
468 - Changed above to use PATH_MAX only when defined on the
469 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +0000470- intl/Makefile.in:
471 distclean
472 - added intl/libintl.h to the rm -f rule, should fix the unresolved
473 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +0000474
Chris Allegretta2bfbda02001-03-23 03:50:44 +0000475nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +0000476- General
477 - Added void to functions declared as () args, nano.c:do_mark()
478 and search.c:regexp_cleanup(). (Christian Weisgerber).
479 - Changed internal variables called "new" to "newnode" to avoid
480 the "new" C++ reserved word, even though there is likely no way
481 nano will EVER be compilable with a C++ compiler. (suggested by
482 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +0000483- ca.po, es.po:
484 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +0000485- cs.po:
486 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +0000487- nano.info:
488 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +0000489- winio.c:
490 statusq()
491 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +0000492
4931.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +0000494- nano.c:
495 do_wrap()
496 - Added case for autoindenting text causing new line (Adam).
497 - Added SAMELINE case to above. Added checks to cases 1b and
498 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +0000499- move.c:
500 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +0000501 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +0000502 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +0000503- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +0000504 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +0000505 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +0000506 search_init()
507 - If using Pico mode and regex and same answer is entered, use
508 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +0000509- nano.texi:
510 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +0000511
Chris Allegrettaa4a222d2001-02-20 03:52:13 +0000512nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +0000513- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +0000514 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +0000515 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +0000516 removed "Goto Line", aligned "Read File" with "Write Out" and
517 "Replace" with "Where is" for consistency.
518 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +0000519 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +0000520- configure.in:
521 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +0000522 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +0000523 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +0000524- cut.c:
525 do_cut_text()
526 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +0000527- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +0000528 do_delete()
529 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +0000530 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +0000531 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +0000532 do_justify()
533 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +0000534 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +0000535 main()
536 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +0000537- winio.c:
538 do_yesno()
539 - Added localized yes, no and all strings to function and rewrote
540 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000541- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +0000542 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000543- fi.po:
544 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +0000545- hu.po:
546 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000547- id.po:
548 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +0000549- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +0000550 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +0000551- ca.po:
552 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +0000553 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
554 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +0000555
Chris Allegretta34318ed2001-01-31 23:22:36 +0000556nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +0000557General
Chris Allegrettad4ddd012001-01-23 01:17:07 +0000558 - Removed center_x and center_y globals. center_y was
559 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +0000560 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +0000561 - Deleted free_node, duplicate of delete_node, and changed all
562 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +0000563 - Fix for resizing the window in modes other than normal edit mode
564 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +0000565- files.c:
566 write_file()
567 - Don't free() realname on error, if it needs to be free()d later
568 it will be (fixes crash on successful write after failed write,
569 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +0000570 username_tab_completion()
571 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +0000572 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +0000573 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +0000574 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +0000575 - Rewritten using getpwent (suggested by Adam, much optimized by
576 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +0000577- global.c:
578 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +0000579- nano.c:
580 do_justify()
581 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +0000582 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +0000583 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +0000584 global_init(), handle_sigwinch()
585 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +0000586 do_alt_speller()
587 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +0000588 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +0000589- proto.h:
590 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +0000591- winio.c:
592 nanogetstr()
593 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +0000594
Chris Allegretta9d6f3f32001-01-21 02:35:03 +0000595nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +0000596General
597 - Changed #ifdefs to check for both DISABLE_TABCOMP and
598 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000599 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +0000600 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000601 back. (Rocco)
602 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +0000603 - Added message for when keypad goes awry. Added code in main and
604 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +0000605 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +0000606 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +0000607 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +0000608- configure.in:
609 - Fix for _use_keypad check breaking slang support (Christian
610 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +0000611 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +0000612 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +0000613- faq.html:
614 - Added some info on making the binary smaller with the configure
615 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +0000616 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +0000617- files.c:
618 real_dir_from_tilde()
619 - Oops, fix case where buf ="~", silly crash (bug discovered by
620 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +0000621 do_browser()
622 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +0000623 cwd_tab_completion(), input_tab()
624 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +0000625 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000626- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +0000627 ABCD()
628 - New function, figures out what kbinput to return given
629 input common to several switch statements, allows us to
630 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000631 main()
632 - Alternate speller option no longer valid if DISABLE_SPELLER is
633 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +0000634 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
635 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +0000636 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000637 nano_small_msg()
638 - This function has been removed. All references now call
639 nano_disabled_msg. (Rocco)
640 version()
641 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
642 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
643 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +0000644 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000645 usage()
646 - Alternate speller option no longer valid if DISABLE_SPELLER is
647 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +0000648 window_init(), handle_sigwinch()
649 - Added check for not having enough LINES to do anything useful,
650 if so die with an error. (Rocco)
651 die_too_small()
652 - Function to print the window too small error message, avoids
653 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +0000654 do_justify()
655 - Small fix for totsize calculation (Rob)
656
Chris Allegrettad9742c62001-01-12 15:51:53 +0000657- fi.po:
658 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +0000659
Chris Allegretta16991442001-01-07 22:06:11 +0000660nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +0000661General -
662 - New file browser code. New functions in files.c:do_browser(),
663 helper functions browser_init(), tail(), striponedir(),
664 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +0000665 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +0000666 - Keypad code has been changed slightly. Now checks for
667 _use_keypad flag in window to see whether or not to turn
668 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +0000669 to winio.c where it should probably be anyway. New configure
670 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +0000671 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +0000672 - Moved keypad() calls for PDCURSES from main() to window_init()
673 so the keypad continues to work after a Meta-X, for example.
674 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +0000675- faq.html:
676 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +0000677- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +0000678 username_tab_completion()
679 - Added the (char *) sizeof when allocating memory for the filename
680 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +0000681 cwd_tab_completion()
682 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +0000683 - Added the (char *) sizeof when allocating memory for the filename
684 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +0000685 do_writeout()
686 - Now takes an argument so the string typed in can be retained
687 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +0000688 do_browser()
689 - Don't decrement longest by the length of path. Fixes crashes
690 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +0000691 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +0000692 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +0000693- move.c:
694 page_down()
695 - Don't do an edit_update when there is only one page of text
696 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +0000697- nano.c:
698 main()
699 - Reorder the getopt options to be more or less alphabetical
700 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +0000701- winio.c:
702 do_cursorpos()
703 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +0000704 do_credits()
705 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +0000706 titlebar()
707 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +0000708 do_help()
709 - Changed way of temporarily bringing up shortcuts at the
710 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +0000711- utils.c:
712 mallocstrcpy()
713 - Takes char pointers now instead of void (makes debugging a
714 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +0000715 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +0000716- es.po:
717 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +0000718
Chris Allegretta66149e72000-12-19 02:51:06 +0000719nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +0000720General
721 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +0000722 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +0000723 - Changed filename to no longer use PATH_MAX, so it can work on the
724 HURD. Changes in files.c:write_file(), new function
725 nano.c:clear_filename(), many changed in main(), a few other
726 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000727 - Added -b, -e, and -f flags, which we ignore as nano provides
728 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +0000729- cut.c:
730 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000731 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +0000732 - Fix screen not being displayed when we are uncutting marked
733 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +0000734 - Fix magic line not getting created when (you guessed it)
735 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +0000736- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +0000737 read_file()
738 - If we encounter an error and insert is not set, run new_file().
739 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +0000740 write_file()
741 - Change open call flags, basically copy joe's way of doing it so
742 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +0000743 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +0000744 open_file()
745 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +0000746- nano.c:
747 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +0000748 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000749 main()
750 - Added code to check for Alt-Alt (27-27) keystrokes and set the
751 next keystroke as a control sequence. New variable
752 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
753 around Control-S,Q,Z handlers because we need it now for
754 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +0000755 - Added --view option to getopt_long()call . Bug discovered
756 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +0000757 help_init()
758 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta92325e72000-12-18 03:44:22 +0000759 ^_ in pico mode not be displayed in the help (bug discovered by
760 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +0000761 do_toggle()
762 - Added fix_editbot() call to fix improper redisplay of edit
763 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000764- nano.1, nano.1.html:
765 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +0000766- winio.c
767 do_help()
768 - Force keypad on so F-keys and PageUp/Down will work properly.
769 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +0000770- utils.c:
771 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +0000772 - Increment totsize!! We decrement it when we've read a file,
773 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +0000774
Chris Allegrettab29550e2000-12-09 03:34:12 +0000775nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +0000776General
777 - Changed --disable-spell to --disable speller. The term is
778 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +0000779- files.c:
780 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +0000781 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +0000782 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +0000783 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +0000784 - We now run check on result of lstat(), not stat(), to be
785 safer. New variable anyexists, we use still use realexists
786 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +0000787 - OOPS, line up link/unlink/rename check if conditional with
788 top if conditional. Option -l has been broken for 9 versions,
789 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +0000790 - Added saving perms at end of link so we can apply them to the
791 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +0000792- winio.c:
793 edit_add()
794 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +0000795 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +0000796 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +0000797 - Moved from search.c, as it's definitely a winio function now =)
798 update_line()
799 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +0000800
Chris Allegrettafedd7242000-12-03 03:15:38 +0000801nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +0000802- General
Chris Allegrettabe77c612000-11-24 14:00:16 +0000803 - Username tab completion code, and cleaned up existing tabcomp
804 code. New functions real_dir_from_tide(), append_slash_if_dir(),
805 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +0000806 - Ignore key sequence 543 & 545, right control and alt keys in
807 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +0000808 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
809 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +0000810 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +0000811 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +0000812- New configure options:
813 - Added configure argument --disable-tabcomp. Affects
814 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +0000815 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +0000816 - New options --enable-extra. New code in nano.c:version() to
817 print out various options from ./configure, function do_credits().
818 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +0000819 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +0000820 do_spell, do_int_speller and do_alt_speller.
821 - Added --disable-justify to get rid of the justify function.
822 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +0000823- files.c:
824 write_file()
825 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +0000826 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +0000827 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +0000828 - Added call to real_name_from tilde, oops. Added check for
829 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +0000830 read_file()
831 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +0000832- global.c:
833 shortcut_init()
834 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +0000835 shortcut or the normal uncut text one. Needed to accommodate
836 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +0000837- nano.1, nano.1.html:
838 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +0000839 - Added "NOTES" section, where I explain what nano.save & friends
840 are.
841 - Added a copyright notice for the manpage, under the GPL.
842 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +0000843- nano.c:
844 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +0000845 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
846 text there, then grabs the next keystroke and, if the unjustify
847 key, gets rid of the justified text and calls do_uncut_text.
848 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000849 do_int_spell*
850 - Various fixes (Rocco Corsi).
851 - Changed abort of program to aborting based on value of "edit a
852 replacement" question, and not caring about the replace loop
853 return value. That way the user can get out of the replace loop
854 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +0000855 version()
856 - Took out huge check for the various --disabled macros,
857 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +0000858 nano_small_msg(), nano_disabled_msg()
859 - Added checks for disabled functions to see whether or not to
860 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +0000861 do_next_word()
862 - Update the previous line as well as the current one in case we
863 have moved beyond COLS or back from COLS, patch submitted
864 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +0000865 die()
866 - Now creates .save file using variable-length strings. Also
867 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +0000868 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +0000869 handle_sighup()
870 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000871- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +0000872 do_replace_highlight()
873 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +0000874 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +0000875 - Added calls to curs_set(0) and (1) to disable the cursor when
876 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +0000877- es.po:
878 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +0000879
Chris Allegrettaca7a21d2000-11-24 01:35:40 +0000880nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +0000881- AUTHORS
882 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +0000883- nano.c:
884 main()
885 - Changed check for argc == 1 to argv[optind] == NULL to decide
886 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +0000887- search.c:
888 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +0000889 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +0000890 search_init()
891 - Silly typo in our "one simple call" of statusq. Stopped
892 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +0000893 do_replace()
894 - Copy back the previous value of last_replace into answer if
895 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +0000896- winio.c:
897 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +0000898 - Deleted first update_line() call, screws up display when marker is
899 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +0000900- nano.1, nano.1.html
901 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +0000902
Chris Allegretta6da149a2000-11-19 02:23:03 +0000903nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +0000904- General
905 - Ran source through indent -kr again. Make everything pretty.
906 - Changed behavior of "search" and "replace" prompts to make all
907 previous values editable. This change was made so that you can
908 replace with the null string without needing a special key for it.
909 changed code in search_init(), do_replace(), nanogetstr (see
910 below).
911 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +0000912 - Revamped nanogetstr() and calls to it to use variable length
913 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +0000914 MANY changes in nanogetstr(), many chances in search.c, new
915 function mallocstrcpy which is sure to be a programmatic
916 nightmare, changed last_search, last_replace, answer to
917 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +0000918 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +0000919 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +0000920 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +0000921 - New spelling code by Rocco Corsi. New functions
922 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
923 New functions search_init_globals and do_replace_loop, changes
924 to search_init(), do_replace, findnextstr, moved last_search and
925 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +0000926 - New tab completion code. Used check_wildcard_match, input_tab,
927 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +0000928 hacked them a lot, changes to nanogetstr(). nanogetstr() and
929 statusq() now take an arg for whether or not to allow tab
930 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +0000931 - Fixed value being input in statusbar during a search or replace
932 and CASE_SENSITIVE or the other search is called and the
933 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +0000934 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
935 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +0000936- files.c:
937 do_writeout()
938 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +0000939- global.c
Chris Allegretta105da332000-10-31 05:10:10 +0000940 - New global replace_list_2, for 2nd half of the replace dialog
941 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +0000942 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +0000943 toggle_init()
944 - Added #ifdef around toggle_regex_msg to get rid of compiler
945 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +0000946
947- nano.c:
948 keypad_on()
949 - New function, toggles turning the keypad on and off in edit and
950 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000951- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +0000952 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000953 - New arg for begin_x variable, basically a rewrite that
954 makes a little more sense and isn't quite as messy (Rocco Corsi).
955 - Update the line we're checking if not the whole screen, because
956 it's quite possible the search team could exist somewhere way
957 to the right on the same line, for example.
958 replace_abort()
959 - Add reset of placewewant, stops cursor from jumping when moving
960 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +0000961 do_replace()
962 - Added code for Gotoline key after entering the search term.
963 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +0000964 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +0000965 Converted if statements to switch statements.
966 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +0000967 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +0000968 do_search()
969 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +0000970- winio.c
971 nanogetstr()
972 - Added check for 343 in while loop to get rid of getting "locked"
973 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +0000974 - Changed check to return -2 on "enter" from answer == ""
975 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +0000976 - Fixed fallthrough code because there was no break. Make much
977 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +0000978 - Added check for ASCII 54[124] when using PDCURSES, ignore them
979 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +0000980 nanoget_repaint()
981 - New function, removes about 30 lines of duplicate code in
982 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +0000983 - Black magic code to make $ appear in prompt if we're past
984 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +0000985 blank_edit()
986 - Removed wrefresh() call, much less choppy now. If there's a need
987 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +0000988- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +0000989 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +0000990
Chris Allegretta07e97d62000-10-03 01:52:50 +0000991nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +0000992- General
993 - Added PDCurses support under cygwin, which allows building
994 a nice stand-alone nano.exe for those poor Windows users.
995 Extra check in configure.in for initscr() in -lcurses (as
996 PDcurses has no tgetent), some #ifdef PDCURSES statements
997 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +0000998 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +0000999- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00001000 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00001001 main()
1002 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00001003- search.c
1004 - Added initializations for last_search and last_replace (Rocco Corsi)
1005
Chris Allegretta629edad2000-09-19 00:27:19 +00001006nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00001007- General
1008 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
1009 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00001010- configure.in:
1011 - Added default case for cross-compiling to get rid of annoying
1012 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00001013- cut.c:
1014 do_cut_text()
1015 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00001016 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00001017- files.c:
1018 open_file()
1019 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00001020- global.c:
1021 shortcut_init()
1022 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00001023- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00001024 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00001025 - Added check for _POSIX_VDISABLE and use raw mode if not
1026 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00001027 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00001028 - Revamped a great deal of the F-key and keypad key handling,
1029 because we not longer use keypad() (see below).
1030 - Removed keypad() call because nano was not working with the
1031 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00001032 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00001033 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00001034 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00001035 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00001036 mouse_init()
1037 - Add keypad only if mouse support is on, otherwise mouse doesn't
1038 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00001039 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00001040- winio.c:
1041 total_refresh()
1042 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00001043 onekey()
1044 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00001045
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00001046- search.c:
1047 findnextstr()
1048 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00001049- es.po:
1050 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00001051- de.po
1052 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00001053
Chris Allegretta423cbfd2000-09-04 16:21:29 +00001054nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00001055- General
1056 - New shortcuts to toggle certain options that are normally only
1057 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
1058 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00001059 called from shortcut_init(), and do_toggle in nano.c. Also
1060 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00001061 signal_init(). Moved "struct sigaction act"into a static in
1062 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00001063 - Changed from Alt-key symbol (@) which is completely nonstandard
1064 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00001065 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00001066 Meta. Moved the toggle Meta keystrokes to the first column
1067 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00001068 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00001069 - Changed last_search and last_replace vars to statically
1070 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00001071- global.c:
1072 toggle_init()
1073 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
1074 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00001075- nano.c:
1076 do_mouse()
1077 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00001078 do_wrap()
1079 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00001080 do_toggle()
1081 - Added checks for no help and no wrap mode, and print opposite
1082 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00001083 do_suspend(), do_cont():
1084 - New functions, handle suspend signal in a Pico-like manner and
1085 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00001086- winio.c:
1087 total_refresh()
1088 - Added edit_refresh() call to actually update the screen if messy.
1089 edit_refresh_clearok()
1090 - New function, does a total update for edit refresh, needed to fix
1091 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00001092 onekey()
1093 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00001094
Chris Allegretta6306a112000-09-02 07:55:41 +00001095 update_line()
1096 - Added check for binary data >= 1 and <= 26, and use ^+letter
1097 to display it. Should fix editing text files with binary
1098 data in them. Placing of the cursor seems to be a bit screwed
1099 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00001100- search.c:
1101 search_abort()
1102 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
1103 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00001104 findnextstr():
1105 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00001106 - Fixed check for string that only occurs on the same line failing
1107 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00001108
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00001109nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00001110- cut.c:
1111 do_cut_text()
1112 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00001113 - Added check_statblank().
1114 - Check for fileptr == filebot, if so return, we shouldn't bother
1115 cutting the magic line.
1116 do_uncut_text()
1117 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00001118- nano.c:
1119 main()
1120 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00001121- po/Makefile.in.in:
1122 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
1123 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00001124- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00001125 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00001126
Chris Allegretta0bf4e142000-08-04 02:42:04 +00001127nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00001128- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
1129 Affects many many functions. Removed functions edit_update_top and
1130 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00001131- Added global variable tabsize, we no longer screw with the curses
1132 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00001133- configure.in:
1134 - Finally fixed check for slang to report "no" if not called
1135 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00001136- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00001137 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00001138 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00001139 null_at()
1140 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00001141 delete_buffer()
1142 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00001143 do_backspace()
1144 - Now calls page_up_center instead of page_up (as it should?)
1145 do_enter()
1146 - Fixed typo (?) in check for inptr->next. Caused lots of
1147 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00001148 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00001149 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00001150- search.c:
1151 replace_abort()
1152 - redundant, now just calls search abort until it does something
1153 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00001154- winio.c:
1155 edit_refresh()
1156 - Added check for current line "running" off the screen.
1157 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00001158 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00001159 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00001160 edit_update()
1161 - Rewritten, hopefully this will remove a lot of the
1162 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00001163- move.c:
1164 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00001165 - do an edit_update() at last case. Made function more like
1166 Pico's version, only move down to two lines before editbot.
1167 page_up()
1168 - Made function more like Pico's version, only move down to two
1169 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00001170
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00001171nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00001172- nano.h:
1173 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
1174- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00001175 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00001176 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00001177 - Simplified check for freeing cutbuffer. Added checks for doing
1178 multiple cuts with -k, now sets marked_cut to 2 for later
1179 processing by do_uncut_text().
1180 do_uncut_text()
1181 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00001182- files.c:
1183 write_file()
1184 - Removed (redundant) check for writing out files with -t.
1185 do_writeout()
1186 - Changed check for filename to filename[0]. Added some code,
1187 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00001188- nano.c:
1189 do_justify() & do_wrap():
1190 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00001191- de.po
1192 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00001193
Chris Allegretta1d7110d2000-07-23 16:59:07 +00001194nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00001195- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00001196 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
1197 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00001198- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
1199 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00001200- move.c
1201 page_down()
1202 - Don't edit_refresh() if the bottom of the file is in the edit
1203 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00001204- nano.c:
1205 main():
1206 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001207 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00001208 die():
1209 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001210 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00001211 - Changed exit semantics a bit so that aspell wouldn't get
1212 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001213- files.c:
1214 read_file():
1215 - Added init of buf variable, hopefully this will stop the
1216 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00001217 write_file():
1218 - Added code to check to see if using -l and the file is not
1219 in fact a link. This should fix the behavior where a file
1220 that does not have write permission but could be removed and
1221 rewritten is saved without error. Please test this feature
1222 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00001223- search.c:
1224 search_init():
1225 - Added " (to replace)" statement to end of search string if
1226 we are doing a replace. Manually converted all the translations
1227 from '%s' to '%s%s' to ensure they still work with the new code.
1228 Also put in the translation for " (replace)" in the .po's. Hope
1229 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00001230 do_search(), do_replace():
1231 - Removed call to search_abort()/replace_abort() before call to
1232 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00001233 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00001234 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00001235 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00001236- fr.po:
1237 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00001238- es.po:
1239 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00001240
Chris Allegrettae955dae2000-07-07 22:24:59 +00001241nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00001242- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00001243 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
1244 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
1245 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00001246 search_init() and do_replace() and strstrwrapper().
1247 - Added _POSIX_VERSION check to regexp code. Better than nothing
1248 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00001249 - Made search functions & keys more like Pico. Added goto line from
1250 search and replace function, changed wording to "No Replace" instead
1251 of "To Search", "To Replace" to simply "Replace", and changed to
1252 Pico's keystroke by default, ^R. Affects search_init(),
1253 do_search() in search.c, globals in nano.h and
1254 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00001255 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00001256- cut.c
1257 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00001258- files.c:
1259 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00001260 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00001261- nano.c:
1262 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00001263 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
1264 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00001265 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00001266 - Corrected FIXME in do_enter with explanation. (Rob)
1267 - Fixed FIXME in do_justify, resulted in creation of
1268 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00001269 help_init():
1270 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00001271 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00001272 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00001273 do_backspace(), do_delete():
1274 - Added magic line code here too.
1275
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00001276- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00001277 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00001278- fi.po:
1279 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00001280- utils.c:
1281 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00001282- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00001283 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00001284 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00001285 do_yesno(), nanogetstr():
1286 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00001287 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
1288 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00001289 clear_bottomwin():
1290 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00001291 edit_update_top():
1292 - Fixed a bug that caused nano to not update when
1293 current->next == NULL (e.g. paging down to the very bottom of
1294 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00001295 fix_editbot:
1296 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00001297 edit_add:
1298 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00001299
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001300nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00001301- New flag "-T" or "--tabsize" to specify how to display tab widths.
1302 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00001303 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001304 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00001305- id.po:
1306 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001307- es.po:
1308 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00001309- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00001310 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00001311 we had been seeing. Affects: add_marked_sameline, edit_add,
1312 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00001313 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001314 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001315 - Cut display_main_list call, as this function is only supposed to
1316 refresh what's already on the screen, not go through the process
1317 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00001318- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00001319 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00001320- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00001321 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001322 - Removed editwineob, as it was redundant for (editwinrows - 1).
1323 Changed all calls to editwinrows - 1 in nano.c and move.c.
1324 - Removed all functions that were split into other files.
1325 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00001326 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00001327 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00001328 do_insertfile():
1329 - Fix display problem when using ctrl-r to load a file
1330 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001331 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00001332 - Added titlebar(), edit_refresh() and display_main_list() calls
1333 because a resize wasn't picking up on possible different width
1334 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00001335- utils.c:
1336 - Moved nmalloc() and nrealloc() here.
1337- move.c:
1338 - New file, contains movement functions (like do_home(), do_up(),
1339 do_down(), page_up(), etc...).
1340- files.c:
1341 - Contains functions for files (read_file, insert_file,
1342 do_writeout(), etc).
1343- search.c:
1344 - Contains all our searching and related functions, (do_search(),
1345 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00001346
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001347nano-0.9.10 - 06/04/2000
1348- es.po:
1349 - Translation updates (Jordi).
1350- AUTHORS, nano.1.html, TODO, README:
1351 - Documentation and email address updates (Jordi).
1352- nano.c:
1353 main():
1354 - Moved Adam's termio code down to after getopt() and before initscr()
1355 to stop people losing their SIGINT character when using args that
1356 exit nano before it runs (--version, --help, etc).
1357
1358nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00001359- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001360 - Added proper lines for defining LOCALEDIR.
1361- configure.in:
1362 - Spelling fixes (Jordi Mallach)
1363 - Removed CFLAGS changes for gcc, reduces portability according to
1364 some, and it certainly doesn't seem to decrease exe size.
1365- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00001366 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001367- POTFILES.in:
1368 - Added global.c file, was screwing up translations (i.e. they
1369 weren't getting done).
1370- cut.c:
1371 add_to_cutbuffer():
1372 - Added totsize increment.
1373 - Cut fixes and optimizations (Rob Siemborski).
1374 do_uncut_text():
1375 - Added totsize increment in several places.
1376- nano.c:
1377 headers:
1378 - Removed LOCALEDIR define.
1379 do_justify():
1380 - Added edit_refresh() call (bug discovered by Adam).
1381 page_down_center():
1382 - Added call to edit_update(current) for last case. Removed
1383 increment of current_y since it's now just wasteful.
1384 do_enter():
1385 - Added totsize increment.
1386 renumber(), renumber_all():
1387 - Removed totsize-- and totsize init in renumber_all.
1388 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00001389 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001390 unnecessary wrefresh(edit).
1391 main():
1392 - Moved up locale calls so that translated --help messages would
1393 actually get translated.
1394 do_backspace(), do_delete():
1395 - Added decrement of totsize.
1396 init_help_msg():
1397 - New function, initializes help text if NANO_SMALL isn't set (fixes
1398 broken i18n).
1399 read_file():
1400 - malloc call changed to nmalloc (Rob Siemborski).
1401- winio.c:
1402 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001403 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001404
1405nano-0.9.8 - 05/18/2000
1406- nano.c:
1407 main():
1408 - Added awesome code that disables the CINTR and CQUIT
1409 character (Adam Rogoyski). Removed raw()/noraw() calls so that
1410 nano gets input in 'normal' mode, which is the Right Way(tm) to
1411 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00001412 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001413 term settings, and changes to finish() and die().
1414 - Added extra #ifdefs in getopt code, so that above code and
1415 flag init is run even if GETOPT_LONG is not #defined.
1416 - Added memset line before sigactions. (Adam Rogoyski)
1417 do_suspend():
1418 Removed function, see above for why.
1419- winio.c:
1420 update_line(), center_cursor():
1421 - Removed wrefresh(edit) from bottom of functions. wrefresh
1422 should now only be called once, at the bottom of the main()
1423 loop.
1424- global.c:
1425 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00001426 - Removed suspend sc_init call and suspend message because suspend
1427 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001428
1429nano-0.9.7 - 05/14/2000
1430- nano.c:
1431 do_home(), do_end():
1432 - Added calls to update_line for the current line, fixes
1433 lack of update (bug discovered by Alberto García).
1434 main():
1435 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
1436 following symlinks even when -l isn't set, and "no changes"
1437 error when nano is called from crontab -e (Adam Rogoyski).
1438- cut.c:
1439 do_cut_text():
1440 - Added edit_update_top to cut when mark is set, fixes lack of
1441 display update (bug discovered by Ken Tyler).
1442
1443nano-0.9.6 - 05/08/2000
1444- New Italian translation (it.po), by Daniele Medri.
1445- nano.c:
1446 page_up(), page_down():
1447 - Added reset of placewewant to 0, as it should be.
1448 do_up(), do_down():
1449 - Added call to update_line() for line we move from and line we
1450 move to, in order to keep the highlighting correct.
1451 do_wrap():
1452 - Added var chop, new code to wrap lines more like Pico, mostly.
1453 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
1454- winio.c:
1455 do_help():
1456 - Added edit_refresh() before exit.
1457 update_cursor():
1458 - Removed cursor updating which really wasn't needed anyway.
1459 edit_update():
1460 - Removed yucky code that didn't work, this function now just
1461 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00001462 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001463
1464nano-0.9.5 - 05/01/2000
1465- Removed bytes from file struct because it was computationally wasteful.
1466- cut.c:
1467 do_uncut_text():
1468 - Added call to edit_refresh().
1469- nano.c:
1470 do_backspace():
1471 - Added reset of editbot when deleting the last line of the file
1472 (bug discovered by Adam).
1473 do_char():
1474 - Removed call to reset_cursor().
1475 do_delete():
1476 - Added similar check as to do_backspace().
1477 do_enter():
1478 - Added call to edit_refresh().
1479 do_left(), right():
1480 - Added call to update_line(), still redundant but better...
1481 do_up(), do_down():
1482 - Added refresh calls both for current line and line to which
1483 we are moving.
1484 main():
1485 - Removed inefficient call to edit_refresh() after every keystroke.
1486 It is now up each function to leave the screen in a good state.
1487- winio.c:
1488 do_cursorpos()
1489 - Rewritten to not use bytes from filestruct by an incremental sum.
1490 update_line(), reset_cursor():
1491 - Optimized calls to xplustabs() through a single variable.
1492 - update_line() now takes a new arg, an index into the string
1493 for where to update the line from. Needed for new update
1494 code.
1495- configure.in:
1496 - Better checks for slang, allows argument to --with-slang.
1497 (Albert Chin-A-Young)
1498 - Removed -Iintl from CFLAGS in gcc check.
1499- Makefile.am:
1500 - Addition of -Iintl for gettext (Albert Chin-A-Young)
1501
1502nano-0.9.4 - 04/25/2000
1503 - Fixed calls to no_help and changed them to the more consistent
1504 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
1505 not 1. Code to temporarily disable NO_HELP when in the
1506 help system. (Adam Rogoyski)
1507- cut.c:
1508 do_marked_cut(), do_cut(), do_uncut():
1509 - Commented out unnecessary bits when NANO_SMALL is being used.
1510- winio.c:
1511 xpt(), strlenpt(), actual_x():
1512 - Added check for value of data[i] & 0x80, if so do not make
1513 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
1514 edit_refresh():
1515 - New check for temp == NULL (bad thing), if so go back to the
1516 previous line. New filestruct var hold points to prev line.
1517 Fixes segfault when paging down to the end of a file.
1518- nano.c:
1519 write_file():
1520 - Added check for if file exists and is not equal to the current
1521 filename, prompt for overwrite (Adam Rogoyski).
1522 do_down():
1523 - Removed check for current->next == NULL, now checks return value
1524 of do_down before setting current_x = 0 (discovered by Adam).
1525 do_justify():
1526 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00001527 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001528 by Adam).
1529- utils.c:
1530 - Removed extra macro defs that are now in nano.h.
1531- nano.h:
1532 - Changed macro SET() to use |= instead of ^=. Fixes bug in
1533 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00001534 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001535
1536nano-0.9.3 - 04/29/2000
1537- cut.c:
1538 do_marked_cut():
1539 - Fixed off by one error in cut code for marked text.
1540 do_cut_text():
1541 - Removed check for being on the last line, part of
1542 magic line code.
1543 add_to_cutbuffer():
1544 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
1545 - Added inptr->prev = NULL for case where cutbuffer == NULL.
1546- nano.c:
1547 do_backspace(), do_char():
1548 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00001549 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001550 at least one known segfault condition.
1551 do_enter():
1552 - Added setting editbot to new node if the new node is the last
1553 node in the file.
1554 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00001555 - Changed writing file behavior. Now, if last line of the file
1556 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001557- winio.c:
1558 add_marked_sameline():
1559 - New code that checks for whether the begin and end of the marker
1560 are on different lines. Missing previously.
1561 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00001562 - added some more checks for text length. Cleaned up some
1563 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001564 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001565 - Removed check for temp == filebot, it is now treated like any other
1566 line. Fixes a bug where selected text on the last line shows
1567 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001568 xpt():
1569 - Removed an extra computation for tabs variable that was incorrect.
1570 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00001571 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001572 xpt(current, current_x)
1573- nano.1, nano.1.html:
1574 - Added -l option to man pages.
1575- configure.in:
1576 - New option --enable-tiny, #defines NANO_SMALL in config.h.
1577 Disables call to gettext in functions and other i18n stuff in
1578 nano.c, the detailed help mode, the resize functions, and the
1579 justify code which no one ever uses.
1580 - New option --with-slang. Enables slang libraries instead of
1581 ncurses, requires slcurses.h for wrapper functions. (Based
1582 on patches for 0.8.7 by Glenn McGrath).
1583
1584nano-0.9.2 - 04/15/2000
1585- This release just fixes the serious segfault problem if nano is
1586 invoked any way other than using the absolute path. The bug was
1587 in the new code for checking whether nano is invoked as pico.
1588
1589nano-0.9.1 - 04/14/2000
1590- Added pico compatibility for ^T when in search or switch to switch
1591 to the opposite function. Added one to REPLACE_LIST_LEN and
1592 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00001593 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001594 to search_init(). Handlers in do_replace and do_search().
1595- New write code, now follows symbolic links instead of replacing them
1596 with the new file. New option (-l, --nofollow) to enable the old
1597 (incorrect, but secure) behavior (Adam Rogoyski).
1598- nano.c:
1599 do_wrap():
1600 - Fixed another bug relating to wrapping, and which would cause
1601 a segfault *sigh*.
1602 do_replace():
1603 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00001604 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001605 add_marked_sameline():
1606 - New function, handles marked text when start & end of marker is
1607 on one line, also supports most marked text when cursor > COLS.
1608 main():
1609 - Code to check if nano is invoked as 'pico', and if so
1610 automatically set pico_msgs (Robert Jones).
1611
1612nano-0.9.0 - 04/07/2000
1613- nano.1, nano.1.html: Updated man page with my email address and homepage.
1614- winio.c:
1615 reset_cursor(), update_line():
1616 - Changed update algorithm for x value to (COLS - 7) multiple when x
1617 value > (COLS - 2).
1618- edit_refresh():
1619 - Removed inner loop code, now calls update_line() for each line
1620 in question, MUCH nicer.
1621- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00001622 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001623 - Added check for data[i] < 32, most of such bits are 2 chars wide.
1624- update_line():
1625 - Fixed a stupid call to strlenpt with col when we should have
1626 been using actual_col. Ugh.
1627
1628nano-0.8.9 - 03/22/2000
1629- nano.c:
1630 empty_line(), no_spaces(), justify_format(), do_justify():
1631 Actually added these (screwup applying patch).
1632 do_justify(): Added call to set_modified().
1633
1634nano-0.8.8 - 03/12/2000
1635- Preliminary internationalization support. Many many functions modified
1636 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
1637 New dirs po/ and intl/, changes to configure.in and Automake.am to
1638 support i18n.
1639- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00001640 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001641 statics: Changed some things that were not necessarily static
1642 (Adam Rogoyski).
1643 nrealloc(): New function, similar to nmalloc(). Changed calls from
1644 realloc() to nrealloc (Adam Rogoyski).
1645 empty_line(), no_spaces(), justify_format(), do_justify():
1646 New functions for justify function (Adam Rogoyski).
1647- winio.c:
1648 blank_edit(): Added wrefresh call to edit so that screen updates (like
1649 on ^L) actually work.
1650 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
1651
1652nano-0.8.7 - 03/01/2000
1653- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00001654 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001655 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00001656 break the line exists, and for wrapping lines longer than
1657 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001658- nano.1.html:
1659 Html version of man page, now included in dist. For
1660 the benefit of nano packages in Linux distributions.
1661
1662nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00001663- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001664 shortcut_init():
1665 Added shortcuts for goto_line and do_replace when using
1666 pico_msgs. Oops.
1667- nano.c:
1668 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00001669 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001670 Removed check for backing up past spaces first.
1671 main(): Added for loop to check for alt keys instead of hard list.
1672 do_enter(): Fix for bug #14, added call to reset_cursor and messed
1673 up do_char quite a bit.
1674 version(): Added time and date stamp for compile on version message.
1675 Added mail and web page info.
1676- README: Updated mailing list info.
1677
1678nano-0.8.5 - 02/18/2000
1679- nano.c:
1680 main(): Finally fixed tilde being input on page up/down keys in
1681 certain terminal types. Fix was input 26->91->5[34] check
1682 for 126, if so make the kbinput PAGE UP/DOWN, else unget
1683 the keystroke and continue. Added #include <ioctl.h> for
1684 ioctl call.
1685 handle_hup():
1686 Handler for hangup signal. Belated include of patch from
1687 Tim Sherwood.
1688- winio.c:
1689 edit_refresh():
1690 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00001691 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001692 revamped.
1693 check_statblank():
1694 Added check for constupdate, makes things less choppy
1695 (Adam Rogoyski)
1696
1697nano-0.8.4 - 02/11/2000
1698- Moved global variables that were only (or mostly) used in one file into
1699 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
1700- global.c:
1701 shortcut_init():
1702 Removed redundant NANO_CONTROL_H from backspace shortcut,
1703 added char 127 which should have been there.
1704- nano.c:
1705 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
1706 segfaults (Adam Rogoyski).
1707- Makefile.am: Added all source filenames (Adam Rogoyski).
1708- nano.1: Fixed mail addressed and added mailing list address.
1709- README: Updated my email address and the nano web page.
1710
1711nano-0.8.3 - 02/08/2000
1712- New pico mode (-p, --pico), toggles (more) compatibility with the
1713 Pico messages displayed in the shortcut list. Note that there are still
1714 small differences in this mode.
1715- nano.h: New shortcut struct format, for the benefit of i18n and
1716 our help menu. Removed shortcut message macros, they are
1717 now all in shortcut_init in global.c.
1718- nano.c:
1719 do_wrap(): Removed resetting of current_x when we are in fact
1720 wrapping to the next line, fixes a bug in -i mode.
1721 do_enter():
1722 Rewrote the autoindent mode code to be a lot less pretty,
1723 but a lot more magical.
1724 main():
1725 Removed case for ignoring char 126 (~). That's kind of
1726 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00001727 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001728 main switch loop in much snazzier fashion based on the
1729 shortcut list.
1730- winio.c:
1731 New function display_main_list. Affects all functions
1732 that used to call bottombars() with main_list. Added
1733 because we now only call bottombars with the macro
1734 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
1735 changes to the main_list shortcut list (see global.c below).
1736 New function do_help, our preliminary dynamic help system.
1737- Many many funcs:
1738 Changed from int to void to allow one uniform type to call
1739 from the shortcut struct. Also a few functions that do
1740 not simple have void argument have new functions called
1741 funcname_void(void) to be called from the shortcut list.
1742 do_cut_text and do_uncut_text were changed to void
1743 arguments because they were never called with a filestruct
1744 other than *current anyway.
1745- global.c:
1746 Shortcut list main_list was expanded to cover all
1747 shortcuts that could be caught in the main loop.
1748 Consequently there is a new macro MAIN_VISIBLE which tells
1749 how many items in the main list to actually show.
1750
1751nano-0.8.2 - 02/02/2000
1752- Added initial mouse (-m, --mouse) support. New global variable
1753 use_mouse. (Adam Rogoyski)
1754
Chris Allegretta88520c92001-05-05 17:45:54 +00001755- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001756 regardless. (Adam Rogoyski).
1757 do_delete():
1758 Deleted call to do_backspace() when on the end of a line,
1759 because it won't update the line properly.
1760 do_backspace():
1761 Removed unnecessary pointer manipulation that was being
1762 handled by unlink_node().
1763 open_file():
1764 Added check for trying to open a directory (currently we
1765 segfault on this). Bug pointed out by Chad Ziccardi.
1766
1767nano-0.8.1 - 01/28/2000
1768- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
1769 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
1770 global.c and proto.h.
1771- nano.c:
1772write_file(): Added (incredibly) necessary check for EPERM when
1773 link() fails. This allows us to actually save
1774 files via rename() on filesystems that dont
1775 support hard links (AIEEEEEE).
1776do_goto():
1777 Fixed a stupid mistake where we were calling
1778 bottombars() with replace_list instead of goto_list.
1779- nano.h:
1780 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00001781 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001782 for help function and i18n.
1783- global.c:
1784 New functions shortcut_init (called in nano.c) and
1785 sc_init_one() to initialize the shortcuts without
1786 using {}s (for i18n).
1787
1788nano-0.8.0 - 01/25/2000
1789- View flag (-v, --view) implemented. Global variable view_mode, affects
1790 main loop of nano.c and new_file(). (me)
1791- nano.c:
1792 split checks for TERMIOS_H and TERMIO_H up so we
1793 can (theoretically) include them both, which is good.
1794handle_sigwinch():
1795 Added check for ncurses.h. (Andy Kahn)
1796do_spell():
1797 We now only try ispell because we don't as of yet
1798 handle the 'spell' program the right way, now that
1799 I finally know what the right way is =-). Added
1800 call to edit_update(fileage) to stop segfaults.
1801global_init():
1802 Added initialization of edit* filestruct pointers
1803 to stop segfaults on spell check.
1804usage():
1805 Check for getopt_long, and if no leave out the
1806 GNU options everyone seems to love so much (Andy Kahn)
1807main():
1808 Added checks for getopt_long (Andy Kahn)
1809 We ignore character 126 because it gets put into
1810 the buffer when we page up/down on a vt terminal.
1811write_file():
1812 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00001813 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001814 better in the function comments. Fixed my
1815 stupidly commented out check for tmp on setting
1816 umask which I really like =>
1817- nano.h:
1818 Made desc variable in shortcut struct a pointer
1819 instead of a fixed-length string.
1820- utils.c:
1821 Fixed check for config.h before nano.h.
1822- configure.in:
1823 New checks for getopt_long, getopt.h, removed
1824 CFLAGS and LDFLAGS changes. Gonna have to run
1825 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00001826 Added check for HAVE_WRESIZE, new file acconfig.h
1827 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001828
1829nano-0.7.9 - 01/24/2000
1830- New autoindent feature. Command flag 'i' or '--autoindent'. New
1831 function do_char() to clean up character output, global
1832 variable autoindent in global.c. (Graham Mainwaring)
1833- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
1834 files on exit without prompting. Affects do_writeout(). Also
1835 do_writeout() now takes a parameter for if exiting.
1836 Global variable temp_opt in global.c (Graham Mainwaring)
1837- Preliminary spell program support. Added command flag '-s' or
1838 '--speller' for alternative speller command. Added function do_spell()
1839 and exit_spell() to nano.c. New global variable alt_speller.
1840- nano.c:
1841 main(): We now ignore input of decimal 410 because these get entered
1842 when we resize the screen. Sorted options in getopt()
1843 switch statement.
1844 usage(): Sorted options and changed tabs to make room for -s option.
1845 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
1846 doesn't print the number of lines written on the statusbar.
1847 global_init():
1848 Added more initializations to globals to support do_spell().
1849
1850nano-0.7.8 - 01/23/2000
1851- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00001852- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001853 and main() in nano.c
1854- Removed redundant reset_cursor() calls from the blank() routines.
1855- nano.c:
1856 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
1857 Removed check for isprint() characters in main while loop
1858 for people with odd character sets *shrug*. Added some X
1859 window F-key combos.
1860 read_line(): New function, consolidates of most of the special
1861 sections of the file reading code. (Rob Siemborski)
1862 do_replace(): Many scattered fixes. (Rob Siemborski)
1863 write_file(): Added check for empty filename.
1864- winio.c:
1865 nanogetstr(): Fixes for deleting at places other than the end of the
1866 buffer, cut support. (Adam Rogoyski)
1867 blank_edit(): New function, blanks edit buffer. Added call to it in
1868 total_refresh().
1869- configure: Checks for glib if snprintf of vsnprintf aren't available
1870 (Andy Kahn). Changed warning message when no termcap lib
1871 is found.
1872
1873nano-0.7.7 - 01/19/2000
1874- Option '-v' for version moved to '-V', because -v is Pico's "read only"
1875 mode (affects getopt() in main() and usage() function in nano.c
1876- New flag -c, always show cursor position. Affects main() in nano.c and
1877 statusbar() in winio.c
1878- Option '-x' doesn't show help window at the bottom of the editor.
1879 New variable no_help in nano.h and proto.h, affects main(), usage(),
1880 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
1881 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
1882 hand =P) (Adam Rogoyski)
1883- nano.c:
1884 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
1885 page_up(), page_down():
1886 - New functions. We now set the cursor at the top right corner,
1887 not at the center line, and page up and down a full screen
1888 rather than a half screen. Original functions renamed to
1889 page_up_center() and page_down_center().
1890 main():
1891 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
1892 in main while loop because suspend mode was broken. This should
1893 fix it, at least for now.
1894 - Added long option support (By popular harassment ;-) - Added
1895 #include for getopt.h, changed getopt() to getopt_long().
1896 Options added so far: --version (-V), --nowrap (-w), --suspend
1897 (-z), --help (-h), --nohelp (-x).
1898 - Rewrote signal statements (Adam Rogoyski)
1899
1900nano 0.7.6 - 01/15/2000
1901- New ChangeLog format
1902- nano.c:
1903 main(): Bound CONTROL_H to backspace (oops)
1904 Added more Alt-[-key combinations, for page up & down.
1905 read_bytes(): New function (Adam Rogoyski)
1906 read_file(): Optimizations - malloc()s *buf a little at a time rather
1907 than one huge buffer, and replaced the strcat at the end
1908 with an index variable. Added call to read_bytes().
1909 do_next_word(): New function, binding is control-space (0) (me)
1910
1911- winio.c:
1912 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
1913 (formula is extra space needed = COLS / 6 - 13).
1914 actual_x() & strlenpt():
1915 Added bug#9 fix - when tabs % 8 == 0, we should only
1916 increment tabs by 1.
1917 titlebar(): Fixed overrun in titlebar on very long filenames.
1918
19190.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
1920 writing a newline at EOF. do_cursorpos and do_replace are now not
1921 directly bound to signals but picked up as their control sequences
1922 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
19230.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
1924 available memory, align bug fixed (Big Gaute).
1925
1926--- As of version 0.7.4 TIP is renamed to nano.
1927
19280.7.3 Fixed a double blank_statusbar() when jumping to first and last
1929 lines. Took out unnecessary updates in load_file. Bug fix in
1930 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00001931 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001932 with replace all, more/better comments (Robert Siemborski)
19330.7.2 Our first patch accepted into the source! configure fixes
1934 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
1935 Bug fix in update_line for editing long lines. Fixed arguments
1936 being put into the filename when none is specified. Preliminary
1937 +line command argument function.
19380.7.1 configure tweak for better FreeBSD support. Removed refresh() from
1939 edit_refresh to stop cursor "jumping" during screen updates. This
1940 will probably cause a bug or two. Replace is now Alt-R (@R) and
1941 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
1942 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
1943 Control-G will become the Help key, but for now is stubbed out.
19440.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
1945 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
1946 length file. Added Esc-[-A,B,C,D cursor key sequences.
19470.6.9 Preliminary cursor position function. Split up tip.c more, made
1948 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
1949 that was leaving out a character.
19500.6.8 By request, optchr in main() is now an int. Removed unneeded
1951 globals. Bound functions for next/prev page, and wrote functions
1952 do_home and do_end.
19530.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
1954 created read_file. Implemented Insert File. Fixes in tipgetstr
1955 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
19560.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
1957 aborted searches and more Pico-compatible messages. statusq() now
1958 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
19590.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
1960 regarding buffers with filebot in them. Fixins in do_backspace
1961 and do_enter. Removed unused variables. Removed strip_newline.
19620.6.4 Took out the awful newlines from each string buffers. This will
1963 certainly cause more bugs. Fixes in do_exit(). Better empty file
1964 handling (I hope).
19650.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
1966 do_enter() rewritten.
19670.6.2 Better default file permissions. Complete rewrite of do_wrap().
1968 Better handling of editing with cursor near COLS - 1.
19690.6.1 Starting to implement wrapping toggle. Fix for unhandled control
1970 codes being entered into the buffer. Bug fix in actual_x; more
1971 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00001972 locked into cutbuffer when cutting more than one marked screen of
1973 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000019740.6.0 We have TABs!!! To do this, placewewant is now set to the actual
1975 width on the screen we want to be, not an index of current->data.
1976 New functions xplustabs and actual_x convert the actual place
1977 the cursor should be on the screen to and from the place in the
1978 string.
19790.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00001980 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001981 arrow. Preliminary support for longer than COLS - 1 lines.
1982 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000019830.5.4 Fixed a bug in total_update that wasn't repainting the screen
1984 properly. tipgetstr is much more messy but text is now more
1985 editable ;) Fixed crash on entering a new file, hopefully. Awful
1986 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000019870.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
1988 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00001989 I would not trust your data with the mark code right now, but then
1990 we're not at version 1.0 yet so dont trust anything ;)
19910.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001992 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00001993 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001994 but does not actually affect what gets put in the cutbuffer (yet).
19950.5.1 Writing a file out causes modified to be set back to 0. Good.
1996 Set_modified function written. Cut and uncut text now set
1997 modified when called.
19980.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00001999 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002000 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00002001 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000020020.4.2 Implemented replace all in replace function. Crude exit function
2003 (asks yes or no if modified but does not write to file).
20040.4.1 Implementing search & replace. Fixed crash on deleting at top of
2005 edit buffer. Implemented "timeout" of statusbar messages.
2006 Implemented ^A and ^E (beginning and end of line).
20070.4.0 Split code into global.c and proto.h to allow for better multiple
2008 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00002009 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000020100.3.1 Write edit_refresh which doesn't move the screen around, just
2011 updates what's there already. do_wrap() and do_enter() added.
20120.3.0 Preliminary cutbuffer (cut and uncut) support.
20130.2.7 Check for Modification added. do_search() works.
20140.2.5 Rewrite of file data struct.
20150.2 Read in data to buffer, bound keystrokes to stub functions,
2016 initial cursor movement on screen. Initial autoconf support.
20170.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00002018
2019$Id$