blob: fcd1a85576900759208fe089b3b64b781c432f1a [file] [log] [blame]
Chris Allegrettae8ad5ed2002-10-25 03:15:48 +00001CVS code -
Chris Allegretta5beed502003-01-05 20:41:21 +00002Changes
David Lawrence Ramseydc60b722002-10-25 16:08:53 +00003- General:
Chris Allegretta5beed502003-01-05 20:41:21 +00004 - Search history and replace history up/down cursor arrows, w/history
5 tab completion, not available w/NANO_SMALL. Changes to
6 statusq, others (Ken Tyler). Added shortcut to search/replace
7 shortcuts so people will know it's there, forced KEY_UP and KEY_DOWN
8 defs in nano.h (Chris, in case blame needs to be placed later).
Jordi Mallach5e4b8cf2002-10-26 15:02:14 +00009 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseydc60b722002-10-25 16:08:53 +000010 - Forward-ported Chris' --disable-wrapping-as-root option from
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +000011 1.0.9. Per Jordi's suggestions, have it override
12 $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR)
13 - Change all references to /etc/nanorc in the documentation to
14 $SYSCONFDIR/nanorc. (DLR)
David Lawrence Ramsey99519ae2002-11-04 16:12:19 +000015 - Minor cosmetic tweaks to the ngettext() macro, and fix to
16 properly detect systems lacking ngettext() and correctly
17 compile on them; the previous fix didn't work. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +000018 - Fix problems with some code sections' not being #ifdef'ed out
19 when they should be, or being #ifdef'ed out improperly. (David
20 Benbennick and DLR)
21 - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the
22 associated logic accordingly, throughout the code. (David
23 Benbennick)
24 - Rework #ifdefs to not include mouse_init() at all if
25 DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR)
26 - For consistency, change many references of (!x) to (x == NULL)
27 and (x) to (x != NULL). (DLR)
28 - Define KEY_IC properly (and KEY_DC more portably) when slang
29 support is enabled, and remove the hack to work around the
30 former's not being defined. (David Benbennick and DLR)
Jordi Mallach3e5ad632002-12-14 22:15:35 +000031- configure.ac:
32 - Added tr to ALL_LINGUAS (Jordi).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +000033 - Fix now inaccurate description of --enable-tiny's effects; it
34 no longer disables NLS support. (DLR)
35 - Fix typo. (David Benbennick)
36 - Check for strcasecmp() and strncasecmp(), since they are
37 apparently only standard under BSD. (DLR)
38- cut.c:
39 do_cut_text()
40 - Fix a memory corruption problem caused by accessing edittop
41 after it was freed but before it was reset to a sane value
42 from current. (David Benbennick)
43 do_uncut_text()
44 - If uncutting more than one line of unmarked text at editbot,
45 don't center the screen, since Pico doesn't. (DLR)
46- files.c:
47 read_line()
48 - Miscellaneous cleanups. (David Benbennick)
49 read_file()
50 - Miscellaneous cleanups. (David Benbennick)
51 - Fix len's being off by one when reading in Mac-format files,
52 exposed by one of David Benbennick's cleanups. (DLR)
53 - If NO_CONVERT isn't set when we first enter, and it gets set
54 while reading in the file, unset it again afterwards. (DLR)
55 add_open_file()
56 - Fix minor logic error when determining when to resave fileage
57 and filebot. (DLR)
58 write_file()
59 - Change lineswritten from a long to an int, to match
60 filestruct->lineno. (DLR; mismatch found by David Benbennick)
61 input_tab()
62 - Variable name change: matchBuf -> matchbuf. (DLR)
63 diralphasort()
64 - Remove the HAVE_STRCASECMP #ifdef block; see the changes to
65 configure.ac and nano.h for why. (DLR)
66- move.c:
67 do_page_down()
68 - If there's a page or less of text, do an edit_update() if the
69 mark is on; otherwise, the highlight won't be displayed. (DLR)
David Lawrence Ramsey9e050ad2002-11-04 16:18:52 +000070- nano.c:
Chris Allegretta5beed502003-01-05 20:41:21 +000071 - Added free_history list calls clean up, added init of list headers
72 modified statusq calls (Ken Tyler).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +000073 do_prev_word()
74 - Make the assert match that in do_next_word(). (DLR)
75 do_enter()
76 - If smooth scrolling is on, and Enter is pressed on the
77 magicline, don't center the screen. (DLR)
78 do_justify()
79 - Fix memory corruption problem triggered when edittop and
80 current->next pointed to the same value and current->next was
81 destroyed during justification. (DLR)
82 - Center the screen when justification moves the cursor entirely
83 off the bottom of the screen, instead of when it moves the
84 cursor near the bottom of the screen, to more closely match
85 Pico's behavior. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +000086 version()
87 - Remove obsolete reference to --enable-undo. (David Benbennick)
Chris Allegretta5ad92ac2002-12-09 00:58:51 +000088 do_int_speller()
89 - Make internal spell program use sort -f and uniq to create a less
90 redundant word list. [The only reason this is going in during
91 feature freeze is because the int speller is useless as is and should
92 either be improved or removed. I chose improved].
Chris Allegretta334a9402002-12-16 04:25:53 +000093 do_int_speller(), do_alt_speller()
94 - Programs now return char *, NULL for successful completion,
95 otherwise the error string to display. This allows us to give
96 more useful feedback to the user when spell checking fails.
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +000097 ABCD()
98 - Renamed abcd(). (DLR)
99- nano.h:
100 - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same
101 value. (DLR; discovered by Ken Tyler)
102 - If strcasecmp() and/or strncasecmp() aren't available, use
103 strcmp() and/or strncmp instead. (DLR)
104- utils.c:
105 is_cntrl_char()
106 - Rework to fix a problem with displaying certain high-bit
107 characters. (David Benbennick; reported by Andrzej Marecki)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000108- winio.c:
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000109 edit_refresh()
110 - Miscellaneous cleanups that fix a bug where the screen
111 isn't updated after uncutting chunks of upwardly marked cut
112 text that are over a page in length. (David Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000113 do_credits()
114 - Add David Benbennick to credits. (DLR)
115- nanorc.sample:
116 - Added comment to explain the non-escaping of quotes in
117 color regexes, based on info provided by David Benbennick.
118 (DLR)
119- faq.html:
120 - Miscellaneous fixes and updates for typos and broken links.
David Lawrence Ramseyaf7a09d2002-11-08 20:21:37 +0000121 It is now fully compliant with HTML 4.01 Transitional. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000122- nano.texi:
123 - Typo fixes and updates. (David Benbennick)
Jordi Mallach3e5ad632002-12-14 22:15:35 +0000124- THANKS:
125 - Added Doruk Fisek (Jordi).
Chris Allegrettae8ad5ed2002-10-25 03:15:48 +0000126
Chris Allegretta22578932002-10-25 03:14:11 +0000127GNU nano 1.1.12 - 10/24/2002
Jordi Mallachdab02992002-10-06 23:35:19 +0000128- General:
129 - Translation updates (see po/ChangeLog for details).
Chris Allegretta1dd0bc92002-10-13 18:43:45 +0000130 - Remove malloc.h, as it's unneeded and just causes annoyances on
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000131 *BSD systems. Added stdlib.h to global.c.
Chris Allegretta1dd0bc92002-10-13 18:43:45 +0000132 - Added Meta-Y toggle to disable/enable color syntax highlighting
133 completely. This may eventually be per-buffer, but that's too
134 complicated for a feature freeze.
Chris Allegrettae42df732002-10-15 00:27:55 +0000135 - Disable VSTOP keystroke. Stops people accidentally locking up
136 nano (suggested by David Benbennick).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000137 - Pluralize messages with ngettext() where needed. (David
Chris Allegrettad45c5992002-10-25 01:41:31 +0000138 Benbennick) Tweaked to compile on systems lacking ngettext()
139 by DLR (problem found by Ken Tyler).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000140 - Update nano.1 and nano.1.html to show that nano now does an
141 emergency save on receiving SIGHUP or SIGTERM. (DLR)
142 - Don't include "nowrap" in the long options if
143 DISABLE_WRAPPING is defined. (DLR)
144- files.c:
145 read_file()
146 - Minor efficiency fixes, some of which fit in with the change
147 to ngettext() usage mentioned above. (David Benbennick)
148 do_browser()
149 - Make sure the value of path is mallocstrcpy()ed into retval
150 and not just assigned to it, to avoid memory corruption
151 problems. (DLR)
152- nano.c:
Chris Allegretta2a15c582002-10-25 01:51:13 +0000153 version()
154 - If ENABLE_NLS isn't defined, display "--disable-nls"
155 (suggested by Ken Tyler). (DLR)
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000156 justify_format()
157 - Make sure the double space maintained after sentence-ending
158 punctuation is done when that punctuation is immediately
159 followed by a bracket-type character, so justifying e.g.
160 sentences in parentheses works properly. (David Benbennick)
161 handle_hup()
162 - Renamed handle_hupterm() to show that it now handles SIGTERM
163 as well as SIGHUP. (DLR)
164 signal_init()
165 - Do an emergency save on receiving either SIGHUP or SIGTERM,
166 not just SIGHUP. (David Benbennick)
167 main()
168 - Fix a problem where control key commands were printed
169 literally instead of interpreted after a failed search of a
170 one-line file. (David Benbennick)
171- proto.h:
172 handle_hup()
173 - Renamed handle_hupterm(); see above for why. (DLR)
174- winio.c:
175 edit_add()
176 - Fix a potential infinite loop occurring with certain
177 zero-length regexes. (David Benbennick)
Chris Allegretta71fb1f52002-10-02 00:21:31 +0000178
Chris Allegretta136a38a2002-10-02 00:05:40 +0000179GNU nano 1.1.11 - 10/01/2002
Jordi Mallach25daa052002-07-29 00:16:38 +0000180- General:
181 - Translation updates (see po/ChangeLog for details).
Jordi Mallach1f1022f2002-08-21 18:19:53 +0000182 - Upgraded to gettext 0.11.5 (Jordi).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000183 - Updated nano.1, nano.1.html, and nano.texi to fix an
184 inaccuracy in the description of -Q/--quotestr. (DLR)
185 - Set REG_EXTENDED in all regcomp() calls. (DLR)
186 - Minor cosmetic code cleanups. (DLR)
Chris Allegrettaf7c68112002-09-03 22:58:40 +0000187 - Changed do_insertfile to (a) report multibuffer status at the
188 prompt and allowing it to be toggled, taking into account the
189 need to keep the translatable strings, and (b) added a
190 variable inspath to keep track of what the string was before
191 toggling. I'm sure there's bugs, have at it.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000192 - Make sure all functions have prototypes in proto.h, and swap
193 some functions around to put similar functions closer
194 together (for this, rename clear_bottombars() to
195 blank_bottombars()). (DLR; suggested by David Benbennick)
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000196 - More changes of char *'s to const char *'s when possible.
197 (David Benbennick)
198 - Fix various minor memory leaks in files.c. (David Benbennick)
199 - Fix minor problems with the operating directory code: set the
200 operating directory properly if it's specified only in a
201 nanorc file, and handle an operating directory of "/"
202 properly. New function init_operating_dir() to handle
203 setting it both on the command line and in the nanorc file.
204 (David Benbennick)
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +0000205 - Major rewrite of color and screen update routines to fix
206 minor bugs and increase efficiency. New function
207 set_colorpairs() for the former. (David Benbennick)
Jordi Mallachcb7c8d82002-07-27 02:49:46 +0000208- configure.ac:
209 - Added pt_BR to ALL_LINGUAS (Jordi).
Chris Allegretta82559b32002-08-22 01:12:41 +0000210 - Changed --enable-color warning to be slightly less severe.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000211 - Put the configure options in more or less alphabetical order,
212 and remove --enable-undo, since it doesn't do anything. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +0000213- files.c:
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000214 open_file()
215 - String change: "File "x" is a directory" -> ""x" is a
216 directory". (Jordi)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000217 do_insertfile()
218 - Disallow multibuffer toggling at the "Insert File" prompt if
219 we're in both view and multibuffer mode, so as to keep proper
220 integration between the two, and make sure the toggle
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000221 actually works all the time otherwise. Also, make sure
222 TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and
223 ENABLE_MULTIBUFFER are both defined. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000224 open_prevfile_void(), open_nextfile_void()
225 - Return the return values of open_prevfile() and
226 open_nextfile(), respectively, instead of (incorrectly)
227 calling them and returning 0. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +0000228 real_dir_from_tilde()
229 - Rework to use getpwent() exclusively and end reliance on
230 $HOME. Adapted from equivalent code in do_rcfile(). (DLR)
231 input_tab()
232 - Most likely fixed the check marked with FIXME, so that tab
233 completion works properly when we're trying to tab-complete a
234 username and the string already contains data. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000235- global.c:
236 shortcut_init()
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000237 - Disable the new multibuffer toggle at the file insertion
238 prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both
239 defined. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000240 thanks_for_all_the_fish()
241 - Make sure the reference to help_text is #ifdefed out when
242 --disable-help is used. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000243- move.c:
244 page_up()
245 - Fix bug where current is moved up two lines when the up arrow
246 is pressed on the top line of the edit window; this causes a
247 segfault is the top line in the edit window is the second
248 line of the file, as the line current ends up on doesn't
David Lawrence Ramsey768e8f02002-08-22 04:03:45 +0000249 exist. (Jeff DeFouw)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000250 do_down()
251 - Fix bug where, if the last line in the edit window is the
252 line before the magicline, and smooth scrolling is turned
253 off, pressing the down arrow on that last line centers the
254 cursor without updating the edit window. (Jeff DeFouw)
Chris Allegrettad865da12002-07-29 23:46:38 +0000255- nano.c:
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000256 version()
257 - Put the listed configure options in more or less alphabetical
258 order. (DLR)
259 open_pipe()
260 - If we're in view mode here (in which case we're also in
261 multibuffer mode), don't set the modification flag. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +0000262 do_next_word(), do_prev_word()
263 - If we're on the last/first line of the file, don't center the
264 screen; Pico doesn't in the former case. (DLR)
265 do_backspace()
266 - Rework to call edit_refresh() regardless of the value of
267 current_x if ENABLE_COLOR is defined, so that multiple-line
268 color regexes are properly updated onscreen as they are in
269 do_delete(). (DLR)
270 do_delete()
271 - Rework to only call edit_refresh() unconditionally if
272 ENABLE_COLOR is defined; if it isn't, and we're not deleting
273 the end of the line, only call update_line(). (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000274 do_wrap()
275 - Make sure wrapping is done properly when the number of
276 characters on the line is exactly one over the limit. (David
277 Benbennick)
Chris Allegretta0ae5c722002-09-19 23:20:26 +0000278 - Restore the previous wrapping point behavior (pre 1.1.10)
Chris Allegretta43000922002-09-21 15:41:33 +0000279 (David Benbennick). Minor fix by DLR to prevent spaces from
280 being added to the ends of lines ending in spaces or lines
281 ending in tabs (the latter case found by David Benbennick).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000282 do_alt_speller()
283 - Readd DLR's fix to preserve marking when using the alternate
284 spell checker; it was accidentally dropped. (David
285 Benbennick)
286 do_justify()
287 - Fix cosmetic problems caused when justifying on the
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000288 magicline, and a minor problem where the cursor would
289 sometimes be moved to the wrong line after justification.
290 (David Benbennick)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000291 main()
292 - When searching through the main shortcut list looking for a
293 shortcut key, stop searching after finding one; this avoids a
294 rare segfault. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000295- nano.h:
296 - Change search toggles for case sensitive searching and regexp
297 searching to M-C and M-R, respectively. (DLR; suggested by
298 Chris)
Chris Allegretta515ba322002-09-14 21:16:40 +0000299 - Add support for HP-UX's curses, which doesn't seem to support
300 KEY_HOME and KEY_END.
Chris Allegretta79cdfdc2002-08-22 02:58:55 +0000301- nanorc.sample:
302 - Fix the c-file regex for all caps words to be extended regex
303 format ({} instead of \{\}) (found by DLR).
Chris Allegretta3f9c3bf2002-09-18 00:00:12 +0000304 - Add a better string matching sequence that includes escaped
305 quotes (thanks to Carl E. Lindberg, who doesn't even know he
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +0000306 helped ;-). Some unneeded \'s in that sequence removed, and
307 a new sequence to handle multi-line quotes added, by David
308 Benbennick.
Chris Allegretta136a38a2002-10-02 00:05:40 +0000309 - Add some examples for HTML and TeX files (David Benbennick).
Chris Allegrettade852622002-09-18 00:28:57 +0000310- rcfile.c:
311 parse_colors()
312 - Stop infinite loop when syntax doesn't begin with " char.
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000313- utils.c:
314 charalloc()
315 - Switch from using calloc() to using malloc(). (David
316 Benbennick)
David Lawrence Ramsey605165e2002-09-11 01:48:14 +0000317- faq.html:
318 - Typo fix. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000319- AUTHORS:
320 - Add David Benbennick. (Jordi and Chris)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000321- TODO:
322 - Add entry in the 1.4 section for Pico's paragraph searching
323 ability (at the search prompt, ^W goes to the paragraph's
324 beginning, and ^O goes to the paragraph's end). (DLR)
Chris Allegretta52069c62002-07-25 22:27:50 +0000325
Chris Allegretta720a9e02002-07-25 22:26:33 +0000326GNU nano 1.1.10 - 07/25/2002
Jordi Mallachcb7c8d82002-07-27 02:49:46 +0000327- General:
Jordi Mallach1f226872002-05-13 15:05:38 +0000328 - Translation updates (see po/ChangeLog for details).
Jordi Mallach790d3622002-06-03 12:44:05 +0000329 - Upgraded to gettext 0.11.2 (Jordi).
Jordi Mallachbd338652002-06-03 12:32:28 +0000330 Removed intl/ entirely, and a few more tweaks by gettextize.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000331 - i18nized a few strings used in DEBUG mode. (DLR)
332 - Some chars being assigned 0 are now assigned '\0'. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000333 - Put header file #includes in a more consistent order. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000334 - Remove some unneeded blank lines and spaces, and make some
335 spacing more consistent. (DLR)
336 - When possible, use iscntrl() to determine whether a character
337 is a control character or not. (DLR)
338 - Miscellaneous typo fixes. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000339 - Many fixes to the help browser and shortcut lists: efficiency
340 updates, consistency fixes, help text fixes and improvements,
341 and spacing improvements. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000342 - Make some functions use const variables when possible, and
343 also make them static when necessary. (David Benbennick,
344 necessary redefined by Chris ;-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000345 - Add Carl Drinkwater's backup file option (-B or --backup on the
346 command line, M-B in nano's global shortcuts). If the original
347 file is unchanged from when it was loaded, it is backed up to
348 filename~; if the original file has been changed or deleted
349 since it was originally loaded, it isn't backed up. The backup
350 file retains the permissions, owner/group, and
351 access/modification times of the original file. This option is
352 disabled when --enable-tiny is used. It will not back up
353 temporary files. Minor fixes to it by David Benbennick and
354 DLR. Changes to open_file(), add_open_file(),
355 load_open_file(), write_file(), and do_writeout().
356 - Add \n's to the ends of "filename is %s" debugging strings.
357 (Carl Drinkwater)
358 - Add the long option --quotestr as an alternative for -Q, and
359 --regexp as an alternative for -R; they were listed in nano's
360 usage information, but weren't actually in nano. Also, display
361 "-?" as an alternative for "-h" in nano's usage information,
Chris Allegretta6df90f52002-07-19 01:08:59 +0000362 put the command line options in a more consistent (i.e. mostly
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000363 alphabetical) order in nano, put the long options in a more
364 consistent order in rcfile.c and nanorc.sample, don't include
365 rcfile options if their equivalent command line options are
366 disabled, and remove obsolete relative option from
367 nanorc.sample. (DLR)
368 - Change "File Name to Append/Prepend" to "File Name to
369 Append/Prepend to". The original prompt could confusingly
370 imply that we are appending/prepending another file to the
371 current file, when we are actually appending/prepending the
372 current file to another file. (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000373 - Put nano.1, nano.1.html, and nano.texi up to date, and fix a
374 few inconsistencies in them. (DLR)
375 - Typo fixes for the ChangeLog. (David Benbennick and DLR)
376 - Complete rewrite of justification code to fix some bugs and
377 improve its functionality. (David Benbennick)
378 - If a variable isn't going to be used in tiny mode, #define it
379 out when possible. (David Benbennick)
380 - Major reworking of the cutting/screen-updating code in cut.c,
381 some functions in utils.c, the cursor placement code in
382 winio.c, and many, many other areas to increase efficiency.
383 (David Benbennick)
384 - Rework handling of prompts when there's a list of partial
385 filename matches on the screen: remove kludgy case-by-case
386 handling (which didn't even handle every case), and have
387 statusq() handle it directly for all cases. (David Benbennick
388 and DLR)
389 - Fix some warnings and errors that show up when using gcc's
390 -pedantic option. (DLR)
391 - Add a comment to nanorc.sample warning that an out-of-range
392 negative value for fill can make nano die complaining that
393 the screen is too small (which may not be immediately
Chris Allegrettad865da12002-07-29 23:46:38 +0000394 obvious). (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000395 - There were some opendir() calls in files.c without
396 corresponding closedir() calls; add them. (DLR)
397 - Move align() and null_at() from nano.c to utils.c, and move
398 the openfilestruct handling functions from nano.c to files.c.
399 (DLR)
400 - In color.c, start the "#ifdef ENABLE_COLOR" block after
401 including all the header files, as rcfile.c does; this fixes
402 a warning about ANSI C'S inability to handle blank files.
403 (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +0000404 - Add new function is_cntrl_char() as a wrapper for iscntrl();
405 this is needed to treat ASCII 0x80-0x9f as control characters
406 consistently. (Without this, they will only be treated as
407 such when gettext is used; when it isn't used, they will be
408 printed as-is and be interpreted as commands by xterm, which
409 will corrupt the display.) (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000410 - Add command line option -I/--ignorercfiles to ignore
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000411 $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater). Fix to
412 parsing getopt args (DLR).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000413 - Fix minor bugs with importing certain text files in Mac
414 format. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000415- files.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +0000416 append_slash_if_dir(), input_tab()
417 - Changed variable names: lastWasTab -> lastwastab, matchBuf ->
418 matchbuf. (DLR)
419 check_operating_dir()
420 - Memory leak fix. (David Benbennick)
421 check_writable_directory()
422 - Optimizations (David Benbennick).
423 cwd_tab_completion()
424 - Changed a variable name: dirName -> dirname. (DLR)
425 do_browser()
426 - Optimizations and mouse selection fixes (David Benbennick).
427 do_writeout()
428 - Fix problem with formatstr's being defined as NULL when
429 --enable-tiny is used. Since formatstr isn't ever used in tiny
430 mode, don't bother even creating the variable. (David
431 Benbennick and DLR)
432 do_insertfile()
433 - Memory leak fix (accidentally dropped 1st time).
434 (David Benbennick).
435 get_full_path()
436 - Memory leak fix. Also, make it properly interpret ~/ notation
437 so, among other things, the option "--operatingdir ~" works.
438 (David Benbennick)
439 - More optimizations (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000440 new_file()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000441 - Make sure current_x is zero; this fixes a problem where the
442 current cursor position wasn't reset when reading in a file in
443 multibuffer mode. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000444 - Use make_new_node rather than setting up fileage by hand
445 (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000446 read_file(), read_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000447 - Rework to properly handle nulls in the input file, fix
448 detection of binary files to properly mark a file as binary if
449 the only binary characters it contains are ASCII 127's, and
450 after reading the last line of a file that doesn't end in a
451 newline, increment totsize. Remove previous kludge to set
452 totsize properly. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000453 write_file()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000454 - Rework to properly handle nulls in the input file. When
455 appending/prepending, don't change the current file's name to
456 the name of the file it's being appended/prepended to. When
457 writing a marked selection to a file, save and restore totsize
458 so it isn't decreased by the size of the selection afterward.
459 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000460 - Optimizations (David Benbennick).
Chris Allegretta6fe98d72002-05-16 23:30:14 +0000461- global.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000462 free_toggles()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000463 - Only include if we're not using tiny mode. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000464 toggle_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000465 - Remove global entries for search toggles, as they aren't really
466 global. (DLR)
467 - Don't reinititialize the toggles if they've already been
468 initialized; it's unnecessary and even causes a segfault in
469 do_toggle() if Pico emulation mode is the toggle in question.
470 Don't free the toggles here, either; it's unnecessary after the
471 above change. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000472 - If wrapping is disabled, don't include the toggle for it.
473 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000474 shortcut_init()
Chris Allegretta6fe98d72002-05-16 23:30:14 +0000475 - Rework IFHELP macro (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000476- move.c
477 page_down(), page_up()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000478 - Put sanity checks for current_x back in, to avoid rare
479 segfaults (oops). Now, however, they are only called when
480 placewewant is zero instead of being called unconditionally;
481 see changes to winio.c:actual_x_from_start() below. (DLR)
Jordi Mallach790d3622002-06-03 12:44:05 +0000482- nanorc.sample:
Chris Allegretta5c6379d2002-05-18 03:13:03 +0000483 - Put in much less crappy example regex rules for c-file.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000484- nano.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +0000485 clear_filename()
486 - Remove this function, as it has unneeded functionality, is
487 short enough to be inlined, and is only called in two spots
488 anyway. (DLR)
489 die()
490 - Rework slightly to remove redundant printing of last message
491 and print all messages after resetting the terminal. (DLR)
492 do_backspace()
493 - Make sure placewewant is set properly, and that the mark is
494 moved backwards. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000495 do_char()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000496 - Fix a problem where, if ENABLE_COLOR wasn't used, typing
497 characters on a marked line before the beginning of the mark
498 would make the highlight short by one. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000499 do_cont()
500 - Handle the case where the window was resized while we were
501 stopped. (David Benbennick)
502 do_delete()
503 - Make sure placewewant is set properly, to match Pico's
504 behavior. (DLR)
505 do_int_spell(), do_alt_spell()
506 - Rework to save the marked selection before doing spell checking
507 and restore it afterward. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000508 do_next_word(), do_prev_word()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000509 - Fix a problem where highlighting isn't done properly after
510 calling either of these, and another problem where the cursor
511 would move back too far in certain cases with do_prev_word().
512 (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000513 do_toggle()
514 - Since the search mode toggles aren't global anymore, we don't
515 need to explicitly block them here anymore (which will end up
516 blocking the global backup mode toggle, which is the same as
517 the backwards search toggle). (DLR)
518 do_wrap()
519 - fill fixes and 'two short word wrap' bug (David Benbennick).
520 global_init()
521 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000522 handle_sigwinch()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000523 - Make sure we adjust fill when the window is resized. (David
524 Benbennick)
525 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000526 help_init()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000527 - Since the return value of snprintf() isn't well defined, use
528 sprintf() instead. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000529 main()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000530 - Rework to blank out filename manually before doing anything
531 with it, instead of calling clear_filename() in two places.
532 Make startline an int instead of a long, since it's supposed to
533 hold a line number. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000534 - Properly handle multiple -r settings on the command line. (Carl
535 Drinkwater)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000536 - Fix a bug that prevented file insertion via the Insert key
537 from working at all when --enable-multibuffer wasn't used
538 (oops). (DLR)
539 - Adapt David Benbennick's fix to get fill to accept negative
540 numbers properly in parse_rcfile() (see below) to the
541 handlers for the -r and -T options as well, so that -r/-T 0
542 can be treated separately from -r/-T string. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +0000543 - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space.
544 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000545 usage()
546 - List the options that are ignored for the purpose of Pico
547 compatibility, and make some minor consistency fixes. (DLR)
Chris Allegrettac46337b2002-07-23 00:34:48 +0000548- nano.h:
549 - Fix some space/tab formatting for flags (DLR).
Chris Allegretta6df90f52002-07-19 01:08:59 +0000550- proto.h:
551 - Remove external declaration of the global int fill, since
552 it's now static. (DLR)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000553- rcfile.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000554 parse_rcfile()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000555 - Add David Benbennick's fix that allows fill to accept
556 negative numbers properly. Specifically, use strtol() there
557 instead of atoi() so that errors can be detected. Also
558 adapted for tabsize by DLR.
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000559 parse_next_regex(), colortoint()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000560 - Only include if ENABLE_COLOR is defined. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000561- search.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000562 search_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000563 - Since the search mode toggles aren't global anymore, rework the
564 part of this function referencing them so that they still work.
565 (DLR)
566 - Remove unneeded toggles variable. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000567 - Fix a problem where the first character of buf was overwritten
568 if the last search string was one third the number of columns
569 plus one. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000570 findnextstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000571 - Update the current line at current_x if we don't find a match.
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000572 Also, pass current_x_find to strstrwrapper() so we know whether
573 we're at the beginning of a string or not (see changes to
574 strstrwrapper() below), and reset it between lines. (DLR)
575 do_gotoline():
576 - Make sure placewewant is zero after we go to a line. (David
577 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000578 do_gotopos()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000579 - Simplify the sanity check to only put x within the range of the
580 current line; don't call actual_x() anymore. (DLR)
581- utils.c:
582 - Add sunder() and unsunder(). These functions convert nulls
583 other than the terminating null in strings to newlines and
584 back; they're used to handle null characters in files properly.
585 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000586 lowercase()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000587 - Remove, since it isn't actually used anywhere. (David
588 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000589 strstrwrapper()
590 - Set REG_NOTBOL when we're not at the beginning of a
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000591 string, to avoid false positives when searching for regular
592 expressions prefixed with ^. Make it take a new parameter,
593 line_pos, to determine where we are in the string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000594 check_wildcard_match()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000595 - Changed variable names: retryPat -> retrypat, retryText ->
596 retrytext. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000597- winio.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000598 actual_x_from_start()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000599 - Overhaul to make cursor placement more like that of Pico: add
600 sanity check for i, and then place i as close to the value of
601 xplus column as possible. This change is most noticeable when
602 moving down through binary files. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000603 do_credits()
604 - Fix for the i18ned credits so it will compile with -pedantic
605 (DLR & Chris).
Chris Allegretta079b5492002-09-19 23:54:53 +0000606 do_help()
607 - Add support for the handled keyboard escape sequences in the
608 help menu, as they are needed with some terminals (e.g. xterm
609 with TERM=ansi). (DLR)
610 edit_refresh()
611 - Turn on leaveok() so the cursor doesn't bounce around the
612 screen while we're updating it (most noticeable when using
613 color syntax over a very slow connection).
614 do_replace_highlight()
615 - When using regexps, make sure the highlight is the length of
616 the search result and not the regexp string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000617 nanogetstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000618 - After the user presses Enter at the prompt, refresh the edit
619 window in case there's a list of possible filename matches
620 (left over from attempted tab completion) on it. (DLR)
Chris Allegretta079b5492002-09-19 23:54:53 +0000621 statusbar()
622 - Limit statusbar display to the number of columns less four, and
623 don't allow it to go over its original row. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000624 titlebar()
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000625 - Tweak text spacing and printing so that the titlebar text looks
626 better on smaller terminals. (Carl Drinkwater)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000627 update_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000628 - When marking control characters, make sure the mark moves
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000629 forward by two characters instead of one. Rework control
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000630 character display routine to display newlines within the line
631 (which should never occur under normal circumstances; they will
632 only be there if the line had nulls in it and was unsunder()ed
633 beforehand) as ^@'s. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +0000634 - Fix to properly treat ASCII 128-159 as control characters.
635 (DLR)
Jordi Mallach7d401342002-07-05 23:46:31 +0000636- configure.ac:
637 - Added ms to ALL_LINGUAS (Jordi).
638 - Merged acconfig.h in (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +0000639 - Fixed so that --enable-debug defines DEBUG and undefines
640 NDEBUG. (Carl Drinkwater)
Jordi Mallach790d3622002-06-03 12:44:05 +0000641- THANKS:
642 - Completed a bit (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +0000643 - Fixed David Benbennick's email address. (David Benbennick)
644 - Typo fix. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000645
Chris Allegretta8b75a782002-05-13 00:09:30 +0000646GNU nano 1.1.9 - 05/12/2002
Chris Allegretta7162e3d2002-04-06 05:02:14 +0000647- General:
648 - Typos n misspellings all over the place (David Benbennick).
649 - Allow --tiny and --multibuffer to cooperate (who the heck
650 would want this is beyond me but ;-). Changes to
651 configure.ac, global.c, , (David Benbennick).
Chris Allegrettaf2387fb2002-04-10 02:31:20 +0000652 - Change to openfilestruct for multibuffer mode by DLR.
653 New functions nano.c:make_new_opennode(), free_openfilestruct(),
654 delete_opennode(), unlink_opennode(), splice_opennode(),
655 new struct openfilestruct in nano.h.
Chris Allegretta0e9b7aa2002-04-16 03:15:47 +0000656 - Preliminary prepend code. This may be a bad idea, but I've
657 been wanting it for awhile now and we'll see how bad it messes
658 everything up. Changes to files.c:do_writeout(), write_file().
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000659 Fixes for O_CREAT & append compatibility by David Benbennick.
Chris Allegretta0547eb32002-04-22 23:52:34 +0000660 - Change from read() and write() to file streams by Jay Carlson.
661 Allows OS to implement read and write ahead rather than making
662 us do it. Hopefully merged properly.
Chris Allegrettadab017e2002-04-23 10:56:06 +0000663 - More cleanups with DISABLE flags, better free_shortcutage and
664 free_toggle, and get rid of unnecessary variable decls with
665 NANO_SMALL in shortcut_init() by David Benbennick.
Chris Allegrettab6c5dc22002-05-04 03:47:33 +0000666 - Added "syntax" command to .nanorc file, to allow multiple
667 syntaxes. New function color.c:update_color(), calls in various
668 files.c places, syntaxtype struct, global variables syntaxes,
Chris Allegretta21c433d2002-05-04 04:24:29 +0000669 syntaxfile_regexp and synfilematches. Global flag -Y ,--syntax
Chris Allegretta09900ff2002-05-04 04:23:30 +0000670 to specify the type on the command line, if there's no good
671 filename regex to use. Global variable syntaxstr.
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000672 - Changed many strcmp()s and strcpy()s to their equivalent
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000673 '\0' counterparts (David Lawrence Ramsey).
674 - Many changes to allow marked cutting to work with multiple
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000675 file buffers: changes to openfilestruct type in nano.h and
676 files.c (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +0000677 - Changed NANO_SMALL to ENABLE_NLS for gettext disabling
678 (David Benbennick).
679 - Move next_key and pev_key definitions out of main() and into
680 global.c where they belong (David Benbennick).
Chris Allegretta5e76fe92002-05-12 20:54:16 +0000681- color.c:
682 update_color()
683 - Add regfree call here to avoid memory leaks.
Chris Allegretta7162e3d2002-04-06 05:02:14 +0000684- configure.ac:
685 - Define NDEBUG to silence asserts (David Benbennick).
686- files.c:
687 get_next_filename()
688 - Optimizations (David Benbennick).
689- global.c:
690 shortcut_init()
691 - Add missing free_shortcutage()s (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +0000692 thanks_for_all_the_fish()
693 - Only defined when using DEBUG, makes sense (David Benbennick).
Chris Allegretta7162e3d2002-04-06 05:02:14 +0000694- nano.c:
695 die_save_file()
696 - Add missing free (David Benbennick).
697 do_justify()
698 - Optimizations (David Benbennick).
699 do_wrap()
700 - Complete rewrite (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +0000701 help_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000702 - A little less readable, a lot shorter :-) (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +0000703 - Fix Meta-A not getting capitalized, and convert the ASCII
704 #s to their character equivalent.
Chris Allegretta7c27be42002-05-05 23:03:54 +0000705 main()
706 - Changed charalloc(), strcpy()s to mallocstrcpy()s.
Chris Allegretta66f373f2002-04-05 23:33:09 +0000707- nano.h:
708 - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol)
709 (David Benbennick).
Chris Allegretta8902eba2002-03-30 18:02:54 +0000710- nano.spec.in:
711 - Don't put Chris' name as the Packager in the distribution
712 by default (Im an idiot).
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000713 - Fixed Source line (David Lawrence Ramsey).
Jordi Mallach42c64052002-04-30 02:33:14 +0000714- nano.1:
715 - Changed references to Debian GNU/Linux to Debian GNU (Jordi).
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000716- nano.1.html:
717 - Updated for -Y option (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +0000718- rcfile.c:
Chris Allegretta7c27be42002-05-05 23:03:54 +0000719 - Made some rc file errors less fatal.
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000720 - Added in my patch for getpwent instead of relying on $HOME
721 (David Lawrence Ramsey).
Chris Allegretta7c27be42002-05-05 23:03:54 +0000722- winio.c:
723 edit_add()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000724 - Changed some syntax highlight computations for the sake of COLS.
Chris Allegretta3674c1d2002-05-12 20:43:49 +0000725 - Add in the necessary regfree() calls to stop nano from leaking
726 memory like a sieve when using color syntax highlighting :-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000727 bottombars(), onekey()
Chris Allegretta6232d662002-05-12 19:52:15 +0000728 - Cleanups (David Benbennick).
Jordi Mallach0ab011f2002-04-05 11:25:00 +0000729- po/gl.po:
730 - Galician translation updates (Jacobo Tarrio).
731- po/de.po:
732 - German translation updates (Michael Piefel).
733- po/fr.po:
734 - French translation updates (Jean-Philippe Guérard).
735- po/ca.po, po/es.po:
736 - Catalan and Spanish translation updates (Jordi).
Jordi Mallachb18bc692002-04-10 16:26:17 +0000737- po/sv.po:
738 - Swedish translation updates (Christian Rose).
Jordi Mallachd301e102002-04-13 14:46:26 +0000739- po/nl.po:
740 - Dutch translation updates (Guus Sliepen).
Jordi Mallach7f80e662002-04-13 16:31:03 +0000741- po/it.po:
742 - Italian translation updates (Marco Colombo).
Jordi Mallach0417a7b2002-04-19 21:59:35 +0000743- po/ru.po, po/uk.po:
744 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach934b76b2002-04-25 22:24:48 +0000745- po/id.po:
746 - Indonesian translation updates (Tedi Heriyanto).
Jordi Mallachca76fa92002-05-05 15:04:26 +0000747- po/sv.po:
748 - Swedish translation updates (Christian Rose).
Chris Allegretta06d62372002-03-30 16:51:38 +0000749GNU nano 1.1.8 - 03/30/2002
Chris Allegrettabef12972002-03-06 03:30:40 +0000750- General
751 - Type misalignments and mem leaks in renumber_all, do_justify
752 and do_spell (Rocco & Steven Kneizys).
Chris Allegrettabb88ece2002-03-25 13:40:39 +0000753 - New "External Command" code, originally by Dwayne Rightler,
Chris Allegretta77777d42002-03-29 16:31:29 +0000754 various fixes and changes by Chris, Rocco and David Benbennick.
755 New function nano.c:open_pipe() and signal handler cancel_fork(),
756 changes to do_insertfile(), new list extcmd_list, cmd is
757 ^X after ^R.
Chris Allegretta3533a342002-03-24 23:19:32 +0000758 - Added separate regex variable (color_regex and colormatches)
759 so that color syntax and regex search/replace can coexist.
Chris Allegretta06d62372002-03-30 16:51:38 +0000760 - Added new nano.spec file from Brett <brett@bad-sports.com>,
761 added because maintaining the spec file is getting to be a large
762 hassle ;)
Chris Allegretta564535a2002-03-06 15:32:17 +0000763- files.c:
764 check_writable_directory()
765 - Stat full_path, not path (Steven Kneizys).
Chris Allegretta2598c662002-03-28 01:59:34 +0000766 open_pipe()
767 - I18nize the pipe error (DLR).
Chris Allegrettae3739092002-03-29 15:06:05 +0000768 do_insertfile()
769 - Handle cancel from ExtCmd properly (David Benbennick).
Chris Allegretta52c5a6e2002-03-21 05:07:28 +0000770 read_file()
771 - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
Chris Allegrettaf6cba642002-03-26 13:05:54 +0000772 - Reverse tests to stop segfault on editing a new file of 0
773 lines (David Benbennick)
774 - Change input var to one char instead of array (David Benbennick).
Chris Allegretta2598c662002-03-28 01:59:34 +0000775 - Move NO_CONVERT check up so chars get read in properly (DLR).
Chris Allegretta40ecbad2002-03-06 15:27:44 +0000776- nano.c:
Chris Allegrettacf1d8122002-03-21 19:53:36 +0000777 do_justify()
778 - More fixes for indented justify (David Benbennick).
Chris Allegrettaf21f3fc2002-03-25 03:26:27 +0000779 do_int_speller()
780 - Fix zombie processes and spelling buffer issues (Rocco Corsi).
Chris Allegretta5902f962002-03-07 12:40:39 +0000781 help_init()
782 - Capitalize Meta altkeys.
Chris Allegrettab479c892002-03-09 20:03:10 +0000783 - Various fixes and string changes.
Chris Allegretta40ecbad2002-03-06 15:27:44 +0000784 main()
785 - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
Chris Allegretta97e6fe62002-03-09 17:38:47 +0000786 usage()
Chris Allegretta3fc5d572002-03-09 18:51:58 +0000787 - Rewritten to encompass systems with and without GETOPT_LONG.
788 New function print1opt does most of the dirty work, stops
789 duplication of effort and eases translator's jobs. Also
790 breaks all the current translations ;-)
Chris Allegretta45329a12002-03-10 01:22:21 +0000791- proto.h:
792 - Missing externs (Rocco).
Chris Allegretta1596d382002-03-07 00:46:17 +0000793- rcfile.c:
Chris Allegretta78f0fc62002-03-29 19:41:57 +0000794 do_rcfile()
795 - Reset lineno between system and local .nanorc file.
796 - Fix errno->strerror(errno) mismatch.
Chris Allegrettae8e10342002-03-07 00:47:22 +0000797 parse_rcfile()
798 - Don't use i for both for loop and atoi(), fixes lots of
Jordi Mallach4951c662002-03-07 14:12:53 +0000799 potential crashes, 1st reported by Jean-Philippe Guérard.
Chris Allegretta78f0fc62002-03-29 19:41:57 +0000800 rcfile_error()
801 - Don't print out the file name if we haven't opened the file
802 yet (lineno == 0).
Chris Allegretta45329a12002-03-10 01:22:21 +0000803- search.c:
804 search_init()
805 - Fix a missing free (Rocco).
Chris Allegrettad1c2c1c2002-03-26 17:58:42 +0000806 do_gotoline()
807 - Set placewewant if we actually move to a different line.
Chris Allegretta40ecbad2002-03-06 15:27:44 +0000808- utils.c:
Chris Allegrettadce44ab2002-03-16 01:03:41 +0000809 stristr()
810 - Defined regardless of NANO_SMALL (noticed by Jordi).
Chris Allegretta77777d42002-03-29 16:31:29 +0000811 nperror()
812 - New wrapper for perror (David Benbennick).
Chris Allegrettadce44ab2002-03-16 01:03:41 +0000813- winio.c:
814 do_credits()
815 - Add Thomas Dickey.
Chris Allegrettaf3a07b22002-03-29 15:15:38 +0000816 do_cursorpos()
817 - Make col numbering start from 1 (suggested by Andrew Ho).
Chris Allegretta2598c662002-03-28 01:59:34 +0000818 update_line(), xpt()
819 - Add check for 127 (DLR).
Jordi Mallach4951c662002-03-07 14:12:53 +0000820- po/sv.po:
821 - Swedish translation updates (Christian Rose).
822- po/de.po:
823 - German translation updates (Michael Piefel).
Jordi Mallach4e803aa2002-03-09 18:05:53 +0000824- po/id.po:
825 - Indonesian translation updates (Tedi Heriyanto).
Chris Allegretta2598c662002-03-28 01:59:34 +0000826- po/it.po:
Chris Allegretta06d62372002-03-30 16:51:38 +0000827 - Serious typo.
Jordi Mallach4e803aa2002-03-09 18:05:53 +0000828- po/ca.po, po/es.po:
829 - Catalan and Spanish translation updates (Jordi).
Chris Allegretta2598c662002-03-28 01:59:34 +0000830 - Typo (DLR).
Jordi Mallach558b5d82002-03-11 13:23:33 +0000831- po/fr.po:
832 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach5477e102002-03-12 16:15:50 +0000833- po/gl.po:
834 - Galician translation updates (Jacobo Tarrio).
Jordi Mallach057c3c42002-03-14 11:00:56 +0000835- po/uk.po, po/ru.po:
836 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallachb83e61a2002-03-15 15:15:13 +0000837- po/pl.po:
838 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach7fa082d2002-03-17 00:35:41 +0000839- po/fr.po:
840 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach7afc6d92002-03-27 16:34:46 +0000841- po/it.po:
842 - Italian translation updates (Marco Colombo).
Jordi Mallach465a0ff2002-03-29 00:46:05 +0000843- po/da.po:
844 - Danish translation updates (Keld Simonsen).
Chris Allegrettabef12972002-03-06 03:30:40 +0000845
Chris Allegretta97489d22002-03-05 23:47:44 +0000846GNU nano 1.1.7 - 03/05/2002
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000847- General
848 - malloc->calloc, etc cleanups (DLR).
849 - New option, noconvert (-N, --noconvert) to completely stop
850 the translation of files from DOS or Mac format (DLR).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000851 - New functions check_writable_directory() and safe_tempnam()
Chris Allegrettabc72e362002-02-16 20:03:44 +0000852 to get around the tempnam warning. More improvements (DLR)
Chris Allegretta48b06702002-02-22 04:30:50 +0000853 Still needs testing.
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000854 - Added DOS and Mac format options to write file routine.
855 Changes to shortcut_init() and do_writeout().
856 - Removed stupid static definitions of toggles and shortcut
857 lists. Many changes to shortcut_init(), toggle_init(),
858 statusq(), nanogetstr(), main(), and many other places.
Chris Allegretta48b06702002-02-22 04:30:50 +0000859 - Multibuffer mode now allows multiple empty filenames.
860 Changes to add_open_files(), removed open_file_dup_search(),
861 open_file_dup_fix(), etc (DLR).
862 - New code to handle multiple .save files. Changes to
863 die_save_file(), new function files.c:get_next_filename()
864 and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
Chris Allegrettaf5de33a2002-02-27 04:14:16 +0000865 - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
866 new functions utils.c:free_shortcutage() (got to love that
867 name!) & free_toggles(), and big cleanup program
868 thanks_for_all_the_fish() (originally
869 thanks_for_the_memories()). Mods to shortcut_init() by Chris.
Chris Allegrettae4f940d2002-03-03 22:36:36 +0000870 - Preliminary quoting support for justify. New arg -Q, --quotestr,
871 changes to do_justify(), global variable quotestr().
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +0000872- Makefile.am:
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000873 - Add SYSCONFDIR to DEFS, so we can have an $SYSCONFDIR/nanorc.
Chris Allegretta40b85e72002-02-09 21:56:09 +0000874 - Change localedir line to 1.0's version.
Jordi Mallach3c5653d2002-02-23 18:23:43 +0000875 - Moved m4/ stuff to its own m4/Makefile.am.
Jordi Mallach87435d92002-03-05 17:58:34 +0000876- m4/aclocal_inc.m4:
877 - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for
878 macros (Gergely Nagy).
Jordi Mallach3c5653d2002-02-23 18:23:43 +0000879- configure.in:
880 - Renamed to configure.ac.
881- configure.ac:
882 - Moved to autoconf 2.52 (Jeff Bailey).
Jordi Mallach87435d92002-03-05 17:58:34 +0000883 - Added call to AM_ACLOCAL_INCLUDE.
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000884- files.c:
885 read_byte()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000886 - Added check for control characters (indicative of a binary
Chris Allegretta48b06702002-02-22 04:30:50 +0000887 file), set NO_CONVERT if found (fixes by DLR).
Chris Allegrettaf5de33a2002-02-27 04:14:16 +0000888 do_insertfile()
889 - Added support for -o in prompt (Steven Kneizys).
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000890- global.c:
891 - Move openprev and opennext functions to shortcuts, they really
892 aren't toggles (DLR).
Chris Allegrettaf27c6972002-02-12 01:57:24 +0000893- rcfile.c:
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000894 parse_next_regex()
Chris Allegretta3d8e7592002-02-02 07:13:02 +0000895 - Allow " symbol to be in regex without leading \ by checking
896 for *ptr+1 is not the end of the regex.
Chris Allegrettaff8a68c2002-02-16 20:34:57 +0000897 do_rcfile()
898 - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
Chris Allegretta48b06702002-02-22 04:30:50 +0000899- nano.1:
900 - Added Noconvert option to man page (DLR).
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000901- nano.c:
Chris Allegrettad4fa0d32002-03-05 19:55:55 +0000902 justify_format(), do_justify()
903 - Various fixes for starting blank spaces, spaces after
904 punctuation, & segfault with quoting strings (David Benbennick).
Chris Allegretta46c1b9e2002-03-05 19:58:45 +0000905 do_justify()
906 - Don't continue to justify string if it's indented more
907 (quoting wise) than the beginning of the justification.
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000908 help_init()
909 - Added message re: having multiple blank buffers (DLR).
Chris Allegretta9caa1932002-02-15 20:08:05 +0000910 main()
911 - Add 407 as equiv of 26, this seems to be sent when using
912 ^Z in linux console with keypad() enabled.
Chris Allegrettabc72e362002-02-16 20:03:44 +0000913- rcfile.c:
914 - Get rid of unneeded relativechars from rcopts (DLR).
915- search.c
916 do_replace(), findnextstr()
917 - Fixes for various search issues (Ken Tyler)
Chris Allegrettaf27c6972002-02-12 01:57:24 +0000918- winio.c:
919 do_cursorpos()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000920 - Rewritten to show col place as well as character place, without
Chris Allegrettaf27c6972002-02-12 01:57:24 +0000921 needing an entirely separate flag.
Chris Allegrettaa8c22572002-02-15 19:17:02 +0000922 bottombars(), onekey()
923 - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
Chris Allegrettabc72e362002-02-16 20:03:44 +0000924 - More cleanups w/width of shortcut.
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +0000925- utils.c:
Chris Allegretta99ed9dc2002-02-28 00:57:18 +0000926 strcasestr(),revstrcasestr()
927 - Renamed to stristr and revstristr since strcasestr has not
928 been confirmed to be detected properly on various Linux
929 systems.
Chris Allegrettad4fa0d32002-03-05 19:55:55 +0000930 strstrwrapper()
931 - NANO_SMALL test was backwards (Ken Tyler).
932- winio.c:
933 strlenpt()
934 - Changed main function to strnlenpt() for new justify changes,
935 original function now just a stub.
Chris Allegretta3c597d02002-01-26 03:42:14 +0000936- nanorc.sample
937 - Mention unset in the sample nanorc.
Jordi Mallach83ffefb2002-01-25 21:00:18 +0000938- po/ca.po, po/es.po:
939 - Catalan and Spanish translation updates (Jordi).
Jordi Mallach9c34a162002-01-26 00:46:47 +0000940- po/sv.po:
941 - Swedish translation updates (Christian Rose).
942- po/fr.po:
943 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach8636f7b2002-01-26 19:23:37 +0000944- po/nn.po:
945 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
946- po/de.po:
947 - German translation updates (Michael Piefel).
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +0000948- po/it.po:
949 - Italian translation updates (Marco Colombo).
Jordi Mallach94def062002-02-06 12:14:25 +0000950- po/cs.po:
951 - Partial Czech translation updates (Vaclav Haisman).
Jordi Mallach8bfd3112002-02-06 20:53:04 +0000952- po/hu.po:
953 - Hungarian translation updates, or to be precise, rewrite
954 (Gergely Nagy).
Jordi Mallachb3b28c12002-02-07 13:51:00 +0000955- po/uk.po, po/ru.po:
Jordi Mallach507c3612002-02-14 18:57:23 +0000956 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
957- po/da.po:
958 - Danish translation updates (Keld Simonsen).
Jordi Mallache46d43d2002-02-15 17:13:11 +0000959- po/nb.po:
960 - Norwegian bokmål translation updates (Stig E Sandoe).
Jordi Mallach62d21712002-02-20 16:21:27 +0000961- po/nl.po:
962 - Dutch translation updates (Guus Sliepen).
Jordi Mallacha3322fd2002-03-05 11:23:17 +0000963- po/pl.po:
964 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach83ffefb2002-01-25 21:00:18 +0000965
Chris Allegretta491029e2002-01-25 17:02:32 +0000966nano-1.1.6 - 01/25/2002
Chris Allegretta044d1b12002-01-08 00:33:32 +0000967- General
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000968 - Add Meta-A as alternate keystroke for ^^ for people with
Chris Allegretta044d1b12002-01-08 00:33:32 +0000969 non-US keyboards.
Chris Allegretta967a1e22002-01-10 00:50:38 +0000970 - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
971 browser.
Chris Allegretta1bc0c7e2002-01-08 15:00:24 +0000972 - Better partial word checking code. New function
973 search.c:is_whole_word(), changes to findnextstr(),
974 and nano.c:do_int_spell_fix() (Rocco Corsi).
Chris Allegretta6c1e6612002-01-19 16:52:34 +0000975 - Added multiple-line regex support. Format in .nanorc is
976 start="regex" end="regex". Cleaned up nanorc:parse_colors(),
977 added parse_next_regex(), changes to edit_add in winio.c(),
978 changes to colortype, cleaning up some old cruft.
Chris Allegretta15b23f42002-01-19 19:15:18 +0000979 - Upgrade to gettext 0.10.40, probably broke everything again :)
Chris Allegretta24e48d82002-01-23 01:06:20 +0000980 - Upgraded to and then downgraded from automake 1.5, as there
981 are severe security implications.
Chris Allegrettaea250e82002-01-16 01:09:11 +0000982- color.c:
983 do_colorinit()
984 - Moved some comments and braces around so color can work
985 w/slang (DLR).
Chris Allegrettaf478f832002-01-18 21:54:35 +0000986- global.c:
987 shorcut_init()
988 - Replace hard coded ALT_G and ALT_H values in the replace
989 and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
Jordi Mallach345a8462002-01-07 11:35:16 +0000990- nano.c:
991 usage()
992 - Remove extra \n in --keypad description (Jordi).
Chris Allegrettaf7dee922002-01-07 16:43:25 +0000993 main()
994 - Check that alt value is an alpha char before comparing to
995 val - 32, fixes Alt-R calling doprev instead of replace.
Chris Allegrettab2cd10d2002-01-20 00:54:42 +0000996 do_char()
997 - Run edit_refresh() if ENABLE_COLOR is defined so adding
998 multi-liners will update (e.g. /* in C).
Chris Allegretta23b74b22002-01-21 20:32:22 +0000999 do_int_spell_fix()
1000 - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
Chris Allegretta7b0667f2002-01-10 12:44:21 +00001001 do_suspend()
1002 - Call tcsetattr() to restore the old terminal settings, so
Chris Allegretta5bbce6a2002-01-10 12:48:16 +00001003 tcsh can use ^C after suspend for example (fixes BUG #68).
Chris Allegretta438f7132002-01-16 00:54:47 +00001004 do_wrap()
1005 - Move "right" increment to part where new line is created,
1006 should change (fix?) some wrapping problems with autoindent.
Jordi Mallach5285ca92002-01-17 12:40:33 +00001007 version()
1008 - Show --enable-multibuffer independently of --enable-extra being
1009 compiled in (Jordi).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001010- nano.h:
1011 - Changed color struct slightly, because of previous issue with
1012 applying color painting in order, the "str" portion was
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001013 useless. Renamed "val" in colortype to "start", added "end"
Chris Allegrettaf478f832002-01-18 21:54:35 +00001014 for multi-line color strings.
1015- rcfile.c:
1016 General
1017 - Took silly variables being passed everywhere like lineno and
1018 filename and made them static variables.
Chris Allegretta6c1e6612002-01-19 16:52:34 +00001019 - Re-indented.
Chris Allegretta34f80982002-01-22 20:09:20 +00001020 - Added stdarg.h to includes.
Chris Allegrettaf478f832002-01-18 21:54:35 +00001021 rcfile_error()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001022 - Now automatically prepends the "error in line blah at foo"
Chris Allegrettaf478f832002-01-18 21:54:35 +00001023 message to error messages.
1024 parse_colors()
1025 - Added section for computing "end" section.
1026 parse_next_word()
1027 - Added support for "\ ", in word parsing.
Chris Allegrettae29697d2002-01-14 03:31:10 +00001028- search.c:
Chris Allegretta1c2fddc2002-01-21 20:40:14 +00001029 do_search()
1030 - Check position of cursor and return value of findnextstr and
1031 tell user if search string only occurs once (Rocco & Chris).
Chris Allegrettae29697d2002-01-14 03:31:10 +00001032 findnextstr()
1033 - Fix off by one in check for wrap around (Rocco Corsi).
Chris Allegretta3d0739c2002-01-07 14:41:32 +00001034- winio.c:
1035 edit_refresh()
1036 - Rename lines to nlines to fix AIX breakage (reported by
1037 Dennis Cranston, re-reported by arh14@cornell.edu).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001038 edit_add()
1039 - Refuse to honor regex matches of 0 characters when applying
1040 color highlighting, and say so on the statusbar. Otherwise
1041 we go into an infinite loop, the error message should clue
1042 users into the fact that their regex is doing something bad.
Jordi Mallachd6481e42002-01-17 12:14:23 +00001043- THANKS:
1044 - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
Jordi Mallach83d5ced2002-01-17 12:06:49 +00001045 not bokmål as we claimed (Jordi).
Chris Allegretta9963b0e2002-01-19 19:35:12 +00001046- .cvsignore
1047 - Added config.guess config.sub install-sh missing & mkinstalldirs
Jordi Mallach3da91392002-01-07 11:50:13 +00001048- po/ca.po, po/es.po:
Jordi Mallache36a1522002-01-07 15:12:48 +00001049 - Catalan and Spanish translation updates (Jordi).
1050- po/sv.po:
1051 - Swedish translation update (Christian Rose).
Jordi Mallachd39698f2002-01-07 15:16:26 +00001052- po/de.po:
1053 - German translation update (Michael Piefel).
Jordi Mallachbf1a1e82002-01-08 14:07:39 +00001054- po/fr.po:
1055 - French translation update (Jean-Philippe Guérard).
1056- po/ru.po, po/uk.po:
1057 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach83d5ced2002-01-17 12:06:49 +00001058- po/no.po:
1059 - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
1060- po/nn.po:
1061 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
1062- po/nb.po:
1063 - New Norwegian bokmål translation (Stig E Sandoe <stig@ii.uib.no>).
Jordi Mallach3a23a552002-01-18 23:04:16 +00001064- po/da.po:
1065 - Danish translation update (Keld Simonsen).
Chris Allegrettad1751932002-01-05 20:01:53 +00001066
Chris Allegretta110927b2002-01-05 19:49:06 +00001067nano-1.1.5 - 01/05/2002
Chris Allegretta32da4562002-01-02 15:12:21 +00001068- General
1069 - Better integration of View mode (-v) and multibuffer.
1070 Fixes to new_file(), do_insertfile_void(), shortcut_init()
1071 (David Lawrence Ramsey).
Chris Allegretta48bd3782002-01-03 21:26:34 +00001072 - The keypad handling has changed (again). We now use
1073 the keypad() function by default. New flag -K, --keypad
1074 allows the old behavior for those using the keypad arrow keys
1075 and rxvt-based terminals.
Jordi Mallach8ae57892002-01-04 17:57:40 +00001076 - Updated copyright notices to 2002 (Jordi).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00001077- nano.c:
Chris Allegretta32da4562002-01-02 15:12:21 +00001078 die()
1079 - Only save files that were modified (David Lawrence Ramsey).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00001080 do_cont()
1081 - Run signal_init() after doupdate() so ^Y wont suddenly
1082 start suspending after returning from ^Z suspend in Hurd.
1083 signal_init()
1084 - Unconditionally disable VDSUSP if it exists, stops ^Y
1085 suspending nano on the Hurd.
Jordi Mallach11f39e72001-12-25 19:17:32 +00001086 help_init()
Chris Allegretta64dd95d2001-12-27 20:53:54 +00001087 - Typo fixes in help strings (Jordi).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001088 - New variable helplen needed cause currslen is not always
Chris Allegretta13fd44b2002-01-02 13:59:11 +00001089 the length we want (bug found by David Lawrence Ramsey).
Chris Allegretta180a5692002-01-02 14:30:33 +00001090 - Typo in file switch string (found by David Lawrence Ramsey).
1091 main()
1092 - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
Chris Allegretta32da4562002-01-02 15:12:21 +00001093 - Handle OS-specific insert keys by jump to do_insertkey (David
1094 Lawrence Ramsey).
Chris Allegretta64dd95d2001-12-27 20:53:54 +00001095- files.c:
1096 read_file()
1097 - Make conversion message less confusing (suggested by Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +00001098- rcfile.c:
1099 parse_next_word()
1100 - Get rid of ptr == \n check to abort, screws up option
1101 parsing (bug found by David Lawrence Ramsey)
Chris Allegretta52db7a22001-12-17 23:39:36 +00001102- winio.c:
1103 update_line()
Chris Allegretta3c57e502001-12-19 16:20:43 +00001104 - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
1105 high ascii characters.
Jordi Mallach9335f912001-12-23 00:03:18 +00001106 titlebar()
1107 - gettextized a pair of strings.
Chris Allegrettae5b9eac2002-01-05 01:52:02 +00001108 bottombars()
1109 - Get rid of that annoying reversed line when color is on! :)
Chris Allegretta1bf8f5e2002-01-05 03:30:10 +00001110 edit_add()
1111 - Little fixes to let color highlights not bleed onto the next line.
Chris Allegrettaa16e4e92002-01-05 18:59:54 +00001112 statusq()
1113 - Initialize "list".
Chris Allegrettacf680712001-12-18 14:59:20 +00001114- m4/gettext.m4:
1115 - Back down to 1.1.3 version.
Jordi Mallachcf9f7832001-12-26 12:33:01 +00001116- faq.html:
1117 - Various link updates and other fixes (Aaron S. Hawley).
1118 - Typo fixes (David Lawrence Ramsey).
Chris Allegrettafae0dce2002-01-04 13:30:42 +00001119- AUTHORS
1120 - Add DLR.
Jordi Mallach77b12322001-12-22 23:23:40 +00001121- po/sv.po:
1122 - Swedish translation update (Christian Rose).
Jordi Mallach3da91392002-01-07 11:50:13 +00001123- po/ru.po, po/uk.po:
Jordi Mallach32793982001-12-28 16:35:28 +00001124 - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
Jordi Mallach3da91392002-01-07 11:50:13 +00001125- po/ca.po, po/es.po:
Jordi Mallach414acab2001-12-26 00:15:16 +00001126 - Catalan and Spanish translations updates (Jordi).
Jordi Mallacha4ffccb2001-12-26 00:31:17 +00001127- po/pl.po:
1128 - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
Jordi Mallach65f3e422002-01-04 17:48:58 +00001129 - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
1130 official maintainer.
Jordi Mallach1a58fb42001-12-27 16:00:23 +00001131- po/fr.po:
1132 - French translation update (Michel Robitaille).
Jordi Mallach05d8ce92001-12-27 20:34:42 +00001133- po/gl.po:
1134 - Galician translation update (Jacobo Tarrío).
Jordi Mallach78e2c9d2001-12-27 22:06:38 +00001135- po/it.po:
1136 - Italian translation update (Marco Colombo).
Jordi Mallach32793982001-12-28 16:35:28 +00001137- po/de.po:
1138 - German translation update (Michael Piefel).
Jordi Mallach13f30172002-01-02 18:45:58 +00001139- po/fr.po:
1140 - French translation update (Jean-Philippe Guérard).
Chris Allegretta5fd6cac2001-12-12 13:55:19 +00001141
Chris Allegretta7bf25092001-12-12 02:44:40 +00001142nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +00001143- General
1144 - Preliminary syntax highlighting support. New functions
1145 colortoint() and parse_color() in rcfile.c, new code in
1146 edit_add() in winio.c to actually do the highlighting. It's
1147 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +00001148 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00001149- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +00001150 - Fixes for tab completion and screen refresh (David Lawrence
1151 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00001152 add_open_file()
1153 - Get rid of unsetting MARK_ISSET because otherwise writing
1154 marked text will automatically unset the marker with
1155 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +00001156- global.c:
1157 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +00001158 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
1159 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +00001160- nano.c:
1161 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +00001162 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +00001163 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
1164 signal_init()
1165 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
1166 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +00001167 help_init()
1168 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +00001169 do_curpos()
1170 - Now takes arg for constant updating to always show the cursor
1171 position (David Lawrence Ramsey).
1172 do_wrap()
1173 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +00001174 do_spell()
1175 - Dont prompt for replace if we don't change the word in
1176 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +00001177- po/de.po:
1178 - German translation updates (Karl Eichwalder).
1179- po/ru.po:
1180 - Russian translation updates (Sergey A. Ribalchenko).
1181- po/sv.po:
1182 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +00001183- po/da.po:
1184 - Danish translation updates (Keld Simonse).
1185- po/es.po:
1186 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +00001187- po/fr.po:
1188 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +00001189- m4/gettext.m4:
1190 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +00001191
Chris Allegrettadc57bba2001-10-26 16:14:45 +00001192nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +00001193- General
1194 - Finally wrote function-specific help mode. Changes to
1195 nano.c:help_init() and winio.c:do_help(). Changed
1196 currshortcut and currslen #ifdefs to depend on both
1197 DISABLE_HELP and DISABLE_MOUSE being defined to not
1198 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +00001199 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
1200 this was causing nasty errors if the call to nrealloc moved
1201 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +00001202 - Changed header comments to say "version 2" instead of "version
1203 1" as the COPYING file is actually version 2 of the GPL (bug
1204 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +00001205- cut.c:
1206 do_cut_text()
1207 - Check to see whether marked text is contained within edit
1208 window and if so only do an edit_refresh (variable dontupdate
1209 replaces cuttingpartialline).
1210 do_uncut_text()
1211 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +00001212- faq.html
1213 - Removed nano-editor.org FTP site address [deprecated] and added
1214 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +00001215- files.c:
1216 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +00001217 People should know that their file wasnt normally formatted.
1218 load_file()
1219 - Status message when trying to load an already loaded file with multiple
1220 buffers (David Lawrence Ramsey).
1221 read_file()
1222 - Get rid of useless linetemp variable and name num_lines int
1223 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +00001224- nano.c:
1225 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +00001226 Alt-space, as next word is hard coded as control-space. Fixed
1227 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +00001228 beginning of first line, prog should simply abort. Added
1229 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +00001230- nano.h:
1231 - Additional #define, SMALL_TOO to determine how long
1232 MAIN_LIST_LEN is. We need this because of the find matching
1233 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +00001234 main()
Chris Allegretta347c1842001-10-24 01:37:13 +00001235 - Moved #ifndef NANO_SMALL down past the case 0: line so
1236 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +00001237- rcfile.c:
1238 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +00001239- po/sv.po:
1240 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +00001241- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +00001242 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +00001243- po/es.po:
1244 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallach3da91392002-01-07 11:50:13 +00001245- po/ru.po, po/uk.po:
Jordi Mallacheb94b9e2001-10-15 14:26:48 +00001246 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +00001247
Chris Allegretta03260b42001-10-04 01:24:07 +00001248nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +00001249- General
1250 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
1251 new flag CLEAR_BACKUPSTRING because there's no easy way to
1252 clear the backupstring without making it global (messy), so we
1253 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +00001254 - --enable-tiny now leaves out the Auto Indent code, do you really
1255 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +00001256 - New flag -o, --operatingdir, similar to Pico's -o mode. New
1257 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +00001258 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +00001259 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +00001260 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +00001261 new code in read_line and write_file. New cmdline flag
1262 (-D --dos) to automatically write the file in DOS format,
1263 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +00001264 - Mac file writing supported too. Flag -M, --mac. Toggle
1265 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +00001266 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +00001267 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +00001268 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +00001269 - Bracket (brace, parens, etc) matching code by Ken Tyler.
1270 New functions do_find_bracket(), changes to findnextstr(),
1271 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +00001272 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
1273 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00001274 - Call do_gotopos from do_alt_spell() to keep position
1275 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +00001276 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +00001277 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +00001278 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +00001279 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +00001280- cut.c:
1281 cut_marked_segment()
1282 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +00001283 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +00001284 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +00001285 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +00001286- faq.html:
1287 - Notes about the Free Translation Project.
1288 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +00001289- files.c:
1290 do_writeout()
1291 - Expanded strings to not use %s and ?: to determine
1292 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00001293 new_file()
1294 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +00001295- nano.c:
1296 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +00001297 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +00001298 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00001299 - Many tweaks and changes from numerics to char equivs
1300 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00001301 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +00001302 do_mouse()
1303 - Send 27 when the menu item clicked is an alt key seq... The
1304 lines aren't lined up since the menu width changed though,
1305 this breakage depends on whether the new widths will be kept
1306 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +00001307 - Change k based on currslen to allow the new widths in
1308 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +00001309 do_wrap()
1310 - Fixes for Pico incompatibility in cases 2b and 2c.
1311 (David Lawrence Ramsey).
1312 global_init()
1313 - New arg save_cutbuffer, allows cutbuffer to not be lost when
1314 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +00001315- nano.1:
1316 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +00001317- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +00001318 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
1319 - Added many command line options, toggles and other additions
1320 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +00001321- rcfile.c:
1322 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +00001323 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +00001324 - Fix incorrect argument in fill and tabsize error message
1325 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +00001326- search.c:
1327 - Changed search prompt to "Search" followed by a list of
1328 bracketed, free-standing modifiers that do not imply a grammar,
1329 and the (to replace) string separately. Hopefully this resolves
1330 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +00001331 findnextstr()
1332 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +00001333- winio.c:
1334 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +00001335 bottombars()
1336 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00001337 nanogetstr()
1338 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00001339 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +00001340- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +00001341 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +00001342- po/ca.po, po/es.po:
1343 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +00001344- po/gl.po:
1345 - Updated Galician translation (Jacobo Tarrío).
Jordi Mallach90bbdd32001-09-12 19:06:59 +00001346- po/da.po:
1347 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +00001348- po/sv.po:
1349 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +00001350- po/it.po:
1351 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +00001352- po/fi.po:
1353 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +00001354
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00001355nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +00001356- General
1357 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
1358 - Added m4/ directory to allow rebuilding using only the internal
1359 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +00001360- nano.c:
1361 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00001362 - Change the multibuffer getopt option to 'F' (David Lawrence
1363 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +00001364 do_mark()
1365 - Temporarily disable cursorpos when enabled to be able to see
1366 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +00001367- nanorc.sample
1368 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +00001369- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +00001370 new_file()
1371 - Do add_open_files if there aren't any open yet (David Lawrence
1372 Ramsey).
1373 close_open_file()
1374 - Try to open the next file first, then the previous one
1375 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +00001376- global.c:
1377 shortcut_init()
1378 - Rewrote the whereis and replace lists to put CANCEL at the end
1379 of the list, and not include the toggle functions when using
1380 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00001381- nano.h:
1382 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +00001383 - Rewrote all the macro definitions to be a little less messy,
1384 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +00001385- rcfile.c:
1386 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +00001387- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +00001388 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00001389 search_init()
1390 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +00001391- winio.c:
1392 bottombars()
1393 - Fixed an off by one that wasn't letting lines with odd #
1394 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +00001395
Chris Allegretta9a748602001-07-15 16:07:23 +00001396nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +00001397- General
1398 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +00001399 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +00001400 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +00001401 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +00001402 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +00001403 this automatically, but now just mouse support can be disabled
1404 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001405 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +00001406 - Added rcfile.c source file. Only includes much of anything when
1407 --enable-nanorc is used. Tons of new funcs, most notably
1408 do_rcfile() called from nano.c:main(). Added much needed
1409 function ncalloc(), will have to go through source code later
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001410 and change the appropriate calls which used nmalloc for lack of
1411 an appropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +00001412 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +00001413 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +00001414 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +00001415 - Added config.guess and config.sub to distribution because,
1416 apparently, newer autoconf/automakes can't live without them.
1417 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +00001418 - Changed all string allocations to charalloc(), new function
1419 designed to take nmalloc argument but call calloc based on
1420 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +00001421 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
1422 and justify being disabled. This allows us to compile out the
1423 -r flag if neither are set, and will also allow us to comment
1424 out -W when it is written.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001425 - Allow fill to take a negative value to signify a "from right side"
Chris Allegretta6fe61492001-05-21 12:56:25 +00001426 value. This allows the value to vary with the screen size yet
1427 still be correct. New static value wrap_at to minimize code
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001428 impact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +00001429 - Allow file appending. New shortcut list nano_insertfile_list (since
1430 insert and write routines can't share shortcut lists anymore),
1431 new args to do_writeout and write_file called append, and of source
1432 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +00001433 - Allow backwards searching. Drastic rewrite of the search prompt
1434 string by Chris. All other code by Ken Tyler. New globals
1435 nano_reverse_msg, new functions revstrstr and revstrcasestr,
1436 many changes to search functions. Not too big a code size
1437 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +00001438 - Moved extension functions (Case Sensitive, Regexp, and Backwards
1439 Search, Append key in write file function) to Meta keys, as
1440 people are complaining loudly about nano not being control-key
Chris Allegretta6df90f52002-07-19 01:08:59 +00001441 compatible with Pico, which is a Bad Thing (TM). Changes to
Chris Allegretta658399a2001-06-14 02:54:22 +00001442 shortcut_init, toggle_init, new toggles for backwards and regexp
1443 (and you can now toggle all search options including regexp at
1444 the Search: prompt!) Changes to nanogetstr to enable Meta
1445 keys to be grabbed, changes to onekey to print M-style shortcuts.
1446 - New macro TOGGLE which just toggles, no more silly checking
1447 ISSET and then using SET or UNSET when we want a simple toggle
1448 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +00001449 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +00001450 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +00001451 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
1452 and write_file(), new functions add_open_file(),
1453 open_file_change_name(), load_open_file(), open_file_dup_search(),
1454 open_file_dup_fix(), open_prevfile(), open_nextfile(),
1455 close_open_file(), get_full_path(), die_save_file(), etc.
1456 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +00001457 - Using --enable-extra automatically defines --enable-multibuffer
1458 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +00001459 - Moved to gettext 0.10.38 at the last second, sure to break
1460 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +00001461- Makefile.am:
1462 - Include ABOUT-NLS and the new THANKS files to the distributed list.
1463- THANKS:
1464 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +00001465 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +00001466- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +00001467 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +00001468 initialization file and set options normally used on the command
1469 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +00001470 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +00001471 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +00001472- cut.c:
1473 add_to_cutbuffer()
1474 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +00001475 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +00001476 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
1477 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00001478 - Added 'destructive' argument. Allows the selected text to be
1479 added to the cutbuffer without changing the contents of the
1480 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +00001481 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +00001482 - If the line is empty when using -k and wasn't already added,
1483 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +00001484 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +00001485 - Moved the case of current == mark_beginbuf into cut_marked
1486 segment, so do_writeout could call it when writing selection to
1487 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +00001488 do_uncut_text()
1489 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +00001490- faq.html:
1491 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +00001492 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001493- files.c:
1494 do_browser()
1495 - Minor fixes to the processing of SELECT function (Rocco)
1496 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +00001497 - Don't shift the size of the file is it's less than 1K. Fixed
1498 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +00001499 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
1500 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00001501 do_writeout()
1502 - New code to allow writing selected text to a separate file.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001503 When this is done, the current state is preserved.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +00001504 write_file()
1505 - New arg, nonamechange, means whether or not to update the
1506 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +00001507 - Increment lineswritten when the very last line isn't null.
1508 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001509- global.c:
1510 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +00001511- move.c:
1512 page_up()
1513 - Rewritten with a loop to make screen updates work when
1514 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +00001515 do_home(), do_end()
1516 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +00001517- nano.1:
1518 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +00001519- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +00001520 do_alt_speller()
1521 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +00001522 ABCD(), main()
1523 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +00001524 main()
1525 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +00001526 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +00001527 signal_init()
1528 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
1529 SIGCONT from being interrupted, allows suspending nano
1530 to work more reliably, esp. with mutt, etc.
1531 do_suspend()
1532 - Don't try to play with the handler inside the handler. Just
1533 raise a SIGSTOP. We also now write the "use "fg"" message to
1534 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +00001535 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
1536 Eliminates the possibility that nano can be suspended when
1537 it's not supposed to be. Many many many thanks to Jordi and
1538 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +00001539 do_cont()
1540 - Now just does a refresh call instead of playing with the SIGTSTP
1541 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001542- nano.h:
1543 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
1544- proto.h:
1545 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +00001546- search.c:
1547 do_gotoline()
1548 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +00001549 do_replace()
1550 - If we manage to make it in somehow with VIEW_MODE on, abort
1551 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +00001552- utils.c
1553 strcasestr()
1554 - Replaced by mutt's mutt_stristr function, because the thought
1555 of dynamically allocating memory and copying each line in a file
1556 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +00001557- winio.c:
1558 actual_x()
1559 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +00001560- po/POTFILES.in:
1561 - Added utils.c to the list.
1562- po/es.po, po/ca.po:
1563 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +00001564- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +00001565 - Galician translation by Jacobo Tarrío.
Jordi Mallach92b3bd22001-05-16 09:10:31 +00001566- po/uk.po, po/ru.po:
1567 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +00001568 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +00001569- po/id.po:
1570 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +00001571- po/it.po
1572 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +00001573- po/no.po:
1574 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
1575- po/sv.po:
1576 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +00001577
1578nano 1.1 tree forked here 04/07/2001
1579
Chris Allegretta38068cd2001-04-06 20:04:23 +00001580nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00001581- General:
1582 - added configure option --disable-wrapping. Does what it says,
1583 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +00001584 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00001585 Affects configure, nano.c:do_char() and check_wrap() obviously,
1586 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +00001587- aclocal.m4:
1588 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +00001589- faq.html:
1590 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +00001591- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +00001592 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +00001593 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +00001594 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +00001595 - use strcasecmp to sort directory if available, pilot does that
1596 as well (Matthias Andree)
1597 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +00001598 - Changed lstat calls to stat, which fixes the browser not
1599 following links to directories. We only use lstat() when
1600 printing the details of the file, and if it is a link, then
1601 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00001602 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +00001603 do_browser()
1604 - Fix broken size suffix off-by-one errors (Matthias Andree)
1605 cwd_tab_completion(), do_browse_from()
1606 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
1607 - Changed above to use PATH_MAX only when defined on the
1608 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00001609- intl/Makefile.in:
1610 distclean
1611 - added intl/libintl.h to the rm -f rule, should fix the unresolved
1612 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +00001613
Chris Allegretta2bfbda02001-03-23 03:50:44 +00001614nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +00001615- General
1616 - Added void to functions declared as () args, nano.c:do_mark()
1617 and search.c:regexp_cleanup(). (Christian Weisgerber).
1618 - Changed internal variables called "new" to "newnode" to avoid
1619 the "new" C++ reserved word, even though there is likely no way
1620 nano will EVER be compilable with a C++ compiler. (suggested by
1621 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00001622- ca.po, es.po:
1623 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +00001624- cs.po:
1625 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00001626- nano.info:
1627 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +00001628- winio.c:
1629 statusq()
1630 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +00001631
16321.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +00001633- nano.c:
1634 do_wrap()
1635 - Added case for autoindenting text causing new line (Adam).
1636 - Added SAMELINE case to above. Added checks to cases 1b and
1637 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +00001638- move.c:
1639 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +00001640 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +00001641 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +00001642- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +00001643 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +00001644 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +00001645 search_init()
1646 - If using Pico mode and regex and same answer is entered, use
1647 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +00001648- nano.texi:
1649 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +00001650
Chris Allegrettaa4a222d2001-02-20 03:52:13 +00001651nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +00001652- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +00001653 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00001654 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +00001655 removed "Goto Line", aligned "Read File" with "Write Out" and
1656 "Replace" with "Where is" for consistency.
1657 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +00001658 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +00001659- configure.in:
1660 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +00001661 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +00001662 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +00001663- cut.c:
1664 do_cut_text()
1665 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00001666- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +00001667 do_delete()
1668 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +00001669 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +00001670 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00001671 do_justify()
1672 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +00001673 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +00001674 main()
1675 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +00001676- winio.c:
1677 do_yesno()
1678 - Added localized yes, no and all strings to function and rewrote
1679 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +00001680- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +00001681 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +00001682- fi.po:
1683 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +00001684- hu.po:
1685 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +00001686- id.po:
1687 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +00001688- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +00001689 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +00001690- ca.po:
1691 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00001692 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
1693 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +00001694
Chris Allegretta34318ed2001-01-31 23:22:36 +00001695nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +00001696General
Chris Allegrettad4ddd012001-01-23 01:17:07 +00001697 - Removed center_x and center_y globals. center_y was
1698 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +00001699 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +00001700 - Deleted free_node, duplicate of delete_node, and changed all
1701 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +00001702 - Fix for resizing the window in modes other than normal edit mode
1703 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +00001704- files.c:
1705 write_file()
1706 - Don't free() realname on error, if it needs to be free()d later
1707 it will be (fixes crash on successful write after failed write,
1708 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +00001709 username_tab_completion()
1710 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +00001711 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +00001712 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +00001713 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +00001714 - Rewritten using getpwent (suggested by Adam, much optimized by
1715 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +00001716- global.c:
1717 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +00001718- nano.c:
1719 do_justify()
1720 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +00001721 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +00001722 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +00001723 global_init(), handle_sigwinch()
1724 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +00001725 do_alt_speller()
1726 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +00001727 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +00001728- proto.h:
1729 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +00001730- winio.c:
1731 nanogetstr()
1732 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +00001733
Chris Allegretta9d6f3f32001-01-21 02:35:03 +00001734nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +00001735General
1736 - Changed #ifdefs to check for both DISABLE_TABCOMP and
1737 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +00001738 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +00001739 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +00001740 back. (Rocco)
1741 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +00001742 - Added message for when keypad goes awry. Added code in main and
1743 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +00001744 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +00001745 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +00001746 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +00001747- configure.in:
1748 - Fix for _use_keypad check breaking slang support (Christian
1749 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +00001750 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +00001751 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +00001752- faq.html:
1753 - Added some info on making the binary smaller with the configure
1754 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +00001755 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +00001756- files.c:
1757 real_dir_from_tilde()
1758 - Oops, fix case where buf ="~", silly crash (bug discovered by
1759 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +00001760 do_browser()
1761 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +00001762 cwd_tab_completion(), input_tab()
1763 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +00001764 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +00001765- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +00001766 ABCD()
1767 - New function, figures out what kbinput to return given
1768 input common to several switch statements, allows us to
1769 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00001770 main()
1771 - Alternate speller option no longer valid if DISABLE_SPELLER is
1772 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +00001773 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
1774 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +00001775 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00001776 nano_small_msg()
1777 - This function has been removed. All references now call
1778 nano_disabled_msg. (Rocco)
1779 version()
1780 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
1781 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
1782 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +00001783 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +00001784 usage()
1785 - Alternate speller option no longer valid if DISABLE_SPELLER is
1786 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +00001787 window_init(), handle_sigwinch()
1788 - Added check for not having enough LINES to do anything useful,
1789 if so die with an error. (Rocco)
1790 die_too_small()
1791 - Function to print the window too small error message, avoids
1792 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +00001793 do_justify()
1794 - Small fix for totsize calculation (Rob)
1795
Chris Allegrettad9742c62001-01-12 15:51:53 +00001796- fi.po:
1797 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +00001798
Chris Allegretta16991442001-01-07 22:06:11 +00001799nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +00001800General -
1801 - New file browser code. New functions in files.c:do_browser(),
1802 helper functions browser_init(), tail(), striponedir(),
1803 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +00001804 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +00001805 - Keypad code has been changed slightly. Now checks for
1806 _use_keypad flag in window to see whether or not to turn
1807 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +00001808 to winio.c where it should probably be anyway. New configure
1809 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +00001810 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +00001811 - Moved keypad() calls for PDCURSES from main() to window_init()
1812 so the keypad continues to work after a Meta-X, for example.
1813 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +00001814- faq.html:
1815 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +00001816- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00001817 username_tab_completion()
1818 - Added the (char *) sizeof when allocating memory for the filename
1819 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +00001820 cwd_tab_completion()
1821 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00001822 - Added the (char *) sizeof when allocating memory for the filename
1823 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00001824 do_writeout()
1825 - Now takes an argument so the string typed in can be retained
1826 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +00001827 do_browser()
1828 - Don't decrement longest by the length of path. Fixes crashes
1829 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +00001830 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +00001831 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +00001832- move.c:
1833 page_down()
1834 - Don't do an edit_update when there is only one page of text
1835 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +00001836- nano.c:
1837 main()
1838 - Reorder the getopt options to be more or less alphabetical
1839 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +00001840- winio.c:
1841 do_cursorpos()
1842 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +00001843 do_credits()
1844 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +00001845 titlebar()
1846 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +00001847 do_help()
1848 - Changed way of temporarily bringing up shortcuts at the
1849 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +00001850- utils.c:
1851 mallocstrcpy()
1852 - Takes char pointers now instead of void (makes debugging a
1853 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00001854 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +00001855- es.po:
1856 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +00001857
Chris Allegretta66149e72000-12-19 02:51:06 +00001858nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +00001859General
1860 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +00001861 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +00001862 - Changed filename to no longer use PATH_MAX, so it can work on the
1863 HURD. Changes in files.c:write_file(), new function
1864 nano.c:clear_filename(), many changed in main(), a few other
1865 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001866 - Added -b, -e, and -f flags, which we ignore as nano provides
1867 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +00001868- cut.c:
1869 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001870 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +00001871 - Fix screen not being displayed when we are uncutting marked
1872 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +00001873 - Fix magic line not getting created when (you guessed it)
1874 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +00001875- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +00001876 read_file()
1877 - If we encounter an error and insert is not set, run new_file().
1878 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +00001879 write_file()
1880 - Change open call flags, basically copy joe's way of doing it so
1881 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +00001882 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +00001883 open_file()
1884 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +00001885- nano.c:
1886 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +00001887 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001888 main()
1889 - Added code to check for Alt-Alt (27-27) keystrokes and set the
1890 next keystroke as a control sequence. New variable
1891 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
1892 around Control-S,Q,Z handlers because we need it now for
1893 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +00001894 - Added --view option to getopt_long()call . Bug discovered
1895 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +00001896 help_init()
1897 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta6df90f52002-07-19 01:08:59 +00001898 ^_ in Pico mode not be displayed in the help (bug discovered by
Chris Allegretta92325e72000-12-18 03:44:22 +00001899 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +00001900 do_toggle()
1901 - Added fix_editbot() call to fix improper redisplay of edit
1902 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +00001903- nano.1, nano.1.html:
1904 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +00001905- winio.c
1906 do_help()
1907 - Force keypad on so F-keys and PageUp/Down will work properly.
1908 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +00001909- utils.c:
1910 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +00001911 - Increment totsize!! We decrement it when we've read a file,
1912 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +00001913
Chris Allegrettab29550e2000-12-09 03:34:12 +00001914nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +00001915General
1916 - Changed --disable-spell to --disable speller. The term is
1917 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +00001918- files.c:
1919 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +00001920 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +00001921 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +00001922 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +00001923 - We now run check on result of lstat(), not stat(), to be
1924 safer. New variable anyexists, we use still use realexists
1925 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +00001926 - OOPS, line up link/unlink/rename check if conditional with
1927 top if conditional. Option -l has been broken for 9 versions,
1928 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +00001929 - Added saving perms at end of link so we can apply them to the
1930 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +00001931- winio.c:
1932 edit_add()
1933 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00001934 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +00001935 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00001936 - Moved from search.c, as it's definitely a winio function now =)
1937 update_line()
1938 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +00001939
Chris Allegrettafedd7242000-12-03 03:15:38 +00001940nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +00001941- General
Chris Allegrettabe77c612000-11-24 14:00:16 +00001942 - Username tab completion code, and cleaned up existing tabcomp
1943 code. New functions real_dir_from_tide(), append_slash_if_dir(),
1944 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +00001945 - Ignore key sequence 543 & 545, right control and alt keys in
1946 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +00001947 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
1948 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +00001949 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +00001950 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +00001951- New configure options:
1952 - Added configure argument --disable-tabcomp. Affects
1953 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +00001954 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +00001955 - New options --enable-extra. New code in nano.c:version() to
1956 print out various options from ./configure, function do_credits().
1957 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +00001958 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +00001959 do_spell, do_int_speller and do_alt_speller.
1960 - Added --disable-justify to get rid of the justify function.
1961 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +00001962- files.c:
1963 write_file()
1964 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +00001965 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +00001966 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +00001967 - Added call to real_name_from tilde, oops. Added check for
1968 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +00001969 read_file()
1970 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +00001971- global.c:
1972 shortcut_init()
1973 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +00001974 shortcut or the normal uncut text one. Needed to accommodate
1975 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +00001976- nano.1, nano.1.html:
1977 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +00001978 - Added "NOTES" section, where I explain what nano.save & friends
1979 are.
1980 - Added a copyright notice for the manpage, under the GPL.
1981 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +00001982- nano.c:
1983 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +00001984 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
1985 text there, then grabs the next keystroke and, if the unjustify
1986 key, gets rid of the justified text and calls do_uncut_text.
1987 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00001988 do_int_spell*
1989 - Various fixes (Rocco Corsi).
1990 - Changed abort of program to aborting based on value of "edit a
1991 replacement" question, and not caring about the replace loop
1992 return value. That way the user can get out of the replace loop
1993 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +00001994 version()
1995 - Took out huge check for the various --disabled macros,
1996 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +00001997 nano_small_msg(), nano_disabled_msg()
1998 - Added checks for disabled functions to see whether or not to
1999 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +00002000 do_next_word()
2001 - Update the previous line as well as the current one in case we
2002 have moved beyond COLS or back from COLS, patch submitted
2003 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +00002004 die()
2005 - Now creates .save file using variable-length strings. Also
2006 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +00002007 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +00002008 handle_sighup()
2009 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002010- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +00002011 do_replace_highlight()
2012 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002013 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +00002014 - Added calls to curs_set(0) and (1) to disable the cursor when
2015 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +00002016- es.po:
2017 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +00002018
Chris Allegrettaca7a21d2000-11-24 01:35:40 +00002019nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +00002020- AUTHORS
2021 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +00002022- nano.c:
2023 main()
2024 - Changed check for argc == 1 to argv[optind] == NULL to decide
2025 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +00002026- search.c:
2027 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00002028 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +00002029 search_init()
2030 - Silly typo in our "one simple call" of statusq. Stopped
2031 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +00002032 do_replace()
2033 - Copy back the previous value of last_replace into answer if
2034 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +00002035- winio.c:
2036 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +00002037 - Deleted first update_line() call, screws up display when marker is
2038 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +00002039- nano.1, nano.1.html
2040 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +00002041
Chris Allegretta6da149a2000-11-19 02:23:03 +00002042nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +00002043- General
2044 - Ran source through indent -kr again. Make everything pretty.
2045 - Changed behavior of "search" and "replace" prompts to make all
2046 previous values editable. This change was made so that you can
2047 replace with the null string without needing a special key for it.
2048 changed code in search_init(), do_replace(), nanogetstr (see
2049 below).
2050 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +00002051 - Revamped nanogetstr() and calls to it to use variable length
2052 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +00002053 MANY changes in nanogetstr(), many chances in search.c, new
2054 function mallocstrcpy which is sure to be a programmatic
2055 nightmare, changed last_search, last_replace, answer to
2056 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +00002057 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +00002058 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00002059 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +00002060 - New spelling code by Rocco Corsi. New functions
2061 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
2062 New functions search_init_globals and do_replace_loop, changes
2063 to search_init(), do_replace, findnextstr, moved last_search and
2064 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +00002065 - New tab completion code. Used check_wildcard_match, input_tab,
2066 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +00002067 hacked them a lot, changes to nanogetstr(). nanogetstr() and
2068 statusq() now take an arg for whether or not to allow tab
2069 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +00002070 - Fixed value being input in statusbar during a search or replace
2071 and CASE_SENSITIVE or the other search is called and the
2072 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00002073 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
2074 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +00002075- files.c:
2076 do_writeout()
2077 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +00002078- global.c
Chris Allegretta105da332000-10-31 05:10:10 +00002079 - New global replace_list_2, for 2nd half of the replace dialog
2080 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +00002081 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +00002082 toggle_init()
2083 - Added #ifdef around toggle_regex_msg to get rid of compiler
2084 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +00002085
2086- nano.c:
2087 keypad_on()
2088 - New function, toggles turning the keypad on and off in edit and
2089 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002090- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +00002091 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002092 - New arg for begin_x variable, basically a rewrite that
2093 makes a little more sense and isn't quite as messy (Rocco Corsi).
2094 - Update the line we're checking if not the whole screen, because
2095 it's quite possible the search team could exist somewhere way
2096 to the right on the same line, for example.
2097 replace_abort()
2098 - Add reset of placewewant, stops cursor from jumping when moving
2099 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +00002100 do_replace()
2101 - Added code for Gotoline key after entering the search term.
2102 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +00002103 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +00002104 Converted if statements to switch statements.
2105 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +00002106 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +00002107 do_search()
2108 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +00002109- winio.c
2110 nanogetstr()
2111 - Added check for 343 in while loop to get rid of getting "locked"
2112 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +00002113 - Changed check to return -2 on "enter" from answer == ""
2114 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +00002115 - Fixed fallthrough code because there was no break. Make much
2116 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +00002117 - Added check for ASCII 54[124] when using PDCURSES, ignore them
2118 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002119 nanoget_repaint()
2120 - New function, removes about 30 lines of duplicate code in
2121 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +00002122 - Black magic code to make $ appear in prompt if we're past
2123 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +00002124 blank_edit()
2125 - Removed wrefresh() call, much less choppy now. If there's a need
2126 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +00002127- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +00002128 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +00002129
Chris Allegretta07e97d62000-10-03 01:52:50 +00002130nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +00002131- General
2132 - Added PDCurses support under cygwin, which allows building
2133 a nice stand-alone nano.exe for those poor Windows users.
2134 Extra check in configure.in for initscr() in -lcurses (as
2135 PDcurses has no tgetent), some #ifdef PDCURSES statements
2136 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +00002137 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +00002138- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00002139 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00002140 main()
2141 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00002142- search.c
2143 - Added initializations for last_search and last_replace (Rocco Corsi)
2144
Chris Allegretta629edad2000-09-19 00:27:19 +00002145nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00002146- General
2147 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
2148 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00002149- configure.in:
2150 - Added default case for cross-compiling to get rid of annoying
2151 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00002152- cut.c:
2153 do_cut_text()
2154 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00002155 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00002156- files.c:
2157 open_file()
2158 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00002159- global.c:
2160 shortcut_init()
2161 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00002162- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00002163 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00002164 - Added check for _POSIX_VDISABLE and use raw mode if not
2165 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00002166 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00002167 - Revamped a great deal of the F-key and keypad key handling,
2168 because we not longer use keypad() (see below).
2169 - Removed keypad() call because nano was not working with the
2170 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00002171 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00002172 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00002173 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00002174 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00002175 mouse_init()
2176 - Add keypad only if mouse support is on, otherwise mouse doesn't
2177 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00002178 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00002179- winio.c:
2180 total_refresh()
2181 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00002182 onekey()
2183 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00002184
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00002185- search.c:
2186 findnextstr()
2187 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00002188- es.po:
2189 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00002190- de.po
2191 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00002192
Chris Allegretta423cbfd2000-09-04 16:21:29 +00002193nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00002194- General
2195 - New shortcuts to toggle certain options that are normally only
2196 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
2197 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00002198 called from shortcut_init(), and do_toggle in nano.c. Also
2199 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00002200 signal_init(). Moved "struct sigaction act"into a static in
2201 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00002202 - Changed from Alt-key symbol (@) which is completely nonstandard
2203 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00002204 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00002205 Meta. Moved the toggle Meta keystrokes to the first column
2206 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00002207 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00002208 - Changed last_search and last_replace vars to statically
2209 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00002210- global.c:
2211 toggle_init()
2212 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
2213 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00002214- nano.c:
2215 do_mouse()
2216 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00002217 do_wrap()
2218 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00002219 do_toggle()
2220 - Added checks for no help and no wrap mode, and print opposite
2221 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00002222 do_suspend(), do_cont():
2223 - New functions, handle suspend signal in a Pico-like manner and
2224 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00002225- winio.c:
2226 total_refresh()
2227 - Added edit_refresh() call to actually update the screen if messy.
2228 edit_refresh_clearok()
2229 - New function, does a total update for edit refresh, needed to fix
2230 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00002231 onekey()
2232 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00002233
Chris Allegretta6306a112000-09-02 07:55:41 +00002234 update_line()
2235 - Added check for binary data >= 1 and <= 26, and use ^+letter
2236 to display it. Should fix editing text files with binary
2237 data in them. Placing of the cursor seems to be a bit screwed
2238 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00002239- search.c:
2240 search_abort()
2241 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
2242 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00002243 findnextstr():
2244 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00002245 - Fixed check for string that only occurs on the same line failing
2246 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00002247
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00002248nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00002249- cut.c:
2250 do_cut_text()
2251 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00002252 - Added check_statblank().
2253 - Check for fileptr == filebot, if so return, we shouldn't bother
2254 cutting the magic line.
2255 do_uncut_text()
2256 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00002257- nano.c:
2258 main()
2259 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00002260- po/Makefile.in.in:
2261 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
2262 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00002263- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00002264 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00002265
Chris Allegretta0bf4e142000-08-04 02:42:04 +00002266nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00002267- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
2268 Affects many many functions. Removed functions edit_update_top and
2269 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00002270- Added global variable tabsize, we no longer screw with the curses
2271 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00002272- configure.in:
2273 - Finally fixed check for slang to report "no" if not called
2274 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00002275- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00002276 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00002277 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00002278 null_at()
2279 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00002280 delete_buffer()
2281 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00002282 do_backspace()
2283 - Now calls page_up_center instead of page_up (as it should?)
2284 do_enter()
2285 - Fixed typo (?) in check for inptr->next. Caused lots of
2286 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00002287 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00002288 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00002289- search.c:
2290 replace_abort()
2291 - redundant, now just calls search abort until it does something
2292 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00002293- winio.c:
2294 edit_refresh()
2295 - Added check for current line "running" off the screen.
2296 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00002297 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00002298 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00002299 edit_update()
2300 - Rewritten, hopefully this will remove a lot of the
2301 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00002302- move.c:
2303 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00002304 - do an edit_update() at last case. Made function more like
2305 Pico's version, only move down to two lines before editbot.
2306 page_up()
2307 - Made function more like Pico's version, only move down to two
2308 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00002309
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00002310nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00002311- nano.h:
2312 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
2313- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00002314 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00002315 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00002316 - Simplified check for freeing cutbuffer. Added checks for doing
2317 multiple cuts with -k, now sets marked_cut to 2 for later
2318 processing by do_uncut_text().
2319 do_uncut_text()
2320 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00002321- files.c:
2322 write_file()
2323 - Removed (redundant) check for writing out files with -t.
2324 do_writeout()
2325 - Changed check for filename to filename[0]. Added some code,
2326 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00002327- nano.c:
2328 do_justify() & do_wrap():
2329 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00002330- de.po
2331 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00002332
Chris Allegretta1d7110d2000-07-23 16:59:07 +00002333nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00002334- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00002335 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
2336 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00002337- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
2338 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00002339- move.c
2340 page_down()
2341 - Don't edit_refresh() if the bottom of the file is in the edit
2342 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00002343- nano.c:
2344 main():
2345 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00002346 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00002347 die():
2348 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00002349 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00002350 - Changed exit semantics a bit so that aspell wouldn't get
2351 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00002352- files.c:
2353 read_file():
2354 - Added init of buf variable, hopefully this will stop the
2355 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00002356 write_file():
2357 - Added code to check to see if using -l and the file is not
2358 in fact a link. This should fix the behavior where a file
2359 that does not have write permission but could be removed and
2360 rewritten is saved without error. Please test this feature
2361 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00002362- search.c:
2363 search_init():
2364 - Added " (to replace)" statement to end of search string if
2365 we are doing a replace. Manually converted all the translations
2366 from '%s' to '%s%s' to ensure they still work with the new code.
2367 Also put in the translation for " (replace)" in the .po's. Hope
2368 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00002369 do_search(), do_replace():
2370 - Removed call to search_abort()/replace_abort() before call to
2371 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00002372 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00002373 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00002374 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00002375- fr.po:
2376 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00002377- es.po:
2378 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00002379
Chris Allegrettae955dae2000-07-07 22:24:59 +00002380nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00002381- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00002382 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
2383 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
2384 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00002385 search_init() and do_replace() and strstrwrapper().
2386 - Added _POSIX_VERSION check to regexp code. Better than nothing
2387 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00002388 - Made search functions & keys more like Pico. Added goto line from
2389 search and replace function, changed wording to "No Replace" instead
2390 of "To Search", "To Replace" to simply "Replace", and changed to
2391 Pico's keystroke by default, ^R. Affects search_init(),
2392 do_search() in search.c, globals in nano.h and
2393 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00002394 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00002395- cut.c
2396 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00002397- files.c:
2398 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00002399 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00002400- nano.c:
2401 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00002402 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
2403 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00002404 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00002405 - Corrected FIXME in do_enter with explanation. (Rob)
2406 - Fixed FIXME in do_justify, resulted in creation of
2407 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00002408 help_init():
2409 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00002410 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00002411 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00002412 do_backspace(), do_delete():
2413 - Added magic line code here too.
2414
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00002415- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00002416 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00002417- fi.po:
2418 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00002419- utils.c:
2420 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00002421- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00002422 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00002423 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00002424 do_yesno(), nanogetstr():
2425 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00002426 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
2427 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00002428 clear_bottomwin():
2429 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00002430 edit_update_top():
2431 - Fixed a bug that caused nano to not update when
2432 current->next == NULL (e.g. paging down to the very bottom of
2433 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00002434 fix_editbot:
2435 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00002436 edit_add:
2437 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00002438
Chris Allegretta4da1fc62000-06-21 03:00:43 +00002439nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00002440- New flag "-T" or "--tabsize" to specify how to display tab widths.
2441 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00002442 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00002443 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00002444- id.po:
2445 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00002446- es.po:
2447 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00002448- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00002449 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00002450 we had been seeing. Affects: add_marked_sameline, edit_add,
2451 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00002452 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00002453 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00002454 - Cut display_main_list call, as this function is only supposed to
2455 refresh what's already on the screen, not go through the process
2456 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00002457- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00002458 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00002459- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00002460 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00002461 - Removed editwineob, as it was redundant for (editwinrows - 1).
2462 Changed all calls to editwinrows - 1 in nano.c and move.c.
2463 - Removed all functions that were split into other files.
2464 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00002465 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00002466 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00002467 do_insertfile():
2468 - Fix display problem when using ctrl-r to load a file
2469 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00002470 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00002471 - Added titlebar(), edit_refresh() and display_main_list() calls
2472 because a resize wasn't picking up on possible different width
2473 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00002474- utils.c:
2475 - Moved nmalloc() and nrealloc() here.
2476- move.c:
2477 - New file, contains movement functions (like do_home(), do_up(),
2478 do_down(), page_up(), etc...).
2479- files.c:
2480 - Contains functions for files (read_file, insert_file,
2481 do_writeout(), etc).
2482- search.c:
2483 - Contains all our searching and related functions, (do_search(),
2484 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00002485
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002486nano-0.9.10 - 06/04/2000
2487- es.po:
2488 - Translation updates (Jordi).
2489- AUTHORS, nano.1.html, TODO, README:
2490 - Documentation and email address updates (Jordi).
2491- nano.c:
2492 main():
2493 - Moved Adam's termio code down to after getopt() and before initscr()
2494 to stop people losing their SIGINT character when using args that
2495 exit nano before it runs (--version, --help, etc).
2496
2497nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00002498- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002499 - Added proper lines for defining LOCALEDIR.
2500- configure.in:
2501 - Spelling fixes (Jordi Mallach)
2502 - Removed CFLAGS changes for gcc, reduces portability according to
2503 some, and it certainly doesn't seem to decrease exe size.
2504- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00002505 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002506- POTFILES.in:
2507 - Added global.c file, was screwing up translations (i.e. they
2508 weren't getting done).
2509- cut.c:
2510 add_to_cutbuffer():
2511 - Added totsize increment.
2512 - Cut fixes and optimizations (Rob Siemborski).
2513 do_uncut_text():
2514 - Added totsize increment in several places.
2515- nano.c:
2516 headers:
2517 - Removed LOCALEDIR define.
2518 do_justify():
2519 - Added edit_refresh() call (bug discovered by Adam).
2520 page_down_center():
2521 - Added call to edit_update(current) for last case. Removed
2522 increment of current_y since it's now just wasteful.
2523 do_enter():
2524 - Added totsize increment.
2525 renumber(), renumber_all():
2526 - Removed totsize-- and totsize init in renumber_all.
2527 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00002528 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002529 unnecessary wrefresh(edit).
2530 main():
2531 - Moved up locale calls so that translated --help messages would
2532 actually get translated.
2533 do_backspace(), do_delete():
2534 - Added decrement of totsize.
2535 init_help_msg():
2536 - New function, initializes help text if NANO_SMALL isn't set (fixes
2537 broken i18n).
2538 read_file():
2539 - malloc call changed to nmalloc (Rob Siemborski).
2540- winio.c:
2541 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00002542 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002543
2544nano-0.9.8 - 05/18/2000
2545- nano.c:
2546 main():
2547 - Added awesome code that disables the CINTR and CQUIT
2548 character (Adam Rogoyski). Removed raw()/noraw() calls so that
2549 nano gets input in 'normal' mode, which is the Right Way(tm) to
2550 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00002551 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002552 term settings, and changes to finish() and die().
2553 - Added extra #ifdefs in getopt code, so that above code and
2554 flag init is run even if GETOPT_LONG is not #defined.
2555 - Added memset line before sigactions. (Adam Rogoyski)
2556 do_suspend():
2557 Removed function, see above for why.
2558- winio.c:
2559 update_line(), center_cursor():
2560 - Removed wrefresh(edit) from bottom of functions. wrefresh
2561 should now only be called once, at the bottom of the main()
2562 loop.
2563- global.c:
2564 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00002565 - Removed suspend sc_init call and suspend message because suspend
2566 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002567
2568nano-0.9.7 - 05/14/2000
2569- nano.c:
2570 do_home(), do_end():
2571 - Added calls to update_line for the current line, fixes
2572 lack of update (bug discovered by Alberto García).
2573 main():
2574 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
2575 following symlinks even when -l isn't set, and "no changes"
2576 error when nano is called from crontab -e (Adam Rogoyski).
2577- cut.c:
2578 do_cut_text():
2579 - Added edit_update_top to cut when mark is set, fixes lack of
2580 display update (bug discovered by Ken Tyler).
2581
2582nano-0.9.6 - 05/08/2000
2583- New Italian translation (it.po), by Daniele Medri.
2584- nano.c:
2585 page_up(), page_down():
2586 - Added reset of placewewant to 0, as it should be.
2587 do_up(), do_down():
2588 - Added call to update_line() for line we move from and line we
2589 move to, in order to keep the highlighting correct.
2590 do_wrap():
2591 - Added var chop, new code to wrap lines more like Pico, mostly.
2592 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
2593- winio.c:
2594 do_help():
2595 - Added edit_refresh() before exit.
2596 update_cursor():
2597 - Removed cursor updating which really wasn't needed anyway.
2598 edit_update():
2599 - Removed yucky code that didn't work, this function now just
2600 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00002601 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002602
2603nano-0.9.5 - 05/01/2000
2604- Removed bytes from file struct because it was computationally wasteful.
2605- cut.c:
2606 do_uncut_text():
2607 - Added call to edit_refresh().
2608- nano.c:
2609 do_backspace():
2610 - Added reset of editbot when deleting the last line of the file
2611 (bug discovered by Adam).
2612 do_char():
2613 - Removed call to reset_cursor().
2614 do_delete():
2615 - Added similar check as to do_backspace().
2616 do_enter():
2617 - Added call to edit_refresh().
2618 do_left(), right():
2619 - Added call to update_line(), still redundant but better...
2620 do_up(), do_down():
2621 - Added refresh calls both for current line and line to which
2622 we are moving.
2623 main():
2624 - Removed inefficient call to edit_refresh() after every keystroke.
2625 It is now up each function to leave the screen in a good state.
2626- winio.c:
2627 do_cursorpos()
2628 - Rewritten to not use bytes from filestruct by an incremental sum.
2629 update_line(), reset_cursor():
2630 - Optimized calls to xplustabs() through a single variable.
2631 - update_line() now takes a new arg, an index into the string
2632 for where to update the line from. Needed for new update
2633 code.
2634- configure.in:
2635 - Better checks for slang, allows argument to --with-slang.
2636 (Albert Chin-A-Young)
2637 - Removed -Iintl from CFLAGS in gcc check.
2638- Makefile.am:
2639 - Addition of -Iintl for gettext (Albert Chin-A-Young)
2640
2641nano-0.9.4 - 04/25/2000
2642 - Fixed calls to no_help and changed them to the more consistent
2643 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
2644 not 1. Code to temporarily disable NO_HELP when in the
2645 help system. (Adam Rogoyski)
2646- cut.c:
2647 do_marked_cut(), do_cut(), do_uncut():
2648 - Commented out unnecessary bits when NANO_SMALL is being used.
2649- winio.c:
2650 xpt(), strlenpt(), actual_x():
2651 - Added check for value of data[i] & 0x80, if so do not make
2652 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
2653 edit_refresh():
2654 - New check for temp == NULL (bad thing), if so go back to the
2655 previous line. New filestruct var hold points to prev line.
2656 Fixes segfault when paging down to the end of a file.
2657- nano.c:
2658 write_file():
2659 - Added check for if file exists and is not equal to the current
2660 filename, prompt for overwrite (Adam Rogoyski).
2661 do_down():
2662 - Removed check for current->next == NULL, now checks return value
2663 of do_down before setting current_x = 0 (discovered by Adam).
2664 do_justify():
2665 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00002666 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002667 by Adam).
2668- utils.c:
2669 - Removed extra macro defs that are now in nano.h.
2670- nano.h:
2671 - Changed macro SET() to use |= instead of ^=. Fixes bug in
2672 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00002673 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002674
2675nano-0.9.3 - 04/29/2000
2676- cut.c:
2677 do_marked_cut():
2678 - Fixed off by one error in cut code for marked text.
2679 do_cut_text():
2680 - Removed check for being on the last line, part of
2681 magic line code.
2682 add_to_cutbuffer():
2683 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
2684 - Added inptr->prev = NULL for case where cutbuffer == NULL.
2685- nano.c:
2686 do_backspace(), do_char():
2687 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00002688 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002689 at least one known segfault condition.
2690 do_enter():
2691 - Added setting editbot to new node if the new node is the last
2692 node in the file.
2693 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00002694 - Changed writing file behavior. Now, if last line of the file
2695 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002696- winio.c:
2697 add_marked_sameline():
2698 - New code that checks for whether the begin and end of the marker
2699 are on different lines. Missing previously.
2700 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00002701 - added some more checks for text length. Cleaned up some
2702 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002703 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00002704 - Removed check for temp == filebot, it is now treated like any other
2705 line. Fixes a bug where selected text on the last line shows
2706 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002707 xpt():
2708 - Removed an extra computation for tabs variable that was incorrect.
2709 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00002710 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002711 xpt(current, current_x)
2712- nano.1, nano.1.html:
2713 - Added -l option to man pages.
2714- configure.in:
2715 - New option --enable-tiny, #defines NANO_SMALL in config.h.
2716 Disables call to gettext in functions and other i18n stuff in
2717 nano.c, the detailed help mode, the resize functions, and the
2718 justify code which no one ever uses.
2719 - New option --with-slang. Enables slang libraries instead of
2720 ncurses, requires slcurses.h for wrapper functions. (Based
2721 on patches for 0.8.7 by Glenn McGrath).
2722
2723nano-0.9.2 - 04/15/2000
2724- This release just fixes the serious segfault problem if nano is
2725 invoked any way other than using the absolute path. The bug was
Chris Allegretta6df90f52002-07-19 01:08:59 +00002726 in the new code for checking whether nano is invoked as 'pico'.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002727
2728nano-0.9.1 - 04/14/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00002729- Added Pico compatibility for ^T when in search or switch to switch
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002730 to the opposite function. Added one to REPLACE_LIST_LEN and
2731 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00002732 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002733 to search_init(). Handlers in do_replace and do_search().
2734- New write code, now follows symbolic links instead of replacing them
2735 with the new file. New option (-l, --nofollow) to enable the old
2736 (incorrect, but secure) behavior (Adam Rogoyski).
2737- nano.c:
2738 do_wrap():
2739 - Fixed another bug relating to wrapping, and which would cause
2740 a segfault *sigh*.
2741 do_replace():
2742 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00002743 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002744 add_marked_sameline():
2745 - New function, handles marked text when start & end of marker is
2746 on one line, also supports most marked text when cursor > COLS.
2747 main():
2748 - Code to check if nano is invoked as 'pico', and if so
2749 automatically set pico_msgs (Robert Jones).
2750
2751nano-0.9.0 - 04/07/2000
2752- nano.1, nano.1.html: Updated man page with my email address and homepage.
2753- winio.c:
2754 reset_cursor(), update_line():
2755 - Changed update algorithm for x value to (COLS - 7) multiple when x
2756 value > (COLS - 2).
2757- edit_refresh():
2758 - Removed inner loop code, now calls update_line() for each line
2759 in question, MUCH nicer.
2760- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00002761 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002762 - Added check for data[i] < 32, most of such bits are 2 chars wide.
2763- update_line():
2764 - Fixed a stupid call to strlenpt with col when we should have
2765 been using actual_col. Ugh.
2766
2767nano-0.8.9 - 03/22/2000
2768- nano.c:
2769 empty_line(), no_spaces(), justify_format(), do_justify():
2770 Actually added these (screwup applying patch).
2771 do_justify(): Added call to set_modified().
2772
2773nano-0.8.8 - 03/12/2000
2774- Preliminary internationalization support. Many many functions modified
2775 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
2776 New dirs po/ and intl/, changes to configure.in and Automake.am to
2777 support i18n.
2778- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00002779 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002780 statics: Changed some things that were not necessarily static
2781 (Adam Rogoyski).
2782 nrealloc(): New function, similar to nmalloc(). Changed calls from
2783 realloc() to nrealloc (Adam Rogoyski).
2784 empty_line(), no_spaces(), justify_format(), do_justify():
2785 New functions for justify function (Adam Rogoyski).
2786- winio.c:
2787 blank_edit(): Added wrefresh call to edit so that screen updates (like
2788 on ^L) actually work.
2789 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
2790
2791nano-0.8.7 - 03/01/2000
2792- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00002793 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002794 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00002795 break the line exists, and for wrapping lines longer than
2796 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002797- nano.1.html:
2798 Html version of man page, now included in dist. For
2799 the benefit of nano packages in Linux distributions.
2800
2801nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00002802- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002803 shortcut_init():
2804 Added shortcuts for goto_line and do_replace when using
2805 pico_msgs. Oops.
2806- nano.c:
2807 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00002808 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002809 Removed check for backing up past spaces first.
2810 main(): Added for loop to check for alt keys instead of hard list.
2811 do_enter(): Fix for bug #14, added call to reset_cursor and messed
2812 up do_char quite a bit.
2813 version(): Added time and date stamp for compile on version message.
2814 Added mail and web page info.
2815- README: Updated mailing list info.
2816
2817nano-0.8.5 - 02/18/2000
2818- nano.c:
2819 main(): Finally fixed tilde being input on page up/down keys in
2820 certain terminal types. Fix was input 26->91->5[34] check
2821 for 126, if so make the kbinput PAGE UP/DOWN, else unget
2822 the keystroke and continue. Added #include <ioctl.h> for
2823 ioctl call.
2824 handle_hup():
2825 Handler for hangup signal. Belated include of patch from
2826 Tim Sherwood.
2827- winio.c:
2828 edit_refresh():
2829 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00002830 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002831 revamped.
2832 check_statblank():
2833 Added check for constupdate, makes things less choppy
2834 (Adam Rogoyski)
2835
2836nano-0.8.4 - 02/11/2000
2837- Moved global variables that were only (or mostly) used in one file into
2838 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
2839- global.c:
2840 shortcut_init():
2841 Removed redundant NANO_CONTROL_H from backspace shortcut,
2842 added char 127 which should have been there.
2843- nano.c:
2844 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
2845 segfaults (Adam Rogoyski).
2846- Makefile.am: Added all source filenames (Adam Rogoyski).
2847- nano.1: Fixed mail addressed and added mailing list address.
2848- README: Updated my email address and the nano web page.
2849
2850nano-0.8.3 - 02/08/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00002851- New Pico mode (-p, --pico), toggles (more) compatibility with the
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002852 Pico messages displayed in the shortcut list. Note that there are still
2853 small differences in this mode.
2854- nano.h: New shortcut struct format, for the benefit of i18n and
2855 our help menu. Removed shortcut message macros, they are
2856 now all in shortcut_init in global.c.
2857- nano.c:
2858 do_wrap(): Removed resetting of current_x when we are in fact
2859 wrapping to the next line, fixes a bug in -i mode.
2860 do_enter():
2861 Rewrote the autoindent mode code to be a lot less pretty,
2862 but a lot more magical.
2863 main():
2864 Removed case for ignoring char 126 (~). That's kind of
2865 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00002866 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002867 main switch loop in much snazzier fashion based on the
2868 shortcut list.
2869- winio.c:
2870 New function display_main_list. Affects all functions
2871 that used to call bottombars() with main_list. Added
2872 because we now only call bottombars with the macro
2873 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
2874 changes to the main_list shortcut list (see global.c below).
2875 New function do_help, our preliminary dynamic help system.
2876- Many many funcs:
2877 Changed from int to void to allow one uniform type to call
2878 from the shortcut struct. Also a few functions that do
2879 not simple have void argument have new functions called
2880 funcname_void(void) to be called from the shortcut list.
2881 do_cut_text and do_uncut_text were changed to void
2882 arguments because they were never called with a filestruct
2883 other than *current anyway.
2884- global.c:
2885 Shortcut list main_list was expanded to cover all
2886 shortcuts that could be caught in the main loop.
2887 Consequently there is a new macro MAIN_VISIBLE which tells
2888 how many items in the main list to actually show.
2889
2890nano-0.8.2 - 02/02/2000
2891- Added initial mouse (-m, --mouse) support. New global variable
2892 use_mouse. (Adam Rogoyski)
2893
Chris Allegretta88520c92001-05-05 17:45:54 +00002894- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002895 regardless. (Adam Rogoyski).
2896 do_delete():
2897 Deleted call to do_backspace() when on the end of a line,
2898 because it won't update the line properly.
2899 do_backspace():
2900 Removed unnecessary pointer manipulation that was being
2901 handled by unlink_node().
2902 open_file():
2903 Added check for trying to open a directory (currently we
2904 segfault on this). Bug pointed out by Chad Ziccardi.
2905
2906nano-0.8.1 - 01/28/2000
2907- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
2908 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
2909 global.c and proto.h.
2910- nano.c:
2911write_file(): Added (incredibly) necessary check for EPERM when
2912 link() fails. This allows us to actually save
2913 files via rename() on filesystems that dont
2914 support hard links (AIEEEEEE).
2915do_goto():
2916 Fixed a stupid mistake where we were calling
2917 bottombars() with replace_list instead of goto_list.
2918- nano.h:
2919 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00002920 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002921 for help function and i18n.
2922- global.c:
2923 New functions shortcut_init (called in nano.c) and
2924 sc_init_one() to initialize the shortcuts without
2925 using {}s (for i18n).
2926
2927nano-0.8.0 - 01/25/2000
2928- View flag (-v, --view) implemented. Global variable view_mode, affects
2929 main loop of nano.c and new_file(). (me)
2930- nano.c:
2931 split checks for TERMIOS_H and TERMIO_H up so we
2932 can (theoretically) include them both, which is good.
2933handle_sigwinch():
2934 Added check for ncurses.h. (Andy Kahn)
2935do_spell():
2936 We now only try ispell because we don't as of yet
2937 handle the 'spell' program the right way, now that
2938 I finally know what the right way is =-). Added
2939 call to edit_update(fileage) to stop segfaults.
2940global_init():
2941 Added initialization of edit* filestruct pointers
2942 to stop segfaults on spell check.
2943usage():
2944 Check for getopt_long, and if no leave out the
2945 GNU options everyone seems to love so much (Andy Kahn)
2946main():
2947 Added checks for getopt_long (Andy Kahn)
2948 We ignore character 126 because it gets put into
2949 the buffer when we page up/down on a vt terminal.
2950write_file():
2951 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00002952 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002953 better in the function comments. Fixed my
2954 stupidly commented out check for tmp on setting
2955 umask which I really like =>
2956- nano.h:
2957 Made desc variable in shortcut struct a pointer
2958 instead of a fixed-length string.
2959- utils.c:
2960 Fixed check for config.h before nano.h.
2961- configure.in:
2962 New checks for getopt_long, getopt.h, removed
2963 CFLAGS and LDFLAGS changes. Gonna have to run
2964 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00002965 Added check for HAVE_WRESIZE, new file acconfig.h
2966 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002967
2968nano-0.7.9 - 01/24/2000
2969- New autoindent feature. Command flag 'i' or '--autoindent'. New
2970 function do_char() to clean up character output, global
2971 variable autoindent in global.c. (Graham Mainwaring)
2972- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
2973 files on exit without prompting. Affects do_writeout(). Also
2974 do_writeout() now takes a parameter for if exiting.
2975 Global variable temp_opt in global.c (Graham Mainwaring)
2976- Preliminary spell program support. Added command flag '-s' or
2977 '--speller' for alternative speller command. Added function do_spell()
2978 and exit_spell() to nano.c. New global variable alt_speller.
2979- nano.c:
2980 main(): We now ignore input of decimal 410 because these get entered
2981 when we resize the screen. Sorted options in getopt()
2982 switch statement.
2983 usage(): Sorted options and changed tabs to make room for -s option.
2984 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
2985 doesn't print the number of lines written on the statusbar.
2986 global_init():
2987 Added more initializations to globals to support do_spell().
2988
2989nano-0.7.8 - 01/23/2000
2990- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00002991- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002992 and main() in nano.c
2993- Removed redundant reset_cursor() calls from the blank() routines.
2994- nano.c:
2995 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
2996 Removed check for isprint() characters in main while loop
2997 for people with odd character sets *shrug*. Added some X
2998 window F-key combos.
2999 read_line(): New function, consolidates of most of the special
3000 sections of the file reading code. (Rob Siemborski)
3001 do_replace(): Many scattered fixes. (Rob Siemborski)
3002 write_file(): Added check for empty filename.
3003- winio.c:
3004 nanogetstr(): Fixes for deleting at places other than the end of the
3005 buffer, cut support. (Adam Rogoyski)
3006 blank_edit(): New function, blanks edit buffer. Added call to it in
3007 total_refresh().
3008- configure: Checks for glib if snprintf of vsnprintf aren't available
3009 (Andy Kahn). Changed warning message when no termcap lib
3010 is found.
3011
3012nano-0.7.7 - 01/19/2000
3013- Option '-v' for version moved to '-V', because -v is Pico's "read only"
3014 mode (affects getopt() in main() and usage() function in nano.c
3015- New flag -c, always show cursor position. Affects main() in nano.c and
3016 statusbar() in winio.c
3017- Option '-x' doesn't show help window at the bottom of the editor.
3018 New variable no_help in nano.h and proto.h, affects main(), usage(),
3019 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
3020 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
3021 hand =P) (Adam Rogoyski)
3022- nano.c:
3023 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
3024 page_up(), page_down():
3025 - New functions. We now set the cursor at the top right corner,
3026 not at the center line, and page up and down a full screen
3027 rather than a half screen. Original functions renamed to
3028 page_up_center() and page_down_center().
3029 main():
3030 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
3031 in main while loop because suspend mode was broken. This should
3032 fix it, at least for now.
3033 - Added long option support (By popular harassment ;-) - Added
3034 #include for getopt.h, changed getopt() to getopt_long().
3035 Options added so far: --version (-V), --nowrap (-w), --suspend
3036 (-z), --help (-h), --nohelp (-x).
3037 - Rewrote signal statements (Adam Rogoyski)
3038
3039nano 0.7.6 - 01/15/2000
3040- New ChangeLog format
3041- nano.c:
3042 main(): Bound CONTROL_H to backspace (oops)
3043 Added more Alt-[-key combinations, for page up & down.
3044 read_bytes(): New function (Adam Rogoyski)
3045 read_file(): Optimizations - malloc()s *buf a little at a time rather
3046 than one huge buffer, and replaced the strcat at the end
3047 with an index variable. Added call to read_bytes().
3048 do_next_word(): New function, binding is control-space (0) (me)
3049
3050- winio.c:
3051 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
3052 (formula is extra space needed = COLS / 6 - 13).
3053 actual_x() & strlenpt():
3054 Added bug#9 fix - when tabs % 8 == 0, we should only
3055 increment tabs by 1.
3056 titlebar(): Fixed overrun in titlebar on very long filenames.
3057
30580.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
3059 writing a newline at EOF. do_cursorpos and do_replace are now not
3060 directly bound to signals but picked up as their control sequences
3061 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
30620.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
3063 available memory, align bug fixed (Big Gaute).
3064
3065--- As of version 0.7.4 TIP is renamed to nano.
3066
30670.7.3 Fixed a double blank_statusbar() when jumping to first and last
3068 lines. Took out unnecessary updates in load_file. Bug fix in
3069 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00003070 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003071 with replace all, more/better comments (Robert Siemborski)
30720.7.2 Our first patch accepted into the source! configure fixes
3073 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
3074 Bug fix in update_line for editing long lines. Fixed arguments
3075 being put into the filename when none is specified. Preliminary
3076 +line command argument function.
30770.7.1 configure tweak for better FreeBSD support. Removed refresh() from
3078 edit_refresh to stop cursor "jumping" during screen updates. This
3079 will probably cause a bug or two. Replace is now Alt-R (@R) and
3080 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
3081 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
3082 Control-G will become the Help key, but for now is stubbed out.
30830.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
3084 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
3085 length file. Added Esc-[-A,B,C,D cursor key sequences.
30860.6.9 Preliminary cursor position function. Split up tip.c more, made
3087 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
3088 that was leaving out a character.
30890.6.8 By request, optchr in main() is now an int. Removed unneeded
3090 globals. Bound functions for next/prev page, and wrote functions
3091 do_home and do_end.
30920.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
3093 created read_file. Implemented Insert File. Fixes in tipgetstr
3094 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
30950.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
3096 aborted searches and more Pico-compatible messages. statusq() now
3097 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
30980.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
3099 regarding buffers with filebot in them. Fixins in do_backspace
3100 and do_enter. Removed unused variables. Removed strip_newline.
31010.6.4 Took out the awful newlines from each string buffers. This will
3102 certainly cause more bugs. Fixes in do_exit(). Better empty file
3103 handling (I hope).
31040.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
3105 do_enter() rewritten.
31060.6.2 Better default file permissions. Complete rewrite of do_wrap().
3107 Better handling of editing with cursor near COLS - 1.
31080.6.1 Starting to implement wrapping toggle. Fix for unhandled control
3109 codes being entered into the buffer. Bug fix in actual_x; more
3110 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00003111 locked into cutbuffer when cutting more than one marked screen of
3112 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000031130.6.0 We have TABs!!! To do this, placewewant is now set to the actual
3114 width on the screen we want to be, not an index of current->data.
3115 New functions xplustabs and actual_x convert the actual place
3116 the cursor should be on the screen to and from the place in the
3117 string.
31180.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00003119 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003120 arrow. Preliminary support for longer than COLS - 1 lines.
3121 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000031220.5.4 Fixed a bug in total_update that wasn't repainting the screen
3123 properly. tipgetstr is much more messy but text is now more
3124 editable ;) Fixed crash on entering a new file, hopefully. Awful
3125 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000031260.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
3127 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00003128 I would not trust your data with the mark code right now, but then
3129 we're not at version 1.0 yet so dont trust anything ;)
31300.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003131 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00003132 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003133 but does not actually affect what gets put in the cutbuffer (yet).
31340.5.1 Writing a file out causes modified to be set back to 0. Good.
3135 Set_modified function written. Cut and uncut text now set
3136 modified when called.
31370.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00003138 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003139 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00003140 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000031410.4.2 Implemented replace all in replace function. Crude exit function
3142 (asks yes or no if modified but does not write to file).
31430.4.1 Implementing search & replace. Fixed crash on deleting at top of
3144 edit buffer. Implemented "timeout" of statusbar messages.
3145 Implemented ^A and ^E (beginning and end of line).
31460.4.0 Split code into global.c and proto.h to allow for better multiple
3147 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00003148 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000031490.3.1 Write edit_refresh which doesn't move the screen around, just
3150 updates what's there already. do_wrap() and do_enter() added.
31510.3.0 Preliminary cutbuffer (cut and uncut) support.
31520.2.7 Check for Modification added. do_search() works.
31530.2.5 Rewrite of file data struct.
31540.2 Read in data to buffer, bound keystrokes to stub functions,
3155 initial cursor movement on screen. Initial autoconf support.
31560.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00003157
3158$Id$