Chris Allegretta | 1866609 | 2000-11-24 01:37:14 +0000 | [diff] [blame] | 1 | CVS code - |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 2 | - General |
| 3 | - Added configure argument --disable tabcomp. Affects |
| 4 | configure.in, configure, bottom of files.c and write_file, and |
| 5 | winio.c:nanogettsr(). |
| 6 | - Username tab completion code, and cleaned up existing tabcomp |
| 7 | code. New functions real_dir_from_tide(), append_slash_if_dir(), |
| 8 | username_tab_completion is more than a stub now =-). |
Chris Allegretta | 8a0de3b | 2000-11-24 20:45:14 +0000 | [diff] [blame] | 9 | - New options --enable-extra. New code in nano.c:version() to |
| 10 | print out various options from ./configure, function do_credits(). |
Chris Allegretta | 650e8a4 | 2000-11-24 14:15:17 +0000 | [diff] [blame] | 11 | - files.c: |
| 12 | write_file() |
| 13 | - Unsetting modified on temp files bug fixed (Rocco Corsi). |
Chris Allegretta | 25f4e58 | 2000-11-25 05:03:20 +0000 | [diff] [blame] | 14 | do_insertfile() |
| 15 | - Added call to real_name_from tilde, oops. |
Chris Allegretta | 24946bd | 2000-11-26 21:34:47 +0000 | [diff] [blame] | 16 | read_file() |
| 17 | - Added check for fileptr == NULL. |
Chris Allegretta | 0779835 | 2000-11-27 22:58:23 +0000 | [diff] [blame] | 18 | - global.c: |
| 19 | shortcut_init() |
| 20 | - Now takes an argument as to whether to display the unjustify |
| 21 | shortcut or the normal uncut text one. Needed to accomodate |
| 22 | the klugey unjustify code. |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 23 | - nano.1, nano.1.html: |
| 24 | - Updated date on pages because of -p changes. |
Chris Allegretta | 9149e61 | 2000-11-27 00:23:41 +0000 | [diff] [blame] | 25 | - nano.c: |
| 26 | do_justify() |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 27 | - Wrote unjustify code. Borrows cutbuffer and stores the unjustified |
| 28 | text there, then grabs the next keystroke and, if the unjustify |
| 29 | key, gets rid of the justified text and calls do_uncut_text. |
| 30 | Added macro NANO_UNJUSTIFY_KEY. |
Jordi Mallach | d819a4c | 2000-11-25 04:50:25 +0000 | [diff] [blame] | 31 | - es.po: |
| 32 | - Traditional Spanish strings updates. |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 33 | |
Chris Allegretta | ca7a21d | 2000-11-24 01:35:40 +0000 | [diff] [blame] | 34 | nano 0.9.21 - 11/23/2000 |
Chris Allegretta | f26bca7 | 2000-11-21 03:04:45 +0000 | [diff] [blame] | 35 | - AUTHORS |
| 36 | - Added Rocco Corsi. |
Chris Allegretta | 31c7666 | 2000-11-21 06:20:20 +0000 | [diff] [blame] | 37 | - nano.c: |
| 38 | main() |
| 39 | - Changed check for argc == 1 to argv[optind] == NULL to decide |
| 40 | whether or not to display "New File" in the statusbar. |
Chris Allegretta | aaabe1f | 2000-11-19 18:20:07 +0000 | [diff] [blame] | 41 | - search.c: |
| 42 | findnextstr() |
Chris Allegretta | 1cc29f6 | 2000-11-20 01:29:37 +0000 | [diff] [blame] | 43 | - Fix curent_x increment bug by using another variable (Rocco Corsi). |
Chris Allegretta | ef601bb | 2000-11-19 19:15:03 +0000 | [diff] [blame] | 44 | search_init() |
| 45 | - Silly typo in our "one simple call" of statusq. Stopped |
| 46 | previous search string from being displayed. |
Chris Allegretta | c793c43 | 2000-11-21 12:52:55 +0000 | [diff] [blame] | 47 | do_replace() |
| 48 | - Copy back the previous value of last_replace into answer if |
| 49 | using PICO_MODE and answer == "" |
Chris Allegretta | 6c5781b | 2000-11-23 01:19:58 +0000 | [diff] [blame] | 50 | - winio.c: |
| 51 | do_up() |
| 52 | - Deleted first update_line() call, screws up display when marker is set. |
Chris Allegretta | d466ab7 | 2000-11-19 20:36:41 +0000 | [diff] [blame] | 53 | - nano.1, nano.1.html |
| 54 | - Updated man page for new -p definition. |
Chris Allegretta | ac0e63a | 2000-11-19 02:25:43 +0000 | [diff] [blame] | 55 | |
Chris Allegretta | 6da149a | 2000-11-19 02:23:03 +0000 | [diff] [blame] | 56 | nano 0.9.20 - 11/18/2000 |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 57 | - General |
| 58 | - Ran source through indent -kr again. Make everything pretty. |
| 59 | - Changed behavior of "search" and "replace" prompts to make all |
| 60 | previous values editable. This change was made so that you can |
| 61 | replace with the null string without needing a special key for it. |
| 62 | changed code in search_init(), do_replace(), nanogetstr (see |
| 63 | below). |
| 64 | - Added some missing gettext calls here and there (Jordi). |
| 65 | - Revamped nanogetsr() and calls to it to use variable length strings. |
| 66 | MANY changes in nanogetstr(), many chances in search.c, new |
| 67 | function mallocstrcpy which is sure to be a programmatic |
| 68 | nightmare, changed last_search, last_replace, answer to |
| 69 | pointers. New function not_found_msg in search.c for displaying |
Chris Allegretta | cbb0f8b | 2000-11-15 03:50:02 +0000 | [diff] [blame] | 70 | truncated strings in satusbar when the string is not found |
| 71 | (-pedantic fixes by Rocco Corsi). We disable this feature when |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 72 | using PICO_MODE (-p). |
Chris Allegretta | 27eb13f | 2000-11-05 16:52:21 +0000 | [diff] [blame] | 73 | - New spelling code by Rocco Corsi. New functions |
| 74 | do_int_speller, do_alt_speller, changes to do_spell in nano.c, |
| 75 | New functions search_init_globals and do_replace_loop, changes |
| 76 | to search_init(), do_replace, findnextstr, moved last_search and |
| 77 | last_replace back to nano.c (*shrug*). |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 78 | - New tab completion code. Used check_wildcard_match, input_tab, |
| 79 | cwd_tab_completion, username_tab_completion from busybox, |
Chris Allegretta | 7da4e9f | 2000-11-06 02:57:22 +0000 | [diff] [blame] | 80 | hacked them a lot, changes to nanogetstr(). nanogetstr() and |
| 81 | statusq() now take an arg for whether or not to allow tab |
| 82 | completion. |
Chris Allegretta | 5bf51d3 | 2000-11-16 06:01:10 +0000 | [diff] [blame] | 83 | - Fixed value being input in statusbar during a search or replace |
| 84 | and CASE_SENSITIVE or the other search is called and the |
| 85 | string being typed in is blown away. Reported by Ken Tyler. |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 86 | - Changed PICO_MSGS flag to PICO_MODE, changed help strings |
| 87 | accordingly. |
Chris Allegretta | 92d2bab | 2000-11-02 14:53:46 +0000 | [diff] [blame] | 88 | - files.c: |
| 89 | do_writeout() |
| 90 | - Change strcpy to answer to mallocstrcpy. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 91 | - global.c |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 92 | - New global replace_list_2, for 2nd half of the replace dialog |
| 93 | ("Replace with:"), has fewer options than first half because |
| 94 | they were inapropriate. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 95 | toggle_init() |
| 96 | - Added #ifdef around toggle_regex_msg to get rid of compiler |
| 97 | warning. |
Chris Allegretta | 1cc0b7f | 2000-11-03 01:29:04 +0000 | [diff] [blame] | 98 | |
| 99 | - nano.c: |
| 100 | keypad_on() |
| 101 | - New function, toggles turning the keypad on and off in edit and |
| 102 | bottomwin(). Added call to this in finish(), fixes bug #45. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 103 | - search.c |
| 104 | findnexstr() |
| 105 | - New arg for begin_x variable, basically a rewrite that |
| 106 | makes a little more sense and isn't quite as messy (Rocco Corsi). |
| 107 | - Update the line we're checking if not the whole screen, because |
| 108 | it's quite possible the search team could exist somewhere way |
| 109 | to the right on the same line, for example. |
| 110 | replace_abort() |
| 111 | - Add reset of placewewant, stops cursor from jumping when moving |
| 112 | cursor after a replace. |
Chris Allegretta | 810632d | 2000-10-27 04:36:01 +0000 | [diff] [blame] | 113 | do_replace() |
| 114 | - Added code for Gotoline key after entering the search term. |
| 115 | Fixes bug #46. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 116 | - Removed redundant code involving processing replacemenet string. |
| 117 | Converted if statements to switch statements. |
| 118 | - Optimizations by Rocco Corsi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 119 | - Removed code for deleted shortcuts from in replace_list_2. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 120 | do_search() |
| 121 | - Converted if statements to one switch statement. |
Chris Allegretta | f9b6c9b | 2000-10-18 19:35:59 +0000 | [diff] [blame] | 122 | - winio.c |
| 123 | nanogetstr() |
| 124 | - Added check for 343 in while loop to get rid of getting "locked" |
| 125 | into statusbar" bug in odd $TERMs like iris-ansi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 126 | - Changed check to return -2 on "enter" from answer == "" |
| 127 | to answer == def. |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 128 | - Fixed fallthrough code because there was no break. Make much |
| 129 | more sense now. |
Chris Allegretta | 5b1faac | 2000-11-16 19:55:30 +0000 | [diff] [blame] | 130 | - Added check for ASCII 54[124] when using PDCURSES, ignore them |
| 131 | if noticed. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 132 | nanoget_repaint() |
| 133 | - New function, removes about 30 lines of duplicate code in |
| 134 | nanogetstr(). |
Chris Allegretta | 90594e2 | 2000-11-02 15:53:40 +0000 | [diff] [blame] | 135 | - Black magic code to make $ appear in prompt if we're past |
| 136 | COLS. |
Chris Allegretta | 2c97522 | 2000-11-15 01:25:42 +0000 | [diff] [blame] | 137 | blank_edit() |
| 138 | - Removed wrefresh() call, much less choppy now. If there's a need |
| 139 | for a wrefresh after a specific call, let me know. |
Jordi Mallach | 0ae0dcd | 2000-10-28 12:38:02 +0000 | [diff] [blame] | 140 | - es.po: |
Jordi Mallach | d25385b | 2000-11-18 03:31:21 +0000 | [diff] [blame] | 141 | - Updated translation for 0.9.20 (Jordi). |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 142 | |
Chris Allegretta | 07e97d6 | 2000-10-03 01:52:50 +0000 | [diff] [blame] | 143 | nano 0.9.19 - 10/02/2000 |
Chris Allegretta | ad1dacc | 2000-09-21 04:25:45 +0000 | [diff] [blame] | 144 | - General |
| 145 | - Added PDCurses support under cygwin, which allows building |
| 146 | a nice stand-alone nano.exe for those poor Windows users. |
| 147 | Extra check in configure.in for initscr() in -lcurses (as |
| 148 | PDcurses has no tgetent), some #ifdef PDCURSES statements |
| 149 | in main(). |
Chris Allegretta | 66989d6 | 2000-09-27 03:16:11 +0000 | [diff] [blame] | 150 | - Changed web site and email to new nano-editor.org domain. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 151 | - nano.c |
Chris Allegretta | 9e7efa3 | 2000-10-02 03:42:55 +0000 | [diff] [blame] | 152 | - Added (int) casts to remove compile warnings with -Wall. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 153 | main() |
| 154 | - Added check for _POSIX_VDISABLE around term variable definition. |
Chris Allegretta | df3afdc | 2000-10-01 17:50:29 +0000 | [diff] [blame] | 155 | - search.c |
| 156 | - Added initializations for last_search and last_replace (Rocco Corsi) |
| 157 | |
Chris Allegretta | 629edad | 2000-09-19 00:27:19 +0000 | [diff] [blame] | 158 | nano 0.9.18 - 09/18/2000 |
Chris Allegretta | 805c26d | 2000-09-06 13:39:17 +0000 | [diff] [blame] | 159 | - General |
| 160 | - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, |
| 161 | added check for regex.h in configure.in. |
Chris Allegretta | 90bd712 | 2000-09-13 18:12:05 +0000 | [diff] [blame] | 162 | - configure.in: |
| 163 | - Added default case for cross-compiling to get rid of annoying |
| 164 | AC_TRY_RUN warning. |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 165 | - cut.c: |
| 166 | do_cut_text() |
| 167 | - 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] | 168 | set (fixes bug #42). |
Chris Allegretta | f45c18d | 2000-09-16 05:25:06 +0000 | [diff] [blame] | 169 | - files.c: |
| 170 | open_file() |
| 171 | - Fix for bug #44 (Rocco Corsi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 172 | - global.c: |
| 173 | shortcut_init() |
| 174 | - Added in FKEYs that for some reason were left out. *boggle* |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 175 | - nano.c: |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 176 | main() |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 177 | - Added check for _POSIX_VDISABLE and use raw mode if not |
| 178 | available, allows nano to work with cygwin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 179 | - Added gettext calls to enable/disable strings (Jordi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 180 | - Revamped a great deal of the F-key and keypad key handling, |
| 181 | because we not longer use keypad() (see below). |
| 182 | - Removed keypad() call because nano was not working with the |
| 183 | keypad in many terms, which is very bad. |
Chris Allegretta | 9c35eb0 | 2000-09-13 14:24:52 +0000 | [diff] [blame] | 184 | - Made insert key call do_insertfile(). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 185 | do_toggle() |
| 186 | - Rewrote function to allow NOHELP toggle to wotk on systems |
| 187 | without a working resizewin(). New function window_init(). |
Chris Allegretta | 0b88ce0 | 2000-09-15 15:46:32 +0000 | [diff] [blame] | 188 | mouse_init() |
| 189 | - Add keypad only if mouse support is on, otherwise mouse doesn't |
| 190 | work. I guess you have to choose between having the mouse and |
| 191 | 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] | 192 | - winio.c: |
| 193 | total_refresh() |
| 194 | - Added titlebar() call. |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 195 | onekey() |
| 196 | - Off by one error fix fix ;-) (Rocco Corsi). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 197 | |
Chris Allegretta | b9bfc9b | 2000-09-10 05:06:09 +0000 | [diff] [blame] | 198 | - search.c: |
| 199 | findnextstr() |
| 200 | - Reset starting at current for search instead of begin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 201 | - es.po: |
| 202 | - Translated new strings and minor updates (Jordi). |
Chris Allegretta | 834a69d | 2000-09-18 17:11:33 +0000 | [diff] [blame] | 203 | - de.po |
| 204 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 205 | |
Chris Allegretta | 423cbfd | 2000-09-04 16:21:29 +0000 | [diff] [blame] | 206 | nano-0.9.17 - 09/04/2000 |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 207 | - General |
| 208 | - New shortcuts to toggle certain options that are normally only |
| 209 | flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called |
| 210 | toggles in nano.h, toggle_init(), toggle_init_one() in global.c |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 211 | called from shortcut_init(), and do_toggle in nano.c. Also |
| 212 | moved the signal code into a separate function in nano.c called |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 213 | signal_init(). Moved "struct sigaction act"into a static in |
| 214 | nano.c. |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 215 | - Changed from Alt-key symbol (@) which is completely nonstandard |
| 216 | to the *nix "Meta" symbol (M-). Changed help_init to show |
| 217 | the M-key usage and the help text to explain keys whcih generate |
| 218 | Meta. Moved the toggle Meta keystrokes to the first column |
| 219 | instead of the third as they are the primary keystrokes for the |
Chris Allegretta | 9541f2a | 2000-09-02 07:31:32 +0000 | [diff] [blame] | 220 | functions. Thanks Mini editor team :-> |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 221 | - Changed last_search and last_replace vars to statically |
| 222 | allocated (hence nulled) and moved to search.c (Matt Kraai). |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 223 | - global.c: |
| 224 | toggle_init() |
| 225 | - Changed "No auto wrap" and "No help mode" to "Auto wrap" and |
| 226 | "Help mode". See the change to do_toggle() below. |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 227 | - nano.c: |
| 228 | do_mouse() |
| 229 | - Patch for handling lines w/tabs and mouse better (Ben Roberts). |
Chris Allegretta | 340d6e5 | 2000-08-29 03:55:29 +0000 | [diff] [blame] | 230 | do_wrap() |
| 231 | - Made wrapping code less ambitious. |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 232 | do_toggle() |
| 233 | - Added checks for no help and no wrap mode, and print opposite |
| 234 | enable/disable message. |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 235 | do_suspend(), do_cont(): |
| 236 | - New functions, handle suspend signal in a Pico-like manner and |
| 237 | work with Meta-Z. |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 238 | - winio.c: |
| 239 | total_refresh() |
| 240 | - Added edit_refresh() call to actually update the screen if messy. |
| 241 | edit_refresh_clearok() |
| 242 | - New function, does a total update for edit refresh, needed to fix |
| 243 | lack of reversed text on searching with MARK_ISSET. |
Chris Allegretta | dabc3cb | 2000-08-25 01:44:12 +0000 | [diff] [blame] | 244 | onekey() |
| 245 | - Off by one error fix (Rocco Corsi). |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 246 | |
Chris Allegretta | 6306a11 | 2000-09-02 07:55:41 +0000 | [diff] [blame] | 247 | update_line() |
| 248 | - Added check for binary data >= 1 and <= 26, and use ^+letter |
| 249 | to display it. Should fix editing text files with binary |
| 250 | data in them. Placing of the cursor seems to be a bit screwed |
| 251 | though... |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 252 | - search.c: |
| 253 | search_abort() |
| 254 | - Now calls edit_refresh_clearok when MARK_ISSET to handle screen |
| 255 | ugliness bug (reported by Ken Tyler). |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 256 | findnextstr(): |
| 257 | - Added reset for placewewant (Ben Roberts). |
Chris Allegretta | 9babaf3 | 2000-08-30 13:49:33 +0000 | [diff] [blame] | 258 | - Fixed check for string that only occurs on the same line failing |
| 259 | (discovered by Ken Tyler). |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 260 | |
Chris Allegretta | ba96f7a | 2000-08-09 21:38:28 +0000 | [diff] [blame] | 261 | nano-0.9.16 - 08/09/2000 |
Chris Allegretta | 7dc14e8 | 2000-08-05 16:03:19 +0000 | [diff] [blame] | 262 | - cut.c: |
| 263 | do_cut_text() |
| 264 | - Fixed getting locked into cutbuffer on cutting first line of file. |
Chris Allegretta | c86f714 | 2000-08-07 14:39:32 +0000 | [diff] [blame] | 265 | - Added check_statblank(). |
| 266 | - Check for fileptr == filebot, if so return, we shouldn't bother |
| 267 | cutting the magic line. |
| 268 | do_uncut_text() |
| 269 | - Added check_statblank(). |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 270 | - nano.c: |
| 271 | main() |
| 272 | - Changed tabsize long arg to actually accept an argument *sigh*. |
Chris Allegretta | 81b1eea | 2000-08-05 16:09:07 +0000 | [diff] [blame] | 273 | - po/Makefile.in.in: |
| 274 | - Patch to handle $DESTDIR (orig by Dan Harnett contributed by |
| 275 | Christian Weisgerber) |
Chris Allegretta | b4dc9e0 | 2000-08-05 22:49:30 +0000 | [diff] [blame] | 276 | - configure.in: |
Chris Allegretta | a2efc36 | 2000-08-09 03:26:33 +0000 | [diff] [blame] | 277 | - New (and severally revised =) slang test code (Albert Chin-A-Young) |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 278 | |
Chris Allegretta | 0bf4e14 | 2000-08-04 02:42:04 +0000 | [diff] [blame] | 279 | nano-0.9.15 - 08/03/2000 |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 280 | - Changed edit_update call to take arguments TOP, CENTER or BOTTOM. |
| 281 | Affects many many functions. Removed functions edit_update_top and |
| 282 | edit_update_bot. |
Chris Allegretta | 6d690a3 | 2000-08-03 22:51:21 +0000 | [diff] [blame] | 283 | - Added global variable tabsize, we no longer screw with the curses |
| 284 | library in order to implement -T (suggested by Christian Weisgerber). |
Chris Allegretta | 7a6f0d9 | 2000-07-31 13:00:24 +0000 | [diff] [blame] | 285 | - configure.in: |
| 286 | - Finally fixed check for slang to report "no" if not called |
| 287 | with --with-slang or --without-slang |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 288 | - nano.c: |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 289 | splice_node() |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 290 | - New function, abstracts linking in nodes. Fixes bug #36. |
Chris Allegretta | 6925bbd | 2000-07-28 01:41:29 +0000 | [diff] [blame] | 291 | null_at() |
| 292 | - New function, nulls a string at a given index and realigns it. |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 293 | delete_buffer() |
| 294 | - Removed, same as free_filestruct(). |
Chris Allegretta | da721be | 2000-07-31 01:26:42 +0000 | [diff] [blame] | 295 | do_backspace() |
| 296 | - Now calls page_up_center instead of page_up (as it should?) |
| 297 | do_enter() |
| 298 | - Fixed typo (?) in check for inptr->next. Caused lots of |
| 299 | grief for editing lines at filebot. |
Chris Allegretta | 99bf73f | 2000-08-04 00:22:08 +0000 | [diff] [blame] | 300 | main() |
| 301 | - Removed now useless usrtabsize variable (Christian Weisgerber). |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 302 | - search.c: |
| 303 | replace_abort() |
| 304 | - redundant, now just calls search abort until it does something |
| 305 | different. |
Chris Allegretta | 95b0b52 | 2000-07-28 02:58:06 +0000 | [diff] [blame] | 306 | - winio.c: |
| 307 | edit_refresh() |
| 308 | - Added check for current line "running" off the screen. |
| 309 | Hopefully this will not cause any recursive lockups. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 310 | (Who am I kidding, of course it will!) |
Chris Allegretta | ed02216 | 2000-08-03 16:54:11 +0000 | [diff] [blame] | 311 | - Added check to stop infinite loop calling edit_update. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 312 | edit_update() |
| 313 | - Rewritten, hopefully this will remove a lot of the |
| 314 | scrolling the cursor back and forth needlessly. |
Chris Allegretta | 1a47139 | 2000-07-28 14:08:01 +0000 | [diff] [blame] | 315 | - move.c: |
| 316 | page_down() |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 317 | - do an edit_update() at last case. Made function more like |
| 318 | Pico's version, only move down to two lines before editbot. |
| 319 | page_up() |
| 320 | - Made function more like Pico's version, only move down to two |
| 321 | lines after edittop. |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 322 | |
Chris Allegretta | a1a55c7 | 2000-07-28 00:36:03 +0000 | [diff] [blame] | 323 | nano-0.9.14 - 07/27/2000 |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 324 | - nano.h: |
| 325 | - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32. |
| 326 | - cut.c: |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 327 | do_cut_text() |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 328 | - 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] | 329 | - Simplified check for freeing cutbuffer. Added checks for doing |
| 330 | multiple cuts with -k, now sets marked_cut to 2 for later |
| 331 | processing by do_uncut_text(). |
| 332 | do_uncut_text() |
| 333 | - Added handler for uncutting with -k cuts. |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 334 | - files.c: |
| 335 | write_file() |
| 336 | - Removed (redundant) check for writing out files with -t. |
| 337 | do_writeout() |
| 338 | - Changed check for filename to filename[0]. Added some code, |
| 339 | overall fixes bug #30 =-) |
Robert Siemborski | a417ddc | 2000-07-24 23:18:48 +0000 | [diff] [blame] | 340 | - nano.c: |
| 341 | do_justify() & do_wrap(): |
| 342 | - totsize-related fixes (Rob) |
Chris Allegretta | 2ece167 | 2000-07-27 15:25:52 +0000 | [diff] [blame] | 343 | - de.po |
| 344 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 345 | |
Chris Allegretta | 1d7110d | 2000-07-23 16:59:07 +0000 | [diff] [blame] | 346 | nano-0.9.13 - 07/23/2000 |
Chris Allegretta | 627de19 | 2000-07-12 02:09:17 +0000 | [diff] [blame] | 347 | - 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] | 348 | affects do_cut_text in cut.c. Not available with SMALL_NANO because it |
| 349 | depends on the marker code which is not available with that setting. |
Chris Allegretta | 3088555 | 2000-07-14 01:20:12 +0000 | [diff] [blame] | 350 | - Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using |
| 351 | -t with an unwritable file causes users to get locked into editor). |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 352 | - move.c |
| 353 | page_down() |
| 354 | - Don't edit_refresh() if the bottom of the file is in the edit |
| 355 | buffer. (Adam) |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 356 | - nano.c: |
| 357 | main(): |
| 358 | - TABSIZE now set before first call to edit_refresh (Bill Soudan) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 359 | - Different ^C kill code (patch by Christian Weisgerber). |
Robert Siemborski | fcf32bf | 2000-07-17 03:04:54 +0000 | [diff] [blame] | 360 | die(): |
| 361 | - More intelligent emergency-save filename selection (Rob) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 362 | do_spell(): |
| 363 | - Changed exit semantincs a bit so that aspell wouldn't get |
| 364 | all screwy (bug disovered by Joshua Jensen. |
| 365 | - files.c: |
| 366 | read_file(): |
| 367 | - Added init of buf variable, hopefully this will stop the |
| 368 | "bleeding" of text seen with mutt and using i18n. |
Chris Allegretta | acb6234 | 2000-07-21 22:42:46 +0000 | [diff] [blame] | 369 | write_file(): |
| 370 | - Added code to check to see if using -l and the file is not |
| 371 | in fact a link. This should fix the behavior where a file |
| 372 | that does not have write permission but could be removed and |
| 373 | rewritten is saved without error. Please test this feature |
| 374 | and give feedback. |
Chris Allegretta | a4d2162 | 2000-07-08 23:57:03 +0000 | [diff] [blame] | 375 | - search.c: |
| 376 | search_init(): |
| 377 | - Added " (to replace)" statement to end of search string if |
| 378 | we are doing a replace. Manually converted all the translations |
| 379 | from '%s' to '%s%s' to ensure they still work with the new code. |
| 380 | Also put in the translation for " (replace)" in the .po's. Hope |
| 381 | I didn't step on your toes doing this Jordi. (Chris) |
Chris Allegretta | 635fae3 | 2000-07-09 03:26:34 +0000 | [diff] [blame] | 382 | do_search(), do_replace(): |
| 383 | - Removed call to search_abort()/replace_abort() before call to |
| 384 | the opposite function. |
Chris Allegretta | fa8f7bf | 2000-07-12 02:41:13 +0000 | [diff] [blame] | 385 | - Fixed bug #28. |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 386 | findnextstr() |
| 387 | - do not center string found if it is currently visable. (Adam) |
Chris Allegretta | 7539a82 | 2000-07-09 23:55:13 +0000 | [diff] [blame] | 388 | - fr.po: |
| 389 | - French update by Clement Laforet <clem_laf@wanadoo.fr>. |
Jordi Mallach | 8d7ac1b | 2000-07-13 03:10:01 +0000 | [diff] [blame] | 390 | - es.po: |
| 391 | - Updated strings to 0.9.13 (Jordi). |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 392 | |
Chris Allegretta | e955dae | 2000-07-07 22:24:59 +0000 | [diff] [blame] | 393 | nano-0.9.12 - 07/07/2000 |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 394 | - all: |
Chris Allegretta | 9fc8d43 | 2000-07-07 01:49:52 +0000 | [diff] [blame] | 395 | - New regexp search feature by Bill Soudan. New flags USE_REGEXP |
| 396 | and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup |
| 397 | replace_line, replace_regexp in search.c, changes to |
Chris Allegretta | 4780561 | 2000-07-07 02:35:34 +0000 | [diff] [blame] | 398 | search_init() and do_replace() and strstrwrapper(). |
| 399 | - Added _POSIX_VERSION check to regexp code. Better than nothing |
| 400 | for non-POSIX systems... |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 401 | - Made search functions & keys more like Pico. Added goto line from |
| 402 | search and replace function, changed wording to "No Replace" instead |
| 403 | of "To Search", "To Replace" to simply "Replace", and changed to |
| 404 | Pico's keystroke by default, ^R. Affects search_init(), |
| 405 | do_search() in search.c, globals in nano.h and |
| 406 | shortcut_init() in global.c. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 407 | - changed 'sprintf' calls to safer 'snprintf' (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 408 | - cut.c |
| 409 | - further totsize update corrections |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 410 | - files.c: |
| 411 | - changed do_insertfile to call fix_editbot (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 412 | - Magic Line code in read_file (Rob) |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 413 | - nano.c: |
| 414 | - Removed dual alt_speller variables, oops! (Rocco Corsi) |
Chris Allegretta | dbc12b2 | 2000-07-03 03:10:14 +0000 | [diff] [blame] | 415 | - Removed unnecessary do_oldspell function (Rocco Corsi). Added |
| 416 | SMALL_NANO #ifdef around actual spell function. |
Chris Allegretta | 1e57e68 | 2000-07-03 04:24:39 +0000 | [diff] [blame] | 417 | - Moved page_up() to move.c where is belongs. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 418 | - Corrected FIXME in do_enter with explanation. (Rob) |
| 419 | - Fixed FIXME in do_justify, resulted in creation of |
| 420 | fix_editbot [also fixed in do_enter] (winio.c) (Rob) |
Robert Siemborski | cdff015 | 2000-07-07 01:58:52 +0000 | [diff] [blame] | 421 | help_init(): |
| 422 | - Moved newline out of if statement (Rocco Corsi) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 423 | do_char(): |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 424 | - Magic Line related code in do_char (Rob) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 425 | do_backspace(), do_delete(): |
| 426 | - Added magic line code here too. |
| 427 | |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 428 | - de.po: |
Chris Allegretta | 6e80585 | 2000-06-22 01:53:29 +0000 | [diff] [blame] | 429 | - Revised translations by floki@bigfoot.com. |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 430 | - fi.po: |
| 431 | - Finnish translation by pauli.virtanen@saunalahti.fi. |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 432 | - utils.c: |
| 433 | - Added new_magicline() |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 434 | - winio.c: |
Chris Allegretta | dba37ae | 2000-07-07 05:13:09 +0000 | [diff] [blame] | 435 | - Added stdlib.h to includes, found by OpenBSD gcc. |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 436 | - lots of new commenting around display functions |
Chris Allegretta | 5204ea9 | 2000-06-22 01:56:23 +0000 | [diff] [blame] | 437 | do_yesno(), nanogetstr(): |
| 438 | - Removed now unnecessary raw/cbreak combos. |
Jordi Mallach | 0b0fc49 | 2000-06-23 01:00:13 +0000 | [diff] [blame] | 439 | - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till |
| 440 | we decide if those keybindings should be translated. (Jordi) |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 441 | clear_bottomwin(): |
| 442 | - Removed wrefresh(edit) call. |
Chris Allegretta | 48fd2cb | 2000-07-03 04:31:13 +0000 | [diff] [blame] | 443 | edit_update_top(): |
| 444 | - Fixed a bug that caused nano to not update when |
| 445 | current->next == NULL (e.g. paging down to the very bottom of |
| 446 | ABOUT NLS wouldn't work). |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 447 | fix_editbot: |
| 448 | - Added (should rebuild editbot from a valid edittop) (Rob) |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 449 | edit_add: |
| 450 | - removal of redundant call to mvwaddnstr |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 451 | |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 452 | nano-0.9.11 - 06/20/2000 |
Chris Allegretta | 790198d | 2000-06-20 00:40:01 +0000 | [diff] [blame] | 453 | - New flag "-T" or "--tabsize" to specify how to display tab widths. |
| 454 | Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in |
| 455 | winio.c, and nano.h. Many harcoded "8"s have been changed to the |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 456 | TABSIZE int. Added changes to nano.1 and nano.1.html. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 457 | - id.po: |
| 458 | - Indonesian translation by Tedi Heriyanto. |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 459 | - es.po: |
| 460 | - Updated translation (Jordi Mallach). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 461 | - winio.c |
| 462 | - Rewrite of display functions to correct the display problems |
| 463 | we had been seeing. Affects: add_marked_sameline, edit_add, |
| 464 | and many others. (Rob Siemborski) |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 465 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 466 | total_refresh(): |
| 467 | - Cut dispaly_main_list call, as this function is only supposed to refresh |
| 468 | what's already on the screen, not go through the process of adding the |
| 469 | text again. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 470 | - cut.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 471 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 472 | - nano.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 473 | - experimental do_wrap and check_wrap (Adam Rogoyski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 474 | - Removed editwineob, as it was redundant for (editwinrows - 1). |
| 475 | Changed all calls to editwinrows - 1 in nano.c and move.c. |
| 476 | - Removed all functions that were split into other files. |
| 477 | Affects LOTS of funcs. |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 478 | do_enter(): |
| 479 | - Added reset of placewewant to end. |
Robert Siemborski | 10eab1d | 2000-06-18 01:05:00 +0000 | [diff] [blame] | 480 | do_insertfile(): |
| 481 | - Fix display problem when using ctrl-r to load a file |
| 482 | into the buffer (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 483 | handle_sigwinch(): |
| 484 | - Added titlebar(), edit_refresh() and display_main_list() calls because |
| 485 | a resize wasn't picking up on possible different width correctly. |
| 486 | - utils.c: |
| 487 | - Moved nmalloc() and nrealloc() here. |
| 488 | - move.c: |
| 489 | - New file, contains movement functions (like do_home(), do_up(), |
| 490 | do_down(), page_up(), etc...). |
| 491 | - files.c: |
| 492 | - Contains functions for files (read_file, insert_file, |
| 493 | do_writeout(), etc). |
| 494 | - search.c: |
| 495 | - Contains all our searching and related functions, (do_search(), |
| 496 | findnextstr(), do_replace(), do_gotoline()). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 497 | |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 498 | nano-0.9.10 - 06/04/2000 |
| 499 | - es.po: |
| 500 | - Translation updates (Jordi). |
| 501 | - AUTHORS, nano.1.html, TODO, README: |
| 502 | - Documentation and email address updates (Jordi). |
| 503 | - nano.c: |
| 504 | main(): |
| 505 | - Moved Adam's termio code down to after getopt() and before initscr() |
| 506 | to stop people losing their SIGINT character when using args that |
| 507 | exit nano before it runs (--version, --help, etc). |
| 508 | |
| 509 | nano-0.9.9 - 05/31/2000 |
| 510 | - Makeile.am: |
| 511 | - Added proper lines for defining LOCALEDIR. |
| 512 | - configure.in: |
| 513 | - Spelling fixes (Jordi Mallach) |
| 514 | - Removed CFLAGS changes for gcc, reduces portability according to |
| 515 | some, and it certainly doesn't seem to decrease exe size. |
| 516 | - es.po: |
| 517 | - Spanish ranslation updates (Jordi Mallach) |
| 518 | - POTFILES.in: |
| 519 | - Added global.c file, was screwing up translations (i.e. they |
| 520 | weren't getting done). |
| 521 | - cut.c: |
| 522 | add_to_cutbuffer(): |
| 523 | - Added totsize increment. |
| 524 | - Cut fixes and optimizations (Rob Siemborski). |
| 525 | do_uncut_text(): |
| 526 | - Added totsize increment in several places. |
| 527 | - nano.c: |
| 528 | headers: |
| 529 | - Removed LOCALEDIR define. |
| 530 | do_justify(): |
| 531 | - Added edit_refresh() call (bug discovered by Adam). |
| 532 | page_down_center(): |
| 533 | - Added call to edit_update(current) for last case. Removed |
| 534 | increment of current_y since it's now just wasteful. |
| 535 | do_enter(): |
| 536 | - Added totsize increment. |
| 537 | renumber(), renumber_all(): |
| 538 | - Removed totsize-- and totsize init in renumber_all. |
| 539 | do_mouse(): |
| 540 | - Added edit_refresh() call to show hilight updates. Removed |
| 541 | unnecessary wrefresh(edit). |
| 542 | main(): |
| 543 | - Moved up locale calls so that translated --help messages would |
| 544 | actually get translated. |
| 545 | do_backspace(), do_delete(): |
| 546 | - Added decrement of totsize. |
| 547 | init_help_msg(): |
| 548 | - New function, initializes help text if NANO_SMALL isn't set (fixes |
| 549 | broken i18n). |
| 550 | read_file(): |
| 551 | - malloc call changed to nmalloc (Rob Siemborski). |
| 552 | - winio.c: |
| 553 | total_refresh(): |
| 554 | - Completely rewrote function, not quite so braindamaged now. |
| 555 | |
| 556 | nano-0.9.8 - 05/18/2000 |
| 557 | - nano.c: |
| 558 | main(): |
| 559 | - Added awesome code that disables the CINTR and CQUIT |
| 560 | character (Adam Rogoyski). Removed raw()/noraw() calls so that |
| 561 | nano gets input in 'normal' mode, which is the Right Way(tm) to |
| 562 | do it. ^S, ^Z and ^Q now work properly as a result, as well as |
| 563 | ^C. New variable term, global bariable oldterm to save previous |
| 564 | term settings, and changes to finish() and die(). |
| 565 | - Added extra #ifdefs in getopt code, so that above code and |
| 566 | flag init is run even if GETOPT_LONG is not #defined. |
| 567 | - Added memset line before sigactions. (Adam Rogoyski) |
| 568 | do_suspend(): |
| 569 | Removed function, see above for why. |
| 570 | - winio.c: |
| 571 | update_line(), center_cursor(): |
| 572 | - Removed wrefresh(edit) from bottom of functions. wrefresh |
| 573 | should now only be called once, at the bottom of the main() |
| 574 | loop. |
| 575 | - global.c: |
| 576 | shortcut_init(): |
| 577 | - Removed suspend sc_init call and suspend message because suspend is no |
| 578 | longer needed in the shortcut list to work properly. |
| 579 | |
| 580 | nano-0.9.7 - 05/14/2000 |
| 581 | - nano.c: |
| 582 | do_home(), do_end(): |
| 583 | - Added calls to update_line for the current line, fixes |
| 584 | lack of update (bug discovered by Alberto GarcÃa). |
| 585 | main(): |
| 586 | - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not |
| 587 | following symlinks even when -l isn't set, and "no changes" |
| 588 | error when nano is called from crontab -e (Adam Rogoyski). |
| 589 | - cut.c: |
| 590 | do_cut_text(): |
| 591 | - Added edit_update_top to cut when mark is set, fixes lack of |
| 592 | display update (bug discovered by Ken Tyler). |
| 593 | |
| 594 | nano-0.9.6 - 05/08/2000 |
| 595 | - New Italian translation (it.po), by Daniele Medri. |
| 596 | - nano.c: |
| 597 | page_up(), page_down(): |
| 598 | - Added reset of placewewant to 0, as it should be. |
| 599 | do_up(), do_down(): |
| 600 | - Added call to update_line() for line we move from and line we |
| 601 | move to, in order to keep the highlighting correct. |
| 602 | do_wrap(): |
| 603 | - Added var chop, new code to wrap lines more like Pico, mostly. |
| 604 | THIS STILL DEFINITELY NEEDS TO BE REWRITTEN! |
| 605 | - winio.c: |
| 606 | do_help(): |
| 607 | - Added edit_refresh() before exit. |
| 608 | update_cursor(): |
| 609 | - Removed cursor updating which really wasn't needed anyway. |
| 610 | edit_update(): |
| 611 | - Removed yucky code that didn't work, this function now just |
| 612 | computes edittop and editbot and calls edit_refresh() to do the |
| 613 | rest, which removes a lot of dupliicate code.. |
| 614 | |
| 615 | nano-0.9.5 - 05/01/2000 |
| 616 | - Removed bytes from file struct because it was computationally wasteful. |
| 617 | - cut.c: |
| 618 | do_uncut_text(): |
| 619 | - Added call to edit_refresh(). |
| 620 | - nano.c: |
| 621 | do_backspace(): |
| 622 | - Added reset of editbot when deleting the last line of the file |
| 623 | (bug discovered by Adam). |
| 624 | do_char(): |
| 625 | - Removed call to reset_cursor(). |
| 626 | do_delete(): |
| 627 | - Added similar check as to do_backspace(). |
| 628 | do_enter(): |
| 629 | - Added call to edit_refresh(). |
| 630 | do_left(), right(): |
| 631 | - Added call to update_line(), still redundant but better... |
| 632 | do_up(), do_down(): |
| 633 | - Added refresh calls both for current line and line to which |
| 634 | we are moving. |
| 635 | main(): |
| 636 | - Removed inefficient call to edit_refresh() after every keystroke. |
| 637 | It is now up each function to leave the screen in a good state. |
| 638 | - winio.c: |
| 639 | do_cursorpos() |
| 640 | - Rewritten to not use bytes from filestruct by an incremental sum. |
| 641 | update_line(), reset_cursor(): |
| 642 | - Optimized calls to xplustabs() through a single variable. |
| 643 | - update_line() now takes a new arg, an index into the string |
| 644 | for where to update the line from. Needed for new update |
| 645 | code. |
| 646 | - configure.in: |
| 647 | - Better checks for slang, allows argument to --with-slang. |
| 648 | (Albert Chin-A-Young) |
| 649 | - Removed -Iintl from CFLAGS in gcc check. |
| 650 | - Makefile.am: |
| 651 | - Addition of -Iintl for gettext (Albert Chin-A-Young) |
| 652 | |
| 653 | nano-0.9.4 - 04/25/2000 |
| 654 | - Fixed calls to no_help and changed them to the more consistent |
| 655 | ISSET(NO_HELP). Fixed return val of no_help to be what it should (2, |
| 656 | not 1. Code to temporarily disable NO_HELP when in the |
| 657 | help system. (Adam Rogoyski) |
| 658 | - cut.c: |
| 659 | do_marked_cut(), do_cut(), do_uncut(): |
| 660 | - Commented out unnecessary bits when NANO_SMALL is being used. |
| 661 | - winio.c: |
| 662 | xpt(), strlenpt(), actual_x(): |
| 663 | - Added check for value of data[i] & 0x80, if so do not make |
| 664 | character 2 chars wide (orig. by Chris, 0x80 check by Adam). |
| 665 | edit_refresh(): |
| 666 | - New check for temp == NULL (bad thing), if so go back to the |
| 667 | previous line. New filestruct var hold points to prev line. |
| 668 | Fixes segfault when paging down to the end of a file. |
| 669 | - nano.c: |
| 670 | write_file(): |
| 671 | - Added check for if file exists and is not equal to the current |
| 672 | filename, prompt for overwrite (Adam Rogoyski). |
| 673 | do_down(): |
| 674 | - Removed check for current->next == NULL, now checks return value |
| 675 | of do_down before setting current_x = 0 (discovered by Adam). |
| 676 | do_justify(): |
| 677 | - Fixed segfault when reaching the last line (tried to assign |
| 678 | currrent->next->data when current->next == NULL) (discovered |
| 679 | by Adam). |
| 680 | - utils.c: |
| 681 | - Removed extra macro defs that are now in nano.h. |
| 682 | - nano.h: |
| 683 | - Changed macro SET() to use |= instead of ^=. Fixes bug in |
| 684 | cut code when cutting more than one line, and cutbuffer gets |
| 685 | blown away when it shouldnt. |
| 686 | |
| 687 | nano-0.9.3 - 04/29/2000 |
| 688 | - cut.c: |
| 689 | do_marked_cut(): |
| 690 | - Fixed off by one error in cut code for marked text. |
| 691 | do_cut_text(): |
| 692 | - Removed check for being on the last line, part of |
| 693 | magic line code. |
| 694 | add_to_cutbuffer(): |
| 695 | - Moved tmp->prev = inptr line to part where cutbuffer != NULL. |
| 696 | - Added inptr->prev = NULL for case where cutbuffer == NULL. |
| 697 | - nano.c: |
| 698 | do_backspace(), do_char(): |
| 699 | - Removed "magic line" code. It was basically causing more bugs |
| 700 | than it was helping for the sake of compatibillity. This fixes |
| 701 | at least one known segfault condition. |
| 702 | do_enter(): |
| 703 | - Added setting editbot to new node if the new node is the last |
| 704 | node in the file. |
| 705 | write_file(): |
| 706 | - Changed writing file bahavior. Now, if last line of the file |
| 707 | has any data on it, we write a newline on it, else we dont. |
| 708 | - winio.c: |
| 709 | add_marked_sameline(): |
| 710 | - New code that checks for whether the begin and end of the marker |
| 711 | are on different lines. Missing previously. |
| 712 | edit_add(): |
| 713 | - added some more checks for text length. Cleaned up some mvwaddnstrs that |
| 714 | could be written more simply as waddnstrs. |
| 715 | edit_refresh(): |
| 716 | - Removed check for temp == filebot, it is now treated like any other line. |
| 717 | Fixes a bug where selected text on the last line shows normally. |
| 718 | xpt(): |
| 719 | - Removed an extra computation for tabs variable that was incorrect. |
| 720 | xplustabs(): |
| 721 | - Since xpt now actualy works, this func is now just a wrapper for |
| 722 | xpt(current, current_x) |
| 723 | - nano.1, nano.1.html: |
| 724 | - Added -l option to man pages. |
| 725 | - configure.in: |
| 726 | - New option --enable-tiny, #defines NANO_SMALL in config.h. |
| 727 | Disables call to gettext in functions and other i18n stuff in |
| 728 | nano.c, the detailed help mode, the resize functions, and the |
| 729 | justify code which no one ever uses. |
| 730 | - New option --with-slang. Enables slang libraries instead of |
| 731 | ncurses, requires slcurses.h for wrapper functions. (Based |
| 732 | on patches for 0.8.7 by Glenn McGrath). |
| 733 | |
| 734 | nano-0.9.2 - 04/15/2000 |
| 735 | - This release just fixes the serious segfault problem if nano is |
| 736 | invoked any way other than using the absolute path. The bug was |
| 737 | in the new code for checking whether nano is invoked as pico. |
| 738 | |
| 739 | nano-0.9.1 - 04/14/2000 |
| 740 | - Added pico compatibility for ^T when in search or switch to switch |
| 741 | to the opposite function. Added one to REPLACE_LIST_LEN and |
| 742 | WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and |
| 743 | new strings that will have to be gettex()ed. New argument 'replacing' |
| 744 | to search_init(). Handlers in do_replace and do_search(). |
| 745 | - New write code, now follows symbolic links instead of replacing them |
| 746 | with the new file. New option (-l, --nofollow) to enable the old |
| 747 | (incorrect, but secure) behavior (Adam Rogoyski). |
| 748 | - nano.c: |
| 749 | do_wrap(): |
| 750 | - Fixed another bug relating to wrapping, and which would cause |
| 751 | a segfault *sigh*. |
| 752 | do_replace(): |
| 753 | - Incremented current_x by the length of the replacement |
| 754 | text inside the main repalce loop. Fixes bug #15. |
| 755 | add_marked_sameline(): |
| 756 | - New function, handles marked text when start & end of marker is |
| 757 | on one line, also supports most marked text when cursor > COLS. |
| 758 | main(): |
| 759 | - Code to check if nano is invoked as 'pico', and if so |
| 760 | automatically set pico_msgs (Robert Jones). |
| 761 | |
| 762 | nano-0.9.0 - 04/07/2000 |
| 763 | - nano.1, nano.1.html: Updated man page with my email address and homepage. |
| 764 | - winio.c: |
| 765 | reset_cursor(), update_line(): |
| 766 | - Changed update algorithm for x value to (COLS - 7) multiple when x |
| 767 | value > (COLS - 2). |
| 768 | - edit_refresh(): |
| 769 | - Removed inner loop code, now calls update_line() for each line |
| 770 | in question, MUCH nicer. |
| 771 | - xplustabs(), xpt(): |
| 772 | - Removed redundant increment of tabs when collumn no % 8 == 0. |
| 773 | - Added check for data[i] < 32, most of such bits are 2 chars wide. |
| 774 | - update_line(): |
| 775 | - Fixed a stupid call to strlenpt with col when we should have |
| 776 | been using actual_col. Ugh. |
| 777 | |
| 778 | nano-0.8.9 - 03/22/2000 |
| 779 | - nano.c: |
| 780 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 781 | Actually added these (screwup applying patch). |
| 782 | do_justify(): Added call to set_modified(). |
| 783 | |
| 784 | nano-0.8.8 - 03/12/2000 |
| 785 | - Preliminary internationalization support. Many many functions modified |
| 786 | to use gettext (via _() macro). es.po file included. (Jordi Mallach) |
| 787 | New dirs po/ and intl/, changes to configure.in and Automake.am to |
| 788 | support i18n. |
| 789 | - nano.c: |
| 790 | includes: Ddded sys/param.h and limits.h. (Adam Rogoyski). |
| 791 | statics: Changed some things that were not necessarily static |
| 792 | (Adam Rogoyski). |
| 793 | nrealloc(): New function, similar to nmalloc(). Changed calls from |
| 794 | realloc() to nrealloc (Adam Rogoyski). |
| 795 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 796 | New functions for justify function (Adam Rogoyski). |
| 797 | - winio.c: |
| 798 | blank_edit(): Added wrefresh call to edit so that screen updates (like |
| 799 | on ^L) actually work. |
| 800 | xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski). |
| 801 | |
| 802 | nano-0.8.7 - 03/01/2000 |
| 803 | - main.c: |
| 804 | do_wrap(): Better fix for segfaults, and fix for lisnes being wrapped |
| 805 | to a single character on one line when no good place to |
| 806 | break the line exists, and for wrapping lines longer than COLS. |
| 807 | - nano.1.html: |
| 808 | Html version of man page, now included in dist. For |
| 809 | the benefit of nano packages in Linux distributions. |
| 810 | |
| 811 | nano-0.8.6 - 02/24/2000 |
| 812 | - gobal.c: |
| 813 | shortcut_init(): |
| 814 | Added shortcuts for goto_line and do_replace when using |
| 815 | pico_msgs. Oops. |
| 816 | - nano.c: |
| 817 | statics: Changed fill back to 0 from 71 by default (Adam Rogoyski). |
| 818 | do_wrap(): Added check for backing up past tabs, which we shouldnt do. |
| 819 | Removed check for backing up past spaces first. |
| 820 | main(): Added for loop to check for alt keys instead of hard list. |
| 821 | do_enter(): Fix for bug #14, added call to reset_cursor and messed |
| 822 | up do_char quite a bit. |
| 823 | version(): Added time and date stamp for compile on version message. |
| 824 | Added mail and web page info. |
| 825 | - README: Updated mailing list info. |
| 826 | |
| 827 | nano-0.8.5 - 02/18/2000 |
| 828 | - nano.c: |
| 829 | main(): Finally fixed tilde being input on page up/down keys in |
| 830 | certain terminal types. Fix was input 26->91->5[34] check |
| 831 | for 126, if so make the kbinput PAGE UP/DOWN, else unget |
| 832 | the keystroke and continue. Added #include <ioctl.h> for |
| 833 | ioctl call. |
| 834 | handle_hup(): |
| 835 | Handler for hangup signal. Belated include of patch from |
| 836 | Tim Sherwood. |
| 837 | - winio.c: |
| 838 | edit_refresh(): |
| 839 | Temporary fix for selecting text when temp == current. |
| 840 | edit_refresh() is now unmanagably complex, and must be |
| 841 | revamped. |
| 842 | check_statblank(): |
| 843 | Added check for constupdate, makes things less choppy |
| 844 | (Adam Rogoyski) |
| 845 | |
| 846 | nano-0.8.4 - 02/11/2000 |
| 847 | - Moved global variables that were only (or mostly) used in one file into |
| 848 | its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn). |
| 849 | - global.c: |
| 850 | shortcut_init(): |
| 851 | Removed redundant NANO_CONTROL_H from backspace shortcut, |
| 852 | added char 127 which should have been there. |
| 853 | - nano.c: |
| 854 | main(): Fix for loops looping until MAIN_LEN, added -1 to stop |
| 855 | segfaults (Adam Rogoyski). |
| 856 | - Makefile.am: Added all source filenames (Adam Rogoyski). |
| 857 | - nano.1: Fixed mail addressed and added mailing list address. |
| 858 | - README: Updated my email address and the nano web page. |
| 859 | |
| 860 | nano-0.8.3 - 02/08/2000 |
| 861 | - New pico mode (-p, --pico), toggles (more) compatibility with the |
| 862 | Pico messages displayed in the shortcut list. Note that there are still |
| 863 | small differences in this mode. |
| 864 | - nano.h: New shortcut struct format, for the benefit of i18n and |
| 865 | our help menu. Removed shortcut message macros, they are |
| 866 | now all in shortcut_init in global.c. |
| 867 | - nano.c: |
| 868 | do_wrap(): Removed resetting of current_x when we are in fact |
| 869 | wrapping to the next line, fixes a bug in -i mode. |
| 870 | do_enter(): |
| 871 | Rewrote the autoindent mode code to be a lot less pretty, |
| 872 | but a lot more magical. |
| 873 | main(): |
| 874 | Removed case for ignoring char 126 (~). That's kind of |
| 875 | important, we'll have to fix handling that sequence when |
| 876 | pageing up/down on a terminal some other way... Revamped |
| 877 | main switch loop in much snazzier fashion based on the |
| 878 | shortcut list. |
| 879 | - winio.c: |
| 880 | New function display_main_list. Affects all functions |
| 881 | that used to call bottombars() with main_list. Added |
| 882 | because we now only call bottombars with the macro |
| 883 | MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the |
| 884 | changes to the main_list shortcut list (see global.c below). |
| 885 | New function do_help, our preliminary dynamic help system. |
| 886 | - Many many funcs: |
| 887 | Changed from int to void to allow one uniform type to call |
| 888 | from the shortcut struct. Also a few functions that do |
| 889 | not simple have void argument have new functions called |
| 890 | funcname_void(void) to be called from the shortcut list. |
| 891 | do_cut_text and do_uncut_text were changed to void |
| 892 | arguments because they were never called with a filestruct |
| 893 | other than *current anyway. |
| 894 | - global.c: |
| 895 | Shortcut list main_list was expanded to cover all |
| 896 | shortcuts that could be caught in the main loop. |
| 897 | Consequently there is a new macro MAIN_VISIBLE which tells |
| 898 | how many items in the main list to actually show. |
| 899 | |
| 900 | nano-0.8.2 - 02/02/2000 |
| 901 | - Added initial mouse (-m, --mouse) support. New global variable |
| 902 | use_mouse. (Adam Rogoyski) |
| 903 | |
| 904 | - nano.c: Set intial value of fill to COLS - 8 rather than just 72 |
| 905 | regardless. (Adam Rogoyski). |
| 906 | do_delete(): |
| 907 | Deleted call to do_backspace() when on the end of a line, |
| 908 | because it won't update the line properly. |
| 909 | do_backspace(): |
| 910 | Removed unnecessary pointer manipulation that was being |
| 911 | handled by unlink_node(). |
| 912 | open_file(): |
| 913 | Added check for trying to open a directory (currently we |
| 914 | segfault on this). Bug pointed out by Chad Ziccardi. |
| 915 | |
| 916 | nano-0.8.1 - 01/28/2000 |
| 917 | - Implemented Pico's -r (fill) mode, command line flag -r or --fill. New |
| 918 | global variable fill, affects check_wrap(), do_wrap(), main(), usage(), |
| 919 | global.c and proto.h. |
| 920 | - nano.c: |
| 921 | write_file(): Added (incredibly) necessary check for EPERM when |
| 922 | link() fails. This allows us to actually save |
| 923 | files via rename() on filesystems that dont |
| 924 | support hard links (AIEEEEEE). |
| 925 | do_goto(): |
| 926 | Fixed a stupid mistake where we were calling |
| 927 | bottombars() with replace_list instead of goto_list. |
| 928 | - nano.h: |
| 929 | New char *help in shortcut structure for help |
| 930 | feature. Added NANO_*_MSG and NANO_*_HELP #deifnes |
| 931 | for help function and i18n. |
| 932 | - global.c: |
| 933 | New functions shortcut_init (called in nano.c) and |
| 934 | sc_init_one() to initialize the shortcuts without |
| 935 | using {}s (for i18n). |
| 936 | |
| 937 | nano-0.8.0 - 01/25/2000 |
| 938 | - View flag (-v, --view) implemented. Global variable view_mode, affects |
| 939 | main loop of nano.c and new_file(). (me) |
| 940 | - nano.c: |
| 941 | split checks for TERMIOS_H and TERMIO_H up so we |
| 942 | can (theoretically) include them both, which is good. |
| 943 | handle_sigwinch(): |
| 944 | Added check for ncurses.h. (Andy Kahn) |
| 945 | do_spell(): |
| 946 | We now only try ispell because we don't as of yet |
| 947 | handle the 'spell' program the right way, now that |
| 948 | I finally know what the right way is =-). Added |
| 949 | call to edit_update(fileage) to stop segfaults. |
| 950 | global_init(): |
| 951 | Added initialization of edit* filestruct pointers |
| 952 | to stop segfaults on spell check. |
| 953 | usage(): |
| 954 | Check for getopt_long, and if no leave out the |
| 955 | GNU options everyone seems to love so much (Andy Kahn) |
| 956 | main(): |
| 957 | Added checks for getopt_long (Andy Kahn) |
| 958 | We ignore character 126 because it gets put into |
| 959 | the buffer when we page up/down on a vt terminal. |
| 960 | write_file(): |
| 961 | Fixes for umask (Adam Rogoyski). Renamed tmpfile |
| 962 | variable to tmp. Documented the tmp opttion |
| 963 | better in the function comments. Fixed my |
| 964 | stupidly commented out check for tmp on setting |
| 965 | umask which I really like => |
| 966 | - nano.h: |
| 967 | Made desc variable in shortcut struct a pointer |
| 968 | instead of a fixed-length string. |
| 969 | - utils.c: |
| 970 | Fixed check for config.h before nano.h. |
| 971 | - configure.in: |
| 972 | New checks for getopt_long, getopt.h, removed |
| 973 | CFLAGS and LDFLAGS changes. Gonna have to run |
| 974 | strip manually now =-) (Andy Kahn) |
| 975 | Added check for HAVE_WRESIZE, new file acconfig.h (me). |
| 976 | |
| 977 | nano-0.7.9 - 01/24/2000 |
| 978 | - New autoindent feature. Command flag 'i' or '--autoindent'. New |
| 979 | function do_char() to clean up character output, global |
| 980 | variable autoindent in global.c. (Graham Mainwaring) |
| 981 | - New flag 't' or '--tempfile', like Pico's -t mode, automatically saves |
| 982 | files on exit without prompting. Affects do_writeout(). Also |
| 983 | do_writeout() now takes a parameter for if exiting. |
| 984 | Global variable temp_opt in global.c (Graham Mainwaring) |
| 985 | - Preliminary spell program support. Added command flag '-s' or |
| 986 | '--speller' for alternative speller command. Added function do_spell() |
| 987 | and exit_spell() to nano.c. New global variable alt_speller. |
| 988 | - nano.c: |
| 989 | main(): We now ignore input of decimal 410 because these get entered |
| 990 | when we resize the screen. Sorted options in getopt() |
| 991 | switch statement. |
| 992 | usage(): Sorted options and changed tabs to make room for -s option. |
| 993 | write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and |
| 994 | doesn't print the number of lines written on the statusbar. |
| 995 | global_init(): |
| 996 | Added more initializations to globals to support do_spell(). |
| 997 | |
| 998 | nano-0.7.8 - 01/23/2000 |
| 999 | - Stubbed justify function. Affects main() in nano.c and nano.h defines. |
| 1000 | - Added Fkey equivalents for Pico compatibilty. Affects nano.h defines |
| 1001 | and main() in nano.c |
| 1002 | - Removed redundant reset_cursor() calls from the blank() routines. |
| 1003 | - nano.c: |
| 1004 | main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY. |
| 1005 | Removed check for isprint() characters in main while loop |
| 1006 | for people with odd character sets *shrug*. Added some X |
| 1007 | window F-key combos. |
| 1008 | read_line(): New function, consolidates of most of the special |
| 1009 | sections of the file reading code. (Rob Siemborski) |
| 1010 | do_replace(): Many scattered fixes. (Rob Siemborski) |
| 1011 | write_file(): Added check for empty filename. |
| 1012 | - winio.c: |
| 1013 | nanogetstr(): Fixes for deleting at places other than the end of the |
| 1014 | buffer, cut support. (Adam Rogoyski) |
| 1015 | blank_edit(): New function, blanks edit buffer. Added call to it in |
| 1016 | total_refresh(). |
| 1017 | - configure: Checks for glib if snprintf of vsnprintf aren't available |
| 1018 | (Andy Kahn). Changed warning message when no termcap lib |
| 1019 | is found. |
| 1020 | |
| 1021 | nano-0.7.7 - 01/19/2000 |
| 1022 | - Option '-v' for version moved to '-V', because -v is Pico's "read only" |
| 1023 | mode (affects getopt() in main() and usage() function in nano.c |
| 1024 | - New flag -c, always show cursor position. Affects main() in nano.c and |
| 1025 | statusbar() in winio.c |
| 1026 | - Option '-x' doesn't show help window at the bottom of the editor. |
| 1027 | New variable no_help in nano.h and proto.h, affects main(), usage(), |
| 1028 | and global_init() in nano.c, blank_bottombars(), clear_bottomwin(), |
| 1029 | bottombars(), and do_yesno() in winio.c (I had to apply this patch by |
| 1030 | hand =P) (Adam Rogoyski) |
| 1031 | - nano.c: |
| 1032 | handle_sigwinch(): New function (Adam Rogoyski), handles resizing. |
| 1033 | page_up(), page_down(): |
| 1034 | - New functions. We now set the cursor at the top right corner, |
| 1035 | not at the center line, and page up and down a full screen |
| 1036 | rather than a half screen. Original functions renamed to |
| 1037 | page_up_center() and page_down_center(). |
| 1038 | main(): |
| 1039 | - Added check for keystroke key sequence 407 or NANO_CONTROL_Z |
| 1040 | in main while loop because suspend mode was broken. This should |
| 1041 | fix it, at least for now. |
| 1042 | - Added long option support (By popular harassment ;-) - Added |
| 1043 | #include for getopt.h, changed getopt() to getopt_long(). |
| 1044 | Options added so far: --version (-V), --nowrap (-w), --suspend |
| 1045 | (-z), --help (-h), --nohelp (-x). |
| 1046 | - Rewrote signal statements (Adam Rogoyski) |
| 1047 | |
| 1048 | nano 0.7.6 - 01/15/2000 |
| 1049 | - New ChangeLog format |
| 1050 | - nano.c: |
| 1051 | main(): Bound CONTROL_H to backspace (oops) |
| 1052 | Added more Alt-[-key combinations, for page up & down. |
| 1053 | read_bytes(): New function (Adam Rogoyski) |
| 1054 | read_file(): Optimizations - malloc()s *buf a little at a time rather |
| 1055 | than one huge buffer, and replaced the strcat at the end |
| 1056 | with an index variable. Added call to read_bytes(). |
| 1057 | do_next_word(): New function, binding is control-space (0) (me) |
| 1058 | |
| 1059 | - winio.c: |
| 1060 | bottombars(): Fixed non-expanding shortcut keys at bottom of screen. |
| 1061 | (formula is extra space needed = COLS / 6 - 13). |
| 1062 | actual_x() & strlenpt(): |
| 1063 | Added bug#9 fix - when tabs % 8 == 0, we should only |
| 1064 | increment tabs by 1. |
| 1065 | titlebar(): Fixed overrun in titlebar on very long filenames. |
| 1066 | |
| 1067 | 0.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated |
| 1068 | writing a newline at EOF. do_cursorpos and do_replace are now not |
| 1069 | directly bound to signals but picked up as their control sequences |
| 1070 | in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!) |
| 1071 | 0.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for |
| 1072 | available memory, align bug fixed (Big Gaute). |
| 1073 | |
| 1074 | --- As of version 0.7.4 TIP is renamed to nano. |
| 1075 | |
| 1076 | 0.7.3 Fixed a double blank_statusbar() when jumping to first and last |
| 1077 | lines. Took out unnecessary updates in load_file. Bug fix in |
| 1078 | do_left. Missing updates to totlines, fixed bug #7 (last line not |
| 1079 | having a newline at the end doesnt get read, bugfix in do_replace |
| 1080 | with replace all, more/better comments (Robert Siemborski) |
| 1081 | 0.7.2 Our first patch accepted into the source! configure fixes |
| 1082 | and optimizations (Erik Anderson). Added missing stdarg.h to winio.c. |
| 1083 | Bug fix in update_line for editing long lines. Fixed arguments |
| 1084 | being put into the filename when none is specified. Preliminary |
| 1085 | +line command argument function. |
| 1086 | 0.7.1 configure tweak for better FreeBSD support. Removed refresh() from |
| 1087 | edit_refresh to stop cursor "jumping" during screen updates. This |
| 1088 | will probably cause a bug or two. Replace is now Alt-R (@R) and |
| 1089 | Goto line is Alt-G (@G), but they have control key aliases of ^\ and |
| 1090 | ^_ respectively. Made Control-F,B,N,P work like they do in Pico. |
| 1091 | Control-G will become the Help key, but for now is stubbed out. |
| 1092 | 0.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in |
| 1093 | findnextstr. Bound Control-D to Delete. Refixed segfault on zero |
| 1094 | length file. Added Esc-[-A,B,C,D cursor key sequences. |
| 1095 | 0.6.9 Preliminary cursor position function. Split up tip.c more, made |
| 1096 | new files cut.c and winio.c. Fixed a bug in cut_marked_segment |
| 1097 | that was leaving out a character. |
| 1098 | 0.6.8 By request, optchr in main() is now an int. Removed unneeded |
| 1099 | globals. Bound functions for next/prev page, and wrote functions |
| 1100 | do_home and do_end. |
| 1101 | 0.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and |
| 1102 | created read_file. Implemented Insert File. Fixes in tipgetstr |
| 1103 | for erroneous keystrokes. Added leave_cursor arg to do_yesno(). |
| 1104 | 0.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for |
| 1105 | aborted searches and more Pico-compatible messages. statusq() now |
| 1106 | returns -2 on a blank entry instead of -1. Bug fix in actual_x(). |
| 1107 | 0.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text |
| 1108 | regarding buffers with filebot in them. Fixins in do_backspace |
| 1109 | and do_enter. Removed unused variables. Removed strip_newline. |
| 1110 | 0.6.4 Took out the awful newlines from each string buffers. This will |
| 1111 | certainly cause more bugs. Fixes in do_exit(). Better empty file |
| 1112 | handling (I hope). |
| 1113 | 0.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct. |
| 1114 | do_enter() rewritten. |
| 1115 | 0.6.2 Better default file permissions. Complete rewrite of do_wrap(). |
| 1116 | Better handling of editing with cursor near COLS - 1. |
| 1117 | 0.6.1 Starting to implement wrapping toggle. Fix for unhandled control |
| 1118 | codes being entered into the buffer. Bug fix in actual_x; more |
| 1119 | > COLS - 1 functionality, especially on lines with TABs. Fixed being |
| 1120 | locked into cutbuffer when cutting more than one marked screen of text. |
| 1121 | 0.6.0 We have TABs!!! To do this, placewewant is now set to the actual |
| 1122 | width on the screen we want to be, not an index of current->data. |
| 1123 | New functions xplustabs and actual_x convert the actual place |
| 1124 | the cursor should be on the screen to and from the place in the |
| 1125 | string. |
| 1126 | 0.5.5 Changed do_right to test do_down before setting current_x to 0, |
| 1127 | eliminiating the "looping" on the last line when holding the right |
| 1128 | arrow. Preliminary support for longer than COLS - 1 lines. |
| 1129 | Wrote do_delete. |
| 1130 | 0.5.4 Fixed a big in total_update that wasn't repainting the screen properly. |
| 1131 | tipgetstr is much more messy but text is now more editable ;) |
| 1132 | Fixed crash on entering a new file, hopefully. Awful stub for tab |
| 1133 | handling, only in do_right() to save me some sanity. |
| 1134 | 0.5.3 Added check for malloc.h. Implementing uncut from marker slowly. |
| 1135 | Fixed a few bugs in do_uncut when not uncutting from marked text. |
| 1136 | I would not trust your data with the mark code right now, but then |
| 1137 | we're not at version 1.0 yet so dont trust anything ;) |
| 1138 | 0.5.2 Added reset_cursor() before end of update_line so cursor doesnt |
| 1139 | jump after each keystroke entered. Select text stubbed. Fixed |
| 1140 | a bug in total_refresh(). Setting a mark will hilight properly, |
| 1141 | but does not actually affect what gets put in the cutbuffer (yet). |
| 1142 | 0.5.1 Writing a file out causes modified to be set back to 0. Good. |
| 1143 | Set_modified function written. Cut and uncut text now set |
| 1144 | modified when called. |
| 1145 | 0.5.0 Half way there! Implemented write out, save function seems |
| 1146 | stable. Changed statusbar blank routing to not refresh, a separte |
| 1147 | program calls it and then refreshes. Made the program not clear |
| 1148 | the srceen on exit, just the bottom two lines (like Pico). |
| 1149 | 0.4.2 Implemented replace all in replace function. Crude exit function |
| 1150 | (asks yes or no if modified but does not write to file). |
| 1151 | 0.4.1 Implementing search & replace. Fixed crash on deleting at top of |
| 1152 | edit buffer. Implemented "timeout" of statusbar messages. |
| 1153 | Implemented ^A and ^E (beginning and end of line). |
| 1154 | 0.4.0 Split code into global.c and proto.h to allow for better multiple |
| 1155 | file handling. Added #defines for the majority of the shortcut |
| 1156 | kets in tip.h for easy modification. |
| 1157 | 0.3.1 Write edit_refresh which doesn't move the screen around, just |
| 1158 | updates what's there already. do_wrap() and do_enter() added. |
| 1159 | 0.3.0 Preliminary cutbuffer (cut and uncut) support. |
| 1160 | 0.2.7 Check for Modification added. do_search() works. |
| 1161 | 0.2.5 Rewrite of file data struct. |
| 1162 | 0.2 Read in data to buffer, bound keystrokes to stub functions, |
| 1163 | initial cursor movement on screen. Initial autoconf support. |
| 1164 | 0.1 Initial program setup w/ncurses |
Chris Allegretta | c87a411 | 2000-08-07 02:16:24 +0000 | [diff] [blame] | 1165 | |
| 1166 | $Id$ |