blob: 636a5718b363f831c91841efd6b1fd980101a530 [file] [log] [blame]
Chris Allegrettacddbfd02003-02-03 15:29:56 +00001CVS code
Jordi Mallacha577d5a2003-02-04 14:13:36 +00002- General:
3 - Translation updates (see po/ChangeLog for details).
Chris Allegretta201f1d92003-02-05 02:51:19 +00004 - Fix globals and externs such that nano will compile with
5 DISABLE_SPELLER (David Benbennick).
Chris Allegrettaf8f2d582003-02-10 02:43:48 +00006 - Fix unreasonable fill values by wrapping at length 0 instead
7 of erroring out, and don't start up if the window size is too
8 small but fill is set reasonably. Changes to
9 nano.c:global_init(), window_init(), and handle_sigwinch().
10 New macro MIN_EDITOR_COLS replaces MIN_FILL_LENGTH
11 (David Benbennick).
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +000012- files.c:
Chris Allegrettabcaeeb42003-02-08 02:03:26 +000013 cwd_tab_completion()
14 - Memory leak fix (David Benbennick).
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +000015 intput_tab()
16 - Fix assumption that matches is null terminated (David
17 Benbennick).
Chris Allegretta5ec68622003-02-05 02:39:34 +000018- nano.c:
19 main()
20 - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
21 (David Benbennick).
Chris Allegretta3a784062003-02-10 02:32:58 +000022 help_init()
23 - Fix crashing in do_help when COLS < 23 (David Benbennick).
Chris Allegretta4640fe32003-02-10 03:10:03 +000024 do_help()
25 - Fix line lengths not being computed properly, causes display
26 glitches most noticeable with < 20 rows. New function
27 nano.c:line_len(). (David Benbennick).
Chris Allegrettad6e84362003-02-07 00:02:00 +000028- rcfile.c:
29 colortoint()
30 - Don't bomb after invalid color and print bad color name
31 (David Benbennick).
Chris Allegretta17ec14b2003-02-07 00:19:05 +000032 colortoint, parse_colors()
33 - Don't add strings with invalid fg colors at all.
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +000034- search.c:
35 do_gotoline()
36 - Only goto_abort() if we *didnt* abort the command, making
37 the function seem horribly misnamed ;-) (David Benbennick).
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +000038- winio.c:
39 nanogetstr()
40 - Remove unnecessary reset of x since it is now handled
41 elsewhere (David Lawrence Ramsey).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +000042 statusq()
43 - Always blank the statusbar on exit (David Benbennick).
Chris Allegretta5ea694e2003-02-04 14:24:54 +000044- nano.1, nano.1.html:
45 - Add initialization file comments, change some options from
46 bracketed to underlined to emphasize that they are not
47 optional.
Jordi Mallacha66a8f72003-02-09 01:28:40 +000048 - Add SEE ALSO section (Jordi).
49- nanorc.5:
50 - Add nanorc manpage, with descriptions of all available commands
51 (Jordi).
Chris Allegrettaa3daf3a2003-02-07 00:11:55 +000052- nanorc.sample:
53 - Make nanorc entry less tolerant of invalid colors.
Chris Allegretta97e10b52003-02-08 22:05:50 +000054- nano.spec.in:
55 - Change default flags to --enable-all.
Jordi Mallach2ddd75e2003-02-09 23:51:17 +000056- THANKS:
57 - Add Kalle Kivimaa and Kalle Olavi Niemitalo, for Finnish (Jordi).
Chris Allegrettacddbfd02003-02-03 15:29:56 +000058
Chris Allegretta5c8c2762003-02-03 15:21:27 +000059GNU nano 1.1.99pre2 - 2003.02.03
Jordi Mallacha577d5a2003-02-04 14:13:36 +000060- General:
Chris Allegretta0e86e602003-01-23 04:27:23 +000061 - Changed some translatable debug messages to use %s
62 instead of the function name, and removed gettext from
63 two strings that had no actual words in them that
64 should be translated. Suggested originally by
65 Christian Rose.
Chris Allegretta9090f2e2003-01-26 04:45:05 +000066 - Fix subexpression replacement to work consistently.
67 Affects search.c:replace_regexp() and
68 utils.c:strstrwrapper() (David Benbennick).
Chris Allegretta47fcfe52003-01-26 21:01:16 +000069 - Fix cursor position being saved when escaping out
70 of nanogetstr with keys like ^Y and ^V. New arg
71 resetpos to nanogetstr(), added static int
72 resetpos in statusq() (bug found by DLR).
Chris Allegrettad26ab912003-01-28 01:16:47 +000073 - Fix constant curos updates from obliterating other
74 system messages, and fix statusbar message length.
75 Affects files.c:load_open_file(), nano.c:main(),
76 search.c:findnextstr(), winio.c:statusbar() and
77 do_cursorpos() (David Benbennick).
Chris Allegretta5d715142003-01-29 04:18:37 +000078 - Fix nano crashing when searching/replacing an invalid
79 regex (try "^*"). Changed regexp_init() to return
80 1 or 0 based on regcomp()'s return value and search_init
Chris Allegrettad89eb912003-02-03 07:07:40 +000081 to exit with an error message (sorry Jordi!). Added
82 another check when using last_search instead of answer.
Chris Allegrettace452fb2003-02-03 02:56:44 +000083 - Move regcomp into rcfile.c rather than each display refresh
84 of winio.c. New function rcfile.c:nregcomp().
85 This fixes much of nano's resource hogging behavior
86 in syntax higlighting. (David Benbennick).
Chris Allegrettacff6e6f2003-02-03 03:22:02 +000087 - Fix justify failing for certain lines, new function
88 nano.c:breakable() (David Benbennick).
Chris Allegrettaa0d89972003-02-03 03:32:08 +000089 - Fix screen getting trashed on signals nano can catch
90 (TERM and HUP). New global variable curses_ended,
Chris Allegrettadbfc56c2003-02-03 03:33:04 +000091 changes to winio.c:statubar() and nano.c:die()
92 (David Benbennick).
Chris Allegretta149781d2003-01-26 03:54:00 +000093- cut.c:
94 do_cut_text()
95 - Fix incorrect cursor location when cutting long lines
96 (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +000097- files.c:
Chris Allegretta858d9d92003-01-30 00:53:32 +000098 - Set a default PATH_MAX for getcwd() etc calls (David
99 Benbennick).
100 do_browse_from()
101 - Fix path checking to fix bad paths, escaping
102 the operating directory, new function readable_dir() (David
103 Benbennick).
Chris Allegrettab698c352003-01-26 22:05:07 +0000104 do_browser()
105 - Fix incorrect path check for check_operating_dir()
106 (David Benbennick).
Chris Allegrettaf80a59c2003-01-30 00:57:33 +0000107 - Fix goto directory operating dir check and tilde expansion
108 (David Benbennick).
Chris Allegretta0eab2362003-02-03 03:39:05 +0000109 - Even more checks and operating dir fixes (David Benbennick).
Chris Allegretta434d6862003-02-03 04:55:17 +0000110 do_insertfile()
111 - Add some more checks and fix recursion when toggling
112 multibuffer (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +0000113 open_file()
114 - Fix FD leak with file load error (David Benbennick).
Chris Allegretta5c63f272003-02-02 04:26:54 +0000115 add_open_file()
116 - Revert the fix for the supposed minor logic error from before;
117 it was keeping some updates from happening when they should,
118 which was leading to segfaults with both multibuffer and view
119 mode on. (DLR; found by David Benbennick)
Chris Allegretta77e726d2003-01-26 19:36:08 +0000120 save_history()
121 - Fix nrealloc return value being ignored (David Benbennick).
Chris Allegrettac4533572003-02-03 05:04:09 +0000122 - Fix off-by-one bug causing write to unallocated memory
123 (David Benbennick).
Chris Allegrettace452fb2003-02-03 02:56:44 +0000124- global.c:
125 thanks_for_all_the_fish()
126 - Fix compiling with DEBUG and multibuffer (David Benbennick).
Jordi Mallacheeb50042003-01-18 22:42:34 +0000127- nano.c:
Chris Allegrettaa3407662003-01-26 21:13:03 +0000128 do_char()
129 - Remove unneeded check_statblank() (David Benbennick).
Chris Allegretta64fc78c2003-01-26 19:57:44 +0000130 do_int_spell_fix(), do_int_speller()
131 - Fix crashes with mark position, current_x position,
132 and edit_update args (David Benbennick).
Chris Allegretta2a7b8b22003-01-30 00:42:20 +0000133 do_justify()
134 - Unset KEEP_CUTBUFFER so nano won't crash with subsequent
135 ^K cuts and justifies (David Benbennick).
Chris Allegrettae92a7bc2003-01-28 01:36:38 +0000136 do_mouse()
137 - Fix the mouse code to work with lines longer than COLS and
138 with the proper positioning, including special characters
139 (David Benbennick).
140 do_preserve_msg():
141 - Unsplit error message into a single fprintf call (Jordi).
Chris Allegretta3d459ad2003-01-22 01:09:40 +0000142 main()
143 - Call load_file with arg 0 for insert, as we aren't really
144 doing an insert, allows new_file() to run if we open a
145 non-file at startup.
146 usage()
Jordi Mallacheeb50042003-01-18 22:42:34 +0000147 - Remove gettext markings from -p/--preserve (Jordi).
Chris Allegretta36fec722003-01-22 01:13:25 +0000148 - Revamp -H option message to fit in 80 column terminal.
Chris Allegretta1a128af2003-01-26 04:15:56 +0000149 window_init()
150 - Fix leaking *WINDOWs (no pun intended) (David Benbennick).
Chris Allegretta1939c352003-01-26 04:26:25 +0000151- search.c:
Chris Allegretta8a85aa02003-01-26 20:02:15 +0000152 do_search(), do_replace_loop()
153 - Fix edit_update call to use CENTER instead of current_x
154 (related to David Benbennick's fixes for spelling).
Chris Allegretta1939c352003-01-26 04:26:25 +0000155 do_replace_loop()
156 - Fix various bugs having to do with replace string length
157 and positioning (David Benbennick).
Chris Allegretta63d0b482003-01-26 19:47:10 +0000158 edit_refresh()
159 - Fix cursor being above as well as below the current screen
160 (David Benbennick).
Chris Allegretta3bbc4162003-01-23 00:46:12 +0000161- winio.c:
162 bottombars()
163 - Change strcpy of gettext() "Up" string to strncpy of max
164 width 8, to stop stupid strcpy crash.
Chris Allegrettadb28e962003-01-28 01:23:40 +0000165 do_yesno()
166 - Fix mouse interaction bugs with yes/no prompt (David Benbennick).
Chris Allegrettaf22e8bf2003-01-23 01:21:26 +0000167- nanorc.sample:
168 - Change comment to say magenta instead of purple.
169
Chris Allegrettad46f5442003-01-17 21:47:33 +0000170GNU nano 1.1.99pre1 - 2003.01.17
David Lawrence Ramseydc60b722002-10-25 16:08:53 +0000171- General:
Chris Allegrettad46f5442003-01-17 21:47:33 +0000172 - New date format for NEWS and ChangeLog.
Chris Allegretta7662c862003-01-13 01:35:15 +0000173 - Completely removed PICO_MODE, as with the search/replace
174 history patch we should have the extended functionality we can
175 without being incompatible with Pico. Removed all code for
176 different search/replace string editing and alternate shortcut
177 list. I'm sure I won't even have to ask for feedback on this
178 one :-)
179 - Add in Pico's -p flag, (-p, --preserve). To preserve the XON
180 and XOFF keys (^Q and ^S). Add warning if we invoke -p and
181 add checks for using --preserve (to skip warning) and --pico
182 (to force showing it). New flag PRESERVE, function
183 do_preserve_msg(), changes to main(), signal_init().
184 - Search history and replace history up/down cursor arrows,
185 w/history tab completion, not available w/NANO_SMALL. Changes
186 to statusq(), others (Ken Tyler). Added shortcut to
187 search/replace shortcuts so people will know it's there,
188 forced KEY_UP and KEY_DOWN defs in nano.h (Chris, in case
189 blame needs to be placed later). Minor fixes by DLR: allow ^P
190 and ^N as alternatives to the up and down arrows, make sure
191 the "Up" shortcut is displayed properly in the help menu,
192 remove a few bits of unneeded and/or warning-generating code,
193 and fix some missing statusq() prompts with --enable-tiny.
Chris Allegrettaf3de8b52003-01-16 23:44:46 +0000194 - Added search/replace history log. Flag -H, --historylog.
195 Flags HISTORY_CHANGED and HISTORYLOG (only room for one more
196 flag!), added entries in nanorc.sample, new functions
197 log_history and save_history (Ken Tyler).
Jordi Mallach5e4b8cf2002-10-26 15:02:14 +0000198 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseydc60b722002-10-25 16:08:53 +0000199 - Forward-ported Chris' --disable-wrapping-as-root option from
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000200 1.0.9. Per Jordi's suggestions, have it override
201 $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR)
202 - Change all references to /etc/nanorc in the documentation to
203 $SYSCONFDIR/nanorc. (DLR)
David Lawrence Ramsey99519ae2002-11-04 16:12:19 +0000204 - Minor cosmetic tweaks to the ngettext() macro, and fix to
205 properly detect systems lacking ngettext() and correctly
206 compile on them; the previous fix didn't work. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000207 - Fix problems with some code sections' not being #ifdef'ed out
208 when they should be, or being #ifdef'ed out improperly. (David
209 Benbennick and DLR)
210 - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the
211 associated logic accordingly, throughout the code. (David
212 Benbennick)
213 - Rework #ifdefs to not include mouse_init() at all if
214 DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR)
215 - For consistency, change many references of (!x) to (x == NULL)
216 and (x) to (x != NULL). (DLR)
217 - Define KEY_IC properly (and KEY_DC more portably) when slang
218 support is enabled, and remove the hack to work around the
219 former's not being defined. (David Benbennick and DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000220 - Miscellaneous tweaks to update_color() calls, to make sure
221 they're called at the right times and that refreshes are done
222 afterwards only when needed. (David Benbennick)
223 - Renamed [have_]past_editbuff [have_]search_offscreen. (DLR)
224 - Add the "preserve" option to the nanorc file, to match
225 nanorc.sample. (DLR)
Chris Allegretta0e7a3f52003-01-15 03:06:25 +0000226 - Fixed awful scrolling in do_int_speller. Problem was
227 findnextstr() calling edit_update(), though screen updating
228 is not its business. Added checks in do_search() and
229 do_replace_loop() to do the checks. It really should not be
230 done here, as some function in winio.c should handle this,
231 but I can't seem to find a good place to put this check.
Chris Allegrettad757e252003-01-15 19:33:27 +0000232 - Updated all copyright notices to say 2003 rather than 2002, as
233 nearly all the source files have been worked on this year
234 (DLR).
Jordi Mallach3e5ad632002-12-14 22:15:35 +0000235- configure.ac:
Jordi Mallacha0e829c2003-01-15 17:43:59 +0000236 - Added tr and eu to ALL_LINGUAS (Jordi).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000237 - Fix now inaccurate description of --enable-tiny's effects; it
238 no longer disables NLS support. (DLR)
239 - Fix typo. (David Benbennick)
240 - Check for strcasecmp() and strncasecmp(), since they are
241 apparently only standard under BSD. (DLR)
Jordi Mallach631ee1f2003-01-15 17:40:35 +0000242 - Small cleanups. Add copyright header, add autopoint support and
243 define bug report address and full package name in AC_INIT. Move
244 ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
Chris Allegrettad957f592003-01-17 00:17:45 +0000245 - Added --enable-all option to compile in all the extra stuff
246 we'd normally need extra flags for.
Chris Allegretta7662c862003-01-13 01:35:15 +0000247- color.c:
248 update_color():
249 - Remove an unneeded edit_refresh() call after do_colorinit().
250 (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000251- cut.c:
252 do_cut_text()
253 - Fix a memory corruption problem caused by accessing edittop
254 after it was freed but before it was reset to a sane value
255 from current. (David Benbennick)
256 do_uncut_text()
257 - If uncutting more than one line of unmarked text at editbot,
258 don't center the screen, since Pico doesn't. (DLR)
Chris Allegretta688c8eb2003-01-14 23:36:11 +0000259 - If uncutting previously unmarked text, uncut to end if we're
260 not at the beginning of the line, and set placewewant to 0 if
261 we are. This matches Pico's behavior. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000262- files.c:
Chris Allegretta7662c862003-01-13 01:35:15 +0000263 load_file()
264 - Remove unneeded wmove() call. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000265 read_line()
266 - Miscellaneous cleanups. (David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +0000267 open_file()
268 - If we're in multibuffer mode and there's an error opening the
269 file in read-only mode, display the error message on the
270 statusbar regardless of the value of quiet. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000271 read_file()
272 - Miscellaneous cleanups. (David Benbennick)
273 - Fix len's being off by one when reading in Mac-format files,
274 exposed by one of David Benbennick's cleanups. (DLR)
275 - If NO_CONVERT isn't set when we first enter, and it gets set
276 while reading in the file, unset it again afterwards. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000277 do_insertfile()
278 - If we're in multibuffer mode and there's an error opening the
279 file that we're trying to insert, close the new buffer that we
280 made to hold it and reload the buffer we had open before.
281 (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000282 add_open_file()
283 - Fix minor logic error when determining when to resave fileage
284 and filebot. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000285 load_open_file()
286 - If switching between files when CONSTUPDATE is set, only force
287 a cursor position display update if DISABLE_CURPOS isn't set.
288 This will ensure that the "Switching to [file]" messages are
289 shown. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000290 write_file()
291 - Change lineswritten from a long to an int, to match
292 filestruct->lineno. (DLR; mismatch found by David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +0000293 real_dir_from_tilde()
294 - Since this is needed for proper interpretation of paths
295 containing tildes and not just for tab completion, include and
296 use it regardless of whether tab completion is disabled.
297 (David Benbennick and DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000298 input_tab()
299 - Variable name change: matchBuf -> matchbuf. (DLR)
300 diralphasort()
301 - Remove the HAVE_STRCASECMP #ifdef block; see the changes to
302 configure.ac and nano.h for why. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000303- global.c:
304 thanks_for_all_the_fish()
305 - Miscellaneous cleanups. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000306- move.c:
307 do_page_down()
308 - If there's a page or less of text, do an edit_update() if the
309 mark is on; otherwise, the highlight won't be displayed. (DLR)
David Lawrence Ramsey9e050ad2002-11-04 16:18:52 +0000310- nano.c:
Chris Allegretta7662c862003-01-13 01:35:15 +0000311 - Added free_history() list calls clean up, added init of list
312 headers, and modified statusq() calls (Ken Tyler).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000313 do_prev_word()
314 - Make the assert match that in do_next_word(). (DLR)
315 do_enter()
316 - If smooth scrolling is on, and Enter is pressed on the
317 magicline, don't center the screen. (DLR)
318 do_justify()
319 - Fix memory corruption problem triggered when edittop and
320 current->next pointed to the same value and current->next was
321 destroyed during justification. (DLR)
322 - Center the screen when justification moves the cursor entirely
323 off the bottom of the screen, instead of when it moves the
324 cursor near the bottom of the screen, to more closely match
325 Pico's behavior. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000326 version()
327 - Remove obsolete reference to --enable-undo. (David Benbennick)
Chris Allegrettae6600372003-01-17 03:39:41 +0000328 - Move up check for --disable-nls as it's independent of
329 --enable-tiny now (DLR).
Chris Allegretta5ad92ac2002-12-09 00:58:51 +0000330 do_int_speller()
Chris Allegretta5af58892003-01-17 21:07:38 +0000331 - Make internal spell program use sort -f and uniq to create a
332 less redundant word list. [The only reason this is going in
333 during feature freeze is because the int speller is useless as
334 is and should either be improved or removed. I chose
335 improved].
Chris Allegretta3f1b6852003-01-12 23:54:05 +0000336 - Change all child error checks to use one goto (gasp!) called
337 close_pipes_and_exit, so we don't leak FDs.
Chris Allegretta2d5fc3a2003-01-16 03:11:23 +0000338 - Fix FD leaks which occur outside of errors (David Benbennick).
Chris Allegretta334a9402002-12-16 04:25:53 +0000339 do_int_speller(), do_alt_speller()
340 - Programs now return char *, NULL for successful completion,
341 otherwise the error string to display. This allows us to give
342 more useful feedback to the user when spell checking fails.
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000343 ABCD()
344 - Renamed abcd(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000345 main()
346 - Remove an unneeded do_colorinit() call, do major cleanups, and
347 allow loading of multiple files on the command line when
348 multibuffers are used. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000349- nano.h:
350 - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same
351 value. (DLR; discovered by Ken Tyler)
352 - If strcasecmp() and/or strncasecmp() aren't available, use
Chris Allegretta7662c862003-01-13 01:35:15 +0000353 strcmp() and/or strncmp() instead. (DLR)
354- proto.h:
355 - Fix the #ifdef block for DISABLE_TABCOMP's being undefined
356 so that functions only used with tab completion are properly
357 #ifdef'ed out. (DLR)
358- search.c:
Chris Allegretta2ad0f6c2003-01-16 03:51:02 +0000359 do_gotoline()
360 - Don't call blank_statusbar_refresh() so if there's an error
361 returned in multibuffer mode, we can actually see it.
Chris Allegretta688c8eb2003-01-14 23:36:11 +0000362 do_search()
363 - Remove erroneously introduced near-duplicate call to
364 update_history(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000365 print_replaced()
366 - Remove and replace with an equivalent ngettext() call. (DLR)
367 do_replace_loop()
368 - Fix bug where if text on the magicline was replaced (which can
369 be done via a regexp replace of "^$" with something other than
370 ""), a new magicline wouldn't be created. (DLR)
Chris Allegrettaca7113a2003-01-14 23:35:24 +0000371 - Remove check for answer being a blank string, presumed to be
372 a PICO_MODE holdover, but it stops us from doing a blank
373 spelling replacement.
Chris Allegretta7662c862003-01-13 01:35:15 +0000374 do_replace()
375 - For greater Pico compatibility, when an attempt to replace a
376 string results in 0 replacements due to the string's not being
377 found, display "[string] not found" instead of "Replaced 0
378 occurrences". (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000379- utils.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +0000380 is_cntrl_char()
381 - Rework to fix a problem with displaying certain high-bit
382 characters. (David Benbennick; reported by Andrzej Marecki)
Chris Allegretta7662c862003-01-13 01:35:15 +0000383 align()
384 - Don't just assert that the string passed in isn't NULL; check
385 that it isn't and only do the alignment when it isn't. (David
386 Benbennick)
387 nmalloc(), nrealloc()
388 - If the size passed to nmalloc() or nrealloc() is zero, don't
389 die with an erroneous out-of-memory error. Also, change
390 their dying messages to "nano is out of memory!". (David
391 Benbennick)
392 charalloc()
393 - Removed and redefined as a macro that calls nmalloc(). (David
394 Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000395- winio.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +0000396 nanogetstr()
397 - Tweak to make the cursor stay in the same place if we hit a
398 prompt-changing toggle while it's in the middle of the string.
Chris Allegretta5af58892003-01-17 21:07:38 +0000399 Reset it to -1 (so next time we come here, it'll be set to the
400 end of the string) if we leave the prompt via Enter or Cancel.
Chris Allegretta09fc4302003-01-16 22:16:38 +0000401 Also fix minor problem with search history where the current
402 search item could be at the bottom of the history twice in a
403 row under certain conditions. (DLR)
Chris Allegretta327abda2003-01-17 05:04:17 +0000404 - Remove parens in NANO_CONTROL_I check so nano won't complain if
405 just NANO_SMALL is defined (David Benbennick).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000406 edit_refresh()
407 - Miscellaneous cleanups that fix a bug where the screen
408 isn't updated after uncutting chunks of upwardly marked cut
409 text that are over a page in length. (David Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000410 do_credits()
411 - Add David Benbennick to credits. (DLR)
412- nanorc.sample:
413 - Added comment to explain the non-escaping of quotes in
414 color regexes, based on info provided by David Benbennick.
415 (DLR)
Chris Allegrettaed4fb2c2003-01-11 01:14:07 +0000416 - Added some examples for groff and the nanorc courtesy of
417 Robert D. Goulding.
418 - Added double hash marks to comment lines, so people who
419 uncomment the beginning of every line won't get syntax errors.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000420- faq.html:
Chris Allegretta7662c862003-01-13 01:35:15 +0000421 - Miscellaneous fixes and updates for typos, broken links, and
422 slashes at the end of directories. It is now fully compliant
423 with HTML 4.01 Transitional. (DLR and David Benbennick)
Chris Allegretta3f8a63c2003-01-17 02:49:23 +0000424 - Added docs about the new unified search string interface and
425 search histories, and added --enable-all into configure docs.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000426- nano.texi:
427 - Typo fixes and updates. (David Benbennick)
Chris Allegretta9fa5fbd2003-01-13 02:56:29 +0000428 - Updates for the most recent and not so recent changes.
Chris Allegrettaf9ab3f72003-01-17 03:06:28 +0000429- nano.1, nano.1.html
430 - Updated for the --preserve and --historylog options.
Chris Allegretta916a8ec2003-01-05 21:51:16 +0000431- TODO
432 - Added some wishlist stuff.
Jordi Mallach3e5ad632002-12-14 22:15:35 +0000433- THANKS:
Jordi Mallacha0e829c2003-01-15 17:43:59 +0000434 - Added Doruk Fisek and Peio Ziarsolo (Jordi).
Chris Allegrettae8ad5ed2002-10-25 03:15:48 +0000435
Chris Allegretta22578932002-10-25 03:14:11 +0000436GNU nano 1.1.12 - 10/24/2002
Jordi Mallachdab02992002-10-06 23:35:19 +0000437- General:
438 - Translation updates (see po/ChangeLog for details).
Chris Allegretta1dd0bc92002-10-13 18:43:45 +0000439 - Remove malloc.h, as it's unneeded and just causes annoyances on
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000440 *BSD systems. Added stdlib.h to global.c.
Chris Allegretta1dd0bc92002-10-13 18:43:45 +0000441 - Added Meta-Y toggle to disable/enable color syntax highlighting
442 completely. This may eventually be per-buffer, but that's too
443 complicated for a feature freeze.
Chris Allegrettae42df732002-10-15 00:27:55 +0000444 - Disable VSTOP keystroke. Stops people accidentally locking up
445 nano (suggested by David Benbennick).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000446 - Pluralize messages with ngettext() where needed. (David
Chris Allegrettad45c5992002-10-25 01:41:31 +0000447 Benbennick) Tweaked to compile on systems lacking ngettext()
448 by DLR (problem found by Ken Tyler).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000449 - Update nano.1 and nano.1.html to show that nano now does an
450 emergency save on receiving SIGHUP or SIGTERM. (DLR)
451 - Don't include "nowrap" in the long options if
452 DISABLE_WRAPPING is defined. (DLR)
453- files.c:
454 read_file()
455 - Minor efficiency fixes, some of which fit in with the change
456 to ngettext() usage mentioned above. (David Benbennick)
457 do_browser()
458 - Make sure the value of path is mallocstrcpy()ed into retval
459 and not just assigned to it, to avoid memory corruption
460 problems. (DLR)
461- nano.c:
Chris Allegretta2a15c582002-10-25 01:51:13 +0000462 version()
463 - If ENABLE_NLS isn't defined, display "--disable-nls"
464 (suggested by Ken Tyler). (DLR)
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000465 justify_format()
466 - Make sure the double space maintained after sentence-ending
467 punctuation is done when that punctuation is immediately
468 followed by a bracket-type character, so justifying e.g.
469 sentences in parentheses works properly. (David Benbennick)
470 handle_hup()
471 - Renamed handle_hupterm() to show that it now handles SIGTERM
472 as well as SIGHUP. (DLR)
473 signal_init()
474 - Do an emergency save on receiving either SIGHUP or SIGTERM,
475 not just SIGHUP. (David Benbennick)
476 main()
477 - Fix a problem where control key commands were printed
478 literally instead of interpreted after a failed search of a
479 one-line file. (David Benbennick)
480- proto.h:
481 handle_hup()
482 - Renamed handle_hupterm(); see above for why. (DLR)
483- winio.c:
484 edit_add()
485 - Fix a potential infinite loop occurring with certain
486 zero-length regexes. (David Benbennick)
Chris Allegretta71fb1f52002-10-02 00:21:31 +0000487
Chris Allegretta136a38a2002-10-02 00:05:40 +0000488GNU nano 1.1.11 - 10/01/2002
Jordi Mallach25daa052002-07-29 00:16:38 +0000489- General:
490 - Translation updates (see po/ChangeLog for details).
Jordi Mallach1f1022f2002-08-21 18:19:53 +0000491 - Upgraded to gettext 0.11.5 (Jordi).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000492 - Updated nano.1, nano.1.html, and nano.texi to fix an
493 inaccuracy in the description of -Q/--quotestr. (DLR)
494 - Set REG_EXTENDED in all regcomp() calls. (DLR)
495 - Minor cosmetic code cleanups. (DLR)
Chris Allegrettaf7c68112002-09-03 22:58:40 +0000496 - Changed do_insertfile to (a) report multibuffer status at the
497 prompt and allowing it to be toggled, taking into account the
498 need to keep the translatable strings, and (b) added a
499 variable inspath to keep track of what the string was before
500 toggling. I'm sure there's bugs, have at it.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000501 - Make sure all functions have prototypes in proto.h, and swap
502 some functions around to put similar functions closer
503 together (for this, rename clear_bottombars() to
504 blank_bottombars()). (DLR; suggested by David Benbennick)
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000505 - More changes of char *'s to const char *'s when possible.
506 (David Benbennick)
507 - Fix various minor memory leaks in files.c. (David Benbennick)
508 - Fix minor problems with the operating directory code: set the
509 operating directory properly if it's specified only in a
510 nanorc file, and handle an operating directory of "/"
511 properly. New function init_operating_dir() to handle
512 setting it both on the command line and in the nanorc file.
513 (David Benbennick)
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +0000514 - Major rewrite of color and screen update routines to fix
515 minor bugs and increase efficiency. New function
516 set_colorpairs() for the former. (David Benbennick)
Jordi Mallachcb7c8d82002-07-27 02:49:46 +0000517- configure.ac:
518 - Added pt_BR to ALL_LINGUAS (Jordi).
Chris Allegretta82559b32002-08-22 01:12:41 +0000519 - Changed --enable-color warning to be slightly less severe.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000520 - Put the configure options in more or less alphabetical order,
521 and remove --enable-undo, since it doesn't do anything. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +0000522- files.c:
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000523 open_file()
524 - String change: "File "x" is a directory" -> ""x" is a
525 directory". (Jordi)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000526 do_insertfile()
527 - Disallow multibuffer toggling at the "Insert File" prompt if
528 we're in both view and multibuffer mode, so as to keep proper
529 integration between the two, and make sure the toggle
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000530 actually works all the time otherwise. Also, make sure
531 TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and
532 ENABLE_MULTIBUFFER are both defined. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000533 open_prevfile_void(), open_nextfile_void()
534 - Return the return values of open_prevfile() and
535 open_nextfile(), respectively, instead of (incorrectly)
536 calling them and returning 0. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +0000537 real_dir_from_tilde()
538 - Rework to use getpwent() exclusively and end reliance on
539 $HOME. Adapted from equivalent code in do_rcfile(). (DLR)
540 input_tab()
541 - Most likely fixed the check marked with FIXME, so that tab
542 completion works properly when we're trying to tab-complete a
543 username and the string already contains data. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000544- global.c:
545 shortcut_init()
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000546 - Disable the new multibuffer toggle at the file insertion
547 prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both
548 defined. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000549 thanks_for_all_the_fish()
550 - Make sure the reference to help_text is #ifdefed out when
551 --disable-help is used. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000552- move.c:
553 page_up()
554 - Fix bug where current is moved up two lines when the up arrow
555 is pressed on the top line of the edit window; this causes a
556 segfault is the top line in the edit window is the second
557 line of the file, as the line current ends up on doesn't
David Lawrence Ramsey768e8f02002-08-22 04:03:45 +0000558 exist. (Jeff DeFouw)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000559 do_down()
560 - Fix bug where, if the last line in the edit window is the
561 line before the magicline, and smooth scrolling is turned
562 off, pressing the down arrow on that last line centers the
563 cursor without updating the edit window. (Jeff DeFouw)
Chris Allegrettad865da12002-07-29 23:46:38 +0000564- nano.c:
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000565 version()
566 - Put the listed configure options in more or less alphabetical
567 order. (DLR)
568 open_pipe()
569 - If we're in view mode here (in which case we're also in
570 multibuffer mode), don't set the modification flag. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +0000571 do_next_word(), do_prev_word()
572 - If we're on the last/first line of the file, don't center the
573 screen; Pico doesn't in the former case. (DLR)
574 do_backspace()
575 - Rework to call edit_refresh() regardless of the value of
576 current_x if ENABLE_COLOR is defined, so that multiple-line
577 color regexes are properly updated onscreen as they are in
578 do_delete(). (DLR)
579 do_delete()
580 - Rework to only call edit_refresh() unconditionally if
581 ENABLE_COLOR is defined; if it isn't, and we're not deleting
582 the end of the line, only call update_line(). (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000583 do_wrap()
584 - Make sure wrapping is done properly when the number of
585 characters on the line is exactly one over the limit. (David
586 Benbennick)
Chris Allegretta0ae5c722002-09-19 23:20:26 +0000587 - Restore the previous wrapping point behavior (pre 1.1.10)
Chris Allegretta43000922002-09-21 15:41:33 +0000588 (David Benbennick). Minor fix by DLR to prevent spaces from
589 being added to the ends of lines ending in spaces or lines
590 ending in tabs (the latter case found by David Benbennick).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000591 do_alt_speller()
592 - Readd DLR's fix to preserve marking when using the alternate
593 spell checker; it was accidentally dropped. (David
594 Benbennick)
595 do_justify()
596 - Fix cosmetic problems caused when justifying on the
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000597 magicline, and a minor problem where the cursor would
598 sometimes be moved to the wrong line after justification.
599 (David Benbennick)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +0000600 main()
601 - When searching through the main shortcut list looking for a
602 shortcut key, stop searching after finding one; this avoids a
603 rare segfault. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000604- nano.h:
605 - Change search toggles for case sensitive searching and regexp
606 searching to M-C and M-R, respectively. (DLR; suggested by
607 Chris)
Chris Allegretta515ba322002-09-14 21:16:40 +0000608 - Add support for HP-UX's curses, which doesn't seem to support
609 KEY_HOME and KEY_END.
Chris Allegretta79cdfdc2002-08-22 02:58:55 +0000610- nanorc.sample:
611 - Fix the c-file regex for all caps words to be extended regex
612 format ({} instead of \{\}) (found by DLR).
Chris Allegretta3f9c3bf2002-09-18 00:00:12 +0000613 - Add a better string matching sequence that includes escaped
614 quotes (thanks to Carl E. Lindberg, who doesn't even know he
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +0000615 helped ;-). Some unneeded \'s in that sequence removed, and
616 a new sequence to handle multi-line quotes added, by David
617 Benbennick.
Chris Allegretta136a38a2002-10-02 00:05:40 +0000618 - Add some examples for HTML and TeX files (David Benbennick).
Chris Allegrettade852622002-09-18 00:28:57 +0000619- rcfile.c:
620 parse_colors()
621 - Stop infinite loop when syntax doesn't begin with " char.
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +0000622- utils.c:
623 charalloc()
624 - Switch from using calloc() to using malloc(). (David
625 Benbennick)
David Lawrence Ramsey605165e2002-09-11 01:48:14 +0000626- faq.html:
627 - Typo fix. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000628- AUTHORS:
629 - Add David Benbennick. (Jordi and Chris)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +0000630- TODO:
631 - Add entry in the 1.4 section for Pico's paragraph searching
632 ability (at the search prompt, ^W goes to the paragraph's
633 beginning, and ^O goes to the paragraph's end). (DLR)
Chris Allegretta52069c62002-07-25 22:27:50 +0000634
Chris Allegretta720a9e02002-07-25 22:26:33 +0000635GNU nano 1.1.10 - 07/25/2002
Jordi Mallachcb7c8d82002-07-27 02:49:46 +0000636- General:
Jordi Mallach1f226872002-05-13 15:05:38 +0000637 - Translation updates (see po/ChangeLog for details).
Jordi Mallach790d3622002-06-03 12:44:05 +0000638 - Upgraded to gettext 0.11.2 (Jordi).
Jordi Mallachbd338652002-06-03 12:32:28 +0000639 Removed intl/ entirely, and a few more tweaks by gettextize.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000640 - i18nized a few strings used in DEBUG mode. (DLR)
641 - Some chars being assigned 0 are now assigned '\0'. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000642 - Put header file #includes in a more consistent order. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000643 - Remove some unneeded blank lines and spaces, and make some
644 spacing more consistent. (DLR)
645 - When possible, use iscntrl() to determine whether a character
646 is a control character or not. (DLR)
647 - Miscellaneous typo fixes. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000648 - Many fixes to the help browser and shortcut lists: efficiency
649 updates, consistency fixes, help text fixes and improvements,
650 and spacing improvements. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000651 - Make some functions use const variables when possible, and
652 also make them static when necessary. (David Benbennick,
653 necessary redefined by Chris ;-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000654 - Add Carl Drinkwater's backup file option (-B or --backup on the
655 command line, M-B in nano's global shortcuts). If the original
656 file is unchanged from when it was loaded, it is backed up to
657 filename~; if the original file has been changed or deleted
658 since it was originally loaded, it isn't backed up. The backup
659 file retains the permissions, owner/group, and
660 access/modification times of the original file. This option is
661 disabled when --enable-tiny is used. It will not back up
662 temporary files. Minor fixes to it by David Benbennick and
663 DLR. Changes to open_file(), add_open_file(),
664 load_open_file(), write_file(), and do_writeout().
665 - Add \n's to the ends of "filename is %s" debugging strings.
666 (Carl Drinkwater)
667 - Add the long option --quotestr as an alternative for -Q, and
668 --regexp as an alternative for -R; they were listed in nano's
669 usage information, but weren't actually in nano. Also, display
670 "-?" as an alternative for "-h" in nano's usage information,
Chris Allegretta6df90f52002-07-19 01:08:59 +0000671 put the command line options in a more consistent (i.e. mostly
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000672 alphabetical) order in nano, put the long options in a more
673 consistent order in rcfile.c and nanorc.sample, don't include
674 rcfile options if their equivalent command line options are
675 disabled, and remove obsolete relative option from
676 nanorc.sample. (DLR)
677 - Change "File Name to Append/Prepend" to "File Name to
678 Append/Prepend to". The original prompt could confusingly
679 imply that we are appending/prepending another file to the
680 current file, when we are actually appending/prepending the
681 current file to another file. (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000682 - Put nano.1, nano.1.html, and nano.texi up to date, and fix a
683 few inconsistencies in them. (DLR)
684 - Typo fixes for the ChangeLog. (David Benbennick and DLR)
685 - Complete rewrite of justification code to fix some bugs and
686 improve its functionality. (David Benbennick)
687 - If a variable isn't going to be used in tiny mode, #define it
688 out when possible. (David Benbennick)
689 - Major reworking of the cutting/screen-updating code in cut.c,
690 some functions in utils.c, the cursor placement code in
691 winio.c, and many, many other areas to increase efficiency.
692 (David Benbennick)
693 - Rework handling of prompts when there's a list of partial
694 filename matches on the screen: remove kludgy case-by-case
695 handling (which didn't even handle every case), and have
696 statusq() handle it directly for all cases. (David Benbennick
697 and DLR)
698 - Fix some warnings and errors that show up when using gcc's
699 -pedantic option. (DLR)
700 - Add a comment to nanorc.sample warning that an out-of-range
701 negative value for fill can make nano die complaining that
702 the screen is too small (which may not be immediately
Chris Allegrettad865da12002-07-29 23:46:38 +0000703 obvious). (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000704 - There were some opendir() calls in files.c without
705 corresponding closedir() calls; add them. (DLR)
706 - Move align() and null_at() from nano.c to utils.c, and move
707 the openfilestruct handling functions from nano.c to files.c.
708 (DLR)
709 - In color.c, start the "#ifdef ENABLE_COLOR" block after
710 including all the header files, as rcfile.c does; this fixes
711 a warning about ANSI C'S inability to handle blank files.
712 (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +0000713 - Add new function is_cntrl_char() as a wrapper for iscntrl();
714 this is needed to treat ASCII 0x80-0x9f as control characters
715 consistently. (Without this, they will only be treated as
716 such when gettext is used; when it isn't used, they will be
717 printed as-is and be interpreted as commands by xterm, which
718 will corrupt the display.) (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000719 - Add command line option -I/--ignorercfiles to ignore
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000720 $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater). Fix to
721 parsing getopt args (DLR).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000722 - Fix minor bugs with importing certain text files in Mac
723 format. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000724- files.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +0000725 append_slash_if_dir(), input_tab()
726 - Changed variable names: lastWasTab -> lastwastab, matchBuf ->
727 matchbuf. (DLR)
728 check_operating_dir()
729 - Memory leak fix. (David Benbennick)
730 check_writable_directory()
731 - Optimizations (David Benbennick).
732 cwd_tab_completion()
733 - Changed a variable name: dirName -> dirname. (DLR)
734 do_browser()
735 - Optimizations and mouse selection fixes (David Benbennick).
736 do_writeout()
737 - Fix problem with formatstr's being defined as NULL when
738 --enable-tiny is used. Since formatstr isn't ever used in tiny
739 mode, don't bother even creating the variable. (David
740 Benbennick and DLR)
741 do_insertfile()
742 - Memory leak fix (accidentally dropped 1st time).
743 (David Benbennick).
744 get_full_path()
745 - Memory leak fix. Also, make it properly interpret ~/ notation
746 so, among other things, the option "--operatingdir ~" works.
747 (David Benbennick)
748 - More optimizations (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000749 new_file()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000750 - Make sure current_x is zero; this fixes a problem where the
751 current cursor position wasn't reset when reading in a file in
752 multibuffer mode. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000753 - Use make_new_node rather than setting up fileage by hand
754 (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000755 read_file(), read_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000756 - Rework to properly handle nulls in the input file, fix
757 detection of binary files to properly mark a file as binary if
758 the only binary characters it contains are ASCII 127's, and
759 after reading the last line of a file that doesn't end in a
760 newline, increment totsize. Remove previous kludge to set
761 totsize properly. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000762 write_file()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000763 - Rework to properly handle nulls in the input file. When
764 appending/prepending, don't change the current file's name to
765 the name of the file it's being appended/prepended to. When
766 writing a marked selection to a file, save and restore totsize
767 so it isn't decreased by the size of the selection afterward.
768 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000769 - Optimizations (David Benbennick).
Chris Allegretta6fe98d72002-05-16 23:30:14 +0000770- global.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000771 free_toggles()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000772 - Only include if we're not using tiny mode. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000773 toggle_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000774 - Remove global entries for search toggles, as they aren't really
775 global. (DLR)
776 - Don't reinititialize the toggles if they've already been
777 initialized; it's unnecessary and even causes a segfault in
778 do_toggle() if Pico emulation mode is the toggle in question.
779 Don't free the toggles here, either; it's unnecessary after the
780 above change. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000781 - If wrapping is disabled, don't include the toggle for it.
782 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000783 shortcut_init()
Chris Allegretta6fe98d72002-05-16 23:30:14 +0000784 - Rework IFHELP macro (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000785- move.c
786 page_down(), page_up()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000787 - Put sanity checks for current_x back in, to avoid rare
788 segfaults (oops). Now, however, they are only called when
789 placewewant is zero instead of being called unconditionally;
790 see changes to winio.c:actual_x_from_start() below. (DLR)
Jordi Mallach790d3622002-06-03 12:44:05 +0000791- nanorc.sample:
Chris Allegretta5c6379d2002-05-18 03:13:03 +0000792 - Put in much less crappy example regex rules for c-file.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000793- nano.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +0000794 clear_filename()
795 - Remove this function, as it has unneeded functionality, is
796 short enough to be inlined, and is only called in two spots
797 anyway. (DLR)
798 die()
799 - Rework slightly to remove redundant printing of last message
800 and print all messages after resetting the terminal. (DLR)
801 do_backspace()
802 - Make sure placewewant is set properly, and that the mark is
803 moved backwards. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000804 do_char()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000805 - Fix a problem where, if ENABLE_COLOR wasn't used, typing
806 characters on a marked line before the beginning of the mark
807 would make the highlight short by one. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000808 do_cont()
809 - Handle the case where the window was resized while we were
810 stopped. (David Benbennick)
811 do_delete()
812 - Make sure placewewant is set properly, to match Pico's
813 behavior. (DLR)
814 do_int_spell(), do_alt_spell()
815 - Rework to save the marked selection before doing spell checking
816 and restore it afterward. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000817 do_next_word(), do_prev_word()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000818 - Fix a problem where highlighting isn't done properly after
819 calling either of these, and another problem where the cursor
820 would move back too far in certain cases with do_prev_word().
821 (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000822 do_toggle()
823 - Since the search mode toggles aren't global anymore, we don't
824 need to explicitly block them here anymore (which will end up
825 blocking the global backup mode toggle, which is the same as
826 the backwards search toggle). (DLR)
827 do_wrap()
828 - fill fixes and 'two short word wrap' bug (David Benbennick).
829 global_init()
830 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000831 handle_sigwinch()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000832 - Make sure we adjust fill when the window is resized. (David
833 Benbennick)
834 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000835 help_init()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000836 - Since the return value of snprintf() isn't well defined, use
837 sprintf() instead. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000838 main()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000839 - Rework to blank out filename manually before doing anything
840 with it, instead of calling clear_filename() in two places.
841 Make startline an int instead of a long, since it's supposed to
842 hold a line number. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000843 - Properly handle multiple -r settings on the command line. (Carl
844 Drinkwater)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000845 - Fix a bug that prevented file insertion via the Insert key
846 from working at all when --enable-multibuffer wasn't used
847 (oops). (DLR)
848 - Adapt David Benbennick's fix to get fill to accept negative
849 numbers properly in parse_rcfile() (see below) to the
850 handlers for the -r and -T options as well, so that -r/-T 0
851 can be treated separately from -r/-T string. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +0000852 - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space.
853 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +0000854 usage()
855 - List the options that are ignored for the purpose of Pico
856 compatibility, and make some minor consistency fixes. (DLR)
Chris Allegrettac46337b2002-07-23 00:34:48 +0000857- nano.h:
858 - Fix some space/tab formatting for flags (DLR).
Chris Allegretta6df90f52002-07-19 01:08:59 +0000859- proto.h:
860 - Remove external declaration of the global int fill, since
861 it's now static. (DLR)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000862- rcfile.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000863 parse_rcfile()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000864 - Add David Benbennick's fix that allows fill to accept
865 negative numbers properly. Specifically, use strtol() there
866 instead of atoi() so that errors can be detected. Also
867 adapted for tabsize by DLR.
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000868 parse_next_regex(), colortoint()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000869 - Only include if ENABLE_COLOR is defined. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000870- search.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000871 search_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000872 - Since the search mode toggles aren't global anymore, rework the
873 part of this function referencing them so that they still work.
874 (DLR)
875 - Remove unneeded toggles variable. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +0000876 - Fix a problem where the first character of buf was overwritten
877 if the last search string was one third the number of columns
878 plus one. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000879 findnextstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000880 - Update the current line at current_x if we don't find a match.
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000881 Also, pass current_x_find to strstrwrapper() so we know whether
882 we're at the beginning of a string or not (see changes to
883 strstrwrapper() below), and reset it between lines. (DLR)
884 do_gotoline():
885 - Make sure placewewant is zero after we go to a line. (David
886 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000887 do_gotopos()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000888 - Simplify the sanity check to only put x within the range of the
889 current line; don't call actual_x() anymore. (DLR)
890- utils.c:
891 - Add sunder() and unsunder(). These functions convert nulls
892 other than the terminating null in strings to newlines and
893 back; they're used to handle null characters in files properly.
894 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000895 lowercase()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000896 - Remove, since it isn't actually used anywhere. (David
897 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000898 strstrwrapper()
899 - Set REG_NOTBOL when we're not at the beginning of a
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000900 string, to avoid false positives when searching for regular
901 expressions prefixed with ^. Make it take a new parameter,
902 line_pos, to determine where we are in the string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000903 check_wildcard_match()
Chris Allegretta6df90f52002-07-19 01:08:59 +0000904 - Changed variable names: retryPat -> retrypat, retryText ->
905 retrytext. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000906- winio.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000907 actual_x_from_start()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000908 - Overhaul to make cursor placement more like that of Pico: add
909 sanity check for i, and then place i as close to the value of
910 xplus column as possible. This change is most noticeable when
911 moving down through binary files. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000912 do_credits()
913 - Fix for the i18ned credits so it will compile with -pedantic
914 (DLR & Chris).
Chris Allegretta079b5492002-09-19 23:54:53 +0000915 do_help()
916 - Add support for the handled keyboard escape sequences in the
917 help menu, as they are needed with some terminals (e.g. xterm
918 with TERM=ansi). (DLR)
919 edit_refresh()
920 - Turn on leaveok() so the cursor doesn't bounce around the
921 screen while we're updating it (most noticeable when using
922 color syntax over a very slow connection).
923 do_replace_highlight()
924 - When using regexps, make sure the highlight is the length of
925 the search result and not the regexp string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000926 nanogetstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000927 - After the user presses Enter at the prompt, refresh the edit
928 window in case there's a list of possible filename matches
929 (left over from attempted tab completion) on it. (DLR)
Chris Allegretta079b5492002-09-19 23:54:53 +0000930 statusbar()
931 - Limit statusbar display to the number of columns less four, and
932 don't allow it to go over its original row. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000933 titlebar()
David Lawrence Ramseyc5967552002-06-21 03:20:06 +0000934 - Tweak text spacing and printing so that the titlebar text looks
935 better on smaller terminals. (Carl Drinkwater)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000936 update_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000937 - When marking control characters, make sure the mark moves
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000938 forward by two characters instead of one. Rework control
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +0000939 character display routine to display newlines within the line
940 (which should never occur under normal circumstances; they will
941 only be there if the line had nulls in it and was unsunder()ed
942 beforehand) as ^@'s. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +0000943 - Fix to properly treat ASCII 128-159 as control characters.
944 (DLR)
Jordi Mallach7d401342002-07-05 23:46:31 +0000945- configure.ac:
946 - Added ms to ALL_LINGUAS (Jordi).
947 - Merged acconfig.h in (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +0000948 - Fixed so that --enable-debug defines DEBUG and undefines
949 NDEBUG. (Carl Drinkwater)
Jordi Mallach790d3622002-06-03 12:44:05 +0000950- THANKS:
951 - Completed a bit (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +0000952 - Fixed David Benbennick's email address. (David Benbennick)
953 - Typo fix. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +0000954
Chris Allegretta8b75a782002-05-13 00:09:30 +0000955GNU nano 1.1.9 - 05/12/2002
Chris Allegretta7162e3d2002-04-06 05:02:14 +0000956- General:
957 - Typos n misspellings all over the place (David Benbennick).
958 - Allow --tiny and --multibuffer to cooperate (who the heck
959 would want this is beyond me but ;-). Changes to
960 configure.ac, global.c, , (David Benbennick).
Chris Allegrettaf2387fb2002-04-10 02:31:20 +0000961 - Change to openfilestruct for multibuffer mode by DLR.
962 New functions nano.c:make_new_opennode(), free_openfilestruct(),
963 delete_opennode(), unlink_opennode(), splice_opennode(),
964 new struct openfilestruct in nano.h.
Chris Allegretta0e9b7aa2002-04-16 03:15:47 +0000965 - Preliminary prepend code. This may be a bad idea, but I've
966 been wanting it for awhile now and we'll see how bad it messes
967 everything up. Changes to files.c:do_writeout(), write_file().
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000968 Fixes for O_CREAT & append compatibility by David Benbennick.
Chris Allegretta0547eb32002-04-22 23:52:34 +0000969 - Change from read() and write() to file streams by Jay Carlson.
970 Allows OS to implement read and write ahead rather than making
971 us do it. Hopefully merged properly.
Chris Allegrettadab017e2002-04-23 10:56:06 +0000972 - More cleanups with DISABLE flags, better free_shortcutage and
973 free_toggle, and get rid of unnecessary variable decls with
974 NANO_SMALL in shortcut_init() by David Benbennick.
Chris Allegrettab6c5dc22002-05-04 03:47:33 +0000975 - Added "syntax" command to .nanorc file, to allow multiple
976 syntaxes. New function color.c:update_color(), calls in various
977 files.c places, syntaxtype struct, global variables syntaxes,
Chris Allegretta21c433d2002-05-04 04:24:29 +0000978 syntaxfile_regexp and synfilematches. Global flag -Y ,--syntax
Chris Allegretta09900ff2002-05-04 04:23:30 +0000979 to specify the type on the command line, if there's no good
980 filename regex to use. Global variable syntaxstr.
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000981 - Changed many strcmp()s and strcpy()s to their equivalent
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +0000982 '\0' counterparts (David Lawrence Ramsey).
983 - Many changes to allow marked cutting to work with multiple
Chris Allegretta4dc03d52002-05-11 03:04:44 +0000984 file buffers: changes to openfilestruct type in nano.h and
985 files.c (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +0000986 - Changed NANO_SMALL to ENABLE_NLS for gettext disabling
987 (David Benbennick).
988 - Move next_key and pev_key definitions out of main() and into
989 global.c where they belong (David Benbennick).
Chris Allegretta5e76fe92002-05-12 20:54:16 +0000990- color.c:
991 update_color()
992 - Add regfree call here to avoid memory leaks.
Chris Allegretta7162e3d2002-04-06 05:02:14 +0000993- configure.ac:
994 - Define NDEBUG to silence asserts (David Benbennick).
995- files.c:
996 get_next_filename()
997 - Optimizations (David Benbennick).
998- global.c:
999 shortcut_init()
1000 - Add missing free_shortcutage()s (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00001001 thanks_for_all_the_fish()
1002 - Only defined when using DEBUG, makes sense (David Benbennick).
Chris Allegretta7162e3d2002-04-06 05:02:14 +00001003- nano.c:
1004 die_save_file()
1005 - Add missing free (David Benbennick).
1006 do_justify()
1007 - Optimizations (David Benbennick).
1008 do_wrap()
1009 - Complete rewrite (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00001010 help_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001011 - A little less readable, a lot shorter :-) (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00001012 - Fix Meta-A not getting capitalized, and convert the ASCII
1013 #s to their character equivalent.
Chris Allegretta7c27be42002-05-05 23:03:54 +00001014 main()
1015 - Changed charalloc(), strcpy()s to mallocstrcpy()s.
Chris Allegretta66f373f2002-04-05 23:33:09 +00001016- nano.h:
1017 - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol)
1018 (David Benbennick).
Chris Allegretta8902eba2002-03-30 18:02:54 +00001019- nano.spec.in:
1020 - Don't put Chris' name as the Packager in the distribution
1021 by default (Im an idiot).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001022 - Fixed Source line (David Lawrence Ramsey).
Jordi Mallach42c64052002-04-30 02:33:14 +00001023- nano.1:
1024 - Changed references to Debian GNU/Linux to Debian GNU (Jordi).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001025- nano.1.html:
1026 - Updated for -Y option (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00001027- rcfile.c:
Chris Allegretta7c27be42002-05-05 23:03:54 +00001028 - Made some rc file errors less fatal.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001029 - Added in my patch for getpwent instead of relying on $HOME
1030 (David Lawrence Ramsey).
Chris Allegretta7c27be42002-05-05 23:03:54 +00001031- winio.c:
1032 edit_add()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001033 - Changed some syntax highlight computations for the sake of COLS.
Chris Allegretta3674c1d2002-05-12 20:43:49 +00001034 - Add in the necessary regfree() calls to stop nano from leaking
1035 memory like a sieve when using color syntax highlighting :-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001036 bottombars(), onekey()
Chris Allegretta6232d662002-05-12 19:52:15 +00001037 - Cleanups (David Benbennick).
Jordi Mallach0ab011f2002-04-05 11:25:00 +00001038- po/gl.po:
1039 - Galician translation updates (Jacobo Tarrio).
1040- po/de.po:
1041 - German translation updates (Michael Piefel).
1042- po/fr.po:
1043 - French translation updates (Jean-Philippe Guérard).
1044- po/ca.po, po/es.po:
1045 - Catalan and Spanish translation updates (Jordi).
Jordi Mallachb18bc692002-04-10 16:26:17 +00001046- po/sv.po:
1047 - Swedish translation updates (Christian Rose).
Jordi Mallachd301e102002-04-13 14:46:26 +00001048- po/nl.po:
1049 - Dutch translation updates (Guus Sliepen).
Jordi Mallach7f80e662002-04-13 16:31:03 +00001050- po/it.po:
1051 - Italian translation updates (Marco Colombo).
Jordi Mallach0417a7b2002-04-19 21:59:35 +00001052- po/ru.po, po/uk.po:
1053 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach934b76b2002-04-25 22:24:48 +00001054- po/id.po:
1055 - Indonesian translation updates (Tedi Heriyanto).
Jordi Mallachca76fa92002-05-05 15:04:26 +00001056- po/sv.po:
1057 - Swedish translation updates (Christian Rose).
Chris Allegretta06d62372002-03-30 16:51:38 +00001058GNU nano 1.1.8 - 03/30/2002
Chris Allegrettabef12972002-03-06 03:30:40 +00001059- General
1060 - Type misalignments and mem leaks in renumber_all, do_justify
1061 and do_spell (Rocco & Steven Kneizys).
Chris Allegrettabb88ece2002-03-25 13:40:39 +00001062 - New "External Command" code, originally by Dwayne Rightler,
Chris Allegretta77777d42002-03-29 16:31:29 +00001063 various fixes and changes by Chris, Rocco and David Benbennick.
1064 New function nano.c:open_pipe() and signal handler cancel_fork(),
1065 changes to do_insertfile(), new list extcmd_list, cmd is
1066 ^X after ^R.
Chris Allegretta3533a342002-03-24 23:19:32 +00001067 - Added separate regex variable (color_regex and colormatches)
1068 so that color syntax and regex search/replace can coexist.
Chris Allegretta06d62372002-03-30 16:51:38 +00001069 - Added new nano.spec file from Brett <brett@bad-sports.com>,
1070 added because maintaining the spec file is getting to be a large
1071 hassle ;)
Chris Allegretta564535a2002-03-06 15:32:17 +00001072- files.c:
1073 check_writable_directory()
1074 - Stat full_path, not path (Steven Kneizys).
Chris Allegretta2598c662002-03-28 01:59:34 +00001075 open_pipe()
1076 - I18nize the pipe error (DLR).
Chris Allegrettae3739092002-03-29 15:06:05 +00001077 do_insertfile()
1078 - Handle cancel from ExtCmd properly (David Benbennick).
Chris Allegretta52c5a6e2002-03-21 05:07:28 +00001079 read_file()
1080 - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
Chris Allegrettaf6cba642002-03-26 13:05:54 +00001081 - Reverse tests to stop segfault on editing a new file of 0
1082 lines (David Benbennick)
1083 - Change input var to one char instead of array (David Benbennick).
Chris Allegretta2598c662002-03-28 01:59:34 +00001084 - Move NO_CONVERT check up so chars get read in properly (DLR).
Chris Allegretta40ecbad2002-03-06 15:27:44 +00001085- nano.c:
Chris Allegrettacf1d8122002-03-21 19:53:36 +00001086 do_justify()
1087 - More fixes for indented justify (David Benbennick).
Chris Allegrettaf21f3fc2002-03-25 03:26:27 +00001088 do_int_speller()
1089 - Fix zombie processes and spelling buffer issues (Rocco Corsi).
Chris Allegretta5902f962002-03-07 12:40:39 +00001090 help_init()
1091 - Capitalize Meta altkeys.
Chris Allegrettab479c892002-03-09 20:03:10 +00001092 - Various fixes and string changes.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00001093 main()
1094 - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
Chris Allegretta97e6fe62002-03-09 17:38:47 +00001095 usage()
Chris Allegretta3fc5d572002-03-09 18:51:58 +00001096 - Rewritten to encompass systems with and without GETOPT_LONG.
1097 New function print1opt does most of the dirty work, stops
1098 duplication of effort and eases translator's jobs. Also
1099 breaks all the current translations ;-)
Chris Allegretta45329a12002-03-10 01:22:21 +00001100- proto.h:
1101 - Missing externs (Rocco).
Chris Allegretta1596d382002-03-07 00:46:17 +00001102- rcfile.c:
Chris Allegretta78f0fc62002-03-29 19:41:57 +00001103 do_rcfile()
1104 - Reset lineno between system and local .nanorc file.
1105 - Fix errno->strerror(errno) mismatch.
Chris Allegrettae8e10342002-03-07 00:47:22 +00001106 parse_rcfile()
1107 - Don't use i for both for loop and atoi(), fixes lots of
Jordi Mallach4951c662002-03-07 14:12:53 +00001108 potential crashes, 1st reported by Jean-Philippe Guérard.
Chris Allegretta78f0fc62002-03-29 19:41:57 +00001109 rcfile_error()
1110 - Don't print out the file name if we haven't opened the file
1111 yet (lineno == 0).
Chris Allegretta45329a12002-03-10 01:22:21 +00001112- search.c:
1113 search_init()
1114 - Fix a missing free (Rocco).
Chris Allegrettad1c2c1c2002-03-26 17:58:42 +00001115 do_gotoline()
1116 - Set placewewant if we actually move to a different line.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00001117- utils.c:
Chris Allegrettadce44ab2002-03-16 01:03:41 +00001118 stristr()
1119 - Defined regardless of NANO_SMALL (noticed by Jordi).
Chris Allegretta77777d42002-03-29 16:31:29 +00001120 nperror()
1121 - New wrapper for perror (David Benbennick).
Chris Allegrettadce44ab2002-03-16 01:03:41 +00001122- winio.c:
1123 do_credits()
1124 - Add Thomas Dickey.
Chris Allegrettaf3a07b22002-03-29 15:15:38 +00001125 do_cursorpos()
1126 - Make col numbering start from 1 (suggested by Andrew Ho).
Chris Allegretta2598c662002-03-28 01:59:34 +00001127 update_line(), xpt()
1128 - Add check for 127 (DLR).
Jordi Mallach4951c662002-03-07 14:12:53 +00001129- po/sv.po:
1130 - Swedish translation updates (Christian Rose).
1131- po/de.po:
1132 - German translation updates (Michael Piefel).
Jordi Mallach4e803aa2002-03-09 18:05:53 +00001133- po/id.po:
1134 - Indonesian translation updates (Tedi Heriyanto).
Chris Allegretta2598c662002-03-28 01:59:34 +00001135- po/it.po:
Chris Allegretta06d62372002-03-30 16:51:38 +00001136 - Serious typo.
Jordi Mallach4e803aa2002-03-09 18:05:53 +00001137- po/ca.po, po/es.po:
1138 - Catalan and Spanish translation updates (Jordi).
Chris Allegretta2598c662002-03-28 01:59:34 +00001139 - Typo (DLR).
Jordi Mallach558b5d82002-03-11 13:23:33 +00001140- po/fr.po:
1141 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach5477e102002-03-12 16:15:50 +00001142- po/gl.po:
1143 - Galician translation updates (Jacobo Tarrio).
Jordi Mallach057c3c42002-03-14 11:00:56 +00001144- po/uk.po, po/ru.po:
1145 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallachb83e61a2002-03-15 15:15:13 +00001146- po/pl.po:
1147 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach7fa082d2002-03-17 00:35:41 +00001148- po/fr.po:
1149 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach7afc6d92002-03-27 16:34:46 +00001150- po/it.po:
1151 - Italian translation updates (Marco Colombo).
Jordi Mallach465a0ff2002-03-29 00:46:05 +00001152- po/da.po:
1153 - Danish translation updates (Keld Simonsen).
Chris Allegrettabef12972002-03-06 03:30:40 +00001154
Chris Allegretta97489d22002-03-05 23:47:44 +00001155GNU nano 1.1.7 - 03/05/2002
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001156- General
1157 - malloc->calloc, etc cleanups (DLR).
1158 - New option, noconvert (-N, --noconvert) to completely stop
1159 the translation of files from DOS or Mac format (DLR).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001160 - New functions check_writable_directory() and safe_tempnam()
Chris Allegrettabc72e362002-02-16 20:03:44 +00001161 to get around the tempnam warning. More improvements (DLR)
Chris Allegretta48b06702002-02-22 04:30:50 +00001162 Still needs testing.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001163 - Added DOS and Mac format options to write file routine.
1164 Changes to shortcut_init() and do_writeout().
1165 - Removed stupid static definitions of toggles and shortcut
1166 lists. Many changes to shortcut_init(), toggle_init(),
1167 statusq(), nanogetstr(), main(), and many other places.
Chris Allegretta48b06702002-02-22 04:30:50 +00001168 - Multibuffer mode now allows multiple empty filenames.
1169 Changes to add_open_files(), removed open_file_dup_search(),
1170 open_file_dup_fix(), etc (DLR).
1171 - New code to handle multiple .save files. Changes to
1172 die_save_file(), new function files.c:get_next_filename()
1173 and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00001174 - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
1175 new functions utils.c:free_shortcutage() (got to love that
1176 name!) & free_toggles(), and big cleanup program
1177 thanks_for_all_the_fish() (originally
1178 thanks_for_the_memories()). Mods to shortcut_init() by Chris.
Chris Allegrettae4f940d2002-03-03 22:36:36 +00001179 - Preliminary quoting support for justify. New arg -Q, --quotestr,
1180 changes to do_justify(), global variable quotestr().
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00001181- Makefile.am:
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001182 - Add SYSCONFDIR to DEFS, so we can have an $SYSCONFDIR/nanorc.
Chris Allegretta40b85e72002-02-09 21:56:09 +00001183 - Change localedir line to 1.0's version.
Jordi Mallach3c5653d2002-02-23 18:23:43 +00001184 - Moved m4/ stuff to its own m4/Makefile.am.
Jordi Mallach87435d92002-03-05 17:58:34 +00001185- m4/aclocal_inc.m4:
1186 - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for
1187 macros (Gergely Nagy).
Jordi Mallach3c5653d2002-02-23 18:23:43 +00001188- configure.in:
1189 - Renamed to configure.ac.
1190- configure.ac:
1191 - Moved to autoconf 2.52 (Jeff Bailey).
Jordi Mallach87435d92002-03-05 17:58:34 +00001192 - Added call to AM_ACLOCAL_INCLUDE.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001193- files.c:
1194 read_byte()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001195 - Added check for control characters (indicative of a binary
Chris Allegretta48b06702002-02-22 04:30:50 +00001196 file), set NO_CONVERT if found (fixes by DLR).
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00001197 do_insertfile()
1198 - Added support for -o in prompt (Steven Kneizys).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001199- global.c:
1200 - Move openprev and opennext functions to shortcuts, they really
1201 aren't toggles (DLR).
Chris Allegrettaf27c6972002-02-12 01:57:24 +00001202- rcfile.c:
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001203 parse_next_regex()
Chris Allegretta3d8e7592002-02-02 07:13:02 +00001204 - Allow " symbol to be in regex without leading \ by checking
1205 for *ptr+1 is not the end of the regex.
Chris Allegrettaff8a68c2002-02-16 20:34:57 +00001206 do_rcfile()
1207 - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
Chris Allegretta48b06702002-02-22 04:30:50 +00001208- nano.1:
1209 - Added Noconvert option to man page (DLR).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001210- nano.c:
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00001211 justify_format(), do_justify()
1212 - Various fixes for starting blank spaces, spaces after
1213 punctuation, & segfault with quoting strings (David Benbennick).
Chris Allegretta46c1b9e2002-03-05 19:58:45 +00001214 do_justify()
1215 - Don't continue to justify string if it's indented more
1216 (quoting wise) than the beginning of the justification.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001217 help_init()
1218 - Added message re: having multiple blank buffers (DLR).
Chris Allegretta9caa1932002-02-15 20:08:05 +00001219 main()
1220 - Add 407 as equiv of 26, this seems to be sent when using
1221 ^Z in linux console with keypad() enabled.
Chris Allegrettabc72e362002-02-16 20:03:44 +00001222- rcfile.c:
1223 - Get rid of unneeded relativechars from rcopts (DLR).
1224- search.c
1225 do_replace(), findnextstr()
1226 - Fixes for various search issues (Ken Tyler)
Chris Allegrettaf27c6972002-02-12 01:57:24 +00001227- winio.c:
1228 do_cursorpos()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001229 - Rewritten to show col place as well as character place, without
Chris Allegrettaf27c6972002-02-12 01:57:24 +00001230 needing an entirely separate flag.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001231 bottombars(), onekey()
1232 - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
Chris Allegrettabc72e362002-02-16 20:03:44 +00001233 - More cleanups w/width of shortcut.
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00001234- utils.c:
Chris Allegretta99ed9dc2002-02-28 00:57:18 +00001235 strcasestr(),revstrcasestr()
1236 - Renamed to stristr and revstristr since strcasestr has not
1237 been confirmed to be detected properly on various Linux
1238 systems.
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00001239 strstrwrapper()
1240 - NANO_SMALL test was backwards (Ken Tyler).
1241- winio.c:
1242 strlenpt()
1243 - Changed main function to strnlenpt() for new justify changes,
1244 original function now just a stub.
Chris Allegretta3c597d02002-01-26 03:42:14 +00001245- nanorc.sample
1246 - Mention unset in the sample nanorc.
Jordi Mallach83ffefb2002-01-25 21:00:18 +00001247- po/ca.po, po/es.po:
1248 - Catalan and Spanish translation updates (Jordi).
Jordi Mallach9c34a162002-01-26 00:46:47 +00001249- po/sv.po:
1250 - Swedish translation updates (Christian Rose).
1251- po/fr.po:
1252 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach8636f7b2002-01-26 19:23:37 +00001253- po/nn.po:
1254 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
1255- po/de.po:
1256 - German translation updates (Michael Piefel).
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00001257- po/it.po:
1258 - Italian translation updates (Marco Colombo).
Jordi Mallach94def062002-02-06 12:14:25 +00001259- po/cs.po:
1260 - Partial Czech translation updates (Vaclav Haisman).
Jordi Mallach8bfd3112002-02-06 20:53:04 +00001261- po/hu.po:
1262 - Hungarian translation updates, or to be precise, rewrite
1263 (Gergely Nagy).
Jordi Mallachb3b28c12002-02-07 13:51:00 +00001264- po/uk.po, po/ru.po:
Jordi Mallach507c3612002-02-14 18:57:23 +00001265 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
1266- po/da.po:
1267 - Danish translation updates (Keld Simonsen).
Jordi Mallache46d43d2002-02-15 17:13:11 +00001268- po/nb.po:
1269 - Norwegian bokmål translation updates (Stig E Sandoe).
Jordi Mallach62d21712002-02-20 16:21:27 +00001270- po/nl.po:
1271 - Dutch translation updates (Guus Sliepen).
Jordi Mallacha3322fd2002-03-05 11:23:17 +00001272- po/pl.po:
1273 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach83ffefb2002-01-25 21:00:18 +00001274
Chris Allegretta491029e2002-01-25 17:02:32 +00001275nano-1.1.6 - 01/25/2002
Chris Allegretta044d1b12002-01-08 00:33:32 +00001276- General
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001277 - Add Meta-A as alternate keystroke for ^^ for people with
Chris Allegretta044d1b12002-01-08 00:33:32 +00001278 non-US keyboards.
Chris Allegretta967a1e22002-01-10 00:50:38 +00001279 - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
1280 browser.
Chris Allegretta1bc0c7e2002-01-08 15:00:24 +00001281 - Better partial word checking code. New function
1282 search.c:is_whole_word(), changes to findnextstr(),
1283 and nano.c:do_int_spell_fix() (Rocco Corsi).
Chris Allegretta6c1e6612002-01-19 16:52:34 +00001284 - Added multiple-line regex support. Format in .nanorc is
1285 start="regex" end="regex". Cleaned up nanorc:parse_colors(),
1286 added parse_next_regex(), changes to edit_add in winio.c(),
1287 changes to colortype, cleaning up some old cruft.
Chris Allegretta15b23f42002-01-19 19:15:18 +00001288 - Upgrade to gettext 0.10.40, probably broke everything again :)
Chris Allegretta24e48d82002-01-23 01:06:20 +00001289 - Upgraded to and then downgraded from automake 1.5, as there
1290 are severe security implications.
Chris Allegrettaea250e82002-01-16 01:09:11 +00001291- color.c:
1292 do_colorinit()
1293 - Moved some comments and braces around so color can work
1294 w/slang (DLR).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001295- global.c:
1296 shorcut_init()
1297 - Replace hard coded ALT_G and ALT_H values in the replace
1298 and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
Jordi Mallach345a8462002-01-07 11:35:16 +00001299- nano.c:
1300 usage()
1301 - Remove extra \n in --keypad description (Jordi).
Chris Allegrettaf7dee922002-01-07 16:43:25 +00001302 main()
1303 - Check that alt value is an alpha char before comparing to
1304 val - 32, fixes Alt-R calling doprev instead of replace.
Chris Allegrettab2cd10d2002-01-20 00:54:42 +00001305 do_char()
1306 - Run edit_refresh() if ENABLE_COLOR is defined so adding
1307 multi-liners will update (e.g. /* in C).
Chris Allegretta23b74b22002-01-21 20:32:22 +00001308 do_int_spell_fix()
1309 - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
Chris Allegretta7b0667f2002-01-10 12:44:21 +00001310 do_suspend()
1311 - Call tcsetattr() to restore the old terminal settings, so
Chris Allegretta5bbce6a2002-01-10 12:48:16 +00001312 tcsh can use ^C after suspend for example (fixes BUG #68).
Chris Allegretta438f7132002-01-16 00:54:47 +00001313 do_wrap()
1314 - Move "right" increment to part where new line is created,
1315 should change (fix?) some wrapping problems with autoindent.
Jordi Mallach5285ca92002-01-17 12:40:33 +00001316 version()
1317 - Show --enable-multibuffer independently of --enable-extra being
1318 compiled in (Jordi).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001319- nano.h:
1320 - Changed color struct slightly, because of previous issue with
1321 applying color painting in order, the "str" portion was
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001322 useless. Renamed "val" in colortype to "start", added "end"
Chris Allegrettaf478f832002-01-18 21:54:35 +00001323 for multi-line color strings.
1324- rcfile.c:
1325 General
1326 - Took silly variables being passed everywhere like lineno and
1327 filename and made them static variables.
Chris Allegretta6c1e6612002-01-19 16:52:34 +00001328 - Re-indented.
Chris Allegretta34f80982002-01-22 20:09:20 +00001329 - Added stdarg.h to includes.
Chris Allegrettaf478f832002-01-18 21:54:35 +00001330 rcfile_error()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001331 - Now automatically prepends the "error in line blah at foo"
Chris Allegrettaf478f832002-01-18 21:54:35 +00001332 message to error messages.
1333 parse_colors()
1334 - Added section for computing "end" section.
1335 parse_next_word()
1336 - Added support for "\ ", in word parsing.
Chris Allegrettae29697d2002-01-14 03:31:10 +00001337- search.c:
Chris Allegretta1c2fddc2002-01-21 20:40:14 +00001338 do_search()
1339 - Check position of cursor and return value of findnextstr and
1340 tell user if search string only occurs once (Rocco & Chris).
Chris Allegrettae29697d2002-01-14 03:31:10 +00001341 findnextstr()
1342 - Fix off by one in check for wrap around (Rocco Corsi).
Chris Allegretta3d0739c2002-01-07 14:41:32 +00001343- winio.c:
1344 edit_refresh()
1345 - Rename lines to nlines to fix AIX breakage (reported by
1346 Dennis Cranston, re-reported by arh14@cornell.edu).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001347 edit_add()
1348 - Refuse to honor regex matches of 0 characters when applying
1349 color highlighting, and say so on the statusbar. Otherwise
1350 we go into an infinite loop, the error message should clue
1351 users into the fact that their regex is doing something bad.
Jordi Mallachd6481e42002-01-17 12:14:23 +00001352- THANKS:
1353 - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
Jordi Mallach83d5ced2002-01-17 12:06:49 +00001354 not bokmål as we claimed (Jordi).
Chris Allegretta9963b0e2002-01-19 19:35:12 +00001355- .cvsignore
1356 - Added config.guess config.sub install-sh missing & mkinstalldirs
Jordi Mallach3da91392002-01-07 11:50:13 +00001357- po/ca.po, po/es.po:
Jordi Mallache36a1522002-01-07 15:12:48 +00001358 - Catalan and Spanish translation updates (Jordi).
1359- po/sv.po:
1360 - Swedish translation update (Christian Rose).
Jordi Mallachd39698f2002-01-07 15:16:26 +00001361- po/de.po:
1362 - German translation update (Michael Piefel).
Jordi Mallachbf1a1e82002-01-08 14:07:39 +00001363- po/fr.po:
1364 - French translation update (Jean-Philippe Guérard).
1365- po/ru.po, po/uk.po:
1366 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach83d5ced2002-01-17 12:06:49 +00001367- po/no.po:
1368 - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
1369- po/nn.po:
1370 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
1371- po/nb.po:
1372 - New Norwegian bokmål translation (Stig E Sandoe <stig@ii.uib.no>).
Jordi Mallach3a23a552002-01-18 23:04:16 +00001373- po/da.po:
1374 - Danish translation update (Keld Simonsen).
Chris Allegrettad1751932002-01-05 20:01:53 +00001375
Chris Allegretta110927b2002-01-05 19:49:06 +00001376nano-1.1.5 - 01/05/2002
Chris Allegretta32da4562002-01-02 15:12:21 +00001377- General
1378 - Better integration of View mode (-v) and multibuffer.
1379 Fixes to new_file(), do_insertfile_void(), shortcut_init()
1380 (David Lawrence Ramsey).
Chris Allegretta48bd3782002-01-03 21:26:34 +00001381 - The keypad handling has changed (again). We now use
1382 the keypad() function by default. New flag -K, --keypad
1383 allows the old behavior for those using the keypad arrow keys
1384 and rxvt-based terminals.
Jordi Mallach8ae57892002-01-04 17:57:40 +00001385 - Updated copyright notices to 2002 (Jordi).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00001386- nano.c:
Chris Allegretta32da4562002-01-02 15:12:21 +00001387 die()
1388 - Only save files that were modified (David Lawrence Ramsey).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00001389 do_cont()
1390 - Run signal_init() after doupdate() so ^Y wont suddenly
1391 start suspending after returning from ^Z suspend in Hurd.
1392 signal_init()
1393 - Unconditionally disable VDSUSP if it exists, stops ^Y
1394 suspending nano on the Hurd.
Jordi Mallach11f39e72001-12-25 19:17:32 +00001395 help_init()
Chris Allegretta64dd95d2001-12-27 20:53:54 +00001396 - Typo fixes in help strings (Jordi).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001397 - New variable helplen needed cause currslen is not always
Chris Allegretta13fd44b2002-01-02 13:59:11 +00001398 the length we want (bug found by David Lawrence Ramsey).
Chris Allegretta180a5692002-01-02 14:30:33 +00001399 - Typo in file switch string (found by David Lawrence Ramsey).
1400 main()
1401 - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
Chris Allegretta32da4562002-01-02 15:12:21 +00001402 - Handle OS-specific insert keys by jump to do_insertkey (David
1403 Lawrence Ramsey).
Chris Allegretta64dd95d2001-12-27 20:53:54 +00001404- files.c:
1405 read_file()
1406 - Make conversion message less confusing (suggested by Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +00001407- rcfile.c:
1408 parse_next_word()
1409 - Get rid of ptr == \n check to abort, screws up option
1410 parsing (bug found by David Lawrence Ramsey)
Chris Allegretta52db7a22001-12-17 23:39:36 +00001411- winio.c:
1412 update_line()
Chris Allegretta3c57e502001-12-19 16:20:43 +00001413 - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
1414 high ascii characters.
Jordi Mallach9335f912001-12-23 00:03:18 +00001415 titlebar()
1416 - gettextized a pair of strings.
Chris Allegrettae5b9eac2002-01-05 01:52:02 +00001417 bottombars()
1418 - Get rid of that annoying reversed line when color is on! :)
Chris Allegretta1bf8f5e2002-01-05 03:30:10 +00001419 edit_add()
1420 - Little fixes to let color highlights not bleed onto the next line.
Chris Allegrettaa16e4e92002-01-05 18:59:54 +00001421 statusq()
1422 - Initialize "list".
Chris Allegrettacf680712001-12-18 14:59:20 +00001423- m4/gettext.m4:
1424 - Back down to 1.1.3 version.
Jordi Mallachcf9f7832001-12-26 12:33:01 +00001425- faq.html:
1426 - Various link updates and other fixes (Aaron S. Hawley).
1427 - Typo fixes (David Lawrence Ramsey).
Chris Allegrettafae0dce2002-01-04 13:30:42 +00001428- AUTHORS
1429 - Add DLR.
Jordi Mallach77b12322001-12-22 23:23:40 +00001430- po/sv.po:
1431 - Swedish translation update (Christian Rose).
Jordi Mallach3da91392002-01-07 11:50:13 +00001432- po/ru.po, po/uk.po:
Jordi Mallach32793982001-12-28 16:35:28 +00001433 - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
Jordi Mallach3da91392002-01-07 11:50:13 +00001434- po/ca.po, po/es.po:
Jordi Mallach414acab2001-12-26 00:15:16 +00001435 - Catalan and Spanish translations updates (Jordi).
Jordi Mallacha4ffccb2001-12-26 00:31:17 +00001436- po/pl.po:
1437 - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
Jordi Mallach65f3e422002-01-04 17:48:58 +00001438 - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
1439 official maintainer.
Jordi Mallach1a58fb42001-12-27 16:00:23 +00001440- po/fr.po:
1441 - French translation update (Michel Robitaille).
Jordi Mallach05d8ce92001-12-27 20:34:42 +00001442- po/gl.po:
1443 - Galician translation update (Jacobo Tarrío).
Jordi Mallach78e2c9d2001-12-27 22:06:38 +00001444- po/it.po:
1445 - Italian translation update (Marco Colombo).
Jordi Mallach32793982001-12-28 16:35:28 +00001446- po/de.po:
1447 - German translation update (Michael Piefel).
Jordi Mallach13f30172002-01-02 18:45:58 +00001448- po/fr.po:
1449 - French translation update (Jean-Philippe Guérard).
Chris Allegretta5fd6cac2001-12-12 13:55:19 +00001450
Chris Allegretta7bf25092001-12-12 02:44:40 +00001451nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +00001452- General
1453 - Preliminary syntax highlighting support. New functions
1454 colortoint() and parse_color() in rcfile.c, new code in
1455 edit_add() in winio.c to actually do the highlighting. It's
1456 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +00001457 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00001458- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +00001459 - Fixes for tab completion and screen refresh (David Lawrence
1460 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00001461 add_open_file()
1462 - Get rid of unsetting MARK_ISSET because otherwise writing
1463 marked text will automatically unset the marker with
1464 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +00001465- global.c:
1466 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +00001467 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
1468 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +00001469- nano.c:
1470 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +00001471 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +00001472 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
1473 signal_init()
1474 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
1475 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +00001476 help_init()
1477 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +00001478 do_curpos()
1479 - Now takes arg for constant updating to always show the cursor
1480 position (David Lawrence Ramsey).
1481 do_wrap()
1482 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +00001483 do_spell()
1484 - Dont prompt for replace if we don't change the word in
1485 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +00001486- po/de.po:
1487 - German translation updates (Karl Eichwalder).
1488- po/ru.po:
1489 - Russian translation updates (Sergey A. Ribalchenko).
1490- po/sv.po:
1491 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +00001492- po/da.po:
1493 - Danish translation updates (Keld Simonse).
1494- po/es.po:
1495 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +00001496- po/fr.po:
1497 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +00001498- m4/gettext.m4:
1499 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +00001500
Chris Allegrettadc57bba2001-10-26 16:14:45 +00001501nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +00001502- General
1503 - Finally wrote function-specific help mode. Changes to
1504 nano.c:help_init() and winio.c:do_help(). Changed
1505 currshortcut and currslen #ifdefs to depend on both
1506 DISABLE_HELP and DISABLE_MOUSE being defined to not
1507 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +00001508 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
1509 this was causing nasty errors if the call to nrealloc moved
1510 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +00001511 - Changed header comments to say "version 2" instead of "version
1512 1" as the COPYING file is actually version 2 of the GPL (bug
1513 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +00001514- cut.c:
1515 do_cut_text()
1516 - Check to see whether marked text is contained within edit
1517 window and if so only do an edit_refresh (variable dontupdate
1518 replaces cuttingpartialline).
1519 do_uncut_text()
1520 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +00001521- faq.html
1522 - Removed nano-editor.org FTP site address [deprecated] and added
1523 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +00001524- files.c:
1525 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +00001526 People should know that their file wasnt normally formatted.
1527 load_file()
1528 - Status message when trying to load an already loaded file with multiple
1529 buffers (David Lawrence Ramsey).
1530 read_file()
1531 - Get rid of useless linetemp variable and name num_lines int
1532 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +00001533- nano.c:
1534 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +00001535 Alt-space, as next word is hard coded as control-space. Fixed
1536 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +00001537 beginning of first line, prog should simply abort. Added
1538 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +00001539- nano.h:
1540 - Additional #define, SMALL_TOO to determine how long
1541 MAIN_LIST_LEN is. We need this because of the find matching
1542 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +00001543 main()
Chris Allegretta347c1842001-10-24 01:37:13 +00001544 - Moved #ifndef NANO_SMALL down past the case 0: line so
1545 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +00001546- rcfile.c:
1547 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +00001548- po/sv.po:
1549 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +00001550- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +00001551 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +00001552- po/es.po:
1553 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallach3da91392002-01-07 11:50:13 +00001554- po/ru.po, po/uk.po:
Jordi Mallacheb94b9e2001-10-15 14:26:48 +00001555 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +00001556
Chris Allegretta03260b42001-10-04 01:24:07 +00001557nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +00001558- General
1559 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
1560 new flag CLEAR_BACKUPSTRING because there's no easy way to
1561 clear the backupstring without making it global (messy), so we
1562 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +00001563 - --enable-tiny now leaves out the Auto Indent code, do you really
1564 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +00001565 - New flag -o, --operatingdir, similar to Pico's -o mode. New
1566 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +00001567 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +00001568 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +00001569 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +00001570 new code in read_line and write_file. New cmdline flag
1571 (-D --dos) to automatically write the file in DOS format,
1572 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +00001573 - Mac file writing supported too. Flag -M, --mac. Toggle
1574 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +00001575 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +00001576 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +00001577 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +00001578 - Bracket (brace, parens, etc) matching code by Ken Tyler.
1579 New functions do_find_bracket(), changes to findnextstr(),
1580 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +00001581 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
1582 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00001583 - Call do_gotopos from do_alt_spell() to keep position
1584 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +00001585 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +00001586 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +00001587 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +00001588 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +00001589- cut.c:
1590 cut_marked_segment()
1591 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +00001592 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +00001593 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +00001594 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +00001595- faq.html:
1596 - Notes about the Free Translation Project.
1597 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +00001598- files.c:
1599 do_writeout()
1600 - Expanded strings to not use %s and ?: to determine
1601 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00001602 new_file()
1603 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +00001604- nano.c:
1605 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +00001606 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +00001607 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00001608 - Many tweaks and changes from numerics to char equivs
1609 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00001610 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +00001611 do_mouse()
1612 - Send 27 when the menu item clicked is an alt key seq... The
1613 lines aren't lined up since the menu width changed though,
1614 this breakage depends on whether the new widths will be kept
1615 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +00001616 - Change k based on currslen to allow the new widths in
1617 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +00001618 do_wrap()
1619 - Fixes for Pico incompatibility in cases 2b and 2c.
1620 (David Lawrence Ramsey).
1621 global_init()
1622 - New arg save_cutbuffer, allows cutbuffer to not be lost when
1623 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +00001624- nano.1:
1625 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +00001626- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +00001627 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
1628 - Added many command line options, toggles and other additions
1629 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +00001630- rcfile.c:
1631 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +00001632 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +00001633 - Fix incorrect argument in fill and tabsize error message
1634 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +00001635- search.c:
1636 - Changed search prompt to "Search" followed by a list of
1637 bracketed, free-standing modifiers that do not imply a grammar,
1638 and the (to replace) string separately. Hopefully this resolves
1639 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +00001640 findnextstr()
1641 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +00001642- winio.c:
1643 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +00001644 bottombars()
1645 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00001646 nanogetstr()
1647 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00001648 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +00001649- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +00001650 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +00001651- po/ca.po, po/es.po:
1652 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +00001653- po/gl.po:
1654 - Updated Galician translation (Jacobo Tarrío).
Jordi Mallach90bbdd32001-09-12 19:06:59 +00001655- po/da.po:
1656 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +00001657- po/sv.po:
1658 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +00001659- po/it.po:
1660 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +00001661- po/fi.po:
1662 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +00001663
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00001664nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +00001665- General
1666 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
1667 - Added m4/ directory to allow rebuilding using only the internal
1668 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +00001669- nano.c:
1670 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00001671 - Change the multibuffer getopt option to 'F' (David Lawrence
1672 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +00001673 do_mark()
1674 - Temporarily disable cursorpos when enabled to be able to see
1675 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +00001676- nanorc.sample
1677 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +00001678- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +00001679 new_file()
1680 - Do add_open_files if there aren't any open yet (David Lawrence
1681 Ramsey).
1682 close_open_file()
1683 - Try to open the next file first, then the previous one
1684 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +00001685- global.c:
1686 shortcut_init()
1687 - Rewrote the whereis and replace lists to put CANCEL at the end
1688 of the list, and not include the toggle functions when using
1689 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00001690- nano.h:
1691 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +00001692 - Rewrote all the macro definitions to be a little less messy,
1693 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +00001694- rcfile.c:
1695 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +00001696- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +00001697 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00001698 search_init()
1699 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +00001700- winio.c:
1701 bottombars()
1702 - Fixed an off by one that wasn't letting lines with odd #
1703 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +00001704
Chris Allegretta9a748602001-07-15 16:07:23 +00001705nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +00001706- General
1707 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +00001708 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +00001709 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +00001710 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +00001711 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +00001712 this automatically, but now just mouse support can be disabled
1713 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001714 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +00001715 - Added rcfile.c source file. Only includes much of anything when
1716 --enable-nanorc is used. Tons of new funcs, most notably
1717 do_rcfile() called from nano.c:main(). Added much needed
1718 function ncalloc(), will have to go through source code later
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001719 and change the appropriate calls which used nmalloc for lack of
1720 an appropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +00001721 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +00001722 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +00001723 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +00001724 - Added config.guess and config.sub to distribution because,
1725 apparently, newer autoconf/automakes can't live without them.
1726 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +00001727 - Changed all string allocations to charalloc(), new function
1728 designed to take nmalloc argument but call calloc based on
1729 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +00001730 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
1731 and justify being disabled. This allows us to compile out the
1732 -r flag if neither are set, and will also allow us to comment
1733 out -W when it is written.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001734 - Allow fill to take a negative value to signify a "from right side"
Chris Allegretta6fe61492001-05-21 12:56:25 +00001735 value. This allows the value to vary with the screen size yet
1736 still be correct. New static value wrap_at to minimize code
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001737 impact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +00001738 - Allow file appending. New shortcut list nano_insertfile_list (since
1739 insert and write routines can't share shortcut lists anymore),
1740 new args to do_writeout and write_file called append, and of source
1741 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +00001742 - Allow backwards searching. Drastic rewrite of the search prompt
1743 string by Chris. All other code by Ken Tyler. New globals
1744 nano_reverse_msg, new functions revstrstr and revstrcasestr,
1745 many changes to search functions. Not too big a code size
1746 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +00001747 - Moved extension functions (Case Sensitive, Regexp, and Backwards
1748 Search, Append key in write file function) to Meta keys, as
1749 people are complaining loudly about nano not being control-key
Chris Allegretta6df90f52002-07-19 01:08:59 +00001750 compatible with Pico, which is a Bad Thing (TM). Changes to
Chris Allegretta658399a2001-06-14 02:54:22 +00001751 shortcut_init, toggle_init, new toggles for backwards and regexp
1752 (and you can now toggle all search options including regexp at
1753 the Search: prompt!) Changes to nanogetstr to enable Meta
1754 keys to be grabbed, changes to onekey to print M-style shortcuts.
1755 - New macro TOGGLE which just toggles, no more silly checking
1756 ISSET and then using SET or UNSET when we want a simple toggle
1757 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +00001758 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +00001759 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +00001760 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
1761 and write_file(), new functions add_open_file(),
1762 open_file_change_name(), load_open_file(), open_file_dup_search(),
1763 open_file_dup_fix(), open_prevfile(), open_nextfile(),
1764 close_open_file(), get_full_path(), die_save_file(), etc.
1765 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +00001766 - Using --enable-extra automatically defines --enable-multibuffer
1767 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +00001768 - Moved to gettext 0.10.38 at the last second, sure to break
1769 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +00001770- Makefile.am:
1771 - Include ABOUT-NLS and the new THANKS files to the distributed list.
1772- THANKS:
1773 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +00001774 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +00001775- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +00001776 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +00001777 initialization file and set options normally used on the command
1778 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +00001779 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +00001780 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +00001781- cut.c:
1782 add_to_cutbuffer()
1783 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +00001784 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +00001785 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
1786 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00001787 - Added 'destructive' argument. Allows the selected text to be
1788 added to the cutbuffer without changing the contents of the
1789 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +00001790 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +00001791 - If the line is empty when using -k and wasn't already added,
1792 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +00001793 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +00001794 - Moved the case of current == mark_beginbuf into cut_marked
1795 segment, so do_writeout could call it when writing selection to
1796 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +00001797 do_uncut_text()
1798 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +00001799- faq.html:
1800 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +00001801 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001802- files.c:
1803 do_browser()
1804 - Minor fixes to the processing of SELECT function (Rocco)
1805 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +00001806 - Don't shift the size of the file is it's less than 1K. Fixed
1807 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +00001808 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
1809 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00001810 do_writeout()
1811 - New code to allow writing selected text to a separate file.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001812 When this is done, the current state is preserved.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +00001813 write_file()
1814 - New arg, nonamechange, means whether or not to update the
1815 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +00001816 - Increment lineswritten when the very last line isn't null.
1817 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001818- global.c:
1819 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +00001820- move.c:
1821 page_up()
1822 - Rewritten with a loop to make screen updates work when
1823 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +00001824 do_home(), do_end()
1825 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +00001826- nano.1:
1827 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +00001828- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +00001829 do_alt_speller()
1830 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +00001831 ABCD(), main()
1832 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +00001833 main()
1834 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +00001835 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +00001836 signal_init()
1837 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
1838 SIGCONT from being interrupted, allows suspending nano
1839 to work more reliably, esp. with mutt, etc.
1840 do_suspend()
1841 - Don't try to play with the handler inside the handler. Just
1842 raise a SIGSTOP. We also now write the "use "fg"" message to
1843 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +00001844 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
1845 Eliminates the possibility that nano can be suspended when
1846 it's not supposed to be. Many many many thanks to Jordi and
1847 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +00001848 do_cont()
1849 - Now just does a refresh call instead of playing with the SIGTSTP
1850 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +00001851- nano.h:
1852 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
1853- proto.h:
1854 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +00001855- search.c:
1856 do_gotoline()
1857 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +00001858 do_replace()
1859 - If we manage to make it in somehow with VIEW_MODE on, abort
1860 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +00001861- utils.c
1862 strcasestr()
1863 - Replaced by mutt's mutt_stristr function, because the thought
1864 of dynamically allocating memory and copying each line in a file
1865 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +00001866- winio.c:
1867 actual_x()
1868 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +00001869- po/POTFILES.in:
1870 - Added utils.c to the list.
1871- po/es.po, po/ca.po:
1872 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +00001873- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +00001874 - Galician translation by Jacobo Tarrío.
Jordi Mallach92b3bd22001-05-16 09:10:31 +00001875- po/uk.po, po/ru.po:
1876 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +00001877 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +00001878- po/id.po:
1879 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +00001880- po/it.po
1881 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +00001882- po/no.po:
1883 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
1884- po/sv.po:
1885 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +00001886
1887nano 1.1 tree forked here 04/07/2001
1888
Chris Allegretta38068cd2001-04-06 20:04:23 +00001889nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00001890- General:
1891 - added configure option --disable-wrapping. Does what it says,
1892 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +00001893 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00001894 Affects configure, nano.c:do_char() and check_wrap() obviously,
1895 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +00001896- aclocal.m4:
1897 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +00001898- faq.html:
1899 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +00001900- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +00001901 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +00001902 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +00001903 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +00001904 - use strcasecmp to sort directory if available, pilot does that
1905 as well (Matthias Andree)
1906 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +00001907 - Changed lstat calls to stat, which fixes the browser not
1908 following links to directories. We only use lstat() when
1909 printing the details of the file, and if it is a link, then
1910 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00001911 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +00001912 do_browser()
1913 - Fix broken size suffix off-by-one errors (Matthias Andree)
1914 cwd_tab_completion(), do_browse_from()
1915 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
1916 - Changed above to use PATH_MAX only when defined on the
1917 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00001918- intl/Makefile.in:
1919 distclean
1920 - added intl/libintl.h to the rm -f rule, should fix the unresolved
1921 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +00001922
Chris Allegretta2bfbda02001-03-23 03:50:44 +00001923nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +00001924- General
1925 - Added void to functions declared as () args, nano.c:do_mark()
1926 and search.c:regexp_cleanup(). (Christian Weisgerber).
1927 - Changed internal variables called "new" to "newnode" to avoid
1928 the "new" C++ reserved word, even though there is likely no way
1929 nano will EVER be compilable with a C++ compiler. (suggested by
1930 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00001931- ca.po, es.po:
1932 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +00001933- cs.po:
1934 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00001935- nano.info:
1936 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +00001937- winio.c:
1938 statusq()
1939 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +00001940
19411.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +00001942- nano.c:
1943 do_wrap()
1944 - Added case for autoindenting text causing new line (Adam).
1945 - Added SAMELINE case to above. Added checks to cases 1b and
1946 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +00001947- move.c:
1948 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +00001949 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +00001950 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +00001951- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +00001952 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +00001953 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +00001954 search_init()
1955 - If using Pico mode and regex and same answer is entered, use
1956 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +00001957- nano.texi:
1958 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +00001959
Chris Allegrettaa4a222d2001-02-20 03:52:13 +00001960nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +00001961- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +00001962 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00001963 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +00001964 removed "Goto Line", aligned "Read File" with "Write Out" and
1965 "Replace" with "Where is" for consistency.
1966 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +00001967 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +00001968- configure.in:
1969 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +00001970 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +00001971 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +00001972- cut.c:
1973 do_cut_text()
1974 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00001975- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +00001976 do_delete()
1977 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +00001978 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +00001979 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00001980 do_justify()
1981 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +00001982 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +00001983 main()
1984 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +00001985- winio.c:
1986 do_yesno()
1987 - Added localized yes, no and all strings to function and rewrote
1988 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +00001989- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +00001990 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +00001991- fi.po:
1992 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +00001993- hu.po:
1994 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +00001995- id.po:
1996 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +00001997- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +00001998 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +00001999- ca.po:
2000 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00002001 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
2002 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +00002003
Chris Allegretta34318ed2001-01-31 23:22:36 +00002004nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +00002005General
Chris Allegrettad4ddd012001-01-23 01:17:07 +00002006 - Removed center_x and center_y globals. center_y was
2007 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +00002008 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +00002009 - Deleted free_node, duplicate of delete_node, and changed all
2010 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +00002011 - Fix for resizing the window in modes other than normal edit mode
2012 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +00002013- files.c:
2014 write_file()
2015 - Don't free() realname on error, if it needs to be free()d later
2016 it will be (fixes crash on successful write after failed write,
2017 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +00002018 username_tab_completion()
2019 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +00002020 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +00002021 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +00002022 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +00002023 - Rewritten using getpwent (suggested by Adam, much optimized by
2024 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +00002025- global.c:
2026 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +00002027- nano.c:
2028 do_justify()
2029 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +00002030 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +00002031 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +00002032 global_init(), handle_sigwinch()
2033 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +00002034 do_alt_speller()
2035 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +00002036 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +00002037- proto.h:
2038 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +00002039- winio.c:
2040 nanogetstr()
2041 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +00002042
Chris Allegretta9d6f3f32001-01-21 02:35:03 +00002043nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +00002044General
2045 - Changed #ifdefs to check for both DISABLE_TABCOMP and
2046 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002047 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +00002048 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002049 back. (Rocco)
2050 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +00002051 - Added message for when keypad goes awry. Added code in main and
2052 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +00002053 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +00002054 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +00002055 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +00002056- configure.in:
2057 - Fix for _use_keypad check breaking slang support (Christian
2058 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +00002059 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +00002060 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +00002061- faq.html:
2062 - Added some info on making the binary smaller with the configure
2063 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +00002064 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +00002065- files.c:
2066 real_dir_from_tilde()
2067 - Oops, fix case where buf ="~", silly crash (bug discovered by
2068 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +00002069 do_browser()
2070 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +00002071 cwd_tab_completion(), input_tab()
2072 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +00002073 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002074- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +00002075 ABCD()
2076 - New function, figures out what kbinput to return given
2077 input common to several switch statements, allows us to
2078 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002079 main()
2080 - Alternate speller option no longer valid if DISABLE_SPELLER is
2081 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +00002082 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
2083 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +00002084 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002085 nano_small_msg()
2086 - This function has been removed. All references now call
2087 nano_disabled_msg. (Rocco)
2088 version()
2089 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
2090 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
2091 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +00002092 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002093 usage()
2094 - Alternate speller option no longer valid if DISABLE_SPELLER is
2095 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +00002096 window_init(), handle_sigwinch()
2097 - Added check for not having enough LINES to do anything useful,
2098 if so die with an error. (Rocco)
2099 die_too_small()
2100 - Function to print the window too small error message, avoids
2101 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +00002102 do_justify()
2103 - Small fix for totsize calculation (Rob)
2104
Chris Allegrettad9742c62001-01-12 15:51:53 +00002105- fi.po:
2106 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +00002107
Chris Allegretta16991442001-01-07 22:06:11 +00002108nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +00002109General -
2110 - New file browser code. New functions in files.c:do_browser(),
2111 helper functions browser_init(), tail(), striponedir(),
2112 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +00002113 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +00002114 - Keypad code has been changed slightly. Now checks for
2115 _use_keypad flag in window to see whether or not to turn
2116 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +00002117 to winio.c where it should probably be anyway. New configure
2118 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +00002119 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +00002120 - Moved keypad() calls for PDCURSES from main() to window_init()
2121 so the keypad continues to work after a Meta-X, for example.
2122 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +00002123- faq.html:
2124 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +00002125- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00002126 username_tab_completion()
2127 - Added the (char *) sizeof when allocating memory for the filename
2128 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +00002129 cwd_tab_completion()
2130 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00002131 - Added the (char *) sizeof when allocating memory for the filename
2132 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00002133 do_writeout()
2134 - Now takes an argument so the string typed in can be retained
2135 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +00002136 do_browser()
2137 - Don't decrement longest by the length of path. Fixes crashes
2138 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +00002139 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +00002140 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +00002141- move.c:
2142 page_down()
2143 - Don't do an edit_update when there is only one page of text
2144 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +00002145- nano.c:
2146 main()
2147 - Reorder the getopt options to be more or less alphabetical
2148 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +00002149- winio.c:
2150 do_cursorpos()
2151 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +00002152 do_credits()
2153 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +00002154 titlebar()
2155 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +00002156 do_help()
2157 - Changed way of temporarily bringing up shortcuts at the
2158 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +00002159- utils.c:
2160 mallocstrcpy()
2161 - Takes char pointers now instead of void (makes debugging a
2162 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00002163 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +00002164- es.po:
2165 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +00002166
Chris Allegretta66149e72000-12-19 02:51:06 +00002167nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +00002168General
2169 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +00002170 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +00002171 - Changed filename to no longer use PATH_MAX, so it can work on the
2172 HURD. Changes in files.c:write_file(), new function
2173 nano.c:clear_filename(), many changed in main(), a few other
2174 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002175 - Added -b, -e, and -f flags, which we ignore as nano provides
2176 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +00002177- cut.c:
2178 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002179 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +00002180 - Fix screen not being displayed when we are uncutting marked
2181 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +00002182 - Fix magic line not getting created when (you guessed it)
2183 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +00002184- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +00002185 read_file()
2186 - If we encounter an error and insert is not set, run new_file().
2187 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +00002188 write_file()
2189 - Change open call flags, basically copy joe's way of doing it so
2190 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +00002191 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +00002192 open_file()
2193 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +00002194- nano.c:
2195 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +00002196 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002197 main()
2198 - Added code to check for Alt-Alt (27-27) keystrokes and set the
2199 next keystroke as a control sequence. New variable
2200 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
2201 around Control-S,Q,Z handlers because we need it now for
2202 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +00002203 - Added --view option to getopt_long()call . Bug discovered
2204 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +00002205 help_init()
2206 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta6df90f52002-07-19 01:08:59 +00002207 ^_ in Pico mode not be displayed in the help (bug discovered by
Chris Allegretta92325e72000-12-18 03:44:22 +00002208 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +00002209 do_toggle()
2210 - Added fix_editbot() call to fix improper redisplay of edit
2211 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002212- nano.1, nano.1.html:
2213 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +00002214- winio.c
2215 do_help()
2216 - Force keypad on so F-keys and PageUp/Down will work properly.
2217 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +00002218- utils.c:
2219 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +00002220 - Increment totsize!! We decrement it when we've read a file,
2221 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +00002222
Chris Allegrettab29550e2000-12-09 03:34:12 +00002223nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +00002224General
2225 - Changed --disable-spell to --disable speller. The term is
2226 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +00002227- files.c:
2228 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +00002229 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +00002230 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +00002231 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +00002232 - We now run check on result of lstat(), not stat(), to be
2233 safer. New variable anyexists, we use still use realexists
2234 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +00002235 - OOPS, line up link/unlink/rename check if conditional with
2236 top if conditional. Option -l has been broken for 9 versions,
2237 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +00002238 - Added saving perms at end of link so we can apply them to the
2239 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +00002240- winio.c:
2241 edit_add()
2242 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00002243 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +00002244 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00002245 - Moved from search.c, as it's definitely a winio function now =)
2246 update_line()
2247 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +00002248
Chris Allegrettafedd7242000-12-03 03:15:38 +00002249nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +00002250- General
Chris Allegrettabe77c612000-11-24 14:00:16 +00002251 - Username tab completion code, and cleaned up existing tabcomp
2252 code. New functions real_dir_from_tide(), append_slash_if_dir(),
2253 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +00002254 - Ignore key sequence 543 & 545, right control and alt keys in
2255 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +00002256 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
2257 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +00002258 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +00002259 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +00002260- New configure options:
2261 - Added configure argument --disable-tabcomp. Affects
2262 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +00002263 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +00002264 - New options --enable-extra. New code in nano.c:version() to
2265 print out various options from ./configure, function do_credits().
2266 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +00002267 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +00002268 do_spell, do_int_speller and do_alt_speller.
2269 - Added --disable-justify to get rid of the justify function.
2270 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +00002271- files.c:
2272 write_file()
2273 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +00002274 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +00002275 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +00002276 - Added call to real_name_from tilde, oops. Added check for
2277 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +00002278 read_file()
2279 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +00002280- global.c:
2281 shortcut_init()
2282 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +00002283 shortcut or the normal uncut text one. Needed to accommodate
2284 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +00002285- nano.1, nano.1.html:
2286 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +00002287 - Added "NOTES" section, where I explain what nano.save & friends
2288 are.
2289 - Added a copyright notice for the manpage, under the GPL.
2290 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +00002291- nano.c:
2292 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +00002293 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
2294 text there, then grabs the next keystroke and, if the unjustify
2295 key, gets rid of the justified text and calls do_uncut_text.
2296 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002297 do_int_spell*
2298 - Various fixes (Rocco Corsi).
2299 - Changed abort of program to aborting based on value of "edit a
2300 replacement" question, and not caring about the replace loop
2301 return value. That way the user can get out of the replace loop
2302 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +00002303 version()
2304 - Took out huge check for the various --disabled macros,
2305 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +00002306 nano_small_msg(), nano_disabled_msg()
2307 - Added checks for disabled functions to see whether or not to
2308 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +00002309 do_next_word()
2310 - Update the previous line as well as the current one in case we
2311 have moved beyond COLS or back from COLS, patch submitted
2312 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +00002313 die()
2314 - Now creates .save file using variable-length strings. Also
2315 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +00002316 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +00002317 handle_sighup()
2318 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002319- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +00002320 do_replace_highlight()
2321 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002322 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +00002323 - Added calls to curs_set(0) and (1) to disable the cursor when
2324 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +00002325- es.po:
2326 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +00002327
Chris Allegrettaca7a21d2000-11-24 01:35:40 +00002328nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +00002329- AUTHORS
2330 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +00002331- nano.c:
2332 main()
2333 - Changed check for argc == 1 to argv[optind] == NULL to decide
2334 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +00002335- search.c:
2336 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00002337 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +00002338 search_init()
2339 - Silly typo in our "one simple call" of statusq. Stopped
2340 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +00002341 do_replace()
2342 - Copy back the previous value of last_replace into answer if
2343 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +00002344- winio.c:
2345 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +00002346 - Deleted first update_line() call, screws up display when marker is
2347 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +00002348- nano.1, nano.1.html
2349 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +00002350
Chris Allegretta6da149a2000-11-19 02:23:03 +00002351nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +00002352- General
2353 - Ran source through indent -kr again. Make everything pretty.
2354 - Changed behavior of "search" and "replace" prompts to make all
2355 previous values editable. This change was made so that you can
2356 replace with the null string without needing a special key for it.
2357 changed code in search_init(), do_replace(), nanogetstr (see
2358 below).
2359 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +00002360 - Revamped nanogetstr() and calls to it to use variable length
2361 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +00002362 MANY changes in nanogetstr(), many chances in search.c, new
2363 function mallocstrcpy which is sure to be a programmatic
2364 nightmare, changed last_search, last_replace, answer to
2365 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +00002366 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +00002367 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00002368 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +00002369 - New spelling code by Rocco Corsi. New functions
2370 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
2371 New functions search_init_globals and do_replace_loop, changes
2372 to search_init(), do_replace, findnextstr, moved last_search and
2373 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +00002374 - New tab completion code. Used check_wildcard_match, input_tab,
2375 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +00002376 hacked them a lot, changes to nanogetstr(). nanogetstr() and
2377 statusq() now take an arg for whether or not to allow tab
2378 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +00002379 - Fixed value being input in statusbar during a search or replace
2380 and CASE_SENSITIVE or the other search is called and the
2381 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00002382 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
2383 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +00002384- files.c:
2385 do_writeout()
2386 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +00002387- global.c
Chris Allegretta105da332000-10-31 05:10:10 +00002388 - New global replace_list_2, for 2nd half of the replace dialog
2389 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +00002390 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +00002391 toggle_init()
2392 - Added #ifdef around toggle_regex_msg to get rid of compiler
2393 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +00002394
2395- nano.c:
2396 keypad_on()
2397 - New function, toggles turning the keypad on and off in edit and
2398 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002399- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +00002400 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002401 - New arg for begin_x variable, basically a rewrite that
2402 makes a little more sense and isn't quite as messy (Rocco Corsi).
2403 - Update the line we're checking if not the whole screen, because
2404 it's quite possible the search team could exist somewhere way
2405 to the right on the same line, for example.
2406 replace_abort()
2407 - Add reset of placewewant, stops cursor from jumping when moving
2408 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +00002409 do_replace()
2410 - Added code for Gotoline key after entering the search term.
2411 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +00002412 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +00002413 Converted if statements to switch statements.
2414 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +00002415 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +00002416 do_search()
2417 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +00002418- winio.c
2419 nanogetstr()
2420 - Added check for 343 in while loop to get rid of getting "locked"
2421 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +00002422 - Changed check to return -2 on "enter" from answer == ""
2423 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +00002424 - Fixed fallthrough code because there was no break. Make much
2425 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +00002426 - Added check for ASCII 54[124] when using PDCURSES, ignore them
2427 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002428 nanoget_repaint()
2429 - New function, removes about 30 lines of duplicate code in
2430 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +00002431 - Black magic code to make $ appear in prompt if we're past
2432 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +00002433 blank_edit()
2434 - Removed wrefresh() call, much less choppy now. If there's a need
2435 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +00002436- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +00002437 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +00002438
Chris Allegretta07e97d62000-10-03 01:52:50 +00002439nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +00002440- General
2441 - Added PDCurses support under cygwin, which allows building
2442 a nice stand-alone nano.exe for those poor Windows users.
2443 Extra check in configure.in for initscr() in -lcurses (as
2444 PDcurses has no tgetent), some #ifdef PDCURSES statements
2445 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +00002446 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +00002447- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00002448 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00002449 main()
2450 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00002451- search.c
2452 - Added initializations for last_search and last_replace (Rocco Corsi)
2453
Chris Allegretta629edad2000-09-19 00:27:19 +00002454nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00002455- General
2456 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
2457 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00002458- configure.in:
2459 - Added default case for cross-compiling to get rid of annoying
2460 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00002461- cut.c:
2462 do_cut_text()
2463 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00002464 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00002465- files.c:
2466 open_file()
2467 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00002468- global.c:
2469 shortcut_init()
2470 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00002471- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00002472 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00002473 - Added check for _POSIX_VDISABLE and use raw mode if not
2474 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00002475 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00002476 - Revamped a great deal of the F-key and keypad key handling,
2477 because we not longer use keypad() (see below).
2478 - Removed keypad() call because nano was not working with the
2479 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00002480 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00002481 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00002482 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00002483 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00002484 mouse_init()
2485 - Add keypad only if mouse support is on, otherwise mouse doesn't
2486 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00002487 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00002488- winio.c:
2489 total_refresh()
2490 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00002491 onekey()
2492 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00002493
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00002494- search.c:
2495 findnextstr()
2496 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00002497- es.po:
2498 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00002499- de.po
2500 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00002501
Chris Allegretta423cbfd2000-09-04 16:21:29 +00002502nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00002503- General
2504 - New shortcuts to toggle certain options that are normally only
2505 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
2506 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00002507 called from shortcut_init(), and do_toggle in nano.c. Also
2508 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00002509 signal_init(). Moved "struct sigaction act"into a static in
2510 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00002511 - Changed from Alt-key symbol (@) which is completely nonstandard
2512 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00002513 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00002514 Meta. Moved the toggle Meta keystrokes to the first column
2515 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00002516 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00002517 - Changed last_search and last_replace vars to statically
2518 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00002519- global.c:
2520 toggle_init()
2521 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
2522 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00002523- nano.c:
2524 do_mouse()
2525 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00002526 do_wrap()
2527 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00002528 do_toggle()
2529 - Added checks for no help and no wrap mode, and print opposite
2530 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00002531 do_suspend(), do_cont():
2532 - New functions, handle suspend signal in a Pico-like manner and
2533 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00002534- winio.c:
2535 total_refresh()
2536 - Added edit_refresh() call to actually update the screen if messy.
2537 edit_refresh_clearok()
2538 - New function, does a total update for edit refresh, needed to fix
2539 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00002540 onekey()
2541 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00002542
Chris Allegretta6306a112000-09-02 07:55:41 +00002543 update_line()
2544 - Added check for binary data >= 1 and <= 26, and use ^+letter
2545 to display it. Should fix editing text files with binary
2546 data in them. Placing of the cursor seems to be a bit screwed
2547 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00002548- search.c:
2549 search_abort()
2550 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
2551 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00002552 findnextstr():
2553 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00002554 - Fixed check for string that only occurs on the same line failing
2555 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00002556
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00002557nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00002558- cut.c:
2559 do_cut_text()
2560 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00002561 - Added check_statblank().
2562 - Check for fileptr == filebot, if so return, we shouldn't bother
2563 cutting the magic line.
2564 do_uncut_text()
2565 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00002566- nano.c:
2567 main()
2568 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00002569- po/Makefile.in.in:
2570 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
2571 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00002572- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00002573 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00002574
Chris Allegretta0bf4e142000-08-04 02:42:04 +00002575nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00002576- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
2577 Affects many many functions. Removed functions edit_update_top and
2578 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00002579- Added global variable tabsize, we no longer screw with the curses
2580 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00002581- configure.in:
2582 - Finally fixed check for slang to report "no" if not called
2583 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00002584- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00002585 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00002586 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00002587 null_at()
2588 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00002589 delete_buffer()
2590 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00002591 do_backspace()
2592 - Now calls page_up_center instead of page_up (as it should?)
2593 do_enter()
2594 - Fixed typo (?) in check for inptr->next. Caused lots of
2595 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00002596 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00002597 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00002598- search.c:
2599 replace_abort()
2600 - redundant, now just calls search abort until it does something
2601 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00002602- winio.c:
2603 edit_refresh()
2604 - Added check for current line "running" off the screen.
2605 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00002606 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00002607 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00002608 edit_update()
2609 - Rewritten, hopefully this will remove a lot of the
2610 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00002611- move.c:
2612 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00002613 - do an edit_update() at last case. Made function more like
2614 Pico's version, only move down to two lines before editbot.
2615 page_up()
2616 - Made function more like Pico's version, only move down to two
2617 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00002618
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00002619nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00002620- nano.h:
2621 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
2622- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00002623 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00002624 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00002625 - Simplified check for freeing cutbuffer. Added checks for doing
2626 multiple cuts with -k, now sets marked_cut to 2 for later
2627 processing by do_uncut_text().
2628 do_uncut_text()
2629 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00002630- files.c:
2631 write_file()
2632 - Removed (redundant) check for writing out files with -t.
2633 do_writeout()
2634 - Changed check for filename to filename[0]. Added some code,
2635 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00002636- nano.c:
2637 do_justify() & do_wrap():
2638 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00002639- de.po
2640 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00002641
Chris Allegretta1d7110d2000-07-23 16:59:07 +00002642nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00002643- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00002644 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
2645 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00002646- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
2647 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00002648- move.c
2649 page_down()
2650 - Don't edit_refresh() if the bottom of the file is in the edit
2651 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00002652- nano.c:
2653 main():
2654 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00002655 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00002656 die():
2657 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00002658 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00002659 - Changed exit semantics a bit so that aspell wouldn't get
2660 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00002661- files.c:
2662 read_file():
2663 - Added init of buf variable, hopefully this will stop the
2664 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00002665 write_file():
2666 - Added code to check to see if using -l and the file is not
2667 in fact a link. This should fix the behavior where a file
2668 that does not have write permission but could be removed and
2669 rewritten is saved without error. Please test this feature
2670 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00002671- search.c:
2672 search_init():
2673 - Added " (to replace)" statement to end of search string if
2674 we are doing a replace. Manually converted all the translations
2675 from '%s' to '%s%s' to ensure they still work with the new code.
2676 Also put in the translation for " (replace)" in the .po's. Hope
2677 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00002678 do_search(), do_replace():
2679 - Removed call to search_abort()/replace_abort() before call to
2680 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00002681 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00002682 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00002683 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00002684- fr.po:
2685 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00002686- es.po:
2687 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00002688
Chris Allegrettae955dae2000-07-07 22:24:59 +00002689nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00002690- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00002691 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
2692 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
2693 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00002694 search_init() and do_replace() and strstrwrapper().
2695 - Added _POSIX_VERSION check to regexp code. Better than nothing
2696 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00002697 - Made search functions & keys more like Pico. Added goto line from
2698 search and replace function, changed wording to "No Replace" instead
2699 of "To Search", "To Replace" to simply "Replace", and changed to
2700 Pico's keystroke by default, ^R. Affects search_init(),
2701 do_search() in search.c, globals in nano.h and
2702 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00002703 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00002704- cut.c
2705 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00002706- files.c:
2707 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00002708 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00002709- nano.c:
2710 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00002711 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
2712 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00002713 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00002714 - Corrected FIXME in do_enter with explanation. (Rob)
2715 - Fixed FIXME in do_justify, resulted in creation of
2716 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00002717 help_init():
2718 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00002719 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00002720 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00002721 do_backspace(), do_delete():
2722 - Added magic line code here too.
2723
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00002724- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00002725 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00002726- fi.po:
2727 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00002728- utils.c:
2729 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00002730- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00002731 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00002732 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00002733 do_yesno(), nanogetstr():
2734 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00002735 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
2736 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00002737 clear_bottomwin():
2738 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00002739 edit_update_top():
2740 - Fixed a bug that caused nano to not update when
2741 current->next == NULL (e.g. paging down to the very bottom of
2742 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00002743 fix_editbot:
2744 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00002745 edit_add:
2746 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00002747
Chris Allegretta4da1fc62000-06-21 03:00:43 +00002748nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00002749- New flag "-T" or "--tabsize" to specify how to display tab widths.
2750 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00002751 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00002752 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00002753- id.po:
2754 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00002755- es.po:
2756 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00002757- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00002758 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00002759 we had been seeing. Affects: add_marked_sameline, edit_add,
2760 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00002761 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00002762 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00002763 - Cut display_main_list call, as this function is only supposed to
2764 refresh what's already on the screen, not go through the process
2765 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00002766- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00002767 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00002768- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00002769 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00002770 - Removed editwineob, as it was redundant for (editwinrows - 1).
2771 Changed all calls to editwinrows - 1 in nano.c and move.c.
2772 - Removed all functions that were split into other files.
2773 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00002774 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00002775 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00002776 do_insertfile():
2777 - Fix display problem when using ctrl-r to load a file
2778 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00002779 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00002780 - Added titlebar(), edit_refresh() and display_main_list() calls
2781 because a resize wasn't picking up on possible different width
2782 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00002783- utils.c:
2784 - Moved nmalloc() and nrealloc() here.
2785- move.c:
2786 - New file, contains movement functions (like do_home(), do_up(),
2787 do_down(), page_up(), etc...).
2788- files.c:
2789 - Contains functions for files (read_file, insert_file,
2790 do_writeout(), etc).
2791- search.c:
2792 - Contains all our searching and related functions, (do_search(),
2793 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00002794
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002795nano-0.9.10 - 06/04/2000
2796- es.po:
2797 - Translation updates (Jordi).
2798- AUTHORS, nano.1.html, TODO, README:
2799 - Documentation and email address updates (Jordi).
2800- nano.c:
2801 main():
2802 - Moved Adam's termio code down to after getopt() and before initscr()
2803 to stop people losing their SIGINT character when using args that
2804 exit nano before it runs (--version, --help, etc).
2805
2806nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00002807- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002808 - Added proper lines for defining LOCALEDIR.
2809- configure.in:
2810 - Spelling fixes (Jordi Mallach)
2811 - Removed CFLAGS changes for gcc, reduces portability according to
2812 some, and it certainly doesn't seem to decrease exe size.
2813- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00002814 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002815- POTFILES.in:
2816 - Added global.c file, was screwing up translations (i.e. they
2817 weren't getting done).
2818- cut.c:
2819 add_to_cutbuffer():
2820 - Added totsize increment.
2821 - Cut fixes and optimizations (Rob Siemborski).
2822 do_uncut_text():
2823 - Added totsize increment in several places.
2824- nano.c:
2825 headers:
2826 - Removed LOCALEDIR define.
2827 do_justify():
2828 - Added edit_refresh() call (bug discovered by Adam).
2829 page_down_center():
2830 - Added call to edit_update(current) for last case. Removed
2831 increment of current_y since it's now just wasteful.
2832 do_enter():
2833 - Added totsize increment.
2834 renumber(), renumber_all():
2835 - Removed totsize-- and totsize init in renumber_all.
2836 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00002837 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002838 unnecessary wrefresh(edit).
2839 main():
2840 - Moved up locale calls so that translated --help messages would
2841 actually get translated.
2842 do_backspace(), do_delete():
2843 - Added decrement of totsize.
2844 init_help_msg():
2845 - New function, initializes help text if NANO_SMALL isn't set (fixes
2846 broken i18n).
2847 read_file():
2848 - malloc call changed to nmalloc (Rob Siemborski).
2849- winio.c:
2850 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00002851 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002852
2853nano-0.9.8 - 05/18/2000
2854- nano.c:
2855 main():
2856 - Added awesome code that disables the CINTR and CQUIT
2857 character (Adam Rogoyski). Removed raw()/noraw() calls so that
2858 nano gets input in 'normal' mode, which is the Right Way(tm) to
2859 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00002860 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002861 term settings, and changes to finish() and die().
2862 - Added extra #ifdefs in getopt code, so that above code and
2863 flag init is run even if GETOPT_LONG is not #defined.
2864 - Added memset line before sigactions. (Adam Rogoyski)
2865 do_suspend():
2866 Removed function, see above for why.
2867- winio.c:
2868 update_line(), center_cursor():
2869 - Removed wrefresh(edit) from bottom of functions. wrefresh
2870 should now only be called once, at the bottom of the main()
2871 loop.
2872- global.c:
2873 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00002874 - Removed suspend sc_init call and suspend message because suspend
2875 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002876
2877nano-0.9.7 - 05/14/2000
2878- nano.c:
2879 do_home(), do_end():
2880 - Added calls to update_line for the current line, fixes
2881 lack of update (bug discovered by Alberto García).
2882 main():
2883 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
2884 following symlinks even when -l isn't set, and "no changes"
2885 error when nano is called from crontab -e (Adam Rogoyski).
2886- cut.c:
2887 do_cut_text():
2888 - Added edit_update_top to cut when mark is set, fixes lack of
2889 display update (bug discovered by Ken Tyler).
2890
2891nano-0.9.6 - 05/08/2000
2892- New Italian translation (it.po), by Daniele Medri.
2893- nano.c:
2894 page_up(), page_down():
2895 - Added reset of placewewant to 0, as it should be.
2896 do_up(), do_down():
2897 - Added call to update_line() for line we move from and line we
2898 move to, in order to keep the highlighting correct.
2899 do_wrap():
2900 - Added var chop, new code to wrap lines more like Pico, mostly.
2901 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
2902- winio.c:
2903 do_help():
2904 - Added edit_refresh() before exit.
2905 update_cursor():
2906 - Removed cursor updating which really wasn't needed anyway.
2907 edit_update():
2908 - Removed yucky code that didn't work, this function now just
2909 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00002910 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002911
2912nano-0.9.5 - 05/01/2000
2913- Removed bytes from file struct because it was computationally wasteful.
2914- cut.c:
2915 do_uncut_text():
2916 - Added call to edit_refresh().
2917- nano.c:
2918 do_backspace():
2919 - Added reset of editbot when deleting the last line of the file
2920 (bug discovered by Adam).
2921 do_char():
2922 - Removed call to reset_cursor().
2923 do_delete():
2924 - Added similar check as to do_backspace().
2925 do_enter():
2926 - Added call to edit_refresh().
2927 do_left(), right():
2928 - Added call to update_line(), still redundant but better...
2929 do_up(), do_down():
2930 - Added refresh calls both for current line and line to which
2931 we are moving.
2932 main():
2933 - Removed inefficient call to edit_refresh() after every keystroke.
2934 It is now up each function to leave the screen in a good state.
2935- winio.c:
2936 do_cursorpos()
2937 - Rewritten to not use bytes from filestruct by an incremental sum.
2938 update_line(), reset_cursor():
2939 - Optimized calls to xplustabs() through a single variable.
2940 - update_line() now takes a new arg, an index into the string
2941 for where to update the line from. Needed for new update
2942 code.
2943- configure.in:
2944 - Better checks for slang, allows argument to --with-slang.
2945 (Albert Chin-A-Young)
2946 - Removed -Iintl from CFLAGS in gcc check.
2947- Makefile.am:
2948 - Addition of -Iintl for gettext (Albert Chin-A-Young)
2949
2950nano-0.9.4 - 04/25/2000
2951 - Fixed calls to no_help and changed them to the more consistent
2952 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
2953 not 1. Code to temporarily disable NO_HELP when in the
2954 help system. (Adam Rogoyski)
2955- cut.c:
2956 do_marked_cut(), do_cut(), do_uncut():
2957 - Commented out unnecessary bits when NANO_SMALL is being used.
2958- winio.c:
2959 xpt(), strlenpt(), actual_x():
2960 - Added check for value of data[i] & 0x80, if so do not make
2961 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
2962 edit_refresh():
2963 - New check for temp == NULL (bad thing), if so go back to the
2964 previous line. New filestruct var hold points to prev line.
2965 Fixes segfault when paging down to the end of a file.
2966- nano.c:
2967 write_file():
2968 - Added check for if file exists and is not equal to the current
2969 filename, prompt for overwrite (Adam Rogoyski).
2970 do_down():
2971 - Removed check for current->next == NULL, now checks return value
2972 of do_down before setting current_x = 0 (discovered by Adam).
2973 do_justify():
2974 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00002975 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002976 by Adam).
2977- utils.c:
2978 - Removed extra macro defs that are now in nano.h.
2979- nano.h:
2980 - Changed macro SET() to use |= instead of ^=. Fixes bug in
2981 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00002982 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002983
2984nano-0.9.3 - 04/29/2000
2985- cut.c:
2986 do_marked_cut():
2987 - Fixed off by one error in cut code for marked text.
2988 do_cut_text():
2989 - Removed check for being on the last line, part of
2990 magic line code.
2991 add_to_cutbuffer():
2992 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
2993 - Added inptr->prev = NULL for case where cutbuffer == NULL.
2994- nano.c:
2995 do_backspace(), do_char():
2996 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00002997 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00002998 at least one known segfault condition.
2999 do_enter():
3000 - Added setting editbot to new node if the new node is the last
3001 node in the file.
3002 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00003003 - Changed writing file behavior. Now, if last line of the file
3004 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003005- winio.c:
3006 add_marked_sameline():
3007 - New code that checks for whether the begin and end of the marker
3008 are on different lines. Missing previously.
3009 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00003010 - added some more checks for text length. Cleaned up some
3011 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003012 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00003013 - Removed check for temp == filebot, it is now treated like any other
3014 line. Fixes a bug where selected text on the last line shows
3015 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003016 xpt():
3017 - Removed an extra computation for tabs variable that was incorrect.
3018 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00003019 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003020 xpt(current, current_x)
3021- nano.1, nano.1.html:
3022 - Added -l option to man pages.
3023- configure.in:
3024 - New option --enable-tiny, #defines NANO_SMALL in config.h.
3025 Disables call to gettext in functions and other i18n stuff in
3026 nano.c, the detailed help mode, the resize functions, and the
3027 justify code which no one ever uses.
3028 - New option --with-slang. Enables slang libraries instead of
3029 ncurses, requires slcurses.h for wrapper functions. (Based
3030 on patches for 0.8.7 by Glenn McGrath).
3031
3032nano-0.9.2 - 04/15/2000
3033- This release just fixes the serious segfault problem if nano is
3034 invoked any way other than using the absolute path. The bug was
Chris Allegretta6df90f52002-07-19 01:08:59 +00003035 in the new code for checking whether nano is invoked as 'pico'.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003036
3037nano-0.9.1 - 04/14/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00003038- Added Pico compatibility for ^T when in search or switch to switch
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003039 to the opposite function. Added one to REPLACE_LIST_LEN and
3040 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00003041 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003042 to search_init(). Handlers in do_replace and do_search().
3043- New write code, now follows symbolic links instead of replacing them
3044 with the new file. New option (-l, --nofollow) to enable the old
3045 (incorrect, but secure) behavior (Adam Rogoyski).
3046- nano.c:
3047 do_wrap():
3048 - Fixed another bug relating to wrapping, and which would cause
3049 a segfault *sigh*.
3050 do_replace():
3051 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00003052 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003053 add_marked_sameline():
3054 - New function, handles marked text when start & end of marker is
3055 on one line, also supports most marked text when cursor > COLS.
3056 main():
3057 - Code to check if nano is invoked as 'pico', and if so
3058 automatically set pico_msgs (Robert Jones).
3059
3060nano-0.9.0 - 04/07/2000
3061- nano.1, nano.1.html: Updated man page with my email address and homepage.
3062- winio.c:
3063 reset_cursor(), update_line():
3064 - Changed update algorithm for x value to (COLS - 7) multiple when x
3065 value > (COLS - 2).
3066- edit_refresh():
3067 - Removed inner loop code, now calls update_line() for each line
3068 in question, MUCH nicer.
3069- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00003070 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003071 - Added check for data[i] < 32, most of such bits are 2 chars wide.
3072- update_line():
3073 - Fixed a stupid call to strlenpt with col when we should have
3074 been using actual_col. Ugh.
3075
3076nano-0.8.9 - 03/22/2000
3077- nano.c:
3078 empty_line(), no_spaces(), justify_format(), do_justify():
3079 Actually added these (screwup applying patch).
3080 do_justify(): Added call to set_modified().
3081
3082nano-0.8.8 - 03/12/2000
3083- Preliminary internationalization support. Many many functions modified
3084 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
3085 New dirs po/ and intl/, changes to configure.in and Automake.am to
3086 support i18n.
3087- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00003088 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003089 statics: Changed some things that were not necessarily static
3090 (Adam Rogoyski).
3091 nrealloc(): New function, similar to nmalloc(). Changed calls from
3092 realloc() to nrealloc (Adam Rogoyski).
3093 empty_line(), no_spaces(), justify_format(), do_justify():
3094 New functions for justify function (Adam Rogoyski).
3095- winio.c:
3096 blank_edit(): Added wrefresh call to edit so that screen updates (like
3097 on ^L) actually work.
3098 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
3099
3100nano-0.8.7 - 03/01/2000
3101- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00003102 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003103 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00003104 break the line exists, and for wrapping lines longer than
3105 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003106- nano.1.html:
3107 Html version of man page, now included in dist. For
3108 the benefit of nano packages in Linux distributions.
3109
3110nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00003111- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003112 shortcut_init():
3113 Added shortcuts for goto_line and do_replace when using
3114 pico_msgs. Oops.
3115- nano.c:
3116 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00003117 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003118 Removed check for backing up past spaces first.
3119 main(): Added for loop to check for alt keys instead of hard list.
3120 do_enter(): Fix for bug #14, added call to reset_cursor and messed
3121 up do_char quite a bit.
3122 version(): Added time and date stamp for compile on version message.
3123 Added mail and web page info.
3124- README: Updated mailing list info.
3125
3126nano-0.8.5 - 02/18/2000
3127- nano.c:
3128 main(): Finally fixed tilde being input on page up/down keys in
3129 certain terminal types. Fix was input 26->91->5[34] check
3130 for 126, if so make the kbinput PAGE UP/DOWN, else unget
3131 the keystroke and continue. Added #include <ioctl.h> for
3132 ioctl call.
3133 handle_hup():
3134 Handler for hangup signal. Belated include of patch from
3135 Tim Sherwood.
3136- winio.c:
3137 edit_refresh():
3138 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00003139 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003140 revamped.
3141 check_statblank():
3142 Added check for constupdate, makes things less choppy
3143 (Adam Rogoyski)
3144
3145nano-0.8.4 - 02/11/2000
3146- Moved global variables that were only (or mostly) used in one file into
3147 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
3148- global.c:
3149 shortcut_init():
3150 Removed redundant NANO_CONTROL_H from backspace shortcut,
3151 added char 127 which should have been there.
3152- nano.c:
3153 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
3154 segfaults (Adam Rogoyski).
3155- Makefile.am: Added all source filenames (Adam Rogoyski).
3156- nano.1: Fixed mail addressed and added mailing list address.
3157- README: Updated my email address and the nano web page.
3158
3159nano-0.8.3 - 02/08/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00003160- New Pico mode (-p, --pico), toggles (more) compatibility with the
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003161 Pico messages displayed in the shortcut list. Note that there are still
3162 small differences in this mode.
3163- nano.h: New shortcut struct format, for the benefit of i18n and
3164 our help menu. Removed shortcut message macros, they are
3165 now all in shortcut_init in global.c.
3166- nano.c:
3167 do_wrap(): Removed resetting of current_x when we are in fact
3168 wrapping to the next line, fixes a bug in -i mode.
3169 do_enter():
3170 Rewrote the autoindent mode code to be a lot less pretty,
3171 but a lot more magical.
3172 main():
3173 Removed case for ignoring char 126 (~). That's kind of
3174 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00003175 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003176 main switch loop in much snazzier fashion based on the
3177 shortcut list.
3178- winio.c:
3179 New function display_main_list. Affects all functions
3180 that used to call bottombars() with main_list. Added
3181 because we now only call bottombars with the macro
3182 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
3183 changes to the main_list shortcut list (see global.c below).
3184 New function do_help, our preliminary dynamic help system.
3185- Many many funcs:
3186 Changed from int to void to allow one uniform type to call
3187 from the shortcut struct. Also a few functions that do
3188 not simple have void argument have new functions called
3189 funcname_void(void) to be called from the shortcut list.
3190 do_cut_text and do_uncut_text were changed to void
3191 arguments because they were never called with a filestruct
3192 other than *current anyway.
3193- global.c:
3194 Shortcut list main_list was expanded to cover all
3195 shortcuts that could be caught in the main loop.
3196 Consequently there is a new macro MAIN_VISIBLE which tells
3197 how many items in the main list to actually show.
3198
3199nano-0.8.2 - 02/02/2000
3200- Added initial mouse (-m, --mouse) support. New global variable
3201 use_mouse. (Adam Rogoyski)
3202
Chris Allegretta88520c92001-05-05 17:45:54 +00003203- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003204 regardless. (Adam Rogoyski).
3205 do_delete():
3206 Deleted call to do_backspace() when on the end of a line,
3207 because it won't update the line properly.
3208 do_backspace():
3209 Removed unnecessary pointer manipulation that was being
3210 handled by unlink_node().
3211 open_file():
3212 Added check for trying to open a directory (currently we
3213 segfault on this). Bug pointed out by Chad Ziccardi.
3214
3215nano-0.8.1 - 01/28/2000
3216- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
3217 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
3218 global.c and proto.h.
3219- nano.c:
3220write_file(): Added (incredibly) necessary check for EPERM when
3221 link() fails. This allows us to actually save
3222 files via rename() on filesystems that dont
3223 support hard links (AIEEEEEE).
3224do_goto():
3225 Fixed a stupid mistake where we were calling
3226 bottombars() with replace_list instead of goto_list.
3227- nano.h:
3228 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00003229 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003230 for help function and i18n.
3231- global.c:
3232 New functions shortcut_init (called in nano.c) and
3233 sc_init_one() to initialize the shortcuts without
3234 using {}s (for i18n).
3235
3236nano-0.8.0 - 01/25/2000
3237- View flag (-v, --view) implemented. Global variable view_mode, affects
3238 main loop of nano.c and new_file(). (me)
3239- nano.c:
3240 split checks for TERMIOS_H and TERMIO_H up so we
3241 can (theoretically) include them both, which is good.
3242handle_sigwinch():
3243 Added check for ncurses.h. (Andy Kahn)
3244do_spell():
3245 We now only try ispell because we don't as of yet
3246 handle the 'spell' program the right way, now that
3247 I finally know what the right way is =-). Added
3248 call to edit_update(fileage) to stop segfaults.
3249global_init():
3250 Added initialization of edit* filestruct pointers
3251 to stop segfaults on spell check.
3252usage():
3253 Check for getopt_long, and if no leave out the
3254 GNU options everyone seems to love so much (Andy Kahn)
3255main():
3256 Added checks for getopt_long (Andy Kahn)
3257 We ignore character 126 because it gets put into
3258 the buffer when we page up/down on a vt terminal.
3259write_file():
3260 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00003261 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003262 better in the function comments. Fixed my
3263 stupidly commented out check for tmp on setting
3264 umask which I really like =>
3265- nano.h:
3266 Made desc variable in shortcut struct a pointer
3267 instead of a fixed-length string.
3268- utils.c:
3269 Fixed check for config.h before nano.h.
3270- configure.in:
3271 New checks for getopt_long, getopt.h, removed
3272 CFLAGS and LDFLAGS changes. Gonna have to run
3273 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00003274 Added check for HAVE_WRESIZE, new file acconfig.h
3275 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003276
3277nano-0.7.9 - 01/24/2000
3278- New autoindent feature. Command flag 'i' or '--autoindent'. New
3279 function do_char() to clean up character output, global
3280 variable autoindent in global.c. (Graham Mainwaring)
3281- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
3282 files on exit without prompting. Affects do_writeout(). Also
3283 do_writeout() now takes a parameter for if exiting.
3284 Global variable temp_opt in global.c (Graham Mainwaring)
3285- Preliminary spell program support. Added command flag '-s' or
3286 '--speller' for alternative speller command. Added function do_spell()
3287 and exit_spell() to nano.c. New global variable alt_speller.
3288- nano.c:
3289 main(): We now ignore input of decimal 410 because these get entered
3290 when we resize the screen. Sorted options in getopt()
3291 switch statement.
3292 usage(): Sorted options and changed tabs to make room for -s option.
3293 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
3294 doesn't print the number of lines written on the statusbar.
3295 global_init():
3296 Added more initializations to globals to support do_spell().
3297
3298nano-0.7.8 - 01/23/2000
3299- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00003300- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003301 and main() in nano.c
3302- Removed redundant reset_cursor() calls from the blank() routines.
3303- nano.c:
3304 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
3305 Removed check for isprint() characters in main while loop
3306 for people with odd character sets *shrug*. Added some X
3307 window F-key combos.
3308 read_line(): New function, consolidates of most of the special
3309 sections of the file reading code. (Rob Siemborski)
3310 do_replace(): Many scattered fixes. (Rob Siemborski)
3311 write_file(): Added check for empty filename.
3312- winio.c:
3313 nanogetstr(): Fixes for deleting at places other than the end of the
3314 buffer, cut support. (Adam Rogoyski)
3315 blank_edit(): New function, blanks edit buffer. Added call to it in
3316 total_refresh().
3317- configure: Checks for glib if snprintf of vsnprintf aren't available
3318 (Andy Kahn). Changed warning message when no termcap lib
3319 is found.
3320
3321nano-0.7.7 - 01/19/2000
3322- Option '-v' for version moved to '-V', because -v is Pico's "read only"
3323 mode (affects getopt() in main() and usage() function in nano.c
3324- New flag -c, always show cursor position. Affects main() in nano.c and
3325 statusbar() in winio.c
3326- Option '-x' doesn't show help window at the bottom of the editor.
3327 New variable no_help in nano.h and proto.h, affects main(), usage(),
3328 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
3329 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
3330 hand =P) (Adam Rogoyski)
3331- nano.c:
3332 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
3333 page_up(), page_down():
3334 - New functions. We now set the cursor at the top right corner,
3335 not at the center line, and page up and down a full screen
3336 rather than a half screen. Original functions renamed to
3337 page_up_center() and page_down_center().
3338 main():
3339 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
3340 in main while loop because suspend mode was broken. This should
3341 fix it, at least for now.
3342 - Added long option support (By popular harassment ;-) - Added
3343 #include for getopt.h, changed getopt() to getopt_long().
3344 Options added so far: --version (-V), --nowrap (-w), --suspend
3345 (-z), --help (-h), --nohelp (-x).
3346 - Rewrote signal statements (Adam Rogoyski)
3347
3348nano 0.7.6 - 01/15/2000
3349- New ChangeLog format
3350- nano.c:
3351 main(): Bound CONTROL_H to backspace (oops)
3352 Added more Alt-[-key combinations, for page up & down.
3353 read_bytes(): New function (Adam Rogoyski)
3354 read_file(): Optimizations - malloc()s *buf a little at a time rather
3355 than one huge buffer, and replaced the strcat at the end
3356 with an index variable. Added call to read_bytes().
3357 do_next_word(): New function, binding is control-space (0) (me)
3358
3359- winio.c:
3360 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
3361 (formula is extra space needed = COLS / 6 - 13).
3362 actual_x() & strlenpt():
3363 Added bug#9 fix - when tabs % 8 == 0, we should only
3364 increment tabs by 1.
3365 titlebar(): Fixed overrun in titlebar on very long filenames.
3366
33670.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
3368 writing a newline at EOF. do_cursorpos and do_replace are now not
3369 directly bound to signals but picked up as their control sequences
3370 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
33710.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
3372 available memory, align bug fixed (Big Gaute).
3373
3374--- As of version 0.7.4 TIP is renamed to nano.
3375
33760.7.3 Fixed a double blank_statusbar() when jumping to first and last
3377 lines. Took out unnecessary updates in load_file. Bug fix in
3378 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00003379 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003380 with replace all, more/better comments (Robert Siemborski)
33810.7.2 Our first patch accepted into the source! configure fixes
3382 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
3383 Bug fix in update_line for editing long lines. Fixed arguments
3384 being put into the filename when none is specified. Preliminary
3385 +line command argument function.
33860.7.1 configure tweak for better FreeBSD support. Removed refresh() from
3387 edit_refresh to stop cursor "jumping" during screen updates. This
3388 will probably cause a bug or two. Replace is now Alt-R (@R) and
3389 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
3390 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
3391 Control-G will become the Help key, but for now is stubbed out.
33920.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
3393 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
3394 length file. Added Esc-[-A,B,C,D cursor key sequences.
33950.6.9 Preliminary cursor position function. Split up tip.c more, made
3396 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
3397 that was leaving out a character.
33980.6.8 By request, optchr in main() is now an int. Removed unneeded
3399 globals. Bound functions for next/prev page, and wrote functions
3400 do_home and do_end.
34010.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
3402 created read_file. Implemented Insert File. Fixes in tipgetstr
3403 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
34040.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
3405 aborted searches and more Pico-compatible messages. statusq() now
3406 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
34070.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
3408 regarding buffers with filebot in them. Fixins in do_backspace
3409 and do_enter. Removed unused variables. Removed strip_newline.
34100.6.4 Took out the awful newlines from each string buffers. This will
3411 certainly cause more bugs. Fixes in do_exit(). Better empty file
3412 handling (I hope).
34130.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
3414 do_enter() rewritten.
34150.6.2 Better default file permissions. Complete rewrite of do_wrap().
3416 Better handling of editing with cursor near COLS - 1.
34170.6.1 Starting to implement wrapping toggle. Fix for unhandled control
3418 codes being entered into the buffer. Bug fix in actual_x; more
3419 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00003420 locked into cutbuffer when cutting more than one marked screen of
3421 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000034220.6.0 We have TABs!!! To do this, placewewant is now set to the actual
3423 width on the screen we want to be, not an index of current->data.
3424 New functions xplustabs and actual_x convert the actual place
3425 the cursor should be on the screen to and from the place in the
3426 string.
34270.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00003428 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003429 arrow. Preliminary support for longer than COLS - 1 lines.
3430 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000034310.5.4 Fixed a bug in total_update that wasn't repainting the screen
3432 properly. tipgetstr is much more messy but text is now more
3433 editable ;) Fixed crash on entering a new file, hopefully. Awful
3434 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000034350.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
3436 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00003437 I would not trust your data with the mark code right now, but then
3438 we're not at version 1.0 yet so dont trust anything ;)
34390.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003440 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00003441 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003442 but does not actually affect what gets put in the cutbuffer (yet).
34430.5.1 Writing a file out causes modified to be set back to 0. Good.
3444 Set_modified function written. Cut and uncut text now set
3445 modified when called.
34460.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00003447 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003448 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00003449 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000034500.4.2 Implemented replace all in replace function. Crude exit function
3451 (asks yes or no if modified but does not write to file).
34520.4.1 Implementing search & replace. Fixed crash on deleting at top of
3453 edit buffer. Implemented "timeout" of statusbar messages.
3454 Implemented ^A and ^E (beginning and end of line).
34550.4.0 Split code into global.c and proto.h to allow for better multiple
3456 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00003457 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000034580.3.1 Write edit_refresh which doesn't move the screen around, just
3459 updates what's there already. do_wrap() and do_enter() added.
34600.3.0 Preliminary cutbuffer (cut and uncut) support.
34610.2.7 Check for Modification added. do_search() works.
34620.2.5 Rewrite of file data struct.
34630.2 Read in data to buffer, bound keystrokes to stub functions,
3464 initial cursor movement on screen. Initial autoconf support.
34650.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00003466
3467$Id$