blob: 5ff94c9e53f7c2a42f343708eedb0a23854c7353 [file] [log] [blame]
David Lawrence Ramsey95114c12003-10-23 01:09:43 +00001CVS code -
David Lawrence Ramseya593f532003-11-28 19:47:42 +00002- General:
3 - Minor overhaul and abstraction of the lowest level of mouse
4 input, mostly adapted from the code in do_mouse() that handles
5 clicking on the shortcut list. New function do_mouseinput();
6 changes to do_mouse(). (DLR) David Benbennick: Add a few
David Lawrence Ramseyf4276942003-12-24 03:33:09 +00007 efficiency/extensibility tweaks.
David Lawrence Ramseya593f532003-11-28 19:47:42 +00008 - Modify the shortcut structure so that instead of having two
9 miscellaneous key values (misc1 and misc2), there is one key
10 value reserved for function keys (func_key) and one
11 miscellaneous key value (misc), and tweak the
12 shortcut-handling code to deal with this. These changes allow
13 NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the
14 shortcut entries for NANO_OPEN(PREV|NEXT)_KEY. Also remove
David Lawrence Ramseyd2914602003-11-30 02:22:22 +000015 the values in the shortcut list and elsewhere that were made
16 redundant by the low-level input overhaul, use toupper()
17 instead of subtracting 32 from values for greater code
18 readability, and eliminate use of adding 32 to values when
19 testing for toggles, as get_kbinput_accepted() converts toggle
20 values to lowercase before returning them. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +000021 - Remove the workarounds for missing KEY_UP and KEY_DOWN, as
22 they appear to be holdovers of the old way of denoting the
23 search history shortcuts; if they aren't defined, KEY_LEFT and
24 KEY_RIGHT probably shouldn't work either, and all four appear
25 to be standard keys in termcap/terminfo in any case. Add new
26 special sentinel key values NANO_NO_KEY (for no shortcut key)
27 and NANO_HISTORY_KEY (for search history keys, both Up and
28 Down), modify the shortcut list to use them, and modify the
29 shortcut display routines to handle them. Also modify the
30 shortcut list code to not treat non-control character values
31 of val as Meta-sequences, and fix dependencies on that
David Lawrence Ramsey82138502003-12-24 08:03:54 +000032 behavior. Also rename several variables: "alt" -> "meta",
33 "altval" -> "metaval". (DLR)
David Lawrence Ramseya593f532003-11-28 19:47:42 +000034 - Hook up the verbatim input functions so that verbatim input
35 can be used in the edit window. New function
36 do_verbatim_input(); changes to do_char(). (DLR) Additional
37 minor tweaks to do_char() by David Benbennick.
David Lawrence Ramseyf4276942003-12-24 03:33:09 +000038 - Clarify the description of the --rebinddelete option. (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +000039- cut.c:
40 - Overhaul to increase efficiency and add various cleanups.
41 Changes to add_to_cutbuffer(), cut_marked_segment(), and
42 do_uncut_text(). (David Benbennick)
David Lawrence Ramsey71278572003-10-31 17:58:44 +000043- files.c:
David Lawrence Ramsey82138502003-12-24 08:03:54 +000044 check_operating_dir()
45 - Add an assert to ensure that full_operatingdir isn't NULL,
46 a fix for reporting nonexistent (incomplete) directory names
47 as being outside the operating directory when tab completion
48 is being used, and cosmetic cleanups. (David Benbennick)
49 copy_file()
50 - New function containing part of the functionality formerly in
David Lawrence Ramseyc2946fb2003-12-24 21:47:28 +000051 do_writeout(). (David Benbennick)
David Lawrence Ramsey71278572003-10-31 17:58:44 +000052 do_writeout()
David Lawrence Ramseybc503c82003-11-19 23:59:14 +000053 - Prompt the user if we're trying to save an existing file (and
54 not just a selection of it) under a different name. (DLR;
55 suggested by Jean-Philippe Guérard)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +000056 open_prevfile(), open_nextfile()
57 - For consistency with the rest of the multibuffer code, change
58 "No more open files" to "No more open file buffers". (DLR)
59 do_browser()
60 - Allow '?' to open the help browser, and readd the ability of
61 'G'/'g' to open the "Go to Directory" prompt (which was
62 erroneously removed before), for compatibility with Pico.
63 (DLR)
David Lawrence Ramsey8fa19762003-11-03 00:13:21 +000064- global.c:
65 shortcut_init()
66 - Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR)
David Lawrence Ramsey32559292003-12-28 03:56:04 +000067- nano.c:
68 do_int_spell_fix()
69 - Add comment explaining why findnextstr() is called with
70 bracket_mode set to TRUE even though we aren't doing a bracket
71 search. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +000072 do_para_operation()
73 - Convert to use the new low-level input functions. (DLR)
74 main()
75 - Remove unused variable option_index. (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +000076 - Fix omission of NANO_NO_KEY in the shortcut list scanning
77 code. (DLR)
78- nano.h:
79 - Comment additions and cosmetic tweaks. (DLR)
David Lawrence Ramsey71278572003-10-31 17:58:44 +000080- search.c:
David Lawrence Ramsey45cfbec2003-11-28 16:04:24 +000081 findnextstr(), do_replace_loop()
David Lawrence Ramsey18394ac2003-12-24 03:13:44 +000082 - Fix potential infinite loops and other misbehavior when doing
83 certain zero-length regex replacements ("^", "$", and "^$").
84 Add a no_sameline parameter to findnextstr(), and set it in
85 the calls in do_replace_loop() when such regexes are found, so
86 that such regexes are only found once per line. (DLR; found by
87 Mike Frysinger and DLR)
David Lawrence Ramsey7776ef92003-11-04 18:32:35 +000088- winio.c:
David Lawrence Ramseyf4276942003-12-24 03:33:09 +000089 get_kbinput(), get_accepted_kbinput()
90 - Don't pass in the value of the REBIND_DELETE flag anymore.
91 Instead, handle it directly inside the functions. (DLR)
David Lawrence Ramsey7776ef92003-11-04 18:32:35 +000092 get_accepted_kbinput()
David Lawrence Ramseyf4276942003-12-24 03:33:09 +000093 - Translate Ctrl-8 into NANO_DELETE_KEY (or NANO_BACKSPACE_KEY
94 if REBIND_DELETE is set), since it apparently is generated
95 sometimes even when keypad() is TRUE. (DLR)
96 - Translate KEY_SLEFT into NANO_BACK_KEY and KEY_SRIGHT into
97 NANO_FORWARD_KEY, since they are sometimes generated by
98 Shift-Left and Shift-Right. (DLR)
99 get_ascii_kbinput()
100 - Tweak to make it slightly more readable. (DLR)
101 get_verbatim_kbinput()
102 - Modify to take an extra parameter indicating if we should
103 interpret ASCII codes or not. (DLR)
104 get_escape_seq_kbinput()
105 - Expand to deal with more broken terminals that don't generate
106 keypad values. Support the escape sequences for Insert,
107 Delete, Home, End, PageUp, and PageDown, [arrow key],
108 Ctrl-[arrow key], and Shift-[arrow key] when needed in the
109 Linux console, the FreeBSD console, the Hurd console, xterm,
110 rxvt, and Eterm. Also, use get_verbatim_kbinput(), with ASCII
111 interpretation disabled, to read in the sequences. (DLR)
112 get_skip_tilde_kbinput()
113 - Removed, as it is unneeded due to the expansion of
114 get_escape_seq_kbinput(). (DLR)
115 get_mouseinput()
116 - Modify to take an extra parameter indicating if we should
117 ungetch() the key equivalents of shortcuts we click on or not.
118 (DLR)
David Lawrence Ramsey82138502003-12-24 08:03:54 +0000119 nanogetstr()
120 - Properly interpret the Meta key value in misc if we hit it at
121 the statusbar prompt. (DLR)
David Lawrence Ramseyf4276942003-12-24 03:33:09 +0000122 do_yesno()
123 - Add a few efficiency/extensibility tweaks. (David Benbennick)
124 - Convert to use the new low-level input functions, and remove
125 two last hardcoded widths left after the above tweaks. (DLR)
David Lawrence Ramsey76c4b332003-12-24 08:17:54 +0000126 do_replace_highlight()
127 - Display a highlighted space if the word length is zero, so
128 that we can see zero-length regexes we're replacing. (DLR;
129 suggested by Mike Frysinger)
David Lawrence Ramsey4dca76f2003-11-20 00:15:52 +0000130- configure.ac:
131 - Check for glib 2.x and then 1.2.x if we need glib. (DLR)
David Lawrence Ramsey637f6e52003-11-04 18:34:44 +0000132- nano.spec.in:
133 - Update for the 1.3 branch of nano. (DLR)
Jordi Mallacha5d8e542003-11-06 10:47:44 +0000134- THANKS:
135 - Add Danilo Segan, for the Serbian translation.
136
David Lawrence Ramsey133f7b12003-10-22 17:15:12 +0000137GNU nano 1.3.0 - 2003.10.22
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +0000138- General:
139 - Complete overhaul and abstraction of the lowest level of
140 keyboard input, mostly rewritten but incorporating a few bits
141 from the old functions and adding support for Pico's Esc Esc
142 [three-digit decimal ASCII code] input method. New functions
143 get_kbinput(), get_verbatim_kbinput(), get_ignored_kbinput(),
144 get_accepted_kbinput(), get_ascii_kbinput(),
145 get_escape_seq_kbinput(), and get_skip_tilde_kbinput(). These
146 should work properly on FreeBSD (due to code and input
147 provided by Lee Nelson and Wouter van Hemel, respectively).
148 (DLR)
149 - The -K/--keypad command line/rcfile option has been removed,
150 and keypad() is now always TRUE. keypad_on() in winio.c and
151 the check for _use_keypad in configure.ac have both been
152 removed. (DLR)
153 - The -d/--rebinddelete command line/rcfile option, equivalent
154 to Pico's -d, has been added. It is intended to work around
155 the problem with Backspace/Delete confusion on some terminals,
156 notably FreeBSD; if your Backspace key acts like Delete, this
157 option will fix that. (DLR)
David Lawrence Ramseya9cebd82003-08-17 03:31:57 +0000158 - Remove unneeded breaks at the ends of default: clauses. (DLR)
David Lawrence Ramseye0497062003-08-23 21:11:06 +0000159 - Add the ability to repeat the last search without prompting
160 via Meta-W, and move the line wrapping toggle to Meta-L. New
161 function do_research(). (Wouter van Hemel)
David Lawrence Ramsey8faf3052003-09-04 20:25:29 +0000162 - Added the ability to move to the beginning or end of the
163 paragraph, which Pico has via ^W^W (previous paragraph)
164 and ^W^O (next paragraph). Modifications to do_justify(),
165 new functions do_para_operation(), do_para_begin(), and
166 do_para_end(). Note that the last three functions are
167 disabled if justification is disabled. (DLR)
David Lawrence Ramsey417b03a2003-09-06 21:44:37 +0000168 - Make sure the "historylog" option isn't included at all if
169 NANO_SMALL is defined. (DLR)
Jordi Mallach3a420872003-10-19 23:30:48 +0000170 - Source reorganization: move code to src/, docs to doc/.
171 (Jordi)
Jordi Mallach298b9752003-09-07 00:44:12 +0000172 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseyc97acfb2003-09-10 20:08:00 +0000173 - Since SAMELINEWRAP is only used in nano.c, make it a static
174 variable in nano.c instead of a flag, and surround all
David Lawrence Ramsey1356a0a2003-09-10 20:31:02 +0000175 wrap_reset() calls with DISABLE_WRAPPING #ifdefs. (DLR)
176 - Change enum "topmidbotnone" to "topmidnone", as there's no
177 BOTTOM option anymore. (DLR)
David Lawrence Ramsey5ffbec52003-09-16 01:16:49 +0000178 - Split out the string-displaying routine from update_line()
179 into a separate function; convert the edit window, statusbar
180 display, and statusbar prompt to use it, so that they can all
181 properly display control characters and tabs; free and NULL
182 the backup search string in one place in the search code
183 instead of several; and do some other minor refactoring of
184 related display functions to simplify them. New functions
185 mark_order() and display_string(); changes to actual_x(),
David Lawrence Ramsey2dd7ed12003-09-29 05:15:24 +0000186 strnlenpt(), blank_bottombars(), blank_edit(),
187 get_page_start(), edit_add(), update_line(), statusbar(), and
188 do_replace_highlight(). (David Benbennick) DLR: Add minor
189 cosmetic tweaks, add missing NANO_SMALL #ifdef around the text
190 for a backwards search in the refactored code, and enclose
191 dump_buffer() and dump_buffer_reverse() in one ENABLE_DEBUG
192 #ifdef instead of two.
David Lawrence Ramsey9eff7462003-09-16 02:04:00 +0000193 - Convert memmove() function calls to charmove() macro calls, as
194 the former all work on char*'s. (DLR)
David Lawrence Ramseyf5b256b2003-10-03 20:26:25 +0000195 - Miscellaneous #define cleanups: only include the prototype for
196 and definition of wrap_at if wrapping and/or justification are
197 enabled, remove duplicate wrap_at prototype, and define
198 DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h
199 instead of all over the code. (DLR)
Jordi Mallach3a420872003-10-19 23:30:48 +0000200 - Autogenerate the html versions of the manpages in the
201 Makefile.am's in doc/man/, make sure that they're properly
202 installed via "make dist", and make sure that "make distcheck"
David Lawrence Ramsey13dfdb22003-10-22 15:37:13 +0000203 works too. Also be sure to set EXTRA_DIST properly. (Jordi,
204 DLR and Jeff Bailey)
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +0000205- files.c:
David Lawrence Ramsey7bf00de2003-09-23 04:25:05 +0000206 read_file()
207 - After we've read in a file and possibly converted it from
208 DOS/Mac format, set fileformat back to 0 to prevent erroneous
209 conversion messages when we read other files in. (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000210 do_browser()
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +0000211 - Some of the Pico compatibility options in the file browser
David Lawrence Ramsey10187612003-08-17 05:40:45 +0000212 that don't work properly for current Pico have been removed.
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000213 Backspace, 'g', 'l', 'q', and 'u' are invalid. 'd' deletes
214 the highlighted file, and 'r' renames the highlighted file;
215 neither of these are implemented. (DLR)
David Lawrence Ramseyba6fd422003-08-23 21:16:02 +0000216- global.c:
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000217 toggle_init()
David Lawrence Ramseyba6fd422003-08-23 21:16:02 +0000218 - Change the message for the line wrapping toggle from "Auto
219 wrap" to "Auto line wrap", to more clearly associate it with
220 Meta-L. (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000221 shortcut_init()
David Lawrence Ramseycb7ee0e2003-08-31 17:08:59 +0000222 - Change multibuffer-enabled references to
223 opening/closing/toggling the previous/next loaded file to
224 toggling/switching to/closing the previous/next file buffer,
225 for consistency with other references. (DLR)
David Lawrence Ramsey27863662003-08-29 21:31:37 +0000226- nano.c:
227 window_init()
228 - Set keypad() to TRUE regardless of whether PDCurses is being
229 used, as Meta-X apparently turns it off even under ncurses.
230 (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +0000231 do_backspace()
232 - Vastly simplify, and remove dependency on page_up(). (David
233 Benbennick)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000234 help_init()
235 - Document the support for Esc Esc [character]'s being
236 interpreted as Ctrl-[character], and the support for Pico's
237 Esc Esc [three-digit decimal ASCII code] input method. (DLR)
David Lawrence Ramseyf03c78b2003-09-28 21:26:49 +0000238 do_mark()
239 - Toggle MARK_ISSET() at the beginning of the function instead
240 of setting it in one place and unsetting it in another place.
241 (David Benbennick)
David Lawrence Ramsey99bede32003-09-29 07:21:11 +0000242 do_suspend()
243 - Use handle_hupterm() to handle SIGHUP and SIGTERM so we can
244 properly deal with them while nano is suspended. (DLR; problem
245 found by David Benbennick)
David Lawrence Ramseyf0b7dca2003-09-22 15:46:21 +0000246 abcd()
247 - Removed, as it's unneeded due to the low-level input overhaul.
248 (DLR)
David Lawrence Ramsey4d7c2602003-08-17 02:48:43 +0000249- nano.h:
David Lawrence Ramseye0a9f502003-09-07 05:32:24 +0000250 - Define KEY_RESIZE and KEY_SUSPEND as -1 when slang is used, as
251 slang has no equivalent of either. When nano is compiled with
252 slang support, resizing the window doesn't generate
253 KEY_RESIZE, and pressing Ctrl-Z to suspend nano at the Linux
254 console with keypad(TRUE) generates Ctrl-Z instead of
255 KEY_SUSPEND, both unlike ncurses. (DLR)
David Lawrence Ramsey25307252003-10-10 04:42:48 +0000256 - Define KEY_RESIZE as -1 if it isn't defined, as it isn't in
David Lawrence Ramseyc1f630e2003-10-18 20:21:52 +0000257 the curses library included with SunOS 5.7-5.9. Also define
David Lawrence Ramsey25307252003-10-10 04:42:48 +0000258 KEY_SUSPEND as -1 if it isn't defined, in case it isn't in
259 more than just Slang. (DLR)
David Lawrence Ramseyf6cf4a72003-10-22 16:20:47 +0000260 - Define all potentially missing keys as different negative
261 values (ERR is -1, so use -2, -3, etc.) so as to avoid having
262 duplicate case values when keys are missing. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +0000263- move.c:
264 - Remove unneeded inclusion of stdio.h, make various cleanups,
265 and preserve the cursor's coordinates when paging up and down.
266 (David Benbennick) DLR: Readd the ability to behave the old
267 way while paging, make it so the new behavior is only used in
268 smooth-scrolling mode, and modify page_down() to always go
269 down a full page (even when there's less than one page of text
270 left) for consistency.
271 page_up()
272 - Removed due to rewrite of movement functions. (David
273 Benbennick)
David Lawrence Ramseyc97acfb2003-09-10 20:08:00 +0000274- proto.h:
275 - Surround the do_prev_word() and do_next_word() prototypes with
276 NANO_SMALL #ifdefs, since the actual functions aren't included
277 in tiny mode. (DLR)
David Lawrence Ramsey3bd96282003-09-06 05:09:32 +0000278- rcfile.c:
279 parse_colors()
280 - Generate an error if we try to use a bright background color
281 in a nanorc file. (DLR; found by Brand Huntsman)
282 - Make sure all rcfile error messages are capitalized, for
283 consistency. (DLR)
David Lawrence Ramseyec290f22003-08-30 19:05:40 +0000284- winio.c:
David Lawrence Ramseyda8fd8f2003-09-16 01:22:31 +0000285 get_verbatim_kbinput()
286 - Fix a silly memory corruption bug that would occur when trying
287 to read a sequence of more than one key verbatim. (DLR)
288 get_accepted_kbinput()
289 Handle Ctrl-{ to Ctrl-~ correctly, and drop support for
290 converting Esc ` to Esc Space, since making Meta-[key]
291 correspond to Ctrl-[key] in all cases is inconsistent due to
292 the different natures of Contol and Meta key sequences. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +0000293 do_first_line()
294 - Call edit_update() with TOP instead of CENTER; both do the
295 same thing, but it works faster with TOP. (DLR)
David Lawrence Ramsey7f47d422003-09-08 18:01:49 +0000296 nanogetstr()
297 - Don't let the user type in ASCII 127 at the statusbar prompt.
298 (DLR)
David Lawrence Ramseyec290f22003-08-30 19:05:40 +0000299 titlebar()
300 - Fix problem with the available space for a filename on the
301 titlebar's being short by one. (DLR)
David Lawrence Ramsey4dcd0702003-10-03 04:20:28 +0000302 edit_add()
303 - Fix problems with the marking highlight's being drawn
304 improperly in some cases. (DLR)
David Lawrence Ramseyd91ab6e2003-09-07 23:57:24 +0000305 edit_update()
306 - Tweak for efficiency and remove the fix_editbot() call. (David
307 Benbennick)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000308 do_credits()
309 - Update the copyright years to "1999-2003", to match those
310 given in the rest of the code. (DLR)
David Lawrence Ramseya3831ab2003-09-22 16:26:40 +0000311- configure.ac:
312 - Change instances of "GNU Nano" to "GNU nano" for consistency.
313 (DLR)
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000314- nano.1, nanorc.5, nano.texi:
315 - Change all instances of $SYSCONFDIR to SYSCONFDIR, since
316 SYSCONFDIR is set at compile time and can't be overridden by
317 setting SYSCONFDIR in the environment. (David Benbennick)
318 - Remove -K/--keypad, and document -d/--rebinddelete. (DLR)
319 - Document the support for Esc Esc [character]'s being
320 interpreted as Ctrl-[character], and the support for Pico's
321 Esc Esc [three-digit decimal ASCII code] input method, if
322 applicable. (DLR)
Jordi Mallach298b9752003-09-07 00:44:12 +0000323 - French translation by Jean-Philippe Guérard.
David Lawrence Ramseyaaad3af2003-08-31 16:44:10 +0000324- nano.1.html, nanorc.5.html:
325 - Regenerated. (DLR)
326- nanorc.sample:
327 - Remove duplicate "historylog" entry, remove "keypad" entry,
328 and add "rebinddelete" entry. (DLR)
David Lawrence Ramseydc9c40a2003-09-07 23:54:57 +0000329 - Update and add comments to the regexes for nanorc files.
330 (Brand Huntsman)
David Lawrence Ramsey21cc5502003-09-06 19:04:02 +0000331 - Fix an attempt at a bright background color in the sample Java
332 source regexes. (DLR)
333 - Since tabs are shown as groups of spaces, they are interpreted
334 as such when parsed by color regexes. Accordingly, simplify
335 regexes that handle both spaces and tabs to just handle
336 spaces, as the results are the same. (DLR)
Chris Allegrettaf3fee5d2003-08-12 02:40:47 +0000337- AUTHORS
338 - Updated to show 1.2/1.3 maintainers.
339
Chris Allegretta6954f052003-08-12 02:34:03 +0000340- 1.3 tree forks here
341
Chris Allegretta33642142003-08-12 01:49:20 +0000342GNU nano 1.2.2 - 2003.08.11
Jordi Mallach5b63eaf2003-06-11 10:17:20 +0000343- General:
344 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +0000345 - Change uncast nrealloc()s assigned to char pointers/arrays to
346 charealloc()s, and cast all other nrealloc()s and all
347 nmalloc()s. (David Benbennick and DLR)
Jordi Mallachf9390af2003-08-05 19:31:12 +0000348 - Remove gettext marks from all debug messages. Good for developers,
349 better for translators. (Jordi)
350 - Add translator comments on strings that should be short, like in
351 status bar strings, etc. (Jordi)
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +0000352- utils.c:
353 align()
354 - Tweak to avoid a potential problem when strp is non-NULL but
355 *strp is NULL. (David Benbennick)
Chris Allegretta4f5335d2003-08-04 02:51:12 +0000356 nstricmp(), nstrnicmp()
357 - Add these functions, equivalent to strcasecmp() and
358 strncasecmp(), and convert nano to use them when strcasecmp()
359 and/or strncasecmp() are unavailable. (DLR)
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +0000360- winio.c:
Chris Allegretta653d6142003-08-04 02:12:03 +0000361 do_help()
362 - Get rid of keypad_on() call for bottomwin, which should not be
363 needed (DLR).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +0000364 nanogetstr()
365 - Fix problem with search history where a temporary string
366 added at the bottom of the history (but which was not in the
367 history) would not be preserved after scrolling down to the
368 blank bottom entry and then scrolling back up. (DLR)
Chris Allegrettac30fc242003-08-11 00:32:45 +0000369 - Fix problem where pressing down,up,down does not blank the
370 search prompt but keeps the previous search (DLR).
Chris Allegretta653d6142003-08-04 02:12:03 +0000371 - Handle Alt-[-F and H (DLR, fixed home and end not working with
372 -K in statusbar).
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +0000373- configure.ac:
374 - Change the program used to detect a broken regexec() function
375 so that it works properly, using information found at
376 http://sources.redhat.com/ml/libc-hacker/2001-06/msg00015.html.
377 (DLR)
378- nanorc.sample:
379 - Revised comment explaining the non-escaping of quotes to cover
380 non-escaping of all shell-interpreted characters. (DLR)
381 - Fixes to the descriptions and examples in the comments, and
382 changes to some default values. (David Benbennick and DLR)
383 - Add regexes for Perl syntax. (Richard Smith, tweaked for
384 greater efficiency by David Benbennick)
385 - Add regexes for Java source syntax. (David Benbennick)
386 Regex for C++-style comments (colored the same way as C-style
387 comments) added by DLR.
Jordi Mallach2e6d0ca2003-04-24 18:23:56 +0000388- THANKS:
389 - Added Laurentiu Buzdugan, for Romanian.
Jordi Mallach9e74ade2003-06-11 15:52:34 +0000390 - Added Geir Helland, for Norwegian BokmĂĄl.
David Lawrence Ramsey70047ee2003-06-14 20:41:34 +0000391- TODO:
392 - Move the items for nano 1.2 to the "Old Requests" section,
393 and mark color syntax highlighting as done. (David Benbennick)
David Lawrence Ramsey6d97d182003-07-02 14:20:11 +0000394- faq.html:
395 - Added question about nano's not showing color when it's
396 compiled with color support. (DLR; suggested by Jordi)
Jordi Mallachd995e9a2003-06-11 16:38:35 +0000397- nano.1, nanorc.5:
Jordi Mallach5b63eaf2003-06-11 10:17:20 +0000398 - Formatting improvements by Jean-Philippe Guérard.
David Lawrence Ramseyb764eb62003-06-29 02:25:46 +0000399 - Minor fixes by DLR.
400- nano.1.html, nanorc.5.html:
401 - Regenerated from nano.1 and nanorc.5. (DLR)
Chris Allegrettaffe575f2003-04-20 16:25:46 +0000402
Chris Allegrettaaa459312003-04-20 16:20:15 +0000403GNU nano 1.2.1 - 2003.04.19
Jordi Mallach723399a2003-02-23 19:12:54 +0000404- General:
405 - Translation updates (see po/ChangeLog for details).
Chris Allegrettad8451932003-03-11 03:50:40 +0000406 - Work around broken regexec() on some systems that segfaults
407 when passed an empty string. New function regexec_safe().
408 (David Benbennick)
409 - Fix various bugs with search string history logging: don't
410 print a broken error message and freeze if ~/.nano_history is
411 unreadable, actually show an error message in save_history()
412 if ~/.nano_history is unwritable, and prevent ~/.nano_history
413 from being completely overwritten by save_history() if it's
414 unreadable but writable. (David Benbennick)
Chris Allegrettae1e0fd62003-04-15 01:15:09 +0000415 - Only unset KEEP_CUTBUFFER in main() when we do something other
416 than cut text in the main input loop, instead of unsetting it
417 all over the place (which, as written, didn't handle cases
418 like a cut followed by M-Space properly). Also, instead of
419 checking for keyhandled's not being set inside the for loops,
420 do it in if blocks surrounding the for loops to increase
421 efficiency. (David Benbennick) DLR: Also unset KEEP_CUTBUFFER
422 if we hit a shortcut key other than the one for cutting text.
423 - Make it so a marked cut immediately followed by an unmarked
424 cut tacks the latter's text onto the end of the former's text
425 instead of putting it on a new line, as Pico does. (DLR)
426 - Convert instances of "(char *)nrealloc()" to the macro
427 charealloc(), which does the same thing. (DLR)
Chris Allegretta8151ba52003-04-19 19:34:05 +0000428 - Change justify_mode from a boolean int to a flag (DLR).
Chris Allegrettae1e0fd62003-04-15 01:15:09 +0000429- cut.c:
430 do_cut_text()
431 - Tweak where KEEP_CUTBUFFER is set so that a marked cut
432 immediately followed by an unmarked cut preserves the
433 cutbuffer between the two. (David Benbennick) DLR: Also
434 properly set KEEP_CUTBUFFER in tiny mode.
435 do_uncut_text()
436 - If we're about to uncut on the magicline, always make a new
437 magicline in advance, as Pico does. (DLR)
Chris Allegrettad8451932003-03-11 03:50:40 +0000438- global.c:
439 shortcut_init()
440 - Simplify the #ifdef used to enable file insertion in view mode
441 if multibuffer support has been compiled in. (DLR)
442- nano.c:
443 justify_format()
444 - If we shave spaces off the end of the line, make sure totsize
445 is properly updated. (DLR; much simplified by David
446 Benbennick)
447- nano.h:
448 - Simplify #ifdefs relating to HAVE_STRCASECMP and
449 HAVE_STRNCASECMP. (David Benbennick)
Chris Allegrettae1e0fd62003-04-15 01:15:09 +0000450- search.c:
451 goto_abort()
452 - Removed, with all instances replaced with display_main_list(),
453 since with the removal of all the scattered calls to
454 SET(KEEP_CUTBUFFER), that function was all that was left of
455 it. (DLR)
456 do_find_bracket()
457 - If a matching bracket wasn't found, call update_line() after
458 setting current and current_x back to their original values,
459 in case current_x's original value is greater than the width
460 of the screen. (DLR)
Chris Allegretta4b376a42003-04-16 02:08:23 +0000461- winio.c:
462 nanogetstr()
463 - Remove a few unnecessary breaks occurring immediately after
464 gotos, and properly interpret the up and down arrow keys when
465 ALT_KEYPAD is set. (DLR)
Chris Allegrettad8451932003-03-11 03:50:40 +0000466- configure.ac:
467 - Enable autodetection of broken regexec(). (DLR) Re-added
468 regex.h check to ensure compile under Debian w/autoconf 1.6.
Jordi Mallachdb469d82003-03-24 13:08:16 +0000469- README:
470 - Update obsolete 1.1.x information.
Chris Allegrettad8451932003-03-11 03:50:40 +0000471- TODO:
472 - Fix typo. (David Benbennick)
473- faq.html:
474 - Update RPM links for nano 1.2.x. (DLR)
Chris Allegrettadbc3ec72003-02-20 03:14:37 +0000475
Chris Allegretta2b4ead92003-02-20 01:56:02 +0000476GNU nano 1.2.0 - 2003.02.19
Jordi Mallach07e20002003-02-14 22:10:14 +0000477- General:
478 - Translation updates (see po/ChangeLog for details).
Chris Allegretta33ac7b92003-02-16 03:13:47 +0000479- files.c:
480 read_file()
481 - If the file we're loading has already been detected as a DOS
482 or Mac formatted file, don't turn on NOCONVERT if we find
483 binary chars in it. This is because if it's detected as
484 DOS/Mac format, at least one line has already been converted,
485 so setting NOCONVERT (which is supposed to signal that none
486 of the file should be converted) makes no sense. (DLR)
Chris Allegrettaa7a78de2003-02-19 22:27:53 +0000487- nano.c:
488 justify_format()
489 - Fix ugly behavior when wrapping spaces at the end of long
490 words (David Benbennick).
Jordi Mallach07e20002003-02-14 22:10:14 +0000491- nanorc.5:
492 - Fix formatting error and update copyright year (Jordi).
Jordi Mallachfc71eb52003-02-15 13:34:03 +0000493 - Several enhancements (David Benbennick).
Chris Allegretta3d332512003-02-14 03:10:12 +0000494
Chris Allegretta7ba32792003-02-14 03:09:35 +0000495GNU nano 1.1.99pre3 - 2003.02.13
Jordi Mallacha577d5a2003-02-04 14:13:36 +0000496- General:
497 - Translation updates (see po/ChangeLog for details).
Chris Allegretta201f1d92003-02-05 02:51:19 +0000498 - Fix globals and externs such that nano will compile with
499 DISABLE_SPELLER (David Benbennick).
Chris Allegrettaf8f2d582003-02-10 02:43:48 +0000500 - Fix unreasonable fill values by wrapping at length 0 instead
501 of erroring out, and don't start up if the window size is too
502 small but fill is set reasonably. Changes to
503 nano.c:global_init(), window_init(), and handle_sigwinch().
504 New macro MIN_EDITOR_COLS replaces MIN_FILL_LENGTH
505 (David Benbennick).
Chris Allegrettad8451932003-03-11 03:50:40 +0000506 - Change ngettext macro to P_(), to avoid a clash with the
507 reserved C __ identifier (Jordi).
Chris Allegrettafdcb9e92003-02-12 02:52:04 +0000508 - Memory leak fixes for files.c:do_insertfile(),do_browser(),
Chris Allegrettad8451932003-03-11 03:50:40 +0000509 nano.c:do_spell(), and search.c:do_replace() (David
510 Benbennick).
Chris Allegrettabcc86882003-02-13 01:54:41 +0000511 - Remove do_preserve_msg, as using -p still gives Pico-style
512 string behavior, so an annoying message every invocation is
513 probably unneeded (all cheer).
Chris Allegrettad8451932003-03-11 03:50:40 +0000514 - Change resetpos function to be global (now called
Chris Allegretta65f075d2003-02-13 03:03:49 +0000515 resetstatuspos. Fixes annoying but small odd problem with
Chris Allegrettad8451932003-03-11 03:50:40 +0000516 cursor placement when inserting a file. This needs to be done
517 better in 1.3 (originally by David Lawrence Ramsey). Added
518 this issue to TODO.
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +0000519- files.c:
Chris Allegrettabcaeeb42003-02-08 02:03:26 +0000520 cwd_tab_completion()
521 - Memory leak fix (David Benbennick).
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +0000522 intput_tab()
Chris Allegrettad8451932003-03-11 03:50:40 +0000523 - Fix assumption that matches is null terminated (David
Chris Allegretta3cdf6ff2003-02-08 02:02:02 +0000524 Benbennick).
Chris Allegrettaa0449d92003-02-12 23:58:01 +0000525 load_history()
Chris Allegrettad8451932003-03-11 03:50:40 +0000526 - Fix segfault on loading huge strings from history file
Chris Allegrettaa0449d92003-02-12 23:58:01 +0000527 (David Benbennick).
Chris Allegretta1debce22003-02-13 22:00:19 +0000528 load_history(), save_history()
529 - Changed to look at $HOME before getpwuid(geteuid()), see
530 details in comment for rcfile.c:do_rcfile().
Chris Allegrettad8451932003-03-11 03:50:40 +0000531 real_dir_from_tilde()
Chris Allegretta1debce22003-02-13 22:00:19 +0000532 - Change check for the running user's home dir to use
533 getpwuid(geteuid()) rather than a getpwent() loop
534 (suggested by Jordi).
Chris Allegretta5ec68622003-02-05 02:39:34 +0000535- nano.c:
Chris Allegretta428f6202003-02-12 03:21:45 +0000536 breakable()
537 - Fix incorrect return value on short lines (David Benbennick).
Chris Allegretta4640fe32003-02-10 03:10:03 +0000538 do_help()
539 - Fix line lengths not being computed properly, causes display
540 glitches most noticeable with < 20 rows. New function
541 nano.c:line_len(). (David Benbennick).
Chris Allegretta428f6202003-02-12 03:21:45 +0000542 do_justify()
543 - Add regfree() to quote regex (David Benbennick).
Chris Allegrettad8451932003-03-11 03:50:40 +0000544 - Only copy previous indent if AUTOINDENT is set (David
Chris Allegretta428f6202003-02-12 03:21:45 +0000545 Benbennick).
Chris Allegretta76417082003-02-12 23:54:34 +0000546 do_suspend()
547 - Fix untranslated message (David Benbennick).
Chris Allegrettad127c712003-02-12 23:20:45 +0000548 do_wrap()
549 - Fix isspace() call to operate on int.
Chris Allegretta428f6202003-02-12 03:21:45 +0000550 help_init()
551 - Fix crashing in do_help when COLS < 23 (David Benbennick).
552 main()
553 - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
554 (David Benbennick).
Chris Allegrettafe1d0722003-02-13 00:52:49 +0000555 - Silence annoying compiler messages about clobbering and
556 uninitialized variables by moving variable inits to the top
557 of main() and re-initializing them after the sigsetjmp().
Chris Allegrettad6e84362003-02-07 00:02:00 +0000558- rcfile.c:
559 colortoint()
560 - Don't bomb after invalid color and print bad color name
561 (David Benbennick).
Chris Allegretta17ec14b2003-02-07 00:19:05 +0000562 colortoint, parse_colors()
563 - Don't add strings with invalid fg colors at all.
Chris Allegretta2e39c1c2003-02-13 03:36:15 +0000564 do_rcfile()
565 - Revert (somewhat) previous behavior of looking at
566 $HOME, and only run getpw* if it is NULL. Most *nix programs
567 seem to only care about $HOME, and at the user-level
568 getpw* may not be reliable (and its slower).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +0000569- search.c:
570 do_gotoline()
571 - Only goto_abort() if we *didnt* abort the command, making
572 the function seem horribly misnamed ;-) (David Benbennick).
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +0000573- winio.c:
Chris Allegrettae9b5c6f2003-02-12 23:49:56 +0000574 browser_init(), striponedir(), do_browse_from()
575 - Various memory leak fixes (David Benbennick).
Chris Allegrettab2cd2482003-02-12 23:18:19 +0000576 do_yesno(), do_help()
577 - Add defined(NCURSES_MOUSE_VERSION) to macro so systems that
578 don't understand MEVENT will compile.
Chris Allegrettabfc8b2a2003-02-08 21:49:13 +0000579 nanogetstr()
580 - Remove unnecessary reset of x since it is now handled
581 elsewhere (David Lawrence Ramsey).
Chris Allegrettaa90d0cf2003-02-10 02:55:03 +0000582 statusq()
583 - Always blank the statusbar on exit (David Benbennick).
Chris Allegretta5ea694e2003-02-04 14:24:54 +0000584- nano.1, nano.1.html:
585 - Add initialization file comments, change some options from
586 bracketed to underlined to emphasize that they are not
587 optional.
Jordi Mallacha66a8f72003-02-09 01:28:40 +0000588 - Add SEE ALSO section (Jordi).
Chris Allegretta4f989fa2003-02-13 04:01:49 +0000589 - Moved nano.1 color and syntax sections to nanorc, pointed
590 nano.1 to nanorc.5 for initialization file. Changed
591 nanorc.5 variables to be italics to match nano.1. Added
592 nanorc.5.html to CVS tree.
Jordi Mallacha66a8f72003-02-09 01:28:40 +0000593- nanorc.5:
594 - Add nanorc manpage, with descriptions of all available commands
595 (Jordi).
Chris Allegrettaa3daf3a2003-02-07 00:11:55 +0000596- nanorc.sample:
597 - Make nanorc entry less tolerant of invalid colors.
Chris Allegretta97e10b52003-02-08 22:05:50 +0000598- nano.spec.in:
599 - Change default flags to --enable-all.
Jordi Mallach2ddd75e2003-02-09 23:51:17 +0000600- THANKS:
601 - Add Kalle Kivimaa and Kalle Olavi Niemitalo, for Finnish (Jordi).
Jordi Mallachaebfac82003-02-13 12:50:53 +0000602- UPGRADE:
603 - Add upgrading information document for 1.0 users (Jordi).
Chris Allegrettacddbfd02003-02-03 15:29:56 +0000604
Chris Allegretta5c8c2762003-02-03 15:21:27 +0000605GNU nano 1.1.99pre2 - 2003.02.03
Jordi Mallacha577d5a2003-02-04 14:13:36 +0000606- General:
Chris Allegretta0e86e602003-01-23 04:27:23 +0000607 - Changed some translatable debug messages to use %s
608 instead of the function name, and removed gettext from
609 two strings that had no actual words in them that
610 should be translated. Suggested originally by
611 Christian Rose.
Chris Allegretta9090f2e2003-01-26 04:45:05 +0000612 - Fix subexpression replacement to work consistently.
613 Affects search.c:replace_regexp() and
614 utils.c:strstrwrapper() (David Benbennick).
Chris Allegretta47fcfe52003-01-26 21:01:16 +0000615 - Fix cursor position being saved when escaping out
616 of nanogetstr with keys like ^Y and ^V. New arg
617 resetpos to nanogetstr(), added static int
618 resetpos in statusq() (bug found by DLR).
Chris Allegrettad26ab912003-01-28 01:16:47 +0000619 - Fix constant curos updates from obliterating other
620 system messages, and fix statusbar message length.
621 Affects files.c:load_open_file(), nano.c:main(),
622 search.c:findnextstr(), winio.c:statusbar() and
623 do_cursorpos() (David Benbennick).
Chris Allegretta5d715142003-01-29 04:18:37 +0000624 - Fix nano crashing when searching/replacing an invalid
625 regex (try "^*"). Changed regexp_init() to return
626 1 or 0 based on regcomp()'s return value and search_init
Chris Allegrettad89eb912003-02-03 07:07:40 +0000627 to exit with an error message (sorry Jordi!). Added
628 another check when using last_search instead of answer.
Chris Allegrettace452fb2003-02-03 02:56:44 +0000629 - Move regcomp into rcfile.c rather than each display refresh
630 of winio.c. New function rcfile.c:nregcomp().
631 This fixes much of nano's resource hogging behavior
632 in syntax higlighting. (David Benbennick).
Chris Allegrettacff6e6f2003-02-03 03:22:02 +0000633 - Fix justify failing for certain lines, new function
634 nano.c:breakable() (David Benbennick).
Chris Allegrettaa0d89972003-02-03 03:32:08 +0000635 - Fix screen getting trashed on signals nano can catch
636 (TERM and HUP). New global variable curses_ended,
Chris Allegrettadbfc56c2003-02-03 03:33:04 +0000637 changes to winio.c:statubar() and nano.c:die()
638 (David Benbennick).
Chris Allegretta149781d2003-01-26 03:54:00 +0000639- cut.c:
640 do_cut_text()
641 - Fix incorrect cursor location when cutting long lines
642 (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +0000643- files.c:
Chris Allegretta858d9d92003-01-30 00:53:32 +0000644 - Set a default PATH_MAX for getcwd() etc calls (David
645 Benbennick).
646 do_browse_from()
647 - Fix path checking to fix bad paths, escaping
648 the operating directory, new function readable_dir() (David
649 Benbennick).
Chris Allegrettab698c352003-01-26 22:05:07 +0000650 do_browser()
651 - Fix incorrect path check for check_operating_dir()
652 (David Benbennick).
Chris Allegrettaf80a59c2003-01-30 00:57:33 +0000653 - Fix goto directory operating dir check and tilde expansion
654 (David Benbennick).
Chris Allegretta0eab2362003-02-03 03:39:05 +0000655 - Even more checks and operating dir fixes (David Benbennick).
Chris Allegretta434d6862003-02-03 04:55:17 +0000656 do_insertfile()
657 - Add some more checks and fix recursion when toggling
658 multibuffer (David Benbennick).
Chris Allegretta54c1f792003-01-26 04:11:09 +0000659 open_file()
660 - Fix FD leak with file load error (David Benbennick).
Chris Allegretta5c63f272003-02-02 04:26:54 +0000661 add_open_file()
662 - Revert the fix for the supposed minor logic error from before;
663 it was keeping some updates from happening when they should,
664 which was leading to segfaults with both multibuffer and view
665 mode on. (DLR; found by David Benbennick)
Chris Allegretta77e726d2003-01-26 19:36:08 +0000666 save_history()
667 - Fix nrealloc return value being ignored (David Benbennick).
Chris Allegrettac4533572003-02-03 05:04:09 +0000668 - Fix off-by-one bug causing write to unallocated memory
669 (David Benbennick).
Chris Allegrettace452fb2003-02-03 02:56:44 +0000670- global.c:
671 thanks_for_all_the_fish()
672 - Fix compiling with DEBUG and multibuffer (David Benbennick).
Jordi Mallacheeb50042003-01-18 22:42:34 +0000673- nano.c:
Chris Allegrettaa3407662003-01-26 21:13:03 +0000674 do_char()
675 - Remove unneeded check_statblank() (David Benbennick).
Chris Allegretta64fc78c2003-01-26 19:57:44 +0000676 do_int_spell_fix(), do_int_speller()
677 - Fix crashes with mark position, current_x position,
678 and edit_update args (David Benbennick).
Chris Allegretta2a7b8b22003-01-30 00:42:20 +0000679 do_justify()
680 - Unset KEEP_CUTBUFFER so nano won't crash with subsequent
681 ^K cuts and justifies (David Benbennick).
Chris Allegrettae92a7bc2003-01-28 01:36:38 +0000682 do_mouse()
683 - Fix the mouse code to work with lines longer than COLS and
684 with the proper positioning, including special characters
685 (David Benbennick).
686 do_preserve_msg():
687 - Unsplit error message into a single fprintf call (Jordi).
Chris Allegretta3d459ad2003-01-22 01:09:40 +0000688 main()
689 - Call load_file with arg 0 for insert, as we aren't really
690 doing an insert, allows new_file() to run if we open a
691 non-file at startup.
692 usage()
Jordi Mallacheeb50042003-01-18 22:42:34 +0000693 - Remove gettext markings from -p/--preserve (Jordi).
Chris Allegretta36fec722003-01-22 01:13:25 +0000694 - Revamp -H option message to fit in 80 column terminal.
Chris Allegretta1a128af2003-01-26 04:15:56 +0000695 window_init()
696 - Fix leaking *WINDOWs (no pun intended) (David Benbennick).
Chris Allegretta1939c352003-01-26 04:26:25 +0000697- search.c:
Chris Allegretta8a85aa02003-01-26 20:02:15 +0000698 do_search(), do_replace_loop()
699 - Fix edit_update call to use CENTER instead of current_x
700 (related to David Benbennick's fixes for spelling).
Chris Allegretta1939c352003-01-26 04:26:25 +0000701 do_replace_loop()
702 - Fix various bugs having to do with replace string length
703 and positioning (David Benbennick).
Chris Allegretta63d0b482003-01-26 19:47:10 +0000704 edit_refresh()
705 - Fix cursor being above as well as below the current screen
706 (David Benbennick).
Chris Allegretta3bbc4162003-01-23 00:46:12 +0000707- winio.c:
708 bottombars()
709 - Change strcpy of gettext() "Up" string to strncpy of max
710 width 8, to stop stupid strcpy crash.
Chris Allegrettadb28e962003-01-28 01:23:40 +0000711 do_yesno()
712 - Fix mouse interaction bugs with yes/no prompt (David Benbennick).
Chris Allegrettaf22e8bf2003-01-23 01:21:26 +0000713- nanorc.sample:
714 - Change comment to say magenta instead of purple.
715
Chris Allegrettad46f5442003-01-17 21:47:33 +0000716GNU nano 1.1.99pre1 - 2003.01.17
David Lawrence Ramseydc60b722002-10-25 16:08:53 +0000717- General:
Chris Allegrettad46f5442003-01-17 21:47:33 +0000718 - New date format for NEWS and ChangeLog.
Chris Allegretta7662c862003-01-13 01:35:15 +0000719 - Completely removed PICO_MODE, as with the search/replace
720 history patch we should have the extended functionality we can
721 without being incompatible with Pico. Removed all code for
722 different search/replace string editing and alternate shortcut
723 list. I'm sure I won't even have to ask for feedback on this
724 one :-)
725 - Add in Pico's -p flag, (-p, --preserve). To preserve the XON
726 and XOFF keys (^Q and ^S). Add warning if we invoke -p and
727 add checks for using --preserve (to skip warning) and --pico
728 (to force showing it). New flag PRESERVE, function
729 do_preserve_msg(), changes to main(), signal_init().
730 - Search history and replace history up/down cursor arrows,
731 w/history tab completion, not available w/NANO_SMALL. Changes
732 to statusq(), others (Ken Tyler). Added shortcut to
733 search/replace shortcuts so people will know it's there,
734 forced KEY_UP and KEY_DOWN defs in nano.h (Chris, in case
735 blame needs to be placed later). Minor fixes by DLR: allow ^P
736 and ^N as alternatives to the up and down arrows, make sure
737 the "Up" shortcut is displayed properly in the help menu,
738 remove a few bits of unneeded and/or warning-generating code,
739 and fix some missing statusq() prompts with --enable-tiny.
Chris Allegrettaf3de8b52003-01-16 23:44:46 +0000740 - Added search/replace history log. Flag -H, --historylog.
741 Flags HISTORY_CHANGED and HISTORYLOG (only room for one more
742 flag!), added entries in nanorc.sample, new functions
743 log_history and save_history (Ken Tyler).
Jordi Mallach5e4b8cf2002-10-26 15:02:14 +0000744 - Translation updates (see po/ChangeLog for details).
David Lawrence Ramseydc60b722002-10-25 16:08:53 +0000745 - Forward-ported Chris' --disable-wrapping-as-root option from
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000746 1.0.9. Per Jordi's suggestions, have it override
747 $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR)
748 - Change all references to /etc/nanorc in the documentation to
749 $SYSCONFDIR/nanorc. (DLR)
David Lawrence Ramsey99519ae2002-11-04 16:12:19 +0000750 - Minor cosmetic tweaks to the ngettext() macro, and fix to
751 properly detect systems lacking ngettext() and correctly
752 compile on them; the previous fix didn't work. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000753 - Fix problems with some code sections' not being #ifdef'ed out
754 when they should be, or being #ifdef'ed out improperly. (David
755 Benbennick and DLR)
756 - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the
757 associated logic accordingly, throughout the code. (David
758 Benbennick)
759 - Rework #ifdefs to not include mouse_init() at all if
760 DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR)
761 - For consistency, change many references of (!x) to (x == NULL)
762 and (x) to (x != NULL). (DLR)
763 - Define KEY_IC properly (and KEY_DC more portably) when slang
764 support is enabled, and remove the hack to work around the
765 former's not being defined. (David Benbennick and DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000766 - Miscellaneous tweaks to update_color() calls, to make sure
767 they're called at the right times and that refreshes are done
768 afterwards only when needed. (David Benbennick)
769 - Renamed [have_]past_editbuff [have_]search_offscreen. (DLR)
770 - Add the "preserve" option to the nanorc file, to match
771 nanorc.sample. (DLR)
Chris Allegretta0e7a3f52003-01-15 03:06:25 +0000772 - Fixed awful scrolling in do_int_speller. Problem was
773 findnextstr() calling edit_update(), though screen updating
774 is not its business. Added checks in do_search() and
775 do_replace_loop() to do the checks. It really should not be
776 done here, as some function in winio.c should handle this,
777 but I can't seem to find a good place to put this check.
Chris Allegrettad757e252003-01-15 19:33:27 +0000778 - Updated all copyright notices to say 2003 rather than 2002, as
779 nearly all the source files have been worked on this year
780 (DLR).
Jordi Mallach3e5ad632002-12-14 22:15:35 +0000781- configure.ac:
Jordi Mallacha0e829c2003-01-15 17:43:59 +0000782 - Added tr and eu to ALL_LINGUAS (Jordi).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000783 - Fix now inaccurate description of --enable-tiny's effects; it
784 no longer disables NLS support. (DLR)
785 - Fix typo. (David Benbennick)
786 - Check for strcasecmp() and strncasecmp(), since they are
787 apparently only standard under BSD. (DLR)
Jordi Mallach631ee1f2003-01-15 17:40:35 +0000788 - Small cleanups. Add copyright header, add autopoint support and
789 define bug report address and full package name in AC_INIT. Move
790 ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
Chris Allegrettad957f592003-01-17 00:17:45 +0000791 - Added --enable-all option to compile in all the extra stuff
792 we'd normally need extra flags for.
Chris Allegretta7662c862003-01-13 01:35:15 +0000793- color.c:
794 update_color():
795 - Remove an unneeded edit_refresh() call after do_colorinit().
796 (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000797- cut.c:
798 do_cut_text()
799 - Fix a memory corruption problem caused by accessing edittop
800 after it was freed but before it was reset to a sane value
801 from current. (David Benbennick)
802 do_uncut_text()
803 - If uncutting more than one line of unmarked text at editbot,
804 don't center the screen, since Pico doesn't. (DLR)
Chris Allegretta688c8eb2003-01-14 23:36:11 +0000805 - If uncutting previously unmarked text, uncut to end if we're
806 not at the beginning of the line, and set placewewant to 0 if
807 we are. This matches Pico's behavior. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000808- files.c:
Chris Allegretta7662c862003-01-13 01:35:15 +0000809 load_file()
810 - Remove unneeded wmove() call. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000811 read_line()
812 - Miscellaneous cleanups. (David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +0000813 open_file()
814 - If we're in multibuffer mode and there's an error opening the
815 file in read-only mode, display the error message on the
816 statusbar regardless of the value of quiet. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000817 read_file()
818 - Miscellaneous cleanups. (David Benbennick)
819 - Fix len's being off by one when reading in Mac-format files,
820 exposed by one of David Benbennick's cleanups. (DLR)
821 - If NO_CONVERT isn't set when we first enter, and it gets set
822 while reading in the file, unset it again afterwards. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000823 do_insertfile()
824 - If we're in multibuffer mode and there's an error opening the
825 file that we're trying to insert, close the new buffer that we
826 made to hold it and reload the buffer we had open before.
827 (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000828 add_open_file()
829 - Fix minor logic error when determining when to resave fileage
830 and filebot. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000831 load_open_file()
832 - If switching between files when CONSTUPDATE is set, only force
833 a cursor position display update if DISABLE_CURPOS isn't set.
834 This will ensure that the "Switching to [file]" messages are
835 shown. (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000836 write_file()
837 - Change lineswritten from a long to an int, to match
838 filestruct->lineno. (DLR; mismatch found by David Benbennick)
Chris Allegretta7662c862003-01-13 01:35:15 +0000839 real_dir_from_tilde()
840 - Since this is needed for proper interpretation of paths
841 containing tildes and not just for tab completion, include and
842 use it regardless of whether tab completion is disabled.
843 (David Benbennick and DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000844 input_tab()
845 - Variable name change: matchBuf -> matchbuf. (DLR)
846 diralphasort()
847 - Remove the HAVE_STRCASECMP #ifdef block; see the changes to
848 configure.ac and nano.h for why. (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000849- global.c:
850 thanks_for_all_the_fish()
851 - Miscellaneous cleanups. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000852- move.c:
853 do_page_down()
854 - If there's a page or less of text, do an edit_update() if the
855 mark is on; otherwise, the highlight won't be displayed. (DLR)
David Lawrence Ramsey9e050ad2002-11-04 16:18:52 +0000856- nano.c:
Chris Allegretta7662c862003-01-13 01:35:15 +0000857 - Added free_history() list calls clean up, added init of list
858 headers, and modified statusq() calls (Ken Tyler).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000859 do_prev_word()
860 - Make the assert match that in do_next_word(). (DLR)
861 do_enter()
862 - If smooth scrolling is on, and Enter is pressed on the
863 magicline, don't center the screen. (DLR)
864 do_justify()
865 - Fix memory corruption problem triggered when edittop and
866 current->next pointed to the same value and current->next was
867 destroyed during justification. (DLR)
868 - Center the screen when justification moves the cursor entirely
869 off the bottom of the screen, instead of when it moves the
870 cursor near the bottom of the screen, to more closely match
871 Pico's behavior. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000872 version()
873 - Remove obsolete reference to --enable-undo. (David Benbennick)
Chris Allegrettae6600372003-01-17 03:39:41 +0000874 - Move up check for --disable-nls as it's independent of
875 --enable-tiny now (DLR).
Chris Allegretta5ad92ac2002-12-09 00:58:51 +0000876 do_int_speller()
Chris Allegretta5af58892003-01-17 21:07:38 +0000877 - Make internal spell program use sort -f and uniq to create a
878 less redundant word list. [The only reason this is going in
879 during feature freeze is because the int speller is useless as
880 is and should either be improved or removed. I chose
881 improved].
Chris Allegretta3f1b6852003-01-12 23:54:05 +0000882 - Change all child error checks to use one goto (gasp!) called
883 close_pipes_and_exit, so we don't leak FDs.
Chris Allegretta2d5fc3a2003-01-16 03:11:23 +0000884 - Fix FD leaks which occur outside of errors (David Benbennick).
Chris Allegretta334a9402002-12-16 04:25:53 +0000885 do_int_speller(), do_alt_speller()
886 - Programs now return char *, NULL for successful completion,
887 otherwise the error string to display. This allows us to give
888 more useful feedback to the user when spell checking fails.
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000889 ABCD()
890 - Renamed abcd(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000891 main()
892 - Remove an unneeded do_colorinit() call, do major cleanups, and
893 allow loading of multiple files on the command line when
894 multibuffers are used. (David Benbennick)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000895- nano.h:
896 - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same
897 value. (DLR; discovered by Ken Tyler)
898 - If strcasecmp() and/or strncasecmp() aren't available, use
Chris Allegretta7662c862003-01-13 01:35:15 +0000899 strcmp() and/or strncmp() instead. (DLR)
900- proto.h:
901 - Fix the #ifdef block for DISABLE_TABCOMP's being undefined
902 so that functions only used with tab completion are properly
903 #ifdef'ed out. (DLR)
904- search.c:
Chris Allegretta2ad0f6c2003-01-16 03:51:02 +0000905 do_gotoline()
906 - Don't call blank_statusbar_refresh() so if there's an error
907 returned in multibuffer mode, we can actually see it.
Chris Allegretta688c8eb2003-01-14 23:36:11 +0000908 do_search()
909 - Remove erroneously introduced near-duplicate call to
910 update_history(). (DLR)
Chris Allegretta7662c862003-01-13 01:35:15 +0000911 print_replaced()
912 - Remove and replace with an equivalent ngettext() call. (DLR)
913 do_replace_loop()
914 - Fix bug where if text on the magicline was replaced (which can
915 be done via a regexp replace of "^$" with something other than
916 ""), a new magicline wouldn't be created. (DLR)
Chris Allegrettaca7113a2003-01-14 23:35:24 +0000917 - Remove check for answer being a blank string, presumed to be
918 a PICO_MODE holdover, but it stops us from doing a blank
919 spelling replacement.
Chris Allegretta7662c862003-01-13 01:35:15 +0000920 do_replace()
921 - For greater Pico compatibility, when an attempt to replace a
922 string results in 0 replacements due to the string's not being
923 found, display "[string] not found" instead of "Replaced 0
924 occurrences". (DLR)
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000925- utils.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +0000926 is_cntrl_char()
927 - Rework to fix a problem with displaying certain high-bit
928 characters. (David Benbennick; reported by Andrzej Marecki)
Chris Allegretta7662c862003-01-13 01:35:15 +0000929 align()
930 - Don't just assert that the string passed in isn't NULL; check
931 that it isn't and only do the alignment when it isn't. (David
932 Benbennick)
933 nmalloc(), nrealloc()
934 - If the size passed to nmalloc() or nrealloc() is zero, don't
935 die with an erroneous out-of-memory error. Also, change
936 their dying messages to "nano is out of memory!". (David
937 Benbennick)
938 charalloc()
939 - Removed and redefined as a macro that calls nmalloc(). (David
940 Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000941- winio.c:
Chris Allegretta09fc4302003-01-16 22:16:38 +0000942 nanogetstr()
943 - Tweak to make the cursor stay in the same place if we hit a
944 prompt-changing toggle while it's in the middle of the string.
Chris Allegretta5af58892003-01-17 21:07:38 +0000945 Reset it to -1 (so next time we come here, it'll be set to the
946 end of the string) if we leave the prompt via Enter or Cancel.
Chris Allegretta09fc4302003-01-16 22:16:38 +0000947 Also fix minor problem with search history where the current
948 search item could be at the bottom of the history twice in a
949 row under certain conditions. (DLR)
Chris Allegretta327abda2003-01-17 05:04:17 +0000950 - Remove parens in NANO_CONTROL_I check so nano won't complain if
951 just NANO_SMALL is defined (David Benbennick).
David Lawrence Ramsey9b13ff32002-12-22 16:30:00 +0000952 edit_refresh()
953 - Miscellaneous cleanups that fix a bug where the screen
954 isn't updated after uncutting chunks of upwardly marked cut
955 text that are over a page in length. (David Benbennick)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000956 do_credits()
957 - Add David Benbennick to credits. (DLR)
958- nanorc.sample:
959 - Added comment to explain the non-escaping of quotes in
960 color regexes, based on info provided by David Benbennick.
961 (DLR)
Chris Allegrettaed4fb2c2003-01-11 01:14:07 +0000962 - Added some examples for groff and the nanorc courtesy of
963 Robert D. Goulding.
964 - Added double hash marks to comment lines, so people who
965 uncomment the beginning of every line won't get syntax errors.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000966- faq.html:
Chris Allegretta7662c862003-01-13 01:35:15 +0000967 - Miscellaneous fixes and updates for typos, broken links, and
968 slashes at the end of directories. It is now fully compliant
969 with HTML 4.01 Transitional. (DLR and David Benbennick)
Chris Allegretta3f8a63c2003-01-17 02:49:23 +0000970 - Added docs about the new unified search string interface and
971 search histories, and added --enable-all into configure docs.
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000972- nano.texi:
973 - Typo fixes and updates. (David Benbennick)
Chris Allegretta9fa5fbd2003-01-13 02:56:29 +0000974 - Updates for the most recent and not so recent changes.
Chris Allegrettaf9ab3f72003-01-17 03:06:28 +0000975- nano.1, nano.1.html
976 - Updated for the --preserve and --historylog options.
Chris Allegretta916a8ec2003-01-05 21:51:16 +0000977- TODO
978 - Added some wishlist stuff.
Jordi Mallach3e5ad632002-12-14 22:15:35 +0000979- THANKS:
Jordi Mallacha0e829c2003-01-15 17:43:59 +0000980 - Added Doruk Fisek and Peio Ziarsolo (Jordi).
Chris Allegrettae8ad5ed2002-10-25 03:15:48 +0000981
Chris Allegretta22578932002-10-25 03:14:11 +0000982GNU nano 1.1.12 - 10/24/2002
Jordi Mallachdab02992002-10-06 23:35:19 +0000983- General:
984 - Translation updates (see po/ChangeLog for details).
Chris Allegretta1dd0bc92002-10-13 18:43:45 +0000985 - Remove malloc.h, as it's unneeded and just causes annoyances on
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +0000986 *BSD systems. Added stdlib.h to global.c.
Chris Allegretta1dd0bc92002-10-13 18:43:45 +0000987 - Added Meta-Y toggle to disable/enable color syntax highlighting
988 completely. This may eventually be per-buffer, but that's too
989 complicated for a feature freeze.
Chris Allegrettae42df732002-10-15 00:27:55 +0000990 - Disable VSTOP keystroke. Stops people accidentally locking up
991 nano (suggested by David Benbennick).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000992 - Pluralize messages with ngettext() where needed. (David
Chris Allegrettad45c5992002-10-25 01:41:31 +0000993 Benbennick) Tweaked to compile on systems lacking ngettext()
994 by DLR (problem found by Ken Tyler).
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +0000995 - Update nano.1 and nano.1.html to show that nano now does an
996 emergency save on receiving SIGHUP or SIGTERM. (DLR)
997 - Don't include "nowrap" in the long options if
998 DISABLE_WRAPPING is defined. (DLR)
999- files.c:
1000 read_file()
1001 - Minor efficiency fixes, some of which fit in with the change
1002 to ngettext() usage mentioned above. (David Benbennick)
1003 do_browser()
1004 - Make sure the value of path is mallocstrcpy()ed into retval
1005 and not just assigned to it, to avoid memory corruption
1006 problems. (DLR)
1007- nano.c:
Chris Allegretta2a15c582002-10-25 01:51:13 +00001008 version()
1009 - If ENABLE_NLS isn't defined, display "--disable-nls"
1010 (suggested by Ken Tyler). (DLR)
David Lawrence Ramsey2ab03f62002-10-17 02:19:31 +00001011 justify_format()
1012 - Make sure the double space maintained after sentence-ending
1013 punctuation is done when that punctuation is immediately
1014 followed by a bracket-type character, so justifying e.g.
1015 sentences in parentheses works properly. (David Benbennick)
1016 handle_hup()
1017 - Renamed handle_hupterm() to show that it now handles SIGTERM
1018 as well as SIGHUP. (DLR)
1019 signal_init()
1020 - Do an emergency save on receiving either SIGHUP or SIGTERM,
1021 not just SIGHUP. (David Benbennick)
1022 main()
1023 - Fix a problem where control key commands were printed
1024 literally instead of interpreted after a failed search of a
1025 one-line file. (David Benbennick)
1026- proto.h:
1027 handle_hup()
1028 - Renamed handle_hupterm(); see above for why. (DLR)
1029- winio.c:
1030 edit_add()
1031 - Fix a potential infinite loop occurring with certain
1032 zero-length regexes. (David Benbennick)
Chris Allegretta71fb1f52002-10-02 00:21:31 +00001033
Chris Allegretta136a38a2002-10-02 00:05:40 +00001034GNU nano 1.1.11 - 10/01/2002
Jordi Mallach25daa052002-07-29 00:16:38 +00001035- General:
1036 - Translation updates (see po/ChangeLog for details).
Jordi Mallach1f1022f2002-08-21 18:19:53 +00001037 - Upgraded to gettext 0.11.5 (Jordi).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001038 - Updated nano.1, nano.1.html, and nano.texi to fix an
1039 inaccuracy in the description of -Q/--quotestr. (DLR)
1040 - Set REG_EXTENDED in all regcomp() calls. (DLR)
1041 - Minor cosmetic code cleanups. (DLR)
Chris Allegrettaf7c68112002-09-03 22:58:40 +00001042 - Changed do_insertfile to (a) report multibuffer status at the
1043 prompt and allowing it to be toggled, taking into account the
1044 need to keep the translatable strings, and (b) added a
1045 variable inspath to keep track of what the string was before
1046 toggling. I'm sure there's bugs, have at it.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001047 - Make sure all functions have prototypes in proto.h, and swap
1048 some functions around to put similar functions closer
1049 together (for this, rename clear_bottombars() to
1050 blank_bottombars()). (DLR; suggested by David Benbennick)
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00001051 - More changes of char *'s to const char *'s when possible.
1052 (David Benbennick)
1053 - Fix various minor memory leaks in files.c. (David Benbennick)
1054 - Fix minor problems with the operating directory code: set the
1055 operating directory properly if it's specified only in a
1056 nanorc file, and handle an operating directory of "/"
1057 properly. New function init_operating_dir() to handle
1058 setting it both on the command line and in the nanorc file.
1059 (David Benbennick)
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +00001060 - Major rewrite of color and screen update routines to fix
1061 minor bugs and increase efficiency. New function
1062 set_colorpairs() for the former. (David Benbennick)
Jordi Mallachcb7c8d82002-07-27 02:49:46 +00001063- configure.ac:
1064 - Added pt_BR to ALL_LINGUAS (Jordi).
Chris Allegretta82559b32002-08-22 01:12:41 +00001065 - Changed --enable-color warning to be slightly less severe.
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001066 - Put the configure options in more or less alphabetical order,
1067 and remove --enable-undo, since it doesn't do anything. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00001068- files.c:
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001069 open_file()
1070 - String change: "File "x" is a directory" -> ""x" is a
1071 directory". (Jordi)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001072 do_insertfile()
1073 - Disallow multibuffer toggling at the "Insert File" prompt if
1074 we're in both view and multibuffer mode, so as to keep proper
1075 integration between the two, and make sure the toggle
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00001076 actually works all the time otherwise. Also, make sure
1077 TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and
1078 ENABLE_MULTIBUFFER are both defined. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001079 open_prevfile_void(), open_nextfile_void()
1080 - Return the return values of open_prevfile() and
1081 open_nextfile(), respectively, instead of (incorrectly)
1082 calling them and returning 0. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00001083 real_dir_from_tilde()
1084 - Rework to use getpwent() exclusively and end reliance on
1085 $HOME. Adapted from equivalent code in do_rcfile(). (DLR)
1086 input_tab()
1087 - Most likely fixed the check marked with FIXME, so that tab
1088 completion works properly when we're trying to tab-complete a
1089 username and the string already contains data. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001090- global.c:
1091 shortcut_init()
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00001092 - Disable the new multibuffer toggle at the file insertion
1093 prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both
1094 defined. (DLR)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001095 thanks_for_all_the_fish()
1096 - Make sure the reference to help_text is #ifdefed out when
1097 --disable-help is used. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001098- move.c:
1099 page_up()
1100 - Fix bug where current is moved up two lines when the up arrow
1101 is pressed on the top line of the edit window; this causes a
1102 segfault is the top line in the edit window is the second
1103 line of the file, as the line current ends up on doesn't
David Lawrence Ramsey768e8f02002-08-22 04:03:45 +00001104 exist. (Jeff DeFouw)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001105 do_down()
1106 - Fix bug where, if the last line in the edit window is the
1107 line before the magicline, and smooth scrolling is turned
1108 off, pressing the down arrow on that last line centers the
1109 cursor without updating the edit window. (Jeff DeFouw)
Chris Allegrettad865da12002-07-29 23:46:38 +00001110- nano.c:
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001111 version()
1112 - Put the listed configure options in more or less alphabetical
1113 order. (DLR)
1114 open_pipe()
1115 - If we're in view mode here (in which case we're also in
1116 multibuffer mode), don't set the modification flag. (DLR)
Chris Allegrettad865da12002-07-29 23:46:38 +00001117 do_next_word(), do_prev_word()
1118 - If we're on the last/first line of the file, don't center the
1119 screen; Pico doesn't in the former case. (DLR)
1120 do_backspace()
1121 - Rework to call edit_refresh() regardless of the value of
1122 current_x if ENABLE_COLOR is defined, so that multiple-line
1123 color regexes are properly updated onscreen as they are in
1124 do_delete(). (DLR)
1125 do_delete()
1126 - Rework to only call edit_refresh() unconditionally if
1127 ENABLE_COLOR is defined; if it isn't, and we're not deleting
1128 the end of the line, only call update_line(). (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001129 do_wrap()
1130 - Make sure wrapping is done properly when the number of
1131 characters on the line is exactly one over the limit. (David
1132 Benbennick)
Chris Allegretta0ae5c722002-09-19 23:20:26 +00001133 - Restore the previous wrapping point behavior (pre 1.1.10)
Chris Allegretta43000922002-09-21 15:41:33 +00001134 (David Benbennick). Minor fix by DLR to prevent spaces from
1135 being added to the ends of lines ending in spaces or lines
1136 ending in tabs (the latter case found by David Benbennick).
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001137 do_alt_speller()
1138 - Readd DLR's fix to preserve marking when using the alternate
1139 spell checker; it was accidentally dropped. (David
1140 Benbennick)
1141 do_justify()
1142 - Fix cosmetic problems caused when justifying on the
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00001143 magicline, and a minor problem where the cursor would
1144 sometimes be moved to the wrong line after justification.
1145 (David Benbennick)
David Lawrence Ramseyad40fdb2002-09-06 20:35:28 +00001146 main()
1147 - When searching through the main shortcut list looking for a
1148 shortcut key, stop searching after finding one; this avoids a
1149 rare segfault. (DLR)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001150- nano.h:
1151 - Change search toggles for case sensitive searching and regexp
1152 searching to M-C and M-R, respectively. (DLR; suggested by
1153 Chris)
Chris Allegretta515ba322002-09-14 21:16:40 +00001154 - Add support for HP-UX's curses, which doesn't seem to support
1155 KEY_HOME and KEY_END.
Chris Allegretta79cdfdc2002-08-22 02:58:55 +00001156- nanorc.sample:
1157 - Fix the c-file regex for all caps words to be extended regex
1158 format ({} instead of \{\}) (found by DLR).
Chris Allegretta3f9c3bf2002-09-18 00:00:12 +00001159 - Add a better string matching sequence that includes escaped
1160 quotes (thanks to Carl E. Lindberg, who doesn't even know he
David Lawrence Ramsey1f28b8f2002-09-27 14:21:59 +00001161 helped ;-). Some unneeded \'s in that sequence removed, and
1162 a new sequence to handle multi-line quotes added, by David
1163 Benbennick.
Chris Allegretta136a38a2002-10-02 00:05:40 +00001164 - Add some examples for HTML and TeX files (David Benbennick).
Chris Allegrettade852622002-09-18 00:28:57 +00001165- rcfile.c:
1166 parse_colors()
1167 - Stop infinite loop when syntax doesn't begin with " char.
David Lawrence Ramseye21adfa2002-09-13 18:14:04 +00001168- utils.c:
1169 charalloc()
1170 - Switch from using calloc() to using malloc(). (David
1171 Benbennick)
David Lawrence Ramsey605165e2002-09-11 01:48:14 +00001172- faq.html:
1173 - Typo fix. (DLR)
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001174- AUTHORS:
1175 - Add David Benbennick. (Jordi and Chris)
David Lawrence Ramsey0341b582002-08-21 16:10:37 +00001176- TODO:
1177 - Add entry in the 1.4 section for Pico's paragraph searching
1178 ability (at the search prompt, ^W goes to the paragraph's
1179 beginning, and ^O goes to the paragraph's end). (DLR)
Chris Allegretta52069c62002-07-25 22:27:50 +00001180
Chris Allegretta720a9e02002-07-25 22:26:33 +00001181GNU nano 1.1.10 - 07/25/2002
Jordi Mallachcb7c8d82002-07-27 02:49:46 +00001182- General:
Jordi Mallach1f226872002-05-13 15:05:38 +00001183 - Translation updates (see po/ChangeLog for details).
Jordi Mallach790d3622002-06-03 12:44:05 +00001184 - Upgraded to gettext 0.11.2 (Jordi).
Jordi Mallachbd338652002-06-03 12:32:28 +00001185 Removed intl/ entirely, and a few more tweaks by gettextize.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001186 - i18nized a few strings used in DEBUG mode. (DLR)
1187 - Some chars being assigned 0 are now assigned '\0'. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00001188 - Put header file #includes in a more consistent order. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001189 - Remove some unneeded blank lines and spaces, and make some
1190 spacing more consistent. (DLR)
1191 - When possible, use iscntrl() to determine whether a character
1192 is a control character or not. (DLR)
1193 - Miscellaneous typo fixes. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00001194 - Many fixes to the help browser and shortcut lists: efficiency
1195 updates, consistency fixes, help text fixes and improvements,
1196 and spacing improvements. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001197 - Make some functions use const variables when possible, and
1198 also make them static when necessary. (David Benbennick,
1199 necessary redefined by Chris ;-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001200 - Add Carl Drinkwater's backup file option (-B or --backup on the
1201 command line, M-B in nano's global shortcuts). If the original
1202 file is unchanged from when it was loaded, it is backed up to
1203 filename~; if the original file has been changed or deleted
1204 since it was originally loaded, it isn't backed up. The backup
1205 file retains the permissions, owner/group, and
1206 access/modification times of the original file. This option is
1207 disabled when --enable-tiny is used. It will not back up
1208 temporary files. Minor fixes to it by David Benbennick and
1209 DLR. Changes to open_file(), add_open_file(),
1210 load_open_file(), write_file(), and do_writeout().
1211 - Add \n's to the ends of "filename is %s" debugging strings.
1212 (Carl Drinkwater)
1213 - Add the long option --quotestr as an alternative for -Q, and
1214 --regexp as an alternative for -R; they were listed in nano's
1215 usage information, but weren't actually in nano. Also, display
1216 "-?" as an alternative for "-h" in nano's usage information,
Chris Allegretta6df90f52002-07-19 01:08:59 +00001217 put the command line options in a more consistent (i.e. mostly
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001218 alphabetical) order in nano, put the long options in a more
1219 consistent order in rcfile.c and nanorc.sample, don't include
1220 rcfile options if their equivalent command line options are
1221 disabled, and remove obsolete relative option from
1222 nanorc.sample. (DLR)
1223 - Change "File Name to Append/Prepend" to "File Name to
1224 Append/Prepend to". The original prompt could confusingly
1225 imply that we are appending/prepending another file to the
1226 current file, when we are actually appending/prepending the
1227 current file to another file. (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001228 - Put nano.1, nano.1.html, and nano.texi up to date, and fix a
1229 few inconsistencies in them. (DLR)
1230 - Typo fixes for the ChangeLog. (David Benbennick and DLR)
1231 - Complete rewrite of justification code to fix some bugs and
1232 improve its functionality. (David Benbennick)
1233 - If a variable isn't going to be used in tiny mode, #define it
1234 out when possible. (David Benbennick)
1235 - Major reworking of the cutting/screen-updating code in cut.c,
1236 some functions in utils.c, the cursor placement code in
1237 winio.c, and many, many other areas to increase efficiency.
1238 (David Benbennick)
1239 - Rework handling of prompts when there's a list of partial
1240 filename matches on the screen: remove kludgy case-by-case
1241 handling (which didn't even handle every case), and have
1242 statusq() handle it directly for all cases. (David Benbennick
1243 and DLR)
1244 - Fix some warnings and errors that show up when using gcc's
1245 -pedantic option. (DLR)
1246 - Add a comment to nanorc.sample warning that an out-of-range
1247 negative value for fill can make nano die complaining that
1248 the screen is too small (which may not be immediately
Chris Allegrettad865da12002-07-29 23:46:38 +00001249 obvious). (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001250 - There were some opendir() calls in files.c without
1251 corresponding closedir() calls; add them. (DLR)
1252 - Move align() and null_at() from nano.c to utils.c, and move
1253 the openfilestruct handling functions from nano.c to files.c.
1254 (DLR)
1255 - In color.c, start the "#ifdef ENABLE_COLOR" block after
1256 including all the header files, as rcfile.c does; this fixes
1257 a warning about ANSI C'S inability to handle blank files.
1258 (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00001259 - Add new function is_cntrl_char() as a wrapper for iscntrl();
1260 this is needed to treat ASCII 0x80-0x9f as control characters
1261 consistently. (Without this, they will only be treated as
1262 such when gettext is used; when it isn't used, they will be
1263 printed as-is and be interpreted as commands by xterm, which
1264 will corrupt the display.) (DLR)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001265 - Add command line option -I/--ignorercfiles to ignore
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001266 $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater). Fix to
1267 parsing getopt args (DLR).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001268 - Fix minor bugs with importing certain text files in Mac
1269 format. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001270- files.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +00001271 append_slash_if_dir(), input_tab()
1272 - Changed variable names: lastWasTab -> lastwastab, matchBuf ->
1273 matchbuf. (DLR)
1274 check_operating_dir()
1275 - Memory leak fix. (David Benbennick)
1276 check_writable_directory()
1277 - Optimizations (David Benbennick).
1278 cwd_tab_completion()
1279 - Changed a variable name: dirName -> dirname. (DLR)
1280 do_browser()
1281 - Optimizations and mouse selection fixes (David Benbennick).
1282 do_writeout()
1283 - Fix problem with formatstr's being defined as NULL when
1284 --enable-tiny is used. Since formatstr isn't ever used in tiny
1285 mode, don't bother even creating the variable. (David
1286 Benbennick and DLR)
1287 do_insertfile()
1288 - Memory leak fix (accidentally dropped 1st time).
1289 (David Benbennick).
1290 get_full_path()
1291 - Memory leak fix. Also, make it properly interpret ~/ notation
1292 so, among other things, the option "--operatingdir ~" works.
1293 (David Benbennick)
1294 - More optimizations (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001295 new_file()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001296 - Make sure current_x is zero; this fixes a problem where the
1297 current cursor position wasn't reset when reading in a file in
1298 multibuffer mode. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00001299 - Use make_new_node rather than setting up fileage by hand
1300 (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001301 read_file(), read_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001302 - Rework to properly handle nulls in the input file, fix
1303 detection of binary files to properly mark a file as binary if
1304 the only binary characters it contains are ASCII 127's, and
1305 after reading the last line of a file that doesn't end in a
1306 newline, increment totsize. Remove previous kludge to set
1307 totsize properly. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001308 write_file()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001309 - Rework to properly handle nulls in the input file. When
1310 appending/prepending, don't change the current file's name to
1311 the name of the file it's being appended/prepended to. When
1312 writing a marked selection to a file, save and restore totsize
1313 so it isn't decreased by the size of the selection afterward.
1314 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +00001315 - Optimizations (David Benbennick).
Chris Allegretta6fe98d72002-05-16 23:30:14 +00001316- global.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001317 free_toggles()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001318 - Only include if we're not using tiny mode. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001319 toggle_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001320 - Remove global entries for search toggles, as they aren't really
1321 global. (DLR)
1322 - Don't reinititialize the toggles if they've already been
1323 initialized; it's unnecessary and even causes a segfault in
1324 do_toggle() if Pico emulation mode is the toggle in question.
1325 Don't free the toggles here, either; it's unnecessary after the
1326 above change. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001327 - If wrapping is disabled, don't include the toggle for it.
1328 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001329 shortcut_init()
Chris Allegretta6fe98d72002-05-16 23:30:14 +00001330 - Rework IFHELP macro (David Benbennick).
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001331- move.c
1332 page_down(), page_up()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001333 - Put sanity checks for current_x back in, to avoid rare
1334 segfaults (oops). Now, however, they are only called when
1335 placewewant is zero instead of being called unconditionally;
1336 see changes to winio.c:actual_x_from_start() below. (DLR)
Jordi Mallach790d3622002-06-03 12:44:05 +00001337- nanorc.sample:
Chris Allegretta5c6379d2002-05-18 03:13:03 +00001338 - Put in much less crappy example regex rules for c-file.
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001339- nano.c:
Chris Allegrettadffa2072002-07-24 01:02:26 +00001340 clear_filename()
1341 - Remove this function, as it has unneeded functionality, is
1342 short enough to be inlined, and is only called in two spots
1343 anyway. (DLR)
1344 die()
1345 - Rework slightly to remove redundant printing of last message
1346 and print all messages after resetting the terminal. (DLR)
1347 do_backspace()
1348 - Make sure placewewant is set properly, and that the mark is
1349 moved backwards. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001350 do_char()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001351 - Fix a problem where, if ENABLE_COLOR wasn't used, typing
1352 characters on a marked line before the beginning of the mark
1353 would make the highlight short by one. (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00001354 do_cont()
1355 - Handle the case where the window was resized while we were
1356 stopped. (David Benbennick)
1357 do_delete()
1358 - Make sure placewewant is set properly, to match Pico's
1359 behavior. (DLR)
1360 do_int_spell(), do_alt_spell()
1361 - Rework to save the marked selection before doing spell checking
1362 and restore it afterward. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001363 do_next_word(), do_prev_word()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001364 - Fix a problem where highlighting isn't done properly after
1365 calling either of these, and another problem where the cursor
1366 would move back too far in certain cases with do_prev_word().
1367 (David Benbennick)
Chris Allegrettadffa2072002-07-24 01:02:26 +00001368 do_toggle()
1369 - Since the search mode toggles aren't global anymore, we don't
1370 need to explicitly block them here anymore (which will end up
1371 blocking the global backup mode toggle, which is the same as
1372 the backwards search toggle). (DLR)
1373 do_wrap()
1374 - fill fixes and 'two short word wrap' bug (David Benbennick).
1375 global_init()
1376 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001377 handle_sigwinch()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001378 - Make sure we adjust fill when the window is resized. (David
1379 Benbennick)
1380 - Call die_too_small() when fill is 0. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001381 help_init()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001382 - Since the return value of snprintf() isn't well defined, use
1383 sprintf() instead. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001384 main()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001385 - Rework to blank out filename manually before doing anything
1386 with it, instead of calling clear_filename() in two places.
1387 Make startline an int instead of a long, since it's supposed to
1388 hold a line number. (DLR)
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00001389 - Properly handle multiple -r settings on the command line. (Carl
1390 Drinkwater)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001391 - Fix a bug that prevented file insertion via the Insert key
1392 from working at all when --enable-multibuffer wasn't used
1393 (oops). (DLR)
1394 - Adapt David Benbennick's fix to get fill to accept negative
1395 numbers properly in parse_rcfile() (see below) to the
1396 handlers for the -r and -T options as well, so that -r/-T 0
1397 can be treated separately from -r/-T string. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00001398 - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space.
1399 (DLR)
Chris Allegrettadffa2072002-07-24 01:02:26 +00001400 usage()
1401 - List the options that are ignored for the purpose of Pico
1402 compatibility, and make some minor consistency fixes. (DLR)
Chris Allegrettac46337b2002-07-23 00:34:48 +00001403- nano.h:
1404 - Fix some space/tab formatting for flags (DLR).
Chris Allegretta6df90f52002-07-19 01:08:59 +00001405- proto.h:
1406 - Remove external declaration of the global int fill, since
1407 it's now static. (DLR)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001408- rcfile.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001409 parse_rcfile()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001410 - Add David Benbennick's fix that allows fill to accept
1411 negative numbers properly. Specifically, use strtol() there
1412 instead of atoi() so that errors can be detected. Also
1413 adapted for tabsize by DLR.
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001414 parse_next_regex(), colortoint()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001415 - Only include if ENABLE_COLOR is defined. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001416- search.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001417 search_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001418 - Since the search mode toggles aren't global anymore, rework the
1419 part of this function referencing them so that they still work.
1420 (DLR)
1421 - Remove unneeded toggles variable. (David Benbennick)
Chris Allegretta6df90f52002-07-19 01:08:59 +00001422 - Fix a problem where the first character of buf was overwritten
1423 if the last search string was one third the number of columns
1424 plus one. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001425 findnextstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001426 - Update the current line at current_x if we don't find a match.
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00001427 Also, pass current_x_find to strstrwrapper() so we know whether
1428 we're at the beginning of a string or not (see changes to
1429 strstrwrapper() below), and reset it between lines. (DLR)
1430 do_gotoline():
1431 - Make sure placewewant is zero after we go to a line. (David
1432 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001433 do_gotopos()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001434 - Simplify the sanity check to only put x within the range of the
1435 current line; don't call actual_x() anymore. (DLR)
1436- utils.c:
1437 - Add sunder() and unsunder(). These functions convert nulls
1438 other than the terminating null in strings to newlines and
1439 back; they're used to handle null characters in files properly.
1440 (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001441 lowercase()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001442 - Remove, since it isn't actually used anywhere. (David
1443 Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001444 strstrwrapper()
1445 - Set REG_NOTBOL when we're not at the beginning of a
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00001446 string, to avoid false positives when searching for regular
1447 expressions prefixed with ^. Make it take a new parameter,
1448 line_pos, to determine where we are in the string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001449 check_wildcard_match()
Chris Allegretta6df90f52002-07-19 01:08:59 +00001450 - Changed variable names: retryPat -> retrypat, retryText ->
1451 retrytext. (DLR)
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001452- winio.c:
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001453 actual_x_from_start()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001454 - Overhaul to make cursor placement more like that of Pico: add
1455 sanity check for i, and then place i as close to the value of
1456 xplus column as possible. This change is most noticeable when
1457 moving down through binary files. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001458 do_credits()
1459 - Fix for the i18ned credits so it will compile with -pedantic
1460 (DLR & Chris).
Chris Allegretta079b5492002-09-19 23:54:53 +00001461 do_help()
1462 - Add support for the handled keyboard escape sequences in the
1463 help menu, as they are needed with some terminals (e.g. xterm
1464 with TERM=ansi). (DLR)
1465 edit_refresh()
1466 - Turn on leaveok() so the cursor doesn't bounce around the
1467 screen while we're updating it (most noticeable when using
1468 color syntax over a very slow connection).
1469 do_replace_highlight()
1470 - When using regexps, make sure the highlight is the length of
1471 the search result and not the regexp string. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001472 nanogetstr()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001473 - After the user presses Enter at the prompt, refresh the edit
1474 window in case there's a list of possible filename matches
1475 (left over from attempted tab completion) on it. (DLR)
Chris Allegretta079b5492002-09-19 23:54:53 +00001476 statusbar()
1477 - Limit statusbar display to the number of columns less four, and
1478 don't allow it to go over its original row. (David Benbennick)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001479 titlebar()
David Lawrence Ramseyc5967552002-06-21 03:20:06 +00001480 - Tweak text spacing and printing so that the titlebar text looks
1481 better on smaller terminals. (Carl Drinkwater)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001482 update_line()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001483 - When marking control characters, make sure the mark moves
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001484 forward by two characters instead of one. Rework control
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001485 character display routine to display newlines within the line
1486 (which should never occur under normal circumstances; they will
1487 only be there if the line had nulls in it and was unsunder()ed
1488 beforehand) as ^@'s. (DLR)
Chris Allegrettacf287c82002-07-20 13:57:41 +00001489 - Fix to properly treat ASCII 128-159 as control characters.
1490 (DLR)
Jordi Mallach7d401342002-07-05 23:46:31 +00001491- configure.ac:
1492 - Added ms to ALL_LINGUAS (Jordi).
1493 - Merged acconfig.h in (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +00001494 - Fixed so that --enable-debug defines DEBUG and undefines
1495 NDEBUG. (Carl Drinkwater)
Jordi Mallach790d3622002-06-03 12:44:05 +00001496- THANKS:
1497 - Completed a bit (Jordi).
Chris Allegretta6df90f52002-07-19 01:08:59 +00001498 - Fixed David Benbennick's email address. (David Benbennick)
1499 - Typo fix. (DLR)
Chris Allegrettac4e3d9e2002-07-21 15:44:13 +00001500
Chris Allegretta8b75a782002-05-13 00:09:30 +00001501GNU nano 1.1.9 - 05/12/2002
Chris Allegretta7162e3d2002-04-06 05:02:14 +00001502- General:
1503 - Typos n misspellings all over the place (David Benbennick).
1504 - Allow --tiny and --multibuffer to cooperate (who the heck
1505 would want this is beyond me but ;-). Changes to
1506 configure.ac, global.c, , (David Benbennick).
Chris Allegrettaf2387fb2002-04-10 02:31:20 +00001507 - Change to openfilestruct for multibuffer mode by DLR.
1508 New functions nano.c:make_new_opennode(), free_openfilestruct(),
1509 delete_opennode(), unlink_opennode(), splice_opennode(),
1510 new struct openfilestruct in nano.h.
Chris Allegretta0e9b7aa2002-04-16 03:15:47 +00001511 - Preliminary prepend code. This may be a bad idea, but I've
1512 been wanting it for awhile now and we'll see how bad it messes
1513 everything up. Changes to files.c:do_writeout(), write_file().
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001514 Fixes for O_CREAT & append compatibility by David Benbennick.
Chris Allegretta0547eb32002-04-22 23:52:34 +00001515 - Change from read() and write() to file streams by Jay Carlson.
1516 Allows OS to implement read and write ahead rather than making
1517 us do it. Hopefully merged properly.
Chris Allegrettadab017e2002-04-23 10:56:06 +00001518 - More cleanups with DISABLE flags, better free_shortcutage and
1519 free_toggle, and get rid of unnecessary variable decls with
1520 NANO_SMALL in shortcut_init() by David Benbennick.
Chris Allegrettab6c5dc22002-05-04 03:47:33 +00001521 - Added "syntax" command to .nanorc file, to allow multiple
1522 syntaxes. New function color.c:update_color(), calls in various
1523 files.c places, syntaxtype struct, global variables syntaxes,
Chris Allegretta21c433d2002-05-04 04:24:29 +00001524 syntaxfile_regexp and synfilematches. Global flag -Y ,--syntax
Chris Allegretta09900ff2002-05-04 04:23:30 +00001525 to specify the type on the command line, if there's no good
1526 filename regex to use. Global variable syntaxstr.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001527 - Changed many strcmp()s and strcpy()s to their equivalent
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001528 '\0' counterparts (David Lawrence Ramsey).
1529 - Many changes to allow marked cutting to work with multiple
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001530 file buffers: changes to openfilestruct type in nano.h and
1531 files.c (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00001532 - Changed NANO_SMALL to ENABLE_NLS for gettext disabling
1533 (David Benbennick).
1534 - Move next_key and pev_key definitions out of main() and into
1535 global.c where they belong (David Benbennick).
Chris Allegretta5e76fe92002-05-12 20:54:16 +00001536- color.c:
1537 update_color()
1538 - Add regfree call here to avoid memory leaks.
Chris Allegretta7162e3d2002-04-06 05:02:14 +00001539- configure.ac:
1540 - Define NDEBUG to silence asserts (David Benbennick).
1541- files.c:
1542 get_next_filename()
1543 - Optimizations (David Benbennick).
1544- global.c:
1545 shortcut_init()
1546 - Add missing free_shortcutage()s (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00001547 thanks_for_all_the_fish()
1548 - Only defined when using DEBUG, makes sense (David Benbennick).
Chris Allegretta7162e3d2002-04-06 05:02:14 +00001549- nano.c:
1550 die_save_file()
1551 - Add missing free (David Benbennick).
1552 do_justify()
1553 - Optimizations (David Benbennick).
1554 do_wrap()
1555 - Complete rewrite (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00001556 help_init()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001557 - A little less readable, a lot shorter :-) (David Benbennick).
Chris Allegretta6232d662002-05-12 19:52:15 +00001558 - Fix Meta-A not getting capitalized, and convert the ASCII
1559 #s to their character equivalent.
Chris Allegretta7c27be42002-05-05 23:03:54 +00001560 main()
1561 - Changed charalloc(), strcpy()s to mallocstrcpy()s.
Chris Allegretta66f373f2002-04-05 23:33:09 +00001562- nano.h:
1563 - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol)
1564 (David Benbennick).
Chris Allegretta8902eba2002-03-30 18:02:54 +00001565- nano.spec.in:
1566 - Don't put Chris' name as the Packager in the distribution
1567 by default (Im an idiot).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001568 - Fixed Source line (David Lawrence Ramsey).
Jordi Mallach42c64052002-04-30 02:33:14 +00001569- nano.1:
1570 - Changed references to Debian GNU/Linux to Debian GNU (Jordi).
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001571- nano.1.html:
1572 - Updated for -Y option (David Lawrence Ramsey).
Chris Allegretta6232d662002-05-12 19:52:15 +00001573- rcfile.c:
Chris Allegretta7c27be42002-05-05 23:03:54 +00001574 - Made some rc file errors less fatal.
Chris Allegretta4dc03d52002-05-11 03:04:44 +00001575 - Added in my patch for getpwent instead of relying on $HOME
1576 (David Lawrence Ramsey).
Chris Allegretta7c27be42002-05-05 23:03:54 +00001577- winio.c:
1578 edit_add()
David Lawrence Ramseyf21cd102002-06-13 00:40:19 +00001579 - Changed some syntax highlight computations for the sake of COLS.
Chris Allegretta3674c1d2002-05-12 20:43:49 +00001580 - Add in the necessary regfree() calls to stop nano from leaking
1581 memory like a sieve when using color syntax highlighting :-)
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001582 bottombars(), onekey()
Chris Allegretta6232d662002-05-12 19:52:15 +00001583 - Cleanups (David Benbennick).
Jordi Mallach0ab011f2002-04-05 11:25:00 +00001584- po/gl.po:
1585 - Galician translation updates (Jacobo Tarrio).
1586- po/de.po:
1587 - German translation updates (Michael Piefel).
1588- po/fr.po:
1589 - French translation updates (Jean-Philippe Guérard).
1590- po/ca.po, po/es.po:
1591 - Catalan and Spanish translation updates (Jordi).
Jordi Mallachb18bc692002-04-10 16:26:17 +00001592- po/sv.po:
1593 - Swedish translation updates (Christian Rose).
Jordi Mallachd301e102002-04-13 14:46:26 +00001594- po/nl.po:
1595 - Dutch translation updates (Guus Sliepen).
Jordi Mallach7f80e662002-04-13 16:31:03 +00001596- po/it.po:
1597 - Italian translation updates (Marco Colombo).
Jordi Mallach0417a7b2002-04-19 21:59:35 +00001598- po/ru.po, po/uk.po:
1599 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach934b76b2002-04-25 22:24:48 +00001600- po/id.po:
1601 - Indonesian translation updates (Tedi Heriyanto).
Jordi Mallachca76fa92002-05-05 15:04:26 +00001602- po/sv.po:
1603 - Swedish translation updates (Christian Rose).
Chris Allegretta06d62372002-03-30 16:51:38 +00001604GNU nano 1.1.8 - 03/30/2002
Chris Allegrettabef12972002-03-06 03:30:40 +00001605- General
1606 - Type misalignments and mem leaks in renumber_all, do_justify
1607 and do_spell (Rocco & Steven Kneizys).
Chris Allegrettabb88ece2002-03-25 13:40:39 +00001608 - New "External Command" code, originally by Dwayne Rightler,
Chris Allegretta77777d42002-03-29 16:31:29 +00001609 various fixes and changes by Chris, Rocco and David Benbennick.
1610 New function nano.c:open_pipe() and signal handler cancel_fork(),
1611 changes to do_insertfile(), new list extcmd_list, cmd is
1612 ^X after ^R.
Chris Allegretta3533a342002-03-24 23:19:32 +00001613 - Added separate regex variable (color_regex and colormatches)
1614 so that color syntax and regex search/replace can coexist.
Chris Allegretta06d62372002-03-30 16:51:38 +00001615 - Added new nano.spec file from Brett <brett@bad-sports.com>,
1616 added because maintaining the spec file is getting to be a large
1617 hassle ;)
Chris Allegretta564535a2002-03-06 15:32:17 +00001618- files.c:
1619 check_writable_directory()
1620 - Stat full_path, not path (Steven Kneizys).
Chris Allegretta2598c662002-03-28 01:59:34 +00001621 open_pipe()
1622 - I18nize the pipe error (DLR).
Chris Allegrettae3739092002-03-29 15:06:05 +00001623 do_insertfile()
1624 - Handle cancel from ExtCmd properly (David Benbennick).
Chris Allegretta52c5a6e2002-03-21 05:07:28 +00001625 read_file()
1626 - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
Chris Allegrettaf6cba642002-03-26 13:05:54 +00001627 - Reverse tests to stop segfault on editing a new file of 0
1628 lines (David Benbennick)
1629 - Change input var to one char instead of array (David Benbennick).
Chris Allegretta2598c662002-03-28 01:59:34 +00001630 - Move NO_CONVERT check up so chars get read in properly (DLR).
Chris Allegretta40ecbad2002-03-06 15:27:44 +00001631- nano.c:
Chris Allegrettacf1d8122002-03-21 19:53:36 +00001632 do_justify()
1633 - More fixes for indented justify (David Benbennick).
Chris Allegrettaf21f3fc2002-03-25 03:26:27 +00001634 do_int_speller()
1635 - Fix zombie processes and spelling buffer issues (Rocco Corsi).
Chris Allegretta5902f962002-03-07 12:40:39 +00001636 help_init()
1637 - Capitalize Meta altkeys.
Chris Allegrettab479c892002-03-09 20:03:10 +00001638 - Various fixes and string changes.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00001639 main()
1640 - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
Chris Allegretta97e6fe62002-03-09 17:38:47 +00001641 usage()
Chris Allegretta3fc5d572002-03-09 18:51:58 +00001642 - Rewritten to encompass systems with and without GETOPT_LONG.
1643 New function print1opt does most of the dirty work, stops
1644 duplication of effort and eases translator's jobs. Also
1645 breaks all the current translations ;-)
Chris Allegretta45329a12002-03-10 01:22:21 +00001646- proto.h:
1647 - Missing externs (Rocco).
Chris Allegretta1596d382002-03-07 00:46:17 +00001648- rcfile.c:
Chris Allegretta78f0fc62002-03-29 19:41:57 +00001649 do_rcfile()
1650 - Reset lineno between system and local .nanorc file.
1651 - Fix errno->strerror(errno) mismatch.
Chris Allegrettae8e10342002-03-07 00:47:22 +00001652 parse_rcfile()
1653 - Don't use i for both for loop and atoi(), fixes lots of
Jordi Mallach4951c662002-03-07 14:12:53 +00001654 potential crashes, 1st reported by Jean-Philippe Guérard.
Chris Allegretta78f0fc62002-03-29 19:41:57 +00001655 rcfile_error()
1656 - Don't print out the file name if we haven't opened the file
1657 yet (lineno == 0).
Chris Allegretta45329a12002-03-10 01:22:21 +00001658- search.c:
1659 search_init()
1660 - Fix a missing free (Rocco).
Chris Allegrettad1c2c1c2002-03-26 17:58:42 +00001661 do_gotoline()
1662 - Set placewewant if we actually move to a different line.
Chris Allegretta40ecbad2002-03-06 15:27:44 +00001663- utils.c:
Chris Allegrettadce44ab2002-03-16 01:03:41 +00001664 stristr()
1665 - Defined regardless of NANO_SMALL (noticed by Jordi).
Chris Allegretta77777d42002-03-29 16:31:29 +00001666 nperror()
1667 - New wrapper for perror (David Benbennick).
Chris Allegrettadce44ab2002-03-16 01:03:41 +00001668- winio.c:
1669 do_credits()
1670 - Add Thomas Dickey.
Chris Allegrettaf3a07b22002-03-29 15:15:38 +00001671 do_cursorpos()
1672 - Make col numbering start from 1 (suggested by Andrew Ho).
Chris Allegretta2598c662002-03-28 01:59:34 +00001673 update_line(), xpt()
1674 - Add check for 127 (DLR).
Jordi Mallach4951c662002-03-07 14:12:53 +00001675- po/sv.po:
1676 - Swedish translation updates (Christian Rose).
1677- po/de.po:
1678 - German translation updates (Michael Piefel).
Jordi Mallach4e803aa2002-03-09 18:05:53 +00001679- po/id.po:
1680 - Indonesian translation updates (Tedi Heriyanto).
Chris Allegretta2598c662002-03-28 01:59:34 +00001681- po/it.po:
Chris Allegretta06d62372002-03-30 16:51:38 +00001682 - Serious typo.
Jordi Mallach4e803aa2002-03-09 18:05:53 +00001683- po/ca.po, po/es.po:
1684 - Catalan and Spanish translation updates (Jordi).
Chris Allegretta2598c662002-03-28 01:59:34 +00001685 - Typo (DLR).
Jordi Mallach558b5d82002-03-11 13:23:33 +00001686- po/fr.po:
1687 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach5477e102002-03-12 16:15:50 +00001688- po/gl.po:
1689 - Galician translation updates (Jacobo Tarrio).
Jordi Mallach057c3c42002-03-14 11:00:56 +00001690- po/uk.po, po/ru.po:
1691 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallachb83e61a2002-03-15 15:15:13 +00001692- po/pl.po:
1693 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach7fa082d2002-03-17 00:35:41 +00001694- po/fr.po:
1695 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach7afc6d92002-03-27 16:34:46 +00001696- po/it.po:
1697 - Italian translation updates (Marco Colombo).
Jordi Mallach465a0ff2002-03-29 00:46:05 +00001698- po/da.po:
1699 - Danish translation updates (Keld Simonsen).
Chris Allegrettabef12972002-03-06 03:30:40 +00001700
Chris Allegretta97489d22002-03-05 23:47:44 +00001701GNU nano 1.1.7 - 03/05/2002
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001702- General
1703 - malloc->calloc, etc cleanups (DLR).
1704 - New option, noconvert (-N, --noconvert) to completely stop
1705 the translation of files from DOS or Mac format (DLR).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001706 - New functions check_writable_directory() and safe_tempnam()
Chris Allegrettabc72e362002-02-16 20:03:44 +00001707 to get around the tempnam warning. More improvements (DLR)
Chris Allegretta48b06702002-02-22 04:30:50 +00001708 Still needs testing.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001709 - Added DOS and Mac format options to write file routine.
1710 Changes to shortcut_init() and do_writeout().
1711 - Removed stupid static definitions of toggles and shortcut
1712 lists. Many changes to shortcut_init(), toggle_init(),
1713 statusq(), nanogetstr(), main(), and many other places.
Chris Allegretta48b06702002-02-22 04:30:50 +00001714 - Multibuffer mode now allows multiple empty filenames.
1715 Changes to add_open_files(), removed open_file_dup_search(),
1716 open_file_dup_fix(), etc (DLR).
1717 - New code to handle multiple .save files. Changes to
1718 die_save_file(), new function files.c:get_next_filename()
1719 and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00001720 - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
1721 new functions utils.c:free_shortcutage() (got to love that
1722 name!) & free_toggles(), and big cleanup program
1723 thanks_for_all_the_fish() (originally
1724 thanks_for_the_memories()). Mods to shortcut_init() by Chris.
Chris Allegrettae4f940d2002-03-03 22:36:36 +00001725 - Preliminary quoting support for justify. New arg -Q, --quotestr,
1726 changes to do_justify(), global variable quotestr().
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00001727- Makefile.am:
David Lawrence Ramsey0084eaa2002-11-04 16:05:42 +00001728 - Add SYSCONFDIR to DEFS, so we can have an $SYSCONFDIR/nanorc.
Chris Allegretta40b85e72002-02-09 21:56:09 +00001729 - Change localedir line to 1.0's version.
Jordi Mallach3c5653d2002-02-23 18:23:43 +00001730 - Moved m4/ stuff to its own m4/Makefile.am.
Jordi Mallach87435d92002-03-05 17:58:34 +00001731- m4/aclocal_inc.m4:
1732 - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for
1733 macros (Gergely Nagy).
Jordi Mallach3c5653d2002-02-23 18:23:43 +00001734- configure.in:
1735 - Renamed to configure.ac.
1736- configure.ac:
1737 - Moved to autoconf 2.52 (Jeff Bailey).
Jordi Mallach87435d92002-03-05 17:58:34 +00001738 - Added call to AM_ACLOCAL_INCLUDE.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001739- files.c:
1740 read_byte()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001741 - Added check for control characters (indicative of a binary
Chris Allegretta48b06702002-02-22 04:30:50 +00001742 file), set NO_CONVERT if found (fixes by DLR).
Chris Allegrettaf5de33a2002-02-27 04:14:16 +00001743 do_insertfile()
1744 - Added support for -o in prompt (Steven Kneizys).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001745- global.c:
1746 - Move openprev and opennext functions to shortcuts, they really
1747 aren't toggles (DLR).
Chris Allegrettaf27c6972002-02-12 01:57:24 +00001748- rcfile.c:
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001749 parse_next_regex()
Chris Allegretta3d8e7592002-02-02 07:13:02 +00001750 - Allow " symbol to be in regex without leading \ by checking
1751 for *ptr+1 is not the end of the regex.
Chris Allegrettaff8a68c2002-02-16 20:34:57 +00001752 do_rcfile()
1753 - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
Chris Allegretta48b06702002-02-22 04:30:50 +00001754- nano.1:
1755 - Added Noconvert option to man page (DLR).
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001756- nano.c:
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00001757 justify_format(), do_justify()
1758 - Various fixes for starting blank spaces, spaces after
1759 punctuation, & segfault with quoting strings (David Benbennick).
Chris Allegretta46c1b9e2002-03-05 19:58:45 +00001760 do_justify()
1761 - Don't continue to justify string if it's indented more
1762 (quoting wise) than the beginning of the justification.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001763 help_init()
1764 - Added message re: having multiple blank buffers (DLR).
Chris Allegretta9caa1932002-02-15 20:08:05 +00001765 main()
1766 - Add 407 as equiv of 26, this seems to be sent when using
1767 ^Z in linux console with keypad() enabled.
Chris Allegrettabc72e362002-02-16 20:03:44 +00001768- rcfile.c:
1769 - Get rid of unneeded relativechars from rcopts (DLR).
1770- search.c
1771 do_replace(), findnextstr()
1772 - Fixes for various search issues (Ken Tyler)
Chris Allegrettaf27c6972002-02-12 01:57:24 +00001773- winio.c:
1774 do_cursorpos()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001775 - Rewritten to show col place as well as character place, without
Chris Allegrettaf27c6972002-02-12 01:57:24 +00001776 needing an entirely separate flag.
Chris Allegrettaa8c22572002-02-15 19:17:02 +00001777 bottombars(), onekey()
1778 - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
Chris Allegrettabc72e362002-02-16 20:03:44 +00001779 - More cleanups w/width of shortcut.
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00001780- utils.c:
Chris Allegretta99ed9dc2002-02-28 00:57:18 +00001781 strcasestr(),revstrcasestr()
1782 - Renamed to stristr and revstristr since strcasestr has not
1783 been confirmed to be detected properly on various Linux
1784 systems.
Chris Allegrettad4fa0d32002-03-05 19:55:55 +00001785 strstrwrapper()
1786 - NANO_SMALL test was backwards (Ken Tyler).
1787- winio.c:
1788 strlenpt()
1789 - Changed main function to strnlenpt() for new justify changes,
1790 original function now just a stub.
Chris Allegretta3c597d02002-01-26 03:42:14 +00001791- nanorc.sample
1792 - Mention unset in the sample nanorc.
Jordi Mallach83ffefb2002-01-25 21:00:18 +00001793- po/ca.po, po/es.po:
1794 - Catalan and Spanish translation updates (Jordi).
Jordi Mallach9c34a162002-01-26 00:46:47 +00001795- po/sv.po:
1796 - Swedish translation updates (Christian Rose).
1797- po/fr.po:
1798 - French translation updates (Jean-Philippe Guérard).
Jordi Mallach8636f7b2002-01-26 19:23:37 +00001799- po/nn.po:
1800 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
1801- po/de.po:
1802 - German translation updates (Michael Piefel).
Chris Allegretta8dbfb5c2002-01-28 15:56:15 +00001803- po/it.po:
1804 - Italian translation updates (Marco Colombo).
Jordi Mallach94def062002-02-06 12:14:25 +00001805- po/cs.po:
1806 - Partial Czech translation updates (Vaclav Haisman).
Jordi Mallach8bfd3112002-02-06 20:53:04 +00001807- po/hu.po:
1808 - Hungarian translation updates, or to be precise, rewrite
1809 (Gergely Nagy).
Jordi Mallachb3b28c12002-02-07 13:51:00 +00001810- po/uk.po, po/ru.po:
Jordi Mallach507c3612002-02-14 18:57:23 +00001811 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
1812- po/da.po:
1813 - Danish translation updates (Keld Simonsen).
Jordi Mallache46d43d2002-02-15 17:13:11 +00001814- po/nb.po:
1815 - Norwegian bokmĂĄl translation updates (Stig E Sandoe).
Jordi Mallach62d21712002-02-20 16:21:27 +00001816- po/nl.po:
1817 - Dutch translation updates (Guus Sliepen).
Jordi Mallacha3322fd2002-03-05 11:23:17 +00001818- po/pl.po:
1819 - Polish translation updates (Wojciech Kotwica).
Jordi Mallach83ffefb2002-01-25 21:00:18 +00001820
Chris Allegretta491029e2002-01-25 17:02:32 +00001821nano-1.1.6 - 01/25/2002
Chris Allegretta044d1b12002-01-08 00:33:32 +00001822- General
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001823 - Add Meta-A as alternate keystroke for ^^ for people with
Chris Allegretta044d1b12002-01-08 00:33:32 +00001824 non-US keyboards.
Chris Allegretta967a1e22002-01-10 00:50:38 +00001825 - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
1826 browser.
Chris Allegretta1bc0c7e2002-01-08 15:00:24 +00001827 - Better partial word checking code. New function
1828 search.c:is_whole_word(), changes to findnextstr(),
1829 and nano.c:do_int_spell_fix() (Rocco Corsi).
Chris Allegretta6c1e6612002-01-19 16:52:34 +00001830 - Added multiple-line regex support. Format in .nanorc is
1831 start="regex" end="regex". Cleaned up nanorc:parse_colors(),
1832 added parse_next_regex(), changes to edit_add in winio.c(),
1833 changes to colortype, cleaning up some old cruft.
Chris Allegretta15b23f42002-01-19 19:15:18 +00001834 - Upgrade to gettext 0.10.40, probably broke everything again :)
Chris Allegretta24e48d82002-01-23 01:06:20 +00001835 - Upgraded to and then downgraded from automake 1.5, as there
1836 are severe security implications.
Chris Allegrettaea250e82002-01-16 01:09:11 +00001837- color.c:
1838 do_colorinit()
1839 - Moved some comments and braces around so color can work
1840 w/slang (DLR).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001841- global.c:
1842 shorcut_init()
1843 - Replace hard coded ALT_G and ALT_H values in the replace
1844 and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
Jordi Mallach345a8462002-01-07 11:35:16 +00001845- nano.c:
1846 usage()
1847 - Remove extra \n in --keypad description (Jordi).
Chris Allegrettaf7dee922002-01-07 16:43:25 +00001848 main()
1849 - Check that alt value is an alpha char before comparing to
1850 val - 32, fixes Alt-R calling doprev instead of replace.
Chris Allegrettab2cd10d2002-01-20 00:54:42 +00001851 do_char()
1852 - Run edit_refresh() if ENABLE_COLOR is defined so adding
1853 multi-liners will update (e.g. /* in C).
Chris Allegretta23b74b22002-01-21 20:32:22 +00001854 do_int_spell_fix()
1855 - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
Chris Allegretta7b0667f2002-01-10 12:44:21 +00001856 do_suspend()
1857 - Call tcsetattr() to restore the old terminal settings, so
Chris Allegretta5bbce6a2002-01-10 12:48:16 +00001858 tcsh can use ^C after suspend for example (fixes BUG #68).
Chris Allegretta438f7132002-01-16 00:54:47 +00001859 do_wrap()
1860 - Move "right" increment to part where new line is created,
1861 should change (fix?) some wrapping problems with autoindent.
Jordi Mallach5285ca92002-01-17 12:40:33 +00001862 version()
1863 - Show --enable-multibuffer independently of --enable-extra being
1864 compiled in (Jordi).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001865- nano.h:
1866 - Changed color struct slightly, because of previous issue with
1867 applying color painting in order, the "str" portion was
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001868 useless. Renamed "val" in colortype to "start", added "end"
Chris Allegrettaf478f832002-01-18 21:54:35 +00001869 for multi-line color strings.
1870- rcfile.c:
1871 General
1872 - Took silly variables being passed everywhere like lineno and
1873 filename and made them static variables.
Chris Allegretta6c1e6612002-01-19 16:52:34 +00001874 - Re-indented.
Chris Allegretta34f80982002-01-22 20:09:20 +00001875 - Added stdarg.h to includes.
Chris Allegrettaf478f832002-01-18 21:54:35 +00001876 rcfile_error()
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001877 - Now automatically prepends the "error in line blah at foo"
Chris Allegrettaf478f832002-01-18 21:54:35 +00001878 message to error messages.
1879 parse_colors()
1880 - Added section for computing "end" section.
1881 parse_next_word()
1882 - Added support for "\ ", in word parsing.
Chris Allegrettae29697d2002-01-14 03:31:10 +00001883- search.c:
Chris Allegretta1c2fddc2002-01-21 20:40:14 +00001884 do_search()
1885 - Check position of cursor and return value of findnextstr and
1886 tell user if search string only occurs once (Rocco & Chris).
Chris Allegrettae29697d2002-01-14 03:31:10 +00001887 findnextstr()
1888 - Fix off by one in check for wrap around (Rocco Corsi).
Chris Allegretta3d0739c2002-01-07 14:41:32 +00001889- winio.c:
1890 edit_refresh()
1891 - Rename lines to nlines to fix AIX breakage (reported by
1892 Dennis Cranston, re-reported by arh14@cornell.edu).
Chris Allegrettaf478f832002-01-18 21:54:35 +00001893 edit_add()
1894 - Refuse to honor regex matches of 0 characters when applying
1895 color highlighting, and say so on the statusbar. Otherwise
1896 we go into an infinite loop, the error message should clue
1897 users into the fact that their regex is doing something bad.
Jordi Mallachd6481e42002-01-17 12:14:23 +00001898- THANKS:
1899 - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
Jordi Mallach83d5ced2002-01-17 12:06:49 +00001900 not bokmĂĄl as we claimed (Jordi).
Chris Allegretta9963b0e2002-01-19 19:35:12 +00001901- .cvsignore
1902 - Added config.guess config.sub install-sh missing & mkinstalldirs
Jordi Mallach3da91392002-01-07 11:50:13 +00001903- po/ca.po, po/es.po:
Jordi Mallache36a1522002-01-07 15:12:48 +00001904 - Catalan and Spanish translation updates (Jordi).
1905- po/sv.po:
1906 - Swedish translation update (Christian Rose).
Jordi Mallachd39698f2002-01-07 15:16:26 +00001907- po/de.po:
1908 - German translation update (Michael Piefel).
Jordi Mallachbf1a1e82002-01-08 14:07:39 +00001909- po/fr.po:
1910 - French translation update (Jean-Philippe Guérard).
1911- po/ru.po, po/uk.po:
1912 - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
Jordi Mallach83d5ced2002-01-17 12:06:49 +00001913- po/no.po:
1914 - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
1915- po/nn.po:
1916 - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
1917- po/nb.po:
1918 - New Norwegian bokmĂĄl translation (Stig E Sandoe <stig@ii.uib.no>).
Jordi Mallach3a23a552002-01-18 23:04:16 +00001919- po/da.po:
1920 - Danish translation update (Keld Simonsen).
Chris Allegrettad1751932002-01-05 20:01:53 +00001921
Chris Allegretta110927b2002-01-05 19:49:06 +00001922nano-1.1.5 - 01/05/2002
Chris Allegretta32da4562002-01-02 15:12:21 +00001923- General
1924 - Better integration of View mode (-v) and multibuffer.
1925 Fixes to new_file(), do_insertfile_void(), shortcut_init()
1926 (David Lawrence Ramsey).
Chris Allegretta48bd3782002-01-03 21:26:34 +00001927 - The keypad handling has changed (again). We now use
1928 the keypad() function by default. New flag -K, --keypad
1929 allows the old behavior for those using the keypad arrow keys
1930 and rxvt-based terminals.
Jordi Mallach8ae57892002-01-04 17:57:40 +00001931 - Updated copyright notices to 2002 (Jordi).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00001932- nano.c:
Chris Allegretta32da4562002-01-02 15:12:21 +00001933 die()
1934 - Only save files that were modified (David Lawrence Ramsey).
Chris Allegretta0bb70dc2001-12-17 04:34:23 +00001935 do_cont()
1936 - Run signal_init() after doupdate() so ^Y wont suddenly
1937 start suspending after returning from ^Z suspend in Hurd.
1938 signal_init()
1939 - Unconditionally disable VDSUSP if it exists, stops ^Y
1940 suspending nano on the Hurd.
Jordi Mallach11f39e72001-12-25 19:17:32 +00001941 help_init()
Chris Allegretta64dd95d2001-12-27 20:53:54 +00001942 - Typo fixes in help strings (Jordi).
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00001943 - New variable helplen needed cause currslen is not always
Chris Allegretta13fd44b2002-01-02 13:59:11 +00001944 the length we want (bug found by David Lawrence Ramsey).
Chris Allegretta180a5692002-01-02 14:30:33 +00001945 - Typo in file switch string (found by David Lawrence Ramsey).
1946 main()
1947 - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
Chris Allegretta32da4562002-01-02 15:12:21 +00001948 - Handle OS-specific insert keys by jump to do_insertkey (David
1949 Lawrence Ramsey).
Chris Allegretta64dd95d2001-12-27 20:53:54 +00001950- files.c:
1951 read_file()
1952 - Make conversion message less confusing (suggested by Jordi).
Chris Allegretta13fd44b2002-01-02 13:59:11 +00001953- rcfile.c:
1954 parse_next_word()
1955 - Get rid of ptr == \n check to abort, screws up option
1956 parsing (bug found by David Lawrence Ramsey)
Chris Allegretta52db7a22001-12-17 23:39:36 +00001957- winio.c:
1958 update_line()
Chris Allegretta3c57e502001-12-19 16:20:43 +00001959 - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
1960 high ascii characters.
Jordi Mallach9335f912001-12-23 00:03:18 +00001961 titlebar()
1962 - gettextized a pair of strings.
Chris Allegrettae5b9eac2002-01-05 01:52:02 +00001963 bottombars()
1964 - Get rid of that annoying reversed line when color is on! :)
Chris Allegretta1bf8f5e2002-01-05 03:30:10 +00001965 edit_add()
1966 - Little fixes to let color highlights not bleed onto the next line.
Chris Allegrettaa16e4e92002-01-05 18:59:54 +00001967 statusq()
1968 - Initialize "list".
Chris Allegrettacf680712001-12-18 14:59:20 +00001969- m4/gettext.m4:
1970 - Back down to 1.1.3 version.
Jordi Mallachcf9f7832001-12-26 12:33:01 +00001971- faq.html:
1972 - Various link updates and other fixes (Aaron S. Hawley).
1973 - Typo fixes (David Lawrence Ramsey).
Chris Allegrettafae0dce2002-01-04 13:30:42 +00001974- AUTHORS
1975 - Add DLR.
Jordi Mallach77b12322001-12-22 23:23:40 +00001976- po/sv.po:
1977 - Swedish translation update (Christian Rose).
Jordi Mallach3da91392002-01-07 11:50:13 +00001978- po/ru.po, po/uk.po:
Jordi Mallach32793982001-12-28 16:35:28 +00001979 - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
Jordi Mallach3da91392002-01-07 11:50:13 +00001980- po/ca.po, po/es.po:
Jordi Mallach414acab2001-12-26 00:15:16 +00001981 - Catalan and Spanish translations updates (Jordi).
Jordi Mallacha4ffccb2001-12-26 00:31:17 +00001982- po/pl.po:
1983 - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
Jordi Mallach65f3e422002-01-04 17:48:58 +00001984 - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
1985 official maintainer.
Jordi Mallach1a58fb42001-12-27 16:00:23 +00001986- po/fr.po:
1987 - French translation update (Michel Robitaille).
Jordi Mallach05d8ce92001-12-27 20:34:42 +00001988- po/gl.po:
1989 - Galician translation update (Jacobo TarrĂ­o).
Jordi Mallach78e2c9d2001-12-27 22:06:38 +00001990- po/it.po:
1991 - Italian translation update (Marco Colombo).
Jordi Mallach32793982001-12-28 16:35:28 +00001992- po/de.po:
1993 - German translation update (Michael Piefel).
Jordi Mallach13f30172002-01-02 18:45:58 +00001994- po/fr.po:
1995 - French translation update (Jean-Philippe Guérard).
Chris Allegretta5fd6cac2001-12-12 13:55:19 +00001996
Chris Allegretta7bf25092001-12-12 02:44:40 +00001997nano-1.1.4 - 12/11/2001
Chris Allegretta08893e02001-11-29 02:42:27 +00001998- General
1999 - Preliminary syntax highlighting support. New functions
2000 colortoint() and parse_color() in rcfile.c, new code in
2001 edit_add() in winio.c to actually do the highlighting. It's
2002 not even close to pretty yet :P
Chris Allegretta2084acc2001-11-29 03:43:08 +00002003 - Many int/long alignments (David Lawrence Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00002004- files.c:
Chris Allegretta2084acc2001-11-29 03:43:08 +00002005 - Fixes for tab completion and screen refresh (David Lawrence
2006 Ramsey).
Chris Allegretta0567bfe2001-10-28 14:42:18 +00002007 add_open_file()
2008 - Get rid of unsetting MARK_ISSET because otherwise writing
2009 marked text will automatically unset the marker with
2010 multibuffer enabled.
Chris Allegretta22ec59a2001-10-28 04:56:08 +00002011- global.c:
2012 - Define currshortcut and currslen when either DISABLE_MOUSE
Chris Allegretta8c8d3702001-10-28 05:00:39 +00002013 or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
2014 Minghetti).
Chris Allegretta7bf72742001-10-28 04:29:55 +00002015- nano.c:
2016 main()
Chris Allegrettaf3e80ad2001-10-28 04:49:10 +00002017 - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
Chris Allegretta9b8b3702001-11-19 05:09:15 +00002018 - Added better Hurd support for function keys (Alt-V,U,9,@,F).
2019 signal_init()
2020 - do SIG_IGN for the SIGTSTP sigaction regardless of whether
2021 we have _POSIX_VDISABLE or not (more Hurd fixes)
Jordi Mallach773623c2001-10-28 21:00:49 +00002022 help_init()
2023 - Typo fixes and additions to the new help texts.
Chris Allegretta2084acc2001-11-29 03:43:08 +00002024 do_curpos()
2025 - Now takes arg for constant updating to always show the cursor
2026 position (David Lawrence Ramsey).
2027 do_wrap()
2028 - Many fixes (David Lawrence Ramsey).
Chris Allegretta80838272001-12-02 06:03:22 +00002029 do_spell()
2030 - Dont prompt for replace if we don't change the word in
2031 question (Rocco Corsi).
Jordi Mallach8c9c5722001-10-31 13:02:12 +00002032- po/de.po:
2033 - German translation updates (Karl Eichwalder).
2034- po/ru.po:
2035 - Russian translation updates (Sergey A. Ribalchenko).
2036- po/sv.po:
2037 - Swedish translation updates (Christian Rose).
Jordi Mallachfeebeb92001-11-19 12:09:51 +00002038- po/da.po:
2039 - Danish translation updates (Keld Simonse).
2040- po/es.po:
2041 - Spanish translation updates (Jordi).
Jordi Mallachdf59ae62001-12-07 14:00:56 +00002042- po/fr.po:
2043 - French translation updates (Michel Robitaille).
Chris Allegretta9c23a442001-12-12 01:45:01 +00002044- m4/gettext.m4:
2045 - diff against mutt 1.2.5's gettext.m4.
Chris Allegretta7b409bd2001-10-26 16:15:58 +00002046
Chris Allegrettadc57bba2001-10-26 16:14:45 +00002047nano-1.1.3 - 10/26/2001
Chris Allegrettab3655b42001-10-22 03:15:31 +00002048- General
2049 - Finally wrote function-specific help mode. Changes to
2050 nano.c:help_init() and winio.c:do_help(). Changed
2051 currshortcut and currslen #ifdefs to depend on both
2052 DISABLE_HELP and DISABLE_MOUSE being defined to not
2053 include. Changed all the shortcuts and lengths.
Chris Allegrettafa0c6962001-10-22 23:22:19 +00002054 - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again,
2055 this was causing nasty errors if the call to nrealloc moved
2056 where the data was located.
Chris Allegretta3a24f3f2001-10-24 11:33:54 +00002057 - Changed header comments to say "version 2" instead of "version
2058 1" as the COPYING file is actually version 2 of the GPL (bug
2059 noticed by Jordi Mallach).
Chris Allegrettab3655b42001-10-22 03:15:31 +00002060- cut.c:
2061 do_cut_text()
2062 - Check to see whether marked text is contained within edit
2063 window and if so only do an edit_refresh (variable dontupdate
2064 replaces cuttingpartialline).
2065 do_uncut_text()
2066 - Similar display fixes (David Lawrence Ramsey).
Chris Allegrettabeead282001-10-18 14:15:28 +00002067- faq.html
2068 - Removed nano-editor.org FTP site address [deprecated] and added
2069 the GNU one.
Chris Allegretta76e291b2001-10-14 19:05:10 +00002070- files.c:
2071 - Added status messages for converted DOS and Mac files.
Chris Allegrettab3655b42001-10-22 03:15:31 +00002072 People should know that their file wasnt normally formatted.
2073 load_file()
2074 - Status message when trying to load an already loaded file with multiple
2075 buffers (David Lawrence Ramsey).
2076 read_file()
2077 - Get rid of useless linetemp variable and name num_lines int
2078 (David Lawrence Ramsey).
Chris Allegretta76e291b2001-10-14 19:05:10 +00002079- nano.c:
2080 - New function do_prev_word, similar to do_next_word. Hard coded as
Chris Allegretta878ced32001-10-22 20:05:34 +00002081 Alt-space, as next word is hard coded as control-space. Fixed
2082 goofy logic setting x pos to value of last line when hitting the
Chris Allegrettaabf22a82001-10-24 00:58:19 +00002083 beginning of first line, prog should simply abort. Added
2084 the #ifdefs around the code in main().
Chris Allegretta10786402001-10-24 17:27:46 +00002085- nano.h:
2086 - Additional #define, SMALL_TOO to determine how long
2087 MAIN_LIST_LEN is. We need this because of the find matching
2088 bracket code.
Chris Allegretta48ebb812001-10-24 01:34:15 +00002089 main()
Chris Allegretta347c1842001-10-24 01:37:13 +00002090 - Moved #ifndef NANO_SMALL down past the case 0: line so
2091 control-space doesn't insert a \0 (ack!)
Chris Allegrettab3655b42001-10-22 03:15:31 +00002092- rcfile.c:
2093 - Fix incorrect number of rc options (David Lawrence Ramsey).
Jordi Mallach482d1652001-10-06 02:36:25 +00002094- po/sv.po:
2095 - Updated Swedish translation (Christian Rose).
Chris Allegretta2084acc2001-11-29 03:43:08 +00002096- po/da.po:
Jordi Mallach2476ebd2001-10-07 00:26:26 +00002097 - Updated Danish translation (Keld Simonsen).
Jordi Mallach26f46032001-10-07 15:53:27 +00002098- po/es.po:
2099 - Style updates to Spanish translation (Santiago Vila).
Jordi Mallach3da91392002-01-07 11:50:13 +00002100- po/ru.po, po/uk.po:
Jordi Mallacheb94b9e2001-10-15 14:26:48 +00002101 - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
Chris Allegretta9a397892001-10-04 01:25:43 +00002102
Chris Allegretta03260b42001-10-04 01:24:07 +00002103nano-1.1.2 - 10/03/2001
Chris Allegrettac1049ac2001-08-17 00:03:46 +00002104- General
2105 - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(),
2106 new flag CLEAR_BACKUPSTRING because there's no easy way to
2107 clear the backupstring without making it global (messy), so we
2108 use a flag instead (just as messy?)
Chris Allegrettaff989832001-09-17 13:48:00 +00002109 - --enable-tiny now leaves out the Auto Indent code, do you really
2110 need that on a bootdisk? =-)
Chris Allegrettae1f14522001-09-19 03:19:43 +00002111 - New flag -o, --operatingdir, similar to Pico's -o mode. New
2112 function check_operating_dir(), changes to load_file (arg),
Chris Allegrettae09cd1d2001-09-19 03:22:52 +00002113 open_file_dup_search (arg), new function do_gotopos for -F
Chris Allegrettace78c1e2001-09-23 01:18:03 +00002114 (David Lawrence Ramsey).
Chris Allegretta91841892001-09-21 02:37:01 +00002115 - Code to read/write dos formatted files. Massive amounts of
Chris Allegretta7004c282001-09-22 00:42:10 +00002116 new code in read_line and write_file. New cmdline flag
2117 (-D --dos) to automatically write the file in DOS format,
2118 regardless of the original format.
Chris Allegretta995177f2001-09-22 04:34:23 +00002119 - Mac file writing supported too. Flag -M, --mac. Toggle
2120 Meta-O (MacOS? OS-X? =-)
Chris Allegretta3e3ae942001-09-22 19:02:04 +00002121 - New smooth scroll code by Ken Tyler. New flag -S, --smooth,
Chris Allegrettad948edc2001-10-02 00:38:56 +00002122 changes to page_up() and page_down(). Many fixes to paging by
Chris Allegretta5050d352001-09-27 00:44:58 +00002123 David Lawrence Ramsey.
Chris Allegretta8d990b52001-09-22 22:14:25 +00002124 - Bracket (brace, parens, etc) matching code by Ken Tyler.
2125 New functions do_find_bracket(), changes to findnextstr(),
2126 command is Meta-] (hope you dont mind since I already sold off
Chris Allegretta2bef1822001-09-28 19:53:11 +00002127 Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
2128 by DLR.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00002129 - Call do_gotopos from do_alt_spell() to keep position
2130 consistent when invoking alt speller (DLR).
Chris Allegretta7fdbd052001-10-02 00:55:38 +00002131 - Readded DISABLE_CURPOS because in certain instances (like
Chris Allegretta03260b42001-10-04 01:24:07 +00002132 all the "Search Wrapped" lines) the cursor position will
Chris Allegretta7fdbd052001-10-02 00:55:38 +00002133 be different yet we don't want the cursor position displayed.
Chris Allegrettae10f3892001-10-02 03:54:40 +00002134 - Take control-space out of -tiny build, unneeded.
Chris Allegretta222a0862001-10-02 00:24:37 +00002135- cut.c:
2136 cut_marked_segment()
2137 - Add magic line when cutting a selection including filebot
Chris Allegretta31b2b812001-10-03 01:51:33 +00002138 (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
Chris Allegrettadc2ca882001-10-02 23:55:09 +00002139 do_cut_text()
Chris Allegretta5e4b1082001-10-03 00:45:06 +00002140 - Don't recenter the line when cutting one line (DLR) (Bug #65).
Jordi Mallachf57b8862001-10-03 12:45:22 +00002141- faq.html:
2142 - Notes about the Free Translation Project.
2143 - Debian additions.
Chris Allegretta9519eb02001-09-27 20:46:25 +00002144- files.c:
2145 do_writeout()
2146 - Expanded strings to not use %s and ?: to determine
2147 write/append string to be nice to translators.
Chris Allegretta1b3381b2001-09-28 21:59:01 +00002148 new_file()
2149 - Initialize totsize (DLR).
Chris Allegretta0357c4d2001-09-19 02:59:25 +00002150- nano.c:
2151 main()
Chris Allegrettab516d8e2001-10-03 00:01:36 +00002152 - Added var constcheck as a CRC-like check of whether cursor
Chris Allegretta0357c4d2001-09-19 02:59:25 +00002153 pos has changed and if so update the pos with -c.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00002154 - Many tweaks and changes from numerics to char equivs
2155 (David Lawrence Ramsey).
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00002156 - Fix the KEY_IC being undefined when using slang.
Chris Allegretta6414b402001-09-21 03:21:11 +00002157 do_mouse()
2158 - Send 27 when the menu item clicked is an alt key seq... The
2159 lines aren't lined up since the menu width changed though,
2160 this breakage depends on whether the new widths will be kept
2161 or not (FEEDBACK!!)
Chris Allegrettaa951f212001-09-27 21:07:39 +00002162 - Change k based on currslen to allow the new widths in
2163 bottombars().
Chris Allegretta56214c62001-09-27 02:46:53 +00002164 do_wrap()
2165 - Fixes for Pico incompatibility in cases 2b and 2c.
2166 (David Lawrence Ramsey).
2167 global_init()
2168 - New arg save_cutbuffer, allows cutbuffer to not be lost when
2169 using multibuffer.
Jordi Mallachf57b8862001-10-03 12:45:22 +00002170- nano.1:
2171 - Added new features, fixed some typos (Jordi).
Jordi Mallach372b1a02001-08-08 19:35:23 +00002172- nano.texi:
Jordi Mallachf57b8862001-10-03 12:45:22 +00002173 - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
2174 - Added many command line options, toggles and other additions
2175 (Jordi).
Chris Allegrettabeb54972001-09-22 23:54:45 +00002176- rcfile.c:
2177 - NUM_RCOPTS fix (DLR).
Chris Allegretta66c33b82001-10-02 23:57:31 +00002178 - Add tabsize support to rc file (Nathan Heagy).
Chris Allegrettaca1a82e2001-10-03 15:18:41 +00002179 - Fix incorrect argument in fill and tabsize error message
2180 (Nathan Heagy)
Chris Allegretta759d3522001-09-27 13:04:10 +00002181- search.c:
2182 - Changed search prompt to "Search" followed by a list of
2183 bracketed, free-standing modifiers that do not imply a grammar,
2184 and the (to replace) string separately. Hopefully this resolves
2185 the i18n problems that this provoked.
Chris Allegretta7fdbd052001-10-02 00:55:38 +00002186 findnextstr()
2187 - Various fixes that need testing (Ken Tyler).
Chris Allegretta9b3c7e82001-08-25 16:00:53 +00002188- winio.c:
2189 - Add David Lawrence Ramsey to credits.
Chris Allegretta96eef732001-08-25 16:41:37 +00002190 bottombars()
2191 - Spread out the menu items, feedback definitely needed on this.
Chris Allegrettace78c1e2001-09-23 01:18:03 +00002192 nanogetstr()
2193 - More key fixes (David Lawrence Ramsey)
Chris Allegretta92f5fdc2001-10-02 02:58:07 +00002194 - Don't be clever and wasteful, just repaint every iteration.
Jordi Mallach2cde0a22001-09-05 13:23:53 +00002195- po/nl.po:
Jordi Mallachc6c35ea2001-09-09 11:04:43 +00002196 - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
Jordi Mallachc1917e72001-09-28 13:06:29 +00002197- po/ca.po, po/es.po:
2198 - Updated Catalan and Spanish translation (Jordi).
Jordi Mallachd1625cd2001-09-10 11:36:45 +00002199- po/gl.po:
2200 - Updated Galician translation (Jacobo TarrĂ­o).
Jordi Mallach90bbdd32001-09-12 19:06:59 +00002201- po/da.po:
2202 - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
Jordi Mallach6c49b3f2001-09-15 22:47:05 +00002203- po/sv.po:
2204 - Updated Swedish translation (Christian Rose).
Jordi Mallach1e36fd82001-10-01 17:24:24 +00002205- po/it.po:
2206 - Updated Italian translation (Marco Colombo).
Jordi Mallach780f3202001-10-03 20:47:47 +00002207- po/fi.po:
2208 - Updated Finnish translation (Pauli Virtanen).
Chris Allegretta47a26862001-07-29 01:17:38 +00002209
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00002210nano-1.1.1 - 07/28/2001
Chris Allegrettaef8f98d2001-07-19 12:24:17 +00002211- General
2212 - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
2213 - Added m4/ directory to allow rebuilding using only the internal
2214 version of gettext.m4 (Albert Chin).
Chris Allegretta307d4c82001-07-15 20:25:33 +00002215- nano.c:
2216 main()
Chris Allegretta0e8c8d82001-07-29 01:16:27 +00002217 - Change the multibuffer getopt option to 'F' (David Lawrence
2218 Ramsey)
Chris Allegretta41ed0162001-07-24 00:21:03 +00002219 do_mark()
2220 - Temporarily disable cursorpos when enabled to be able to see
2221 the mark (un)set message (Ken Tyler).
Chris Allegretta4839d232001-07-19 22:03:51 +00002222- nanorc.sample
2223 - Typo fixes and updates (David Lawrence Ramsey)
Chris Allegretta5cce53b2001-07-17 10:42:50 +00002224- files.c:
Chris Allegrettae6421972001-07-18 01:03:36 +00002225 new_file()
2226 - Do add_open_files if there aren't any open yet (David Lawrence
2227 Ramsey).
2228 close_open_file()
2229 - Try to open the next file first, then the previous one
2230 (David Lawrence Ramsey).
Chris Allegretta5f36c372001-07-16 00:48:53 +00002231- global.c:
2232 shortcut_init()
2233 - Rewrote the whereis and replace lists to put CANCEL at the end
2234 of the list, and not include the toggle functions when using
2235 NANO_SMALL.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00002236- nano.h:
2237 - Fix type in INSERTFILE_LIST_LEN.
Chris Allegretta5f36c372001-07-16 00:48:53 +00002238 - Rewrote all the macro definitions to be a little less messy,
2239 for the #ifdefs anyway.
Chris Allegretta307d4c82001-07-15 20:25:33 +00002240- rcfile.c:
2241 - Update for the multibuffer option (oops) (David Lawrence Ramsey).
Chris Allegrettaf372bd92001-07-15 22:24:24 +00002242- search.c:
Chris Allegretta5f36c372001-07-16 00:48:53 +00002243 - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
Chris Allegrettaf372bd92001-07-15 22:24:24 +00002244 search_init()
2245 - add #ifdef NANO_SMALL around toggles code.
Chris Allegretta5f36c372001-07-16 00:48:53 +00002246- winio.c:
2247 bottombars()
2248 - Fixed an off by one that wasn't letting lines with odd #
2249 shortcuts work in certain cases.
Chris Allegretta47f77b42001-07-15 16:13:18 +00002250
Chris Allegretta9a748602001-07-15 16:07:23 +00002251nano-1.1.0 - 07/15/2001
Chris Allegretta6b58acd2001-04-12 03:01:53 +00002252- General
2253 - New global variables currshortcut and currslen to support using
Chris Allegretta051fc6e2001-05-05 23:17:36 +00002254 the mouse with the shortcuts. Also supports clicking on files
Chris Allegretta6fe61492001-05-21 12:56:25 +00002255 in browser. Added #ifdef DISABLE_MOUSE around this code also.
Chris Allegretta84de5522001-04-12 14:51:48 +00002256 - Changed mouse disabling code from depending on --enable-tiny
Chris Allegretta88520c92001-05-05 17:45:54 +00002257 to its own flag, --disable-mouse. The --tiny option defines
Chris Allegretta84de5522001-04-12 14:51:48 +00002258 this automatically, but now just mouse support can be disabled
2259 if desired.
Rocco Corsi12f294c2001-04-14 06:50:24 +00002260 - File Browser supports the "Goto Directory"
Chris Allegretta8d8e0122001-04-18 04:28:54 +00002261 - Added rcfile.c source file. Only includes much of anything when
2262 --enable-nanorc is used. Tons of new funcs, most notably
2263 do_rcfile() called from nano.c:main(). Added much needed
2264 function ncalloc(), will have to go through source code later
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002265 and change the appropriate calls which used nmalloc for lack of
2266 an appropriate calloc function *** FIXME ***
Rocco Corsi4dfaf932001-04-20 01:59:55 +00002267 - After "Alternate" spell checker is called, cursor is repositioned on
Chris Allegretta88520c92001-05-05 17:45:54 +00002268 the same line as before ^T was pressed.
Chris Allegretta6efda542001-04-28 18:03:52 +00002269 - Moved config.h up in all .c files #include list (Albert Chin).
Chris Allegretta88520c92001-05-05 17:45:54 +00002270 - Added config.guess and config.sub to distribution because,
2271 apparently, newer autoconf/automakes can't live without them.
2272 - Various spelling updates by David Lawrence Ramsey.
Chris Allegretta88b09152001-05-17 11:35:43 +00002273 - Changed all string allocations to charalloc(), new function
2274 designed to take nmalloc argument but call calloc based on
2275 (char *) size.
Chris Allegretta6fe61492001-05-21 12:56:25 +00002276 - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
2277 and justify being disabled. This allows us to compile out the
2278 -r flag if neither are set, and will also allow us to comment
2279 out -W when it is written.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002280 - Allow fill to take a negative value to signify a "from right side"
Chris Allegretta6fe61492001-05-21 12:56:25 +00002281 value. This allows the value to vary with the screen size yet
2282 still be correct. New static value wrap_at to minimize code
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002283 impact. Updated man page and info file.
Chris Allegrettacc197ef2001-05-29 04:21:44 +00002284 - Allow file appending. New shortcut list nano_insertfile_list (since
2285 insert and write routines can't share shortcut lists anymore),
2286 new args to do_writeout and write_file called append, and of source
2287 code changes to those functions.
Chris Allegrettae4933a32001-06-13 02:35:44 +00002288 - Allow backwards searching. Drastic rewrite of the search prompt
2289 string by Chris. All other code by Ken Tyler. New globals
2290 nano_reverse_msg, new functions revstrstr and revstrcasestr,
2291 many changes to search functions. Not too big a code size
2292 increase!
Chris Allegretta658399a2001-06-14 02:54:22 +00002293 - Moved extension functions (Case Sensitive, Regexp, and Backwards
2294 Search, Append key in write file function) to Meta keys, as
2295 people are complaining loudly about nano not being control-key
Chris Allegretta6df90f52002-07-19 01:08:59 +00002296 compatible with Pico, which is a Bad Thing (TM). Changes to
Chris Allegretta658399a2001-06-14 02:54:22 +00002297 shortcut_init, toggle_init, new toggles for backwards and regexp
2298 (and you can now toggle all search options including regexp at
2299 the Search: prompt!) Changes to nanogetstr to enable Meta
2300 keys to be grabbed, changes to onekey to print M-style shortcuts.
2301 - New macro TOGGLE which just toggles, no more silly checking
2302 ISSET and then using SET or UNSET when we want a simple toggle
2303 for a flag.
Chris Allegretta2d7893d2001-07-11 02:08:33 +00002304 - Added multiple buffer capability (God help us). New configure
Chris Allegretta355fbe52001-07-14 19:32:47 +00002305 option --enable-multibuffer (-F), changes to do_insertfile(),
Chris Allegretta2d7893d2001-07-11 02:08:33 +00002306 do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
2307 and write_file(), new functions add_open_file(),
2308 open_file_change_name(), load_open_file(), open_file_dup_search(),
2309 open_file_dup_fix(), open_prevfile(), open_nextfile(),
2310 close_open_file(), get_full_path(), die_save_file(), etc.
2311 (David Lawrence Ramsey).
Chris Allegretta355fbe52001-07-14 19:32:47 +00002312 - Using --enable-extra automatically defines --enable-multibuffer
2313 changes to version() and configure.in.
Chris Allegretta9a748602001-07-15 16:07:23 +00002314 - Moved to gettext 0.10.38 at the last second, sure to break
2315 something, but at least I can run make distcheck!
Jordi Mallach7fde37f2001-06-22 23:26:19 +00002316- Makefile.am:
2317 - Include ABOUT-NLS and the new THANKS files to the distributed list.
2318- THANKS:
2319 - Initial, incomplete list of people to thank.
Chris Allegretta049149f2001-07-02 01:57:44 +00002320 - Added some more people.
Chris Allegrettaea066c82001-04-13 02:32:06 +00002321- configure.in:
Chris Allegretta88520c92001-05-05 17:45:54 +00002322 - New option, --enable-nanorc, which allows people to have a .nanorc
Chris Allegretta18d70f12001-04-28 15:53:28 +00002323 initialization file and set options normally used on the command
2324 line, and color later on.
Jordi Mallach72549042001-05-02 17:18:17 +00002325 - Added --enable-color option to allow color and syntax highlighting
Chris Allegretta18d70f12001-04-28 15:53:28 +00002326 (stub as of now).
Chris Allegretta4cb991d2001-05-10 22:55:16 +00002327- cut.c:
2328 add_to_cutbuffer()
2329 - Remove useless statements (Rocco).
Chris Allegretta9fe015c2001-05-17 03:41:00 +00002330 cut_marked_segment()
Chris Allegretta53ea9d12001-05-18 19:58:33 +00002331 - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
2332 BUG #60).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00002333 - Added 'destructive' argument. Allows the selected text to be
2334 added to the cutbuffer without changing the contents of the
2335 file. This allows writing selection to separate files.
Chris Allegretta3ba29532001-06-10 20:41:20 +00002336 do_cut_text()
Chris Allegrettaa75bc412001-06-12 23:22:26 +00002337 - If the line is empty when using -k and wasn't already added,
2338 create a dummy line and add it to the cutbuffer (fixes bug #61)
Chris Allegretta40f45c82001-06-21 15:07:40 +00002339 - Reset marked_cut if we blow away the cutbuffer.
Chris Allegretta500b5e32001-06-21 23:58:47 +00002340 - Moved the case of current == mark_beginbuf into cut_marked
2341 segment, so do_writeout could call it when writing selection to
2342 file.
Chris Allegretta40f45c82001-06-21 15:07:40 +00002343 do_uncut_text()
2344 - Reset cutbuffer even if we're uncutting marked or cut to end text!
Jordi Mallach72549042001-05-02 17:18:17 +00002345- faq.html:
2346 - Brought the FAQ up to date, many little changes (Jordi).
Chris Allegretta9a748602001-07-15 16:07:23 +00002347 - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
Rocco Corsi12f294c2001-04-14 06:50:24 +00002348- files.c:
2349 do_browser()
2350 - Minor fixes to the processing of SELECT function (Rocco)
2351 - Added the "Goto Directory" code (Rocco)
Chris Allegrettad4615622001-05-23 21:54:47 +00002352 - Don't shift the size of the file is it's less than 1K. Fixed
2353 files less than 1K being displayed as 0B (Rocco).
Chris Allegrettaa2c02e92001-07-02 01:31:44 +00002354 - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
2355 down, etc, and add the consistent ^C to exit (Jim Knoble).
Chris Allegrettacc197ef2001-05-29 04:21:44 +00002356 do_writeout()
2357 - New code to allow writing selected text to a separate file.
David Lawrence Ramsey5db0cdc2002-06-28 22:45:14 +00002358 When this is done, the current state is preserved.
Chris Allegrettaecc3d7f2001-06-05 23:24:55 +00002359 write_file()
2360 - New arg, nonamechange, means whether or not to update the
2361 current filename after writing the file out.
Chris Allegretta1a8b2962001-06-30 18:41:08 +00002362 - Increment lineswritten when the very last line isn't null.
2363 Fixes off by one count when writing selection to file.
Rocco Corsi12f294c2001-04-14 06:50:24 +00002364- global.c:
2365 - Updated some of the lists for the "Goto Directory" code (Rocco)
Chris Allegretta6cb4e882001-04-29 02:26:17 +00002366- move.c:
2367 page_up()
2368 - Rewritten with a loop to make screen updates work when
2369 mark is set (fixes bug #59).
Chris Allegretta1cde3222001-06-11 06:56:10 +00002370 do_home(), do_end()
2371 - Don't keep cutbuffer.
Jordi Mallach3f8db492001-04-30 10:30:43 +00002372- nano.1:
2373 - Added the missing -r flag (Jordi).
Rocco Corsi12f294c2001-04-14 06:50:24 +00002374- nano.c:
Rocco Corsi4dfaf932001-04-20 01:59:55 +00002375 do_alt_speller()
2376 - Reposition cursor on same line as before ^T was called (Rocco)
Chris Allegretta316e4d92001-04-28 16:31:19 +00002377 ABCD(), main()
2378 - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
Rocco Corsi12f294c2001-04-14 06:50:24 +00002379 main()
2380 - Code to silently process "-g" and "-j" (Rocco)
Chris Allegrettab26ecb52001-07-04 16:27:05 +00002381 - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
Chris Allegretta521e00d2001-06-28 16:52:52 +00002382 signal_init()
2383 - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
2384 SIGCONT from being interrupted, allows suspending nano
2385 to work more reliably, esp. with mutt, etc.
2386 do_suspend()
2387 - Don't try to play with the handler inside the handler. Just
2388 raise a SIGSTOP. We also now write the "use "fg"" message to
2389 stdout instead of stderr.
Chris Allegrettaac899e52001-06-30 04:09:09 +00002390 - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
2391 Eliminates the possibility that nano can be suspended when
2392 it's not supposed to be. Many many many thanks to Jordi and
2393 Tom Lear for helping out finding and fixing this bug!
Chris Allegretta521e00d2001-06-28 16:52:52 +00002394 do_cont()
2395 - Now just does a refresh call instead of playing with the SIGTSTP
2396 handler.
Rocco Corsi12f294c2001-04-14 06:50:24 +00002397- nano.h:
2398 - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
2399- proto.h:
2400 - New shortcut list added: gotodir_list (Rocco).
Rocco Corsi4dfaf932001-04-20 01:59:55 +00002401- search.c:
2402 do_gotoline()
2403 - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
Chris Allegretta5050aa62001-04-22 07:10:21 +00002404 do_replace()
2405 - If we manage to make it in somehow with VIEW_MODE on, abort
2406 nicely (fixes BUG #59).
Chris Allegretta99afb852001-05-16 04:20:57 +00002407- utils.c
2408 strcasestr()
2409 - Replaced by mutt's mutt_stristr function, because the thought
2410 of dynamically allocating memory and copying each line in a file
2411 to do a search or replace was causing me to lose sleep.
Chris Allegretta6efda542001-04-28 18:03:52 +00002412- winio.c:
2413 actual_x()
2414 - Remove inline from function decl (Albert Chin).
Jordi Mallach72549042001-05-02 17:18:17 +00002415- po/POTFILES.in:
2416 - Added utils.c to the list.
2417- po/es.po, po/ca.po:
2418 - Updated (Jordi).
Jordi Mallach96345712001-04-29 10:38:07 +00002419- po/gl.po:
Jordi Mallach64bacd22001-05-14 13:55:30 +00002420 - Galician translation by Jacobo TarrĂ­o.
Jordi Mallach92b3bd22001-05-16 09:10:31 +00002421- po/uk.po, po/ru.po:
2422 - New Ukrainian and Russian translations by Sergey A. Ribalchenko
Jordi Mallach3bf6bf42001-05-14 13:11:56 +00002423 <fisher@obu.ck.ua>, thanks!
Jordi Mallachefd22362001-06-22 16:59:29 +00002424- po/id.po:
2425 - Updated Indonesian translation by Tedi Heriyanto.
Chris Allegretta63ba2d62001-05-16 12:16:28 +00002426- po/it.po
2427 - Updated Italian translation by Marco Colombo.
Jordi Mallachdf7d8b22001-07-05 23:16:05 +00002428- po/no.po:
2429 - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
2430- po/sv.po:
2431 - New Swedish translation by Christian Rose <menthos@menthos.com>.
Chris Allegrettaac840eb2001-04-07 18:21:47 +00002432
2433nano 1.1 tree forked here 04/07/2001
2434
Chris Allegretta38068cd2001-04-06 20:04:23 +00002435nano 1.0.1 - 04/06/2001
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00002436- General:
2437 - added configure option --disable-wrapping. Does what it says,
2438 no wrapping or checks are done. Separate from --enable-tiny,
Chris Allegretta88520c92001-05-05 17:45:54 +00002439 some may want a bare-bones Pico clone that does wrap text.
Chris Allegrettacef7fbb2001-04-02 05:36:08 +00002440 Affects configure, nano.c:do_char() and check_wrap() obviously,
2441 version(), and do_char().
Chris Allegretta3948bae2001-03-25 00:46:40 +00002442- aclocal.m4:
2443 - Minor patch for intl check (really this time) (Albert Chin)
Chris Allegretta4bf831f2001-03-26 15:35:34 +00002444- faq.html:
2445 - Fixed typo in section 6.1 (discovered by Bob Farmer).
Chris Allegretta49805172001-03-28 02:14:28 +00002446- files.c:
Chris Allegretta90d30742001-04-03 01:02:38 +00002447 - fix two typos in comments, one in ChangeLog (Matthias Andree)
Chris Allegretta49805172001-03-28 02:14:28 +00002448 diralphasort()
Chris Allegretta0876dc92001-03-28 13:04:08 +00002449 - Stop abort on symlinks (Matthias Andree)
Chris Allegretta90d30742001-04-03 01:02:38 +00002450 - use strcasecmp to sort directory if available, pilot does that
2451 as well (Matthias Andree)
2452 filestat(), do_browse()
Chris Allegretta0876dc92001-03-28 13:04:08 +00002453 - Changed lstat calls to stat, which fixes the browser not
2454 following links to directories. We only use lstat() when
2455 printing the details of the file, and if it is a link, then
2456 check via lstat() for link to a directory. If it is
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00002457 a directory, display (dir), else use the normal "--".
Chris Allegretta90d30742001-04-03 01:02:38 +00002458 do_browser()
2459 - Fix broken size suffix off-by-one errors (Matthias Andree)
2460 cwd_tab_completion(), do_browse_from()
2461 - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
2462 - Changed above to use PATH_MAX only when defined on the
2463 system, as the HURD e.g. does not support it.
Jordi Mallachb2c4cbe2001-04-02 13:47:17 +00002464- intl/Makefile.in:
2465 distclean
2466 - added intl/libintl.h to the rm -f rule, should fix the unresolved
2467 gettext symbols problem (Jordi).
Chris Allegretta20712072001-03-23 03:51:48 +00002468
Chris Allegretta2bfbda02001-03-23 03:50:44 +00002469nano-1.0.0 - 03/22/2001
Chris Allegrettae3167732001-03-18 16:59:34 +00002470- General
2471 - Added void to functions declared as () args, nano.c:do_mark()
2472 and search.c:regexp_cleanup(). (Christian Weisgerber).
2473 - Changed internal variables called "new" to "newnode" to avoid
2474 the "new" C++ reserved word, even though there is likely no way
2475 nano will EVER be compilable with a C++ compiler. (suggested by
2476 Rocco Corsi).
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00002477- ca.po, es.po:
2478 - Final tweaks for Nano 1.0.
Chris Allegretta10ae4f12001-03-20 15:51:43 +00002479- cs.po:
2480 - Czech translation from Vaclav Haisman.
Chris Allegretta7ab3e8f2001-03-22 23:12:22 +00002481- nano.info:
2482 - Added dir entry (Albert Chin).
Chris Allegretta35dac582001-03-21 15:07:20 +00002483- winio.c:
2484 statusq()
2485 - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
Chris Allegrettae3167732001-03-18 16:59:34 +00002486
24871.0-test prerelease - 03/17/2001
Chris Allegretta94a78b82001-03-14 08:28:48 +00002488- nano.c:
2489 do_wrap()
2490 - Added case for autoindenting text causing new line (Adam).
2491 - Added SAMELINE case to above. Added checks to cases 1b and
2492 2b for placement of cursor.
Chris Allegretta565f7d52001-03-15 02:02:20 +00002493- move.c:
2494 page_down()
Chris Allegretta88520c92001-05-05 17:45:54 +00002495 - Check for totlines < editwinrows in check for superfluous
Chris Allegretta565f7d52001-03-15 02:02:20 +00002496 edit update (fixed BUG #57).
Jordi Mallach5b387d72001-02-20 12:45:47 +00002497- search.c:
Chris Allegretta74bb31b2001-03-14 09:08:14 +00002498 print_replaced()
Jordi Mallach5b387d72001-02-20 12:45:47 +00002499 - s/occurence/occurrence typos (Jordi).
Chris Allegretta74bb31b2001-03-14 09:08:14 +00002500 search_init()
2501 - If using Pico mode and regex and same answer is entered, use
2502 last_search string instead of answer (fixes BUG #56).
Chris Allegretta203ce152001-02-23 03:05:38 +00002503- nano.texi:
2504 - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
Chris Allegretta9c9c5da2001-02-20 03:53:31 +00002505
Chris Allegrettaa4a222d2001-02-20 03:52:13 +00002506nano-0.9.99pre3 - 02/19/2001
Chris Allegrettaaf6414a2001-02-11 19:05:05 +00002507- General
Chris Allegretta1bf501c2001-02-12 03:24:46 +00002508 GNU compliance issues:
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00002509 - Reworked shortcut list, put "Get Help" into default list,
Chris Allegretta1bf501c2001-02-12 03:24:46 +00002510 removed "Goto Line", aligned "Read File" with "Write Out" and
2511 "Replace" with "Where is" for consistency.
2512 - Added texinfo manual nano.texi. Added texi options to
Chris Allegrettac46dd812001-02-14 14:28:27 +00002513 Makefile.am.
Chris Allegrettade48b412001-02-01 22:56:44 +00002514- configure.in:
2515 - Autoconf compatibility fixes (Pavel Roskin)
Chris Allegretta618f5d72001-02-16 04:48:30 +00002516 - Added separate check for resizeterm().
Jordi Mallach82b18292001-02-17 01:31:32 +00002517 - ALL_LINGUAS: added hu and ca.
Chris Allegretta09f39cb2001-02-05 13:43:23 +00002518- cut.c:
2519 do_cut_text()
2520 - marked text cut fixes (Rocco) (Fixes bug #54).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00002521- nano.c:
Chris Allegretta4ed13152001-02-10 17:50:50 +00002522 do_delete()
2523 - Added check for current->next == fileptr, as we have a magic
Chris Allegretta88520c92001-05-05 17:45:54 +00002524 line code again, fixes silliness at the end of the last line
Chris Allegretta4ed13152001-02-10 17:50:50 +00002525 before the magic line (reported by J.A. Neitzel).
Chris Allegretta00ae5df2001-02-05 18:24:33 +00002526 do_justify()
2527 - If the keystroke after the justify is not the unjustify key,
Chris Allegretta88520c92001-05-05 17:45:54 +00002528 blank the statusbar (bug reported by Neil Parks).
Chris Allegretta8bc03b62001-02-09 02:57:52 +00002529 main()
2530 - Added ENABLE_NLS check around gettext stuff.
Chris Allegretta4ce8e3b2001-02-16 01:49:31 +00002531- winio.c:
2532 do_yesno()
2533 - Added localized yes, no and all strings to function and rewrote
2534 handler for the new format.
Chris Allegrettab55999e2001-02-09 02:49:46 +00002535- de.po:
Jordi Mallach81197652001-02-16 20:00:03 +00002536 - Translation updates by Florian König.
Chris Allegrettab55999e2001-02-09 02:49:46 +00002537- fi.po:
2538 - Translation updates by Pauli Virtanen.
Chris Allegrettad096f682001-02-05 13:51:31 +00002539- hu.po:
2540 - Hungarian translation by Horvath Szabolcs.
Chris Allegrettab55999e2001-02-09 02:49:46 +00002541- id.po:
2542 - Translation updates by Tedi Heriyanto.
Jordi Mallach81197652001-02-16 20:00:03 +00002543- es.po:
Jordi Mallach6aec0d62001-02-17 01:32:58 +00002544 - Translation updates and grammatical/typo fixes (Jordi).
Jordi Mallach82b18292001-02-17 01:31:32 +00002545- ca.po:
2546 - Catalan translation by Jordi Mallach :)
Jordi Mallacha7b2ed02001-02-20 02:04:43 +00002547 - Miquel Vidal <miquel@sindominio.net> went over it and corrected
2548 many typos and completed bits that remained untranslated by error.
Chris Allegretta7c1fee72001-01-31 23:24:54 +00002549
Chris Allegretta34318ed2001-01-31 23:22:36 +00002550nano-0.9.99pre2 - 01/31/2001
Chris Allegretta17dcb722001-01-20 21:40:07 +00002551General
Chris Allegrettad4ddd012001-01-23 01:17:07 +00002552 - Removed center_x and center_y globals. center_y was
2553 completely unused and center_x was only used a few places,
Chris Allegretta17276e52001-01-23 01:22:32 +00002554 easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
Chris Allegretta17dcb722001-01-20 21:40:07 +00002555 - Deleted free_node, duplicate of delete_node, and changed all
2556 free_node calls to delete_node.
Chris Allegretta08020882001-01-29 23:37:54 +00002557 - Fix for resizing the window in modes other than normal edit mode
2558 Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco).
Chris Allegretta0fc2b812001-01-18 15:04:20 +00002559- files.c:
2560 write_file()
2561 - Don't free() realname on error, if it needs to be free()d later
2562 it will be (fixes crash on successful write after failed write,
2563 discovered by David Sobon).
Chris Allegretta8d9b11a2001-01-19 04:17:24 +00002564 username_tab_completion()
2565 - Optimization and removal of useless vars (Rocco).
Chris Allegretta2c2c5f22001-01-23 03:27:31 +00002566 - Rewritten using getpwent (suggested by Rocco).
Chris Allegrettaa711f7e2001-01-23 04:16:31 +00002567 - Removed redundant conditional (Rocco).
Chris Allegrettaee733e62001-01-22 22:17:08 +00002568 real_dir_from_tilde()
Chris Allegretta88520c92001-05-05 17:45:54 +00002569 - Rewritten using getpwent (suggested by Adam, much optimized by
2570 Rocco).
Chris Allegrettaf0b26df2001-01-20 22:18:18 +00002571- global.c:
2572 - Don't define toggles global or toggle_init_one if using --tiny.
Chris Allegretta17dcb722001-01-20 21:40:07 +00002573- nano.c:
2574 do_justify()
2575 - Added restoration of totsize after unjustify command.
Chris Allegretta7f7ce562001-01-21 16:35:49 +00002576 usage()
Chris Allegrettae9a2d032001-01-21 16:08:21 +00002577 - Add arg to -T help (Rocco).
Chris Allegretta0a06e072001-01-23 02:35:04 +00002578 global_init(), handle_sigwinch()
2579 - Messy loops replaced with memset calls (Rocco).
Chris Allegretta169ee842001-01-26 01:57:32 +00002580 do_alt_speller()
2581 - Added code to parse multi-word alt_speller strings.
Chris Allegrettae434b452001-01-27 19:25:00 +00002582 - Fix initialization before fork() (Rocco).
Chris Allegretta34318ed2001-01-31 23:22:36 +00002583- proto.h:
2584 - Fix do_credits() proto (oops!)
Chris Allegrettae434b452001-01-27 19:25:00 +00002585- winio.c:
2586 nanogetstr()
2587 - Sanity check for x overrunning the string buffer len.
Chris Allegretta76745fb2001-01-18 04:40:06 +00002588
Chris Allegretta9d6f3f32001-01-21 02:35:03 +00002589nano 0.9.99pre1 - 01/17/2001
Chris Allegrettaa4d6d1d2001-01-10 23:44:10 +00002590General
2591 - Changed #ifdefs to check for both DISABLE_TABCOMP and
2592 NANO_SMALL, makes tiny option leave out tab completion, which
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002593 should be left out in that circumstance. Saves at least 5k.
Rocco Corsi06aca1c2001-01-11 05:30:31 +00002594 - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002595 back. (Rocco)
2596 - Various #ifdef & #ifndef cleanups. (Rocco)
Chris Allegretta201d9bf2001-01-14 03:17:53 +00002597 - Added message for when keypad goes awry. Added code in main and
2598 function print_numlock_warning() to notify user, and added an
Chris Allegretta88520c92001-05-05 17:45:54 +00002599 appropriate section in the faq to refer to this brokenness.
Chris Allegrettae61e8302001-01-14 05:18:27 +00002600 - Added macros in nano.h for magic values that might be unclear in
Chris Allegretta2be96d02001-01-14 05:22:43 +00002601 nano.c:global_init(). (Rocco)
Chris Allegrettabbebec62001-01-09 00:37:32 +00002602- configure.in:
2603 - Fix for _use_keypad check breaking slang support (Christian
2604 Weisgerber).
Chris Allegretta88520c92001-05-05 17:45:54 +00002605 - Changed to automatically define the 5 DISABLE variables when
Chris Allegretta4ee0b412001-01-11 15:11:00 +00002606 NANO_SMALL (enable-tiny) is requested at configure.
Chris Allegretta2c4feca2001-01-09 17:40:56 +00002607- faq.html:
2608 - Added some info on making the binary smaller with the configure
2609 script.
Chris Allegretta201d9bf2001-01-14 03:17:53 +00002610 - Added section on keypad bugginess.
Chris Allegrettabf692612001-01-08 16:59:19 +00002611- files.c:
2612 real_dir_from_tilde()
2613 - Oops, fix case where buf ="~", silly crash (bug discovered by
2614 Neil Parks).
Chris Allegretta8eac3b52001-01-08 21:14:04 +00002615 do_browser()
2616 - Added space and - keys to do page up and down.
Chris Allegrettaa35ec042001-01-15 02:26:12 +00002617 cwd_tab_completion(), input_tab()
2618 - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
Chris Allegretta40587092001-01-16 04:45:38 +00002619 - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002620- nano.c:
Chris Allegretta1748cd12001-01-13 17:22:54 +00002621 ABCD()
2622 - New function, figures out what kbinput to return given
2623 input common to several switch statements, allows us to
2624 support the default Konsole key settings.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002625 main()
2626 - Alternate speller option no longer valid if DISABLE_SPELLER is
2627 active. (Rocco)
Chris Allegrettaae4318d2001-01-16 04:18:26 +00002628 - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
2629 options when these have been disabled. (Rocco)
Chris Allegretta36939442001-01-15 20:26:38 +00002630 - Initialized kbinput to get around stupid compiler warning.
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002631 nano_small_msg()
2632 - This function has been removed. All references now call
2633 nano_disabled_msg. (Rocco)
2634 version()
2635 - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
2636 variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
2637 reported as enabled when Nano is called with -V (--version)
Chris Allegretta88520c92001-05-05 17:45:54 +00002638 command line option. (Rocco)
Rocco Corsiaf5c3022001-01-12 07:51:05 +00002639 usage()
2640 - Alternate speller option no longer valid if DISABLE_SPELLER is
2641 active. (Rocco)
Chris Allegrettae61e8302001-01-14 05:18:27 +00002642 window_init(), handle_sigwinch()
2643 - Added check for not having enough LINES to do anything useful,
2644 if so die with an error. (Rocco)
2645 die_too_small()
2646 - Function to print the window too small error message, avoids
2647 repeated string defs and globals.
Robert Siemborskic2eeb4e2001-01-17 03:29:02 +00002648 do_justify()
2649 - Small fix for totsize calculation (Rob)
2650
Chris Allegrettad9742c62001-01-12 15:51:53 +00002651- fi.po:
2652 - Update by Pauli Virtanen.
Chris Allegretta7e080822001-01-08 02:31:03 +00002653
Chris Allegretta16991442001-01-07 22:06:11 +00002654nano 0.9.25 - 01/07/2001
Chris Allegrettaf4b96012001-01-03 07:11:47 +00002655General -
2656 - New file browser code. New functions in files.c:do_browser(),
2657 helper functions browser_init(), tail(), striponedir(),
2658 filestat(). New shortcut list browser_list. Some new
Chris Allegretta150469a2001-01-05 21:13:14 +00002659 strings to translate. Added function do_browse_from().
Chris Allegrettac08f50d2001-01-06 18:12:43 +00002660 - Keypad code has been changed slightly. Now checks for
2661 _use_keypad flag in window to see whether or not to turn
2662 the keypad() back off when finished (taken from aumix). Moved
Chris Allegretta88520c92001-05-05 17:45:54 +00002663 to winio.c where it should probably be anyway. New configure
2664 check for _use_keypad in window struct. This will have to do
Chris Allegrettac08f50d2001-01-06 18:12:43 +00002665 for now.
Chris Allegretta155d6202001-01-08 01:50:37 +00002666 - Moved keypad() calls for PDCURSES from main() to window_init()
2667 so the keypad continues to work after a Meta-X, for example.
2668 Fixed bug #51.
Jordi Mallach56e6d722000-12-19 22:59:55 +00002669- faq.html:
2670 - Fix typos and small mistakes (Jordi).
Chris Allegrettaee289d72000-12-27 16:12:47 +00002671- files.c:
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00002672 username_tab_completion()
2673 - Added the (char *) sizeof when allocating memory for the filename
2674 array (Rocco).
Chris Allegrettaee289d72000-12-27 16:12:47 +00002675 cwd_tab_completion()
2676 - removed skipping . and .. when tabulating matches.
Rocco Corsi8b6cccc2001-01-02 06:21:07 +00002677 - Added the (char *) sizeof when allocating memory for the filename
2678 array (Rocco).
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00002679 do_writeout()
2680 - Now takes an argument so the string typed in can be retained
2681 when calling the browser.
Chris Allegretta816a1652001-01-06 17:43:56 +00002682 do_browser()
2683 - Don't decrement longest by the length of path. Fixes crashes
2684 on entering various dirs (Rocco).
Chris Allegretta88520c92001-05-05 17:45:54 +00002685 - Don't ungetch() the exit key, unneeded, fixes inserting a file
Chris Allegretta816a1652001-01-06 17:43:56 +00002686 causes exit code.
Chris Allegretta155d6202001-01-08 01:50:37 +00002687- move.c:
2688 page_down()
2689 - Don't do an edit_update when there is only one page of text
2690 (fileage == edittop && filebot == editbot). Fixes Bug #50.
Chris Allegrettad55655f2000-12-27 03:36:47 +00002691- nano.c:
2692 main()
2693 - Reorder the getopt options to be more or less alphabetical
2694 (suggested by Sven Guckes).
Chris Allegretta66795ec2000-12-27 04:47:28 +00002695- winio.c:
2696 do_cursorpos()
2697 - Optimizations and cleanups by Rocco Corsi.
Chris Allegretta827b15f2001-01-03 02:09:04 +00002698 do_credits()
2699 - Spell Erik Andersen's name right.
Chris Allegrettaf4b96012001-01-03 07:11:47 +00002700 titlebar()
2701 - Now takes an arg, needed for browser function.
Chris Allegretta70444892001-01-07 23:02:02 +00002702 do_help()
2703 - Changed way of temporarily bringing up shortcuts at the
2704 bottom in the help screen (actually works).
Chris Allegretta150469a2001-01-05 21:13:14 +00002705- utils.c:
2706 mallocstrcpy()
2707 - Takes char pointers now instead of void (makes debugging a
2708 helluva lot easier)
Chris Allegrettae1ebaf32001-01-07 05:50:36 +00002709 - Duh, don't do anything if src == dest!
Jordi Mallach75ef81b2001-01-04 16:48:59 +00002710- es.po:
2711 - Updates for file browser (Jordi).
Chris Allegretta827b15f2001-01-03 02:09:04 +00002712
Chris Allegretta66149e72000-12-19 02:51:06 +00002713nano 0.9.24 - 12/18/2000
Chris Allegretta3bc8c722000-12-10 17:03:25 +00002714General
2715 - Added --disable-help option, affects acconfig.h, configure(.in),
Chris Allegrettab7d00ef2000-12-18 05:36:51 +00002716 winio.c:do_help, nano.c:help_init,help_text_init,version.
Chris Allegretta1a6e9042000-12-14 13:56:28 +00002717 - Changed filename to no longer use PATH_MAX, so it can work on the
2718 HURD. Changes in files.c:write_file(), new function
2719 nano.c:clear_filename(), many changed in main(), a few other
2720 places. Please test this!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002721 - Added -b, -e, and -f flags, which we ignore as nano provides
2722 their functionality already.
Chris Allegretta5146fec2000-12-10 05:44:02 +00002723- cut.c:
2724 do_uncut_text()
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002725 - Fix renumbering bug when uncutting marked text at filebot.
Chris Allegretta5146fec2000-12-10 05:44:02 +00002726 - Fix screen not being displayed when we are uncutting marked
2727 text at editbot (Bug discovered by Ken Tyler).
Chris Allegrettae51c95f2000-12-10 05:54:27 +00002728 - Fix magic line not getting created when (you guessed it)
2729 uncutting marked text at filebot (Ryan Krebs).
Chris Allegrettaef123112000-12-10 00:04:13 +00002730- files.c:
Chris Allegretta3a7c0be2000-12-18 01:09:07 +00002731 read_file()
2732 - If we encounter an error and insert is not set, run new_file().
2733 (bug discovered by Ben Roberts).
Chris Allegrettaef123112000-12-10 00:04:13 +00002734 write_file()
2735 - Change open call flags, basically copy joe's way of doing it so
2736 a more recent version will actually be included in (un)stable.
Chris Allegretta1cd50662000-12-11 02:47:12 +00002737 - Remove useless fstat call.
Chris Allegretta7960dcf2000-12-13 15:01:29 +00002738 open_file()
2739 - Added check for S_ISBLK and S_ISCHR, don't open device files!
Chris Allegretta5146fec2000-12-10 05:44:02 +00002740- nano.c:
2741 renumber()
Chris Allegretta88520c92001-05-05 17:45:54 +00002742 - Don't stupidly assign the value of prev->lineno if prev == NULL!
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002743 main()
2744 - Added code to check for Alt-Alt (27-27) keystrokes and set the
2745 next keystroke as a control sequence. New variable
2746 modify_control_key. Removed #ifdef _POSIX_VDISABLE check
2747 around Control-S,Q,Z handlers because we need it now for
2748 the Alt-Alt-x code.
Chris Allegretta7492cec2000-12-18 04:55:21 +00002749 - Added --view option to getopt_long()call . Bug discovered
2750 by Rocco Corsi.
Chris Allegretta220ba692000-12-18 03:40:00 +00002751 help_init()
2752 - Fix off by one error that was making ^G help in normal mode and
Chris Allegretta6df90f52002-07-19 01:08:59 +00002753 ^_ in Pico mode not be displayed in the help (bug discovered by
Chris Allegretta92325e72000-12-18 03:44:22 +00002754 Rocco Corsi).
Chris Allegrettaaffeda82000-12-18 04:03:48 +00002755 do_toggle()
2756 - Added fix_editbot() call to fix improper redisplay of edit
2757 window when using nohelp toggle (bug discovered by Rocco Corsi).
Chris Allegretta51b3eec2000-12-18 02:23:50 +00002758- nano.1, nano.1.html:
2759 - Updated man page for -b, -e, -f and expanded explanation for -p.
Chris Allegrettad1627cf2000-12-18 05:03:16 +00002760- winio.c
2761 do_help()
2762 - Force keypad on so F-keys and PageUp/Down will work properly.
2763 Added check for NANO_EXIT_FKEY to loop.
Chris Allegrettae51c95f2000-12-10 05:54:27 +00002764- utils.c:
2765 new_magicline()
Chris Allegretta321590a2000-12-10 06:03:40 +00002766 - Increment totsize!! We decrement it when we've read a file,
2767 everywhere else it should automatically be incremented
Chris Allegrettaef123112000-12-10 00:04:13 +00002768
Chris Allegrettab29550e2000-12-09 03:34:12 +00002769nano 0.9.23 - 12/08/2000
Chris Allegretta7b36c522000-12-06 01:08:10 +00002770General
2771 - Changed --disable-spell to --disable speller. The term is
2772 "speller" for -s, so it should be --disable-speller.
Chris Allegretta59828492000-12-04 03:31:39 +00002773- files.c:
2774 write_file()
Chris Allegretta88520c92001-05-05 17:45:54 +00002775 - Added tmp check to TMP_OPT section (how appropriate).
Chris Allegretta07f9ee02000-12-04 05:15:39 +00002776 - Added new consistency checking code from securityfocus
Chris Allegrettafb2226a2000-12-04 05:25:47 +00002777 article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
Chris Allegretta928a7f52000-12-04 05:31:34 +00002778 - We now run check on result of lstat(), not stat(), to be
2779 safer. New variable anyexists, we use still use realexists
2780 later in the program.
Chris Allegretta71e46402000-12-06 00:40:26 +00002781 - OOPS, line up link/unlink/rename check if conditional with
2782 top if conditional. Option -l has been broken for 9 versions,
2783 no one noticed?!
Chris Allegretta1bd0ce22000-12-06 05:56:08 +00002784 - Added saving perms at end of link so we can apply them to the
2785 new file if --nofollow is used.
Chris Allegretta908805a2000-12-04 04:42:56 +00002786- winio.c:
2787 edit_add()
2788 - Off by one display error (fix by Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00002789 do_replace_highlight()
Chris Allegretta88520c92001-05-05 17:45:54 +00002790 - New code to handle being past COLS (Rocco Corsi).
Chris Allegrettafb62f732000-12-05 11:36:41 +00002791 - Moved from search.c, as it's definitely a winio function now =)
2792 update_line()
2793 - More '$' display fixes (Rocco Corsi).
Chris Allegretta59828492000-12-04 03:31:39 +00002794
Chris Allegrettafedd7242000-12-03 03:15:38 +00002795nano 0.9.22 - 12/02/2000
Chris Allegrettabe77c612000-11-24 14:00:16 +00002796- General
Chris Allegrettabe77c612000-11-24 14:00:16 +00002797 - Username tab completion code, and cleaned up existing tabcomp
2798 code. New functions real_dir_from_tide(), append_slash_if_dir(),
2799 username_tab_completion is more than a stub now =-).
Chris Allegretta72623582000-11-29 23:43:28 +00002800 - Ignore key sequence 543 & 545, right control and alt keys in
2801 windows. Affects main() and winio.c:nanogetstr().
Chris Allegretta56b24b52000-11-29 23:57:20 +00002802 - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
2803 Is using a spell checker THAT difficult? =-)
Chris Allegrettaff269f82000-12-01 18:46:01 +00002804 - New function nano_disabled_msg(), to alert that certain
Chris Allegretta88520c92001-05-05 17:45:54 +00002805 functions have been disabled, similar to nano_tiny feature.
Chris Allegrettaff269f82000-12-01 18:46:01 +00002806- New configure options:
2807 - Added configure argument --disable-tabcomp. Affects
2808 bottom of files.c and write_file, utils.c:check_wildcard_match()
Chris Allegretta88520c92001-05-05 17:45:54 +00002809 and winio.c:nanogetstr().
Chris Allegrettaff269f82000-12-01 18:46:01 +00002810 - New options --enable-extra. New code in nano.c:version() to
2811 print out various options from ./configure, function do_credits().
2812 - Added --disable-spell option for those who want to just disable
Chris Allegretta88520c92001-05-05 17:45:54 +00002813 the spell check feature. Affects the spelling functions
Chris Allegrettaff269f82000-12-01 18:46:01 +00002814 do_spell, do_int_speller and do_alt_speller.
2815 - Added --disable-justify to get rid of the justify function.
2816 Affects do_justify() (not surprisingly).
Chris Allegretta650e8a42000-11-24 14:15:17 +00002817- files.c:
2818 write_file()
2819 - Unsetting modified on temp files bug fixed (Rocco Corsi).
Chris Allegretta581bc602000-12-03 03:01:12 +00002820 - Okay, if tmp == 1 and the file exists, we abort.
Chris Allegretta25f4e582000-11-25 05:03:20 +00002821 do_insertfile()
Chris Allegretta09a80842000-11-30 02:31:13 +00002822 - Added call to real_name_from tilde, oops. Added check for
2823 DISABLE_TABCOMP.
Chris Allegretta24946bd2000-11-26 21:34:47 +00002824 read_file()
2825 - Added check for fileptr == NULL.
Chris Allegretta07798352000-11-27 22:58:23 +00002826- global.c:
2827 shortcut_init()
2828 - Now takes an argument as to whether to display the unjustify
Chris Allegretta88520c92001-05-05 17:45:54 +00002829 shortcut or the normal uncut text one. Needed to accommodate
2830 the kludgey unjustify code.
Chris Allegretta8be8ce22000-11-28 02:15:30 +00002831- nano.1, nano.1.html:
2832 - Updated date on pages because of -p changes.
Jordi Mallachd7ad75a2000-12-03 02:46:02 +00002833 - Added "NOTES" section, where I explain what nano.save & friends
2834 are.
2835 - Added a copyright notice for the manpage, under the GPL.
2836 - Other minor changes.
Chris Allegretta9149e612000-11-27 00:23:41 +00002837- nano.c:
2838 do_justify()
Chris Allegretta8be8ce22000-11-28 02:15:30 +00002839 - Wrote unjustify code. Borrows cutbuffer and stores the unjustified
2840 text there, then grabs the next keystroke and, if the unjustify
2841 key, gets rid of the justified text and calls do_uncut_text.
2842 Added macro NANO_UNJUSTIFY_KEY.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002843 do_int_spell*
2844 - Various fixes (Rocco Corsi).
2845 - Changed abort of program to aborting based on value of "edit a
2846 replacement" question, and not caring about the replace loop
2847 return value. That way the user can get out of the replace loop
2848 and continue spell checking (very important to me anyway).
Chris Allegrettaff269f82000-12-01 18:46:01 +00002849 version()
2850 - Took out huge check for the various --disabled macros,
2851 eventually there will be too many to reasonably check for.
Chris Allegretta4eb7aa02000-12-01 18:57:11 +00002852 nano_small_msg(), nano_disabled_msg()
2853 - Added checks for disabled functions to see whether or not to
2854 declare them.
Chris Allegretta9e2934f2000-12-01 23:49:48 +00002855 do_next_word()
2856 - Update the previous line as well as the current one in case we
2857 have moved beyond COLS or back from COLS, patch submitted
2858 by Ryan Krebs.
Chris Allegrettae7a58932000-12-02 02:36:22 +00002859 die()
2860 - Now creates .save file using variable-length strings. Also
2861 calls write_file with tmp == 1, which happens to do exactly what
Chris Allegretta581bc602000-12-03 03:01:12 +00002862 we want (abort on save file exists and use mode 0600).
Chris Allegrettae7a58932000-12-02 02:36:22 +00002863 handle_sighup()
2864 - Now calls die instead of writing on its own and exiting normally.
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002865- search.c:
Jordi Mallach72549042001-05-02 17:18:17 +00002866 do_replace_highlight()
2867 - New function, displays the currently selected word as highlighted
Chris Allegrettad00e6df2000-11-29 04:33:26 +00002868 in the spell check. Called from do_replace_loop (Rocco Corsi).
Jordi Mallach72549042001-05-02 17:18:17 +00002869 - Added calls to curs_set(0) and (1) to disable the cursor when
2870 highlighting, looks much better.
Jordi Mallachd819a4c2000-11-25 04:50:25 +00002871- es.po:
2872 - Traditional Spanish strings updates.
Chris Allegrettabe77c612000-11-24 14:00:16 +00002873
Chris Allegrettaca7a21d2000-11-24 01:35:40 +00002874nano 0.9.21 - 11/23/2000
Chris Allegrettaf26bca72000-11-21 03:04:45 +00002875- AUTHORS
2876 - Added Rocco Corsi.
Chris Allegretta31c76662000-11-21 06:20:20 +00002877- nano.c:
2878 main()
2879 - Changed check for argc == 1 to argv[optind] == NULL to decide
2880 whether or not to display "New File" in the statusbar.
Chris Allegrettaaaabe1f2000-11-19 18:20:07 +00002881- search.c:
2882 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00002883 - Fix current_x increment bug by using another variable (Rocco Corsi).
Chris Allegrettaef601bb2000-11-19 19:15:03 +00002884 search_init()
2885 - Silly typo in our "one simple call" of statusq. Stopped
2886 previous search string from being displayed.
Chris Allegrettac793c432000-11-21 12:52:55 +00002887 do_replace()
2888 - Copy back the previous value of last_replace into answer if
2889 using PICO_MODE and answer == ""
Chris Allegretta6c5781b2000-11-23 01:19:58 +00002890- winio.c:
2891 do_up()
Chris Allegretta88520c92001-05-05 17:45:54 +00002892 - Deleted first update_line() call, screws up display when marker is
2893 set.
Chris Allegrettad466ab72000-11-19 20:36:41 +00002894- nano.1, nano.1.html
2895 - Updated man page for new -p definition.
Chris Allegrettaac0e63a2000-11-19 02:25:43 +00002896
Chris Allegretta6da149a2000-11-19 02:23:03 +00002897nano 0.9.20 - 11/18/2000
Chris Allegretta67574f42000-11-03 03:35:29 +00002898- General
2899 - Ran source through indent -kr again. Make everything pretty.
2900 - Changed behavior of "search" and "replace" prompts to make all
2901 previous values editable. This change was made so that you can
2902 replace with the null string without needing a special key for it.
2903 changed code in search_init(), do_replace(), nanogetstr (see
2904 below).
2905 - Added some missing gettext calls here and there (Jordi).
Chris Allegretta88520c92001-05-05 17:45:54 +00002906 - Revamped nanogetstr() and calls to it to use variable length
2907 strings.
Chris Allegretta67574f42000-11-03 03:35:29 +00002908 MANY changes in nanogetstr(), many chances in search.c, new
2909 function mallocstrcpy which is sure to be a programmatic
2910 nightmare, changed last_search, last_replace, answer to
2911 pointers. New function not_found_msg in search.c for displaying
Chris Allegretta88520c92001-05-05 17:45:54 +00002912 truncated strings in statusbar when the string is not found
Chris Allegrettacbb0f8b2000-11-15 03:50:02 +00002913 (-pedantic fixes by Rocco Corsi). We disable this feature when
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00002914 using PICO_MODE (-p).
Chris Allegretta27eb13f2000-11-05 16:52:21 +00002915 - New spelling code by Rocco Corsi. New functions
2916 do_int_speller, do_alt_speller, changes to do_spell in nano.c,
2917 New functions search_init_globals and do_replace_loop, changes
2918 to search_init(), do_replace, findnextstr, moved last_search and
2919 last_replace back to nano.c (*shrug*).
Chris Allegretta04d848e2000-11-05 17:54:41 +00002920 - New tab completion code. Used check_wildcard_match, input_tab,
2921 cwd_tab_completion, username_tab_completion from busybox,
Chris Allegretta7da4e9f2000-11-06 02:57:22 +00002922 hacked them a lot, changes to nanogetstr(). nanogetstr() and
2923 statusq() now take an arg for whether or not to allow tab
2924 completion.
Chris Allegretta5bf51d32000-11-16 06:01:10 +00002925 - Fixed value being input in statusbar during a search or replace
2926 and CASE_SENSITIVE or the other search is called and the
2927 string being typed in is blown away. Reported by Ken Tyler.
Chris Allegrettabf9a8cc2000-11-17 01:37:39 +00002928 - Changed PICO_MSGS flag to PICO_MODE, changed help strings
2929 accordingly.
Chris Allegretta92d2bab2000-11-02 14:53:46 +00002930- files.c:
2931 do_writeout()
2932 - Change strcpy to answer to mallocstrcpy.
Chris Allegrettad7934d42000-10-03 05:39:29 +00002933- global.c
Chris Allegretta105da332000-10-31 05:10:10 +00002934 - New global replace_list_2, for 2nd half of the replace dialog
2935 ("Replace with:"), has fewer options than first half because
Chris Allegretta88520c92001-05-05 17:45:54 +00002936 they were inappropriate.
Chris Allegrettad7934d42000-10-03 05:39:29 +00002937 toggle_init()
2938 - Added #ifdef around toggle_regex_msg to get rid of compiler
2939 warning.
Chris Allegretta1cc0b7f2000-11-03 01:29:04 +00002940
2941- nano.c:
2942 keypad_on()
2943 - New function, toggles turning the keypad on and off in edit and
2944 bottomwin(). Added call to this in finish(), fixes bug #45.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002945- search.c
Chris Allegretta88520c92001-05-05 17:45:54 +00002946 findnextstr()
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002947 - New arg for begin_x variable, basically a rewrite that
2948 makes a little more sense and isn't quite as messy (Rocco Corsi).
2949 - Update the line we're checking if not the whole screen, because
2950 it's quite possible the search team could exist somewhere way
2951 to the right on the same line, for example.
2952 replace_abort()
2953 - Add reset of placewewant, stops cursor from jumping when moving
2954 cursor after a replace.
Chris Allegretta810632d2000-10-27 04:36:01 +00002955 do_replace()
2956 - Added code for Gotoline key after entering the search term.
2957 Fixes bug #46.
Chris Allegretta88520c92001-05-05 17:45:54 +00002958 - Removed redundant code involving processing replacement string.
Chris Allegretta9c371a22000-10-27 05:48:05 +00002959 Converted if statements to switch statements.
2960 - Optimizations by Rocco Corsi.
Chris Allegretta105da332000-10-31 05:10:10 +00002961 - Removed code for deleted shortcuts from in replace_list_2.
Chris Allegretta9c371a22000-10-27 05:48:05 +00002962 do_search()
2963 - Converted if statements to one switch statement.
Chris Allegrettaf9b6c9b2000-10-18 19:35:59 +00002964- winio.c
2965 nanogetstr()
2966 - Added check for 343 in while loop to get rid of getting "locked"
2967 into statusbar" bug in odd $TERMs like iris-ansi.
Chris Allegretta105da332000-10-31 05:10:10 +00002968 - Changed check to return -2 on "enter" from answer == ""
2969 to answer == def.
Chris Allegretta04d848e2000-11-05 17:54:41 +00002970 - Fixed fallthrough code because there was no break. Make much
2971 more sense now.
Chris Allegretta5b1faac2000-11-16 19:55:30 +00002972 - Added check for ASCII 54[124] when using PDCURSES, ignore them
2973 if noticed.
Chris Allegrettaa0e957b2000-10-24 22:25:36 +00002974 nanoget_repaint()
2975 - New function, removes about 30 lines of duplicate code in
2976 nanogetstr().
Chris Allegretta90594e22000-11-02 15:53:40 +00002977 - Black magic code to make $ appear in prompt if we're past
2978 COLS.
Chris Allegretta2c975222000-11-15 01:25:42 +00002979 blank_edit()
2980 - Removed wrefresh() call, much less choppy now. If there's a need
2981 for a wrefresh after a specific call, let me know.
Jordi Mallach0ae0dcd2000-10-28 12:38:02 +00002982- es.po:
Jordi Mallachd25385b2000-11-18 03:31:21 +00002983 - Updated translation for 0.9.20 (Jordi).
Chris Allegrettad7934d42000-10-03 05:39:29 +00002984
Chris Allegretta07e97d62000-10-03 01:52:50 +00002985nano 0.9.19 - 10/02/2000
Chris Allegrettaad1dacc2000-09-21 04:25:45 +00002986- General
2987 - Added PDCurses support under cygwin, which allows building
2988 a nice stand-alone nano.exe for those poor Windows users.
2989 Extra check in configure.in for initscr() in -lcurses (as
2990 PDcurses has no tgetent), some #ifdef PDCURSES statements
2991 in main().
Chris Allegretta66989d62000-09-27 03:16:11 +00002992 - Changed web site and email to new nano-editor.org domain.
Chris Allegretta7c44b682000-09-21 04:27:01 +00002993- nano.c
Chris Allegretta9e7efa32000-10-02 03:42:55 +00002994 - Added (int) casts to remove compile warnings with -Wall.
Chris Allegretta7c44b682000-09-21 04:27:01 +00002995 main()
2996 - Added check for _POSIX_VDISABLE around term variable definition.
Chris Allegrettadf3afdc2000-10-01 17:50:29 +00002997- search.c
2998 - Added initializations for last_search and last_replace (Rocco Corsi)
2999
Chris Allegretta629edad2000-09-19 00:27:19 +00003000nano 0.9.18 - 09/18/2000
Chris Allegretta805c26d2000-09-06 13:39:17 +00003001- General
3002 - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
3003 added check for regex.h in configure.in.
Chris Allegretta90bd7122000-09-13 18:12:05 +00003004- configure.in:
3005 - Added default case for cross-compiling to get rid of annoying
3006 AC_TRY_RUN warning.
Chris Allegretta429a5512000-09-05 13:09:56 +00003007- cut.c:
3008 do_cut_text()
3009 - Don't immediately abort if we're on filebot and the marker is
Chris Allegrettad746d902000-09-05 13:15:44 +00003010 set (fixes bug #42).
Chris Allegrettaf45c18d2000-09-16 05:25:06 +00003011- files.c:
3012 open_file()
3013 - Fix for bug #44 (Rocco Corsi).
Chris Allegretta16e41682000-09-11 22:33:54 +00003014- global.c:
3015 shortcut_init()
3016 - Added in FKEYs that for some reason were left out. *boggle*
Chris Allegretta9239d742000-09-06 15:19:18 +00003017- nano.c:
Chris Allegretta2a42af12000-09-12 23:02:49 +00003018 main()
Chris Allegretta9239d742000-09-06 15:19:18 +00003019 - Added check for _POSIX_VDISABLE and use raw mode if not
3020 available, allows nano to work with cygwin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00003021 - Added gettext calls to enable/disable strings (Jordi).
Chris Allegretta16e41682000-09-11 22:33:54 +00003022 - Revamped a great deal of the F-key and keypad key handling,
3023 because we not longer use keypad() (see below).
3024 - Removed keypad() call because nano was not working with the
3025 keypad in many terms, which is very bad.
Chris Allegretta9c35eb02000-09-13 14:24:52 +00003026 - Made insert key call do_insertfile().
Chris Allegretta2a42af12000-09-12 23:02:49 +00003027 do_toggle()
Chris Allegretta88520c92001-05-05 17:45:54 +00003028 - Rewrote function to allow NOHELP toggle to work on systems
Chris Allegretta2a42af12000-09-12 23:02:49 +00003029 without a working resizewin(). New function window_init().
Chris Allegretta0b88ce02000-09-15 15:46:32 +00003030 mouse_init()
3031 - Add keypad only if mouse support is on, otherwise mouse doesn't
3032 work. I guess you have to choose between having the mouse and
Chris Allegretta88520c92001-05-05 17:45:54 +00003033 having a working keypad for the time being (thank god for Meta-M).
Chris Allegretta2a42af12000-09-12 23:02:49 +00003034- winio.c:
3035 total_refresh()
3036 - Added titlebar() call.
Chris Allegrettae7034c62000-09-15 03:31:09 +00003037 onekey()
3038 - Off by one error fix fix ;-) (Rocco Corsi).
Chris Allegretta2a42af12000-09-12 23:02:49 +00003039
Chris Allegrettab9bfc9b2000-09-10 05:06:09 +00003040- search.c:
3041 findnextstr()
3042 - Reset starting at current for search instead of begin.
Jordi Mallach2dc0f6b2000-09-07 10:48:00 +00003043- es.po:
3044 - Translated new strings and minor updates (Jordi).
Chris Allegretta834a69d2000-09-18 17:11:33 +00003045- de.po
3046 - Revised translations by floki@bigfoot.com
Chris Allegretta429a5512000-09-05 13:09:56 +00003047
Chris Allegretta423cbfd2000-09-04 16:21:29 +00003048nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00003049- General
3050 - New shortcuts to toggle certain options that are normally only
3051 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
3052 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00003053 called from shortcut_init(), and do_toggle in nano.c. Also
3054 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00003055 signal_init(). Moved "struct sigaction act"into a static in
3056 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +00003057 - Changed from Alt-key symbol (@) which is completely nonstandard
3058 to the *nix "Meta" symbol (M-). Changed help_init to show
Chris Allegretta88520c92001-05-05 17:45:54 +00003059 the M-key usage and the help text to explain keys which generate
Chris Allegrettae49f1232000-09-02 07:20:39 +00003060 Meta. Moved the toggle Meta keystrokes to the first column
3061 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +00003062 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +00003063 - Changed last_search and last_replace vars to statically
3064 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00003065- global.c:
3066 toggle_init()
3067 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
3068 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +00003069- nano.c:
3070 do_mouse()
3071 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +00003072 do_wrap()
3073 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +00003074 do_toggle()
3075 - Added checks for no help and no wrap mode, and print opposite
3076 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +00003077 do_suspend(), do_cont():
3078 - New functions, handle suspend signal in a Pico-like manner and
3079 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00003080- winio.c:
3081 total_refresh()
3082 - Added edit_refresh() call to actually update the screen if messy.
3083 edit_refresh_clearok()
3084 - New function, does a total update for edit refresh, needed to fix
3085 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +00003086 onekey()
3087 - Off by one error fix (Rocco Corsi).
Chris Allegrettae7034c62000-09-15 03:31:09 +00003088
Chris Allegretta6306a112000-09-02 07:55:41 +00003089 update_line()
3090 - Added check for binary data >= 1 and <= 26, and use ^+letter
3091 to display it. Should fix editing text files with binary
3092 data in them. Placing of the cursor seems to be a bit screwed
3093 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00003094- search.c:
3095 search_abort()
3096 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
3097 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +00003098 findnextstr():
3099 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +00003100 - Fixed check for string that only occurs on the same line failing
3101 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +00003102
Chris Allegrettaba96f7a2000-08-09 21:38:28 +00003103nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +00003104- cut.c:
3105 do_cut_text()
3106 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +00003107 - Added check_statblank().
3108 - Check for fileptr == filebot, if so return, we shouldn't bother
3109 cutting the magic line.
3110 do_uncut_text()
3111 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00003112- nano.c:
3113 main()
3114 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +00003115- po/Makefile.in.in:
3116 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
3117 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +00003118- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +00003119 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +00003120
Chris Allegretta0bf4e142000-08-04 02:42:04 +00003121nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +00003122- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
3123 Affects many many functions. Removed functions edit_update_top and
3124 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +00003125- Added global variable tabsize, we no longer screw with the curses
3126 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +00003127- configure.in:
3128 - Finally fixed check for slang to report "no" if not called
3129 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +00003130- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +00003131 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +00003132 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +00003133 null_at()
3134 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +00003135 delete_buffer()
3136 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +00003137 do_backspace()
3138 - Now calls page_up_center instead of page_up (as it should?)
3139 do_enter()
3140 - Fixed typo (?) in check for inptr->next. Caused lots of
3141 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +00003142 main()
Chris Allegretta88520c92001-05-05 17:45:54 +00003143 - Removed now useless usertabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +00003144- search.c:
3145 replace_abort()
3146 - redundant, now just calls search abort until it does something
3147 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +00003148- winio.c:
3149 edit_refresh()
3150 - Added check for current line "running" off the screen.
3151 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +00003152 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +00003153 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +00003154 edit_update()
3155 - Rewritten, hopefully this will remove a lot of the
3156 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +00003157- move.c:
3158 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +00003159 - do an edit_update() at last case. Made function more like
3160 Pico's version, only move down to two lines before editbot.
3161 page_up()
3162 - Made function more like Pico's version, only move down to two
3163 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +00003164
Chris Allegrettaa1a55c72000-07-28 00:36:03 +00003165nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +00003166- nano.h:
3167 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
3168- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +00003169 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +00003170 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +00003171 - Simplified check for freeing cutbuffer. Added checks for doing
3172 multiple cuts with -k, now sets marked_cut to 2 for later
3173 processing by do_uncut_text().
3174 do_uncut_text()
3175 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +00003176- files.c:
3177 write_file()
3178 - Removed (redundant) check for writing out files with -t.
3179 do_writeout()
3180 - Changed check for filename to filename[0]. Added some code,
3181 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +00003182- nano.c:
3183 do_justify() & do_wrap():
3184 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +00003185- de.po
3186 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +00003187
Chris Allegretta1d7110d2000-07-23 16:59:07 +00003188nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +00003189- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +00003190 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
3191 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +00003192- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
3193 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +00003194- move.c
3195 page_down()
3196 - Don't edit_refresh() if the bottom of the file is in the edit
3197 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +00003198- nano.c:
3199 main():
3200 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00003201 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +00003202 die():
3203 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +00003204 do_spell():
Chris Allegretta88520c92001-05-05 17:45:54 +00003205 - Changed exit semantics a bit so that aspell wouldn't get
3206 all screwy (bug discovered by Joshua Jensen.
Chris Allegretta8f6c0692000-07-19 01:16:18 +00003207- files.c:
3208 read_file():
3209 - Added init of buf variable, hopefully this will stop the
3210 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +00003211 write_file():
3212 - Added code to check to see if using -l and the file is not
3213 in fact a link. This should fix the behavior where a file
3214 that does not have write permission but could be removed and
3215 rewritten is saved without error. Please test this feature
3216 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +00003217- search.c:
3218 search_init():
3219 - Added " (to replace)" statement to end of search string if
3220 we are doing a replace. Manually converted all the translations
3221 from '%s' to '%s%s' to ensure they still work with the new code.
3222 Also put in the translation for " (replace)" in the .po's. Hope
3223 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +00003224 do_search(), do_replace():
3225 - Removed call to search_abort()/replace_abort() before call to
3226 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +00003227 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +00003228 findnextstr()
Chris Allegretta88520c92001-05-05 17:45:54 +00003229 - do not center string found if it is currently visible. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +00003230- fr.po:
3231 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +00003232- es.po:
3233 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +00003234
Chris Allegrettae955dae2000-07-07 22:24:59 +00003235nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00003236- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +00003237 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
3238 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
3239 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +00003240 search_init() and do_replace() and strstrwrapper().
3241 - Added _POSIX_VERSION check to regexp code. Better than nothing
3242 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +00003243 - Made search functions & keys more like Pico. Added goto line from
3244 search and replace function, changed wording to "No Replace" instead
3245 of "To Search", "To Replace" to simply "Replace", and changed to
3246 Pico's keystroke by default, ^R. Affects search_init(),
3247 do_search() in search.c, globals in nano.h and
3248 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +00003249 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00003250- cut.c
3251 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +00003252- files.c:
3253 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +00003254 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00003255- nano.c:
3256 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +00003257 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
3258 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +00003259 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +00003260 - Corrected FIXME in do_enter with explanation. (Rob)
3261 - Fixed FIXME in do_justify, resulted in creation of
3262 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +00003263 help_init():
3264 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +00003265 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +00003266 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +00003267 do_backspace(), do_delete():
3268 - Added magic line code here too.
3269
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00003270- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +00003271 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +00003272- fi.po:
3273 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +00003274- utils.c:
3275 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00003276- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +00003277 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +00003278 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +00003279 do_yesno(), nanogetstr():
3280 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +00003281 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
3282 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +00003283 clear_bottomwin():
3284 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +00003285 edit_update_top():
3286 - Fixed a bug that caused nano to not update when
3287 current->next == NULL (e.g. paging down to the very bottom of
3288 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +00003289 fix_editbot:
3290 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +00003291 edit_add:
3292 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +00003293
Chris Allegretta4da1fc62000-06-21 03:00:43 +00003294nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +00003295- New flag "-T" or "--tabsize" to specify how to display tab widths.
3296 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
Chris Allegretta88520c92001-05-05 17:45:54 +00003297 winio.c, and nano.h. Many hardcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +00003298 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +00003299- id.po:
3300 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +00003301- es.po:
3302 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +00003303- winio.c
Chris Allegretta88520c92001-05-05 17:45:54 +00003304 - Rewrite of display functions to correct the display problems
Robert Siemborski91413cf2000-06-07 02:20:46 +00003305 we had been seeing. Affects: add_marked_sameline, edit_add,
3306 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +00003307 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00003308 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00003309 - Cut display_main_list call, as this function is only supposed to
3310 refresh what's already on the screen, not go through the process
3311 of adding the text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +00003312- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00003313 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +00003314- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +00003315 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +00003316 - Removed editwineob, as it was redundant for (editwinrows - 1).
3317 Changed all calls to editwinrows - 1 in nano.c and move.c.
3318 - Removed all functions that were split into other files.
3319 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +00003320 do_enter():
Chris Allegretta88520c92001-05-05 17:45:54 +00003321 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +00003322 do_insertfile():
3323 - Fix display problem when using ctrl-r to load a file
3324 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +00003325 handle_sigwinch():
Chris Allegretta88520c92001-05-05 17:45:54 +00003326 - Added titlebar(), edit_refresh() and display_main_list() calls
3327 because a resize wasn't picking up on possible different width
3328 correctly.
Chris Allegretta97accc62000-06-19 05:45:52 +00003329- utils.c:
3330 - Moved nmalloc() and nrealloc() here.
3331- move.c:
3332 - New file, contains movement functions (like do_home(), do_up(),
3333 do_down(), page_up(), etc...).
3334- files.c:
3335 - Contains functions for files (read_file, insert_file,
3336 do_writeout(), etc).
3337- search.c:
3338 - Contains all our searching and related functions, (do_search(),
3339 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +00003340
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003341nano-0.9.10 - 06/04/2000
3342- es.po:
3343 - Translation updates (Jordi).
3344- AUTHORS, nano.1.html, TODO, README:
3345 - Documentation and email address updates (Jordi).
3346- nano.c:
3347 main():
3348 - Moved Adam's termio code down to after getopt() and before initscr()
3349 to stop people losing their SIGINT character when using args that
3350 exit nano before it runs (--version, --help, etc).
3351
3352nano-0.9.9 - 05/31/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00003353- Makefile.am:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003354 - Added proper lines for defining LOCALEDIR.
3355- configure.in:
3356 - Spelling fixes (Jordi Mallach)
3357 - Removed CFLAGS changes for gcc, reduces portability according to
3358 some, and it certainly doesn't seem to decrease exe size.
3359- es.po:
Chris Allegretta88520c92001-05-05 17:45:54 +00003360 - Spanish translation updates (Jordi Mallach)
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003361- POTFILES.in:
3362 - Added global.c file, was screwing up translations (i.e. they
3363 weren't getting done).
3364- cut.c:
3365 add_to_cutbuffer():
3366 - Added totsize increment.
3367 - Cut fixes and optimizations (Rob Siemborski).
3368 do_uncut_text():
3369 - Added totsize increment in several places.
3370- nano.c:
3371 headers:
3372 - Removed LOCALEDIR define.
3373 do_justify():
3374 - Added edit_refresh() call (bug discovered by Adam).
3375 page_down_center():
3376 - Added call to edit_update(current) for last case. Removed
3377 increment of current_y since it's now just wasteful.
3378 do_enter():
3379 - Added totsize increment.
3380 renumber(), renumber_all():
3381 - Removed totsize-- and totsize init in renumber_all.
3382 do_mouse():
Chris Allegretta88520c92001-05-05 17:45:54 +00003383 - Added edit_refresh() call to show highlight updates. Removed
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003384 unnecessary wrefresh(edit).
3385 main():
3386 - Moved up locale calls so that translated --help messages would
3387 actually get translated.
3388 do_backspace(), do_delete():
3389 - Added decrement of totsize.
3390 init_help_msg():
3391 - New function, initializes help text if NANO_SMALL isn't set (fixes
3392 broken i18n).
3393 read_file():
3394 - malloc call changed to nmalloc (Rob Siemborski).
3395- winio.c:
3396 total_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00003397 - Completely rewrote function, not quite so brain-damaged now.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003398
3399nano-0.9.8 - 05/18/2000
3400- nano.c:
3401 main():
3402 - Added awesome code that disables the CINTR and CQUIT
3403 character (Adam Rogoyski). Removed raw()/noraw() calls so that
3404 nano gets input in 'normal' mode, which is the Right Way(tm) to
3405 do it. ^S, ^Z and ^Q now work properly as a result, as well as
Chris Allegretta88520c92001-05-05 17:45:54 +00003406 ^C. New variable term, global variable oldterm to save previous
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003407 term settings, and changes to finish() and die().
3408 - Added extra #ifdefs in getopt code, so that above code and
3409 flag init is run even if GETOPT_LONG is not #defined.
3410 - Added memset line before sigactions. (Adam Rogoyski)
3411 do_suspend():
3412 Removed function, see above for why.
3413- winio.c:
3414 update_line(), center_cursor():
3415 - Removed wrefresh(edit) from bottom of functions. wrefresh
3416 should now only be called once, at the bottom of the main()
3417 loop.
3418- global.c:
3419 shortcut_init():
Chris Allegretta88520c92001-05-05 17:45:54 +00003420 - Removed suspend sc_init call and suspend message because suspend
3421 is no longer needed in the shortcut list to work properly.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003422
3423nano-0.9.7 - 05/14/2000
3424- nano.c:
3425 do_home(), do_end():
3426 - Added calls to update_line for the current line, fixes
3427 lack of update (bug discovered by Alberto GarcĂ­a).
3428 main():
3429 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
3430 following symlinks even when -l isn't set, and "no changes"
3431 error when nano is called from crontab -e (Adam Rogoyski).
3432- cut.c:
3433 do_cut_text():
3434 - Added edit_update_top to cut when mark is set, fixes lack of
3435 display update (bug discovered by Ken Tyler).
3436
3437nano-0.9.6 - 05/08/2000
3438- New Italian translation (it.po), by Daniele Medri.
3439- nano.c:
3440 page_up(), page_down():
3441 - Added reset of placewewant to 0, as it should be.
3442 do_up(), do_down():
3443 - Added call to update_line() for line we move from and line we
3444 move to, in order to keep the highlighting correct.
3445 do_wrap():
3446 - Added var chop, new code to wrap lines more like Pico, mostly.
3447 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
3448- winio.c:
3449 do_help():
3450 - Added edit_refresh() before exit.
3451 update_cursor():
3452 - Removed cursor updating which really wasn't needed anyway.
3453 edit_update():
3454 - Removed yucky code that didn't work, this function now just
3455 computes edittop and editbot and calls edit_refresh() to do the
Chris Allegretta88520c92001-05-05 17:45:54 +00003456 rest, which removes a lot of duplicate code..
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003457
3458nano-0.9.5 - 05/01/2000
3459- Removed bytes from file struct because it was computationally wasteful.
3460- cut.c:
3461 do_uncut_text():
3462 - Added call to edit_refresh().
3463- nano.c:
3464 do_backspace():
3465 - Added reset of editbot when deleting the last line of the file
3466 (bug discovered by Adam).
3467 do_char():
3468 - Removed call to reset_cursor().
3469 do_delete():
3470 - Added similar check as to do_backspace().
3471 do_enter():
3472 - Added call to edit_refresh().
3473 do_left(), right():
3474 - Added call to update_line(), still redundant but better...
3475 do_up(), do_down():
3476 - Added refresh calls both for current line and line to which
3477 we are moving.
3478 main():
3479 - Removed inefficient call to edit_refresh() after every keystroke.
3480 It is now up each function to leave the screen in a good state.
3481- winio.c:
3482 do_cursorpos()
3483 - Rewritten to not use bytes from filestruct by an incremental sum.
3484 update_line(), reset_cursor():
3485 - Optimized calls to xplustabs() through a single variable.
3486 - update_line() now takes a new arg, an index into the string
3487 for where to update the line from. Needed for new update
3488 code.
3489- configure.in:
3490 - Better checks for slang, allows argument to --with-slang.
3491 (Albert Chin-A-Young)
3492 - Removed -Iintl from CFLAGS in gcc check.
3493- Makefile.am:
3494 - Addition of -Iintl for gettext (Albert Chin-A-Young)
3495
3496nano-0.9.4 - 04/25/2000
3497 - Fixed calls to no_help and changed them to the more consistent
3498 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
3499 not 1. Code to temporarily disable NO_HELP when in the
3500 help system. (Adam Rogoyski)
3501- cut.c:
3502 do_marked_cut(), do_cut(), do_uncut():
3503 - Commented out unnecessary bits when NANO_SMALL is being used.
3504- winio.c:
3505 xpt(), strlenpt(), actual_x():
3506 - Added check for value of data[i] & 0x80, if so do not make
3507 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
3508 edit_refresh():
3509 - New check for temp == NULL (bad thing), if so go back to the
3510 previous line. New filestruct var hold points to prev line.
3511 Fixes segfault when paging down to the end of a file.
3512- nano.c:
3513 write_file():
3514 - Added check for if file exists and is not equal to the current
3515 filename, prompt for overwrite (Adam Rogoyski).
3516 do_down():
3517 - Removed check for current->next == NULL, now checks return value
3518 of do_down before setting current_x = 0 (discovered by Adam).
3519 do_justify():
3520 - Fixed segfault when reaching the last line (tried to assign
Chris Allegretta88520c92001-05-05 17:45:54 +00003521 current->next->data when current->next == NULL) (discovered
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003522 by Adam).
3523- utils.c:
3524 - Removed extra macro defs that are now in nano.h.
3525- nano.h:
3526 - Changed macro SET() to use |= instead of ^=. Fixes bug in
3527 cut code when cutting more than one line, and cutbuffer gets
Chris Allegretta88520c92001-05-05 17:45:54 +00003528 blown away when it shouldn't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003529
3530nano-0.9.3 - 04/29/2000
3531- cut.c:
3532 do_marked_cut():
3533 - Fixed off by one error in cut code for marked text.
3534 do_cut_text():
3535 - Removed check for being on the last line, part of
3536 magic line code.
3537 add_to_cutbuffer():
3538 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
3539 - Added inptr->prev = NULL for case where cutbuffer == NULL.
3540- nano.c:
3541 do_backspace(), do_char():
3542 - Removed "magic line" code. It was basically causing more bugs
Chris Allegretta88520c92001-05-05 17:45:54 +00003543 than it was helping for the sake of compatibility. This fixes
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003544 at least one known segfault condition.
3545 do_enter():
3546 - Added setting editbot to new node if the new node is the last
3547 node in the file.
3548 write_file():
Chris Allegretta88520c92001-05-05 17:45:54 +00003549 - Changed writing file behavior. Now, if last line of the file
3550 has any data on it, we write a newline on it, else we don't.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003551- winio.c:
3552 add_marked_sameline():
3553 - New code that checks for whether the begin and end of the marker
3554 are on different lines. Missing previously.
3555 edit_add():
Chris Allegretta88520c92001-05-05 17:45:54 +00003556 - added some more checks for text length. Cleaned up some
3557 mvwaddnstrs that could be written more simply as waddnstrs.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003558 edit_refresh():
Chris Allegretta88520c92001-05-05 17:45:54 +00003559 - Removed check for temp == filebot, it is now treated like any other
3560 line. Fixes a bug where selected text on the last line shows
3561 normally.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003562 xpt():
3563 - Removed an extra computation for tabs variable that was incorrect.
3564 xplustabs():
Chris Allegretta88520c92001-05-05 17:45:54 +00003565 - Since xpt now actually works, this func is now just a wrapper for
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003566 xpt(current, current_x)
3567- nano.1, nano.1.html:
3568 - Added -l option to man pages.
3569- configure.in:
3570 - New option --enable-tiny, #defines NANO_SMALL in config.h.
3571 Disables call to gettext in functions and other i18n stuff in
3572 nano.c, the detailed help mode, the resize functions, and the
3573 justify code which no one ever uses.
3574 - New option --with-slang. Enables slang libraries instead of
3575 ncurses, requires slcurses.h for wrapper functions. (Based
3576 on patches for 0.8.7 by Glenn McGrath).
3577
3578nano-0.9.2 - 04/15/2000
3579- This release just fixes the serious segfault problem if nano is
3580 invoked any way other than using the absolute path. The bug was
Chris Allegretta6df90f52002-07-19 01:08:59 +00003581 in the new code for checking whether nano is invoked as 'pico'.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003582
3583nano-0.9.1 - 04/14/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00003584- Added Pico compatibility for ^T when in search or switch to switch
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003585 to the opposite function. Added one to REPLACE_LIST_LEN and
3586 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
Chris Allegretta88520c92001-05-05 17:45:54 +00003587 new strings that will have to be gettext()ed. New argument 'replacing'
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003588 to search_init(). Handlers in do_replace and do_search().
3589- New write code, now follows symbolic links instead of replacing them
3590 with the new file. New option (-l, --nofollow) to enable the old
3591 (incorrect, but secure) behavior (Adam Rogoyski).
3592- nano.c:
3593 do_wrap():
3594 - Fixed another bug relating to wrapping, and which would cause
3595 a segfault *sigh*.
3596 do_replace():
3597 - Incremented current_x by the length of the replacement
Chris Allegretta88520c92001-05-05 17:45:54 +00003598 text inside the main replace loop. Fixes bug #15.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003599 add_marked_sameline():
3600 - New function, handles marked text when start & end of marker is
3601 on one line, also supports most marked text when cursor > COLS.
3602 main():
3603 - Code to check if nano is invoked as 'pico', and if so
3604 automatically set pico_msgs (Robert Jones).
3605
3606nano-0.9.0 - 04/07/2000
3607- nano.1, nano.1.html: Updated man page with my email address and homepage.
3608- winio.c:
3609 reset_cursor(), update_line():
3610 - Changed update algorithm for x value to (COLS - 7) multiple when x
3611 value > (COLS - 2).
3612- edit_refresh():
3613 - Removed inner loop code, now calls update_line() for each line
3614 in question, MUCH nicer.
3615- xplustabs(), xpt():
Chris Allegretta88520c92001-05-05 17:45:54 +00003616 - Removed redundant increment of tabs when column no % 8 == 0.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003617 - Added check for data[i] < 32, most of such bits are 2 chars wide.
3618- update_line():
3619 - Fixed a stupid call to strlenpt with col when we should have
3620 been using actual_col. Ugh.
3621
3622nano-0.8.9 - 03/22/2000
3623- nano.c:
3624 empty_line(), no_spaces(), justify_format(), do_justify():
3625 Actually added these (screwup applying patch).
3626 do_justify(): Added call to set_modified().
3627
3628nano-0.8.8 - 03/12/2000
3629- Preliminary internationalization support. Many many functions modified
3630 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
3631 New dirs po/ and intl/, changes to configure.in and Automake.am to
3632 support i18n.
3633- nano.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00003634 includes: Added sys/param.h and limits.h. (Adam Rogoyski).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003635 statics: Changed some things that were not necessarily static
3636 (Adam Rogoyski).
3637 nrealloc(): New function, similar to nmalloc(). Changed calls from
3638 realloc() to nrealloc (Adam Rogoyski).
3639 empty_line(), no_spaces(), justify_format(), do_justify():
3640 New functions for justify function (Adam Rogoyski).
3641- winio.c:
3642 blank_edit(): Added wrefresh call to edit so that screen updates (like
3643 on ^L) actually work.
3644 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
3645
3646nano-0.8.7 - 03/01/2000
3647- main.c:
Chris Allegretta88520c92001-05-05 17:45:54 +00003648 do_wrap(): Better fix for segfaults, and fix for lines being wrapped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003649 to a single character on one line when no good place to
Chris Allegretta88520c92001-05-05 17:45:54 +00003650 break the line exists, and for wrapping lines longer than
3651 COLS.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003652- nano.1.html:
3653 Html version of man page, now included in dist. For
3654 the benefit of nano packages in Linux distributions.
3655
3656nano-0.8.6 - 02/24/2000
Chris Allegretta88520c92001-05-05 17:45:54 +00003657- global.c:
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003658 shortcut_init():
3659 Added shortcuts for goto_line and do_replace when using
3660 pico_msgs. Oops.
3661- nano.c:
3662 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
Chris Allegretta88520c92001-05-05 17:45:54 +00003663 do_wrap(): Added check for backing up past tabs, which we shouldn't do.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003664 Removed check for backing up past spaces first.
3665 main(): Added for loop to check for alt keys instead of hard list.
3666 do_enter(): Fix for bug #14, added call to reset_cursor and messed
3667 up do_char quite a bit.
3668 version(): Added time and date stamp for compile on version message.
3669 Added mail and web page info.
3670- README: Updated mailing list info.
3671
3672nano-0.8.5 - 02/18/2000
3673- nano.c:
3674 main(): Finally fixed tilde being input on page up/down keys in
3675 certain terminal types. Fix was input 26->91->5[34] check
3676 for 126, if so make the kbinput PAGE UP/DOWN, else unget
3677 the keystroke and continue. Added #include <ioctl.h> for
3678 ioctl call.
3679 handle_hup():
3680 Handler for hangup signal. Belated include of patch from
3681 Tim Sherwood.
3682- winio.c:
3683 edit_refresh():
3684 Temporary fix for selecting text when temp == current.
Chris Allegretta88520c92001-05-05 17:45:54 +00003685 edit_refresh() is now unmanageably complex, and must be
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003686 revamped.
3687 check_statblank():
3688 Added check for constupdate, makes things less choppy
3689 (Adam Rogoyski)
3690
3691nano-0.8.4 - 02/11/2000
3692- Moved global variables that were only (or mostly) used in one file into
3693 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
3694- global.c:
3695 shortcut_init():
3696 Removed redundant NANO_CONTROL_H from backspace shortcut,
3697 added char 127 which should have been there.
3698- nano.c:
3699 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
3700 segfaults (Adam Rogoyski).
3701- Makefile.am: Added all source filenames (Adam Rogoyski).
3702- nano.1: Fixed mail addressed and added mailing list address.
3703- README: Updated my email address and the nano web page.
3704
3705nano-0.8.3 - 02/08/2000
Chris Allegretta6df90f52002-07-19 01:08:59 +00003706- New Pico mode (-p, --pico), toggles (more) compatibility with the
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003707 Pico messages displayed in the shortcut list. Note that there are still
3708 small differences in this mode.
3709- nano.h: New shortcut struct format, for the benefit of i18n and
3710 our help menu. Removed shortcut message macros, they are
3711 now all in shortcut_init in global.c.
3712- nano.c:
3713 do_wrap(): Removed resetting of current_x when we are in fact
3714 wrapping to the next line, fixes a bug in -i mode.
3715 do_enter():
3716 Rewrote the autoindent mode code to be a lot less pretty,
3717 but a lot more magical.
3718 main():
3719 Removed case for ignoring char 126 (~). That's kind of
3720 important, we'll have to fix handling that sequence when
Chris Allegretta88520c92001-05-05 17:45:54 +00003721 paging up/down on a terminal some other way... Revamped
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003722 main switch loop in much snazzier fashion based on the
3723 shortcut list.
3724- winio.c:
3725 New function display_main_list. Affects all functions
3726 that used to call bottombars() with main_list. Added
3727 because we now only call bottombars with the macro
3728 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
3729 changes to the main_list shortcut list (see global.c below).
3730 New function do_help, our preliminary dynamic help system.
3731- Many many funcs:
3732 Changed from int to void to allow one uniform type to call
3733 from the shortcut struct. Also a few functions that do
3734 not simple have void argument have new functions called
3735 funcname_void(void) to be called from the shortcut list.
3736 do_cut_text and do_uncut_text were changed to void
3737 arguments because they were never called with a filestruct
3738 other than *current anyway.
3739- global.c:
3740 Shortcut list main_list was expanded to cover all
3741 shortcuts that could be caught in the main loop.
3742 Consequently there is a new macro MAIN_VISIBLE which tells
3743 how many items in the main list to actually show.
3744
3745nano-0.8.2 - 02/02/2000
3746- Added initial mouse (-m, --mouse) support. New global variable
3747 use_mouse. (Adam Rogoyski)
3748
Chris Allegretta88520c92001-05-05 17:45:54 +00003749- nano.c: Set initial value of fill to COLS - 8 rather than just 72
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003750 regardless. (Adam Rogoyski).
3751 do_delete():
3752 Deleted call to do_backspace() when on the end of a line,
3753 because it won't update the line properly.
3754 do_backspace():
3755 Removed unnecessary pointer manipulation that was being
3756 handled by unlink_node().
3757 open_file():
3758 Added check for trying to open a directory (currently we
3759 segfault on this). Bug pointed out by Chad Ziccardi.
3760
3761nano-0.8.1 - 01/28/2000
3762- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
3763 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
3764 global.c and proto.h.
3765- nano.c:
3766write_file(): Added (incredibly) necessary check for EPERM when
3767 link() fails. This allows us to actually save
3768 files via rename() on filesystems that dont
3769 support hard links (AIEEEEEE).
3770do_goto():
3771 Fixed a stupid mistake where we were calling
3772 bottombars() with replace_list instead of goto_list.
3773- nano.h:
3774 New char *help in shortcut structure for help
Chris Allegretta88520c92001-05-05 17:45:54 +00003775 feature. Added NANO_*_MSG and NANO_*_HELP #defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003776 for help function and i18n.
3777- global.c:
3778 New functions shortcut_init (called in nano.c) and
3779 sc_init_one() to initialize the shortcuts without
3780 using {}s (for i18n).
3781
3782nano-0.8.0 - 01/25/2000
3783- View flag (-v, --view) implemented. Global variable view_mode, affects
3784 main loop of nano.c and new_file(). (me)
3785- nano.c:
3786 split checks for TERMIOS_H and TERMIO_H up so we
3787 can (theoretically) include them both, which is good.
3788handle_sigwinch():
3789 Added check for ncurses.h. (Andy Kahn)
3790do_spell():
3791 We now only try ispell because we don't as of yet
3792 handle the 'spell' program the right way, now that
3793 I finally know what the right way is =-). Added
3794 call to edit_update(fileage) to stop segfaults.
3795global_init():
3796 Added initialization of edit* filestruct pointers
3797 to stop segfaults on spell check.
3798usage():
3799 Check for getopt_long, and if no leave out the
3800 GNU options everyone seems to love so much (Andy Kahn)
3801main():
3802 Added checks for getopt_long (Andy Kahn)
3803 We ignore character 126 because it gets put into
3804 the buffer when we page up/down on a vt terminal.
3805write_file():
3806 Fixes for umask (Adam Rogoyski). Renamed tmpfile
Chris Allegretta88520c92001-05-05 17:45:54 +00003807 variable to tmp. Documented the tmp option
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003808 better in the function comments. Fixed my
3809 stupidly commented out check for tmp on setting
3810 umask which I really like =>
3811- nano.h:
3812 Made desc variable in shortcut struct a pointer
3813 instead of a fixed-length string.
3814- utils.c:
3815 Fixed check for config.h before nano.h.
3816- configure.in:
3817 New checks for getopt_long, getopt.h, removed
3818 CFLAGS and LDFLAGS changes. Gonna have to run
3819 strip manually now =-) (Andy Kahn)
Chris Allegretta88520c92001-05-05 17:45:54 +00003820 Added check for HAVE_WRESIZE, new file acconfig.h
3821 (me).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003822
3823nano-0.7.9 - 01/24/2000
3824- New autoindent feature. Command flag 'i' or '--autoindent'. New
3825 function do_char() to clean up character output, global
3826 variable autoindent in global.c. (Graham Mainwaring)
3827- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
3828 files on exit without prompting. Affects do_writeout(). Also
3829 do_writeout() now takes a parameter for if exiting.
3830 Global variable temp_opt in global.c (Graham Mainwaring)
3831- Preliminary spell program support. Added command flag '-s' or
3832 '--speller' for alternative speller command. Added function do_spell()
3833 and exit_spell() to nano.c. New global variable alt_speller.
3834- nano.c:
3835 main(): We now ignore input of decimal 410 because these get entered
3836 when we resize the screen. Sorted options in getopt()
3837 switch statement.
3838 usage(): Sorted options and changed tabs to make room for -s option.
3839 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
3840 doesn't print the number of lines written on the statusbar.
3841 global_init():
3842 Added more initializations to globals to support do_spell().
3843
3844nano-0.7.8 - 01/23/2000
3845- Stubbed justify function. Affects main() in nano.c and nano.h defines.
Chris Allegretta88520c92001-05-05 17:45:54 +00003846- Added Fkey equivalents for Pico compatibility. Affects nano.h defines
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003847 and main() in nano.c
3848- Removed redundant reset_cursor() calls from the blank() routines.
3849- nano.c:
3850 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
3851 Removed check for isprint() characters in main while loop
3852 for people with odd character sets *shrug*. Added some X
3853 window F-key combos.
3854 read_line(): New function, consolidates of most of the special
3855 sections of the file reading code. (Rob Siemborski)
3856 do_replace(): Many scattered fixes. (Rob Siemborski)
3857 write_file(): Added check for empty filename.
3858- winio.c:
3859 nanogetstr(): Fixes for deleting at places other than the end of the
3860 buffer, cut support. (Adam Rogoyski)
3861 blank_edit(): New function, blanks edit buffer. Added call to it in
3862 total_refresh().
3863- configure: Checks for glib if snprintf of vsnprintf aren't available
3864 (Andy Kahn). Changed warning message when no termcap lib
3865 is found.
3866
3867nano-0.7.7 - 01/19/2000
3868- Option '-v' for version moved to '-V', because -v is Pico's "read only"
3869 mode (affects getopt() in main() and usage() function in nano.c
3870- New flag -c, always show cursor position. Affects main() in nano.c and
3871 statusbar() in winio.c
3872- Option '-x' doesn't show help window at the bottom of the editor.
3873 New variable no_help in nano.h and proto.h, affects main(), usage(),
3874 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
3875 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
3876 hand =P) (Adam Rogoyski)
3877- nano.c:
3878 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
3879 page_up(), page_down():
3880 - New functions. We now set the cursor at the top right corner,
3881 not at the center line, and page up and down a full screen
3882 rather than a half screen. Original functions renamed to
3883 page_up_center() and page_down_center().
3884 main():
3885 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
3886 in main while loop because suspend mode was broken. This should
3887 fix it, at least for now.
3888 - Added long option support (By popular harassment ;-) - Added
3889 #include for getopt.h, changed getopt() to getopt_long().
3890 Options added so far: --version (-V), --nowrap (-w), --suspend
3891 (-z), --help (-h), --nohelp (-x).
3892 - Rewrote signal statements (Adam Rogoyski)
3893
3894nano 0.7.6 - 01/15/2000
3895- New ChangeLog format
3896- nano.c:
3897 main(): Bound CONTROL_H to backspace (oops)
3898 Added more Alt-[-key combinations, for page up & down.
3899 read_bytes(): New function (Adam Rogoyski)
3900 read_file(): Optimizations - malloc()s *buf a little at a time rather
3901 than one huge buffer, and replaced the strcat at the end
3902 with an index variable. Added call to read_bytes().
3903 do_next_word(): New function, binding is control-space (0) (me)
3904
3905- winio.c:
3906 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
3907 (formula is extra space needed = COLS / 6 - 13).
3908 actual_x() & strlenpt():
3909 Added bug#9 fix - when tabs % 8 == 0, we should only
3910 increment tabs by 1.
3911 titlebar(): Fixed overrun in titlebar on very long filenames.
3912
39130.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
3914 writing a newline at EOF. do_cursorpos and do_replace are now not
3915 directly bound to signals but picked up as their control sequences
3916 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
39170.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
3918 available memory, align bug fixed (Big Gaute).
3919
3920--- As of version 0.7.4 TIP is renamed to nano.
3921
39220.7.3 Fixed a double blank_statusbar() when jumping to first and last
3923 lines. Took out unnecessary updates in load_file. Bug fix in
3924 do_left. Missing updates to totlines, fixed bug #7 (last line not
Chris Allegretta88520c92001-05-05 17:45:54 +00003925 having a newline at the end doesn't get read, bugfix in do_replace
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003926 with replace all, more/better comments (Robert Siemborski)
39270.7.2 Our first patch accepted into the source! configure fixes
3928 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
3929 Bug fix in update_line for editing long lines. Fixed arguments
3930 being put into the filename when none is specified. Preliminary
3931 +line command argument function.
39320.7.1 configure tweak for better FreeBSD support. Removed refresh() from
3933 edit_refresh to stop cursor "jumping" during screen updates. This
3934 will probably cause a bug or two. Replace is now Alt-R (@R) and
3935 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
3936 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
3937 Control-G will become the Help key, but for now is stubbed out.
39380.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
3939 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
3940 length file. Added Esc-[-A,B,C,D cursor key sequences.
39410.6.9 Preliminary cursor position function. Split up tip.c more, made
3942 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
3943 that was leaving out a character.
39440.6.8 By request, optchr in main() is now an int. Removed unneeded
3945 globals. Bound functions for next/prev page, and wrote functions
3946 do_home and do_end.
39470.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
3948 created read_file. Implemented Insert File. Fixes in tipgetstr
3949 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
39500.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
3951 aborted searches and more Pico-compatible messages. statusq() now
3952 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
39530.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
3954 regarding buffers with filebot in them. Fixins in do_backspace
3955 and do_enter. Removed unused variables. Removed strip_newline.
39560.6.4 Took out the awful newlines from each string buffers. This will
3957 certainly cause more bugs. Fixes in do_exit(). Better empty file
3958 handling (I hope).
39590.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
3960 do_enter() rewritten.
39610.6.2 Better default file permissions. Complete rewrite of do_wrap().
3962 Better handling of editing with cursor near COLS - 1.
39630.6.1 Starting to implement wrapping toggle. Fix for unhandled control
3964 codes being entered into the buffer. Bug fix in actual_x; more
3965 > COLS - 1 functionality, especially on lines with TABs. Fixed being
Chris Allegretta88520c92001-05-05 17:45:54 +00003966 locked into cutbuffer when cutting more than one marked screen of
3967 text.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000039680.6.0 We have TABs!!! To do this, placewewant is now set to the actual
3969 width on the screen we want to be, not an index of current->data.
3970 New functions xplustabs and actual_x convert the actual place
3971 the cursor should be on the screen to and from the place in the
3972 string.
39730.5.5 Changed do_right to test do_down before setting current_x to 0,
Chris Allegretta88520c92001-05-05 17:45:54 +00003974 eliminating the "looping" on the last line when holding the right
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003975 arrow. Preliminary support for longer than COLS - 1 lines.
3976 Wrote do_delete.
Chris Allegretta88520c92001-05-05 17:45:54 +000039770.5.4 Fixed a bug in total_update that wasn't repainting the screen
3978 properly. tipgetstr is much more messy but text is now more
3979 editable ;) Fixed crash on entering a new file, hopefully. Awful
3980 stub for tab handling, only in do_right() to save me some sanity.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000039810.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
3982 Fixed a few bugs in do_uncut when not uncutting from marked text.
Chris Allegretta88520c92001-05-05 17:45:54 +00003983 I would not trust your data with the mark code right now, but then
3984 we're not at version 1.0 yet so dont trust anything ;)
39850.5.2 Added reset_cursor() before end of update_line so cursor doesn't
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003986 jump after each keystroke entered. Select text stubbed. Fixed
Chris Allegretta88520c92001-05-05 17:45:54 +00003987 a bug in total_refresh(). Setting a mark will highlight properly,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003988 but does not actually affect what gets put in the cutbuffer (yet).
39890.5.1 Writing a file out causes modified to be set back to 0. Good.
3990 Set_modified function written. Cut and uncut text now set
3991 modified when called.
39920.5.0 Half way there! Implemented write out, save function seems
Chris Allegretta88520c92001-05-05 17:45:54 +00003993 stable. Changed statusbar blank routing to not refresh, a separate
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00003994 program calls it and then refreshes. Made the program not clear
Chris Allegretta88520c92001-05-05 17:45:54 +00003995 the screen on exit, just the bottom two lines (like Pico).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000039960.4.2 Implemented replace all in replace function. Crude exit function
3997 (asks yes or no if modified but does not write to file).
39980.4.1 Implementing search & replace. Fixed crash on deleting at top of
3999 edit buffer. Implemented "timeout" of statusbar messages.
4000 Implemented ^A and ^E (beginning and end of line).
40010.4.0 Split code into global.c and proto.h to allow for better multiple
4002 file handling. Added #defines for the majority of the shortcut
Chris Allegretta88520c92001-05-05 17:45:54 +00004003 keys in tip.h for easy modification.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000040040.3.1 Write edit_refresh which doesn't move the screen around, just
4005 updates what's there already. do_wrap() and do_enter() added.
40060.3.0 Preliminary cutbuffer (cut and uncut) support.
40070.2.7 Check for Modification added. do_search() works.
40080.2.5 Rewrite of file data struct.
40090.2 Read in data to buffer, bound keystrokes to stub functions,
4010 initial cursor movement on screen. Initial autoconf support.
40110.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +00004012
4013$Id$