blob: c7da8e00307bc20a3cd19e931a93bf5d9bae31b6 [file] [log] [blame]
David Lawrence Ramseyd36715e2004-06-28 13:23:37 +00001CVS code -
David Lawrence Ramseyebd0d7c2004-07-01 18:59:52 +00002- General:
3 - More minor comment cleanups. (DLR)
David Lawrence Ramseyce62e822004-08-05 22:10:22 +00004 - Convert more ints and functions using 0 and 1 to bools using
5 TRUE and FALSE. (David Benbennick and DLR)
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +00006 - Change more instances of ints that have large enough upper
7 bounds and which can never be negative to size_t's, and
8 convert nano to handle them properly. (DLR)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +00009 - Convert the shortcut list functions and most related functions
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +000010 to return void instead of int, as the return values of all
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +000011 those functions are essentially unused. Changes to
12 sc_init_one(), shortcut_init(), etc. (David Benbennick and
13 DLR)
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +000014 - Make flags and all variables meant to store the value of flags
15 longs for consistency. (David Benbennick)
16 - Rename the TEMP_OPT flags to TEMP_FILE, as it's more
17 descriptive. (DLR)
David Lawrence Ramseya5dda842004-07-08 15:27:04 +000018 - Remove unused global variable search_offscreen. (David
19 Benbennick)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +000020 - Add new N_() macro to mark strings that aren't translated
21 immediately, and convert nano to use it in cases where the
David Lawrence Ramsey76f63ff2004-08-05 15:45:09 +000022 translated string is stored in a const char*. Changes
23 to sc_init_one(), print1opt(), help_init(), rcfile_error(),
24 do_credits(), etc. (David Benbennick) DLR: Do this for
25 toggle_init_one() too.
26 - Minor tweaks and clarifications to some option descriptions.
27 (DLR)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +000028 - Overhaul the shortcut list and toggle list initialization
29 code for efficiency. Changes to shortcut_init() and
30 toggle_init(). (David Benbennick) DLR: Move "Cancel" to just
31 after "Get Help" in the file browser list, for consistency
32 with all the other lists, have the replace list accept all the
33 same function keys as the search list, and clarify a few
34 shortcut descriptions.
David Lawrence Ramsey49c3f242004-07-12 16:07:14 +000035 - Convert nano to use the new parse_num() function to read in
36 numeric values at the command line and in the rcfile, and
37 duplicate the messages used in the rcfile in the command line
David Lawrence Ramseyc53ab2a2004-08-04 18:24:53 +000038 for consistency. (David Benbennick) DLR: Tweak parse_num() to
39 parse ssize_t values instead of ints and to return a bool
40 indicating whether parsing succeeded. Convert tabsize,
David Lawrence Ramsey49c3f242004-07-12 16:07:14 +000041 wrap_at, and fill to ssize_t in order to work with
42 parse_num() properly and also to increase their capacity
43 while keeping the ability to hold negative numbers in case of
44 errors. Also exit instead of calling usage() in the event of
45 an invalid fill value, for consistency with how an invalid
David Lawrence Ramsey36dd87b2004-07-18 17:43:43 +000046 tabsize value is handled. Finally, handle invalid tabsize
David Lawrence Ramsey04419b92004-07-18 18:13:54 +000047 entries in the rcfile the same way as on the command line,
48 and reset tabsize and wrap_at to their default values if
49 invalid rcfile entries are specified for them.
David Lawrence Ramseyaea4dab2004-07-13 17:09:24 +000050 - Remove several unnecessary reset_cursor() calls. (David
51 Benbennick)
David Lawrence Ramseyfd3039a2004-07-17 19:49:12 +000052 - Include <sys/types.h> in proto.h. (David Benbennick) DLR:
53 Remove some redundant inclusions of <sys/types.h> elsewhere.
David Lawrence Ramsey8aaf0302004-07-27 16:46:35 +000054 - Move the main terminal initialization functions, aside from
55 initscr(), into a new terminal_init() function, and convert
56 nano to use it. (DLR)
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +000057 - Convert placewewant to a size_t, and convert some functions
58 that use it as a parameter to use size_t as well. (David
59 Benbennick and DLR)
David Lawrence Ramsey819c7f02004-07-30 03:54:34 +000060 - Overhaul the paragraph searching code and some of the justify
61 code to clarify it and fix a bug where searches from the
62 previous paragraph would move up too far. Also make
63 quotestr-related variables global so that they only have to be
64 compiled once, and remove the no-longer-needed IFREG() macro.
65 New functions begpar() and inpar(); changes to quote_length(),
66 quotes_match(), do_para_search(), do_para_begin(),
67 do_para_end(), and do_justify(). (David Benbennick)
David Lawrence Ramseya6d26d02004-07-30 22:52:44 +000068 - Readded the errors flag and moved the ending prompt from
69 rcfile_error() to parse_rcfile() so that we only get prompted
70 once for all errors instead of separately for each error.
71 Also make sure that each rcfile error message ends in a
72 newline. (DLR)
David Lawrence Ramseyb8c479a2004-07-31 14:10:23 +000073 - Don't treat the return value of strn?(case)?cmp() as boolean.
74 (DLR and David Benbennick)
David Lawrence Ramsey76fb3ec2004-08-01 16:09:15 +000075 - Automatically install a symlink "rnano" pointing to nano.
76 Changes to src/Marefile.am. (DLR)
David Lawrence Ramsey22fac782004-08-05 15:16:19 +000077 - Move the static int pid to the beginning of nano.c with all
78 the other static variables. (DLR)
David Lawrence Ramsey00d77982004-08-07 21:27:37 +000079 - Consolidate some if blocks to remove some redundant code.
80 (David Benbennick)
David Lawrence Ramsey73cd1a52004-08-05 21:57:48 +000081 - Fix warnings when compiling with ENABLE_NLS undefined and with
82 -the fwritable-strings option. (David Benbennick)
David Lawrence Ramsey00d77982004-08-07 21:27:37 +000083 - Add various #ifdefs to fix warnings and compilation problems
84 when compiling with every option manually turned on, including
85 NANO_SMALL. (David Benbennick)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +000086- files.c:
87 close_open_file()
88 - Tweak to no longer rely on the return values of
89 open_(prev|next)file(). (DLR)
David Lawrence Ramseyc8c69d52004-07-03 03:22:23 +000090 write_file()
91 - For consistency with nano 1.2.x and with other editors, make
92 the mode of newly created files 666 instead of 600 before
93 it's modified by the umask. (DLR)
David Lawrence Ramseyf7b5d932004-07-05 14:27:29 +000094 do_writeout()
95 - If we're in restricted mode abd the current filename isn't
96 blank, we can't change it, so disable tab completion in that
97 case. (DLR)
David Lawrence Ramsey1536f862004-07-24 16:50:20 +000098 - Fix spacing problem in the "Save Under Different Name"
99 prompt. (DLR)
David Lawrence Ramseya539fce2004-06-29 00:43:56 +0000100- global.c:
101 shortcut_init()
102 - Fix erroneous #ifdef so that nano compiles with
103 --disable-justify again. (DLR; found by Mike Frysinger)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000104 - Change the Cancel shortcut in the file browser to an Exit
105 shortcut, to be more compatible with the current version of
106 Pico. (DLR)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +0000107 thanks_for_all_the_fish()
108 - Delete topwin, edit, and bottomwin. (David Benbennick)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +0000109- nano.c:
David Lawrence Ramseyce62e822004-08-05 22:10:22 +0000110 help_init()
111 - Fix the display of the translated key descriptions "Up" and
112 "Space" under all circumstances, and make the help browser
113 work properly when there are fewer than 24 columns available.
114 (David Benbennick)
David Lawrence Ramsey22fac782004-08-05 15:16:19 +0000115 usage()
116 - Don't translate the option strings for -Z/--restricted.
117 (David Benbennick)
David Lawrence Ramsey9ef3adb2004-07-30 17:30:17 +0000118 do_enter()
119 - Don't treat it as a special case when the user presses Enter
120 on the last line of the screen and smooth scrolling is on, for
121 consistency. (DLR)
David Lawrence Ramsey8aaf0302004-07-27 16:46:35 +0000122 do_alt_speller()
123 - When reloading the newly spell-checked temporary file, call
124 terminal_init() to make sure that all the original terminal
125 settings are restored, as a curses-based alternative spell
126 checker (e.g. aspell) can change them. (DLR)
David Lawrence Ramseyb8c479a2004-07-31 14:10:23 +0000127 quote_length()
128 - Fix problem where quoted justify wouldn't work if HAVE_REGEX_H
129 wasn't set. (David Benbennick)
David Lawrence Ramsey01a6bf42004-07-03 05:23:19 +0000130 do_justify()
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000131 - Add allow_respacing flag, used to indicate when we've moved to
David Lawrence Ramsey46938642004-07-03 14:15:58 +0000132 the next line after justifying the current line, and only run
133 the respacing routine when it's true. This keeps the
134 respacing routine from erroneously being run more than once on
135 the same line. (DLR)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000136 - Check for first_par_line's not being NULL and only run the
137 renumbering and cutbuffer-splicing routines depending on that
138 if that's the case. This fixes a segfault occurring when
139 trying to do full justification on a file with no paragraphs
140 (in which case there are no normal lines to renumber and no
141 backed-up lines to be stored in the cutbuffer or spliced back
142 in during unjustify). (DLR)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +0000143 do_exit()
144 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramseyaea4dab2004-07-13 17:09:24 +0000145 main()
146 - Move the reset_cursor() call to the beginning of the main
147 input loop, and remove the apparently unnecessary wrefresh()
148 call. (David Benbennick)
David Lawrence Ramseyad1fd0d2004-07-27 15:46:58 +0000149 - Call setlocale() outside the ENABLE_NLS #ifdef, since UTF-8
150 support won't work properly if the locale isn't set, whether
151 NLS is enabled or not. (Junichi Uekawa)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000152- nano.h:
153 - Reassign the key for full justification to Ctrl-U, for
154 compatibility with the current version of Pico. (DLR)
David Lawrence Ramsey819c7f02004-07-30 03:54:34 +0000155 - Remove justbegend enum, as it's no longer needed. (DLR)
David Lawrence Ramseyebd0d7c2004-07-01 18:59:52 +0000156- proto.h:
David Lawrence Ramseyf7080372004-07-08 17:15:10 +0000157 - Change the variables in the prototypes for do_justify(),
158 get_verbatim_kbinput(), and get_mouseinput() to match the ones
159 used in the actual functions. (DLR)
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +0000160 - Remove unused declaration of temp_opt. (David Benbennick)
David Lawrence Ramsey819c7f02004-07-30 03:54:34 +0000161 - Add missing copy_file() prototype. (David Benbennick)
David Lawrence Ramseydb357a12004-06-29 12:36:25 +0000162- rcfile.c:
David Lawrence Ramsey576bf332004-07-12 03:10:30 +0000163 rcfile_msg()
164 - Removed along with the related static int errors, and replaced
165 with calls to rcfile_error(). (David Benbennick)
166 - Removed the reference to "starting nano" in the statusbar
167 message, as it may be called when we exit if the history file
168 can't be saved. (DLR)
David Lawrence Ramseydb357a12004-06-29 12:36:25 +0000169 parse_rcfile()
170 - Have whitespace display default to off instead of on. (Mike
171 Frysinger)
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +0000172 nregcomp()
173 - Rename the variable flags to eflags so as not to conflict with
174 the global flags. (DLR)
David Lawrence Ramseyf56cc9e2004-07-29 14:32:17 +0000175- search.c:
176 do_replace_loop()
177 - Make sure old_pww is updated to the current value of
178 placewewant when a new match is found, so that edit_redraw()
179 will redraw the screen properly when only placewewant changes.
180 (DLR, found by Mike Frysinger)
David Lawrence Ramsey90625792004-07-30 20:21:34 +0000181 do_replace()
182 - Instead of using edit_update() to redraw the screen with
183 edittop at the top, set edittop beforehand and call
184 edit_refresh(). (DLR)
185 do_gotoline()
186 - Use parse_num() to interpret a line entered by the user, and
187 start the search for a line from current instead of fileage.
188 (DLR)
189 do_gotopos()
190 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey49c3f242004-07-12 16:07:14 +0000191- utils.c:
192 parse_num()
193 - New function to parse numeric values, so that we don't have to
194 duplicate code that calls strtol() all over the place. (David
195 Benbennick) DLR: Renamed from parse_int() to parse_num() and
196 converted to use ssize_t instead of int.
David Lawrence Ramseycff55582004-06-30 12:28:15 +0000197- winio.c:
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +0000198 get_kbinput()
199 - Since the only valid values for escapes are 0, 1, and 2,
200 convert it to an int. (DLR)
David Lawrence Ramseycff55582004-06-30 12:28:15 +0000201 get_control_kbinput()
202 - Fix erroneous debugging statement so that nano compiles with
203 --enable-debug again. (Jon Oberheide)
David Lawrence Ramsey0fb841a2004-07-01 17:04:23 +0000204 nanogetstr()
205 - Tweak the code to update the edit window just before getting
206 statusbar input for efficiency, and update bottomwin just
207 before then too. (David Benbennick)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000208 - Don't delete the statusbar line on UnCut, since the current
209 version of Pico doesn't. (DLR)
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +0000210 do_cursorpos()
211 - Add assert to check whether totsize is correct. (David
212 Benbennick)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000213 line_len()
214 - Rename to help_line_len() so as not to conflict with the
215 line_len variable used elsewhere, and move inside the
216 DISABLE_HELP #ifdef surrounding do_help() since it's only
217 called in do_help(). (DLR)
218 do_help()
219 - Have help_line_len() properly return an int again, since its
220 value can't be larger than COLS. (DLR)
221 - Allow the user to exit the help browser via Ctrl-C as well as
222 Ctrl-X, for consistency with the file browser. (DLR)
David Lawrence Ramsey76fb3ec2004-08-01 16:09:15 +0000223- configure.ac:
224 - Add AC_PROG_LN_S, so that we can portably create symlinks.
225 (DLR)
David Lawrence Ramsey7d3817f2004-07-28 13:03:06 +0000226- nanorc.sample:
227 - Add sample regexes for patch files. (Mike Frysinger)
David Lawrence Ramsey2d140c22004-07-28 13:50:43 +0000228 - Various improvements to the "c-file" regexes. Add double,
229 typedef, extern, union, unsigned, inline, and long to the
230 green list. (Mike Frysinger) DLR: Also add signed, short, and
231 enum to the green list.
David Lawrence Ramsey8bf9ba02004-08-01 22:00:29 +0000232- nano.spec.in:
233 - Tweak to include all files in %{_bindir} instead of just nano,
234 so that the "rnano" symlink will be properly packaged. (DLR)
David Lawrence Ramseyd36715e2004-06-28 13:23:37 +0000235
David Lawrence Ramseye1151562004-06-28 13:17:33 +0000236GNU nano 1.3.3 - 2004.06.28
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000237- General:
238 - Minor comment cleanups. (DLR)
David Lawrence Ramsey604caf32004-04-19 02:44:13 +0000239 - Convert more ints used as boolean values to use TRUE and
240 FALSE. (David Benbennick)
David Lawrence Ramsey5520e852004-04-07 00:44:35 +0000241 - Make sure the special control keys are handled the same way
242 after the window is resized or we come out of suspend mode.
243 Changes to do_cont() and handle_sigwinch(). (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000244 - Change some instances of ints that can never be negative to
245 size_t's. (DLR)
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000246 - Add better explanations for and in the "Terminal breakage"
247 comments, and handle missing key #ifdefs inside the functions
248 that use those keys. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000249 - Add restricted mode, accessible via the -Z/--restricted
250 command line option or by invoking nano with any name
251 beginning with 'r' (e.g. "rnano"). In restricted mode, nano
252 will not read or write to any file not specified on the
253 command line, read any nanorc files, allow suspending, or
254 allow a file to be appended to, prepended to, or saved under a
255 different name if it already has one. (IO ERROR) DLR: Also
256 disable backup files and spell checking (since the latter can
257 leave a pre-spell-checked version of the file in a temporary
258 directory), use tail() to get the program name so that the
259 check for its beginning with 'r' will work when a path is
260 specified, disable toggles that are only useful with options
261 that are disabled in restricted mode, call nano_disabled_msg()
262 when trying to read or spell check a file instead of leaving
263 the shortcuts out of the main list, and instead of acting as
264 though TEMP_OPT is enabled when exiting with a modified file
265 (which caused problems if the filename was blank), only allow
266 a filename to be modified at the writeout prompt if it's blank
267 beforehand. Changes to do_writeout(), toggle_init(),
268 shortcut_init(), die_save_file(), and nanogetstr().
269 - Call nano_disabled_msg() directly from the shortcut list
270 instead of inside the disabled functions. (David Benbennick)
David Lawrence Ramsey0381c212004-05-01 01:21:38 +0000271 - Clarifications to comments explaining exactly what control
272 characters and escape sequences are supported. (DLR)
David Lawrence Ramsey5aa39832004-05-05 21:36:50 +0000273 - Disable "Where Is Next" in tiny mode. (DLR)
David Lawrence Ramsey8d3e7f32004-05-13 17:28:03 +0000274 - Added the ability to justify the entire file at once, which
David Lawrence Ramsey91bc83a2004-06-25 01:52:10 +0000275 Pico has via ^W^J. Changes to backup_lines() and
276 do_justify(); new functions do_justify_void() and
277 do_full_justify(). (DLR)
David Lawrence Ramsey1cadddd2004-05-17 20:32:51 +0000278 - Modify the justification algorithm to work the same way as in
279 the current version of Pico, i.e, add a space at the end of
David Lawrence Ramseya9a6ce02004-06-05 22:09:56 +0000280 each line of the justified paragraph except for the last one,
281 and if there was a space at the end of the last one, remove
David Lawrence Ramsey2b6c3012004-06-10 01:35:02 +0000282 it. Changes to justify_format() and do_justify(). Note that
283 we can no longer reliably detect the first modified line in a
284 paragraph, since a line unmodified by justify_format() may get
285 a space tacked onto the end of it or removed from the end of
286 it later. The entire original paragraph is now always backed
287 up, and justify_format() no longer has a non-modifying mode,
288 so it's now only called in backup_lines(). (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000289 - Wrap the long jump code in NANO_SMALL #ifdefs, since we only
290 use it if we're resizing the window, which is disabled when
291 NANO_SMALL is defined. (DLR)
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000292 - Add smart home key option, accessible via -A/--smarthome on
293 the command line, "set smarthome" in the rcfile, and the
294 Meta-H toggle in the edit window. Smart home works as
295 follows: When Home is pressed anywhere but at the very
296 beginning of non-whitespace characters on a line, the cursor
297 will jump to that beginning (either forwards or backwards).
298 If the cursor is already at that position, it will jump to the
299 true beginning of the line. This option is disabled in tiny
300 mode. Changes to do_home(), nanogetstr(), etc. (DLR;
301 suggested by Stephan T. Lavavej)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000302 - Minor tweaks to the punctuation in some statusbar messages.
303 (DLR)
David Lawrence Ramsey48ae9862004-05-28 17:23:33 +0000304 - Overhaul the low-level input routines into main routines that
305 actually get the input and state machines that interpret the
306 input. This allows better handling of the input (e.g. ignored
307 keys are now always ignored instead of just being ignored when
308 there are no escapes prefixing them) and will make it easier
309 to port to interfaces that don't have blocking input. New
310 functions reset_kbinput(), get_translated_kbinput(),
311 get_control_kbinput(), and get_untranslated_kbinput(); changes
312 to do_verbatim_input(), handle_sigwinch(), get_kbinput(),
313 get_ascii_kbinput(), get_escape_seq_kbinput(), and
David Lawrence Ramsey7ea39ef2004-06-04 22:36:42 +0000314 get_verbatim_kbinput(); removal of get_ignored_kbinput() and
315 get_accepted_kbinput(). (DLR)
David Lawrence Ramsey2ed225f2004-05-28 20:44:09 +0000316 - Overhaul all the movement functions in order to avoid
317 redundant screen redraws (and regexec()s when color support is
318 available) whenever possible during ordinary cursor movement
319 when the text doesn't change. Do the same for moving in
320 do_char(), do_delete(), do_next_word(), do_prev_word(),
321 do_search(), do_research(), and do_replace_loop. Changes to
322 do_first_line(), do_last_line(), do_home(), do_end(),
323 do_page_up(), do_page_down(), do_up(), do_down(), do_left(),
324 do_right(), do_delete(), do_backspace(), do_search(),
325 do_research(), do_replace_loop(), do_find_bracket(), and
326 edit_refresh(). New functions do_left_void(),
327 do_right_void(), need_horizontal_update(),
David Lawrence Ramseyc21790d2004-05-30 03:19:52 +0000328 need_vertical_update(), edit_scroll(), and edit_redraw(). All
329 of these functions but the first two require the previous
David Lawrence Ramseyce1d7652004-06-01 18:32:36 +0000330 versions of current and/or placewewant as parameters, so that
331 they can redraw properly when the location has changed. Also
David Lawrence Ramseyc21790d2004-05-30 03:19:52 +0000332 rename the int refresh in do_delete() and do_backspace() to
333 do_refresh so as not to conflict with refresh(). (DLR)
David Lawrence Ramsey32e3b882004-05-29 01:20:17 +0000334 - Add some comments better explaining what is disabled in
335 restricted mode and why. (DLR)
David Lawrence Ramseyc833d9e2004-05-29 15:36:58 +0000336 - Since KEEP_CUTBUFFER is only used in cut.c, make it a static
337 variable in cut.c instead of a flag, and unset it in other
338 files via the new function cutbuffer_reset(). (DLR)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000339 - Add the ability to change the characters used to display the
340 beginning characters of tabs and spaces via the rcfile entry
341 "whitespace". This is disabled if nanorc support is disabled
David Lawrence Ramseyf521b602004-05-30 03:56:52 +0000342 or if we're in tiny mode. Displaying the new characters is
David Lawrence Ramsey4a80fcf2004-05-30 04:19:27 +0000343 toggled on and off by Meta-P; the default is on. (Mike
David Lawrence Ramseyf521b602004-05-30 03:56:52 +0000344 Frysinger; minor changes and adaptations by DLR)
David Lawrence Ramsey2c62b072004-05-29 16:38:57 +0000345 - Add the ability to change the closing punctuation and closing
346 brackets used to control justification, via the rcfile
347 entries "punct" and "brackets". (DLR)
Jordi Mallach0675c2f2004-06-01 15:29:31 +0000348 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramsey85529b32004-06-22 15:38:47 +0000349 - Make the former flag same_line_wrap use TRUE and FALSE
350 instead of 1 and 0. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000351- files.c:
352 add_open_file()
353 - Rearrange the NANO_SMALL #ifdef so that the code to set the
354 MODIFIED flag in open_files->flags is included only once.
355 (DLR)
David Lawrence Ramsey2f0d03b2004-05-28 00:15:28 +0000356 write_marked()
357 - Call write_file() with nonamechange set to TRUE so that we
358 don't erroneously change the current filename when writing a
359 selection, and don't take a nonamechange parameter anymore
360 since we don't use it. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000361 do_writeout()
362 - Refactor so that no recursion is needed if we try to exit with
363 a modified file that has no name when TEMP_OPT is set. (DLR)
David Lawrence Ramsey28260472004-05-30 03:23:39 +0000364 - Add spaces to the ends of the "Overwrite" and "Different Name"
365 prompts, for consistency. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000366 do_browser()
367 - Call check_statblank() instead of blanking the statusbar
368 unconditionally, for consistency. (David Benbennick)
David Lawrence Ramseybe265612004-05-29 20:38:08 +0000369- global.c:
370 shortcut_init()
371 - Don't assign any handler functions to the help browser keys,
372 as the help browser handles them all internally. (David
373 Benbennick)
David Lawrence Ramsey4be15f02004-05-23 21:33:23 +0000374- move.c:
375 do_first_line(), do_last_line()
376 - Move these functions here from winio.c. (DLR)
David Lawrence Ramsey604caf32004-04-19 02:44:13 +0000377- nano.c:
David Lawrence Ramseyda141062004-05-25 19:41:11 +0000378 finish()
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000379 - Call blank_statusbar() and blank_bottombars() to blank out
380 the statusbar and shortcut list in bottomwin. (DLR)
David Lawrence Ramseyda141062004-05-25 19:41:11 +0000381 - Since all of the calls to finish() use 0 for the value of
382 sigage, and the return value of finish() is never used, make
383 it accept and return void. (David Benbennick)
David Lawrence Ramsey2f0d03b2004-05-28 00:15:28 +0000384 die_save_file()
385 - Call write_file() with nonamechange set to TRUE since we don't
386 need to change the current filename if we're writing emergency
387 backup files. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000388 do_early_abort()
389 - Removed, as it's no longer called anywhere. (David Benbennick)
David Lawrence Ramsey45251372004-06-09 08:36:46 +0000390 usage()
391 - Add missing "[dir]" and two missing _()'s around the strings
392 describing the -E [dir]/--backupdir=[dir]" option. (CHAO
393 Wei-Lun)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000394 open_pipe()
395 - Call enable_signals() at the beginning and disable_signals()
396 at the end, so that we get a SIGINT when Ctrl-C is pressed
397 during wait() and can then call cancel_fork() properly. (DLR)
David Lawrence Ramsey228148b2004-05-27 20:09:52 +0000398 do_delete(), do_enter()
David Lawrence Ramsey604caf32004-04-19 02:44:13 +0000399 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey1b525e92004-05-24 02:35:02 +0000400 do_prev_word()
401 - Switch the last test (current != NULL or not) around to match
402 the order of the same test in do_next_word() (current ==
403 NULL). The results are the same either way. (DLR)
David Lawrence Ramsey9a527f52004-05-31 14:58:59 +0000404 do_wrap()
405 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000406 do_spell()
407 - Tweak for efficiency. (David Benbennick)
408 - Change the statusbar entries used in cases of failure so that
409 they all display the actual error that occurred. (David
410 Benbennick and DLR)
411 do_int_speller(), do_alt_speller()
412 - Make these functions return const char*'s instead of char*'s.
413 (David Benbennick)
David Lawrence Ramseyd4693cb2004-05-14 01:17:25 +0000414 justify_format()
415 - Remove redundant assignment. (DLR)
David Lawrence Ramsey1cadddd2004-05-17 20:32:51 +0000416 do_para_search()
417 - Remove unneeded edit_update() calls. (David Benbennick)
David Lawrence Ramsey2e3aeae2004-05-24 05:52:35 +0000418 - Convert to use an enum to specify the search type: JUSTIFY,
419 BEGIN, or END. (DLR)
David Lawrence Ramseydbde9d72004-06-27 00:54:08 +0000420 - Refactor to properly do searches for beginnings of paragraphs
421 in the same way as searches for endings of paragraphs, without
422 needing the old (and somewhat inaccurate) recursive approach.
423 (DLR)
David Lawrence Ramsey1cadddd2004-05-17 20:32:51 +0000424 do_justify()
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000425 - Remove unneeded edit_update() calls, and add a few minor
426 efficiency tweaks. (David Benbennick)
David Lawrence Ramsey7097d7b2004-05-17 16:11:18 +0000427 - Simplify an if statement. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000428 do_exit()
429 - Refactor so that no recursion is needed if we try to exit with
430 a modified file that has no name when TEMP_OPT is set. (DLR)
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000431 print_numlock_warning()
432 - Removed, as it's no longer needed and was never called
433 anywhere after the input overhaul. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000434 signal_init()
435 - Don't use termios and _POSIX_VDISABLE to disable keys anymore,
436 as there's no real equivalent of it when the latter isn't
437 defined. (DLR)
438 handle_sigwinch()
439 - Call resetty() to get the original terminal settings back.
440 (DLR)
441 - Rework so that nano properly redraws the screen on systems
442 that don't have resizeterm() and/or wresize(). In curses, we
443 now leave and immediately reenter curses mode via endwin() and
444 refresh(), and then reinitialize all windows via
445 window_init(). In slang, the above routine will only work if
446 the resize made the window smaller, so we now leave and
447 immediately reenter screen management mode via
448 SLsmg_reset_smg() and SLsmg_init_smg(), and then reinitialize
449 all windows via window_init(). (DLR, adapted from code in
450 Minimum Profit 3.3.0 and mutt 1.4.2.1, respectively)
David Lawrence Ramseyda141062004-05-25 19:41:11 +0000451 do_toggle()
452 - Call blank_statusbar() and blank_bottombars() to blank out
453 the statusbar and shortcut list in bottomwin. (DLR)
David Lawrence Ramseyd4693cb2004-05-14 01:17:25 +0000454 do_verbatim_input()
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000455 - If PRESERVE is set, disable flow control characters before
456 getting input and reenable them after getting input. (DLR)
457 disable_signals(), enable_signals(), disable_flow_control(),
458 enable_flow_control()
459 - New functions that allow more fine-grained control of the
460 terminal: disabling and enabling signals without having to use
461 _POSIX_VDISABLE and disabling and enabling flow control
462 characters. (DLR)
David Lawrence Ramsey97133f52004-05-14 17:39:19 +0000463 main()
464 - Don't open the first file in quiet mode, since if we do, an
465 error message won't be shown if it's unreadable. (DLR; found
466 by Jaap Eldering)
David Lawrence Ramsey1d43db82004-05-14 17:57:00 +0000467 - If we've specified multiple files on the command line and
468 multibuffer support is compiled in, turn multibuffer mode on
469 when reading those files and turn it off afterward if it was
470 off before. This allows us to open multiple files without
471 having to turn multibuffer mode on at the command line or in
472 the nanorc first, both of which are unintuitive. Multibuffer
473 mode should only affect how the "Read File" command behaves
474 anyway. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000475 - Remove the disabling of implementation-defined input
David Lawrence Ramseye608f942004-05-19 16:04:27 +0000476 processing, as cbreak mode appears to turn it off anyway.
477 (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000478 - After noecho(), call disable_signals() and
479 disable_flow_control(), the latter only if PRESERVE is not
480 set. (DLR)
481 - Move the savetty() call down from just after initscr() to just
482 after the terminal is properly set up, so that we can restore
483 it easily after a resize. (DLR)
David Lawrence Ramsey570ea892004-05-28 21:02:32 +0000484 - Add missing cast to char when calling do_char(). (DLR)
David Lawrence Ramseydd7cc722004-05-28 23:45:25 +0000485 - Don't initialize the backup directory if we're in restricted
486 mode, since backups are disabled then. (DLR)
David Lawrence Ramsey3aedb362004-05-28 22:42:41 +0000487 - Check $SPELL for an alternative spell checker if we didn't get
David Lawrence Ramseydd7cc722004-05-28 23:45:25 +0000488 one from the command line and/or rcfile, as Pico does. Don't
489 do this if we're in restricted mode, since spell checking is
490 disabled then. (DLR)
David Lawrence Ramsey74af3a72004-06-12 21:03:14 +0000491 - Add some cleanups for greater readability, and remove a few
492 bits of redundant code. (DLR and David Benbennick)
David Lawrence Ramsey4b741b92004-04-30 19:40:03 +0000493- nano.h:
494 - Since REGEXP_COMPILED is only used in search.c, convert it
495 from a flag to a static int there. (DLR)
David Lawrence Ramsey2e3aeae2004-05-24 05:52:35 +0000496 - Add justbegend enum, used in do_para_search(). (DLR)
David Lawrence Ramsey2ed225f2004-05-28 20:44:09 +0000497 - Add updown enum, used in edit_scroll(). (DLR)
David Lawrence Ramseyf38230a2004-04-21 22:25:16 +0000498- proto.h:
David Lawrence Ramseyd62b6342004-04-28 21:49:30 +0000499 - Remove unused xpt() and add_marked_sameline() prototypes.
500 (DLR)
David Lawrence Ramsey14bf8032004-05-22 20:19:15 +0000501 - Add missing #ifdefs around the nstristr() and get_mouseinput()
502 prototypes. (DLR)
David Lawrence Ramseyf38230a2004-04-21 22:25:16 +0000503- rcfile.c:
504 - Move "rebinddelete" up in the list of options so that the list
505 is in alphabetical order. (DLR)
David Lawrence Ramseyb6a4b102004-05-29 17:20:01 +0000506 - Cosmetic reorganization of the order in which some options are
507 interpreted. (DLR)
David Lawrence Ramsey8d911992004-05-29 17:05:52 +0000508 - Explicitly check for rcopts[i].name's being "tabsize" to avoid
509 a spurious error under some circumstances about tabsize's
510 being 0 when there's no tabsize entry in the rcfile. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000511- search.c:
David Lawrence Ramsey4b741b92004-04-30 19:40:03 +0000512 regexp_init()
513 - Overhaul for efficiency. Also check if regcomp() failed, and
514 if so, display "Bad regex" message on the statusbar, so that
515 we don't have to display it separately after every call to
516 this function. (David Benbennick)
517 search_init()
518 - Only check whether USE_REGEXP is set, and hence whether or not
519 to display "[Regexp]" on the search prompt, if HAVE_REGEX_H is
520 defined. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000521 not_found_msg()
522 - Convert to properly handle strings generated by
523 display_string() that have been used in the search prompt
524 since 1.3.0. (David Benbennick)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000525 - Use display_string() directly to display the text that we
526 didn't find instead of relying on statusbar() to do it
527 indirectly, since the latter won't display its text with the
528 user-specified whitespace characters and the former will.
529 (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000530- utils.c:
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000531 is_blank_char()
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000532 - New function used as an isblank() equivalent, since isblank()
533 is a GNU extension. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000534 nstricmp(), nstrnicmp()
535 - Add extra blank lines for greater readability, and remove
536 unneeded test for n's being less than zero (since it's already
537 been tested for being greater than zero or equal to zero at
538 that point) from nstrnicmp(). (DLR)
539 stristr()
540 - Rename to nstristr() to avoid a potential conflict with an
541 existing stristr() function, and move up to just after
542 nstrnicmp(). (DLR) David Benbennick: Tweak for efficiency.
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000543 - Include and use only when strcasestr() is unavailable, since
544 strcasestr() is a GNU extension. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000545 nstrnlen()
546 - New function used as a strnlen() equivalent, since strnlen()
547 is a GNU extension. (DLR)
David Lawrence Ramseye1e7cb22004-04-15 06:15:55 +0000548- winio.c:
549 get_verbatim_kbinput()
550 - Refactor the output in the DEBUG #ifdef. It didn't work
551 properly ever since this function was changed to use an int*
552 instead of a char*. (DLR)
David Lawrence Ramsey805547f2004-04-22 03:41:04 +0000553 - When reading characters from input, properly reallocate
554 verbatim_kbinput via (int*)nrealloc() instead of an uncast
555 realloc(). (DLR)
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000556 get_accepted_kbinput()
557 - Add proper support for the keypad values and escape sequences
David Lawrence Ramsey16eb5182004-06-03 20:26:12 +0000558 generated by the NumLock glitch and by certain keys on the
559 numeric keypad. (DLR)
David Lawrence Ramseyd8974452004-06-04 22:28:55 +0000560 - Add an extra break and move an #endif down to fix a potential
561 problem when NANO_SMALL is defined or KEY_RESIZE isn't, and
562 when PDCURSES isn't defined. (DLR)
David Lawrence Ramsey805547f2004-04-22 03:41:04 +0000563 get_escape_seq_kbinput()
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000564 - Add proper support for the keypad values and escape sequences
565 generated by the NumLock glitch. (DLR)
David Lawrence Ramseye65e6392004-06-04 18:18:17 +0000566 - Add ignore_seq parameter. If a sequence is recognized but
567 ignored, we will now return ERR and set ignore_seq to TRUE, and
568 if a sequence is unrecognized, we will now return ERR and set
569 ignore_seq to FALSE. Also, here and elsewhere, don't bother
570 assigning ERR to retval when that's its initial value. (DLR)
David Lawrence Ramsey973a96b2004-06-22 14:30:18 +0000571 - Fix problem where the escape sequence for F3 on the FreeBSD
572 console would not be interpreted properly. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000573 get_mouseinput()
574 - Don't ungetch() anything if there's no control key and no meta
575 key defined in the shortcut we clicked. (DLR)
David Lawrence Ramsey8d3e7f32004-05-13 17:28:03 +0000576 bottombars()
577 - Don't display any more than MAIN_VISIBLE shortcuts. Adding
578 justification of the entire file above made the search
579 shortcut list longer than this and hence made the shortcuts in
580 it so short as to be almost incomprehensible. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000581 - Tweak for efficiency and to better handle shorter screen
582 widths. (David Benbennick)
583 - Restructure the if block used for the sentinel key values,
584 dynamically allocate keystr based on the number of columns
585 available, and make sure we can display shortcuts even when
586 the number of available columns is too short for any complete
587 one. (DLR)
588 onekey()
589 - Don't bother padding the displayed shortcuts with spaces.
590 (David Benbennick)
591 - Convert len to a size_t. (DLR)
David Lawrence Ramseye5b2f832004-04-29 06:30:36 +0000592 edit_add()
593 - Minor cosmetic reformatting. Also remove unused int
594 searched_later_lines. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000595 blank_bottomwin()
596 - Removed, as it does the same thing as blank_bottombars().
597 (David Benbennick)
598 blank_titlebar()
599 - New function used to blank the titlebar in topwin. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000600 blank_statusbar_refresh()
601 - Removed, as it's now unnecessary. (David Benbennick)
602 titlebar()
603 - Overhaul to use display_string() to display the filename, and
604 to better handle shorter screen widths. Also remove
605 now-unneeded wrefresh(topwin) calls. (David Benbennick)
David Lawrence Ramsey8328fc22004-05-25 23:34:43 +0000606 DLR: Tweak to reserve enough space for "Modified", plus
607 padding, in all cases, to make sure that the version message
608 takes up no more more than 1/3 of the available width, minus
609 padding, and to include a reset_cursor() call so that the
610 cursor is always in the right place.
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000611 bottombars()
612 - Call blank_bottombars() instead of blank_bottomwin(). (David
613 Benbennick)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000614 check_statblank()
615 - Overhaul for efficiency, (David Benbennick) DLR: Add
616 reset_cursor() call to ensure that the cursor is always in the
617 right place.
David Lawrence Ramsey228148b2004-05-27 20:09:52 +0000618 update_cursor()
619 - Removed, as it's no longer called anywhere. (David Benbennick)
David Lawrence Ramsey07d3feb2004-04-16 05:15:11 +0000620 edit_refresh()
621 - Remove apparently unneeded leaveok() calls. (David Benbennick)
David Lawrence Ramseyc279a632004-05-25 01:49:58 +0000622 edit_refresh_clearok(), center_cursor()
623 - Removed, as they are now unnecessary. (David Benbennick)
David Lawrence Ramseyd12fd4b2004-05-28 15:05:56 +0000624 statusq()
625 - Don't allow "Full Justify" when in view mode. (DLR)
David Lawrence Ramsey4b741b92004-04-30 19:40:03 +0000626 statusbar()
627 - Call reset_cursor() just before refreshing the edit window, so
628 that slang and other non-ncurses versions of curses will
629 properly place the cursor back in the edit window instead of
630 leaving it at the end of the statusbar. (DLR)
David Lawrence Ramseybe265612004-05-29 20:38:08 +0000631 do_help()
632 - Overhaul for efficiency, and allow scrolling through the help
633 via the arrow keys as well as the paging keys. (David
David Lawrence Ramseyae064bf2004-06-01 20:38:00 +0000634 Benbennick) DLR: Revert the use of the return value of
635 curs_set() to restore the previous state of the cursor, as
636 some curses implementations (including slang) get it wrong,
637 and explicitly turn the cursor off where needed instead.
David Lawrence Ramseydc35cb82004-04-24 18:30:23 +0000638 do_credits()
639 - Use napms() instead of nanosleep(), as it does the same thing
640 (aside from taking an argument in milliseconds instead of
641 microseconds) and curses includes it. (DLR)
David Lawrence Ramsey837a02b2004-05-18 15:23:31 +0000642 - Overhaul for efficiency, and make sure the xlcredits
643 translations are done after initialization in order to avoid
644 an error when compiling with -pedantic. (David Benbennick)
Jordi Mallach21ad7622004-06-25 22:43:09 +0000645 do_yesno()
646 - Add a comment to encourage translators to use both native and
647 English shortcuts, if possible. (Jordi)
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000648- configure.ac:
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000649 - Add tests for isblank(), strcasestr(), and strnlen(), and
650 define _GNU_SOURCE so that the tests work properly. Increase
651 the minimum required autoconf version to 2.54. (DLR)
David Lawrence Ramsey1122c852004-05-13 17:46:57 +0000652 - Reformat the test programs so that they aren't packed into
653 fewer lines than usual, so as to make them easier to read, and
654 remove unnecessary inclusion of stdio.h in the slang test
655 programs. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000656 - Remove the checks for resizeterm() and wresize(), as they're
657 no longer needed. (DLR)
Jordi Mallachd3507272004-06-25 22:34:18 +0000658- config.rpath:
659 - Replace usage of egrep with grep -E, avoiding a XSI:ism (David
660 Weinehall)
661
David Lawrence Ramsey2c4c7882004-05-07 18:00:20 +0000662- faq.html:
663 - Removed question about the NumLock glitch, as it's no longer
664 needed. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000665- nano.1:
666 - Document restricted mode. (IO ERROR) DLR: Add minor
667 modifications to account for the above changes.
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000668 - Document the smart home key option. (DLR)
David Lawrence Ramsey498e13d2004-06-01 22:56:34 +0000669 - Document the use of the SPELL environment variable. (DLR)
David Lawrence Ramsey12e066f2004-05-29 14:13:02 +0000670- nanorc.5:
671 - Document the smart home key option. (DLR)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000672 - Document the whitespace option. (DLR, adapted from
673 documentation by Mike Frysinger)
David Lawrence Ramsey2c62b072004-05-29 16:38:57 +0000674 - Document the punct and brackets options. (DLR)
David Lawrence Ramsey9be546b2004-04-20 19:19:21 +0000675- nano.texi:
David Lawrence Ramsey2c4c7882004-05-07 18:00:20 +0000676 - Fix toggle inaccuracies: Meta-L now toggles line wrapping, and
677 Meta-< and Meta-> aren't toggles. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000678 - Document restricted mode. (IO ERROR) DLR: Add minor
679 modifications to account for the above changes.
David Lawrence Ramsey2c4c7882004-05-07 18:00:20 +0000680 - Fix version number inaccuracies: Search/replace history and
681 sorting/uniqueness filtering for the internal spell chacker
682 were added in nano 1.1.99pre1. (DLR)
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000683 - Document the smart home key option. (DLR)
David Lawrence Ramsey498e13d2004-06-01 22:56:34 +0000684 - Document the use of the SPELL environment variable. (DLR)
David Lawrence Ramsey71d0a1f2004-05-08 00:06:15 +0000685- nanorc.sample:
686 - Add missing mouse entry, and update the nanorc sample regexes
687 to account for the backupdir and mouse options. (DLR)
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000688 - Add smarthome description. (DLR)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000689 - Document the whitespace option. (DLR, adapted from
690 documentation by Mike Frysinger)
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000691- README.CVS:
692 - Increase the minimum required autoconf version to 2.54, and
693 change the recommended automake version 1.7 to the minimum
694 required automake version. Note that autoconf 2.54 will
695 technically also work with automake 1.6c, but that is a CVS
696 version as opposed to a stable release version, and automake
697 1.7 requires at least autoconf 2.54 in any case. (DLR)
David Lawrence Ramsey8d3e7f32004-05-13 17:28:03 +0000698- TODO:
699 - Added entry for justifying the entire file at once, since Pico
700 can do it, and with "[DONE]" since it's already been
701 implemented. (DLR)
David Lawrence Ramseybefb25a2004-03-31 18:53:07 +0000702
David Lawrence Ramseyf70f0cf2004-03-31 18:42:52 +0000703GNU nano 1.3.2 - 2004.03.31
David Lawrence Ramsey760a2dc2004-01-14 06:38:00 +0000704- General:
705 - Change instances in the code that refresh the entire edit
706 window when color support is enabled (in order to properly
707 handle multi-line color regexes) to only do so when
708 it's necessary, i.e, when COLOR_SYNTAX is set. (DLR)
David Lawrence Ramseyc2c5a512004-01-23 19:26:17 +0000709 - Minor cosmetic tweaks to the code involving direction keys.
710 NANO_UP_KEY and NANO_DOWN_KEY are now NANO_PREVLINE_KEY and
711 NANO_NEXTLINE_KEY, and the help messages for them have been
712 changed accordingly. Also remove extraneous references to
713 NANO_DOWN_KEY in the search history shortcut entries. (DLR)
David Lawrence Ramseyc91696e2004-01-29 04:16:23 +0000714 - Add NANO_UNJUSTIFY_FKEY (the same as NANO_UNCUT_FKEY) to the
715 shortcut list, and tweak the unjustify routine to use it.
David Lawrence Ramseyd7f5ad92004-03-04 19:30:53 +0000716 Also add NANO_FIRSTLINE_FKEY and NANO_LASTLINE_FKEY, and tweak
717 the statusbar input routines to handle them and NANO_HELP_FKEY
718 properly. (DLR)
David Lawrence Ramsey369732f2004-02-16 20:32:40 +0000719 - Block SIGWINCH after setting up its handler, and only unblock
720 and handle it when we're in a stable state, i.e, when we're
721 waiting for input from the user. New function
722 allow_pending_sigwinch(); changes to signal_init(),
723 get_kbinput(), and get_verbatim_kbinput(). (DLR)
David Lawrence Ramsey281e0562004-02-27 18:54:04 +0000724 - Decouple the paragraph searching code and the justifying code.
725 Removed function do_para_operation(); new function
726 do_para_search(); changes to do_justify(). (DLR)
David Lawrence Ramsey04e42a62004-02-28 16:24:31 +0000727 - Add -E/--backupdir option. When used with -B/--backup, backup
728 files will be saved in the specified directory with their
729 canonical pathnames encoded in their names (all '/'s replaced
730 with '!'s). Changes to write_file(). (Martin Ehmsen) DLR:
731 Add function init_backup_dir() to handle relative paths
732 correctly, use get_full_path() to get the canonical pathname,
733 and use tail() to get the filename if get_full_path() fails.
David Lawrence Ramseya619ae62004-03-04 06:33:52 +0000734 - Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom
735 Bates; minor tweaks by DLR)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +0000736 - Change some instances of boolean 0 and 1 to TRUE and FALSE.
737 (David Benbennick)
738 - Fix memory corruption problem occurring when answer is used as
739 the value of def; if the realloc() of answer leads to its
740 pointing to a different memory block, there will be a segfault
David Lawrence Ramsey79475442004-03-19 20:47:57 +0000741 when the value of def is copied into it via strcpy().
David Lawrence Ramseyb8823402004-04-27 21:06:11 +0000742 (bort@alltel.net, Christian Weisgerber, David Benbennick, and
David Lawrence Ramsey79475442004-03-19 20:47:57 +0000743 DLR)
David Lawrence Ramseyb9775152004-03-19 02:15:42 +0000744 - Remove the last editbot references, to avoid any potential
745 segfaults related to them. Also remove fix_editbot(), as it's
746 no longer needed. (David Benbennick)
David Lawrence Ramsey1576d532004-03-19 21:46:34 +0000747 - Rename several variables to make their use clearer and to
748 avoid conflicts. (DLR)
David Lawrence Ramseyce991bb2004-03-29 18:36:39 +0000749 - Set the input mode before turning the keypad on. (DLR)
David Lawrence Ramsey44e7f822004-03-30 04:17:10 +0000750- cut.c:
751 add_to_cutbuffer()
752 - Add parameter allow_concat to determine whether we're allowed
753 to concatenate strings in the cutbuffer. (DLR)
David Lawrence Ramsey35961c42004-01-23 19:34:03 +0000754- files.c:
David Lawrence Ramseyda352512004-03-05 20:04:44 +0000755 do_insertfile()
756 - Wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef.
757 (DLR)
David Lawrence Ramseyc6908f22004-03-11 02:20:25 +0000758 - Save the already-typed answer when switching from "Insert
759 File" to "Execute Command" mode via Ctrl-X, just in case we
760 started typing a command before switching. (DLR)
David Lawrence Ramseycb34a672004-02-06 21:20:05 +0000761 add_open_files()
762 - Make the saving of marked status in open_files->file_flags
763 work properly again; a tweak to the ISSET() macro in 1.3.0
764 to make it only return 0 or 1 broke it. (DLR)
David Lawrence Ramsey35961c42004-01-23 19:34:03 +0000765 write_marked()
766 - New function used to write the current marked selection to a
767 file, split out from do_writeout(). (DLR)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +0000768 do_writeout()
769 - Tweak for efficiency. (David Benbennick) DLR: Modify to have
770 the current answer preserved between toggles again.
David Lawrence Ramsey3af54d32004-02-25 04:43:27 +0000771 filestat()
772 - Removed, as it is only called in one place and is
773 redundant. (DLR)
774 do_browser()
775 - Replace the filestat() call with an equivalent stat() call.
776 (DLR)
David Lawrence Ramsey00c20542004-02-01 06:27:59 +0000777- global.c:
778 shortcut_init()
779 - Only allow verbatim input when we're not in view mode. (DLR)
David Lawrence Ramseyba7b1682004-02-29 20:07:14 +0000780 - Set the associated function for unjustify to 0 instead of
781 do_uncut_text(), since it's currently unused. (DLR)
David Lawrence Ramseyc53a92d2004-01-12 03:28:06 +0000782- nano.c:
David Lawrence Ramseya7c93642004-02-25 03:19:29 +0000783 usage()
784 - Clarify the description for -T/--tabsize a bit. (DLR)
David Lawrence Ramseyd03216a2004-01-28 18:21:21 +0000785 do_verbatim_input()
786 - Remove the now-unneeded code to disable XON, XOFF, and
787 suspend, since we now go into raw mode in
788 get_verbatim_kbinput() and bypass them. (DLR)
David Lawrence Ramseybf3c93e2004-03-13 19:42:58 +0000789 do_next_word()
790 - Simplify and remove references to editbot so as to avoid a
791 segfault. (David Benbennick)
David Lawrence Ramseyb6aa4282004-03-14 01:42:17 +0000792 do_prev_word()
793 - Simplify and remove references to edittop. (David Benbennick)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000794 do_int_speller(), do_alt_speller(), do_spell()
David Lawrence Ramsey35961c42004-01-23 19:34:03 +0000795 - Modify to write only the current selection from a file to the
796 temporary file used for spell checking when the mark is on,
797 and add a few miscellaneous cosmetic cleanups. (DLR)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000798 do_int_spell_fix()
799 - Store the value of current_x in a size_t instead of an int,
800 and add a few minor efficiency tweaks. (David Benbennick)
801 - Remove comment explaining why findnextstr() is called with
802 bracket_mode set to TRUE even though we aren't doing a bracket
803 search, since after the above efficiency tweaks, it's now more
804 accurately called can_display_wrap. (DLR)
David Lawrence Ramsey44e7f822004-03-30 04:17:10 +0000805 indent_length()
806 - Remove unneeded #ifdef. (David Benbennick)
807 do_justify()
808 - Remove references to the now-unneeded JUSTIFY_MODE flag. (DLR)
David Lawrence Ramsey2897d2b2004-01-26 20:56:20 +0000809 signal_init()
810 - Trap SIGQUIT in addition to turning it off via termios in
811 main(). This is consistent with SIGINT, which we trap here
812 and turn off via termios in main(), as well as with the
813 associated comment. (DLR)
David Lawrence Ramsey273d2ce2004-01-30 04:20:28 +0000814 handle_sigwinch()
David Lawrence Ramsey53809442004-01-30 04:29:52 +0000815 - Set keypad() to TRUE and switch to cbreak mode just before
816 calling siglongjmp(), in case we resized during verbatim
817 input. (DLR)
David Lawrence Ramseyc53a92d2004-01-12 03:28:06 +0000818 main()
819 - Move the call to raw() on systems that don't define
820 _POSIX_VDISABLE outside the main input/output loop, as it
David Lawrence Ramseyd03216a2004-01-28 18:21:21 +0000821 doesn't need to be called every time through the loop. Call it
822 instead of cbreak() on such systems, as it overrides cbreak()
823 anyway. (DLR)
David Lawrence Ramsey369732f2004-02-16 20:32:40 +0000824 - Add more descriptive comments explaining the termios and
825 curses setup routines, and turn the keypad on before setting
826 the input mode. (DLR)
David Lawrence Ramseyaca5d042004-03-19 01:35:57 +0000827 - Remove stray HAVE_GETOPT_LONG #ifdefs. (DLR)
David Lawrence Ramseyce991bb2004-03-29 18:36:39 +0000828 - Don't call keypad() before initializing the windows it needs
829 via window_init().
David Lawrence Ramsey24ae56c2004-02-27 03:06:28 +0000830- nano.h:
831 - Move the NANO_H include guard up before the first #include.
832 (DLR)
David Lawrence Ramsey44e7f822004-03-30 04:17:10 +0000833 - Remove the now-unneeded JUSTIFY_MODE flag. (DLR)
David Lawrence Ramsey41151ac2004-01-15 05:47:03 +0000834- search.c:
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000835 regexp_cleanup()
836 - Only do anything if REGEXP_COMPILED is set. (David Benbennick)
837 search_abort()
838 - Only test if the mark is set when NANO_SMALL isn't defined.
839 (David Benbennick)
840 search_init()
841 - Add some more comments and comment tweaks, don't indicate that
842 the search has been canceled when we enter a blank string in
843 replace mode, only call regexp_init() when USE_REGEXP is set,
844 and return -1 instead of -3 since a canceled search and a
845 canceled replace should be mostly equivalent. (David
846 Benbennick) DLR: Tweak to use the old behavior if we try to
847 search for invalid regexes.
848 findnextstr()
849 - Refactor to use a loop invariant, and tweak for greater
850 efficiency and simplicity. Also modify so that all searches
851 start one character after (or before, if we're doing a
852 backwards search) the current one, as opposed to all searches
853 except for regex searches for "^" and the like, for
854 consistency with other searches. (David Benbennick)
855 do_search()
856 - Handle search_init()'s no longer returning -3 above. (David
857 Benbennick)
858 - Port the code from do_replace_loop() to skip the current line
859 if we're searching for a regex with "^" and/or "$" in it and
860 end up on the same line to this function. This fixes a
861 problem where doing a forward search for "^" on a file with
862 more than one line would erroneously stop at the magicline and
863 indicate that that was the only occurrence. (DLR)
864 do_research()
865 - Port David Benbennick's efficiency tweaks and the
866 aforementioned code ported from do_replace_loop() to this
867 function. (DLR)
868 replace_regexp()
869 - Completely refactor for increased efficiency. (David
870 Benbennick)
871 replace_line()
872 - Use a char* parameter for the replacement string instead of
873 last_search, and add minor efficiency tweaks. (David
874 Benbennick)
David Lawrence Ramsey41151ac2004-01-15 05:47:03 +0000875 do_replace_loop()
876 - Fix segfault when doing a regex replace of a string that
877 matches inside a line (e.g. replace the "b" in "abc" with
878 anything). (David Benbennick)
David Lawrence Ramsey1122c852004-05-13 17:46:57 +0000879 - If the mark is on at the beginning of the function, turn it
880 off and turn it back on just before returning. Also overhaul
881 to rely on the return value of findnextstr() instead of a loop
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000882 invariant, to not need to take an int* parameter, and store
883 the beginning x-coordinate in a size_t instead of an int.
884 (David Benbennick)
885 do_replace()
886 - Handle search_init()'s no longer returning -3 above, and add
887 efficiency tweaks. (David Benbennick) DLR: Tweak to follow
888 the old behavior of adding non-blank strings entered at the
889 "Replace: " prompt to the search history. (DLR)
David Lawrence Ramseyc6908f22004-03-11 02:20:25 +0000890 do_gotoline()
891 - Simplify the edit_update() call depending on the value of
892 save_pos. (David Benbennick)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000893 do_bracket()
894 - Add efficiency tweaks. (David Benbennick) DLR: Remove
895 reliance on the hardcoded bracket string length; instead, only
896 require that the bracket string length be even.
897- utils.c:
898 regexec_safe()
899 - Wrap in HAVE_REGEX_H #ifdefs. (DLR)
900 regexp_bol_or_eol()
901 - New function used to check if a regex contains "^" and/or "$",
902 assuming that the regex would be found if the REG_NOT(BOL|EOL)
903 flags aren't used in the regexec() call; it replaces the
904 direct regexec()s used before. (DLR)
905 strstrwrapper()
906 - Refactor for increased efficiency, and eliminate the need for
907 the line_pos parameter. (David Benbennick)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +0000908 mallocstrcpy()
909 - Tweak so that when src is "", "" is allocated and returned
910 instead of NULL. (David Benbennick)
David Lawrence Ramseye97c8d52004-01-14 19:26:29 +0000911- winio.c:
David Lawrence Ramsey58f6d832004-01-27 07:12:47 +0000912 get_verbatim_kbinput()
David Lawrence Ramseyd03216a2004-01-28 18:21:21 +0000913 - Set keypad() to FALSE and switch to raw mode while reading
David Lawrence Ramsey273d2ce2004-01-30 04:20:28 +0000914 input, and set it back to TRUE and go back into cbreak mode
915 mode afterwards. (Note that if _POSIX_VDISABLE isn't defined,
916 we don't need to change to or from raw mode since we're
917 already in it exclusively.) This ensures that we don't end up
918 reading in extended keypad values that are outside the ASCII
919 range or having to deal with interrupt-generating key values.
920 Also, with keypad() set to TRUE, xterm generates KEY_BACKSPACE
921 when the user hits Ctrl-H, which, when cut down to ASCII
922 range, ends up being Ctrl-G, which can be confusing. (DLR)
David Lawrence Ramseyee383db2004-02-06 03:07:10 +0000923 - For consistency with get_kbinput(), use an int* to store and
924 return the input instead of a char*, and tweak the functions
925 that call it to handle this. (DLR)
David Lawrence Ramsey25061362004-01-16 19:12:46 +0000926 get_accepted_kbinput()
927 - Don't use "kbinput = wgetch(win)" as a switch value. (DLR)
David Lawrence Ramseyc2c5a512004-01-23 19:26:17 +0000928 get_escape_seq_kbinput()
929 - Add support for the escape sequences for F1-F14 whenever
930 possible (i.e, whenever a conflict doesn't occur), some
931 additional comments, and a few cosmetic cleanups. (DLR)
David Lawrence Ramseyee383db2004-02-06 03:07:10 +0000932 - Use switch statements instead of strncmp() to read in the long
933 xterm sequences for Ctrl-[arrow key] and Shift-[arrow key].
934 (DLR)
David Lawrence Ramseyc2c5a512004-01-23 19:26:17 +0000935 get_escape_seq_abcd()
936 - A resurrected version of the old abcd() function, readded in
937 order to simplify get_escape_seq_kbinput(). (DLR)
David Lawrence Ramsey0b047c52004-03-29 23:09:08 +0000938 get_mouseinput()
David Lawrence Ramsey1576d532004-03-19 21:46:34 +0000939 - Interpret shortcut key values slightly more stringently when
940 ungetch()ing them. (DLR)
David Lawrence Ramsey0b047c52004-03-29 23:09:08 +0000941 strlenpt()
942 - Properly cast the second parameter of the strnlenpt() call to
943 size_t. (DLR)
David Lawrence Ramsey66081d42004-01-22 07:25:31 +0000944 get_page_start()
945 - For consistency, tweak so that scrolling always occurs when we
946 try to move onto the "$" at the end of the line, as opposed to
947 (a) when we move onto the "$" at the end of the line on the
948 first page and (b) when we move onto the character just before
949 the "$" on subsequent pages. (DLR)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000950 reset_cursor()
951 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000952 edit_refresh()
953 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +0000954 statusq()
955 - Rename "tabs" to "allowtabs". (David Benbennick)
David Lawrence Ramseye97c8d52004-01-14 19:26:29 +0000956 do_credits()
957 - Use nanosleep() instead of usleep(). The latter is only
958 standard under BSD, whereas the former is POSIX compliant.
David Lawrence Ramseyf5300af2004-02-24 20:48:12 +0000959 Accordingly, only include time.h if we use this function, i.e,
960 if NANO_EXTRA is defined. (DLR)
David Lawrence Ramseyfdece462004-01-19 18:15:03 +0000961 - Add explanatory comment. (DLR)
David Lawrence Ramsey35557c52004-03-07 15:14:56 +0000962- configure.ac:
963 - Change instances of "int main ()" to "int main(void)". (DLR)
David Lawrence Ramseybe66a6b2004-01-30 21:31:57 +0000964- faq.html:
965 - Fixed inaccuracy: multibuffer mode was first in nano 1.1.0,
966 not 1.1.12. (DLR)
David Lawrence Ramsey475a2a72004-02-25 03:58:46 +0000967- nano.1, nanorc.5, nano.texi
968 - Clarify the description for -T/--tabsize a bit. (DLR)
David Lawrence Ramsey04e42a62004-02-28 16:24:31 +0000969 - Add -E/--backupdir description. (Martin Ehmsen; minor cosmetic
970 fixes by DLR)
971- nanorc.sample:
972 - Add backupdir description. (Martin Ehmsen; minor cosmetic
973 fixes by DLR)
David Lawrence Ramseyf0b30092004-01-10 06:02:05 +0000974- README:
975 - Reformat to 72 characters per line, fix wording in one spot,
David Lawrence Ramseyce364e22004-03-03 01:25:46 +0000976 and fix spacing and capitalization in several spots. (DLR)
David Lawrence Ramsey1eadebe2004-01-25 21:36:38 +0000977- NEWS:
978 - Capitalization fix. (DLR)
David Lawrence Ramsey5ae684f2004-03-04 23:48:26 +0000979- TODO:
980 - Clarify the paragraph searching item, and add item for
981 filename searches in the file browser. (DLR)
David Lawrence Ramsey606dfda2004-01-09 23:26:54 +0000982
David Lawrence Ramseyfa1497b2004-01-09 23:22:02 +0000983GNU nano 1.3.1 - 2004.01.09
David Lawrence Ramseya593f532003-11-28 19:47:42 +0000984- General:
985 - Minor overhaul and abstraction of the lowest level of mouse
986 input, mostly adapted from the code in do_mouse() that handles
987 clicking on the shortcut list. New function do_mouseinput();
988 changes to do_mouse(). (DLR) David Benbennick: Add a few
David Lawrence Ramseyf4276942003-12-24 03:33:09 +0000989 efficiency/extensibility tweaks.
David Lawrence Ramseya593f532003-11-28 19:47:42 +0000990 - Modify the shortcut structure so that instead of having two
991 miscellaneous key values (misc1 and misc2), there is one key
992 value reserved for function keys (func_key) and one
993 miscellaneous key value (misc), and tweak the
994 shortcut-handling code to deal with this. These changes allow
995 NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the
996 shortcut entries for NANO_OPEN(PREV|NEXT)_KEY. Also remove
David Lawrence Ramseyd2914602003-11-30 02:22:22 +0000997 the values in the shortcut list and elsewhere that were made
998 redundant by the low-level input overhaul, use toupper()
999 instead of subtracting 32 from values for greater code
1000 readability, and eliminate use of adding 32 to values when
1001 testing for toggles, as get_kbinput_accepted() converts toggle
1002 values to lowercase before returning them. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001003 - Remove the workarounds for missing KEY_UP and KEY_DOWN, as
1004 they appear to be holdovers of the old way of denoting the
1005 search history shortcuts; if they aren't defined, KEY_LEFT and
1006 KEY_RIGHT probably shouldn't work either, and all four appear
1007 to be standard keys in termcap/terminfo in any case. Add new
1008 special sentinel key values NANO_NO_KEY (for no shortcut key)
1009 and NANO_HISTORY_KEY (for search history keys, both Up and
1010 Down), modify the shortcut list to use them, and modify the
1011 shortcut display routines to handle them. Also modify the
1012 shortcut list code to not treat non-control character values
1013 of val as Meta-sequences, and fix dependencies on that
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001014 behavior. Also rename several variables: "alt" -> "meta",
1015 "altval" -> "metaval". (DLR)
David Lawrence Ramseya593f532003-11-28 19:47:42 +00001016 - Hook up the verbatim input functions so that verbatim input
1017 can be used in the edit window. New function
1018 do_verbatim_input(); changes to do_char(). (DLR) Additional
1019 minor tweaks to do_char() by David Benbennick.
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001020 - Clarify the description of the --rebinddelete option. (DLR)
David Lawrence Ramsey6481c3f2004-01-09 23:06:54 +00001021 - Miscellaneous comment tweaks, and copyright year updates in
1022 the comments and in do_credits(). (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001023- cut.c:
1024 - Overhaul to increase efficiency and add various cleanups.
1025 Changes to add_to_cutbuffer(), cut_marked_segment(), and
1026 do_uncut_text(). (David Benbennick)
David Lawrence Ramsey71278572003-10-31 17:58:44 +00001027- files.c:
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001028 check_operating_dir()
1029 - Add an assert to ensure that full_operatingdir isn't NULL,
1030 a fix for reporting nonexistent (incomplete) directory names
1031 as being outside the operating directory when tab completion
1032 is being used, and cosmetic cleanups. (David Benbennick)
1033 copy_file()
David Lawrence Ramsey3e3fab52004-01-15 05:12:41 +00001034 - New function used to create a copy of a file, split out from
David Lawrence Ramseyc2946fb2003-12-24 21:47:28 +00001035 do_writeout(). (David Benbennick)
David Lawrence Ramsey3e3fab52004-01-15 05:12:41 +00001036 write_file()
1037 - Completely overhauled to properly ignore appending/prepending
1038 to symlinks when NOFOLLOW_SYMLINKS is defined, to properly
1039 support writing a selection to a file under the changed
1040 cutting code, to have more concise error messages, to add
1041 various cleanups, and so on. (David Benbennick)
David Lawrence Ramsey71278572003-10-31 17:58:44 +00001042 do_writeout()
David Lawrence Ramseybc503c82003-11-19 23:59:14 +00001043 - Prompt the user if we're trying to save an existing file (and
1044 not just a selection of it) under a different name. (DLR;
1045 suggested by Jean-Philippe Guérard)
David Lawrence Ramsey3e3fab52004-01-15 05:12:41 +00001046 - Overhaul the code used to write a selection of a file to
1047 temporarily set fileage and filebot to the top and bottom of
1048 the selection and then call write_file(), instead of following
1049 the old hackish behavior with cut_marked_segment() (which
1050 won't work after the cutting code changes anyway). (David
David Lawrence Ramsey70bd6e02004-01-15 16:08:42 +00001051 Benbennick) DLR: Tweak to not add an extra blank line to the
1052 end of the written selection if the cursor is at the beginning
1053 of the last line of the selection.
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001054 open_prevfile(), open_nextfile()
1055 - For consistency with the rest of the multibuffer code, change
1056 "No more open files" to "No more open file buffers". (DLR)
1057 do_browser()
1058 - Allow '?' to open the help browser, and readd the ability of
1059 'G'/'g' to open the "Go to Directory" prompt (which was
1060 erroneously removed before), for compatibility with Pico.
1061 (DLR)
David Lawrence Ramsey8fa19762003-11-03 00:13:21 +00001062- global.c:
1063 shortcut_init()
1064 - Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR)
David Lawrence Ramsey32559292003-12-28 03:56:04 +00001065- nano.c:
1066 do_int_spell_fix()
1067 - Add comment explaining why findnextstr() is called with
1068 bracket_mode set to TRUE even though we aren't doing a bracket
1069 search. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001070 do_para_operation()
1071 - Convert to use the new low-level input functions. (DLR)
1072 main()
1073 - Remove unused variable option_index. (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001074 - Fix omission of NANO_NO_KEY in the shortcut list scanning
1075 code. (DLR)
David Lawrence Ramseyf8ddf312004-01-09 22:38:09 +00001076 - Remove now-unnecessary initialization of kbinput. (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001077- nano.h:
1078 - Comment additions and cosmetic tweaks. (DLR)
David Lawrence Ramsey71278572003-10-31 17:58:44 +00001079- search.c:
David Lawrence Ramsey45cfbec2003-11-28 16:04:24 +00001080 findnextstr(), do_replace_loop()
David Lawrence Ramsey18394ac2003-12-24 03:13:44 +00001081 - Fix potential infinite loops and other misbehavior when doing
David Lawrence Ramseye190ff32004-01-03 21:42:25 +00001082 beginning-of-line or end-of-line regex replacements ("^", "$",
1083 and "^$"). Add a no_sameline parameter to findnextstr(), and
1084 set it in the calls in do_replace_loop() when such regexes are
1085 found, so that such regexes are only found once per line.
1086 Also change length_change from a long to an int; size_t is
1087 unsuitable due to its being unsigned. (DLR; found by Mike
1088 Frysinger and DLR) David Benbennick: Add a few minor cleanups
1089 to do_replace_loop().
David Lawrence Ramsey7776ef92003-11-04 18:32:35 +00001090- winio.c:
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001091 get_kbinput(), get_accepted_kbinput()
1092 - Don't pass in the value of the REBIND_DELETE flag anymore.
1093 Instead, handle it directly inside the functions. (DLR)
David Lawrence Ramsey7776ef92003-11-04 18:32:35 +00001094 get_accepted_kbinput()
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001095 - Translate Ctrl-8 into NANO_DELETE_KEY (or NANO_BACKSPACE_KEY
1096 if REBIND_DELETE is set), since it apparently is generated
1097 sometimes even when keypad() is TRUE. (DLR)
1098 - Translate KEY_SLEFT into NANO_BACK_KEY and KEY_SRIGHT into
1099 NANO_FORWARD_KEY, since they are sometimes generated by
1100 Shift-Left and Shift-Right. (DLR)
1101 get_ascii_kbinput()
1102 - Tweak to make it slightly more readable. (DLR)
1103 get_verbatim_kbinput()
1104 - Modify to take an extra parameter indicating if we should
1105 interpret ASCII codes or not. (DLR)
1106 get_escape_seq_kbinput()
1107 - Expand to deal with more broken terminals that don't generate
1108 keypad values. Support the escape sequences for Insert,
1109 Delete, Home, End, PageUp, and PageDown, [arrow key],
1110 Ctrl-[arrow key], and Shift-[arrow key] when needed in the
1111 Linux console, the FreeBSD console, the Hurd console, xterm,
1112 rxvt, and Eterm. Also, use get_verbatim_kbinput(), with ASCII
1113 interpretation disabled, to read in the sequences. (DLR)
1114 get_skip_tilde_kbinput()
1115 - Removed, as it is unneeded due to the expansion of
1116 get_escape_seq_kbinput(). (DLR)
1117 get_mouseinput()
1118 - Modify to take an extra parameter indicating if we should
1119 ungetch() the key equivalents of shortcuts we click on or not.
1120 (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001121 nanogetstr()
1122 - Properly interpret the Meta key value in misc if we hit it at
1123 the statusbar prompt. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001124 do_yesno()
1125 - Add a few efficiency/extensibility tweaks. (David Benbennick)
1126 - Convert to use the new low-level input functions, and remove
1127 two last hardcoded widths left after the above tweaks. (DLR)
David Lawrence Ramsey76c4b332003-12-24 08:17:54 +00001128 do_replace_highlight()
1129 - Display a highlighted space if the word length is zero, so
1130 that we can see zero-length regexes we're replacing. (DLR;
1131 suggested by Mike Frysinger)
David Lawrence Ramsey4dca76f2003-11-20 00:15:52 +00001132- configure.ac:
1133 - Check for glib 2.x and then 1.2.x if we need glib. (DLR)
David Lawrence Ramsey47162bc2004-01-05 19:01:53 +00001134- faq.html:
1135 - Add question explaining how verbatim input works, as well as a
1136 few minor fixes. (DLR)
David Lawrence Ramsey9e45a472004-01-06 17:12:28 +00001137- nano.1, nanorc.5:
1138 - Add nano version numbers (minus any "-cvs" suffixes). (DLR)
David Lawrence Ramsey637f6e52003-11-04 18:34:44 +00001139- nano.spec.in:
1140 - Update for the 1.3 branch of nano. (DLR)
David Lawrence Ramsey9e45a472004-01-06 17:12:28 +00001141- NEWS:
1142 - Reformat so all lines are limited to 72 columns, add a few
1143 typo fixes, and make a few minor cosmetic cleanups. (DLR)
Jordi Mallacha5d8e542003-11-06 10:47:44 +00001144- THANKS:
1145 - Add Danilo Segan, for the Serbian translation.
1146
David Lawrence Ramsey133f7b12003-10-22 17:15:12 +00001147GNU nano 1.3.0 - 2003.10.22
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001148- General:
1149 - Complete overhaul and abstraction of the lowest level of
1150 keyboard input, mostly rewritten but incorporating a few bits
1151 from the old functions and adding support for Pico's Esc Esc
1152 [three-digit decimal ASCII code] input method. New functions
1153 get_kbinput(), get_verbatim_kbinput(), get_ignored_kbinput(),
1154 get_accepted_kbinput(), get_ascii_kbinput(),
1155 get_escape_seq_kbinput(), and get_skip_tilde_kbinput(). These
1156 should work properly on FreeBSD (due to code and input
1157 provided by Lee Nelson and Wouter van Hemel, respectively).
1158 (DLR)
1159 - The -K/--keypad command line/rcfile option has been removed,
1160 and keypad() is now always TRUE. keypad_on() in winio.c and
1161 the check for _use_keypad in configure.ac have both been
1162 removed. (DLR)
1163 - The -d/--rebinddelete command line/rcfile option, equivalent
1164 to Pico's -d, has been added. It is intended to work around
1165 the problem with Backspace/Delete confusion on some terminals,
1166 notably FreeBSD; if your Backspace key acts like Delete, this
1167 option will fix that. (DLR)
David Lawrence Ramseya9cebd82003-08-17 03:31:57 +00001168 - Remove unneeded breaks at the ends of default: clauses. (DLR)
David Lawrence Ramseye0497062003-08-23 21:11:06 +00001169 - Add the ability to repeat the last search without prompting
1170 via Meta-W, and move the line wrapping toggle to Meta-L. New
1171 function do_research(). (Wouter van Hemel)
David Lawrence Ramsey8faf3052003-09-04 20:25:29 +00001172 - Added the ability to move to the beginning or end of the
1173 paragraph, which Pico has via ^W^W (previous paragraph)
David Lawrence Ramsey45108342004-04-21 23:04:55 +00001174 and ^W^O (next paragraph). Changes to do_justify(); new
1175 functions do_para_operation(), do_para_begin(), and
David Lawrence Ramsey8faf3052003-09-04 20:25:29 +00001176 do_para_end(). Note that the last three functions are
1177 disabled if justification is disabled. (DLR)
David Lawrence Ramsey417b03a2003-09-06 21:44:37 +00001178 - Make sure the "historylog" option isn't included at all if
1179 NANO_SMALL is defined. (DLR)
Jordi Mallach3a420872003-10-19 23:30:48 +00001180 - Source reorganization: move code to src/, docs to doc/.
1181 (Jordi)
Jordi Mallach298b9752003-09-07 00:44:12 +00001182 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseyc97acfb2003-09-10 20:08:00 +00001183 - Since SAMELINEWRAP is only used in nano.c, make it a static
1184 variable in nano.c instead of a flag, and surround all
David Lawrence Ramsey1356a0a2003-09-10 20:31:02 +00001185 wrap_reset() calls with DISABLE_WRAPPING #ifdefs. (DLR)
1186 - Change enum "topmidbotnone" to "topmidnone", as there's no
1187 BOTTOM option anymore. (DLR)
David Lawrence Ramsey5ffbec52003-09-16 01:16:49 +00001188 - Split out the string-displaying routine from update_line()
1189 into a separate function; convert the edit window, statusbar
1190 display, and statusbar prompt to use it, so that they can all
1191 properly display control characters and tabs; free and NULL
1192 the backup search string in one place in the search code
1193 instead of several; and do some other minor refactoring of
1194 related display functions to simplify them. New functions
1195 mark_order() and display_string(); changes to actual_x(),
David Lawrence Ramsey2dd7ed12003-09-29 05:15:24 +00001196 strnlenpt(), blank_bottombars(), blank_edit(),
1197 get_page_start(), edit_add(), update_line(), statusbar(), and
1198 do_replace_highlight(). (David Benbennick) DLR: Add minor
1199 cosmetic tweaks, add missing NANO_SMALL #ifdef around the text
1200 for a backwards search in the refactored code, and enclose
1201 dump_buffer() and dump_buffer_reverse() in one ENABLE_DEBUG
1202 #ifdef instead of two.
David Lawrence Ramsey9eff7462003-09-16 02:04:00 +00001203 - Convert memmove() function calls to charmove() macro calls, as
1204 the former all work on char*'s. (DLR)
David Lawrence Ramseyf5b256b2003-10-03 20:26:25 +00001205 - Miscellaneous #define cleanups: only include the prototype for
1206 and definition of wrap_at if wrapping and/or justification are
1207 enabled, remove duplicate wrap_at prototype, and define
1208 DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h
1209 instead of all over the code. (DLR)
Jordi Mallach3a420872003-10-19 23:30:48 +00001210 - Autogenerate the html versions of the manpages in the
1211 Makefile.am's in doc/man/, make sure that they're properly
1212 installed via "make dist", and make sure that "make distcheck"
David Lawrence Ramsey13dfdb22003-10-22 15:37:13 +00001213 works too. Also be sure to set EXTRA_DIST properly. (Jordi,
1214 DLR and Jeff Bailey)
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001215- files.c:
David Lawrence Ramsey7bf00de2003-09-23 04:25:05 +00001216 read_file()
1217 - After we've read in a file and possibly converted it from
1218 DOS/Mac format, set fileformat back to 0 to prevent erroneous
1219 conversion messages when we read other files in. (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001220 do_browser()
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001221 - Some of the Pico compatibility options in the file browser
David Lawrence Ramsey10187612003-08-17 05:40:45 +00001222 that don't work properly for current Pico have been removed.
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001223 Backspace, 'g', 'l', 'q', and 'u' are invalid. 'd' deletes
1224 the highlighted file, and 'r' renames the highlighted file;
1225 neither of these are implemented. (DLR)
David Lawrence Ramseyba6fd422003-08-23 21:16:02 +00001226- global.c:
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001227 toggle_init()
David Lawrence Ramseyba6fd422003-08-23 21:16:02 +00001228 - Change the message for the line wrapping toggle from "Auto
1229 wrap" to "Auto line wrap", to more clearly associate it with
1230 Meta-L. (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001231 shortcut_init()
David Lawrence Ramseycb7ee0e2003-08-31 17:08:59 +00001232 - Change multibuffer-enabled references to
1233 opening/closing/toggling the previous/next loaded file to
1234 toggling/switching to/closing the previous/next file buffer,
1235 for consistency with other references. (DLR)
David Lawrence Ramsey27863662003-08-29 21:31:37 +00001236- nano.c:
1237 window_init()
1238 - Set keypad() to TRUE regardless of whether PDCurses is being
1239 used, as Meta-X apparently turns it off even under ncurses.
1240 (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001241 do_backspace()
1242 - Vastly simplify, and remove dependency on page_up(). (David
1243 Benbennick)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001244 help_init()
1245 - Document the support for Esc Esc [character]'s being
1246 interpreted as Ctrl-[character], and the support for Pico's
1247 Esc Esc [three-digit decimal ASCII code] input method. (DLR)
David Lawrence Ramseyf03c78b2003-09-28 21:26:49 +00001248 do_mark()
David Lawrence Ramseycb34a672004-02-06 21:20:05 +00001249 - Toggle MARK_ISSET at the beginning of the function instead of
1250 setting it in one place and unsetting it in another place.
David Lawrence Ramseyf03c78b2003-09-28 21:26:49 +00001251 (David Benbennick)
David Lawrence Ramsey99bede32003-09-29 07:21:11 +00001252 do_suspend()
1253 - Use handle_hupterm() to handle SIGHUP and SIGTERM so we can
1254 properly deal with them while nano is suspended. (DLR; problem
1255 found by David Benbennick)
David Lawrence Ramseyf0b7dca2003-09-22 15:46:21 +00001256 abcd()
1257 - Removed, as it's unneeded due to the low-level input overhaul.
1258 (DLR)
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001259- nano.h:
David Lawrence Ramseye0a9f502003-09-07 05:32:24 +00001260 - Define KEY_RESIZE and KEY_SUSPEND as -1 when slang is used, as
1261 slang has no equivalent of either. When nano is compiled with
1262 slang support, resizing the window doesn't generate
1263 KEY_RESIZE, and pressing Ctrl-Z to suspend nano at the Linux
1264 console with keypad(TRUE) generates Ctrl-Z instead of
1265 KEY_SUSPEND, both unlike ncurses. (DLR)
David Lawrence Ramsey25307252003-10-10 04:42:48 +00001266 - Define KEY_RESIZE as -1 if it isn't defined, as it isn't in
David Lawrence Ramseyc1f630e2003-10-18 20:21:52 +00001267 the curses library included with SunOS 5.7-5.9. Also define
David Lawrence Ramsey25307252003-10-10 04:42:48 +00001268 KEY_SUSPEND as -1 if it isn't defined, in case it isn't in
1269 more than just Slang. (DLR)
David Lawrence Ramseyf6cf4a72003-10-22 16:20:47 +00001270 - Define all potentially missing keys as different negative
1271 values (ERR is -1, so use -2, -3, etc.) so as to avoid having
1272 duplicate case values when keys are missing. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001273- move.c:
1274 - Remove unneeded inclusion of stdio.h, make various cleanups,
1275 and preserve the cursor's coordinates when paging up and down.
1276 (David Benbennick) DLR: Readd the ability to behave the old
1277 way while paging, make it so the new behavior is only used in
1278 smooth-scrolling mode, and modify page_down() to always go
1279 down a full page (even when there's less than one page of text
1280 left) for consistency.
1281 page_up()
1282 - Removed due to rewrite of movement functions. (David
1283 Benbennick)
David Lawrence Ramseyc97acfb2003-09-10 20:08:00 +00001284- proto.h:
1285 - Surround the do_prev_word() and do_next_word() prototypes with
1286 NANO_SMALL #ifdefs, since the actual functions aren't included
1287 in tiny mode. (DLR)
David Lawrence Ramsey3bd96282003-09-06 05:09:32 +00001288- rcfile.c:
1289 parse_colors()
1290 - Generate an error if we try to use a bright background color
1291 in a nanorc file. (DLR; found by Brand Huntsman)
1292 - Make sure all rcfile error messages are capitalized, for
1293 consistency. (DLR)
David Lawrence Ramseyec290f22003-08-30 19:05:40 +00001294- winio.c:
David Lawrence Ramseyda8fd8f2003-09-16 01:22:31 +00001295 get_verbatim_kbinput()
1296 - Fix a silly memory corruption bug that would occur when trying
1297 to read a sequence of more than one key verbatim. (DLR)
1298 get_accepted_kbinput()
1299 Handle Ctrl-{ to Ctrl-~ correctly, and drop support for
1300 converting Esc ` to Esc Space, since making Meta-[key]
1301 correspond to Ctrl-[key] in all cases is inconsistent due to
1302 the different natures of Contol and Meta key sequences. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001303 do_first_line()
1304 - Call edit_update() with TOP instead of CENTER; both do the
1305 same thing, but it works faster with TOP. (DLR)
David Lawrence Ramsey7f47d422003-09-08 18:01:49 +00001306 nanogetstr()
1307 - Don't let the user type in ASCII 127 at the statusbar prompt.
1308 (DLR)
David Lawrence Ramseyec290f22003-08-30 19:05:40 +00001309 titlebar()
1310 - Fix problem with the available space for a filename on the
1311 titlebar's being short by one. (DLR)
David Lawrence Ramsey4dcd0702003-10-03 04:20:28 +00001312 edit_add()
1313 - Fix problems with the marking highlight's being drawn
1314 improperly in some cases. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001315 edit_update()
1316 - Tweak for efficiency and remove the fix_editbot() call. (David
1317 Benbennick)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001318 do_credits()
1319 - Update the copyright years to "1999-2003", to match those
1320 given in the rest of the code. (DLR)
David Lawrence Ramseya3831ab2003-09-22 16:26:40 +00001321- configure.ac:
1322 - Change instances of "GNU Nano" to "GNU nano" for consistency.
1323 (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001324- nano.1, nanorc.5, nano.texi:
1325 - Change all instances of $SYSCONFDIR to SYSCONFDIR, since
1326 SYSCONFDIR is set at compile time and can't be overridden by
1327 setting SYSCONFDIR in the environment. (David Benbennick)
1328 - Remove -K/--keypad, and document -d/--rebinddelete. (DLR)
1329 - Document the support for Esc Esc [character]'s being
1330 interpreted as Ctrl-[character], and the support for Pico's
1331 Esc Esc [three-digit decimal ASCII code] input method, if
1332 applicable. (DLR)
Jordi Mallach298b9752003-09-07 00:44:12 +00001333 - French translation by Jean-Philippe Guérard.
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001334- nano.1.html, nanorc.5.html:
1335 - Regenerated. (DLR)
1336- nanorc.sample:
1337 - Remove duplicate "historylog" entry, remove "keypad" entry,
1338 and add "rebinddelete" entry. (DLR)
David Lawrence Ramseydc9c40a2003-09-07 23:54:57 +00001339 - Update and add comments to the regexes for nanorc files.
1340 (Brand Huntsman)
David Lawrence Ramsey21cc5502003-09-06 19:04:02 +00001341 - Fix an attempt at a bright background color in the sample Java
1342 source regexes. (DLR)
1343 - Since tabs are shown as groups of spaces, they are interpreted
1344 as such when parsed by color regexes. Accordingly, simplify
1345 regexes that handle both spaces and tabs to just handle
1346 spaces, as the results are the same. (DLR)
Chris Allegrettaf3fee5d2003-08-12 02:40:47 +00001347- AUTHORS
1348 - Updated to show 1.2/1.3 maintainers.
1349
Chris Allegretta6954f052003-08-12 02:34:03 +00001350- 1.3 tree forks here
1351
Chris Allegretta33642142003-08-12 01:49:20 +00001352GNU nano 1.2.2 - 2003.08.11
Jordi Mallach5b63eaf2003-06-11 10:17:20 +00001353- General:
1354 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001355 - Change uncast nrealloc()s assigned to char pointers/arrays to
1356 charealloc()s, and cast all other nrealloc()s and all
1357 nmalloc()s. (David Benbennick and DLR)
Jordi Mallachf9390af2003-08-05 19:31:12 +00001358 - Remove gettext marks from all debug messages. Good for developers,
1359 better for translators. (Jordi)
1360 - Add translator comments on strings that should be short, like in
1361 status bar strings, etc. (Jordi)
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001362- utils.c:
1363 align()
1364 - Tweak to avoid a potential problem when strp is non-NULL but
1365 *strp is NULL. (David Benbennick)
Chris Allegretta4f5335d2003-08-04 02:51:12 +00001366 nstricmp(), nstrnicmp()
1367 - Add these functions, equivalent to strcasecmp() and
1368 strncasecmp(), and convert nano to use them when strcasecmp()
1369 and/or strncasecmp() are unavailable. (DLR)
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001370- winio.c:
Chris Allegretta653d6142003-08-04 02:12:03 +00001371 do_help()
1372 - Get rid of keypad_on() call for bottomwin, which should not be
1373 needed (DLR).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001374 nanogetstr()
1375 - Fix problem with search history where a temporary string
1376 added at the bottom of the history (but which was not in the
1377 history) would not be preserved after scrolling down to the
1378 blank bottom entry and then scrolling back up. (DLR)
Chris Allegrettac30fc242003-08-11 00:32:45 +00001379 - Fix problem where pressing down,up,down does not blank the
1380 search prompt but keeps the previous search (DLR).
Chris Allegretta653d6142003-08-04 02:12:03 +00001381 - Handle Alt-[-F and H (DLR, fixed home and end not working with
1382 -K in statusbar).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001383- configure.ac:
1384 - Change the program used to detect a broken regexec() function
1385 so that it works properly, using information found at
1386 http://sources.redhat.com/ml/libc-hacker/2001-06/msg00015.html.
1387 (DLR)
1388- nanorc.sample:
1389 - Revised comment explaining the non-escaping of quotes to cover
1390 non-escaping of all shell-interpreted characters. (DLR)
1391 - Fixes to the descriptions and examples in the comments, and
1392 changes to some default values. (David Benbennick and DLR)
1393 - Add regexes for Perl syntax. (Richard Smith, tweaked for
1394 greater efficiency by David Benbennick)
1395 - Add regexes for Java source syntax. (David Benbennick)
1396 Regex for C++-style comments (colored the same way as C-style
1397 comments) added by DLR.
Jordi Mallach2e6d0ca2003-04-24 18:23:56 +00001398- THANKS:
1399 - Added Laurentiu Buzdugan, for Romanian.
Jordi Mallach9e74ade2003-06-11 15:52:34 +00001400 - Added Geir Helland, for Norwegian Bokmål.
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001401- TODO:
1402 - Move the items for nano 1.2 to the "Old Requests" section,
1403 and mark color syntax highlighting as done. (David Benbennick)
David Lawrence Ramsey6d97d182003-07-02 14:20:11 +00001404- faq.html:
1405 - Added question about nano's not showing color when it's
1406 compiled with color support. (DLR; suggested by Jordi)
Jordi Mallachd995e9a2003-06-11 16:38:35 +00001407- nano.1, nanorc.5:
Jordi Mallach5b63eaf2003-06-11 10:17:20 +00001408 - Formatting improvements by Jean-Philippe Guérard.
David Lawrence Ramseyb764eb62003-06-29 02:25:46 +00001409 - Minor fixes by DLR.
1410- nano.1.html, nanorc.5.html:
1411 - Regenerated from nano.1 and nanorc.5. (DLR)
Chris Allegrettaffe575f2003-04-20 16:25:46 +00001412
Chris Allegrettaaa459312003-04-20 16:20:15 +00001413GNU nano 1.2.1 - 2003.04.19
Jordi Mallach723399a2003-02-23 19:12:54 +00001414- General:
1415 - Translation updates (see po/ChangeLog for details).
Chris Allegrettad8451932003-03-11 03:50:40 +00001416 - Work around broken regexec() on some systems that segfaults
1417 when passed an empty string. New function regexec_safe().
1418 (David Benbennick)
1419 - Fix various bugs with search string history logging: don't
1420 print a broken error message and freeze if ~/.nano_history is
1421 unreadable, actually show an error message in save_history()
1422 if ~/.nano_history is unwritable, and prevent ~/.nano_history
1423 from being completely overwritten by save_history() if it's
1424 unreadable but writable. (David Benbennick)
Chris Allegrettae1e0fd62003-04-15 01:15:09 +00001425 - Only unset KEEP_CUTBUFFER in main() when we do something other
1426 than cut text in the main input loop, instead of unsetting it
1427 all over the place (which, as written, didn't handle cases
1428 like a cut followed by M-Space properly). Also, instead of
1429 checking for keyhandled's not being set inside the for loops,
1430 do it in if blocks surrounding the for loops to increase
1431 efficiency. (David Benbennick) DLR: Also unset KEEP_CUTBUFFER
1432 if we hit a shortcut key other than the one for cutting text.
1433 - Make it so a marked cut immediately followed by an unmarked
1434 cut tacks the latter's text onto the end of the former's text
1435 instead of putting it on a new line, as Pico does. (DLR)
1436 - Convert instances of "(char *)nrealloc()" to the macro
1437 charealloc(), which does the same thing. (DLR)
Chris Allegretta8151ba52003-04-19 19:34:05 +00001438 - Change justify_mode from a boolean int to a flag (DLR).
Chris Allegrettae1e0fd62003-04-15 01:15:09 +00001439- cut.c:
1440 do_cut_text()
1441 - Tweak where KEEP_CUTBUFFER is set so that a marked cut
1442 immediately followed by an unmarked cut preserves the
1443 cutbuffer between the two. (David Benbennick) DLR: Also
1444 properly set KEEP_CUTBUFFER in tiny mode.
1445 do_uncut_text()
1446 - If we're about to uncut on the magicline, always make a new
1447 magicline in advance, as Pico does. (DLR)
Chris Allegrettad8451932003-03-11 03:50:40 +00001448- global.c:
1449 shortcut_init()
1450 - Simplify the #ifdef used to enable file insertion in view mode
1451 if multibuffer support has been compiled in. (DLR)
1452- nano.c:
1453 justify_format()
1454 - If we shave spaces off the end of the line, make sure totsize
1455 is properly updated. (DLR; much simplified by David
1456 Benbennick)
1457- nano.h:
1458 - Simplify #ifdefs relating to HAVE_STRCASECMP and
1459 HAVE_STRNCASECMP. (David Benbennick)
Chris Allegrettae1e0fd62003-04-15 01:15:09 +00001460- search.c:
1461 goto_abort()
1462 - Removed, with all instances replaced with display_main_list(),
1463 since with the removal of all the scattered calls to
1464 SET(KEEP_CUTBUFFER), that function was all that was left of
1465 it. (DLR)
1466 do_find_bracket()
1467 - If a matching bracket wasn't found, call update_line() after
1468 setting current and current_x back to their original values,
1469 in case current_x's original value is greater than the width
1470 of the screen. (DLR)
Chris Allegretta4b376a42003-04-16 02:08:23 +00001471- winio.c:
1472 nanogetstr()
1473 - Remove a few unnecessary breaks occurring immediately after
1474 gotos, and properly interpret the up and down arrow keys when
1475 ALT_KEYPAD is set. (DLR)
Chris Allegrettad8451932003-03-11 03:50:40 +00001476- configure.ac:
1477 - Enable autodetection of broken regexec(). (DLR) Re-added
1478 regex.h check to ensure compile under Debian w/autoconf 1.6.
Jordi Mallachdb469d82003-03-24 13:08:16 +00001479- README:
1480 - Update obsolete 1.1.x information.
Chris Allegrettad8451932003-03-11 03:50:40 +00001481- TODO:
1482 - Fix typo. (David Benbennick)
1483- faq.html:
1484 - Update RPM links for nano 1.2.x. (DLR)
Chris Allegrettadbc3ec72003-02-20 03:14:37 +00001485
Chris Allegretta2b4ead92003-02-20 01:56:02 +00001486GNU nano 1.2.0 - 2003.02.19
Jordi Mallach07e20002003-02-14 22:10:14 +00001487- General:
1488 - Translation updates (see po/ChangeLog for details).
Chris Allegretta33ac7b92003-02-16 03:13:47 +00001489- files.c:
1490 read_file()
1491 - If the file we're loading has already been detected as a DOS
1492 or Mac formatted file, don't turn on NOCONVERT if we find
1493 binary chars in it. This is because if it's detected as
1494 DOS/Mac format, at least one line has already been converted,
1495 so setting NOCONVERT (which is supposed to signal that none
1496 of the file should be converted) makes no sense. (DLR)
Chris Allegrettaa7a78de2003-02-19 22:27:53 +00001497- nano.c:
1498 justify_format()
1499 - Fix ugly behavior when wrapping spaces at the end of long
1500 words (David Benbennick).
Jordi Mallach07e20002003-02-14 22:10:14 +00001501- nanorc.5:
1502 - Fix formatting error and update copyright year (Jordi).
Jordi Mallachfc71eb52003-02-15 13:34:03 +00001503 - Several enhancements (David Benbennick).
Chris Allegretta3d332512003-02-14 03:10:12 +00001504
Chris Allegretta7ba32792003-02-14 03:09:35 +00001505GNU nano 1.1.99pre3 - 2003.02.13
Jordi Mallacha577d5a2003-02-04 14:13:36 +00001506- General:
1507 - Translation updates (see po/ChangeLog for details).
Chris Allegretta201f1d92003-02-05 02:51:19 +00001508 - Fix globals and externs such that nano will compile with
1509 DISABLE_SPELLER (David Benbennick).
Chris Allegrettaf8f2d582003-02-10 02:43:48 +00001510 - Fix unreasonable fill values by wrapping at length 0 instead
1511 of erroring out, and don't start up if the window size is too
1512 small but fill is set reasonably. Changes to
1513 nano.c:global_init(), window_init(), and handle_sigwinch().
1514 New macro MIN_EDITOR_COLS replaces MIN_FILL_LENGTH
1515 (David Benbennick).
Chris Allegrettad8451932003-03-11 03:50:40 +00001516 - Change ngettext macro to P_(), to avoid a clash with the
1517 reserved C __ identifier (Jordi).
Chris Allegrettafdcb9e92003-02-12 02:52:04 +00001518 - Memory leak fixes for files.c:do_insertfile(),do_browser(),
Chris Allegrettad8451932003-03-11 03:50:40 +00001519 nano.c:do_spell(), and search.c:do_replace() (David
1520 Benbennick).
Chris Allegrettabcc86882003-02-13 01:54:41 +00001521 - Remove do_preserve_msg, as using -p still gives Pico-style
1522 string behavior, so an annoying message every invocation is
1523 probably unneeded (all cheer).
Chris Allegrettad8451932003-03-11 03:50:40 +00001524 - Change resetpos function to be global (now called
Chris Allegretta65f075d2003-02-13 03:03:49 +00001525 resetstatuspos. Fixes annoying but small odd problem with
Chris Allegrettad8451932003-03-11 03:50:40 +00001526 cursor placement when inserting a file. This needs to be done
1527 better in 1.3 (originally by David Lawrence Ramsey). Added
1528 this issue to TODO.
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +00001529- files.c:
Chris Allegrettabcaeeb42003-02-08 02:03:26 +00001530 cwd_tab_completion()
1531 - Memory leak fix (David Benbennick).
David Lawrence Ramsey9591ee52004-01-14 16:51:06 +00001532 input_tab()
Chris Allegrettad8451932003-03-11 03:50:40 +00001533 - Fix assumption that matches is null terminated (David
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +00001534 Benbennick).
Chris Allegrettaa0449d92003-02-12 23:58:01 +00001535 load_history()
Chris Allegrettad8451932003-03-11 03:50:40 +00001536 - Fix segfault on loading huge strings from history file
Chris Allegrettaa0449d92003-02-12 23:58:01 +00001537 (David Benbennick).
Chris Allegretta1debce22003-02-13 22:00:19 +00001538 load_history(), save_history()
1539 - Changed to look at $HOME before getpwuid(geteuid()), see
1540 details in comment for rcfile.c:do_rcfile().
Chris Allegrettad8451932003-03-11 03:50:40 +00001541 real_dir_from_tilde()
Chris Allegretta1debce22003-02-13 22:00:19 +00001542 - Change check for the running user's home dir to use
1543 getpwuid(geteuid()) rather than a getpwent() loop
1544 (suggested by Jordi).
Chris Allegretta5ec68622003-02-05 02:39:34 +00001545- nano.c:
Chris Allegretta428f6202003-02-12 03:21:45 +00001546 breakable()
1547 - Fix incorrect return value on short lines (David Benbennick).
Chris Allegretta4640fe32003-02-10 03:10:03 +00001548 do_help()
1549 - Fix line lengths not being computed properly, causes display
1550 glitches most noticeable with < 20 rows. New function
1551 nano.c:line_len(). (David Benbennick).
Chris Allegretta428f6202003-02-12 03:21:45 +00001552 do_justify()
1553 - Add regfree() to quote regex (David Benbennick).
Chris Allegrettad8451932003-03-11 03:50:40 +00001554 - Only copy previous indent if AUTOINDENT is set (David
Chris Allegretta428f6202003-02-12 03:21:45 +00001555 Benbennick).
Chris Allegretta76417082003-02-12 23:54:34 +00001556 do_suspend()
1557 - Fix untranslated message (David Benbennick).
Chris Allegrettad127c712003-02-12 23:20:45 +00001558 do_wrap()
1559 - Fix isspace() call to operate on int.
Chris Allegretta428f6202003-02-12 03:21:45 +00001560 help_init()
1561 - Fix crashing in do_help when COLS < 23 (David Benbennick).
1562 main()
1563 - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
1564 (David Benbennick).
Chris Allegrettafe1d0722003-02-13 00:52:49 +00001565 - Silence annoying compiler messages about clobbering and
1566 uninitialized variables by moving variable inits to the top
1567 of main() and re-initializing them after the sigsetjmp().
Chris Allegrettad6e84362003-02-07 00:02:00 +00001568- rcfile.c:
1569 colortoint()
1570 - Don't bomb after invalid color and print bad color name
1571 (David Benbennick).
Chris Allegretta17ec14b2003-02-07 00:19:05 +00001572 colortoint, parse_colors()
1573 - Don't add strings with invalid fg colors at all.
Chris Allegretta2e39c1c2003-02-13 03:36:15 +00001574 do_rcfile()
1575 - Revert (somewhat) previous behavior of looking at
1576 $HOME, and only run getpw* if it is NULL. Most *nix programs
1577 seem to only care about $HOME, and at the user-level
1578 getpw* may not be reliable (and its slower).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +00001579- search.c:
1580 do_gotoline()
1581 - Only goto_abort() if we *didnt* abort the command, making
1582 the function seem horribly misnamed ;-) (David Benbennick).
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +00001583- winio.c:
Chris Allegrettae9b5c6f2003-02-12 23:49:56 +00001584 browser_init(), striponedir(), do_browse_from()
1585 - Various memory leak fixes (David Benbennick).
Chris Allegrettab2cd2482003-02-12 23:18:19 +00001586 do_yesno(), do_help()
1587 - Add defined(NCURSES_MOUSE_VERSION) to macro so systems that
1588 don't understand MEVENT will compile.
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +00001589 nanogetstr()
1590 - Remove unnecessary reset of x since it is now handled
1591 elsewhere (David Lawrence Ramsey).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +00001592 statusq()
1593 - Always blank the statusbar on exit (David Benbennick).
Chris Allegretta5ea694e2003-02-04 14:24:54 +00001594- nano.1, nano.1.html:
1595 - Add initialization file comments, change some options from
1596 bracketed to underlined to emphasize that they are not
1597 optional.
Jordi Mallacha66a8f72003-02-09 01:28:40 +00001598 - Add SEE ALSO section (Jordi).
Chris Allegretta4f989fa2003-02-13 04:01:49 +00001599 - Moved nano.1 color and syntax sections to nanorc, pointed
1600 nano.1 to nanorc.5 for initialization file. Changed
1601 nanorc.5 variables to be italics to match nano.1. Added
1602 nanorc.5.html to CVS tree.
Jordi Mallacha66a8f72003-02-09 01:28:40 +00001603- nanorc.5:
1604 - Add nanorc manpage, with descriptions of all available commands
1605 (Jordi).
Chris Allegrettaa3daf3a2003-02-07 00:11:55 +00001606- nanorc.sample:
1607 - Make nanorc entry less tolerant of invalid colors.
Chris Allegretta97e10b52003-02-08 22:05:50 +00001608- nano.spec.in:
1609 - Change default flags to --enable-all.
Jordi Mallach2ddd75e2003-02-09 23:51:17 +00001610- THANKS:
1611 - Add Kalle Kivimaa and Kalle Olavi Niemitalo, for Finnish (Jordi).
Jordi Mallachaebfac82003-02-13 12:50:53 +00001612- UPGRADE:
1613 - Add upgrading information document for 1.0 users (Jordi).
Chris Allegrettacddbfd02003-02-03 15:29:56 +00001614
Chris Allegretta5c8c2762003-02-03 15:21:27 +00001615GNU nano 1.1.99pre2 - 2003.02.03
Jordi Mallacha577d5a2003-02-04 14:13:36 +00001616- General:
Chris Allegretta0e86e602003-01-23 04:27:23 +00001617 - Changed some translatable debug messages to use %s
1618 instead of the function name, and removed gettext from
1619 two strings that had no actual words in them that
1620 should be translated. Suggested originally by
1621 Christian Rose.
Chris Allegretta9090f2e2003-01-26 04:45:05 +00001622 - Fix subexpression replacement to work consistently.
1623 Affects search.c:replace_regexp() and
1624 utils.c:strstrwrapper() (David Benbennick).
Chris Allegretta47fcfe52003-01-26 21:01:16 +00001625 - Fix cursor position being saved when escaping out
1626 of nanogetstr with keys like ^Y and ^V. New arg
1627 resetpos to nanogetstr(), added static int
1628 resetpos in statusq() (bug found by DLR).
Chris Allegrettad26ab912003-01-28 01:16:47 +00001629 - Fix constant curos updates from obliterating other
1630 system messages, and fix statusbar message length.
1631 Affects files.c:load_open_file(), nano.c:main(),
1632 search.c:findnextstr(), winio.c:statusbar() and
1633 do_cursorpos() (David Benbennick).
Chris Allegretta5d715142003-01-29 04:18:37 +00001634 - Fix nano crashing when searching/replacing an invalid
1635 regex (try "^*"). Changed regexp_init() to return
1636 1 or 0 based on regcomp()'s return value and search_init
Chris Allegrettad89eb912003-02-03 07:07:40 +00001637 to exit with an error message (sorry Jordi!). Added
1638 another check when using last_search instead of answer.
Chris Allegrettace452fb2003-02-03 02:56:44 +00001639 - Move regcomp into rcfile.c rather than each display refresh
1640 of winio.c. New function rcfile.c:nregcomp().
1641 This fixes much of nano's resource hogging behavior
1642 in syntax higlighting. (David Benbennick).
Chris Allegrettacff6e6f2003-02-03 03:22:02 +00001643 - Fix justify failing for certain lines, new function
1644 nano.c:breakable() (David Benbennick).
Chris Allegrettaa0d89972003-02-03 03:32:08 +00001645 - Fix screen getting trashed on signals nano can catch
1646 (TERM and HUP). New global variable curses_ended,
Chris Allegrettadbfc56c2003-02-03 03:33:04 +00001647 changes to winio.c:statubar() and nano.c:die()
1648 (David Benbennick).
Chris Allegretta149781d2003-01-26 03:54:00 +00001649- cut.c:
1650 do_cut_text()
1651 - Fix incorrect cursor location when cutting long lines
1652 (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +00001653- files.c:
Chris Allegretta858d9d92003-01-30 00:53:32 +00001654 - Set a default PATH_MAX for getcwd() etc calls (David
1655 Benbennick).
1656 do_browse_from()
1657 - Fix path checking to fix bad paths, escaping
1658 the operating directory, new function readable_dir() (David
1659 Benbennick).
Chris Allegrettab698c352003-01-26 22:05:07 +00001660 do_browser()
1661 - Fix incorrect path check for check_operating_dir()
1662 (David Benbennick).
Chris Allegrettaf80a59c2003-01-30 00:57:33 +00001663 - Fix goto directory operating dir check and tilde expansion
1664 (David Benbennick).
Chris Allegretta0eab2362003-02-03 03:39:05 +00001665 - Even more checks and operating dir fixes (David Benbennick).
Chris Allegretta434d6862003-02-03 04:55:17 +00001666 do_insertfile()
1667 - Add some more checks and fix recursion when toggling
1668 multibuffer (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +00001669 open_file()
1670 - Fix FD leak with file load error (David Benbennick).
Chris Allegretta5c63f272003-02-02 04:26:54 +00001671 add_open_file()
1672 - Revert the fix for the supposed minor logic error from before;
1673 it was keeping some updates from happening when they should,
1674 which was leading to segfaults with both multibuffer and view
1675 mode on. (DLR; found by David Benbennick)
Chris Allegretta77e726d2003-01-26 19:36:08 +00001676 save_history()
1677 - Fix nrealloc return value being ignored (David Benbennick).
Chris Allegrettac4533572003-02-03 05:04:09 +00001678 - Fix off-by-one bug causing write to unallocated memory
1679 (David Benbennick).
Chris Allegrettace452fb2003-02-03 02:56:44 +00001680- global.c:
1681 thanks_for_all_the_fish()
1682 - Fix compiling with DEBUG and multibuffer (David Benbennick).
Jordi Mallacheeb50042003-01-18 22:42:34 +00001683- nano.c:
Chris Allegrettaa3407662003-01-26 21:13:03 +00001684 do_char()
1685 - Remove unneeded check_statblank() (David Benbennick).
Chris Allegretta64fc78c2003-01-26 19:57:44 +00001686 do_int_spell_fix(), do_int_speller()
1687 - Fix crashes with mark position, current_x position,
1688 and edit_update args (David Benbennick).
Chris Allegretta2a7b8b22003-01-30 00:42:20 +00001689 do_justify()
1690 - Unset KEEP_CUTBUFFER so nano won't crash with subsequent
1691 ^K cuts and justifies (David Benbennick).
Chris Allegrettae92a7bc2003-01-28 01:36:38 +00001692 do_mouse()
1693 - Fix the mouse code to work with lines longer than COLS and
1694 with the proper positioning, including special characters
1695 (David Benbennick).
1696 do_preserve_msg():
1697 - Unsplit error message into a single fprintf call (Jordi).
Chris Allegretta3d459ad2003-01-22 01:09:40 +00001698 main()
1699 - Call load_file with arg 0 for insert, as we aren't really
1700 doing an insert, allows new_file() to run if we open a
1701 non-file at startup.
1702 usage()
Jordi Mallacheeb50042003-01-18 22:42:34 +00001703 - Remove gettext markings from -p/--preserve (Jordi).
Chris Allegretta36fec722003-01-22 01:13:25 +00001704 - Revamp -H option message to fit in 80 column terminal.
Chris Allegretta1a128af2003-01-26 04:15:56 +00001705 window_init()
1706 - Fix leaking *WINDOWs (no pun intended) (David Benbennick).
Chris Allegretta1939c352003-01-26 04:26:25 +00001707- search.c:
Chris Allegretta8a85aa02003-01-26 20:02:15 +00001708 do_search(), do_replace_loop()
1709 - Fix edit_update call to use CENTER instead of current_x
1710 (related to David Benbennick's fixes for spelling).
Chris Allegretta1939c352003-01-26 04:26:25 +00001711 do_replace_loop()
1712 - Fix various bugs having to do with replace string length
1713 and positioning (David Benbennick).
Chris Allegretta63d0b482003-01-26 19:47:10 +00001714 edit_refresh()
1715 - Fix cursor being above as well as below the current screen
1716 (David Benbennick).
Chris Allegretta3bbc4162003-01-23 00:46:12 +00001717- winio.c:
1718 bottombars()
1719 - Change strcpy of gettext() "Up" string to strncpy of max
1720 width 8, to stop stupid strcpy crash.
Chris Allegrettadb28e962003-01-28 01:23:40 +00001721 do_yesno()
1722 - Fix mouse interaction bugs with yes/no prompt (David Benbennick).
Chris Allegrettaf22e8bf2003-01-23 01:21:26 +00001723- nanorc.sample:
1724 - Change comment to say magenta instead of purple.
1725
Chris Allegrettad46f5442003-01-17 21:47:33 +00001726GNU nano 1.1.99pre1 - 2003.01.17
David Lawrence Ramseydc60b722002-10-25 16:08:53 +00001727- General:
Chris Allegrettad46f5442003-01-17 21:47:33 +00001728 - New date format for NEWS and ChangeLog.
Chris Allegretta7662c862003-01-13 01:35:15 +00001729 - Completely removed PICO_MODE, as with the search/replace
1730 history patch we should have the extended functionality we can
1731 without being incompatible with Pico. Removed all code for
1732 different search/replace string editing and alternate shortcut
1733 list. I'm sure I won't even have to ask for feedback on this
1734 one :-)
1735 - Add in Pico's -p flag, (-p, --preserve). To preserve the XON
1736 and XOFF keys (^Q and ^S). Add warning if we invoke -p and
1737 add checks for using --preserve (to skip warning) and --pico
1738 (to force showing it). New flag PRESERVE, function
1739 do_preserve_msg(), changes to main(), signal_init().
1740 - Search history and replace history up/down cursor arrows,
1741 w/history tab completion, not available w/NANO_SMALL. Changes
1742 to statusq(), others (Ken Tyler). Added shortcut to
1743 search/replace shortcuts so people will know it's there,
1744 forced KEY_UP and KEY_DOWN defs in nano.h (Chris, in case
1745 blame needs to be placed later). Minor fixes by DLR: allow ^P
1746 and ^N as alternatives to the up and down arrows, make sure
1747 the "Up" shortcut is displayed properly in the help menu,
1748 remove a few bits of unneeded and/or warning-generating code,
1749 and fix some missing statusq() prompts with --enable-tiny.
Chris Allegrettaf3de8b52003-01-16 23:44:46 +00001750 - Added search/replace history log. Flag -H, --historylog.
1751 Flags HISTORY_CHANGED and HISTORYLOG (only room for one more
1752 flag!), added entries in nanorc.sample, new functions
1753 log_history and save_history (Ken Tyler).
Jordi Mallach5e4b8cf2002-10-26 15:02:14 +00001754 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseydc60b722002-10-25 16:08:53 +00001755 - Forward-ported Chris' --disable-wrapping-as-root option from
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001756 1.0.9. Per Jordi's suggestions, have it override
1757 $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR)
1758 - Change all references to /etc/nanorc in the documentation to
1759 $SYSCONFDIR/nanorc. (DLR)
David Lawrence Ramsey99519ae2002-11-04 16:12:19 +00001760 - Minor cosmetic tweaks to the ngettext() macro, and fix to
1761 properly detect systems lacking ngettext() and correctly
1762 compile on them; the previous fix didn't work. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001763 - Fix problems with some code sections' not being #ifdef'ed out
1764 when they should be, or being #ifdef'ed out improperly. (David
1765 Benbennick and DLR)
1766 - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the
1767 associated logic accordingly, throughout the code. (David
1768 Benbennick)
1769 - Rework #ifdefs to not include mouse_init() at all if
1770 DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR)
1771 - For consistency, change many references of (!x) to (x == NULL)
1772 and (x) to (x != NULL). (DLR)
1773 - Define KEY_IC properly (and KEY_DC more portably) when slang
1774 support is enabled, and remove the hack to work around the
1775 former's not being defined. (David Benbennick and DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001776 - Miscellaneous tweaks to update_color() calls, to make sure
1777 they're called at the right times and that refreshes are done
1778 afterwards only when needed. (David Benbennick)
1779 - Renamed [have_]past_editbuff [have_]search_offscreen. (DLR)
1780 - Add the "preserve" option to the nanorc file, to match
1781 nanorc.sample. (DLR)
Chris Allegretta0e7a3f52003-01-15 03:06:25 +00001782 - Fixed awful scrolling in do_int_speller. Problem was
1783 findnextstr() calling edit_update(), though screen updating
1784 is not its business. Added checks in do_search() and
1785 do_replace_loop() to do the checks. It really should not be
1786 done here, as some function in winio.c should handle this,
1787 but I can't seem to find a good place to put this check.
Chris Allegrettad757e252003-01-15 19:33:27 +00001788 - Updated all copyright notices to say 2003 rather than 2002, as
1789 nearly all the source files have been worked on this year
1790 (DLR).
Jordi Mallach3e5ad632002-12-14 22:15:35 +00001791- configure.ac:
Jordi Mallacha0e829c2003-01-15 17:43:59 +00001792 - Added tr and eu to ALL_LINGUAS (Jordi).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001793 - Fix now inaccurate description of --enable-tiny's effects; it
1794 no longer disables NLS support. (DLR)
1795 - Fix typo. (David Benbennick)
1796 - Check for strcasecmp() and strncasecmp(), since they are
1797 apparently only standard under BSD. (DLR)
Jordi Mallach631ee1f2003-01-15 17:40:35 +00001798 - Small cleanups. Add copyright header, add autopoint support and
1799 define bug report address and full package name in AC_INIT. Move
1800 ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
Chris Allegrettad957f592003-01-17 00:17:45 +00001801 - Added --enable-all option to compile in all the extra stuff
1802 we'd normally need extra flags for.
Chris Allegretta7662c862003-01-13 01:35:15 +00001803- color.c:
1804 update_color():
1805 - Remove an unneeded edit_refresh() call after do_colorinit().
1806 (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001807- cut.c:
1808 do_cut_text()
1809 - Fix a memory corruption problem caused by accessing edittop
1810 after it was freed but before it was reset to a sane value
1811 from current. (David Benbennick)
1812 do_uncut_text()
1813 - If uncutting more than one line of unmarked text at editbot,
1814 don't center the screen, since Pico doesn't. (DLR)
Chris Allegretta688c8eb2003-01-14 23:36:11 +00001815 - If uncutting previously unmarked text, uncut to end if we're
1816 not at the beginning of the line, and set placewewant to 0 if
1817 we are. This matches Pico's behavior. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001818- files.c:
Chris Allegretta7662c862003-01-13 01:35:15 +00001819 load_file()
1820 - Remove unneeded wmove() call. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001821 read_line()
1822 - Miscellaneous cleanups. (David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +00001823 open_file()
1824 - If we're in multibuffer mode and there's an error opening the
1825 file in read-only mode, display the error message on the
1826 statusbar regardless of the value of quiet. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001827 read_file()
1828 - Miscellaneous cleanups. (David Benbennick)
1829 - Fix len's being off by one when reading in Mac-format files,
1830 exposed by one of David Benbennick's cleanups. (DLR)
1831 - If NO_CONVERT isn't set when we first enter, and it gets set
1832 while reading in the file, unset it again afterwards. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001833 do_insertfile()
1834 - If we're in multibuffer mode and there's an error opening the
1835 file that we're trying to insert, close the new buffer that we
1836 made to hold it and reload the buffer we had open before.
1837 (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001838 add_open_file()
1839 - Fix minor logic error when determining when to resave fileage
1840 and filebot. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001841 load_open_file()
1842 - If switching between files when CONSTUPDATE is set, only force
1843 a cursor position display update if DISABLE_CURPOS isn't set.
1844 This will ensure that the "Switching to [file]" messages are
1845 shown. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001846 write_file()
1847 - Change lineswritten from a long to an int, to match
1848 filestruct->lineno. (DLR; mismatch found by David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +00001849 real_dir_from_tilde()
1850 - Since this is needed for proper interpretation of paths
1851 containing tildes and not just for tab completion, include and
1852 use it regardless of whether tab completion is disabled.
1853 (David Benbennick and DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001854 input_tab()
1855 - Variable name change: matchBuf -> matchbuf. (DLR)
1856 diralphasort()
1857 - Remove the HAVE_STRCASECMP #ifdef block; see the changes to
1858 configure.ac and nano.h for why. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001859- global.c:
1860 thanks_for_all_the_fish()
1861 - Miscellaneous cleanups. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001862- move.c:
1863 do_page_down()
1864 - If there's a page or less of text, do an edit_update() if the
1865 mark is on; otherwise, the highlight won't be displayed. (DLR)
David Lawrence Ramsey9e050ad2002-11-04 16:18:52 +00001866- nano.c:
Chris Allegretta7662c862003-01-13 01:35:15 +00001867 - Added free_history() list calls clean up, added init of list
1868 headers, and modified statusq() calls (Ken Tyler).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001869 do_prev_word()
1870 - Make the assert match that in do_next_word(). (DLR)
1871 do_enter()
1872 - If smooth scrolling is on, and Enter is pressed on the
1873 magicline, don't center the screen. (DLR)
1874 do_justify()
1875 - Fix memory corruption problem triggered when edittop and
1876 current->next pointed to the same value and current->next was
1877 destroyed during justification. (DLR)
1878 - Center the screen when justification moves the cursor entirely
1879 off the bottom of the screen, instead of when it moves the
1880 cursor near the bottom of the screen, to more closely match
1881 Pico's behavior. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001882 version()
1883 - Remove obsolete reference to --enable-undo. (David Benbennick)
Chris Allegrettae6600372003-01-17 03:39:41 +00001884 - Move up check for --disable-nls as it's independent of
1885 --enable-tiny now (DLR).
Chris Allegretta5ad92ac2002-12-09 00:58:51 +00001886 do_int_speller()
Chris Allegretta5af58892003-01-17 21:07:38 +00001887 - Make internal spell program use sort -f and uniq to create a
1888 less redundant word list. [The only reason this is going in
1889 during feature freeze is because the int speller is useless as
1890 is and should either be improved or removed. I chose
1891 improved].
Chris Allegretta3f1b6852003-01-12 23:54:05 +00001892 - Change all child error checks to use one goto (gasp!) called
1893 close_pipes_and_exit, so we don't leak FDs.
Chris Allegretta2d5fc3a2003-01-16 03:11:23 +00001894 - Fix FD leaks which occur outside of errors (David Benbennick).
Chris Allegretta334a9402002-12-16 04:25:53 +00001895 do_int_speller(), do_alt_speller()
1896 - Programs now return char *, NULL for successful completion,
1897 otherwise the error string to display. This allows us to give
1898 more useful feedback to the user when spell checking fails.
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001899 ABCD()
1900 - Renamed abcd(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001901 main()
1902 - Remove an unneeded do_colorinit() call, do major cleanups, and
1903 allow loading of multiple files on the command line when
1904 multibuffers are used. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001905- nano.h:
1906 - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same
1907 value. (DLR; discovered by Ken Tyler)
1908 - If strcasecmp() and/or strncasecmp() aren't available, use
Chris Allegretta7662c862003-01-13 01:35:15 +00001909 strcmp() and/or strncmp() instead. (DLR)
1910- proto.h:
1911 - Fix the #ifdef block for DISABLE_TABCOMP's being undefined
1912 so that functions only used with tab completion are properly
1913 #ifdef'ed out. (DLR)
1914- search.c:
Chris Allegretta2ad0f6c2003-01-16 03:51:02 +00001915 do_gotoline()
1916 - Don't call blank_statusbar_refresh() so if there's an error
1917 returned in multibuffer mode, we can actually see it.
Chris Allegretta688c8eb2003-01-14 23:36:11 +00001918 do_search()
1919 - Remove erroneously introduced near-duplicate call to
1920 update_history(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001921 print_replaced()
1922 - Remove and replace with an equivalent ngettext() call. (DLR)
1923 do_replace_loop()
1924 - Fix bug where if text on the magicline was replaced (which can
1925 be done via a regexp replace of "^$" with something other than
1926 ""), a new magicline wouldn't be created. (DLR)
Chris Allegrettaca7113a2003-01-14 23:35:24 +00001927 - Remove check for answer being a blank string, presumed to be
1928 a PICO_MODE holdover, but it stops us from doing a blank
1929 spelling replacement.
Chris Allegretta7662c862003-01-13 01:35:15 +00001930 do_replace()
1931 - For greater Pico compatibility, when an attempt to replace a
1932 string results in 0 replacements due to the string's not being
1933 found, display "[string] not found" instead of "Replaced 0
1934 occurrences". (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001935- utils.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +00001936 is_cntrl_char()
1937 - Rework to fix a problem with displaying certain high-bit
1938 characters. (David Benbennick; reported by Andrzej Marecki)
Chris Allegretta7662c862003-01-13 01:35:15 +00001939 align()
1940 - Don't just assert that the string passed in isn't NULL; check
1941 that it isn't and only do the alignment when it isn't. (David
1942 Benbennick)
1943 nmalloc(), nrealloc()
1944 - If the size passed to nmalloc() or nrealloc() is zero, don't
1945 die with an erroneous out-of-memory error. Also, change
1946 their dying messages to "nano is out of memory!". (David
1947 Benbennick)
1948 charalloc()
1949 - Removed and redefined as a macro that calls nmalloc(). (David
1950 Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001951- winio.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +00001952 nanogetstr()
1953 - Tweak to make the cursor stay in the same place if we hit a
1954 prompt-changing toggle while it's in the middle of the string.
Chris Allegretta5af58892003-01-17 21:07:38 +00001955 Reset it to -1 (so next time we come here, it'll be set to the
1956 end of the string) if we leave the prompt via Enter or Cancel.
Chris Allegretta09fc4302003-01-16 22:16:38 +00001957 Also fix minor problem with search history where the current
1958 search item could be at the bottom of the history twice in a
1959 row under certain conditions. (DLR)
Chris Allegretta327abda2003-01-17 05:04:17 +00001960 - Remove parens in NANO_CONTROL_I check so nano won't complain if
1961 just NANO_SMALL is defined (David Benbennick).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001962 edit_refresh()
1963 - Miscellaneous cleanups that fix a bug where the screen
1964 isn't updated after uncutting chunks of upwardly marked cut
1965 text that are over a page in length. (David Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001966 do_credits()
1967 - Add David Benbennick to credits. (DLR)
1968- nanorc.sample:
1969 - Added comment to explain the non-escaping of quotes in
1970 color regexes, based on info provided by David Benbennick.
1971 (DLR)
Chris Allegrettaed4fb2c2003-01-11 01:14:07 +00001972 - Added some examples for groff and the nanorc courtesy of
1973 Robert D. Goulding.
1974 - Added double hash marks to comment lines, so people who
1975 uncomment the beginning of every line won't get syntax errors.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001976- faq.html:
Chris Allegretta7662c862003-01-13 01:35:15 +00001977 - Miscellaneous fixes and updates for typos, broken links, and
1978 slashes at the end of directories. It is now fully compliant
1979 with HTML 4.01 Transitional. (DLR and David Benbennick)
Chris Allegretta3f8a63c2003-01-17 02:49:23 +00001980 - Added docs about the new unified search string interface and
1981 search histories, and added --enable-all into configure docs.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001982- nano.texi:
1983 - Typo fixes and updates. (David Benbennick)
Chris Allegretta9fa5fbd2003-01-13 02:56:29 +00001984 - Updates for the most recent and not so recent changes.
Chris Allegrettaf9ab3f72003-01-17 03:06:28 +00001985- nano.1, nano.1.html
1986 - Updated for the --preserve and --historylog options.
Chris Allegretta916a8ec2003-01-05 21:51:16 +00001987- TODO
1988 - Added some wishlist stuff.
Jordi Mallach3e5ad632002-12-14 22:15:35 +00001989- THANKS:
Jordi Mallacha0e829c2003-01-15 17:43:59 +00001990 - Added Doruk Fisek and Peio Ziarsolo (Jordi).
Chris Allegrettae8ad5ed2002-10-25 03:15:48 +00001991
Chris Allegretta22578932002-10-25 03:14:11 +00001992GNU nano 1.1.12 - 10/24/2002
Jordi Mallachdab02992002-10-06 23:35:19 +00001993- General:
1994 - Translation updates (see po/ChangeLog for details).
Chris Allegretta1dd0bc92002-10-13 18:43:45 +00001995 - Remove malloc.h, as it's unneeded and just causes annoyances on
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001996 *BSD systems. Added stdlib.h to global.c.
Chris Allegretta1dd0bc92002-10-13 18:43:45 +00001997 - Added Meta-Y toggle to disable/enable color syntax highlighting
1998 completely. This may eventually be per-buffer, but that's too
1999 complicated for a feature freeze.
Chris Allegrettae42df732002-10-15 00:27:55 +00002000 - Disable VSTOP keystroke. Stops people accidentally locking up
2001 nano (suggested by David Benbennick).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00002002 - Pluralize messages with ngettext() where needed. (David
Chris Allegrettad45c5992002-10-25 01:41:31 +00002003 Benbennick) Tweaked to compile on systems lacking ngettext()
2004 by DLR (problem found by Ken Tyler).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00002005 - Update nano.1 and nano.1.html to show that nano now does an
2006 emergency save on receiving SIGHUP or SIGTERM. (DLR)
2007 - Don't include "nowrap" in the long options if
2008 DISABLE_WRAPPING is defined. (DLR)
2009- files.c:
2010 read_file()
2011 - Minor efficiency fixes, some of which fit in with the change
2012 to ngettext() usage mentioned above. (David Benbennick)
2013 do_browser()
2014 - Make sure the value of path is mallocstrcpy()ed into retval
2015 and not just assigned to it, to avoid memory corruption
2016 problems. (DLR)
2017- nano.c:
Chris Allegretta2a15c582002-10-25 01:51:13 +00002018 version()
2019 - If ENABLE_NLS isn't defined, display "--disable-nls"
2020 (suggested by Ken Tyler). (DLR)
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00002021 justify_format()
2022 - Make sure the double space maintained after sentence-ending
2023 punctuation is done when that punctuation is immediately
2024 followed by a bracket-type character, so justifying e.g.
2025 sentences in parentheses works properly. (David Benbennick)
2026 handle_hup()
2027 - Renamed handle_hupterm() to show that it now handles SIGTERM
2028 as well as SIGHUP. (DLR)
2029 signal_init()
2030 - Do an emergency save on receiving either SIGHUP or SIGTERM,
2031 not just SIGHUP. (David Benbennick)
2032 main()
2033 - Fix a problem where control key commands were printed
2034 literally instead of interpreted after a failed search of a
2035 one-line file. (David Benbennick)
2036- proto.h:
2037 handle_hup()
2038 - Renamed handle_hupterm(); see above for why. (DLR)
2039- winio.c:
2040 edit_add()
2041 - Fix a potential infinite loop occurring with certain
2042 zero-length regexes. (David Benbennick)
Chris Allegretta71fb1f52002-10-02 00:21:31 +00002043
Chris Allegretta136a38a2002-10-02 00:05:40 +00002044GNU nano 1.1.11 - 10/01/2002
Jordi Mallach25daa052002-07-29 00:16:38 +00002045- General:
2046 - Translation updates (see po/ChangeLog for details).
Jordi Mallach1f1022f2002-08-21 18:19:53 +00002047 - Upgraded to gettext 0.11.5 (Jordi).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002048 - Updated nano.1, nano.1.html, and nano.texi to fix an
2049 inaccuracy in the description of -Q/--quotestr. (DLR)
2050 - Set REG_EXTENDED in all regcomp() calls. (DLR)
2051 - Minor cosmetic code cleanups. (DLR)
Chris Allegrettaf7c68112002-09-03 22:58:40 +00002052 - Changed do_insertfile to (a) report multibuffer status at the
2053 prompt and allowing it to be toggled, taking into account the
2054 need to keep the translatable strings, and (b) added a
2055 variable inspath to keep track of what the string was before
2056 toggling. I'm sure there's bugs, have at it.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002057 - Make sure all functions have prototypes in proto.h, and swap
2058 some functions around to put similar functions closer
2059 together (for this, rename clear_bottombars() to
2060 blank_bottombars()). (DLR; suggested by David Benbennick)
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002061 - More changes of char *'s to const char *'s when possible.
2062 (David Benbennick)
2063 - Fix various minor memory leaks in files.c. (David Benbennick)
2064 - Fix minor problems with the operating directory code: set the
2065 operating directory properly if it's specified only in a
2066 nanorc file, and handle an operating directory of "/"
2067 properly. New function init_operating_dir() to handle
2068 setting it both on the command line and in the nanorc file.
2069 (David Benbennick)
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +00002070 - Major rewrite of color and screen update routines to fix
2071 minor bugs and increase efficiency. New function
2072 set_colorpairs() for the former. (David Benbennick)
Jordi Mallachcb7c8d82002-07-27 02:49:46 +00002073- configure.ac:
2074 - Added pt_BR to ALL_LINGUAS (Jordi).
Chris Allegretta82559b32002-08-22 01:12:41 +00002075 - Changed --enable-color warning to be slightly less severe.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002076 - Put the configure options in more or less alphabetical order,
2077 and remove --enable-undo, since it doesn't do anything. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00002078- files.c:
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002079 open_file()
2080 - String change: "File "x" is a directory" -> ""x" is a
2081 directory". (Jordi)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002082 do_insertfile()
2083 - Disallow multibuffer toggling at the "Insert File" prompt if
2084 we're in both view and multibuffer mode, so as to keep proper
2085 integration between the two, and make sure the toggle
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002086 actually works all the time otherwise. Also, make sure
2087 TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and
2088 ENABLE_MULTIBUFFER are both defined. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002089 open_prevfile_void(), open_nextfile_void()
2090 - Return the return values of open_prevfile() and
2091 open_nextfile(), respectively, instead of (incorrectly)
2092 calling them and returning 0. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00002093 real_dir_from_tilde()
2094 - Rework to use getpwent() exclusively and end reliance on
2095 $HOME. Adapted from equivalent code in do_rcfile(). (DLR)
2096 input_tab()
2097 - Most likely fixed the check marked with FIXME, so that tab
2098 completion works properly when we're trying to tab-complete a
2099 username and the string already contains data. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002100- global.c:
2101 shortcut_init()
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002102 - Disable the new multibuffer toggle at the file insertion
2103 prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both
2104 defined. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002105 thanks_for_all_the_fish()
2106 - Make sure the reference to help_text is #ifdefed out when
2107 --disable-help is used. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002108- move.c:
2109 page_up()
2110 - Fix bug where current is moved up two lines when the up arrow
2111 is pressed on the top line of the edit window; this causes a
2112 segfault is the top line in the edit window is the second
2113 line of the file, as the line current ends up on doesn't
David Lawrence Ramsey768e8f02002-08-22 04:03:45 +00002114 exist. (Jeff DeFouw)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002115 do_down()
2116 - Fix bug where, if the last line in the edit window is the
2117 line before the magicline, and smooth scrolling is turned
2118 off, pressing the down arrow on that last line centers the
2119 cursor without updating the edit window. (Jeff DeFouw)
Chris Allegrettad865da12002-07-29 23:46:38 +00002120- nano.c:
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002121 version()
2122 - Put the listed configure options in more or less alphabetical
2123 order. (DLR)
2124 open_pipe()
2125 - If we're in view mode here (in which case we're also in
2126 multibuffer mode), don't set the modification flag. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00002127 do_next_word(), do_prev_word()
2128 - If we're on the last/first line of the file, don't center the
2129 screen; Pico doesn't in the former case. (DLR)
2130 do_backspace()
2131 - Rework to call edit_refresh() regardless of the value of
2132 current_x if ENABLE_COLOR is defined, so that multiple-line
2133 color regexes are properly updated onscreen as they are in
2134 do_delete(). (DLR)
2135 do_delete()
2136 - Rework to only call edit_refresh() unconditionally if
2137 ENABLE_COLOR is defined; if it isn't, and we're not deleting
2138 the end of the line, only call update_line(). (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002139 do_wrap()
2140 - Make sure wrapping is done properly when the number of
2141 characters on the line is exactly one over the limit. (David
2142 Benbennick)
Chris Allegretta0ae5c722002-09-19 23:20:26 +00002143 - Restore the previous wrapping point behavior (pre 1.1.10)
Chris Allegretta43000922002-09-21 15:41:33 +00002144 (David Benbennick). Minor fix by DLR to prevent spaces from
2145 being added to the ends of lines ending in spaces or lines
2146 ending in tabs (the latter case found by David Benbennick).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002147 do_alt_speller()
2148 - Readd DLR's fix to preserve marking when using the alternate
2149 spell checker; it was accidentally dropped. (David
2150 Benbennick)
2151 do_justify()
2152 - Fix cosmetic problems caused when justifying on the
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002153 magicline, and a minor problem where the cursor would
2154 sometimes be moved to the wrong line after justification.
2155 (David Benbennick)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002156 main()
2157 - When searching through the main shortcut list looking for a
2158 shortcut key, stop searching after finding one; this avoids a
2159 rare segfault. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002160- nano.h:
2161 - Change search toggles for case sensitive searching and regexp
2162 searching to M-C and M-R, respectively. (DLR; suggested by
2163 Chris)
Chris Allegretta515ba322002-09-14 21:16:40 +00002164 - Add support for HP-UX's curses, which doesn't seem to support
2165 KEY_HOME and KEY_END.
Chris Allegretta79cdfdc2002-08-22 02:58:55 +00002166- nanorc.sample:
2167 - Fix the c-file regex for all caps words to be extended regex
2168 format ({} instead of \{\}) (found by DLR).
Chris Allegretta3f9c3bf2002-09-18 00:00:12 +00002169 - Add a better string matching sequence that includes escaped
2170 quotes (thanks to Carl E. Lindberg, who doesn't even know he
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +00002171 helped ;-). Some unneeded \'s in that sequence removed, and
2172 a new sequence to handle multi-line quotes added, by David
2173 Benbennick.
Chris Allegretta136a38a2002-10-02 00:05:40 +00002174 - Add some examples for HTML and TeX files (David Benbennick).
Chris Allegrettade852622002-09-18 00:28:57 +00002175- rcfile.c:
2176 parse_colors()
2177 - Stop infinite loop when syntax doesn't begin with " char.
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002178- utils.c:
2179 charalloc()
2180 - Switch from using calloc() to using malloc(). (David
2181 Benbennick)
David Lawrence Ramsey605165e2002-09-11 01:48:14 +00002182- faq.html:
2183 - Typo fix. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002184- AUTHORS:
2185 - Add David Benbennick. (Jordi and Chris)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002186- TODO:
2187 - Add entry in the 1.4 section for Pico's paragraph searching
2188 ability (at the search prompt, ^W goes to the paragraph's
2189 beginning, and ^O goes to the paragraph's end). (DLR)
Chris Allegretta52069c62002-07-25 22:27:50 +00002190
Chris Allegretta720a9e02002-07-25 22:26:33 +00002191GNU nano 1.1.10 - 07/25/2002
Jordi Mallachcb7c8d82002-07-27 02:49:46 +00002192- General:
Jordi Mallach1f226872002-05-13 15:05:38 +00002193 - Translation updates (see po/ChangeLog for details).
Jordi Mallach790d3622002-06-03 12:44:05 +00002194 - Upgraded to gettext 0.11.2 (Jordi).
Jordi Mallachbd338652002-06-03 12:32:28 +00002195 Removed intl/ entirely, and a few more tweaks by gettextize.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002196 - i18nized a few strings used in DEBUG mode. (DLR)
2197 - Some chars being assigned 0 are now assigned '\0'. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002198 - Put header file #includes in a more consistent order. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002199 - Remove some unneeded blank lines and spaces, and make some
2200 spacing more consistent. (DLR)
2201 - When possible, use iscntrl() to determine whether a character
2202 is a control character or not. (DLR)
2203 - Miscellaneous typo fixes. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002204 - Many fixes to the help browser and shortcut lists: efficiency
2205 updates, consistency fixes, help text fixes and improvements,
2206 and spacing improvements. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002207 - Make some functions use const variables when possible, and
2208 also make them static when necessary. (David Benbennick,
2209 necessary redefined by Chris ;-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002210 - Add Carl Drinkwater's backup file option (-B or --backup on the
2211 command line, M-B in nano's global shortcuts). If the original
2212 file is unchanged from when it was loaded, it is backed up to
2213 filename~; if the original file has been changed or deleted
2214 since it was originally loaded, it isn't backed up. The backup
2215 file retains the permissions, owner/group, and
2216 access/modification times of the original file. This option is
2217 disabled when --enable-tiny is used. It will not back up
2218 temporary files. Minor fixes to it by David Benbennick and
2219 DLR. Changes to open_file(), add_open_file(),
2220 load_open_file(), write_file(), and do_writeout().
2221 - Add \n's to the ends of "filename is %s" debugging strings.
2222 (Carl Drinkwater)
2223 - Add the long option --quotestr as an alternative for -Q, and
2224 --regexp as an alternative for -R; they were listed in nano's
2225 usage information, but weren't actually in nano. Also, display
2226 "-?" as an alternative for "-h" in nano's usage information,
Chris Allegretta6df90f52002-07-19 01:08:59 +00002227 put the command line options in a more consistent (i.e. mostly
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002228 alphabetical) order in nano, put the long options in a more
2229 consistent order in rcfile.c and nanorc.sample, don't include
2230 rcfile options if their equivalent command line options are
2231 disabled, and remove obsolete relative option from
2232 nanorc.sample. (DLR)
2233 - Change "File Name to Append/Prepend" to "File Name to
2234 Append/Prepend to". The original prompt could confusingly
2235 imply that we are appending/prepending another file to the
2236 current file, when we are actually appending/prepending the
2237 current file to another file. (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002238 - Put nano.1, nano.1.html, and nano.texi up to date, and fix a
2239 few inconsistencies in them. (DLR)
2240 - Typo fixes for the ChangeLog. (David Benbennick and DLR)
2241 - Complete rewrite of justification code to fix some bugs and
2242 improve its functionality. (David Benbennick)
2243 - If a variable isn't going to be used in tiny mode, #define it
2244 out when possible. (David Benbennick)
2245 - Major reworking of the cutting/screen-updating code in cut.c,
2246 some functions in utils.c, the cursor placement code in
2247 winio.c, and many, many other areas to increase efficiency.
2248 (David Benbennick)
2249 - Rework handling of prompts when there's a list of partial
2250 filename matches on the screen: remove kludgy case-by-case
2251 handling (which didn't even handle every case), and have
2252 statusq() handle it directly for all cases. (David Benbennick
2253 and DLR)
2254 - Fix some warnings and errors that show up when using gcc's
2255 -pedantic option. (DLR)
2256 - Add a comment to nanorc.sample warning that an out-of-range
2257 negative value for fill can make nano die complaining that
2258 the screen is too small (which may not be immediately
Chris Allegrettad865da12002-07-29 23:46:38 +00002259 obvious). (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002260 - There were some opendir() calls in files.c without
2261 corresponding closedir() calls; add them. (DLR)
2262 - Move align() and null_at() from nano.c to utils.c, and move
2263 the openfilestruct handling functions from nano.c to files.c.
2264 (DLR)
2265 - In color.c, start the "#ifdef ENABLE_COLOR" block after
2266 including all the header files, as rcfile.c does; this fixes
2267 a warning about ANSI C'S inability to handle blank files.
2268 (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00002269 - Add new function is_cntrl_char() as a wrapper for iscntrl();
2270 this is needed to treat ASCII 0x80-0x9f as control characters
2271 consistently. (Without this, they will only be treated as
2272 such when gettext is used; when it isn't used, they will be
2273 printed as-is and be interpreted as commands by xterm, which
2274 will corrupt the display.) (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002275 - Add command line option -I/--ignorercfiles to ignore
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002276 $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater). Fix to
2277 parsing getopt args (DLR).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002278 - Fix minor bugs with importing certain text files in Mac
2279 format. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002280- files.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +00002281 append_slash_if_dir(), input_tab()
2282 - Changed variable names: lastWasTab -> lastwastab, matchBuf ->
2283 matchbuf. (DLR)
2284 check_operating_dir()
2285 - Memory leak fix. (David Benbennick)
2286 check_writable_directory()
2287 - Optimizations (David Benbennick).
2288 cwd_tab_completion()
2289 - Changed a variable name: dirName -> dirname. (DLR)
2290 do_browser()
2291 - Optimizations and mouse selection fixes (David Benbennick).
2292 do_writeout()
2293 - Fix problem with formatstr's being defined as NULL when
2294 --enable-tiny is used. Since formatstr isn't ever used in tiny
2295 mode, don't bother even creating the variable. (David
2296 Benbennick and DLR)
2297 do_insertfile()
2298 - Memory leak fix (accidentally dropped 1st time).
2299 (David Benbennick).
2300 get_full_path()
2301 - Memory leak fix. Also, make it properly interpret ~/ notation
2302 so, among other things, the option "--operatingdir ~" works.
2303 (David Benbennick)
2304 - More optimizations (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002305 new_file()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002306 - Make sure current_x is zero; this fixes a problem where the
2307 current cursor position wasn't reset when reading in a file in
2308 multibuffer mode. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002309 - Use make_new_node rather than setting up fileage by hand
2310 (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002311 read_file(), read_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002312 - Rework to properly handle nulls in the input file, fix
2313 detection of binary files to properly mark a file as binary if
2314 the only binary characters it contains are ASCII 127's, and
2315 after reading the last line of a file that doesn't end in a
2316 newline, increment totsize. Remove previous kludge to set
2317 totsize properly. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002318 write_file()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002319 - Rework to properly handle nulls in the input file. When
2320 appending/prepending, don't change the current file's name to
2321 the name of the file it's being appended/prepended to. When
2322 writing a marked selection to a file, save and restore totsize
2323 so it isn't decreased by the size of the selection afterward.
2324 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002325 - Optimizations (David Benbennick).
Chris Allegretta6fe98d72002-05-16 23:30:14 +00002326- global.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002327 free_toggles()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002328 - Only include if we're not using tiny mode. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002329 toggle_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002330 - Remove global entries for search toggles, as they aren't really
2331 global. (DLR)
2332 - Don't reinititialize the toggles if they've already been
2333 initialized; it's unnecessary and even causes a segfault in
2334 do_toggle() if Pico emulation mode is the toggle in question.
2335 Don't free the toggles here, either; it's unnecessary after the
2336 above change. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002337 - If wrapping is disabled, don't include the toggle for it.
2338 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002339 shortcut_init()
Chris Allegretta6fe98d72002-05-16 23:30:14 +00002340 - Rework IFHELP macro (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002341- move.c
2342 page_down(), page_up()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002343 - Put sanity checks for current_x back in, to avoid rare
2344 segfaults (oops). Now, however, they are only called when
2345 placewewant is zero instead of being called unconditionally;
2346 see changes to winio.c:actual_x_from_start() below. (DLR)
Jordi Mallach790d3622002-06-03 12:44:05 +00002347- nanorc.sample:
Chris Allegretta5c6379d2002-05-18 03:13:03 +00002348 - Put in much less crappy example regex rules for c-file.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002349- nano.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +00002350 clear_filename()
2351 - Remove this function, as it has unneeded functionality, is
2352 short enough to be inlined, and is only called in two spots
2353 anyway. (DLR)
2354 die()
2355 - Rework slightly to remove redundant printing of last message
2356 and print all messages after resetting the terminal. (DLR)
2357 do_backspace()
2358 - Make sure placewewant is set properly, and that the mark is
2359 moved backwards. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002360 do_char()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002361 - Fix a problem where, if ENABLE_COLOR wasn't used, typing
2362 characters on a marked line before the beginning of the mark
2363 would make the highlight short by one. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002364 do_cont()
2365 - Handle the case where the window was resized while we were
2366 stopped. (David Benbennick)
2367 do_delete()
2368 - Make sure placewewant is set properly, to match Pico's
2369 behavior. (DLR)
2370 do_int_spell(), do_alt_spell()
2371 - Rework to save the marked selection before doing spell checking
2372 and restore it afterward. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002373 do_next_word(), do_prev_word()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002374 - Fix a problem where highlighting isn't done properly after
2375 calling either of these, and another problem where the cursor
2376 would move back too far in certain cases with do_prev_word().
2377 (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002378 do_toggle()
2379 - Since the search mode toggles aren't global anymore, we don't
2380 need to explicitly block them here anymore (which will end up
2381 blocking the global backup mode toggle, which is the same as
2382 the backwards search toggle). (DLR)
2383 do_wrap()
2384 - fill fixes and 'two short word wrap' bug (David Benbennick).
2385 global_init()
2386 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002387 handle_sigwinch()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002388 - Make sure we adjust fill when the window is resized. (David
2389 Benbennick)
2390 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002391 help_init()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002392 - Since the return value of snprintf() isn't well defined, use
2393 sprintf() instead. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002394 main()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002395 - Rework to blank out filename manually before doing anything
2396 with it, instead of calling clear_filename() in two places.
2397 Make startline an int instead of a long, since it's supposed to
2398 hold a line number. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002399 - Properly handle multiple -r settings on the command line. (Carl
2400 Drinkwater)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002401 - Fix a bug that prevented file insertion via the Insert key
2402 from working at all when --enable-multibuffer wasn't used
2403 (oops). (DLR)
2404 - Adapt David Benbennick's fix to get fill to accept negative
2405 numbers properly in parse_rcfile() (see below) to the
2406 handlers for the -r and -T options as well, so that -r/-T 0
2407 can be treated separately from -r/-T string. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00002408 - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space.
2409 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002410 usage()
2411 - List the options that are ignored for the purpose of Pico
2412 compatibility, and make some minor consistency fixes. (DLR)
Chris Allegrettac46337b2002-07-23 00:34:48 +00002413- nano.h:
2414 - Fix some space/tab formatting for flags (DLR).
Chris Allegretta6df90f52002-07-19 01:08:59 +00002415- proto.h:
2416 - Remove external declaration of the global int fill, since
2417 it's now static. (DLR)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002418- rcfile.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002419 parse_rcfile()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002420 - Add David Benbennick's fix that allows fill to accept
2421 negative numbers properly. Specifically, use strtol() there
2422 instead of atoi() so that errors can be detected. Also
2423 adapted for tabsize by DLR.
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002424 parse_next_regex(), colortoint()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002425 - Only include if ENABLE_COLOR is defined. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002426- search.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002427 search_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002428 - Since the search mode toggles aren't global anymore, rework the
2429 part of this function referencing them so that they still work.
2430 (DLR)
2431 - Remove unneeded toggles variable. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002432 - Fix a problem where the first character of buf was overwritten
2433 if the last search string was one third the number of columns
2434 plus one. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002435 findnextstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002436 - Update the current line at current_x if we don't find a match.
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002437 Also, pass current_x_find to strstrwrapper() so we know whether
2438 we're at the beginning of a string or not (see changes to
2439 strstrwrapper() below), and reset it between lines. (DLR)
2440 do_gotoline():
2441 - Make sure placewewant is zero after we go to a line. (David
2442 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002443 do_gotopos()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002444 - Simplify the sanity check to only put x within the range of the
2445 current line; don't call actual_x() anymore. (DLR)
2446- utils.c:
2447 - Add sunder() and unsunder(). These functions convert nulls
2448 other than the terminating null in strings to newlines and
2449 back; they're used to handle null characters in files properly.
2450 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002451 lowercase()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002452 - Remove, since it isn't actually used anywhere. (David
2453 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002454 strstrwrapper()
2455 - Set REG_NOTBOL when we're not at the beginning of a
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002456 string, to avoid false positives when searching for regular
2457 expressions prefixed with ^. Make it take a new parameter,
2458 line_pos, to determine where we are in the string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002459 check_wildcard_match()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002460 - Changed variable names: retryPat -> retrypat, retryText ->
2461 retrytext. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002462- winio.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002463 actual_x_from_start()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002464 - Overhaul to make cursor placement more like that of Pico: add
2465 sanity check for i, and then place i as close to the value of
2466 xplus column as possible. This change is most noticeable when
2467 moving down through binary files. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002468 do_credits()
2469 - Fix for the i18ned credits so it will compile with -pedantic
2470 (DLR & Chris).
Chris Allegretta079b5492002-09-19 23:54:53 +00002471 do_help()
2472 - Add support for the handled keyboard escape sequences in the
2473 help menu, as they are needed with some terminals (e.g. xterm
2474 with TERM=ansi). (DLR)
2475 edit_refresh()
2476 - Turn on leaveok() so the cursor doesn't bounce around the
2477 screen while we're updating it (most noticeable when using
2478 color syntax over a very slow connection).
2479 do_replace_highlight()
2480 - When using regexps, make sure the highlight is the length of
2481 the search result and not the regexp string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002482 nanogetstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002483 - After the user presses Enter at the prompt, refresh the edit
2484 window in case there's a list of possible filename matches
2485 (left over from attempted tab completion) on it. (DLR)
Chris Allegretta079b5492002-09-19 23:54:53 +00002486 statusbar()
2487 - Limit statusbar display to the number of columns less four, and
2488 don't allow it to go over its original row. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002489 titlebar()
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002490 - Tweak text spacing and printing so that the titlebar text looks
2491 better on smaller terminals. (Carl Drinkwater)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002492 update_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002493 - When marking control characters, make sure the mark moves
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002494 forward by two characters instead of one. Rework control
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002495 character display routine to display newlines within the line
2496 (which should never occur under normal circumstances; they will
2497 only be there if the line had nulls in it and was unsunder()ed
2498 beforehand) as ^@'s. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00002499 - Fix to properly treat ASCII 128-159 as control characters.
2500 (DLR)
Jordi Mallach7d401342002-07-05 23:46:31 +00002501- configure.ac:
2502 - Added ms to ALL_LINGUAS (Jordi).
2503 - Merged acconfig.h in (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +00002504 - Fixed so that --enable-debug defines DEBUG and undefines
2505 NDEBUG. (Carl Drinkwater)
Jordi Mallach790d3622002-06-03 12:44:05 +00002506- THANKS:
2507 - Completed a bit (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +00002508 - Fixed David Benbennick's email address. (David Benbennick)
2509 - Typo fix. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002510
Chris Allegretta8b75a782002-05-13 00:09:30 +00002511GNU nano 1.1.9 - 05/12/2002
Chris Allegretta7162e3d2002-04-06 05:02:14 +00002512- General:
2513 - Typos n misspellings all over the place (David Benbennick).
2514 - Allow --tiny and --multibuffer to cooperate (who the heck
2515 would want this is beyond me but ;-). Changes to
2516 configure.ac, global.c, , (David Benbennick).
Chris Allegrettaf2387fb2002-04-10 02:31:20 +00002517 - Change to openfilestruct for multibuffer mode by DLR.
2518 New functions nano.c:make_new_opennode(), free_openfilestruct(),
2519 delete_opennode(), unlink_opennode(), splice_opennode(),
2520 new struct openfilestruct in nano.h.
Chris Allegretta0e9b7aa2002-04-16 03:15:47 +00002521 - Preliminary prepend code. This may be a bad idea, but I've
2522 been wanting it for awhile now and we'll see how bad it messes
2523 everything up. Changes to files.c:do_writeout(), write_file().
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002524 Fixes for O_CREAT & append compatibility by David Benbennick.
Chris Allegretta0547eb32002-04-22 23:52:34 +00002525 - Change from read() and write() to file streams by Jay Carlson.
2526 Allows OS to implement read and write ahead rather than making
2527 us do it. Hopefully merged properly.
Chris Allegrettadab017e2002-04-23 10:56:06 +00002528 - More cleanups with DISABLE flags, better free_shortcutage and
2529 free_toggle, and get rid of unnecessary variable decls with
2530 NANO_SMALL in shortcut_init() by David Benbennick.
Chris Allegrettab6c5dc22002-05-04 03:47:33 +00002531 - Added "syntax" command to .nanorc file, to allow multiple
2532 syntaxes. New function color.c:update_color(), calls in various
2533 files.c places, syntaxtype struct, global variables syntaxes,
Chris Allegretta21c433d2002-05-04 04:24:29 +00002534 syntaxfile_regexp and synfilematches. Global flag -Y ,--syntax
Chris Allegretta09900ff2002-05-04 04:23:30 +00002535 to specify the type on the command line, if there's no good
2536 filename regex to use. Global variable syntaxstr.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002537 - Changed many strcmp()s and strcpy()s to their equivalent
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002538 '\0' counterparts (David Lawrence Ramsey).
2539 - Many changes to allow marked cutting to work with multiple
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002540 file buffers: changes to openfilestruct type in nano.h and
2541 files.c (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00002542 - Changed NANO_SMALL to ENABLE_NLS for gettext disabling
2543 (David Benbennick).
2544 - Move next_key and pev_key definitions out of main() and into
2545 global.c where they belong (David Benbennick).
Chris Allegretta5e76fe92002-05-12 20:54:16 +00002546- color.c:
2547 update_color()
2548 - Add regfree call here to avoid memory leaks.
Chris Allegretta7162e3d2002-04-06 05:02:14 +00002549- configure.ac:
2550 - Define NDEBUG to silence asserts (David Benbennick).
2551- files.c:
2552 get_next_filename()
2553 - Optimizations (David Benbennick).
2554- global.c:
2555 shortcut_init()
2556 - Add missing free_shortcutage()s (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00002557 thanks_for_all_the_fish()
2558 - Only defined when using DEBUG, makes sense (David Benbennick).
Chris Allegretta7162e3d2002-04-06 05:02:14 +00002559- nano.c:
2560 die_save_file()
2561 - Add missing free (David Benbennick).
2562 do_justify()
2563 - Optimizations (David Benbennick).
2564 do_wrap()
2565 - Complete rewrite (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00002566 help_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002567 - A little less readable, a lot shorter :-) (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00002568 - Fix Meta-A not getting capitalized, and convert the ASCII
2569 #s to their character equivalent.
Chris Allegretta7c27be42002-05-05 23:03:54 +00002570 main()
2571 - Changed charalloc(), strcpy()s to mallocstrcpy()s.
Chris Allegretta66f373f2002-04-05 23:33:09 +00002572- nano.h:
2573 - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol)
2574 (David Benbennick).
Chris Allegretta8902eba2002-03-30 18:02:54 +00002575- nano.spec.in:
2576 - Don't put Chris' name as the Packager in the distribution
2577 by default (Im an idiot).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002578 - Fixed Source line (David Lawrence Ramsey).
Jordi Mallach42c64052002-04-30 02:33:14 +00002579- nano.1:
2580 - Changed references to Debian GNU/Linux to Debian GNU (Jordi).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002581- nano.1.html:
2582 - Updated for -Y option (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00002583- rcfile.c:
Chris Allegretta7c27be42002-05-05 23:03:54 +00002584 - Made some rc file errors less fatal.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002585 - Added in my patch for getpwent instead of relying on $HOME
2586 (David Lawrence Ramsey).
Chris Allegretta7c27be42002-05-05 23:03:54 +00002587- winio.c:
2588 edit_add()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002589 - Changed some syntax highlight computations for the sake of COLS.
Chris Allegretta3674c1d2002-05-12 20:43:49 +00002590 - Add in the necessary regfree() calls to stop nano from leaking
2591 memory like a sieve when using color syntax highlighting :-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002592 bottombars(), onekey()
Chris Allegretta6232d662002-05-12 19:52:15 +00002593 - Cleanups (David Benbennick).
Jordi Mallach0ab011f2002-04-05 11:25:00 +00002594- po/gl.po:
2595 - Galician translation updates (Jacobo Tarrio).
2596- po/de.po:
2597 - German translation updates (Michael Piefel).
2598- po/fr.po:
2599 - French translation updates (Jean-Philippe Guérard).
2600- po/ca.po, po/es.po:
2601 - Catalan and Spanish translation updates (Jordi).
Jordi Mallachb18bc692002-04-10 16:26:17 +00002602- po/sv.po:
2603 - Swedish translation updates (Christian Rose).
Jordi Mallachd301e102002-04-13 14:46:26 +00002604- po/nl.po:
2605 - Dutch translation updates (Guus Sliepen).
Jordi Mallach7f80e662002-04-13 16:31:03 +00002606- po/it.po:
2607 - Italian translation updates (Marco Colombo).
Jordi Mallach0417a7b2002-04-19 21:59:35 +00002608- po/ru.po, po/uk.po:
2609 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach934b76b2002-04-25 22:24:48 +00002610- po/id.po:
2611 - Indonesian translation updates (Tedi Heriyanto).
Jordi Mallachca76fa92002-05-05 15:04:26 +00002612- po/sv.po:
2613 - Swedish translation updates (Christian Rose).
Chris Allegretta06d62372002-03-30 16:51:38 +00002614GNU nano 1.1.8 - 03/30/2002
Chris Allegrettabef12972002-03-06 03:30:40 +00002615- General
2616 - Type misalignments and mem leaks in renumber_all, do_justify
2617 and do_spell (Rocco & Steven Kneizys).
Chris Allegrettabb88ece2002-03-25 13:40:39 +00002618 - New "External Command" code, originally by Dwayne Rightler,
Chris Allegretta77777d42002-03-29 16:31:29 +00002619 various fixes and changes by Chris, Rocco and David Benbennick.
2620 New function nano.c:open_pipe() and signal handler cancel_fork(),
2621 changes to do_insertfile(), new list extcmd_list, cmd is
2622 ^X after ^R.
Chris Allegretta3533a342002-03-24 23:19:32 +00002623 - Added separate regex variable (color_regex and colormatches)
2624 so that color syntax and regex search/replace can coexist.
Chris Allegretta06d62372002-03-30 16:51:38 +00002625 - Added new nano.spec file from Brett <brett@bad-sports.com>,
2626 added because maintaining the spec file is getting to be a large
2627 hassle ;)
Chris Allegretta564535a2002-03-06 15:32:17 +00002628- files.c:
2629 check_writable_directory()
2630 - Stat full_path, not path (Steven Kneizys).
Chris Allegretta2598c662002-03-28 01:59:34 +00002631 open_pipe()
2632 - I18nize the pipe error (DLR).
Chris Allegrettae3739092002-03-29 15:06:05 +00002633 do_insertfile()
2634 - Handle cancel from ExtCmd properly (David Benbennick).
Chris Allegretta52c5a6e2002-03-21 05:07:28 +00002635 read_file()
2636 - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
Chris Allegrettaf6cba642002-03-26 13:05:54 +00002637 - Reverse tests to stop segfault on editing a new file of 0
2638 lines (David Benbennick)
2639 - Change input var to one char instead of array (David Benbennick).
Chris Allegretta2598c662002-03-28 01:59:34 +00002640 - Move NO_CONVERT check up so chars get read in properly (DLR).
Chris Allegretta40ecbad2002-03-06 15:27:44 +00002641- nano.c:
Chris Allegrettacf1d8122002-03-21 19:53:36 +00002642 do_justify()
2643 - More fixes for indented justify (David Benbennick).
Chris Allegrettaf21f3fc2002-03-25 03:26:27 +00002644 do_int_speller()
2645 - Fix zombie processes and spelling buffer issues (Rocco Corsi).
Chris Allegretta5902f962002-03-07 12:40:39 +00002646 help_init()
2647 - Capitalize Meta altkeys.
Chris Allegrettab479c892002-03-09 20:03:10 +00002648 - Various fixes and string changes.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00002649 main()
2650 - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
Chris Allegretta97e6fe62002-03-09 17:38:47 +00002651 usage()
Chris Allegretta3fc5d572002-03-09 18:51:58 +00002652 - Rewritten to encompass systems with and without GETOPT_LONG.
2653 New function print1opt does most of the dirty work, stops
2654 duplication of effort and eases translator's jobs. Also
2655 breaks all the current translations ;-)
Chris Allegretta45329a12002-03-10 01:22:21 +00002656- proto.h:
2657 - Missing externs (Rocco).
Chris Allegretta1596d382002-03-07 00:46:17 +00002658- rcfile.c:
Chris Allegretta78f0fc62002-03-29 19:41:57 +00002659 do_rcfile()
2660 - Reset lineno between system and local .nanorc file.
2661 - Fix errno->strerror(errno) mismatch.
Chris Allegrettae8e10342002-03-07 00:47:22 +00002662 parse_rcfile()
2663 - Don't use i for both for loop and atoi(), fixes lots of
Jordi Mallach4951c662002-03-07 14:12:53 +00002664 potential crashes, 1st reported by Jean-Philippe Guérard.
Chris Allegretta78f0fc62002-03-29 19:41:57 +00002665 rcfile_error()
2666 - Don't print out the file name if we haven't opened the file
2667 yet (lineno == 0).
Chris Allegretta45329a12002-03-10 01:22:21 +00002668- search.c:
2669 search_init()
2670 - Fix a missing free (Rocco).
Chris Allegrettad1c2c1c2002-03-26 17:58:42 +00002671 do_gotoline()
2672 - Set placewewant if we actually move to a different line.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00002673- utils.c:
Chris Allegrettadce44ab2002-03-16 01:03:41 +00002674 stristr()
2675 - Defined regardless of NANO_SMALL (noticed by Jordi).
Chris Allegretta77777d42002-03-29 16:31:29 +00002676 nperror()
2677 - New wrapper for perror (David Benbennick).
Chris Allegrettadce44ab2002-03-16 01:03:41 +00002678- winio.c:
2679 do_credits()
2680 - Add Thomas Dickey.
Chris Allegrettaf3a07b22002-03-29 15:15:38 +00002681 do_cursorpos()
2682 - Make col numbering start from 1 (suggested by Andrew Ho).
Chris Allegretta2598c662002-03-28 01:59:34 +00002683 update_line(), xpt()
2684 - Add check for 127 (DLR).
Jordi Mallach4951c662002-03-07 14:12:53 +00002685- po/sv.po:
2686 - Swedish translation updates (Christian Rose).
2687- po/de.po:
2688 - German translation updates (Michael Piefel).
Jordi Mallach4e803aa2002-03-09 18:05:53 +00002689- po/id.po:
2690 - Indonesian translation updates (Tedi Heriyanto).
Chris Allegretta2598c662002-03-28 01:59:34 +00002691- po/it.po:
Chris Allegretta06d62372002-03-30 16:51:38 +00002692 - Serious typo.
Jordi Mallach4e803aa2002-03-09 18:05:53 +00002693- po/ca.po, po/es.po:
2694 - Catalan and Spanish translation updates (Jordi).
Chris Allegretta2598c662002-03-28 01:59:34 +00002695 - Typo (DLR).
Jordi Mallach558b5d82002-03-11 13:23:33 +00002696- po/fr.po:
2697 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach5477e102002-03-12 16:15:50 +00002698- po/gl.po:
2699 - Galician translation updates (Jacobo Tarrio).
Jordi Mallach057c3c42002-03-14 11:00:56 +00002700- po/uk.po, po/ru.po:
2701 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallachb83e61a2002-03-15 15:15:13 +00002702- po/pl.po:
2703 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach7fa082d2002-03-17 00:35:41 +00002704- po/fr.po:
2705 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach7afc6d92002-03-27 16:34:46 +00002706- po/it.po:
2707 - Italian translation updates (Marco Colombo).
Jordi Mallach465a0ff2002-03-29 00:46:05 +00002708- po/da.po:
2709 - Danish translation updates (Keld Simonsen).
Chris Allegrettabef12972002-03-06 03:30:40 +00002710
Chris Allegretta97489d22002-03-05 23:47:44 +00002711GNU nano 1.1.7 - 03/05/2002
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002712- General
2713 - malloc->calloc, etc cleanups (DLR).
2714 - New option, noconvert (-N, --noconvert) to completely stop
2715 the translation of files from DOS or Mac format (DLR).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002716 - New functions check_writable_directory() and safe_tempnam()
Chris Allegrettabc72e362002-02-16 20:03:44 +00002717 to get around the tempnam warning. More improvements (DLR)
Chris Allegretta48b06702002-02-22 04:30:50 +00002718 Still needs testing.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002719 - Added DOS and Mac format options to write file routine.
2720 Changes to shortcut_init() and do_writeout().
2721 - Removed stupid static definitions of toggles and shortcut
2722 lists. Many changes to shortcut_init(), toggle_init(),
2723 statusq(), nanogetstr(), main(), and many other places.
Chris Allegretta48b06702002-02-22 04:30:50 +00002724 - Multibuffer mode now allows multiple empty filenames.
2725 Changes to add_open_files(), removed open_file_dup_search(),
2726 open_file_dup_fix(), etc (DLR).
2727 - New code to handle multiple .save files. Changes to
2728 die_save_file(), new function files.c:get_next_filename()
2729 and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00002730 - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
2731 new functions utils.c:free_shortcutage() (got to love that
2732 name!) & free_toggles(), and big cleanup program
2733 thanks_for_all_the_fish() (originally
2734 thanks_for_the_memories()). Mods to shortcut_init() by Chris.
Chris Allegrettae4f940d2002-03-03 22:36:36 +00002735 - Preliminary quoting support for justify. New arg -Q, --quotestr,
2736 changes to do_justify(), global variable quotestr().
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00002737- Makefile.am:
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002738 - Add SYSCONFDIR to DEFS, so we can have an $SYSCONFDIR/nanorc.
Chris Allegretta40b85e72002-02-09 21:56:09 +00002739 - Change localedir line to 1.0's version.
Jordi Mallach3c5653d2002-02-23 18:23:43 +00002740 - Moved m4/ stuff to its own m4/Makefile.am.
Jordi Mallach87435d92002-03-05 17:58:34 +00002741- m4/aclocal_inc.m4:
2742 - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for
2743 macros (Gergely Nagy).
Jordi Mallach3c5653d2002-02-23 18:23:43 +00002744- configure.in:
2745 - Renamed to configure.ac.
2746- configure.ac:
2747 - Moved to autoconf 2.52 (Jeff Bailey).
Jordi Mallach87435d92002-03-05 17:58:34 +00002748 - Added call to AM_ACLOCAL_INCLUDE.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002749- files.c:
2750 read_byte()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002751 - Added check for control characters (indicative of a binary
Chris Allegretta48b06702002-02-22 04:30:50 +00002752 file), set NO_CONVERT if found (fixes by DLR).
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00002753 do_insertfile()
2754 - Added support for -o in prompt (Steven Kneizys).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002755- global.c:
2756 - Move openprev and opennext functions to shortcuts, they really
2757 aren't toggles (DLR).
Chris Allegrettaf27c6972002-02-12 01:57:24 +00002758- rcfile.c:
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002759 parse_next_regex()
Chris Allegretta3d8e7592002-02-02 07:13:02 +00002760 - Allow " symbol to be in regex without leading \ by checking
2761 for *ptr+1 is not the end of the regex.
Chris Allegrettaff8a68c2002-02-16 20:34:57 +00002762 do_rcfile()
2763 - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
Chris Allegretta48b06702002-02-22 04:30:50 +00002764- nano.1:
2765 - Added Noconvert option to man page (DLR).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002766- nano.c:
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00002767 justify_format(), do_justify()
2768 - Various fixes for starting blank spaces, spaces after
2769 punctuation, & segfault with quoting strings (David Benbennick).
Chris Allegretta46c1b9e2002-03-05 19:58:45 +00002770 do_justify()
2771 - Don't continue to justify string if it's indented more
2772 (quoting wise) than the beginning of the justification.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002773 help_init()
2774 - Added message re: having multiple blank buffers (DLR).
Chris Allegretta9caa1932002-02-15 20:08:05 +00002775 main()
2776 - Add 407 as equiv of 26, this seems to be sent when using
2777 ^Z in linux console with keypad() enabled.
Chris Allegrettabc72e362002-02-16 20:03:44 +00002778- rcfile.c:
2779 - Get rid of unneeded relativechars from rcopts (DLR).
2780- search.c
2781 do_replace(), findnextstr()
2782 - Fixes for various search issues (Ken Tyler)
Chris Allegrettaf27c6972002-02-12 01:57:24 +00002783- winio.c:
2784 do_cursorpos()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002785 - Rewritten to show col place as well as character place, without
Chris Allegrettaf27c6972002-02-12 01:57:24 +00002786 needing an entirely separate flag.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002787 bottombars(), onekey()
2788 - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
Chris Allegrettabc72e362002-02-16 20:03:44 +00002789 - More cleanups w/width of shortcut.
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00002790- utils.c:
Chris Allegretta99ed9dc2002-02-28 00:57:18 +00002791 strcasestr(),revstrcasestr()
2792 - Renamed to stristr and revstristr since strcasestr has not
2793 been confirmed to be detected properly on various Linux
2794 systems.
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00002795 strstrwrapper()
2796 - NANO_SMALL test was backwards (Ken Tyler).
2797- winio.c:
2798 strlenpt()
2799 - Changed main function to strnlenpt() for new justify changes,
2800 original function now just a stub.
Chris Allegretta3c597d02002-01-26 03:42:14 +00002801- nanorc.sample
2802 - Mention unset in the sample nanorc.
Jordi Mallach83ffefb2002-01-25 21:00:18 +00002803- po/ca.po, po/es.po:
2804 - Catalan and Spanish translation updates (Jordi).
Jordi Mallach9c34a162002-01-26 00:46:47 +00002805- po/sv.po:
2806 - Swedish translation updates (Christian Rose).
2807- po/fr.po:
2808 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach8636f7b2002-01-26 19:23:37 +00002809- po/nn.po:
2810 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
2811- po/de.po:
2812 - German translation updates (Michael Piefel).
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00002813- po/it.po:
2814 - Italian translation updates (Marco Colombo).
Jordi Mallach94def062002-02-06 12:14:25 +00002815- po/cs.po:
2816 - Partial Czech translation updates (Vaclav Haisman).
Jordi Mallach8bfd3112002-02-06 20:53:04 +00002817- po/hu.po:
2818 - Hungarian translation updates, or to be precise, rewrite
2819 (Gergely Nagy).
Jordi Mallachb3b28c12002-02-07 13:51:00 +00002820- po/uk.po, po/ru.po:
Jordi Mallach507c3612002-02-14 18:57:23 +00002821 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
2822- po/da.po:
2823 - Danish translation updates (Keld Simonsen).
Jordi Mallache46d43d2002-02-15 17:13:11 +00002824- po/nb.po:
2825 - Norwegian bokmål translation updates (Stig E Sandoe).
Jordi Mallach62d21712002-02-20 16:21:27 +00002826- po/nl.po:
2827 - Dutch translation updates (Guus Sliepen).
Jordi Mallacha3322fd2002-03-05 11:23:17 +00002828- po/pl.po:
2829 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach83ffefb2002-01-25 21:00:18 +00002830
Chris Allegretta491029e2002-01-25 17:02:32 +00002831nano-1.1.6 - 01/25/2002
Chris Allegretta044d1b12002-01-08 00:33:32 +00002832- General
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002833 - Add Meta-A as alternate keystroke for ^^ for people with
Chris Allegretta044d1b12002-01-08 00:33:32 +00002834 non-US keyboards.
Chris Allegretta967a1e22002-01-10 00:50:38 +00002835 - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
2836 browser.
Chris Allegretta1bc0c7e2002-01-08 15:00:24 +00002837 - Better partial word checking code. New function
2838 search.c:is_whole_word(), changes to findnextstr(),
2839 and nano.c:do_int_spell_fix() (Rocco Corsi).
Chris Allegretta6c1e6612002-01-19 16:52:34 +00002840 - Added multiple-line regex support. Format in .nanorc is
2841 start="regex" end="regex". Cleaned up nanorc:parse_colors(),
2842 added parse_next_regex(), changes to edit_add in winio.c(),
2843 changes to colortype, cleaning up some old cruft.
Chris Allegretta15b23f42002-01-19 19:15:18 +00002844 - Upgrade to gettext 0.10.40, probably broke everything again :)
Chris Allegretta24e48d82002-01-23 01:06:20 +00002845 - Upgraded to and then downgraded from automake 1.5, as there
2846 are severe security implications.
Chris Allegrettaea250e82002-01-16 01:09:11 +00002847- color.c:
2848 do_colorinit()
2849 - Moved some comments and braces around so color can work
2850 w/slang (DLR).
Chris Allegrettaf478f832002-01-18 21:54:35 +00002851- global.c:
2852 shorcut_init()
2853 - Replace hard coded ALT_G and ALT_H values in the replace
2854 and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
Jordi Mallach345a8462002-01-07 11:35:16 +00002855- nano.c:
2856 usage()
2857 - Remove extra \n in --keypad description (Jordi).
Chris Allegrettaf7dee922002-01-07 16:43:25 +00002858 main()
2859 - Check that alt value is an alpha char before comparing to
2860 val - 32, fixes Alt-R calling doprev instead of replace.
Chris Allegrettab2cd10d2002-01-20 00:54:42 +00002861 do_char()
2862 - Run edit_refresh() if ENABLE_COLOR is defined so adding
2863 multi-liners will update (e.g. /* in C).
Chris Allegretta23b74b22002-01-21 20:32:22 +00002864 do_int_spell_fix()
2865 - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
Chris Allegretta7b0667f2002-01-10 12:44:21 +00002866 do_suspend()
2867 - Call tcsetattr() to restore the old terminal settings, so
Chris Allegretta5bbce6a2002-01-10 12:48:16 +00002868 tcsh can use ^C after suspend for example (fixes BUG #68).
Chris Allegretta438f7132002-01-16 00:54:47 +00002869 do_wrap()
2870 - Move "right" increment to part where new line is created,
2871 should change (fix?) some wrapping problems with autoindent.
Jordi Mallach5285ca92002-01-17 12:40:33 +00002872 version()
2873 - Show --enable-multibuffer independently of --enable-extra being
2874 compiled in (Jordi).
Chris Allegrettaf478f832002-01-18 21:54:35 +00002875- nano.h:
2876 - Changed color struct slightly, because of previous issue with
2877 applying color painting in order, the "str" portion was
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002878 useless. Renamed "val" in colortype to "start", added "end"
Chris Allegrettaf478f832002-01-18 21:54:35 +00002879 for multi-line color strings.
2880- rcfile.c:
2881 General
2882 - Took silly variables being passed everywhere like lineno and
2883 filename and made them static variables.
Chris Allegretta6c1e6612002-01-19 16:52:34 +00002884 - Re-indented.
Chris Allegretta34f80982002-01-22 20:09:20 +00002885 - Added stdarg.h to includes.
Chris Allegrettaf478f832002-01-18 21:54:35 +00002886 rcfile_error()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002887 - Now automatically prepends the "error in line blah at foo"
Chris Allegrettaf478f832002-01-18 21:54:35 +00002888 message to error messages.
2889 parse_colors()
2890 - Added section for computing "end" section.
2891 parse_next_word()
2892 - Added support for "\ ", in word parsing.
Chris Allegrettae29697d2002-01-14 03:31:10 +00002893- search.c:
Chris Allegretta1c2fddc2002-01-21 20:40:14 +00002894 do_search()
2895 - Check position of cursor and return value of findnextstr and
2896 tell user if search string only occurs once (Rocco & Chris).
Chris Allegrettae29697d2002-01-14 03:31:10 +00002897 findnextstr()
2898 - Fix off by one in check for wrap around (Rocco Corsi).
Chris Allegretta3d0739c2002-01-07 14:41:32 +00002899- winio.c:
2900 edit_refresh()
2901 - Rename lines to nlines to fix AIX breakage (reported by
2902 Dennis Cranston, re-reported by arh14@cornell.edu).
Chris Allegrettaf478f832002-01-18 21:54:35 +00002903 edit_add()
2904 - Refuse to honor regex matches of 0 characters when applying
2905 color highlighting, and say so on the statusbar. Otherwise
2906 we go into an infinite loop, the error message should clue
2907 users into the fact that their regex is doing something bad.
Jordi Mallachd6481e42002-01-17 12:14:23 +00002908- THANKS:
2909 - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
Jordi Mallach83d5ced2002-01-17 12:06:49 +00002910 not bokmål as we claimed (Jordi).
Chris Allegretta9963b0e2002-01-19 19:35:12 +00002911- .cvsignore
2912 - Added config.guess config.sub install-sh missing & mkinstalldirs
Jordi Mallach3da91392002-01-07 11:50:13 +00002913- po/ca.po, po/es.po:
Jordi Mallache36a1522002-01-07 15:12:48 +00002914 - Catalan and Spanish translation updates (Jordi).
2915- po/sv.po:
2916 - Swedish translation update (Christian Rose).
Jordi Mallachd39698f2002-01-07 15:16:26 +00002917- po/de.po:
2918 - German translation update (Michael Piefel).
Jordi Mallachbf1a1e82002-01-08 14:07:39 +00002919- po/fr.po:
2920 - French translation update (Jean-Philippe Guérard).
2921- po/ru.po, po/uk.po:
2922 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach83d5ced2002-01-17 12:06:49 +00002923- po/no.po:
2924 - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
2925- po/nn.po:
2926 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
2927- po/nb.po:
2928 - New Norwegian bokmål translation (Stig E Sandoe <stig@ii.uib.no>).
Jordi Mallach3a23a552002-01-18 23:04:16 +00002929- po/da.po:
2930 - Danish translation update (Keld Simonsen).
Chris Allegrettad1751932002-01-05 20:01:53 +00002931
Chris Allegretta110927b2002-01-05 19:49:06 +00002932nano-1.1.5 - 01/05/2002
Chris Allegretta32da4562002-01-02 15:12:21 +00002933- General
2934 - Better integration of View mode (-v) and multibuffer.
2935 Fixes to new_file(), do_insertfile_void(), shortcut_init()
2936 (David Lawrence Ramsey).
Chris Allegretta48bd3782002-01-03 21:26:34 +00002937 - The keypad handling has changed (again). We now use
2938 the keypad() function by default. New flag -K, --keypad
2939 allows the old behavior for those using the keypad arrow keys
2940 and rxvt-based terminals.
Jordi Mallach8ae57892002-01-04 17:57:40 +00002941 - Updated copyright notices to 2002 (Jordi).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00002942- nano.c:
Chris Allegretta32da4562002-01-02 15:12:21 +00002943 die()
2944 - Only save files that were modified (David Lawrence Ramsey).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00002945 do_cont()
2946 - Run signal_init() after doupdate() so ^Y wont suddenly
2947 start suspending after returning from ^Z suspend in Hurd.
2948 signal_init()
2949 - Unconditionally disable VDSUSP if it exists, stops ^Y
2950 suspending nano on the Hurd.
Jordi Mallach11f39e72001-12-25 19:17:32 +00002951 help_init()
Chris Allegretta64dd95d2001-12-27 20:53:54 +00002952 - Typo fixes in help strings (Jordi).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002953 - New variable helplen needed cause currslen is not always
Chris Allegretta13fd44b2002-01-02 13:59:11 +00002954 the length we want (bug found by David Lawrence Ramsey).
Chris Allegretta180a5692002-01-02 14:30:33 +00002955 - Typo in file switch string (found by David Lawrence Ramsey).
2956 main()
2957 - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
Chris Allegretta32da4562002-01-02 15:12:21 +00002958 - Handle OS-specific insert keys by jump to do_insertkey (David
2959 Lawrence Ramsey).
Chris Allegretta64dd95d2001-12-27 20:53:54 +00002960- files.c:
2961 read_file()
2962 - Make conversion message less confusing (suggested by Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +00002963- rcfile.c:
2964 parse_next_word()
2965 - Get rid of ptr == \n check to abort, screws up option
2966 parsing (bug found by David Lawrence Ramsey)
Chris Allegretta52db7a22001-12-17 23:39:36 +00002967- winio.c:
2968 update_line()
Chris Allegretta3c57e502001-12-19 16:20:43 +00002969 - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
2970 high ascii characters.
Jordi Mallach9335f912001-12-23 00:03:18 +00002971 titlebar()
2972 - gettextized a pair of strings.
Chris Allegrettae5b9eac2002-01-05 01:52:02 +00002973 bottombars()
2974 - Get rid of that annoying reversed line when color is on! :)
Chris Allegretta1bf8f5e2002-01-05 03:30:10 +00002975 edit_add()
2976 - Little fixes to let color highlights not bleed onto the next line.
Chris Allegrettaa16e4e92002-01-05 18:59:54 +00002977 statusq()
2978 - Initialize "list".
Chris Allegrettacf680712001-12-18 14:59:20 +00002979- m4/gettext.m4:
2980 - Back down to 1.1.3 version.
Jordi Mallachcf9f7832001-12-26 12:33:01 +00002981- faq.html:
2982 - Various link updates and other fixes (Aaron S. Hawley).
2983 - Typo fixes (David Lawrence Ramsey).
Chris Allegrettafae0dce2002-01-04 13:30:42 +00002984- AUTHORS
2985 - Add DLR.
Jordi Mallach77b12322001-12-22 23:23:40 +00002986- po/sv.po:
2987 - Swedish translation update (Christian Rose).
Jordi Mallach3da91392002-01-07 11:50:13 +00002988- po/ru.po, po/uk.po:
Jordi Mallach32793982001-12-28 16:35:28 +00002989 - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
Jordi Mallach3da91392002-01-07 11:50:13 +00002990- po/ca.po, po/es.po:
Jordi Mallach414acab2001-12-26 00:15:16 +00002991 - Catalan and Spanish translations updates (Jordi).
Jordi Mallacha4ffccb2001-12-26 00:31:17 +00002992- po/pl.po:
2993 - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
Jordi Mallach65f3e422002-01-04 17:48:58 +00002994 - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
2995 official maintainer.
Jordi Mallach1a58fb42001-12-27 16:00:23 +00002996- po/fr.po:
2997 - French translation update (Michel Robitaille).
Jordi Mallach05d8ce92001-12-27 20:34:42 +00002998- po/gl.po:
2999 - Galician translation update (Jacobo Tarrío).
Jordi Mallach78e2c9d2001-12-27 22:06:38 +00003000- po/it.po:
3001 - Italian translation update (Marco Colombo).
Jordi Mallach32793982001-12-28 16:35:28 +00003002- po/de.po:
3003 - German translation update (Michael Piefel).
Jordi Mallach13f30172002-01-02 18:45:58 +00003004- po/fr.po:
3005 - French translation update (Jean-Philippe Guérard).
Chris Allegretta5fd6cac2001-12-12 13:55:19 +00003006
Chris Allegretta7bf25092001-12-12 02:44:40 +00003007nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +00003008- General
3009 - Preliminary syntax highlighting support. New functions
3010 colortoint() and parse_color() in rcfile.c, new code in
3011 edit_add() in winio.c to actually do the highlighting. It's
3012 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +00003013 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00003014- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +00003015 - Fixes for tab completion and screen refresh (David Lawrence
3016 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00003017 add_open_file()
3018 - Get rid of unsetting MARK_ISSET because otherwise writing
3019 marked text will automatically unset the marker with
3020 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +00003021- global.c:
3022 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +00003023 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
3024 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +00003025- nano.c:
3026 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +00003027 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +00003028 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
3029 signal_init()
3030 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
3031 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +00003032 help_init()
3033 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +00003034 do_curpos()
3035 - Now takes arg for constant updating to always show the cursor
3036 position (David Lawrence Ramsey).
3037 do_wrap()
3038 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +00003039 do_spell()
3040 - Dont prompt for replace if we don't change the word in
3041 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +00003042- po/de.po:
3043 - German translation updates (Karl Eichwalder).
3044- po/ru.po:
3045 - Russian translation updates (Sergey A. Ribalchenko).
3046- po/sv.po:
3047 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +00003048- po/da.po:
3049 - Danish translation updates (Keld Simonse).
3050- po/es.po:
3051 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +00003052- po/fr.po:
3053 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +00003054- m4/gettext.m4:
3055 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +00003056
Chris Allegrettadc57bba2001-10-26 16:14:45 +00003057nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +00003058- General
3059 - Finally wrote function-specific help mode. Changes to
3060 nano.c:help_init() and winio.c:do_help(). Changed
3061 currshortcut and currslen #ifdefs to depend on both
3062 DISABLE_HELP and DISABLE_MOUSE being defined to not
3063 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +00003064 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
3065 this was causing nasty errors if the call to nrealloc moved
3066 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +00003067 - Changed header comments to say "version 2" instead of "version
3068 1" as the COPYING file is actually version 2 of the GPL (bug
3069 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +00003070- cut.c:
3071 do_cut_text()
3072 - Check to see whether marked text is contained within edit
3073 window and if so only do an edit_refresh (variable dontupdate
3074 replaces cuttingpartialline).
3075 do_uncut_text()
3076 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +00003077- faq.html
3078 - Removed nano-editor.org FTP site address [deprecated] and added
3079 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +00003080- files.c:
3081 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +00003082 People should know that their file wasnt normally formatted.
3083 load_file()
3084 - Status message when trying to load an already loaded file with multiple
3085 buffers (David Lawrence Ramsey).
3086 read_file()
3087 - Get rid of useless linetemp variable and name num_lines int
3088 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +00003089- nano.c:
3090 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +00003091 Alt-space, as next word is hard coded as control-space. Fixed
3092 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +00003093 beginning of first line, prog should simply abort. Added
3094 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +00003095- nano.h:
3096 - Additional #define, SMALL_TOO to determine how long
3097 MAIN_LIST_LEN is. We need this because of the find matching
3098 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +00003099 main()
Chris Allegretta347c1842001-10-24 01:37:13 +00003100 - Moved #ifndef NANO_SMALL down past the case 0: line so
3101 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +00003102- rcfile.c:
3103 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +00003104- po/sv.po:
3105 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +00003106- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +00003107 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +00003108- po/es.po:
3109 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallach3da91392002-01-07 11:50:13 +00003110- po/ru.po, po/uk.po:
Jordi Mallacheb94b9e2001-10-15 14:26:48 +00003111 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +00003112
Chris Allegretta03260b42001-10-04 01:24:07 +00003113nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +00003114- General
3115 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
3116 new flag CLEAR_BACKUPSTRING because there's no easy way to
3117 clear the backupstring without making it global (messy), so we
3118 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +00003119 - --enable-tiny now leaves out the Auto Indent code, do you really
3120 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +00003121 - New flag -o, --operatingdir, similar to Pico's -o mode. New
3122 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +00003123 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +00003124 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +00003125 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +00003126 new code in read_line and write_file. New cmdline flag
3127 (-D --dos) to automatically write the file in DOS format,
3128 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +00003129 - Mac file writing supported too. Flag -M, --mac. Toggle
3130 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +00003131 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +00003132 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +00003133 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +00003134 - Bracket (brace, parens, etc) matching code by Ken Tyler.
3135 New functions do_find_bracket(), changes to findnextstr(),
3136 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +00003137 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
3138 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00003139 - Call do_gotopos from do_alt_spell() to keep position
3140 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +00003141 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +00003142 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +00003143 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +00003144 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +00003145- cut.c:
3146 cut_marked_segment()
3147 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +00003148 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +00003149 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +00003150 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +00003151- faq.html:
3152 - Notes about the Free Translation Project.
3153 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +00003154- files.c:
3155 do_writeout()
3156 - Expanded strings to not use %s and ?: to determine
3157 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00003158 new_file()
3159 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +00003160- nano.c:
3161 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +00003162 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +00003163 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00003164 - Many tweaks and changes from numerics to char equivs
3165 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00003166 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +00003167 do_mouse()
3168 - Send 27 when the menu item clicked is an alt key seq... The
3169 lines aren't lined up since the menu width changed though,
3170 this breakage depends on whether the new widths will be kept
3171 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +00003172 - Change k based on currslen to allow the new widths in
3173 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +00003174 do_wrap()
3175 - Fixes for Pico incompatibility in cases 2b and 2c.
3176 (David Lawrence Ramsey).
3177 global_init()
3178 - New arg save_cutbuffer, allows cutbuffer to not be lost when
3179 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +00003180- nano.1:
3181 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +00003182- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +00003183 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
3184 - Added many command line options, toggles and other additions
3185 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +00003186- rcfile.c:
3187 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +00003188 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +00003189 - Fix incorrect argument in fill and tabsize error message
3190 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +00003191- search.c:
3192 - Changed search prompt to "Search" followed by a list of
3193 bracketed, free-standing modifiers that do not imply a grammar,
3194 and the (to replace) string separately. Hopefully this resolves
3195 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +00003196 findnextstr()
3197 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +00003198- winio.c:
3199 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +00003200 bottombars()
3201 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00003202 nanogetstr()
3203 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00003204 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +00003205- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +00003206 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +00003207- po/ca.po, po/es.po:
3208 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +00003209- po/gl.po:
3210 - Updated Galician translation (Jacobo Tarrío).
Jordi Mallach90bbdd32001-09-12 19:06:59 +00003211- po/da.po:
3212 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +00003213- po/sv.po:
3214 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +00003215- po/it.po:
3216 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +00003217- po/fi.po:
3218 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +00003219
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00003220nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +00003221- General
3222 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
3223 - Added m4/ directory to allow rebuilding using only the internal
3224 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +00003225- nano.c:
3226 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00003227 - Change the multibuffer getopt option to 'F' (David Lawrence
3228 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +00003229 do_mark()
3230 - Temporarily disable cursorpos when enabled to be able to see
3231 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +00003232- nanorc.sample
3233 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +00003234- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +00003235 new_file()
3236 - Do add_open_files if there aren't any open yet (David Lawrence
3237 Ramsey).
3238 close_open_file()
3239 - Try to open the next file first, then the previous one
3240 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +00003241- global.c:
3242 shortcut_init()
3243 - Rewrote the whereis and replace lists to put CANCEL at the end
3244 of the list, and not include the toggle functions when using
3245 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00003246- nano.h:
3247 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +00003248 - Rewrote all the macro definitions to be a little less messy,
3249 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +00003250- rcfile.c:
3251 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +00003252- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +00003253 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00003254 search_init()
3255 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +00003256- winio.c:
3257 bottombars()
3258 - Fixed an off by one that wasn't letting lines with odd #
3259 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +00003260
Chris Allegretta9a748602001-07-15 16:07:23 +00003261nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +00003262- General
3263 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +00003264 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +00003265 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +00003266 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +00003267 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +00003268 this automatically, but now just mouse support can be disabled
3269 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003270 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +00003271 - Added rcfile.c source file. Only includes much of anything when
3272 --enable-nanorc is used. Tons of new funcs, most notably
3273 do_rcfile() called from nano.c:main(). Added much needed
3274 function ncalloc(), will have to go through source code later
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003275 and change the appropriate calls which used nmalloc for lack of
3276 an appropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +00003277 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +00003278 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +00003279 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +00003280 - Added config.guess and config.sub to distribution because,
3281 apparently, newer autoconf/automakes can't live without them.
3282 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +00003283 - Changed all string allocations to charalloc(), new function
3284 designed to take nmalloc argument but call calloc based on
3285 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +00003286 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
3287 and justify being disabled. This allows us to compile out the
3288 -r flag if neither are set, and will also allow us to comment
3289 out -W when it is written.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003290 - Allow fill to take a negative value to signify a "from right side"
Chris Allegretta6fe61492001-05-21 12:56:25 +00003291 value. This allows the value to vary with the screen size yet
3292 still be correct. New static value wrap_at to minimize code
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003293 impact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +00003294 - Allow file appending. New shortcut list nano_insertfile_list (since
3295 insert and write routines can't share shortcut lists anymore),
3296 new args to do_writeout and write_file called append, and of source
3297 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +00003298 - Allow backwards searching. Drastic rewrite of the search prompt
3299 string by Chris. All other code by Ken Tyler. New globals
3300 nano_reverse_msg, new functions revstrstr and revstrcasestr,
3301 many changes to search functions. Not too big a code size
3302 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +00003303 - Moved extension functions (Case Sensitive, Regexp, and Backwards
3304 Search, Append key in write file function) to Meta keys, as
3305 people are complaining loudly about nano not being control-key
Chris Allegretta6df90f52002-07-19 01:08:59 +00003306 compatible with Pico, which is a Bad Thing (TM). Changes to
Chris Allegretta658399a2001-06-14 02:54:22 +00003307 shortcut_init, toggle_init, new toggles for backwards and regexp
3308 (and you can now toggle all search options including regexp at
3309 the Search: prompt!) Changes to nanogetstr to enable Meta
3310 keys to be grabbed, changes to onekey to print M-style shortcuts.
3311 - New macro TOGGLE which just toggles, no more silly checking
3312 ISSET and then using SET or UNSET when we want a simple toggle
3313 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +00003314 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +00003315 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +00003316 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
3317 and write_file(), new functions add_open_file(),
3318 open_file_change_name(), load_open_file(), open_file_dup_search(),
3319 open_file_dup_fix(), open_prevfile(), open_nextfile(),
3320 close_open_file(), get_full_path(), die_save_file(), etc.
3321 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +00003322 - Using --enable-extra automatically defines --enable-multibuffer
3323 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +00003324 - Moved to gettext 0.10.38 at the last second, sure to break
3325 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +00003326- Makefile.am:
3327 - Include ABOUT-NLS and the new THANKS files to the distributed list.
3328- THANKS:
3329 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +00003330 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +00003331- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +00003332 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +00003333 initialization file and set options normally used on the command
3334 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +00003335 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +00003336 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +00003337- cut.c:
3338 add_to_cutbuffer()
3339 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +00003340 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +00003341 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
3342 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00003343 - Added 'destructive' argument. Allows the selected text to be
3344 added to the cutbuffer without changing the contents of the
3345 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +00003346 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +00003347 - If the line is empty when using -k and wasn't already added,
3348 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +00003349 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +00003350 - Moved the case of current == mark_beginbuf into cut_marked
3351 segment, so do_writeout could call it when writing selection to
3352 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +00003353 do_uncut_text()
3354 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +00003355- faq.html:
3356 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +00003357 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003358- files.c:
3359 do_browser()
3360 - Minor fixes to the processing of SELECT function (Rocco)
3361 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +00003362 - Don't shift the size of the file is it's less than 1K. Fixed
3363 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +00003364 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
3365 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00003366 do_writeout()
3367 - New code to allow writing selected text to a separate file.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003368 When this is done, the current state is preserved.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +00003369 write_file()
3370 - New arg, nonamechange, means whether or not to update the
3371 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +00003372 - Increment lineswritten when the very last line isn't null.
3373 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003374- global.c:
3375 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +00003376- move.c:
3377 page_up()
3378 - Rewritten with a loop to make screen updates work when
3379 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +00003380 do_home(), do_end()
3381 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +00003382- nano.1:
3383 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +00003384- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +00003385 do_alt_speller()
3386 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +00003387 ABCD(), main()
3388 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +00003389 main()
3390 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +00003391 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +00003392 signal_init()
3393 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
3394 SIGCONT from being interrupted, allows suspending nano
3395 to work more reliably, esp. with mutt, etc.
3396 do_suspend()
3397 - Don't try to play with the handler inside the handler. Just
3398 raise a SIGSTOP. We also now write the "use "fg"" message to
3399 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +00003400 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
3401 Eliminates the possibility that nano can be suspended when
3402 it's not supposed to be. Many many many thanks to Jordi and
3403 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +00003404 do_cont()
3405 - Now just does a refresh call instead of playing with the SIGTSTP
3406 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003407- nano.h:
3408 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
3409- proto.h:
3410 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +00003411- search.c:
3412 do_gotoline()
3413 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +00003414 do_replace()
3415 - If we manage to make it in somehow with VIEW_MODE on, abort
3416 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +00003417- utils.c
3418 strcasestr()
3419 - Replaced by mutt's mutt_stristr function, because the thought
3420 of dynamically allocating memory and copying each line in a file
3421 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +00003422- winio.c:
3423 actual_x()
3424 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +00003425- po/POTFILES.in:
3426 - Added utils.c to the list.
3427- po/es.po, po/ca.po:
3428 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +00003429- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +00003430 - Galician translation by Jacobo Tarrío.
Jordi Mallach92b3bd22001-05-16 09:10:31 +00003431- po/uk.po, po/ru.po:
3432 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +00003433 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +00003434- po/id.po:
3435 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +00003436- po/it.po
3437 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +00003438- po/no.po:
3439 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
3440- po/sv.po:
3441 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +00003442
3443nano 1.1 tree forked here 04/07/2001
3444
Chris Allegretta38068cd2001-04-06 20:04:23 +00003445nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00003446- General:
3447 - added configure option --disable-wrapping. Does what it says,
3448 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +00003449 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00003450 Affects configure, nano.c:do_char() and check_wrap() obviously,
3451 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +00003452- aclocal.m4:
3453 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +00003454- faq.html:
3455 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +00003456- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +00003457 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +00003458 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +00003459 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +00003460 - use strcasecmp to sort directory if available, pilot does that
3461 as well (Matthias Andree)
3462 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +00003463 - Changed lstat calls to stat, which fixes the browser not
3464 following links to directories. We only use lstat() when
3465 printing the details of the file, and if it is a link, then
3466 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00003467 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +00003468 do_browser()
3469 - Fix broken size suffix off-by-one errors (Matthias Andree)
3470 cwd_tab_completion(), do_browse_from()
3471 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
3472 - Changed above to use PATH_MAX only when defined on the
3473 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00003474- intl/Makefile.in:
3475 distclean
3476 - added intl/libintl.h to the rm -f rule, should fix the unresolved
3477 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +00003478
Chris Allegretta2bfbda02001-03-23 03:50:44 +00003479nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +00003480- General
3481 - Added void to functions declared as () args, nano.c:do_mark()
3482 and search.c:regexp_cleanup(). (Christian Weisgerber).
3483 - Changed internal variables called "new" to "newnode" to avoid
3484 the "new" C++ reserved word, even though there is likely no way
3485 nano will EVER be compilable with a C++ compiler. (suggested by
3486 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00003487- ca.po, es.po:
3488 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +00003489- cs.po:
3490 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00003491- nano.info:
3492 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +00003493- winio.c:
3494 statusq()
3495 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +00003496
34971.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +00003498- nano.c:
3499 do_wrap()
3500 - Added case for autoindenting text causing new line (Adam).
3501 - Added SAMELINE case to above. Added checks to cases 1b and
3502 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +00003503- move.c:
3504 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +00003505 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +00003506 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +00003507- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +00003508 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +00003509 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +00003510 search_init()
3511 - If using Pico mode and regex and same answer is entered, use
3512 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +00003513- nano.texi:
3514 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +00003515
Chris Allegrettaa4a222d2001-02-20 03:52:13 +00003516nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +00003517- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +00003518 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00003519 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +00003520 removed "Goto Line", aligned "Read File" with "Write Out" and
3521 "Replace" with "Where is" for consistency.
3522 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +00003523 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +00003524- configure.in:
3525 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +00003526 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +00003527 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +00003528- cut.c:
3529 do_cut_text()
3530 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00003531- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +00003532 do_delete()
3533 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +00003534 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +00003535 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00003536 do_justify()
3537 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +00003538 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +00003539 main()
3540 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +00003541- winio.c:
3542 do_yesno()
3543 - Added localized yes, no and all strings to function and rewrote
3544 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +00003545- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +00003546 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +00003547- fi.po:
3548 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +00003549- hu.po:
3550 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +00003551- id.po:
3552 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +00003553- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +00003554 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +00003555- ca.po:
3556 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00003557 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
3558 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +00003559
Chris Allegretta34318ed2001-01-31 23:22:36 +00003560nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +00003561General
Chris Allegrettad4ddd012001-01-23 01:17:07 +00003562 - Removed center_x and center_y globals. center_y was
3563 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +00003564 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +00003565 - Deleted free_node, duplicate of delete_node, and changed all
3566 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +00003567 - Fix for resizing the window in modes other than normal edit mode
3568 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +00003569- files.c:
3570 write_file()
3571 - Don't free() realname on error, if it needs to be free()d later
3572 it will be (fixes crash on successful write after failed write,
3573 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +00003574 username_tab_completion()
3575 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +00003576 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +00003577 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +00003578 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +00003579 - Rewritten using getpwent (suggested by Adam, much optimized by
3580 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +00003581- global.c:
3582 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +00003583- nano.c:
3584 do_justify()
3585 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +00003586 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +00003587 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +00003588 global_init(), handle_sigwinch()
3589 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +00003590 do_alt_speller()
3591 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +00003592 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +00003593- proto.h:
3594 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +00003595- winio.c:
3596 nanogetstr()
3597 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +00003598
Chris Allegretta9d6f3f32001-01-21 02:35:03 +00003599nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +00003600General
3601 - Changed #ifdefs to check for both DISABLE_TABCOMP and
3602 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003603 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +00003604 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003605 back. (Rocco)
3606 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +00003607 - Added message for when keypad goes awry. Added code in main and
3608 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +00003609 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +00003610 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +00003611 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +00003612- configure.in:
3613 - Fix for _use_keypad check breaking slang support (Christian
3614 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +00003615 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +00003616 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +00003617- faq.html:
3618 - Added some info on making the binary smaller with the configure
3619 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +00003620 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +00003621- files.c:
3622 real_dir_from_tilde()
3623 - Oops, fix case where buf ="~", silly crash (bug discovered by
3624 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +00003625 do_browser()
3626 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +00003627 cwd_tab_completion(), input_tab()
3628 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +00003629 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003630- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +00003631 ABCD()
3632 - New function, figures out what kbinput to return given
3633 input common to several switch statements, allows us to
3634 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003635 main()
3636 - Alternate speller option no longer valid if DISABLE_SPELLER is
3637 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +00003638 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
3639 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +00003640 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003641 nano_small_msg()
3642 - This function has been removed. All references now call
3643 nano_disabled_msg. (Rocco)
3644 version()
3645 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
3646 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
3647 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +00003648 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003649 usage()
3650 - Alternate speller option no longer valid if DISABLE_SPELLER is
3651 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +00003652 window_init(), handle_sigwinch()
3653 - Added check for not having enough LINES to do anything useful,
3654 if so die with an error. (Rocco)
3655 die_too_small()
3656 - Function to print the window too small error message, avoids
3657 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +00003658 do_justify()
3659 - Small fix for totsize calculation (Rob)
3660
Chris Allegrettad9742c62001-01-12 15:51:53 +00003661- fi.po:
3662 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +00003663
Chris Allegretta16991442001-01-07 22:06:11 +00003664nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +00003665General -
3666 - New file browser code. New functions in files.c:do_browser(),
3667 helper functions browser_init(), tail(), striponedir(),
3668 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +00003669 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +00003670 - Keypad code has been changed slightly. Now checks for
3671 _use_keypad flag in window to see whether or not to turn
3672 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +00003673 to winio.c where it should probably be anyway. New configure
3674 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +00003675 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +00003676 - Moved keypad() calls for PDCURSES from main() to window_init()
3677 so the keypad continues to work after a Meta-X, for example.
3678 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +00003679- faq.html:
3680 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +00003681- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00003682 username_tab_completion()
3683 - Added the (char *) sizeof when allocating memory for the filename
3684 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +00003685 cwd_tab_completion()
3686 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00003687 - Added the (char *) sizeof when allocating memory for the filename
3688 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00003689 do_writeout()
3690 - Now takes an argument so the string typed in can be retained
3691 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +00003692 do_browser()
3693 - Don't decrement longest by the length of path. Fixes crashes
3694 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +00003695 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +00003696 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +00003697- move.c:
3698 page_down()
3699 - Don't do an edit_update when there is only one page of text
3700 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +00003701- nano.c:
3702 main()
3703 - Reorder the getopt options to be more or less alphabetical
3704 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +00003705- winio.c:
3706 do_cursorpos()
3707 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +00003708 do_credits()
3709 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +00003710 titlebar()
3711 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +00003712 do_help()
3713 - Changed way of temporarily bringing up shortcuts at the
3714 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +00003715- utils.c:
3716 mallocstrcpy()
3717 - Takes char pointers now instead of void (makes debugging a
3718 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00003719 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +00003720- es.po:
3721 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +00003722
Chris Allegretta66149e72000-12-19 02:51:06 +00003723nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +00003724General
3725 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +00003726 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +00003727 - Changed filename to no longer use PATH_MAX, so it can work on the
3728 HURD. Changes in files.c:write_file(), new function
3729 nano.c:clear_filename(), many changed in main(), a few other
3730 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003731 - Added -b, -e, and -f flags, which we ignore as nano provides
3732 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +00003733- cut.c:
3734 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003735 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +00003736 - Fix screen not being displayed when we are uncutting marked
3737 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +00003738 - Fix magic line not getting created when (you guessed it)
3739 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +00003740- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +00003741 read_file()
3742 - If we encounter an error and insert is not set, run new_file().
3743 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +00003744 write_file()
3745 - Change open call flags, basically copy joe's way of doing it so
3746 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +00003747 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +00003748 open_file()
3749 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +00003750- nano.c:
3751 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +00003752 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003753 main()
3754 - Added code to check for Alt-Alt (27-27) keystrokes and set the
3755 next keystroke as a control sequence. New variable
3756 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
3757 around Control-S,Q,Z handlers because we need it now for
3758 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +00003759 - Added --view option to getopt_long()call . Bug discovered
3760 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +00003761 help_init()
3762 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta6df90f52002-07-19 01:08:59 +00003763 ^_ in Pico mode not be displayed in the help (bug discovered by
Chris Allegretta92325e72000-12-18 03:44:22 +00003764 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +00003765 do_toggle()
3766 - Added fix_editbot() call to fix improper redisplay of edit
3767 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003768- nano.1, nano.1.html:
3769 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +00003770- winio.c
3771 do_help()
3772 - Force keypad on so F-keys and PageUp/Down will work properly.
3773 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +00003774- utils.c:
3775 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +00003776 - Increment totsize!! We decrement it when we've read a file,
3777 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +00003778
Chris Allegrettab29550e2000-12-09 03:34:12 +00003779nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +00003780General
3781 - Changed --disable-spell to --disable speller. The term is
3782 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +00003783- files.c:
3784 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +00003785 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +00003786 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +00003787 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +00003788 - We now run check on result of lstat(), not stat(), to be
3789 safer. New variable anyexists, we use still use realexists
3790 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +00003791 - OOPS, line up link/unlink/rename check if conditional with
3792 top if conditional. Option -l has been broken for 9 versions,
3793 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +00003794 - Added saving perms at end of link so we can apply them to the
3795 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +00003796- winio.c:
3797 edit_add()
3798 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00003799 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +00003800 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00003801 - Moved from search.c, as it's definitely a winio function now =)
3802 update_line()
3803 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +00003804
Chris Allegrettafedd7242000-12-03 03:15:38 +00003805nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +00003806- General
Chris Allegrettabe77c612000-11-24 14:00:16 +00003807 - Username tab completion code, and cleaned up existing tabcomp
3808 code. New functions real_dir_from_tide(), append_slash_if_dir(),
3809 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +00003810 - Ignore key sequence 543 & 545, right control and alt keys in
3811 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +00003812 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
3813 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +00003814 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +00003815 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +00003816- New configure options:
3817 - Added configure argument --disable-tabcomp. Affects
3818 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +00003819 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +00003820 - New options --enable-extra. New code in nano.c:version() to
3821 print out various options from ./configure, function do_credits().
3822 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +00003823 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +00003824 do_spell, do_int_speller and do_alt_speller.
3825 - Added --disable-justify to get rid of the justify function.
3826 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +00003827- files.c:
3828 write_file()
3829 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +00003830 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +00003831 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +00003832 - Added call to real_name_from tilde, oops. Added check for
3833 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +00003834 read_file()
3835 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +00003836- global.c:
3837 shortcut_init()
3838 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +00003839 shortcut or the normal uncut text one. Needed to accommodate
3840 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +00003841- nano.1, nano.1.html:
3842 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +00003843 - Added "NOTES" section, where I explain what nano.save & friends
3844 are.
3845 - Added a copyright notice for the manpage, under the GPL.
3846 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +00003847- nano.c:
3848 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +00003849 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
3850 text there, then grabs the next keystroke and, if the unjustify
3851 key, gets rid of the justified text and calls do_uncut_text.
3852 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00003853 do_int_spell*
3854 - Various fixes (Rocco Corsi).
3855 - Changed abort of program to aborting based on value of "edit a
3856 replacement" question, and not caring about the replace loop
3857 return value. That way the user can get out of the replace loop
3858 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +00003859 version()
3860 - Took out huge check for the various --disabled macros,
3861 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +00003862 nano_small_msg(), nano_disabled_msg()
3863 - Added checks for disabled functions to see whether or not to
3864 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +00003865 do_next_word()
3866 - Update the previous line as well as the current one in case we
3867 have moved beyond COLS or back from COLS, patch submitted
3868 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +00003869 die()
3870 - Now creates .save file using variable-length strings. Also
3871 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +00003872 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +00003873 handle_sighup()
3874 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00003875- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +00003876 do_replace_highlight()
3877 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +00003878 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +00003879 - Added calls to curs_set(0) and (1) to disable the cursor when
3880 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +00003881- es.po:
3882 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +00003883
Chris Allegrettaca7a21d2000-11-24 01:35:40 +00003884nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +00003885- AUTHORS
3886 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +00003887- nano.c:
3888 main()
3889 - Changed check for argc == 1 to argv[optind] == NULL to decide
3890 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +00003891- search.c:
3892 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00003893 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +00003894 search_init()
3895 - Silly typo in our "one simple call" of statusq. Stopped
3896 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +00003897 do_replace()
3898 - Copy back the previous value of last_replace into answer if
3899 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +00003900- winio.c:
3901 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +00003902 - Deleted first update_line() call, screws up display when marker is
3903 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +00003904- nano.1, nano.1.html
3905 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +00003906
Chris Allegretta6da149a2000-11-19 02:23:03 +00003907nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +00003908- General
3909 - Ran source through indent -kr again. Make everything pretty.
3910 - Changed behavior of "search" and "replace" prompts to make all
3911 previous values editable. This change was made so that you can
3912 replace with the null string without needing a special key for it.
3913 changed code in search_init(), do_replace(), nanogetstr (see
3914 below).
3915 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +00003916 - Revamped nanogetstr() and calls to it to use variable length
3917 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +00003918 MANY changes in nanogetstr(), many chances in search.c, new
3919 function mallocstrcpy which is sure to be a programmatic
3920 nightmare, changed last_search, last_replace, answer to
3921 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +00003922 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +00003923 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00003924 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +00003925 - New spelling code by Rocco Corsi. New functions
3926 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
3927 New functions search_init_globals and do_replace_loop, changes
3928 to search_init(), do_replace, findnextstr, moved last_search and
3929 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +00003930 - New tab completion code. Used check_wildcard_match, input_tab,
3931 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +00003932 hacked them a lot, changes to nanogetstr(). nanogetstr() and
3933 statusq() now take an arg for whether or not to allow tab
3934 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +00003935 - Fixed value being input in statusbar during a search or replace
3936 and CASE_SENSITIVE or the other search is called and the
3937 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00003938 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
3939 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +00003940- files.c:
3941 do_writeout()
3942 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +00003943- global.c
Chris Allegretta105da332000-10-31 05:10:10 +00003944 - New global replace_list_2, for 2nd half of the replace dialog
3945 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +00003946 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +00003947 toggle_init()
3948 - Added #ifdef around toggle_regex_msg to get rid of compiler
3949 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +00003950
3951- nano.c:
3952 keypad_on()
3953 - New function, toggles turning the keypad on and off in edit and
3954 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00003955- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +00003956 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00003957 - New arg for begin_x variable, basically a rewrite that
3958 makes a little more sense and isn't quite as messy (Rocco Corsi).
3959 - Update the line we're checking if not the whole screen, because
3960 it's quite possible the search team could exist somewhere way
3961 to the right on the same line, for example.
3962 replace_abort()
3963 - Add reset of placewewant, stops cursor from jumping when moving
3964 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +00003965 do_replace()
3966 - Added code for Gotoline key after entering the search term.
3967 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +00003968 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +00003969 Converted if statements to switch statements.
3970 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +00003971 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +00003972 do_search()
3973 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +00003974- winio.c
3975 nanogetstr()
3976 - Added check for 343 in while loop to get rid of getting "locked"
3977 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +00003978 - Changed check to return -2 on "enter" from answer == ""
3979 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +00003980 - Fixed fallthrough code because there was no break. Make much
3981 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +00003982 - Added check for ASCII 54[124] when using PDCURSES, ignore them
3983 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00003984 nanoget_repaint()
3985 - New function, removes about 30 lines of duplicate code in
3986 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +00003987 - Black magic code to make $ appear in prompt if we're past
3988 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +00003989 blank_edit()
3990 - Removed wrefresh() call, much less choppy now. If there's a need
3991 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +00003992- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +00003993 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +00003994
Chris Allegretta07e97d62000-10-03 01:52:50 +00003995nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +00003996- General
3997 - Added PDCurses support under cygwin, which allows building
3998 a nice stand-alone nano.exe for those poor Windows users.
3999 Extra check in configure.in for initscr() in -lcurses (as
4000 PDcurses has no tgetent), some #ifdef PDCURSES statements
4001 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +00004002 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +00004003- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00004004 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00004005 main()
4006 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00004007- search.c
4008 - Added initializations for last_search and last_replace (Rocco Corsi)
4009
Chris Allegretta629edad2000-09-19 00:27:19 +00004010nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00004011- General
4012 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
4013 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00004014- configure.in:
4015 - Added default case for cross-compiling to get rid of annoying
4016 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00004017- cut.c:
4018 do_cut_text()
4019 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00004020 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00004021- files.c:
4022 open_file()
4023 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00004024- global.c:
4025 shortcut_init()
4026 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00004027- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00004028 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00004029 - Added check for _POSIX_VDISABLE and use raw mode if not
4030 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00004031 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00004032 - Revamped a great deal of the F-key and keypad key handling,
4033 because we not longer use keypad() (see below).
4034 - Removed keypad() call because nano was not working with the
4035 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00004036 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00004037 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00004038 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00004039 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00004040 mouse_init()
4041 - Add keypad only if mouse support is on, otherwise mouse doesn't
4042 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00004043 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00004044- winio.c:
4045 total_refresh()
4046 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00004047 onekey()
4048 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00004049
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00004050- search.c:
4051 findnextstr()
4052 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00004053- es.po:
4054 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00004055- de.po
4056 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00004057
Chris Allegretta423cbfd2000-09-04 16:21:29 +00004058nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00004059- General
4060 - New shortcuts to toggle certain options that are normally only
4061 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
4062 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00004063 called from shortcut_init(), and do_toggle in nano.c. Also
4064 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00004065 signal_init(). Moved "struct sigaction act"into a static in
4066 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00004067 - Changed from Alt-key symbol (@) which is completely nonstandard
4068 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00004069 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00004070 Meta. Moved the toggle Meta keystrokes to the first column
4071 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00004072 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00004073 - Changed last_search and last_replace vars to statically
4074 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00004075- global.c:
4076 toggle_init()
4077 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
4078 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00004079- nano.c:
4080 do_mouse()
4081 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00004082 do_wrap()
4083 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00004084 do_toggle()
4085 - Added checks for no help and no wrap mode, and print opposite
4086 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00004087 do_suspend(), do_cont():
4088 - New functions, handle suspend signal in a Pico-like manner and
4089 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00004090- winio.c:
4091 total_refresh()
4092 - Added edit_refresh() call to actually update the screen if messy.
4093 edit_refresh_clearok()
4094 - New function, does a total update for edit refresh, needed to fix
4095 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00004096 onekey()
4097 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00004098
Chris Allegretta6306a112000-09-02 07:55:41 +00004099 update_line()
4100 - Added check for binary data >= 1 and <= 26, and use ^+letter
4101 to display it. Should fix editing text files with binary
4102 data in them. Placing of the cursor seems to be a bit screwed
4103 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00004104- search.c:
4105 search_abort()
4106 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
4107 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00004108 findnextstr():
4109 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00004110 - Fixed check for string that only occurs on the same line failing
4111 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00004112
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00004113nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00004114- cut.c:
4115 do_cut_text()
4116 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00004117 - Added check_statblank().
4118 - Check for fileptr == filebot, if so return, we shouldn't bother
4119 cutting the magic line.
4120 do_uncut_text()
4121 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00004122- nano.c:
4123 main()
4124 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00004125- po/Makefile.in.in:
4126 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
4127 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00004128- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00004129 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00004130
Chris Allegretta0bf4e142000-08-04 02:42:04 +00004131nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00004132- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
4133 Affects many many functions. Removed functions edit_update_top and
4134 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00004135- Added global variable tabsize, we no longer screw with the curses
4136 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00004137- configure.in:
4138 - Finally fixed check for slang to report "no" if not called
4139 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00004140- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00004141 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00004142 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00004143 null_at()
4144 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00004145 delete_buffer()
4146 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00004147 do_backspace()
4148 - Now calls page_up_center instead of page_up (as it should?)
4149 do_enter()
4150 - Fixed typo (?) in check for inptr->next. Caused lots of
4151 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00004152 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00004153 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00004154- search.c:
4155 replace_abort()
4156 - redundant, now just calls search abort until it does something
4157 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00004158- winio.c:
4159 edit_refresh()
4160 - Added check for current line "running" off the screen.
4161 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00004162 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00004163 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00004164 edit_update()
4165 - Rewritten, hopefully this will remove a lot of the
4166 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00004167- move.c:
4168 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00004169 - do an edit_update() at last case. Made function more like
4170 Pico's version, only move down to two lines before editbot.
4171 page_up()
4172 - Made function more like Pico's version, only move down to two
4173 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00004174
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00004175nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00004176- nano.h:
4177 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
4178- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00004179 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00004180 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00004181 - Simplified check for freeing cutbuffer. Added checks for doing
4182 multiple cuts with -k, now sets marked_cut to 2 for later
4183 processing by do_uncut_text().
4184 do_uncut_text()
4185 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00004186- files.c:
4187 write_file()
4188 - Removed (redundant) check for writing out files with -t.
4189 do_writeout()
4190 - Changed check for filename to filename[0]. Added some code,
4191 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00004192- nano.c:
4193 do_justify() & do_wrap():
4194 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00004195- de.po
4196 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00004197
Chris Allegretta1d7110d2000-07-23 16:59:07 +00004198nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00004199- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00004200 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
4201 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00004202- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
4203 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00004204- move.c
4205 page_down()
4206 - Don't edit_refresh() if the bottom of the file is in the edit
4207 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00004208- nano.c:
4209 main():
4210 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00004211 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00004212 die():
4213 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00004214 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00004215 - Changed exit semantics a bit so that aspell wouldn't get
4216 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00004217- files.c:
4218 read_file():
4219 - Added init of buf variable, hopefully this will stop the
4220 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00004221 write_file():
4222 - Added code to check to see if using -l and the file is not
4223 in fact a link. This should fix the behavior where a file
4224 that does not have write permission but could be removed and
4225 rewritten is saved without error. Please test this feature
4226 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00004227- search.c:
4228 search_init():
4229 - Added " (to replace)" statement to end of search string if
4230 we are doing a replace. Manually converted all the translations
4231 from '%s' to '%s%s' to ensure they still work with the new code.
4232 Also put in the translation for " (replace)" in the .po's. Hope
4233 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00004234 do_search(), do_replace():
4235 - Removed call to search_abort()/replace_abort() before call to
4236 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00004237 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00004238 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00004239 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00004240- fr.po:
4241 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00004242- es.po:
4243 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00004244
Chris Allegrettae955dae2000-07-07 22:24:59 +00004245nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00004246- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00004247 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
4248 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
4249 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00004250 search_init() and do_replace() and strstrwrapper().
4251 - Added _POSIX_VERSION check to regexp code. Better than nothing
4252 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00004253 - Made search functions & keys more like Pico. Added goto line from
4254 search and replace function, changed wording to "No Replace" instead
4255 of "To Search", "To Replace" to simply "Replace", and changed to
4256 Pico's keystroke by default, ^R. Affects search_init(),
4257 do_search() in search.c, globals in nano.h and
4258 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00004259 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00004260- cut.c
4261 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00004262- files.c:
4263 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00004264 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00004265- nano.c:
4266 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00004267 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
4268 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00004269 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00004270 - Corrected FIXME in do_enter with explanation. (Rob)
4271 - Fixed FIXME in do_justify, resulted in creation of
4272 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00004273 help_init():
4274 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00004275 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00004276 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00004277 do_backspace(), do_delete():
4278 - Added magic line code here too.
4279
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00004280- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00004281 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00004282- fi.po:
4283 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00004284- utils.c:
4285 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00004286- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00004287 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00004288 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00004289 do_yesno(), nanogetstr():
4290 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00004291 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
4292 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00004293 clear_bottomwin():
4294 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00004295 edit_update_top():
4296 - Fixed a bug that caused nano to not update when
4297 current->next == NULL (e.g. paging down to the very bottom of
4298 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00004299 fix_editbot:
4300 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00004301 edit_add:
4302 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00004303
Chris Allegretta4da1fc62000-06-21 03:00:43 +00004304nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00004305- New flag "-T" or "--tabsize" to specify how to display tab widths.
4306 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00004307 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00004308 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00004309- id.po:
4310 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00004311- es.po:
4312 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00004313- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00004314 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00004315 we had been seeing. Affects: add_marked_sameline, edit_add,
4316 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00004317 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00004318 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00004319 - Cut display_main_list call, as this function is only supposed to
4320 refresh what's already on the screen, not go through the process
4321 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00004322- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00004323 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00004324- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00004325 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00004326 - Removed editwineob, as it was redundant for (editwinrows - 1).
4327 Changed all calls to editwinrows - 1 in nano.c and move.c.
4328 - Removed all functions that were split into other files.
4329 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00004330 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00004331 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00004332 do_insertfile():
4333 - Fix display problem when using ctrl-r to load a file
4334 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00004335 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00004336 - Added titlebar(), edit_refresh() and display_main_list() calls
4337 because a resize wasn't picking up on possible different width
4338 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00004339- utils.c:
4340 - Moved nmalloc() and nrealloc() here.
4341- move.c:
4342 - New file, contains movement functions (like do_home(), do_up(),
4343 do_down(), page_up(), etc...).
4344- files.c:
4345 - Contains functions for files (read_file, insert_file,
4346 do_writeout(), etc).
4347- search.c:
4348 - Contains all our searching and related functions, (do_search(),
4349 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00004350
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004351nano-0.9.10 - 06/04/2000
4352- es.po:
4353 - Translation updates (Jordi).
4354- AUTHORS, nano.1.html, TODO, README:
4355 - Documentation and email address updates (Jordi).
4356- nano.c:
4357 main():
4358 - Moved Adam's termio code down to after getopt() and before initscr()
4359 to stop people losing their SIGINT character when using args that
4360 exit nano before it runs (--version, --help, etc).
4361
4362nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00004363- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004364 - Added proper lines for defining LOCALEDIR.
4365- configure.in:
4366 - Spelling fixes (Jordi Mallach)
4367 - Removed CFLAGS changes for gcc, reduces portability according to
4368 some, and it certainly doesn't seem to decrease exe size.
4369- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00004370 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004371- POTFILES.in:
4372 - Added global.c file, was screwing up translations (i.e. they
4373 weren't getting done).
4374- cut.c:
4375 add_to_cutbuffer():
4376 - Added totsize increment.
4377 - Cut fixes and optimizations (Rob Siemborski).
4378 do_uncut_text():
4379 - Added totsize increment in several places.
4380- nano.c:
4381 headers:
4382 - Removed LOCALEDIR define.
4383 do_justify():
4384 - Added edit_refresh() call (bug discovered by Adam).
4385 page_down_center():
4386 - Added call to edit_update(current) for last case. Removed
4387 increment of current_y since it's now just wasteful.
4388 do_enter():
4389 - Added totsize increment.
4390 renumber(), renumber_all():
4391 - Removed totsize-- and totsize init in renumber_all.
4392 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00004393 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004394 unnecessary wrefresh(edit).
4395 main():
4396 - Moved up locale calls so that translated --help messages would
4397 actually get translated.
4398 do_backspace(), do_delete():
4399 - Added decrement of totsize.
4400 init_help_msg():
4401 - New function, initializes help text if NANO_SMALL isn't set (fixes
4402 broken i18n).
4403 read_file():
4404 - malloc call changed to nmalloc (Rob Siemborski).
4405- winio.c:
4406 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00004407 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004408
4409nano-0.9.8 - 05/18/2000
4410- nano.c:
4411 main():
4412 - Added awesome code that disables the CINTR and CQUIT
4413 character (Adam Rogoyski). Removed raw()/noraw() calls so that
4414 nano gets input in 'normal' mode, which is the Right Way(tm) to
4415 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00004416 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004417 term settings, and changes to finish() and die().
4418 - Added extra #ifdefs in getopt code, so that above code and
4419 flag init is run even if GETOPT_LONG is not #defined.
4420 - Added memset line before sigactions. (Adam Rogoyski)
4421 do_suspend():
4422 Removed function, see above for why.
4423- winio.c:
4424 update_line(), center_cursor():
4425 - Removed wrefresh(edit) from bottom of functions. wrefresh
4426 should now only be called once, at the bottom of the main()
4427 loop.
4428- global.c:
4429 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00004430 - Removed suspend sc_init call and suspend message because suspend
4431 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004432
4433nano-0.9.7 - 05/14/2000
4434- nano.c:
4435 do_home(), do_end():
4436 - Added calls to update_line for the current line, fixes
4437 lack of update (bug discovered by Alberto García).
4438 main():
4439 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
4440 following symlinks even when -l isn't set, and "no changes"
4441 error when nano is called from crontab -e (Adam Rogoyski).
4442- cut.c:
4443 do_cut_text():
4444 - Added edit_update_top to cut when mark is set, fixes lack of
4445 display update (bug discovered by Ken Tyler).
4446
4447nano-0.9.6 - 05/08/2000
4448- New Italian translation (it.po), by Daniele Medri.
4449- nano.c:
4450 page_up(), page_down():
4451 - Added reset of placewewant to 0, as it should be.
4452 do_up(), do_down():
4453 - Added call to update_line() for line we move from and line we
4454 move to, in order to keep the highlighting correct.
4455 do_wrap():
4456 - Added var chop, new code to wrap lines more like Pico, mostly.
4457 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
4458- winio.c:
4459 do_help():
4460 - Added edit_refresh() before exit.
4461 update_cursor():
4462 - Removed cursor updating which really wasn't needed anyway.
4463 edit_update():
4464 - Removed yucky code that didn't work, this function now just
4465 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00004466 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004467
4468nano-0.9.5 - 05/01/2000
4469- Removed bytes from file struct because it was computationally wasteful.
4470- cut.c:
4471 do_uncut_text():
4472 - Added call to edit_refresh().
4473- nano.c:
4474 do_backspace():
4475 - Added reset of editbot when deleting the last line of the file
4476 (bug discovered by Adam).
4477 do_char():
4478 - Removed call to reset_cursor().
4479 do_delete():
4480 - Added similar check as to do_backspace().
4481 do_enter():
4482 - Added call to edit_refresh().
4483 do_left(), right():
4484 - Added call to update_line(), still redundant but better...
4485 do_up(), do_down():
4486 - Added refresh calls both for current line and line to which
4487 we are moving.
4488 main():
4489 - Removed inefficient call to edit_refresh() after every keystroke.
4490 It is now up each function to leave the screen in a good state.
4491- winio.c:
4492 do_cursorpos()
4493 - Rewritten to not use bytes from filestruct by an incremental sum.
4494 update_line(), reset_cursor():
4495 - Optimized calls to xplustabs() through a single variable.
4496 - update_line() now takes a new arg, an index into the string
4497 for where to update the line from. Needed for new update
4498 code.
4499- configure.in:
4500 - Better checks for slang, allows argument to --with-slang.
4501 (Albert Chin-A-Young)
4502 - Removed -Iintl from CFLAGS in gcc check.
4503- Makefile.am:
4504 - Addition of -Iintl for gettext (Albert Chin-A-Young)
4505
4506nano-0.9.4 - 04/25/2000
4507 - Fixed calls to no_help and changed them to the more consistent
4508 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
4509 not 1. Code to temporarily disable NO_HELP when in the
4510 help system. (Adam Rogoyski)
4511- cut.c:
4512 do_marked_cut(), do_cut(), do_uncut():
4513 - Commented out unnecessary bits when NANO_SMALL is being used.
4514- winio.c:
4515 xpt(), strlenpt(), actual_x():
4516 - Added check for value of data[i] & 0x80, if so do not make
4517 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
4518 edit_refresh():
4519 - New check for temp == NULL (bad thing), if so go back to the
4520 previous line. New filestruct var hold points to prev line.
4521 Fixes segfault when paging down to the end of a file.
4522- nano.c:
4523 write_file():
4524 - Added check for if file exists and is not equal to the current
4525 filename, prompt for overwrite (Adam Rogoyski).
4526 do_down():
4527 - Removed check for current->next == NULL, now checks return value
4528 of do_down before setting current_x = 0 (discovered by Adam).
4529 do_justify():
4530 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00004531 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004532 by Adam).
4533- utils.c:
4534 - Removed extra macro defs that are now in nano.h.
4535- nano.h:
4536 - Changed macro SET() to use |= instead of ^=. Fixes bug in
4537 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00004538 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004539
4540nano-0.9.3 - 04/29/2000
4541- cut.c:
4542 do_marked_cut():
4543 - Fixed off by one error in cut code for marked text.
4544 do_cut_text():
4545 - Removed check for being on the last line, part of
4546 magic line code.
4547 add_to_cutbuffer():
4548 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
4549 - Added inptr->prev = NULL for case where cutbuffer == NULL.
4550- nano.c:
4551 do_backspace(), do_char():
4552 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00004553 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004554 at least one known segfault condition.
4555 do_enter():
4556 - Added setting editbot to new node if the new node is the last
4557 node in the file.
4558 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00004559 - Changed writing file behavior. Now, if last line of the file
4560 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004561- winio.c:
4562 add_marked_sameline():
4563 - New code that checks for whether the begin and end of the marker
4564 are on different lines. Missing previously.
4565 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00004566 - added some more checks for text length. Cleaned up some
4567 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004568 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00004569 - Removed check for temp == filebot, it is now treated like any other
4570 line. Fixes a bug where selected text on the last line shows
4571 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004572 xpt():
4573 - Removed an extra computation for tabs variable that was incorrect.
4574 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00004575 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004576 xpt(current, current_x)
4577- nano.1, nano.1.html:
4578 - Added -l option to man pages.
4579- configure.in:
4580 - New option --enable-tiny, #defines NANO_SMALL in config.h.
4581 Disables call to gettext in functions and other i18n stuff in
4582 nano.c, the detailed help mode, the resize functions, and the
4583 justify code which no one ever uses.
4584 - New option --with-slang. Enables slang libraries instead of
4585 ncurses, requires slcurses.h for wrapper functions. (Based
4586 on patches for 0.8.7 by Glenn McGrath).
4587
4588nano-0.9.2 - 04/15/2000
4589- This release just fixes the serious segfault problem if nano is
4590 invoked any way other than using the absolute path. The bug was
Chris Allegretta6df90f52002-07-19 01:08:59 +00004591 in the new code for checking whether nano is invoked as 'pico'.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004592
4593nano-0.9.1 - 04/14/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00004594- Added Pico compatibility for ^T when in search or switch to switch
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004595 to the opposite function. Added one to REPLACE_LIST_LEN and
4596 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00004597 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004598 to search_init(). Handlers in do_replace and do_search().
4599- New write code, now follows symbolic links instead of replacing them
4600 with the new file. New option (-l, --nofollow) to enable the old
4601 (incorrect, but secure) behavior (Adam Rogoyski).
4602- nano.c:
4603 do_wrap():
4604 - Fixed another bug relating to wrapping, and which would cause
4605 a segfault *sigh*.
4606 do_replace():
4607 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00004608 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004609 add_marked_sameline():
4610 - New function, handles marked text when start & end of marker is
4611 on one line, also supports most marked text when cursor > COLS.
4612 main():
4613 - Code to check if nano is invoked as 'pico', and if so
4614 automatically set pico_msgs (Robert Jones).
4615
4616nano-0.9.0 - 04/07/2000
4617- nano.1, nano.1.html: Updated man page with my email address and homepage.
4618- winio.c:
4619 reset_cursor(), update_line():
4620 - Changed update algorithm for x value to (COLS - 7) multiple when x
4621 value > (COLS - 2).
4622- edit_refresh():
4623 - Removed inner loop code, now calls update_line() for each line
4624 in question, MUCH nicer.
4625- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00004626 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004627 - Added check for data[i] < 32, most of such bits are 2 chars wide.
4628- update_line():
4629 - Fixed a stupid call to strlenpt with col when we should have
4630 been using actual_col. Ugh.
4631
4632nano-0.8.9 - 03/22/2000
4633- nano.c:
4634 empty_line(), no_spaces(), justify_format(), do_justify():
4635 Actually added these (screwup applying patch).
4636 do_justify(): Added call to set_modified().
4637
4638nano-0.8.8 - 03/12/2000
4639- Preliminary internationalization support. Many many functions modified
4640 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
4641 New dirs po/ and intl/, changes to configure.in and Automake.am to
4642 support i18n.
4643- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00004644 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004645 statics: Changed some things that were not necessarily static
4646 (Adam Rogoyski).
4647 nrealloc(): New function, similar to nmalloc(). Changed calls from
4648 realloc() to nrealloc (Adam Rogoyski).
4649 empty_line(), no_spaces(), justify_format(), do_justify():
4650 New functions for justify function (Adam Rogoyski).
4651- winio.c:
4652 blank_edit(): Added wrefresh call to edit so that screen updates (like
4653 on ^L) actually work.
4654 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
4655
4656nano-0.8.7 - 03/01/2000
4657- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00004658 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004659 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00004660 break the line exists, and for wrapping lines longer than
4661 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004662- nano.1.html:
4663 Html version of man page, now included in dist. For
4664 the benefit of nano packages in Linux distributions.
4665
4666nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00004667- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004668 shortcut_init():
4669 Added shortcuts for goto_line and do_replace when using
4670 pico_msgs. Oops.
4671- nano.c:
4672 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00004673 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004674 Removed check for backing up past spaces first.
4675 main(): Added for loop to check for alt keys instead of hard list.
4676 do_enter(): Fix for bug #14, added call to reset_cursor and messed
4677 up do_char quite a bit.
4678 version(): Added time and date stamp for compile on version message.
4679 Added mail and web page info.
4680- README: Updated mailing list info.
4681
4682nano-0.8.5 - 02/18/2000
4683- nano.c:
4684 main(): Finally fixed tilde being input on page up/down keys in
4685 certain terminal types. Fix was input 26->91->5[34] check
4686 for 126, if so make the kbinput PAGE UP/DOWN, else unget
4687 the keystroke and continue. Added #include <ioctl.h> for
4688 ioctl call.
4689 handle_hup():
4690 Handler for hangup signal. Belated include of patch from
4691 Tim Sherwood.
4692- winio.c:
4693 edit_refresh():
4694 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00004695 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004696 revamped.
4697 check_statblank():
4698 Added check for constupdate, makes things less choppy
4699 (Adam Rogoyski)
4700
4701nano-0.8.4 - 02/11/2000
4702- Moved global variables that were only (or mostly) used in one file into
4703 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
4704- global.c:
4705 shortcut_init():
4706 Removed redundant NANO_CONTROL_H from backspace shortcut,
4707 added char 127 which should have been there.
4708- nano.c:
4709 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
4710 segfaults (Adam Rogoyski).
4711- Makefile.am: Added all source filenames (Adam Rogoyski).
4712- nano.1: Fixed mail addressed and added mailing list address.
4713- README: Updated my email address and the nano web page.
4714
4715nano-0.8.3 - 02/08/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00004716- New Pico mode (-p, --pico), toggles (more) compatibility with the
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004717 Pico messages displayed in the shortcut list. Note that there are still
4718 small differences in this mode.
4719- nano.h: New shortcut struct format, for the benefit of i18n and
4720 our help menu. Removed shortcut message macros, they are
4721 now all in shortcut_init in global.c.
4722- nano.c:
4723 do_wrap(): Removed resetting of current_x when we are in fact
4724 wrapping to the next line, fixes a bug in -i mode.
4725 do_enter():
4726 Rewrote the autoindent mode code to be a lot less pretty,
4727 but a lot more magical.
4728 main():
4729 Removed case for ignoring char 126 (~). That's kind of
4730 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00004731 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004732 main switch loop in much snazzier fashion based on the
4733 shortcut list.
4734- winio.c:
4735 New function display_main_list. Affects all functions
4736 that used to call bottombars() with main_list. Added
4737 because we now only call bottombars with the macro
4738 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
4739 changes to the main_list shortcut list (see global.c below).
4740 New function do_help, our preliminary dynamic help system.
4741- Many many funcs:
4742 Changed from int to void to allow one uniform type to call
4743 from the shortcut struct. Also a few functions that do
4744 not simple have void argument have new functions called
4745 funcname_void(void) to be called from the shortcut list.
4746 do_cut_text and do_uncut_text were changed to void
4747 arguments because they were never called with a filestruct
4748 other than *current anyway.
4749- global.c:
4750 Shortcut list main_list was expanded to cover all
4751 shortcuts that could be caught in the main loop.
4752 Consequently there is a new macro MAIN_VISIBLE which tells
4753 how many items in the main list to actually show.
4754
4755nano-0.8.2 - 02/02/2000
4756- Added initial mouse (-m, --mouse) support. New global variable
4757 use_mouse. (Adam Rogoyski)
4758
Chris Allegretta88520c92001-05-05 17:45:54 +00004759- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004760 regardless. (Adam Rogoyski).
4761 do_delete():
4762 Deleted call to do_backspace() when on the end of a line,
4763 because it won't update the line properly.
4764 do_backspace():
4765 Removed unnecessary pointer manipulation that was being
4766 handled by unlink_node().
4767 open_file():
4768 Added check for trying to open a directory (currently we
4769 segfault on this). Bug pointed out by Chad Ziccardi.
4770
4771nano-0.8.1 - 01/28/2000
4772- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
4773 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
4774 global.c and proto.h.
4775- nano.c:
4776write_file(): Added (incredibly) necessary check for EPERM when
4777 link() fails. This allows us to actually save
4778 files via rename() on filesystems that dont
4779 support hard links (AIEEEEEE).
4780do_goto():
4781 Fixed a stupid mistake where we were calling
4782 bottombars() with replace_list instead of goto_list.
4783- nano.h:
4784 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00004785 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004786 for help function and i18n.
4787- global.c:
4788 New functions shortcut_init (called in nano.c) and
4789 sc_init_one() to initialize the shortcuts without
4790 using {}s (for i18n).
4791
4792nano-0.8.0 - 01/25/2000
4793- View flag (-v, --view) implemented. Global variable view_mode, affects
4794 main loop of nano.c and new_file(). (me)
4795- nano.c:
4796 split checks for TERMIOS_H and TERMIO_H up so we
4797 can (theoretically) include them both, which is good.
4798handle_sigwinch():
4799 Added check for ncurses.h. (Andy Kahn)
4800do_spell():
4801 We now only try ispell because we don't as of yet
4802 handle the 'spell' program the right way, now that
4803 I finally know what the right way is =-). Added
4804 call to edit_update(fileage) to stop segfaults.
4805global_init():
4806 Added initialization of edit* filestruct pointers
4807 to stop segfaults on spell check.
4808usage():
4809 Check for getopt_long, and if no leave out the
4810 GNU options everyone seems to love so much (Andy Kahn)
4811main():
4812 Added checks for getopt_long (Andy Kahn)
4813 We ignore character 126 because it gets put into
4814 the buffer when we page up/down on a vt terminal.
4815write_file():
4816 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00004817 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004818 better in the function comments. Fixed my
4819 stupidly commented out check for tmp on setting
4820 umask which I really like =>
4821- nano.h:
4822 Made desc variable in shortcut struct a pointer
4823 instead of a fixed-length string.
4824- utils.c:
4825 Fixed check for config.h before nano.h.
4826- configure.in:
4827 New checks for getopt_long, getopt.h, removed
4828 CFLAGS and LDFLAGS changes. Gonna have to run
4829 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00004830 Added check for HAVE_WRESIZE, new file acconfig.h
4831 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004832
4833nano-0.7.9 - 01/24/2000
4834- New autoindent feature. Command flag 'i' or '--autoindent'. New
4835 function do_char() to clean up character output, global
4836 variable autoindent in global.c. (Graham Mainwaring)
4837- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
4838 files on exit without prompting. Affects do_writeout(). Also
4839 do_writeout() now takes a parameter for if exiting.
4840 Global variable temp_opt in global.c (Graham Mainwaring)
4841- Preliminary spell program support. Added command flag '-s' or
4842 '--speller' for alternative speller command. Added function do_spell()
4843 and exit_spell() to nano.c. New global variable alt_speller.
4844- nano.c:
4845 main(): We now ignore input of decimal 410 because these get entered
4846 when we resize the screen. Sorted options in getopt()
4847 switch statement.
4848 usage(): Sorted options and changed tabs to make room for -s option.
4849 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
4850 doesn't print the number of lines written on the statusbar.
4851 global_init():
4852 Added more initializations to globals to support do_spell().
4853
4854nano-0.7.8 - 01/23/2000
4855- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00004856- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004857 and main() in nano.c
4858- Removed redundant reset_cursor() calls from the blank() routines.
4859- nano.c:
4860 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
4861 Removed check for isprint() characters in main while loop
4862 for people with odd character sets *shrug*. Added some X
4863 window F-key combos.
4864 read_line(): New function, consolidates of most of the special
4865 sections of the file reading code. (Rob Siemborski)
4866 do_replace(): Many scattered fixes. (Rob Siemborski)
4867 write_file(): Added check for empty filename.
4868- winio.c:
4869 nanogetstr(): Fixes for deleting at places other than the end of the
4870 buffer, cut support. (Adam Rogoyski)
4871 blank_edit(): New function, blanks edit buffer. Added call to it in
4872 total_refresh().
4873- configure: Checks for glib if snprintf of vsnprintf aren't available
4874 (Andy Kahn). Changed warning message when no termcap lib
4875 is found.
4876
4877nano-0.7.7 - 01/19/2000
4878- Option '-v' for version moved to '-V', because -v is Pico's "read only"
4879 mode (affects getopt() in main() and usage() function in nano.c
4880- New flag -c, always show cursor position. Affects main() in nano.c and
4881 statusbar() in winio.c
4882- Option '-x' doesn't show help window at the bottom of the editor.
4883 New variable no_help in nano.h and proto.h, affects main(), usage(),
4884 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
4885 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
4886 hand =P) (Adam Rogoyski)
4887- nano.c:
4888 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
4889 page_up(), page_down():
4890 - New functions. We now set the cursor at the top right corner,
4891 not at the center line, and page up and down a full screen
4892 rather than a half screen. Original functions renamed to
4893 page_up_center() and page_down_center().
4894 main():
4895 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
4896 in main while loop because suspend mode was broken. This should
4897 fix it, at least for now.
4898 - Added long option support (By popular harassment ;-) - Added
4899 #include for getopt.h, changed getopt() to getopt_long().
4900 Options added so far: --version (-V), --nowrap (-w), --suspend
4901 (-z), --help (-h), --nohelp (-x).
4902 - Rewrote signal statements (Adam Rogoyski)
4903
4904nano 0.7.6 - 01/15/2000
4905- New ChangeLog format
4906- nano.c:
4907 main(): Bound CONTROL_H to backspace (oops)
4908 Added more Alt-[-key combinations, for page up & down.
4909 read_bytes(): New function (Adam Rogoyski)
4910 read_file(): Optimizations - malloc()s *buf a little at a time rather
4911 than one huge buffer, and replaced the strcat at the end
4912 with an index variable. Added call to read_bytes().
4913 do_next_word(): New function, binding is control-space (0) (me)
4914
4915- winio.c:
4916 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
4917 (formula is extra space needed = COLS / 6 - 13).
4918 actual_x() & strlenpt():
4919 Added bug#9 fix - when tabs % 8 == 0, we should only
4920 increment tabs by 1.
4921 titlebar(): Fixed overrun in titlebar on very long filenames.
4922
49230.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
4924 writing a newline at EOF. do_cursorpos and do_replace are now not
4925 directly bound to signals but picked up as their control sequences
4926 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
49270.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
4928 available memory, align bug fixed (Big Gaute).
4929
4930--- As of version 0.7.4 TIP is renamed to nano.
4931
49320.7.3 Fixed a double blank_statusbar() when jumping to first and last
4933 lines. Took out unnecessary updates in load_file. Bug fix in
4934 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00004935 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004936 with replace all, more/better comments (Robert Siemborski)
49370.7.2 Our first patch accepted into the source! configure fixes
4938 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
4939 Bug fix in update_line for editing long lines. Fixed arguments
4940 being put into the filename when none is specified. Preliminary
4941 +line command argument function.
49420.7.1 configure tweak for better FreeBSD support. Removed refresh() from
4943 edit_refresh to stop cursor "jumping" during screen updates. This
4944 will probably cause a bug or two. Replace is now Alt-R (@R) and
4945 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
4946 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
4947 Control-G will become the Help key, but for now is stubbed out.
49480.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
4949 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
4950 length file. Added Esc-[-A,B,C,D cursor key sequences.
49510.6.9 Preliminary cursor position function. Split up tip.c more, made
4952 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
4953 that was leaving out a character.
49540.6.8 By request, optchr in main() is now an int. Removed unneeded
4955 globals. Bound functions for next/prev page, and wrote functions
4956 do_home and do_end.
49570.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
4958 created read_file. Implemented Insert File. Fixes in tipgetstr
4959 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
49600.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
4961 aborted searches and more Pico-compatible messages. statusq() now
4962 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
49630.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
4964 regarding buffers with filebot in them. Fixins in do_backspace
4965 and do_enter. Removed unused variables. Removed strip_newline.
49660.6.4 Took out the awful newlines from each string buffers. This will
4967 certainly cause more bugs. Fixes in do_exit(). Better empty file
4968 handling (I hope).
49690.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
4970 do_enter() rewritten.
49710.6.2 Better default file permissions. Complete rewrite of do_wrap().
4972 Better handling of editing with cursor near COLS - 1.
49730.6.1 Starting to implement wrapping toggle. Fix for unhandled control
4974 codes being entered into the buffer. Bug fix in actual_x; more
4975 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00004976 locked into cutbuffer when cutting more than one marked screen of
4977 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000049780.6.0 We have TABs!!! To do this, placewewant is now set to the actual
4979 width on the screen we want to be, not an index of current->data.
4980 New functions xplustabs and actual_x convert the actual place
4981 the cursor should be on the screen to and from the place in the
4982 string.
49830.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00004984 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004985 arrow. Preliminary support for longer than COLS - 1 lines.
4986 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000049870.5.4 Fixed a bug in total_update that wasn't repainting the screen
4988 properly. tipgetstr is much more messy but text is now more
4989 editable ;) Fixed crash on entering a new file, hopefully. Awful
4990 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000049910.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
4992 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00004993 I would not trust your data with the mark code right now, but then
4994 we're not at version 1.0 yet so dont trust anything ;)
49950.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004996 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00004997 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004998 but does not actually affect what gets put in the cutbuffer (yet).
49990.5.1 Writing a file out causes modified to be set back to 0. Good.
5000 Set_modified function written. Cut and uncut text now set
5001 modified when called.
50020.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00005003 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00005004 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00005005 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000050060.4.2 Implemented replace all in replace function. Crude exit function
5007 (asks yes or no if modified but does not write to file).
50080.4.1 Implementing search & replace. Fixed crash on deleting at top of
5009 edit buffer. Implemented "timeout" of statusbar messages.
5010 Implemented ^A and ^E (beginning and end of line).
50110.4.0 Split code into global.c and proto.h to allow for better multiple
5012 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00005013 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000050140.3.1 Write edit_refresh which doesn't move the screen around, just
5015 updates what's there already. do_wrap() and do_enter() added.
50160.3.0 Preliminary cutbuffer (cut and uncut) support.
50170.2.7 Check for Modification added. do_search() works.
50180.2.5 Rewrite of file data struct.
50190.2 Read in data to buffer, bound keystrokes to stub functions,
5020 initial cursor movement on screen. Initial autoconf support.
50210.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00005022
5023$Id$