blob: dbcc8f85b2ae3eda06e6e22269ac4dff8963ff12 [file] [log] [blame]
David Lawrence Ramsey013e8d12004-08-17 20:44:31 +00001CVS code -
David Lawrence Ramseya0b5ba22004-08-25 15:39:10 +00002- General:
3 - Convert more ints that hold only TRUE and FALSE values to
4 bools. (DLR)
5 - Consolidate the code for finding a shortcut in a shortcut
6 list, the code for finding a toogle in a toggle list, and
7 the code for doing both of those and interpreting mouse clicks
8 in the edit window. Also move the code for do_mouse() to
9 get_edit_mouse() and tweak it to properly handle cases where a
10 shortcut isn't clicked. New functions get_shortcut(),
11 get_toggle(), get_edit_input(), and get_edit_mouse(); changes
12 to do_browser(), do_justify(), do_help(), and main(). (DLR)
David Lawrence Ramseyd1322102004-08-26 04:22:54 +000013 - Simplify a few more translated messages. (DLR)
David Lawrence Ramsey146bb602004-08-27 21:02:38 +000014- files.c:
15 do_insertfile()
16 - Readd the NANO_SMALL #ifdef around the start_again: label to
17 avoid a warning. (DLR)
David Lawrence Ramseya16b27f2004-08-26 01:29:25 +000018- global.c:
19 shortcut_init()
20 - Remove redundant NANO_SMALL #ifdef. (DLR)
David Lawrence Ramsey50c7f2d2004-08-27 17:02:05 +000021- nano.c:
22 do_para_begin(), do_para_end()
David Lawrence Ramseyc5100422004-08-27 20:28:34 +000023 - Maintain current_y's value when moving up or down lines so
24 that smooth scrolling works correctly. (DLR)
David Lawrence Ramsey19420aa2004-08-18 16:14:18 +000025- rcfile.c:
26 parse_rcfile()
27 - Add missing brackets around an if statement block so that
28 parsing the numeric argument after "tabsize" works properly
29 again. (DLR, found by Mike Frysinger)
David Lawrence Ramseyc5100422004-08-27 20:28:34 +000030- search.c:
31 findnextstr()
32 - Take the no_sameline parameter after can_display_wrap and
33 wholewords, not after all other parameters. (DLR)
34 - Maintain current_y's value when moving up or down lines so
35 that smooth scrolling works correctly. (DLR)
David Lawrence Ramseya0b5ba22004-08-25 15:39:10 +000036- winio.c:
David Lawrence Ramseydfca1c42004-08-25 16:37:06 +000037 unget_kbinput()
38 - New function used as a wrapper for ungetch(). (DLR)
David Lawrence Ramseya0b5ba22004-08-25 15:39:10 +000039 get_mouseinput()
40 - Consolidate two if statements to increase efficiency. (DLR)
David Lawrence Ramseyfe0d3662004-08-26 01:43:16 +000041 - Check kbinput against metaval instead of (erroneously) ctrlval
42 when putting back a meta sequence. (DLR)
43 - If there are more than MAIN_VISIBLE shortcuts available, only
44 register clicks on the first MAIN_VISIBLE shortcuts, since
45 bottombars() only shows that many shortcuts. (DLR)
David Lawrence Ramsey50c7f2d2004-08-27 17:02:05 +000046 edit_refresh()
47 - Call edit_update() with NONE instead of CENTER when smooth
48 scrolling is on, for consistency with the movement routines.
49 (DLR)
David Lawrence Ramsey20b83502004-08-26 18:07:58 +000050 edit_update()
51 - Simplify so as not to require the fileptr parameter anymore,
52 since it's set to current in all calls. (DLR)
David Lawrence Ramsey50c7f2d2004-08-27 17:02:05 +000053 - Add comments better explaining what the update actually does,
54 avoid an infinite loop when location is NONE and current_y is
55 greater than (editwinrows - 1), and make sure that the bottom
56 line of the file is at the bottom line of the screen if it's
57 onscreen and location is NONE. (DLR)
David Lawrence Ramseya0b5ba22004-08-25 15:39:10 +000058 do_yesno()
59 - Don't bother assigning the value of get_mouseinput() to
60 anything. Since allow_shortcuts is FALSE, its return value
61 will always be FALSE. (DLR)
David Lawrence Ramsey013e8d12004-08-17 20:44:31 +000062
David Lawrence Ramseyc6718cf2004-08-17 20:38:44 +000063GNU nano 1.3.4 - 2004.08.17
David Lawrence Ramseyebd0d7c2004-07-01 18:59:52 +000064- General:
65 - More minor comment cleanups. (DLR)
David Lawrence Ramseyce62e822004-08-05 22:10:22 +000066 - Convert more ints and functions using 0 and 1 to bools using
67 TRUE and FALSE. (David Benbennick and DLR)
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +000068 - Change more instances of ints that have large enough upper
69 bounds and which can never be negative to size_t's, and
70 convert nano to handle them properly. (DLR)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +000071 - Convert the shortcut list functions and most related functions
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +000072 to return void instead of int, as the return values of all
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +000073 those functions are essentially unused. Changes to
74 sc_init_one(), shortcut_init(), etc. (David Benbennick and
75 DLR)
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +000076 - Make flags and all variables meant to store the value of flags
77 longs for consistency. (David Benbennick)
78 - Rename the TEMP_OPT flags to TEMP_FILE, as it's more
79 descriptive. (DLR)
David Lawrence Ramseya5dda842004-07-08 15:27:04 +000080 - Remove unused global variable search_offscreen. (David
81 Benbennick)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +000082 - Add new N_() macro to mark strings that aren't translated
83 immediately, and convert nano to use it in cases where the
David Lawrence Ramsey76f63ff2004-08-05 15:45:09 +000084 translated string is stored in a const char*. Changes
85 to sc_init_one(), print1opt(), help_init(), rcfile_error(),
86 do_credits(), etc. (David Benbennick) DLR: Do this for
87 toggle_init_one() too.
88 - Minor tweaks and clarifications to some option descriptions.
89 (DLR)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +000090 - Overhaul the shortcut list and toggle list initialization
91 code for efficiency. Changes to shortcut_init() and
92 toggle_init(). (David Benbennick) DLR: Move "Cancel" to just
93 after "Get Help" in the file browser list, for consistency
94 with all the other lists, have the replace list accept all the
95 same function keys as the search list, and clarify a few
96 shortcut descriptions.
David Lawrence Ramsey49c3f242004-07-12 16:07:14 +000097 - Convert nano to use the new parse_num() function to read in
98 numeric values at the command line and in the rcfile, and
99 duplicate the messages used in the rcfile in the command line
David Lawrence Ramseyc53ab2a2004-08-04 18:24:53 +0000100 for consistency. (David Benbennick) DLR: Tweak parse_num() to
101 parse ssize_t values instead of ints and to return a bool
102 indicating whether parsing succeeded. Convert tabsize,
David Lawrence Ramsey49c3f242004-07-12 16:07:14 +0000103 wrap_at, and fill to ssize_t in order to work with
104 parse_num() properly and also to increase their capacity
105 while keeping the ability to hold negative numbers in case of
106 errors. Also exit instead of calling usage() in the event of
107 an invalid fill value, for consistency with how an invalid
David Lawrence Ramsey36dd87b2004-07-18 17:43:43 +0000108 tabsize value is handled. Finally, handle invalid tabsize
David Lawrence Ramsey04419b92004-07-18 18:13:54 +0000109 entries in the rcfile the same way as on the command line,
110 and reset tabsize and wrap_at to their default values if
111 invalid rcfile entries are specified for them.
David Lawrence Ramseyaea4dab2004-07-13 17:09:24 +0000112 - Remove several unnecessary reset_cursor() calls. (David
113 Benbennick)
David Lawrence Ramseyfd3039a2004-07-17 19:49:12 +0000114 - Include <sys/types.h> in proto.h. (David Benbennick) DLR:
115 Remove some redundant inclusions of <sys/types.h> elsewhere.
David Lawrence Ramsey8aaf0302004-07-27 16:46:35 +0000116 - Move the main terminal initialization functions, aside from
117 initscr(), into a new terminal_init() function, and convert
118 nano to use it. (DLR)
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +0000119 - Convert placewewant to a size_t, and convert some functions
120 that use it as a parameter to use size_t as well. (David
121 Benbennick and DLR)
David Lawrence Ramsey819c7f02004-07-30 03:54:34 +0000122 - Overhaul the paragraph searching code and some of the justify
123 code to clarify it and fix a bug where searches from the
124 previous paragraph would move up too far. Also make
125 quotestr-related variables global so that they only have to be
126 compiled once, and remove the no-longer-needed IFREG() macro.
127 New functions begpar() and inpar(); changes to quote_length(),
128 quotes_match(), do_para_search(), do_para_begin(),
129 do_para_end(), and do_justify(). (David Benbennick)
David Lawrence Ramseya6d26d02004-07-30 22:52:44 +0000130 - Readded the errors flag and moved the ending prompt from
131 rcfile_error() to parse_rcfile() so that we only get prompted
132 once for all errors instead of separately for each error.
David Lawrence Ramsey7dfec432004-08-12 15:20:14 +0000133 (DLR) David Benbennick: Make sure that no rcfile error
134 messages end in newlines, and show the ending prompt if we
135 can't read the .nano_history file while starting nano.
David Lawrence Ramseyb8c479a2004-07-31 14:10:23 +0000136 - Don't treat the return value of strn?(case)?cmp() as boolean.
137 (DLR and David Benbennick)
David Lawrence Ramsey76fb3ec2004-08-01 16:09:15 +0000138 - Automatically install a symlink "rnano" pointing to nano.
139 Changes to src/Marefile.am. (DLR)
David Lawrence Ramsey22fac782004-08-05 15:16:19 +0000140 - Move the static int pid to the beginning of nano.c with all
141 the other static variables. (DLR)
David Lawrence Ramsey00d77982004-08-07 21:27:37 +0000142 - Consolidate some if blocks to remove some redundant code.
143 (David Benbennick)
David Lawrence Ramsey73cd1a52004-08-05 21:57:48 +0000144 - Fix warnings when compiling with ENABLE_NLS undefined and with
145 -the fwritable-strings option. (David Benbennick)
David Lawrence Ramsey00d77982004-08-07 21:27:37 +0000146 - Add various #ifdefs to fix warnings and compilation problems
147 when compiling with every option manually turned on, including
148 NANO_SMALL. (David Benbennick)
David Lawrence Ramsey6420d442004-08-11 05:13:08 +0000149 - Simplify some of the rcfile and statusbar error messages, and
150 make some of them more consistent. (David Benbennick and DLR)
151 - Change some functions to take const char*'s instead of char*'s
152 where possible. (David Benbennick)
David Lawrence Ramseybb50b302004-08-12 21:43:00 +0000153 - Tweak some #ifdefs around indent_length() and references to
154 fill_flag_used to avoid warnings when compiling with
David Lawrence Ramseydf13e3b2004-08-12 19:48:21 +0000155 --disable-wrapping, --disable-justify, or a combination of the
156 two. (DLR)
David Lawrence Ramseya27bd652004-08-17 05:23:38 +0000157 - Overhaul the routines used to read the rcfiles and history
158 files for efficiency, make them work properly on lines over
159 1023 characters long and on lines containing nulls, and make
160 them properly handle the case where the user's home directory
161 changes in the middle of a session. New functions
162 histfilename() and writehist(); changes to
163 thanks_for_all_the_fish(), load_history(), save_history(), and
164 do_rcfile(). (David Benbennick)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +0000165- files.c:
David Lawrence Ramsey049e4a52004-08-10 23:05:59 +0000166 get_next_filename()
167 - Tweak for efficiency, and add the ".save" suffix to the file
168 here. (David Benbennick)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +0000169 close_open_file()
170 - Tweak to no longer rely on the return values of
171 open_(prev|next)file(). (DLR)
David Lawrence Ramseyc8c69d52004-07-03 03:22:23 +0000172 write_file()
173 - For consistency with nano 1.2.x and with other editors, make
174 the mode of newly created files 666 instead of 600 before
175 it's modified by the umask. (DLR)
David Lawrence Ramseyf7b5d932004-07-05 14:27:29 +0000176 do_writeout()
David Lawrence Ramsey6420d442004-08-11 05:13:08 +0000177 - If we're in restricted mode and the current filename isn't
David Lawrence Ramseyf7b5d932004-07-05 14:27:29 +0000178 blank, we can't change it, so disable tab completion in that
179 case. (DLR)
David Lawrence Ramsey1536f862004-07-24 16:50:20 +0000180 - Fix spacing problem in the "Save Under Different Name"
181 prompt. (DLR)
David Lawrence Ramseya539fce2004-06-29 00:43:56 +0000182- global.c:
183 shortcut_init()
184 - Fix erroneous #ifdef so that nano compiles with
David Lawrence Ramseya27bd652004-08-17 05:23:38 +0000185 --disable-justify again. (DLR, found by Mike Frysinger)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000186 - Change the Cancel shortcut in the file browser to an Exit
187 shortcut, to be more compatible with the current version of
188 Pico. (DLR)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +0000189 thanks_for_all_the_fish()
190 - Delete topwin, edit, and bottomwin. (David Benbennick)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +0000191- nano.c:
David Lawrence Ramsey049e4a52004-08-10 23:05:59 +0000192 die()
193 - Don't add the ".save" suffix to a saved file here anymore,
194 since get_next_filename() does that now. (David Benbennick)
195 die_save_file()
196 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramseyce62e822004-08-05 22:10:22 +0000197 help_init()
198 - Fix the display of the translated key descriptions "Up" and
199 "Space" under all circumstances, and make the help browser
200 work properly when there are fewer than 24 columns available.
201 (David Benbennick)
David Lawrence Ramsey22fac782004-08-05 15:16:19 +0000202 usage()
203 - Don't translate the option strings for -Z/--restricted.
204 (David Benbennick)
David Lawrence Ramsey9ef3adb2004-07-30 17:30:17 +0000205 do_enter()
206 - Don't treat it as a special case when the user presses Enter
207 on the last line of the screen and smooth scrolling is on, for
208 consistency. (DLR)
David Lawrence Ramsey8aaf0302004-07-27 16:46:35 +0000209 do_alt_speller()
210 - When reloading the newly spell-checked temporary file, call
211 terminal_init() to make sure that all the original terminal
212 settings are restored, as a curses-based alternative spell
213 checker (e.g. aspell) can change them. (DLR)
David Lawrence Ramseyb8c479a2004-07-31 14:10:23 +0000214 quote_length()
215 - Fix problem where quoted justify wouldn't work if HAVE_REGEX_H
216 wasn't set. (David Benbennick)
David Lawrence Ramsey01a6bf42004-07-03 05:23:19 +0000217 do_justify()
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000218 - Add allow_respacing flag, used to indicate when we've moved to
David Lawrence Ramsey46938642004-07-03 14:15:58 +0000219 the next line after justifying the current line, and only run
220 the respacing routine when it's true. This keeps the
221 respacing routine from erroneously being run more than once on
222 the same line. (DLR)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000223 - Check for first_par_line's not being NULL and only run the
224 renumbering and cutbuffer-splicing routines depending on that
225 if that's the case. This fixes a segfault occurring when
226 trying to do full justification on a file with no paragraphs
227 (in which case there are no normal lines to renumber and no
228 backed-up lines to be stored in the cutbuffer or spliced back
229 in during unjustify). (DLR)
David Lawrence Ramsey72e51ab2004-07-02 14:31:03 +0000230 do_exit()
231 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramseyaea4dab2004-07-13 17:09:24 +0000232 main()
233 - Move the reset_cursor() call to the beginning of the main
234 input loop, and remove the apparently unnecessary wrefresh()
235 call. (David Benbennick)
David Lawrence Ramseyad1fd0d2004-07-27 15:46:58 +0000236 - Call setlocale() outside the ENABLE_NLS #ifdef, since UTF-8
237 support won't work properly if the locale isn't set, whether
238 NLS is enabled or not. (Junichi Uekawa)
David Lawrence Ramsey6b248562004-08-07 22:33:14 +0000239 - Add titlebar() calls before all open_file() calls and remove
240 the titlebar() call after them, so that the titlebar is
David Lawrence Ramsey69a28122004-08-12 04:34:00 +0000241 displayed properly for all file(s) loaded. Also call
242 display_main_list() after adding the first file to open_files,
243 so that "Close" is properly displayed then instead of "Exit".
244 (DLR)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000245- nano.h:
246 - Reassign the key for full justification to Ctrl-U, for
247 compatibility with the current version of Pico. (DLR)
David Lawrence Ramsey819c7f02004-07-30 03:54:34 +0000248 - Remove justbegend enum, as it's no longer needed. (DLR)
David Lawrence Ramseyebd0d7c2004-07-01 18:59:52 +0000249- proto.h:
David Lawrence Ramseyf7080372004-07-08 17:15:10 +0000250 - Change the variables in the prototypes for do_justify(),
251 get_verbatim_kbinput(), and get_mouseinput() to match the ones
252 used in the actual functions. (DLR)
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +0000253 - Remove unused declaration of temp_opt. (David Benbennick)
David Lawrence Ramsey819c7f02004-07-30 03:54:34 +0000254 - Add missing copy_file() prototype. (David Benbennick)
David Lawrence Ramsey6420d442004-08-11 05:13:08 +0000255 - Move the load_history() and save_history() prototypes up to
256 match their corresponding location in files.c. (DLR)
David Lawrence Ramseydb357a12004-06-29 12:36:25 +0000257- rcfile.c:
David Lawrence Ramsey576bf332004-07-12 03:10:30 +0000258 rcfile_msg()
David Lawrence Ramseya27bd652004-08-17 05:23:38 +0000259 - Removed and replaced with calls to rcfile_error(). (David
260 Benbennick)
David Lawrence Ramsey576bf332004-07-12 03:10:30 +0000261 - Removed the reference to "starting nano" in the statusbar
262 message, as it may be called when we exit if the history file
263 can't be saved. (DLR)
David Lawrence Ramseydb357a12004-06-29 12:36:25 +0000264 parse_rcfile()
265 - Have whitespace display default to off instead of on. (Mike
266 Frysinger)
David Lawrence Ramseyedab0cc2004-07-03 03:09:12 +0000267 nregcomp()
268 - Rename the variable flags to eflags so as not to conflict with
269 the global flags. (DLR)
David Lawrence Ramseyf56cc9e2004-07-29 14:32:17 +0000270- search.c:
271 do_replace_loop()
272 - Make sure old_pww is updated to the current value of
273 placewewant when a new match is found, so that edit_redraw()
274 will redraw the screen properly when only placewewant changes.
275 (DLR, found by Mike Frysinger)
David Lawrence Ramsey90625792004-07-30 20:21:34 +0000276 do_replace()
277 - Instead of using edit_update() to redraw the screen with
278 edittop at the top, set edittop beforehand and call
279 edit_refresh(). (DLR)
280 do_gotoline()
281 - Use parse_num() to interpret a line entered by the user, and
282 start the search for a line from current instead of fileage.
283 (DLR)
David Lawrence Ramsey6420d442004-08-11 05:13:08 +0000284 do_gotopos(), find_node(), free_history()
David Lawrence Ramsey90625792004-07-30 20:21:34 +0000285 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey6420d442004-08-11 05:13:08 +0000286 free_history()
287 - Only include when DEBUG is defined. (David Benbennick)
David Lawrence Ramsey49c3f242004-07-12 16:07:14 +0000288- utils.c:
289 parse_num()
290 - New function to parse numeric values, so that we don't have to
291 duplicate code that calls strtol() all over the place. (David
292 Benbennick) DLR: Renamed from parse_int() to parse_num() and
293 converted to use ssize_t instead of int.
David Lawrence Ramsey6420d442004-08-11 05:13:08 +0000294 nstrnicmp()
295 - Remove code chacking for n's being less than 0 that will never
296 be run, since n is a size_t and is hence unsigned. (David
297 Benbennick)
David Lawrence Ramseya27bd652004-08-17 05:23:38 +0000298 ngetdelim(), ngetline()
299 - New functions equivalent to getdelim() and getline(), which
300 are both GNU extensions. (DLR, adapted from GNU mailutils
David Lawrence Ramseyb4041d62004-08-17 16:04:48 +0000301 0.5 with minor changes to better integrate with nano and
302 increase efficiency)
David Lawrence Ramseycff55582004-06-30 12:28:15 +0000303- winio.c:
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +0000304 get_kbinput()
David Lawrence Ramseya27bd652004-08-17 05:23:38 +0000305 - Since the only valid values for escapes are 0, 1, and 2,
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +0000306 convert it to an int. (DLR)
David Lawrence Ramseycff55582004-06-30 12:28:15 +0000307 get_control_kbinput()
308 - Fix erroneous debugging statement so that nano compiles with
309 --enable-debug again. (Jon Oberheide)
David Lawrence Ramsey0fb841a2004-07-01 17:04:23 +0000310 nanogetstr()
311 - Tweak the code to update the edit window just before getting
312 statusbar input for efficiency, and update bottomwin just
313 before then too. (David Benbennick)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000314 - Don't delete the statusbar line on UnCut, since the current
315 version of Pico doesn't. (DLR)
David Lawrence Ramsey86e851b2004-07-28 20:46:25 +0000316 do_cursorpos()
317 - Add assert to check whether totsize is correct. (David
318 Benbennick)
David Lawrence Ramsey8037fe02004-07-23 12:30:40 +0000319 line_len()
320 - Rename to help_line_len() so as not to conflict with the
321 line_len variable used elsewhere, and move inside the
322 DISABLE_HELP #ifdef surrounding do_help() since it's only
323 called in do_help(). (DLR)
324 do_help()
325 - Have help_line_len() properly return an int again, since its
326 value can't be larger than COLS. (DLR)
327 - Allow the user to exit the help browser via Ctrl-C as well as
328 Ctrl-X, for consistency with the file browser. (DLR)
David Lawrence Ramsey76fb3ec2004-08-01 16:09:15 +0000329- configure.ac:
330 - Add AC_PROG_LN_S, so that we can portably create symlinks.
331 (DLR)
David Lawrence Ramseya27bd652004-08-17 05:23:38 +0000332 - Check for getdelim() and getline(), which are both GNU
333 extensions. (DLR)
David Lawrence Ramsey7d3817f2004-07-28 13:03:06 +0000334- nanorc.sample:
335 - Add sample regexes for patch files. (Mike Frysinger)
David Lawrence Ramsey2d140c22004-07-28 13:50:43 +0000336 - Various improvements to the "c-file" regexes. Add double,
337 typedef, extern, union, unsigned, inline, and long to the
338 green list. (Mike Frysinger) DLR: Also add signed, short, and
339 enum to the green list.
David Lawrence Ramsey8bf9ba02004-08-01 22:00:29 +0000340- nano.spec.in:
341 - Tweak to include all files in %{_bindir} instead of just nano,
342 so that the "rnano" symlink will be properly packaged. (DLR)
David Lawrence Ramseyd36715e2004-06-28 13:23:37 +0000343
David Lawrence Ramseye1151562004-06-28 13:17:33 +0000344GNU nano 1.3.3 - 2004.06.28
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000345- General:
346 - Minor comment cleanups. (DLR)
David Lawrence Ramsey604caf32004-04-19 02:44:13 +0000347 - Convert more ints used as boolean values to use TRUE and
348 FALSE. (David Benbennick)
David Lawrence Ramsey5520e852004-04-07 00:44:35 +0000349 - Make sure the special control keys are handled the same way
350 after the window is resized or we come out of suspend mode.
351 Changes to do_cont() and handle_sigwinch(). (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000352 - Change some instances of ints that can never be negative to
353 size_t's. (DLR)
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000354 - Add better explanations for and in the "Terminal breakage"
355 comments, and handle missing key #ifdefs inside the functions
356 that use those keys. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000357 - Add restricted mode, accessible via the -Z/--restricted
358 command line option or by invoking nano with any name
359 beginning with 'r' (e.g. "rnano"). In restricted mode, nano
360 will not read or write to any file not specified on the
361 command line, read any nanorc files, allow suspending, or
362 allow a file to be appended to, prepended to, or saved under a
363 different name if it already has one. (IO ERROR) DLR: Also
364 disable backup files and spell checking (since the latter can
365 leave a pre-spell-checked version of the file in a temporary
366 directory), use tail() to get the program name so that the
367 check for its beginning with 'r' will work when a path is
368 specified, disable toggles that are only useful with options
369 that are disabled in restricted mode, call nano_disabled_msg()
370 when trying to read or spell check a file instead of leaving
371 the shortcuts out of the main list, and instead of acting as
372 though TEMP_OPT is enabled when exiting with a modified file
373 (which caused problems if the filename was blank), only allow
374 a filename to be modified at the writeout prompt if it's blank
375 beforehand. Changes to do_writeout(), toggle_init(),
376 shortcut_init(), die_save_file(), and nanogetstr().
377 - Call nano_disabled_msg() directly from the shortcut list
378 instead of inside the disabled functions. (David Benbennick)
David Lawrence Ramsey0381c212004-05-01 01:21:38 +0000379 - Clarifications to comments explaining exactly what control
380 characters and escape sequences are supported. (DLR)
David Lawrence Ramsey5aa39832004-05-05 21:36:50 +0000381 - Disable "Where Is Next" in tiny mode. (DLR)
David Lawrence Ramsey8d3e7f32004-05-13 17:28:03 +0000382 - Added the ability to justify the entire file at once, which
David Lawrence Ramsey91bc83a2004-06-25 01:52:10 +0000383 Pico has via ^W^J. Changes to backup_lines() and
384 do_justify(); new functions do_justify_void() and
385 do_full_justify(). (DLR)
David Lawrence Ramsey1cadddd2004-05-17 20:32:51 +0000386 - Modify the justification algorithm to work the same way as in
387 the current version of Pico, i.e, add a space at the end of
David Lawrence Ramseya9a6ce02004-06-05 22:09:56 +0000388 each line of the justified paragraph except for the last one,
389 and if there was a space at the end of the last one, remove
David Lawrence Ramsey2b6c3012004-06-10 01:35:02 +0000390 it. Changes to justify_format() and do_justify(). Note that
391 we can no longer reliably detect the first modified line in a
392 paragraph, since a line unmodified by justify_format() may get
393 a space tacked onto the end of it or removed from the end of
394 it later. The entire original paragraph is now always backed
395 up, and justify_format() no longer has a non-modifying mode,
396 so it's now only called in backup_lines(). (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000397 - Wrap the long jump code in NANO_SMALL #ifdefs, since we only
398 use it if we're resizing the window, which is disabled when
399 NANO_SMALL is defined. (DLR)
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000400 - Add smart home key option, accessible via -A/--smarthome on
401 the command line, "set smarthome" in the rcfile, and the
402 Meta-H toggle in the edit window. Smart home works as
403 follows: When Home is pressed anywhere but at the very
404 beginning of non-whitespace characters on a line, the cursor
405 will jump to that beginning (either forwards or backwards).
406 If the cursor is already at that position, it will jump to the
407 true beginning of the line. This option is disabled in tiny
408 mode. Changes to do_home(), nanogetstr(), etc. (DLR;
409 suggested by Stephan T. Lavavej)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000410 - Minor tweaks to the punctuation in some statusbar messages.
411 (DLR)
David Lawrence Ramsey48ae9862004-05-28 17:23:33 +0000412 - Overhaul the low-level input routines into main routines that
413 actually get the input and state machines that interpret the
414 input. This allows better handling of the input (e.g. ignored
415 keys are now always ignored instead of just being ignored when
416 there are no escapes prefixing them) and will make it easier
417 to port to interfaces that don't have blocking input. New
418 functions reset_kbinput(), get_translated_kbinput(),
419 get_control_kbinput(), and get_untranslated_kbinput(); changes
420 to do_verbatim_input(), handle_sigwinch(), get_kbinput(),
421 get_ascii_kbinput(), get_escape_seq_kbinput(), and
David Lawrence Ramsey7ea39ef2004-06-04 22:36:42 +0000422 get_verbatim_kbinput(); removal of get_ignored_kbinput() and
423 get_accepted_kbinput(). (DLR)
David Lawrence Ramsey2ed225f2004-05-28 20:44:09 +0000424 - Overhaul all the movement functions in order to avoid
425 redundant screen redraws (and regexec()s when color support is
426 available) whenever possible during ordinary cursor movement
427 when the text doesn't change. Do the same for moving in
428 do_char(), do_delete(), do_next_word(), do_prev_word(),
429 do_search(), do_research(), and do_replace_loop. Changes to
430 do_first_line(), do_last_line(), do_home(), do_end(),
431 do_page_up(), do_page_down(), do_up(), do_down(), do_left(),
432 do_right(), do_delete(), do_backspace(), do_search(),
433 do_research(), do_replace_loop(), do_find_bracket(), and
434 edit_refresh(). New functions do_left_void(),
435 do_right_void(), need_horizontal_update(),
David Lawrence Ramseyc21790d2004-05-30 03:19:52 +0000436 need_vertical_update(), edit_scroll(), and edit_redraw(). All
437 of these functions but the first two require the previous
David Lawrence Ramseyce1d7652004-06-01 18:32:36 +0000438 versions of current and/or placewewant as parameters, so that
439 they can redraw properly when the location has changed. Also
David Lawrence Ramseyc21790d2004-05-30 03:19:52 +0000440 rename the int refresh in do_delete() and do_backspace() to
441 do_refresh so as not to conflict with refresh(). (DLR)
David Lawrence Ramsey32e3b882004-05-29 01:20:17 +0000442 - Add some comments better explaining what is disabled in
443 restricted mode and why. (DLR)
David Lawrence Ramseyc833d9e2004-05-29 15:36:58 +0000444 - Since KEEP_CUTBUFFER is only used in cut.c, make it a static
445 variable in cut.c instead of a flag, and unset it in other
446 files via the new function cutbuffer_reset(). (DLR)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000447 - Add the ability to change the characters used to display the
448 beginning characters of tabs and spaces via the rcfile entry
449 "whitespace". This is disabled if nanorc support is disabled
David Lawrence Ramseyf521b602004-05-30 03:56:52 +0000450 or if we're in tiny mode. Displaying the new characters is
David Lawrence Ramsey4a80fcf2004-05-30 04:19:27 +0000451 toggled on and off by Meta-P; the default is on. (Mike
David Lawrence Ramseyf521b602004-05-30 03:56:52 +0000452 Frysinger; minor changes and adaptations by DLR)
David Lawrence Ramsey2c62b072004-05-29 16:38:57 +0000453 - Add the ability to change the closing punctuation and closing
454 brackets used to control justification, via the rcfile
455 entries "punct" and "brackets". (DLR)
Jordi Mallach0675c2f2004-06-01 15:29:31 +0000456 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramsey85529b32004-06-22 15:38:47 +0000457 - Make the former flag same_line_wrap use TRUE and FALSE
458 instead of 1 and 0. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000459- files.c:
460 add_open_file()
461 - Rearrange the NANO_SMALL #ifdef so that the code to set the
462 MODIFIED flag in open_files->flags is included only once.
463 (DLR)
David Lawrence Ramsey2f0d03b2004-05-28 00:15:28 +0000464 write_marked()
465 - Call write_file() with nonamechange set to TRUE so that we
466 don't erroneously change the current filename when writing a
467 selection, and don't take a nonamechange parameter anymore
468 since we don't use it. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000469 do_writeout()
470 - Refactor so that no recursion is needed if we try to exit with
471 a modified file that has no name when TEMP_OPT is set. (DLR)
David Lawrence Ramsey28260472004-05-30 03:23:39 +0000472 - Add spaces to the ends of the "Overwrite" and "Different Name"
473 prompts, for consistency. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000474 do_browser()
475 - Call check_statblank() instead of blanking the statusbar
476 unconditionally, for consistency. (David Benbennick)
David Lawrence Ramseybe265612004-05-29 20:38:08 +0000477- global.c:
478 shortcut_init()
479 - Don't assign any handler functions to the help browser keys,
480 as the help browser handles them all internally. (David
481 Benbennick)
David Lawrence Ramsey4be15f02004-05-23 21:33:23 +0000482- move.c:
483 do_first_line(), do_last_line()
484 - Move these functions here from winio.c. (DLR)
David Lawrence Ramsey604caf32004-04-19 02:44:13 +0000485- nano.c:
David Lawrence Ramseyda141062004-05-25 19:41:11 +0000486 finish()
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000487 - Call blank_statusbar() and blank_bottombars() to blank out
488 the statusbar and shortcut list in bottomwin. (DLR)
David Lawrence Ramseyda141062004-05-25 19:41:11 +0000489 - Since all of the calls to finish() use 0 for the value of
490 sigage, and the return value of finish() is never used, make
491 it accept and return void. (David Benbennick)
David Lawrence Ramsey2f0d03b2004-05-28 00:15:28 +0000492 die_save_file()
493 - Call write_file() with nonamechange set to TRUE since we don't
494 need to change the current filename if we're writing emergency
495 backup files. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000496 do_early_abort()
497 - Removed, as it's no longer called anywhere. (David Benbennick)
David Lawrence Ramsey45251372004-06-09 08:36:46 +0000498 usage()
499 - Add missing "[dir]" and two missing _()'s around the strings
500 describing the -E [dir]/--backupdir=[dir]" option. (CHAO
501 Wei-Lun)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000502 open_pipe()
503 - Call enable_signals() at the beginning and disable_signals()
504 at the end, so that we get a SIGINT when Ctrl-C is pressed
505 during wait() and can then call cancel_fork() properly. (DLR)
David Lawrence Ramsey228148b2004-05-27 20:09:52 +0000506 do_delete(), do_enter()
David Lawrence Ramsey604caf32004-04-19 02:44:13 +0000507 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey1b525e92004-05-24 02:35:02 +0000508 do_prev_word()
509 - Switch the last test (current != NULL or not) around to match
510 the order of the same test in do_next_word() (current ==
511 NULL). The results are the same either way. (DLR)
David Lawrence Ramsey9a527f52004-05-31 14:58:59 +0000512 do_wrap()
513 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000514 do_spell()
515 - Tweak for efficiency. (David Benbennick)
516 - Change the statusbar entries used in cases of failure so that
517 they all display the actual error that occurred. (David
518 Benbennick and DLR)
519 do_int_speller(), do_alt_speller()
520 - Make these functions return const char*'s instead of char*'s.
521 (David Benbennick)
David Lawrence Ramseyd4693cb2004-05-14 01:17:25 +0000522 justify_format()
523 - Remove redundant assignment. (DLR)
David Lawrence Ramsey1cadddd2004-05-17 20:32:51 +0000524 do_para_search()
525 - Remove unneeded edit_update() calls. (David Benbennick)
David Lawrence Ramsey2e3aeae2004-05-24 05:52:35 +0000526 - Convert to use an enum to specify the search type: JUSTIFY,
527 BEGIN, or END. (DLR)
David Lawrence Ramseydbde9d72004-06-27 00:54:08 +0000528 - Refactor to properly do searches for beginnings of paragraphs
529 in the same way as searches for endings of paragraphs, without
530 needing the old (and somewhat inaccurate) recursive approach.
531 (DLR)
David Lawrence Ramsey1cadddd2004-05-17 20:32:51 +0000532 do_justify()
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000533 - Remove unneeded edit_update() calls, and add a few minor
534 efficiency tweaks. (David Benbennick)
David Lawrence Ramsey7097d7b2004-05-17 16:11:18 +0000535 - Simplify an if statement. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000536 do_exit()
537 - Refactor so that no recursion is needed if we try to exit with
538 a modified file that has no name when TEMP_OPT is set. (DLR)
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000539 print_numlock_warning()
540 - Removed, as it's no longer needed and was never called
541 anywhere after the input overhaul. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000542 signal_init()
543 - Don't use termios and _POSIX_VDISABLE to disable keys anymore,
544 as there's no real equivalent of it when the latter isn't
545 defined. (DLR)
546 handle_sigwinch()
547 - Call resetty() to get the original terminal settings back.
548 (DLR)
549 - Rework so that nano properly redraws the screen on systems
550 that don't have resizeterm() and/or wresize(). In curses, we
551 now leave and immediately reenter curses mode via endwin() and
552 refresh(), and then reinitialize all windows via
553 window_init(). In slang, the above routine will only work if
554 the resize made the window smaller, so we now leave and
555 immediately reenter screen management mode via
556 SLsmg_reset_smg() and SLsmg_init_smg(), and then reinitialize
557 all windows via window_init(). (DLR, adapted from code in
558 Minimum Profit 3.3.0 and mutt 1.4.2.1, respectively)
David Lawrence Ramseyda141062004-05-25 19:41:11 +0000559 do_toggle()
560 - Call blank_statusbar() and blank_bottombars() to blank out
561 the statusbar and shortcut list in bottomwin. (DLR)
David Lawrence Ramseyd4693cb2004-05-14 01:17:25 +0000562 do_verbatim_input()
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000563 - If PRESERVE is set, disable flow control characters before
564 getting input and reenable them after getting input. (DLR)
565 disable_signals(), enable_signals(), disable_flow_control(),
566 enable_flow_control()
567 - New functions that allow more fine-grained control of the
568 terminal: disabling and enabling signals without having to use
569 _POSIX_VDISABLE and disabling and enabling flow control
570 characters. (DLR)
David Lawrence Ramsey97133f52004-05-14 17:39:19 +0000571 main()
572 - Don't open the first file in quiet mode, since if we do, an
573 error message won't be shown if it's unreadable. (DLR; found
574 by Jaap Eldering)
David Lawrence Ramsey1d43db82004-05-14 17:57:00 +0000575 - If we've specified multiple files on the command line and
576 multibuffer support is compiled in, turn multibuffer mode on
577 when reading those files and turn it off afterward if it was
578 off before. This allows us to open multiple files without
579 having to turn multibuffer mode on at the command line or in
580 the nanorc first, both of which are unintuitive. Multibuffer
581 mode should only affect how the "Read File" command behaves
582 anyway. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000583 - Remove the disabling of implementation-defined input
David Lawrence Ramseye608f942004-05-19 16:04:27 +0000584 processing, as cbreak mode appears to turn it off anyway.
585 (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000586 - After noecho(), call disable_signals() and
587 disable_flow_control(), the latter only if PRESERVE is not
588 set. (DLR)
589 - Move the savetty() call down from just after initscr() to just
590 after the terminal is properly set up, so that we can restore
591 it easily after a resize. (DLR)
David Lawrence Ramsey570ea892004-05-28 21:02:32 +0000592 - Add missing cast to char when calling do_char(). (DLR)
David Lawrence Ramseydd7cc722004-05-28 23:45:25 +0000593 - Don't initialize the backup directory if we're in restricted
594 mode, since backups are disabled then. (DLR)
David Lawrence Ramsey3aedb362004-05-28 22:42:41 +0000595 - Check $SPELL for an alternative spell checker if we didn't get
David Lawrence Ramseydd7cc722004-05-28 23:45:25 +0000596 one from the command line and/or rcfile, as Pico does. Don't
597 do this if we're in restricted mode, since spell checking is
598 disabled then. (DLR)
David Lawrence Ramsey74af3a72004-06-12 21:03:14 +0000599 - Add some cleanups for greater readability, and remove a few
600 bits of redundant code. (DLR and David Benbennick)
David Lawrence Ramsey4b741b92004-04-30 19:40:03 +0000601- nano.h:
602 - Since REGEXP_COMPILED is only used in search.c, convert it
603 from a flag to a static int there. (DLR)
David Lawrence Ramsey2e3aeae2004-05-24 05:52:35 +0000604 - Add justbegend enum, used in do_para_search(). (DLR)
David Lawrence Ramsey2ed225f2004-05-28 20:44:09 +0000605 - Add updown enum, used in edit_scroll(). (DLR)
David Lawrence Ramseyf38230a2004-04-21 22:25:16 +0000606- proto.h:
David Lawrence Ramseyd62b6342004-04-28 21:49:30 +0000607 - Remove unused xpt() and add_marked_sameline() prototypes.
608 (DLR)
David Lawrence Ramsey14bf8032004-05-22 20:19:15 +0000609 - Add missing #ifdefs around the nstristr() and get_mouseinput()
610 prototypes. (DLR)
David Lawrence Ramseyf38230a2004-04-21 22:25:16 +0000611- rcfile.c:
612 - Move "rebinddelete" up in the list of options so that the list
613 is in alphabetical order. (DLR)
David Lawrence Ramseyb6a4b102004-05-29 17:20:01 +0000614 - Cosmetic reorganization of the order in which some options are
615 interpreted. (DLR)
David Lawrence Ramsey8d911992004-05-29 17:05:52 +0000616 - Explicitly check for rcopts[i].name's being "tabsize" to avoid
617 a spurious error under some circumstances about tabsize's
618 being 0 when there's no tabsize entry in the rcfile. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000619- search.c:
David Lawrence Ramsey4b741b92004-04-30 19:40:03 +0000620 regexp_init()
621 - Overhaul for efficiency. Also check if regcomp() failed, and
622 if so, display "Bad regex" message on the statusbar, so that
623 we don't have to display it separately after every call to
624 this function. (David Benbennick)
625 search_init()
626 - Only check whether USE_REGEXP is set, and hence whether or not
627 to display "[Regexp]" on the search prompt, if HAVE_REGEX_H is
628 defined. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000629 not_found_msg()
630 - Convert to properly handle strings generated by
631 display_string() that have been used in the search prompt
632 since 1.3.0. (David Benbennick)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000633 - Use display_string() directly to display the text that we
634 didn't find instead of relying on statusbar() to do it
635 indirectly, since the latter won't display its text with the
636 user-specified whitespace characters and the former will.
637 (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000638- utils.c:
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000639 is_blank_char()
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000640 - New function used as an isblank() equivalent, since isblank()
641 is a GNU extension. (DLR)
David Lawrence Ramseya3370c42004-04-05 01:08:14 +0000642 nstricmp(), nstrnicmp()
643 - Add extra blank lines for greater readability, and remove
644 unneeded test for n's being less than zero (since it's already
645 been tested for being greater than zero or equal to zero at
646 that point) from nstrnicmp(). (DLR)
647 stristr()
648 - Rename to nstristr() to avoid a potential conflict with an
649 existing stristr() function, and move up to just after
650 nstrnicmp(). (DLR) David Benbennick: Tweak for efficiency.
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000651 - Include and use only when strcasestr() is unavailable, since
652 strcasestr() is a GNU extension. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000653 nstrnlen()
654 - New function used as a strnlen() equivalent, since strnlen()
655 is a GNU extension. (DLR)
David Lawrence Ramseye1e7cb22004-04-15 06:15:55 +0000656- winio.c:
657 get_verbatim_kbinput()
658 - Refactor the output in the DEBUG #ifdef. It didn't work
659 properly ever since this function was changed to use an int*
660 instead of a char*. (DLR)
David Lawrence Ramsey805547f2004-04-22 03:41:04 +0000661 - When reading characters from input, properly reallocate
662 verbatim_kbinput via (int*)nrealloc() instead of an uncast
663 realloc(). (DLR)
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000664 get_accepted_kbinput()
665 - Add proper support for the keypad values and escape sequences
David Lawrence Ramsey16eb5182004-06-03 20:26:12 +0000666 generated by the NumLock glitch and by certain keys on the
667 numeric keypad. (DLR)
David Lawrence Ramseyd8974452004-06-04 22:28:55 +0000668 - Add an extra break and move an #endif down to fix a potential
669 problem when NANO_SMALL is defined or KEY_RESIZE isn't, and
670 when PDCURSES isn't defined. (DLR)
David Lawrence Ramsey805547f2004-04-22 03:41:04 +0000671 get_escape_seq_kbinput()
David Lawrence Ramsey0a258082004-04-23 18:02:37 +0000672 - Add proper support for the keypad values and escape sequences
673 generated by the NumLock glitch. (DLR)
David Lawrence Ramseye65e6392004-06-04 18:18:17 +0000674 - Add ignore_seq parameter. If a sequence is recognized but
675 ignored, we will now return ERR and set ignore_seq to TRUE, and
676 if a sequence is unrecognized, we will now return ERR and set
677 ignore_seq to FALSE. Also, here and elsewhere, don't bother
678 assigning ERR to retval when that's its initial value. (DLR)
David Lawrence Ramsey973a96b2004-06-22 14:30:18 +0000679 - Fix problem where the escape sequence for F3 on the FreeBSD
680 console would not be interpreted properly. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000681 get_mouseinput()
682 - Don't ungetch() anything if there's no control key and no meta
683 key defined in the shortcut we clicked. (DLR)
David Lawrence Ramsey8d3e7f32004-05-13 17:28:03 +0000684 bottombars()
685 - Don't display any more than MAIN_VISIBLE shortcuts. Adding
686 justification of the entire file above made the search
687 shortcut list longer than this and hence made the shortcuts in
688 it so short as to be almost incomprehensible. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000689 - Tweak for efficiency and to better handle shorter screen
690 widths. (David Benbennick)
691 - Restructure the if block used for the sentinel key values,
692 dynamically allocate keystr based on the number of columns
693 available, and make sure we can display shortcuts even when
694 the number of available columns is too short for any complete
695 one. (DLR)
696 onekey()
697 - Don't bother padding the displayed shortcuts with spaces.
698 (David Benbennick)
699 - Convert len to a size_t. (DLR)
David Lawrence Ramseye5b2f832004-04-29 06:30:36 +0000700 edit_add()
701 - Minor cosmetic reformatting. Also remove unused int
702 searched_later_lines. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000703 blank_bottomwin()
704 - Removed, as it does the same thing as blank_bottombars().
705 (David Benbennick)
706 blank_titlebar()
707 - New function used to blank the titlebar in topwin. (DLR)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000708 blank_statusbar_refresh()
709 - Removed, as it's now unnecessary. (David Benbennick)
710 titlebar()
711 - Overhaul to use display_string() to display the filename, and
712 to better handle shorter screen widths. Also remove
713 now-unneeded wrefresh(topwin) calls. (David Benbennick)
David Lawrence Ramsey8328fc22004-05-25 23:34:43 +0000714 DLR: Tweak to reserve enough space for "Modified", plus
715 padding, in all cases, to make sure that the version message
716 takes up no more more than 1/3 of the available width, minus
717 padding, and to include a reset_cursor() call so that the
718 cursor is always in the right place.
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000719 bottombars()
720 - Call blank_bottombars() instead of blank_bottomwin(). (David
721 Benbennick)
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000722 check_statblank()
723 - Overhaul for efficiency, (David Benbennick) DLR: Add
724 reset_cursor() call to ensure that the cursor is always in the
725 right place.
David Lawrence Ramsey228148b2004-05-27 20:09:52 +0000726 update_cursor()
727 - Removed, as it's no longer called anywhere. (David Benbennick)
David Lawrence Ramsey07d3feb2004-04-16 05:15:11 +0000728 edit_refresh()
729 - Remove apparently unneeded leaveok() calls. (David Benbennick)
David Lawrence Ramseyc279a632004-05-25 01:49:58 +0000730 edit_refresh_clearok(), center_cursor()
731 - Removed, as they are now unnecessary. (David Benbennick)
David Lawrence Ramseyd12fd4b2004-05-28 15:05:56 +0000732 statusq()
733 - Don't allow "Full Justify" when in view mode. (DLR)
David Lawrence Ramsey4b741b92004-04-30 19:40:03 +0000734 statusbar()
735 - Call reset_cursor() just before refreshing the edit window, so
736 that slang and other non-ncurses versions of curses will
737 properly place the cursor back in the edit window instead of
738 leaving it at the end of the statusbar. (DLR)
David Lawrence Ramseybe265612004-05-29 20:38:08 +0000739 do_help()
740 - Overhaul for efficiency, and allow scrolling through the help
741 via the arrow keys as well as the paging keys. (David
David Lawrence Ramseyae064bf2004-06-01 20:38:00 +0000742 Benbennick) DLR: Revert the use of the return value of
743 curs_set() to restore the previous state of the cursor, as
744 some curses implementations (including slang) get it wrong,
745 and explicitly turn the cursor off where needed instead.
David Lawrence Ramseydc35cb82004-04-24 18:30:23 +0000746 do_credits()
747 - Use napms() instead of nanosleep(), as it does the same thing
748 (aside from taking an argument in milliseconds instead of
749 microseconds) and curses includes it. (DLR)
David Lawrence Ramsey837a02b2004-05-18 15:23:31 +0000750 - Overhaul for efficiency, and make sure the xlcredits
751 translations are done after initialization in order to avoid
752 an error when compiling with -pedantic. (David Benbennick)
Jordi Mallach21ad7622004-06-25 22:43:09 +0000753 do_yesno()
754 - Add a comment to encourage translators to use both native and
755 English shortcuts, if possible. (Jordi)
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000756- configure.ac:
David Lawrence Ramseyfa394042004-05-23 21:11:14 +0000757 - Add tests for isblank(), strcasestr(), and strnlen(), and
758 define _GNU_SOURCE so that the tests work properly. Increase
759 the minimum required autoconf version to 2.54. (DLR)
David Lawrence Ramsey1122c852004-05-13 17:46:57 +0000760 - Reformat the test programs so that they aren't packed into
761 fewer lines than usual, so as to make them easier to read, and
762 remove unnecessary inclusion of stdio.h in the slang test
763 programs. (DLR)
David Lawrence Ramseyd7fd2002004-05-18 01:20:36 +0000764 - Remove the checks for resizeterm() and wresize(), as they're
765 no longer needed. (DLR)
Jordi Mallachd3507272004-06-25 22:34:18 +0000766- config.rpath:
767 - Replace usage of egrep with grep -E, avoiding a XSI:ism (David
768 Weinehall)
769
David Lawrence Ramsey2c4c7882004-05-07 18:00:20 +0000770- faq.html:
771 - Removed question about the NumLock glitch, as it's no longer
772 needed. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000773- nano.1:
774 - Document restricted mode. (IO ERROR) DLR: Add minor
775 modifications to account for the above changes.
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000776 - Document the smart home key option. (DLR)
David Lawrence Ramsey498e13d2004-06-01 22:56:34 +0000777 - Document the use of the SPELL environment variable. (DLR)
David Lawrence Ramsey12e066f2004-05-29 14:13:02 +0000778- nanorc.5:
779 - Document the smart home key option. (DLR)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000780 - Document the whitespace option. (DLR, adapted from
781 documentation by Mike Frysinger)
David Lawrence Ramsey2c62b072004-05-29 16:38:57 +0000782 - Document the punct and brackets options. (DLR)
David Lawrence Ramsey9be546b2004-04-20 19:19:21 +0000783- nano.texi:
David Lawrence Ramsey2c4c7882004-05-07 18:00:20 +0000784 - Fix toggle inaccuracies: Meta-L now toggles line wrapping, and
785 Meta-< and Meta-> aren't toggles. (DLR)
David Lawrence Ramseyd893fa92004-04-30 04:49:02 +0000786 - Document restricted mode. (IO ERROR) DLR: Add minor
787 modifications to account for the above changes.
David Lawrence Ramsey2c4c7882004-05-07 18:00:20 +0000788 - Fix version number inaccuracies: Search/replace history and
789 sorting/uniqueness filtering for the internal spell chacker
790 were added in nano 1.1.99pre1. (DLR)
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000791 - Document the smart home key option. (DLR)
David Lawrence Ramsey498e13d2004-06-01 22:56:34 +0000792 - Document the use of the SPELL environment variable. (DLR)
David Lawrence Ramsey71d0a1f2004-05-08 00:06:15 +0000793- nanorc.sample:
794 - Add missing mouse entry, and update the nanorc sample regexes
795 to account for the backupdir and mouse options. (DLR)
David Lawrence Ramseyc7acf692004-05-22 20:15:20 +0000796 - Add smarthome description. (DLR)
David Lawrence Ramsey483ea322004-05-29 16:25:30 +0000797 - Document the whitespace option. (DLR, adapted from
798 documentation by Mike Frysinger)
David Lawrence Ramsey9830d752004-05-13 17:19:54 +0000799- README.CVS:
800 - Increase the minimum required autoconf version to 2.54, and
801 change the recommended automake version 1.7 to the minimum
802 required automake version. Note that autoconf 2.54 will
803 technically also work with automake 1.6c, but that is a CVS
804 version as opposed to a stable release version, and automake
805 1.7 requires at least autoconf 2.54 in any case. (DLR)
David Lawrence Ramsey8d3e7f32004-05-13 17:28:03 +0000806- TODO:
807 - Added entry for justifying the entire file at once, since Pico
808 can do it, and with "[DONE]" since it's already been
809 implemented. (DLR)
David Lawrence Ramseybefb25a2004-03-31 18:53:07 +0000810
David Lawrence Ramseyf70f0cf2004-03-31 18:42:52 +0000811GNU nano 1.3.2 - 2004.03.31
David Lawrence Ramsey760a2dc2004-01-14 06:38:00 +0000812- General:
813 - Change instances in the code that refresh the entire edit
814 window when color support is enabled (in order to properly
815 handle multi-line color regexes) to only do so when
816 it's necessary, i.e, when COLOR_SYNTAX is set. (DLR)
David Lawrence Ramseyc2c5a512004-01-23 19:26:17 +0000817 - Minor cosmetic tweaks to the code involving direction keys.
818 NANO_UP_KEY and NANO_DOWN_KEY are now NANO_PREVLINE_KEY and
819 NANO_NEXTLINE_KEY, and the help messages for them have been
820 changed accordingly. Also remove extraneous references to
821 NANO_DOWN_KEY in the search history shortcut entries. (DLR)
David Lawrence Ramseyc91696e2004-01-29 04:16:23 +0000822 - Add NANO_UNJUSTIFY_FKEY (the same as NANO_UNCUT_FKEY) to the
823 shortcut list, and tweak the unjustify routine to use it.
David Lawrence Ramseyd7f5ad92004-03-04 19:30:53 +0000824 Also add NANO_FIRSTLINE_FKEY and NANO_LASTLINE_FKEY, and tweak
825 the statusbar input routines to handle them and NANO_HELP_FKEY
826 properly. (DLR)
David Lawrence Ramsey369732f2004-02-16 20:32:40 +0000827 - Block SIGWINCH after setting up its handler, and only unblock
828 and handle it when we're in a stable state, i.e, when we're
829 waiting for input from the user. New function
830 allow_pending_sigwinch(); changes to signal_init(),
831 get_kbinput(), and get_verbatim_kbinput(). (DLR)
David Lawrence Ramsey281e0562004-02-27 18:54:04 +0000832 - Decouple the paragraph searching code and the justifying code.
833 Removed function do_para_operation(); new function
834 do_para_search(); changes to do_justify(). (DLR)
David Lawrence Ramsey04e42a62004-02-28 16:24:31 +0000835 - Add -E/--backupdir option. When used with -B/--backup, backup
836 files will be saved in the specified directory with their
837 canonical pathnames encoded in their names (all '/'s replaced
838 with '!'s). Changes to write_file(). (Martin Ehmsen) DLR:
839 Add function init_backup_dir() to handle relative paths
840 correctly, use get_full_path() to get the canonical pathname,
841 and use tail() to get the filename if get_full_path() fails.
David Lawrence Ramseya619ae62004-03-04 06:33:52 +0000842 - Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom
843 Bates; minor tweaks by DLR)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +0000844 - Change some instances of boolean 0 and 1 to TRUE and FALSE.
845 (David Benbennick)
846 - Fix memory corruption problem occurring when answer is used as
847 the value of def; if the realloc() of answer leads to its
848 pointing to a different memory block, there will be a segfault
David Lawrence Ramsey79475442004-03-19 20:47:57 +0000849 when the value of def is copied into it via strcpy().
David Lawrence Ramseyb8823402004-04-27 21:06:11 +0000850 (bort@alltel.net, Christian Weisgerber, David Benbennick, and
David Lawrence Ramsey79475442004-03-19 20:47:57 +0000851 DLR)
David Lawrence Ramseyb9775152004-03-19 02:15:42 +0000852 - Remove the last editbot references, to avoid any potential
853 segfaults related to them. Also remove fix_editbot(), as it's
854 no longer needed. (David Benbennick)
David Lawrence Ramsey1576d532004-03-19 21:46:34 +0000855 - Rename several variables to make their use clearer and to
856 avoid conflicts. (DLR)
David Lawrence Ramseyce991bb2004-03-29 18:36:39 +0000857 - Set the input mode before turning the keypad on. (DLR)
David Lawrence Ramsey44e7f822004-03-30 04:17:10 +0000858- cut.c:
859 add_to_cutbuffer()
860 - Add parameter allow_concat to determine whether we're allowed
861 to concatenate strings in the cutbuffer. (DLR)
David Lawrence Ramsey35961c42004-01-23 19:34:03 +0000862- files.c:
David Lawrence Ramseyda352512004-03-05 20:04:44 +0000863 do_insertfile()
864 - Wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef.
865 (DLR)
David Lawrence Ramseyc6908f22004-03-11 02:20:25 +0000866 - Save the already-typed answer when switching from "Insert
867 File" to "Execute Command" mode via Ctrl-X, just in case we
868 started typing a command before switching. (DLR)
David Lawrence Ramseycb34a672004-02-06 21:20:05 +0000869 add_open_files()
870 - Make the saving of marked status in open_files->file_flags
871 work properly again; a tweak to the ISSET() macro in 1.3.0
872 to make it only return 0 or 1 broke it. (DLR)
David Lawrence Ramsey35961c42004-01-23 19:34:03 +0000873 write_marked()
874 - New function used to write the current marked selection to a
875 file, split out from do_writeout(). (DLR)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +0000876 do_writeout()
877 - Tweak for efficiency. (David Benbennick) DLR: Modify to have
878 the current answer preserved between toggles again.
David Lawrence Ramsey3af54d32004-02-25 04:43:27 +0000879 filestat()
880 - Removed, as it is only called in one place and is
881 redundant. (DLR)
882 do_browser()
883 - Replace the filestat() call with an equivalent stat() call.
884 (DLR)
David Lawrence Ramsey00c20542004-02-01 06:27:59 +0000885- global.c:
886 shortcut_init()
887 - Only allow verbatim input when we're not in view mode. (DLR)
David Lawrence Ramseyba7b1682004-02-29 20:07:14 +0000888 - Set the associated function for unjustify to 0 instead of
889 do_uncut_text(), since it's currently unused. (DLR)
David Lawrence Ramseyc53a92d2004-01-12 03:28:06 +0000890- nano.c:
David Lawrence Ramseya7c93642004-02-25 03:19:29 +0000891 usage()
892 - Clarify the description for -T/--tabsize a bit. (DLR)
David Lawrence Ramseyd03216a2004-01-28 18:21:21 +0000893 do_verbatim_input()
894 - Remove the now-unneeded code to disable XON, XOFF, and
895 suspend, since we now go into raw mode in
896 get_verbatim_kbinput() and bypass them. (DLR)
David Lawrence Ramseybf3c93e2004-03-13 19:42:58 +0000897 do_next_word()
898 - Simplify and remove references to editbot so as to avoid a
899 segfault. (David Benbennick)
David Lawrence Ramseyb6aa4282004-03-14 01:42:17 +0000900 do_prev_word()
901 - Simplify and remove references to edittop. (David Benbennick)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000902 do_int_speller(), do_alt_speller(), do_spell()
David Lawrence Ramsey35961c42004-01-23 19:34:03 +0000903 - Modify to write only the current selection from a file to the
904 temporary file used for spell checking when the mark is on,
905 and add a few miscellaneous cosmetic cleanups. (DLR)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000906 do_int_spell_fix()
907 - Store the value of current_x in a size_t instead of an int,
908 and add a few minor efficiency tweaks. (David Benbennick)
909 - Remove comment explaining why findnextstr() is called with
910 bracket_mode set to TRUE even though we aren't doing a bracket
911 search, since after the above efficiency tweaks, it's now more
912 accurately called can_display_wrap. (DLR)
David Lawrence Ramsey44e7f822004-03-30 04:17:10 +0000913 indent_length()
914 - Remove unneeded #ifdef. (David Benbennick)
915 do_justify()
916 - Remove references to the now-unneeded JUSTIFY_MODE flag. (DLR)
David Lawrence Ramsey2897d2b2004-01-26 20:56:20 +0000917 signal_init()
918 - Trap SIGQUIT in addition to turning it off via termios in
919 main(). This is consistent with SIGINT, which we trap here
920 and turn off via termios in main(), as well as with the
921 associated comment. (DLR)
David Lawrence Ramsey273d2ce2004-01-30 04:20:28 +0000922 handle_sigwinch()
David Lawrence Ramsey53809442004-01-30 04:29:52 +0000923 - Set keypad() to TRUE and switch to cbreak mode just before
924 calling siglongjmp(), in case we resized during verbatim
925 input. (DLR)
David Lawrence Ramseyc53a92d2004-01-12 03:28:06 +0000926 main()
927 - Move the call to raw() on systems that don't define
928 _POSIX_VDISABLE outside the main input/output loop, as it
David Lawrence Ramseyd03216a2004-01-28 18:21:21 +0000929 doesn't need to be called every time through the loop. Call it
930 instead of cbreak() on such systems, as it overrides cbreak()
931 anyway. (DLR)
David Lawrence Ramsey369732f2004-02-16 20:32:40 +0000932 - Add more descriptive comments explaining the termios and
933 curses setup routines, and turn the keypad on before setting
934 the input mode. (DLR)
David Lawrence Ramseyaca5d042004-03-19 01:35:57 +0000935 - Remove stray HAVE_GETOPT_LONG #ifdefs. (DLR)
David Lawrence Ramseyce991bb2004-03-29 18:36:39 +0000936 - Don't call keypad() before initializing the windows it needs
937 via window_init().
David Lawrence Ramsey24ae56c2004-02-27 03:06:28 +0000938- nano.h:
939 - Move the NANO_H include guard up before the first #include.
940 (DLR)
David Lawrence Ramsey44e7f822004-03-30 04:17:10 +0000941 - Remove the now-unneeded JUSTIFY_MODE flag. (DLR)
David Lawrence Ramsey41151ac2004-01-15 05:47:03 +0000942- search.c:
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000943 regexp_cleanup()
944 - Only do anything if REGEXP_COMPILED is set. (David Benbennick)
945 search_abort()
946 - Only test if the mark is set when NANO_SMALL isn't defined.
947 (David Benbennick)
948 search_init()
949 - Add some more comments and comment tweaks, don't indicate that
950 the search has been canceled when we enter a blank string in
951 replace mode, only call regexp_init() when USE_REGEXP is set,
952 and return -1 instead of -3 since a canceled search and a
953 canceled replace should be mostly equivalent. (David
954 Benbennick) DLR: Tweak to use the old behavior if we try to
955 search for invalid regexes.
956 findnextstr()
957 - Refactor to use a loop invariant, and tweak for greater
958 efficiency and simplicity. Also modify so that all searches
959 start one character after (or before, if we're doing a
960 backwards search) the current one, as opposed to all searches
961 except for regex searches for "^" and the like, for
962 consistency with other searches. (David Benbennick)
963 do_search()
964 - Handle search_init()'s no longer returning -3 above. (David
965 Benbennick)
966 - Port the code from do_replace_loop() to skip the current line
967 if we're searching for a regex with "^" and/or "$" in it and
968 end up on the same line to this function. This fixes a
969 problem where doing a forward search for "^" on a file with
970 more than one line would erroneously stop at the magicline and
971 indicate that that was the only occurrence. (DLR)
972 do_research()
973 - Port David Benbennick's efficiency tweaks and the
974 aforementioned code ported from do_replace_loop() to this
975 function. (DLR)
976 replace_regexp()
977 - Completely refactor for increased efficiency. (David
978 Benbennick)
979 replace_line()
980 - Use a char* parameter for the replacement string instead of
981 last_search, and add minor efficiency tweaks. (David
982 Benbennick)
David Lawrence Ramsey41151ac2004-01-15 05:47:03 +0000983 do_replace_loop()
984 - Fix segfault when doing a regex replace of a string that
985 matches inside a line (e.g. replace the "b" in "abc" with
986 anything). (David Benbennick)
David Lawrence Ramsey1122c852004-05-13 17:46:57 +0000987 - If the mark is on at the beginning of the function, turn it
988 off and turn it back on just before returning. Also overhaul
989 to rely on the return value of findnextstr() instead of a loop
David Lawrence Ramsey1044d742004-02-24 20:41:39 +0000990 invariant, to not need to take an int* parameter, and store
991 the beginning x-coordinate in a size_t instead of an int.
992 (David Benbennick)
993 do_replace()
994 - Handle search_init()'s no longer returning -3 above, and add
995 efficiency tweaks. (David Benbennick) DLR: Tweak to follow
996 the old behavior of adding non-blank strings entered at the
997 "Replace: " prompt to the search history. (DLR)
David Lawrence Ramseyc6908f22004-03-11 02:20:25 +0000998 do_gotoline()
999 - Simplify the edit_update() call depending on the value of
1000 save_pos. (David Benbennick)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +00001001 do_bracket()
1002 - Add efficiency tweaks. (David Benbennick) DLR: Remove
1003 reliance on the hardcoded bracket string length; instead, only
1004 require that the bracket string length be even.
1005- utils.c:
1006 regexec_safe()
1007 - Wrap in HAVE_REGEX_H #ifdefs. (DLR)
1008 regexp_bol_or_eol()
1009 - New function used to check if a regex contains "^" and/or "$",
1010 assuming that the regex would be found if the REG_NOT(BOL|EOL)
1011 flags aren't used in the regexec() call; it replaces the
1012 direct regexec()s used before. (DLR)
1013 strstrwrapper()
1014 - Refactor for increased efficiency, and eliminate the need for
1015 the line_pos parameter. (David Benbennick)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +00001016 mallocstrcpy()
1017 - Tweak so that when src is "", "" is allocated and returned
1018 instead of NULL. (David Benbennick)
David Lawrence Ramseye97c8d52004-01-14 19:26:29 +00001019- winio.c:
David Lawrence Ramsey58f6d832004-01-27 07:12:47 +00001020 get_verbatim_kbinput()
David Lawrence Ramseyd03216a2004-01-28 18:21:21 +00001021 - Set keypad() to FALSE and switch to raw mode while reading
David Lawrence Ramsey273d2ce2004-01-30 04:20:28 +00001022 input, and set it back to TRUE and go back into cbreak mode
1023 mode afterwards. (Note that if _POSIX_VDISABLE isn't defined,
1024 we don't need to change to or from raw mode since we're
1025 already in it exclusively.) This ensures that we don't end up
1026 reading in extended keypad values that are outside the ASCII
1027 range or having to deal with interrupt-generating key values.
1028 Also, with keypad() set to TRUE, xterm generates KEY_BACKSPACE
1029 when the user hits Ctrl-H, which, when cut down to ASCII
1030 range, ends up being Ctrl-G, which can be confusing. (DLR)
David Lawrence Ramseyee383db2004-02-06 03:07:10 +00001031 - For consistency with get_kbinput(), use an int* to store and
1032 return the input instead of a char*, and tweak the functions
1033 that call it to handle this. (DLR)
David Lawrence Ramsey25061362004-01-16 19:12:46 +00001034 get_accepted_kbinput()
1035 - Don't use "kbinput = wgetch(win)" as a switch value. (DLR)
David Lawrence Ramseyc2c5a512004-01-23 19:26:17 +00001036 get_escape_seq_kbinput()
1037 - Add support for the escape sequences for F1-F14 whenever
1038 possible (i.e, whenever a conflict doesn't occur), some
1039 additional comments, and a few cosmetic cleanups. (DLR)
David Lawrence Ramseyee383db2004-02-06 03:07:10 +00001040 - Use switch statements instead of strncmp() to read in the long
1041 xterm sequences for Ctrl-[arrow key] and Shift-[arrow key].
1042 (DLR)
David Lawrence Ramseyc2c5a512004-01-23 19:26:17 +00001043 get_escape_seq_abcd()
1044 - A resurrected version of the old abcd() function, readded in
1045 order to simplify get_escape_seq_kbinput(). (DLR)
David Lawrence Ramsey0b047c52004-03-29 23:09:08 +00001046 get_mouseinput()
David Lawrence Ramsey1576d532004-03-19 21:46:34 +00001047 - Interpret shortcut key values slightly more stringently when
1048 ungetch()ing them. (DLR)
David Lawrence Ramsey0b047c52004-03-29 23:09:08 +00001049 strlenpt()
1050 - Properly cast the second parameter of the strnlenpt() call to
1051 size_t. (DLR)
David Lawrence Ramsey66081d42004-01-22 07:25:31 +00001052 get_page_start()
1053 - For consistency, tweak so that scrolling always occurs when we
1054 try to move onto the "$" at the end of the line, as opposed to
1055 (a) when we move onto the "$" at the end of the line on the
1056 first page and (b) when we move onto the character just before
1057 the "$" on subsequent pages. (DLR)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +00001058 reset_cursor()
1059 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey1044d742004-02-24 20:41:39 +00001060 edit_refresh()
1061 - Tweak for efficiency. (David Benbennick)
David Lawrence Ramsey6aec4b82004-03-15 20:26:30 +00001062 statusq()
1063 - Rename "tabs" to "allowtabs". (David Benbennick)
David Lawrence Ramseye97c8d52004-01-14 19:26:29 +00001064 do_credits()
1065 - Use nanosleep() instead of usleep(). The latter is only
1066 standard under BSD, whereas the former is POSIX compliant.
David Lawrence Ramseyf5300af2004-02-24 20:48:12 +00001067 Accordingly, only include time.h if we use this function, i.e,
1068 if NANO_EXTRA is defined. (DLR)
David Lawrence Ramseyfdece462004-01-19 18:15:03 +00001069 - Add explanatory comment. (DLR)
David Lawrence Ramsey35557c52004-03-07 15:14:56 +00001070- configure.ac:
1071 - Change instances of "int main ()" to "int main(void)". (DLR)
David Lawrence Ramseybe66a6b2004-01-30 21:31:57 +00001072- faq.html:
1073 - Fixed inaccuracy: multibuffer mode was first in nano 1.1.0,
1074 not 1.1.12. (DLR)
David Lawrence Ramsey475a2a72004-02-25 03:58:46 +00001075- nano.1, nanorc.5, nano.texi
1076 - Clarify the description for -T/--tabsize a bit. (DLR)
David Lawrence Ramsey04e42a62004-02-28 16:24:31 +00001077 - Add -E/--backupdir description. (Martin Ehmsen; minor cosmetic
1078 fixes by DLR)
1079- nanorc.sample:
1080 - Add backupdir description. (Martin Ehmsen; minor cosmetic
1081 fixes by DLR)
David Lawrence Ramseyf0b30092004-01-10 06:02:05 +00001082- README:
1083 - Reformat to 72 characters per line, fix wording in one spot,
David Lawrence Ramseyce364e22004-03-03 01:25:46 +00001084 and fix spacing and capitalization in several spots. (DLR)
David Lawrence Ramsey1eadebe2004-01-25 21:36:38 +00001085- NEWS:
1086 - Capitalization fix. (DLR)
David Lawrence Ramsey5ae684f2004-03-04 23:48:26 +00001087- TODO:
1088 - Clarify the paragraph searching item, and add item for
1089 filename searches in the file browser. (DLR)
David Lawrence Ramsey606dfda2004-01-09 23:26:54 +00001090
David Lawrence Ramseyfa1497b2004-01-09 23:22:02 +00001091GNU nano 1.3.1 - 2004.01.09
David Lawrence Ramseya593f532003-11-28 19:47:42 +00001092- General:
1093 - Minor overhaul and abstraction of the lowest level of mouse
1094 input, mostly adapted from the code in do_mouse() that handles
1095 clicking on the shortcut list. New function do_mouseinput();
1096 changes to do_mouse(). (DLR) David Benbennick: Add a few
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001097 efficiency/extensibility tweaks.
David Lawrence Ramseya593f532003-11-28 19:47:42 +00001098 - Modify the shortcut structure so that instead of having two
1099 miscellaneous key values (misc1 and misc2), there is one key
1100 value reserved for function keys (func_key) and one
1101 miscellaneous key value (misc), and tweak the
1102 shortcut-handling code to deal with this. These changes allow
1103 NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the
1104 shortcut entries for NANO_OPEN(PREV|NEXT)_KEY. Also remove
David Lawrence Ramseyd2914602003-11-30 02:22:22 +00001105 the values in the shortcut list and elsewhere that were made
1106 redundant by the low-level input overhaul, use toupper()
1107 instead of subtracting 32 from values for greater code
1108 readability, and eliminate use of adding 32 to values when
1109 testing for toggles, as get_kbinput_accepted() converts toggle
1110 values to lowercase before returning them. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001111 - Remove the workarounds for missing KEY_UP and KEY_DOWN, as
1112 they appear to be holdovers of the old way of denoting the
1113 search history shortcuts; if they aren't defined, KEY_LEFT and
1114 KEY_RIGHT probably shouldn't work either, and all four appear
1115 to be standard keys in termcap/terminfo in any case. Add new
1116 special sentinel key values NANO_NO_KEY (for no shortcut key)
1117 and NANO_HISTORY_KEY (for search history keys, both Up and
1118 Down), modify the shortcut list to use them, and modify the
1119 shortcut display routines to handle them. Also modify the
1120 shortcut list code to not treat non-control character values
1121 of val as Meta-sequences, and fix dependencies on that
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001122 behavior. Also rename several variables: "alt" -> "meta",
1123 "altval" -> "metaval". (DLR)
David Lawrence Ramseya593f532003-11-28 19:47:42 +00001124 - Hook up the verbatim input functions so that verbatim input
1125 can be used in the edit window. New function
1126 do_verbatim_input(); changes to do_char(). (DLR) Additional
1127 minor tweaks to do_char() by David Benbennick.
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001128 - Clarify the description of the --rebinddelete option. (DLR)
David Lawrence Ramsey6481c3f2004-01-09 23:06:54 +00001129 - Miscellaneous comment tweaks, and copyright year updates in
1130 the comments and in do_credits(). (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001131- cut.c:
1132 - Overhaul to increase efficiency and add various cleanups.
1133 Changes to add_to_cutbuffer(), cut_marked_segment(), and
1134 do_uncut_text(). (David Benbennick)
David Lawrence Ramsey71278572003-10-31 17:58:44 +00001135- files.c:
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001136 check_operating_dir()
1137 - Add an assert to ensure that full_operatingdir isn't NULL,
1138 a fix for reporting nonexistent (incomplete) directory names
1139 as being outside the operating directory when tab completion
1140 is being used, and cosmetic cleanups. (David Benbennick)
1141 copy_file()
David Lawrence Ramsey3e3fab52004-01-15 05:12:41 +00001142 - New function used to create a copy of a file, split out from
David Lawrence Ramseyc2946fb2003-12-24 21:47:28 +00001143 do_writeout(). (David Benbennick)
David Lawrence Ramsey3e3fab52004-01-15 05:12:41 +00001144 write_file()
1145 - Completely overhauled to properly ignore appending/prepending
1146 to symlinks when NOFOLLOW_SYMLINKS is defined, to properly
1147 support writing a selection to a file under the changed
1148 cutting code, to have more concise error messages, to add
1149 various cleanups, and so on. (David Benbennick)
David Lawrence Ramsey71278572003-10-31 17:58:44 +00001150 do_writeout()
David Lawrence Ramseybc503c82003-11-19 23:59:14 +00001151 - Prompt the user if we're trying to save an existing file (and
1152 not just a selection of it) under a different name. (DLR;
1153 suggested by Jean-Philippe Guérard)
David Lawrence Ramsey3e3fab52004-01-15 05:12:41 +00001154 - Overhaul the code used to write a selection of a file to
1155 temporarily set fileage and filebot to the top and bottom of
1156 the selection and then call write_file(), instead of following
1157 the old hackish behavior with cut_marked_segment() (which
1158 won't work after the cutting code changes anyway). (David
David Lawrence Ramsey70bd6e02004-01-15 16:08:42 +00001159 Benbennick) DLR: Tweak to not add an extra blank line to the
1160 end of the written selection if the cursor is at the beginning
1161 of the last line of the selection.
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001162 open_prevfile(), open_nextfile()
1163 - For consistency with the rest of the multibuffer code, change
1164 "No more open files" to "No more open file buffers". (DLR)
1165 do_browser()
1166 - Allow '?' to open the help browser, and readd the ability of
1167 'G'/'g' to open the "Go to Directory" prompt (which was
1168 erroneously removed before), for compatibility with Pico.
1169 (DLR)
David Lawrence Ramsey8fa19762003-11-03 00:13:21 +00001170- global.c:
1171 shortcut_init()
1172 - Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR)
David Lawrence Ramsey32559292003-12-28 03:56:04 +00001173- nano.c:
1174 do_int_spell_fix()
1175 - Add comment explaining why findnextstr() is called with
1176 bracket_mode set to TRUE even though we aren't doing a bracket
1177 search. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001178 do_para_operation()
1179 - Convert to use the new low-level input functions. (DLR)
1180 main()
1181 - Remove unused variable option_index. (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001182 - Fix omission of NANO_NO_KEY in the shortcut list scanning
1183 code. (DLR)
David Lawrence Ramseyf8ddf312004-01-09 22:38:09 +00001184 - Remove now-unnecessary initialization of kbinput. (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001185- nano.h:
1186 - Comment additions and cosmetic tweaks. (DLR)
David Lawrence Ramsey71278572003-10-31 17:58:44 +00001187- search.c:
David Lawrence Ramsey45cfbec2003-11-28 16:04:24 +00001188 findnextstr(), do_replace_loop()
David Lawrence Ramsey18394ac2003-12-24 03:13:44 +00001189 - Fix potential infinite loops and other misbehavior when doing
David Lawrence Ramseye190ff32004-01-03 21:42:25 +00001190 beginning-of-line or end-of-line regex replacements ("^", "$",
1191 and "^$"). Add a no_sameline parameter to findnextstr(), and
1192 set it in the calls in do_replace_loop() when such regexes are
1193 found, so that such regexes are only found once per line.
1194 Also change length_change from a long to an int; size_t is
1195 unsuitable due to its being unsigned. (DLR; found by Mike
1196 Frysinger and DLR) David Benbennick: Add a few minor cleanups
1197 to do_replace_loop().
David Lawrence Ramsey7776ef92003-11-04 18:32:35 +00001198- winio.c:
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001199 get_kbinput(), get_accepted_kbinput()
1200 - Don't pass in the value of the REBIND_DELETE flag anymore.
1201 Instead, handle it directly inside the functions. (DLR)
David Lawrence Ramsey7776ef92003-11-04 18:32:35 +00001202 get_accepted_kbinput()
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001203 - Translate Ctrl-8 into NANO_DELETE_KEY (or NANO_BACKSPACE_KEY
1204 if REBIND_DELETE is set), since it apparently is generated
1205 sometimes even when keypad() is TRUE. (DLR)
1206 - Translate KEY_SLEFT into NANO_BACK_KEY and KEY_SRIGHT into
1207 NANO_FORWARD_KEY, since they are sometimes generated by
1208 Shift-Left and Shift-Right. (DLR)
1209 get_ascii_kbinput()
1210 - Tweak to make it slightly more readable. (DLR)
1211 get_verbatim_kbinput()
1212 - Modify to take an extra parameter indicating if we should
1213 interpret ASCII codes or not. (DLR)
1214 get_escape_seq_kbinput()
1215 - Expand to deal with more broken terminals that don't generate
1216 keypad values. Support the escape sequences for Insert,
1217 Delete, Home, End, PageUp, and PageDown, [arrow key],
1218 Ctrl-[arrow key], and Shift-[arrow key] when needed in the
1219 Linux console, the FreeBSD console, the Hurd console, xterm,
1220 rxvt, and Eterm. Also, use get_verbatim_kbinput(), with ASCII
1221 interpretation disabled, to read in the sequences. (DLR)
1222 get_skip_tilde_kbinput()
1223 - Removed, as it is unneeded due to the expansion of
1224 get_escape_seq_kbinput(). (DLR)
1225 get_mouseinput()
1226 - Modify to take an extra parameter indicating if we should
1227 ungetch() the key equivalents of shortcuts we click on or not.
1228 (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +00001229 nanogetstr()
1230 - Properly interpret the Meta key value in misc if we hit it at
1231 the statusbar prompt. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00001232 do_yesno()
1233 - Add a few efficiency/extensibility tweaks. (David Benbennick)
1234 - Convert to use the new low-level input functions, and remove
1235 two last hardcoded widths left after the above tweaks. (DLR)
David Lawrence Ramsey76c4b332003-12-24 08:17:54 +00001236 do_replace_highlight()
1237 - Display a highlighted space if the word length is zero, so
1238 that we can see zero-length regexes we're replacing. (DLR;
1239 suggested by Mike Frysinger)
David Lawrence Ramsey4dca76f2003-11-20 00:15:52 +00001240- configure.ac:
1241 - Check for glib 2.x and then 1.2.x if we need glib. (DLR)
David Lawrence Ramsey47162bc2004-01-05 19:01:53 +00001242- faq.html:
1243 - Add question explaining how verbatim input works, as well as a
1244 few minor fixes. (DLR)
David Lawrence Ramsey9e45a472004-01-06 17:12:28 +00001245- nano.1, nanorc.5:
1246 - Add nano version numbers (minus any "-cvs" suffixes). (DLR)
David Lawrence Ramsey637f6e52003-11-04 18:34:44 +00001247- nano.spec.in:
1248 - Update for the 1.3 branch of nano. (DLR)
David Lawrence Ramsey9e45a472004-01-06 17:12:28 +00001249- NEWS:
1250 - Reformat so all lines are limited to 72 columns, add a few
1251 typo fixes, and make a few minor cosmetic cleanups. (DLR)
Jordi Mallacha5d8e542003-11-06 10:47:44 +00001252- THANKS:
1253 - Add Danilo Segan, for the Serbian translation.
1254
David Lawrence Ramsey133f7b12003-10-22 17:15:12 +00001255GNU nano 1.3.0 - 2003.10.22
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001256- General:
1257 - Complete overhaul and abstraction of the lowest level of
1258 keyboard input, mostly rewritten but incorporating a few bits
1259 from the old functions and adding support for Pico's Esc Esc
1260 [three-digit decimal ASCII code] input method. New functions
1261 get_kbinput(), get_verbatim_kbinput(), get_ignored_kbinput(),
1262 get_accepted_kbinput(), get_ascii_kbinput(),
1263 get_escape_seq_kbinput(), and get_skip_tilde_kbinput(). These
1264 should work properly on FreeBSD (due to code and input
1265 provided by Lee Nelson and Wouter van Hemel, respectively).
1266 (DLR)
1267 - The -K/--keypad command line/rcfile option has been removed,
1268 and keypad() is now always TRUE. keypad_on() in winio.c and
1269 the check for _use_keypad in configure.ac have both been
1270 removed. (DLR)
1271 - The -d/--rebinddelete command line/rcfile option, equivalent
1272 to Pico's -d, has been added. It is intended to work around
1273 the problem with Backspace/Delete confusion on some terminals,
1274 notably FreeBSD; if your Backspace key acts like Delete, this
1275 option will fix that. (DLR)
David Lawrence Ramseya9cebd82003-08-17 03:31:57 +00001276 - Remove unneeded breaks at the ends of default: clauses. (DLR)
David Lawrence Ramseye0497062003-08-23 21:11:06 +00001277 - Add the ability to repeat the last search without prompting
1278 via Meta-W, and move the line wrapping toggle to Meta-L. New
1279 function do_research(). (Wouter van Hemel)
David Lawrence Ramsey8faf3052003-09-04 20:25:29 +00001280 - Added the ability to move to the beginning or end of the
1281 paragraph, which Pico has via ^W^W (previous paragraph)
David Lawrence Ramsey45108342004-04-21 23:04:55 +00001282 and ^W^O (next paragraph). Changes to do_justify(); new
1283 functions do_para_operation(), do_para_begin(), and
David Lawrence Ramsey8faf3052003-09-04 20:25:29 +00001284 do_para_end(). Note that the last three functions are
1285 disabled if justification is disabled. (DLR)
David Lawrence Ramsey417b03a2003-09-06 21:44:37 +00001286 - Make sure the "historylog" option isn't included at all if
1287 NANO_SMALL is defined. (DLR)
Jordi Mallach3a420872003-10-19 23:30:48 +00001288 - Source reorganization: move code to src/, docs to doc/.
1289 (Jordi)
Jordi Mallach298b9752003-09-07 00:44:12 +00001290 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseyc97acfb2003-09-10 20:08:00 +00001291 - Since SAMELINEWRAP is only used in nano.c, make it a static
1292 variable in nano.c instead of a flag, and surround all
David Lawrence Ramsey1356a0a2003-09-10 20:31:02 +00001293 wrap_reset() calls with DISABLE_WRAPPING #ifdefs. (DLR)
1294 - Change enum "topmidbotnone" to "topmidnone", as there's no
1295 BOTTOM option anymore. (DLR)
David Lawrence Ramsey5ffbec52003-09-16 01:16:49 +00001296 - Split out the string-displaying routine from update_line()
1297 into a separate function; convert the edit window, statusbar
1298 display, and statusbar prompt to use it, so that they can all
1299 properly display control characters and tabs; free and NULL
1300 the backup search string in one place in the search code
1301 instead of several; and do some other minor refactoring of
1302 related display functions to simplify them. New functions
1303 mark_order() and display_string(); changes to actual_x(),
David Lawrence Ramsey2dd7ed12003-09-29 05:15:24 +00001304 strnlenpt(), blank_bottombars(), blank_edit(),
1305 get_page_start(), edit_add(), update_line(), statusbar(), and
1306 do_replace_highlight(). (David Benbennick) DLR: Add minor
1307 cosmetic tweaks, add missing NANO_SMALL #ifdef around the text
1308 for a backwards search in the refactored code, and enclose
1309 dump_buffer() and dump_buffer_reverse() in one ENABLE_DEBUG
1310 #ifdef instead of two.
David Lawrence Ramsey9eff7462003-09-16 02:04:00 +00001311 - Convert memmove() function calls to charmove() macro calls, as
1312 the former all work on char*'s. (DLR)
David Lawrence Ramseyf5b256b2003-10-03 20:26:25 +00001313 - Miscellaneous #define cleanups: only include the prototype for
1314 and definition of wrap_at if wrapping and/or justification are
1315 enabled, remove duplicate wrap_at prototype, and define
1316 DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h
1317 instead of all over the code. (DLR)
Jordi Mallach3a420872003-10-19 23:30:48 +00001318 - Autogenerate the html versions of the manpages in the
1319 Makefile.am's in doc/man/, make sure that they're properly
1320 installed via "make dist", and make sure that "make distcheck"
David Lawrence Ramsey13dfdb22003-10-22 15:37:13 +00001321 works too. Also be sure to set EXTRA_DIST properly. (Jordi,
1322 DLR and Jeff Bailey)
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001323- files.c:
David Lawrence Ramsey7bf00de2003-09-23 04:25:05 +00001324 read_file()
1325 - After we've read in a file and possibly converted it from
1326 DOS/Mac format, set fileformat back to 0 to prevent erroneous
1327 conversion messages when we read other files in. (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001328 do_browser()
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001329 - Some of the Pico compatibility options in the file browser
David Lawrence Ramsey10187612003-08-17 05:40:45 +00001330 that don't work properly for current Pico have been removed.
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001331 Backspace, 'g', 'l', 'q', and 'u' are invalid. 'd' deletes
1332 the highlighted file, and 'r' renames the highlighted file;
1333 neither of these are implemented. (DLR)
David Lawrence Ramseyba6fd422003-08-23 21:16:02 +00001334- global.c:
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001335 toggle_init()
David Lawrence Ramseyba6fd422003-08-23 21:16:02 +00001336 - Change the message for the line wrapping toggle from "Auto
1337 wrap" to "Auto line wrap", to more clearly associate it with
1338 Meta-L. (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001339 shortcut_init()
David Lawrence Ramseycb7ee0e2003-08-31 17:08:59 +00001340 - Change multibuffer-enabled references to
1341 opening/closing/toggling the previous/next loaded file to
1342 toggling/switching to/closing the previous/next file buffer,
1343 for consistency with other references. (DLR)
David Lawrence Ramsey27863662003-08-29 21:31:37 +00001344- nano.c:
1345 window_init()
1346 - Set keypad() to TRUE regardless of whether PDCurses is being
1347 used, as Meta-X apparently turns it off even under ncurses.
1348 (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001349 do_backspace()
1350 - Vastly simplify, and remove dependency on page_up(). (David
1351 Benbennick)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001352 help_init()
1353 - Document the support for Esc Esc [character]'s being
1354 interpreted as Ctrl-[character], and the support for Pico's
1355 Esc Esc [three-digit decimal ASCII code] input method. (DLR)
David Lawrence Ramseyf03c78b2003-09-28 21:26:49 +00001356 do_mark()
David Lawrence Ramseycb34a672004-02-06 21:20:05 +00001357 - Toggle MARK_ISSET at the beginning of the function instead of
1358 setting it in one place and unsetting it in another place.
David Lawrence Ramseyf03c78b2003-09-28 21:26:49 +00001359 (David Benbennick)
David Lawrence Ramsey99bede32003-09-29 07:21:11 +00001360 do_suspend()
1361 - Use handle_hupterm() to handle SIGHUP and SIGTERM so we can
1362 properly deal with them while nano is suspended. (DLR; problem
1363 found by David Benbennick)
David Lawrence Ramseyf0b7dca2003-09-22 15:46:21 +00001364 abcd()
1365 - Removed, as it's unneeded due to the low-level input overhaul.
1366 (DLR)
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +00001367- nano.h:
David Lawrence Ramseye0a9f502003-09-07 05:32:24 +00001368 - Define KEY_RESIZE and KEY_SUSPEND as -1 when slang is used, as
1369 slang has no equivalent of either. When nano is compiled with
1370 slang support, resizing the window doesn't generate
1371 KEY_RESIZE, and pressing Ctrl-Z to suspend nano at the Linux
1372 console with keypad(TRUE) generates Ctrl-Z instead of
1373 KEY_SUSPEND, both unlike ncurses. (DLR)
David Lawrence Ramsey25307252003-10-10 04:42:48 +00001374 - Define KEY_RESIZE as -1 if it isn't defined, as it isn't in
David Lawrence Ramseyc1f630e2003-10-18 20:21:52 +00001375 the curses library included with SunOS 5.7-5.9. Also define
David Lawrence Ramsey25307252003-10-10 04:42:48 +00001376 KEY_SUSPEND as -1 if it isn't defined, in case it isn't in
1377 more than just Slang. (DLR)
David Lawrence Ramseyf6cf4a72003-10-22 16:20:47 +00001378 - Define all potentially missing keys as different negative
1379 values (ERR is -1, so use -2, -3, etc.) so as to avoid having
1380 duplicate case values when keys are missing. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001381- move.c:
1382 - Remove unneeded inclusion of stdio.h, make various cleanups,
1383 and preserve the cursor's coordinates when paging up and down.
1384 (David Benbennick) DLR: Readd the ability to behave the old
1385 way while paging, make it so the new behavior is only used in
1386 smooth-scrolling mode, and modify page_down() to always go
1387 down a full page (even when there's less than one page of text
1388 left) for consistency.
1389 page_up()
1390 - Removed due to rewrite of movement functions. (David
1391 Benbennick)
David Lawrence Ramseyc97acfb2003-09-10 20:08:00 +00001392- proto.h:
1393 - Surround the do_prev_word() and do_next_word() prototypes with
1394 NANO_SMALL #ifdefs, since the actual functions aren't included
1395 in tiny mode. (DLR)
David Lawrence Ramsey3bd96282003-09-06 05:09:32 +00001396- rcfile.c:
1397 parse_colors()
1398 - Generate an error if we try to use a bright background color
1399 in a nanorc file. (DLR; found by Brand Huntsman)
1400 - Make sure all rcfile error messages are capitalized, for
1401 consistency. (DLR)
David Lawrence Ramseyec290f22003-08-30 19:05:40 +00001402- winio.c:
David Lawrence Ramseyda8fd8f2003-09-16 01:22:31 +00001403 get_verbatim_kbinput()
1404 - Fix a silly memory corruption bug that would occur when trying
1405 to read a sequence of more than one key verbatim. (DLR)
1406 get_accepted_kbinput()
1407 Handle Ctrl-{ to Ctrl-~ correctly, and drop support for
1408 converting Esc ` to Esc Space, since making Meta-[key]
1409 correspond to Ctrl-[key] in all cases is inconsistent due to
1410 the different natures of Contol and Meta key sequences. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001411 do_first_line()
1412 - Call edit_update() with TOP instead of CENTER; both do the
1413 same thing, but it works faster with TOP. (DLR)
David Lawrence Ramsey7f47d422003-09-08 18:01:49 +00001414 nanogetstr()
1415 - Don't let the user type in ASCII 127 at the statusbar prompt.
1416 (DLR)
David Lawrence Ramseyec290f22003-08-30 19:05:40 +00001417 titlebar()
1418 - Fix problem with the available space for a filename on the
1419 titlebar's being short by one. (DLR)
David Lawrence Ramsey4dcd0702003-10-03 04:20:28 +00001420 edit_add()
1421 - Fix problems with the marking highlight's being drawn
1422 improperly in some cases. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +00001423 edit_update()
1424 - Tweak for efficiency and remove the fix_editbot() call. (David
1425 Benbennick)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001426 do_credits()
1427 - Update the copyright years to "1999-2003", to match those
1428 given in the rest of the code. (DLR)
David Lawrence Ramseya3831ab2003-09-22 16:26:40 +00001429- configure.ac:
1430 - Change instances of "GNU Nano" to "GNU nano" for consistency.
1431 (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001432- nano.1, nanorc.5, nano.texi:
1433 - Change all instances of $SYSCONFDIR to SYSCONFDIR, since
1434 SYSCONFDIR is set at compile time and can't be overridden by
1435 setting SYSCONFDIR in the environment. (David Benbennick)
1436 - Remove -K/--keypad, and document -d/--rebinddelete. (DLR)
1437 - Document the support for Esc Esc [character]'s being
1438 interpreted as Ctrl-[character], and the support for Pico's
1439 Esc Esc [three-digit decimal ASCII code] input method, if
1440 applicable. (DLR)
Jordi Mallach298b9752003-09-07 00:44:12 +00001441 - French translation by Jean-Philippe Guérard.
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +00001442- nano.1.html, nanorc.5.html:
1443 - Regenerated. (DLR)
1444- nanorc.sample:
1445 - Remove duplicate "historylog" entry, remove "keypad" entry,
1446 and add "rebinddelete" entry. (DLR)
David Lawrence Ramseydc9c40a2003-09-07 23:54:57 +00001447 - Update and add comments to the regexes for nanorc files.
1448 (Brand Huntsman)
David Lawrence Ramsey21cc5502003-09-06 19:04:02 +00001449 - Fix an attempt at a bright background color in the sample Java
1450 source regexes. (DLR)
1451 - Since tabs are shown as groups of spaces, they are interpreted
1452 as such when parsed by color regexes. Accordingly, simplify
1453 regexes that handle both spaces and tabs to just handle
1454 spaces, as the results are the same. (DLR)
Chris Allegrettaf3fee5d2003-08-12 02:40:47 +00001455- AUTHORS
1456 - Updated to show 1.2/1.3 maintainers.
1457
Chris Allegretta6954f052003-08-12 02:34:03 +00001458- 1.3 tree forks here
1459
Chris Allegretta33642142003-08-12 01:49:20 +00001460GNU nano 1.2.2 - 2003.08.11
Jordi Mallach5b63eaf2003-06-11 10:17:20 +00001461- General:
1462 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001463 - Change uncast nrealloc()s assigned to char pointers/arrays to
1464 charealloc()s, and cast all other nrealloc()s and all
1465 nmalloc()s. (David Benbennick and DLR)
Jordi Mallachf9390af2003-08-05 19:31:12 +00001466 - Remove gettext marks from all debug messages. Good for developers,
1467 better for translators. (Jordi)
1468 - Add translator comments on strings that should be short, like in
1469 status bar strings, etc. (Jordi)
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001470- utils.c:
1471 align()
1472 - Tweak to avoid a potential problem when strp is non-NULL but
1473 *strp is NULL. (David Benbennick)
Chris Allegretta4f5335d2003-08-04 02:51:12 +00001474 nstricmp(), nstrnicmp()
1475 - Add these functions, equivalent to strcasecmp() and
1476 strncasecmp(), and convert nano to use them when strcasecmp()
1477 and/or strncasecmp() are unavailable. (DLR)
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001478- winio.c:
Chris Allegretta653d6142003-08-04 02:12:03 +00001479 do_help()
1480 - Get rid of keypad_on() call for bottomwin, which should not be
1481 needed (DLR).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001482 nanogetstr()
1483 - Fix problem with search history where a temporary string
1484 added at the bottom of the history (but which was not in the
1485 history) would not be preserved after scrolling down to the
1486 blank bottom entry and then scrolling back up. (DLR)
Chris Allegrettac30fc242003-08-11 00:32:45 +00001487 - Fix problem where pressing down,up,down does not blank the
1488 search prompt but keeps the previous search (DLR).
Chris Allegretta653d6142003-08-04 02:12:03 +00001489 - Handle Alt-[-F and H (DLR, fixed home and end not working with
1490 -K in statusbar).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001491- configure.ac:
1492 - Change the program used to detect a broken regexec() function
1493 so that it works properly, using information found at
1494 http://sources.redhat.com/ml/libc-hacker/2001-06/msg00015.html.
1495 (DLR)
1496- nanorc.sample:
1497 - Revised comment explaining the non-escaping of quotes to cover
1498 non-escaping of all shell-interpreted characters. (DLR)
1499 - Fixes to the descriptions and examples in the comments, and
1500 changes to some default values. (David Benbennick and DLR)
1501 - Add regexes for Perl syntax. (Richard Smith, tweaked for
1502 greater efficiency by David Benbennick)
1503 - Add regexes for Java source syntax. (David Benbennick)
1504 Regex for C++-style comments (colored the same way as C-style
1505 comments) added by DLR.
Jordi Mallach2e6d0ca2003-04-24 18:23:56 +00001506- THANKS:
1507 - Added Laurentiu Buzdugan, for Romanian.
Jordi Mallach9e74ade2003-06-11 15:52:34 +00001508 - Added Geir Helland, for Norwegian Bokmål.
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +00001509- TODO:
1510 - Move the items for nano 1.2 to the "Old Requests" section,
1511 and mark color syntax highlighting as done. (David Benbennick)
David Lawrence Ramsey6d97d182003-07-02 14:20:11 +00001512- faq.html:
1513 - Added question about nano's not showing color when it's
1514 compiled with color support. (DLR; suggested by Jordi)
Jordi Mallachd995e9a2003-06-11 16:38:35 +00001515- nano.1, nanorc.5:
Jordi Mallach5b63eaf2003-06-11 10:17:20 +00001516 - Formatting improvements by Jean-Philippe Guérard.
David Lawrence Ramseyb764eb62003-06-29 02:25:46 +00001517 - Minor fixes by DLR.
1518- nano.1.html, nanorc.5.html:
1519 - Regenerated from nano.1 and nanorc.5. (DLR)
Chris Allegrettaffe575f2003-04-20 16:25:46 +00001520
Chris Allegrettaaa459312003-04-20 16:20:15 +00001521GNU nano 1.2.1 - 2003.04.19
Jordi Mallach723399a2003-02-23 19:12:54 +00001522- General:
1523 - Translation updates (see po/ChangeLog for details).
Chris Allegrettad8451932003-03-11 03:50:40 +00001524 - Work around broken regexec() on some systems that segfaults
1525 when passed an empty string. New function regexec_safe().
1526 (David Benbennick)
1527 - Fix various bugs with search string history logging: don't
1528 print a broken error message and freeze if ~/.nano_history is
1529 unreadable, actually show an error message in save_history()
1530 if ~/.nano_history is unwritable, and prevent ~/.nano_history
1531 from being completely overwritten by save_history() if it's
1532 unreadable but writable. (David Benbennick)
Chris Allegrettae1e0fd62003-04-15 01:15:09 +00001533 - Only unset KEEP_CUTBUFFER in main() when we do something other
1534 than cut text in the main input loop, instead of unsetting it
1535 all over the place (which, as written, didn't handle cases
1536 like a cut followed by M-Space properly). Also, instead of
1537 checking for keyhandled's not being set inside the for loops,
1538 do it in if blocks surrounding the for loops to increase
1539 efficiency. (David Benbennick) DLR: Also unset KEEP_CUTBUFFER
1540 if we hit a shortcut key other than the one for cutting text.
1541 - Make it so a marked cut immediately followed by an unmarked
1542 cut tacks the latter's text onto the end of the former's text
1543 instead of putting it on a new line, as Pico does. (DLR)
1544 - Convert instances of "(char *)nrealloc()" to the macro
1545 charealloc(), which does the same thing. (DLR)
Chris Allegretta8151ba52003-04-19 19:34:05 +00001546 - Change justify_mode from a boolean int to a flag (DLR).
Chris Allegrettae1e0fd62003-04-15 01:15:09 +00001547- cut.c:
1548 do_cut_text()
1549 - Tweak where KEEP_CUTBUFFER is set so that a marked cut
1550 immediately followed by an unmarked cut preserves the
1551 cutbuffer between the two. (David Benbennick) DLR: Also
1552 properly set KEEP_CUTBUFFER in tiny mode.
1553 do_uncut_text()
1554 - If we're about to uncut on the magicline, always make a new
1555 magicline in advance, as Pico does. (DLR)
Chris Allegrettad8451932003-03-11 03:50:40 +00001556- global.c:
1557 shortcut_init()
1558 - Simplify the #ifdef used to enable file insertion in view mode
1559 if multibuffer support has been compiled in. (DLR)
1560- nano.c:
1561 justify_format()
1562 - If we shave spaces off the end of the line, make sure totsize
1563 is properly updated. (DLR; much simplified by David
1564 Benbennick)
1565- nano.h:
1566 - Simplify #ifdefs relating to HAVE_STRCASECMP and
1567 HAVE_STRNCASECMP. (David Benbennick)
Chris Allegrettae1e0fd62003-04-15 01:15:09 +00001568- search.c:
1569 goto_abort()
1570 - Removed, with all instances replaced with display_main_list(),
1571 since with the removal of all the scattered calls to
1572 SET(KEEP_CUTBUFFER), that function was all that was left of
1573 it. (DLR)
1574 do_find_bracket()
1575 - If a matching bracket wasn't found, call update_line() after
1576 setting current and current_x back to their original values,
1577 in case current_x's original value is greater than the width
1578 of the screen. (DLR)
Chris Allegretta4b376a42003-04-16 02:08:23 +00001579- winio.c:
1580 nanogetstr()
1581 - Remove a few unnecessary breaks occurring immediately after
1582 gotos, and properly interpret the up and down arrow keys when
1583 ALT_KEYPAD is set. (DLR)
Chris Allegrettad8451932003-03-11 03:50:40 +00001584- configure.ac:
1585 - Enable autodetection of broken regexec(). (DLR) Re-added
1586 regex.h check to ensure compile under Debian w/autoconf 1.6.
Jordi Mallachdb469d82003-03-24 13:08:16 +00001587- README:
1588 - Update obsolete 1.1.x information.
Chris Allegrettad8451932003-03-11 03:50:40 +00001589- TODO:
1590 - Fix typo. (David Benbennick)
1591- faq.html:
1592 - Update RPM links for nano 1.2.x. (DLR)
Chris Allegrettadbc3ec72003-02-20 03:14:37 +00001593
Chris Allegretta2b4ead92003-02-20 01:56:02 +00001594GNU nano 1.2.0 - 2003.02.19
Jordi Mallach07e20002003-02-14 22:10:14 +00001595- General:
1596 - Translation updates (see po/ChangeLog for details).
Chris Allegretta33ac7b92003-02-16 03:13:47 +00001597- files.c:
1598 read_file()
1599 - If the file we're loading has already been detected as a DOS
1600 or Mac formatted file, don't turn on NOCONVERT if we find
1601 binary chars in it. This is because if it's detected as
1602 DOS/Mac format, at least one line has already been converted,
1603 so setting NOCONVERT (which is supposed to signal that none
1604 of the file should be converted) makes no sense. (DLR)
Chris Allegrettaa7a78de2003-02-19 22:27:53 +00001605- nano.c:
1606 justify_format()
1607 - Fix ugly behavior when wrapping spaces at the end of long
1608 words (David Benbennick).
Jordi Mallach07e20002003-02-14 22:10:14 +00001609- nanorc.5:
1610 - Fix formatting error and update copyright year (Jordi).
Jordi Mallachfc71eb52003-02-15 13:34:03 +00001611 - Several enhancements (David Benbennick).
Chris Allegretta3d332512003-02-14 03:10:12 +00001612
Chris Allegretta7ba32792003-02-14 03:09:35 +00001613GNU nano 1.1.99pre3 - 2003.02.13
Jordi Mallacha577d5a2003-02-04 14:13:36 +00001614- General:
1615 - Translation updates (see po/ChangeLog for details).
Chris Allegretta201f1d92003-02-05 02:51:19 +00001616 - Fix globals and externs such that nano will compile with
1617 DISABLE_SPELLER (David Benbennick).
Chris Allegrettaf8f2d582003-02-10 02:43:48 +00001618 - Fix unreasonable fill values by wrapping at length 0 instead
1619 of erroring out, and don't start up if the window size is too
1620 small but fill is set reasonably. Changes to
1621 nano.c:global_init(), window_init(), and handle_sigwinch().
1622 New macro MIN_EDITOR_COLS replaces MIN_FILL_LENGTH
1623 (David Benbennick).
Chris Allegrettad8451932003-03-11 03:50:40 +00001624 - Change ngettext macro to P_(), to avoid a clash with the
1625 reserved C __ identifier (Jordi).
Chris Allegrettafdcb9e92003-02-12 02:52:04 +00001626 - Memory leak fixes for files.c:do_insertfile(),do_browser(),
Chris Allegrettad8451932003-03-11 03:50:40 +00001627 nano.c:do_spell(), and search.c:do_replace() (David
1628 Benbennick).
Chris Allegrettabcc86882003-02-13 01:54:41 +00001629 - Remove do_preserve_msg, as using -p still gives Pico-style
1630 string behavior, so an annoying message every invocation is
1631 probably unneeded (all cheer).
Chris Allegrettad8451932003-03-11 03:50:40 +00001632 - Change resetpos function to be global (now called
Chris Allegretta65f075d2003-02-13 03:03:49 +00001633 resetstatuspos. Fixes annoying but small odd problem with
Chris Allegrettad8451932003-03-11 03:50:40 +00001634 cursor placement when inserting a file. This needs to be done
1635 better in 1.3 (originally by David Lawrence Ramsey). Added
1636 this issue to TODO.
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +00001637- files.c:
Chris Allegrettabcaeeb42003-02-08 02:03:26 +00001638 cwd_tab_completion()
1639 - Memory leak fix (David Benbennick).
David Lawrence Ramsey9591ee52004-01-14 16:51:06 +00001640 input_tab()
Chris Allegrettad8451932003-03-11 03:50:40 +00001641 - Fix assumption that matches is null terminated (David
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +00001642 Benbennick).
Chris Allegrettaa0449d92003-02-12 23:58:01 +00001643 load_history()
Chris Allegrettad8451932003-03-11 03:50:40 +00001644 - Fix segfault on loading huge strings from history file
Chris Allegrettaa0449d92003-02-12 23:58:01 +00001645 (David Benbennick).
Chris Allegretta1debce22003-02-13 22:00:19 +00001646 load_history(), save_history()
1647 - Changed to look at $HOME before getpwuid(geteuid()), see
1648 details in comment for rcfile.c:do_rcfile().
Chris Allegrettad8451932003-03-11 03:50:40 +00001649 real_dir_from_tilde()
Chris Allegretta1debce22003-02-13 22:00:19 +00001650 - Change check for the running user's home dir to use
1651 getpwuid(geteuid()) rather than a getpwent() loop
1652 (suggested by Jordi).
Chris Allegretta5ec68622003-02-05 02:39:34 +00001653- nano.c:
Chris Allegretta428f6202003-02-12 03:21:45 +00001654 breakable()
1655 - Fix incorrect return value on short lines (David Benbennick).
Chris Allegretta4640fe32003-02-10 03:10:03 +00001656 do_help()
1657 - Fix line lengths not being computed properly, causes display
1658 glitches most noticeable with < 20 rows. New function
1659 nano.c:line_len(). (David Benbennick).
Chris Allegretta428f6202003-02-12 03:21:45 +00001660 do_justify()
1661 - Add regfree() to quote regex (David Benbennick).
Chris Allegrettad8451932003-03-11 03:50:40 +00001662 - Only copy previous indent if AUTOINDENT is set (David
Chris Allegretta428f6202003-02-12 03:21:45 +00001663 Benbennick).
Chris Allegretta76417082003-02-12 23:54:34 +00001664 do_suspend()
1665 - Fix untranslated message (David Benbennick).
Chris Allegrettad127c712003-02-12 23:20:45 +00001666 do_wrap()
1667 - Fix isspace() call to operate on int.
Chris Allegretta428f6202003-02-12 03:21:45 +00001668 help_init()
1669 - Fix crashing in do_help when COLS < 23 (David Benbennick).
1670 main()
1671 - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
1672 (David Benbennick).
Chris Allegrettafe1d0722003-02-13 00:52:49 +00001673 - Silence annoying compiler messages about clobbering and
1674 uninitialized variables by moving variable inits to the top
1675 of main() and re-initializing them after the sigsetjmp().
Chris Allegrettad6e84362003-02-07 00:02:00 +00001676- rcfile.c:
1677 colortoint()
1678 - Don't bomb after invalid color and print bad color name
1679 (David Benbennick).
Chris Allegretta17ec14b2003-02-07 00:19:05 +00001680 colortoint, parse_colors()
1681 - Don't add strings with invalid fg colors at all.
Chris Allegretta2e39c1c2003-02-13 03:36:15 +00001682 do_rcfile()
1683 - Revert (somewhat) previous behavior of looking at
1684 $HOME, and only run getpw* if it is NULL. Most *nix programs
1685 seem to only care about $HOME, and at the user-level
1686 getpw* may not be reliable (and its slower).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +00001687- search.c:
1688 do_gotoline()
1689 - Only goto_abort() if we *didnt* abort the command, making
1690 the function seem horribly misnamed ;-) (David Benbennick).
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +00001691- winio.c:
Chris Allegrettae9b5c6f2003-02-12 23:49:56 +00001692 browser_init(), striponedir(), do_browse_from()
1693 - Various memory leak fixes (David Benbennick).
Chris Allegrettab2cd2482003-02-12 23:18:19 +00001694 do_yesno(), do_help()
1695 - Add defined(NCURSES_MOUSE_VERSION) to macro so systems that
1696 don't understand MEVENT will compile.
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +00001697 nanogetstr()
1698 - Remove unnecessary reset of x since it is now handled
1699 elsewhere (David Lawrence Ramsey).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +00001700 statusq()
1701 - Always blank the statusbar on exit (David Benbennick).
Chris Allegretta5ea694e2003-02-04 14:24:54 +00001702- nano.1, nano.1.html:
1703 - Add initialization file comments, change some options from
1704 bracketed to underlined to emphasize that they are not
1705 optional.
Jordi Mallacha66a8f72003-02-09 01:28:40 +00001706 - Add SEE ALSO section (Jordi).
Chris Allegretta4f989fa2003-02-13 04:01:49 +00001707 - Moved nano.1 color and syntax sections to nanorc, pointed
1708 nano.1 to nanorc.5 for initialization file. Changed
1709 nanorc.5 variables to be italics to match nano.1. Added
1710 nanorc.5.html to CVS tree.
Jordi Mallacha66a8f72003-02-09 01:28:40 +00001711- nanorc.5:
1712 - Add nanorc manpage, with descriptions of all available commands
1713 (Jordi).
Chris Allegrettaa3daf3a2003-02-07 00:11:55 +00001714- nanorc.sample:
1715 - Make nanorc entry less tolerant of invalid colors.
Chris Allegretta97e10b52003-02-08 22:05:50 +00001716- nano.spec.in:
1717 - Change default flags to --enable-all.
Jordi Mallach2ddd75e2003-02-09 23:51:17 +00001718- THANKS:
1719 - Add Kalle Kivimaa and Kalle Olavi Niemitalo, for Finnish (Jordi).
Jordi Mallachaebfac82003-02-13 12:50:53 +00001720- UPGRADE:
1721 - Add upgrading information document for 1.0 users (Jordi).
Chris Allegrettacddbfd02003-02-03 15:29:56 +00001722
Chris Allegretta5c8c2762003-02-03 15:21:27 +00001723GNU nano 1.1.99pre2 - 2003.02.03
Jordi Mallacha577d5a2003-02-04 14:13:36 +00001724- General:
Chris Allegretta0e86e602003-01-23 04:27:23 +00001725 - Changed some translatable debug messages to use %s
1726 instead of the function name, and removed gettext from
1727 two strings that had no actual words in them that
1728 should be translated. Suggested originally by
1729 Christian Rose.
Chris Allegretta9090f2e2003-01-26 04:45:05 +00001730 - Fix subexpression replacement to work consistently.
1731 Affects search.c:replace_regexp() and
1732 utils.c:strstrwrapper() (David Benbennick).
Chris Allegretta47fcfe52003-01-26 21:01:16 +00001733 - Fix cursor position being saved when escaping out
1734 of nanogetstr with keys like ^Y and ^V. New arg
1735 resetpos to nanogetstr(), added static int
1736 resetpos in statusq() (bug found by DLR).
Chris Allegrettad26ab912003-01-28 01:16:47 +00001737 - Fix constant curos updates from obliterating other
1738 system messages, and fix statusbar message length.
1739 Affects files.c:load_open_file(), nano.c:main(),
1740 search.c:findnextstr(), winio.c:statusbar() and
1741 do_cursorpos() (David Benbennick).
Chris Allegretta5d715142003-01-29 04:18:37 +00001742 - Fix nano crashing when searching/replacing an invalid
1743 regex (try "^*"). Changed regexp_init() to return
1744 1 or 0 based on regcomp()'s return value and search_init
Chris Allegrettad89eb912003-02-03 07:07:40 +00001745 to exit with an error message (sorry Jordi!). Added
1746 another check when using last_search instead of answer.
Chris Allegrettace452fb2003-02-03 02:56:44 +00001747 - Move regcomp into rcfile.c rather than each display refresh
1748 of winio.c. New function rcfile.c:nregcomp().
1749 This fixes much of nano's resource hogging behavior
1750 in syntax higlighting. (David Benbennick).
Chris Allegrettacff6e6f2003-02-03 03:22:02 +00001751 - Fix justify failing for certain lines, new function
1752 nano.c:breakable() (David Benbennick).
Chris Allegrettaa0d89972003-02-03 03:32:08 +00001753 - Fix screen getting trashed on signals nano can catch
1754 (TERM and HUP). New global variable curses_ended,
Chris Allegrettadbfc56c2003-02-03 03:33:04 +00001755 changes to winio.c:statubar() and nano.c:die()
1756 (David Benbennick).
Chris Allegretta149781d2003-01-26 03:54:00 +00001757- cut.c:
1758 do_cut_text()
1759 - Fix incorrect cursor location when cutting long lines
1760 (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +00001761- files.c:
Chris Allegretta858d9d92003-01-30 00:53:32 +00001762 - Set a default PATH_MAX for getcwd() etc calls (David
1763 Benbennick).
1764 do_browse_from()
1765 - Fix path checking to fix bad paths, escaping
1766 the operating directory, new function readable_dir() (David
1767 Benbennick).
Chris Allegrettab698c352003-01-26 22:05:07 +00001768 do_browser()
1769 - Fix incorrect path check for check_operating_dir()
1770 (David Benbennick).
Chris Allegrettaf80a59c2003-01-30 00:57:33 +00001771 - Fix goto directory operating dir check and tilde expansion
1772 (David Benbennick).
Chris Allegretta0eab2362003-02-03 03:39:05 +00001773 - Even more checks and operating dir fixes (David Benbennick).
Chris Allegretta434d6862003-02-03 04:55:17 +00001774 do_insertfile()
1775 - Add some more checks and fix recursion when toggling
1776 multibuffer (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +00001777 open_file()
1778 - Fix FD leak with file load error (David Benbennick).
Chris Allegretta5c63f272003-02-02 04:26:54 +00001779 add_open_file()
1780 - Revert the fix for the supposed minor logic error from before;
1781 it was keeping some updates from happening when they should,
1782 which was leading to segfaults with both multibuffer and view
1783 mode on. (DLR; found by David Benbennick)
Chris Allegretta77e726d2003-01-26 19:36:08 +00001784 save_history()
1785 - Fix nrealloc return value being ignored (David Benbennick).
Chris Allegrettac4533572003-02-03 05:04:09 +00001786 - Fix off-by-one bug causing write to unallocated memory
1787 (David Benbennick).
Chris Allegrettace452fb2003-02-03 02:56:44 +00001788- global.c:
1789 thanks_for_all_the_fish()
1790 - Fix compiling with DEBUG and multibuffer (David Benbennick).
Jordi Mallacheeb50042003-01-18 22:42:34 +00001791- nano.c:
Chris Allegrettaa3407662003-01-26 21:13:03 +00001792 do_char()
1793 - Remove unneeded check_statblank() (David Benbennick).
Chris Allegretta64fc78c2003-01-26 19:57:44 +00001794 do_int_spell_fix(), do_int_speller()
1795 - Fix crashes with mark position, current_x position,
1796 and edit_update args (David Benbennick).
Chris Allegretta2a7b8b22003-01-30 00:42:20 +00001797 do_justify()
1798 - Unset KEEP_CUTBUFFER so nano won't crash with subsequent
1799 ^K cuts and justifies (David Benbennick).
Chris Allegrettae92a7bc2003-01-28 01:36:38 +00001800 do_mouse()
1801 - Fix the mouse code to work with lines longer than COLS and
1802 with the proper positioning, including special characters
1803 (David Benbennick).
1804 do_preserve_msg():
1805 - Unsplit error message into a single fprintf call (Jordi).
Chris Allegretta3d459ad2003-01-22 01:09:40 +00001806 main()
1807 - Call load_file with arg 0 for insert, as we aren't really
1808 doing an insert, allows new_file() to run if we open a
1809 non-file at startup.
1810 usage()
Jordi Mallacheeb50042003-01-18 22:42:34 +00001811 - Remove gettext markings from -p/--preserve (Jordi).
Chris Allegretta36fec722003-01-22 01:13:25 +00001812 - Revamp -H option message to fit in 80 column terminal.
Chris Allegretta1a128af2003-01-26 04:15:56 +00001813 window_init()
1814 - Fix leaking *WINDOWs (no pun intended) (David Benbennick).
Chris Allegretta1939c352003-01-26 04:26:25 +00001815- search.c:
Chris Allegretta8a85aa02003-01-26 20:02:15 +00001816 do_search(), do_replace_loop()
1817 - Fix edit_update call to use CENTER instead of current_x
1818 (related to David Benbennick's fixes for spelling).
Chris Allegretta1939c352003-01-26 04:26:25 +00001819 do_replace_loop()
1820 - Fix various bugs having to do with replace string length
1821 and positioning (David Benbennick).
Chris Allegretta63d0b482003-01-26 19:47:10 +00001822 edit_refresh()
1823 - Fix cursor being above as well as below the current screen
1824 (David Benbennick).
Chris Allegretta3bbc4162003-01-23 00:46:12 +00001825- winio.c:
1826 bottombars()
1827 - Change strcpy of gettext() "Up" string to strncpy of max
1828 width 8, to stop stupid strcpy crash.
Chris Allegrettadb28e962003-01-28 01:23:40 +00001829 do_yesno()
1830 - Fix mouse interaction bugs with yes/no prompt (David Benbennick).
Chris Allegrettaf22e8bf2003-01-23 01:21:26 +00001831- nanorc.sample:
1832 - Change comment to say magenta instead of purple.
1833
Chris Allegrettad46f5442003-01-17 21:47:33 +00001834GNU nano 1.1.99pre1 - 2003.01.17
David Lawrence Ramseydc60b722002-10-25 16:08:53 +00001835- General:
Chris Allegrettad46f5442003-01-17 21:47:33 +00001836 - New date format for NEWS and ChangeLog.
Chris Allegretta7662c862003-01-13 01:35:15 +00001837 - Completely removed PICO_MODE, as with the search/replace
1838 history patch we should have the extended functionality we can
1839 without being incompatible with Pico. Removed all code for
1840 different search/replace string editing and alternate shortcut
1841 list. I'm sure I won't even have to ask for feedback on this
1842 one :-)
1843 - Add in Pico's -p flag, (-p, --preserve). To preserve the XON
1844 and XOFF keys (^Q and ^S). Add warning if we invoke -p and
1845 add checks for using --preserve (to skip warning) and --pico
1846 (to force showing it). New flag PRESERVE, function
1847 do_preserve_msg(), changes to main(), signal_init().
1848 - Search history and replace history up/down cursor arrows,
1849 w/history tab completion, not available w/NANO_SMALL. Changes
1850 to statusq(), others (Ken Tyler). Added shortcut to
1851 search/replace shortcuts so people will know it's there,
1852 forced KEY_UP and KEY_DOWN defs in nano.h (Chris, in case
1853 blame needs to be placed later). Minor fixes by DLR: allow ^P
1854 and ^N as alternatives to the up and down arrows, make sure
1855 the "Up" shortcut is displayed properly in the help menu,
1856 remove a few bits of unneeded and/or warning-generating code,
1857 and fix some missing statusq() prompts with --enable-tiny.
Chris Allegrettaf3de8b52003-01-16 23:44:46 +00001858 - Added search/replace history log. Flag -H, --historylog.
1859 Flags HISTORY_CHANGED and HISTORYLOG (only room for one more
1860 flag!), added entries in nanorc.sample, new functions
1861 log_history and save_history (Ken Tyler).
Jordi Mallach5e4b8cf2002-10-26 15:02:14 +00001862 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseydc60b722002-10-25 16:08:53 +00001863 - Forward-ported Chris' --disable-wrapping-as-root option from
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001864 1.0.9. Per Jordi's suggestions, have it override
1865 $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR)
1866 - Change all references to /etc/nanorc in the documentation to
1867 $SYSCONFDIR/nanorc. (DLR)
David Lawrence Ramsey99519ae2002-11-04 16:12:19 +00001868 - Minor cosmetic tweaks to the ngettext() macro, and fix to
1869 properly detect systems lacking ngettext() and correctly
1870 compile on them; the previous fix didn't work. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001871 - Fix problems with some code sections' not being #ifdef'ed out
1872 when they should be, or being #ifdef'ed out improperly. (David
1873 Benbennick and DLR)
1874 - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the
1875 associated logic accordingly, throughout the code. (David
1876 Benbennick)
1877 - Rework #ifdefs to not include mouse_init() at all if
1878 DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR)
1879 - For consistency, change many references of (!x) to (x == NULL)
1880 and (x) to (x != NULL). (DLR)
1881 - Define KEY_IC properly (and KEY_DC more portably) when slang
1882 support is enabled, and remove the hack to work around the
1883 former's not being defined. (David Benbennick and DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001884 - Miscellaneous tweaks to update_color() calls, to make sure
1885 they're called at the right times and that refreshes are done
1886 afterwards only when needed. (David Benbennick)
1887 - Renamed [have_]past_editbuff [have_]search_offscreen. (DLR)
1888 - Add the "preserve" option to the nanorc file, to match
1889 nanorc.sample. (DLR)
Chris Allegretta0e7a3f52003-01-15 03:06:25 +00001890 - Fixed awful scrolling in do_int_speller. Problem was
1891 findnextstr() calling edit_update(), though screen updating
1892 is not its business. Added checks in do_search() and
1893 do_replace_loop() to do the checks. It really should not be
1894 done here, as some function in winio.c should handle this,
1895 but I can't seem to find a good place to put this check.
Chris Allegrettad757e252003-01-15 19:33:27 +00001896 - Updated all copyright notices to say 2003 rather than 2002, as
1897 nearly all the source files have been worked on this year
1898 (DLR).
Jordi Mallach3e5ad632002-12-14 22:15:35 +00001899- configure.ac:
Jordi Mallacha0e829c2003-01-15 17:43:59 +00001900 - Added tr and eu to ALL_LINGUAS (Jordi).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001901 - Fix now inaccurate description of --enable-tiny's effects; it
1902 no longer disables NLS support. (DLR)
1903 - Fix typo. (David Benbennick)
1904 - Check for strcasecmp() and strncasecmp(), since they are
1905 apparently only standard under BSD. (DLR)
Jordi Mallach631ee1f2003-01-15 17:40:35 +00001906 - Small cleanups. Add copyright header, add autopoint support and
1907 define bug report address and full package name in AC_INIT. Move
1908 ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
Chris Allegrettad957f592003-01-17 00:17:45 +00001909 - Added --enable-all option to compile in all the extra stuff
1910 we'd normally need extra flags for.
Chris Allegretta7662c862003-01-13 01:35:15 +00001911- color.c:
1912 update_color():
1913 - Remove an unneeded edit_refresh() call after do_colorinit().
1914 (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001915- cut.c:
1916 do_cut_text()
1917 - Fix a memory corruption problem caused by accessing edittop
1918 after it was freed but before it was reset to a sane value
1919 from current. (David Benbennick)
1920 do_uncut_text()
1921 - If uncutting more than one line of unmarked text at editbot,
1922 don't center the screen, since Pico doesn't. (DLR)
Chris Allegretta688c8eb2003-01-14 23:36:11 +00001923 - If uncutting previously unmarked text, uncut to end if we're
1924 not at the beginning of the line, and set placewewant to 0 if
1925 we are. This matches Pico's behavior. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001926- files.c:
Chris Allegretta7662c862003-01-13 01:35:15 +00001927 load_file()
1928 - Remove unneeded wmove() call. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001929 read_line()
1930 - Miscellaneous cleanups. (David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +00001931 open_file()
1932 - If we're in multibuffer mode and there's an error opening the
1933 file in read-only mode, display the error message on the
1934 statusbar regardless of the value of quiet. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001935 read_file()
1936 - Miscellaneous cleanups. (David Benbennick)
1937 - Fix len's being off by one when reading in Mac-format files,
1938 exposed by one of David Benbennick's cleanups. (DLR)
1939 - If NO_CONVERT isn't set when we first enter, and it gets set
1940 while reading in the file, unset it again afterwards. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001941 do_insertfile()
1942 - If we're in multibuffer mode and there's an error opening the
1943 file that we're trying to insert, close the new buffer that we
1944 made to hold it and reload the buffer we had open before.
1945 (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001946 add_open_file()
1947 - Fix minor logic error when determining when to resave fileage
1948 and filebot. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001949 load_open_file()
1950 - If switching between files when CONSTUPDATE is set, only force
1951 a cursor position display update if DISABLE_CURPOS isn't set.
1952 This will ensure that the "Switching to [file]" messages are
1953 shown. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001954 write_file()
1955 - Change lineswritten from a long to an int, to match
1956 filestruct->lineno. (DLR; mismatch found by David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +00001957 real_dir_from_tilde()
1958 - Since this is needed for proper interpretation of paths
1959 containing tildes and not just for tab completion, include and
1960 use it regardless of whether tab completion is disabled.
1961 (David Benbennick and DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001962 input_tab()
1963 - Variable name change: matchBuf -> matchbuf. (DLR)
1964 diralphasort()
1965 - Remove the HAVE_STRCASECMP #ifdef block; see the changes to
1966 configure.ac and nano.h for why. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00001967- global.c:
1968 thanks_for_all_the_fish()
1969 - Miscellaneous cleanups. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001970- move.c:
1971 do_page_down()
1972 - If there's a page or less of text, do an edit_update() if the
1973 mark is on; otherwise, the highlight won't be displayed. (DLR)
David Lawrence Ramsey9e050ad2002-11-04 16:18:52 +00001974- nano.c:
Chris Allegretta7662c862003-01-13 01:35:15 +00001975 - Added free_history() list calls clean up, added init of list
1976 headers, and modified statusq() calls (Ken Tyler).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00001977 do_prev_word()
1978 - Make the assert match that in do_next_word(). (DLR)
1979 do_enter()
1980 - If smooth scrolling is on, and Enter is pressed on the
1981 magicline, don't center the screen. (DLR)
1982 do_justify()
1983 - Fix memory corruption problem triggered when edittop and
1984 current->next pointed to the same value and current->next was
1985 destroyed during justification. (DLR)
1986 - Center the screen when justification moves the cursor entirely
1987 off the bottom of the screen, instead of when it moves the
1988 cursor near the bottom of the screen, to more closely match
1989 Pico's behavior. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001990 version()
1991 - Remove obsolete reference to --enable-undo. (David Benbennick)
Chris Allegrettae6600372003-01-17 03:39:41 +00001992 - Move up check for --disable-nls as it's independent of
1993 --enable-tiny now (DLR).
Chris Allegretta5ad92ac2002-12-09 00:58:51 +00001994 do_int_speller()
Chris Allegretta5af58892003-01-17 21:07:38 +00001995 - Make internal spell program use sort -f and uniq to create a
1996 less redundant word list. [The only reason this is going in
1997 during feature freeze is because the int speller is useless as
1998 is and should either be improved or removed. I chose
1999 improved].
Chris Allegretta3f1b6852003-01-12 23:54:05 +00002000 - Change all child error checks to use one goto (gasp!) called
2001 close_pipes_and_exit, so we don't leak FDs.
Chris Allegretta2d5fc3a2003-01-16 03:11:23 +00002002 - Fix FD leaks which occur outside of errors (David Benbennick).
Chris Allegretta334a9402002-12-16 04:25:53 +00002003 do_int_speller(), do_alt_speller()
2004 - Programs now return char *, NULL for successful completion,
2005 otherwise the error string to display. This allows us to give
2006 more useful feedback to the user when spell checking fails.
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00002007 ABCD()
2008 - Renamed abcd(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00002009 main()
2010 - Remove an unneeded do_colorinit() call, do major cleanups, and
2011 allow loading of multiple files on the command line when
2012 multibuffers are used. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00002013- nano.h:
2014 - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same
2015 value. (DLR; discovered by Ken Tyler)
2016 - If strcasecmp() and/or strncasecmp() aren't available, use
Chris Allegretta7662c862003-01-13 01:35:15 +00002017 strcmp() and/or strncmp() instead. (DLR)
2018- proto.h:
2019 - Fix the #ifdef block for DISABLE_TABCOMP's being undefined
2020 so that functions only used with tab completion are properly
2021 #ifdef'ed out. (DLR)
2022- search.c:
Chris Allegretta2ad0f6c2003-01-16 03:51:02 +00002023 do_gotoline()
2024 - Don't call blank_statusbar_refresh() so if there's an error
2025 returned in multibuffer mode, we can actually see it.
Chris Allegretta688c8eb2003-01-14 23:36:11 +00002026 do_search()
2027 - Remove erroneously introduced near-duplicate call to
2028 update_history(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +00002029 print_replaced()
2030 - Remove and replace with an equivalent ngettext() call. (DLR)
2031 do_replace_loop()
2032 - Fix bug where if text on the magicline was replaced (which can
2033 be done via a regexp replace of "^$" with something other than
2034 ""), a new magicline wouldn't be created. (DLR)
Chris Allegrettaca7113a2003-01-14 23:35:24 +00002035 - Remove check for answer being a blank string, presumed to be
2036 a PICO_MODE holdover, but it stops us from doing a blank
2037 spelling replacement.
Chris Allegretta7662c862003-01-13 01:35:15 +00002038 do_replace()
2039 - For greater Pico compatibility, when an attempt to replace a
2040 string results in 0 replacements due to the string's not being
2041 found, display "[string] not found" instead of "Replaced 0
2042 occurrences". (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00002043- utils.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +00002044 is_cntrl_char()
2045 - Rework to fix a problem with displaying certain high-bit
2046 characters. (David Benbennick; reported by Andrzej Marecki)
Chris Allegretta7662c862003-01-13 01:35:15 +00002047 align()
2048 - Don't just assert that the string passed in isn't NULL; check
2049 that it isn't and only do the alignment when it isn't. (David
2050 Benbennick)
2051 nmalloc(), nrealloc()
2052 - If the size passed to nmalloc() or nrealloc() is zero, don't
2053 die with an erroneous out-of-memory error. Also, change
2054 their dying messages to "nano is out of memory!". (David
2055 Benbennick)
2056 charalloc()
2057 - Removed and redefined as a macro that calls nmalloc(). (David
2058 Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002059- winio.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +00002060 nanogetstr()
2061 - Tweak to make the cursor stay in the same place if we hit a
2062 prompt-changing toggle while it's in the middle of the string.
Chris Allegretta5af58892003-01-17 21:07:38 +00002063 Reset it to -1 (so next time we come here, it'll be set to the
2064 end of the string) if we leave the prompt via Enter or Cancel.
Chris Allegretta09fc4302003-01-16 22:16:38 +00002065 Also fix minor problem with search history where the current
2066 search item could be at the bottom of the history twice in a
2067 row under certain conditions. (DLR)
Chris Allegretta327abda2003-01-17 05:04:17 +00002068 - Remove parens in NANO_CONTROL_I check so nano won't complain if
2069 just NANO_SMALL is defined (David Benbennick).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +00002070 edit_refresh()
2071 - Miscellaneous cleanups that fix a bug where the screen
2072 isn't updated after uncutting chunks of upwardly marked cut
2073 text that are over a page in length. (David Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002074 do_credits()
2075 - Add David Benbennick to credits. (DLR)
2076- nanorc.sample:
2077 - Added comment to explain the non-escaping of quotes in
2078 color regexes, based on info provided by David Benbennick.
2079 (DLR)
Chris Allegrettaed4fb2c2003-01-11 01:14:07 +00002080 - Added some examples for groff and the nanorc courtesy of
2081 Robert D. Goulding.
2082 - Added double hash marks to comment lines, so people who
2083 uncomment the beginning of every line won't get syntax errors.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002084- faq.html:
Chris Allegretta7662c862003-01-13 01:35:15 +00002085 - Miscellaneous fixes and updates for typos, broken links, and
2086 slashes at the end of directories. It is now fully compliant
2087 with HTML 4.01 Transitional. (DLR and David Benbennick)
Chris Allegretta3f8a63c2003-01-17 02:49:23 +00002088 - Added docs about the new unified search string interface and
2089 search histories, and added --enable-all into configure docs.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002090- nano.texi:
2091 - Typo fixes and updates. (David Benbennick)
Chris Allegretta9fa5fbd2003-01-13 02:56:29 +00002092 - Updates for the most recent and not so recent changes.
Chris Allegrettaf9ab3f72003-01-17 03:06:28 +00002093- nano.1, nano.1.html
2094 - Updated for the --preserve and --historylog options.
Chris Allegretta916a8ec2003-01-05 21:51:16 +00002095- TODO
2096 - Added some wishlist stuff.
Jordi Mallach3e5ad632002-12-14 22:15:35 +00002097- THANKS:
Jordi Mallacha0e829c2003-01-15 17:43:59 +00002098 - Added Doruk Fisek and Peio Ziarsolo (Jordi).
Chris Allegrettae8ad5ed2002-10-25 03:15:48 +00002099
Chris Allegretta22578932002-10-25 03:14:11 +00002100GNU nano 1.1.12 - 10/24/2002
Jordi Mallachdab02992002-10-06 23:35:19 +00002101- General:
2102 - Translation updates (see po/ChangeLog for details).
Chris Allegretta1dd0bc92002-10-13 18:43:45 +00002103 - Remove malloc.h, as it's unneeded and just causes annoyances on
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002104 *BSD systems. Added stdlib.h to global.c.
Chris Allegretta1dd0bc92002-10-13 18:43:45 +00002105 - Added Meta-Y toggle to disable/enable color syntax highlighting
2106 completely. This may eventually be per-buffer, but that's too
2107 complicated for a feature freeze.
Chris Allegrettae42df732002-10-15 00:27:55 +00002108 - Disable VSTOP keystroke. Stops people accidentally locking up
2109 nano (suggested by David Benbennick).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00002110 - Pluralize messages with ngettext() where needed. (David
Chris Allegrettad45c5992002-10-25 01:41:31 +00002111 Benbennick) Tweaked to compile on systems lacking ngettext()
2112 by DLR (problem found by Ken Tyler).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00002113 - Update nano.1 and nano.1.html to show that nano now does an
2114 emergency save on receiving SIGHUP or SIGTERM. (DLR)
2115 - Don't include "nowrap" in the long options if
2116 DISABLE_WRAPPING is defined. (DLR)
2117- files.c:
2118 read_file()
2119 - Minor efficiency fixes, some of which fit in with the change
2120 to ngettext() usage mentioned above. (David Benbennick)
2121 do_browser()
2122 - Make sure the value of path is mallocstrcpy()ed into retval
2123 and not just assigned to it, to avoid memory corruption
2124 problems. (DLR)
2125- nano.c:
Chris Allegretta2a15c582002-10-25 01:51:13 +00002126 version()
2127 - If ENABLE_NLS isn't defined, display "--disable-nls"
2128 (suggested by Ken Tyler). (DLR)
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00002129 justify_format()
2130 - Make sure the double space maintained after sentence-ending
2131 punctuation is done when that punctuation is immediately
2132 followed by a bracket-type character, so justifying e.g.
2133 sentences in parentheses works properly. (David Benbennick)
2134 handle_hup()
2135 - Renamed handle_hupterm() to show that it now handles SIGTERM
2136 as well as SIGHUP. (DLR)
2137 signal_init()
2138 - Do an emergency save on receiving either SIGHUP or SIGTERM,
2139 not just SIGHUP. (David Benbennick)
2140 main()
2141 - Fix a problem where control key commands were printed
2142 literally instead of interpreted after a failed search of a
2143 one-line file. (David Benbennick)
2144- proto.h:
2145 handle_hup()
2146 - Renamed handle_hupterm(); see above for why. (DLR)
2147- winio.c:
2148 edit_add()
2149 - Fix a potential infinite loop occurring with certain
2150 zero-length regexes. (David Benbennick)
Chris Allegretta71fb1f52002-10-02 00:21:31 +00002151
Chris Allegretta136a38a2002-10-02 00:05:40 +00002152GNU nano 1.1.11 - 10/01/2002
Jordi Mallach25daa052002-07-29 00:16:38 +00002153- General:
2154 - Translation updates (see po/ChangeLog for details).
Jordi Mallach1f1022f2002-08-21 18:19:53 +00002155 - Upgraded to gettext 0.11.5 (Jordi).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002156 - Updated nano.1, nano.1.html, and nano.texi to fix an
2157 inaccuracy in the description of -Q/--quotestr. (DLR)
2158 - Set REG_EXTENDED in all regcomp() calls. (DLR)
2159 - Minor cosmetic code cleanups. (DLR)
Chris Allegrettaf7c68112002-09-03 22:58:40 +00002160 - Changed do_insertfile to (a) report multibuffer status at the
2161 prompt and allowing it to be toggled, taking into account the
2162 need to keep the translatable strings, and (b) added a
2163 variable inspath to keep track of what the string was before
2164 toggling. I'm sure there's bugs, have at it.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002165 - Make sure all functions have prototypes in proto.h, and swap
2166 some functions around to put similar functions closer
2167 together (for this, rename clear_bottombars() to
2168 blank_bottombars()). (DLR; suggested by David Benbennick)
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002169 - More changes of char *'s to const char *'s when possible.
2170 (David Benbennick)
2171 - Fix various minor memory leaks in files.c. (David Benbennick)
2172 - Fix minor problems with the operating directory code: set the
2173 operating directory properly if it's specified only in a
2174 nanorc file, and handle an operating directory of "/"
2175 properly. New function init_operating_dir() to handle
2176 setting it both on the command line and in the nanorc file.
2177 (David Benbennick)
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +00002178 - Major rewrite of color and screen update routines to fix
2179 minor bugs and increase efficiency. New function
2180 set_colorpairs() for the former. (David Benbennick)
Jordi Mallachcb7c8d82002-07-27 02:49:46 +00002181- configure.ac:
2182 - Added pt_BR to ALL_LINGUAS (Jordi).
Chris Allegretta82559b32002-08-22 01:12:41 +00002183 - Changed --enable-color warning to be slightly less severe.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002184 - Put the configure options in more or less alphabetical order,
2185 and remove --enable-undo, since it doesn't do anything. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00002186- files.c:
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002187 open_file()
2188 - String change: "File "x" is a directory" -> ""x" is a
2189 directory". (Jordi)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002190 do_insertfile()
2191 - Disallow multibuffer toggling at the "Insert File" prompt if
2192 we're in both view and multibuffer mode, so as to keep proper
2193 integration between the two, and make sure the toggle
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002194 actually works all the time otherwise. Also, make sure
2195 TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and
2196 ENABLE_MULTIBUFFER are both defined. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002197 open_prevfile_void(), open_nextfile_void()
2198 - Return the return values of open_prevfile() and
2199 open_nextfile(), respectively, instead of (incorrectly)
2200 calling them and returning 0. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00002201 real_dir_from_tilde()
2202 - Rework to use getpwent() exclusively and end reliance on
2203 $HOME. Adapted from equivalent code in do_rcfile(). (DLR)
2204 input_tab()
2205 - Most likely fixed the check marked with FIXME, so that tab
2206 completion works properly when we're trying to tab-complete a
2207 username and the string already contains data. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002208- global.c:
2209 shortcut_init()
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002210 - Disable the new multibuffer toggle at the file insertion
2211 prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both
2212 defined. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002213 thanks_for_all_the_fish()
2214 - Make sure the reference to help_text is #ifdefed out when
2215 --disable-help is used. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002216- move.c:
2217 page_up()
2218 - Fix bug where current is moved up two lines when the up arrow
2219 is pressed on the top line of the edit window; this causes a
2220 segfault is the top line in the edit window is the second
2221 line of the file, as the line current ends up on doesn't
David Lawrence Ramsey768e8f02002-08-22 04:03:45 +00002222 exist. (Jeff DeFouw)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002223 do_down()
2224 - Fix bug where, if the last line in the edit window is the
2225 line before the magicline, and smooth scrolling is turned
2226 off, pressing the down arrow on that last line centers the
2227 cursor without updating the edit window. (Jeff DeFouw)
Chris Allegrettad865da12002-07-29 23:46:38 +00002228- nano.c:
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002229 version()
2230 - Put the listed configure options in more or less alphabetical
2231 order. (DLR)
2232 open_pipe()
2233 - If we're in view mode here (in which case we're also in
2234 multibuffer mode), don't set the modification flag. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00002235 do_next_word(), do_prev_word()
2236 - If we're on the last/first line of the file, don't center the
2237 screen; Pico doesn't in the former case. (DLR)
2238 do_backspace()
2239 - Rework to call edit_refresh() regardless of the value of
2240 current_x if ENABLE_COLOR is defined, so that multiple-line
2241 color regexes are properly updated onscreen as they are in
2242 do_delete(). (DLR)
2243 do_delete()
2244 - Rework to only call edit_refresh() unconditionally if
2245 ENABLE_COLOR is defined; if it isn't, and we're not deleting
2246 the end of the line, only call update_line(). (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002247 do_wrap()
2248 - Make sure wrapping is done properly when the number of
2249 characters on the line is exactly one over the limit. (David
2250 Benbennick)
Chris Allegretta0ae5c722002-09-19 23:20:26 +00002251 - Restore the previous wrapping point behavior (pre 1.1.10)
Chris Allegretta43000922002-09-21 15:41:33 +00002252 (David Benbennick). Minor fix by DLR to prevent spaces from
2253 being added to the ends of lines ending in spaces or lines
2254 ending in tabs (the latter case found by David Benbennick).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002255 do_alt_speller()
2256 - Readd DLR's fix to preserve marking when using the alternate
2257 spell checker; it was accidentally dropped. (David
2258 Benbennick)
2259 do_justify()
2260 - Fix cosmetic problems caused when justifying on the
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002261 magicline, and a minor problem where the cursor would
2262 sometimes be moved to the wrong line after justification.
2263 (David Benbennick)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00002264 main()
2265 - When searching through the main shortcut list looking for a
2266 shortcut key, stop searching after finding one; this avoids a
2267 rare segfault. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002268- nano.h:
2269 - Change search toggles for case sensitive searching and regexp
2270 searching to M-C and M-R, respectively. (DLR; suggested by
2271 Chris)
Chris Allegretta515ba322002-09-14 21:16:40 +00002272 - Add support for HP-UX's curses, which doesn't seem to support
2273 KEY_HOME and KEY_END.
Chris Allegretta79cdfdc2002-08-22 02:58:55 +00002274- nanorc.sample:
2275 - Fix the c-file regex for all caps words to be extended regex
2276 format ({} instead of \{\}) (found by DLR).
Chris Allegretta3f9c3bf2002-09-18 00:00:12 +00002277 - Add a better string matching sequence that includes escaped
2278 quotes (thanks to Carl E. Lindberg, who doesn't even know he
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +00002279 helped ;-). Some unneeded \'s in that sequence removed, and
2280 a new sequence to handle multi-line quotes added, by David
2281 Benbennick.
Chris Allegretta136a38a2002-10-02 00:05:40 +00002282 - Add some examples for HTML and TeX files (David Benbennick).
Chris Allegrettade852622002-09-18 00:28:57 +00002283- rcfile.c:
2284 parse_colors()
2285 - Stop infinite loop when syntax doesn't begin with " char.
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00002286- utils.c:
2287 charalloc()
2288 - Switch from using calloc() to using malloc(). (David
2289 Benbennick)
David Lawrence Ramsey605165e2002-09-11 01:48:14 +00002290- faq.html:
2291 - Typo fix. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002292- AUTHORS:
2293 - Add David Benbennick. (Jordi and Chris)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00002294- TODO:
2295 - Add entry in the 1.4 section for Pico's paragraph searching
2296 ability (at the search prompt, ^W goes to the paragraph's
2297 beginning, and ^O goes to the paragraph's end). (DLR)
Chris Allegretta52069c62002-07-25 22:27:50 +00002298
Chris Allegretta720a9e02002-07-25 22:26:33 +00002299GNU nano 1.1.10 - 07/25/2002
Jordi Mallachcb7c8d82002-07-27 02:49:46 +00002300- General:
Jordi Mallach1f226872002-05-13 15:05:38 +00002301 - Translation updates (see po/ChangeLog for details).
Jordi Mallach790d3622002-06-03 12:44:05 +00002302 - Upgraded to gettext 0.11.2 (Jordi).
Jordi Mallachbd338652002-06-03 12:32:28 +00002303 Removed intl/ entirely, and a few more tweaks by gettextize.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002304 - i18nized a few strings used in DEBUG mode. (DLR)
2305 - Some chars being assigned 0 are now assigned '\0'. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002306 - Put header file #includes in a more consistent order. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002307 - Remove some unneeded blank lines and spaces, and make some
2308 spacing more consistent. (DLR)
2309 - When possible, use iscntrl() to determine whether a character
2310 is a control character or not. (DLR)
2311 - Miscellaneous typo fixes. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002312 - Many fixes to the help browser and shortcut lists: efficiency
2313 updates, consistency fixes, help text fixes and improvements,
2314 and spacing improvements. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002315 - Make some functions use const variables when possible, and
2316 also make them static when necessary. (David Benbennick,
2317 necessary redefined by Chris ;-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002318 - Add Carl Drinkwater's backup file option (-B or --backup on the
2319 command line, M-B in nano's global shortcuts). If the original
2320 file is unchanged from when it was loaded, it is backed up to
2321 filename~; if the original file has been changed or deleted
2322 since it was originally loaded, it isn't backed up. The backup
2323 file retains the permissions, owner/group, and
2324 access/modification times of the original file. This option is
2325 disabled when --enable-tiny is used. It will not back up
2326 temporary files. Minor fixes to it by David Benbennick and
2327 DLR. Changes to open_file(), add_open_file(),
2328 load_open_file(), write_file(), and do_writeout().
2329 - Add \n's to the ends of "filename is %s" debugging strings.
2330 (Carl Drinkwater)
2331 - Add the long option --quotestr as an alternative for -Q, and
2332 --regexp as an alternative for -R; they were listed in nano's
2333 usage information, but weren't actually in nano. Also, display
2334 "-?" as an alternative for "-h" in nano's usage information,
Chris Allegretta6df90f52002-07-19 01:08:59 +00002335 put the command line options in a more consistent (i.e. mostly
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002336 alphabetical) order in nano, put the long options in a more
2337 consistent order in rcfile.c and nanorc.sample, don't include
2338 rcfile options if their equivalent command line options are
2339 disabled, and remove obsolete relative option from
2340 nanorc.sample. (DLR)
2341 - Change "File Name to Append/Prepend" to "File Name to
2342 Append/Prepend to". The original prompt could confusingly
2343 imply that we are appending/prepending another file to the
2344 current file, when we are actually appending/prepending the
2345 current file to another file. (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002346 - Put nano.1, nano.1.html, and nano.texi up to date, and fix a
2347 few inconsistencies in them. (DLR)
2348 - Typo fixes for the ChangeLog. (David Benbennick and DLR)
2349 - Complete rewrite of justification code to fix some bugs and
2350 improve its functionality. (David Benbennick)
2351 - If a variable isn't going to be used in tiny mode, #define it
2352 out when possible. (David Benbennick)
2353 - Major reworking of the cutting/screen-updating code in cut.c,
2354 some functions in utils.c, the cursor placement code in
2355 winio.c, and many, many other areas to increase efficiency.
2356 (David Benbennick)
2357 - Rework handling of prompts when there's a list of partial
2358 filename matches on the screen: remove kludgy case-by-case
2359 handling (which didn't even handle every case), and have
2360 statusq() handle it directly for all cases. (David Benbennick
2361 and DLR)
2362 - Fix some warnings and errors that show up when using gcc's
2363 -pedantic option. (DLR)
2364 - Add a comment to nanorc.sample warning that an out-of-range
2365 negative value for fill can make nano die complaining that
2366 the screen is too small (which may not be immediately
Chris Allegrettad865da12002-07-29 23:46:38 +00002367 obvious). (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002368 - There were some opendir() calls in files.c without
2369 corresponding closedir() calls; add them. (DLR)
2370 - Move align() and null_at() from nano.c to utils.c, and move
2371 the openfilestruct handling functions from nano.c to files.c.
2372 (DLR)
2373 - In color.c, start the "#ifdef ENABLE_COLOR" block after
2374 including all the header files, as rcfile.c does; this fixes
2375 a warning about ANSI C'S inability to handle blank files.
2376 (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00002377 - Add new function is_cntrl_char() as a wrapper for iscntrl();
2378 this is needed to treat ASCII 0x80-0x9f as control characters
2379 consistently. (Without this, they will only be treated as
2380 such when gettext is used; when it isn't used, they will be
2381 printed as-is and be interpreted as commands by xterm, which
2382 will corrupt the display.) (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002383 - Add command line option -I/--ignorercfiles to ignore
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002384 $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater). Fix to
2385 parsing getopt args (DLR).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002386 - Fix minor bugs with importing certain text files in Mac
2387 format. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002388- files.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +00002389 append_slash_if_dir(), input_tab()
2390 - Changed variable names: lastWasTab -> lastwastab, matchBuf ->
2391 matchbuf. (DLR)
2392 check_operating_dir()
2393 - Memory leak fix. (David Benbennick)
2394 check_writable_directory()
2395 - Optimizations (David Benbennick).
2396 cwd_tab_completion()
2397 - Changed a variable name: dirName -> dirname. (DLR)
2398 do_browser()
2399 - Optimizations and mouse selection fixes (David Benbennick).
2400 do_writeout()
2401 - Fix problem with formatstr's being defined as NULL when
2402 --enable-tiny is used. Since formatstr isn't ever used in tiny
2403 mode, don't bother even creating the variable. (David
2404 Benbennick and DLR)
2405 do_insertfile()
2406 - Memory leak fix (accidentally dropped 1st time).
2407 (David Benbennick).
2408 get_full_path()
2409 - Memory leak fix. Also, make it properly interpret ~/ notation
2410 so, among other things, the option "--operatingdir ~" works.
2411 (David Benbennick)
2412 - More optimizations (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002413 new_file()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002414 - Make sure current_x is zero; this fixes a problem where the
2415 current cursor position wasn't reset when reading in a file in
2416 multibuffer mode. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002417 - Use make_new_node rather than setting up fileage by hand
2418 (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002419 read_file(), read_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002420 - Rework to properly handle nulls in the input file, fix
2421 detection of binary files to properly mark a file as binary if
2422 the only binary characters it contains are ASCII 127's, and
2423 after reading the last line of a file that doesn't end in a
2424 newline, increment totsize. Remove previous kludge to set
2425 totsize properly. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002426 write_file()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002427 - Rework to properly handle nulls in the input file. When
2428 appending/prepending, don't change the current file's name to
2429 the name of the file it's being appended/prepended to. When
2430 writing a marked selection to a file, save and restore totsize
2431 so it isn't decreased by the size of the selection afterward.
2432 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002433 - Optimizations (David Benbennick).
Chris Allegretta6fe98d72002-05-16 23:30:14 +00002434- global.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002435 free_toggles()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002436 - Only include if we're not using tiny mode. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002437 toggle_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002438 - Remove global entries for search toggles, as they aren't really
2439 global. (DLR)
2440 - Don't reinititialize the toggles if they've already been
2441 initialized; it's unnecessary and even causes a segfault in
2442 do_toggle() if Pico emulation mode is the toggle in question.
2443 Don't free the toggles here, either; it's unnecessary after the
2444 above change. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002445 - If wrapping is disabled, don't include the toggle for it.
2446 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002447 shortcut_init()
Chris Allegretta6fe98d72002-05-16 23:30:14 +00002448 - Rework IFHELP macro (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002449- move.c
2450 page_down(), page_up()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002451 - Put sanity checks for current_x back in, to avoid rare
2452 segfaults (oops). Now, however, they are only called when
2453 placewewant is zero instead of being called unconditionally;
2454 see changes to winio.c:actual_x_from_start() below. (DLR)
Jordi Mallach790d3622002-06-03 12:44:05 +00002455- nanorc.sample:
Chris Allegretta5c6379d2002-05-18 03:13:03 +00002456 - Put in much less crappy example regex rules for c-file.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002457- nano.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +00002458 clear_filename()
2459 - Remove this function, as it has unneeded functionality, is
2460 short enough to be inlined, and is only called in two spots
2461 anyway. (DLR)
2462 die()
2463 - Rework slightly to remove redundant printing of last message
2464 and print all messages after resetting the terminal. (DLR)
2465 do_backspace()
2466 - Make sure placewewant is set properly, and that the mark is
2467 moved backwards. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002468 do_char()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002469 - Fix a problem where, if ENABLE_COLOR wasn't used, typing
2470 characters on a marked line before the beginning of the mark
2471 would make the highlight short by one. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002472 do_cont()
2473 - Handle the case where the window was resized while we were
2474 stopped. (David Benbennick)
2475 do_delete()
2476 - Make sure placewewant is set properly, to match Pico's
2477 behavior. (DLR)
2478 do_int_spell(), do_alt_spell()
2479 - Rework to save the marked selection before doing spell checking
2480 and restore it afterward. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002481 do_next_word(), do_prev_word()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002482 - Fix a problem where highlighting isn't done properly after
2483 calling either of these, and another problem where the cursor
2484 would move back too far in certain cases with do_prev_word().
2485 (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002486 do_toggle()
2487 - Since the search mode toggles aren't global anymore, we don't
2488 need to explicitly block them here anymore (which will end up
2489 blocking the global backup mode toggle, which is the same as
2490 the backwards search toggle). (DLR)
2491 do_wrap()
2492 - fill fixes and 'two short word wrap' bug (David Benbennick).
2493 global_init()
2494 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002495 handle_sigwinch()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002496 - Make sure we adjust fill when the window is resized. (David
2497 Benbennick)
2498 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002499 help_init()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002500 - Since the return value of snprintf() isn't well defined, use
2501 sprintf() instead. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002502 main()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002503 - Rework to blank out filename manually before doing anything
2504 with it, instead of calling clear_filename() in two places.
2505 Make startline an int instead of a long, since it's supposed to
2506 hold a line number. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002507 - Properly handle multiple -r settings on the command line. (Carl
2508 Drinkwater)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002509 - Fix a bug that prevented file insertion via the Insert key
2510 from working at all when --enable-multibuffer wasn't used
2511 (oops). (DLR)
2512 - Adapt David Benbennick's fix to get fill to accept negative
2513 numbers properly in parse_rcfile() (see below) to the
2514 handlers for the -r and -T options as well, so that -r/-T 0
2515 can be treated separately from -r/-T string. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00002516 - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space.
2517 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +00002518 usage()
2519 - List the options that are ignored for the purpose of Pico
2520 compatibility, and make some minor consistency fixes. (DLR)
Chris Allegrettac46337b2002-07-23 00:34:48 +00002521- nano.h:
2522 - Fix some space/tab formatting for flags (DLR).
Chris Allegretta6df90f52002-07-19 01:08:59 +00002523- proto.h:
2524 - Remove external declaration of the global int fill, since
2525 it's now static. (DLR)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002526- rcfile.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002527 parse_rcfile()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002528 - Add David Benbennick's fix that allows fill to accept
2529 negative numbers properly. Specifically, use strtol() there
2530 instead of atoi() so that errors can be detected. Also
2531 adapted for tabsize by DLR.
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002532 parse_next_regex(), colortoint()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002533 - Only include if ENABLE_COLOR is defined. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002534- search.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002535 search_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002536 - Since the search mode toggles aren't global anymore, rework the
2537 part of this function referencing them so that they still work.
2538 (DLR)
2539 - Remove unneeded toggles variable. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00002540 - Fix a problem where the first character of buf was overwritten
2541 if the last search string was one third the number of columns
2542 plus one. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002543 findnextstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002544 - Update the current line at current_x if we don't find a match.
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002545 Also, pass current_x_find to strstrwrapper() so we know whether
2546 we're at the beginning of a string or not (see changes to
2547 strstrwrapper() below), and reset it between lines. (DLR)
2548 do_gotoline():
2549 - Make sure placewewant is zero after we go to a line. (David
2550 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002551 do_gotopos()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002552 - Simplify the sanity check to only put x within the range of the
2553 current line; don't call actual_x() anymore. (DLR)
2554- utils.c:
2555 - Add sunder() and unsunder(). These functions convert nulls
2556 other than the terminating null in strings to newlines and
2557 back; they're used to handle null characters in files properly.
2558 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002559 lowercase()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002560 - Remove, since it isn't actually used anywhere. (David
2561 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002562 strstrwrapper()
2563 - Set REG_NOTBOL when we're not at the beginning of a
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002564 string, to avoid false positives when searching for regular
2565 expressions prefixed with ^. Make it take a new parameter,
2566 line_pos, to determine where we are in the string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002567 check_wildcard_match()
Chris Allegretta6df90f52002-07-19 01:08:59 +00002568 - Changed variable names: retryPat -> retrypat, retryText ->
2569 retrytext. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002570- winio.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002571 actual_x_from_start()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002572 - Overhaul to make cursor placement more like that of Pico: add
2573 sanity check for i, and then place i as close to the value of
2574 xplus column as possible. This change is most noticeable when
2575 moving down through binary files. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002576 do_credits()
2577 - Fix for the i18ned credits so it will compile with -pedantic
2578 (DLR & Chris).
Chris Allegretta079b5492002-09-19 23:54:53 +00002579 do_help()
2580 - Add support for the handled keyboard escape sequences in the
2581 help menu, as they are needed with some terminals (e.g. xterm
2582 with TERM=ansi). (DLR)
2583 edit_refresh()
2584 - Turn on leaveok() so the cursor doesn't bounce around the
2585 screen while we're updating it (most noticeable when using
2586 color syntax over a very slow connection).
2587 do_replace_highlight()
2588 - When using regexps, make sure the highlight is the length of
2589 the search result and not the regexp string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002590 nanogetstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002591 - After the user presses Enter at the prompt, refresh the edit
2592 window in case there's a list of possible filename matches
2593 (left over from attempted tab completion) on it. (DLR)
Chris Allegretta079b5492002-09-19 23:54:53 +00002594 statusbar()
2595 - Limit statusbar display to the number of columns less four, and
2596 don't allow it to go over its original row. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002597 titlebar()
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00002598 - Tweak text spacing and printing so that the titlebar text looks
2599 better on smaller terminals. (Carl Drinkwater)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002600 update_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002601 - When marking control characters, make sure the mark moves
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002602 forward by two characters instead of one. Rework control
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002603 character display routine to display newlines within the line
2604 (which should never occur under normal circumstances; they will
2605 only be there if the line had nulls in it and was unsunder()ed
2606 beforehand) as ^@'s. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00002607 - Fix to properly treat ASCII 128-159 as control characters.
2608 (DLR)
Jordi Mallach7d401342002-07-05 23:46:31 +00002609- configure.ac:
2610 - Added ms to ALL_LINGUAS (Jordi).
2611 - Merged acconfig.h in (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +00002612 - Fixed so that --enable-debug defines DEBUG and undefines
2613 NDEBUG. (Carl Drinkwater)
Jordi Mallach790d3622002-06-03 12:44:05 +00002614- THANKS:
2615 - Completed a bit (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +00002616 - Fixed David Benbennick's email address. (David Benbennick)
2617 - Typo fix. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00002618
Chris Allegretta8b75a782002-05-13 00:09:30 +00002619GNU nano 1.1.9 - 05/12/2002
Chris Allegretta7162e3d2002-04-06 05:02:14 +00002620- General:
2621 - Typos n misspellings all over the place (David Benbennick).
2622 - Allow --tiny and --multibuffer to cooperate (who the heck
2623 would want this is beyond me but ;-). Changes to
2624 configure.ac, global.c, , (David Benbennick).
Chris Allegrettaf2387fb2002-04-10 02:31:20 +00002625 - Change to openfilestruct for multibuffer mode by DLR.
2626 New functions nano.c:make_new_opennode(), free_openfilestruct(),
2627 delete_opennode(), unlink_opennode(), splice_opennode(),
2628 new struct openfilestruct in nano.h.
Chris Allegretta0e9b7aa2002-04-16 03:15:47 +00002629 - Preliminary prepend code. This may be a bad idea, but I've
2630 been wanting it for awhile now and we'll see how bad it messes
2631 everything up. Changes to files.c:do_writeout(), write_file().
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002632 Fixes for O_CREAT & append compatibility by David Benbennick.
Chris Allegretta0547eb32002-04-22 23:52:34 +00002633 - Change from read() and write() to file streams by Jay Carlson.
2634 Allows OS to implement read and write ahead rather than making
2635 us do it. Hopefully merged properly.
Chris Allegrettadab017e2002-04-23 10:56:06 +00002636 - More cleanups with DISABLE flags, better free_shortcutage and
2637 free_toggle, and get rid of unnecessary variable decls with
2638 NANO_SMALL in shortcut_init() by David Benbennick.
Chris Allegrettab6c5dc22002-05-04 03:47:33 +00002639 - Added "syntax" command to .nanorc file, to allow multiple
2640 syntaxes. New function color.c:update_color(), calls in various
2641 files.c places, syntaxtype struct, global variables syntaxes,
Chris Allegretta21c433d2002-05-04 04:24:29 +00002642 syntaxfile_regexp and synfilematches. Global flag -Y ,--syntax
Chris Allegretta09900ff2002-05-04 04:23:30 +00002643 to specify the type on the command line, if there's no good
2644 filename regex to use. Global variable syntaxstr.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002645 - Changed many strcmp()s and strcpy()s to their equivalent
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002646 '\0' counterparts (David Lawrence Ramsey).
2647 - Many changes to allow marked cutting to work with multiple
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002648 file buffers: changes to openfilestruct type in nano.h and
2649 files.c (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00002650 - Changed NANO_SMALL to ENABLE_NLS for gettext disabling
2651 (David Benbennick).
2652 - Move next_key and pev_key definitions out of main() and into
2653 global.c where they belong (David Benbennick).
Chris Allegretta5e76fe92002-05-12 20:54:16 +00002654- color.c:
2655 update_color()
2656 - Add regfree call here to avoid memory leaks.
Chris Allegretta7162e3d2002-04-06 05:02:14 +00002657- configure.ac:
2658 - Define NDEBUG to silence asserts (David Benbennick).
2659- files.c:
2660 get_next_filename()
2661 - Optimizations (David Benbennick).
2662- global.c:
2663 shortcut_init()
2664 - Add missing free_shortcutage()s (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00002665 thanks_for_all_the_fish()
2666 - Only defined when using DEBUG, makes sense (David Benbennick).
Chris Allegretta7162e3d2002-04-06 05:02:14 +00002667- nano.c:
2668 die_save_file()
2669 - Add missing free (David Benbennick).
2670 do_justify()
2671 - Optimizations (David Benbennick).
2672 do_wrap()
2673 - Complete rewrite (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00002674 help_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002675 - A little less readable, a lot shorter :-) (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00002676 - Fix Meta-A not getting capitalized, and convert the ASCII
2677 #s to their character equivalent.
Chris Allegretta7c27be42002-05-05 23:03:54 +00002678 main()
2679 - Changed charalloc(), strcpy()s to mallocstrcpy()s.
Chris Allegretta66f373f2002-04-05 23:33:09 +00002680- nano.h:
2681 - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol)
2682 (David Benbennick).
Chris Allegretta8902eba2002-03-30 18:02:54 +00002683- nano.spec.in:
2684 - Don't put Chris' name as the Packager in the distribution
2685 by default (Im an idiot).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002686 - Fixed Source line (David Lawrence Ramsey).
Jordi Mallach42c64052002-04-30 02:33:14 +00002687- nano.1:
2688 - Changed references to Debian GNU/Linux to Debian GNU (Jordi).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002689- nano.1.html:
2690 - Updated for -Y option (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00002691- rcfile.c:
Chris Allegretta7c27be42002-05-05 23:03:54 +00002692 - Made some rc file errors less fatal.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00002693 - Added in my patch for getpwent instead of relying on $HOME
2694 (David Lawrence Ramsey).
Chris Allegretta7c27be42002-05-05 23:03:54 +00002695- winio.c:
2696 edit_add()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00002697 - Changed some syntax highlight computations for the sake of COLS.
Chris Allegretta3674c1d2002-05-12 20:43:49 +00002698 - Add in the necessary regfree() calls to stop nano from leaking
2699 memory like a sieve when using color syntax highlighting :-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002700 bottombars(), onekey()
Chris Allegretta6232d662002-05-12 19:52:15 +00002701 - Cleanups (David Benbennick).
Jordi Mallach0ab011f2002-04-05 11:25:00 +00002702- po/gl.po:
2703 - Galician translation updates (Jacobo Tarrio).
2704- po/de.po:
2705 - German translation updates (Michael Piefel).
2706- po/fr.po:
2707 - French translation updates (Jean-Philippe Guérard).
2708- po/ca.po, po/es.po:
2709 - Catalan and Spanish translation updates (Jordi).
Jordi Mallachb18bc692002-04-10 16:26:17 +00002710- po/sv.po:
2711 - Swedish translation updates (Christian Rose).
Jordi Mallachd301e102002-04-13 14:46:26 +00002712- po/nl.po:
2713 - Dutch translation updates (Guus Sliepen).
Jordi Mallach7f80e662002-04-13 16:31:03 +00002714- po/it.po:
2715 - Italian translation updates (Marco Colombo).
Jordi Mallach0417a7b2002-04-19 21:59:35 +00002716- po/ru.po, po/uk.po:
2717 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach934b76b2002-04-25 22:24:48 +00002718- po/id.po:
2719 - Indonesian translation updates (Tedi Heriyanto).
Jordi Mallachca76fa92002-05-05 15:04:26 +00002720- po/sv.po:
2721 - Swedish translation updates (Christian Rose).
Chris Allegretta06d62372002-03-30 16:51:38 +00002722GNU nano 1.1.8 - 03/30/2002
Chris Allegrettabef12972002-03-06 03:30:40 +00002723- General
2724 - Type misalignments and mem leaks in renumber_all, do_justify
2725 and do_spell (Rocco & Steven Kneizys).
Chris Allegrettabb88ece2002-03-25 13:40:39 +00002726 - New "External Command" code, originally by Dwayne Rightler,
Chris Allegretta77777d42002-03-29 16:31:29 +00002727 various fixes and changes by Chris, Rocco and David Benbennick.
2728 New function nano.c:open_pipe() and signal handler cancel_fork(),
2729 changes to do_insertfile(), new list extcmd_list, cmd is
2730 ^X after ^R.
Chris Allegretta3533a342002-03-24 23:19:32 +00002731 - Added separate regex variable (color_regex and colormatches)
2732 so that color syntax and regex search/replace can coexist.
Chris Allegretta06d62372002-03-30 16:51:38 +00002733 - Added new nano.spec file from Brett <brett@bad-sports.com>,
2734 added because maintaining the spec file is getting to be a large
2735 hassle ;)
Chris Allegretta564535a2002-03-06 15:32:17 +00002736- files.c:
2737 check_writable_directory()
2738 - Stat full_path, not path (Steven Kneizys).
Chris Allegretta2598c662002-03-28 01:59:34 +00002739 open_pipe()
2740 - I18nize the pipe error (DLR).
Chris Allegrettae3739092002-03-29 15:06:05 +00002741 do_insertfile()
2742 - Handle cancel from ExtCmd properly (David Benbennick).
Chris Allegretta52c5a6e2002-03-21 05:07:28 +00002743 read_file()
2744 - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
Chris Allegrettaf6cba642002-03-26 13:05:54 +00002745 - Reverse tests to stop segfault on editing a new file of 0
2746 lines (David Benbennick)
2747 - Change input var to one char instead of array (David Benbennick).
Chris Allegretta2598c662002-03-28 01:59:34 +00002748 - Move NO_CONVERT check up so chars get read in properly (DLR).
Chris Allegretta40ecbad2002-03-06 15:27:44 +00002749- nano.c:
Chris Allegrettacf1d8122002-03-21 19:53:36 +00002750 do_justify()
2751 - More fixes for indented justify (David Benbennick).
Chris Allegrettaf21f3fc2002-03-25 03:26:27 +00002752 do_int_speller()
2753 - Fix zombie processes and spelling buffer issues (Rocco Corsi).
Chris Allegretta5902f962002-03-07 12:40:39 +00002754 help_init()
2755 - Capitalize Meta altkeys.
Chris Allegrettab479c892002-03-09 20:03:10 +00002756 - Various fixes and string changes.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00002757 main()
2758 - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
Chris Allegretta97e6fe62002-03-09 17:38:47 +00002759 usage()
Chris Allegretta3fc5d572002-03-09 18:51:58 +00002760 - Rewritten to encompass systems with and without GETOPT_LONG.
2761 New function print1opt does most of the dirty work, stops
2762 duplication of effort and eases translator's jobs. Also
2763 breaks all the current translations ;-)
Chris Allegretta45329a12002-03-10 01:22:21 +00002764- proto.h:
2765 - Missing externs (Rocco).
Chris Allegretta1596d382002-03-07 00:46:17 +00002766- rcfile.c:
Chris Allegretta78f0fc62002-03-29 19:41:57 +00002767 do_rcfile()
2768 - Reset lineno between system and local .nanorc file.
2769 - Fix errno->strerror(errno) mismatch.
Chris Allegrettae8e10342002-03-07 00:47:22 +00002770 parse_rcfile()
2771 - Don't use i for both for loop and atoi(), fixes lots of
Jordi Mallach4951c662002-03-07 14:12:53 +00002772 potential crashes, 1st reported by Jean-Philippe Guérard.
Chris Allegretta78f0fc62002-03-29 19:41:57 +00002773 rcfile_error()
2774 - Don't print out the file name if we haven't opened the file
2775 yet (lineno == 0).
Chris Allegretta45329a12002-03-10 01:22:21 +00002776- search.c:
2777 search_init()
2778 - Fix a missing free (Rocco).
Chris Allegrettad1c2c1c2002-03-26 17:58:42 +00002779 do_gotoline()
2780 - Set placewewant if we actually move to a different line.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00002781- utils.c:
Chris Allegrettadce44ab2002-03-16 01:03:41 +00002782 stristr()
2783 - Defined regardless of NANO_SMALL (noticed by Jordi).
Chris Allegretta77777d42002-03-29 16:31:29 +00002784 nperror()
2785 - New wrapper for perror (David Benbennick).
Chris Allegrettadce44ab2002-03-16 01:03:41 +00002786- winio.c:
2787 do_credits()
2788 - Add Thomas Dickey.
Chris Allegrettaf3a07b22002-03-29 15:15:38 +00002789 do_cursorpos()
2790 - Make col numbering start from 1 (suggested by Andrew Ho).
Chris Allegretta2598c662002-03-28 01:59:34 +00002791 update_line(), xpt()
2792 - Add check for 127 (DLR).
Jordi Mallach4951c662002-03-07 14:12:53 +00002793- po/sv.po:
2794 - Swedish translation updates (Christian Rose).
2795- po/de.po:
2796 - German translation updates (Michael Piefel).
Jordi Mallach4e803aa2002-03-09 18:05:53 +00002797- po/id.po:
2798 - Indonesian translation updates (Tedi Heriyanto).
Chris Allegretta2598c662002-03-28 01:59:34 +00002799- po/it.po:
Chris Allegretta06d62372002-03-30 16:51:38 +00002800 - Serious typo.
Jordi Mallach4e803aa2002-03-09 18:05:53 +00002801- po/ca.po, po/es.po:
2802 - Catalan and Spanish translation updates (Jordi).
Chris Allegretta2598c662002-03-28 01:59:34 +00002803 - Typo (DLR).
Jordi Mallach558b5d82002-03-11 13:23:33 +00002804- po/fr.po:
2805 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach5477e102002-03-12 16:15:50 +00002806- po/gl.po:
2807 - Galician translation updates (Jacobo Tarrio).
Jordi Mallach057c3c42002-03-14 11:00:56 +00002808- po/uk.po, po/ru.po:
2809 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallachb83e61a2002-03-15 15:15:13 +00002810- po/pl.po:
2811 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach7fa082d2002-03-17 00:35:41 +00002812- po/fr.po:
2813 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach7afc6d92002-03-27 16:34:46 +00002814- po/it.po:
2815 - Italian translation updates (Marco Colombo).
Jordi Mallach465a0ff2002-03-29 00:46:05 +00002816- po/da.po:
2817 - Danish translation updates (Keld Simonsen).
Chris Allegrettabef12972002-03-06 03:30:40 +00002818
Chris Allegretta97489d22002-03-05 23:47:44 +00002819GNU nano 1.1.7 - 03/05/2002
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002820- General
2821 - malloc->calloc, etc cleanups (DLR).
2822 - New option, noconvert (-N, --noconvert) to completely stop
2823 the translation of files from DOS or Mac format (DLR).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002824 - New functions check_writable_directory() and safe_tempnam()
Chris Allegrettabc72e362002-02-16 20:03:44 +00002825 to get around the tempnam warning. More improvements (DLR)
Chris Allegretta48b06702002-02-22 04:30:50 +00002826 Still needs testing.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002827 - Added DOS and Mac format options to write file routine.
2828 Changes to shortcut_init() and do_writeout().
2829 - Removed stupid static definitions of toggles and shortcut
2830 lists. Many changes to shortcut_init(), toggle_init(),
2831 statusq(), nanogetstr(), main(), and many other places.
Chris Allegretta48b06702002-02-22 04:30:50 +00002832 - Multibuffer mode now allows multiple empty filenames.
2833 Changes to add_open_files(), removed open_file_dup_search(),
2834 open_file_dup_fix(), etc (DLR).
2835 - New code to handle multiple .save files. Changes to
2836 die_save_file(), new function files.c:get_next_filename()
2837 and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00002838 - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
2839 new functions utils.c:free_shortcutage() (got to love that
2840 name!) & free_toggles(), and big cleanup program
2841 thanks_for_all_the_fish() (originally
2842 thanks_for_the_memories()). Mods to shortcut_init() by Chris.
Chris Allegrettae4f940d2002-03-03 22:36:36 +00002843 - Preliminary quoting support for justify. New arg -Q, --quotestr,
2844 changes to do_justify(), global variable quotestr().
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00002845- Makefile.am:
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00002846 - Add SYSCONFDIR to DEFS, so we can have an $SYSCONFDIR/nanorc.
Chris Allegretta40b85e72002-02-09 21:56:09 +00002847 - Change localedir line to 1.0's version.
Jordi Mallach3c5653d2002-02-23 18:23:43 +00002848 - Moved m4/ stuff to its own m4/Makefile.am.
Jordi Mallach87435d92002-03-05 17:58:34 +00002849- m4/aclocal_inc.m4:
2850 - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for
2851 macros (Gergely Nagy).
Jordi Mallach3c5653d2002-02-23 18:23:43 +00002852- configure.in:
2853 - Renamed to configure.ac.
2854- configure.ac:
2855 - Moved to autoconf 2.52 (Jeff Bailey).
Jordi Mallach87435d92002-03-05 17:58:34 +00002856 - Added call to AM_ACLOCAL_INCLUDE.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002857- files.c:
2858 read_byte()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002859 - Added check for control characters (indicative of a binary
Chris Allegretta48b06702002-02-22 04:30:50 +00002860 file), set NO_CONVERT if found (fixes by DLR).
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00002861 do_insertfile()
2862 - Added support for -o in prompt (Steven Kneizys).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002863- global.c:
2864 - Move openprev and opennext functions to shortcuts, they really
2865 aren't toggles (DLR).
Chris Allegrettaf27c6972002-02-12 01:57:24 +00002866- rcfile.c:
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002867 parse_next_regex()
Chris Allegretta3d8e7592002-02-02 07:13:02 +00002868 - Allow " symbol to be in regex without leading \ by checking
2869 for *ptr+1 is not the end of the regex.
Chris Allegrettaff8a68c2002-02-16 20:34:57 +00002870 do_rcfile()
2871 - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
Chris Allegretta48b06702002-02-22 04:30:50 +00002872- nano.1:
2873 - Added Noconvert option to man page (DLR).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002874- nano.c:
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00002875 justify_format(), do_justify()
2876 - Various fixes for starting blank spaces, spaces after
2877 punctuation, & segfault with quoting strings (David Benbennick).
Chris Allegretta46c1b9e2002-03-05 19:58:45 +00002878 do_justify()
2879 - Don't continue to justify string if it's indented more
2880 (quoting wise) than the beginning of the justification.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002881 help_init()
2882 - Added message re: having multiple blank buffers (DLR).
Chris Allegretta9caa1932002-02-15 20:08:05 +00002883 main()
2884 - Add 407 as equiv of 26, this seems to be sent when using
2885 ^Z in linux console with keypad() enabled.
Chris Allegrettabc72e362002-02-16 20:03:44 +00002886- rcfile.c:
2887 - Get rid of unneeded relativechars from rcopts (DLR).
2888- search.c
2889 do_replace(), findnextstr()
2890 - Fixes for various search issues (Ken Tyler)
Chris Allegrettaf27c6972002-02-12 01:57:24 +00002891- winio.c:
2892 do_cursorpos()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002893 - Rewritten to show col place as well as character place, without
Chris Allegrettaf27c6972002-02-12 01:57:24 +00002894 needing an entirely separate flag.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00002895 bottombars(), onekey()
2896 - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
Chris Allegrettabc72e362002-02-16 20:03:44 +00002897 - More cleanups w/width of shortcut.
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00002898- utils.c:
Chris Allegretta99ed9dc2002-02-28 00:57:18 +00002899 strcasestr(),revstrcasestr()
2900 - Renamed to stristr and revstristr since strcasestr has not
2901 been confirmed to be detected properly on various Linux
2902 systems.
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00002903 strstrwrapper()
2904 - NANO_SMALL test was backwards (Ken Tyler).
2905- winio.c:
2906 strlenpt()
2907 - Changed main function to strnlenpt() for new justify changes,
2908 original function now just a stub.
Chris Allegretta3c597d02002-01-26 03:42:14 +00002909- nanorc.sample
2910 - Mention unset in the sample nanorc.
Jordi Mallach83ffefb2002-01-25 21:00:18 +00002911- po/ca.po, po/es.po:
2912 - Catalan and Spanish translation updates (Jordi).
Jordi Mallach9c34a162002-01-26 00:46:47 +00002913- po/sv.po:
2914 - Swedish translation updates (Christian Rose).
2915- po/fr.po:
2916 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach8636f7b2002-01-26 19:23:37 +00002917- po/nn.po:
2918 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
2919- po/de.po:
2920 - German translation updates (Michael Piefel).
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00002921- po/it.po:
2922 - Italian translation updates (Marco Colombo).
Jordi Mallach94def062002-02-06 12:14:25 +00002923- po/cs.po:
2924 - Partial Czech translation updates (Vaclav Haisman).
Jordi Mallach8bfd3112002-02-06 20:53:04 +00002925- po/hu.po:
2926 - Hungarian translation updates, or to be precise, rewrite
2927 (Gergely Nagy).
Jordi Mallachb3b28c12002-02-07 13:51:00 +00002928- po/uk.po, po/ru.po:
Jordi Mallach507c3612002-02-14 18:57:23 +00002929 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
2930- po/da.po:
2931 - Danish translation updates (Keld Simonsen).
Jordi Mallache46d43d2002-02-15 17:13:11 +00002932- po/nb.po:
2933 - Norwegian bokmål translation updates (Stig E Sandoe).
Jordi Mallach62d21712002-02-20 16:21:27 +00002934- po/nl.po:
2935 - Dutch translation updates (Guus Sliepen).
Jordi Mallacha3322fd2002-03-05 11:23:17 +00002936- po/pl.po:
2937 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach83ffefb2002-01-25 21:00:18 +00002938
Chris Allegretta491029e2002-01-25 17:02:32 +00002939nano-1.1.6 - 01/25/2002
Chris Allegretta044d1b12002-01-08 00:33:32 +00002940- General
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002941 - Add Meta-A as alternate keystroke for ^^ for people with
Chris Allegretta044d1b12002-01-08 00:33:32 +00002942 non-US keyboards.
Chris Allegretta967a1e22002-01-10 00:50:38 +00002943 - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
2944 browser.
Chris Allegretta1bc0c7e2002-01-08 15:00:24 +00002945 - Better partial word checking code. New function
2946 search.c:is_whole_word(), changes to findnextstr(),
2947 and nano.c:do_int_spell_fix() (Rocco Corsi).
Chris Allegretta6c1e6612002-01-19 16:52:34 +00002948 - Added multiple-line regex support. Format in .nanorc is
2949 start="regex" end="regex". Cleaned up nanorc:parse_colors(),
2950 added parse_next_regex(), changes to edit_add in winio.c(),
2951 changes to colortype, cleaning up some old cruft.
Chris Allegretta15b23f42002-01-19 19:15:18 +00002952 - Upgrade to gettext 0.10.40, probably broke everything again :)
Chris Allegretta24e48d82002-01-23 01:06:20 +00002953 - Upgraded to and then downgraded from automake 1.5, as there
2954 are severe security implications.
Chris Allegrettaea250e82002-01-16 01:09:11 +00002955- color.c:
2956 do_colorinit()
2957 - Moved some comments and braces around so color can work
2958 w/slang (DLR).
Chris Allegrettaf478f832002-01-18 21:54:35 +00002959- global.c:
2960 shorcut_init()
2961 - Replace hard coded ALT_G and ALT_H values in the replace
2962 and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
Jordi Mallach345a8462002-01-07 11:35:16 +00002963- nano.c:
2964 usage()
2965 - Remove extra \n in --keypad description (Jordi).
Chris Allegrettaf7dee922002-01-07 16:43:25 +00002966 main()
2967 - Check that alt value is an alpha char before comparing to
2968 val - 32, fixes Alt-R calling doprev instead of replace.
Chris Allegrettab2cd10d2002-01-20 00:54:42 +00002969 do_char()
2970 - Run edit_refresh() if ENABLE_COLOR is defined so adding
2971 multi-liners will update (e.g. /* in C).
Chris Allegretta23b74b22002-01-21 20:32:22 +00002972 do_int_spell_fix()
2973 - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
Chris Allegretta7b0667f2002-01-10 12:44:21 +00002974 do_suspend()
2975 - Call tcsetattr() to restore the old terminal settings, so
Chris Allegretta5bbce6a2002-01-10 12:48:16 +00002976 tcsh can use ^C after suspend for example (fixes BUG #68).
Chris Allegretta438f7132002-01-16 00:54:47 +00002977 do_wrap()
2978 - Move "right" increment to part where new line is created,
2979 should change (fix?) some wrapping problems with autoindent.
Jordi Mallach5285ca92002-01-17 12:40:33 +00002980 version()
2981 - Show --enable-multibuffer independently of --enable-extra being
2982 compiled in (Jordi).
Chris Allegrettaf478f832002-01-18 21:54:35 +00002983- nano.h:
2984 - Changed color struct slightly, because of previous issue with
2985 applying color painting in order, the "str" portion was
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002986 useless. Renamed "val" in colortype to "start", added "end"
Chris Allegrettaf478f832002-01-18 21:54:35 +00002987 for multi-line color strings.
2988- rcfile.c:
2989 General
2990 - Took silly variables being passed everywhere like lineno and
2991 filename and made them static variables.
Chris Allegretta6c1e6612002-01-19 16:52:34 +00002992 - Re-indented.
Chris Allegretta34f80982002-01-22 20:09:20 +00002993 - Added stdarg.h to includes.
Chris Allegrettaf478f832002-01-18 21:54:35 +00002994 rcfile_error()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002995 - Now automatically prepends the "error in line blah at foo"
Chris Allegrettaf478f832002-01-18 21:54:35 +00002996 message to error messages.
2997 parse_colors()
2998 - Added section for computing "end" section.
2999 parse_next_word()
3000 - Added support for "\ ", in word parsing.
Chris Allegrettae29697d2002-01-14 03:31:10 +00003001- search.c:
Chris Allegretta1c2fddc2002-01-21 20:40:14 +00003002 do_search()
3003 - Check position of cursor and return value of findnextstr and
3004 tell user if search string only occurs once (Rocco & Chris).
Chris Allegrettae29697d2002-01-14 03:31:10 +00003005 findnextstr()
3006 - Fix off by one in check for wrap around (Rocco Corsi).
Chris Allegretta3d0739c2002-01-07 14:41:32 +00003007- winio.c:
3008 edit_refresh()
3009 - Rename lines to nlines to fix AIX breakage (reported by
3010 Dennis Cranston, re-reported by arh14@cornell.edu).
Chris Allegrettaf478f832002-01-18 21:54:35 +00003011 edit_add()
3012 - Refuse to honor regex matches of 0 characters when applying
3013 color highlighting, and say so on the statusbar. Otherwise
3014 we go into an infinite loop, the error message should clue
3015 users into the fact that their regex is doing something bad.
Jordi Mallachd6481e42002-01-17 12:14:23 +00003016- THANKS:
3017 - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
Jordi Mallach83d5ced2002-01-17 12:06:49 +00003018 not bokmål as we claimed (Jordi).
Chris Allegretta9963b0e2002-01-19 19:35:12 +00003019- .cvsignore
3020 - Added config.guess config.sub install-sh missing & mkinstalldirs
Jordi Mallach3da91392002-01-07 11:50:13 +00003021- po/ca.po, po/es.po:
Jordi Mallache36a1522002-01-07 15:12:48 +00003022 - Catalan and Spanish translation updates (Jordi).
3023- po/sv.po:
3024 - Swedish translation update (Christian Rose).
Jordi Mallachd39698f2002-01-07 15:16:26 +00003025- po/de.po:
3026 - German translation update (Michael Piefel).
Jordi Mallachbf1a1e82002-01-08 14:07:39 +00003027- po/fr.po:
3028 - French translation update (Jean-Philippe Guérard).
3029- po/ru.po, po/uk.po:
3030 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach83d5ced2002-01-17 12:06:49 +00003031- po/no.po:
3032 - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
3033- po/nn.po:
3034 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
3035- po/nb.po:
3036 - New Norwegian bokmål translation (Stig E Sandoe <stig@ii.uib.no>).
Jordi Mallach3a23a552002-01-18 23:04:16 +00003037- po/da.po:
3038 - Danish translation update (Keld Simonsen).
Chris Allegrettad1751932002-01-05 20:01:53 +00003039
Chris Allegretta110927b2002-01-05 19:49:06 +00003040nano-1.1.5 - 01/05/2002
Chris Allegretta32da4562002-01-02 15:12:21 +00003041- General
3042 - Better integration of View mode (-v) and multibuffer.
3043 Fixes to new_file(), do_insertfile_void(), shortcut_init()
3044 (David Lawrence Ramsey).
Chris Allegretta48bd3782002-01-03 21:26:34 +00003045 - The keypad handling has changed (again). We now use
3046 the keypad() function by default. New flag -K, --keypad
3047 allows the old behavior for those using the keypad arrow keys
3048 and rxvt-based terminals.
Jordi Mallach8ae57892002-01-04 17:57:40 +00003049 - Updated copyright notices to 2002 (Jordi).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00003050- nano.c:
Chris Allegretta32da4562002-01-02 15:12:21 +00003051 die()
3052 - Only save files that were modified (David Lawrence Ramsey).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00003053 do_cont()
3054 - Run signal_init() after doupdate() so ^Y wont suddenly
3055 start suspending after returning from ^Z suspend in Hurd.
3056 signal_init()
3057 - Unconditionally disable VDSUSP if it exists, stops ^Y
3058 suspending nano on the Hurd.
Jordi Mallach11f39e72001-12-25 19:17:32 +00003059 help_init()
Chris Allegretta64dd95d2001-12-27 20:53:54 +00003060 - Typo fixes in help strings (Jordi).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003061 - New variable helplen needed cause currslen is not always
Chris Allegretta13fd44b2002-01-02 13:59:11 +00003062 the length we want (bug found by David Lawrence Ramsey).
Chris Allegretta180a5692002-01-02 14:30:33 +00003063 - Typo in file switch string (found by David Lawrence Ramsey).
3064 main()
3065 - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
Chris Allegretta32da4562002-01-02 15:12:21 +00003066 - Handle OS-specific insert keys by jump to do_insertkey (David
3067 Lawrence Ramsey).
Chris Allegretta64dd95d2001-12-27 20:53:54 +00003068- files.c:
3069 read_file()
3070 - Make conversion message less confusing (suggested by Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +00003071- rcfile.c:
3072 parse_next_word()
3073 - Get rid of ptr == \n check to abort, screws up option
3074 parsing (bug found by David Lawrence Ramsey)
Chris Allegretta52db7a22001-12-17 23:39:36 +00003075- winio.c:
3076 update_line()
Chris Allegretta3c57e502001-12-19 16:20:43 +00003077 - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
3078 high ascii characters.
Jordi Mallach9335f912001-12-23 00:03:18 +00003079 titlebar()
3080 - gettextized a pair of strings.
Chris Allegrettae5b9eac2002-01-05 01:52:02 +00003081 bottombars()
3082 - Get rid of that annoying reversed line when color is on! :)
Chris Allegretta1bf8f5e2002-01-05 03:30:10 +00003083 edit_add()
3084 - Little fixes to let color highlights not bleed onto the next line.
Chris Allegrettaa16e4e92002-01-05 18:59:54 +00003085 statusq()
3086 - Initialize "list".
Chris Allegrettacf680712001-12-18 14:59:20 +00003087- m4/gettext.m4:
3088 - Back down to 1.1.3 version.
Jordi Mallachcf9f7832001-12-26 12:33:01 +00003089- faq.html:
3090 - Various link updates and other fixes (Aaron S. Hawley).
3091 - Typo fixes (David Lawrence Ramsey).
Chris Allegrettafae0dce2002-01-04 13:30:42 +00003092- AUTHORS
3093 - Add DLR.
Jordi Mallach77b12322001-12-22 23:23:40 +00003094- po/sv.po:
3095 - Swedish translation update (Christian Rose).
Jordi Mallach3da91392002-01-07 11:50:13 +00003096- po/ru.po, po/uk.po:
Jordi Mallach32793982001-12-28 16:35:28 +00003097 - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
Jordi Mallach3da91392002-01-07 11:50:13 +00003098- po/ca.po, po/es.po:
Jordi Mallach414acab2001-12-26 00:15:16 +00003099 - Catalan and Spanish translations updates (Jordi).
Jordi Mallacha4ffccb2001-12-26 00:31:17 +00003100- po/pl.po:
3101 - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
Jordi Mallach65f3e422002-01-04 17:48:58 +00003102 - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
3103 official maintainer.
Jordi Mallach1a58fb42001-12-27 16:00:23 +00003104- po/fr.po:
3105 - French translation update (Michel Robitaille).
Jordi Mallach05d8ce92001-12-27 20:34:42 +00003106- po/gl.po:
3107 - Galician translation update (Jacobo Tarrío).
Jordi Mallach78e2c9d2001-12-27 22:06:38 +00003108- po/it.po:
3109 - Italian translation update (Marco Colombo).
Jordi Mallach32793982001-12-28 16:35:28 +00003110- po/de.po:
3111 - German translation update (Michael Piefel).
Jordi Mallach13f30172002-01-02 18:45:58 +00003112- po/fr.po:
3113 - French translation update (Jean-Philippe Guérard).
Chris Allegretta5fd6cac2001-12-12 13:55:19 +00003114
Chris Allegretta7bf25092001-12-12 02:44:40 +00003115nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +00003116- General
3117 - Preliminary syntax highlighting support. New functions
3118 colortoint() and parse_color() in rcfile.c, new code in
3119 edit_add() in winio.c to actually do the highlighting. It's
3120 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +00003121 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00003122- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +00003123 - Fixes for tab completion and screen refresh (David Lawrence
3124 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00003125 add_open_file()
3126 - Get rid of unsetting MARK_ISSET because otherwise writing
3127 marked text will automatically unset the marker with
3128 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +00003129- global.c:
3130 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +00003131 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
3132 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +00003133- nano.c:
3134 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +00003135 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +00003136 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
3137 signal_init()
3138 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
3139 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +00003140 help_init()
3141 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +00003142 do_curpos()
3143 - Now takes arg for constant updating to always show the cursor
3144 position (David Lawrence Ramsey).
3145 do_wrap()
3146 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +00003147 do_spell()
3148 - Dont prompt for replace if we don't change the word in
3149 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +00003150- po/de.po:
3151 - German translation updates (Karl Eichwalder).
3152- po/ru.po:
3153 - Russian translation updates (Sergey A. Ribalchenko).
3154- po/sv.po:
3155 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +00003156- po/da.po:
3157 - Danish translation updates (Keld Simonse).
3158- po/es.po:
3159 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +00003160- po/fr.po:
3161 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +00003162- m4/gettext.m4:
3163 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +00003164
Chris Allegrettadc57bba2001-10-26 16:14:45 +00003165nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +00003166- General
3167 - Finally wrote function-specific help mode. Changes to
3168 nano.c:help_init() and winio.c:do_help(). Changed
3169 currshortcut and currslen #ifdefs to depend on both
3170 DISABLE_HELP and DISABLE_MOUSE being defined to not
3171 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +00003172 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
3173 this was causing nasty errors if the call to nrealloc moved
3174 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +00003175 - Changed header comments to say "version 2" instead of "version
3176 1" as the COPYING file is actually version 2 of the GPL (bug
3177 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +00003178- cut.c:
3179 do_cut_text()
3180 - Check to see whether marked text is contained within edit
3181 window and if so only do an edit_refresh (variable dontupdate
3182 replaces cuttingpartialline).
3183 do_uncut_text()
3184 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +00003185- faq.html
3186 - Removed nano-editor.org FTP site address [deprecated] and added
3187 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +00003188- files.c:
3189 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +00003190 People should know that their file wasnt normally formatted.
3191 load_file()
3192 - Status message when trying to load an already loaded file with multiple
3193 buffers (David Lawrence Ramsey).
3194 read_file()
3195 - Get rid of useless linetemp variable and name num_lines int
3196 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +00003197- nano.c:
3198 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +00003199 Alt-space, as next word is hard coded as control-space. Fixed
3200 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +00003201 beginning of first line, prog should simply abort. Added
3202 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +00003203- nano.h:
3204 - Additional #define, SMALL_TOO to determine how long
3205 MAIN_LIST_LEN is. We need this because of the find matching
3206 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +00003207 main()
Chris Allegretta347c1842001-10-24 01:37:13 +00003208 - Moved #ifndef NANO_SMALL down past the case 0: line so
3209 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +00003210- rcfile.c:
3211 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +00003212- po/sv.po:
3213 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +00003214- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +00003215 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +00003216- po/es.po:
3217 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallach3da91392002-01-07 11:50:13 +00003218- po/ru.po, po/uk.po:
Jordi Mallacheb94b9e2001-10-15 14:26:48 +00003219 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +00003220
Chris Allegretta03260b42001-10-04 01:24:07 +00003221nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +00003222- General
3223 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
3224 new flag CLEAR_BACKUPSTRING because there's no easy way to
3225 clear the backupstring without making it global (messy), so we
3226 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +00003227 - --enable-tiny now leaves out the Auto Indent code, do you really
3228 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +00003229 - New flag -o, --operatingdir, similar to Pico's -o mode. New
3230 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +00003231 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +00003232 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +00003233 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +00003234 new code in read_line and write_file. New cmdline flag
3235 (-D --dos) to automatically write the file in DOS format,
3236 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +00003237 - Mac file writing supported too. Flag -M, --mac. Toggle
3238 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +00003239 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +00003240 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +00003241 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +00003242 - Bracket (brace, parens, etc) matching code by Ken Tyler.
3243 New functions do_find_bracket(), changes to findnextstr(),
3244 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +00003245 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
3246 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00003247 - Call do_gotopos from do_alt_spell() to keep position
3248 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +00003249 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +00003250 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +00003251 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +00003252 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +00003253- cut.c:
3254 cut_marked_segment()
3255 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +00003256 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +00003257 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +00003258 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +00003259- faq.html:
3260 - Notes about the Free Translation Project.
3261 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +00003262- files.c:
3263 do_writeout()
3264 - Expanded strings to not use %s and ?: to determine
3265 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00003266 new_file()
3267 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +00003268- nano.c:
3269 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +00003270 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +00003271 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00003272 - Many tweaks and changes from numerics to char equivs
3273 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00003274 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +00003275 do_mouse()
3276 - Send 27 when the menu item clicked is an alt key seq... The
3277 lines aren't lined up since the menu width changed though,
3278 this breakage depends on whether the new widths will be kept
3279 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +00003280 - Change k based on currslen to allow the new widths in
3281 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +00003282 do_wrap()
3283 - Fixes for Pico incompatibility in cases 2b and 2c.
3284 (David Lawrence Ramsey).
3285 global_init()
3286 - New arg save_cutbuffer, allows cutbuffer to not be lost when
3287 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +00003288- nano.1:
3289 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +00003290- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +00003291 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
3292 - Added many command line options, toggles and other additions
3293 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +00003294- rcfile.c:
3295 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +00003296 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +00003297 - Fix incorrect argument in fill and tabsize error message
3298 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +00003299- search.c:
3300 - Changed search prompt to "Search" followed by a list of
3301 bracketed, free-standing modifiers that do not imply a grammar,
3302 and the (to replace) string separately. Hopefully this resolves
3303 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +00003304 findnextstr()
3305 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +00003306- winio.c:
3307 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +00003308 bottombars()
3309 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00003310 nanogetstr()
3311 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00003312 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +00003313- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +00003314 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +00003315- po/ca.po, po/es.po:
3316 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +00003317- po/gl.po:
3318 - Updated Galician translation (Jacobo Tarrío).
Jordi Mallach90bbdd32001-09-12 19:06:59 +00003319- po/da.po:
3320 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +00003321- po/sv.po:
3322 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +00003323- po/it.po:
3324 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +00003325- po/fi.po:
3326 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +00003327
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00003328nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +00003329- General
3330 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
3331 - Added m4/ directory to allow rebuilding using only the internal
3332 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +00003333- nano.c:
3334 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00003335 - Change the multibuffer getopt option to 'F' (David Lawrence
3336 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +00003337 do_mark()
3338 - Temporarily disable cursorpos when enabled to be able to see
3339 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +00003340- nanorc.sample
3341 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +00003342- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +00003343 new_file()
3344 - Do add_open_files if there aren't any open yet (David Lawrence
3345 Ramsey).
3346 close_open_file()
3347 - Try to open the next file first, then the previous one
3348 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +00003349- global.c:
3350 shortcut_init()
3351 - Rewrote the whereis and replace lists to put CANCEL at the end
3352 of the list, and not include the toggle functions when using
3353 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00003354- nano.h:
3355 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +00003356 - Rewrote all the macro definitions to be a little less messy,
3357 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +00003358- rcfile.c:
3359 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +00003360- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +00003361 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00003362 search_init()
3363 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +00003364- winio.c:
3365 bottombars()
3366 - Fixed an off by one that wasn't letting lines with odd #
3367 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +00003368
Chris Allegretta9a748602001-07-15 16:07:23 +00003369nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +00003370- General
3371 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +00003372 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +00003373 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +00003374 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +00003375 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +00003376 this automatically, but now just mouse support can be disabled
3377 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003378 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +00003379 - Added rcfile.c source file. Only includes much of anything when
3380 --enable-nanorc is used. Tons of new funcs, most notably
3381 do_rcfile() called from nano.c:main(). Added much needed
3382 function ncalloc(), will have to go through source code later
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003383 and change the appropriate calls which used nmalloc for lack of
3384 an appropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +00003385 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +00003386 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +00003387 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +00003388 - Added config.guess and config.sub to distribution because,
3389 apparently, newer autoconf/automakes can't live without them.
3390 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +00003391 - Changed all string allocations to charalloc(), new function
3392 designed to take nmalloc argument but call calloc based on
3393 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +00003394 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
3395 and justify being disabled. This allows us to compile out the
3396 -r flag if neither are set, and will also allow us to comment
3397 out -W when it is written.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003398 - Allow fill to take a negative value to signify a "from right side"
Chris Allegretta6fe61492001-05-21 12:56:25 +00003399 value. This allows the value to vary with the screen size yet
3400 still be correct. New static value wrap_at to minimize code
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003401 impact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +00003402 - Allow file appending. New shortcut list nano_insertfile_list (since
3403 insert and write routines can't share shortcut lists anymore),
3404 new args to do_writeout and write_file called append, and of source
3405 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +00003406 - Allow backwards searching. Drastic rewrite of the search prompt
3407 string by Chris. All other code by Ken Tyler. New globals
3408 nano_reverse_msg, new functions revstrstr and revstrcasestr,
3409 many changes to search functions. Not too big a code size
3410 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +00003411 - Moved extension functions (Case Sensitive, Regexp, and Backwards
3412 Search, Append key in write file function) to Meta keys, as
3413 people are complaining loudly about nano not being control-key
Chris Allegretta6df90f52002-07-19 01:08:59 +00003414 compatible with Pico, which is a Bad Thing (TM). Changes to
Chris Allegretta658399a2001-06-14 02:54:22 +00003415 shortcut_init, toggle_init, new toggles for backwards and regexp
3416 (and you can now toggle all search options including regexp at
3417 the Search: prompt!) Changes to nanogetstr to enable Meta
3418 keys to be grabbed, changes to onekey to print M-style shortcuts.
3419 - New macro TOGGLE which just toggles, no more silly checking
3420 ISSET and then using SET or UNSET when we want a simple toggle
3421 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +00003422 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +00003423 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +00003424 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
3425 and write_file(), new functions add_open_file(),
3426 open_file_change_name(), load_open_file(), open_file_dup_search(),
3427 open_file_dup_fix(), open_prevfile(), open_nextfile(),
3428 close_open_file(), get_full_path(), die_save_file(), etc.
3429 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +00003430 - Using --enable-extra automatically defines --enable-multibuffer
3431 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +00003432 - Moved to gettext 0.10.38 at the last second, sure to break
3433 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +00003434- Makefile.am:
3435 - Include ABOUT-NLS and the new THANKS files to the distributed list.
3436- THANKS:
3437 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +00003438 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +00003439- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +00003440 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +00003441 initialization file and set options normally used on the command
3442 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +00003443 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +00003444 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +00003445- cut.c:
3446 add_to_cutbuffer()
3447 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +00003448 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +00003449 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
3450 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00003451 - Added 'destructive' argument. Allows the selected text to be
3452 added to the cutbuffer without changing the contents of the
3453 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +00003454 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +00003455 - If the line is empty when using -k and wasn't already added,
3456 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +00003457 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +00003458 - Moved the case of current == mark_beginbuf into cut_marked
3459 segment, so do_writeout could call it when writing selection to
3460 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +00003461 do_uncut_text()
3462 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +00003463- faq.html:
3464 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +00003465 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003466- files.c:
3467 do_browser()
3468 - Minor fixes to the processing of SELECT function (Rocco)
3469 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +00003470 - Don't shift the size of the file is it's less than 1K. Fixed
3471 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +00003472 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
3473 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00003474 do_writeout()
3475 - New code to allow writing selected text to a separate file.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00003476 When this is done, the current state is preserved.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +00003477 write_file()
3478 - New arg, nonamechange, means whether or not to update the
3479 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +00003480 - Increment lineswritten when the very last line isn't null.
3481 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003482- global.c:
3483 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +00003484- move.c:
3485 page_up()
3486 - Rewritten with a loop to make screen updates work when
3487 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +00003488 do_home(), do_end()
3489 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +00003490- nano.1:
3491 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +00003492- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +00003493 do_alt_speller()
3494 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +00003495 ABCD(), main()
3496 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +00003497 main()
3498 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +00003499 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +00003500 signal_init()
3501 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
3502 SIGCONT from being interrupted, allows suspending nano
3503 to work more reliably, esp. with mutt, etc.
3504 do_suspend()
3505 - Don't try to play with the handler inside the handler. Just
3506 raise a SIGSTOP. We also now write the "use "fg"" message to
3507 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +00003508 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
3509 Eliminates the possibility that nano can be suspended when
3510 it's not supposed to be. Many many many thanks to Jordi and
3511 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +00003512 do_cont()
3513 - Now just does a refresh call instead of playing with the SIGTSTP
3514 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +00003515- nano.h:
3516 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
3517- proto.h:
3518 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +00003519- search.c:
3520 do_gotoline()
3521 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +00003522 do_replace()
3523 - If we manage to make it in somehow with VIEW_MODE on, abort
3524 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +00003525- utils.c
3526 strcasestr()
3527 - Replaced by mutt's mutt_stristr function, because the thought
3528 of dynamically allocating memory and copying each line in a file
3529 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +00003530- winio.c:
3531 actual_x()
3532 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +00003533- po/POTFILES.in:
3534 - Added utils.c to the list.
3535- po/es.po, po/ca.po:
3536 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +00003537- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +00003538 - Galician translation by Jacobo Tarrío.
Jordi Mallach92b3bd22001-05-16 09:10:31 +00003539- po/uk.po, po/ru.po:
3540 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +00003541 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +00003542- po/id.po:
3543 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +00003544- po/it.po
3545 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +00003546- po/no.po:
3547 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
3548- po/sv.po:
3549 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +00003550
3551nano 1.1 tree forked here 04/07/2001
3552
Chris Allegretta38068cd2001-04-06 20:04:23 +00003553nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00003554- General:
3555 - added configure option --disable-wrapping. Does what it says,
3556 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +00003557 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00003558 Affects configure, nano.c:do_char() and check_wrap() obviously,
3559 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +00003560- aclocal.m4:
3561 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +00003562- faq.html:
3563 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +00003564- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +00003565 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +00003566 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +00003567 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +00003568 - use strcasecmp to sort directory if available, pilot does that
3569 as well (Matthias Andree)
3570 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +00003571 - Changed lstat calls to stat, which fixes the browser not
3572 following links to directories. We only use lstat() when
3573 printing the details of the file, and if it is a link, then
3574 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00003575 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +00003576 do_browser()
3577 - Fix broken size suffix off-by-one errors (Matthias Andree)
3578 cwd_tab_completion(), do_browse_from()
3579 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
3580 - Changed above to use PATH_MAX only when defined on the
3581 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00003582- intl/Makefile.in:
3583 distclean
3584 - added intl/libintl.h to the rm -f rule, should fix the unresolved
3585 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +00003586
Chris Allegretta2bfbda02001-03-23 03:50:44 +00003587nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +00003588- General
3589 - Added void to functions declared as () args, nano.c:do_mark()
3590 and search.c:regexp_cleanup(). (Christian Weisgerber).
3591 - Changed internal variables called "new" to "newnode" to avoid
3592 the "new" C++ reserved word, even though there is likely no way
3593 nano will EVER be compilable with a C++ compiler. (suggested by
3594 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00003595- ca.po, es.po:
3596 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +00003597- cs.po:
3598 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00003599- nano.info:
3600 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +00003601- winio.c:
3602 statusq()
3603 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +00003604
36051.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +00003606- nano.c:
3607 do_wrap()
3608 - Added case for autoindenting text causing new line (Adam).
3609 - Added SAMELINE case to above. Added checks to cases 1b and
3610 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +00003611- move.c:
3612 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +00003613 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +00003614 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +00003615- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +00003616 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +00003617 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +00003618 search_init()
3619 - If using Pico mode and regex and same answer is entered, use
3620 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +00003621- nano.texi:
3622 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +00003623
Chris Allegrettaa4a222d2001-02-20 03:52:13 +00003624nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +00003625- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +00003626 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00003627 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +00003628 removed "Goto Line", aligned "Read File" with "Write Out" and
3629 "Replace" with "Where is" for consistency.
3630 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +00003631 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +00003632- configure.in:
3633 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +00003634 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +00003635 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +00003636- cut.c:
3637 do_cut_text()
3638 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00003639- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +00003640 do_delete()
3641 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +00003642 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +00003643 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00003644 do_justify()
3645 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +00003646 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +00003647 main()
3648 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +00003649- winio.c:
3650 do_yesno()
3651 - Added localized yes, no and all strings to function and rewrote
3652 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +00003653- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +00003654 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +00003655- fi.po:
3656 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +00003657- hu.po:
3658 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +00003659- id.po:
3660 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +00003661- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +00003662 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +00003663- ca.po:
3664 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00003665 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
3666 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +00003667
Chris Allegretta34318ed2001-01-31 23:22:36 +00003668nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +00003669General
Chris Allegrettad4ddd012001-01-23 01:17:07 +00003670 - Removed center_x and center_y globals. center_y was
3671 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +00003672 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +00003673 - Deleted free_node, duplicate of delete_node, and changed all
3674 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +00003675 - Fix for resizing the window in modes other than normal edit mode
3676 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +00003677- files.c:
3678 write_file()
3679 - Don't free() realname on error, if it needs to be free()d later
3680 it will be (fixes crash on successful write after failed write,
3681 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +00003682 username_tab_completion()
3683 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +00003684 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +00003685 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +00003686 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +00003687 - Rewritten using getpwent (suggested by Adam, much optimized by
3688 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +00003689- global.c:
3690 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +00003691- nano.c:
3692 do_justify()
3693 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +00003694 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +00003695 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +00003696 global_init(), handle_sigwinch()
3697 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +00003698 do_alt_speller()
3699 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +00003700 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +00003701- proto.h:
3702 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +00003703- winio.c:
3704 nanogetstr()
3705 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +00003706
Chris Allegretta9d6f3f32001-01-21 02:35:03 +00003707nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +00003708General
3709 - Changed #ifdefs to check for both DISABLE_TABCOMP and
3710 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003711 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +00003712 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003713 back. (Rocco)
3714 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +00003715 - Added message for when keypad goes awry. Added code in main and
3716 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +00003717 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +00003718 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +00003719 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +00003720- configure.in:
3721 - Fix for _use_keypad check breaking slang support (Christian
3722 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +00003723 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +00003724 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +00003725- faq.html:
3726 - Added some info on making the binary smaller with the configure
3727 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +00003728 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +00003729- files.c:
3730 real_dir_from_tilde()
3731 - Oops, fix case where buf ="~", silly crash (bug discovered by
3732 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +00003733 do_browser()
3734 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +00003735 cwd_tab_completion(), input_tab()
3736 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +00003737 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003738- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +00003739 ABCD()
3740 - New function, figures out what kbinput to return given
3741 input common to several switch statements, allows us to
3742 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003743 main()
3744 - Alternate speller option no longer valid if DISABLE_SPELLER is
3745 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +00003746 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
3747 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +00003748 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003749 nano_small_msg()
3750 - This function has been removed. All references now call
3751 nano_disabled_msg. (Rocco)
3752 version()
3753 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
3754 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
3755 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +00003756 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +00003757 usage()
3758 - Alternate speller option no longer valid if DISABLE_SPELLER is
3759 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +00003760 window_init(), handle_sigwinch()
3761 - Added check for not having enough LINES to do anything useful,
3762 if so die with an error. (Rocco)
3763 die_too_small()
3764 - Function to print the window too small error message, avoids
3765 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +00003766 do_justify()
3767 - Small fix for totsize calculation (Rob)
3768
Chris Allegrettad9742c62001-01-12 15:51:53 +00003769- fi.po:
3770 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +00003771
Chris Allegretta16991442001-01-07 22:06:11 +00003772nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +00003773General -
3774 - New file browser code. New functions in files.c:do_browser(),
3775 helper functions browser_init(), tail(), striponedir(),
3776 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +00003777 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +00003778 - Keypad code has been changed slightly. Now checks for
3779 _use_keypad flag in window to see whether or not to turn
3780 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +00003781 to winio.c where it should probably be anyway. New configure
3782 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +00003783 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +00003784 - Moved keypad() calls for PDCURSES from main() to window_init()
3785 so the keypad continues to work after a Meta-X, for example.
3786 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +00003787- faq.html:
3788 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +00003789- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00003790 username_tab_completion()
3791 - Added the (char *) sizeof when allocating memory for the filename
3792 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +00003793 cwd_tab_completion()
3794 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00003795 - Added the (char *) sizeof when allocating memory for the filename
3796 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00003797 do_writeout()
3798 - Now takes an argument so the string typed in can be retained
3799 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +00003800 do_browser()
3801 - Don't decrement longest by the length of path. Fixes crashes
3802 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +00003803 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +00003804 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +00003805- move.c:
3806 page_down()
3807 - Don't do an edit_update when there is only one page of text
3808 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +00003809- nano.c:
3810 main()
3811 - Reorder the getopt options to be more or less alphabetical
3812 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +00003813- winio.c:
3814 do_cursorpos()
3815 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +00003816 do_credits()
3817 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +00003818 titlebar()
3819 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +00003820 do_help()
3821 - Changed way of temporarily bringing up shortcuts at the
3822 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +00003823- utils.c:
3824 mallocstrcpy()
3825 - Takes char pointers now instead of void (makes debugging a
3826 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00003827 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +00003828- es.po:
3829 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +00003830
Chris Allegretta66149e72000-12-19 02:51:06 +00003831nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +00003832General
3833 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +00003834 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +00003835 - Changed filename to no longer use PATH_MAX, so it can work on the
3836 HURD. Changes in files.c:write_file(), new function
3837 nano.c:clear_filename(), many changed in main(), a few other
3838 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003839 - Added -b, -e, and -f flags, which we ignore as nano provides
3840 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +00003841- cut.c:
3842 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003843 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +00003844 - Fix screen not being displayed when we are uncutting marked
3845 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +00003846 - Fix magic line not getting created when (you guessed it)
3847 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +00003848- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +00003849 read_file()
3850 - If we encounter an error and insert is not set, run new_file().
3851 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +00003852 write_file()
3853 - Change open call flags, basically copy joe's way of doing it so
3854 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +00003855 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +00003856 open_file()
3857 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +00003858- nano.c:
3859 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +00003860 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003861 main()
3862 - Added code to check for Alt-Alt (27-27) keystrokes and set the
3863 next keystroke as a control sequence. New variable
3864 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
3865 around Control-S,Q,Z handlers because we need it now for
3866 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +00003867 - Added --view option to getopt_long()call . Bug discovered
3868 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +00003869 help_init()
3870 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta6df90f52002-07-19 01:08:59 +00003871 ^_ in Pico mode not be displayed in the help (bug discovered by
Chris Allegretta92325e72000-12-18 03:44:22 +00003872 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +00003873 do_toggle()
3874 - Added fix_editbot() call to fix improper redisplay of edit
3875 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +00003876- nano.1, nano.1.html:
3877 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +00003878- winio.c
3879 do_help()
3880 - Force keypad on so F-keys and PageUp/Down will work properly.
3881 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +00003882- utils.c:
3883 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +00003884 - Increment totsize!! We decrement it when we've read a file,
3885 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +00003886
Chris Allegrettab29550e2000-12-09 03:34:12 +00003887nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +00003888General
3889 - Changed --disable-spell to --disable speller. The term is
3890 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +00003891- files.c:
3892 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +00003893 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +00003894 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +00003895 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +00003896 - We now run check on result of lstat(), not stat(), to be
3897 safer. New variable anyexists, we use still use realexists
3898 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +00003899 - OOPS, line up link/unlink/rename check if conditional with
3900 top if conditional. Option -l has been broken for 9 versions,
3901 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +00003902 - Added saving perms at end of link so we can apply them to the
3903 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +00003904- winio.c:
3905 edit_add()
3906 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00003907 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +00003908 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00003909 - Moved from search.c, as it's definitely a winio function now =)
3910 update_line()
3911 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +00003912
Chris Allegrettafedd7242000-12-03 03:15:38 +00003913nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +00003914- General
Chris Allegrettabe77c612000-11-24 14:00:16 +00003915 - Username tab completion code, and cleaned up existing tabcomp
3916 code. New functions real_dir_from_tide(), append_slash_if_dir(),
3917 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +00003918 - Ignore key sequence 543 & 545, right control and alt keys in
3919 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +00003920 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
3921 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +00003922 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +00003923 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +00003924- New configure options:
3925 - Added configure argument --disable-tabcomp. Affects
3926 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +00003927 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +00003928 - New options --enable-extra. New code in nano.c:version() to
3929 print out various options from ./configure, function do_credits().
3930 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +00003931 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +00003932 do_spell, do_int_speller and do_alt_speller.
3933 - Added --disable-justify to get rid of the justify function.
3934 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +00003935- files.c:
3936 write_file()
3937 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +00003938 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +00003939 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +00003940 - Added call to real_name_from tilde, oops. Added check for
3941 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +00003942 read_file()
3943 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +00003944- global.c:
3945 shortcut_init()
3946 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +00003947 shortcut or the normal uncut text one. Needed to accommodate
3948 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +00003949- nano.1, nano.1.html:
3950 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +00003951 - Added "NOTES" section, where I explain what nano.save & friends
3952 are.
3953 - Added a copyright notice for the manpage, under the GPL.
3954 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +00003955- nano.c:
3956 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +00003957 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
3958 text there, then grabs the next keystroke and, if the unjustify
3959 key, gets rid of the justified text and calls do_uncut_text.
3960 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00003961 do_int_spell*
3962 - Various fixes (Rocco Corsi).
3963 - Changed abort of program to aborting based on value of "edit a
3964 replacement" question, and not caring about the replace loop
3965 return value. That way the user can get out of the replace loop
3966 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +00003967 version()
3968 - Took out huge check for the various --disabled macros,
3969 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +00003970 nano_small_msg(), nano_disabled_msg()
3971 - Added checks for disabled functions to see whether or not to
3972 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +00003973 do_next_word()
3974 - Update the previous line as well as the current one in case we
3975 have moved beyond COLS or back from COLS, patch submitted
3976 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +00003977 die()
3978 - Now creates .save file using variable-length strings. Also
3979 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +00003980 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +00003981 handle_sighup()
3982 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00003983- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +00003984 do_replace_highlight()
3985 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +00003986 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +00003987 - Added calls to curs_set(0) and (1) to disable the cursor when
3988 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +00003989- es.po:
3990 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +00003991
Chris Allegrettaca7a21d2000-11-24 01:35:40 +00003992nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +00003993- AUTHORS
3994 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +00003995- nano.c:
3996 main()
3997 - Changed check for argc == 1 to argv[optind] == NULL to decide
3998 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +00003999- search.c:
4000 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00004001 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +00004002 search_init()
4003 - Silly typo in our "one simple call" of statusq. Stopped
4004 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +00004005 do_replace()
4006 - Copy back the previous value of last_replace into answer if
4007 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +00004008- winio.c:
4009 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +00004010 - Deleted first update_line() call, screws up display when marker is
4011 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +00004012- nano.1, nano.1.html
4013 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +00004014
Chris Allegretta6da149a2000-11-19 02:23:03 +00004015nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +00004016- General
4017 - Ran source through indent -kr again. Make everything pretty.
4018 - Changed behavior of "search" and "replace" prompts to make all
4019 previous values editable. This change was made so that you can
4020 replace with the null string without needing a special key for it.
4021 changed code in search_init(), do_replace(), nanogetstr (see
4022 below).
4023 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +00004024 - Revamped nanogetstr() and calls to it to use variable length
4025 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +00004026 MANY changes in nanogetstr(), many chances in search.c, new
4027 function mallocstrcpy which is sure to be a programmatic
4028 nightmare, changed last_search, last_replace, answer to
4029 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +00004030 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +00004031 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00004032 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +00004033 - New spelling code by Rocco Corsi. New functions
4034 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
4035 New functions search_init_globals and do_replace_loop, changes
4036 to search_init(), do_replace, findnextstr, moved last_search and
4037 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +00004038 - New tab completion code. Used check_wildcard_match, input_tab,
4039 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +00004040 hacked them a lot, changes to nanogetstr(). nanogetstr() and
4041 statusq() now take an arg for whether or not to allow tab
4042 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +00004043 - Fixed value being input in statusbar during a search or replace
4044 and CASE_SENSITIVE or the other search is called and the
4045 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00004046 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
4047 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +00004048- files.c:
4049 do_writeout()
4050 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +00004051- global.c
Chris Allegretta105da332000-10-31 05:10:10 +00004052 - New global replace_list_2, for 2nd half of the replace dialog
4053 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +00004054 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +00004055 toggle_init()
4056 - Added #ifdef around toggle_regex_msg to get rid of compiler
4057 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +00004058
4059- nano.c:
4060 keypad_on()
4061 - New function, toggles turning the keypad on and off in edit and
4062 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00004063- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +00004064 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00004065 - New arg for begin_x variable, basically a rewrite that
4066 makes a little more sense and isn't quite as messy (Rocco Corsi).
4067 - Update the line we're checking if not the whole screen, because
4068 it's quite possible the search team could exist somewhere way
4069 to the right on the same line, for example.
4070 replace_abort()
4071 - Add reset of placewewant, stops cursor from jumping when moving
4072 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +00004073 do_replace()
4074 - Added code for Gotoline key after entering the search term.
4075 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +00004076 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +00004077 Converted if statements to switch statements.
4078 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +00004079 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +00004080 do_search()
4081 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +00004082- winio.c
4083 nanogetstr()
4084 - Added check for 343 in while loop to get rid of getting "locked"
4085 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +00004086 - Changed check to return -2 on "enter" from answer == ""
4087 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +00004088 - Fixed fallthrough code because there was no break. Make much
4089 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +00004090 - Added check for ASCII 54[124] when using PDCURSES, ignore them
4091 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00004092 nanoget_repaint()
4093 - New function, removes about 30 lines of duplicate code in
4094 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +00004095 - Black magic code to make $ appear in prompt if we're past
4096 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +00004097 blank_edit()
4098 - Removed wrefresh() call, much less choppy now. If there's a need
4099 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +00004100- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +00004101 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +00004102
Chris Allegretta07e97d62000-10-03 01:52:50 +00004103nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +00004104- General
4105 - Added PDCurses support under cygwin, which allows building
4106 a nice stand-alone nano.exe for those poor Windows users.
4107 Extra check in configure.in for initscr() in -lcurses (as
4108 PDcurses has no tgetent), some #ifdef PDCURSES statements
4109 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +00004110 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +00004111- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00004112 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00004113 main()
4114 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00004115- search.c
4116 - Added initializations for last_search and last_replace (Rocco Corsi)
4117
Chris Allegretta629edad2000-09-19 00:27:19 +00004118nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00004119- General
4120 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
4121 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00004122- configure.in:
4123 - Added default case for cross-compiling to get rid of annoying
4124 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00004125- cut.c:
4126 do_cut_text()
4127 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00004128 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00004129- files.c:
4130 open_file()
4131 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00004132- global.c:
4133 shortcut_init()
4134 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00004135- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00004136 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00004137 - Added check for _POSIX_VDISABLE and use raw mode if not
4138 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00004139 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00004140 - Revamped a great deal of the F-key and keypad key handling,
4141 because we not longer use keypad() (see below).
4142 - Removed keypad() call because nano was not working with the
4143 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00004144 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00004145 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00004146 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00004147 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00004148 mouse_init()
4149 - Add keypad only if mouse support is on, otherwise mouse doesn't
4150 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00004151 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00004152- winio.c:
4153 total_refresh()
4154 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00004155 onekey()
4156 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00004157
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00004158- search.c:
4159 findnextstr()
4160 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00004161- es.po:
4162 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00004163- de.po
4164 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00004165
Chris Allegretta423cbfd2000-09-04 16:21:29 +00004166nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00004167- General
4168 - New shortcuts to toggle certain options that are normally only
4169 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
4170 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00004171 called from shortcut_init(), and do_toggle in nano.c. Also
4172 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00004173 signal_init(). Moved "struct sigaction act"into a static in
4174 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00004175 - Changed from Alt-key symbol (@) which is completely nonstandard
4176 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00004177 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00004178 Meta. Moved the toggle Meta keystrokes to the first column
4179 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00004180 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00004181 - Changed last_search and last_replace vars to statically
4182 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00004183- global.c:
4184 toggle_init()
4185 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
4186 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00004187- nano.c:
4188 do_mouse()
4189 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00004190 do_wrap()
4191 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00004192 do_toggle()
4193 - Added checks for no help and no wrap mode, and print opposite
4194 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00004195 do_suspend(), do_cont():
4196 - New functions, handle suspend signal in a Pico-like manner and
4197 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00004198- winio.c:
4199 total_refresh()
4200 - Added edit_refresh() call to actually update the screen if messy.
4201 edit_refresh_clearok()
4202 - New function, does a total update for edit refresh, needed to fix
4203 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00004204 onekey()
4205 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00004206
Chris Allegretta6306a112000-09-02 07:55:41 +00004207 update_line()
4208 - Added check for binary data >= 1 and <= 26, and use ^+letter
4209 to display it. Should fix editing text files with binary
4210 data in them. Placing of the cursor seems to be a bit screwed
4211 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00004212- search.c:
4213 search_abort()
4214 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
4215 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00004216 findnextstr():
4217 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00004218 - Fixed check for string that only occurs on the same line failing
4219 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00004220
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00004221nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00004222- cut.c:
4223 do_cut_text()
4224 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00004225 - Added check_statblank().
4226 - Check for fileptr == filebot, if so return, we shouldn't bother
4227 cutting the magic line.
4228 do_uncut_text()
4229 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00004230- nano.c:
4231 main()
4232 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00004233- po/Makefile.in.in:
4234 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
4235 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00004236- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00004237 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00004238
Chris Allegretta0bf4e142000-08-04 02:42:04 +00004239nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00004240- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
4241 Affects many many functions. Removed functions edit_update_top and
4242 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00004243- Added global variable tabsize, we no longer screw with the curses
4244 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00004245- configure.in:
4246 - Finally fixed check for slang to report "no" if not called
4247 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00004248- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00004249 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00004250 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00004251 null_at()
4252 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00004253 delete_buffer()
4254 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00004255 do_backspace()
4256 - Now calls page_up_center instead of page_up (as it should?)
4257 do_enter()
4258 - Fixed typo (?) in check for inptr->next. Caused lots of
4259 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00004260 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00004261 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00004262- search.c:
4263 replace_abort()
4264 - redundant, now just calls search abort until it does something
4265 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00004266- winio.c:
4267 edit_refresh()
4268 - Added check for current line "running" off the screen.
4269 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00004270 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00004271 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00004272 edit_update()
4273 - Rewritten, hopefully this will remove a lot of the
4274 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00004275- move.c:
4276 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00004277 - do an edit_update() at last case. Made function more like
4278 Pico's version, only move down to two lines before editbot.
4279 page_up()
4280 - Made function more like Pico's version, only move down to two
4281 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00004282
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00004283nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00004284- nano.h:
4285 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
4286- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00004287 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00004288 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00004289 - Simplified check for freeing cutbuffer. Added checks for doing
4290 multiple cuts with -k, now sets marked_cut to 2 for later
4291 processing by do_uncut_text().
4292 do_uncut_text()
4293 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00004294- files.c:
4295 write_file()
4296 - Removed (redundant) check for writing out files with -t.
4297 do_writeout()
4298 - Changed check for filename to filename[0]. Added some code,
4299 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00004300- nano.c:
4301 do_justify() & do_wrap():
4302 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00004303- de.po
4304 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00004305
Chris Allegretta1d7110d2000-07-23 16:59:07 +00004306nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00004307- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00004308 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
4309 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00004310- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
4311 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00004312- move.c
4313 page_down()
4314 - Don't edit_refresh() if the bottom of the file is in the edit
4315 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00004316- nano.c:
4317 main():
4318 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00004319 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00004320 die():
4321 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00004322 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00004323 - Changed exit semantics a bit so that aspell wouldn't get
4324 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00004325- files.c:
4326 read_file():
4327 - Added init of buf variable, hopefully this will stop the
4328 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00004329 write_file():
4330 - Added code to check to see if using -l and the file is not
4331 in fact a link. This should fix the behavior where a file
4332 that does not have write permission but could be removed and
4333 rewritten is saved without error. Please test this feature
4334 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00004335- search.c:
4336 search_init():
4337 - Added " (to replace)" statement to end of search string if
4338 we are doing a replace. Manually converted all the translations
4339 from '%s' to '%s%s' to ensure they still work with the new code.
4340 Also put in the translation for " (replace)" in the .po's. Hope
4341 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00004342 do_search(), do_replace():
4343 - Removed call to search_abort()/replace_abort() before call to
4344 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00004345 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00004346 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00004347 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00004348- fr.po:
4349 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00004350- es.po:
4351 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00004352
Chris Allegrettae955dae2000-07-07 22:24:59 +00004353nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00004354- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00004355 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
4356 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
4357 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00004358 search_init() and do_replace() and strstrwrapper().
4359 - Added _POSIX_VERSION check to regexp code. Better than nothing
4360 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00004361 - Made search functions & keys more like Pico. Added goto line from
4362 search and replace function, changed wording to "No Replace" instead
4363 of "To Search", "To Replace" to simply "Replace", and changed to
4364 Pico's keystroke by default, ^R. Affects search_init(),
4365 do_search() in search.c, globals in nano.h and
4366 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00004367 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00004368- cut.c
4369 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00004370- files.c:
4371 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00004372 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00004373- nano.c:
4374 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00004375 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
4376 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00004377 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00004378 - Corrected FIXME in do_enter with explanation. (Rob)
4379 - Fixed FIXME in do_justify, resulted in creation of
4380 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00004381 help_init():
4382 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00004383 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00004384 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00004385 do_backspace(), do_delete():
4386 - Added magic line code here too.
4387
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00004388- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00004389 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00004390- fi.po:
4391 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00004392- utils.c:
4393 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00004394- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00004395 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00004396 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00004397 do_yesno(), nanogetstr():
4398 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00004399 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
4400 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00004401 clear_bottomwin():
4402 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00004403 edit_update_top():
4404 - Fixed a bug that caused nano to not update when
4405 current->next == NULL (e.g. paging down to the very bottom of
4406 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00004407 fix_editbot:
4408 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00004409 edit_add:
4410 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00004411
Chris Allegretta4da1fc62000-06-21 03:00:43 +00004412nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00004413- New flag "-T" or "--tabsize" to specify how to display tab widths.
4414 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00004415 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00004416 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00004417- id.po:
4418 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00004419- es.po:
4420 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00004421- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00004422 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00004423 we had been seeing. Affects: add_marked_sameline, edit_add,
4424 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00004425 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00004426 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00004427 - Cut display_main_list call, as this function is only supposed to
4428 refresh what's already on the screen, not go through the process
4429 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00004430- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00004431 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00004432- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00004433 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00004434 - Removed editwineob, as it was redundant for (editwinrows - 1).
4435 Changed all calls to editwinrows - 1 in nano.c and move.c.
4436 - Removed all functions that were split into other files.
4437 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00004438 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00004439 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00004440 do_insertfile():
4441 - Fix display problem when using ctrl-r to load a file
4442 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00004443 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00004444 - Added titlebar(), edit_refresh() and display_main_list() calls
4445 because a resize wasn't picking up on possible different width
4446 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00004447- utils.c:
4448 - Moved nmalloc() and nrealloc() here.
4449- move.c:
4450 - New file, contains movement functions (like do_home(), do_up(),
4451 do_down(), page_up(), etc...).
4452- files.c:
4453 - Contains functions for files (read_file, insert_file,
4454 do_writeout(), etc).
4455- search.c:
4456 - Contains all our searching and related functions, (do_search(),
4457 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00004458
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004459nano-0.9.10 - 06/04/2000
4460- es.po:
4461 - Translation updates (Jordi).
4462- AUTHORS, nano.1.html, TODO, README:
4463 - Documentation and email address updates (Jordi).
4464- nano.c:
4465 main():
4466 - Moved Adam's termio code down to after getopt() and before initscr()
4467 to stop people losing their SIGINT character when using args that
4468 exit nano before it runs (--version, --help, etc).
4469
4470nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00004471- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004472 - Added proper lines for defining LOCALEDIR.
4473- configure.in:
4474 - Spelling fixes (Jordi Mallach)
4475 - Removed CFLAGS changes for gcc, reduces portability according to
4476 some, and it certainly doesn't seem to decrease exe size.
4477- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00004478 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004479- POTFILES.in:
4480 - Added global.c file, was screwing up translations (i.e. they
4481 weren't getting done).
4482- cut.c:
4483 add_to_cutbuffer():
4484 - Added totsize increment.
4485 - Cut fixes and optimizations (Rob Siemborski).
4486 do_uncut_text():
4487 - Added totsize increment in several places.
4488- nano.c:
4489 headers:
4490 - Removed LOCALEDIR define.
4491 do_justify():
4492 - Added edit_refresh() call (bug discovered by Adam).
4493 page_down_center():
4494 - Added call to edit_update(current) for last case. Removed
4495 increment of current_y since it's now just wasteful.
4496 do_enter():
4497 - Added totsize increment.
4498 renumber(), renumber_all():
4499 - Removed totsize-- and totsize init in renumber_all.
4500 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00004501 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004502 unnecessary wrefresh(edit).
4503 main():
4504 - Moved up locale calls so that translated --help messages would
4505 actually get translated.
4506 do_backspace(), do_delete():
4507 - Added decrement of totsize.
4508 init_help_msg():
4509 - New function, initializes help text if NANO_SMALL isn't set (fixes
4510 broken i18n).
4511 read_file():
4512 - malloc call changed to nmalloc (Rob Siemborski).
4513- winio.c:
4514 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00004515 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004516
4517nano-0.9.8 - 05/18/2000
4518- nano.c:
4519 main():
4520 - Added awesome code that disables the CINTR and CQUIT
4521 character (Adam Rogoyski). Removed raw()/noraw() calls so that
4522 nano gets input in 'normal' mode, which is the Right Way(tm) to
4523 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00004524 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004525 term settings, and changes to finish() and die().
4526 - Added extra #ifdefs in getopt code, so that above code and
4527 flag init is run even if GETOPT_LONG is not #defined.
4528 - Added memset line before sigactions. (Adam Rogoyski)
4529 do_suspend():
4530 Removed function, see above for why.
4531- winio.c:
4532 update_line(), center_cursor():
4533 - Removed wrefresh(edit) from bottom of functions. wrefresh
4534 should now only be called once, at the bottom of the main()
4535 loop.
4536- global.c:
4537 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00004538 - Removed suspend sc_init call and suspend message because suspend
4539 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004540
4541nano-0.9.7 - 05/14/2000
4542- nano.c:
4543 do_home(), do_end():
4544 - Added calls to update_line for the current line, fixes
4545 lack of update (bug discovered by Alberto García).
4546 main():
4547 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
4548 following symlinks even when -l isn't set, and "no changes"
4549 error when nano is called from crontab -e (Adam Rogoyski).
4550- cut.c:
4551 do_cut_text():
4552 - Added edit_update_top to cut when mark is set, fixes lack of
4553 display update (bug discovered by Ken Tyler).
4554
4555nano-0.9.6 - 05/08/2000
4556- New Italian translation (it.po), by Daniele Medri.
4557- nano.c:
4558 page_up(), page_down():
4559 - Added reset of placewewant to 0, as it should be.
4560 do_up(), do_down():
4561 - Added call to update_line() for line we move from and line we
4562 move to, in order to keep the highlighting correct.
4563 do_wrap():
4564 - Added var chop, new code to wrap lines more like Pico, mostly.
4565 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
4566- winio.c:
4567 do_help():
4568 - Added edit_refresh() before exit.
4569 update_cursor():
4570 - Removed cursor updating which really wasn't needed anyway.
4571 edit_update():
4572 - Removed yucky code that didn't work, this function now just
4573 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00004574 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004575
4576nano-0.9.5 - 05/01/2000
4577- Removed bytes from file struct because it was computationally wasteful.
4578- cut.c:
4579 do_uncut_text():
4580 - Added call to edit_refresh().
4581- nano.c:
4582 do_backspace():
4583 - Added reset of editbot when deleting the last line of the file
4584 (bug discovered by Adam).
4585 do_char():
4586 - Removed call to reset_cursor().
4587 do_delete():
4588 - Added similar check as to do_backspace().
4589 do_enter():
4590 - Added call to edit_refresh().
4591 do_left(), right():
4592 - Added call to update_line(), still redundant but better...
4593 do_up(), do_down():
4594 - Added refresh calls both for current line and line to which
4595 we are moving.
4596 main():
4597 - Removed inefficient call to edit_refresh() after every keystroke.
4598 It is now up each function to leave the screen in a good state.
4599- winio.c:
4600 do_cursorpos()
4601 - Rewritten to not use bytes from filestruct by an incremental sum.
4602 update_line(), reset_cursor():
4603 - Optimized calls to xplustabs() through a single variable.
4604 - update_line() now takes a new arg, an index into the string
4605 for where to update the line from. Needed for new update
4606 code.
4607- configure.in:
4608 - Better checks for slang, allows argument to --with-slang.
4609 (Albert Chin-A-Young)
4610 - Removed -Iintl from CFLAGS in gcc check.
4611- Makefile.am:
4612 - Addition of -Iintl for gettext (Albert Chin-A-Young)
4613
4614nano-0.9.4 - 04/25/2000
4615 - Fixed calls to no_help and changed them to the more consistent
4616 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
4617 not 1. Code to temporarily disable NO_HELP when in the
4618 help system. (Adam Rogoyski)
4619- cut.c:
4620 do_marked_cut(), do_cut(), do_uncut():
4621 - Commented out unnecessary bits when NANO_SMALL is being used.
4622- winio.c:
4623 xpt(), strlenpt(), actual_x():
4624 - Added check for value of data[i] & 0x80, if so do not make
4625 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
4626 edit_refresh():
4627 - New check for temp == NULL (bad thing), if so go back to the
4628 previous line. New filestruct var hold points to prev line.
4629 Fixes segfault when paging down to the end of a file.
4630- nano.c:
4631 write_file():
4632 - Added check for if file exists and is not equal to the current
4633 filename, prompt for overwrite (Adam Rogoyski).
4634 do_down():
4635 - Removed check for current->next == NULL, now checks return value
4636 of do_down before setting current_x = 0 (discovered by Adam).
4637 do_justify():
4638 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00004639 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004640 by Adam).
4641- utils.c:
4642 - Removed extra macro defs that are now in nano.h.
4643- nano.h:
4644 - Changed macro SET() to use |= instead of ^=. Fixes bug in
4645 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00004646 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004647
4648nano-0.9.3 - 04/29/2000
4649- cut.c:
4650 do_marked_cut():
4651 - Fixed off by one error in cut code for marked text.
4652 do_cut_text():
4653 - Removed check for being on the last line, part of
4654 magic line code.
4655 add_to_cutbuffer():
4656 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
4657 - Added inptr->prev = NULL for case where cutbuffer == NULL.
4658- nano.c:
4659 do_backspace(), do_char():
4660 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00004661 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004662 at least one known segfault condition.
4663 do_enter():
4664 - Added setting editbot to new node if the new node is the last
4665 node in the file.
4666 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00004667 - Changed writing file behavior. Now, if last line of the file
4668 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004669- winio.c:
4670 add_marked_sameline():
4671 - New code that checks for whether the begin and end of the marker
4672 are on different lines. Missing previously.
4673 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00004674 - added some more checks for text length. Cleaned up some
4675 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004676 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00004677 - Removed check for temp == filebot, it is now treated like any other
4678 line. Fixes a bug where selected text on the last line shows
4679 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004680 xpt():
4681 - Removed an extra computation for tabs variable that was incorrect.
4682 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00004683 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004684 xpt(current, current_x)
4685- nano.1, nano.1.html:
4686 - Added -l option to man pages.
4687- configure.in:
4688 - New option --enable-tiny, #defines NANO_SMALL in config.h.
4689 Disables call to gettext in functions and other i18n stuff in
4690 nano.c, the detailed help mode, the resize functions, and the
4691 justify code which no one ever uses.
4692 - New option --with-slang. Enables slang libraries instead of
4693 ncurses, requires slcurses.h for wrapper functions. (Based
4694 on patches for 0.8.7 by Glenn McGrath).
4695
4696nano-0.9.2 - 04/15/2000
4697- This release just fixes the serious segfault problem if nano is
4698 invoked any way other than using the absolute path. The bug was
Chris Allegretta6df90f52002-07-19 01:08:59 +00004699 in the new code for checking whether nano is invoked as 'pico'.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004700
4701nano-0.9.1 - 04/14/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00004702- Added Pico compatibility for ^T when in search or switch to switch
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004703 to the opposite function. Added one to REPLACE_LIST_LEN and
4704 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00004705 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004706 to search_init(). Handlers in do_replace and do_search().
4707- New write code, now follows symbolic links instead of replacing them
4708 with the new file. New option (-l, --nofollow) to enable the old
4709 (incorrect, but secure) behavior (Adam Rogoyski).
4710- nano.c:
4711 do_wrap():
4712 - Fixed another bug relating to wrapping, and which would cause
4713 a segfault *sigh*.
4714 do_replace():
4715 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00004716 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004717 add_marked_sameline():
4718 - New function, handles marked text when start & end of marker is
4719 on one line, also supports most marked text when cursor > COLS.
4720 main():
4721 - Code to check if nano is invoked as 'pico', and if so
4722 automatically set pico_msgs (Robert Jones).
4723
4724nano-0.9.0 - 04/07/2000
4725- nano.1, nano.1.html: Updated man page with my email address and homepage.
4726- winio.c:
4727 reset_cursor(), update_line():
4728 - Changed update algorithm for x value to (COLS - 7) multiple when x
4729 value > (COLS - 2).
4730- edit_refresh():
4731 - Removed inner loop code, now calls update_line() for each line
4732 in question, MUCH nicer.
4733- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00004734 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004735 - Added check for data[i] < 32, most of such bits are 2 chars wide.
4736- update_line():
4737 - Fixed a stupid call to strlenpt with col when we should have
4738 been using actual_col. Ugh.
4739
4740nano-0.8.9 - 03/22/2000
4741- nano.c:
4742 empty_line(), no_spaces(), justify_format(), do_justify():
4743 Actually added these (screwup applying patch).
4744 do_justify(): Added call to set_modified().
4745
4746nano-0.8.8 - 03/12/2000
4747- Preliminary internationalization support. Many many functions modified
4748 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
4749 New dirs po/ and intl/, changes to configure.in and Automake.am to
4750 support i18n.
4751- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00004752 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004753 statics: Changed some things that were not necessarily static
4754 (Adam Rogoyski).
4755 nrealloc(): New function, similar to nmalloc(). Changed calls from
4756 realloc() to nrealloc (Adam Rogoyski).
4757 empty_line(), no_spaces(), justify_format(), do_justify():
4758 New functions for justify function (Adam Rogoyski).
4759- winio.c:
4760 blank_edit(): Added wrefresh call to edit so that screen updates (like
4761 on ^L) actually work.
4762 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
4763
4764nano-0.8.7 - 03/01/2000
4765- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00004766 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004767 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00004768 break the line exists, and for wrapping lines longer than
4769 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004770- nano.1.html:
4771 Html version of man page, now included in dist. For
4772 the benefit of nano packages in Linux distributions.
4773
4774nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00004775- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004776 shortcut_init():
4777 Added shortcuts for goto_line and do_replace when using
4778 pico_msgs. Oops.
4779- nano.c:
4780 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00004781 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004782 Removed check for backing up past spaces first.
4783 main(): Added for loop to check for alt keys instead of hard list.
4784 do_enter(): Fix for bug #14, added call to reset_cursor and messed
4785 up do_char quite a bit.
4786 version(): Added time and date stamp for compile on version message.
4787 Added mail and web page info.
4788- README: Updated mailing list info.
4789
4790nano-0.8.5 - 02/18/2000
4791- nano.c:
4792 main(): Finally fixed tilde being input on page up/down keys in
4793 certain terminal types. Fix was input 26->91->5[34] check
4794 for 126, if so make the kbinput PAGE UP/DOWN, else unget
4795 the keystroke and continue. Added #include <ioctl.h> for
4796 ioctl call.
4797 handle_hup():
4798 Handler for hangup signal. Belated include of patch from
4799 Tim Sherwood.
4800- winio.c:
4801 edit_refresh():
4802 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00004803 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004804 revamped.
4805 check_statblank():
4806 Added check for constupdate, makes things less choppy
4807 (Adam Rogoyski)
4808
4809nano-0.8.4 - 02/11/2000
4810- Moved global variables that were only (or mostly) used in one file into
4811 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
4812- global.c:
4813 shortcut_init():
4814 Removed redundant NANO_CONTROL_H from backspace shortcut,
4815 added char 127 which should have been there.
4816- nano.c:
4817 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
4818 segfaults (Adam Rogoyski).
4819- Makefile.am: Added all source filenames (Adam Rogoyski).
4820- nano.1: Fixed mail addressed and added mailing list address.
4821- README: Updated my email address and the nano web page.
4822
4823nano-0.8.3 - 02/08/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00004824- New Pico mode (-p, --pico), toggles (more) compatibility with the
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004825 Pico messages displayed in the shortcut list. Note that there are still
4826 small differences in this mode.
4827- nano.h: New shortcut struct format, for the benefit of i18n and
4828 our help menu. Removed shortcut message macros, they are
4829 now all in shortcut_init in global.c.
4830- nano.c:
4831 do_wrap(): Removed resetting of current_x when we are in fact
4832 wrapping to the next line, fixes a bug in -i mode.
4833 do_enter():
4834 Rewrote the autoindent mode code to be a lot less pretty,
4835 but a lot more magical.
4836 main():
4837 Removed case for ignoring char 126 (~). That's kind of
4838 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00004839 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004840 main switch loop in much snazzier fashion based on the
4841 shortcut list.
4842- winio.c:
4843 New function display_main_list. Affects all functions
4844 that used to call bottombars() with main_list. Added
4845 because we now only call bottombars with the macro
4846 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
4847 changes to the main_list shortcut list (see global.c below).
4848 New function do_help, our preliminary dynamic help system.
4849- Many many funcs:
4850 Changed from int to void to allow one uniform type to call
4851 from the shortcut struct. Also a few functions that do
4852 not simple have void argument have new functions called
4853 funcname_void(void) to be called from the shortcut list.
4854 do_cut_text and do_uncut_text were changed to void
4855 arguments because they were never called with a filestruct
4856 other than *current anyway.
4857- global.c:
4858 Shortcut list main_list was expanded to cover all
4859 shortcuts that could be caught in the main loop.
4860 Consequently there is a new macro MAIN_VISIBLE which tells
4861 how many items in the main list to actually show.
4862
4863nano-0.8.2 - 02/02/2000
4864- Added initial mouse (-m, --mouse) support. New global variable
4865 use_mouse. (Adam Rogoyski)
4866
Chris Allegretta88520c92001-05-05 17:45:54 +00004867- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004868 regardless. (Adam Rogoyski).
4869 do_delete():
4870 Deleted call to do_backspace() when on the end of a line,
4871 because it won't update the line properly.
4872 do_backspace():
4873 Removed unnecessary pointer manipulation that was being
4874 handled by unlink_node().
4875 open_file():
4876 Added check for trying to open a directory (currently we
4877 segfault on this). Bug pointed out by Chad Ziccardi.
4878
4879nano-0.8.1 - 01/28/2000
4880- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
4881 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
4882 global.c and proto.h.
4883- nano.c:
4884write_file(): Added (incredibly) necessary check for EPERM when
4885 link() fails. This allows us to actually save
4886 files via rename() on filesystems that dont
4887 support hard links (AIEEEEEE).
4888do_goto():
4889 Fixed a stupid mistake where we were calling
4890 bottombars() with replace_list instead of goto_list.
4891- nano.h:
4892 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00004893 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004894 for help function and i18n.
4895- global.c:
4896 New functions shortcut_init (called in nano.c) and
4897 sc_init_one() to initialize the shortcuts without
4898 using {}s (for i18n).
4899
4900nano-0.8.0 - 01/25/2000
4901- View flag (-v, --view) implemented. Global variable view_mode, affects
4902 main loop of nano.c and new_file(). (me)
4903- nano.c:
4904 split checks for TERMIOS_H and TERMIO_H up so we
4905 can (theoretically) include them both, which is good.
4906handle_sigwinch():
4907 Added check for ncurses.h. (Andy Kahn)
4908do_spell():
4909 We now only try ispell because we don't as of yet
4910 handle the 'spell' program the right way, now that
4911 I finally know what the right way is =-). Added
4912 call to edit_update(fileage) to stop segfaults.
4913global_init():
4914 Added initialization of edit* filestruct pointers
4915 to stop segfaults on spell check.
4916usage():
4917 Check for getopt_long, and if no leave out the
4918 GNU options everyone seems to love so much (Andy Kahn)
4919main():
4920 Added checks for getopt_long (Andy Kahn)
4921 We ignore character 126 because it gets put into
4922 the buffer when we page up/down on a vt terminal.
4923write_file():
4924 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00004925 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004926 better in the function comments. Fixed my
4927 stupidly commented out check for tmp on setting
4928 umask which I really like =>
4929- nano.h:
4930 Made desc variable in shortcut struct a pointer
4931 instead of a fixed-length string.
4932- utils.c:
4933 Fixed check for config.h before nano.h.
4934- configure.in:
4935 New checks for getopt_long, getopt.h, removed
4936 CFLAGS and LDFLAGS changes. Gonna have to run
4937 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00004938 Added check for HAVE_WRESIZE, new file acconfig.h
4939 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004940
4941nano-0.7.9 - 01/24/2000
4942- New autoindent feature. Command flag 'i' or '--autoindent'. New
4943 function do_char() to clean up character output, global
4944 variable autoindent in global.c. (Graham Mainwaring)
4945- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
4946 files on exit without prompting. Affects do_writeout(). Also
4947 do_writeout() now takes a parameter for if exiting.
4948 Global variable temp_opt in global.c (Graham Mainwaring)
4949- Preliminary spell program support. Added command flag '-s' or
4950 '--speller' for alternative speller command. Added function do_spell()
4951 and exit_spell() to nano.c. New global variable alt_speller.
4952- nano.c:
4953 main(): We now ignore input of decimal 410 because these get entered
4954 when we resize the screen. Sorted options in getopt()
4955 switch statement.
4956 usage(): Sorted options and changed tabs to make room for -s option.
4957 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
4958 doesn't print the number of lines written on the statusbar.
4959 global_init():
4960 Added more initializations to globals to support do_spell().
4961
4962nano-0.7.8 - 01/23/2000
4963- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00004964- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00004965 and main() in nano.c
4966- Removed redundant reset_cursor() calls from the blank() routines.
4967- nano.c:
4968 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
4969 Removed check for isprint() characters in main while loop
4970 for people with odd character sets *shrug*. Added some X
4971 window F-key combos.
4972 read_line(): New function, consolidates of most of the special
4973 sections of the file reading code. (Rob Siemborski)
4974 do_replace(): Many scattered fixes. (Rob Siemborski)
4975 write_file(): Added check for empty filename.
4976- winio.c:
4977 nanogetstr(): Fixes for deleting at places other than the end of the
4978 buffer, cut support. (Adam Rogoyski)
4979 blank_edit(): New function, blanks edit buffer. Added call to it in
4980 total_refresh().
4981- configure: Checks for glib if snprintf of vsnprintf aren't available
4982 (Andy Kahn). Changed warning message when no termcap lib
4983 is found.
4984
4985nano-0.7.7 - 01/19/2000
4986- Option '-v' for version moved to '-V', because -v is Pico's "read only"
4987 mode (affects getopt() in main() and usage() function in nano.c
4988- New flag -c, always show cursor position. Affects main() in nano.c and
4989 statusbar() in winio.c
4990- Option '-x' doesn't show help window at the bottom of the editor.
4991 New variable no_help in nano.h and proto.h, affects main(), usage(),
4992 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
4993 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
4994 hand =P) (Adam Rogoyski)
4995- nano.c:
4996 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
4997 page_up(), page_down():
4998 - New functions. We now set the cursor at the top right corner,
4999 not at the center line, and page up and down a full screen
5000 rather than a half screen. Original functions renamed to
5001 page_up_center() and page_down_center().
5002 main():
5003 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
5004 in main while loop because suspend mode was broken. This should
5005 fix it, at least for now.
5006 - Added long option support (By popular harassment ;-) - Added
5007 #include for getopt.h, changed getopt() to getopt_long().
5008 Options added so far: --version (-V), --nowrap (-w), --suspend
5009 (-z), --help (-h), --nohelp (-x).
5010 - Rewrote signal statements (Adam Rogoyski)
5011
5012nano 0.7.6 - 01/15/2000
5013- New ChangeLog format
5014- nano.c:
5015 main(): Bound CONTROL_H to backspace (oops)
5016 Added more Alt-[-key combinations, for page up & down.
5017 read_bytes(): New function (Adam Rogoyski)
5018 read_file(): Optimizations - malloc()s *buf a little at a time rather
5019 than one huge buffer, and replaced the strcat at the end
5020 with an index variable. Added call to read_bytes().
5021 do_next_word(): New function, binding is control-space (0) (me)
5022
5023- winio.c:
5024 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
5025 (formula is extra space needed = COLS / 6 - 13).
5026 actual_x() & strlenpt():
5027 Added bug#9 fix - when tabs % 8 == 0, we should only
5028 increment tabs by 1.
5029 titlebar(): Fixed overrun in titlebar on very long filenames.
5030
50310.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
5032 writing a newline at EOF. do_cursorpos and do_replace are now not
5033 directly bound to signals but picked up as their control sequences
5034 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
50350.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
5036 available memory, align bug fixed (Big Gaute).
5037
5038--- As of version 0.7.4 TIP is renamed to nano.
5039
50400.7.3 Fixed a double blank_statusbar() when jumping to first and last
5041 lines. Took out unnecessary updates in load_file. Bug fix in
5042 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00005043 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00005044 with replace all, more/better comments (Robert Siemborski)
50450.7.2 Our first patch accepted into the source! configure fixes
5046 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
5047 Bug fix in update_line for editing long lines. Fixed arguments
5048 being put into the filename when none is specified. Preliminary
5049 +line command argument function.
50500.7.1 configure tweak for better FreeBSD support. Removed refresh() from
5051 edit_refresh to stop cursor "jumping" during screen updates. This
5052 will probably cause a bug or two. Replace is now Alt-R (@R) and
5053 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
5054 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
5055 Control-G will become the Help key, but for now is stubbed out.
50560.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
5057 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
5058 length file. Added Esc-[-A,B,C,D cursor key sequences.
50590.6.9 Preliminary cursor position function. Split up tip.c more, made
5060 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
5061 that was leaving out a character.
50620.6.8 By request, optchr in main() is now an int. Removed unneeded
5063 globals. Bound functions for next/prev page, and wrote functions
5064 do_home and do_end.
50650.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
5066 created read_file. Implemented Insert File. Fixes in tipgetstr
5067 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
50680.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
5069 aborted searches and more Pico-compatible messages. statusq() now
5070 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
50710.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
5072 regarding buffers with filebot in them. Fixins in do_backspace
5073 and do_enter. Removed unused variables. Removed strip_newline.
50740.6.4 Took out the awful newlines from each string buffers. This will
5075 certainly cause more bugs. Fixes in do_exit(). Better empty file
5076 handling (I hope).
50770.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
5078 do_enter() rewritten.
50790.6.2 Better default file permissions. Complete rewrite of do_wrap().
5080 Better handling of editing with cursor near COLS - 1.
50810.6.1 Starting to implement wrapping toggle. Fix for unhandled control
5082 codes being entered into the buffer. Bug fix in actual_x; more
5083 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00005084 locked into cutbuffer when cutting more than one marked screen of
5085 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000050860.6.0 We have TABs!!! To do this, placewewant is now set to the actual
5087 width on the screen we want to be, not an index of current->data.
5088 New functions xplustabs and actual_x convert the actual place
5089 the cursor should be on the screen to and from the place in the
5090 string.
50910.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00005092 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00005093 arrow. Preliminary support for longer than COLS - 1 lines.
5094 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000050950.5.4 Fixed a bug in total_update that wasn't repainting the screen
5096 properly. tipgetstr is much more messy but text is now more
5097 editable ;) Fixed crash on entering a new file, hopefully. Awful
5098 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000050990.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
5100 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00005101 I would not trust your data with the mark code right now, but then
5102 we're not at version 1.0 yet so dont trust anything ;)
51030.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00005104 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00005105 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00005106 but does not actually affect what gets put in the cutbuffer (yet).
51070.5.1 Writing a file out causes modified to be set back to 0. Good.
5108 Set_modified function written. Cut and uncut text now set
5109 modified when called.
51100.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00005111 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00005112 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00005113 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000051140.4.2 Implemented replace all in replace function. Crude exit function
5115 (asks yes or no if modified but does not write to file).
51160.4.1 Implementing search & replace. Fixed crash on deleting at top of
5117 edit buffer. Implemented "timeout" of statusbar messages.
5118 Implemented ^A and ^E (beginning and end of line).
51190.4.0 Split code into global.c and proto.h to allow for better multiple
5120 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00005121 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000051220.3.1 Write edit_refresh which doesn't move the screen around, just
5123 updates what's there already. do_wrap() and do_enter() added.
51240.3.0 Preliminary cutbuffer (cut and uncut) support.
51250.2.7 Check for Modification added. do_search() works.
51260.2.5 Rewrite of file data struct.
51270.2 Read in data to buffer, bound keystrokes to stub functions,
5128 initial cursor movement on screen. Initial autoconf support.
51290.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00005130
5131$Id$