blob: 31e50b7c93f91c503e23f2bf064f9fba907c7129 [file] [log] [blame]
Chris Allegretta26d59ea2002-03-05 23:49:14 +00001CVS code -
Chris Allegrettabef12972002-03-06 03:30:40 +00002- General
3 - Type misalignments and mem leaks in renumber_all, do_justify
4 and do_spell (Rocco & Steven Kneizys).
Chris Allegretta564535a2002-03-06 15:32:17 +00005- files.c:
6 check_writable_directory()
7 - Stat full_path, not path (Steven Kneizys).
Chris Allegretta40ecbad2002-03-06 15:27:44 +00008- nano.c:
Chris Allegretta5902f962002-03-07 12:40:39 +00009 help_init()
10 - Capitalize Meta altkeys.
Chris Allegrettab479c892002-03-09 20:03:10 +000011 - Various fixes and string changes.
Chris Allegretta40ecbad2002-03-06 15:27:44 +000012 main()
13 - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
Chris Allegretta97e6fe62002-03-09 17:38:47 +000014 usage()
Chris Allegretta3fc5d572002-03-09 18:51:58 +000015 - Rewritten to encompass systems with and without GETOPT_LONG.
16 New function print1opt does most of the dirty work, stops
17 duplication of effort and eases translator's jobs. Also
18 breaks all the current translations ;-)
Chris Allegretta45329a12002-03-10 01:22:21 +000019- proto.h:
20 - Missing externs (Rocco).
Chris Allegretta1596d382002-03-07 00:46:17 +000021- rcfile.c:
Chris Allegrettae8e10342002-03-07 00:47:22 +000022 parse_rcfile()
23 - Don't use i for both for loop and atoi(), fixes lots of
Jordi Mallach4951c662002-03-07 14:12:53 +000024 potential crashes, 1st reported by Jean-Philippe Guérard.
Chris Allegretta45329a12002-03-10 01:22:21 +000025- search.c:
26 search_init()
27 - Fix a missing free (Rocco).
Chris Allegretta40ecbad2002-03-06 15:27:44 +000028- utils.c:
29 stristr() - Defined regardless of NANO_SMALL (noticed by Jordi).
Jordi Mallach4951c662002-03-07 14:12:53 +000030- po/sv.po:
31 - Swedish translation updates (Christian Rose).
32- po/de.po:
33 - German translation updates (Michael Piefel).
Jordi Mallach4e803aa2002-03-09 18:05:53 +000034- po/id.po:
35 - Indonesian translation updates (Tedi Heriyanto).
36- po/ca.po, po/es.po:
37 - Catalan and Spanish translation updates (Jordi).
Chris Allegrettabef12972002-03-06 03:30:40 +000038
Chris Allegretta97489d22002-03-05 23:47:44 +000039GNU nano 1.1.7 - 03/05/2002
Chris Allegrettaa8c22572002-02-15 19:17:02 +000040- General
41 - malloc->calloc, etc cleanups (DLR).
42 - New option, noconvert (-N, --noconvert) to completely stop
43 the translation of files from DOS or Mac format (DLR).
44 - New functions wheck_writable_directory() and safe_tempnam()
Chris Allegrettabc72e362002-02-16 20:03:44 +000045 to get around the tempnam warning. More improvements (DLR)
Chris Allegretta48b06702002-02-22 04:30:50 +000046 Still needs testing.
Chris Allegrettaa8c22572002-02-15 19:17:02 +000047 - Added DOS and Mac format options to write file routine.
48 Changes to shortcut_init() and do_writeout().
49 - Removed stupid static definitions of toggles and shortcut
50 lists. Many changes to shortcut_init(), toggle_init(),
51 statusq(), nanogetstr(), main(), and many other places.
Chris Allegretta48b06702002-02-22 04:30:50 +000052 - Multibuffer mode now allows multiple empty filenames.
53 Changes to add_open_files(), removed open_file_dup_search(),
54 open_file_dup_fix(), etc (DLR).
55 - New code to handle multiple .save files. Changes to
56 die_save_file(), new function files.c:get_next_filename()
57 and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
Chris Allegrettaf5de33a2002-02-27 04:14:16 +000058 - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
59 new functions utils.c:free_shortcutage() (got to love that
60 name!) & free_toggles(), and big cleanup program
61 thanks_for_all_the_fish() (originally
62 thanks_for_the_memories()). Mods to shortcut_init() by Chris.
Chris Allegrettae4f940d2002-03-03 22:36:36 +000063 - Preliminary quoting support for justify. New arg -Q, --quotestr,
64 changes to do_justify(), global variable quotestr().
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +000065- Makefile.am:
66 - Add SYSCONFDIR to DEFS, so we can have an /etc/nanorc.
Chris Allegretta40b85e72002-02-09 21:56:09 +000067 - Change localedir line to 1.0's version.
Jordi Mallach3c5653d2002-02-23 18:23:43 +000068 - Moved m4/ stuff to its own m4/Makefile.am.
Jordi Mallach87435d92002-03-05 17:58:34 +000069- m4/aclocal_inc.m4:
70 - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for
71 macros (Gergely Nagy).
Jordi Mallach3c5653d2002-02-23 18:23:43 +000072- configure.in:
73 - Renamed to configure.ac.
74- configure.ac:
75 - Moved to autoconf 2.52 (Jeff Bailey).
Jordi Mallach87435d92002-03-05 17:58:34 +000076 - Added call to AM_ACLOCAL_INCLUDE.
Chris Allegrettaa8c22572002-02-15 19:17:02 +000077- files.c:
78 read_byte()
79 - Added check for conrol characters (indicative of a binary
Chris Allegretta48b06702002-02-22 04:30:50 +000080 file), set NO_CONVERT if found (fixes by DLR).
Chris Allegrettaf5de33a2002-02-27 04:14:16 +000081 do_insertfile()
82 - Added support for -o in prompt (Steven Kneizys).
Chris Allegrettaa8c22572002-02-15 19:17:02 +000083- global.c:
84 - Move openprev and opennext functions to shortcuts, they really
85 aren't toggles (DLR).
Chris Allegrettaf27c6972002-02-12 01:57:24 +000086- rcfile.c:
Chris Allegrettaa8c22572002-02-15 19:17:02 +000087 parse_next_regex()
Chris Allegretta3d8e7592002-02-02 07:13:02 +000088 - Allow " symbol to be in regex without leading \ by checking
89 for *ptr+1 is not the end of the regex.
Chris Allegrettaff8a68c2002-02-16 20:34:57 +000090 do_rcfile()
91 - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
Chris Allegretta48b06702002-02-22 04:30:50 +000092- nano.1:
93 - Added Noconvert option to man page (DLR).
Chris Allegrettaa8c22572002-02-15 19:17:02 +000094- nano.c:
Chris Allegrettad4fa0d32002-03-05 19:55:55 +000095 justify_format(), do_justify()
96 - Various fixes for starting blank spaces, spaces after
97 punctuation, & segfault with quoting strings (David Benbennick).
Chris Allegretta46c1b9e2002-03-05 19:58:45 +000098 do_justify()
99 - Don't continue to justify string if it's indented more
100 (quoting wise) than the beginning of the justification.
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000101 help_init()
102 - Added message re: having multiple blank buffers (DLR).
Chris Allegretta9caa1932002-02-15 20:08:05 +0000103 main()
104 - Add 407 as equiv of 26, this seems to be sent when using
105 ^Z in linux console with keypad() enabled.
Chris Allegrettabc72e362002-02-16 20:03:44 +0000106- rcfile.c:
107 - Get rid of unneeded relativechars from rcopts (DLR).
108- search.c
109 do_replace(), findnextstr()
110 - Fixes for various search issues (Ken Tyler)
Chris Allegrettaf27c6972002-02-12 01:57:24 +0000111- winio.c:
112 do_cursorpos()
113 - Rewritten to show col place as well as charcter place, without
114 needing an entirely separate flag.
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000115 bottombars(), onekey()
116 - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
Chris Allegrettabc72e362002-02-16 20:03:44 +0000117 - More cleanups w/width of shortcut.
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +0000118- utils.c:
Chris Allegretta99ed9dc2002-02-28 00:57:18 +0000119 strcasestr(),revstrcasestr()
120 - Renamed to stristr and revstristr since strcasestr has not
121 been confirmed to be detected properly on various Linux
122 systems.
Chris Allegrettad4fa0d32002-03-05 19:55:55 +0000123 strstrwrapper()
124 - NANO_SMALL test was backwards (Ken Tyler).
125- winio.c:
126 strlenpt()
127 - Changed main function to strnlenpt() for new justify changes,
128 original function now just a stub.
Chris Allegretta3c597d02002-01-26 03:42:14 +0000129- nanorc.sample
130 - Mention unset in the sample nanorc.
Jordi Mallach83ffefb2002-01-25 21:00:18 +0000131- po/ca.po, po/es.po:
132 - Catalan and Spanish translation updates (Jordi).
Jordi Mallach9c34a162002-01-26 00:46:47 +0000133- po/sv.po:
134 - Swedish translation updates (Christian Rose).
135- po/fr.po:
136 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach8636f7b2002-01-26 19:23:37 +0000137- po/nn.po:
138 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
139- po/de.po:
140 - German translation updates (Michael Piefel).
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +0000141- po/it.po:
142 - Italian translation updates (Marco Colombo).
Jordi Mallach94def062002-02-06 12:14:25 +0000143- po/cs.po:
144 - Partial Czech translation updates (Vaclav Haisman).
Jordi Mallach8bfd3112002-02-06 20:53:04 +0000145- po/hu.po:
146 - Hungarian translation updates, or to be precise, rewrite
147 (Gergely Nagy).
Jordi Mallachb3b28c12002-02-07 13:51:00 +0000148- po/uk.po, po/ru.po:
Jordi Mallach507c3612002-02-14 18:57:23 +0000149 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
150- po/da.po:
151 - Danish translation updates (Keld Simonsen).
Jordi Mallache46d43d2002-02-15 17:13:11 +0000152- po/nb.po:
153 - Norwegian bokmĂĄl translation updates (Stig E Sandoe).
Jordi Mallach62d21712002-02-20 16:21:27 +0000154- po/nl.po:
155 - Dutch translation updates (Guus Sliepen).
Jordi Mallacha3322fd2002-03-05 11:23:17 +0000156- po/pl.po:
157 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach83ffefb2002-01-25 21:00:18 +0000158
Chris Allegretta491029e2002-01-25 17:02:32 +0000159nano-1.1.6 - 01/25/2002
Chris Allegretta044d1b12002-01-08 00:33:32 +0000160- General
161 - Add Meta-A as alternate keyystroke for ^^ for people with
162 non-US keyboards.
Chris Allegretta967a1e22002-01-10 00:50:38 +0000163 - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
164 browser.
Chris Allegretta1bc0c7e2002-01-08 15:00:24 +0000165 - Better partial word checking code. New function
166 search.c:is_whole_word(), changes to findnextstr(),
167 and nano.c:do_int_spell_fix() (Rocco Corsi).
Chris Allegretta6c1e6612002-01-19 16:52:34 +0000168 - Added multiple-line regex support. Format in .nanorc is
169 start="regex" end="regex". Cleaned up nanorc:parse_colors(),
170 added parse_next_regex(), changes to edit_add in winio.c(),
171 changes to colortype, cleaning up some old cruft.
Chris Allegretta15b23f42002-01-19 19:15:18 +0000172 - Upgrade to gettext 0.10.40, probably broke everything again :)
Chris Allegretta24e48d82002-01-23 01:06:20 +0000173 - Upgraded to and then downgraded from automake 1.5, as there
174 are severe security implications.
Chris Allegrettaea250e82002-01-16 01:09:11 +0000175- color.c:
176 do_colorinit()
177 - Moved some comments and braces around so color can work
178 w/slang (DLR).
Chris Allegrettaf478f832002-01-18 21:54:35 +0000179- global.c:
180 shorcut_init()
181 - Replace hard coded ALT_G and ALT_H values in the replace
182 and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
Jordi Mallach345a8462002-01-07 11:35:16 +0000183- nano.c:
184 usage()
185 - Remove extra \n in --keypad description (Jordi).
Chris Allegrettaf7dee922002-01-07 16:43:25 +0000186 main()
187 - Check that alt value is an alpha char before comparing to
188 val - 32, fixes Alt-R calling doprev instead of replace.
Chris Allegrettab2cd10d2002-01-20 00:54:42 +0000189 do_char()
190 - Run edit_refresh() if ENABLE_COLOR is defined so adding
191 multi-liners will update (e.g. /* in C).
Chris Allegretta23b74b22002-01-21 20:32:22 +0000192 do_int_spell_fix()
193 - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
Chris Allegretta7b0667f2002-01-10 12:44:21 +0000194 do_suspend()
195 - Call tcsetattr() to restore the old terminal settings, so
Chris Allegretta5bbce6a2002-01-10 12:48:16 +0000196 tcsh can use ^C after suspend for example (fixes BUG #68).
Chris Allegretta438f7132002-01-16 00:54:47 +0000197 do_wrap()
198 - Move "right" increment to part where new line is created,
199 should change (fix?) some wrapping problems with autoindent.
Jordi Mallach5285ca92002-01-17 12:40:33 +0000200 version()
201 - Show --enable-multibuffer independently of --enable-extra being
202 compiled in (Jordi).
Chris Allegrettaf478f832002-01-18 21:54:35 +0000203- nano.h:
204 - Changed color struct slightly, because of previous issue with
205 applying color painting in order, the "str" portion was
206 uselss. Renamed "val" in colortype to "start", added "end"
207 for multi-line color strings.
208- rcfile.c:
209 General
210 - Took silly variables being passed everywhere like lineno and
211 filename and made them static variables.
Chris Allegretta6c1e6612002-01-19 16:52:34 +0000212 - Re-indented.
Chris Allegretta34f80982002-01-22 20:09:20 +0000213 - Added stdarg.h to includes.
Chris Allegrettaf478f832002-01-18 21:54:35 +0000214 rcfile_error()
215 - Now automatically prpends the "error in line blah at foo"
216 message to error messages.
217 parse_colors()
218 - Added section for computing "end" section.
219 parse_next_word()
220 - Added support for "\ ", in word parsing.
Chris Allegrettae29697d2002-01-14 03:31:10 +0000221- search.c:
Chris Allegretta1c2fddc2002-01-21 20:40:14 +0000222 do_search()
223 - Check position of cursor and return value of findnextstr and
224 tell user if search string only occurs once (Rocco & Chris).
Chris Allegrettae29697d2002-01-14 03:31:10 +0000225 findnextstr()
226 - Fix off by one in check for wrap around (Rocco Corsi).
Chris Allegretta3d0739c2002-01-07 14:41:32 +0000227- winio.c:
228 edit_refresh()
229 - Rename lines to nlines to fix AIX breakage (reported by
230 Dennis Cranston, re-reported by arh14@cornell.edu).
Chris Allegrettaf478f832002-01-18 21:54:35 +0000231 edit_add()
232 - Refuse to honor regex matches of 0 characters when applying
233 color highlighting, and say so on the statusbar. Otherwise
234 we go into an infinite loop, the error message should clue
235 users into the fact that their regex is doing something bad.
Jordi Mallachd6481e42002-01-17 12:14:23 +0000236- THANKS:
237 - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
Jordi Mallach83d5ced2002-01-17 12:06:49 +0000238 not bokmĂĄl as we claimed (Jordi).
Chris Allegretta9963b0e2002-01-19 19:35:12 +0000239- .cvsignore
240 - Added config.guess config.sub install-sh missing & mkinstalldirs
Jordi Mallach3da91392002-01-07 11:50:13 +0000241- po/ca.po, po/es.po:
Jordi Mallache36a1522002-01-07 15:12:48 +0000242 - Catalan and Spanish translation updates (Jordi).
243- po/sv.po:
244 - Swedish translation update (Christian Rose).
Jordi Mallachd39698f2002-01-07 15:16:26 +0000245- po/de.po:
246 - German translation update (Michael Piefel).
Jordi Mallachbf1a1e82002-01-08 14:07:39 +0000247- po/fr.po:
248 - French translation update (Jean-Philippe Guérard).
249- po/ru.po, po/uk.po:
250 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach83d5ced2002-01-17 12:06:49 +0000251- po/no.po:
252 - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
253- po/nn.po:
254 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
255- po/nb.po:
256 - New Norwegian bokmĂĄl translation (Stig E Sandoe <stig@ii.uib.no>).
Jordi Mallach3a23a552002-01-18 23:04:16 +0000257- po/da.po:
258 - Danish translation update (Keld Simonsen).
Chris Allegrettad1751932002-01-05 20:01:53 +0000259
Chris Allegretta110927b2002-01-05 19:49:06 +0000260nano-1.1.5 - 01/05/2002
Chris Allegretta32da4562002-01-02 15:12:21 +0000261- General
262 - Better integration of View mode (-v) and multibuffer.
263 Fixes to new_file(), do_insertfile_void(), shortcut_init()
264 (David Lawrence Ramsey).
Chris Allegretta48bd3782002-01-03 21:26:34 +0000265 - The keypad handling has changed (again). We now use
266 the keypad() function by default. New flag -K, --keypad
267 allows the old behavior for those using the keypad arrow keys
268 and rxvt-based terminals.
Jordi Mallach8ae57892002-01-04 17:57:40 +0000269 - Updated copyright notices to 2002 (Jordi).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +0000270- nano.c:
Chris Allegretta32da4562002-01-02 15:12:21 +0000271 die()
272 - Only save files that were modified (David Lawrence Ramsey).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +0000273 do_cont()
274 - Run signal_init() after doupdate() so ^Y wont suddenly
275 start suspending after returning from ^Z suspend in Hurd.
276 signal_init()
277 - Unconditionally disable VDSUSP if it exists, stops ^Y
278 suspending nano on the Hurd.
Jordi Mallach11f39e72001-12-25 19:17:32 +0000279 help_init()
Chris Allegretta64dd95d2001-12-27 20:53:54 +0000280 - Typo fixes in help strings (Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +0000281 - New variable helplen needes cause currslen is not always
282 the length we want (bug found by David Lawrence Ramsey).
Chris Allegretta180a5692002-01-02 14:30:33 +0000283 - Typo in file switch string (found by David Lawrence Ramsey).
284 main()
285 - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
Chris Allegretta32da4562002-01-02 15:12:21 +0000286 - Handle OS-specific insert keys by jump to do_insertkey (David
287 Lawrence Ramsey).
Chris Allegretta64dd95d2001-12-27 20:53:54 +0000288- files.c:
289 read_file()
290 - Make conversion message less confusing (suggested by Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +0000291- rcfile.c:
292 parse_next_word()
293 - Get rid of ptr == \n check to abort, screws up option
294 parsing (bug found by David Lawrence Ramsey)
Chris Allegretta52db7a22001-12-17 23:39:36 +0000295- winio.c:
296 update_line()
Chris Allegretta3c57e502001-12-19 16:20:43 +0000297 - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
298 high ascii characters.
Jordi Mallach9335f912001-12-23 00:03:18 +0000299 titlebar()
300 - gettextized a pair of strings.
Chris Allegrettae5b9eac2002-01-05 01:52:02 +0000301 bottombars()
302 - Get rid of that annoying reversed line when color is on! :)
Chris Allegretta1bf8f5e2002-01-05 03:30:10 +0000303 edit_add()
304 - Little fixes to let color highlights not bleed onto the next line.
Chris Allegrettaa16e4e92002-01-05 18:59:54 +0000305 statusq()
306 - Initialize "list".
Chris Allegrettacf680712001-12-18 14:59:20 +0000307- m4/gettext.m4:
308 - Back down to 1.1.3 version.
Jordi Mallachcf9f7832001-12-26 12:33:01 +0000309- faq.html:
310 - Various link updates and other fixes (Aaron S. Hawley).
311 - Typo fixes (David Lawrence Ramsey).
Chris Allegrettafae0dce2002-01-04 13:30:42 +0000312- AUTHORS
313 - Add DLR.
Jordi Mallach77b12322001-12-22 23:23:40 +0000314- po/sv.po:
315 - Swedish translation update (Christian Rose).
Jordi Mallach3da91392002-01-07 11:50:13 +0000316- po/ru.po, po/uk.po:
Jordi Mallach32793982001-12-28 16:35:28 +0000317 - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
Jordi Mallach3da91392002-01-07 11:50:13 +0000318- po/ca.po, po/es.po:
Jordi Mallach414acab2001-12-26 00:15:16 +0000319 - Catalan and Spanish translations updates (Jordi).
Jordi Mallacha4ffccb2001-12-26 00:31:17 +0000320- po/pl.po:
321 - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
Jordi Mallach65f3e422002-01-04 17:48:58 +0000322 - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
323 official maintainer.
Jordi Mallach1a58fb42001-12-27 16:00:23 +0000324- po/fr.po:
325 - French translation update (Michel Robitaille).
Jordi Mallach05d8ce92001-12-27 20:34:42 +0000326- po/gl.po:
327 - Galician translation update (Jacobo TarrĂ­o).
Jordi Mallach78e2c9d2001-12-27 22:06:38 +0000328- po/it.po:
329 - Italian translation update (Marco Colombo).
Jordi Mallach32793982001-12-28 16:35:28 +0000330- po/de.po:
331 - German translation update (Michael Piefel).
Jordi Mallach13f30172002-01-02 18:45:58 +0000332- po/fr.po:
333 - French translation update (Jean-Philippe Guérard).
Chris Allegretta5fd6cac2001-12-12 13:55:19 +0000334
Chris Allegretta7bf25092001-12-12 02:44:40 +0000335nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +0000336- General
337 - Preliminary syntax highlighting support. New functions
338 colortoint() and parse_color() in rcfile.c, new code in
339 edit_add() in winio.c to actually do the highlighting. It's
340 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +0000341 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +0000342- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +0000343 - Fixes for tab completion and screen refresh (David Lawrence
344 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +0000345 add_open_file()
346 - Get rid of unsetting MARK_ISSET because otherwise writing
347 marked text will automatically unset the marker with
348 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +0000349- global.c:
350 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +0000351 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
352 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +0000353- nano.c:
354 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +0000355 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +0000356 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
357 signal_init()
358 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
359 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +0000360 help_init()
361 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +0000362 do_curpos()
363 - Now takes arg for constant updating to always show the cursor
364 position (David Lawrence Ramsey).
365 do_wrap()
366 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +0000367 do_spell()
368 - Dont prompt for replace if we don't change the word in
369 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +0000370- po/de.po:
371 - German translation updates (Karl Eichwalder).
372- po/ru.po:
373 - Russian translation updates (Sergey A. Ribalchenko).
374- po/sv.po:
375 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +0000376- po/da.po:
377 - Danish translation updates (Keld Simonse).
378- po/es.po:
379 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +0000380- po/fr.po:
381 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +0000382- m4/gettext.m4:
383 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +0000384
Chris Allegrettadc57bba2001-10-26 16:14:45 +0000385nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +0000386- General
387 - Finally wrote function-specific help mode. Changes to
388 nano.c:help_init() and winio.c:do_help(). Changed
389 currshortcut and currslen #ifdefs to depend on both
390 DISABLE_HELP and DISABLE_MOUSE being defined to not
391 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +0000392 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
393 this was causing nasty errors if the call to nrealloc moved
394 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +0000395 - Changed header comments to say "version 2" instead of "version
396 1" as the COPYING file is actually version 2 of the GPL (bug
397 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +0000398- cut.c:
399 do_cut_text()
400 - Check to see whether marked text is contained within edit
401 window and if so only do an edit_refresh (variable dontupdate
402 replaces cuttingpartialline).
403 do_uncut_text()
404 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +0000405- faq.html
406 - Removed nano-editor.org FTP site address [deprecated] and added
407 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +0000408- files.c:
409 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +0000410 People should know that their file wasnt normally formatted.
411 load_file()
412 - Status message when trying to load an already loaded file with multiple
413 buffers (David Lawrence Ramsey).
414 read_file()
415 - Get rid of useless linetemp variable and name num_lines int
416 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +0000417- nano.c:
418 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +0000419 Alt-space, as next word is hard coded as control-space. Fixed
420 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +0000421 beginning of first line, prog should simply abort. Added
422 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +0000423- nano.h:
424 - Additional #define, SMALL_TOO to determine how long
425 MAIN_LIST_LEN is. We need this because of the find matching
426 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +0000427 main()
Chris Allegretta347c1842001-10-24 01:37:13 +0000428 - Moved #ifndef NANO_SMALL down past the case 0: line so
429 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +0000430- rcfile.c:
431 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +0000432- po/sv.po:
433 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +0000434- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +0000435 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +0000436- po/es.po:
437 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallach3da91392002-01-07 11:50:13 +0000438- po/ru.po, po/uk.po:
Jordi Mallacheb94b9e2001-10-15 14:26:48 +0000439 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +0000440
Chris Allegretta03260b42001-10-04 01:24:07 +0000441nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +0000442- General
443 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
444 new flag CLEAR_BACKUPSTRING because there's no easy way to
445 clear the backupstring without making it global (messy), so we
446 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +0000447 - --enable-tiny now leaves out the Auto Indent code, do you really
448 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +0000449 - New flag -o, --operatingdir, similar to Pico's -o mode. New
450 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +0000451 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +0000452 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +0000453 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +0000454 new code in read_line and write_file. New cmdline flag
455 (-D --dos) to automatically write the file in DOS format,
456 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +0000457 - Mac file writing supported too. Flag -M, --mac. Toggle
458 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +0000459 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +0000460 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +0000461 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +0000462 - Bracket (brace, parens, etc) matching code by Ken Tyler.
463 New functions do_find_bracket(), changes to findnextstr(),
464 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +0000465 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
466 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +0000467 - Call do_gotopos from do_alt_spell() to keep position
468 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +0000469 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +0000470 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +0000471 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +0000472 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +0000473- cut.c:
474 cut_marked_segment()
475 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +0000476 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +0000477 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +0000478 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +0000479- faq.html:
480 - Notes about the Free Translation Project.
481 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +0000482- files.c:
483 do_writeout()
484 - Expanded strings to not use %s and ?: to determine
485 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +0000486 new_file()
487 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +0000488- nano.c:
489 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +0000490 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +0000491 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +0000492 - Many tweaks and changes from numerics to char equivs
493 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +0000494 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +0000495 do_mouse()
496 - Send 27 when the menu item clicked is an alt key seq... The
497 lines aren't lined up since the menu width changed though,
498 this breakage depends on whether the new widths will be kept
499 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +0000500 - Change k based on currslen to allow the new widths in
501 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +0000502 do_wrap()
503 - Fixes for Pico incompatibility in cases 2b and 2c.
504 (David Lawrence Ramsey).
505 global_init()
506 - New arg save_cutbuffer, allows cutbuffer to not be lost when
507 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +0000508- nano.1:
509 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +0000510- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +0000511 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
512 - Added many command line options, toggles and other additions
513 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +0000514- rcfile.c:
515 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +0000516 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +0000517 - Fix incorrect argument in fill and tabsize error message
518 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +0000519- search.c:
520 - Changed search prompt to "Search" followed by a list of
521 bracketed, free-standing modifiers that do not imply a grammar,
522 and the (to replace) string separately. Hopefully this resolves
523 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +0000524 findnextstr()
525 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +0000526- winio.c:
527 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +0000528 bottombars()
529 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +0000530 nanogetstr()
531 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +0000532 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +0000533- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +0000534 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +0000535- po/ca.po, po/es.po:
536 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +0000537- po/gl.po:
538 - Updated Galician translation (Jacobo TarrĂ­o).
Jordi Mallach90bbdd32001-09-12 19:06:59 +0000539- po/da.po:
540 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +0000541- po/sv.po:
542 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +0000543- po/it.po:
544 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +0000545- po/fi.po:
546 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +0000547
Chris Allegretta0e8c8d82001-07-29 01:16:27 +0000548nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +0000549- General
550 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
551 - Added m4/ directory to allow rebuilding using only the internal
552 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +0000553- nano.c:
554 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +0000555 - Change the multibuffer getopt option to 'F' (David Lawrence
556 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +0000557 do_mark()
558 - Temporarily disable cursorpos when enabled to be able to see
559 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +0000560- nanorc.sample
561 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +0000562- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +0000563 new_file()
564 - Do add_open_files if there aren't any open yet (David Lawrence
565 Ramsey).
566 close_open_file()
567 - Try to open the next file first, then the previous one
568 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +0000569- global.c:
570 shortcut_init()
571 - Rewrote the whereis and replace lists to put CANCEL at the end
572 of the list, and not include the toggle functions when using
573 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000574- nano.h:
575 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +0000576 - Rewrote all the macro definitions to be a little less messy,
577 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +0000578- rcfile.c:
579 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000580- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +0000581 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +0000582 search_init()
583 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +0000584- winio.c:
585 bottombars()
586 - Fixed an off by one that wasn't letting lines with odd #
587 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +0000588
Chris Allegretta9a748602001-07-15 16:07:23 +0000589nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +0000590- General
591 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +0000592 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +0000593 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +0000594 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +0000595 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +0000596 this automatically, but now just mouse support can be disabled
597 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000598 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +0000599 - Added rcfile.c source file. Only includes much of anything when
600 --enable-nanorc is used. Tons of new funcs, most notably
601 do_rcfile() called from nano.c:main(). Added much needed
602 function ncalloc(), will have to go through source code later
603 and change the aproproate calls which used nmalloc for lack of
604 an apropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000605 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +0000606 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +0000607 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +0000608 - Added config.guess and config.sub to distribution because,
609 apparently, newer autoconf/automakes can't live without them.
610 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +0000611 - Changed all string allocations to charalloc(), new function
612 designed to take nmalloc argument but call calloc based on
613 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +0000614 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
615 and justify being disabled. This allows us to compile out the
616 -r flag if neither are set, and will also allow us to comment
617 out -W when it is written.
618 - Allow fill to take a negative value ot signify a "from right side"
619 value. This allows the value to vary with the screen size yet
620 still be correct. New static value wrap_at to minimize code
621 inpact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000622 - Allow file appending. New shortcut list nano_insertfile_list (since
623 insert and write routines can't share shortcut lists anymore),
624 new args to do_writeout and write_file called append, and of source
625 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +0000626 - Allow backwards searching. Drastic rewrite of the search prompt
627 string by Chris. All other code by Ken Tyler. New globals
628 nano_reverse_msg, new functions revstrstr and revstrcasestr,
629 many changes to search functions. Not too big a code size
630 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +0000631 - Moved extension functions (Case Sensitive, Regexp, and Backwards
632 Search, Append key in write file function) to Meta keys, as
633 people are complaining loudly about nano not being control-key
634 compatible with Pico, which is a Bag Thing (TM). Changes to
635 shortcut_init, toggle_init, new toggles for backwards and regexp
636 (and you can now toggle all search options including regexp at
637 the Search: prompt!) Changes to nanogetstr to enable Meta
638 keys to be grabbed, changes to onekey to print M-style shortcuts.
639 - New macro TOGGLE which just toggles, no more silly checking
640 ISSET and then using SET or UNSET when we want a simple toggle
641 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +0000642 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +0000643 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +0000644 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
645 and write_file(), new functions add_open_file(),
646 open_file_change_name(), load_open_file(), open_file_dup_search(),
647 open_file_dup_fix(), open_prevfile(), open_nextfile(),
648 close_open_file(), get_full_path(), die_save_file(), etc.
649 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +0000650 - Using --enable-extra automatically defines --enable-multibuffer
651 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +0000652 - Moved to gettext 0.10.38 at the last second, sure to break
653 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +0000654- Makefile.am:
655 - Include ABOUT-NLS and the new THANKS files to the distributed list.
656- THANKS:
657 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +0000658 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +0000659- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +0000660 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +0000661 initialization file and set options normally used on the command
662 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +0000663 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +0000664 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +0000665- cut.c:
666 add_to_cutbuffer()
667 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +0000668 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +0000669 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
670 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000671 - Added 'destructive' argument. Allows the selected text to be
672 added to the cutbuffer without changing the contents of the
673 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +0000674 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +0000675 - If the line is empty when using -k and wasn't already added,
676 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +0000677 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +0000678 - Moved the case of current == mark_beginbuf into cut_marked
679 segment, so do_writeout could call it when writing selection to
680 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +0000681 do_uncut_text()
682 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +0000683- faq.html:
684 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +0000685 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000686- files.c:
687 do_browser()
688 - Minor fixes to the processing of SELECT function (Rocco)
689 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +0000690 - Don't shift the size of the file is it's less than 1K. Fixed
691 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +0000692 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
693 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +0000694 do_writeout()
695 - New code to allow writing selected text to a separate file.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +0000696 When this is done, the current state is prserved.
697 write_file()
698 - New arg, nonamechange, means whether or not to update the
699 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +0000700 - Increment lineswritten when the very last line isn't null.
701 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000702- global.c:
703 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +0000704- move.c:
705 page_up()
706 - Rewritten with a loop to make screen updates work when
707 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +0000708 do_home(), do_end()
709 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +0000710- nano.1:
711 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +0000712- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000713 do_alt_speller()
714 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +0000715 ABCD(), main()
716 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +0000717 main()
718 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +0000719 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +0000720 signal_init()
721 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
722 SIGCONT from being interrupted, allows suspending nano
723 to work more reliably, esp. with mutt, etc.
724 do_suspend()
725 - Don't try to play with the handler inside the handler. Just
726 raise a SIGSTOP. We also now write the "use "fg"" message to
727 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +0000728 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
729 Eliminates the possibility that nano can be suspended when
730 it's not supposed to be. Many many many thanks to Jordi and
731 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +0000732 do_cont()
733 - Now just does a refresh call instead of playing with the SIGTSTP
734 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +0000735- nano.h:
736 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
737- proto.h:
738 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +0000739- search.c:
740 do_gotoline()
741 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +0000742 do_replace()
743 - If we manage to make it in somehow with VIEW_MODE on, abort
744 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +0000745- utils.c
746 strcasestr()
747 - Replaced by mutt's mutt_stristr function, because the thought
748 of dynamically allocating memory and copying each line in a file
749 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +0000750- winio.c:
751 actual_x()
752 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +0000753- po/POTFILES.in:
754 - Added utils.c to the list.
755- po/es.po, po/ca.po:
756 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +0000757- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +0000758 - Galician translation by Jacobo TarrĂ­o.
Jordi Mallach92b3bd22001-05-16 09:10:31 +0000759- po/uk.po, po/ru.po:
760 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +0000761 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +0000762- po/id.po:
763 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +0000764- po/it.po
765 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +0000766- po/no.po:
767 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
768- po/sv.po:
769 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +0000770
771nano 1.1 tree forked here 04/07/2001
772
Chris Allegretta38068cd2001-04-06 20:04:23 +0000773nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +0000774- General:
775 - added configure option --disable-wrapping. Does what it says,
776 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +0000777 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +0000778 Affects configure, nano.c:do_char() and check_wrap() obviously,
779 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +0000780- aclocal.m4:
781 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +0000782- faq.html:
783 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +0000784- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +0000785 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +0000786 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +0000787 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +0000788 - use strcasecmp to sort directory if available, pilot does that
789 as well (Matthias Andree)
790 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +0000791 - Changed lstat calls to stat, which fixes the browser not
792 following links to directories. We only use lstat() when
793 printing the details of the file, and if it is a link, then
794 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +0000795 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +0000796 do_browser()
797 - Fix broken size suffix off-by-one errors (Matthias Andree)
798 cwd_tab_completion(), do_browse_from()
799 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
800 - Changed above to use PATH_MAX only when defined on the
801 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +0000802- intl/Makefile.in:
803 distclean
804 - added intl/libintl.h to the rm -f rule, should fix the unresolved
805 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +0000806
Chris Allegretta2bfbda02001-03-23 03:50:44 +0000807nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +0000808- General
809 - Added void to functions declared as () args, nano.c:do_mark()
810 and search.c:regexp_cleanup(). (Christian Weisgerber).
811 - Changed internal variables called "new" to "newnode" to avoid
812 the "new" C++ reserved word, even though there is likely no way
813 nano will EVER be compilable with a C++ compiler. (suggested by
814 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +0000815- ca.po, es.po:
816 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +0000817- cs.po:
818 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +0000819- nano.info:
820 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +0000821- winio.c:
822 statusq()
823 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +0000824
8251.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +0000826- nano.c:
827 do_wrap()
828 - Added case for autoindenting text causing new line (Adam).
829 - Added SAMELINE case to above. Added checks to cases 1b and
830 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +0000831- move.c:
832 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +0000833 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +0000834 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +0000835- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +0000836 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +0000837 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +0000838 search_init()
839 - If using Pico mode and regex and same answer is entered, use
840 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +0000841- nano.texi:
842 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +0000843
Chris Allegrettaa4a222d2001-02-20 03:52:13 +0000844nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +0000845- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +0000846 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +0000847 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +0000848 removed "Goto Line", aligned "Read File" with "Write Out" and
849 "Replace" with "Where is" for consistency.
850 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +0000851 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +0000852- configure.in:
853 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +0000854 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +0000855 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +0000856- cut.c:
857 do_cut_text()
858 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +0000859- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +0000860 do_delete()
861 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +0000862 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +0000863 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +0000864 do_justify()
865 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +0000866 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +0000867 main()
868 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +0000869- winio.c:
870 do_yesno()
871 - Added localized yes, no and all strings to function and rewrote
872 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000873- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +0000874 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000875- fi.po:
876 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +0000877- hu.po:
878 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +0000879- id.po:
880 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +0000881- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +0000882 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +0000883- ca.po:
884 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +0000885 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
886 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +0000887
Chris Allegretta34318ed2001-01-31 23:22:36 +0000888nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +0000889General
Chris Allegrettad4ddd012001-01-23 01:17:07 +0000890 - Removed center_x and center_y globals. center_y was
891 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +0000892 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +0000893 - Deleted free_node, duplicate of delete_node, and changed all
894 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +0000895 - Fix for resizing the window in modes other than normal edit mode
896 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +0000897- files.c:
898 write_file()
899 - Don't free() realname on error, if it needs to be free()d later
900 it will be (fixes crash on successful write after failed write,
901 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +0000902 username_tab_completion()
903 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +0000904 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +0000905 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +0000906 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +0000907 - Rewritten using getpwent (suggested by Adam, much optimized by
908 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +0000909- global.c:
910 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +0000911- nano.c:
912 do_justify()
913 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +0000914 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +0000915 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +0000916 global_init(), handle_sigwinch()
917 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +0000918 do_alt_speller()
919 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +0000920 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +0000921- proto.h:
922 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +0000923- winio.c:
924 nanogetstr()
925 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +0000926
Chris Allegretta9d6f3f32001-01-21 02:35:03 +0000927nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +0000928General
929 - Changed #ifdefs to check for both DISABLE_TABCOMP and
930 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000931 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +0000932 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000933 back. (Rocco)
934 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +0000935 - Added message for when keypad goes awry. Added code in main and
936 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +0000937 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +0000938 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +0000939 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +0000940- configure.in:
941 - Fix for _use_keypad check breaking slang support (Christian
942 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +0000943 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +0000944 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +0000945- faq.html:
946 - Added some info on making the binary smaller with the configure
947 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +0000948 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +0000949- files.c:
950 real_dir_from_tilde()
951 - Oops, fix case where buf ="~", silly crash (bug discovered by
952 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +0000953 do_browser()
954 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +0000955 cwd_tab_completion(), input_tab()
956 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +0000957 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000958- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +0000959 ABCD()
960 - New function, figures out what kbinput to return given
961 input common to several switch statements, allows us to
962 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000963 main()
964 - Alternate speller option no longer valid if DISABLE_SPELLER is
965 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +0000966 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
967 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +0000968 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000969 nano_small_msg()
970 - This function has been removed. All references now call
971 nano_disabled_msg. (Rocco)
972 version()
973 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
974 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
975 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +0000976 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +0000977 usage()
978 - Alternate speller option no longer valid if DISABLE_SPELLER is
979 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +0000980 window_init(), handle_sigwinch()
981 - Added check for not having enough LINES to do anything useful,
982 if so die with an error. (Rocco)
983 die_too_small()
984 - Function to print the window too small error message, avoids
985 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +0000986 do_justify()
987 - Small fix for totsize calculation (Rob)
988
Chris Allegrettad9742c62001-01-12 15:51:53 +0000989- fi.po:
990 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +0000991
Chris Allegretta16991442001-01-07 22:06:11 +0000992nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +0000993General -
994 - New file browser code. New functions in files.c:do_browser(),
995 helper functions browser_init(), tail(), striponedir(),
996 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +0000997 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +0000998 - Keypad code has been changed slightly. Now checks for
999 _use_keypad flag in window to see whether or not to turn
1000 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +00001001 to winio.c where it should probably be anyway. New configure
1002 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +00001003 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +00001004 - Moved keypad() calls for PDCURSES from main() to window_init()
1005 so the keypad continues to work after a Meta-X, for example.
1006 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +00001007- faq.html:
1008 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +00001009- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00001010 username_tab_completion()
1011 - Added the (char *) sizeof when allocating memory for the filename
1012 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +00001013 cwd_tab_completion()
1014 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00001015 - Added the (char *) sizeof when allocating memory for the filename
1016 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00001017 do_writeout()
1018 - Now takes an argument so the string typed in can be retained
1019 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +00001020 do_browser()
1021 - Don't decrement longest by the length of path. Fixes crashes
1022 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +00001023 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +00001024 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +00001025- move.c:
1026 page_down()
1027 - Don't do an edit_update when there is only one page of text
1028 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +00001029- nano.c:
1030 main()
1031 - Reorder the getopt options to be more or less alphabetical
1032 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +00001033- winio.c:
1034 do_cursorpos()
1035 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +00001036 do_credits()
1037 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +00001038 titlebar()
1039 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +00001040 do_help()
1041 - Changed way of temporarily bringing up shortcuts at the
1042 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +00001043- utils.c:
1044 mallocstrcpy()
1045 - Takes char pointers now instead of void (makes debugging a
1046 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00001047 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +00001048- es.po:
1049 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +00001050
Chris Allegretta66149e72000-12-19 02:51:06 +00001051nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +00001052General
1053 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +00001054 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +00001055 - Changed filename to no longer use PATH_MAX, so it can work on the
1056 HURD. Changes in files.c:write_file(), new function
1057 nano.c:clear_filename(), many changed in main(), a few other
1058 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001059 - Added -b, -e, and -f flags, which we ignore as nano provides
1060 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +00001061- cut.c:
1062 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001063 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +00001064 - Fix screen not being displayed when we are uncutting marked
1065 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +00001066 - Fix magic line not getting created when (you guessed it)
1067 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +00001068- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +00001069 read_file()
1070 - If we encounter an error and insert is not set, run new_file().
1071 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +00001072 write_file()
1073 - Change open call flags, basically copy joe's way of doing it so
1074 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +00001075 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +00001076 open_file()
1077 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +00001078- nano.c:
1079 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +00001080 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001081 main()
1082 - Added code to check for Alt-Alt (27-27) keystrokes and set the
1083 next keystroke as a control sequence. New variable
1084 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
1085 around Control-S,Q,Z handlers because we need it now for
1086 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +00001087 - Added --view option to getopt_long()call . Bug discovered
1088 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +00001089 help_init()
1090 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta92325e72000-12-18 03:44:22 +00001091 ^_ in pico mode not be displayed in the help (bug discovered by
1092 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +00001093 do_toggle()
1094 - Added fix_editbot() call to fix improper redisplay of edit
1095 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001096- nano.1, nano.1.html:
1097 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +00001098- winio.c
1099 do_help()
1100 - Force keypad on so F-keys and PageUp/Down will work properly.
1101 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +00001102- utils.c:
1103 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +00001104 - Increment totsize!! We decrement it when we've read a file,
1105 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +00001106
Chris Allegrettab29550e2000-12-09 03:34:12 +00001107nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +00001108General
1109 - Changed --disable-spell to --disable speller. The term is
1110 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +00001111- files.c:
1112 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +00001113 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +00001114 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +00001115 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +00001116 - We now run check on result of lstat(), not stat(), to be
1117 safer. New variable anyexists, we use still use realexists
1118 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +00001119 - OOPS, line up link/unlink/rename check if conditional with
1120 top if conditional. Option -l has been broken for 9 versions,
1121 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +00001122 - Added saving perms at end of link so we can apply them to the
1123 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +00001124- winio.c:
1125 edit_add()
1126 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00001127 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +00001128 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00001129 - Moved from search.c, as it's definitely a winio function now =)
1130 update_line()
1131 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +00001132
Chris Allegrettafedd7242000-12-03 03:15:38 +00001133nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +00001134- General
Chris Allegrettabe77c612000-11-24 14:00:16 +00001135 - Username tab completion code, and cleaned up existing tabcomp
1136 code. New functions real_dir_from_tide(), append_slash_if_dir(),
1137 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +00001138 - Ignore key sequence 543 & 545, right control and alt keys in
1139 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +00001140 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
1141 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +00001142 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +00001143 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +00001144- New configure options:
1145 - Added configure argument --disable-tabcomp. Affects
1146 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +00001147 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +00001148 - New options --enable-extra. New code in nano.c:version() to
1149 print out various options from ./configure, function do_credits().
1150 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +00001151 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +00001152 do_spell, do_int_speller and do_alt_speller.
1153 - Added --disable-justify to get rid of the justify function.
1154 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +00001155- files.c:
1156 write_file()
1157 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +00001158 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +00001159 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +00001160 - Added call to real_name_from tilde, oops. Added check for
1161 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +00001162 read_file()
1163 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +00001164- global.c:
1165 shortcut_init()
1166 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +00001167 shortcut or the normal uncut text one. Needed to accommodate
1168 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +00001169- nano.1, nano.1.html:
1170 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +00001171 - Added "NOTES" section, where I explain what nano.save & friends
1172 are.
1173 - Added a copyright notice for the manpage, under the GPL.
1174 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +00001175- nano.c:
1176 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +00001177 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
1178 text there, then grabs the next keystroke and, if the unjustify
1179 key, gets rid of the justified text and calls do_uncut_text.
1180 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00001181 do_int_spell*
1182 - Various fixes (Rocco Corsi).
1183 - Changed abort of program to aborting based on value of "edit a
1184 replacement" question, and not caring about the replace loop
1185 return value. That way the user can get out of the replace loop
1186 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +00001187 version()
1188 - Took out huge check for the various --disabled macros,
1189 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +00001190 nano_small_msg(), nano_disabled_msg()
1191 - Added checks for disabled functions to see whether or not to
1192 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +00001193 do_next_word()
1194 - Update the previous line as well as the current one in case we
1195 have moved beyond COLS or back from COLS, patch submitted
1196 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +00001197 die()
1198 - Now creates .save file using variable-length strings. Also
1199 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +00001200 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +00001201 handle_sighup()
1202 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00001203- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +00001204 do_replace_highlight()
1205 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +00001206 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +00001207 - Added calls to curs_set(0) and (1) to disable the cursor when
1208 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +00001209- es.po:
1210 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +00001211
Chris Allegrettaca7a21d2000-11-24 01:35:40 +00001212nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +00001213- AUTHORS
1214 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +00001215- nano.c:
1216 main()
1217 - Changed check for argc == 1 to argv[optind] == NULL to decide
1218 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +00001219- search.c:
1220 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00001221 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +00001222 search_init()
1223 - Silly typo in our "one simple call" of statusq. Stopped
1224 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +00001225 do_replace()
1226 - Copy back the previous value of last_replace into answer if
1227 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +00001228- winio.c:
1229 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +00001230 - Deleted first update_line() call, screws up display when marker is
1231 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +00001232- nano.1, nano.1.html
1233 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +00001234
Chris Allegretta6da149a2000-11-19 02:23:03 +00001235nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +00001236- General
1237 - Ran source through indent -kr again. Make everything pretty.
1238 - Changed behavior of "search" and "replace" prompts to make all
1239 previous values editable. This change was made so that you can
1240 replace with the null string without needing a special key for it.
1241 changed code in search_init(), do_replace(), nanogetstr (see
1242 below).
1243 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +00001244 - Revamped nanogetstr() and calls to it to use variable length
1245 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +00001246 MANY changes in nanogetstr(), many chances in search.c, new
1247 function mallocstrcpy which is sure to be a programmatic
1248 nightmare, changed last_search, last_replace, answer to
1249 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +00001250 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +00001251 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00001252 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +00001253 - New spelling code by Rocco Corsi. New functions
1254 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
1255 New functions search_init_globals and do_replace_loop, changes
1256 to search_init(), do_replace, findnextstr, moved last_search and
1257 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +00001258 - New tab completion code. Used check_wildcard_match, input_tab,
1259 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +00001260 hacked them a lot, changes to nanogetstr(). nanogetstr() and
1261 statusq() now take an arg for whether or not to allow tab
1262 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +00001263 - Fixed value being input in statusbar during a search or replace
1264 and CASE_SENSITIVE or the other search is called and the
1265 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00001266 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
1267 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +00001268- files.c:
1269 do_writeout()
1270 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +00001271- global.c
Chris Allegretta105da332000-10-31 05:10:10 +00001272 - New global replace_list_2, for 2nd half of the replace dialog
1273 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +00001274 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +00001275 toggle_init()
1276 - Added #ifdef around toggle_regex_msg to get rid of compiler
1277 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +00001278
1279- nano.c:
1280 keypad_on()
1281 - New function, toggles turning the keypad on and off in edit and
1282 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00001283- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +00001284 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00001285 - New arg for begin_x variable, basically a rewrite that
1286 makes a little more sense and isn't quite as messy (Rocco Corsi).
1287 - Update the line we're checking if not the whole screen, because
1288 it's quite possible the search team could exist somewhere way
1289 to the right on the same line, for example.
1290 replace_abort()
1291 - Add reset of placewewant, stops cursor from jumping when moving
1292 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +00001293 do_replace()
1294 - Added code for Gotoline key after entering the search term.
1295 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +00001296 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +00001297 Converted if statements to switch statements.
1298 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +00001299 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +00001300 do_search()
1301 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +00001302- winio.c
1303 nanogetstr()
1304 - Added check for 343 in while loop to get rid of getting "locked"
1305 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +00001306 - Changed check to return -2 on "enter" from answer == ""
1307 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +00001308 - Fixed fallthrough code because there was no break. Make much
1309 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +00001310 - Added check for ASCII 54[124] when using PDCURSES, ignore them
1311 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00001312 nanoget_repaint()
1313 - New function, removes about 30 lines of duplicate code in
1314 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +00001315 - Black magic code to make $ appear in prompt if we're past
1316 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +00001317 blank_edit()
1318 - Removed wrefresh() call, much less choppy now. If there's a need
1319 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +00001320- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +00001321 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +00001322
Chris Allegretta07e97d62000-10-03 01:52:50 +00001323nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +00001324- General
1325 - Added PDCurses support under cygwin, which allows building
1326 a nice stand-alone nano.exe for those poor Windows users.
1327 Extra check in configure.in for initscr() in -lcurses (as
1328 PDcurses has no tgetent), some #ifdef PDCURSES statements
1329 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +00001330 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +00001331- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00001332 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00001333 main()
1334 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00001335- search.c
1336 - Added initializations for last_search and last_replace (Rocco Corsi)
1337
Chris Allegretta629edad2000-09-19 00:27:19 +00001338nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00001339- General
1340 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
1341 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00001342- configure.in:
1343 - Added default case for cross-compiling to get rid of annoying
1344 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00001345- cut.c:
1346 do_cut_text()
1347 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00001348 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00001349- files.c:
1350 open_file()
1351 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00001352- global.c:
1353 shortcut_init()
1354 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00001355- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00001356 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00001357 - Added check for _POSIX_VDISABLE and use raw mode if not
1358 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00001359 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00001360 - Revamped a great deal of the F-key and keypad key handling,
1361 because we not longer use keypad() (see below).
1362 - Removed keypad() call because nano was not working with the
1363 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00001364 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00001365 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00001366 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00001367 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00001368 mouse_init()
1369 - Add keypad only if mouse support is on, otherwise mouse doesn't
1370 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00001371 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00001372- winio.c:
1373 total_refresh()
1374 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00001375 onekey()
1376 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00001377
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00001378- search.c:
1379 findnextstr()
1380 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00001381- es.po:
1382 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00001383- de.po
1384 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00001385
Chris Allegretta423cbfd2000-09-04 16:21:29 +00001386nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00001387- General
1388 - New shortcuts to toggle certain options that are normally only
1389 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
1390 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00001391 called from shortcut_init(), and do_toggle in nano.c. Also
1392 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00001393 signal_init(). Moved "struct sigaction act"into a static in
1394 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00001395 - Changed from Alt-key symbol (@) which is completely nonstandard
1396 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00001397 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00001398 Meta. Moved the toggle Meta keystrokes to the first column
1399 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00001400 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00001401 - Changed last_search and last_replace vars to statically
1402 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00001403- global.c:
1404 toggle_init()
1405 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
1406 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00001407- nano.c:
1408 do_mouse()
1409 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00001410 do_wrap()
1411 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00001412 do_toggle()
1413 - Added checks for no help and no wrap mode, and print opposite
1414 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00001415 do_suspend(), do_cont():
1416 - New functions, handle suspend signal in a Pico-like manner and
1417 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00001418- winio.c:
1419 total_refresh()
1420 - Added edit_refresh() call to actually update the screen if messy.
1421 edit_refresh_clearok()
1422 - New function, does a total update for edit refresh, needed to fix
1423 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00001424 onekey()
1425 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00001426
Chris Allegretta6306a112000-09-02 07:55:41 +00001427 update_line()
1428 - Added check for binary data >= 1 and <= 26, and use ^+letter
1429 to display it. Should fix editing text files with binary
1430 data in them. Placing of the cursor seems to be a bit screwed
1431 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00001432- search.c:
1433 search_abort()
1434 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
1435 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00001436 findnextstr():
1437 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00001438 - Fixed check for string that only occurs on the same line failing
1439 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00001440
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00001441nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00001442- cut.c:
1443 do_cut_text()
1444 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00001445 - Added check_statblank().
1446 - Check for fileptr == filebot, if so return, we shouldn't bother
1447 cutting the magic line.
1448 do_uncut_text()
1449 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00001450- nano.c:
1451 main()
1452 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00001453- po/Makefile.in.in:
1454 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
1455 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00001456- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00001457 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00001458
Chris Allegretta0bf4e142000-08-04 02:42:04 +00001459nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00001460- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
1461 Affects many many functions. Removed functions edit_update_top and
1462 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00001463- Added global variable tabsize, we no longer screw with the curses
1464 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00001465- configure.in:
1466 - Finally fixed check for slang to report "no" if not called
1467 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00001468- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00001469 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00001470 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00001471 null_at()
1472 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00001473 delete_buffer()
1474 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00001475 do_backspace()
1476 - Now calls page_up_center instead of page_up (as it should?)
1477 do_enter()
1478 - Fixed typo (?) in check for inptr->next. Caused lots of
1479 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00001480 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00001481 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00001482- search.c:
1483 replace_abort()
1484 - redundant, now just calls search abort until it does something
1485 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00001486- winio.c:
1487 edit_refresh()
1488 - Added check for current line "running" off the screen.
1489 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00001490 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00001491 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00001492 edit_update()
1493 - Rewritten, hopefully this will remove a lot of the
1494 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00001495- move.c:
1496 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00001497 - do an edit_update() at last case. Made function more like
1498 Pico's version, only move down to two lines before editbot.
1499 page_up()
1500 - Made function more like Pico's version, only move down to two
1501 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00001502
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00001503nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00001504- nano.h:
1505 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
1506- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00001507 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00001508 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00001509 - Simplified check for freeing cutbuffer. Added checks for doing
1510 multiple cuts with -k, now sets marked_cut to 2 for later
1511 processing by do_uncut_text().
1512 do_uncut_text()
1513 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00001514- files.c:
1515 write_file()
1516 - Removed (redundant) check for writing out files with -t.
1517 do_writeout()
1518 - Changed check for filename to filename[0]. Added some code,
1519 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00001520- nano.c:
1521 do_justify() & do_wrap():
1522 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00001523- de.po
1524 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00001525
Chris Allegretta1d7110d2000-07-23 16:59:07 +00001526nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00001527- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00001528 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
1529 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00001530- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
1531 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00001532- move.c
1533 page_down()
1534 - Don't edit_refresh() if the bottom of the file is in the edit
1535 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00001536- nano.c:
1537 main():
1538 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001539 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00001540 die():
1541 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001542 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00001543 - Changed exit semantics a bit so that aspell wouldn't get
1544 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00001545- files.c:
1546 read_file():
1547 - Added init of buf variable, hopefully this will stop the
1548 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00001549 write_file():
1550 - Added code to check to see if using -l and the file is not
1551 in fact a link. This should fix the behavior where a file
1552 that does not have write permission but could be removed and
1553 rewritten is saved without error. Please test this feature
1554 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00001555- search.c:
1556 search_init():
1557 - Added " (to replace)" statement to end of search string if
1558 we are doing a replace. Manually converted all the translations
1559 from '%s' to '%s%s' to ensure they still work with the new code.
1560 Also put in the translation for " (replace)" in the .po's. Hope
1561 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00001562 do_search(), do_replace():
1563 - Removed call to search_abort()/replace_abort() before call to
1564 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00001565 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00001566 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00001567 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00001568- fr.po:
1569 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00001570- es.po:
1571 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00001572
Chris Allegrettae955dae2000-07-07 22:24:59 +00001573nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00001574- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00001575 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
1576 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
1577 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00001578 search_init() and do_replace() and strstrwrapper().
1579 - Added _POSIX_VERSION check to regexp code. Better than nothing
1580 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00001581 - Made search functions & keys more like Pico. Added goto line from
1582 search and replace function, changed wording to "No Replace" instead
1583 of "To Search", "To Replace" to simply "Replace", and changed to
1584 Pico's keystroke by default, ^R. Affects search_init(),
1585 do_search() in search.c, globals in nano.h and
1586 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00001587 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00001588- cut.c
1589 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00001590- files.c:
1591 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00001592 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00001593- nano.c:
1594 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00001595 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
1596 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00001597 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00001598 - Corrected FIXME in do_enter with explanation. (Rob)
1599 - Fixed FIXME in do_justify, resulted in creation of
1600 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00001601 help_init():
1602 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00001603 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00001604 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00001605 do_backspace(), do_delete():
1606 - Added magic line code here too.
1607
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00001608- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00001609 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00001610- fi.po:
1611 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00001612- utils.c:
1613 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00001614- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00001615 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00001616 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00001617 do_yesno(), nanogetstr():
1618 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00001619 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
1620 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00001621 clear_bottomwin():
1622 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00001623 edit_update_top():
1624 - Fixed a bug that caused nano to not update when
1625 current->next == NULL (e.g. paging down to the very bottom of
1626 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00001627 fix_editbot:
1628 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00001629 edit_add:
1630 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00001631
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001632nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00001633- New flag "-T" or "--tabsize" to specify how to display tab widths.
1634 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00001635 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001636 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00001637- id.po:
1638 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00001639- es.po:
1640 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00001641- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00001642 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00001643 we had been seeing. Affects: add_marked_sameline, edit_add,
1644 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00001645 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001646 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001647 - Cut display_main_list call, as this function is only supposed to
1648 refresh what's already on the screen, not go through the process
1649 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00001650- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00001651 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00001652- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00001653 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001654 - Removed editwineob, as it was redundant for (editwinrows - 1).
1655 Changed all calls to editwinrows - 1 in nano.c and move.c.
1656 - Removed all functions that were split into other files.
1657 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00001658 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00001659 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00001660 do_insertfile():
1661 - Fix display problem when using ctrl-r to load a file
1662 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00001663 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00001664 - Added titlebar(), edit_refresh() and display_main_list() calls
1665 because a resize wasn't picking up on possible different width
1666 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00001667- utils.c:
1668 - Moved nmalloc() and nrealloc() here.
1669- move.c:
1670 - New file, contains movement functions (like do_home(), do_up(),
1671 do_down(), page_up(), etc...).
1672- files.c:
1673 - Contains functions for files (read_file, insert_file,
1674 do_writeout(), etc).
1675- search.c:
1676 - Contains all our searching and related functions, (do_search(),
1677 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00001678
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001679nano-0.9.10 - 06/04/2000
1680- es.po:
1681 - Translation updates (Jordi).
1682- AUTHORS, nano.1.html, TODO, README:
1683 - Documentation and email address updates (Jordi).
1684- nano.c:
1685 main():
1686 - Moved Adam's termio code down to after getopt() and before initscr()
1687 to stop people losing their SIGINT character when using args that
1688 exit nano before it runs (--version, --help, etc).
1689
1690nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00001691- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001692 - Added proper lines for defining LOCALEDIR.
1693- configure.in:
1694 - Spelling fixes (Jordi Mallach)
1695 - Removed CFLAGS changes for gcc, reduces portability according to
1696 some, and it certainly doesn't seem to decrease exe size.
1697- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00001698 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001699- POTFILES.in:
1700 - Added global.c file, was screwing up translations (i.e. they
1701 weren't getting done).
1702- cut.c:
1703 add_to_cutbuffer():
1704 - Added totsize increment.
1705 - Cut fixes and optimizations (Rob Siemborski).
1706 do_uncut_text():
1707 - Added totsize increment in several places.
1708- nano.c:
1709 headers:
1710 - Removed LOCALEDIR define.
1711 do_justify():
1712 - Added edit_refresh() call (bug discovered by Adam).
1713 page_down_center():
1714 - Added call to edit_update(current) for last case. Removed
1715 increment of current_y since it's now just wasteful.
1716 do_enter():
1717 - Added totsize increment.
1718 renumber(), renumber_all():
1719 - Removed totsize-- and totsize init in renumber_all.
1720 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00001721 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001722 unnecessary wrefresh(edit).
1723 main():
1724 - Moved up locale calls so that translated --help messages would
1725 actually get translated.
1726 do_backspace(), do_delete():
1727 - Added decrement of totsize.
1728 init_help_msg():
1729 - New function, initializes help text if NANO_SMALL isn't set (fixes
1730 broken i18n).
1731 read_file():
1732 - malloc call changed to nmalloc (Rob Siemborski).
1733- winio.c:
1734 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001735 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001736
1737nano-0.9.8 - 05/18/2000
1738- nano.c:
1739 main():
1740 - Added awesome code that disables the CINTR and CQUIT
1741 character (Adam Rogoyski). Removed raw()/noraw() calls so that
1742 nano gets input in 'normal' mode, which is the Right Way(tm) to
1743 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00001744 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001745 term settings, and changes to finish() and die().
1746 - Added extra #ifdefs in getopt code, so that above code and
1747 flag init is run even if GETOPT_LONG is not #defined.
1748 - Added memset line before sigactions. (Adam Rogoyski)
1749 do_suspend():
1750 Removed function, see above for why.
1751- winio.c:
1752 update_line(), center_cursor():
1753 - Removed wrefresh(edit) from bottom of functions. wrefresh
1754 should now only be called once, at the bottom of the main()
1755 loop.
1756- global.c:
1757 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00001758 - Removed suspend sc_init call and suspend message because suspend
1759 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001760
1761nano-0.9.7 - 05/14/2000
1762- nano.c:
1763 do_home(), do_end():
1764 - Added calls to update_line for the current line, fixes
1765 lack of update (bug discovered by Alberto GarcĂ­a).
1766 main():
1767 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
1768 following symlinks even when -l isn't set, and "no changes"
1769 error when nano is called from crontab -e (Adam Rogoyski).
1770- cut.c:
1771 do_cut_text():
1772 - Added edit_update_top to cut when mark is set, fixes lack of
1773 display update (bug discovered by Ken Tyler).
1774
1775nano-0.9.6 - 05/08/2000
1776- New Italian translation (it.po), by Daniele Medri.
1777- nano.c:
1778 page_up(), page_down():
1779 - Added reset of placewewant to 0, as it should be.
1780 do_up(), do_down():
1781 - Added call to update_line() for line we move from and line we
1782 move to, in order to keep the highlighting correct.
1783 do_wrap():
1784 - Added var chop, new code to wrap lines more like Pico, mostly.
1785 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
1786- winio.c:
1787 do_help():
1788 - Added edit_refresh() before exit.
1789 update_cursor():
1790 - Removed cursor updating which really wasn't needed anyway.
1791 edit_update():
1792 - Removed yucky code that didn't work, this function now just
1793 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00001794 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001795
1796nano-0.9.5 - 05/01/2000
1797- Removed bytes from file struct because it was computationally wasteful.
1798- cut.c:
1799 do_uncut_text():
1800 - Added call to edit_refresh().
1801- nano.c:
1802 do_backspace():
1803 - Added reset of editbot when deleting the last line of the file
1804 (bug discovered by Adam).
1805 do_char():
1806 - Removed call to reset_cursor().
1807 do_delete():
1808 - Added similar check as to do_backspace().
1809 do_enter():
1810 - Added call to edit_refresh().
1811 do_left(), right():
1812 - Added call to update_line(), still redundant but better...
1813 do_up(), do_down():
1814 - Added refresh calls both for current line and line to which
1815 we are moving.
1816 main():
1817 - Removed inefficient call to edit_refresh() after every keystroke.
1818 It is now up each function to leave the screen in a good state.
1819- winio.c:
1820 do_cursorpos()
1821 - Rewritten to not use bytes from filestruct by an incremental sum.
1822 update_line(), reset_cursor():
1823 - Optimized calls to xplustabs() through a single variable.
1824 - update_line() now takes a new arg, an index into the string
1825 for where to update the line from. Needed for new update
1826 code.
1827- configure.in:
1828 - Better checks for slang, allows argument to --with-slang.
1829 (Albert Chin-A-Young)
1830 - Removed -Iintl from CFLAGS in gcc check.
1831- Makefile.am:
1832 - Addition of -Iintl for gettext (Albert Chin-A-Young)
1833
1834nano-0.9.4 - 04/25/2000
1835 - Fixed calls to no_help and changed them to the more consistent
1836 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
1837 not 1. Code to temporarily disable NO_HELP when in the
1838 help system. (Adam Rogoyski)
1839- cut.c:
1840 do_marked_cut(), do_cut(), do_uncut():
1841 - Commented out unnecessary bits when NANO_SMALL is being used.
1842- winio.c:
1843 xpt(), strlenpt(), actual_x():
1844 - Added check for value of data[i] & 0x80, if so do not make
1845 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
1846 edit_refresh():
1847 - New check for temp == NULL (bad thing), if so go back to the
1848 previous line. New filestruct var hold points to prev line.
1849 Fixes segfault when paging down to the end of a file.
1850- nano.c:
1851 write_file():
1852 - Added check for if file exists and is not equal to the current
1853 filename, prompt for overwrite (Adam Rogoyski).
1854 do_down():
1855 - Removed check for current->next == NULL, now checks return value
1856 of do_down before setting current_x = 0 (discovered by Adam).
1857 do_justify():
1858 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00001859 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001860 by Adam).
1861- utils.c:
1862 - Removed extra macro defs that are now in nano.h.
1863- nano.h:
1864 - Changed macro SET() to use |= instead of ^=. Fixes bug in
1865 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00001866 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001867
1868nano-0.9.3 - 04/29/2000
1869- cut.c:
1870 do_marked_cut():
1871 - Fixed off by one error in cut code for marked text.
1872 do_cut_text():
1873 - Removed check for being on the last line, part of
1874 magic line code.
1875 add_to_cutbuffer():
1876 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
1877 - Added inptr->prev = NULL for case where cutbuffer == NULL.
1878- nano.c:
1879 do_backspace(), do_char():
1880 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00001881 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001882 at least one known segfault condition.
1883 do_enter():
1884 - Added setting editbot to new node if the new node is the last
1885 node in the file.
1886 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00001887 - Changed writing file behavior. Now, if last line of the file
1888 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001889- winio.c:
1890 add_marked_sameline():
1891 - New code that checks for whether the begin and end of the marker
1892 are on different lines. Missing previously.
1893 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00001894 - added some more checks for text length. Cleaned up some
1895 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001896 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00001897 - Removed check for temp == filebot, it is now treated like any other
1898 line. Fixes a bug where selected text on the last line shows
1899 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001900 xpt():
1901 - Removed an extra computation for tabs variable that was incorrect.
1902 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00001903 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001904 xpt(current, current_x)
1905- nano.1, nano.1.html:
1906 - Added -l option to man pages.
1907- configure.in:
1908 - New option --enable-tiny, #defines NANO_SMALL in config.h.
1909 Disables call to gettext in functions and other i18n stuff in
1910 nano.c, the detailed help mode, the resize functions, and the
1911 justify code which no one ever uses.
1912 - New option --with-slang. Enables slang libraries instead of
1913 ncurses, requires slcurses.h for wrapper functions. (Based
1914 on patches for 0.8.7 by Glenn McGrath).
1915
1916nano-0.9.2 - 04/15/2000
1917- This release just fixes the serious segfault problem if nano is
1918 invoked any way other than using the absolute path. The bug was
1919 in the new code for checking whether nano is invoked as pico.
1920
1921nano-0.9.1 - 04/14/2000
1922- Added pico compatibility for ^T when in search or switch to switch
1923 to the opposite function. Added one to REPLACE_LIST_LEN and
1924 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00001925 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001926 to search_init(). Handlers in do_replace and do_search().
1927- New write code, now follows symbolic links instead of replacing them
1928 with the new file. New option (-l, --nofollow) to enable the old
1929 (incorrect, but secure) behavior (Adam Rogoyski).
1930- nano.c:
1931 do_wrap():
1932 - Fixed another bug relating to wrapping, and which would cause
1933 a segfault *sigh*.
1934 do_replace():
1935 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00001936 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001937 add_marked_sameline():
1938 - New function, handles marked text when start & end of marker is
1939 on one line, also supports most marked text when cursor > COLS.
1940 main():
1941 - Code to check if nano is invoked as 'pico', and if so
1942 automatically set pico_msgs (Robert Jones).
1943
1944nano-0.9.0 - 04/07/2000
1945- nano.1, nano.1.html: Updated man page with my email address and homepage.
1946- winio.c:
1947 reset_cursor(), update_line():
1948 - Changed update algorithm for x value to (COLS - 7) multiple when x
1949 value > (COLS - 2).
1950- edit_refresh():
1951 - Removed inner loop code, now calls update_line() for each line
1952 in question, MUCH nicer.
1953- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00001954 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001955 - Added check for data[i] < 32, most of such bits are 2 chars wide.
1956- update_line():
1957 - Fixed a stupid call to strlenpt with col when we should have
1958 been using actual_col. Ugh.
1959
1960nano-0.8.9 - 03/22/2000
1961- nano.c:
1962 empty_line(), no_spaces(), justify_format(), do_justify():
1963 Actually added these (screwup applying patch).
1964 do_justify(): Added call to set_modified().
1965
1966nano-0.8.8 - 03/12/2000
1967- Preliminary internationalization support. Many many functions modified
1968 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
1969 New dirs po/ and intl/, changes to configure.in and Automake.am to
1970 support i18n.
1971- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00001972 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001973 statics: Changed some things that were not necessarily static
1974 (Adam Rogoyski).
1975 nrealloc(): New function, similar to nmalloc(). Changed calls from
1976 realloc() to nrealloc (Adam Rogoyski).
1977 empty_line(), no_spaces(), justify_format(), do_justify():
1978 New functions for justify function (Adam Rogoyski).
1979- winio.c:
1980 blank_edit(): Added wrefresh call to edit so that screen updates (like
1981 on ^L) actually work.
1982 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
1983
1984nano-0.8.7 - 03/01/2000
1985- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00001986 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001987 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00001988 break the line exists, and for wrapping lines longer than
1989 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001990- nano.1.html:
1991 Html version of man page, now included in dist. For
1992 the benefit of nano packages in Linux distributions.
1993
1994nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00001995- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001996 shortcut_init():
1997 Added shortcuts for goto_line and do_replace when using
1998 pico_msgs. Oops.
1999- nano.c:
2000 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00002001 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002002 Removed check for backing up past spaces first.
2003 main(): Added for loop to check for alt keys instead of hard list.
2004 do_enter(): Fix for bug #14, added call to reset_cursor and messed
2005 up do_char quite a bit.
2006 version(): Added time and date stamp for compile on version message.
2007 Added mail and web page info.
2008- README: Updated mailing list info.
2009
2010nano-0.8.5 - 02/18/2000
2011- nano.c:
2012 main(): Finally fixed tilde being input on page up/down keys in
2013 certain terminal types. Fix was input 26->91->5[34] check
2014 for 126, if so make the kbinput PAGE UP/DOWN, else unget
2015 the keystroke and continue. Added #include <ioctl.h> for
2016 ioctl call.
2017 handle_hup():
2018 Handler for hangup signal. Belated include of patch from
2019 Tim Sherwood.
2020- winio.c:
2021 edit_refresh():
2022 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00002023 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002024 revamped.
2025 check_statblank():
2026 Added check for constupdate, makes things less choppy
2027 (Adam Rogoyski)
2028
2029nano-0.8.4 - 02/11/2000
2030- Moved global variables that were only (or mostly) used in one file into
2031 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
2032- global.c:
2033 shortcut_init():
2034 Removed redundant NANO_CONTROL_H from backspace shortcut,
2035 added char 127 which should have been there.
2036- nano.c:
2037 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
2038 segfaults (Adam Rogoyski).
2039- Makefile.am: Added all source filenames (Adam Rogoyski).
2040- nano.1: Fixed mail addressed and added mailing list address.
2041- README: Updated my email address and the nano web page.
2042
2043nano-0.8.3 - 02/08/2000
2044- New pico mode (-p, --pico), toggles (more) compatibility with the
2045 Pico messages displayed in the shortcut list. Note that there are still
2046 small differences in this mode.
2047- nano.h: New shortcut struct format, for the benefit of i18n and
2048 our help menu. Removed shortcut message macros, they are
2049 now all in shortcut_init in global.c.
2050- nano.c:
2051 do_wrap(): Removed resetting of current_x when we are in fact
2052 wrapping to the next line, fixes a bug in -i mode.
2053 do_enter():
2054 Rewrote the autoindent mode code to be a lot less pretty,
2055 but a lot more magical.
2056 main():
2057 Removed case for ignoring char 126 (~). That's kind of
2058 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00002059 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002060 main switch loop in much snazzier fashion based on the
2061 shortcut list.
2062- winio.c:
2063 New function display_main_list. Affects all functions
2064 that used to call bottombars() with main_list. Added
2065 because we now only call bottombars with the macro
2066 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
2067 changes to the main_list shortcut list (see global.c below).
2068 New function do_help, our preliminary dynamic help system.
2069- Many many funcs:
2070 Changed from int to void to allow one uniform type to call
2071 from the shortcut struct. Also a few functions that do
2072 not simple have void argument have new functions called
2073 funcname_void(void) to be called from the shortcut list.
2074 do_cut_text and do_uncut_text were changed to void
2075 arguments because they were never called with a filestruct
2076 other than *current anyway.
2077- global.c:
2078 Shortcut list main_list was expanded to cover all
2079 shortcuts that could be caught in the main loop.
2080 Consequently there is a new macro MAIN_VISIBLE which tells
2081 how many items in the main list to actually show.
2082
2083nano-0.8.2 - 02/02/2000
2084- Added initial mouse (-m, --mouse) support. New global variable
2085 use_mouse. (Adam Rogoyski)
2086
Chris Allegretta88520c92001-05-05 17:45:54 +00002087- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002088 regardless. (Adam Rogoyski).
2089 do_delete():
2090 Deleted call to do_backspace() when on the end of a line,
2091 because it won't update the line properly.
2092 do_backspace():
2093 Removed unnecessary pointer manipulation that was being
2094 handled by unlink_node().
2095 open_file():
2096 Added check for trying to open a directory (currently we
2097 segfault on this). Bug pointed out by Chad Ziccardi.
2098
2099nano-0.8.1 - 01/28/2000
2100- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
2101 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
2102 global.c and proto.h.
2103- nano.c:
2104write_file(): Added (incredibly) necessary check for EPERM when
2105 link() fails. This allows us to actually save
2106 files via rename() on filesystems that dont
2107 support hard links (AIEEEEEE).
2108do_goto():
2109 Fixed a stupid mistake where we were calling
2110 bottombars() with replace_list instead of goto_list.
2111- nano.h:
2112 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00002113 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002114 for help function and i18n.
2115- global.c:
2116 New functions shortcut_init (called in nano.c) and
2117 sc_init_one() to initialize the shortcuts without
2118 using {}s (for i18n).
2119
2120nano-0.8.0 - 01/25/2000
2121- View flag (-v, --view) implemented. Global variable view_mode, affects
2122 main loop of nano.c and new_file(). (me)
2123- nano.c:
2124 split checks for TERMIOS_H and TERMIO_H up so we
2125 can (theoretically) include them both, which is good.
2126handle_sigwinch():
2127 Added check for ncurses.h. (Andy Kahn)
2128do_spell():
2129 We now only try ispell because we don't as of yet
2130 handle the 'spell' program the right way, now that
2131 I finally know what the right way is =-). Added
2132 call to edit_update(fileage) to stop segfaults.
2133global_init():
2134 Added initialization of edit* filestruct pointers
2135 to stop segfaults on spell check.
2136usage():
2137 Check for getopt_long, and if no leave out the
2138 GNU options everyone seems to love so much (Andy Kahn)
2139main():
2140 Added checks for getopt_long (Andy Kahn)
2141 We ignore character 126 because it gets put into
2142 the buffer when we page up/down on a vt terminal.
2143write_file():
2144 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00002145 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002146 better in the function comments. Fixed my
2147 stupidly commented out check for tmp on setting
2148 umask which I really like =>
2149- nano.h:
2150 Made desc variable in shortcut struct a pointer
2151 instead of a fixed-length string.
2152- utils.c:
2153 Fixed check for config.h before nano.h.
2154- configure.in:
2155 New checks for getopt_long, getopt.h, removed
2156 CFLAGS and LDFLAGS changes. Gonna have to run
2157 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00002158 Added check for HAVE_WRESIZE, new file acconfig.h
2159 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002160
2161nano-0.7.9 - 01/24/2000
2162- New autoindent feature. Command flag 'i' or '--autoindent'. New
2163 function do_char() to clean up character output, global
2164 variable autoindent in global.c. (Graham Mainwaring)
2165- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
2166 files on exit without prompting. Affects do_writeout(). Also
2167 do_writeout() now takes a parameter for if exiting.
2168 Global variable temp_opt in global.c (Graham Mainwaring)
2169- Preliminary spell program support. Added command flag '-s' or
2170 '--speller' for alternative speller command. Added function do_spell()
2171 and exit_spell() to nano.c. New global variable alt_speller.
2172- nano.c:
2173 main(): We now ignore input of decimal 410 because these get entered
2174 when we resize the screen. Sorted options in getopt()
2175 switch statement.
2176 usage(): Sorted options and changed tabs to make room for -s option.
2177 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
2178 doesn't print the number of lines written on the statusbar.
2179 global_init():
2180 Added more initializations to globals to support do_spell().
2181
2182nano-0.7.8 - 01/23/2000
2183- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00002184- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002185 and main() in nano.c
2186- Removed redundant reset_cursor() calls from the blank() routines.
2187- nano.c:
2188 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
2189 Removed check for isprint() characters in main while loop
2190 for people with odd character sets *shrug*. Added some X
2191 window F-key combos.
2192 read_line(): New function, consolidates of most of the special
2193 sections of the file reading code. (Rob Siemborski)
2194 do_replace(): Many scattered fixes. (Rob Siemborski)
2195 write_file(): Added check for empty filename.
2196- winio.c:
2197 nanogetstr(): Fixes for deleting at places other than the end of the
2198 buffer, cut support. (Adam Rogoyski)
2199 blank_edit(): New function, blanks edit buffer. Added call to it in
2200 total_refresh().
2201- configure: Checks for glib if snprintf of vsnprintf aren't available
2202 (Andy Kahn). Changed warning message when no termcap lib
2203 is found.
2204
2205nano-0.7.7 - 01/19/2000
2206- Option '-v' for version moved to '-V', because -v is Pico's "read only"
2207 mode (affects getopt() in main() and usage() function in nano.c
2208- New flag -c, always show cursor position. Affects main() in nano.c and
2209 statusbar() in winio.c
2210- Option '-x' doesn't show help window at the bottom of the editor.
2211 New variable no_help in nano.h and proto.h, affects main(), usage(),
2212 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
2213 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
2214 hand =P) (Adam Rogoyski)
2215- nano.c:
2216 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
2217 page_up(), page_down():
2218 - New functions. We now set the cursor at the top right corner,
2219 not at the center line, and page up and down a full screen
2220 rather than a half screen. Original functions renamed to
2221 page_up_center() and page_down_center().
2222 main():
2223 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
2224 in main while loop because suspend mode was broken. This should
2225 fix it, at least for now.
2226 - Added long option support (By popular harassment ;-) - Added
2227 #include for getopt.h, changed getopt() to getopt_long().
2228 Options added so far: --version (-V), --nowrap (-w), --suspend
2229 (-z), --help (-h), --nohelp (-x).
2230 - Rewrote signal statements (Adam Rogoyski)
2231
2232nano 0.7.6 - 01/15/2000
2233- New ChangeLog format
2234- nano.c:
2235 main(): Bound CONTROL_H to backspace (oops)
2236 Added more Alt-[-key combinations, for page up & down.
2237 read_bytes(): New function (Adam Rogoyski)
2238 read_file(): Optimizations - malloc()s *buf a little at a time rather
2239 than one huge buffer, and replaced the strcat at the end
2240 with an index variable. Added call to read_bytes().
2241 do_next_word(): New function, binding is control-space (0) (me)
2242
2243- winio.c:
2244 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
2245 (formula is extra space needed = COLS / 6 - 13).
2246 actual_x() & strlenpt():
2247 Added bug#9 fix - when tabs % 8 == 0, we should only
2248 increment tabs by 1.
2249 titlebar(): Fixed overrun in titlebar on very long filenames.
2250
22510.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
2252 writing a newline at EOF. do_cursorpos and do_replace are now not
2253 directly bound to signals but picked up as their control sequences
2254 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
22550.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
2256 available memory, align bug fixed (Big Gaute).
2257
2258--- As of version 0.7.4 TIP is renamed to nano.
2259
22600.7.3 Fixed a double blank_statusbar() when jumping to first and last
2261 lines. Took out unnecessary updates in load_file. Bug fix in
2262 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00002263 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002264 with replace all, more/better comments (Robert Siemborski)
22650.7.2 Our first patch accepted into the source! configure fixes
2266 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
2267 Bug fix in update_line for editing long lines. Fixed arguments
2268 being put into the filename when none is specified. Preliminary
2269 +line command argument function.
22700.7.1 configure tweak for better FreeBSD support. Removed refresh() from
2271 edit_refresh to stop cursor "jumping" during screen updates. This
2272 will probably cause a bug or two. Replace is now Alt-R (@R) and
2273 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
2274 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
2275 Control-G will become the Help key, but for now is stubbed out.
22760.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
2277 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
2278 length file. Added Esc-[-A,B,C,D cursor key sequences.
22790.6.9 Preliminary cursor position function. Split up tip.c more, made
2280 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
2281 that was leaving out a character.
22820.6.8 By request, optchr in main() is now an int. Removed unneeded
2283 globals. Bound functions for next/prev page, and wrote functions
2284 do_home and do_end.
22850.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
2286 created read_file. Implemented Insert File. Fixes in tipgetstr
2287 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
22880.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
2289 aborted searches and more Pico-compatible messages. statusq() now
2290 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
22910.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
2292 regarding buffers with filebot in them. Fixins in do_backspace
2293 and do_enter. Removed unused variables. Removed strip_newline.
22940.6.4 Took out the awful newlines from each string buffers. This will
2295 certainly cause more bugs. Fixes in do_exit(). Better empty file
2296 handling (I hope).
22970.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
2298 do_enter() rewritten.
22990.6.2 Better default file permissions. Complete rewrite of do_wrap().
2300 Better handling of editing with cursor near COLS - 1.
23010.6.1 Starting to implement wrapping toggle. Fix for unhandled control
2302 codes being entered into the buffer. Bug fix in actual_x; more
2303 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00002304 locked into cutbuffer when cutting more than one marked screen of
2305 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000023060.6.0 We have TABs!!! To do this, placewewant is now set to the actual
2307 width on the screen we want to be, not an index of current->data.
2308 New functions xplustabs and actual_x convert the actual place
2309 the cursor should be on the screen to and from the place in the
2310 string.
23110.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00002312 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002313 arrow. Preliminary support for longer than COLS - 1 lines.
2314 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000023150.5.4 Fixed a bug in total_update that wasn't repainting the screen
2316 properly. tipgetstr is much more messy but text is now more
2317 editable ;) Fixed crash on entering a new file, hopefully. Awful
2318 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000023190.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
2320 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00002321 I would not trust your data with the mark code right now, but then
2322 we're not at version 1.0 yet so dont trust anything ;)
23230.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002324 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00002325 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002326 but does not actually affect what gets put in the cutbuffer (yet).
23270.5.1 Writing a file out causes modified to be set back to 0. Good.
2328 Set_modified function written. Cut and uncut text now set
2329 modified when called.
23300.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00002331 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002332 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00002333 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000023340.4.2 Implemented replace all in replace function. Crude exit function
2335 (asks yes or no if modified but does not write to file).
23360.4.1 Implementing search & replace. Fixed crash on deleting at top of
2337 edit buffer. Implemented "timeout" of statusbar messages.
2338 Implemented ^A and ^E (beginning and end of line).
23390.4.0 Split code into global.c and proto.h to allow for better multiple
2340 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00002341 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000023420.3.1 Write edit_refresh which doesn't move the screen around, just
2343 updates what's there already. do_wrap() and do_enter() added.
23440.3.0 Preliminary cutbuffer (cut and uncut) support.
23450.2.7 Check for Modification added. do_search() works.
23460.2.5 Rewrite of file data struct.
23470.2 Read in data to buffer, bound keystrokes to stub functions,
2348 initial cursor movement on screen. Initial autoconf support.
23490.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00002350
2351$Id$