David Lawrence Ramsey | 606dfda | 2004-01-09 23:26:54 +0000 | [diff] [blame] | 1 | CVS code - |
David Lawrence Ramsey | 760a2dc | 2004-01-14 06:38:00 +0000 | [diff] [blame] | 2 | - General: |
| 3 | - Change instances in the code that refresh the entire edit |
| 4 | window when color support is enabled (in order to properly |
| 5 | handle multi-line color regexes) to only do so when |
| 6 | it's necessary, i.e, when COLOR_SYNTAX is set. (DLR) |
David Lawrence Ramsey | c53a92d | 2004-01-12 03:28:06 +0000 | [diff] [blame] | 7 | - nano.c: |
| 8 | main() |
| 9 | - Move the call to raw() on systems that don't define |
| 10 | _POSIX_VDISABLE outside the main input/output loop, as it |
| 11 | doesn't need to be called every time through the loop. (DLR) |
David Lawrence Ramsey | 41151ac | 2004-01-15 05:47:03 +0000 | [diff] [blame^] | 12 | - search.c: |
| 13 | do_replace_loop() |
| 14 | - Fix segfault when doing a regex replace of a string that |
| 15 | matches inside a line (e.g. replace the "b" in "abc" with |
| 16 | anything). (David Benbennick) |
David Lawrence Ramsey | e97c8d5 | 2004-01-14 19:26:29 +0000 | [diff] [blame] | 17 | - winio.c: |
| 18 | do_credits() |
| 19 | - Use nanosleep() instead of usleep(). The latter is only |
| 20 | standard under BSD, whereas the former is POSIX compliant. |
| 21 | (DLR) |
David Lawrence Ramsey | f0b3009 | 2004-01-10 06:02:05 +0000 | [diff] [blame] | 22 | - README: |
| 23 | - Reformat to 72 characters per line, fix wording in one spot, |
| 24 | and fix spacing in several spots. (DLR) |
David Lawrence Ramsey | 606dfda | 2004-01-09 23:26:54 +0000 | [diff] [blame] | 25 | |
David Lawrence Ramsey | fa1497b | 2004-01-09 23:22:02 +0000 | [diff] [blame] | 26 | GNU nano 1.3.1 - 2004.01.09 |
David Lawrence Ramsey | a593f53 | 2003-11-28 19:47:42 +0000 | [diff] [blame] | 27 | - General: |
| 28 | - Minor overhaul and abstraction of the lowest level of mouse |
| 29 | input, mostly adapted from the code in do_mouse() that handles |
| 30 | clicking on the shortcut list. New function do_mouseinput(); |
| 31 | changes to do_mouse(). (DLR) David Benbennick: Add a few |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 32 | efficiency/extensibility tweaks. |
David Lawrence Ramsey | a593f53 | 2003-11-28 19:47:42 +0000 | [diff] [blame] | 33 | - Modify the shortcut structure so that instead of having two |
| 34 | miscellaneous key values (misc1 and misc2), there is one key |
| 35 | value reserved for function keys (func_key) and one |
| 36 | miscellaneous key value (misc), and tweak the |
| 37 | shortcut-handling code to deal with this. These changes allow |
| 38 | NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the |
| 39 | shortcut entries for NANO_OPEN(PREV|NEXT)_KEY. Also remove |
David Lawrence Ramsey | d291460 | 2003-11-30 02:22:22 +0000 | [diff] [blame] | 40 | the values in the shortcut list and elsewhere that were made |
| 41 | redundant by the low-level input overhaul, use toupper() |
| 42 | instead of subtracting 32 from values for greater code |
| 43 | readability, and eliminate use of adding 32 to values when |
| 44 | testing for toggles, as get_kbinput_accepted() converts toggle |
| 45 | values to lowercase before returning them. (DLR) |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 46 | - Remove the workarounds for missing KEY_UP and KEY_DOWN, as |
| 47 | they appear to be holdovers of the old way of denoting the |
| 48 | search history shortcuts; if they aren't defined, KEY_LEFT and |
| 49 | KEY_RIGHT probably shouldn't work either, and all four appear |
| 50 | to be standard keys in termcap/terminfo in any case. Add new |
| 51 | special sentinel key values NANO_NO_KEY (for no shortcut key) |
| 52 | and NANO_HISTORY_KEY (for search history keys, both Up and |
| 53 | Down), modify the shortcut list to use them, and modify the |
| 54 | shortcut display routines to handle them. Also modify the |
| 55 | shortcut list code to not treat non-control character values |
| 56 | of val as Meta-sequences, and fix dependencies on that |
David Lawrence Ramsey | 8213850 | 2003-12-24 08:03:54 +0000 | [diff] [blame] | 57 | behavior. Also rename several variables: "alt" -> "meta", |
| 58 | "altval" -> "metaval". (DLR) |
David Lawrence Ramsey | a593f53 | 2003-11-28 19:47:42 +0000 | [diff] [blame] | 59 | - Hook up the verbatim input functions so that verbatim input |
| 60 | can be used in the edit window. New function |
| 61 | do_verbatim_input(); changes to do_char(). (DLR) Additional |
| 62 | minor tweaks to do_char() by David Benbennick. |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 63 | - Clarify the description of the --rebinddelete option. (DLR) |
David Lawrence Ramsey | 6481c3f | 2004-01-09 23:06:54 +0000 | [diff] [blame] | 64 | - Miscellaneous comment tweaks, and copyright year updates in |
| 65 | the comments and in do_credits(). (DLR) |
David Lawrence Ramsey | 8213850 | 2003-12-24 08:03:54 +0000 | [diff] [blame] | 66 | - cut.c: |
| 67 | - Overhaul to increase efficiency and add various cleanups. |
| 68 | Changes to add_to_cutbuffer(), cut_marked_segment(), and |
| 69 | do_uncut_text(). (David Benbennick) |
David Lawrence Ramsey | 7127857 | 2003-10-31 17:58:44 +0000 | [diff] [blame] | 70 | - files.c: |
David Lawrence Ramsey | 8213850 | 2003-12-24 08:03:54 +0000 | [diff] [blame] | 71 | check_operating_dir() |
| 72 | - Add an assert to ensure that full_operatingdir isn't NULL, |
| 73 | a fix for reporting nonexistent (incomplete) directory names |
| 74 | as being outside the operating directory when tab completion |
| 75 | is being used, and cosmetic cleanups. (David Benbennick) |
| 76 | copy_file() |
David Lawrence Ramsey | 3e3fab5 | 2004-01-15 05:12:41 +0000 | [diff] [blame] | 77 | - New function used to create a copy of a file, split out from |
David Lawrence Ramsey | c2946fb | 2003-12-24 21:47:28 +0000 | [diff] [blame] | 78 | do_writeout(). (David Benbennick) |
David Lawrence Ramsey | 3e3fab5 | 2004-01-15 05:12:41 +0000 | [diff] [blame] | 79 | write_file() |
| 80 | - Completely overhauled to properly ignore appending/prepending |
| 81 | to symlinks when NOFOLLOW_SYMLINKS is defined, to properly |
| 82 | support writing a selection to a file under the changed |
| 83 | cutting code, to have more concise error messages, to add |
| 84 | various cleanups, and so on. (David Benbennick) |
David Lawrence Ramsey | 7127857 | 2003-10-31 17:58:44 +0000 | [diff] [blame] | 85 | do_writeout() |
David Lawrence Ramsey | bc503c8 | 2003-11-19 23:59:14 +0000 | [diff] [blame] | 86 | - Prompt the user if we're trying to save an existing file (and |
| 87 | not just a selection of it) under a different name. (DLR; |
| 88 | suggested by Jean-Philippe Guérard) |
David Lawrence Ramsey | 3e3fab5 | 2004-01-15 05:12:41 +0000 | [diff] [blame] | 89 | - Overhaul the code used to write a selection of a file to |
| 90 | temporarily set fileage and filebot to the top and bottom of |
| 91 | the selection and then call write_file(), instead of following |
| 92 | the old hackish behavior with cut_marked_segment() (which |
| 93 | won't work after the cutting code changes anyway). (David |
| 94 | Benbennick) |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 95 | open_prevfile(), open_nextfile() |
| 96 | - For consistency with the rest of the multibuffer code, change |
| 97 | "No more open files" to "No more open file buffers". (DLR) |
| 98 | do_browser() |
| 99 | - Allow '?' to open the help browser, and readd the ability of |
| 100 | 'G'/'g' to open the "Go to Directory" prompt (which was |
| 101 | erroneously removed before), for compatibility with Pico. |
| 102 | (DLR) |
David Lawrence Ramsey | 8fa1976 | 2003-11-03 00:13:21 +0000 | [diff] [blame] | 103 | - global.c: |
| 104 | shortcut_init() |
| 105 | - Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR) |
David Lawrence Ramsey | 3255929 | 2003-12-28 03:56:04 +0000 | [diff] [blame] | 106 | - nano.c: |
| 107 | do_int_spell_fix() |
| 108 | - Add comment explaining why findnextstr() is called with |
| 109 | bracket_mode set to TRUE even though we aren't doing a bracket |
| 110 | search. (DLR) |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 111 | do_para_operation() |
| 112 | - Convert to use the new low-level input functions. (DLR) |
| 113 | main() |
| 114 | - Remove unused variable option_index. (DLR) |
David Lawrence Ramsey | 8213850 | 2003-12-24 08:03:54 +0000 | [diff] [blame] | 115 | - Fix omission of NANO_NO_KEY in the shortcut list scanning |
| 116 | code. (DLR) |
David Lawrence Ramsey | f8ddf31 | 2004-01-09 22:38:09 +0000 | [diff] [blame] | 117 | - Remove now-unnecessary initialization of kbinput. (DLR) |
David Lawrence Ramsey | 8213850 | 2003-12-24 08:03:54 +0000 | [diff] [blame] | 118 | - nano.h: |
| 119 | - Comment additions and cosmetic tweaks. (DLR) |
David Lawrence Ramsey | 7127857 | 2003-10-31 17:58:44 +0000 | [diff] [blame] | 120 | - search.c: |
David Lawrence Ramsey | 45cfbec | 2003-11-28 16:04:24 +0000 | [diff] [blame] | 121 | findnextstr(), do_replace_loop() |
David Lawrence Ramsey | 18394ac | 2003-12-24 03:13:44 +0000 | [diff] [blame] | 122 | - Fix potential infinite loops and other misbehavior when doing |
David Lawrence Ramsey | e190ff3 | 2004-01-03 21:42:25 +0000 | [diff] [blame] | 123 | beginning-of-line or end-of-line regex replacements ("^", "$", |
| 124 | and "^$"). Add a no_sameline parameter to findnextstr(), and |
| 125 | set it in the calls in do_replace_loop() when such regexes are |
| 126 | found, so that such regexes are only found once per line. |
| 127 | Also change length_change from a long to an int; size_t is |
| 128 | unsuitable due to its being unsigned. (DLR; found by Mike |
| 129 | Frysinger and DLR) David Benbennick: Add a few minor cleanups |
| 130 | to do_replace_loop(). |
David Lawrence Ramsey | 7776ef9 | 2003-11-04 18:32:35 +0000 | [diff] [blame] | 131 | - winio.c: |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 132 | get_kbinput(), get_accepted_kbinput() |
| 133 | - Don't pass in the value of the REBIND_DELETE flag anymore. |
| 134 | Instead, handle it directly inside the functions. (DLR) |
David Lawrence Ramsey | 7776ef9 | 2003-11-04 18:32:35 +0000 | [diff] [blame] | 135 | get_accepted_kbinput() |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 136 | - Translate Ctrl-8 into NANO_DELETE_KEY (or NANO_BACKSPACE_KEY |
| 137 | if REBIND_DELETE is set), since it apparently is generated |
| 138 | sometimes even when keypad() is TRUE. (DLR) |
| 139 | - Translate KEY_SLEFT into NANO_BACK_KEY and KEY_SRIGHT into |
| 140 | NANO_FORWARD_KEY, since they are sometimes generated by |
| 141 | Shift-Left and Shift-Right. (DLR) |
| 142 | get_ascii_kbinput() |
| 143 | - Tweak to make it slightly more readable. (DLR) |
| 144 | get_verbatim_kbinput() |
| 145 | - Modify to take an extra parameter indicating if we should |
| 146 | interpret ASCII codes or not. (DLR) |
| 147 | get_escape_seq_kbinput() |
| 148 | - Expand to deal with more broken terminals that don't generate |
| 149 | keypad values. Support the escape sequences for Insert, |
| 150 | Delete, Home, End, PageUp, and PageDown, [arrow key], |
| 151 | Ctrl-[arrow key], and Shift-[arrow key] when needed in the |
| 152 | Linux console, the FreeBSD console, the Hurd console, xterm, |
| 153 | rxvt, and Eterm. Also, use get_verbatim_kbinput(), with ASCII |
| 154 | interpretation disabled, to read in the sequences. (DLR) |
| 155 | get_skip_tilde_kbinput() |
| 156 | - Removed, as it is unneeded due to the expansion of |
| 157 | get_escape_seq_kbinput(). (DLR) |
| 158 | get_mouseinput() |
| 159 | - Modify to take an extra parameter indicating if we should |
| 160 | ungetch() the key equivalents of shortcuts we click on or not. |
| 161 | (DLR) |
David Lawrence Ramsey | 8213850 | 2003-12-24 08:03:54 +0000 | [diff] [blame] | 162 | nanogetstr() |
| 163 | - Properly interpret the Meta key value in misc if we hit it at |
| 164 | the statusbar prompt. (DLR) |
David Lawrence Ramsey | f427694 | 2003-12-24 03:33:09 +0000 | [diff] [blame] | 165 | do_yesno() |
| 166 | - Add a few efficiency/extensibility tweaks. (David Benbennick) |
| 167 | - Convert to use the new low-level input functions, and remove |
| 168 | two last hardcoded widths left after the above tweaks. (DLR) |
David Lawrence Ramsey | 76c4b33 | 2003-12-24 08:17:54 +0000 | [diff] [blame] | 169 | do_replace_highlight() |
| 170 | - Display a highlighted space if the word length is zero, so |
| 171 | that we can see zero-length regexes we're replacing. (DLR; |
| 172 | suggested by Mike Frysinger) |
David Lawrence Ramsey | 4dca76f | 2003-11-20 00:15:52 +0000 | [diff] [blame] | 173 | - configure.ac: |
| 174 | - Check for glib 2.x and then 1.2.x if we need glib. (DLR) |
David Lawrence Ramsey | 47162bc | 2004-01-05 19:01:53 +0000 | [diff] [blame] | 175 | - faq.html: |
| 176 | - Add question explaining how verbatim input works, as well as a |
| 177 | few minor fixes. (DLR) |
David Lawrence Ramsey | 9e45a47 | 2004-01-06 17:12:28 +0000 | [diff] [blame] | 178 | - nano.1, nanorc.5: |
| 179 | - Add nano version numbers (minus any "-cvs" suffixes). (DLR) |
David Lawrence Ramsey | 637f6e5 | 2003-11-04 18:34:44 +0000 | [diff] [blame] | 180 | - nano.spec.in: |
| 181 | - Update for the 1.3 branch of nano. (DLR) |
David Lawrence Ramsey | 9e45a47 | 2004-01-06 17:12:28 +0000 | [diff] [blame] | 182 | - NEWS: |
| 183 | - Reformat so all lines are limited to 72 columns, add a few |
| 184 | typo fixes, and make a few minor cosmetic cleanups. (DLR) |
Jordi Mallach | a5d8e54 | 2003-11-06 10:47:44 +0000 | [diff] [blame] | 185 | - THANKS: |
| 186 | - Add Danilo Segan, for the Serbian translation. |
| 187 | |
David Lawrence Ramsey | 133f7b1 | 2003-10-22 17:15:12 +0000 | [diff] [blame] | 188 | GNU nano 1.3.0 - 2003.10.22 |
David Lawrence Ramsey | 4d7c260 | 2003-08-17 02:48:43 +0000 | [diff] [blame] | 189 | - General: |
| 190 | - Complete overhaul and abstraction of the lowest level of |
| 191 | keyboard input, mostly rewritten but incorporating a few bits |
| 192 | from the old functions and adding support for Pico's Esc Esc |
| 193 | [three-digit decimal ASCII code] input method. New functions |
| 194 | get_kbinput(), get_verbatim_kbinput(), get_ignored_kbinput(), |
| 195 | get_accepted_kbinput(), get_ascii_kbinput(), |
| 196 | get_escape_seq_kbinput(), and get_skip_tilde_kbinput(). These |
| 197 | should work properly on FreeBSD (due to code and input |
| 198 | provided by Lee Nelson and Wouter van Hemel, respectively). |
| 199 | (DLR) |
| 200 | - The -K/--keypad command line/rcfile option has been removed, |
| 201 | and keypad() is now always TRUE. keypad_on() in winio.c and |
| 202 | the check for _use_keypad in configure.ac have both been |
| 203 | removed. (DLR) |
| 204 | - The -d/--rebinddelete command line/rcfile option, equivalent |
| 205 | to Pico's -d, has been added. It is intended to work around |
| 206 | the problem with Backspace/Delete confusion on some terminals, |
| 207 | notably FreeBSD; if your Backspace key acts like Delete, this |
| 208 | option will fix that. (DLR) |
David Lawrence Ramsey | a9cebd8 | 2003-08-17 03:31:57 +0000 | [diff] [blame] | 209 | - Remove unneeded breaks at the ends of default: clauses. (DLR) |
David Lawrence Ramsey | e049706 | 2003-08-23 21:11:06 +0000 | [diff] [blame] | 210 | - Add the ability to repeat the last search without prompting |
| 211 | via Meta-W, and move the line wrapping toggle to Meta-L. New |
| 212 | function do_research(). (Wouter van Hemel) |
David Lawrence Ramsey | 8faf305 | 2003-09-04 20:25:29 +0000 | [diff] [blame] | 213 | - Added the ability to move to the beginning or end of the |
| 214 | paragraph, which Pico has via ^W^W (previous paragraph) |
| 215 | and ^W^O (next paragraph). Modifications to do_justify(), |
| 216 | new functions do_para_operation(), do_para_begin(), and |
| 217 | do_para_end(). Note that the last three functions are |
| 218 | disabled if justification is disabled. (DLR) |
David Lawrence Ramsey | 417b03a | 2003-09-06 21:44:37 +0000 | [diff] [blame] | 219 | - Make sure the "historylog" option isn't included at all if |
| 220 | NANO_SMALL is defined. (DLR) |
Jordi Mallach | 3a42087 | 2003-10-19 23:30:48 +0000 | [diff] [blame] | 221 | - Source reorganization: move code to src/, docs to doc/. |
| 222 | (Jordi) |
Jordi Mallach | 298b975 | 2003-09-07 00:44:12 +0000 | [diff] [blame] | 223 | - Translation updates (see po/ChangeLog for details). |
David Lawrence Ramsey | c97acfb | 2003-09-10 20:08:00 +0000 | [diff] [blame] | 224 | - Since SAMELINEWRAP is only used in nano.c, make it a static |
| 225 | variable in nano.c instead of a flag, and surround all |
David Lawrence Ramsey | 1356a0a | 2003-09-10 20:31:02 +0000 | [diff] [blame] | 226 | wrap_reset() calls with DISABLE_WRAPPING #ifdefs. (DLR) |
| 227 | - Change enum "topmidbotnone" to "topmidnone", as there's no |
| 228 | BOTTOM option anymore. (DLR) |
David Lawrence Ramsey | 5ffbec5 | 2003-09-16 01:16:49 +0000 | [diff] [blame] | 229 | - Split out the string-displaying routine from update_line() |
| 230 | into a separate function; convert the edit window, statusbar |
| 231 | display, and statusbar prompt to use it, so that they can all |
| 232 | properly display control characters and tabs; free and NULL |
| 233 | the backup search string in one place in the search code |
| 234 | instead of several; and do some other minor refactoring of |
| 235 | related display functions to simplify them. New functions |
| 236 | mark_order() and display_string(); changes to actual_x(), |
David Lawrence Ramsey | 2dd7ed1 | 2003-09-29 05:15:24 +0000 | [diff] [blame] | 237 | strnlenpt(), blank_bottombars(), blank_edit(), |
| 238 | get_page_start(), edit_add(), update_line(), statusbar(), and |
| 239 | do_replace_highlight(). (David Benbennick) DLR: Add minor |
| 240 | cosmetic tweaks, add missing NANO_SMALL #ifdef around the text |
| 241 | for a backwards search in the refactored code, and enclose |
| 242 | dump_buffer() and dump_buffer_reverse() in one ENABLE_DEBUG |
| 243 | #ifdef instead of two. |
David Lawrence Ramsey | 9eff746 | 2003-09-16 02:04:00 +0000 | [diff] [blame] | 244 | - Convert memmove() function calls to charmove() macro calls, as |
| 245 | the former all work on char*'s. (DLR) |
David Lawrence Ramsey | f5b256b | 2003-10-03 20:26:25 +0000 | [diff] [blame] | 246 | - Miscellaneous #define cleanups: only include the prototype for |
| 247 | and definition of wrap_at if wrapping and/or justification are |
| 248 | enabled, remove duplicate wrap_at prototype, and define |
| 249 | DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h |
| 250 | instead of all over the code. (DLR) |
Jordi Mallach | 3a42087 | 2003-10-19 23:30:48 +0000 | [diff] [blame] | 251 | - Autogenerate the html versions of the manpages in the |
| 252 | Makefile.am's in doc/man/, make sure that they're properly |
| 253 | installed via "make dist", and make sure that "make distcheck" |
David Lawrence Ramsey | 13dfdb2 | 2003-10-22 15:37:13 +0000 | [diff] [blame] | 254 | works too. Also be sure to set EXTRA_DIST properly. (Jordi, |
| 255 | DLR and Jeff Bailey) |
David Lawrence Ramsey | 4d7c260 | 2003-08-17 02:48:43 +0000 | [diff] [blame] | 256 | - files.c: |
David Lawrence Ramsey | 7bf00de | 2003-09-23 04:25:05 +0000 | [diff] [blame] | 257 | read_file() |
| 258 | - After we've read in a file and possibly converted it from |
| 259 | DOS/Mac format, set fileformat back to 0 to prevent erroneous |
| 260 | conversion messages when we read other files in. (DLR) |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 261 | do_browser() |
David Lawrence Ramsey | 4d7c260 | 2003-08-17 02:48:43 +0000 | [diff] [blame] | 262 | - Some of the Pico compatibility options in the file browser |
David Lawrence Ramsey | 1018761 | 2003-08-17 05:40:45 +0000 | [diff] [blame] | 263 | that don't work properly for current Pico have been removed. |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 264 | Backspace, 'g', 'l', 'q', and 'u' are invalid. 'd' deletes |
| 265 | the highlighted file, and 'r' renames the highlighted file; |
| 266 | neither of these are implemented. (DLR) |
David Lawrence Ramsey | ba6fd42 | 2003-08-23 21:16:02 +0000 | [diff] [blame] | 267 | - global.c: |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 268 | toggle_init() |
David Lawrence Ramsey | ba6fd42 | 2003-08-23 21:16:02 +0000 | [diff] [blame] | 269 | - Change the message for the line wrapping toggle from "Auto |
| 270 | wrap" to "Auto line wrap", to more clearly associate it with |
| 271 | Meta-L. (DLR) |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 272 | shortcut_init() |
David Lawrence Ramsey | cb7ee0e | 2003-08-31 17:08:59 +0000 | [diff] [blame] | 273 | - Change multibuffer-enabled references to |
| 274 | opening/closing/toggling the previous/next loaded file to |
| 275 | toggling/switching to/closing the previous/next file buffer, |
| 276 | for consistency with other references. (DLR) |
David Lawrence Ramsey | 2786366 | 2003-08-29 21:31:37 +0000 | [diff] [blame] | 277 | - nano.c: |
| 278 | window_init() |
| 279 | - Set keypad() to TRUE regardless of whether PDCurses is being |
| 280 | used, as Meta-X apparently turns it off even under ncurses. |
| 281 | (DLR) |
David Lawrence Ramsey | d91ab6e | 2003-09-07 23:57:24 +0000 | [diff] [blame] | 282 | do_backspace() |
| 283 | - Vastly simplify, and remove dependency on page_up(). (David |
| 284 | Benbennick) |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 285 | help_init() |
| 286 | - Document the support for Esc Esc [character]'s being |
| 287 | interpreted as Ctrl-[character], and the support for Pico's |
| 288 | Esc Esc [three-digit decimal ASCII code] input method. (DLR) |
David Lawrence Ramsey | f03c78b | 2003-09-28 21:26:49 +0000 | [diff] [blame] | 289 | do_mark() |
| 290 | - Toggle MARK_ISSET() at the beginning of the function instead |
| 291 | of setting it in one place and unsetting it in another place. |
| 292 | (David Benbennick) |
David Lawrence Ramsey | 99bede3 | 2003-09-29 07:21:11 +0000 | [diff] [blame] | 293 | do_suspend() |
| 294 | - Use handle_hupterm() to handle SIGHUP and SIGTERM so we can |
| 295 | properly deal with them while nano is suspended. (DLR; problem |
| 296 | found by David Benbennick) |
David Lawrence Ramsey | f0b7dca | 2003-09-22 15:46:21 +0000 | [diff] [blame] | 297 | abcd() |
| 298 | - Removed, as it's unneeded due to the low-level input overhaul. |
| 299 | (DLR) |
David Lawrence Ramsey | 4d7c260 | 2003-08-17 02:48:43 +0000 | [diff] [blame] | 300 | - nano.h: |
David Lawrence Ramsey | e0a9f50 | 2003-09-07 05:32:24 +0000 | [diff] [blame] | 301 | - Define KEY_RESIZE and KEY_SUSPEND as -1 when slang is used, as |
| 302 | slang has no equivalent of either. When nano is compiled with |
| 303 | slang support, resizing the window doesn't generate |
| 304 | KEY_RESIZE, and pressing Ctrl-Z to suspend nano at the Linux |
| 305 | console with keypad(TRUE) generates Ctrl-Z instead of |
| 306 | KEY_SUSPEND, both unlike ncurses. (DLR) |
David Lawrence Ramsey | 2530725 | 2003-10-10 04:42:48 +0000 | [diff] [blame] | 307 | - Define KEY_RESIZE as -1 if it isn't defined, as it isn't in |
David Lawrence Ramsey | c1f630e | 2003-10-18 20:21:52 +0000 | [diff] [blame] | 308 | the curses library included with SunOS 5.7-5.9. Also define |
David Lawrence Ramsey | 2530725 | 2003-10-10 04:42:48 +0000 | [diff] [blame] | 309 | KEY_SUSPEND as -1 if it isn't defined, in case it isn't in |
| 310 | more than just Slang. (DLR) |
David Lawrence Ramsey | f6cf4a7 | 2003-10-22 16:20:47 +0000 | [diff] [blame] | 311 | - Define all potentially missing keys as different negative |
| 312 | values (ERR is -1, so use -2, -3, etc.) so as to avoid having |
| 313 | duplicate case values when keys are missing. (DLR) |
David Lawrence Ramsey | d91ab6e | 2003-09-07 23:57:24 +0000 | [diff] [blame] | 314 | - move.c: |
| 315 | - Remove unneeded inclusion of stdio.h, make various cleanups, |
| 316 | and preserve the cursor's coordinates when paging up and down. |
| 317 | (David Benbennick) DLR: Readd the ability to behave the old |
| 318 | way while paging, make it so the new behavior is only used in |
| 319 | smooth-scrolling mode, and modify page_down() to always go |
| 320 | down a full page (even when there's less than one page of text |
| 321 | left) for consistency. |
| 322 | page_up() |
| 323 | - Removed due to rewrite of movement functions. (David |
| 324 | Benbennick) |
David Lawrence Ramsey | c97acfb | 2003-09-10 20:08:00 +0000 | [diff] [blame] | 325 | - proto.h: |
| 326 | - Surround the do_prev_word() and do_next_word() prototypes with |
| 327 | NANO_SMALL #ifdefs, since the actual functions aren't included |
| 328 | in tiny mode. (DLR) |
David Lawrence Ramsey | 3bd9628 | 2003-09-06 05:09:32 +0000 | [diff] [blame] | 329 | - rcfile.c: |
| 330 | parse_colors() |
| 331 | - Generate an error if we try to use a bright background color |
| 332 | in a nanorc file. (DLR; found by Brand Huntsman) |
| 333 | - Make sure all rcfile error messages are capitalized, for |
| 334 | consistency. (DLR) |
David Lawrence Ramsey | ec290f2 | 2003-08-30 19:05:40 +0000 | [diff] [blame] | 335 | - winio.c: |
David Lawrence Ramsey | da8fd8f | 2003-09-16 01:22:31 +0000 | [diff] [blame] | 336 | get_verbatim_kbinput() |
| 337 | - Fix a silly memory corruption bug that would occur when trying |
| 338 | to read a sequence of more than one key verbatim. (DLR) |
| 339 | get_accepted_kbinput() |
| 340 | Handle Ctrl-{ to Ctrl-~ correctly, and drop support for |
| 341 | converting Esc ` to Esc Space, since making Meta-[key] |
| 342 | correspond to Ctrl-[key] in all cases is inconsistent due to |
| 343 | the different natures of Contol and Meta key sequences. (DLR) |
David Lawrence Ramsey | d91ab6e | 2003-09-07 23:57:24 +0000 | [diff] [blame] | 344 | do_first_line() |
| 345 | - Call edit_update() with TOP instead of CENTER; both do the |
| 346 | same thing, but it works faster with TOP. (DLR) |
David Lawrence Ramsey | 7f47d42 | 2003-09-08 18:01:49 +0000 | [diff] [blame] | 347 | nanogetstr() |
| 348 | - Don't let the user type in ASCII 127 at the statusbar prompt. |
| 349 | (DLR) |
David Lawrence Ramsey | ec290f2 | 2003-08-30 19:05:40 +0000 | [diff] [blame] | 350 | titlebar() |
| 351 | - Fix problem with the available space for a filename on the |
| 352 | titlebar's being short by one. (DLR) |
David Lawrence Ramsey | 4dcd070 | 2003-10-03 04:20:28 +0000 | [diff] [blame] | 353 | edit_add() |
| 354 | - Fix problems with the marking highlight's being drawn |
| 355 | improperly in some cases. (DLR) |
David Lawrence Ramsey | d91ab6e | 2003-09-07 23:57:24 +0000 | [diff] [blame] | 356 | edit_update() |
| 357 | - Tweak for efficiency and remove the fix_editbot() call. (David |
| 358 | Benbennick) |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 359 | do_credits() |
| 360 | - Update the copyright years to "1999-2003", to match those |
| 361 | given in the rest of the code. (DLR) |
David Lawrence Ramsey | a3831ab | 2003-09-22 16:26:40 +0000 | [diff] [blame] | 362 | - configure.ac: |
| 363 | - Change instances of "GNU Nano" to "GNU nano" for consistency. |
| 364 | (DLR) |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 365 | - nano.1, nanorc.5, nano.texi: |
| 366 | - Change all instances of $SYSCONFDIR to SYSCONFDIR, since |
| 367 | SYSCONFDIR is set at compile time and can't be overridden by |
| 368 | setting SYSCONFDIR in the environment. (David Benbennick) |
| 369 | - Remove -K/--keypad, and document -d/--rebinddelete. (DLR) |
| 370 | - Document the support for Esc Esc [character]'s being |
| 371 | interpreted as Ctrl-[character], and the support for Pico's |
| 372 | Esc Esc [three-digit decimal ASCII code] input method, if |
| 373 | applicable. (DLR) |
Jordi Mallach | 298b975 | 2003-09-07 00:44:12 +0000 | [diff] [blame] | 374 | - French translation by Jean-Philippe Guérard. |
David Lawrence Ramsey | aaad3af | 2003-08-31 16:44:10 +0000 | [diff] [blame] | 375 | - nano.1.html, nanorc.5.html: |
| 376 | - Regenerated. (DLR) |
| 377 | - nanorc.sample: |
| 378 | - Remove duplicate "historylog" entry, remove "keypad" entry, |
| 379 | and add "rebinddelete" entry. (DLR) |
David Lawrence Ramsey | dc9c40a | 2003-09-07 23:54:57 +0000 | [diff] [blame] | 380 | - Update and add comments to the regexes for nanorc files. |
| 381 | (Brand Huntsman) |
David Lawrence Ramsey | 21cc550 | 2003-09-06 19:04:02 +0000 | [diff] [blame] | 382 | - Fix an attempt at a bright background color in the sample Java |
| 383 | source regexes. (DLR) |
| 384 | - Since tabs are shown as groups of spaces, they are interpreted |
| 385 | as such when parsed by color regexes. Accordingly, simplify |
| 386 | regexes that handle both spaces and tabs to just handle |
| 387 | spaces, as the results are the same. (DLR) |
Chris Allegretta | f3fee5d | 2003-08-12 02:40:47 +0000 | [diff] [blame] | 388 | - AUTHORS |
| 389 | - Updated to show 1.2/1.3 maintainers. |
| 390 | |
Chris Allegretta | 6954f05 | 2003-08-12 02:34:03 +0000 | [diff] [blame] | 391 | - 1.3 tree forks here |
| 392 | |
Chris Allegretta | 3364214 | 2003-08-12 01:49:20 +0000 | [diff] [blame] | 393 | GNU nano 1.2.2 - 2003.08.11 |
Jordi Mallach | 5b63eaf | 2003-06-11 10:17:20 +0000 | [diff] [blame] | 394 | - General: |
| 395 | - Translation updates (see po/ChangeLog for details). |
David Lawrence Ramsey | 70047ee | 2003-06-14 20:41:34 +0000 | [diff] [blame] | 396 | - Change uncast nrealloc()s assigned to char pointers/arrays to |
| 397 | charealloc()s, and cast all other nrealloc()s and all |
| 398 | nmalloc()s. (David Benbennick and DLR) |
Jordi Mallach | f9390af | 2003-08-05 19:31:12 +0000 | [diff] [blame] | 399 | - Remove gettext marks from all debug messages. Good for developers, |
| 400 | better for translators. (Jordi) |
| 401 | - Add translator comments on strings that should be short, like in |
| 402 | status bar strings, etc. (Jordi) |
David Lawrence Ramsey | 70047ee | 2003-06-14 20:41:34 +0000 | [diff] [blame] | 403 | - utils.c: |
| 404 | align() |
| 405 | - Tweak to avoid a potential problem when strp is non-NULL but |
| 406 | *strp is NULL. (David Benbennick) |
Chris Allegretta | 4f5335d | 2003-08-04 02:51:12 +0000 | [diff] [blame] | 407 | nstricmp(), nstrnicmp() |
| 408 | - Add these functions, equivalent to strcasecmp() and |
| 409 | strncasecmp(), and convert nano to use them when strcasecmp() |
| 410 | and/or strncasecmp() are unavailable. (DLR) |
David Lawrence Ramsey | 70047ee | 2003-06-14 20:41:34 +0000 | [diff] [blame] | 411 | - winio.c: |
Chris Allegretta | 653d614 | 2003-08-04 02:12:03 +0000 | [diff] [blame] | 412 | do_help() |
| 413 | - Get rid of keypad_on() call for bottomwin, which should not be |
| 414 | needed (DLR). |
David Lawrence Ramsey | 70047ee | 2003-06-14 20:41:34 +0000 | [diff] [blame] | 415 | nanogetstr() |
| 416 | - Fix problem with search history where a temporary string |
| 417 | added at the bottom of the history (but which was not in the |
| 418 | history) would not be preserved after scrolling down to the |
| 419 | blank bottom entry and then scrolling back up. (DLR) |
Chris Allegretta | c30fc24 | 2003-08-11 00:32:45 +0000 | [diff] [blame] | 420 | - Fix problem where pressing down,up,down does not blank the |
| 421 | search prompt but keeps the previous search (DLR). |
Chris Allegretta | 653d614 | 2003-08-04 02:12:03 +0000 | [diff] [blame] | 422 | - Handle Alt-[-F and H (DLR, fixed home and end not working with |
| 423 | -K in statusbar). |
David Lawrence Ramsey | 70047ee | 2003-06-14 20:41:34 +0000 | [diff] [blame] | 424 | - configure.ac: |
| 425 | - Change the program used to detect a broken regexec() function |
| 426 | so that it works properly, using information found at |
| 427 | http://sources.redhat.com/ml/libc-hacker/2001-06/msg00015.html. |
| 428 | (DLR) |
| 429 | - nanorc.sample: |
| 430 | - Revised comment explaining the non-escaping of quotes to cover |
| 431 | non-escaping of all shell-interpreted characters. (DLR) |
| 432 | - Fixes to the descriptions and examples in the comments, and |
| 433 | changes to some default values. (David Benbennick and DLR) |
| 434 | - Add regexes for Perl syntax. (Richard Smith, tweaked for |
| 435 | greater efficiency by David Benbennick) |
| 436 | - Add regexes for Java source syntax. (David Benbennick) |
| 437 | Regex for C++-style comments (colored the same way as C-style |
| 438 | comments) added by DLR. |
Jordi Mallach | 2e6d0ca | 2003-04-24 18:23:56 +0000 | [diff] [blame] | 439 | - THANKS: |
| 440 | - Added Laurentiu Buzdugan, for Romanian. |
Jordi Mallach | 9e74ade | 2003-06-11 15:52:34 +0000 | [diff] [blame] | 441 | - Added Geir Helland, for Norwegian BokmĂĄl. |
David Lawrence Ramsey | 70047ee | 2003-06-14 20:41:34 +0000 | [diff] [blame] | 442 | - TODO: |
| 443 | - Move the items for nano 1.2 to the "Old Requests" section, |
| 444 | and mark color syntax highlighting as done. (David Benbennick) |
David Lawrence Ramsey | 6d97d18 | 2003-07-02 14:20:11 +0000 | [diff] [blame] | 445 | - faq.html: |
| 446 | - Added question about nano's not showing color when it's |
| 447 | compiled with color support. (DLR; suggested by Jordi) |
Jordi Mallach | d995e9a | 2003-06-11 16:38:35 +0000 | [diff] [blame] | 448 | - nano.1, nanorc.5: |
Jordi Mallach | 5b63eaf | 2003-06-11 10:17:20 +0000 | [diff] [blame] | 449 | - Formatting improvements by Jean-Philippe Guérard. |
David Lawrence Ramsey | b764eb6 | 2003-06-29 02:25:46 +0000 | [diff] [blame] | 450 | - Minor fixes by DLR. |
| 451 | - nano.1.html, nanorc.5.html: |
| 452 | - Regenerated from nano.1 and nanorc.5. (DLR) |
Chris Allegretta | ffe575f | 2003-04-20 16:25:46 +0000 | [diff] [blame] | 453 | |
Chris Allegretta | aa45931 | 2003-04-20 16:20:15 +0000 | [diff] [blame] | 454 | GNU nano 1.2.1 - 2003.04.19 |
Jordi Mallach | 723399a | 2003-02-23 19:12:54 +0000 | [diff] [blame] | 455 | - General: |
| 456 | - Translation updates (see po/ChangeLog for details). |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 457 | - Work around broken regexec() on some systems that segfaults |
| 458 | when passed an empty string. New function regexec_safe(). |
| 459 | (David Benbennick) |
| 460 | - Fix various bugs with search string history logging: don't |
| 461 | print a broken error message and freeze if ~/.nano_history is |
| 462 | unreadable, actually show an error message in save_history() |
| 463 | if ~/.nano_history is unwritable, and prevent ~/.nano_history |
| 464 | from being completely overwritten by save_history() if it's |
| 465 | unreadable but writable. (David Benbennick) |
Chris Allegretta | e1e0fd6 | 2003-04-15 01:15:09 +0000 | [diff] [blame] | 466 | - Only unset KEEP_CUTBUFFER in main() when we do something other |
| 467 | than cut text in the main input loop, instead of unsetting it |
| 468 | all over the place (which, as written, didn't handle cases |
| 469 | like a cut followed by M-Space properly). Also, instead of |
| 470 | checking for keyhandled's not being set inside the for loops, |
| 471 | do it in if blocks surrounding the for loops to increase |
| 472 | efficiency. (David Benbennick) DLR: Also unset KEEP_CUTBUFFER |
| 473 | if we hit a shortcut key other than the one for cutting text. |
| 474 | - Make it so a marked cut immediately followed by an unmarked |
| 475 | cut tacks the latter's text onto the end of the former's text |
| 476 | instead of putting it on a new line, as Pico does. (DLR) |
| 477 | - Convert instances of "(char *)nrealloc()" to the macro |
| 478 | charealloc(), which does the same thing. (DLR) |
Chris Allegretta | 8151ba5 | 2003-04-19 19:34:05 +0000 | [diff] [blame] | 479 | - Change justify_mode from a boolean int to a flag (DLR). |
Chris Allegretta | e1e0fd6 | 2003-04-15 01:15:09 +0000 | [diff] [blame] | 480 | - cut.c: |
| 481 | do_cut_text() |
| 482 | - Tweak where KEEP_CUTBUFFER is set so that a marked cut |
| 483 | immediately followed by an unmarked cut preserves the |
| 484 | cutbuffer between the two. (David Benbennick) DLR: Also |
| 485 | properly set KEEP_CUTBUFFER in tiny mode. |
| 486 | do_uncut_text() |
| 487 | - If we're about to uncut on the magicline, always make a new |
| 488 | magicline in advance, as Pico does. (DLR) |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 489 | - global.c: |
| 490 | shortcut_init() |
| 491 | - Simplify the #ifdef used to enable file insertion in view mode |
| 492 | if multibuffer support has been compiled in. (DLR) |
| 493 | - nano.c: |
| 494 | justify_format() |
| 495 | - If we shave spaces off the end of the line, make sure totsize |
| 496 | is properly updated. (DLR; much simplified by David |
| 497 | Benbennick) |
| 498 | - nano.h: |
| 499 | - Simplify #ifdefs relating to HAVE_STRCASECMP and |
| 500 | HAVE_STRNCASECMP. (David Benbennick) |
Chris Allegretta | e1e0fd6 | 2003-04-15 01:15:09 +0000 | [diff] [blame] | 501 | - search.c: |
| 502 | goto_abort() |
| 503 | - Removed, with all instances replaced with display_main_list(), |
| 504 | since with the removal of all the scattered calls to |
| 505 | SET(KEEP_CUTBUFFER), that function was all that was left of |
| 506 | it. (DLR) |
| 507 | do_find_bracket() |
| 508 | - If a matching bracket wasn't found, call update_line() after |
| 509 | setting current and current_x back to their original values, |
| 510 | in case current_x's original value is greater than the width |
| 511 | of the screen. (DLR) |
Chris Allegretta | 4b376a4 | 2003-04-16 02:08:23 +0000 | [diff] [blame] | 512 | - winio.c: |
| 513 | nanogetstr() |
| 514 | - Remove a few unnecessary breaks occurring immediately after |
| 515 | gotos, and properly interpret the up and down arrow keys when |
| 516 | ALT_KEYPAD is set. (DLR) |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 517 | - configure.ac: |
| 518 | - Enable autodetection of broken regexec(). (DLR) Re-added |
| 519 | regex.h check to ensure compile under Debian w/autoconf 1.6. |
Jordi Mallach | db469d8 | 2003-03-24 13:08:16 +0000 | [diff] [blame] | 520 | - README: |
| 521 | - Update obsolete 1.1.x information. |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 522 | - TODO: |
| 523 | - Fix typo. (David Benbennick) |
| 524 | - faq.html: |
| 525 | - Update RPM links for nano 1.2.x. (DLR) |
Chris Allegretta | dbc3ec7 | 2003-02-20 03:14:37 +0000 | [diff] [blame] | 526 | |
Chris Allegretta | 2b4ead9 | 2003-02-20 01:56:02 +0000 | [diff] [blame] | 527 | GNU nano 1.2.0 - 2003.02.19 |
Jordi Mallach | 07e2000 | 2003-02-14 22:10:14 +0000 | [diff] [blame] | 528 | - General: |
| 529 | - Translation updates (see po/ChangeLog for details). |
Chris Allegretta | 33ac7b9 | 2003-02-16 03:13:47 +0000 | [diff] [blame] | 530 | - files.c: |
| 531 | read_file() |
| 532 | - If the file we're loading has already been detected as a DOS |
| 533 | or Mac formatted file, don't turn on NOCONVERT if we find |
| 534 | binary chars in it. This is because if it's detected as |
| 535 | DOS/Mac format, at least one line has already been converted, |
| 536 | so setting NOCONVERT (which is supposed to signal that none |
| 537 | of the file should be converted) makes no sense. (DLR) |
Chris Allegretta | a7a78de | 2003-02-19 22:27:53 +0000 | [diff] [blame] | 538 | - nano.c: |
| 539 | justify_format() |
| 540 | - Fix ugly behavior when wrapping spaces at the end of long |
| 541 | words (David Benbennick). |
Jordi Mallach | 07e2000 | 2003-02-14 22:10:14 +0000 | [diff] [blame] | 542 | - nanorc.5: |
| 543 | - Fix formatting error and update copyright year (Jordi). |
Jordi Mallach | fc71eb5 | 2003-02-15 13:34:03 +0000 | [diff] [blame] | 544 | - Several enhancements (David Benbennick). |
Chris Allegretta | 3d33251 | 2003-02-14 03:10:12 +0000 | [diff] [blame] | 545 | |
Chris Allegretta | 7ba3279 | 2003-02-14 03:09:35 +0000 | [diff] [blame] | 546 | GNU nano 1.1.99pre3 - 2003.02.13 |
Jordi Mallach | a577d5a | 2003-02-04 14:13:36 +0000 | [diff] [blame] | 547 | - General: |
| 548 | - Translation updates (see po/ChangeLog for details). |
Chris Allegretta | 201f1d9 | 2003-02-05 02:51:19 +0000 | [diff] [blame] | 549 | - Fix globals and externs such that nano will compile with |
| 550 | DISABLE_SPELLER (David Benbennick). |
Chris Allegretta | f8f2d58 | 2003-02-10 02:43:48 +0000 | [diff] [blame] | 551 | - Fix unreasonable fill values by wrapping at length 0 instead |
| 552 | of erroring out, and don't start up if the window size is too |
| 553 | small but fill is set reasonably. Changes to |
| 554 | nano.c:global_init(), window_init(), and handle_sigwinch(). |
| 555 | New macro MIN_EDITOR_COLS replaces MIN_FILL_LENGTH |
| 556 | (David Benbennick). |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 557 | - Change ngettext macro to P_(), to avoid a clash with the |
| 558 | reserved C __ identifier (Jordi). |
Chris Allegretta | fdcb9e9 | 2003-02-12 02:52:04 +0000 | [diff] [blame] | 559 | - Memory leak fixes for files.c:do_insertfile(),do_browser(), |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 560 | nano.c:do_spell(), and search.c:do_replace() (David |
| 561 | Benbennick). |
Chris Allegretta | bcc8688 | 2003-02-13 01:54:41 +0000 | [diff] [blame] | 562 | - Remove do_preserve_msg, as using -p still gives Pico-style |
| 563 | string behavior, so an annoying message every invocation is |
| 564 | probably unneeded (all cheer). |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 565 | - Change resetpos function to be global (now called |
Chris Allegretta | 65f075d | 2003-02-13 03:03:49 +0000 | [diff] [blame] | 566 | resetstatuspos. Fixes annoying but small odd problem with |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 567 | cursor placement when inserting a file. This needs to be done |
| 568 | better in 1.3 (originally by David Lawrence Ramsey). Added |
| 569 | this issue to TODO. |
Chris Allegretta | 3cdf6ff | 2003-02-08 02:02:02 +0000 | [diff] [blame] | 570 | - files.c: |
Chris Allegretta | bcaeeb4 | 2003-02-08 02:03:26 +0000 | [diff] [blame] | 571 | cwd_tab_completion() |
| 572 | - Memory leak fix (David Benbennick). |
David Lawrence Ramsey | 9591ee5 | 2004-01-14 16:51:06 +0000 | [diff] [blame] | 573 | input_tab() |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 574 | - Fix assumption that matches is null terminated (David |
Chris Allegretta | 3cdf6ff | 2003-02-08 02:02:02 +0000 | [diff] [blame] | 575 | Benbennick). |
Chris Allegretta | a0449d9 | 2003-02-12 23:58:01 +0000 | [diff] [blame] | 576 | load_history() |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 577 | - Fix segfault on loading huge strings from history file |
Chris Allegretta | a0449d9 | 2003-02-12 23:58:01 +0000 | [diff] [blame] | 578 | (David Benbennick). |
Chris Allegretta | 1debce2 | 2003-02-13 22:00:19 +0000 | [diff] [blame] | 579 | load_history(), save_history() |
| 580 | - Changed to look at $HOME before getpwuid(geteuid()), see |
| 581 | details in comment for rcfile.c:do_rcfile(). |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 582 | real_dir_from_tilde() |
Chris Allegretta | 1debce2 | 2003-02-13 22:00:19 +0000 | [diff] [blame] | 583 | - Change check for the running user's home dir to use |
| 584 | getpwuid(geteuid()) rather than a getpwent() loop |
| 585 | (suggested by Jordi). |
Chris Allegretta | 5ec6862 | 2003-02-05 02:39:34 +0000 | [diff] [blame] | 586 | - nano.c: |
Chris Allegretta | 428f620 | 2003-02-12 03:21:45 +0000 | [diff] [blame] | 587 | breakable() |
| 588 | - Fix incorrect return value on short lines (David Benbennick). |
Chris Allegretta | 4640fe3 | 2003-02-10 03:10:03 +0000 | [diff] [blame] | 589 | do_help() |
| 590 | - Fix line lengths not being computed properly, causes display |
| 591 | glitches most noticeable with < 20 rows. New function |
| 592 | nano.c:line_len(). (David Benbennick). |
Chris Allegretta | 428f620 | 2003-02-12 03:21:45 +0000 | [diff] [blame] | 593 | do_justify() |
| 594 | - Add regfree() to quote regex (David Benbennick). |
Chris Allegretta | d845193 | 2003-03-11 03:50:40 +0000 | [diff] [blame] | 595 | - Only copy previous indent if AUTOINDENT is set (David |
Chris Allegretta | 428f620 | 2003-02-12 03:21:45 +0000 | [diff] [blame] | 596 | Benbennick). |
Chris Allegretta | 7641708 | 2003-02-12 23:54:34 +0000 | [diff] [blame] | 597 | do_suspend() |
| 598 | - Fix untranslated message (David Benbennick). |
Chris Allegretta | d127c71 | 2003-02-12 23:20:45 +0000 | [diff] [blame] | 599 | do_wrap() |
| 600 | - Fix isspace() call to operate on int. |
Chris Allegretta | 428f620 | 2003-02-12 03:21:45 +0000 | [diff] [blame] | 601 | help_init() |
| 602 | - Fix crashing in do_help when COLS < 23 (David Benbennick). |
| 603 | main() |
| 604 | - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP |
| 605 | (David Benbennick). |
Chris Allegretta | fe1d072 | 2003-02-13 00:52:49 +0000 | [diff] [blame] | 606 | - Silence annoying compiler messages about clobbering and |
| 607 | uninitialized variables by moving variable inits to the top |
| 608 | of main() and re-initializing them after the sigsetjmp(). |
Chris Allegretta | d6e8436 | 2003-02-07 00:02:00 +0000 | [diff] [blame] | 609 | - rcfile.c: |
| 610 | colortoint() |
| 611 | - Don't bomb after invalid color and print bad color name |
| 612 | (David Benbennick). |
Chris Allegretta | 17ec14b | 2003-02-07 00:19:05 +0000 | [diff] [blame] | 613 | colortoint, parse_colors() |
| 614 | - Don't add strings with invalid fg colors at all. |
Chris Allegretta | 2e39c1c | 2003-02-13 03:36:15 +0000 | [diff] [blame] | 615 | do_rcfile() |
| 616 | - Revert (somewhat) previous behavior of looking at |
| 617 | $HOME, and only run getpw* if it is NULL. Most *nix programs |
| 618 | seem to only care about $HOME, and at the user-level |
| 619 | getpw* may not be reliable (and its slower). |
Chris Allegretta | a90d0cf | 2003-02-10 02:55:03 +0000 | [diff] [blame] | 620 | - search.c: |
| 621 | do_gotoline() |
| 622 | - Only goto_abort() if we *didnt* abort the command, making |
| 623 | the function seem horribly misnamed ;-) (David Benbennick). |
Chris Allegretta | bfc8b2a | 2003-02-08 21:49:13 +0000 | [diff] [blame] | 624 | - winio.c: |
Chris Allegretta | e9b5c6f | 2003-02-12 23:49:56 +0000 | [diff] [blame] | 625 | browser_init(), striponedir(), do_browse_from() |
| 626 | - Various memory leak fixes (David Benbennick). |
Chris Allegretta | b2cd248 | 2003-02-12 23:18:19 +0000 | [diff] [blame] | 627 | do_yesno(), do_help() |
| 628 | - Add defined(NCURSES_MOUSE_VERSION) to macro so systems that |
| 629 | don't understand MEVENT will compile. |
Chris Allegretta | bfc8b2a | 2003-02-08 21:49:13 +0000 | [diff] [blame] | 630 | nanogetstr() |
| 631 | - Remove unnecessary reset of x since it is now handled |
| 632 | elsewhere (David Lawrence Ramsey). |
Chris Allegretta | a90d0cf | 2003-02-10 02:55:03 +0000 | [diff] [blame] | 633 | statusq() |
| 634 | - Always blank the statusbar on exit (David Benbennick). |
Chris Allegretta | 5ea694e | 2003-02-04 14:24:54 +0000 | [diff] [blame] | 635 | - nano.1, nano.1.html: |
| 636 | - Add initialization file comments, change some options from |
| 637 | bracketed to underlined to emphasize that they are not |
| 638 | optional. |
Jordi Mallach | a66a8f7 | 2003-02-09 01:28:40 +0000 | [diff] [blame] | 639 | - Add SEE ALSO section (Jordi). |
Chris Allegretta | 4f989fa | 2003-02-13 04:01:49 +0000 | [diff] [blame] | 640 | - Moved nano.1 color and syntax sections to nanorc, pointed |
| 641 | nano.1 to nanorc.5 for initialization file. Changed |
| 642 | nanorc.5 variables to be italics to match nano.1. Added |
| 643 | nanorc.5.html to CVS tree. |
Jordi Mallach | a66a8f7 | 2003-02-09 01:28:40 +0000 | [diff] [blame] | 644 | - nanorc.5: |
| 645 | - Add nanorc manpage, with descriptions of all available commands |
| 646 | (Jordi). |
Chris Allegretta | a3daf3a | 2003-02-07 00:11:55 +0000 | [diff] [blame] | 647 | - nanorc.sample: |
| 648 | - Make nanorc entry less tolerant of invalid colors. |
Chris Allegretta | 97e10b5 | 2003-02-08 22:05:50 +0000 | [diff] [blame] | 649 | - nano.spec.in: |
| 650 | - Change default flags to --enable-all. |
Jordi Mallach | 2ddd75e | 2003-02-09 23:51:17 +0000 | [diff] [blame] | 651 | - THANKS: |
| 652 | - Add Kalle Kivimaa and Kalle Olavi Niemitalo, for Finnish (Jordi). |
Jordi Mallach | aebfac8 | 2003-02-13 12:50:53 +0000 | [diff] [blame] | 653 | - UPGRADE: |
| 654 | - Add upgrading information document for 1.0 users (Jordi). |
Chris Allegretta | cddbfd0 | 2003-02-03 15:29:56 +0000 | [diff] [blame] | 655 | |
Chris Allegretta | 5c8c276 | 2003-02-03 15:21:27 +0000 | [diff] [blame] | 656 | GNU nano 1.1.99pre2 - 2003.02.03 |
Jordi Mallach | a577d5a | 2003-02-04 14:13:36 +0000 | [diff] [blame] | 657 | - General: |
Chris Allegretta | 0e86e60 | 2003-01-23 04:27:23 +0000 | [diff] [blame] | 658 | - Changed some translatable debug messages to use %s |
| 659 | instead of the function name, and removed gettext from |
| 660 | two strings that had no actual words in them that |
| 661 | should be translated. Suggested originally by |
| 662 | Christian Rose. |
Chris Allegretta | 9090f2e | 2003-01-26 04:45:05 +0000 | [diff] [blame] | 663 | - Fix subexpression replacement to work consistently. |
| 664 | Affects search.c:replace_regexp() and |
| 665 | utils.c:strstrwrapper() (David Benbennick). |
Chris Allegretta | 47fcfe5 | 2003-01-26 21:01:16 +0000 | [diff] [blame] | 666 | - Fix cursor position being saved when escaping out |
| 667 | of nanogetstr with keys like ^Y and ^V. New arg |
| 668 | resetpos to nanogetstr(), added static int |
| 669 | resetpos in statusq() (bug found by DLR). |
Chris Allegretta | d26ab91 | 2003-01-28 01:16:47 +0000 | [diff] [blame] | 670 | - Fix constant curos updates from obliterating other |
| 671 | system messages, and fix statusbar message length. |
| 672 | Affects files.c:load_open_file(), nano.c:main(), |
| 673 | search.c:findnextstr(), winio.c:statusbar() and |
| 674 | do_cursorpos() (David Benbennick). |
Chris Allegretta | 5d71514 | 2003-01-29 04:18:37 +0000 | [diff] [blame] | 675 | - Fix nano crashing when searching/replacing an invalid |
| 676 | regex (try "^*"). Changed regexp_init() to return |
| 677 | 1 or 0 based on regcomp()'s return value and search_init |
Chris Allegretta | d89eb91 | 2003-02-03 07:07:40 +0000 | [diff] [blame] | 678 | to exit with an error message (sorry Jordi!). Added |
| 679 | another check when using last_search instead of answer. |
Chris Allegretta | ce452fb | 2003-02-03 02:56:44 +0000 | [diff] [blame] | 680 | - Move regcomp into rcfile.c rather than each display refresh |
| 681 | of winio.c. New function rcfile.c:nregcomp(). |
| 682 | This fixes much of nano's resource hogging behavior |
| 683 | in syntax higlighting. (David Benbennick). |
Chris Allegretta | cff6e6f | 2003-02-03 03:22:02 +0000 | [diff] [blame] | 684 | - Fix justify failing for certain lines, new function |
| 685 | nano.c:breakable() (David Benbennick). |
Chris Allegretta | a0d8997 | 2003-02-03 03:32:08 +0000 | [diff] [blame] | 686 | - Fix screen getting trashed on signals nano can catch |
| 687 | (TERM and HUP). New global variable curses_ended, |
Chris Allegretta | dbfc56c | 2003-02-03 03:33:04 +0000 | [diff] [blame] | 688 | changes to winio.c:statubar() and nano.c:die() |
| 689 | (David Benbennick). |
Chris Allegretta | 149781d | 2003-01-26 03:54:00 +0000 | [diff] [blame] | 690 | - cut.c: |
| 691 | do_cut_text() |
| 692 | - Fix incorrect cursor location when cutting long lines |
| 693 | (David Benbennick). |
Chris Allegretta | 54c1f79 | 2003-01-26 04:11:09 +0000 | [diff] [blame] | 694 | - files.c: |
Chris Allegretta | 858d9d9 | 2003-01-30 00:53:32 +0000 | [diff] [blame] | 695 | - Set a default PATH_MAX for getcwd() etc calls (David |
| 696 | Benbennick). |
| 697 | do_browse_from() |
| 698 | - Fix path checking to fix bad paths, escaping |
| 699 | the operating directory, new function readable_dir() (David |
| 700 | Benbennick). |
Chris Allegretta | b698c35 | 2003-01-26 22:05:07 +0000 | [diff] [blame] | 701 | do_browser() |
| 702 | - Fix incorrect path check for check_operating_dir() |
| 703 | (David Benbennick). |
Chris Allegretta | f80a59c | 2003-01-30 00:57:33 +0000 | [diff] [blame] | 704 | - Fix goto directory operating dir check and tilde expansion |
| 705 | (David Benbennick). |
Chris Allegretta | 0eab236 | 2003-02-03 03:39:05 +0000 | [diff] [blame] | 706 | - Even more checks and operating dir fixes (David Benbennick). |
Chris Allegretta | 434d686 | 2003-02-03 04:55:17 +0000 | [diff] [blame] | 707 | do_insertfile() |
| 708 | - Add some more checks and fix recursion when toggling |
| 709 | multibuffer (David Benbennick). |
Chris Allegretta | 54c1f79 | 2003-01-26 04:11:09 +0000 | [diff] [blame] | 710 | open_file() |
| 711 | - Fix FD leak with file load error (David Benbennick). |
Chris Allegretta | 5c63f27 | 2003-02-02 04:26:54 +0000 | [diff] [blame] | 712 | add_open_file() |
| 713 | - Revert the fix for the supposed minor logic error from before; |
| 714 | it was keeping some updates from happening when they should, |
| 715 | which was leading to segfaults with both multibuffer and view |
| 716 | mode on. (DLR; found by David Benbennick) |
Chris Allegretta | 77e726d | 2003-01-26 19:36:08 +0000 | [diff] [blame] | 717 | save_history() |
| 718 | - Fix nrealloc return value being ignored (David Benbennick). |
Chris Allegretta | c453357 | 2003-02-03 05:04:09 +0000 | [diff] [blame] | 719 | - Fix off-by-one bug causing write to unallocated memory |
| 720 | (David Benbennick). |
Chris Allegretta | ce452fb | 2003-02-03 02:56:44 +0000 | [diff] [blame] | 721 | - global.c: |
| 722 | thanks_for_all_the_fish() |
| 723 | - Fix compiling with DEBUG and multibuffer (David Benbennick). |
Jordi Mallach | eeb5004 | 2003-01-18 22:42:34 +0000 | [diff] [blame] | 724 | - nano.c: |
Chris Allegretta | a340766 | 2003-01-26 21:13:03 +0000 | [diff] [blame] | 725 | do_char() |
| 726 | - Remove unneeded check_statblank() (David Benbennick). |
Chris Allegretta | 64fc78c | 2003-01-26 19:57:44 +0000 | [diff] [blame] | 727 | do_int_spell_fix(), do_int_speller() |
| 728 | - Fix crashes with mark position, current_x position, |
| 729 | and edit_update args (David Benbennick). |
Chris Allegretta | 2a7b8b2 | 2003-01-30 00:42:20 +0000 | [diff] [blame] | 730 | do_justify() |
| 731 | - Unset KEEP_CUTBUFFER so nano won't crash with subsequent |
| 732 | ^K cuts and justifies (David Benbennick). |
Chris Allegretta | e92a7bc | 2003-01-28 01:36:38 +0000 | [diff] [blame] | 733 | do_mouse() |
| 734 | - Fix the mouse code to work with lines longer than COLS and |
| 735 | with the proper positioning, including special characters |
| 736 | (David Benbennick). |
| 737 | do_preserve_msg(): |
| 738 | - Unsplit error message into a single fprintf call (Jordi). |
Chris Allegretta | 3d459ad | 2003-01-22 01:09:40 +0000 | [diff] [blame] | 739 | main() |
| 740 | - Call load_file with arg 0 for insert, as we aren't really |
| 741 | doing an insert, allows new_file() to run if we open a |
| 742 | non-file at startup. |
| 743 | usage() |
Jordi Mallach | eeb5004 | 2003-01-18 22:42:34 +0000 | [diff] [blame] | 744 | - Remove gettext markings from -p/--preserve (Jordi). |
Chris Allegretta | 36fec72 | 2003-01-22 01:13:25 +0000 | [diff] [blame] | 745 | - Revamp -H option message to fit in 80 column terminal. |
Chris Allegretta | 1a128af | 2003-01-26 04:15:56 +0000 | [diff] [blame] | 746 | window_init() |
| 747 | - Fix leaking *WINDOWs (no pun intended) (David Benbennick). |
Chris Allegretta | 1939c35 | 2003-01-26 04:26:25 +0000 | [diff] [blame] | 748 | - search.c: |
Chris Allegretta | 8a85aa0 | 2003-01-26 20:02:15 +0000 | [diff] [blame] | 749 | do_search(), do_replace_loop() |
| 750 | - Fix edit_update call to use CENTER instead of current_x |
| 751 | (related to David Benbennick's fixes for spelling). |
Chris Allegretta | 1939c35 | 2003-01-26 04:26:25 +0000 | [diff] [blame] | 752 | do_replace_loop() |
| 753 | - Fix various bugs having to do with replace string length |
| 754 | and positioning (David Benbennick). |
Chris Allegretta | 63d0b48 | 2003-01-26 19:47:10 +0000 | [diff] [blame] | 755 | edit_refresh() |
| 756 | - Fix cursor being above as well as below the current screen |
| 757 | (David Benbennick). |
Chris Allegretta | 3bbc416 | 2003-01-23 00:46:12 +0000 | [diff] [blame] | 758 | - winio.c: |
| 759 | bottombars() |
| 760 | - Change strcpy of gettext() "Up" string to strncpy of max |
| 761 | width 8, to stop stupid strcpy crash. |
Chris Allegretta | db28e96 | 2003-01-28 01:23:40 +0000 | [diff] [blame] | 762 | do_yesno() |
| 763 | - Fix mouse interaction bugs with yes/no prompt (David Benbennick). |
Chris Allegretta | f22e8bf | 2003-01-23 01:21:26 +0000 | [diff] [blame] | 764 | - nanorc.sample: |
| 765 | - Change comment to say magenta instead of purple. |
| 766 | |
Chris Allegretta | d46f544 | 2003-01-17 21:47:33 +0000 | [diff] [blame] | 767 | GNU nano 1.1.99pre1 - 2003.01.17 |
David Lawrence Ramsey | dc60b72 | 2002-10-25 16:08:53 +0000 | [diff] [blame] | 768 | - General: |
Chris Allegretta | d46f544 | 2003-01-17 21:47:33 +0000 | [diff] [blame] | 769 | - New date format for NEWS and ChangeLog. |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 770 | - Completely removed PICO_MODE, as with the search/replace |
| 771 | history patch we should have the extended functionality we can |
| 772 | without being incompatible with Pico. Removed all code for |
| 773 | different search/replace string editing and alternate shortcut |
| 774 | list. I'm sure I won't even have to ask for feedback on this |
| 775 | one :-) |
| 776 | - Add in Pico's -p flag, (-p, --preserve). To preserve the XON |
| 777 | and XOFF keys (^Q and ^S). Add warning if we invoke -p and |
| 778 | add checks for using --preserve (to skip warning) and --pico |
| 779 | (to force showing it). New flag PRESERVE, function |
| 780 | do_preserve_msg(), changes to main(), signal_init(). |
| 781 | - Search history and replace history up/down cursor arrows, |
| 782 | w/history tab completion, not available w/NANO_SMALL. Changes |
| 783 | to statusq(), others (Ken Tyler). Added shortcut to |
| 784 | search/replace shortcuts so people will know it's there, |
| 785 | forced KEY_UP and KEY_DOWN defs in nano.h (Chris, in case |
| 786 | blame needs to be placed later). Minor fixes by DLR: allow ^P |
| 787 | and ^N as alternatives to the up and down arrows, make sure |
| 788 | the "Up" shortcut is displayed properly in the help menu, |
| 789 | remove a few bits of unneeded and/or warning-generating code, |
| 790 | and fix some missing statusq() prompts with --enable-tiny. |
Chris Allegretta | f3de8b5 | 2003-01-16 23:44:46 +0000 | [diff] [blame] | 791 | - Added search/replace history log. Flag -H, --historylog. |
| 792 | Flags HISTORY_CHANGED and HISTORYLOG (only room for one more |
| 793 | flag!), added entries in nanorc.sample, new functions |
| 794 | log_history and save_history (Ken Tyler). |
Jordi Mallach | 5e4b8cf | 2002-10-26 15:02:14 +0000 | [diff] [blame] | 795 | - Translation updates (see po/ChangeLog for details). |
David Lawrence Ramsey | dc60b72 | 2002-10-25 16:08:53 +0000 | [diff] [blame] | 796 | - Forward-ported Chris' --disable-wrapping-as-root option from |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 797 | 1.0.9. Per Jordi's suggestions, have it override |
| 798 | $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR) |
| 799 | - Change all references to /etc/nanorc in the documentation to |
| 800 | $SYSCONFDIR/nanorc. (DLR) |
David Lawrence Ramsey | 99519ae | 2002-11-04 16:12:19 +0000 | [diff] [blame] | 801 | - Minor cosmetic tweaks to the ngettext() macro, and fix to |
| 802 | properly detect systems lacking ngettext() and correctly |
| 803 | compile on them; the previous fix didn't work. (DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 804 | - Fix problems with some code sections' not being #ifdef'ed out |
| 805 | when they should be, or being #ifdef'ed out improperly. (David |
| 806 | Benbennick and DLR) |
| 807 | - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the |
| 808 | associated logic accordingly, throughout the code. (David |
| 809 | Benbennick) |
| 810 | - Rework #ifdefs to not include mouse_init() at all if |
| 811 | DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR) |
| 812 | - For consistency, change many references of (!x) to (x == NULL) |
| 813 | and (x) to (x != NULL). (DLR) |
| 814 | - Define KEY_IC properly (and KEY_DC more portably) when slang |
| 815 | support is enabled, and remove the hack to work around the |
| 816 | former's not being defined. (David Benbennick and DLR) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 817 | - Miscellaneous tweaks to update_color() calls, to make sure |
| 818 | they're called at the right times and that refreshes are done |
| 819 | afterwards only when needed. (David Benbennick) |
| 820 | - Renamed [have_]past_editbuff [have_]search_offscreen. (DLR) |
| 821 | - Add the "preserve" option to the nanorc file, to match |
| 822 | nanorc.sample. (DLR) |
Chris Allegretta | 0e7a3f5 | 2003-01-15 03:06:25 +0000 | [diff] [blame] | 823 | - Fixed awful scrolling in do_int_speller. Problem was |
| 824 | findnextstr() calling edit_update(), though screen updating |
| 825 | is not its business. Added checks in do_search() and |
| 826 | do_replace_loop() to do the checks. It really should not be |
| 827 | done here, as some function in winio.c should handle this, |
| 828 | but I can't seem to find a good place to put this check. |
Chris Allegretta | d757e25 | 2003-01-15 19:33:27 +0000 | [diff] [blame] | 829 | - Updated all copyright notices to say 2003 rather than 2002, as |
| 830 | nearly all the source files have been worked on this year |
| 831 | (DLR). |
Jordi Mallach | 3e5ad63 | 2002-12-14 22:15:35 +0000 | [diff] [blame] | 832 | - configure.ac: |
Jordi Mallach | a0e829c | 2003-01-15 17:43:59 +0000 | [diff] [blame] | 833 | - Added tr and eu to ALL_LINGUAS (Jordi). |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 834 | - Fix now inaccurate description of --enable-tiny's effects; it |
| 835 | no longer disables NLS support. (DLR) |
| 836 | - Fix typo. (David Benbennick) |
| 837 | - Check for strcasecmp() and strncasecmp(), since they are |
| 838 | apparently only standard under BSD. (DLR) |
Jordi Mallach | 631ee1f | 2003-01-15 17:40:35 +0000 | [diff] [blame] | 839 | - Small cleanups. Add copyright header, add autopoint support and |
| 840 | define bug report address and full package name in AC_INIT. Move |
| 841 | ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11. |
Chris Allegretta | d957f59 | 2003-01-17 00:17:45 +0000 | [diff] [blame] | 842 | - Added --enable-all option to compile in all the extra stuff |
| 843 | we'd normally need extra flags for. |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 844 | - color.c: |
| 845 | update_color(): |
| 846 | - Remove an unneeded edit_refresh() call after do_colorinit(). |
| 847 | (David Benbennick) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 848 | - cut.c: |
| 849 | do_cut_text() |
| 850 | - Fix a memory corruption problem caused by accessing edittop |
| 851 | after it was freed but before it was reset to a sane value |
| 852 | from current. (David Benbennick) |
| 853 | do_uncut_text() |
| 854 | - If uncutting more than one line of unmarked text at editbot, |
| 855 | don't center the screen, since Pico doesn't. (DLR) |
Chris Allegretta | 688c8eb | 2003-01-14 23:36:11 +0000 | [diff] [blame] | 856 | - If uncutting previously unmarked text, uncut to end if we're |
| 857 | not at the beginning of the line, and set placewewant to 0 if |
| 858 | we are. This matches Pico's behavior. (DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 859 | - files.c: |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 860 | load_file() |
| 861 | - Remove unneeded wmove() call. (David Benbennick) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 862 | read_line() |
| 863 | - Miscellaneous cleanups. (David Benbennick) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 864 | open_file() |
| 865 | - If we're in multibuffer mode and there's an error opening the |
| 866 | file in read-only mode, display the error message on the |
| 867 | statusbar regardless of the value of quiet. (DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 868 | read_file() |
| 869 | - Miscellaneous cleanups. (David Benbennick) |
| 870 | - Fix len's being off by one when reading in Mac-format files, |
| 871 | exposed by one of David Benbennick's cleanups. (DLR) |
| 872 | - If NO_CONVERT isn't set when we first enter, and it gets set |
| 873 | while reading in the file, unset it again afterwards. (DLR) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 874 | do_insertfile() |
| 875 | - If we're in multibuffer mode and there's an error opening the |
| 876 | file that we're trying to insert, close the new buffer that we |
| 877 | made to hold it and reload the buffer we had open before. |
| 878 | (DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 879 | add_open_file() |
| 880 | - Fix minor logic error when determining when to resave fileage |
| 881 | and filebot. (DLR) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 882 | load_open_file() |
| 883 | - If switching between files when CONSTUPDATE is set, only force |
| 884 | a cursor position display update if DISABLE_CURPOS isn't set. |
| 885 | This will ensure that the "Switching to [file]" messages are |
| 886 | shown. (DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 887 | write_file() |
| 888 | - Change lineswritten from a long to an int, to match |
| 889 | filestruct->lineno. (DLR; mismatch found by David Benbennick) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 890 | real_dir_from_tilde() |
| 891 | - Since this is needed for proper interpretation of paths |
| 892 | containing tildes and not just for tab completion, include and |
| 893 | use it regardless of whether tab completion is disabled. |
| 894 | (David Benbennick and DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 895 | input_tab() |
| 896 | - Variable name change: matchBuf -> matchbuf. (DLR) |
| 897 | diralphasort() |
| 898 | - Remove the HAVE_STRCASECMP #ifdef block; see the changes to |
| 899 | configure.ac and nano.h for why. (DLR) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 900 | - global.c: |
| 901 | thanks_for_all_the_fish() |
| 902 | - Miscellaneous cleanups. (David Benbennick) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 903 | - move.c: |
| 904 | do_page_down() |
| 905 | - If there's a page or less of text, do an edit_update() if the |
| 906 | mark is on; otherwise, the highlight won't be displayed. (DLR) |
David Lawrence Ramsey | 9e050ad | 2002-11-04 16:18:52 +0000 | [diff] [blame] | 907 | - nano.c: |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 908 | - Added free_history() list calls clean up, added init of list |
| 909 | headers, and modified statusq() calls (Ken Tyler). |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 910 | do_prev_word() |
| 911 | - Make the assert match that in do_next_word(). (DLR) |
| 912 | do_enter() |
| 913 | - If smooth scrolling is on, and Enter is pressed on the |
| 914 | magicline, don't center the screen. (DLR) |
| 915 | do_justify() |
| 916 | - Fix memory corruption problem triggered when edittop and |
| 917 | current->next pointed to the same value and current->next was |
| 918 | destroyed during justification. (DLR) |
| 919 | - Center the screen when justification moves the cursor entirely |
| 920 | off the bottom of the screen, instead of when it moves the |
| 921 | cursor near the bottom of the screen, to more closely match |
| 922 | Pico's behavior. (DLR) |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 923 | version() |
| 924 | - Remove obsolete reference to --enable-undo. (David Benbennick) |
Chris Allegretta | e660037 | 2003-01-17 03:39:41 +0000 | [diff] [blame] | 925 | - Move up check for --disable-nls as it's independent of |
| 926 | --enable-tiny now (DLR). |
Chris Allegretta | 5ad92ac | 2002-12-09 00:58:51 +0000 | [diff] [blame] | 927 | do_int_speller() |
Chris Allegretta | 5af5889 | 2003-01-17 21:07:38 +0000 | [diff] [blame] | 928 | - Make internal spell program use sort -f and uniq to create a |
| 929 | less redundant word list. [The only reason this is going in |
| 930 | during feature freeze is because the int speller is useless as |
| 931 | is and should either be improved or removed. I chose |
| 932 | improved]. |
Chris Allegretta | 3f1b685 | 2003-01-12 23:54:05 +0000 | [diff] [blame] | 933 | - Change all child error checks to use one goto (gasp!) called |
| 934 | close_pipes_and_exit, so we don't leak FDs. |
Chris Allegretta | 2d5fc3a | 2003-01-16 03:11:23 +0000 | [diff] [blame] | 935 | - Fix FD leaks which occur outside of errors (David Benbennick). |
Chris Allegretta | 334a940 | 2002-12-16 04:25:53 +0000 | [diff] [blame] | 936 | do_int_speller(), do_alt_speller() |
| 937 | - Programs now return char *, NULL for successful completion, |
| 938 | otherwise the error string to display. This allows us to give |
| 939 | more useful feedback to the user when spell checking fails. |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 940 | ABCD() |
| 941 | - Renamed abcd(). (DLR) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 942 | main() |
| 943 | - Remove an unneeded do_colorinit() call, do major cleanups, and |
| 944 | allow loading of multiple files on the command line when |
| 945 | multibuffers are used. (David Benbennick) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 946 | - nano.h: |
| 947 | - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same |
| 948 | value. (DLR; discovered by Ken Tyler) |
| 949 | - If strcasecmp() and/or strncasecmp() aren't available, use |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 950 | strcmp() and/or strncmp() instead. (DLR) |
| 951 | - proto.h: |
| 952 | - Fix the #ifdef block for DISABLE_TABCOMP's being undefined |
| 953 | so that functions only used with tab completion are properly |
| 954 | #ifdef'ed out. (DLR) |
| 955 | - search.c: |
Chris Allegretta | 2ad0f6c | 2003-01-16 03:51:02 +0000 | [diff] [blame] | 956 | do_gotoline() |
| 957 | - Don't call blank_statusbar_refresh() so if there's an error |
| 958 | returned in multibuffer mode, we can actually see it. |
Chris Allegretta | 688c8eb | 2003-01-14 23:36:11 +0000 | [diff] [blame] | 959 | do_search() |
| 960 | - Remove erroneously introduced near-duplicate call to |
| 961 | update_history(). (DLR) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 962 | print_replaced() |
| 963 | - Remove and replace with an equivalent ngettext() call. (DLR) |
| 964 | do_replace_loop() |
| 965 | - Fix bug where if text on the magicline was replaced (which can |
| 966 | be done via a regexp replace of "^$" with something other than |
| 967 | ""), a new magicline wouldn't be created. (DLR) |
Chris Allegretta | ca7113a | 2003-01-14 23:35:24 +0000 | [diff] [blame] | 968 | - Remove check for answer being a blank string, presumed to be |
| 969 | a PICO_MODE holdover, but it stops us from doing a blank |
| 970 | spelling replacement. |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 971 | do_replace() |
| 972 | - For greater Pico compatibility, when an attempt to replace a |
| 973 | string results in 0 replacements due to the string's not being |
| 974 | found, display "[string] not found" instead of "Replaced 0 |
| 975 | occurrences". (DLR) |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 976 | - utils.c: |
Chris Allegretta | 09fc430 | 2003-01-16 22:16:38 +0000 | [diff] [blame] | 977 | is_cntrl_char() |
| 978 | - Rework to fix a problem with displaying certain high-bit |
| 979 | characters. (David Benbennick; reported by Andrzej Marecki) |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 980 | align() |
| 981 | - Don't just assert that the string passed in isn't NULL; check |
| 982 | that it isn't and only do the alignment when it isn't. (David |
| 983 | Benbennick) |
| 984 | nmalloc(), nrealloc() |
| 985 | - If the size passed to nmalloc() or nrealloc() is zero, don't |
| 986 | die with an erroneous out-of-memory error. Also, change |
| 987 | their dying messages to "nano is out of memory!". (David |
| 988 | Benbennick) |
| 989 | charalloc() |
| 990 | - Removed and redefined as a macro that calls nmalloc(). (David |
| 991 | Benbennick) |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 992 | - winio.c: |
Chris Allegretta | 09fc430 | 2003-01-16 22:16:38 +0000 | [diff] [blame] | 993 | nanogetstr() |
| 994 | - Tweak to make the cursor stay in the same place if we hit a |
| 995 | prompt-changing toggle while it's in the middle of the string. |
Chris Allegretta | 5af5889 | 2003-01-17 21:07:38 +0000 | [diff] [blame] | 996 | Reset it to -1 (so next time we come here, it'll be set to the |
| 997 | end of the string) if we leave the prompt via Enter or Cancel. |
Chris Allegretta | 09fc430 | 2003-01-16 22:16:38 +0000 | [diff] [blame] | 998 | Also fix minor problem with search history where the current |
| 999 | search item could be at the bottom of the history twice in a |
| 1000 | row under certain conditions. (DLR) |
Chris Allegretta | 327abda | 2003-01-17 05:04:17 +0000 | [diff] [blame] | 1001 | - Remove parens in NANO_CONTROL_I check so nano won't complain if |
| 1002 | just NANO_SMALL is defined (David Benbennick). |
David Lawrence Ramsey | 9b13ff3 | 2002-12-22 16:30:00 +0000 | [diff] [blame] | 1003 | edit_refresh() |
| 1004 | - Miscellaneous cleanups that fix a bug where the screen |
| 1005 | isn't updated after uncutting chunks of upwardly marked cut |
| 1006 | text that are over a page in length. (David Benbennick) |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1007 | do_credits() |
| 1008 | - Add David Benbennick to credits. (DLR) |
| 1009 | - nanorc.sample: |
| 1010 | - Added comment to explain the non-escaping of quotes in |
| 1011 | color regexes, based on info provided by David Benbennick. |
| 1012 | (DLR) |
Chris Allegretta | ed4fb2c | 2003-01-11 01:14:07 +0000 | [diff] [blame] | 1013 | - Added some examples for groff and the nanorc courtesy of |
| 1014 | Robert D. Goulding. |
| 1015 | - Added double hash marks to comment lines, so people who |
| 1016 | uncomment the beginning of every line won't get syntax errors. |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1017 | - faq.html: |
Chris Allegretta | 7662c86 | 2003-01-13 01:35:15 +0000 | [diff] [blame] | 1018 | - Miscellaneous fixes and updates for typos, broken links, and |
| 1019 | slashes at the end of directories. It is now fully compliant |
| 1020 | with HTML 4.01 Transitional. (DLR and David Benbennick) |
Chris Allegretta | 3f8a63c | 2003-01-17 02:49:23 +0000 | [diff] [blame] | 1021 | - Added docs about the new unified search string interface and |
| 1022 | search histories, and added --enable-all into configure docs. |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1023 | - nano.texi: |
| 1024 | - Typo fixes and updates. (David Benbennick) |
Chris Allegretta | 9fa5fbd | 2003-01-13 02:56:29 +0000 | [diff] [blame] | 1025 | - Updates for the most recent and not so recent changes. |
Chris Allegretta | f9ab3f7 | 2003-01-17 03:06:28 +0000 | [diff] [blame] | 1026 | - nano.1, nano.1.html |
| 1027 | - Updated for the --preserve and --historylog options. |
Chris Allegretta | 916a8ec | 2003-01-05 21:51:16 +0000 | [diff] [blame] | 1028 | - TODO |
| 1029 | - Added some wishlist stuff. |
Jordi Mallach | 3e5ad63 | 2002-12-14 22:15:35 +0000 | [diff] [blame] | 1030 | - THANKS: |
Jordi Mallach | a0e829c | 2003-01-15 17:43:59 +0000 | [diff] [blame] | 1031 | - Added Doruk Fisek and Peio Ziarsolo (Jordi). |
Chris Allegretta | e8ad5ed | 2002-10-25 03:15:48 +0000 | [diff] [blame] | 1032 | |
Chris Allegretta | 2257893 | 2002-10-25 03:14:11 +0000 | [diff] [blame] | 1033 | GNU nano 1.1.12 - 10/24/2002 |
Jordi Mallach | dab0299 | 2002-10-06 23:35:19 +0000 | [diff] [blame] | 1034 | - General: |
| 1035 | - Translation updates (see po/ChangeLog for details). |
Chris Allegretta | 1dd0bc9 | 2002-10-13 18:43:45 +0000 | [diff] [blame] | 1036 | - Remove malloc.h, as it's unneeded and just causes annoyances on |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1037 | *BSD systems. Added stdlib.h to global.c. |
Chris Allegretta | 1dd0bc9 | 2002-10-13 18:43:45 +0000 | [diff] [blame] | 1038 | - Added Meta-Y toggle to disable/enable color syntax highlighting |
| 1039 | completely. This may eventually be per-buffer, but that's too |
| 1040 | complicated for a feature freeze. |
Chris Allegretta | e42df73 | 2002-10-15 00:27:55 +0000 | [diff] [blame] | 1041 | - Disable VSTOP keystroke. Stops people accidentally locking up |
| 1042 | nano (suggested by David Benbennick). |
David Lawrence Ramsey | 2ab03f6 | 2002-10-17 02:19:31 +0000 | [diff] [blame] | 1043 | - Pluralize messages with ngettext() where needed. (David |
Chris Allegretta | d45c599 | 2002-10-25 01:41:31 +0000 | [diff] [blame] | 1044 | Benbennick) Tweaked to compile on systems lacking ngettext() |
| 1045 | by DLR (problem found by Ken Tyler). |
David Lawrence Ramsey | 2ab03f6 | 2002-10-17 02:19:31 +0000 | [diff] [blame] | 1046 | - Update nano.1 and nano.1.html to show that nano now does an |
| 1047 | emergency save on receiving SIGHUP or SIGTERM. (DLR) |
| 1048 | - Don't include "nowrap" in the long options if |
| 1049 | DISABLE_WRAPPING is defined. (DLR) |
| 1050 | - files.c: |
| 1051 | read_file() |
| 1052 | - Minor efficiency fixes, some of which fit in with the change |
| 1053 | to ngettext() usage mentioned above. (David Benbennick) |
| 1054 | do_browser() |
| 1055 | - Make sure the value of path is mallocstrcpy()ed into retval |
| 1056 | and not just assigned to it, to avoid memory corruption |
| 1057 | problems. (DLR) |
| 1058 | - nano.c: |
Chris Allegretta | 2a15c58 | 2002-10-25 01:51:13 +0000 | [diff] [blame] | 1059 | version() |
| 1060 | - If ENABLE_NLS isn't defined, display "--disable-nls" |
| 1061 | (suggested by Ken Tyler). (DLR) |
David Lawrence Ramsey | 2ab03f6 | 2002-10-17 02:19:31 +0000 | [diff] [blame] | 1062 | justify_format() |
| 1063 | - Make sure the double space maintained after sentence-ending |
| 1064 | punctuation is done when that punctuation is immediately |
| 1065 | followed by a bracket-type character, so justifying e.g. |
| 1066 | sentences in parentheses works properly. (David Benbennick) |
| 1067 | handle_hup() |
| 1068 | - Renamed handle_hupterm() to show that it now handles SIGTERM |
| 1069 | as well as SIGHUP. (DLR) |
| 1070 | signal_init() |
| 1071 | - Do an emergency save on receiving either SIGHUP or SIGTERM, |
| 1072 | not just SIGHUP. (David Benbennick) |
| 1073 | main() |
| 1074 | - Fix a problem where control key commands were printed |
| 1075 | literally instead of interpreted after a failed search of a |
| 1076 | one-line file. (David Benbennick) |
| 1077 | - proto.h: |
| 1078 | handle_hup() |
| 1079 | - Renamed handle_hupterm(); see above for why. (DLR) |
| 1080 | - winio.c: |
| 1081 | edit_add() |
| 1082 | - Fix a potential infinite loop occurring with certain |
| 1083 | zero-length regexes. (David Benbennick) |
Chris Allegretta | 71fb1f5 | 2002-10-02 00:21:31 +0000 | [diff] [blame] | 1084 | |
Chris Allegretta | 136a38a | 2002-10-02 00:05:40 +0000 | [diff] [blame] | 1085 | GNU nano 1.1.11 - 10/01/2002 |
Jordi Mallach | 25daa05 | 2002-07-29 00:16:38 +0000 | [diff] [blame] | 1086 | - General: |
| 1087 | - Translation updates (see po/ChangeLog for details). |
Jordi Mallach | 1f1022f | 2002-08-21 18:19:53 +0000 | [diff] [blame] | 1088 | - Upgraded to gettext 0.11.5 (Jordi). |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1089 | - Updated nano.1, nano.1.html, and nano.texi to fix an |
| 1090 | inaccuracy in the description of -Q/--quotestr. (DLR) |
| 1091 | - Set REG_EXTENDED in all regcomp() calls. (DLR) |
| 1092 | - Minor cosmetic code cleanups. (DLR) |
Chris Allegretta | f7c6811 | 2002-09-03 22:58:40 +0000 | [diff] [blame] | 1093 | - Changed do_insertfile to (a) report multibuffer status at the |
| 1094 | prompt and allowing it to be toggled, taking into account the |
| 1095 | need to keep the translatable strings, and (b) added a |
| 1096 | variable inspath to keep track of what the string was before |
| 1097 | toggling. I'm sure there's bugs, have at it. |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1098 | - Make sure all functions have prototypes in proto.h, and swap |
| 1099 | some functions around to put similar functions closer |
| 1100 | together (for this, rename clear_bottombars() to |
| 1101 | blank_bottombars()). (DLR; suggested by David Benbennick) |
David Lawrence Ramsey | e21adfa | 2002-09-13 18:14:04 +0000 | [diff] [blame] | 1102 | - More changes of char *'s to const char *'s when possible. |
| 1103 | (David Benbennick) |
| 1104 | - Fix various minor memory leaks in files.c. (David Benbennick) |
| 1105 | - Fix minor problems with the operating directory code: set the |
| 1106 | operating directory properly if it's specified only in a |
| 1107 | nanorc file, and handle an operating directory of "/" |
| 1108 | properly. New function init_operating_dir() to handle |
| 1109 | setting it both on the command line and in the nanorc file. |
| 1110 | (David Benbennick) |
David Lawrence Ramsey | 1f28b8f | 2002-09-27 14:21:59 +0000 | [diff] [blame] | 1111 | - Major rewrite of color and screen update routines to fix |
| 1112 | minor bugs and increase efficiency. New function |
| 1113 | set_colorpairs() for the former. (David Benbennick) |
Jordi Mallach | cb7c8d8 | 2002-07-27 02:49:46 +0000 | [diff] [blame] | 1114 | - configure.ac: |
| 1115 | - Added pt_BR to ALL_LINGUAS (Jordi). |
Chris Allegretta | 82559b3 | 2002-08-22 01:12:41 +0000 | [diff] [blame] | 1116 | - Changed --enable-color warning to be slightly less severe. |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1117 | - Put the configure options in more or less alphabetical order, |
| 1118 | and remove --enable-undo, since it doesn't do anything. (DLR) |
Chris Allegretta | d865da1 | 2002-07-29 23:46:38 +0000 | [diff] [blame] | 1119 | - files.c: |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1120 | open_file() |
| 1121 | - String change: "File "x" is a directory" -> ""x" is a |
| 1122 | directory". (Jordi) |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1123 | do_insertfile() |
| 1124 | - Disallow multibuffer toggling at the "Insert File" prompt if |
| 1125 | we're in both view and multibuffer mode, so as to keep proper |
| 1126 | integration between the two, and make sure the toggle |
David Lawrence Ramsey | e21adfa | 2002-09-13 18:14:04 +0000 | [diff] [blame] | 1127 | actually works all the time otherwise. Also, make sure |
| 1128 | TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and |
| 1129 | ENABLE_MULTIBUFFER are both defined. (DLR) |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1130 | open_prevfile_void(), open_nextfile_void() |
| 1131 | - Return the return values of open_prevfile() and |
| 1132 | open_nextfile(), respectively, instead of (incorrectly) |
| 1133 | calling them and returning 0. (DLR) |
Chris Allegretta | d865da1 | 2002-07-29 23:46:38 +0000 | [diff] [blame] | 1134 | real_dir_from_tilde() |
| 1135 | - Rework to use getpwent() exclusively and end reliance on |
| 1136 | $HOME. Adapted from equivalent code in do_rcfile(). (DLR) |
| 1137 | input_tab() |
| 1138 | - Most likely fixed the check marked with FIXME, so that tab |
| 1139 | completion works properly when we're trying to tab-complete a |
| 1140 | username and the string already contains data. (DLR) |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1141 | - global.c: |
| 1142 | shortcut_init() |
David Lawrence Ramsey | e21adfa | 2002-09-13 18:14:04 +0000 | [diff] [blame] | 1143 | - Disable the new multibuffer toggle at the file insertion |
| 1144 | prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both |
| 1145 | defined. (DLR) |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1146 | thanks_for_all_the_fish() |
| 1147 | - Make sure the reference to help_text is #ifdefed out when |
| 1148 | --disable-help is used. (DLR) |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1149 | - move.c: |
| 1150 | page_up() |
| 1151 | - Fix bug where current is moved up two lines when the up arrow |
| 1152 | is pressed on the top line of the edit window; this causes a |
| 1153 | segfault is the top line in the edit window is the second |
| 1154 | line of the file, as the line current ends up on doesn't |
David Lawrence Ramsey | 768e8f0 | 2002-08-22 04:03:45 +0000 | [diff] [blame] | 1155 | exist. (Jeff DeFouw) |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1156 | do_down() |
| 1157 | - Fix bug where, if the last line in the edit window is the |
| 1158 | line before the magicline, and smooth scrolling is turned |
| 1159 | off, pressing the down arrow on that last line centers the |
| 1160 | cursor without updating the edit window. (Jeff DeFouw) |
Chris Allegretta | d865da1 | 2002-07-29 23:46:38 +0000 | [diff] [blame] | 1161 | - nano.c: |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1162 | version() |
| 1163 | - Put the listed configure options in more or less alphabetical |
| 1164 | order. (DLR) |
| 1165 | open_pipe() |
| 1166 | - If we're in view mode here (in which case we're also in |
| 1167 | multibuffer mode), don't set the modification flag. (DLR) |
Chris Allegretta | d865da1 | 2002-07-29 23:46:38 +0000 | [diff] [blame] | 1168 | do_next_word(), do_prev_word() |
| 1169 | - If we're on the last/first line of the file, don't center the |
| 1170 | screen; Pico doesn't in the former case. (DLR) |
| 1171 | do_backspace() |
| 1172 | - Rework to call edit_refresh() regardless of the value of |
| 1173 | current_x if ENABLE_COLOR is defined, so that multiple-line |
| 1174 | color regexes are properly updated onscreen as they are in |
| 1175 | do_delete(). (DLR) |
| 1176 | do_delete() |
| 1177 | - Rework to only call edit_refresh() unconditionally if |
| 1178 | ENABLE_COLOR is defined; if it isn't, and we're not deleting |
| 1179 | the end of the line, only call update_line(). (DLR) |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1180 | do_wrap() |
| 1181 | - Make sure wrapping is done properly when the number of |
| 1182 | characters on the line is exactly one over the limit. (David |
| 1183 | Benbennick) |
Chris Allegretta | 0ae5c72 | 2002-09-19 23:20:26 +0000 | [diff] [blame] | 1184 | - Restore the previous wrapping point behavior (pre 1.1.10) |
Chris Allegretta | 4300092 | 2002-09-21 15:41:33 +0000 | [diff] [blame] | 1185 | (David Benbennick). Minor fix by DLR to prevent spaces from |
| 1186 | being added to the ends of lines ending in spaces or lines |
| 1187 | ending in tabs (the latter case found by David Benbennick). |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1188 | do_alt_speller() |
| 1189 | - Readd DLR's fix to preserve marking when using the alternate |
| 1190 | spell checker; it was accidentally dropped. (David |
| 1191 | Benbennick) |
| 1192 | do_justify() |
| 1193 | - Fix cosmetic problems caused when justifying on the |
David Lawrence Ramsey | e21adfa | 2002-09-13 18:14:04 +0000 | [diff] [blame] | 1194 | magicline, and a minor problem where the cursor would |
| 1195 | sometimes be moved to the wrong line after justification. |
| 1196 | (David Benbennick) |
David Lawrence Ramsey | ad40fdb | 2002-09-06 20:35:28 +0000 | [diff] [blame] | 1197 | main() |
| 1198 | - When searching through the main shortcut list looking for a |
| 1199 | shortcut key, stop searching after finding one; this avoids a |
| 1200 | rare segfault. (DLR) |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1201 | - nano.h: |
| 1202 | - Change search toggles for case sensitive searching and regexp |
| 1203 | searching to M-C and M-R, respectively. (DLR; suggested by |
| 1204 | Chris) |
Chris Allegretta | 515ba32 | 2002-09-14 21:16:40 +0000 | [diff] [blame] | 1205 | - Add support for HP-UX's curses, which doesn't seem to support |
| 1206 | KEY_HOME and KEY_END. |
Chris Allegretta | 79cdfdc | 2002-08-22 02:58:55 +0000 | [diff] [blame] | 1207 | - nanorc.sample: |
| 1208 | - Fix the c-file regex for all caps words to be extended regex |
| 1209 | format ({} instead of \{\}) (found by DLR). |
Chris Allegretta | 3f9c3bf | 2002-09-18 00:00:12 +0000 | [diff] [blame] | 1210 | - Add a better string matching sequence that includes escaped |
| 1211 | quotes (thanks to Carl E. Lindberg, who doesn't even know he |
David Lawrence Ramsey | 1f28b8f | 2002-09-27 14:21:59 +0000 | [diff] [blame] | 1212 | helped ;-). Some unneeded \'s in that sequence removed, and |
| 1213 | a new sequence to handle multi-line quotes added, by David |
| 1214 | Benbennick. |
Chris Allegretta | 136a38a | 2002-10-02 00:05:40 +0000 | [diff] [blame] | 1215 | - Add some examples for HTML and TeX files (David Benbennick). |
Chris Allegretta | de85262 | 2002-09-18 00:28:57 +0000 | [diff] [blame] | 1216 | - rcfile.c: |
| 1217 | parse_colors() |
| 1218 | - Stop infinite loop when syntax doesn't begin with " char. |
David Lawrence Ramsey | e21adfa | 2002-09-13 18:14:04 +0000 | [diff] [blame] | 1219 | - utils.c: |
| 1220 | charalloc() |
| 1221 | - Switch from using calloc() to using malloc(). (David |
| 1222 | Benbennick) |
David Lawrence Ramsey | 605165e | 2002-09-11 01:48:14 +0000 | [diff] [blame] | 1223 | - faq.html: |
| 1224 | - Typo fix. (DLR) |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1225 | - AUTHORS: |
| 1226 | - Add David Benbennick. (Jordi and Chris) |
David Lawrence Ramsey | 0341b58 | 2002-08-21 16:10:37 +0000 | [diff] [blame] | 1227 | - TODO: |
| 1228 | - Add entry in the 1.4 section for Pico's paragraph searching |
| 1229 | ability (at the search prompt, ^W goes to the paragraph's |
| 1230 | beginning, and ^O goes to the paragraph's end). (DLR) |
Chris Allegretta | 52069c6 | 2002-07-25 22:27:50 +0000 | [diff] [blame] | 1231 | |
Chris Allegretta | 720a9e0 | 2002-07-25 22:26:33 +0000 | [diff] [blame] | 1232 | GNU nano 1.1.10 - 07/25/2002 |
Jordi Mallach | cb7c8d8 | 2002-07-27 02:49:46 +0000 | [diff] [blame] | 1233 | - General: |
Jordi Mallach | 1f22687 | 2002-05-13 15:05:38 +0000 | [diff] [blame] | 1234 | - Translation updates (see po/ChangeLog for details). |
Jordi Mallach | 790d362 | 2002-06-03 12:44:05 +0000 | [diff] [blame] | 1235 | - Upgraded to gettext 0.11.2 (Jordi). |
Jordi Mallach | bd33865 | 2002-06-03 12:32:28 +0000 | [diff] [blame] | 1236 | Removed intl/ entirely, and a few more tweaks by gettextize. |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1237 | - i18nized a few strings used in DEBUG mode. (DLR) |
| 1238 | - Some chars being assigned 0 are now assigned '\0'. (DLR) |
David Lawrence Ramsey | c596755 | 2002-06-21 03:20:06 +0000 | [diff] [blame] | 1239 | - Put header file #includes in a more consistent order. (DLR) |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1240 | - Remove some unneeded blank lines and spaces, and make some |
| 1241 | spacing more consistent. (DLR) |
| 1242 | - When possible, use iscntrl() to determine whether a character |
| 1243 | is a control character or not. (DLR) |
| 1244 | - Miscellaneous typo fixes. (DLR) |
David Lawrence Ramsey | c596755 | 2002-06-21 03:20:06 +0000 | [diff] [blame] | 1245 | - Many fixes to the help browser and shortcut lists: efficiency |
| 1246 | updates, consistency fixes, help text fixes and improvements, |
| 1247 | and spacing improvements. (David Benbennick) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1248 | - Make some functions use const variables when possible, and |
| 1249 | also make them static when necessary. (David Benbennick, |
| 1250 | necessary redefined by Chris ;-) |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1251 | - Add Carl Drinkwater's backup file option (-B or --backup on the |
| 1252 | command line, M-B in nano's global shortcuts). If the original |
| 1253 | file is unchanged from when it was loaded, it is backed up to |
| 1254 | filename~; if the original file has been changed or deleted |
| 1255 | since it was originally loaded, it isn't backed up. The backup |
| 1256 | file retains the permissions, owner/group, and |
| 1257 | access/modification times of the original file. This option is |
| 1258 | disabled when --enable-tiny is used. It will not back up |
| 1259 | temporary files. Minor fixes to it by David Benbennick and |
| 1260 | DLR. Changes to open_file(), add_open_file(), |
| 1261 | load_open_file(), write_file(), and do_writeout(). |
| 1262 | - Add \n's to the ends of "filename is %s" debugging strings. |
| 1263 | (Carl Drinkwater) |
| 1264 | - Add the long option --quotestr as an alternative for -Q, and |
| 1265 | --regexp as an alternative for -R; they were listed in nano's |
| 1266 | usage information, but weren't actually in nano. Also, display |
| 1267 | "-?" as an alternative for "-h" in nano's usage information, |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1268 | put the command line options in a more consistent (i.e. mostly |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1269 | alphabetical) order in nano, put the long options in a more |
| 1270 | consistent order in rcfile.c and nanorc.sample, don't include |
| 1271 | rcfile options if their equivalent command line options are |
| 1272 | disabled, and remove obsolete relative option from |
| 1273 | nanorc.sample. (DLR) |
| 1274 | - Change "File Name to Append/Prepend" to "File Name to |
| 1275 | Append/Prepend to". The original prompt could confusingly |
| 1276 | imply that we are appending/prepending another file to the |
| 1277 | current file, when we are actually appending/prepending the |
| 1278 | current file to another file. (DLR) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1279 | - Put nano.1, nano.1.html, and nano.texi up to date, and fix a |
| 1280 | few inconsistencies in them. (DLR) |
| 1281 | - Typo fixes for the ChangeLog. (David Benbennick and DLR) |
| 1282 | - Complete rewrite of justification code to fix some bugs and |
| 1283 | improve its functionality. (David Benbennick) |
| 1284 | - If a variable isn't going to be used in tiny mode, #define it |
| 1285 | out when possible. (David Benbennick) |
| 1286 | - Major reworking of the cutting/screen-updating code in cut.c, |
| 1287 | some functions in utils.c, the cursor placement code in |
| 1288 | winio.c, and many, many other areas to increase efficiency. |
| 1289 | (David Benbennick) |
| 1290 | - Rework handling of prompts when there's a list of partial |
| 1291 | filename matches on the screen: remove kludgy case-by-case |
| 1292 | handling (which didn't even handle every case), and have |
| 1293 | statusq() handle it directly for all cases. (David Benbennick |
| 1294 | and DLR) |
| 1295 | - Fix some warnings and errors that show up when using gcc's |
| 1296 | -pedantic option. (DLR) |
| 1297 | - Add a comment to nanorc.sample warning that an out-of-range |
| 1298 | negative value for fill can make nano die complaining that |
| 1299 | the screen is too small (which may not be immediately |
Chris Allegretta | d865da1 | 2002-07-29 23:46:38 +0000 | [diff] [blame] | 1300 | obvious). (DLR) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1301 | - There were some opendir() calls in files.c without |
| 1302 | corresponding closedir() calls; add them. (DLR) |
| 1303 | - Move align() and null_at() from nano.c to utils.c, and move |
| 1304 | the openfilestruct handling functions from nano.c to files.c. |
| 1305 | (DLR) |
| 1306 | - In color.c, start the "#ifdef ENABLE_COLOR" block after |
| 1307 | including all the header files, as rcfile.c does; this fixes |
| 1308 | a warning about ANSI C'S inability to handle blank files. |
| 1309 | (DLR) |
Chris Allegretta | cf287c8 | 2002-07-20 13:57:41 +0000 | [diff] [blame] | 1310 | - Add new function is_cntrl_char() as a wrapper for iscntrl(); |
| 1311 | this is needed to treat ASCII 0x80-0x9f as control characters |
| 1312 | consistently. (Without this, they will only be treated as |
| 1313 | such when gettext is used; when it isn't used, they will be |
| 1314 | printed as-is and be interpreted as commands by xterm, which |
| 1315 | will corrupt the display.) (DLR) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1316 | - Add command line option -I/--ignorercfiles to ignore |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1317 | $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater). Fix to |
| 1318 | parsing getopt args (DLR). |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1319 | - Fix minor bugs with importing certain text files in Mac |
| 1320 | format. (DLR) |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1321 | - files.c: |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1322 | append_slash_if_dir(), input_tab() |
| 1323 | - Changed variable names: lastWasTab -> lastwastab, matchBuf -> |
| 1324 | matchbuf. (DLR) |
| 1325 | check_operating_dir() |
| 1326 | - Memory leak fix. (David Benbennick) |
| 1327 | check_writable_directory() |
| 1328 | - Optimizations (David Benbennick). |
| 1329 | cwd_tab_completion() |
| 1330 | - Changed a variable name: dirName -> dirname. (DLR) |
| 1331 | do_browser() |
| 1332 | - Optimizations and mouse selection fixes (David Benbennick). |
| 1333 | do_writeout() |
| 1334 | - Fix problem with formatstr's being defined as NULL when |
| 1335 | --enable-tiny is used. Since formatstr isn't ever used in tiny |
| 1336 | mode, don't bother even creating the variable. (David |
| 1337 | Benbennick and DLR) |
| 1338 | do_insertfile() |
| 1339 | - Memory leak fix (accidentally dropped 1st time). |
| 1340 | (David Benbennick). |
| 1341 | get_full_path() |
| 1342 | - Memory leak fix. Also, make it properly interpret ~/ notation |
| 1343 | so, among other things, the option "--operatingdir ~" works. |
| 1344 | (David Benbennick) |
| 1345 | - More optimizations (David Benbennick). |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1346 | new_file() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1347 | - Make sure current_x is zero; this fixes a problem where the |
| 1348 | current cursor position wasn't reset when reading in a file in |
| 1349 | multibuffer mode. (David Benbennick) |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1350 | - Use make_new_node rather than setting up fileage by hand |
| 1351 | (David Benbennick). |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1352 | read_file(), read_line() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1353 | - Rework to properly handle nulls in the input file, fix |
| 1354 | detection of binary files to properly mark a file as binary if |
| 1355 | the only binary characters it contains are ASCII 127's, and |
| 1356 | after reading the last line of a file that doesn't end in a |
| 1357 | newline, increment totsize. Remove previous kludge to set |
| 1358 | totsize properly. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1359 | write_file() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1360 | - Rework to properly handle nulls in the input file. When |
| 1361 | appending/prepending, don't change the current file's name to |
| 1362 | the name of the file it's being appended/prepended to. When |
| 1363 | writing a marked selection to a file, save and restore totsize |
| 1364 | so it isn't decreased by the size of the selection afterward. |
| 1365 | (DLR) |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1366 | - Optimizations (David Benbennick). |
Chris Allegretta | 6fe98d7 | 2002-05-16 23:30:14 +0000 | [diff] [blame] | 1367 | - global.c: |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1368 | free_toggles() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1369 | - Only include if we're not using tiny mode. (David Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1370 | toggle_init() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1371 | - Remove global entries for search toggles, as they aren't really |
| 1372 | global. (DLR) |
| 1373 | - Don't reinititialize the toggles if they've already been |
| 1374 | initialized; it's unnecessary and even causes a segfault in |
| 1375 | do_toggle() if Pico emulation mode is the toggle in question. |
| 1376 | Don't free the toggles here, either; it's unnecessary after the |
| 1377 | above change. (David Benbennick) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1378 | - If wrapping is disabled, don't include the toggle for it. |
| 1379 | (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1380 | shortcut_init() |
Chris Allegretta | 6fe98d7 | 2002-05-16 23:30:14 +0000 | [diff] [blame] | 1381 | - Rework IFHELP macro (David Benbennick). |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1382 | - move.c |
| 1383 | page_down(), page_up() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1384 | - Put sanity checks for current_x back in, to avoid rare |
| 1385 | segfaults (oops). Now, however, they are only called when |
| 1386 | placewewant is zero instead of being called unconditionally; |
| 1387 | see changes to winio.c:actual_x_from_start() below. (DLR) |
Jordi Mallach | 790d362 | 2002-06-03 12:44:05 +0000 | [diff] [blame] | 1388 | - nanorc.sample: |
Chris Allegretta | 5c6379d | 2002-05-18 03:13:03 +0000 | [diff] [blame] | 1389 | - Put in much less crappy example regex rules for c-file. |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1390 | - nano.c: |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1391 | clear_filename() |
| 1392 | - Remove this function, as it has unneeded functionality, is |
| 1393 | short enough to be inlined, and is only called in two spots |
| 1394 | anyway. (DLR) |
| 1395 | die() |
| 1396 | - Rework slightly to remove redundant printing of last message |
| 1397 | and print all messages after resetting the terminal. (DLR) |
| 1398 | do_backspace() |
| 1399 | - Make sure placewewant is set properly, and that the mark is |
| 1400 | moved backwards. (David Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1401 | do_char() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1402 | - Fix a problem where, if ENABLE_COLOR wasn't used, typing |
| 1403 | characters on a marked line before the beginning of the mark |
| 1404 | would make the highlight short by one. (David Benbennick) |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1405 | do_cont() |
| 1406 | - Handle the case where the window was resized while we were |
| 1407 | stopped. (David Benbennick) |
| 1408 | do_delete() |
| 1409 | - Make sure placewewant is set properly, to match Pico's |
| 1410 | behavior. (DLR) |
| 1411 | do_int_spell(), do_alt_spell() |
| 1412 | - Rework to save the marked selection before doing spell checking |
| 1413 | and restore it afterward. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1414 | do_next_word(), do_prev_word() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1415 | - Fix a problem where highlighting isn't done properly after |
| 1416 | calling either of these, and another problem where the cursor |
| 1417 | would move back too far in certain cases with do_prev_word(). |
| 1418 | (David Benbennick) |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1419 | do_toggle() |
| 1420 | - Since the search mode toggles aren't global anymore, we don't |
| 1421 | need to explicitly block them here anymore (which will end up |
| 1422 | blocking the global backup mode toggle, which is the same as |
| 1423 | the backwards search toggle). (DLR) |
| 1424 | do_wrap() |
| 1425 | - fill fixes and 'two short word wrap' bug (David Benbennick). |
| 1426 | global_init() |
| 1427 | - Call die_too_small() when fill is 0. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1428 | handle_sigwinch() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1429 | - Make sure we adjust fill when the window is resized. (David |
| 1430 | Benbennick) |
| 1431 | - Call die_too_small() when fill is 0. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1432 | help_init() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1433 | - Since the return value of snprintf() isn't well defined, use |
| 1434 | sprintf() instead. (David Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1435 | main() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1436 | - Rework to blank out filename manually before doing anything |
| 1437 | with it, instead of calling clear_filename() in two places. |
| 1438 | Make startline an int instead of a long, since it's supposed to |
| 1439 | hold a line number. (DLR) |
David Lawrence Ramsey | c596755 | 2002-06-21 03:20:06 +0000 | [diff] [blame] | 1440 | - Properly handle multiple -r settings on the command line. (Carl |
| 1441 | Drinkwater) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1442 | - Fix a bug that prevented file insertion via the Insert key |
| 1443 | from working at all when --enable-multibuffer wasn't used |
| 1444 | (oops). (DLR) |
| 1445 | - Adapt David Benbennick's fix to get fill to accept negative |
| 1446 | numbers properly in parse_rcfile() (see below) to the |
| 1447 | handlers for the -r and -T options as well, so that -r/-T 0 |
| 1448 | can be treated separately from -r/-T string. (DLR) |
Chris Allegretta | cf287c8 | 2002-07-20 13:57:41 +0000 | [diff] [blame] | 1449 | - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space. |
| 1450 | (DLR) |
Chris Allegretta | dffa207 | 2002-07-24 01:02:26 +0000 | [diff] [blame] | 1451 | usage() |
| 1452 | - List the options that are ignored for the purpose of Pico |
| 1453 | compatibility, and make some minor consistency fixes. (DLR) |
Chris Allegretta | c46337b | 2002-07-23 00:34:48 +0000 | [diff] [blame] | 1454 | - nano.h: |
| 1455 | - Fix some space/tab formatting for flags (DLR). |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1456 | - proto.h: |
| 1457 | - Remove external declaration of the global int fill, since |
| 1458 | it's now static. (DLR) |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1459 | - rcfile.c: |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1460 | parse_rcfile() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1461 | - Add David Benbennick's fix that allows fill to accept |
| 1462 | negative numbers properly. Specifically, use strtol() there |
| 1463 | instead of atoi() so that errors can be detected. Also |
| 1464 | adapted for tabsize by DLR. |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1465 | parse_next_regex(), colortoint() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1466 | - Only include if ENABLE_COLOR is defined. (DLR) |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1467 | - search.c: |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1468 | search_init() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1469 | - Since the search mode toggles aren't global anymore, rework the |
| 1470 | part of this function referencing them so that they still work. |
| 1471 | (DLR) |
| 1472 | - Remove unneeded toggles variable. (David Benbennick) |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1473 | - Fix a problem where the first character of buf was overwritten |
| 1474 | if the last search string was one third the number of columns |
| 1475 | plus one. (David Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1476 | findnextstr() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1477 | - Update the current line at current_x if we don't find a match. |
David Lawrence Ramsey | c596755 | 2002-06-21 03:20:06 +0000 | [diff] [blame] | 1478 | Also, pass current_x_find to strstrwrapper() so we know whether |
| 1479 | we're at the beginning of a string or not (see changes to |
| 1480 | strstrwrapper() below), and reset it between lines. (DLR) |
| 1481 | do_gotoline(): |
| 1482 | - Make sure placewewant is zero after we go to a line. (David |
| 1483 | Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1484 | do_gotopos() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1485 | - Simplify the sanity check to only put x within the range of the |
| 1486 | current line; don't call actual_x() anymore. (DLR) |
| 1487 | - utils.c: |
| 1488 | - Add sunder() and unsunder(). These functions convert nulls |
| 1489 | other than the terminating null in strings to newlines and |
| 1490 | back; they're used to handle null characters in files properly. |
| 1491 | (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1492 | lowercase() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1493 | - Remove, since it isn't actually used anywhere. (David |
| 1494 | Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1495 | strstrwrapper() |
| 1496 | - Set REG_NOTBOL when we're not at the beginning of a |
David Lawrence Ramsey | c596755 | 2002-06-21 03:20:06 +0000 | [diff] [blame] | 1497 | string, to avoid false positives when searching for regular |
| 1498 | expressions prefixed with ^. Make it take a new parameter, |
| 1499 | line_pos, to determine where we are in the string. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1500 | check_wildcard_match() |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1501 | - Changed variable names: retryPat -> retrypat, retryText -> |
| 1502 | retrytext. (DLR) |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1503 | - winio.c: |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1504 | actual_x_from_start() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1505 | - Overhaul to make cursor placement more like that of Pico: add |
| 1506 | sanity check for i, and then place i as close to the value of |
| 1507 | xplus column as possible. This change is most noticeable when |
| 1508 | moving down through binary files. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1509 | do_credits() |
| 1510 | - Fix for the i18ned credits so it will compile with -pedantic |
| 1511 | (DLR & Chris). |
Chris Allegretta | 079b549 | 2002-09-19 23:54:53 +0000 | [diff] [blame] | 1512 | do_help() |
| 1513 | - Add support for the handled keyboard escape sequences in the |
| 1514 | help menu, as they are needed with some terminals (e.g. xterm |
| 1515 | with TERM=ansi). (DLR) |
| 1516 | edit_refresh() |
| 1517 | - Turn on leaveok() so the cursor doesn't bounce around the |
| 1518 | screen while we're updating it (most noticeable when using |
| 1519 | color syntax over a very slow connection). |
| 1520 | do_replace_highlight() |
| 1521 | - When using regexps, make sure the highlight is the length of |
| 1522 | the search result and not the regexp string. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1523 | nanogetstr() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1524 | - After the user presses Enter at the prompt, refresh the edit |
| 1525 | window in case there's a list of possible filename matches |
| 1526 | (left over from attempted tab completion) on it. (DLR) |
Chris Allegretta | 079b549 | 2002-09-19 23:54:53 +0000 | [diff] [blame] | 1527 | statusbar() |
| 1528 | - Limit statusbar display to the number of columns less four, and |
| 1529 | don't allow it to go over its original row. (David Benbennick) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1530 | titlebar() |
David Lawrence Ramsey | c596755 | 2002-06-21 03:20:06 +0000 | [diff] [blame] | 1531 | - Tweak text spacing and printing so that the titlebar text looks |
| 1532 | better on smaller terminals. (Carl Drinkwater) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1533 | update_line() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1534 | - When marking control characters, make sure the mark moves |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1535 | forward by two characters instead of one. Rework control |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1536 | character display routine to display newlines within the line |
| 1537 | (which should never occur under normal circumstances; they will |
| 1538 | only be there if the line had nulls in it and was unsunder()ed |
| 1539 | beforehand) as ^@'s. (DLR) |
Chris Allegretta | cf287c8 | 2002-07-20 13:57:41 +0000 | [diff] [blame] | 1540 | - Fix to properly treat ASCII 128-159 as control characters. |
| 1541 | (DLR) |
Jordi Mallach | 7d40134 | 2002-07-05 23:46:31 +0000 | [diff] [blame] | 1542 | - configure.ac: |
| 1543 | - Added ms to ALL_LINGUAS (Jordi). |
| 1544 | - Merged acconfig.h in (Jordi). |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1545 | - Fixed so that --enable-debug defines DEBUG and undefines |
| 1546 | NDEBUG. (Carl Drinkwater) |
Jordi Mallach | 790d362 | 2002-06-03 12:44:05 +0000 | [diff] [blame] | 1547 | - THANKS: |
| 1548 | - Completed a bit (Jordi). |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 1549 | - Fixed David Benbennick's email address. (David Benbennick) |
| 1550 | - Typo fix. (DLR) |
Chris Allegretta | c4e3d9e | 2002-07-21 15:44:13 +0000 | [diff] [blame] | 1551 | |
Chris Allegretta | 8b75a78 | 2002-05-13 00:09:30 +0000 | [diff] [blame] | 1552 | GNU nano 1.1.9 - 05/12/2002 |
Chris Allegretta | 7162e3d | 2002-04-06 05:02:14 +0000 | [diff] [blame] | 1553 | - General: |
| 1554 | - Typos n misspellings all over the place (David Benbennick). |
| 1555 | - Allow --tiny and --multibuffer to cooperate (who the heck |
| 1556 | would want this is beyond me but ;-). Changes to |
| 1557 | configure.ac, global.c, , (David Benbennick). |
Chris Allegretta | f2387fb | 2002-04-10 02:31:20 +0000 | [diff] [blame] | 1558 | - Change to openfilestruct for multibuffer mode by DLR. |
| 1559 | New functions nano.c:make_new_opennode(), free_openfilestruct(), |
| 1560 | delete_opennode(), unlink_opennode(), splice_opennode(), |
| 1561 | new struct openfilestruct in nano.h. |
Chris Allegretta | 0e9b7aa | 2002-04-16 03:15:47 +0000 | [diff] [blame] | 1562 | - Preliminary prepend code. This may be a bad idea, but I've |
| 1563 | been wanting it for awhile now and we'll see how bad it messes |
| 1564 | everything up. Changes to files.c:do_writeout(), write_file(). |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1565 | Fixes for O_CREAT & append compatibility by David Benbennick. |
Chris Allegretta | 0547eb3 | 2002-04-22 23:52:34 +0000 | [diff] [blame] | 1566 | - Change from read() and write() to file streams by Jay Carlson. |
| 1567 | Allows OS to implement read and write ahead rather than making |
| 1568 | us do it. Hopefully merged properly. |
Chris Allegretta | dab017e | 2002-04-23 10:56:06 +0000 | [diff] [blame] | 1569 | - More cleanups with DISABLE flags, better free_shortcutage and |
| 1570 | free_toggle, and get rid of unnecessary variable decls with |
| 1571 | NANO_SMALL in shortcut_init() by David Benbennick. |
Chris Allegretta | b6c5dc2 | 2002-05-04 03:47:33 +0000 | [diff] [blame] | 1572 | - Added "syntax" command to .nanorc file, to allow multiple |
| 1573 | syntaxes. New function color.c:update_color(), calls in various |
| 1574 | files.c places, syntaxtype struct, global variables syntaxes, |
Chris Allegretta | 21c433d | 2002-05-04 04:24:29 +0000 | [diff] [blame] | 1575 | syntaxfile_regexp and synfilematches. Global flag -Y ,--syntax |
Chris Allegretta | 09900ff | 2002-05-04 04:23:30 +0000 | [diff] [blame] | 1576 | to specify the type on the command line, if there's no good |
| 1577 | filename regex to use. Global variable syntaxstr. |
Chris Allegretta | 4dc03d5 | 2002-05-11 03:04:44 +0000 | [diff] [blame] | 1578 | - Changed many strcmp()s and strcpy()s to their equivalent |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1579 | '\0' counterparts (David Lawrence Ramsey). |
| 1580 | - Many changes to allow marked cutting to work with multiple |
Chris Allegretta | 4dc03d5 | 2002-05-11 03:04:44 +0000 | [diff] [blame] | 1581 | file buffers: changes to openfilestruct type in nano.h and |
| 1582 | files.c (David Lawrence Ramsey). |
Chris Allegretta | 6232d66 | 2002-05-12 19:52:15 +0000 | [diff] [blame] | 1583 | - Changed NANO_SMALL to ENABLE_NLS for gettext disabling |
| 1584 | (David Benbennick). |
| 1585 | - Move next_key and pev_key definitions out of main() and into |
| 1586 | global.c where they belong (David Benbennick). |
Chris Allegretta | 5e76fe9 | 2002-05-12 20:54:16 +0000 | [diff] [blame] | 1587 | - color.c: |
| 1588 | update_color() |
| 1589 | - Add regfree call here to avoid memory leaks. |
Chris Allegretta | 7162e3d | 2002-04-06 05:02:14 +0000 | [diff] [blame] | 1590 | - configure.ac: |
| 1591 | - Define NDEBUG to silence asserts (David Benbennick). |
| 1592 | - files.c: |
| 1593 | get_next_filename() |
| 1594 | - Optimizations (David Benbennick). |
| 1595 | - global.c: |
| 1596 | shortcut_init() |
| 1597 | - Add missing free_shortcutage()s (David Benbennick). |
Chris Allegretta | 6232d66 | 2002-05-12 19:52:15 +0000 | [diff] [blame] | 1598 | thanks_for_all_the_fish() |
| 1599 | - Only defined when using DEBUG, makes sense (David Benbennick). |
Chris Allegretta | 7162e3d | 2002-04-06 05:02:14 +0000 | [diff] [blame] | 1600 | - nano.c: |
| 1601 | die_save_file() |
| 1602 | - Add missing free (David Benbennick). |
| 1603 | do_justify() |
| 1604 | - Optimizations (David Benbennick). |
| 1605 | do_wrap() |
| 1606 | - Complete rewrite (David Benbennick). |
Chris Allegretta | 6232d66 | 2002-05-12 19:52:15 +0000 | [diff] [blame] | 1607 | help_init() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1608 | - A little less readable, a lot shorter :-) (David Benbennick). |
Chris Allegretta | 6232d66 | 2002-05-12 19:52:15 +0000 | [diff] [blame] | 1609 | - Fix Meta-A not getting capitalized, and convert the ASCII |
| 1610 | #s to their character equivalent. |
Chris Allegretta | 7c27be4 | 2002-05-05 23:03:54 +0000 | [diff] [blame] | 1611 | main() |
| 1612 | - Changed charalloc(), strcpy()s to mallocstrcpy()s. |
Chris Allegretta | 66f373f | 2002-04-05 23:33:09 +0000 | [diff] [blame] | 1613 | - nano.h: |
| 1614 | - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol) |
| 1615 | (David Benbennick). |
Chris Allegretta | 8902eba | 2002-03-30 18:02:54 +0000 | [diff] [blame] | 1616 | - nano.spec.in: |
| 1617 | - Don't put Chris' name as the Packager in the distribution |
| 1618 | by default (Im an idiot). |
Chris Allegretta | 4dc03d5 | 2002-05-11 03:04:44 +0000 | [diff] [blame] | 1619 | - Fixed Source line (David Lawrence Ramsey). |
Jordi Mallach | 42c6405 | 2002-04-30 02:33:14 +0000 | [diff] [blame] | 1620 | - nano.1: |
| 1621 | - Changed references to Debian GNU/Linux to Debian GNU (Jordi). |
Chris Allegretta | 4dc03d5 | 2002-05-11 03:04:44 +0000 | [diff] [blame] | 1622 | - nano.1.html: |
| 1623 | - Updated for -Y option (David Lawrence Ramsey). |
Chris Allegretta | 6232d66 | 2002-05-12 19:52:15 +0000 | [diff] [blame] | 1624 | - rcfile.c: |
Chris Allegretta | 7c27be4 | 2002-05-05 23:03:54 +0000 | [diff] [blame] | 1625 | - Made some rc file errors less fatal. |
Chris Allegretta | 4dc03d5 | 2002-05-11 03:04:44 +0000 | [diff] [blame] | 1626 | - Added in my patch for getpwent instead of relying on $HOME |
| 1627 | (David Lawrence Ramsey). |
Chris Allegretta | 7c27be4 | 2002-05-05 23:03:54 +0000 | [diff] [blame] | 1628 | - winio.c: |
| 1629 | edit_add() |
David Lawrence Ramsey | f21cd10 | 2002-06-13 00:40:19 +0000 | [diff] [blame] | 1630 | - Changed some syntax highlight computations for the sake of COLS. |
Chris Allegretta | 3674c1d | 2002-05-12 20:43:49 +0000 | [diff] [blame] | 1631 | - Add in the necessary regfree() calls to stop nano from leaking |
| 1632 | memory like a sieve when using color syntax highlighting :-) |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1633 | bottombars(), onekey() |
Chris Allegretta | 6232d66 | 2002-05-12 19:52:15 +0000 | [diff] [blame] | 1634 | - Cleanups (David Benbennick). |
Jordi Mallach | 0ab011f | 2002-04-05 11:25:00 +0000 | [diff] [blame] | 1635 | - po/gl.po: |
| 1636 | - Galician translation updates (Jacobo Tarrio). |
| 1637 | - po/de.po: |
| 1638 | - German translation updates (Michael Piefel). |
| 1639 | - po/fr.po: |
| 1640 | - French translation updates (Jean-Philippe Guérard). |
| 1641 | - po/ca.po, po/es.po: |
| 1642 | - Catalan and Spanish translation updates (Jordi). |
Jordi Mallach | b18bc69 | 2002-04-10 16:26:17 +0000 | [diff] [blame] | 1643 | - po/sv.po: |
| 1644 | - Swedish translation updates (Christian Rose). |
Jordi Mallach | d301e10 | 2002-04-13 14:46:26 +0000 | [diff] [blame] | 1645 | - po/nl.po: |
| 1646 | - Dutch translation updates (Guus Sliepen). |
Jordi Mallach | 7f80e66 | 2002-04-13 16:31:03 +0000 | [diff] [blame] | 1647 | - po/it.po: |
| 1648 | - Italian translation updates (Marco Colombo). |
Jordi Mallach | 0417a7b | 2002-04-19 21:59:35 +0000 | [diff] [blame] | 1649 | - po/ru.po, po/uk.po: |
| 1650 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
Jordi Mallach | 934b76b | 2002-04-25 22:24:48 +0000 | [diff] [blame] | 1651 | - po/id.po: |
| 1652 | - Indonesian translation updates (Tedi Heriyanto). |
Jordi Mallach | ca76fa9 | 2002-05-05 15:04:26 +0000 | [diff] [blame] | 1653 | - po/sv.po: |
| 1654 | - Swedish translation updates (Christian Rose). |
Chris Allegretta | 06d6237 | 2002-03-30 16:51:38 +0000 | [diff] [blame] | 1655 | GNU nano 1.1.8 - 03/30/2002 |
Chris Allegretta | bef1297 | 2002-03-06 03:30:40 +0000 | [diff] [blame] | 1656 | - General |
| 1657 | - Type misalignments and mem leaks in renumber_all, do_justify |
| 1658 | and do_spell (Rocco & Steven Kneizys). |
Chris Allegretta | bb88ece | 2002-03-25 13:40:39 +0000 | [diff] [blame] | 1659 | - New "External Command" code, originally by Dwayne Rightler, |
Chris Allegretta | 77777d4 | 2002-03-29 16:31:29 +0000 | [diff] [blame] | 1660 | various fixes and changes by Chris, Rocco and David Benbennick. |
| 1661 | New function nano.c:open_pipe() and signal handler cancel_fork(), |
| 1662 | changes to do_insertfile(), new list extcmd_list, cmd is |
| 1663 | ^X after ^R. |
Chris Allegretta | 3533a34 | 2002-03-24 23:19:32 +0000 | [diff] [blame] | 1664 | - Added separate regex variable (color_regex and colormatches) |
| 1665 | so that color syntax and regex search/replace can coexist. |
Chris Allegretta | 06d6237 | 2002-03-30 16:51:38 +0000 | [diff] [blame] | 1666 | - Added new nano.spec file from Brett <brett@bad-sports.com>, |
| 1667 | added because maintaining the spec file is getting to be a large |
| 1668 | hassle ;) |
Chris Allegretta | 564535a | 2002-03-06 15:32:17 +0000 | [diff] [blame] | 1669 | - files.c: |
| 1670 | check_writable_directory() |
| 1671 | - Stat full_path, not path (Steven Kneizys). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 1672 | open_pipe() |
| 1673 | - I18nize the pipe error (DLR). |
Chris Allegretta | e373909 | 2002-03-29 15:06:05 +0000 | [diff] [blame] | 1674 | do_insertfile() |
| 1675 | - Handle cancel from ExtCmd properly (David Benbennick). |
Chris Allegretta | 52c5a6e | 2002-03-21 05:07:28 +0000 | [diff] [blame] | 1676 | read_file() |
| 1677 | - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70. |
Chris Allegretta | f6cba64 | 2002-03-26 13:05:54 +0000 | [diff] [blame] | 1678 | - Reverse tests to stop segfault on editing a new file of 0 |
| 1679 | lines (David Benbennick) |
| 1680 | - Change input var to one char instead of array (David Benbennick). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 1681 | - Move NO_CONVERT check up so chars get read in properly (DLR). |
Chris Allegretta | 40ecbad | 2002-03-06 15:27:44 +0000 | [diff] [blame] | 1682 | - nano.c: |
Chris Allegretta | cf1d812 | 2002-03-21 19:53:36 +0000 | [diff] [blame] | 1683 | do_justify() |
| 1684 | - More fixes for indented justify (David Benbennick). |
Chris Allegretta | f21f3fc | 2002-03-25 03:26:27 +0000 | [diff] [blame] | 1685 | do_int_speller() |
| 1686 | - Fix zombie processes and spelling buffer issues (Rocco Corsi). |
Chris Allegretta | 5902f96 | 2002-03-07 12:40:39 +0000 | [diff] [blame] | 1687 | help_init() |
| 1688 | - Capitalize Meta altkeys. |
Chris Allegretta | b479c89 | 2002-03-09 20:03:10 +0000 | [diff] [blame] | 1689 | - Various fixes and string changes. |
Chris Allegretta | 40ecbad | 2002-03-06 15:27:44 +0000 | [diff] [blame] | 1690 | main() |
| 1691 | - Put NANO_SMALL defines around toggle pointer (noticed by Jordi); |
Chris Allegretta | 97e6fe6 | 2002-03-09 17:38:47 +0000 | [diff] [blame] | 1692 | usage() |
Chris Allegretta | 3fc5d57 | 2002-03-09 18:51:58 +0000 | [diff] [blame] | 1693 | - Rewritten to encompass systems with and without GETOPT_LONG. |
| 1694 | New function print1opt does most of the dirty work, stops |
| 1695 | duplication of effort and eases translator's jobs. Also |
| 1696 | breaks all the current translations ;-) |
Chris Allegretta | 45329a1 | 2002-03-10 01:22:21 +0000 | [diff] [blame] | 1697 | - proto.h: |
| 1698 | - Missing externs (Rocco). |
Chris Allegretta | 1596d38 | 2002-03-07 00:46:17 +0000 | [diff] [blame] | 1699 | - rcfile.c: |
Chris Allegretta | 78f0fc6 | 2002-03-29 19:41:57 +0000 | [diff] [blame] | 1700 | do_rcfile() |
| 1701 | - Reset lineno between system and local .nanorc file. |
| 1702 | - Fix errno->strerror(errno) mismatch. |
Chris Allegretta | e8e1034 | 2002-03-07 00:47:22 +0000 | [diff] [blame] | 1703 | parse_rcfile() |
| 1704 | - Don't use i for both for loop and atoi(), fixes lots of |
Jordi Mallach | 4951c66 | 2002-03-07 14:12:53 +0000 | [diff] [blame] | 1705 | potential crashes, 1st reported by Jean-Philippe Guérard. |
Chris Allegretta | 78f0fc6 | 2002-03-29 19:41:57 +0000 | [diff] [blame] | 1706 | rcfile_error() |
| 1707 | - Don't print out the file name if we haven't opened the file |
| 1708 | yet (lineno == 0). |
Chris Allegretta | 45329a1 | 2002-03-10 01:22:21 +0000 | [diff] [blame] | 1709 | - search.c: |
| 1710 | search_init() |
| 1711 | - Fix a missing free (Rocco). |
Chris Allegretta | d1c2c1c | 2002-03-26 17:58:42 +0000 | [diff] [blame] | 1712 | do_gotoline() |
| 1713 | - Set placewewant if we actually move to a different line. |
Chris Allegretta | 40ecbad | 2002-03-06 15:27:44 +0000 | [diff] [blame] | 1714 | - utils.c: |
Chris Allegretta | dce44ab | 2002-03-16 01:03:41 +0000 | [diff] [blame] | 1715 | stristr() |
| 1716 | - Defined regardless of NANO_SMALL (noticed by Jordi). |
Chris Allegretta | 77777d4 | 2002-03-29 16:31:29 +0000 | [diff] [blame] | 1717 | nperror() |
| 1718 | - New wrapper for perror (David Benbennick). |
Chris Allegretta | dce44ab | 2002-03-16 01:03:41 +0000 | [diff] [blame] | 1719 | - winio.c: |
| 1720 | do_credits() |
| 1721 | - Add Thomas Dickey. |
Chris Allegretta | f3a07b2 | 2002-03-29 15:15:38 +0000 | [diff] [blame] | 1722 | do_cursorpos() |
| 1723 | - Make col numbering start from 1 (suggested by Andrew Ho). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 1724 | update_line(), xpt() |
| 1725 | - Add check for 127 (DLR). |
Jordi Mallach | 4951c66 | 2002-03-07 14:12:53 +0000 | [diff] [blame] | 1726 | - po/sv.po: |
| 1727 | - Swedish translation updates (Christian Rose). |
| 1728 | - po/de.po: |
| 1729 | - German translation updates (Michael Piefel). |
Jordi Mallach | 4e803aa | 2002-03-09 18:05:53 +0000 | [diff] [blame] | 1730 | - po/id.po: |
| 1731 | - Indonesian translation updates (Tedi Heriyanto). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 1732 | - po/it.po: |
Chris Allegretta | 06d6237 | 2002-03-30 16:51:38 +0000 | [diff] [blame] | 1733 | - Serious typo. |
Jordi Mallach | 4e803aa | 2002-03-09 18:05:53 +0000 | [diff] [blame] | 1734 | - po/ca.po, po/es.po: |
| 1735 | - Catalan and Spanish translation updates (Jordi). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 1736 | - Typo (DLR). |
Jordi Mallach | 558b5d8 | 2002-03-11 13:23:33 +0000 | [diff] [blame] | 1737 | - po/fr.po: |
| 1738 | - French translation updates (Jean-Philippe Guérard). |
Jordi Mallach | 5477e10 | 2002-03-12 16:15:50 +0000 | [diff] [blame] | 1739 | - po/gl.po: |
| 1740 | - Galician translation updates (Jacobo Tarrio). |
Jordi Mallach | 057c3c4 | 2002-03-14 11:00:56 +0000 | [diff] [blame] | 1741 | - po/uk.po, po/ru.po: |
| 1742 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
Jordi Mallach | b83e61a | 2002-03-15 15:15:13 +0000 | [diff] [blame] | 1743 | - po/pl.po: |
| 1744 | - Polish translation updates (Wojciech Kotwica). |
Jordi Mallach | 7fa082d | 2002-03-17 00:35:41 +0000 | [diff] [blame] | 1745 | - po/fr.po: |
| 1746 | - French translation updates (Jean-Philippe Guérard). |
Jordi Mallach | 7afc6d9 | 2002-03-27 16:34:46 +0000 | [diff] [blame] | 1747 | - po/it.po: |
| 1748 | - Italian translation updates (Marco Colombo). |
Jordi Mallach | 465a0ff | 2002-03-29 00:46:05 +0000 | [diff] [blame] | 1749 | - po/da.po: |
| 1750 | - Danish translation updates (Keld Simonsen). |
Chris Allegretta | bef1297 | 2002-03-06 03:30:40 +0000 | [diff] [blame] | 1751 | |
Chris Allegretta | 97489d2 | 2002-03-05 23:47:44 +0000 | [diff] [blame] | 1752 | GNU nano 1.1.7 - 03/05/2002 |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1753 | - General |
| 1754 | - malloc->calloc, etc cleanups (DLR). |
| 1755 | - New option, noconvert (-N, --noconvert) to completely stop |
| 1756 | the translation of files from DOS or Mac format (DLR). |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1757 | - New functions check_writable_directory() and safe_tempnam() |
Chris Allegretta | bc72e36 | 2002-02-16 20:03:44 +0000 | [diff] [blame] | 1758 | to get around the tempnam warning. More improvements (DLR) |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 1759 | Still needs testing. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1760 | - Added DOS and Mac format options to write file routine. |
| 1761 | Changes to shortcut_init() and do_writeout(). |
| 1762 | - Removed stupid static definitions of toggles and shortcut |
| 1763 | lists. Many changes to shortcut_init(), toggle_init(), |
| 1764 | statusq(), nanogetstr(), main(), and many other places. |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 1765 | - Multibuffer mode now allows multiple empty filenames. |
| 1766 | Changes to add_open_files(), removed open_file_dup_search(), |
| 1767 | open_file_dup_fix(), etc (DLR). |
| 1768 | - New code to handle multiple .save files. Changes to |
| 1769 | die_save_file(), new function files.c:get_next_filename() |
| 1770 | and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris) |
Chris Allegretta | f5de33a | 2002-02-27 04:14:16 +0000 | [diff] [blame] | 1771 | - Many malloc() cleanups and files.c tweaks by Steven Kneizys, |
| 1772 | new functions utils.c:free_shortcutage() (got to love that |
| 1773 | name!) & free_toggles(), and big cleanup program |
| 1774 | thanks_for_all_the_fish() (originally |
| 1775 | thanks_for_the_memories()). Mods to shortcut_init() by Chris. |
Chris Allegretta | e4f940d | 2002-03-03 22:36:36 +0000 | [diff] [blame] | 1776 | - Preliminary quoting support for justify. New arg -Q, --quotestr, |
| 1777 | changes to do_justify(), global variable quotestr(). |
Chris Allegretta | 8dbfb5c | 2002-01-28 15:56:15 +0000 | [diff] [blame] | 1778 | - Makefile.am: |
David Lawrence Ramsey | 0084eaa | 2002-11-04 16:05:42 +0000 | [diff] [blame] | 1779 | - Add SYSCONFDIR to DEFS, so we can have an $SYSCONFDIR/nanorc. |
Chris Allegretta | 40b85e7 | 2002-02-09 21:56:09 +0000 | [diff] [blame] | 1780 | - Change localedir line to 1.0's version. |
Jordi Mallach | 3c5653d | 2002-02-23 18:23:43 +0000 | [diff] [blame] | 1781 | - Moved m4/ stuff to its own m4/Makefile.am. |
Jordi Mallach | 87435d9 | 2002-03-05 17:58:34 +0000 | [diff] [blame] | 1782 | - m4/aclocal_inc.m4: |
| 1783 | - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for |
| 1784 | macros (Gergely Nagy). |
Jordi Mallach | 3c5653d | 2002-02-23 18:23:43 +0000 | [diff] [blame] | 1785 | - configure.in: |
| 1786 | - Renamed to configure.ac. |
| 1787 | - configure.ac: |
| 1788 | - Moved to autoconf 2.52 (Jeff Bailey). |
Jordi Mallach | 87435d9 | 2002-03-05 17:58:34 +0000 | [diff] [blame] | 1789 | - Added call to AM_ACLOCAL_INCLUDE. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1790 | - files.c: |
| 1791 | read_byte() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1792 | - Added check for control characters (indicative of a binary |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 1793 | file), set NO_CONVERT if found (fixes by DLR). |
Chris Allegretta | f5de33a | 2002-02-27 04:14:16 +0000 | [diff] [blame] | 1794 | do_insertfile() |
| 1795 | - Added support for -o in prompt (Steven Kneizys). |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1796 | - global.c: |
| 1797 | - Move openprev and opennext functions to shortcuts, they really |
| 1798 | aren't toggles (DLR). |
Chris Allegretta | f27c697 | 2002-02-12 01:57:24 +0000 | [diff] [blame] | 1799 | - rcfile.c: |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1800 | parse_next_regex() |
Chris Allegretta | 3d8e759 | 2002-02-02 07:13:02 +0000 | [diff] [blame] | 1801 | - Allow " symbol to be in regex without leading \ by checking |
| 1802 | for *ptr+1 is not the end of the regex. |
Chris Allegretta | ff8a68c | 2002-02-16 20:34:57 +0000 | [diff] [blame] | 1803 | do_rcfile() |
| 1804 | - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler). |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 1805 | - nano.1: |
| 1806 | - Added Noconvert option to man page (DLR). |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1807 | - nano.c: |
Chris Allegretta | d4fa0d3 | 2002-03-05 19:55:55 +0000 | [diff] [blame] | 1808 | justify_format(), do_justify() |
| 1809 | - Various fixes for starting blank spaces, spaces after |
| 1810 | punctuation, & segfault with quoting strings (David Benbennick). |
Chris Allegretta | 46c1b9e | 2002-03-05 19:58:45 +0000 | [diff] [blame] | 1811 | do_justify() |
| 1812 | - Don't continue to justify string if it's indented more |
| 1813 | (quoting wise) than the beginning of the justification. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1814 | help_init() |
| 1815 | - Added message re: having multiple blank buffers (DLR). |
Chris Allegretta | 9caa193 | 2002-02-15 20:08:05 +0000 | [diff] [blame] | 1816 | main() |
| 1817 | - Add 407 as equiv of 26, this seems to be sent when using |
| 1818 | ^Z in linux console with keypad() enabled. |
Chris Allegretta | bc72e36 | 2002-02-16 20:03:44 +0000 | [diff] [blame] | 1819 | - rcfile.c: |
| 1820 | - Get rid of unneeded relativechars from rcopts (DLR). |
| 1821 | - search.c |
| 1822 | do_replace(), findnextstr() |
| 1823 | - Fixes for various search issues (Ken Tyler) |
Chris Allegretta | f27c697 | 2002-02-12 01:57:24 +0000 | [diff] [blame] | 1824 | - winio.c: |
| 1825 | do_cursorpos() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1826 | - Rewritten to show col place as well as character place, without |
Chris Allegretta | f27c697 | 2002-02-12 01:57:24 +0000 | [diff] [blame] | 1827 | needing an entirely separate flag. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 1828 | bottombars(), onekey() |
| 1829 | - Make bottom list dynamic with screen size (Guus Sliepen & Chris). |
Chris Allegretta | bc72e36 | 2002-02-16 20:03:44 +0000 | [diff] [blame] | 1830 | - More cleanups w/width of shortcut. |
Chris Allegretta | 8dbfb5c | 2002-01-28 15:56:15 +0000 | [diff] [blame] | 1831 | - utils.c: |
Chris Allegretta | 99ed9dc | 2002-02-28 00:57:18 +0000 | [diff] [blame] | 1832 | strcasestr(),revstrcasestr() |
| 1833 | - Renamed to stristr and revstristr since strcasestr has not |
| 1834 | been confirmed to be detected properly on various Linux |
| 1835 | systems. |
Chris Allegretta | d4fa0d3 | 2002-03-05 19:55:55 +0000 | [diff] [blame] | 1836 | strstrwrapper() |
| 1837 | - NANO_SMALL test was backwards (Ken Tyler). |
| 1838 | - winio.c: |
| 1839 | strlenpt() |
| 1840 | - Changed main function to strnlenpt() for new justify changes, |
| 1841 | original function now just a stub. |
Chris Allegretta | 3c597d0 | 2002-01-26 03:42:14 +0000 | [diff] [blame] | 1842 | - nanorc.sample |
| 1843 | - Mention unset in the sample nanorc. |
Jordi Mallach | 83ffefb | 2002-01-25 21:00:18 +0000 | [diff] [blame] | 1844 | - po/ca.po, po/es.po: |
| 1845 | - Catalan and Spanish translation updates (Jordi). |
Jordi Mallach | 9c34a16 | 2002-01-26 00:46:47 +0000 | [diff] [blame] | 1846 | - po/sv.po: |
| 1847 | - Swedish translation updates (Christian Rose). |
| 1848 | - po/fr.po: |
| 1849 | - French translation updates (Jean-Philippe Guérard). |
Jordi Mallach | 8636f7b | 2002-01-26 19:23:37 +0000 | [diff] [blame] | 1850 | - po/nn.po: |
| 1851 | - Norwegian nynorsk translation updates (Kjetil Torgrim Homme). |
| 1852 | - po/de.po: |
| 1853 | - German translation updates (Michael Piefel). |
Chris Allegretta | 8dbfb5c | 2002-01-28 15:56:15 +0000 | [diff] [blame] | 1854 | - po/it.po: |
| 1855 | - Italian translation updates (Marco Colombo). |
Jordi Mallach | 94def06 | 2002-02-06 12:14:25 +0000 | [diff] [blame] | 1856 | - po/cs.po: |
| 1857 | - Partial Czech translation updates (Vaclav Haisman). |
Jordi Mallach | 8bfd311 | 2002-02-06 20:53:04 +0000 | [diff] [blame] | 1858 | - po/hu.po: |
| 1859 | - Hungarian translation updates, or to be precise, rewrite |
| 1860 | (Gergely Nagy). |
Jordi Mallach | b3b28c1 | 2002-02-07 13:51:00 +0000 | [diff] [blame] | 1861 | - po/uk.po, po/ru.po: |
Jordi Mallach | 507c361 | 2002-02-14 18:57:23 +0000 | [diff] [blame] | 1862 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
| 1863 | - po/da.po: |
| 1864 | - Danish translation updates (Keld Simonsen). |
Jordi Mallach | e46d43d | 2002-02-15 17:13:11 +0000 | [diff] [blame] | 1865 | - po/nb.po: |
| 1866 | - Norwegian bokmĂĄl translation updates (Stig E Sandoe). |
Jordi Mallach | 62d2171 | 2002-02-20 16:21:27 +0000 | [diff] [blame] | 1867 | - po/nl.po: |
| 1868 | - Dutch translation updates (Guus Sliepen). |
Jordi Mallach | a3322fd | 2002-03-05 11:23:17 +0000 | [diff] [blame] | 1869 | - po/pl.po: |
| 1870 | - Polish translation updates (Wojciech Kotwica). |
Jordi Mallach | 83ffefb | 2002-01-25 21:00:18 +0000 | [diff] [blame] | 1871 | |
Chris Allegretta | 491029e | 2002-01-25 17:02:32 +0000 | [diff] [blame] | 1872 | nano-1.1.6 - 01/25/2002 |
Chris Allegretta | 044d1b1 | 2002-01-08 00:33:32 +0000 | [diff] [blame] | 1873 | - General |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1874 | - Add Meta-A as alternate keystroke for ^^ for people with |
Chris Allegretta | 044d1b1 | 2002-01-08 00:33:32 +0000 | [diff] [blame] | 1875 | non-US keyboards. |
Chris Allegretta | 967a1e2 | 2002-01-10 00:50:38 +0000 | [diff] [blame] | 1876 | - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in |
| 1877 | browser. |
Chris Allegretta | 1bc0c7e | 2002-01-08 15:00:24 +0000 | [diff] [blame] | 1878 | - Better partial word checking code. New function |
| 1879 | search.c:is_whole_word(), changes to findnextstr(), |
| 1880 | and nano.c:do_int_spell_fix() (Rocco Corsi). |
Chris Allegretta | 6c1e661 | 2002-01-19 16:52:34 +0000 | [diff] [blame] | 1881 | - Added multiple-line regex support. Format in .nanorc is |
| 1882 | start="regex" end="regex". Cleaned up nanorc:parse_colors(), |
| 1883 | added parse_next_regex(), changes to edit_add in winio.c(), |
| 1884 | changes to colortype, cleaning up some old cruft. |
Chris Allegretta | 15b23f4 | 2002-01-19 19:15:18 +0000 | [diff] [blame] | 1885 | - Upgrade to gettext 0.10.40, probably broke everything again :) |
Chris Allegretta | 24e48d8 | 2002-01-23 01:06:20 +0000 | [diff] [blame] | 1886 | - Upgraded to and then downgraded from automake 1.5, as there |
| 1887 | are severe security implications. |
Chris Allegretta | ea250e8 | 2002-01-16 01:09:11 +0000 | [diff] [blame] | 1888 | - color.c: |
| 1889 | do_colorinit() |
| 1890 | - Moved some comments and braces around so color can work |
| 1891 | w/slang (DLR). |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 1892 | - global.c: |
| 1893 | shorcut_init() |
| 1894 | - Replace hard coded ALT_G and ALT_H values in the replace |
| 1895 | and goto shortcuts with their macro counterparts NANO_ALT_*_KEY. |
Jordi Mallach | 345a846 | 2002-01-07 11:35:16 +0000 | [diff] [blame] | 1896 | - nano.c: |
| 1897 | usage() |
| 1898 | - Remove extra \n in --keypad description (Jordi). |
Chris Allegretta | f7dee92 | 2002-01-07 16:43:25 +0000 | [diff] [blame] | 1899 | main() |
| 1900 | - Check that alt value is an alpha char before comparing to |
| 1901 | val - 32, fixes Alt-R calling doprev instead of replace. |
Chris Allegretta | b2cd10d | 2002-01-20 00:54:42 +0000 | [diff] [blame] | 1902 | do_char() |
| 1903 | - Run edit_refresh() if ENABLE_COLOR is defined so adding |
| 1904 | multi-liners will update (e.g. /* in C). |
Chris Allegretta | 23b74b2 | 2002-01-21 20:32:22 +0000 | [diff] [blame] | 1905 | do_int_spell_fix() |
| 1906 | - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi). |
Chris Allegretta | 7b0667f | 2002-01-10 12:44:21 +0000 | [diff] [blame] | 1907 | do_suspend() |
| 1908 | - Call tcsetattr() to restore the old terminal settings, so |
Chris Allegretta | 5bbce6a | 2002-01-10 12:48:16 +0000 | [diff] [blame] | 1909 | tcsh can use ^C after suspend for example (fixes BUG #68). |
Chris Allegretta | 438f713 | 2002-01-16 00:54:47 +0000 | [diff] [blame] | 1910 | do_wrap() |
| 1911 | - Move "right" increment to part where new line is created, |
| 1912 | should change (fix?) some wrapping problems with autoindent. |
Jordi Mallach | 5285ca9 | 2002-01-17 12:40:33 +0000 | [diff] [blame] | 1913 | version() |
| 1914 | - Show --enable-multibuffer independently of --enable-extra being |
| 1915 | compiled in (Jordi). |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 1916 | - nano.h: |
| 1917 | - Changed color struct slightly, because of previous issue with |
| 1918 | applying color painting in order, the "str" portion was |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1919 | useless. Renamed "val" in colortype to "start", added "end" |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 1920 | for multi-line color strings. |
| 1921 | - rcfile.c: |
| 1922 | General |
| 1923 | - Took silly variables being passed everywhere like lineno and |
| 1924 | filename and made them static variables. |
Chris Allegretta | 6c1e661 | 2002-01-19 16:52:34 +0000 | [diff] [blame] | 1925 | - Re-indented. |
Chris Allegretta | 34f8098 | 2002-01-22 20:09:20 +0000 | [diff] [blame] | 1926 | - Added stdarg.h to includes. |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 1927 | rcfile_error() |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1928 | - Now automatically prepends the "error in line blah at foo" |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 1929 | message to error messages. |
| 1930 | parse_colors() |
| 1931 | - Added section for computing "end" section. |
| 1932 | parse_next_word() |
| 1933 | - Added support for "\ ", in word parsing. |
Chris Allegretta | e29697d | 2002-01-14 03:31:10 +0000 | [diff] [blame] | 1934 | - search.c: |
Chris Allegretta | 1c2fddc | 2002-01-21 20:40:14 +0000 | [diff] [blame] | 1935 | do_search() |
| 1936 | - Check position of cursor and return value of findnextstr and |
| 1937 | tell user if search string only occurs once (Rocco & Chris). |
Chris Allegretta | e29697d | 2002-01-14 03:31:10 +0000 | [diff] [blame] | 1938 | findnextstr() |
| 1939 | - Fix off by one in check for wrap around (Rocco Corsi). |
Chris Allegretta | 3d0739c | 2002-01-07 14:41:32 +0000 | [diff] [blame] | 1940 | - winio.c: |
| 1941 | edit_refresh() |
| 1942 | - Rename lines to nlines to fix AIX breakage (reported by |
| 1943 | Dennis Cranston, re-reported by arh14@cornell.edu). |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 1944 | edit_add() |
| 1945 | - Refuse to honor regex matches of 0 characters when applying |
| 1946 | color highlighting, and say so on the statusbar. Otherwise |
| 1947 | we go into an infinite loop, the error message should clue |
| 1948 | users into the fact that their regex is doing something bad. |
Jordi Mallach | d6481e4 | 2002-01-17 12:14:23 +0000 | [diff] [blame] | 1949 | - THANKS: |
| 1950 | - Oops, correct Eivind's entry. His translation was Norwegian nynorsk, |
Jordi Mallach | 83d5ced | 2002-01-17 12:06:49 +0000 | [diff] [blame] | 1951 | not bokmĂĄl as we claimed (Jordi). |
Chris Allegretta | 9963b0e | 2002-01-19 19:35:12 +0000 | [diff] [blame] | 1952 | - .cvsignore |
| 1953 | - Added config.guess config.sub install-sh missing & mkinstalldirs |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 1954 | - po/ca.po, po/es.po: |
Jordi Mallach | e36a152 | 2002-01-07 15:12:48 +0000 | [diff] [blame] | 1955 | - Catalan and Spanish translation updates (Jordi). |
| 1956 | - po/sv.po: |
| 1957 | - Swedish translation update (Christian Rose). |
Jordi Mallach | d39698f | 2002-01-07 15:16:26 +0000 | [diff] [blame] | 1958 | - po/de.po: |
| 1959 | - German translation update (Michael Piefel). |
Jordi Mallach | bf1a1e8 | 2002-01-08 14:07:39 +0000 | [diff] [blame] | 1960 | - po/fr.po: |
| 1961 | - French translation update (Jean-Philippe Guérard). |
| 1962 | - po/ru.po, po/uk.po: |
| 1963 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
Jordi Mallach | 83d5ced | 2002-01-17 12:06:49 +0000 | [diff] [blame] | 1964 | - po/no.po: |
| 1965 | - Moved to po/nn.po, which is the correct name for Norwegian nynorsk. |
| 1966 | - po/nn.po: |
| 1967 | - Norwegian nynorsk translation updates (Kjetil Torgrim Homme). |
| 1968 | - po/nb.po: |
| 1969 | - New Norwegian bokmĂĄl translation (Stig E Sandoe <stig@ii.uib.no>). |
Jordi Mallach | 3a23a55 | 2002-01-18 23:04:16 +0000 | [diff] [blame] | 1970 | - po/da.po: |
| 1971 | - Danish translation update (Keld Simonsen). |
Chris Allegretta | d175193 | 2002-01-05 20:01:53 +0000 | [diff] [blame] | 1972 | |
Chris Allegretta | 110927b | 2002-01-05 19:49:06 +0000 | [diff] [blame] | 1973 | nano-1.1.5 - 01/05/2002 |
Chris Allegretta | 32da456 | 2002-01-02 15:12:21 +0000 | [diff] [blame] | 1974 | - General |
| 1975 | - Better integration of View mode (-v) and multibuffer. |
| 1976 | Fixes to new_file(), do_insertfile_void(), shortcut_init() |
| 1977 | (David Lawrence Ramsey). |
Chris Allegretta | 48bd378 | 2002-01-03 21:26:34 +0000 | [diff] [blame] | 1978 | - The keypad handling has changed (again). We now use |
| 1979 | the keypad() function by default. New flag -K, --keypad |
| 1980 | allows the old behavior for those using the keypad arrow keys |
| 1981 | and rxvt-based terminals. |
Jordi Mallach | 8ae5789 | 2002-01-04 17:57:40 +0000 | [diff] [blame] | 1982 | - Updated copyright notices to 2002 (Jordi). |
Chris Allegretta | 0bb70dc | 2001-12-17 04:34:23 +0000 | [diff] [blame] | 1983 | - nano.c: |
Chris Allegretta | 32da456 | 2002-01-02 15:12:21 +0000 | [diff] [blame] | 1984 | die() |
| 1985 | - Only save files that were modified (David Lawrence Ramsey). |
Chris Allegretta | 0bb70dc | 2001-12-17 04:34:23 +0000 | [diff] [blame] | 1986 | do_cont() |
| 1987 | - Run signal_init() after doupdate() so ^Y wont suddenly |
| 1988 | start suspending after returning from ^Z suspend in Hurd. |
| 1989 | signal_init() |
| 1990 | - Unconditionally disable VDSUSP if it exists, stops ^Y |
| 1991 | suspending nano on the Hurd. |
Jordi Mallach | 11f39e7 | 2001-12-25 19:17:32 +0000 | [diff] [blame] | 1992 | help_init() |
Chris Allegretta | 64dd95d | 2001-12-27 20:53:54 +0000 | [diff] [blame] | 1993 | - Typo fixes in help strings (Jordi). |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 1994 | - New variable helplen needed cause currslen is not always |
Chris Allegretta | 13fd44b | 2002-01-02 13:59:11 +0000 | [diff] [blame] | 1995 | the length we want (bug found by David Lawrence Ramsey). |
Chris Allegretta | 180a569 | 2002-01-02 14:30:33 +0000 | [diff] [blame] | 1996 | - Typo in file switch string (found by David Lawrence Ramsey). |
| 1997 | main() |
| 1998 | - Handle Alt prev/next file keys (,.), as well as normal ones (<>). |
Chris Allegretta | 32da456 | 2002-01-02 15:12:21 +0000 | [diff] [blame] | 1999 | - Handle OS-specific insert keys by jump to do_insertkey (David |
| 2000 | Lawrence Ramsey). |
Chris Allegretta | 64dd95d | 2001-12-27 20:53:54 +0000 | [diff] [blame] | 2001 | - files.c: |
| 2002 | read_file() |
| 2003 | - Make conversion message less confusing (suggested by Jordi). |
Chris Allegretta | 13fd44b | 2002-01-02 13:59:11 +0000 | [diff] [blame] | 2004 | - rcfile.c: |
| 2005 | parse_next_word() |
| 2006 | - Get rid of ptr == \n check to abort, screws up option |
| 2007 | parsing (bug found by David Lawrence Ramsey) |
Chris Allegretta | 52db7a2 | 2001-12-17 23:39:36 +0000 | [diff] [blame] | 2008 | - winio.c: |
| 2009 | update_line() |
Chris Allegretta | 3c57e50 | 2001-12-19 16:20:43 +0000 | [diff] [blame] | 2010 | - set realdata check to >= 1 && <= 31, lack of > 0 check screwed |
| 2011 | high ascii characters. |
Jordi Mallach | 9335f91 | 2001-12-23 00:03:18 +0000 | [diff] [blame] | 2012 | titlebar() |
| 2013 | - gettextized a pair of strings. |
Chris Allegretta | e5b9eac | 2002-01-05 01:52:02 +0000 | [diff] [blame] | 2014 | bottombars() |
| 2015 | - Get rid of that annoying reversed line when color is on! :) |
Chris Allegretta | 1bf8f5e | 2002-01-05 03:30:10 +0000 | [diff] [blame] | 2016 | edit_add() |
| 2017 | - Little fixes to let color highlights not bleed onto the next line. |
Chris Allegretta | a16e4e9 | 2002-01-05 18:59:54 +0000 | [diff] [blame] | 2018 | statusq() |
| 2019 | - Initialize "list". |
Chris Allegretta | cf68071 | 2001-12-18 14:59:20 +0000 | [diff] [blame] | 2020 | - m4/gettext.m4: |
| 2021 | - Back down to 1.1.3 version. |
Jordi Mallach | cf9f783 | 2001-12-26 12:33:01 +0000 | [diff] [blame] | 2022 | - faq.html: |
| 2023 | - Various link updates and other fixes (Aaron S. Hawley). |
| 2024 | - Typo fixes (David Lawrence Ramsey). |
Chris Allegretta | fae0dce | 2002-01-04 13:30:42 +0000 | [diff] [blame] | 2025 | - AUTHORS |
| 2026 | - Add DLR. |
Jordi Mallach | 77b1232 | 2001-12-22 23:23:40 +0000 | [diff] [blame] | 2027 | - po/sv.po: |
| 2028 | - Swedish translation update (Christian Rose). |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 2029 | - po/ru.po, po/uk.po: |
Jordi Mallach | 3279398 | 2001-12-28 16:35:28 +0000 | [diff] [blame] | 2030 | - Russian and Ukrainian translations updates (Sergey A. Ribalchenko). |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 2031 | - po/ca.po, po/es.po: |
Jordi Mallach | 414acab | 2001-12-26 00:15:16 +0000 | [diff] [blame] | 2032 | - Catalan and Spanish translations updates (Jordi). |
Jordi Mallach | a4ffccb | 2001-12-26 00:31:17 +0000 | [diff] [blame] | 2033 | - po/pl.po: |
| 2034 | - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>. |
Jordi Mallach | 65f3e42 | 2002-01-04 17:48:58 +0000 | [diff] [blame] | 2035 | - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new |
| 2036 | official maintainer. |
Jordi Mallach | 1a58fb4 | 2001-12-27 16:00:23 +0000 | [diff] [blame] | 2037 | - po/fr.po: |
| 2038 | - French translation update (Michel Robitaille). |
Jordi Mallach | 05d8ce9 | 2001-12-27 20:34:42 +0000 | [diff] [blame] | 2039 | - po/gl.po: |
| 2040 | - Galician translation update (Jacobo TarrĂo). |
Jordi Mallach | 78e2c9d | 2001-12-27 22:06:38 +0000 | [diff] [blame] | 2041 | - po/it.po: |
| 2042 | - Italian translation update (Marco Colombo). |
Jordi Mallach | 3279398 | 2001-12-28 16:35:28 +0000 | [diff] [blame] | 2043 | - po/de.po: |
| 2044 | - German translation update (Michael Piefel). |
Jordi Mallach | 13f3017 | 2002-01-02 18:45:58 +0000 | [diff] [blame] | 2045 | - po/fr.po: |
| 2046 | - French translation update (Jean-Philippe Guérard). |
Chris Allegretta | 5fd6cac | 2001-12-12 13:55:19 +0000 | [diff] [blame] | 2047 | |
Chris Allegretta | 7bf2509 | 2001-12-12 02:44:40 +0000 | [diff] [blame] | 2048 | nano-1.1.4 - 12/11/2001 |
Chris Allegretta | 08893e0 | 2001-11-29 02:42:27 +0000 | [diff] [blame] | 2049 | - General |
| 2050 | - Preliminary syntax highlighting support. New functions |
| 2051 | colortoint() and parse_color() in rcfile.c, new code in |
| 2052 | edit_add() in winio.c to actually do the highlighting. It's |
| 2053 | not even close to pretty yet :P |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 2054 | - Many int/long alignments (David Lawrence Ramsey). |
Chris Allegretta | 0567bfe | 2001-10-28 14:42:18 +0000 | [diff] [blame] | 2055 | - files.c: |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 2056 | - Fixes for tab completion and screen refresh (David Lawrence |
| 2057 | Ramsey). |
Chris Allegretta | 0567bfe | 2001-10-28 14:42:18 +0000 | [diff] [blame] | 2058 | add_open_file() |
| 2059 | - Get rid of unsetting MARK_ISSET because otherwise writing |
| 2060 | marked text will automatically unset the marker with |
| 2061 | multibuffer enabled. |
Chris Allegretta | 22ec59a | 2001-10-28 04:56:08 +0000 | [diff] [blame] | 2062 | - global.c: |
| 2063 | - Define currshortcut and currslen when either DISABLE_MOUSE |
Chris Allegretta | 8c8d370 | 2001-10-28 05:00:39 +0000 | [diff] [blame] | 2064 | or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan |
| 2065 | Minghetti). |
Chris Allegretta | 7bf7274 | 2001-10-28 04:29:55 +0000 | [diff] [blame] | 2066 | - nano.c: |
| 2067 | main() |
Chris Allegretta | f3e80ad | 2001-10-28 04:49:10 +0000 | [diff] [blame] | 2068 | - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert). |
Chris Allegretta | 9b8b370 | 2001-11-19 05:09:15 +0000 | [diff] [blame] | 2069 | - Added better Hurd support for function keys (Alt-V,U,9,@,F). |
| 2070 | signal_init() |
| 2071 | - do SIG_IGN for the SIGTSTP sigaction regardless of whether |
| 2072 | we have _POSIX_VDISABLE or not (more Hurd fixes) |
Jordi Mallach | 773623c | 2001-10-28 21:00:49 +0000 | [diff] [blame] | 2073 | help_init() |
| 2074 | - Typo fixes and additions to the new help texts. |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 2075 | do_curpos() |
| 2076 | - Now takes arg for constant updating to always show the cursor |
| 2077 | position (David Lawrence Ramsey). |
| 2078 | do_wrap() |
| 2079 | - Many fixes (David Lawrence Ramsey). |
Chris Allegretta | 8083827 | 2001-12-02 06:03:22 +0000 | [diff] [blame] | 2080 | do_spell() |
| 2081 | - Dont prompt for replace if we don't change the word in |
| 2082 | question (Rocco Corsi). |
Jordi Mallach | 8c9c572 | 2001-10-31 13:02:12 +0000 | [diff] [blame] | 2083 | - po/de.po: |
| 2084 | - German translation updates (Karl Eichwalder). |
| 2085 | - po/ru.po: |
| 2086 | - Russian translation updates (Sergey A. Ribalchenko). |
| 2087 | - po/sv.po: |
| 2088 | - Swedish translation updates (Christian Rose). |
Jordi Mallach | feebeb9 | 2001-11-19 12:09:51 +0000 | [diff] [blame] | 2089 | - po/da.po: |
| 2090 | - Danish translation updates (Keld Simonse). |
| 2091 | - po/es.po: |
| 2092 | - Spanish translation updates (Jordi). |
Jordi Mallach | df59ae6 | 2001-12-07 14:00:56 +0000 | [diff] [blame] | 2093 | - po/fr.po: |
| 2094 | - French translation updates (Michel Robitaille). |
Chris Allegretta | 9c23a44 | 2001-12-12 01:45:01 +0000 | [diff] [blame] | 2095 | - m4/gettext.m4: |
| 2096 | - diff against mutt 1.2.5's gettext.m4. |
Chris Allegretta | 7b409bd | 2001-10-26 16:15:58 +0000 | [diff] [blame] | 2097 | |
Chris Allegretta | dc57bba | 2001-10-26 16:14:45 +0000 | [diff] [blame] | 2098 | nano-1.1.3 - 10/26/2001 |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 2099 | - General |
| 2100 | - Finally wrote function-specific help mode. Changes to |
| 2101 | nano.c:help_init() and winio.c:do_help(). Changed |
| 2102 | currshortcut and currslen #ifdefs to depend on both |
| 2103 | DISABLE_HELP and DISABLE_MOUSE being defined to not |
| 2104 | include. Changed all the shortcuts and lengths. |
Chris Allegretta | fa0c696 | 2001-10-22 23:22:19 +0000 | [diff] [blame] | 2105 | - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again, |
| 2106 | this was causing nasty errors if the call to nrealloc moved |
| 2107 | where the data was located. |
Chris Allegretta | 3a24f3f | 2001-10-24 11:33:54 +0000 | [diff] [blame] | 2108 | - Changed header comments to say "version 2" instead of "version |
| 2109 | 1" as the COPYING file is actually version 2 of the GPL (bug |
| 2110 | noticed by Jordi Mallach). |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 2111 | - cut.c: |
| 2112 | do_cut_text() |
| 2113 | - Check to see whether marked text is contained within edit |
| 2114 | window and if so only do an edit_refresh (variable dontupdate |
| 2115 | replaces cuttingpartialline). |
| 2116 | do_uncut_text() |
| 2117 | - Similar display fixes (David Lawrence Ramsey). |
Chris Allegretta | beead28 | 2001-10-18 14:15:28 +0000 | [diff] [blame] | 2118 | - faq.html |
| 2119 | - Removed nano-editor.org FTP site address [deprecated] and added |
| 2120 | the GNU one. |
Chris Allegretta | 76e291b | 2001-10-14 19:05:10 +0000 | [diff] [blame] | 2121 | - files.c: |
| 2122 | - Added status messages for converted DOS and Mac files. |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 2123 | People should know that their file wasnt normally formatted. |
| 2124 | load_file() |
| 2125 | - Status message when trying to load an already loaded file with multiple |
| 2126 | buffers (David Lawrence Ramsey). |
| 2127 | read_file() |
| 2128 | - Get rid of useless linetemp variable and name num_lines int |
| 2129 | (David Lawrence Ramsey). |
Chris Allegretta | 76e291b | 2001-10-14 19:05:10 +0000 | [diff] [blame] | 2130 | - nano.c: |
| 2131 | - New function do_prev_word, similar to do_next_word. Hard coded as |
Chris Allegretta | 878ced3 | 2001-10-22 20:05:34 +0000 | [diff] [blame] | 2132 | Alt-space, as next word is hard coded as control-space. Fixed |
| 2133 | goofy logic setting x pos to value of last line when hitting the |
Chris Allegretta | abf22a8 | 2001-10-24 00:58:19 +0000 | [diff] [blame] | 2134 | beginning of first line, prog should simply abort. Added |
| 2135 | the #ifdefs around the code in main(). |
Chris Allegretta | 1078640 | 2001-10-24 17:27:46 +0000 | [diff] [blame] | 2136 | - nano.h: |
| 2137 | - Additional #define, SMALL_TOO to determine how long |
| 2138 | MAIN_LIST_LEN is. We need this because of the find matching |
| 2139 | bracket code. |
Chris Allegretta | 48ebb81 | 2001-10-24 01:34:15 +0000 | [diff] [blame] | 2140 | main() |
Chris Allegretta | 347c184 | 2001-10-24 01:37:13 +0000 | [diff] [blame] | 2141 | - Moved #ifndef NANO_SMALL down past the case 0: line so |
| 2142 | control-space doesn't insert a \0 (ack!) |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 2143 | - rcfile.c: |
| 2144 | - Fix incorrect number of rc options (David Lawrence Ramsey). |
Jordi Mallach | 482d165 | 2001-10-06 02:36:25 +0000 | [diff] [blame] | 2145 | - po/sv.po: |
| 2146 | - Updated Swedish translation (Christian Rose). |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 2147 | - po/da.po: |
Jordi Mallach | 2476ebd | 2001-10-07 00:26:26 +0000 | [diff] [blame] | 2148 | - Updated Danish translation (Keld Simonsen). |
Jordi Mallach | 26f4603 | 2001-10-07 15:53:27 +0000 | [diff] [blame] | 2149 | - po/es.po: |
| 2150 | - Style updates to Spanish translation (Santiago Vila). |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 2151 | - po/ru.po, po/uk.po: |
Jordi Mallach | eb94b9e | 2001-10-15 14:26:48 +0000 | [diff] [blame] | 2152 | - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko). |
Chris Allegretta | 9a39789 | 2001-10-04 01:25:43 +0000 | [diff] [blame] | 2153 | |
Chris Allegretta | 03260b4 | 2001-10-04 01:24:07 +0000 | [diff] [blame] | 2154 | nano-1.1.2 - 10/03/2001 |
Chris Allegretta | c1049ac | 2001-08-17 00:03:46 +0000 | [diff] [blame] | 2155 | - General |
| 2156 | - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(), |
| 2157 | new flag CLEAR_BACKUPSTRING because there's no easy way to |
| 2158 | clear the backupstring without making it global (messy), so we |
| 2159 | use a flag instead (just as messy?) |
Chris Allegretta | ff98983 | 2001-09-17 13:48:00 +0000 | [diff] [blame] | 2160 | - --enable-tiny now leaves out the Auto Indent code, do you really |
| 2161 | need that on a bootdisk? =-) |
Chris Allegretta | e1f1452 | 2001-09-19 03:19:43 +0000 | [diff] [blame] | 2162 | - New flag -o, --operatingdir, similar to Pico's -o mode. New |
| 2163 | function check_operating_dir(), changes to load_file (arg), |
Chris Allegretta | e09cd1d | 2001-09-19 03:22:52 +0000 | [diff] [blame] | 2164 | open_file_dup_search (arg), new function do_gotopos for -F |
Chris Allegretta | ce78c1e | 2001-09-23 01:18:03 +0000 | [diff] [blame] | 2165 | (David Lawrence Ramsey). |
Chris Allegretta | 9184189 | 2001-09-21 02:37:01 +0000 | [diff] [blame] | 2166 | - Code to read/write dos formatted files. Massive amounts of |
Chris Allegretta | 7004c28 | 2001-09-22 00:42:10 +0000 | [diff] [blame] | 2167 | new code in read_line and write_file. New cmdline flag |
| 2168 | (-D --dos) to automatically write the file in DOS format, |
| 2169 | regardless of the original format. |
Chris Allegretta | 995177f | 2001-09-22 04:34:23 +0000 | [diff] [blame] | 2170 | - Mac file writing supported too. Flag -M, --mac. Toggle |
| 2171 | Meta-O (MacOS? OS-X? =-) |
Chris Allegretta | 3e3ae94 | 2001-09-22 19:02:04 +0000 | [diff] [blame] | 2172 | - New smooth scroll code by Ken Tyler. New flag -S, --smooth, |
Chris Allegretta | d948edc | 2001-10-02 00:38:56 +0000 | [diff] [blame] | 2173 | changes to page_up() and page_down(). Many fixes to paging by |
Chris Allegretta | 5050d35 | 2001-09-27 00:44:58 +0000 | [diff] [blame] | 2174 | David Lawrence Ramsey. |
Chris Allegretta | 8d990b5 | 2001-09-22 22:14:25 +0000 | [diff] [blame] | 2175 | - Bracket (brace, parens, etc) matching code by Ken Tyler. |
| 2176 | New functions do_find_bracket(), changes to findnextstr(), |
| 2177 | command is Meta-] (hope you dont mind since I already sold off |
Chris Allegretta | 2bef182 | 2001-09-28 19:53:11 +0000 | [diff] [blame] | 2178 | Meta-O to the MacOS file code Ken...) Fixes to bracket_msg |
| 2179 | by DLR. |
Chris Allegretta | 1b3381b | 2001-09-28 21:59:01 +0000 | [diff] [blame] | 2180 | - Call do_gotopos from do_alt_spell() to keep position |
| 2181 | consistent when invoking alt speller (DLR). |
Chris Allegretta | 7fdbd05 | 2001-10-02 00:55:38 +0000 | [diff] [blame] | 2182 | - Readded DISABLE_CURPOS because in certain instances (like |
Chris Allegretta | 03260b4 | 2001-10-04 01:24:07 +0000 | [diff] [blame] | 2183 | all the "Search Wrapped" lines) the cursor position will |
Chris Allegretta | 7fdbd05 | 2001-10-02 00:55:38 +0000 | [diff] [blame] | 2184 | be different yet we don't want the cursor position displayed. |
Chris Allegretta | e10f389 | 2001-10-02 03:54:40 +0000 | [diff] [blame] | 2185 | - Take control-space out of -tiny build, unneeded. |
Chris Allegretta | 222a086 | 2001-10-02 00:24:37 +0000 | [diff] [blame] | 2186 | - cut.c: |
| 2187 | cut_marked_segment() |
| 2188 | - Add magic line when cutting a selection including filebot |
Chris Allegretta | 31b2b81 | 2001-10-03 01:51:33 +0000 | [diff] [blame] | 2189 | (discovered by DLR, fixed by DLR & Chris, fixes BUG #66). |
Chris Allegretta | dc2ca88 | 2001-10-02 23:55:09 +0000 | [diff] [blame] | 2190 | do_cut_text() |
Chris Allegretta | 5e4b108 | 2001-10-03 00:45:06 +0000 | [diff] [blame] | 2191 | - Don't recenter the line when cutting one line (DLR) (Bug #65). |
Jordi Mallach | f57b886 | 2001-10-03 12:45:22 +0000 | [diff] [blame] | 2192 | - faq.html: |
| 2193 | - Notes about the Free Translation Project. |
| 2194 | - Debian additions. |
Chris Allegretta | 9519eb0 | 2001-09-27 20:46:25 +0000 | [diff] [blame] | 2195 | - files.c: |
| 2196 | do_writeout() |
| 2197 | - Expanded strings to not use %s and ?: to determine |
| 2198 | write/append string to be nice to translators. |
Chris Allegretta | 1b3381b | 2001-09-28 21:59:01 +0000 | [diff] [blame] | 2199 | new_file() |
| 2200 | - Initialize totsize (DLR). |
Chris Allegretta | 0357c4d | 2001-09-19 02:59:25 +0000 | [diff] [blame] | 2201 | - nano.c: |
| 2202 | main() |
Chris Allegretta | b516d8e | 2001-10-03 00:01:36 +0000 | [diff] [blame] | 2203 | - Added var constcheck as a CRC-like check of whether cursor |
Chris Allegretta | 0357c4d | 2001-09-19 02:59:25 +0000 | [diff] [blame] | 2204 | pos has changed and if so update the pos with -c. |
Chris Allegretta | ce78c1e | 2001-09-23 01:18:03 +0000 | [diff] [blame] | 2205 | - Many tweaks and changes from numerics to char equivs |
| 2206 | (David Lawrence Ramsey). |
Chris Allegretta | 92f5fdc | 2001-10-02 02:58:07 +0000 | [diff] [blame] | 2207 | - Fix the KEY_IC being undefined when using slang. |
Chris Allegretta | 6414b40 | 2001-09-21 03:21:11 +0000 | [diff] [blame] | 2208 | do_mouse() |
| 2209 | - Send 27 when the menu item clicked is an alt key seq... The |
| 2210 | lines aren't lined up since the menu width changed though, |
| 2211 | this breakage depends on whether the new widths will be kept |
| 2212 | or not (FEEDBACK!!) |
Chris Allegretta | a951f21 | 2001-09-27 21:07:39 +0000 | [diff] [blame] | 2213 | - Change k based on currslen to allow the new widths in |
| 2214 | bottombars(). |
Chris Allegretta | 56214c6 | 2001-09-27 02:46:53 +0000 | [diff] [blame] | 2215 | do_wrap() |
| 2216 | - Fixes for Pico incompatibility in cases 2b and 2c. |
| 2217 | (David Lawrence Ramsey). |
| 2218 | global_init() |
| 2219 | - New arg save_cutbuffer, allows cutbuffer to not be lost when |
| 2220 | using multibuffer. |
Jordi Mallach | f57b886 | 2001-10-03 12:45:22 +0000 | [diff] [blame] | 2221 | - nano.1: |
| 2222 | - Added new features, fixed some typos (Jordi). |
Jordi Mallach | 372b1a0 | 2001-08-08 19:35:23 +0000 | [diff] [blame] | 2223 | - nano.texi: |
Jordi Mallach | f57b886 | 2001-10-03 12:45:22 +0000 | [diff] [blame] | 2224 | - Corrected the Mouse Toggle section, noticed by Daniel Bonniot. |
| 2225 | - Added many command line options, toggles and other additions |
| 2226 | (Jordi). |
Chris Allegretta | beb5497 | 2001-09-22 23:54:45 +0000 | [diff] [blame] | 2227 | - rcfile.c: |
| 2228 | - NUM_RCOPTS fix (DLR). |
Chris Allegretta | 66c33b8 | 2001-10-02 23:57:31 +0000 | [diff] [blame] | 2229 | - Add tabsize support to rc file (Nathan Heagy). |
Chris Allegretta | ca1a82e | 2001-10-03 15:18:41 +0000 | [diff] [blame] | 2230 | - Fix incorrect argument in fill and tabsize error message |
| 2231 | (Nathan Heagy) |
Chris Allegretta | 759d352 | 2001-09-27 13:04:10 +0000 | [diff] [blame] | 2232 | - search.c: |
| 2233 | - Changed search prompt to "Search" followed by a list of |
| 2234 | bracketed, free-standing modifiers that do not imply a grammar, |
| 2235 | and the (to replace) string separately. Hopefully this resolves |
| 2236 | the i18n problems that this provoked. |
Chris Allegretta | 7fdbd05 | 2001-10-02 00:55:38 +0000 | [diff] [blame] | 2237 | findnextstr() |
| 2238 | - Various fixes that need testing (Ken Tyler). |
Chris Allegretta | 9b3c7e8 | 2001-08-25 16:00:53 +0000 | [diff] [blame] | 2239 | - winio.c: |
| 2240 | - Add David Lawrence Ramsey to credits. |
Chris Allegretta | 96eef73 | 2001-08-25 16:41:37 +0000 | [diff] [blame] | 2241 | bottombars() |
| 2242 | - Spread out the menu items, feedback definitely needed on this. |
Chris Allegretta | ce78c1e | 2001-09-23 01:18:03 +0000 | [diff] [blame] | 2243 | nanogetstr() |
| 2244 | - More key fixes (David Lawrence Ramsey) |
Chris Allegretta | 92f5fdc | 2001-10-02 02:58:07 +0000 | [diff] [blame] | 2245 | - Don't be clever and wasteful, just repaint every iteration. |
Jordi Mallach | 2cde0a2 | 2001-09-05 13:23:53 +0000 | [diff] [blame] | 2246 | - po/nl.po: |
Jordi Mallach | c6c35ea | 2001-09-09 11:04:43 +0000 | [diff] [blame] | 2247 | - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>. |
Jordi Mallach | c1917e7 | 2001-09-28 13:06:29 +0000 | [diff] [blame] | 2248 | - po/ca.po, po/es.po: |
| 2249 | - Updated Catalan and Spanish translation (Jordi). |
Jordi Mallach | d1625cd | 2001-09-10 11:36:45 +0000 | [diff] [blame] | 2250 | - po/gl.po: |
| 2251 | - Updated Galician translation (Jacobo TarrĂo). |
Jordi Mallach | 90bbdd3 | 2001-09-12 19:06:59 +0000 | [diff] [blame] | 2252 | - po/da.po: |
| 2253 | - New Danish translation, by Keld Simonsen <keld@dkuug.dk>. |
Jordi Mallach | 6c49b3f | 2001-09-15 22:47:05 +0000 | [diff] [blame] | 2254 | - po/sv.po: |
| 2255 | - Updated Swedish translation (Christian Rose). |
Jordi Mallach | 1e36fd8 | 2001-10-01 17:24:24 +0000 | [diff] [blame] | 2256 | - po/it.po: |
| 2257 | - Updated Italian translation (Marco Colombo). |
Jordi Mallach | 780f320 | 2001-10-03 20:47:47 +0000 | [diff] [blame] | 2258 | - po/fi.po: |
| 2259 | - Updated Finnish translation (Pauli Virtanen). |
Chris Allegretta | 47a2686 | 2001-07-29 01:17:38 +0000 | [diff] [blame] | 2260 | |
Chris Allegretta | 0e8c8d8 | 2001-07-29 01:16:27 +0000 | [diff] [blame] | 2261 | nano-1.1.1 - 07/28/2001 |
Chris Allegretta | ef8f98d | 2001-07-19 12:24:17 +0000 | [diff] [blame] | 2262 | - General |
| 2263 | - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir. |
| 2264 | - Added m4/ directory to allow rebuilding using only the internal |
| 2265 | version of gettext.m4 (Albert Chin). |
Chris Allegretta | 307d4c8 | 2001-07-15 20:25:33 +0000 | [diff] [blame] | 2266 | - nano.c: |
| 2267 | main() |
Chris Allegretta | 0e8c8d8 | 2001-07-29 01:16:27 +0000 | [diff] [blame] | 2268 | - Change the multibuffer getopt option to 'F' (David Lawrence |
| 2269 | Ramsey) |
Chris Allegretta | 41ed016 | 2001-07-24 00:21:03 +0000 | [diff] [blame] | 2270 | do_mark() |
| 2271 | - Temporarily disable cursorpos when enabled to be able to see |
| 2272 | the mark (un)set message (Ken Tyler). |
Chris Allegretta | 4839d23 | 2001-07-19 22:03:51 +0000 | [diff] [blame] | 2273 | - nanorc.sample |
| 2274 | - Typo fixes and updates (David Lawrence Ramsey) |
Chris Allegretta | 5cce53b | 2001-07-17 10:42:50 +0000 | [diff] [blame] | 2275 | - files.c: |
Chris Allegretta | e642197 | 2001-07-18 01:03:36 +0000 | [diff] [blame] | 2276 | new_file() |
| 2277 | - Do add_open_files if there aren't any open yet (David Lawrence |
| 2278 | Ramsey). |
| 2279 | close_open_file() |
| 2280 | - Try to open the next file first, then the previous one |
| 2281 | (David Lawrence Ramsey). |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 2282 | - global.c: |
| 2283 | shortcut_init() |
| 2284 | - Rewrote the whereis and replace lists to put CANCEL at the end |
| 2285 | of the list, and not include the toggle functions when using |
| 2286 | NANO_SMALL. |
Chris Allegretta | f372bd9 | 2001-07-15 22:24:24 +0000 | [diff] [blame] | 2287 | - nano.h: |
| 2288 | - Fix type in INSERTFILE_LIST_LEN. |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 2289 | - Rewrote all the macro definitions to be a little less messy, |
| 2290 | for the #ifdefs anyway. |
Chris Allegretta | 307d4c8 | 2001-07-15 20:25:33 +0000 | [diff] [blame] | 2291 | - rcfile.c: |
| 2292 | - Update for the multibuffer option (oops) (David Lawrence Ramsey). |
Chris Allegretta | f372bd9 | 2001-07-15 22:24:24 +0000 | [diff] [blame] | 2293 | - search.c: |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 2294 | - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code. |
Chris Allegretta | f372bd9 | 2001-07-15 22:24:24 +0000 | [diff] [blame] | 2295 | search_init() |
| 2296 | - add #ifdef NANO_SMALL around toggles code. |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 2297 | - winio.c: |
| 2298 | bottombars() |
| 2299 | - Fixed an off by one that wasn't letting lines with odd # |
| 2300 | shortcuts work in certain cases. |
Chris Allegretta | 47f77b4 | 2001-07-15 16:13:18 +0000 | [diff] [blame] | 2301 | |
Chris Allegretta | 9a74860 | 2001-07-15 16:07:23 +0000 | [diff] [blame] | 2302 | nano-1.1.0 - 07/15/2001 |
Chris Allegretta | 6b58acd | 2001-04-12 03:01:53 +0000 | [diff] [blame] | 2303 | - General |
| 2304 | - New global variables currshortcut and currslen to support using |
Chris Allegretta | 051fc6e | 2001-05-05 23:17:36 +0000 | [diff] [blame] | 2305 | the mouse with the shortcuts. Also supports clicking on files |
Chris Allegretta | 6fe6149 | 2001-05-21 12:56:25 +0000 | [diff] [blame] | 2306 | in browser. Added #ifdef DISABLE_MOUSE around this code also. |
Chris Allegretta | 84de552 | 2001-04-12 14:51:48 +0000 | [diff] [blame] | 2307 | - Changed mouse disabling code from depending on --enable-tiny |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2308 | to its own flag, --disable-mouse. The --tiny option defines |
Chris Allegretta | 84de552 | 2001-04-12 14:51:48 +0000 | [diff] [blame] | 2309 | this automatically, but now just mouse support can be disabled |
| 2310 | if desired. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 2311 | - File Browser supports the "Goto Directory" |
Chris Allegretta | 8d8e012 | 2001-04-18 04:28:54 +0000 | [diff] [blame] | 2312 | - Added rcfile.c source file. Only includes much of anything when |
| 2313 | --enable-nanorc is used. Tons of new funcs, most notably |
| 2314 | do_rcfile() called from nano.c:main(). Added much needed |
| 2315 | function ncalloc(), will have to go through source code later |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 2316 | and change the appropriate calls which used nmalloc for lack of |
| 2317 | an appropriate calloc function *** FIXME *** |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 2318 | - After "Alternate" spell checker is called, cursor is repositioned on |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2319 | the same line as before ^T was pressed. |
Chris Allegretta | 6efda54 | 2001-04-28 18:03:52 +0000 | [diff] [blame] | 2320 | - Moved config.h up in all .c files #include list (Albert Chin). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2321 | - Added config.guess and config.sub to distribution because, |
| 2322 | apparently, newer autoconf/automakes can't live without them. |
| 2323 | - Various spelling updates by David Lawrence Ramsey. |
Chris Allegretta | 88b0915 | 2001-05-17 11:35:43 +0000 | [diff] [blame] | 2324 | - Changed all string allocations to charalloc(), new function |
| 2325 | designed to take nmalloc argument but call calloc based on |
| 2326 | (char *) size. |
Chris Allegretta | 6fe6149 | 2001-05-21 12:56:25 +0000 | [diff] [blame] | 2327 | - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping |
| 2328 | and justify being disabled. This allows us to compile out the |
| 2329 | -r flag if neither are set, and will also allow us to comment |
| 2330 | out -W when it is written. |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 2331 | - Allow fill to take a negative value to signify a "from right side" |
Chris Allegretta | 6fe6149 | 2001-05-21 12:56:25 +0000 | [diff] [blame] | 2332 | value. This allows the value to vary with the screen size yet |
| 2333 | still be correct. New static value wrap_at to minimize code |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 2334 | impact. Updated man page and info file. |
Chris Allegretta | cc197ef | 2001-05-29 04:21:44 +0000 | [diff] [blame] | 2335 | - Allow file appending. New shortcut list nano_insertfile_list (since |
| 2336 | insert and write routines can't share shortcut lists anymore), |
| 2337 | new args to do_writeout and write_file called append, and of source |
| 2338 | code changes to those functions. |
Chris Allegretta | e4933a3 | 2001-06-13 02:35:44 +0000 | [diff] [blame] | 2339 | - Allow backwards searching. Drastic rewrite of the search prompt |
| 2340 | string by Chris. All other code by Ken Tyler. New globals |
| 2341 | nano_reverse_msg, new functions revstrstr and revstrcasestr, |
| 2342 | many changes to search functions. Not too big a code size |
| 2343 | increase! |
Chris Allegretta | 658399a | 2001-06-14 02:54:22 +0000 | [diff] [blame] | 2344 | - Moved extension functions (Case Sensitive, Regexp, and Backwards |
| 2345 | Search, Append key in write file function) to Meta keys, as |
| 2346 | people are complaining loudly about nano not being control-key |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 2347 | compatible with Pico, which is a Bad Thing (TM). Changes to |
Chris Allegretta | 658399a | 2001-06-14 02:54:22 +0000 | [diff] [blame] | 2348 | shortcut_init, toggle_init, new toggles for backwards and regexp |
| 2349 | (and you can now toggle all search options including regexp at |
| 2350 | the Search: prompt!) Changes to nanogetstr to enable Meta |
| 2351 | keys to be grabbed, changes to onekey to print M-style shortcuts. |
| 2352 | - New macro TOGGLE which just toggles, no more silly checking |
| 2353 | ISSET and then using SET or UNSET when we want a simple toggle |
| 2354 | for a flag. |
Chris Allegretta | 2d7893d | 2001-07-11 02:08:33 +0000 | [diff] [blame] | 2355 | - Added multiple buffer capability (God help us). New configure |
Chris Allegretta | 355fbe5 | 2001-07-14 19:32:47 +0000 | [diff] [blame] | 2356 | option --enable-multibuffer (-F), changes to do_insertfile(), |
Chris Allegretta | 2d7893d | 2001-07-11 02:08:33 +0000 | [diff] [blame] | 2357 | do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(), |
| 2358 | and write_file(), new functions add_open_file(), |
| 2359 | open_file_change_name(), load_open_file(), open_file_dup_search(), |
| 2360 | open_file_dup_fix(), open_prevfile(), open_nextfile(), |
| 2361 | close_open_file(), get_full_path(), die_save_file(), etc. |
| 2362 | (David Lawrence Ramsey). |
Chris Allegretta | 355fbe5 | 2001-07-14 19:32:47 +0000 | [diff] [blame] | 2363 | - Using --enable-extra automatically defines --enable-multibuffer |
| 2364 | changes to version() and configure.in. |
Chris Allegretta | 9a74860 | 2001-07-15 16:07:23 +0000 | [diff] [blame] | 2365 | - Moved to gettext 0.10.38 at the last second, sure to break |
| 2366 | something, but at least I can run make distcheck! |
Jordi Mallach | 7fde37f | 2001-06-22 23:26:19 +0000 | [diff] [blame] | 2367 | - Makefile.am: |
| 2368 | - Include ABOUT-NLS and the new THANKS files to the distributed list. |
| 2369 | - THANKS: |
| 2370 | - Initial, incomplete list of people to thank. |
Chris Allegretta | 049149f | 2001-07-02 01:57:44 +0000 | [diff] [blame] | 2371 | - Added some more people. |
Chris Allegretta | ea066c8 | 2001-04-13 02:32:06 +0000 | [diff] [blame] | 2372 | - configure.in: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2373 | - New option, --enable-nanorc, which allows people to have a .nanorc |
Chris Allegretta | 18d70f1 | 2001-04-28 15:53:28 +0000 | [diff] [blame] | 2374 | initialization file and set options normally used on the command |
| 2375 | line, and color later on. |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 2376 | - Added --enable-color option to allow color and syntax highlighting |
Chris Allegretta | 18d70f1 | 2001-04-28 15:53:28 +0000 | [diff] [blame] | 2377 | (stub as of now). |
Chris Allegretta | 4cb991d | 2001-05-10 22:55:16 +0000 | [diff] [blame] | 2378 | - cut.c: |
| 2379 | add_to_cutbuffer() |
| 2380 | - Remove useless statements (Rocco). |
Chris Allegretta | 9fe015c | 2001-05-17 03:41:00 +0000 | [diff] [blame] | 2381 | cut_marked_segment() |
Chris Allegretta | 53ea9d1 | 2001-05-18 19:58:33 +0000 | [diff] [blame] | 2382 | - Add bizarre copy of bot node, else *BSD goes ballistic (fixes |
| 2383 | BUG #60). |
Chris Allegretta | cc197ef | 2001-05-29 04:21:44 +0000 | [diff] [blame] | 2384 | - Added 'destructive' argument. Allows the selected text to be |
| 2385 | added to the cutbuffer without changing the contents of the |
| 2386 | file. This allows writing selection to separate files. |
Chris Allegretta | 3ba2953 | 2001-06-10 20:41:20 +0000 | [diff] [blame] | 2387 | do_cut_text() |
Chris Allegretta | a75bc41 | 2001-06-12 23:22:26 +0000 | [diff] [blame] | 2388 | - If the line is empty when using -k and wasn't already added, |
| 2389 | create a dummy line and add it to the cutbuffer (fixes bug #61) |
Chris Allegretta | 40f45c8 | 2001-06-21 15:07:40 +0000 | [diff] [blame] | 2390 | - Reset marked_cut if we blow away the cutbuffer. |
Chris Allegretta | 500b5e3 | 2001-06-21 23:58:47 +0000 | [diff] [blame] | 2391 | - Moved the case of current == mark_beginbuf into cut_marked |
| 2392 | segment, so do_writeout could call it when writing selection to |
| 2393 | file. |
Chris Allegretta | 40f45c8 | 2001-06-21 15:07:40 +0000 | [diff] [blame] | 2394 | do_uncut_text() |
| 2395 | - Reset cutbuffer even if we're uncutting marked or cut to end text! |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 2396 | - faq.html: |
| 2397 | - Brought the FAQ up to date, many little changes (Jordi). |
Chris Allegretta | 9a74860 | 2001-07-15 16:07:23 +0000 | [diff] [blame] | 2398 | - Added sections 3.7 and 3.8 for the multibuffer and nanorc support. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 2399 | - files.c: |
| 2400 | do_browser() |
| 2401 | - Minor fixes to the processing of SELECT function (Rocco) |
| 2402 | - Added the "Goto Directory" code (Rocco) |
Chris Allegretta | d461562 | 2001-05-23 21:54:47 +0000 | [diff] [blame] | 2403 | - Don't shift the size of the file is it's less than 1K. Fixed |
| 2404 | files less than 1K being displayed as 0B (Rocco). |
Chris Allegretta | a2c02e9 | 2001-07-02 01:31:44 +0000 | [diff] [blame] | 2405 | - More Picoish keystrokes for the browser, ^P, ^N, etc, for up, |
| 2406 | down, etc, and add the consistent ^C to exit (Jim Knoble). |
Chris Allegretta | cc197ef | 2001-05-29 04:21:44 +0000 | [diff] [blame] | 2407 | do_writeout() |
| 2408 | - New code to allow writing selected text to a separate file. |
David Lawrence Ramsey | 5db0cdc | 2002-06-28 22:45:14 +0000 | [diff] [blame] | 2409 | When this is done, the current state is preserved. |
Chris Allegretta | ecc3d7f | 2001-06-05 23:24:55 +0000 | [diff] [blame] | 2410 | write_file() |
| 2411 | - New arg, nonamechange, means whether or not to update the |
| 2412 | current filename after writing the file out. |
Chris Allegretta | 1a8b296 | 2001-06-30 18:41:08 +0000 | [diff] [blame] | 2413 | - Increment lineswritten when the very last line isn't null. |
| 2414 | Fixes off by one count when writing selection to file. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 2415 | - global.c: |
| 2416 | - Updated some of the lists for the "Goto Directory" code (Rocco) |
Chris Allegretta | 6cb4e88 | 2001-04-29 02:26:17 +0000 | [diff] [blame] | 2417 | - move.c: |
| 2418 | page_up() |
| 2419 | - Rewritten with a loop to make screen updates work when |
| 2420 | mark is set (fixes bug #59). |
Chris Allegretta | 1cde322 | 2001-06-11 06:56:10 +0000 | [diff] [blame] | 2421 | do_home(), do_end() |
| 2422 | - Don't keep cutbuffer. |
Jordi Mallach | 3f8db49 | 2001-04-30 10:30:43 +0000 | [diff] [blame] | 2423 | - nano.1: |
| 2424 | - Added the missing -r flag (Jordi). |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 2425 | - nano.c: |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 2426 | do_alt_speller() |
| 2427 | - Reposition cursor on same line as before ^T was called (Rocco) |
Chris Allegretta | 316e4d9 | 2001-04-28 16:31:19 +0000 | [diff] [blame] | 2428 | ABCD(), main() |
| 2429 | - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D]. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 2430 | main() |
| 2431 | - Code to silently process "-g" and "-j" (Rocco) |
Chris Allegretta | b26ecb5 | 2001-07-04 16:27:05 +0000 | [diff] [blame] | 2432 | - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen). |
Chris Allegretta | 521e00d | 2001-06-28 16:52:52 +0000 | [diff] [blame] | 2433 | signal_init() |
| 2434 | - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and |
| 2435 | SIGCONT from being interrupted, allows suspending nano |
| 2436 | to work more reliably, esp. with mutt, etc. |
| 2437 | do_suspend() |
| 2438 | - Don't try to play with the handler inside the handler. Just |
| 2439 | raise a SIGSTOP. We also now write the "use "fg"" message to |
| 2440 | stdout instead of stderr. |
Chris Allegretta | ac899e5 | 2001-06-30 04:09:09 +0000 | [diff] [blame] | 2441 | - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke. |
| 2442 | Eliminates the possibility that nano can be suspended when |
| 2443 | it's not supposed to be. Many many many thanks to Jordi and |
| 2444 | Tom Lear for helping out finding and fixing this bug! |
Chris Allegretta | 521e00d | 2001-06-28 16:52:52 +0000 | [diff] [blame] | 2445 | do_cont() |
| 2446 | - Now just does a refresh call instead of playing with the SIGTSTP |
| 2447 | handler. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 2448 | - nano.h: |
| 2449 | - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco) |
| 2450 | - proto.h: |
| 2451 | - New shortcut list added: gotodir_list (Rocco). |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 2452 | - search.c: |
| 2453 | do_gotoline() |
| 2454 | - Optimizations, remove "$" goes-to-last-line, less messages (Rocco) |
Chris Allegretta | 5050aa6 | 2001-04-22 07:10:21 +0000 | [diff] [blame] | 2455 | do_replace() |
| 2456 | - If we manage to make it in somehow with VIEW_MODE on, abort |
| 2457 | nicely (fixes BUG #59). |
Chris Allegretta | 99afb85 | 2001-05-16 04:20:57 +0000 | [diff] [blame] | 2458 | - utils.c |
| 2459 | strcasestr() |
| 2460 | - Replaced by mutt's mutt_stristr function, because the thought |
| 2461 | of dynamically allocating memory and copying each line in a file |
| 2462 | to do a search or replace was causing me to lose sleep. |
Chris Allegretta | 6efda54 | 2001-04-28 18:03:52 +0000 | [diff] [blame] | 2463 | - winio.c: |
| 2464 | actual_x() |
| 2465 | - Remove inline from function decl (Albert Chin). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 2466 | - po/POTFILES.in: |
| 2467 | - Added utils.c to the list. |
| 2468 | - po/es.po, po/ca.po: |
| 2469 | - Updated (Jordi). |
Jordi Mallach | 9634571 | 2001-04-29 10:38:07 +0000 | [diff] [blame] | 2470 | - po/gl.po: |
Jordi Mallach | 64bacd2 | 2001-05-14 13:55:30 +0000 | [diff] [blame] | 2471 | - Galician translation by Jacobo TarrĂo. |
Jordi Mallach | 92b3bd2 | 2001-05-16 09:10:31 +0000 | [diff] [blame] | 2472 | - po/uk.po, po/ru.po: |
| 2473 | - New Ukrainian and Russian translations by Sergey A. Ribalchenko |
Jordi Mallach | 3bf6bf4 | 2001-05-14 13:11:56 +0000 | [diff] [blame] | 2474 | <fisher@obu.ck.ua>, thanks! |
Jordi Mallach | efd2236 | 2001-06-22 16:59:29 +0000 | [diff] [blame] | 2475 | - po/id.po: |
| 2476 | - Updated Indonesian translation by Tedi Heriyanto. |
Chris Allegretta | 63ba2d6 | 2001-05-16 12:16:28 +0000 | [diff] [blame] | 2477 | - po/it.po |
| 2478 | - Updated Italian translation by Marco Colombo. |
Jordi Mallach | df7d8b2 | 2001-07-05 23:16:05 +0000 | [diff] [blame] | 2479 | - po/no.po: |
| 2480 | - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>. |
| 2481 | - po/sv.po: |
| 2482 | - New Swedish translation by Christian Rose <menthos@menthos.com>. |
Chris Allegretta | ac840eb | 2001-04-07 18:21:47 +0000 | [diff] [blame] | 2483 | |
| 2484 | nano 1.1 tree forked here 04/07/2001 |
| 2485 | |
Chris Allegretta | 38068cd | 2001-04-06 20:04:23 +0000 | [diff] [blame] | 2486 | nano 1.0.1 - 04/06/2001 |
Chris Allegretta | cef7fbb | 2001-04-02 05:36:08 +0000 | [diff] [blame] | 2487 | - General: |
| 2488 | - added configure option --disable-wrapping. Does what it says, |
| 2489 | no wrapping or checks are done. Separate from --enable-tiny, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2490 | some may want a bare-bones Pico clone that does wrap text. |
Chris Allegretta | cef7fbb | 2001-04-02 05:36:08 +0000 | [diff] [blame] | 2491 | Affects configure, nano.c:do_char() and check_wrap() obviously, |
| 2492 | version(), and do_char(). |
Chris Allegretta | 3948bae | 2001-03-25 00:46:40 +0000 | [diff] [blame] | 2493 | - aclocal.m4: |
| 2494 | - Minor patch for intl check (really this time) (Albert Chin) |
Chris Allegretta | 4bf831f | 2001-03-26 15:35:34 +0000 | [diff] [blame] | 2495 | - faq.html: |
| 2496 | - Fixed typo in section 6.1 (discovered by Bob Farmer). |
Chris Allegretta | 4980517 | 2001-03-28 02:14:28 +0000 | [diff] [blame] | 2497 | - files.c: |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 2498 | - fix two typos in comments, one in ChangeLog (Matthias Andree) |
Chris Allegretta | 4980517 | 2001-03-28 02:14:28 +0000 | [diff] [blame] | 2499 | diralphasort() |
Chris Allegretta | 0876dc9 | 2001-03-28 13:04:08 +0000 | [diff] [blame] | 2500 | - Stop abort on symlinks (Matthias Andree) |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 2501 | - use strcasecmp to sort directory if available, pilot does that |
| 2502 | as well (Matthias Andree) |
| 2503 | filestat(), do_browse() |
Chris Allegretta | 0876dc9 | 2001-03-28 13:04:08 +0000 | [diff] [blame] | 2504 | - Changed lstat calls to stat, which fixes the browser not |
| 2505 | following links to directories. We only use lstat() when |
| 2506 | printing the details of the file, and if it is a link, then |
| 2507 | check via lstat() for link to a directory. If it is |
Jordi Mallach | b2c4cbe | 2001-04-02 13:47:17 +0000 | [diff] [blame] | 2508 | a directory, display (dir), else use the normal "--". |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 2509 | do_browser() |
| 2510 | - Fix broken size suffix off-by-one errors (Matthias Andree) |
| 2511 | cwd_tab_completion(), do_browse_from() |
| 2512 | - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree). |
| 2513 | - Changed above to use PATH_MAX only when defined on the |
| 2514 | system, as the HURD e.g. does not support it. |
Jordi Mallach | b2c4cbe | 2001-04-02 13:47:17 +0000 | [diff] [blame] | 2515 | - intl/Makefile.in: |
| 2516 | distclean |
| 2517 | - added intl/libintl.h to the rm -f rule, should fix the unresolved |
| 2518 | gettext symbols problem (Jordi). |
Chris Allegretta | 2071207 | 2001-03-23 03:51:48 +0000 | [diff] [blame] | 2519 | |
Chris Allegretta | 2bfbda0 | 2001-03-23 03:50:44 +0000 | [diff] [blame] | 2520 | nano-1.0.0 - 03/22/2001 |
Chris Allegretta | e316773 | 2001-03-18 16:59:34 +0000 | [diff] [blame] | 2521 | - General |
| 2522 | - Added void to functions declared as () args, nano.c:do_mark() |
| 2523 | and search.c:regexp_cleanup(). (Christian Weisgerber). |
| 2524 | - Changed internal variables called "new" to "newnode" to avoid |
| 2525 | the "new" C++ reserved word, even though there is likely no way |
| 2526 | nano will EVER be compilable with a C++ compiler. (suggested by |
| 2527 | Rocco Corsi). |
Chris Allegretta | 7ab3e8f | 2001-03-22 23:12:22 +0000 | [diff] [blame] | 2528 | - ca.po, es.po: |
| 2529 | - Final tweaks for Nano 1.0. |
Chris Allegretta | 10ae4f1 | 2001-03-20 15:51:43 +0000 | [diff] [blame] | 2530 | - cs.po: |
| 2531 | - Czech translation from Vaclav Haisman. |
Chris Allegretta | 7ab3e8f | 2001-03-22 23:12:22 +0000 | [diff] [blame] | 2532 | - nano.info: |
| 2533 | - Added dir entry (Albert Chin). |
Chris Allegretta | 35dac58 | 2001-03-21 15:07:20 +0000 | [diff] [blame] | 2534 | - winio.c: |
| 2535 | statusq() |
| 2536 | - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right. |
Chris Allegretta | e316773 | 2001-03-18 16:59:34 +0000 | [diff] [blame] | 2537 | |
| 2538 | 1.0-test prerelease - 03/17/2001 |
Chris Allegretta | 94a78b8 | 2001-03-14 08:28:48 +0000 | [diff] [blame] | 2539 | - nano.c: |
| 2540 | do_wrap() |
| 2541 | - Added case for autoindenting text causing new line (Adam). |
| 2542 | - Added SAMELINE case to above. Added checks to cases 1b and |
| 2543 | 2b for placement of cursor. |
Chris Allegretta | 565f7d5 | 2001-03-15 02:02:20 +0000 | [diff] [blame] | 2544 | - move.c: |
| 2545 | page_down() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2546 | - Check for totlines < editwinrows in check for superfluous |
Chris Allegretta | 565f7d5 | 2001-03-15 02:02:20 +0000 | [diff] [blame] | 2547 | edit update (fixed BUG #57). |
Jordi Mallach | 5b387d7 | 2001-02-20 12:45:47 +0000 | [diff] [blame] | 2548 | - search.c: |
Chris Allegretta | 74bb31b | 2001-03-14 09:08:14 +0000 | [diff] [blame] | 2549 | print_replaced() |
Jordi Mallach | 5b387d7 | 2001-02-20 12:45:47 +0000 | [diff] [blame] | 2550 | - s/occurence/occurrence typos (Jordi). |
Chris Allegretta | 74bb31b | 2001-03-14 09:08:14 +0000 | [diff] [blame] | 2551 | search_init() |
| 2552 | - If using Pico mode and regex and same answer is entered, use |
| 2553 | last_search string instead of answer (fixes BUG #56). |
Chris Allegretta | 203ce15 | 2001-02-23 03:05:38 +0000 | [diff] [blame] | 2554 | - nano.texi: |
| 2555 | - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks). |
Chris Allegretta | 9c9c5da | 2001-02-20 03:53:31 +0000 | [diff] [blame] | 2556 | |
Chris Allegretta | a4a222d | 2001-02-20 03:52:13 +0000 | [diff] [blame] | 2557 | nano-0.9.99pre3 - 02/19/2001 |
Chris Allegretta | af6414a | 2001-02-11 19:05:05 +0000 | [diff] [blame] | 2558 | - General |
Chris Allegretta | 1bf501c | 2001-02-12 03:24:46 +0000 | [diff] [blame] | 2559 | GNU compliance issues: |
Jordi Mallach | a7b2ed0 | 2001-02-20 02:04:43 +0000 | [diff] [blame] | 2560 | - Reworked shortcut list, put "Get Help" into default list, |
Chris Allegretta | 1bf501c | 2001-02-12 03:24:46 +0000 | [diff] [blame] | 2561 | removed "Goto Line", aligned "Read File" with "Write Out" and |
| 2562 | "Replace" with "Where is" for consistency. |
| 2563 | - Added texinfo manual nano.texi. Added texi options to |
Chris Allegretta | c46dd81 | 2001-02-14 14:28:27 +0000 | [diff] [blame] | 2564 | Makefile.am. |
Chris Allegretta | de48b41 | 2001-02-01 22:56:44 +0000 | [diff] [blame] | 2565 | - configure.in: |
| 2566 | - Autoconf compatibility fixes (Pavel Roskin) |
Chris Allegretta | 618f5d7 | 2001-02-16 04:48:30 +0000 | [diff] [blame] | 2567 | - Added separate check for resizeterm(). |
Jordi Mallach | 82b1829 | 2001-02-17 01:31:32 +0000 | [diff] [blame] | 2568 | - ALL_LINGUAS: added hu and ca. |
Chris Allegretta | 09f39cb | 2001-02-05 13:43:23 +0000 | [diff] [blame] | 2569 | - cut.c: |
| 2570 | do_cut_text() |
| 2571 | - marked text cut fixes (Rocco) (Fixes bug #54). |
Chris Allegretta | 00ae5df | 2001-02-05 18:24:33 +0000 | [diff] [blame] | 2572 | - nano.c: |
Chris Allegretta | 4ed1315 | 2001-02-10 17:50:50 +0000 | [diff] [blame] | 2573 | do_delete() |
| 2574 | - Added check for current->next == fileptr, as we have a magic |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2575 | line code again, fixes silliness at the end of the last line |
Chris Allegretta | 4ed1315 | 2001-02-10 17:50:50 +0000 | [diff] [blame] | 2576 | before the magic line (reported by J.A. Neitzel). |
Chris Allegretta | 00ae5df | 2001-02-05 18:24:33 +0000 | [diff] [blame] | 2577 | do_justify() |
| 2578 | - If the keystroke after the justify is not the unjustify key, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2579 | blank the statusbar (bug reported by Neil Parks). |
Chris Allegretta | 8bc03b6 | 2001-02-09 02:57:52 +0000 | [diff] [blame] | 2580 | main() |
| 2581 | - Added ENABLE_NLS check around gettext stuff. |
Chris Allegretta | 4ce8e3b | 2001-02-16 01:49:31 +0000 | [diff] [blame] | 2582 | - winio.c: |
| 2583 | do_yesno() |
| 2584 | - Added localized yes, no and all strings to function and rewrote |
| 2585 | handler for the new format. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 2586 | - de.po: |
Jordi Mallach | 8119765 | 2001-02-16 20:00:03 +0000 | [diff] [blame] | 2587 | - Translation updates by Florian König. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 2588 | - fi.po: |
| 2589 | - Translation updates by Pauli Virtanen. |
Chris Allegretta | d096f68 | 2001-02-05 13:51:31 +0000 | [diff] [blame] | 2590 | - hu.po: |
| 2591 | - Hungarian translation by Horvath Szabolcs. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 2592 | - id.po: |
| 2593 | - Translation updates by Tedi Heriyanto. |
Jordi Mallach | 8119765 | 2001-02-16 20:00:03 +0000 | [diff] [blame] | 2594 | - es.po: |
Jordi Mallach | 6aec0d6 | 2001-02-17 01:32:58 +0000 | [diff] [blame] | 2595 | - Translation updates and grammatical/typo fixes (Jordi). |
Jordi Mallach | 82b1829 | 2001-02-17 01:31:32 +0000 | [diff] [blame] | 2596 | - ca.po: |
| 2597 | - Catalan translation by Jordi Mallach :) |
Jordi Mallach | a7b2ed0 | 2001-02-20 02:04:43 +0000 | [diff] [blame] | 2598 | - Miquel Vidal <miquel@sindominio.net> went over it and corrected |
| 2599 | many typos and completed bits that remained untranslated by error. |
Chris Allegretta | 7c1fee7 | 2001-01-31 23:24:54 +0000 | [diff] [blame] | 2600 | |
Chris Allegretta | 34318ed | 2001-01-31 23:22:36 +0000 | [diff] [blame] | 2601 | nano-0.9.99pre2 - 01/31/2001 |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 2602 | General |
Chris Allegretta | d4ddd01 | 2001-01-23 01:17:07 +0000 | [diff] [blame] | 2603 | - Removed center_x and center_y globals. center_y was |
| 2604 | completely unused and center_x was only used a few places, |
Chris Allegretta | 17276e5 | 2001-01-23 01:22:32 +0000 | [diff] [blame] | 2605 | easily replaced with COLS / 2 (oops, not current_x & y (Rob)). |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 2606 | - Deleted free_node, duplicate of delete_node, and changed all |
| 2607 | free_node calls to delete_node. |
Chris Allegretta | 0802088 | 2001-01-29 23:37:54 +0000 | [diff] [blame] | 2608 | - Fix for resizing the window in modes other than normal edit mode |
| 2609 | Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco). |
Chris Allegretta | 0fc2b81 | 2001-01-18 15:04:20 +0000 | [diff] [blame] | 2610 | - files.c: |
| 2611 | write_file() |
| 2612 | - Don't free() realname on error, if it needs to be free()d later |
| 2613 | it will be (fixes crash on successful write after failed write, |
| 2614 | discovered by David Sobon). |
Chris Allegretta | 8d9b11a | 2001-01-19 04:17:24 +0000 | [diff] [blame] | 2615 | username_tab_completion() |
| 2616 | - Optimization and removal of useless vars (Rocco). |
Chris Allegretta | 2c2c5f2 | 2001-01-23 03:27:31 +0000 | [diff] [blame] | 2617 | - Rewritten using getpwent (suggested by Rocco). |
Chris Allegretta | a711f7e | 2001-01-23 04:16:31 +0000 | [diff] [blame] | 2618 | - Removed redundant conditional (Rocco). |
Chris Allegretta | ee733e6 | 2001-01-22 22:17:08 +0000 | [diff] [blame] | 2619 | real_dir_from_tilde() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2620 | - Rewritten using getpwent (suggested by Adam, much optimized by |
| 2621 | Rocco). |
Chris Allegretta | f0b26df | 2001-01-20 22:18:18 +0000 | [diff] [blame] | 2622 | - global.c: |
| 2623 | - Don't define toggles global or toggle_init_one if using --tiny. |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 2624 | - nano.c: |
| 2625 | do_justify() |
| 2626 | - Added restoration of totsize after unjustify command. |
Chris Allegretta | 7f7ce56 | 2001-01-21 16:35:49 +0000 | [diff] [blame] | 2627 | usage() |
Chris Allegretta | e9a2d03 | 2001-01-21 16:08:21 +0000 | [diff] [blame] | 2628 | - Add arg to -T help (Rocco). |
Chris Allegretta | 0a06e07 | 2001-01-23 02:35:04 +0000 | [diff] [blame] | 2629 | global_init(), handle_sigwinch() |
| 2630 | - Messy loops replaced with memset calls (Rocco). |
Chris Allegretta | 169ee84 | 2001-01-26 01:57:32 +0000 | [diff] [blame] | 2631 | do_alt_speller() |
| 2632 | - Added code to parse multi-word alt_speller strings. |
Chris Allegretta | e434b45 | 2001-01-27 19:25:00 +0000 | [diff] [blame] | 2633 | - Fix initialization before fork() (Rocco). |
Chris Allegretta | 34318ed | 2001-01-31 23:22:36 +0000 | [diff] [blame] | 2634 | - proto.h: |
| 2635 | - Fix do_credits() proto (oops!) |
Chris Allegretta | e434b45 | 2001-01-27 19:25:00 +0000 | [diff] [blame] | 2636 | - winio.c: |
| 2637 | nanogetstr() |
| 2638 | - Sanity check for x overrunning the string buffer len. |
Chris Allegretta | 76745fb | 2001-01-18 04:40:06 +0000 | [diff] [blame] | 2639 | |
Chris Allegretta | 9d6f3f3 | 2001-01-21 02:35:03 +0000 | [diff] [blame] | 2640 | nano 0.9.99pre1 - 01/17/2001 |
Chris Allegretta | a4d6d1d | 2001-01-10 23:44:10 +0000 | [diff] [blame] | 2641 | General |
| 2642 | - Changed #ifdefs to check for both DISABLE_TABCOMP and |
| 2643 | NANO_SMALL, makes tiny option leave out tab completion, which |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 2644 | should be left out in that circumstance. Saves at least 5k. |
Rocco Corsi | 06aca1c | 2001-01-11 05:30:31 +0000 | [diff] [blame] | 2645 | - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 2646 | back. (Rocco) |
| 2647 | - Various #ifdef & #ifndef cleanups. (Rocco) |
Chris Allegretta | 201d9bf | 2001-01-14 03:17:53 +0000 | [diff] [blame] | 2648 | - Added message for when keypad goes awry. Added code in main and |
| 2649 | function print_numlock_warning() to notify user, and added an |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2650 | appropriate section in the faq to refer to this brokenness. |
Chris Allegretta | e61e830 | 2001-01-14 05:18:27 +0000 | [diff] [blame] | 2651 | - Added macros in nano.h for magic values that might be unclear in |
Chris Allegretta | 2be96d0 | 2001-01-14 05:22:43 +0000 | [diff] [blame] | 2652 | nano.c:global_init(). (Rocco) |
Chris Allegretta | bbebec6 | 2001-01-09 00:37:32 +0000 | [diff] [blame] | 2653 | - configure.in: |
| 2654 | - Fix for _use_keypad check breaking slang support (Christian |
| 2655 | Weisgerber). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2656 | - Changed to automatically define the 5 DISABLE variables when |
Chris Allegretta | 4ee0b41 | 2001-01-11 15:11:00 +0000 | [diff] [blame] | 2657 | NANO_SMALL (enable-tiny) is requested at configure. |
Chris Allegretta | 2c4feca | 2001-01-09 17:40:56 +0000 | [diff] [blame] | 2658 | - faq.html: |
| 2659 | - Added some info on making the binary smaller with the configure |
| 2660 | script. |
Chris Allegretta | 201d9bf | 2001-01-14 03:17:53 +0000 | [diff] [blame] | 2661 | - Added section on keypad bugginess. |
Chris Allegretta | bf69261 | 2001-01-08 16:59:19 +0000 | [diff] [blame] | 2662 | - files.c: |
| 2663 | real_dir_from_tilde() |
| 2664 | - Oops, fix case where buf ="~", silly crash (bug discovered by |
| 2665 | Neil Parks). |
Chris Allegretta | 8eac3b5 | 2001-01-08 21:14:04 +0000 | [diff] [blame] | 2666 | do_browser() |
| 2667 | - Added space and - keys to do page up and down. |
Chris Allegretta | a35ec04 | 2001-01-15 02:26:12 +0000 | [diff] [blame] | 2668 | cwd_tab_completion(), input_tab() |
| 2669 | - Changed bare malloc/calloc calls to nmalloc (found by Rocco). |
Chris Allegretta | 4058709 | 2001-01-16 04:45:38 +0000 | [diff] [blame] | 2670 | - Added memset() to matchBuf to ensure sanity (Rocco, Adam). |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 2671 | - nano.c: |
Chris Allegretta | 1748cd1 | 2001-01-13 17:22:54 +0000 | [diff] [blame] | 2672 | ABCD() |
| 2673 | - New function, figures out what kbinput to return given |
| 2674 | input common to several switch statements, allows us to |
| 2675 | support the default Konsole key settings. |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 2676 | main() |
| 2677 | - Alternate speller option no longer valid if DISABLE_SPELLER is |
| 2678 | active. (Rocco) |
Chris Allegretta | ae4318d | 2001-01-16 04:18:26 +0000 | [diff] [blame] | 2679 | - Removed direct calls to usage() (#else) for -k (cut) or -s (speller) |
| 2680 | options when these have been disabled. (Rocco) |
Chris Allegretta | 3693944 | 2001-01-15 20:26:38 +0000 | [diff] [blame] | 2681 | - Initialized kbinput to get around stupid compiler warning. |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 2682 | nano_small_msg() |
| 2683 | - This function has been removed. All references now call |
| 2684 | nano_disabled_msg. (Rocco) |
| 2685 | version() |
| 2686 | - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE |
| 2687 | variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not |
| 2688 | reported as enabled when Nano is called with -V (--version) |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2689 | command line option. (Rocco) |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 2690 | usage() |
| 2691 | - Alternate speller option no longer valid if DISABLE_SPELLER is |
| 2692 | active. (Rocco) |
Chris Allegretta | e61e830 | 2001-01-14 05:18:27 +0000 | [diff] [blame] | 2693 | window_init(), handle_sigwinch() |
| 2694 | - Added check for not having enough LINES to do anything useful, |
| 2695 | if so die with an error. (Rocco) |
| 2696 | die_too_small() |
| 2697 | - Function to print the window too small error message, avoids |
| 2698 | repeated string defs and globals. |
Robert Siemborski | c2eeb4e | 2001-01-17 03:29:02 +0000 | [diff] [blame] | 2699 | do_justify() |
| 2700 | - Small fix for totsize calculation (Rob) |
| 2701 | |
Chris Allegretta | d9742c6 | 2001-01-12 15:51:53 +0000 | [diff] [blame] | 2702 | - fi.po: |
| 2703 | - Update by Pauli Virtanen. |
Chris Allegretta | 7e08082 | 2001-01-08 02:31:03 +0000 | [diff] [blame] | 2704 | |
Chris Allegretta | 1699144 | 2001-01-07 22:06:11 +0000 | [diff] [blame] | 2705 | nano 0.9.25 - 01/07/2001 |
Chris Allegretta | f4b9601 | 2001-01-03 07:11:47 +0000 | [diff] [blame] | 2706 | General - |
| 2707 | - New file browser code. New functions in files.c:do_browser(), |
| 2708 | helper functions browser_init(), tail(), striponedir(), |
| 2709 | filestat(). New shortcut list browser_list. Some new |
Chris Allegretta | 150469a | 2001-01-05 21:13:14 +0000 | [diff] [blame] | 2710 | strings to translate. Added function do_browse_from(). |
Chris Allegretta | c08f50d | 2001-01-06 18:12:43 +0000 | [diff] [blame] | 2711 | - Keypad code has been changed slightly. Now checks for |
| 2712 | _use_keypad flag in window to see whether or not to turn |
| 2713 | the keypad() back off when finished (taken from aumix). Moved |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2714 | to winio.c where it should probably be anyway. New configure |
| 2715 | check for _use_keypad in window struct. This will have to do |
Chris Allegretta | c08f50d | 2001-01-06 18:12:43 +0000 | [diff] [blame] | 2716 | for now. |
Chris Allegretta | 155d620 | 2001-01-08 01:50:37 +0000 | [diff] [blame] | 2717 | - Moved keypad() calls for PDCURSES from main() to window_init() |
| 2718 | so the keypad continues to work after a Meta-X, for example. |
| 2719 | Fixed bug #51. |
Jordi Mallach | 56e6d72 | 2000-12-19 22:59:55 +0000 | [diff] [blame] | 2720 | - faq.html: |
| 2721 | - Fix typos and small mistakes (Jordi). |
Chris Allegretta | ee289d7 | 2000-12-27 16:12:47 +0000 | [diff] [blame] | 2722 | - files.c: |
Rocco Corsi | 8b6cccc | 2001-01-02 06:21:07 +0000 | [diff] [blame] | 2723 | username_tab_completion() |
| 2724 | - Added the (char *) sizeof when allocating memory for the filename |
| 2725 | array (Rocco). |
Chris Allegretta | ee289d7 | 2000-12-27 16:12:47 +0000 | [diff] [blame] | 2726 | cwd_tab_completion() |
| 2727 | - removed skipping . and .. when tabulating matches. |
Rocco Corsi | 8b6cccc | 2001-01-02 06:21:07 +0000 | [diff] [blame] | 2728 | - Added the (char *) sizeof when allocating memory for the filename |
| 2729 | array (Rocco). |
Chris Allegretta | e1ebaf3 | 2001-01-07 05:50:36 +0000 | [diff] [blame] | 2730 | do_writeout() |
| 2731 | - Now takes an argument so the string typed in can be retained |
| 2732 | when calling the browser. |
Chris Allegretta | 816a165 | 2001-01-06 17:43:56 +0000 | [diff] [blame] | 2733 | do_browser() |
| 2734 | - Don't decrement longest by the length of path. Fixes crashes |
| 2735 | on entering various dirs (Rocco). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2736 | - Don't ungetch() the exit key, unneeded, fixes inserting a file |
Chris Allegretta | 816a165 | 2001-01-06 17:43:56 +0000 | [diff] [blame] | 2737 | causes exit code. |
Chris Allegretta | 155d620 | 2001-01-08 01:50:37 +0000 | [diff] [blame] | 2738 | - move.c: |
| 2739 | page_down() |
| 2740 | - Don't do an edit_update when there is only one page of text |
| 2741 | (fileage == edittop && filebot == editbot). Fixes Bug #50. |
Chris Allegretta | d55655f | 2000-12-27 03:36:47 +0000 | [diff] [blame] | 2742 | - nano.c: |
| 2743 | main() |
| 2744 | - Reorder the getopt options to be more or less alphabetical |
| 2745 | (suggested by Sven Guckes). |
Chris Allegretta | 66795ec | 2000-12-27 04:47:28 +0000 | [diff] [blame] | 2746 | - winio.c: |
| 2747 | do_cursorpos() |
| 2748 | - Optimizations and cleanups by Rocco Corsi. |
Chris Allegretta | 827b15f | 2001-01-03 02:09:04 +0000 | [diff] [blame] | 2749 | do_credits() |
| 2750 | - Spell Erik Andersen's name right. |
Chris Allegretta | f4b9601 | 2001-01-03 07:11:47 +0000 | [diff] [blame] | 2751 | titlebar() |
| 2752 | - Now takes an arg, needed for browser function. |
Chris Allegretta | 7044489 | 2001-01-07 23:02:02 +0000 | [diff] [blame] | 2753 | do_help() |
| 2754 | - Changed way of temporarily bringing up shortcuts at the |
| 2755 | bottom in the help screen (actually works). |
Chris Allegretta | 150469a | 2001-01-05 21:13:14 +0000 | [diff] [blame] | 2756 | - utils.c: |
| 2757 | mallocstrcpy() |
| 2758 | - Takes char pointers now instead of void (makes debugging a |
| 2759 | helluva lot easier) |
Chris Allegretta | e1ebaf3 | 2001-01-07 05:50:36 +0000 | [diff] [blame] | 2760 | - Duh, don't do anything if src == dest! |
Jordi Mallach | 75ef81b | 2001-01-04 16:48:59 +0000 | [diff] [blame] | 2761 | - es.po: |
| 2762 | - Updates for file browser (Jordi). |
Chris Allegretta | 827b15f | 2001-01-03 02:09:04 +0000 | [diff] [blame] | 2763 | |
Chris Allegretta | 66149e7 | 2000-12-19 02:51:06 +0000 | [diff] [blame] | 2764 | nano 0.9.24 - 12/18/2000 |
Chris Allegretta | 3bc8c72 | 2000-12-10 17:03:25 +0000 | [diff] [blame] | 2765 | General |
| 2766 | - Added --disable-help option, affects acconfig.h, configure(.in), |
Chris Allegretta | b7d00ef | 2000-12-18 05:36:51 +0000 | [diff] [blame] | 2767 | winio.c:do_help, nano.c:help_init,help_text_init,version. |
Chris Allegretta | 1a6e904 | 2000-12-14 13:56:28 +0000 | [diff] [blame] | 2768 | - Changed filename to no longer use PATH_MAX, so it can work on the |
| 2769 | HURD. Changes in files.c:write_file(), new function |
| 2770 | nano.c:clear_filename(), many changed in main(), a few other |
| 2771 | places. Please test this! |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 2772 | - Added -b, -e, and -f flags, which we ignore as nano provides |
| 2773 | their functionality already. |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 2774 | - cut.c: |
| 2775 | do_uncut_text() |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 2776 | - Fix renumbering bug when uncutting marked text at filebot. |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 2777 | - Fix screen not being displayed when we are uncutting marked |
| 2778 | text at editbot (Bug discovered by Ken Tyler). |
Chris Allegretta | e51c95f | 2000-12-10 05:54:27 +0000 | [diff] [blame] | 2779 | - Fix magic line not getting created when (you guessed it) |
| 2780 | uncutting marked text at filebot (Ryan Krebs). |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 2781 | - files.c: |
Chris Allegretta | 3a7c0be | 2000-12-18 01:09:07 +0000 | [diff] [blame] | 2782 | read_file() |
| 2783 | - If we encounter an error and insert is not set, run new_file(). |
| 2784 | (bug discovered by Ben Roberts). |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 2785 | write_file() |
| 2786 | - Change open call flags, basically copy joe's way of doing it so |
| 2787 | a more recent version will actually be included in (un)stable. |
Chris Allegretta | 1cd5066 | 2000-12-11 02:47:12 +0000 | [diff] [blame] | 2788 | - Remove useless fstat call. |
Chris Allegretta | 7960dcf | 2000-12-13 15:01:29 +0000 | [diff] [blame] | 2789 | open_file() |
| 2790 | - Added check for S_ISBLK and S_ISCHR, don't open device files! |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 2791 | - nano.c: |
| 2792 | renumber() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2793 | - Don't stupidly assign the value of prev->lineno if prev == NULL! |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 2794 | main() |
| 2795 | - Added code to check for Alt-Alt (27-27) keystrokes and set the |
| 2796 | next keystroke as a control sequence. New variable |
| 2797 | modify_control_key. Removed #ifdef _POSIX_VDISABLE check |
| 2798 | around Control-S,Q,Z handlers because we need it now for |
| 2799 | the Alt-Alt-x code. |
Chris Allegretta | 7492cec | 2000-12-18 04:55:21 +0000 | [diff] [blame] | 2800 | - Added --view option to getopt_long()call . Bug discovered |
| 2801 | by Rocco Corsi. |
Chris Allegretta | 220ba69 | 2000-12-18 03:40:00 +0000 | [diff] [blame] | 2802 | help_init() |
| 2803 | - Fix off by one error that was making ^G help in normal mode and |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 2804 | ^_ in Pico mode not be displayed in the help (bug discovered by |
Chris Allegretta | 92325e7 | 2000-12-18 03:44:22 +0000 | [diff] [blame] | 2805 | Rocco Corsi). |
Chris Allegretta | affeda8 | 2000-12-18 04:03:48 +0000 | [diff] [blame] | 2806 | do_toggle() |
| 2807 | - Added fix_editbot() call to fix improper redisplay of edit |
| 2808 | window when using nohelp toggle (bug discovered by Rocco Corsi). |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 2809 | - nano.1, nano.1.html: |
| 2810 | - Updated man page for -b, -e, -f and expanded explanation for -p. |
Chris Allegretta | d1627cf | 2000-12-18 05:03:16 +0000 | [diff] [blame] | 2811 | - winio.c |
| 2812 | do_help() |
| 2813 | - Force keypad on so F-keys and PageUp/Down will work properly. |
| 2814 | Added check for NANO_EXIT_FKEY to loop. |
Chris Allegretta | e51c95f | 2000-12-10 05:54:27 +0000 | [diff] [blame] | 2815 | - utils.c: |
| 2816 | new_magicline() |
Chris Allegretta | 321590a | 2000-12-10 06:03:40 +0000 | [diff] [blame] | 2817 | - Increment totsize!! We decrement it when we've read a file, |
| 2818 | everywhere else it should automatically be incremented |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 2819 | |
Chris Allegretta | b29550e | 2000-12-09 03:34:12 +0000 | [diff] [blame] | 2820 | nano 0.9.23 - 12/08/2000 |
Chris Allegretta | 7b36c52 | 2000-12-06 01:08:10 +0000 | [diff] [blame] | 2821 | General |
| 2822 | - Changed --disable-spell to --disable speller. The term is |
| 2823 | "speller" for -s, so it should be --disable-speller. |
Chris Allegretta | 5982849 | 2000-12-04 03:31:39 +0000 | [diff] [blame] | 2824 | - files.c: |
| 2825 | write_file() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2826 | - Added tmp check to TMP_OPT section (how appropriate). |
Chris Allegretta | 07f9ee0 | 2000-12-04 05:15:39 +0000 | [diff] [blame] | 2827 | - Added new consistency checking code from securityfocus |
Chris Allegretta | fb2226a | 2000-12-04 05:25:47 +0000 | [diff] [blame] | 2828 | article by Oliver Friedrichs, and use O_EXCL if tmp == 1. |
Chris Allegretta | 928a7f5 | 2000-12-04 05:31:34 +0000 | [diff] [blame] | 2829 | - We now run check on result of lstat(), not stat(), to be |
| 2830 | safer. New variable anyexists, we use still use realexists |
| 2831 | later in the program. |
Chris Allegretta | 71e4640 | 2000-12-06 00:40:26 +0000 | [diff] [blame] | 2832 | - OOPS, line up link/unlink/rename check if conditional with |
| 2833 | top if conditional. Option -l has been broken for 9 versions, |
| 2834 | no one noticed?! |
Chris Allegretta | 1bd0ce2 | 2000-12-06 05:56:08 +0000 | [diff] [blame] | 2835 | - Added saving perms at end of link so we can apply them to the |
| 2836 | new file if --nofollow is used. |
Chris Allegretta | 908805a | 2000-12-04 04:42:56 +0000 | [diff] [blame] | 2837 | - winio.c: |
| 2838 | edit_add() |
| 2839 | - Off by one display error (fix by Rocco Corsi). |
Chris Allegretta | fb62f73 | 2000-12-05 11:36:41 +0000 | [diff] [blame] | 2840 | do_replace_highlight() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2841 | - New code to handle being past COLS (Rocco Corsi). |
Chris Allegretta | fb62f73 | 2000-12-05 11:36:41 +0000 | [diff] [blame] | 2842 | - Moved from search.c, as it's definitely a winio function now =) |
| 2843 | update_line() |
| 2844 | - More '$' display fixes (Rocco Corsi). |
Chris Allegretta | 5982849 | 2000-12-04 03:31:39 +0000 | [diff] [blame] | 2845 | |
Chris Allegretta | fedd724 | 2000-12-03 03:15:38 +0000 | [diff] [blame] | 2846 | nano 0.9.22 - 12/02/2000 |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 2847 | - General |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 2848 | - Username tab completion code, and cleaned up existing tabcomp |
| 2849 | code. New functions real_dir_from_tide(), append_slash_if_dir(), |
| 2850 | username_tab_completion is more than a stub now =-). |
Chris Allegretta | 7262358 | 2000-11-29 23:43:28 +0000 | [diff] [blame] | 2851 | - Ignore key sequence 543 & 545, right control and alt keys in |
| 2852 | windows. Affects main() and winio.c:nanogetstr(). |
Chris Allegretta | 56b24b5 | 2000-11-29 23:57:20 +0000 | [diff] [blame] | 2853 | - Took out help from spell_list and changed SPELL_LIST_LEN to 1. |
| 2854 | Is using a spell checker THAT difficult? =-) |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 2855 | - New function nano_disabled_msg(), to alert that certain |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2856 | functions have been disabled, similar to nano_tiny feature. |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 2857 | - New configure options: |
| 2858 | - Added configure argument --disable-tabcomp. Affects |
| 2859 | bottom of files.c and write_file, utils.c:check_wildcard_match() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2860 | and winio.c:nanogetstr(). |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 2861 | - New options --enable-extra. New code in nano.c:version() to |
| 2862 | print out various options from ./configure, function do_credits(). |
| 2863 | - Added --disable-spell option for those who want to just disable |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2864 | the spell check feature. Affects the spelling functions |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 2865 | do_spell, do_int_speller and do_alt_speller. |
| 2866 | - Added --disable-justify to get rid of the justify function. |
| 2867 | Affects do_justify() (not surprisingly). |
Chris Allegretta | 650e8a4 | 2000-11-24 14:15:17 +0000 | [diff] [blame] | 2868 | - files.c: |
| 2869 | write_file() |
| 2870 | - Unsetting modified on temp files bug fixed (Rocco Corsi). |
Chris Allegretta | 581bc60 | 2000-12-03 03:01:12 +0000 | [diff] [blame] | 2871 | - Okay, if tmp == 1 and the file exists, we abort. |
Chris Allegretta | 25f4e58 | 2000-11-25 05:03:20 +0000 | [diff] [blame] | 2872 | do_insertfile() |
Chris Allegretta | 09a8084 | 2000-11-30 02:31:13 +0000 | [diff] [blame] | 2873 | - Added call to real_name_from tilde, oops. Added check for |
| 2874 | DISABLE_TABCOMP. |
Chris Allegretta | 24946bd | 2000-11-26 21:34:47 +0000 | [diff] [blame] | 2875 | read_file() |
| 2876 | - Added check for fileptr == NULL. |
Chris Allegretta | 0779835 | 2000-11-27 22:58:23 +0000 | [diff] [blame] | 2877 | - global.c: |
| 2878 | shortcut_init() |
| 2879 | - Now takes an argument as to whether to display the unjustify |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2880 | shortcut or the normal uncut text one. Needed to accommodate |
| 2881 | the kludgey unjustify code. |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 2882 | - nano.1, nano.1.html: |
| 2883 | - Updated date on pages because of -p changes. |
Jordi Mallach | d7ad75a | 2000-12-03 02:46:02 +0000 | [diff] [blame] | 2884 | - Added "NOTES" section, where I explain what nano.save & friends |
| 2885 | are. |
| 2886 | - Added a copyright notice for the manpage, under the GPL. |
| 2887 | - Other minor changes. |
Chris Allegretta | 9149e61 | 2000-11-27 00:23:41 +0000 | [diff] [blame] | 2888 | - nano.c: |
| 2889 | do_justify() |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 2890 | - Wrote unjustify code. Borrows cutbuffer and stores the unjustified |
| 2891 | text there, then grabs the next keystroke and, if the unjustify |
| 2892 | key, gets rid of the justified text and calls do_uncut_text. |
| 2893 | Added macro NANO_UNJUSTIFY_KEY. |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 2894 | do_int_spell* |
| 2895 | - Various fixes (Rocco Corsi). |
| 2896 | - Changed abort of program to aborting based on value of "edit a |
| 2897 | replacement" question, and not caring about the replace loop |
| 2898 | return value. That way the user can get out of the replace loop |
| 2899 | and continue spell checking (very important to me anyway). |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 2900 | version() |
| 2901 | - Took out huge check for the various --disabled macros, |
| 2902 | eventually there will be too many to reasonably check for. |
Chris Allegretta | 4eb7aa0 | 2000-12-01 18:57:11 +0000 | [diff] [blame] | 2903 | nano_small_msg(), nano_disabled_msg() |
| 2904 | - Added checks for disabled functions to see whether or not to |
| 2905 | declare them. |
Chris Allegretta | 9e2934f | 2000-12-01 23:49:48 +0000 | [diff] [blame] | 2906 | do_next_word() |
| 2907 | - Update the previous line as well as the current one in case we |
| 2908 | have moved beyond COLS or back from COLS, patch submitted |
| 2909 | by Ryan Krebs. |
Chris Allegretta | e7a5893 | 2000-12-02 02:36:22 +0000 | [diff] [blame] | 2910 | die() |
| 2911 | - Now creates .save file using variable-length strings. Also |
| 2912 | calls write_file with tmp == 1, which happens to do exactly what |
Chris Allegretta | 581bc60 | 2000-12-03 03:01:12 +0000 | [diff] [blame] | 2913 | we want (abort on save file exists and use mode 0600). |
Chris Allegretta | e7a5893 | 2000-12-02 02:36:22 +0000 | [diff] [blame] | 2914 | handle_sighup() |
| 2915 | - Now calls die instead of writing on its own and exiting normally. |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 2916 | - search.c: |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 2917 | do_replace_highlight() |
| 2918 | - New function, displays the currently selected word as highlighted |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 2919 | in the spell check. Called from do_replace_loop (Rocco Corsi). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 2920 | - Added calls to curs_set(0) and (1) to disable the cursor when |
| 2921 | highlighting, looks much better. |
Jordi Mallach | d819a4c | 2000-11-25 04:50:25 +0000 | [diff] [blame] | 2922 | - es.po: |
| 2923 | - Traditional Spanish strings updates. |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 2924 | |
Chris Allegretta | ca7a21d | 2000-11-24 01:35:40 +0000 | [diff] [blame] | 2925 | nano 0.9.21 - 11/23/2000 |
Chris Allegretta | f26bca7 | 2000-11-21 03:04:45 +0000 | [diff] [blame] | 2926 | - AUTHORS |
| 2927 | - Added Rocco Corsi. |
Chris Allegretta | 31c7666 | 2000-11-21 06:20:20 +0000 | [diff] [blame] | 2928 | - nano.c: |
| 2929 | main() |
| 2930 | - Changed check for argc == 1 to argv[optind] == NULL to decide |
| 2931 | whether or not to display "New File" in the statusbar. |
Chris Allegretta | aaabe1f | 2000-11-19 18:20:07 +0000 | [diff] [blame] | 2932 | - search.c: |
| 2933 | findnextstr() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2934 | - Fix current_x increment bug by using another variable (Rocco Corsi). |
Chris Allegretta | ef601bb | 2000-11-19 19:15:03 +0000 | [diff] [blame] | 2935 | search_init() |
| 2936 | - Silly typo in our "one simple call" of statusq. Stopped |
| 2937 | previous search string from being displayed. |
Chris Allegretta | c793c43 | 2000-11-21 12:52:55 +0000 | [diff] [blame] | 2938 | do_replace() |
| 2939 | - Copy back the previous value of last_replace into answer if |
| 2940 | using PICO_MODE and answer == "" |
Chris Allegretta | 6c5781b | 2000-11-23 01:19:58 +0000 | [diff] [blame] | 2941 | - winio.c: |
| 2942 | do_up() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2943 | - Deleted first update_line() call, screws up display when marker is |
| 2944 | set. |
Chris Allegretta | d466ab7 | 2000-11-19 20:36:41 +0000 | [diff] [blame] | 2945 | - nano.1, nano.1.html |
| 2946 | - Updated man page for new -p definition. |
Chris Allegretta | ac0e63a | 2000-11-19 02:25:43 +0000 | [diff] [blame] | 2947 | |
Chris Allegretta | 6da149a | 2000-11-19 02:23:03 +0000 | [diff] [blame] | 2948 | nano 0.9.20 - 11/18/2000 |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 2949 | - General |
| 2950 | - Ran source through indent -kr again. Make everything pretty. |
| 2951 | - Changed behavior of "search" and "replace" prompts to make all |
| 2952 | previous values editable. This change was made so that you can |
| 2953 | replace with the null string without needing a special key for it. |
| 2954 | changed code in search_init(), do_replace(), nanogetstr (see |
| 2955 | below). |
| 2956 | - Added some missing gettext calls here and there (Jordi). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2957 | - Revamped nanogetstr() and calls to it to use variable length |
| 2958 | strings. |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 2959 | MANY changes in nanogetstr(), many chances in search.c, new |
| 2960 | function mallocstrcpy which is sure to be a programmatic |
| 2961 | nightmare, changed last_search, last_replace, answer to |
| 2962 | pointers. New function not_found_msg in search.c for displaying |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2963 | truncated strings in statusbar when the string is not found |
Chris Allegretta | cbb0f8b | 2000-11-15 03:50:02 +0000 | [diff] [blame] | 2964 | (-pedantic fixes by Rocco Corsi). We disable this feature when |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 2965 | using PICO_MODE (-p). |
Chris Allegretta | 27eb13f | 2000-11-05 16:52:21 +0000 | [diff] [blame] | 2966 | - New spelling code by Rocco Corsi. New functions |
| 2967 | do_int_speller, do_alt_speller, changes to do_spell in nano.c, |
| 2968 | New functions search_init_globals and do_replace_loop, changes |
| 2969 | to search_init(), do_replace, findnextstr, moved last_search and |
| 2970 | last_replace back to nano.c (*shrug*). |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 2971 | - New tab completion code. Used check_wildcard_match, input_tab, |
| 2972 | cwd_tab_completion, username_tab_completion from busybox, |
Chris Allegretta | 7da4e9f | 2000-11-06 02:57:22 +0000 | [diff] [blame] | 2973 | hacked them a lot, changes to nanogetstr(). nanogetstr() and |
| 2974 | statusq() now take an arg for whether or not to allow tab |
| 2975 | completion. |
Chris Allegretta | 5bf51d3 | 2000-11-16 06:01:10 +0000 | [diff] [blame] | 2976 | - Fixed value being input in statusbar during a search or replace |
| 2977 | and CASE_SENSITIVE or the other search is called and the |
| 2978 | string being typed in is blown away. Reported by Ken Tyler. |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 2979 | - Changed PICO_MSGS flag to PICO_MODE, changed help strings |
| 2980 | accordingly. |
Chris Allegretta | 92d2bab | 2000-11-02 14:53:46 +0000 | [diff] [blame] | 2981 | - files.c: |
| 2982 | do_writeout() |
| 2983 | - Change strcpy to answer to mallocstrcpy. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 2984 | - global.c |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 2985 | - New global replace_list_2, for 2nd half of the replace dialog |
| 2986 | ("Replace with:"), has fewer options than first half because |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2987 | they were inappropriate. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 2988 | toggle_init() |
| 2989 | - Added #ifdef around toggle_regex_msg to get rid of compiler |
| 2990 | warning. |
Chris Allegretta | 1cc0b7f | 2000-11-03 01:29:04 +0000 | [diff] [blame] | 2991 | |
| 2992 | - nano.c: |
| 2993 | keypad_on() |
| 2994 | - New function, toggles turning the keypad on and off in edit and |
| 2995 | bottomwin(). Added call to this in finish(), fixes bug #45. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 2996 | - search.c |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2997 | findnextstr() |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 2998 | - New arg for begin_x variable, basically a rewrite that |
| 2999 | makes a little more sense and isn't quite as messy (Rocco Corsi). |
| 3000 | - Update the line we're checking if not the whole screen, because |
| 3001 | it's quite possible the search team could exist somewhere way |
| 3002 | to the right on the same line, for example. |
| 3003 | replace_abort() |
| 3004 | - Add reset of placewewant, stops cursor from jumping when moving |
| 3005 | cursor after a replace. |
Chris Allegretta | 810632d | 2000-10-27 04:36:01 +0000 | [diff] [blame] | 3006 | do_replace() |
| 3007 | - Added code for Gotoline key after entering the search term. |
| 3008 | Fixes bug #46. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3009 | - Removed redundant code involving processing replacement string. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 3010 | Converted if statements to switch statements. |
| 3011 | - Optimizations by Rocco Corsi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 3012 | - Removed code for deleted shortcuts from in replace_list_2. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 3013 | do_search() |
| 3014 | - Converted if statements to one switch statement. |
Chris Allegretta | f9b6c9b | 2000-10-18 19:35:59 +0000 | [diff] [blame] | 3015 | - winio.c |
| 3016 | nanogetstr() |
| 3017 | - Added check for 343 in while loop to get rid of getting "locked" |
| 3018 | into statusbar" bug in odd $TERMs like iris-ansi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 3019 | - Changed check to return -2 on "enter" from answer == "" |
| 3020 | to answer == def. |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 3021 | - Fixed fallthrough code because there was no break. Make much |
| 3022 | more sense now. |
Chris Allegretta | 5b1faac | 2000-11-16 19:55:30 +0000 | [diff] [blame] | 3023 | - Added check for ASCII 54[124] when using PDCURSES, ignore them |
| 3024 | if noticed. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 3025 | nanoget_repaint() |
| 3026 | - New function, removes about 30 lines of duplicate code in |
| 3027 | nanogetstr(). |
Chris Allegretta | 90594e2 | 2000-11-02 15:53:40 +0000 | [diff] [blame] | 3028 | - Black magic code to make $ appear in prompt if we're past |
| 3029 | COLS. |
Chris Allegretta | 2c97522 | 2000-11-15 01:25:42 +0000 | [diff] [blame] | 3030 | blank_edit() |
| 3031 | - Removed wrefresh() call, much less choppy now. If there's a need |
| 3032 | for a wrefresh after a specific call, let me know. |
Jordi Mallach | 0ae0dcd | 2000-10-28 12:38:02 +0000 | [diff] [blame] | 3033 | - es.po: |
Jordi Mallach | d25385b | 2000-11-18 03:31:21 +0000 | [diff] [blame] | 3034 | - Updated translation for 0.9.20 (Jordi). |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 3035 | |
Chris Allegretta | 07e97d6 | 2000-10-03 01:52:50 +0000 | [diff] [blame] | 3036 | nano 0.9.19 - 10/02/2000 |
Chris Allegretta | ad1dacc | 2000-09-21 04:25:45 +0000 | [diff] [blame] | 3037 | - General |
| 3038 | - Added PDCurses support under cygwin, which allows building |
| 3039 | a nice stand-alone nano.exe for those poor Windows users. |
| 3040 | Extra check in configure.in for initscr() in -lcurses (as |
| 3041 | PDcurses has no tgetent), some #ifdef PDCURSES statements |
| 3042 | in main(). |
Chris Allegretta | 66989d6 | 2000-09-27 03:16:11 +0000 | [diff] [blame] | 3043 | - Changed web site and email to new nano-editor.org domain. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 3044 | - nano.c |
Chris Allegretta | 9e7efa3 | 2000-10-02 03:42:55 +0000 | [diff] [blame] | 3045 | - Added (int) casts to remove compile warnings with -Wall. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 3046 | main() |
| 3047 | - Added check for _POSIX_VDISABLE around term variable definition. |
Chris Allegretta | df3afdc | 2000-10-01 17:50:29 +0000 | [diff] [blame] | 3048 | - search.c |
| 3049 | - Added initializations for last_search and last_replace (Rocco Corsi) |
| 3050 | |
Chris Allegretta | 629edad | 2000-09-19 00:27:19 +0000 | [diff] [blame] | 3051 | nano 0.9.18 - 09/18/2000 |
Chris Allegretta | 805c26d | 2000-09-06 13:39:17 +0000 | [diff] [blame] | 3052 | - General |
| 3053 | - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, |
| 3054 | added check for regex.h in configure.in. |
Chris Allegretta | 90bd712 | 2000-09-13 18:12:05 +0000 | [diff] [blame] | 3055 | - configure.in: |
| 3056 | - Added default case for cross-compiling to get rid of annoying |
| 3057 | AC_TRY_RUN warning. |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 3058 | - cut.c: |
| 3059 | do_cut_text() |
| 3060 | - Don't immediately abort if we're on filebot and the marker is |
Chris Allegretta | d746d90 | 2000-09-05 13:15:44 +0000 | [diff] [blame] | 3061 | set (fixes bug #42). |
Chris Allegretta | f45c18d | 2000-09-16 05:25:06 +0000 | [diff] [blame] | 3062 | - files.c: |
| 3063 | open_file() |
| 3064 | - Fix for bug #44 (Rocco Corsi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 3065 | - global.c: |
| 3066 | shortcut_init() |
| 3067 | - Added in FKEYs that for some reason were left out. *boggle* |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 3068 | - nano.c: |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 3069 | main() |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 3070 | - Added check for _POSIX_VDISABLE and use raw mode if not |
| 3071 | available, allows nano to work with cygwin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 3072 | - Added gettext calls to enable/disable strings (Jordi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 3073 | - Revamped a great deal of the F-key and keypad key handling, |
| 3074 | because we not longer use keypad() (see below). |
| 3075 | - Removed keypad() call because nano was not working with the |
| 3076 | keypad in many terms, which is very bad. |
Chris Allegretta | 9c35eb0 | 2000-09-13 14:24:52 +0000 | [diff] [blame] | 3077 | - Made insert key call do_insertfile(). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 3078 | do_toggle() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3079 | - Rewrote function to allow NOHELP toggle to work on systems |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 3080 | without a working resizewin(). New function window_init(). |
Chris Allegretta | 0b88ce0 | 2000-09-15 15:46:32 +0000 | [diff] [blame] | 3081 | mouse_init() |
| 3082 | - Add keypad only if mouse support is on, otherwise mouse doesn't |
| 3083 | work. I guess you have to choose between having the mouse and |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3084 | having a working keypad for the time being (thank god for Meta-M). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 3085 | - winio.c: |
| 3086 | total_refresh() |
| 3087 | - Added titlebar() call. |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 3088 | onekey() |
| 3089 | - Off by one error fix fix ;-) (Rocco Corsi). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 3090 | |
Chris Allegretta | b9bfc9b | 2000-09-10 05:06:09 +0000 | [diff] [blame] | 3091 | - search.c: |
| 3092 | findnextstr() |
| 3093 | - Reset starting at current for search instead of begin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 3094 | - es.po: |
| 3095 | - Translated new strings and minor updates (Jordi). |
Chris Allegretta | 834a69d | 2000-09-18 17:11:33 +0000 | [diff] [blame] | 3096 | - de.po |
| 3097 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 3098 | |
Chris Allegretta | 423cbfd | 2000-09-04 16:21:29 +0000 | [diff] [blame] | 3099 | nano-0.9.17 - 09/04/2000 |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 3100 | - General |
| 3101 | - New shortcuts to toggle certain options that are normally only |
| 3102 | flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called |
| 3103 | toggles in nano.h, toggle_init(), toggle_init_one() in global.c |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 3104 | called from shortcut_init(), and do_toggle in nano.c. Also |
| 3105 | moved the signal code into a separate function in nano.c called |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 3106 | signal_init(). Moved "struct sigaction act"into a static in |
| 3107 | nano.c. |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 3108 | - Changed from Alt-key symbol (@) which is completely nonstandard |
| 3109 | to the *nix "Meta" symbol (M-). Changed help_init to show |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3110 | the M-key usage and the help text to explain keys which generate |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 3111 | Meta. Moved the toggle Meta keystrokes to the first column |
| 3112 | instead of the third as they are the primary keystrokes for the |
Chris Allegretta | 9541f2a | 2000-09-02 07:31:32 +0000 | [diff] [blame] | 3113 | functions. Thanks Mini editor team :-> |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 3114 | - Changed last_search and last_replace vars to statically |
| 3115 | allocated (hence nulled) and moved to search.c (Matt Kraai). |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 3116 | - global.c: |
| 3117 | toggle_init() |
| 3118 | - Changed "No auto wrap" and "No help mode" to "Auto wrap" and |
| 3119 | "Help mode". See the change to do_toggle() below. |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 3120 | - nano.c: |
| 3121 | do_mouse() |
| 3122 | - Patch for handling lines w/tabs and mouse better (Ben Roberts). |
Chris Allegretta | 340d6e5 | 2000-08-29 03:55:29 +0000 | [diff] [blame] | 3123 | do_wrap() |
| 3124 | - Made wrapping code less ambitious. |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 3125 | do_toggle() |
| 3126 | - Added checks for no help and no wrap mode, and print opposite |
| 3127 | enable/disable message. |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 3128 | do_suspend(), do_cont(): |
| 3129 | - New functions, handle suspend signal in a Pico-like manner and |
| 3130 | work with Meta-Z. |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 3131 | - winio.c: |
| 3132 | total_refresh() |
| 3133 | - Added edit_refresh() call to actually update the screen if messy. |
| 3134 | edit_refresh_clearok() |
| 3135 | - New function, does a total update for edit refresh, needed to fix |
| 3136 | lack of reversed text on searching with MARK_ISSET. |
Chris Allegretta | dabc3cb | 2000-08-25 01:44:12 +0000 | [diff] [blame] | 3137 | onekey() |
| 3138 | - Off by one error fix (Rocco Corsi). |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 3139 | |
Chris Allegretta | 6306a11 | 2000-09-02 07:55:41 +0000 | [diff] [blame] | 3140 | update_line() |
| 3141 | - Added check for binary data >= 1 and <= 26, and use ^+letter |
| 3142 | to display it. Should fix editing text files with binary |
| 3143 | data in them. Placing of the cursor seems to be a bit screwed |
| 3144 | though... |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 3145 | - search.c: |
| 3146 | search_abort() |
| 3147 | - Now calls edit_refresh_clearok when MARK_ISSET to handle screen |
| 3148 | ugliness bug (reported by Ken Tyler). |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 3149 | findnextstr(): |
| 3150 | - Added reset for placewewant (Ben Roberts). |
Chris Allegretta | 9babaf3 | 2000-08-30 13:49:33 +0000 | [diff] [blame] | 3151 | - Fixed check for string that only occurs on the same line failing |
| 3152 | (discovered by Ken Tyler). |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 3153 | |
Chris Allegretta | ba96f7a | 2000-08-09 21:38:28 +0000 | [diff] [blame] | 3154 | nano-0.9.16 - 08/09/2000 |
Chris Allegretta | 7dc14e8 | 2000-08-05 16:03:19 +0000 | [diff] [blame] | 3155 | - cut.c: |
| 3156 | do_cut_text() |
| 3157 | - Fixed getting locked into cutbuffer on cutting first line of file. |
Chris Allegretta | c86f714 | 2000-08-07 14:39:32 +0000 | [diff] [blame] | 3158 | - Added check_statblank(). |
| 3159 | - Check for fileptr == filebot, if so return, we shouldn't bother |
| 3160 | cutting the magic line. |
| 3161 | do_uncut_text() |
| 3162 | - Added check_statblank(). |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 3163 | - nano.c: |
| 3164 | main() |
| 3165 | - Changed tabsize long arg to actually accept an argument *sigh*. |
Chris Allegretta | 81b1eea | 2000-08-05 16:09:07 +0000 | [diff] [blame] | 3166 | - po/Makefile.in.in: |
| 3167 | - Patch to handle $DESTDIR (orig by Dan Harnett contributed by |
| 3168 | Christian Weisgerber) |
Chris Allegretta | b4dc9e0 | 2000-08-05 22:49:30 +0000 | [diff] [blame] | 3169 | - configure.in: |
Chris Allegretta | a2efc36 | 2000-08-09 03:26:33 +0000 | [diff] [blame] | 3170 | - New (and severally revised =) slang test code (Albert Chin-A-Young) |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 3171 | |
Chris Allegretta | 0bf4e14 | 2000-08-04 02:42:04 +0000 | [diff] [blame] | 3172 | nano-0.9.15 - 08/03/2000 |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 3173 | - Changed edit_update call to take arguments TOP, CENTER or BOTTOM. |
| 3174 | Affects many many functions. Removed functions edit_update_top and |
| 3175 | edit_update_bot. |
Chris Allegretta | 6d690a3 | 2000-08-03 22:51:21 +0000 | [diff] [blame] | 3176 | - Added global variable tabsize, we no longer screw with the curses |
| 3177 | library in order to implement -T (suggested by Christian Weisgerber). |
Chris Allegretta | 7a6f0d9 | 2000-07-31 13:00:24 +0000 | [diff] [blame] | 3178 | - configure.in: |
| 3179 | - Finally fixed check for slang to report "no" if not called |
| 3180 | with --with-slang or --without-slang |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 3181 | - nano.c: |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 3182 | splice_node() |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 3183 | - New function, abstracts linking in nodes. Fixes bug #36. |
Chris Allegretta | 6925bbd | 2000-07-28 01:41:29 +0000 | [diff] [blame] | 3184 | null_at() |
| 3185 | - New function, nulls a string at a given index and realigns it. |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 3186 | delete_buffer() |
| 3187 | - Removed, same as free_filestruct(). |
Chris Allegretta | da721be | 2000-07-31 01:26:42 +0000 | [diff] [blame] | 3188 | do_backspace() |
| 3189 | - Now calls page_up_center instead of page_up (as it should?) |
| 3190 | do_enter() |
| 3191 | - Fixed typo (?) in check for inptr->next. Caused lots of |
| 3192 | grief for editing lines at filebot. |
Chris Allegretta | 99bf73f | 2000-08-04 00:22:08 +0000 | [diff] [blame] | 3193 | main() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3194 | - Removed now useless usertabsize variable (Christian Weisgerber). |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 3195 | - search.c: |
| 3196 | replace_abort() |
| 3197 | - redundant, now just calls search abort until it does something |
| 3198 | different. |
Chris Allegretta | 95b0b52 | 2000-07-28 02:58:06 +0000 | [diff] [blame] | 3199 | - winio.c: |
| 3200 | edit_refresh() |
| 3201 | - Added check for current line "running" off the screen. |
| 3202 | Hopefully this will not cause any recursive lockups. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 3203 | (Who am I kidding, of course it will!) |
Chris Allegretta | ed02216 | 2000-08-03 16:54:11 +0000 | [diff] [blame] | 3204 | - Added check to stop infinite loop calling edit_update. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 3205 | edit_update() |
| 3206 | - Rewritten, hopefully this will remove a lot of the |
| 3207 | scrolling the cursor back and forth needlessly. |
Chris Allegretta | 1a47139 | 2000-07-28 14:08:01 +0000 | [diff] [blame] | 3208 | - move.c: |
| 3209 | page_down() |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 3210 | - do an edit_update() at last case. Made function more like |
| 3211 | Pico's version, only move down to two lines before editbot. |
| 3212 | page_up() |
| 3213 | - Made function more like Pico's version, only move down to two |
| 3214 | lines after edittop. |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 3215 | |
Chris Allegretta | a1a55c7 | 2000-07-28 00:36:03 +0000 | [diff] [blame] | 3216 | nano-0.9.14 - 07/27/2000 |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 3217 | - nano.h: |
| 3218 | - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32. |
| 3219 | - cut.c: |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 3220 | do_cut_text() |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 3221 | - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31. |
Chris Allegretta | 0e5faca | 2000-07-27 13:32:46 +0000 | [diff] [blame] | 3222 | - Simplified check for freeing cutbuffer. Added checks for doing |
| 3223 | multiple cuts with -k, now sets marked_cut to 2 for later |
| 3224 | processing by do_uncut_text(). |
| 3225 | do_uncut_text() |
| 3226 | - Added handler for uncutting with -k cuts. |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 3227 | - files.c: |
| 3228 | write_file() |
| 3229 | - Removed (redundant) check for writing out files with -t. |
| 3230 | do_writeout() |
| 3231 | - Changed check for filename to filename[0]. Added some code, |
| 3232 | overall fixes bug #30 =-) |
Robert Siemborski | a417ddc | 2000-07-24 23:18:48 +0000 | [diff] [blame] | 3233 | - nano.c: |
| 3234 | do_justify() & do_wrap(): |
| 3235 | - totsize-related fixes (Rob) |
Chris Allegretta | 2ece167 | 2000-07-27 15:25:52 +0000 | [diff] [blame] | 3236 | - de.po |
| 3237 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 3238 | |
Chris Allegretta | 1d7110d | 2000-07-23 16:59:07 +0000 | [diff] [blame] | 3239 | nano-0.9.13 - 07/23/2000 |
Chris Allegretta | 627de19 | 2000-07-12 02:09:17 +0000 | [diff] [blame] | 3240 | - Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut), |
Chris Allegretta | d19e991 | 2000-07-12 18:14:51 +0000 | [diff] [blame] | 3241 | affects do_cut_text in cut.c. Not available with SMALL_NANO because it |
| 3242 | depends on the marker code which is not available with that setting. |
Chris Allegretta | 3088555 | 2000-07-14 01:20:12 +0000 | [diff] [blame] | 3243 | - Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using |
| 3244 | -t with an unwritable file causes users to get locked into editor). |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 3245 | - move.c |
| 3246 | page_down() |
| 3247 | - Don't edit_refresh() if the bottom of the file is in the edit |
| 3248 | buffer. (Adam) |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 3249 | - nano.c: |
| 3250 | main(): |
| 3251 | - TABSIZE now set before first call to edit_refresh (Bill Soudan) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 3252 | - Different ^C kill code (patch by Christian Weisgerber). |
Robert Siemborski | fcf32bf | 2000-07-17 03:04:54 +0000 | [diff] [blame] | 3253 | die(): |
| 3254 | - More intelligent emergency-save filename selection (Rob) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 3255 | do_spell(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3256 | - Changed exit semantics a bit so that aspell wouldn't get |
| 3257 | all screwy (bug discovered by Joshua Jensen. |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 3258 | - files.c: |
| 3259 | read_file(): |
| 3260 | - Added init of buf variable, hopefully this will stop the |
| 3261 | "bleeding" of text seen with mutt and using i18n. |
Chris Allegretta | acb6234 | 2000-07-21 22:42:46 +0000 | [diff] [blame] | 3262 | write_file(): |
| 3263 | - Added code to check to see if using -l and the file is not |
| 3264 | in fact a link. This should fix the behavior where a file |
| 3265 | that does not have write permission but could be removed and |
| 3266 | rewritten is saved without error. Please test this feature |
| 3267 | and give feedback. |
Chris Allegretta | a4d2162 | 2000-07-08 23:57:03 +0000 | [diff] [blame] | 3268 | - search.c: |
| 3269 | search_init(): |
| 3270 | - Added " (to replace)" statement to end of search string if |
| 3271 | we are doing a replace. Manually converted all the translations |
| 3272 | from '%s' to '%s%s' to ensure they still work with the new code. |
| 3273 | Also put in the translation for " (replace)" in the .po's. Hope |
| 3274 | I didn't step on your toes doing this Jordi. (Chris) |
Chris Allegretta | 635fae3 | 2000-07-09 03:26:34 +0000 | [diff] [blame] | 3275 | do_search(), do_replace(): |
| 3276 | - Removed call to search_abort()/replace_abort() before call to |
| 3277 | the opposite function. |
Chris Allegretta | fa8f7bf | 2000-07-12 02:41:13 +0000 | [diff] [blame] | 3278 | - Fixed bug #28. |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 3279 | findnextstr() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3280 | - do not center string found if it is currently visible. (Adam) |
Chris Allegretta | 7539a82 | 2000-07-09 23:55:13 +0000 | [diff] [blame] | 3281 | - fr.po: |
| 3282 | - French update by Clement Laforet <clem_laf@wanadoo.fr>. |
Jordi Mallach | 8d7ac1b | 2000-07-13 03:10:01 +0000 | [diff] [blame] | 3283 | - es.po: |
| 3284 | - Updated strings to 0.9.13 (Jordi). |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 3285 | |
Chris Allegretta | e955dae | 2000-07-07 22:24:59 +0000 | [diff] [blame] | 3286 | nano-0.9.12 - 07/07/2000 |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 3287 | - all: |
Chris Allegretta | 9fc8d43 | 2000-07-07 01:49:52 +0000 | [diff] [blame] | 3288 | - New regexp search feature by Bill Soudan. New flags USE_REGEXP |
| 3289 | and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup |
| 3290 | replace_line, replace_regexp in search.c, changes to |
Chris Allegretta | 4780561 | 2000-07-07 02:35:34 +0000 | [diff] [blame] | 3291 | search_init() and do_replace() and strstrwrapper(). |
| 3292 | - Added _POSIX_VERSION check to regexp code. Better than nothing |
| 3293 | for non-POSIX systems... |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 3294 | - Made search functions & keys more like Pico. Added goto line from |
| 3295 | search and replace function, changed wording to "No Replace" instead |
| 3296 | of "To Search", "To Replace" to simply "Replace", and changed to |
| 3297 | Pico's keystroke by default, ^R. Affects search_init(), |
| 3298 | do_search() in search.c, globals in nano.h and |
| 3299 | shortcut_init() in global.c. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 3300 | - changed 'sprintf' calls to safer 'snprintf' (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 3301 | - cut.c |
| 3302 | - further totsize update corrections |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 3303 | - files.c: |
| 3304 | - changed do_insertfile to call fix_editbot (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 3305 | - Magic Line code in read_file (Rob) |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 3306 | - nano.c: |
| 3307 | - Removed dual alt_speller variables, oops! (Rocco Corsi) |
Chris Allegretta | dbc12b2 | 2000-07-03 03:10:14 +0000 | [diff] [blame] | 3308 | - Removed unnecessary do_oldspell function (Rocco Corsi). Added |
| 3309 | SMALL_NANO #ifdef around actual spell function. |
Chris Allegretta | 1e57e68 | 2000-07-03 04:24:39 +0000 | [diff] [blame] | 3310 | - Moved page_up() to move.c where is belongs. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 3311 | - Corrected FIXME in do_enter with explanation. (Rob) |
| 3312 | - Fixed FIXME in do_justify, resulted in creation of |
| 3313 | fix_editbot [also fixed in do_enter] (winio.c) (Rob) |
Robert Siemborski | cdff015 | 2000-07-07 01:58:52 +0000 | [diff] [blame] | 3314 | help_init(): |
| 3315 | - Moved newline out of if statement (Rocco Corsi) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 3316 | do_char(): |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 3317 | - Magic Line related code in do_char (Rob) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 3318 | do_backspace(), do_delete(): |
| 3319 | - Added magic line code here too. |
| 3320 | |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 3321 | - de.po: |
Chris Allegretta | 6e80585 | 2000-06-22 01:53:29 +0000 | [diff] [blame] | 3322 | - Revised translations by floki@bigfoot.com. |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 3323 | - fi.po: |
| 3324 | - Finnish translation by pauli.virtanen@saunalahti.fi. |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 3325 | - utils.c: |
| 3326 | - Added new_magicline() |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 3327 | - winio.c: |
Chris Allegretta | dba37ae | 2000-07-07 05:13:09 +0000 | [diff] [blame] | 3328 | - Added stdlib.h to includes, found by OpenBSD gcc. |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 3329 | - lots of new commenting around display functions |
Chris Allegretta | 5204ea9 | 2000-06-22 01:56:23 +0000 | [diff] [blame] | 3330 | do_yesno(), nanogetstr(): |
| 3331 | - Removed now unnecessary raw/cbreak combos. |
Jordi Mallach | 0b0fc49 | 2000-06-23 01:00:13 +0000 | [diff] [blame] | 3332 | - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till |
| 3333 | we decide if those keybindings should be translated. (Jordi) |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 3334 | clear_bottomwin(): |
| 3335 | - Removed wrefresh(edit) call. |
Chris Allegretta | 48fd2cb | 2000-07-03 04:31:13 +0000 | [diff] [blame] | 3336 | edit_update_top(): |
| 3337 | - Fixed a bug that caused nano to not update when |
| 3338 | current->next == NULL (e.g. paging down to the very bottom of |
| 3339 | ABOUT NLS wouldn't work). |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 3340 | fix_editbot: |
| 3341 | - Added (should rebuild editbot from a valid edittop) (Rob) |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 3342 | edit_add: |
| 3343 | - removal of redundant call to mvwaddnstr |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 3344 | |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 3345 | nano-0.9.11 - 06/20/2000 |
Chris Allegretta | 790198d | 2000-06-20 00:40:01 +0000 | [diff] [blame] | 3346 | - New flag "-T" or "--tabsize" to specify how to display tab widths. |
| 3347 | Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3348 | winio.c, and nano.h. Many hardcoded "8"s have been changed to the |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 3349 | TABSIZE int. Added changes to nano.1 and nano.1.html. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 3350 | - id.po: |
| 3351 | - Indonesian translation by Tedi Heriyanto. |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 3352 | - es.po: |
| 3353 | - Updated translation (Jordi Mallach). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 3354 | - winio.c |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3355 | - Rewrite of display functions to correct the display problems |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 3356 | we had been seeing. Affects: add_marked_sameline, edit_add, |
| 3357 | and many others. (Rob Siemborski) |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 3358 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 3359 | total_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3360 | - Cut display_main_list call, as this function is only supposed to |
| 3361 | refresh what's already on the screen, not go through the process |
| 3362 | of adding the text again. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 3363 | - cut.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 3364 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 3365 | - nano.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 3366 | - experimental do_wrap and check_wrap (Adam Rogoyski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 3367 | - Removed editwineob, as it was redundant for (editwinrows - 1). |
| 3368 | Changed all calls to editwinrows - 1 in nano.c and move.c. |
| 3369 | - Removed all functions that were split into other files. |
| 3370 | Affects LOTS of funcs. |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 3371 | do_enter(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3372 | - Added reset of placewewant to end. |
Robert Siemborski | 10eab1d | 2000-06-18 01:05:00 +0000 | [diff] [blame] | 3373 | do_insertfile(): |
| 3374 | - Fix display problem when using ctrl-r to load a file |
| 3375 | into the buffer (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 3376 | handle_sigwinch(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3377 | - Added titlebar(), edit_refresh() and display_main_list() calls |
| 3378 | because a resize wasn't picking up on possible different width |
| 3379 | correctly. |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 3380 | - utils.c: |
| 3381 | - Moved nmalloc() and nrealloc() here. |
| 3382 | - move.c: |
| 3383 | - New file, contains movement functions (like do_home(), do_up(), |
| 3384 | do_down(), page_up(), etc...). |
| 3385 | - files.c: |
| 3386 | - Contains functions for files (read_file, insert_file, |
| 3387 | do_writeout(), etc). |
| 3388 | - search.c: |
| 3389 | - Contains all our searching and related functions, (do_search(), |
| 3390 | findnextstr(), do_replace(), do_gotoline()). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 3391 | |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3392 | nano-0.9.10 - 06/04/2000 |
| 3393 | - es.po: |
| 3394 | - Translation updates (Jordi). |
| 3395 | - AUTHORS, nano.1.html, TODO, README: |
| 3396 | - Documentation and email address updates (Jordi). |
| 3397 | - nano.c: |
| 3398 | main(): |
| 3399 | - Moved Adam's termio code down to after getopt() and before initscr() |
| 3400 | to stop people losing their SIGINT character when using args that |
| 3401 | exit nano before it runs (--version, --help, etc). |
| 3402 | |
| 3403 | nano-0.9.9 - 05/31/2000 |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3404 | - Makefile.am: |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3405 | - Added proper lines for defining LOCALEDIR. |
| 3406 | - configure.in: |
| 3407 | - Spelling fixes (Jordi Mallach) |
| 3408 | - Removed CFLAGS changes for gcc, reduces portability according to |
| 3409 | some, and it certainly doesn't seem to decrease exe size. |
| 3410 | - es.po: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3411 | - Spanish translation updates (Jordi Mallach) |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3412 | - POTFILES.in: |
| 3413 | - Added global.c file, was screwing up translations (i.e. they |
| 3414 | weren't getting done). |
| 3415 | - cut.c: |
| 3416 | add_to_cutbuffer(): |
| 3417 | - Added totsize increment. |
| 3418 | - Cut fixes and optimizations (Rob Siemborski). |
| 3419 | do_uncut_text(): |
| 3420 | - Added totsize increment in several places. |
| 3421 | - nano.c: |
| 3422 | headers: |
| 3423 | - Removed LOCALEDIR define. |
| 3424 | do_justify(): |
| 3425 | - Added edit_refresh() call (bug discovered by Adam). |
| 3426 | page_down_center(): |
| 3427 | - Added call to edit_update(current) for last case. Removed |
| 3428 | increment of current_y since it's now just wasteful. |
| 3429 | do_enter(): |
| 3430 | - Added totsize increment. |
| 3431 | renumber(), renumber_all(): |
| 3432 | - Removed totsize-- and totsize init in renumber_all. |
| 3433 | do_mouse(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3434 | - Added edit_refresh() call to show highlight updates. Removed |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3435 | unnecessary wrefresh(edit). |
| 3436 | main(): |
| 3437 | - Moved up locale calls so that translated --help messages would |
| 3438 | actually get translated. |
| 3439 | do_backspace(), do_delete(): |
| 3440 | - Added decrement of totsize. |
| 3441 | init_help_msg(): |
| 3442 | - New function, initializes help text if NANO_SMALL isn't set (fixes |
| 3443 | broken i18n). |
| 3444 | read_file(): |
| 3445 | - malloc call changed to nmalloc (Rob Siemborski). |
| 3446 | - winio.c: |
| 3447 | total_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3448 | - Completely rewrote function, not quite so brain-damaged now. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3449 | |
| 3450 | nano-0.9.8 - 05/18/2000 |
| 3451 | - nano.c: |
| 3452 | main(): |
| 3453 | - Added awesome code that disables the CINTR and CQUIT |
| 3454 | character (Adam Rogoyski). Removed raw()/noraw() calls so that |
| 3455 | nano gets input in 'normal' mode, which is the Right Way(tm) to |
| 3456 | do it. ^S, ^Z and ^Q now work properly as a result, as well as |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3457 | ^C. New variable term, global variable oldterm to save previous |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3458 | term settings, and changes to finish() and die(). |
| 3459 | - Added extra #ifdefs in getopt code, so that above code and |
| 3460 | flag init is run even if GETOPT_LONG is not #defined. |
| 3461 | - Added memset line before sigactions. (Adam Rogoyski) |
| 3462 | do_suspend(): |
| 3463 | Removed function, see above for why. |
| 3464 | - winio.c: |
| 3465 | update_line(), center_cursor(): |
| 3466 | - Removed wrefresh(edit) from bottom of functions. wrefresh |
| 3467 | should now only be called once, at the bottom of the main() |
| 3468 | loop. |
| 3469 | - global.c: |
| 3470 | shortcut_init(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3471 | - Removed suspend sc_init call and suspend message because suspend |
| 3472 | is no longer needed in the shortcut list to work properly. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3473 | |
| 3474 | nano-0.9.7 - 05/14/2000 |
| 3475 | - nano.c: |
| 3476 | do_home(), do_end(): |
| 3477 | - Added calls to update_line for the current line, fixes |
| 3478 | lack of update (bug discovered by Alberto GarcĂa). |
| 3479 | main(): |
| 3480 | - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not |
| 3481 | following symlinks even when -l isn't set, and "no changes" |
| 3482 | error when nano is called from crontab -e (Adam Rogoyski). |
| 3483 | - cut.c: |
| 3484 | do_cut_text(): |
| 3485 | - Added edit_update_top to cut when mark is set, fixes lack of |
| 3486 | display update (bug discovered by Ken Tyler). |
| 3487 | |
| 3488 | nano-0.9.6 - 05/08/2000 |
| 3489 | - New Italian translation (it.po), by Daniele Medri. |
| 3490 | - nano.c: |
| 3491 | page_up(), page_down(): |
| 3492 | - Added reset of placewewant to 0, as it should be. |
| 3493 | do_up(), do_down(): |
| 3494 | - Added call to update_line() for line we move from and line we |
| 3495 | move to, in order to keep the highlighting correct. |
| 3496 | do_wrap(): |
| 3497 | - Added var chop, new code to wrap lines more like Pico, mostly. |
| 3498 | THIS STILL DEFINITELY NEEDS TO BE REWRITTEN! |
| 3499 | - winio.c: |
| 3500 | do_help(): |
| 3501 | - Added edit_refresh() before exit. |
| 3502 | update_cursor(): |
| 3503 | - Removed cursor updating which really wasn't needed anyway. |
| 3504 | edit_update(): |
| 3505 | - Removed yucky code that didn't work, this function now just |
| 3506 | computes edittop and editbot and calls edit_refresh() to do the |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3507 | rest, which removes a lot of duplicate code.. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3508 | |
| 3509 | nano-0.9.5 - 05/01/2000 |
| 3510 | - Removed bytes from file struct because it was computationally wasteful. |
| 3511 | - cut.c: |
| 3512 | do_uncut_text(): |
| 3513 | - Added call to edit_refresh(). |
| 3514 | - nano.c: |
| 3515 | do_backspace(): |
| 3516 | - Added reset of editbot when deleting the last line of the file |
| 3517 | (bug discovered by Adam). |
| 3518 | do_char(): |
| 3519 | - Removed call to reset_cursor(). |
| 3520 | do_delete(): |
| 3521 | - Added similar check as to do_backspace(). |
| 3522 | do_enter(): |
| 3523 | - Added call to edit_refresh(). |
| 3524 | do_left(), right(): |
| 3525 | - Added call to update_line(), still redundant but better... |
| 3526 | do_up(), do_down(): |
| 3527 | - Added refresh calls both for current line and line to which |
| 3528 | we are moving. |
| 3529 | main(): |
| 3530 | - Removed inefficient call to edit_refresh() after every keystroke. |
| 3531 | It is now up each function to leave the screen in a good state. |
| 3532 | - winio.c: |
| 3533 | do_cursorpos() |
| 3534 | - Rewritten to not use bytes from filestruct by an incremental sum. |
| 3535 | update_line(), reset_cursor(): |
| 3536 | - Optimized calls to xplustabs() through a single variable. |
| 3537 | - update_line() now takes a new arg, an index into the string |
| 3538 | for where to update the line from. Needed for new update |
| 3539 | code. |
| 3540 | - configure.in: |
| 3541 | - Better checks for slang, allows argument to --with-slang. |
| 3542 | (Albert Chin-A-Young) |
| 3543 | - Removed -Iintl from CFLAGS in gcc check. |
| 3544 | - Makefile.am: |
| 3545 | - Addition of -Iintl for gettext (Albert Chin-A-Young) |
| 3546 | |
| 3547 | nano-0.9.4 - 04/25/2000 |
| 3548 | - Fixed calls to no_help and changed them to the more consistent |
| 3549 | ISSET(NO_HELP). Fixed return val of no_help to be what it should (2, |
| 3550 | not 1. Code to temporarily disable NO_HELP when in the |
| 3551 | help system. (Adam Rogoyski) |
| 3552 | - cut.c: |
| 3553 | do_marked_cut(), do_cut(), do_uncut(): |
| 3554 | - Commented out unnecessary bits when NANO_SMALL is being used. |
| 3555 | - winio.c: |
| 3556 | xpt(), strlenpt(), actual_x(): |
| 3557 | - Added check for value of data[i] & 0x80, if so do not make |
| 3558 | character 2 chars wide (orig. by Chris, 0x80 check by Adam). |
| 3559 | edit_refresh(): |
| 3560 | - New check for temp == NULL (bad thing), if so go back to the |
| 3561 | previous line. New filestruct var hold points to prev line. |
| 3562 | Fixes segfault when paging down to the end of a file. |
| 3563 | - nano.c: |
| 3564 | write_file(): |
| 3565 | - Added check for if file exists and is not equal to the current |
| 3566 | filename, prompt for overwrite (Adam Rogoyski). |
| 3567 | do_down(): |
| 3568 | - Removed check for current->next == NULL, now checks return value |
| 3569 | of do_down before setting current_x = 0 (discovered by Adam). |
| 3570 | do_justify(): |
| 3571 | - Fixed segfault when reaching the last line (tried to assign |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3572 | current->next->data when current->next == NULL) (discovered |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3573 | by Adam). |
| 3574 | - utils.c: |
| 3575 | - Removed extra macro defs that are now in nano.h. |
| 3576 | - nano.h: |
| 3577 | - Changed macro SET() to use |= instead of ^=. Fixes bug in |
| 3578 | cut code when cutting more than one line, and cutbuffer gets |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3579 | blown away when it shouldn't. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3580 | |
| 3581 | nano-0.9.3 - 04/29/2000 |
| 3582 | - cut.c: |
| 3583 | do_marked_cut(): |
| 3584 | - Fixed off by one error in cut code for marked text. |
| 3585 | do_cut_text(): |
| 3586 | - Removed check for being on the last line, part of |
| 3587 | magic line code. |
| 3588 | add_to_cutbuffer(): |
| 3589 | - Moved tmp->prev = inptr line to part where cutbuffer != NULL. |
| 3590 | - Added inptr->prev = NULL for case where cutbuffer == NULL. |
| 3591 | - nano.c: |
| 3592 | do_backspace(), do_char(): |
| 3593 | - Removed "magic line" code. It was basically causing more bugs |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3594 | than it was helping for the sake of compatibility. This fixes |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3595 | at least one known segfault condition. |
| 3596 | do_enter(): |
| 3597 | - Added setting editbot to new node if the new node is the last |
| 3598 | node in the file. |
| 3599 | write_file(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3600 | - Changed writing file behavior. Now, if last line of the file |
| 3601 | has any data on it, we write a newline on it, else we don't. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3602 | - winio.c: |
| 3603 | add_marked_sameline(): |
| 3604 | - New code that checks for whether the begin and end of the marker |
| 3605 | are on different lines. Missing previously. |
| 3606 | edit_add(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3607 | - added some more checks for text length. Cleaned up some |
| 3608 | mvwaddnstrs that could be written more simply as waddnstrs. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3609 | edit_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3610 | - Removed check for temp == filebot, it is now treated like any other |
| 3611 | line. Fixes a bug where selected text on the last line shows |
| 3612 | normally. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3613 | xpt(): |
| 3614 | - Removed an extra computation for tabs variable that was incorrect. |
| 3615 | xplustabs(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3616 | - Since xpt now actually works, this func is now just a wrapper for |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3617 | xpt(current, current_x) |
| 3618 | - nano.1, nano.1.html: |
| 3619 | - Added -l option to man pages. |
| 3620 | - configure.in: |
| 3621 | - New option --enable-tiny, #defines NANO_SMALL in config.h. |
| 3622 | Disables call to gettext in functions and other i18n stuff in |
| 3623 | nano.c, the detailed help mode, the resize functions, and the |
| 3624 | justify code which no one ever uses. |
| 3625 | - New option --with-slang. Enables slang libraries instead of |
| 3626 | ncurses, requires slcurses.h for wrapper functions. (Based |
| 3627 | on patches for 0.8.7 by Glenn McGrath). |
| 3628 | |
| 3629 | nano-0.9.2 - 04/15/2000 |
| 3630 | - This release just fixes the serious segfault problem if nano is |
| 3631 | invoked any way other than using the absolute path. The bug was |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 3632 | in the new code for checking whether nano is invoked as 'pico'. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3633 | |
| 3634 | nano-0.9.1 - 04/14/2000 |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 3635 | - Added Pico compatibility for ^T when in search or switch to switch |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3636 | to the opposite function. Added one to REPLACE_LIST_LEN and |
| 3637 | WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3638 | new strings that will have to be gettext()ed. New argument 'replacing' |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3639 | to search_init(). Handlers in do_replace and do_search(). |
| 3640 | - New write code, now follows symbolic links instead of replacing them |
| 3641 | with the new file. New option (-l, --nofollow) to enable the old |
| 3642 | (incorrect, but secure) behavior (Adam Rogoyski). |
| 3643 | - nano.c: |
| 3644 | do_wrap(): |
| 3645 | - Fixed another bug relating to wrapping, and which would cause |
| 3646 | a segfault *sigh*. |
| 3647 | do_replace(): |
| 3648 | - Incremented current_x by the length of the replacement |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3649 | text inside the main replace loop. Fixes bug #15. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3650 | add_marked_sameline(): |
| 3651 | - New function, handles marked text when start & end of marker is |
| 3652 | on one line, also supports most marked text when cursor > COLS. |
| 3653 | main(): |
| 3654 | - Code to check if nano is invoked as 'pico', and if so |
| 3655 | automatically set pico_msgs (Robert Jones). |
| 3656 | |
| 3657 | nano-0.9.0 - 04/07/2000 |
| 3658 | - nano.1, nano.1.html: Updated man page with my email address and homepage. |
| 3659 | - winio.c: |
| 3660 | reset_cursor(), update_line(): |
| 3661 | - Changed update algorithm for x value to (COLS - 7) multiple when x |
| 3662 | value > (COLS - 2). |
| 3663 | - edit_refresh(): |
| 3664 | - Removed inner loop code, now calls update_line() for each line |
| 3665 | in question, MUCH nicer. |
| 3666 | - xplustabs(), xpt(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3667 | - Removed redundant increment of tabs when column no % 8 == 0. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3668 | - Added check for data[i] < 32, most of such bits are 2 chars wide. |
| 3669 | - update_line(): |
| 3670 | - Fixed a stupid call to strlenpt with col when we should have |
| 3671 | been using actual_col. Ugh. |
| 3672 | |
| 3673 | nano-0.8.9 - 03/22/2000 |
| 3674 | - nano.c: |
| 3675 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 3676 | Actually added these (screwup applying patch). |
| 3677 | do_justify(): Added call to set_modified(). |
| 3678 | |
| 3679 | nano-0.8.8 - 03/12/2000 |
| 3680 | - Preliminary internationalization support. Many many functions modified |
| 3681 | to use gettext (via _() macro). es.po file included. (Jordi Mallach) |
| 3682 | New dirs po/ and intl/, changes to configure.in and Automake.am to |
| 3683 | support i18n. |
| 3684 | - nano.c: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3685 | includes: Added sys/param.h and limits.h. (Adam Rogoyski). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3686 | statics: Changed some things that were not necessarily static |
| 3687 | (Adam Rogoyski). |
| 3688 | nrealloc(): New function, similar to nmalloc(). Changed calls from |
| 3689 | realloc() to nrealloc (Adam Rogoyski). |
| 3690 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 3691 | New functions for justify function (Adam Rogoyski). |
| 3692 | - winio.c: |
| 3693 | blank_edit(): Added wrefresh call to edit so that screen updates (like |
| 3694 | on ^L) actually work. |
| 3695 | xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski). |
| 3696 | |
| 3697 | nano-0.8.7 - 03/01/2000 |
| 3698 | - main.c: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3699 | do_wrap(): Better fix for segfaults, and fix for lines being wrapped |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3700 | to a single character on one line when no good place to |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3701 | break the line exists, and for wrapping lines longer than |
| 3702 | COLS. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3703 | - nano.1.html: |
| 3704 | Html version of man page, now included in dist. For |
| 3705 | the benefit of nano packages in Linux distributions. |
| 3706 | |
| 3707 | nano-0.8.6 - 02/24/2000 |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3708 | - global.c: |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3709 | shortcut_init(): |
| 3710 | Added shortcuts for goto_line and do_replace when using |
| 3711 | pico_msgs. Oops. |
| 3712 | - nano.c: |
| 3713 | statics: Changed fill back to 0 from 71 by default (Adam Rogoyski). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3714 | do_wrap(): Added check for backing up past tabs, which we shouldn't do. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3715 | Removed check for backing up past spaces first. |
| 3716 | main(): Added for loop to check for alt keys instead of hard list. |
| 3717 | do_enter(): Fix for bug #14, added call to reset_cursor and messed |
| 3718 | up do_char quite a bit. |
| 3719 | version(): Added time and date stamp for compile on version message. |
| 3720 | Added mail and web page info. |
| 3721 | - README: Updated mailing list info. |
| 3722 | |
| 3723 | nano-0.8.5 - 02/18/2000 |
| 3724 | - nano.c: |
| 3725 | main(): Finally fixed tilde being input on page up/down keys in |
| 3726 | certain terminal types. Fix was input 26->91->5[34] check |
| 3727 | for 126, if so make the kbinput PAGE UP/DOWN, else unget |
| 3728 | the keystroke and continue. Added #include <ioctl.h> for |
| 3729 | ioctl call. |
| 3730 | handle_hup(): |
| 3731 | Handler for hangup signal. Belated include of patch from |
| 3732 | Tim Sherwood. |
| 3733 | - winio.c: |
| 3734 | edit_refresh(): |
| 3735 | Temporary fix for selecting text when temp == current. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3736 | edit_refresh() is now unmanageably complex, and must be |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3737 | revamped. |
| 3738 | check_statblank(): |
| 3739 | Added check for constupdate, makes things less choppy |
| 3740 | (Adam Rogoyski) |
| 3741 | |
| 3742 | nano-0.8.4 - 02/11/2000 |
| 3743 | - Moved global variables that were only (or mostly) used in one file into |
| 3744 | its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn). |
| 3745 | - global.c: |
| 3746 | shortcut_init(): |
| 3747 | Removed redundant NANO_CONTROL_H from backspace shortcut, |
| 3748 | added char 127 which should have been there. |
| 3749 | - nano.c: |
| 3750 | main(): Fix for loops looping until MAIN_LEN, added -1 to stop |
| 3751 | segfaults (Adam Rogoyski). |
| 3752 | - Makefile.am: Added all source filenames (Adam Rogoyski). |
| 3753 | - nano.1: Fixed mail addressed and added mailing list address. |
| 3754 | - README: Updated my email address and the nano web page. |
| 3755 | |
| 3756 | nano-0.8.3 - 02/08/2000 |
Chris Allegretta | 6df90f5 | 2002-07-19 01:08:59 +0000 | [diff] [blame] | 3757 | - New Pico mode (-p, --pico), toggles (more) compatibility with the |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3758 | Pico messages displayed in the shortcut list. Note that there are still |
| 3759 | small differences in this mode. |
| 3760 | - nano.h: New shortcut struct format, for the benefit of i18n and |
| 3761 | our help menu. Removed shortcut message macros, they are |
| 3762 | now all in shortcut_init in global.c. |
| 3763 | - nano.c: |
| 3764 | do_wrap(): Removed resetting of current_x when we are in fact |
| 3765 | wrapping to the next line, fixes a bug in -i mode. |
| 3766 | do_enter(): |
| 3767 | Rewrote the autoindent mode code to be a lot less pretty, |
| 3768 | but a lot more magical. |
| 3769 | main(): |
| 3770 | Removed case for ignoring char 126 (~). That's kind of |
| 3771 | important, we'll have to fix handling that sequence when |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3772 | paging up/down on a terminal some other way... Revamped |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3773 | main switch loop in much snazzier fashion based on the |
| 3774 | shortcut list. |
| 3775 | - winio.c: |
| 3776 | New function display_main_list. Affects all functions |
| 3777 | that used to call bottombars() with main_list. Added |
| 3778 | because we now only call bottombars with the macro |
| 3779 | MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the |
| 3780 | changes to the main_list shortcut list (see global.c below). |
| 3781 | New function do_help, our preliminary dynamic help system. |
| 3782 | - Many many funcs: |
| 3783 | Changed from int to void to allow one uniform type to call |
| 3784 | from the shortcut struct. Also a few functions that do |
| 3785 | not simple have void argument have new functions called |
| 3786 | funcname_void(void) to be called from the shortcut list. |
| 3787 | do_cut_text and do_uncut_text were changed to void |
| 3788 | arguments because they were never called with a filestruct |
| 3789 | other than *current anyway. |
| 3790 | - global.c: |
| 3791 | Shortcut list main_list was expanded to cover all |
| 3792 | shortcuts that could be caught in the main loop. |
| 3793 | Consequently there is a new macro MAIN_VISIBLE which tells |
| 3794 | how many items in the main list to actually show. |
| 3795 | |
| 3796 | nano-0.8.2 - 02/02/2000 |
| 3797 | - Added initial mouse (-m, --mouse) support. New global variable |
| 3798 | use_mouse. (Adam Rogoyski) |
| 3799 | |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3800 | - nano.c: Set initial value of fill to COLS - 8 rather than just 72 |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3801 | regardless. (Adam Rogoyski). |
| 3802 | do_delete(): |
| 3803 | Deleted call to do_backspace() when on the end of a line, |
| 3804 | because it won't update the line properly. |
| 3805 | do_backspace(): |
| 3806 | Removed unnecessary pointer manipulation that was being |
| 3807 | handled by unlink_node(). |
| 3808 | open_file(): |
| 3809 | Added check for trying to open a directory (currently we |
| 3810 | segfault on this). Bug pointed out by Chad Ziccardi. |
| 3811 | |
| 3812 | nano-0.8.1 - 01/28/2000 |
| 3813 | - Implemented Pico's -r (fill) mode, command line flag -r or --fill. New |
| 3814 | global variable fill, affects check_wrap(), do_wrap(), main(), usage(), |
| 3815 | global.c and proto.h. |
| 3816 | - nano.c: |
| 3817 | write_file(): Added (incredibly) necessary check for EPERM when |
| 3818 | link() fails. This allows us to actually save |
| 3819 | files via rename() on filesystems that dont |
| 3820 | support hard links (AIEEEEEE). |
| 3821 | do_goto(): |
| 3822 | Fixed a stupid mistake where we were calling |
| 3823 | bottombars() with replace_list instead of goto_list. |
| 3824 | - nano.h: |
| 3825 | New char *help in shortcut structure for help |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3826 | feature. Added NANO_*_MSG and NANO_*_HELP #defines |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3827 | for help function and i18n. |
| 3828 | - global.c: |
| 3829 | New functions shortcut_init (called in nano.c) and |
| 3830 | sc_init_one() to initialize the shortcuts without |
| 3831 | using {}s (for i18n). |
| 3832 | |
| 3833 | nano-0.8.0 - 01/25/2000 |
| 3834 | - View flag (-v, --view) implemented. Global variable view_mode, affects |
| 3835 | main loop of nano.c and new_file(). (me) |
| 3836 | - nano.c: |
| 3837 | split checks for TERMIOS_H and TERMIO_H up so we |
| 3838 | can (theoretically) include them both, which is good. |
| 3839 | handle_sigwinch(): |
| 3840 | Added check for ncurses.h. (Andy Kahn) |
| 3841 | do_spell(): |
| 3842 | We now only try ispell because we don't as of yet |
| 3843 | handle the 'spell' program the right way, now that |
| 3844 | I finally know what the right way is =-). Added |
| 3845 | call to edit_update(fileage) to stop segfaults. |
| 3846 | global_init(): |
| 3847 | Added initialization of edit* filestruct pointers |
| 3848 | to stop segfaults on spell check. |
| 3849 | usage(): |
| 3850 | Check for getopt_long, and if no leave out the |
| 3851 | GNU options everyone seems to love so much (Andy Kahn) |
| 3852 | main(): |
| 3853 | Added checks for getopt_long (Andy Kahn) |
| 3854 | We ignore character 126 because it gets put into |
| 3855 | the buffer when we page up/down on a vt terminal. |
| 3856 | write_file(): |
| 3857 | Fixes for umask (Adam Rogoyski). Renamed tmpfile |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3858 | variable to tmp. Documented the tmp option |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3859 | better in the function comments. Fixed my |
| 3860 | stupidly commented out check for tmp on setting |
| 3861 | umask which I really like => |
| 3862 | - nano.h: |
| 3863 | Made desc variable in shortcut struct a pointer |
| 3864 | instead of a fixed-length string. |
| 3865 | - utils.c: |
| 3866 | Fixed check for config.h before nano.h. |
| 3867 | - configure.in: |
| 3868 | New checks for getopt_long, getopt.h, removed |
| 3869 | CFLAGS and LDFLAGS changes. Gonna have to run |
| 3870 | strip manually now =-) (Andy Kahn) |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3871 | Added check for HAVE_WRESIZE, new file acconfig.h |
| 3872 | (me). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3873 | |
| 3874 | nano-0.7.9 - 01/24/2000 |
| 3875 | - New autoindent feature. Command flag 'i' or '--autoindent'. New |
| 3876 | function do_char() to clean up character output, global |
| 3877 | variable autoindent in global.c. (Graham Mainwaring) |
| 3878 | - New flag 't' or '--tempfile', like Pico's -t mode, automatically saves |
| 3879 | files on exit without prompting. Affects do_writeout(). Also |
| 3880 | do_writeout() now takes a parameter for if exiting. |
| 3881 | Global variable temp_opt in global.c (Graham Mainwaring) |
| 3882 | - Preliminary spell program support. Added command flag '-s' or |
| 3883 | '--speller' for alternative speller command. Added function do_spell() |
| 3884 | and exit_spell() to nano.c. New global variable alt_speller. |
| 3885 | - nano.c: |
| 3886 | main(): We now ignore input of decimal 410 because these get entered |
| 3887 | when we resize the screen. Sorted options in getopt() |
| 3888 | switch statement. |
| 3889 | usage(): Sorted options and changed tabs to make room for -s option. |
| 3890 | write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and |
| 3891 | doesn't print the number of lines written on the statusbar. |
| 3892 | global_init(): |
| 3893 | Added more initializations to globals to support do_spell(). |
| 3894 | |
| 3895 | nano-0.7.8 - 01/23/2000 |
| 3896 | - Stubbed justify function. Affects main() in nano.c and nano.h defines. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3897 | - Added Fkey equivalents for Pico compatibility. Affects nano.h defines |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3898 | and main() in nano.c |
| 3899 | - Removed redundant reset_cursor() calls from the blank() routines. |
| 3900 | - nano.c: |
| 3901 | main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY. |
| 3902 | Removed check for isprint() characters in main while loop |
| 3903 | for people with odd character sets *shrug*. Added some X |
| 3904 | window F-key combos. |
| 3905 | read_line(): New function, consolidates of most of the special |
| 3906 | sections of the file reading code. (Rob Siemborski) |
| 3907 | do_replace(): Many scattered fixes. (Rob Siemborski) |
| 3908 | write_file(): Added check for empty filename. |
| 3909 | - winio.c: |
| 3910 | nanogetstr(): Fixes for deleting at places other than the end of the |
| 3911 | buffer, cut support. (Adam Rogoyski) |
| 3912 | blank_edit(): New function, blanks edit buffer. Added call to it in |
| 3913 | total_refresh(). |
| 3914 | - configure: Checks for glib if snprintf of vsnprintf aren't available |
| 3915 | (Andy Kahn). Changed warning message when no termcap lib |
| 3916 | is found. |
| 3917 | |
| 3918 | nano-0.7.7 - 01/19/2000 |
| 3919 | - Option '-v' for version moved to '-V', because -v is Pico's "read only" |
| 3920 | mode (affects getopt() in main() and usage() function in nano.c |
| 3921 | - New flag -c, always show cursor position. Affects main() in nano.c and |
| 3922 | statusbar() in winio.c |
| 3923 | - Option '-x' doesn't show help window at the bottom of the editor. |
| 3924 | New variable no_help in nano.h and proto.h, affects main(), usage(), |
| 3925 | and global_init() in nano.c, blank_bottombars(), clear_bottomwin(), |
| 3926 | bottombars(), and do_yesno() in winio.c (I had to apply this patch by |
| 3927 | hand =P) (Adam Rogoyski) |
| 3928 | - nano.c: |
| 3929 | handle_sigwinch(): New function (Adam Rogoyski), handles resizing. |
| 3930 | page_up(), page_down(): |
| 3931 | - New functions. We now set the cursor at the top right corner, |
| 3932 | not at the center line, and page up and down a full screen |
| 3933 | rather than a half screen. Original functions renamed to |
| 3934 | page_up_center() and page_down_center(). |
| 3935 | main(): |
| 3936 | - Added check for keystroke key sequence 407 or NANO_CONTROL_Z |
| 3937 | in main while loop because suspend mode was broken. This should |
| 3938 | fix it, at least for now. |
| 3939 | - Added long option support (By popular harassment ;-) - Added |
| 3940 | #include for getopt.h, changed getopt() to getopt_long(). |
| 3941 | Options added so far: --version (-V), --nowrap (-w), --suspend |
| 3942 | (-z), --help (-h), --nohelp (-x). |
| 3943 | - Rewrote signal statements (Adam Rogoyski) |
| 3944 | |
| 3945 | nano 0.7.6 - 01/15/2000 |
| 3946 | - New ChangeLog format |
| 3947 | - nano.c: |
| 3948 | main(): Bound CONTROL_H to backspace (oops) |
| 3949 | Added more Alt-[-key combinations, for page up & down. |
| 3950 | read_bytes(): New function (Adam Rogoyski) |
| 3951 | read_file(): Optimizations - malloc()s *buf a little at a time rather |
| 3952 | than one huge buffer, and replaced the strcat at the end |
| 3953 | with an index variable. Added call to read_bytes(). |
| 3954 | do_next_word(): New function, binding is control-space (0) (me) |
| 3955 | |
| 3956 | - winio.c: |
| 3957 | bottombars(): Fixed non-expanding shortcut keys at bottom of screen. |
| 3958 | (formula is extra space needed = COLS / 6 - 13). |
| 3959 | actual_x() & strlenpt(): |
| 3960 | Added bug#9 fix - when tabs % 8 == 0, we should only |
| 3961 | increment tabs by 1. |
| 3962 | titlebar(): Fixed overrun in titlebar on very long filenames. |
| 3963 | |
| 3964 | 0.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated |
| 3965 | writing a newline at EOF. do_cursorpos and do_replace are now not |
| 3966 | directly bound to signals but picked up as their control sequences |
| 3967 | in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!) |
| 3968 | 0.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for |
| 3969 | available memory, align bug fixed (Big Gaute). |
| 3970 | |
| 3971 | --- As of version 0.7.4 TIP is renamed to nano. |
| 3972 | |
| 3973 | 0.7.3 Fixed a double blank_statusbar() when jumping to first and last |
| 3974 | lines. Took out unnecessary updates in load_file. Bug fix in |
| 3975 | do_left. Missing updates to totlines, fixed bug #7 (last line not |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 3976 | having a newline at the end doesn't get read, bugfix in do_replace |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 3977 | with replace all, more/better comments (Robert Siemborski) |
| 3978 | 0.7.2 Our first patch accepted into the source! configure fixes |
| 3979 | and optimizations (Erik Anderson). Added missing stdarg.h to winio.c. |
| 3980 | Bug fix in update_line for editing long lines. Fixed arguments |
| 3981 | being put into the filename when none is specified. Preliminary |
| 3982 | +line command argument function. |
| 3983 | 0.7.1 configure tweak for better FreeBSD support. Removed refresh() from |
| 3984 | edit_refresh to stop cursor "jumping" during screen updates. This |
| 3985 | will probably cause a bug or two. Replace is now Alt-R (@R) and |
| 3986 | Goto line is Alt-G (@G), but they have control key aliases of ^\ and |
| 3987 | ^_ respectively. Made Control-F,B,N,P work like they do in Pico. |
| 3988 | Control-G will become the Help key, but for now is stubbed out. |
| 3989 | 0.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in |
| 3990 | findnextstr. Bound Control-D to Delete. Refixed segfault on zero |
| 3991 | length file. Added Esc-[-A,B,C,D cursor key sequences. |
| 3992 | 0.6.9 Preliminary cursor position function. Split up tip.c more, made |
| 3993 | new files cut.c and winio.c. Fixed a bug in cut_marked_segment |
| 3994 | that was leaving out a character. |
| 3995 | 0.6.8 By request, optchr in main() is now an int. Removed unneeded |
| 3996 | globals. Bound functions for next/prev page, and wrote functions |
| 3997 | do_home and do_end. |
| 3998 | 0.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and |
| 3999 | created read_file. Implemented Insert File. Fixes in tipgetstr |
| 4000 | for erroneous keystrokes. Added leave_cursor arg to do_yesno(). |
| 4001 | 0.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for |
| 4002 | aborted searches and more Pico-compatible messages. statusq() now |
| 4003 | returns -2 on a blank entry instead of -1. Bug fix in actual_x(). |
| 4004 | 0.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text |
| 4005 | regarding buffers with filebot in them. Fixins in do_backspace |
| 4006 | and do_enter. Removed unused variables. Removed strip_newline. |
| 4007 | 0.6.4 Took out the awful newlines from each string buffers. This will |
| 4008 | certainly cause more bugs. Fixes in do_exit(). Better empty file |
| 4009 | handling (I hope). |
| 4010 | 0.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct. |
| 4011 | do_enter() rewritten. |
| 4012 | 0.6.2 Better default file permissions. Complete rewrite of do_wrap(). |
| 4013 | Better handling of editing with cursor near COLS - 1. |
| 4014 | 0.6.1 Starting to implement wrapping toggle. Fix for unhandled control |
| 4015 | codes being entered into the buffer. Bug fix in actual_x; more |
| 4016 | > COLS - 1 functionality, especially on lines with TABs. Fixed being |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4017 | locked into cutbuffer when cutting more than one marked screen of |
| 4018 | text. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4019 | 0.6.0 We have TABs!!! To do this, placewewant is now set to the actual |
| 4020 | width on the screen we want to be, not an index of current->data. |
| 4021 | New functions xplustabs and actual_x convert the actual place |
| 4022 | the cursor should be on the screen to and from the place in the |
| 4023 | string. |
| 4024 | 0.5.5 Changed do_right to test do_down before setting current_x to 0, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4025 | eliminating the "looping" on the last line when holding the right |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4026 | arrow. Preliminary support for longer than COLS - 1 lines. |
| 4027 | Wrote do_delete. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4028 | 0.5.4 Fixed a bug in total_update that wasn't repainting the screen |
| 4029 | properly. tipgetstr is much more messy but text is now more |
| 4030 | editable ;) Fixed crash on entering a new file, hopefully. Awful |
| 4031 | stub for tab handling, only in do_right() to save me some sanity. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4032 | 0.5.3 Added check for malloc.h. Implementing uncut from marker slowly. |
| 4033 | Fixed a few bugs in do_uncut when not uncutting from marked text. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4034 | I would not trust your data with the mark code right now, but then |
| 4035 | we're not at version 1.0 yet so dont trust anything ;) |
| 4036 | 0.5.2 Added reset_cursor() before end of update_line so cursor doesn't |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4037 | jump after each keystroke entered. Select text stubbed. Fixed |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4038 | a bug in total_refresh(). Setting a mark will highlight properly, |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4039 | but does not actually affect what gets put in the cutbuffer (yet). |
| 4040 | 0.5.1 Writing a file out causes modified to be set back to 0. Good. |
| 4041 | Set_modified function written. Cut and uncut text now set |
| 4042 | modified when called. |
| 4043 | 0.5.0 Half way there! Implemented write out, save function seems |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4044 | stable. Changed statusbar blank routing to not refresh, a separate |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4045 | program calls it and then refreshes. Made the program not clear |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4046 | the screen on exit, just the bottom two lines (like Pico). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4047 | 0.4.2 Implemented replace all in replace function. Crude exit function |
| 4048 | (asks yes or no if modified but does not write to file). |
| 4049 | 0.4.1 Implementing search & replace. Fixed crash on deleting at top of |
| 4050 | edit buffer. Implemented "timeout" of statusbar messages. |
| 4051 | Implemented ^A and ^E (beginning and end of line). |
| 4052 | 0.4.0 Split code into global.c and proto.h to allow for better multiple |
| 4053 | file handling. Added #defines for the majority of the shortcut |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 4054 | keys in tip.h for easy modification. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 4055 | 0.3.1 Write edit_refresh which doesn't move the screen around, just |
| 4056 | updates what's there already. do_wrap() and do_enter() added. |
| 4057 | 0.3.0 Preliminary cutbuffer (cut and uncut) support. |
| 4058 | 0.2.7 Check for Modification added. do_search() works. |
| 4059 | 0.2.5 Rewrite of file data struct. |
| 4060 | 0.2 Read in data to buffer, bound keystrokes to stub functions, |
| 4061 | initial cursor movement on screen. Initial autoconf support. |
| 4062 | 0.1 Initial program setup w/ncurses |
Chris Allegretta | c87a411 | 2000-08-07 02:16:24 +0000 | [diff] [blame] | 4063 | |
| 4064 | $Id$ |