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