Chris Allegretta | 32b4c96 | 2002-03-30 16:58:55 +0000 | [diff] [blame] | 1 | CVS code - |
Chris Allegretta | 7162e3d | 2002-04-06 05:02:14 +0000 | [diff] [blame] | 2 | - General: |
| 3 | - Typos n misspellings all over the place (David Benbennick). |
| 4 | - Allow --tiny and --multibuffer to cooperate (who the heck |
| 5 | would want this is beyond me but ;-). Changes to |
| 6 | configure.ac, global.c, , (David Benbennick). |
Chris Allegretta | f2387fb | 2002-04-10 02:31:20 +0000 | [diff] [blame] | 7 | - Change to openfilestruct for multibuffer mode by DLR. |
| 8 | New functions nano.c:make_new_opennode(), free_openfilestruct(), |
| 9 | delete_opennode(), unlink_opennode(), splice_opennode(), |
| 10 | new struct openfilestruct in nano.h. |
Chris Allegretta | 0e9b7aa | 2002-04-16 03:15:47 +0000 | [diff] [blame] | 11 | - Preliminary prepend code. This may be a bad idea, but I've |
| 12 | been wanting it for awhile now and we'll see how bad it messes |
| 13 | everything up. Changes to files.c:do_writeout(), write_file(). |
Chris Allegretta | 2542274 | 2002-04-21 23:15:36 +0000 | [diff] [blame] | 14 | Fixes for O_CREAT & append compatibililty by David Benbennick. |
Chris Allegretta | 0547eb3 | 2002-04-22 23:52:34 +0000 | [diff] [blame] | 15 | - Change from read() and write() to file streams by Jay Carlson. |
| 16 | Allows OS to implement read and write ahead rather than making |
| 17 | us do it. Hopefully merged properly. |
Chris Allegretta | dab017e | 2002-04-23 10:56:06 +0000 | [diff] [blame] | 18 | - More cleanups with DISABLE flags, better free_shortcutage and |
| 19 | free_toggle, and get rid of unnecessary variable decls with |
| 20 | NANO_SMALL in shortcut_init() by David Benbennick. |
Chris Allegretta | b6c5dc2 | 2002-05-04 03:47:33 +0000 | [diff] [blame^] | 21 | - Added "syntax" command to .nanorc file, to allow multiple |
| 22 | syntaxes. New function color.c:update_color(), calls in various |
| 23 | files.c places, syntaxtype struct, global variables syntaxes, |
| 24 | syntaxfile_regexp and synfilematches. |
Chris Allegretta | 7162e3d | 2002-04-06 05:02:14 +0000 | [diff] [blame] | 25 | - configure.ac: |
| 26 | - Define NDEBUG to silence asserts (David Benbennick). |
| 27 | - files.c: |
| 28 | get_next_filename() |
| 29 | - Optimizations (David Benbennick). |
| 30 | - global.c: |
| 31 | shortcut_init() |
| 32 | - Add missing free_shortcutage()s (David Benbennick). |
| 33 | - nano.c: |
| 34 | die_save_file() |
| 35 | - Add missing free (David Benbennick). |
| 36 | do_justify() |
| 37 | - Optimizations (David Benbennick). |
| 38 | do_wrap() |
| 39 | - Complete rewrite (David Benbennick). |
Chris Allegretta | 66f373f | 2002-04-05 23:33:09 +0000 | [diff] [blame] | 40 | - nano.h: |
| 41 | - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol) |
| 42 | (David Benbennick). |
Chris Allegretta | 8902eba | 2002-03-30 18:02:54 +0000 | [diff] [blame] | 43 | - nano.spec.in: |
| 44 | - Don't put Chris' name as the Packager in the distribution |
| 45 | by default (Im an idiot). |
Jordi Mallach | 42c6405 | 2002-04-30 02:33:14 +0000 | [diff] [blame] | 46 | - nano.1: |
| 47 | - Changed references to Debian GNU/Linux to Debian GNU (Jordi). |
Jordi Mallach | 0ab011f | 2002-04-05 11:25:00 +0000 | [diff] [blame] | 48 | - po/gl.po: |
| 49 | - Galician translation updates (Jacobo Tarrio). |
| 50 | - po/de.po: |
| 51 | - German translation updates (Michael Piefel). |
| 52 | - po/fr.po: |
| 53 | - French translation updates (Jean-Philippe Guérard). |
| 54 | - po/ca.po, po/es.po: |
| 55 | - Catalan and Spanish translation updates (Jordi). |
Jordi Mallach | b18bc69 | 2002-04-10 16:26:17 +0000 | [diff] [blame] | 56 | - po/sv.po: |
| 57 | - Swedish translation updates (Christian Rose). |
Jordi Mallach | d301e10 | 2002-04-13 14:46:26 +0000 | [diff] [blame] | 58 | - po/nl.po: |
| 59 | - Dutch translation updates (Guus Sliepen). |
Jordi Mallach | 7f80e66 | 2002-04-13 16:31:03 +0000 | [diff] [blame] | 60 | - po/it.po: |
| 61 | - Italian translation updates (Marco Colombo). |
Jordi Mallach | 0417a7b | 2002-04-19 21:59:35 +0000 | [diff] [blame] | 62 | - po/ru.po, po/uk.po: |
| 63 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
Jordi Mallach | 934b76b | 2002-04-25 22:24:48 +0000 | [diff] [blame] | 64 | - po/id.po: |
| 65 | - Indonesian translation updates (Tedi Heriyanto). |
Chris Allegretta | 06d6237 | 2002-03-30 16:51:38 +0000 | [diff] [blame] | 66 | GNU nano 1.1.8 - 03/30/2002 |
Chris Allegretta | bef1297 | 2002-03-06 03:30:40 +0000 | [diff] [blame] | 67 | - General |
| 68 | - Type misalignments and mem leaks in renumber_all, do_justify |
| 69 | and do_spell (Rocco & Steven Kneizys). |
Chris Allegretta | bb88ece | 2002-03-25 13:40:39 +0000 | [diff] [blame] | 70 | - New "External Command" code, originally by Dwayne Rightler, |
Chris Allegretta | 77777d4 | 2002-03-29 16:31:29 +0000 | [diff] [blame] | 71 | various fixes and changes by Chris, Rocco and David Benbennick. |
| 72 | New function nano.c:open_pipe() and signal handler cancel_fork(), |
| 73 | changes to do_insertfile(), new list extcmd_list, cmd is |
| 74 | ^X after ^R. |
Chris Allegretta | 3533a34 | 2002-03-24 23:19:32 +0000 | [diff] [blame] | 75 | - Added separate regex variable (color_regex and colormatches) |
| 76 | so that color syntax and regex search/replace can coexist. |
Chris Allegretta | 06d6237 | 2002-03-30 16:51:38 +0000 | [diff] [blame] | 77 | - Added new nano.spec file from Brett <brett@bad-sports.com>, |
| 78 | added because maintaining the spec file is getting to be a large |
| 79 | hassle ;) |
Chris Allegretta | 564535a | 2002-03-06 15:32:17 +0000 | [diff] [blame] | 80 | - files.c: |
| 81 | check_writable_directory() |
| 82 | - Stat full_path, not path (Steven Kneizys). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 83 | open_pipe() |
| 84 | - I18nize the pipe error (DLR). |
Chris Allegretta | e373909 | 2002-03-29 15:06:05 +0000 | [diff] [blame] | 85 | do_insertfile() |
| 86 | - Handle cancel from ExtCmd properly (David Benbennick). |
Chris Allegretta | 52c5a6e | 2002-03-21 05:07:28 +0000 | [diff] [blame] | 87 | read_file() |
| 88 | - 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] | 89 | - Reverse tests to stop segfault on editing a new file of 0 |
| 90 | lines (David Benbennick) |
| 91 | - Change input var to one char instead of array (David Benbennick). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 92 | - Move NO_CONVERT check up so chars get read in properly (DLR). |
Chris Allegretta | 40ecbad | 2002-03-06 15:27:44 +0000 | [diff] [blame] | 93 | - nano.c: |
Chris Allegretta | cf1d812 | 2002-03-21 19:53:36 +0000 | [diff] [blame] | 94 | do_justify() |
| 95 | - More fixes for indented justify (David Benbennick). |
Chris Allegretta | f21f3fc | 2002-03-25 03:26:27 +0000 | [diff] [blame] | 96 | do_int_speller() |
| 97 | - Fix zombie processes and spelling buffer issues (Rocco Corsi). |
Chris Allegretta | 5902f96 | 2002-03-07 12:40:39 +0000 | [diff] [blame] | 98 | help_init() |
| 99 | - Capitalize Meta altkeys. |
Chris Allegretta | b479c89 | 2002-03-09 20:03:10 +0000 | [diff] [blame] | 100 | - Various fixes and string changes. |
Chris Allegretta | 40ecbad | 2002-03-06 15:27:44 +0000 | [diff] [blame] | 101 | main() |
| 102 | - Put NANO_SMALL defines around toggle pointer (noticed by Jordi); |
Chris Allegretta | 97e6fe6 | 2002-03-09 17:38:47 +0000 | [diff] [blame] | 103 | usage() |
Chris Allegretta | 3fc5d57 | 2002-03-09 18:51:58 +0000 | [diff] [blame] | 104 | - Rewritten to encompass systems with and without GETOPT_LONG. |
| 105 | New function print1opt does most of the dirty work, stops |
| 106 | duplication of effort and eases translator's jobs. Also |
| 107 | breaks all the current translations ;-) |
Chris Allegretta | 45329a1 | 2002-03-10 01:22:21 +0000 | [diff] [blame] | 108 | - proto.h: |
| 109 | - Missing externs (Rocco). |
Chris Allegretta | 1596d38 | 2002-03-07 00:46:17 +0000 | [diff] [blame] | 110 | - rcfile.c: |
Chris Allegretta | 78f0fc6 | 2002-03-29 19:41:57 +0000 | [diff] [blame] | 111 | do_rcfile() |
| 112 | - Reset lineno between system and local .nanorc file. |
| 113 | - Fix errno->strerror(errno) mismatch. |
Chris Allegretta | e8e1034 | 2002-03-07 00:47:22 +0000 | [diff] [blame] | 114 | parse_rcfile() |
| 115 | - 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] | 116 | potential crashes, 1st reported by Jean-Philippe Guérard. |
Chris Allegretta | 78f0fc6 | 2002-03-29 19:41:57 +0000 | [diff] [blame] | 117 | rcfile_error() |
| 118 | - Don't print out the file name if we haven't opened the file |
| 119 | yet (lineno == 0). |
Chris Allegretta | 45329a1 | 2002-03-10 01:22:21 +0000 | [diff] [blame] | 120 | - search.c: |
| 121 | search_init() |
| 122 | - Fix a missing free (Rocco). |
Chris Allegretta | d1c2c1c | 2002-03-26 17:58:42 +0000 | [diff] [blame] | 123 | do_gotoline() |
| 124 | - Set placewewant if we actually move to a different line. |
Chris Allegretta | 40ecbad | 2002-03-06 15:27:44 +0000 | [diff] [blame] | 125 | - utils.c: |
Chris Allegretta | dce44ab | 2002-03-16 01:03:41 +0000 | [diff] [blame] | 126 | stristr() |
| 127 | - Defined regardless of NANO_SMALL (noticed by Jordi). |
Chris Allegretta | 77777d4 | 2002-03-29 16:31:29 +0000 | [diff] [blame] | 128 | nperror() |
| 129 | - New wrapper for perror (David Benbennick). |
Chris Allegretta | dce44ab | 2002-03-16 01:03:41 +0000 | [diff] [blame] | 130 | - winio.c: |
| 131 | do_credits() |
| 132 | - Add Thomas Dickey. |
Chris Allegretta | f3a07b2 | 2002-03-29 15:15:38 +0000 | [diff] [blame] | 133 | do_cursorpos() |
| 134 | - Make col numbering start from 1 (suggested by Andrew Ho). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 135 | update_line(), xpt() |
| 136 | - Add check for 127 (DLR). |
Jordi Mallach | 4951c66 | 2002-03-07 14:12:53 +0000 | [diff] [blame] | 137 | - po/sv.po: |
| 138 | - Swedish translation updates (Christian Rose). |
| 139 | - po/de.po: |
| 140 | - German translation updates (Michael Piefel). |
Jordi Mallach | 4e803aa | 2002-03-09 18:05:53 +0000 | [diff] [blame] | 141 | - po/id.po: |
| 142 | - Indonesian translation updates (Tedi Heriyanto). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 143 | - po/it.po: |
Chris Allegretta | 06d6237 | 2002-03-30 16:51:38 +0000 | [diff] [blame] | 144 | - Serious typo. |
Jordi Mallach | 4e803aa | 2002-03-09 18:05:53 +0000 | [diff] [blame] | 145 | - po/ca.po, po/es.po: |
| 146 | - Catalan and Spanish translation updates (Jordi). |
Chris Allegretta | 2598c66 | 2002-03-28 01:59:34 +0000 | [diff] [blame] | 147 | - Typo (DLR). |
Jordi Mallach | 558b5d8 | 2002-03-11 13:23:33 +0000 | [diff] [blame] | 148 | - po/fr.po: |
| 149 | - French translation updates (Jean-Philippe Guérard). |
Jordi Mallach | 5477e10 | 2002-03-12 16:15:50 +0000 | [diff] [blame] | 150 | - po/gl.po: |
| 151 | - Galician translation updates (Jacobo Tarrio). |
Jordi Mallach | 057c3c4 | 2002-03-14 11:00:56 +0000 | [diff] [blame] | 152 | - po/uk.po, po/ru.po: |
| 153 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
Jordi Mallach | b83e61a | 2002-03-15 15:15:13 +0000 | [diff] [blame] | 154 | - po/pl.po: |
| 155 | - Polish translation updates (Wojciech Kotwica). |
Jordi Mallach | 7fa082d | 2002-03-17 00:35:41 +0000 | [diff] [blame] | 156 | - po/fr.po: |
| 157 | - French translation updates (Jean-Philippe Guérard). |
Jordi Mallach | 7afc6d9 | 2002-03-27 16:34:46 +0000 | [diff] [blame] | 158 | - po/it.po: |
| 159 | - Italian translation updates (Marco Colombo). |
Jordi Mallach | 465a0ff | 2002-03-29 00:46:05 +0000 | [diff] [blame] | 160 | - po/da.po: |
| 161 | - Danish translation updates (Keld Simonsen). |
Chris Allegretta | bef1297 | 2002-03-06 03:30:40 +0000 | [diff] [blame] | 162 | |
Chris Allegretta | 97489d2 | 2002-03-05 23:47:44 +0000 | [diff] [blame] | 163 | GNU nano 1.1.7 - 03/05/2002 |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 164 | - General |
| 165 | - malloc->calloc, etc cleanups (DLR). |
| 166 | - New option, noconvert (-N, --noconvert) to completely stop |
| 167 | the translation of files from DOS or Mac format (DLR). |
| 168 | - New functions wheck_writable_directory() and safe_tempnam() |
Chris Allegretta | bc72e36 | 2002-02-16 20:03:44 +0000 | [diff] [blame] | 169 | to get around the tempnam warning. More improvements (DLR) |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 170 | Still needs testing. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 171 | - Added DOS and Mac format options to write file routine. |
| 172 | Changes to shortcut_init() and do_writeout(). |
| 173 | - Removed stupid static definitions of toggles and shortcut |
| 174 | lists. Many changes to shortcut_init(), toggle_init(), |
| 175 | statusq(), nanogetstr(), main(), and many other places. |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 176 | - Multibuffer mode now allows multiple empty filenames. |
| 177 | Changes to add_open_files(), removed open_file_dup_search(), |
| 178 | open_file_dup_fix(), etc (DLR). |
| 179 | - New code to handle multiple .save files. Changes to |
| 180 | die_save_file(), new function files.c:get_next_filename() |
| 181 | and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris) |
Chris Allegretta | f5de33a | 2002-02-27 04:14:16 +0000 | [diff] [blame] | 182 | - Many malloc() cleanups and files.c tweaks by Steven Kneizys, |
| 183 | new functions utils.c:free_shortcutage() (got to love that |
| 184 | name!) & free_toggles(), and big cleanup program |
| 185 | thanks_for_all_the_fish() (originally |
| 186 | thanks_for_the_memories()). Mods to shortcut_init() by Chris. |
Chris Allegretta | e4f940d | 2002-03-03 22:36:36 +0000 | [diff] [blame] | 187 | - Preliminary quoting support for justify. New arg -Q, --quotestr, |
| 188 | changes to do_justify(), global variable quotestr(). |
Chris Allegretta | 8dbfb5c | 2002-01-28 15:56:15 +0000 | [diff] [blame] | 189 | - Makefile.am: |
| 190 | - Add SYSCONFDIR to DEFS, so we can have an /etc/nanorc. |
Chris Allegretta | 40b85e7 | 2002-02-09 21:56:09 +0000 | [diff] [blame] | 191 | - Change localedir line to 1.0's version. |
Jordi Mallach | 3c5653d | 2002-02-23 18:23:43 +0000 | [diff] [blame] | 192 | - Moved m4/ stuff to its own m4/Makefile.am. |
Jordi Mallach | 87435d9 | 2002-03-05 17:58:34 +0000 | [diff] [blame] | 193 | - m4/aclocal_inc.m4: |
| 194 | - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look for |
| 195 | macros (Gergely Nagy). |
Jordi Mallach | 3c5653d | 2002-02-23 18:23:43 +0000 | [diff] [blame] | 196 | - configure.in: |
| 197 | - Renamed to configure.ac. |
| 198 | - configure.ac: |
| 199 | - Moved to autoconf 2.52 (Jeff Bailey). |
Jordi Mallach | 87435d9 | 2002-03-05 17:58:34 +0000 | [diff] [blame] | 200 | - Added call to AM_ACLOCAL_INCLUDE. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 201 | - files.c: |
| 202 | read_byte() |
| 203 | - Added check for conrol characters (indicative of a binary |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 204 | file), set NO_CONVERT if found (fixes by DLR). |
Chris Allegretta | f5de33a | 2002-02-27 04:14:16 +0000 | [diff] [blame] | 205 | do_insertfile() |
| 206 | - Added support for -o in prompt (Steven Kneizys). |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 207 | - global.c: |
| 208 | - Move openprev and opennext functions to shortcuts, they really |
| 209 | aren't toggles (DLR). |
Chris Allegretta | f27c697 | 2002-02-12 01:57:24 +0000 | [diff] [blame] | 210 | - rcfile.c: |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 211 | parse_next_regex() |
Chris Allegretta | 3d8e759 | 2002-02-02 07:13:02 +0000 | [diff] [blame] | 212 | - Allow " symbol to be in regex without leading \ by checking |
| 213 | for *ptr+1 is not the end of the regex. |
Chris Allegretta | ff8a68c | 2002-02-16 20:34:57 +0000 | [diff] [blame] | 214 | do_rcfile() |
| 215 | - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler). |
Chris Allegretta | 48b0670 | 2002-02-22 04:30:50 +0000 | [diff] [blame] | 216 | - nano.1: |
| 217 | - Added Noconvert option to man page (DLR). |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 218 | - nano.c: |
Chris Allegretta | d4fa0d3 | 2002-03-05 19:55:55 +0000 | [diff] [blame] | 219 | justify_format(), do_justify() |
| 220 | - Various fixes for starting blank spaces, spaces after |
| 221 | punctuation, & segfault with quoting strings (David Benbennick). |
Chris Allegretta | 46c1b9e | 2002-03-05 19:58:45 +0000 | [diff] [blame] | 222 | do_justify() |
| 223 | - Don't continue to justify string if it's indented more |
| 224 | (quoting wise) than the beginning of the justification. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 225 | help_init() |
| 226 | - Added message re: having multiple blank buffers (DLR). |
Chris Allegretta | 9caa193 | 2002-02-15 20:08:05 +0000 | [diff] [blame] | 227 | main() |
| 228 | - Add 407 as equiv of 26, this seems to be sent when using |
| 229 | ^Z in linux console with keypad() enabled. |
Chris Allegretta | bc72e36 | 2002-02-16 20:03:44 +0000 | [diff] [blame] | 230 | - rcfile.c: |
| 231 | - Get rid of unneeded relativechars from rcopts (DLR). |
| 232 | - search.c |
| 233 | do_replace(), findnextstr() |
| 234 | - Fixes for various search issues (Ken Tyler) |
Chris Allegretta | f27c697 | 2002-02-12 01:57:24 +0000 | [diff] [blame] | 235 | - winio.c: |
| 236 | do_cursorpos() |
| 237 | - Rewritten to show col place as well as charcter place, without |
| 238 | needing an entirely separate flag. |
Chris Allegretta | a8c2257 | 2002-02-15 19:17:02 +0000 | [diff] [blame] | 239 | bottombars(), onekey() |
| 240 | - Make bottom list dynamic with screen size (Guus Sliepen & Chris). |
Chris Allegretta | bc72e36 | 2002-02-16 20:03:44 +0000 | [diff] [blame] | 241 | - More cleanups w/width of shortcut. |
Chris Allegretta | 8dbfb5c | 2002-01-28 15:56:15 +0000 | [diff] [blame] | 242 | - utils.c: |
Chris Allegretta | 99ed9dc | 2002-02-28 00:57:18 +0000 | [diff] [blame] | 243 | strcasestr(),revstrcasestr() |
| 244 | - Renamed to stristr and revstristr since strcasestr has not |
| 245 | been confirmed to be detected properly on various Linux |
| 246 | systems. |
Chris Allegretta | d4fa0d3 | 2002-03-05 19:55:55 +0000 | [diff] [blame] | 247 | strstrwrapper() |
| 248 | - NANO_SMALL test was backwards (Ken Tyler). |
| 249 | - winio.c: |
| 250 | strlenpt() |
| 251 | - Changed main function to strnlenpt() for new justify changes, |
| 252 | original function now just a stub. |
Chris Allegretta | 3c597d0 | 2002-01-26 03:42:14 +0000 | [diff] [blame] | 253 | - nanorc.sample |
| 254 | - Mention unset in the sample nanorc. |
Jordi Mallach | 83ffefb | 2002-01-25 21:00:18 +0000 | [diff] [blame] | 255 | - po/ca.po, po/es.po: |
| 256 | - Catalan and Spanish translation updates (Jordi). |
Jordi Mallach | 9c34a16 | 2002-01-26 00:46:47 +0000 | [diff] [blame] | 257 | - po/sv.po: |
| 258 | - Swedish translation updates (Christian Rose). |
| 259 | - po/fr.po: |
| 260 | - French translation updates (Jean-Philippe Guérard). |
Jordi Mallach | 8636f7b | 2002-01-26 19:23:37 +0000 | [diff] [blame] | 261 | - po/nn.po: |
| 262 | - Norwegian nynorsk translation updates (Kjetil Torgrim Homme). |
| 263 | - po/de.po: |
| 264 | - German translation updates (Michael Piefel). |
Chris Allegretta | 8dbfb5c | 2002-01-28 15:56:15 +0000 | [diff] [blame] | 265 | - po/it.po: |
| 266 | - Italian translation updates (Marco Colombo). |
Jordi Mallach | 94def06 | 2002-02-06 12:14:25 +0000 | [diff] [blame] | 267 | - po/cs.po: |
| 268 | - Partial Czech translation updates (Vaclav Haisman). |
Jordi Mallach | 8bfd311 | 2002-02-06 20:53:04 +0000 | [diff] [blame] | 269 | - po/hu.po: |
| 270 | - Hungarian translation updates, or to be precise, rewrite |
| 271 | (Gergely Nagy). |
Jordi Mallach | b3b28c1 | 2002-02-07 13:51:00 +0000 | [diff] [blame] | 272 | - po/uk.po, po/ru.po: |
Jordi Mallach | 507c361 | 2002-02-14 18:57:23 +0000 | [diff] [blame] | 273 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
| 274 | - po/da.po: |
| 275 | - Danish translation updates (Keld Simonsen). |
Jordi Mallach | e46d43d | 2002-02-15 17:13:11 +0000 | [diff] [blame] | 276 | - po/nb.po: |
| 277 | - Norwegian bokmål translation updates (Stig E Sandoe). |
Jordi Mallach | 62d2171 | 2002-02-20 16:21:27 +0000 | [diff] [blame] | 278 | - po/nl.po: |
| 279 | - Dutch translation updates (Guus Sliepen). |
Jordi Mallach | a3322fd | 2002-03-05 11:23:17 +0000 | [diff] [blame] | 280 | - po/pl.po: |
| 281 | - Polish translation updates (Wojciech Kotwica). |
Jordi Mallach | 83ffefb | 2002-01-25 21:00:18 +0000 | [diff] [blame] | 282 | |
Chris Allegretta | 491029e | 2002-01-25 17:02:32 +0000 | [diff] [blame] | 283 | nano-1.1.6 - 01/25/2002 |
Chris Allegretta | 044d1b1 | 2002-01-08 00:33:32 +0000 | [diff] [blame] | 284 | - General |
| 285 | - Add Meta-A as alternate keyystroke for ^^ for people with |
| 286 | non-US keyboards. |
Chris Allegretta | 967a1e2 | 2002-01-10 00:50:38 +0000 | [diff] [blame] | 287 | - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in |
| 288 | browser. |
Chris Allegretta | 1bc0c7e | 2002-01-08 15:00:24 +0000 | [diff] [blame] | 289 | - Better partial word checking code. New function |
| 290 | search.c:is_whole_word(), changes to findnextstr(), |
| 291 | and nano.c:do_int_spell_fix() (Rocco Corsi). |
Chris Allegretta | 6c1e661 | 2002-01-19 16:52:34 +0000 | [diff] [blame] | 292 | - Added multiple-line regex support. Format in .nanorc is |
| 293 | start="regex" end="regex". Cleaned up nanorc:parse_colors(), |
| 294 | added parse_next_regex(), changes to edit_add in winio.c(), |
| 295 | changes to colortype, cleaning up some old cruft. |
Chris Allegretta | 15b23f4 | 2002-01-19 19:15:18 +0000 | [diff] [blame] | 296 | - Upgrade to gettext 0.10.40, probably broke everything again :) |
Chris Allegretta | 24e48d8 | 2002-01-23 01:06:20 +0000 | [diff] [blame] | 297 | - Upgraded to and then downgraded from automake 1.5, as there |
| 298 | are severe security implications. |
Chris Allegretta | ea250e8 | 2002-01-16 01:09:11 +0000 | [diff] [blame] | 299 | - color.c: |
| 300 | do_colorinit() |
| 301 | - Moved some comments and braces around so color can work |
| 302 | w/slang (DLR). |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 303 | - global.c: |
| 304 | shorcut_init() |
| 305 | - Replace hard coded ALT_G and ALT_H values in the replace |
| 306 | and goto shortcuts with their macro counterparts NANO_ALT_*_KEY. |
Jordi Mallach | 345a846 | 2002-01-07 11:35:16 +0000 | [diff] [blame] | 307 | - nano.c: |
| 308 | usage() |
| 309 | - Remove extra \n in --keypad description (Jordi). |
Chris Allegretta | f7dee92 | 2002-01-07 16:43:25 +0000 | [diff] [blame] | 310 | main() |
| 311 | - Check that alt value is an alpha char before comparing to |
| 312 | val - 32, fixes Alt-R calling doprev instead of replace. |
Chris Allegretta | b2cd10d | 2002-01-20 00:54:42 +0000 | [diff] [blame] | 313 | do_char() |
| 314 | - Run edit_refresh() if ENABLE_COLOR is defined so adding |
| 315 | multi-liners will update (e.g. /* in C). |
Chris Allegretta | 23b74b2 | 2002-01-21 20:32:22 +0000 | [diff] [blame] | 316 | do_int_spell_fix() |
| 317 | - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi). |
Chris Allegretta | 7b0667f | 2002-01-10 12:44:21 +0000 | [diff] [blame] | 318 | do_suspend() |
| 319 | - Call tcsetattr() to restore the old terminal settings, so |
Chris Allegretta | 5bbce6a | 2002-01-10 12:48:16 +0000 | [diff] [blame] | 320 | tcsh can use ^C after suspend for example (fixes BUG #68). |
Chris Allegretta | 438f713 | 2002-01-16 00:54:47 +0000 | [diff] [blame] | 321 | do_wrap() |
| 322 | - Move "right" increment to part where new line is created, |
| 323 | should change (fix?) some wrapping problems with autoindent. |
Jordi Mallach | 5285ca9 | 2002-01-17 12:40:33 +0000 | [diff] [blame] | 324 | version() |
| 325 | - Show --enable-multibuffer independently of --enable-extra being |
| 326 | compiled in (Jordi). |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 327 | - nano.h: |
| 328 | - Changed color struct slightly, because of previous issue with |
| 329 | applying color painting in order, the "str" portion was |
| 330 | uselss. Renamed "val" in colortype to "start", added "end" |
| 331 | for multi-line color strings. |
| 332 | - rcfile.c: |
| 333 | General |
| 334 | - Took silly variables being passed everywhere like lineno and |
| 335 | filename and made them static variables. |
Chris Allegretta | 6c1e661 | 2002-01-19 16:52:34 +0000 | [diff] [blame] | 336 | - Re-indented. |
Chris Allegretta | 34f8098 | 2002-01-22 20:09:20 +0000 | [diff] [blame] | 337 | - Added stdarg.h to includes. |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 338 | rcfile_error() |
| 339 | - Now automatically prpends the "error in line blah at foo" |
| 340 | message to error messages. |
| 341 | parse_colors() |
| 342 | - Added section for computing "end" section. |
| 343 | parse_next_word() |
| 344 | - Added support for "\ ", in word parsing. |
Chris Allegretta | e29697d | 2002-01-14 03:31:10 +0000 | [diff] [blame] | 345 | - search.c: |
Chris Allegretta | 1c2fddc | 2002-01-21 20:40:14 +0000 | [diff] [blame] | 346 | do_search() |
| 347 | - Check position of cursor and return value of findnextstr and |
| 348 | tell user if search string only occurs once (Rocco & Chris). |
Chris Allegretta | e29697d | 2002-01-14 03:31:10 +0000 | [diff] [blame] | 349 | findnextstr() |
| 350 | - Fix off by one in check for wrap around (Rocco Corsi). |
Chris Allegretta | 3d0739c | 2002-01-07 14:41:32 +0000 | [diff] [blame] | 351 | - winio.c: |
| 352 | edit_refresh() |
| 353 | - Rename lines to nlines to fix AIX breakage (reported by |
| 354 | Dennis Cranston, re-reported by arh14@cornell.edu). |
Chris Allegretta | f478f83 | 2002-01-18 21:54:35 +0000 | [diff] [blame] | 355 | edit_add() |
| 356 | - Refuse to honor regex matches of 0 characters when applying |
| 357 | color highlighting, and say so on the statusbar. Otherwise |
| 358 | we go into an infinite loop, the error message should clue |
| 359 | users into the fact that their regex is doing something bad. |
Jordi Mallach | d6481e4 | 2002-01-17 12:14:23 +0000 | [diff] [blame] | 360 | - THANKS: |
| 361 | - Oops, correct Eivind's entry. His translation was Norwegian nynorsk, |
Jordi Mallach | 83d5ced | 2002-01-17 12:06:49 +0000 | [diff] [blame] | 362 | not bokmål as we claimed (Jordi). |
Chris Allegretta | 9963b0e | 2002-01-19 19:35:12 +0000 | [diff] [blame] | 363 | - .cvsignore |
| 364 | - Added config.guess config.sub install-sh missing & mkinstalldirs |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 365 | - po/ca.po, po/es.po: |
Jordi Mallach | e36a152 | 2002-01-07 15:12:48 +0000 | [diff] [blame] | 366 | - Catalan and Spanish translation updates (Jordi). |
| 367 | - po/sv.po: |
| 368 | - Swedish translation update (Christian Rose). |
Jordi Mallach | d39698f | 2002-01-07 15:16:26 +0000 | [diff] [blame] | 369 | - po/de.po: |
| 370 | - German translation update (Michael Piefel). |
Jordi Mallach | bf1a1e8 | 2002-01-08 14:07:39 +0000 | [diff] [blame] | 371 | - po/fr.po: |
| 372 | - French translation update (Jean-Philippe Guérard). |
| 373 | - po/ru.po, po/uk.po: |
| 374 | - Russian and Ukrainian translation updates (Sergey A. Ribalchenko). |
Jordi Mallach | 83d5ced | 2002-01-17 12:06:49 +0000 | [diff] [blame] | 375 | - po/no.po: |
| 376 | - Moved to po/nn.po, which is the correct name for Norwegian nynorsk. |
| 377 | - po/nn.po: |
| 378 | - Norwegian nynorsk translation updates (Kjetil Torgrim Homme). |
| 379 | - po/nb.po: |
| 380 | - New Norwegian bokmål translation (Stig E Sandoe <stig@ii.uib.no>). |
Jordi Mallach | 3a23a55 | 2002-01-18 23:04:16 +0000 | [diff] [blame] | 381 | - po/da.po: |
| 382 | - Danish translation update (Keld Simonsen). |
Chris Allegretta | d175193 | 2002-01-05 20:01:53 +0000 | [diff] [blame] | 383 | |
Chris Allegretta | 110927b | 2002-01-05 19:49:06 +0000 | [diff] [blame] | 384 | nano-1.1.5 - 01/05/2002 |
Chris Allegretta | 32da456 | 2002-01-02 15:12:21 +0000 | [diff] [blame] | 385 | - General |
| 386 | - Better integration of View mode (-v) and multibuffer. |
| 387 | Fixes to new_file(), do_insertfile_void(), shortcut_init() |
| 388 | (David Lawrence Ramsey). |
Chris Allegretta | 48bd378 | 2002-01-03 21:26:34 +0000 | [diff] [blame] | 389 | - The keypad handling has changed (again). We now use |
| 390 | the keypad() function by default. New flag -K, --keypad |
| 391 | allows the old behavior for those using the keypad arrow keys |
| 392 | and rxvt-based terminals. |
Jordi Mallach | 8ae5789 | 2002-01-04 17:57:40 +0000 | [diff] [blame] | 393 | - Updated copyright notices to 2002 (Jordi). |
Chris Allegretta | 0bb70dc | 2001-12-17 04:34:23 +0000 | [diff] [blame] | 394 | - nano.c: |
Chris Allegretta | 32da456 | 2002-01-02 15:12:21 +0000 | [diff] [blame] | 395 | die() |
| 396 | - Only save files that were modified (David Lawrence Ramsey). |
Chris Allegretta | 0bb70dc | 2001-12-17 04:34:23 +0000 | [diff] [blame] | 397 | do_cont() |
| 398 | - Run signal_init() after doupdate() so ^Y wont suddenly |
| 399 | start suspending after returning from ^Z suspend in Hurd. |
| 400 | signal_init() |
| 401 | - Unconditionally disable VDSUSP if it exists, stops ^Y |
| 402 | suspending nano on the Hurd. |
Jordi Mallach | 11f39e7 | 2001-12-25 19:17:32 +0000 | [diff] [blame] | 403 | help_init() |
Chris Allegretta | 64dd95d | 2001-12-27 20:53:54 +0000 | [diff] [blame] | 404 | - Typo fixes in help strings (Jordi). |
Chris Allegretta | 13fd44b | 2002-01-02 13:59:11 +0000 | [diff] [blame] | 405 | - New variable helplen needes cause currslen is not always |
| 406 | the length we want (bug found by David Lawrence Ramsey). |
Chris Allegretta | 180a569 | 2002-01-02 14:30:33 +0000 | [diff] [blame] | 407 | - Typo in file switch string (found by David Lawrence Ramsey). |
| 408 | main() |
| 409 | - Handle Alt prev/next file keys (,.), as well as normal ones (<>). |
Chris Allegretta | 32da456 | 2002-01-02 15:12:21 +0000 | [diff] [blame] | 410 | - Handle OS-specific insert keys by jump to do_insertkey (David |
| 411 | Lawrence Ramsey). |
Chris Allegretta | 64dd95d | 2001-12-27 20:53:54 +0000 | [diff] [blame] | 412 | - files.c: |
| 413 | read_file() |
| 414 | - Make conversion message less confusing (suggested by Jordi). |
Chris Allegretta | 13fd44b | 2002-01-02 13:59:11 +0000 | [diff] [blame] | 415 | - rcfile.c: |
| 416 | parse_next_word() |
| 417 | - Get rid of ptr == \n check to abort, screws up option |
| 418 | parsing (bug found by David Lawrence Ramsey) |
Chris Allegretta | 52db7a2 | 2001-12-17 23:39:36 +0000 | [diff] [blame] | 419 | - winio.c: |
| 420 | update_line() |
Chris Allegretta | 3c57e50 | 2001-12-19 16:20:43 +0000 | [diff] [blame] | 421 | - set realdata check to >= 1 && <= 31, lack of > 0 check screwed |
| 422 | high ascii characters. |
Jordi Mallach | 9335f91 | 2001-12-23 00:03:18 +0000 | [diff] [blame] | 423 | titlebar() |
| 424 | - gettextized a pair of strings. |
Chris Allegretta | e5b9eac | 2002-01-05 01:52:02 +0000 | [diff] [blame] | 425 | bottombars() |
| 426 | - Get rid of that annoying reversed line when color is on! :) |
Chris Allegretta | 1bf8f5e | 2002-01-05 03:30:10 +0000 | [diff] [blame] | 427 | edit_add() |
| 428 | - Little fixes to let color highlights not bleed onto the next line. |
Chris Allegretta | a16e4e9 | 2002-01-05 18:59:54 +0000 | [diff] [blame] | 429 | statusq() |
| 430 | - Initialize "list". |
Chris Allegretta | cf68071 | 2001-12-18 14:59:20 +0000 | [diff] [blame] | 431 | - m4/gettext.m4: |
| 432 | - Back down to 1.1.3 version. |
Jordi Mallach | cf9f783 | 2001-12-26 12:33:01 +0000 | [diff] [blame] | 433 | - faq.html: |
| 434 | - Various link updates and other fixes (Aaron S. Hawley). |
| 435 | - Typo fixes (David Lawrence Ramsey). |
Chris Allegretta | fae0dce | 2002-01-04 13:30:42 +0000 | [diff] [blame] | 436 | - AUTHORS |
| 437 | - Add DLR. |
Jordi Mallach | 77b1232 | 2001-12-22 23:23:40 +0000 | [diff] [blame] | 438 | - po/sv.po: |
| 439 | - Swedish translation update (Christian Rose). |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 440 | - po/ru.po, po/uk.po: |
Jordi Mallach | 3279398 | 2001-12-28 16:35:28 +0000 | [diff] [blame] | 441 | - Russian and Ukrainian translations updates (Sergey A. Ribalchenko). |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 442 | - po/ca.po, po/es.po: |
Jordi Mallach | 414acab | 2001-12-26 00:15:16 +0000 | [diff] [blame] | 443 | - Catalan and Spanish translations updates (Jordi). |
Jordi Mallach | a4ffccb | 2001-12-26 00:31:17 +0000 | [diff] [blame] | 444 | - po/pl.po: |
| 445 | - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>. |
Jordi Mallach | 65f3e42 | 2002-01-04 17:48:58 +0000 | [diff] [blame] | 446 | - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new |
| 447 | official maintainer. |
Jordi Mallach | 1a58fb4 | 2001-12-27 16:00:23 +0000 | [diff] [blame] | 448 | - po/fr.po: |
| 449 | - French translation update (Michel Robitaille). |
Jordi Mallach | 05d8ce9 | 2001-12-27 20:34:42 +0000 | [diff] [blame] | 450 | - po/gl.po: |
| 451 | - Galician translation update (Jacobo Tarrío). |
Jordi Mallach | 78e2c9d | 2001-12-27 22:06:38 +0000 | [diff] [blame] | 452 | - po/it.po: |
| 453 | - Italian translation update (Marco Colombo). |
Jordi Mallach | 3279398 | 2001-12-28 16:35:28 +0000 | [diff] [blame] | 454 | - po/de.po: |
| 455 | - German translation update (Michael Piefel). |
Jordi Mallach | 13f3017 | 2002-01-02 18:45:58 +0000 | [diff] [blame] | 456 | - po/fr.po: |
| 457 | - French translation update (Jean-Philippe Guérard). |
Chris Allegretta | 5fd6cac | 2001-12-12 13:55:19 +0000 | [diff] [blame] | 458 | |
Chris Allegretta | 7bf2509 | 2001-12-12 02:44:40 +0000 | [diff] [blame] | 459 | nano-1.1.4 - 12/11/2001 |
Chris Allegretta | 08893e0 | 2001-11-29 02:42:27 +0000 | [diff] [blame] | 460 | - General |
| 461 | - Preliminary syntax highlighting support. New functions |
| 462 | colortoint() and parse_color() in rcfile.c, new code in |
| 463 | edit_add() in winio.c to actually do the highlighting. It's |
| 464 | not even close to pretty yet :P |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 465 | - Many int/long alignments (David Lawrence Ramsey). |
Chris Allegretta | 0567bfe | 2001-10-28 14:42:18 +0000 | [diff] [blame] | 466 | - files.c: |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 467 | - Fixes for tab completion and screen refresh (David Lawrence |
| 468 | Ramsey). |
Chris Allegretta | 0567bfe | 2001-10-28 14:42:18 +0000 | [diff] [blame] | 469 | add_open_file() |
| 470 | - Get rid of unsetting MARK_ISSET because otherwise writing |
| 471 | marked text will automatically unset the marker with |
| 472 | multibuffer enabled. |
Chris Allegretta | 22ec59a | 2001-10-28 04:56:08 +0000 | [diff] [blame] | 473 | - global.c: |
| 474 | - Define currshortcut and currslen when either DISABLE_MOUSE |
Chris Allegretta | 8c8d370 | 2001-10-28 05:00:39 +0000 | [diff] [blame] | 475 | or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan |
| 476 | Minghetti). |
Chris Allegretta | 7bf7274 | 2001-10-28 04:29:55 +0000 | [diff] [blame] | 477 | - nano.c: |
| 478 | main() |
Chris Allegretta | f3e80ad | 2001-10-28 04:49:10 +0000 | [diff] [blame] | 479 | - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert). |
Chris Allegretta | 9b8b370 | 2001-11-19 05:09:15 +0000 | [diff] [blame] | 480 | - Added better Hurd support for function keys (Alt-V,U,9,@,F). |
| 481 | signal_init() |
| 482 | - do SIG_IGN for the SIGTSTP sigaction regardless of whether |
| 483 | we have _POSIX_VDISABLE or not (more Hurd fixes) |
Jordi Mallach | 773623c | 2001-10-28 21:00:49 +0000 | [diff] [blame] | 484 | help_init() |
| 485 | - Typo fixes and additions to the new help texts. |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 486 | do_curpos() |
| 487 | - Now takes arg for constant updating to always show the cursor |
| 488 | position (David Lawrence Ramsey). |
| 489 | do_wrap() |
| 490 | - Many fixes (David Lawrence Ramsey). |
Chris Allegretta | 8083827 | 2001-12-02 06:03:22 +0000 | [diff] [blame] | 491 | do_spell() |
| 492 | - Dont prompt for replace if we don't change the word in |
| 493 | question (Rocco Corsi). |
Jordi Mallach | 8c9c572 | 2001-10-31 13:02:12 +0000 | [diff] [blame] | 494 | - po/de.po: |
| 495 | - German translation updates (Karl Eichwalder). |
| 496 | - po/ru.po: |
| 497 | - Russian translation updates (Sergey A. Ribalchenko). |
| 498 | - po/sv.po: |
| 499 | - Swedish translation updates (Christian Rose). |
Jordi Mallach | feebeb9 | 2001-11-19 12:09:51 +0000 | [diff] [blame] | 500 | - po/da.po: |
| 501 | - Danish translation updates (Keld Simonse). |
| 502 | - po/es.po: |
| 503 | - Spanish translation updates (Jordi). |
Jordi Mallach | df59ae6 | 2001-12-07 14:00:56 +0000 | [diff] [blame] | 504 | - po/fr.po: |
| 505 | - French translation updates (Michel Robitaille). |
Chris Allegretta | 9c23a44 | 2001-12-12 01:45:01 +0000 | [diff] [blame] | 506 | - m4/gettext.m4: |
| 507 | - diff against mutt 1.2.5's gettext.m4. |
Chris Allegretta | 7b409bd | 2001-10-26 16:15:58 +0000 | [diff] [blame] | 508 | |
Chris Allegretta | dc57bba | 2001-10-26 16:14:45 +0000 | [diff] [blame] | 509 | nano-1.1.3 - 10/26/2001 |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 510 | - General |
| 511 | - Finally wrote function-specific help mode. Changes to |
| 512 | nano.c:help_init() and winio.c:do_help(). Changed |
| 513 | currshortcut and currslen #ifdefs to depend on both |
| 514 | DISABLE_HELP and DISABLE_MOUSE being defined to not |
| 515 | include. Changed all the shortcuts and lengths. |
Chris Allegretta | fa0c696 | 2001-10-22 23:22:19 +0000 | [diff] [blame] | 516 | - Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again, |
| 517 | this was causing nasty errors if the call to nrealloc moved |
| 518 | where the data was located. |
Chris Allegretta | 3a24f3f | 2001-10-24 11:33:54 +0000 | [diff] [blame] | 519 | - Changed header comments to say "version 2" instead of "version |
| 520 | 1" as the COPYING file is actually version 2 of the GPL (bug |
| 521 | noticed by Jordi Mallach). |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 522 | - cut.c: |
| 523 | do_cut_text() |
| 524 | - Check to see whether marked text is contained within edit |
| 525 | window and if so only do an edit_refresh (variable dontupdate |
| 526 | replaces cuttingpartialline). |
| 527 | do_uncut_text() |
| 528 | - Similar display fixes (David Lawrence Ramsey). |
Chris Allegretta | beead28 | 2001-10-18 14:15:28 +0000 | [diff] [blame] | 529 | - faq.html |
| 530 | - Removed nano-editor.org FTP site address [deprecated] and added |
| 531 | the GNU one. |
Chris Allegretta | 76e291b | 2001-10-14 19:05:10 +0000 | [diff] [blame] | 532 | - files.c: |
| 533 | - Added status messages for converted DOS and Mac files. |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 534 | People should know that their file wasnt normally formatted. |
| 535 | load_file() |
| 536 | - Status message when trying to load an already loaded file with multiple |
| 537 | buffers (David Lawrence Ramsey). |
| 538 | read_file() |
| 539 | - Get rid of useless linetemp variable and name num_lines int |
| 540 | (David Lawrence Ramsey). |
Chris Allegretta | 76e291b | 2001-10-14 19:05:10 +0000 | [diff] [blame] | 541 | - nano.c: |
| 542 | - 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] | 543 | Alt-space, as next word is hard coded as control-space. Fixed |
| 544 | 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] | 545 | beginning of first line, prog should simply abort. Added |
| 546 | the #ifdefs around the code in main(). |
Chris Allegretta | 1078640 | 2001-10-24 17:27:46 +0000 | [diff] [blame] | 547 | - nano.h: |
| 548 | - Additional #define, SMALL_TOO to determine how long |
| 549 | MAIN_LIST_LEN is. We need this because of the find matching |
| 550 | bracket code. |
Chris Allegretta | 48ebb81 | 2001-10-24 01:34:15 +0000 | [diff] [blame] | 551 | main() |
Chris Allegretta | 347c184 | 2001-10-24 01:37:13 +0000 | [diff] [blame] | 552 | - Moved #ifndef NANO_SMALL down past the case 0: line so |
| 553 | control-space doesn't insert a \0 (ack!) |
Chris Allegretta | b3655b4 | 2001-10-22 03:15:31 +0000 | [diff] [blame] | 554 | - rcfile.c: |
| 555 | - Fix incorrect number of rc options (David Lawrence Ramsey). |
Jordi Mallach | 482d165 | 2001-10-06 02:36:25 +0000 | [diff] [blame] | 556 | - po/sv.po: |
| 557 | - Updated Swedish translation (Christian Rose). |
Chris Allegretta | 2084acc | 2001-11-29 03:43:08 +0000 | [diff] [blame] | 558 | - po/da.po: |
Jordi Mallach | 2476ebd | 2001-10-07 00:26:26 +0000 | [diff] [blame] | 559 | - Updated Danish translation (Keld Simonsen). |
Jordi Mallach | 26f4603 | 2001-10-07 15:53:27 +0000 | [diff] [blame] | 560 | - po/es.po: |
| 561 | - Style updates to Spanish translation (Santiago Vila). |
Jordi Mallach | 3da9139 | 2002-01-07 11:50:13 +0000 | [diff] [blame] | 562 | - po/ru.po, po/uk.po: |
Jordi Mallach | eb94b9e | 2001-10-15 14:26:48 +0000 | [diff] [blame] | 563 | - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko). |
Chris Allegretta | 9a39789 | 2001-10-04 01:25:43 +0000 | [diff] [blame] | 564 | |
Chris Allegretta | 03260b4 | 2001-10-04 01:24:07 +0000 | [diff] [blame] | 565 | nano-1.1.2 - 10/03/2001 |
Chris Allegretta | c1049ac | 2001-08-17 00:03:46 +0000 | [diff] [blame] | 566 | - General |
| 567 | - Added BUGS #63 & 64. Fixes in search_init() and nanogetstr(), |
| 568 | new flag CLEAR_BACKUPSTRING because there's no easy way to |
| 569 | clear the backupstring without making it global (messy), so we |
| 570 | use a flag instead (just as messy?) |
Chris Allegretta | ff98983 | 2001-09-17 13:48:00 +0000 | [diff] [blame] | 571 | - --enable-tiny now leaves out the Auto Indent code, do you really |
| 572 | need that on a bootdisk? =-) |
Chris Allegretta | e1f1452 | 2001-09-19 03:19:43 +0000 | [diff] [blame] | 573 | - New flag -o, --operatingdir, similar to Pico's -o mode. New |
| 574 | function check_operating_dir(), changes to load_file (arg), |
Chris Allegretta | e09cd1d | 2001-09-19 03:22:52 +0000 | [diff] [blame] | 575 | open_file_dup_search (arg), new function do_gotopos for -F |
Chris Allegretta | ce78c1e | 2001-09-23 01:18:03 +0000 | [diff] [blame] | 576 | (David Lawrence Ramsey). |
Chris Allegretta | 9184189 | 2001-09-21 02:37:01 +0000 | [diff] [blame] | 577 | - Code to read/write dos formatted files. Massive amounts of |
Chris Allegretta | 7004c28 | 2001-09-22 00:42:10 +0000 | [diff] [blame] | 578 | new code in read_line and write_file. New cmdline flag |
| 579 | (-D --dos) to automatically write the file in DOS format, |
| 580 | regardless of the original format. |
Chris Allegretta | 995177f | 2001-09-22 04:34:23 +0000 | [diff] [blame] | 581 | - Mac file writing supported too. Flag -M, --mac. Toggle |
| 582 | Meta-O (MacOS? OS-X? =-) |
Chris Allegretta | 3e3ae94 | 2001-09-22 19:02:04 +0000 | [diff] [blame] | 583 | - New smooth scroll code by Ken Tyler. New flag -S, --smooth, |
Chris Allegretta | d948edc | 2001-10-02 00:38:56 +0000 | [diff] [blame] | 584 | changes to page_up() and page_down(). Many fixes to paging by |
Chris Allegretta | 5050d35 | 2001-09-27 00:44:58 +0000 | [diff] [blame] | 585 | David Lawrence Ramsey. |
Chris Allegretta | 8d990b5 | 2001-09-22 22:14:25 +0000 | [diff] [blame] | 586 | - Bracket (brace, parens, etc) matching code by Ken Tyler. |
| 587 | New functions do_find_bracket(), changes to findnextstr(), |
| 588 | command is Meta-] (hope you dont mind since I already sold off |
Chris Allegretta | 2bef182 | 2001-09-28 19:53:11 +0000 | [diff] [blame] | 589 | Meta-O to the MacOS file code Ken...) Fixes to bracket_msg |
| 590 | by DLR. |
Chris Allegretta | 1b3381b | 2001-09-28 21:59:01 +0000 | [diff] [blame] | 591 | - Call do_gotopos from do_alt_spell() to keep position |
| 592 | consistent when invoking alt speller (DLR). |
Chris Allegretta | 7fdbd05 | 2001-10-02 00:55:38 +0000 | [diff] [blame] | 593 | - Readded DISABLE_CURPOS because in certain instances (like |
Chris Allegretta | 03260b4 | 2001-10-04 01:24:07 +0000 | [diff] [blame] | 594 | all the "Search Wrapped" lines) the cursor position will |
Chris Allegretta | 7fdbd05 | 2001-10-02 00:55:38 +0000 | [diff] [blame] | 595 | be different yet we don't want the cursor position displayed. |
Chris Allegretta | e10f389 | 2001-10-02 03:54:40 +0000 | [diff] [blame] | 596 | - Take control-space out of -tiny build, unneeded. |
Chris Allegretta | 222a086 | 2001-10-02 00:24:37 +0000 | [diff] [blame] | 597 | - cut.c: |
| 598 | cut_marked_segment() |
| 599 | - Add magic line when cutting a selection including filebot |
Chris Allegretta | 31b2b81 | 2001-10-03 01:51:33 +0000 | [diff] [blame] | 600 | (discovered by DLR, fixed by DLR & Chris, fixes BUG #66). |
Chris Allegretta | dc2ca88 | 2001-10-02 23:55:09 +0000 | [diff] [blame] | 601 | do_cut_text() |
Chris Allegretta | 5e4b108 | 2001-10-03 00:45:06 +0000 | [diff] [blame] | 602 | - Don't recenter the line when cutting one line (DLR) (Bug #65). |
Jordi Mallach | f57b886 | 2001-10-03 12:45:22 +0000 | [diff] [blame] | 603 | - faq.html: |
| 604 | - Notes about the Free Translation Project. |
| 605 | - Debian additions. |
Chris Allegretta | 9519eb0 | 2001-09-27 20:46:25 +0000 | [diff] [blame] | 606 | - files.c: |
| 607 | do_writeout() |
| 608 | - Expanded strings to not use %s and ?: to determine |
| 609 | write/append string to be nice to translators. |
Chris Allegretta | 1b3381b | 2001-09-28 21:59:01 +0000 | [diff] [blame] | 610 | new_file() |
| 611 | - Initialize totsize (DLR). |
Chris Allegretta | 0357c4d | 2001-09-19 02:59:25 +0000 | [diff] [blame] | 612 | - nano.c: |
| 613 | main() |
Chris Allegretta | b516d8e | 2001-10-03 00:01:36 +0000 | [diff] [blame] | 614 | - Added var constcheck as a CRC-like check of whether cursor |
Chris Allegretta | 0357c4d | 2001-09-19 02:59:25 +0000 | [diff] [blame] | 615 | pos has changed and if so update the pos with -c. |
Chris Allegretta | ce78c1e | 2001-09-23 01:18:03 +0000 | [diff] [blame] | 616 | - Many tweaks and changes from numerics to char equivs |
| 617 | (David Lawrence Ramsey). |
Chris Allegretta | 92f5fdc | 2001-10-02 02:58:07 +0000 | [diff] [blame] | 618 | - Fix the KEY_IC being undefined when using slang. |
Chris Allegretta | 6414b40 | 2001-09-21 03:21:11 +0000 | [diff] [blame] | 619 | do_mouse() |
| 620 | - Send 27 when the menu item clicked is an alt key seq... The |
| 621 | lines aren't lined up since the menu width changed though, |
| 622 | this breakage depends on whether the new widths will be kept |
| 623 | or not (FEEDBACK!!) |
Chris Allegretta | a951f21 | 2001-09-27 21:07:39 +0000 | [diff] [blame] | 624 | - Change k based on currslen to allow the new widths in |
| 625 | bottombars(). |
Chris Allegretta | 56214c6 | 2001-09-27 02:46:53 +0000 | [diff] [blame] | 626 | do_wrap() |
| 627 | - Fixes for Pico incompatibility in cases 2b and 2c. |
| 628 | (David Lawrence Ramsey). |
| 629 | global_init() |
| 630 | - New arg save_cutbuffer, allows cutbuffer to not be lost when |
| 631 | using multibuffer. |
Jordi Mallach | f57b886 | 2001-10-03 12:45:22 +0000 | [diff] [blame] | 632 | - nano.1: |
| 633 | - Added new features, fixed some typos (Jordi). |
Jordi Mallach | 372b1a0 | 2001-08-08 19:35:23 +0000 | [diff] [blame] | 634 | - nano.texi: |
Jordi Mallach | f57b886 | 2001-10-03 12:45:22 +0000 | [diff] [blame] | 635 | - Corrected the Mouse Toggle section, noticed by Daniel Bonniot. |
| 636 | - Added many command line options, toggles and other additions |
| 637 | (Jordi). |
Chris Allegretta | beb5497 | 2001-09-22 23:54:45 +0000 | [diff] [blame] | 638 | - rcfile.c: |
| 639 | - NUM_RCOPTS fix (DLR). |
Chris Allegretta | 66c33b8 | 2001-10-02 23:57:31 +0000 | [diff] [blame] | 640 | - Add tabsize support to rc file (Nathan Heagy). |
Chris Allegretta | ca1a82e | 2001-10-03 15:18:41 +0000 | [diff] [blame] | 641 | - Fix incorrect argument in fill and tabsize error message |
| 642 | (Nathan Heagy) |
Chris Allegretta | 759d352 | 2001-09-27 13:04:10 +0000 | [diff] [blame] | 643 | - search.c: |
| 644 | - Changed search prompt to "Search" followed by a list of |
| 645 | bracketed, free-standing modifiers that do not imply a grammar, |
| 646 | and the (to replace) string separately. Hopefully this resolves |
| 647 | the i18n problems that this provoked. |
Chris Allegretta | 7fdbd05 | 2001-10-02 00:55:38 +0000 | [diff] [blame] | 648 | findnextstr() |
| 649 | - Various fixes that need testing (Ken Tyler). |
Chris Allegretta | 9b3c7e8 | 2001-08-25 16:00:53 +0000 | [diff] [blame] | 650 | - winio.c: |
| 651 | - Add David Lawrence Ramsey to credits. |
Chris Allegretta | 96eef73 | 2001-08-25 16:41:37 +0000 | [diff] [blame] | 652 | bottombars() |
| 653 | - Spread out the menu items, feedback definitely needed on this. |
Chris Allegretta | ce78c1e | 2001-09-23 01:18:03 +0000 | [diff] [blame] | 654 | nanogetstr() |
| 655 | - More key fixes (David Lawrence Ramsey) |
Chris Allegretta | 92f5fdc | 2001-10-02 02:58:07 +0000 | [diff] [blame] | 656 | - Don't be clever and wasteful, just repaint every iteration. |
Jordi Mallach | 2cde0a2 | 2001-09-05 13:23:53 +0000 | [diff] [blame] | 657 | - po/nl.po: |
Jordi Mallach | c6c35ea | 2001-09-09 11:04:43 +0000 | [diff] [blame] | 658 | - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>. |
Jordi Mallach | c1917e7 | 2001-09-28 13:06:29 +0000 | [diff] [blame] | 659 | - po/ca.po, po/es.po: |
| 660 | - Updated Catalan and Spanish translation (Jordi). |
Jordi Mallach | d1625cd | 2001-09-10 11:36:45 +0000 | [diff] [blame] | 661 | - po/gl.po: |
| 662 | - Updated Galician translation (Jacobo Tarrío). |
Jordi Mallach | 90bbdd3 | 2001-09-12 19:06:59 +0000 | [diff] [blame] | 663 | - po/da.po: |
| 664 | - New Danish translation, by Keld Simonsen <keld@dkuug.dk>. |
Jordi Mallach | 6c49b3f | 2001-09-15 22:47:05 +0000 | [diff] [blame] | 665 | - po/sv.po: |
| 666 | - Updated Swedish translation (Christian Rose). |
Jordi Mallach | 1e36fd8 | 2001-10-01 17:24:24 +0000 | [diff] [blame] | 667 | - po/it.po: |
| 668 | - Updated Italian translation (Marco Colombo). |
Jordi Mallach | 780f320 | 2001-10-03 20:47:47 +0000 | [diff] [blame] | 669 | - po/fi.po: |
| 670 | - Updated Finnish translation (Pauli Virtanen). |
Chris Allegretta | 47a2686 | 2001-07-29 01:17:38 +0000 | [diff] [blame] | 671 | |
Chris Allegretta | 0e8c8d8 | 2001-07-29 01:16:27 +0000 | [diff] [blame] | 672 | nano-1.1.1 - 07/28/2001 |
Chris Allegretta | ef8f98d | 2001-07-19 12:24:17 +0000 | [diff] [blame] | 673 | - General |
| 674 | - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir. |
| 675 | - Added m4/ directory to allow rebuilding using only the internal |
| 676 | version of gettext.m4 (Albert Chin). |
Chris Allegretta | 307d4c8 | 2001-07-15 20:25:33 +0000 | [diff] [blame] | 677 | - nano.c: |
| 678 | main() |
Chris Allegretta | 0e8c8d8 | 2001-07-29 01:16:27 +0000 | [diff] [blame] | 679 | - Change the multibuffer getopt option to 'F' (David Lawrence |
| 680 | Ramsey) |
Chris Allegretta | 41ed016 | 2001-07-24 00:21:03 +0000 | [diff] [blame] | 681 | do_mark() |
| 682 | - Temporarily disable cursorpos when enabled to be able to see |
| 683 | the mark (un)set message (Ken Tyler). |
Chris Allegretta | 4839d23 | 2001-07-19 22:03:51 +0000 | [diff] [blame] | 684 | - nanorc.sample |
| 685 | - Typo fixes and updates (David Lawrence Ramsey) |
Chris Allegretta | 5cce53b | 2001-07-17 10:42:50 +0000 | [diff] [blame] | 686 | - files.c: |
Chris Allegretta | e642197 | 2001-07-18 01:03:36 +0000 | [diff] [blame] | 687 | new_file() |
| 688 | - Do add_open_files if there aren't any open yet (David Lawrence |
| 689 | Ramsey). |
| 690 | close_open_file() |
| 691 | - Try to open the next file first, then the previous one |
| 692 | (David Lawrence Ramsey). |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 693 | - global.c: |
| 694 | shortcut_init() |
| 695 | - Rewrote the whereis and replace lists to put CANCEL at the end |
| 696 | of the list, and not include the toggle functions when using |
| 697 | NANO_SMALL. |
Chris Allegretta | f372bd9 | 2001-07-15 22:24:24 +0000 | [diff] [blame] | 698 | - nano.h: |
| 699 | - Fix type in INSERTFILE_LIST_LEN. |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 700 | - Rewrote all the macro definitions to be a little less messy, |
| 701 | for the #ifdefs anyway. |
Chris Allegretta | 307d4c8 | 2001-07-15 20:25:33 +0000 | [diff] [blame] | 702 | - rcfile.c: |
| 703 | - Update for the multibuffer option (oops) (David Lawrence Ramsey). |
Chris Allegretta | f372bd9 | 2001-07-15 22:24:24 +0000 | [diff] [blame] | 704 | - search.c: |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 705 | - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code. |
Chris Allegretta | f372bd9 | 2001-07-15 22:24:24 +0000 | [diff] [blame] | 706 | search_init() |
| 707 | - add #ifdef NANO_SMALL around toggles code. |
Chris Allegretta | 5f36c37 | 2001-07-16 00:48:53 +0000 | [diff] [blame] | 708 | - winio.c: |
| 709 | bottombars() |
| 710 | - Fixed an off by one that wasn't letting lines with odd # |
| 711 | shortcuts work in certain cases. |
Chris Allegretta | 47f77b4 | 2001-07-15 16:13:18 +0000 | [diff] [blame] | 712 | |
Chris Allegretta | 9a74860 | 2001-07-15 16:07:23 +0000 | [diff] [blame] | 713 | nano-1.1.0 - 07/15/2001 |
Chris Allegretta | 6b58acd | 2001-04-12 03:01:53 +0000 | [diff] [blame] | 714 | - General |
| 715 | - New global variables currshortcut and currslen to support using |
Chris Allegretta | 051fc6e | 2001-05-05 23:17:36 +0000 | [diff] [blame] | 716 | the mouse with the shortcuts. Also supports clicking on files |
Chris Allegretta | 6fe6149 | 2001-05-21 12:56:25 +0000 | [diff] [blame] | 717 | in browser. Added #ifdef DISABLE_MOUSE around this code also. |
Chris Allegretta | 84de552 | 2001-04-12 14:51:48 +0000 | [diff] [blame] | 718 | - Changed mouse disabling code from depending on --enable-tiny |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 719 | to its own flag, --disable-mouse. The --tiny option defines |
Chris Allegretta | 84de552 | 2001-04-12 14:51:48 +0000 | [diff] [blame] | 720 | this automatically, but now just mouse support can be disabled |
| 721 | if desired. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 722 | - File Browser supports the "Goto Directory" |
Chris Allegretta | 8d8e012 | 2001-04-18 04:28:54 +0000 | [diff] [blame] | 723 | - Added rcfile.c source file. Only includes much of anything when |
| 724 | --enable-nanorc is used. Tons of new funcs, most notably |
| 725 | do_rcfile() called from nano.c:main(). Added much needed |
| 726 | function ncalloc(), will have to go through source code later |
| 727 | and change the aproproate calls which used nmalloc for lack of |
| 728 | an apropriate calloc function *** FIXME *** |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 729 | - After "Alternate" spell checker is called, cursor is repositioned on |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 730 | the same line as before ^T was pressed. |
Chris Allegretta | 6efda54 | 2001-04-28 18:03:52 +0000 | [diff] [blame] | 731 | - Moved config.h up in all .c files #include list (Albert Chin). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 732 | - Added config.guess and config.sub to distribution because, |
| 733 | apparently, newer autoconf/automakes can't live without them. |
| 734 | - Various spelling updates by David Lawrence Ramsey. |
Chris Allegretta | 88b0915 | 2001-05-17 11:35:43 +0000 | [diff] [blame] | 735 | - Changed all string allocations to charalloc(), new function |
| 736 | designed to take nmalloc argument but call calloc based on |
| 737 | (char *) size. |
Chris Allegretta | 6fe6149 | 2001-05-21 12:56:25 +0000 | [diff] [blame] | 738 | - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping |
| 739 | and justify being disabled. This allows us to compile out the |
| 740 | -r flag if neither are set, and will also allow us to comment |
| 741 | out -W when it is written. |
| 742 | - Allow fill to take a negative value ot signify a "from right side" |
| 743 | value. This allows the value to vary with the screen size yet |
| 744 | still be correct. New static value wrap_at to minimize code |
| 745 | inpact. Updated man page and info file. |
Chris Allegretta | cc197ef | 2001-05-29 04:21:44 +0000 | [diff] [blame] | 746 | - Allow file appending. New shortcut list nano_insertfile_list (since |
| 747 | insert and write routines can't share shortcut lists anymore), |
| 748 | new args to do_writeout and write_file called append, and of source |
| 749 | code changes to those functions. |
Chris Allegretta | e4933a3 | 2001-06-13 02:35:44 +0000 | [diff] [blame] | 750 | - Allow backwards searching. Drastic rewrite of the search prompt |
| 751 | string by Chris. All other code by Ken Tyler. New globals |
| 752 | nano_reverse_msg, new functions revstrstr and revstrcasestr, |
| 753 | many changes to search functions. Not too big a code size |
| 754 | increase! |
Chris Allegretta | 658399a | 2001-06-14 02:54:22 +0000 | [diff] [blame] | 755 | - Moved extension functions (Case Sensitive, Regexp, and Backwards |
| 756 | Search, Append key in write file function) to Meta keys, as |
| 757 | people are complaining loudly about nano not being control-key |
| 758 | compatible with Pico, which is a Bag Thing (TM). Changes to |
| 759 | shortcut_init, toggle_init, new toggles for backwards and regexp |
| 760 | (and you can now toggle all search options including regexp at |
| 761 | the Search: prompt!) Changes to nanogetstr to enable Meta |
| 762 | keys to be grabbed, changes to onekey to print M-style shortcuts. |
| 763 | - New macro TOGGLE which just toggles, no more silly checking |
| 764 | ISSET and then using SET or UNSET when we want a simple toggle |
| 765 | for a flag. |
Chris Allegretta | 2d7893d | 2001-07-11 02:08:33 +0000 | [diff] [blame] | 766 | - Added multiple buffer capability (God help us). New configure |
Chris Allegretta | 355fbe5 | 2001-07-14 19:32:47 +0000 | [diff] [blame] | 767 | option --enable-multibuffer (-F), changes to do_insertfile(), |
Chris Allegretta | 2d7893d | 2001-07-11 02:08:33 +0000 | [diff] [blame] | 768 | do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(), |
| 769 | and write_file(), new functions add_open_file(), |
| 770 | open_file_change_name(), load_open_file(), open_file_dup_search(), |
| 771 | open_file_dup_fix(), open_prevfile(), open_nextfile(), |
| 772 | close_open_file(), get_full_path(), die_save_file(), etc. |
| 773 | (David Lawrence Ramsey). |
Chris Allegretta | 355fbe5 | 2001-07-14 19:32:47 +0000 | [diff] [blame] | 774 | - Using --enable-extra automatically defines --enable-multibuffer |
| 775 | changes to version() and configure.in. |
Chris Allegretta | 9a74860 | 2001-07-15 16:07:23 +0000 | [diff] [blame] | 776 | - Moved to gettext 0.10.38 at the last second, sure to break |
| 777 | something, but at least I can run make distcheck! |
Jordi Mallach | 7fde37f | 2001-06-22 23:26:19 +0000 | [diff] [blame] | 778 | - Makefile.am: |
| 779 | - Include ABOUT-NLS and the new THANKS files to the distributed list. |
| 780 | - THANKS: |
| 781 | - Initial, incomplete list of people to thank. |
Chris Allegretta | 049149f | 2001-07-02 01:57:44 +0000 | [diff] [blame] | 782 | - Added some more people. |
Chris Allegretta | ea066c8 | 2001-04-13 02:32:06 +0000 | [diff] [blame] | 783 | - configure.in: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 784 | - New option, --enable-nanorc, which allows people to have a .nanorc |
Chris Allegretta | 18d70f1 | 2001-04-28 15:53:28 +0000 | [diff] [blame] | 785 | initialization file and set options normally used on the command |
| 786 | line, and color later on. |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 787 | - Added --enable-color option to allow color and syntax highlighting |
Chris Allegretta | 18d70f1 | 2001-04-28 15:53:28 +0000 | [diff] [blame] | 788 | (stub as of now). |
Chris Allegretta | 4cb991d | 2001-05-10 22:55:16 +0000 | [diff] [blame] | 789 | - cut.c: |
| 790 | add_to_cutbuffer() |
| 791 | - Remove useless statements (Rocco). |
Chris Allegretta | 9fe015c | 2001-05-17 03:41:00 +0000 | [diff] [blame] | 792 | cut_marked_segment() |
Chris Allegretta | 53ea9d1 | 2001-05-18 19:58:33 +0000 | [diff] [blame] | 793 | - Add bizarre copy of bot node, else *BSD goes ballistic (fixes |
| 794 | BUG #60). |
Chris Allegretta | cc197ef | 2001-05-29 04:21:44 +0000 | [diff] [blame] | 795 | - Added 'destructive' argument. Allows the selected text to be |
| 796 | added to the cutbuffer without changing the contents of the |
| 797 | file. This allows writing selection to separate files. |
Chris Allegretta | 3ba2953 | 2001-06-10 20:41:20 +0000 | [diff] [blame] | 798 | do_cut_text() |
Chris Allegretta | a75bc41 | 2001-06-12 23:22:26 +0000 | [diff] [blame] | 799 | - If the line is empty when using -k and wasn't already added, |
| 800 | 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] | 801 | - Reset marked_cut if we blow away the cutbuffer. |
Chris Allegretta | 500b5e3 | 2001-06-21 23:58:47 +0000 | [diff] [blame] | 802 | - Moved the case of current == mark_beginbuf into cut_marked |
| 803 | segment, so do_writeout could call it when writing selection to |
| 804 | file. |
Chris Allegretta | 40f45c8 | 2001-06-21 15:07:40 +0000 | [diff] [blame] | 805 | do_uncut_text() |
| 806 | - 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] | 807 | - faq.html: |
| 808 | - Brought the FAQ up to date, many little changes (Jordi). |
Chris Allegretta | 9a74860 | 2001-07-15 16:07:23 +0000 | [diff] [blame] | 809 | - 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] | 810 | - files.c: |
| 811 | do_browser() |
| 812 | - Minor fixes to the processing of SELECT function (Rocco) |
| 813 | - Added the "Goto Directory" code (Rocco) |
Chris Allegretta | d461562 | 2001-05-23 21:54:47 +0000 | [diff] [blame] | 814 | - Don't shift the size of the file is it's less than 1K. Fixed |
| 815 | files less than 1K being displayed as 0B (Rocco). |
Chris Allegretta | a2c02e9 | 2001-07-02 01:31:44 +0000 | [diff] [blame] | 816 | - More Picoish keystrokes for the browser, ^P, ^N, etc, for up, |
| 817 | down, etc, and add the consistent ^C to exit (Jim Knoble). |
Chris Allegretta | cc197ef | 2001-05-29 04:21:44 +0000 | [diff] [blame] | 818 | do_writeout() |
| 819 | - New code to allow writing selected text to a separate file. |
Chris Allegretta | ecc3d7f | 2001-06-05 23:24:55 +0000 | [diff] [blame] | 820 | When this is done, the current state is prserved. |
| 821 | write_file() |
| 822 | - New arg, nonamechange, means whether or not to update the |
| 823 | current filename after writing the file out. |
Chris Allegretta | 1a8b296 | 2001-06-30 18:41:08 +0000 | [diff] [blame] | 824 | - Increment lineswritten when the very last line isn't null. |
| 825 | Fixes off by one count when writing selection to file. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 826 | - global.c: |
| 827 | - Updated some of the lists for the "Goto Directory" code (Rocco) |
Chris Allegretta | 6cb4e88 | 2001-04-29 02:26:17 +0000 | [diff] [blame] | 828 | - move.c: |
| 829 | page_up() |
| 830 | - Rewritten with a loop to make screen updates work when |
| 831 | mark is set (fixes bug #59). |
Chris Allegretta | 1cde322 | 2001-06-11 06:56:10 +0000 | [diff] [blame] | 832 | do_home(), do_end() |
| 833 | - Don't keep cutbuffer. |
Jordi Mallach | 3f8db49 | 2001-04-30 10:30:43 +0000 | [diff] [blame] | 834 | - nano.1: |
| 835 | - Added the missing -r flag (Jordi). |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 836 | - nano.c: |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 837 | do_alt_speller() |
| 838 | - Reposition cursor on same line as before ^T was called (Rocco) |
Chris Allegretta | 316e4d9 | 2001-04-28 16:31:19 +0000 | [diff] [blame] | 839 | ABCD(), main() |
| 840 | - 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] | 841 | main() |
| 842 | - Code to silently process "-g" and "-j" (Rocco) |
Chris Allegretta | b26ecb5 | 2001-07-04 16:27:05 +0000 | [diff] [blame] | 843 | - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen). |
Chris Allegretta | 521e00d | 2001-06-28 16:52:52 +0000 | [diff] [blame] | 844 | signal_init() |
| 845 | - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and |
| 846 | SIGCONT from being interrupted, allows suspending nano |
| 847 | to work more reliably, esp. with mutt, etc. |
| 848 | do_suspend() |
| 849 | - Don't try to play with the handler inside the handler. Just |
| 850 | raise a SIGSTOP. We also now write the "use "fg"" message to |
| 851 | stdout instead of stderr. |
Chris Allegretta | ac899e5 | 2001-06-30 04:09:09 +0000 | [diff] [blame] | 852 | - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke. |
| 853 | Eliminates the possibility that nano can be suspended when |
| 854 | it's not supposed to be. Many many many thanks to Jordi and |
| 855 | Tom Lear for helping out finding and fixing this bug! |
Chris Allegretta | 521e00d | 2001-06-28 16:52:52 +0000 | [diff] [blame] | 856 | do_cont() |
| 857 | - Now just does a refresh call instead of playing with the SIGTSTP |
| 858 | handler. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 859 | - nano.h: |
| 860 | - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco) |
| 861 | - proto.h: |
| 862 | - New shortcut list added: gotodir_list (Rocco). |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 863 | - search.c: |
| 864 | do_gotoline() |
| 865 | - Optimizations, remove "$" goes-to-last-line, less messages (Rocco) |
Chris Allegretta | 5050aa6 | 2001-04-22 07:10:21 +0000 | [diff] [blame] | 866 | do_replace() |
| 867 | - If we manage to make it in somehow with VIEW_MODE on, abort |
| 868 | nicely (fixes BUG #59). |
Chris Allegretta | 99afb85 | 2001-05-16 04:20:57 +0000 | [diff] [blame] | 869 | - utils.c |
| 870 | strcasestr() |
| 871 | - Replaced by mutt's mutt_stristr function, because the thought |
| 872 | of dynamically allocating memory and copying each line in a file |
| 873 | to do a search or replace was causing me to lose sleep. |
Chris Allegretta | 6efda54 | 2001-04-28 18:03:52 +0000 | [diff] [blame] | 874 | - winio.c: |
| 875 | actual_x() |
| 876 | - Remove inline from function decl (Albert Chin). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 877 | - po/POTFILES.in: |
| 878 | - Added utils.c to the list. |
| 879 | - po/es.po, po/ca.po: |
| 880 | - Updated (Jordi). |
Jordi Mallach | 9634571 | 2001-04-29 10:38:07 +0000 | [diff] [blame] | 881 | - po/gl.po: |
Jordi Mallach | 64bacd2 | 2001-05-14 13:55:30 +0000 | [diff] [blame] | 882 | - Galician translation by Jacobo Tarrío. |
Jordi Mallach | 92b3bd2 | 2001-05-16 09:10:31 +0000 | [diff] [blame] | 883 | - po/uk.po, po/ru.po: |
| 884 | - New Ukrainian and Russian translations by Sergey A. Ribalchenko |
Jordi Mallach | 3bf6bf4 | 2001-05-14 13:11:56 +0000 | [diff] [blame] | 885 | <fisher@obu.ck.ua>, thanks! |
Jordi Mallach | efd2236 | 2001-06-22 16:59:29 +0000 | [diff] [blame] | 886 | - po/id.po: |
| 887 | - Updated Indonesian translation by Tedi Heriyanto. |
Chris Allegretta | 63ba2d6 | 2001-05-16 12:16:28 +0000 | [diff] [blame] | 888 | - po/it.po |
| 889 | - Updated Italian translation by Marco Colombo. |
Jordi Mallach | df7d8b2 | 2001-07-05 23:16:05 +0000 | [diff] [blame] | 890 | - po/no.po: |
| 891 | - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>. |
| 892 | - po/sv.po: |
| 893 | - New Swedish translation by Christian Rose <menthos@menthos.com>. |
Chris Allegretta | ac840eb | 2001-04-07 18:21:47 +0000 | [diff] [blame] | 894 | |
| 895 | nano 1.1 tree forked here 04/07/2001 |
| 896 | |
Chris Allegretta | 38068cd | 2001-04-06 20:04:23 +0000 | [diff] [blame] | 897 | nano 1.0.1 - 04/06/2001 |
Chris Allegretta | cef7fbb | 2001-04-02 05:36:08 +0000 | [diff] [blame] | 898 | - General: |
| 899 | - added configure option --disable-wrapping. Does what it says, |
| 900 | no wrapping or checks are done. Separate from --enable-tiny, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 901 | some may want a bare-bones Pico clone that does wrap text. |
Chris Allegretta | cef7fbb | 2001-04-02 05:36:08 +0000 | [diff] [blame] | 902 | Affects configure, nano.c:do_char() and check_wrap() obviously, |
| 903 | version(), and do_char(). |
Chris Allegretta | 3948bae | 2001-03-25 00:46:40 +0000 | [diff] [blame] | 904 | - aclocal.m4: |
| 905 | - Minor patch for intl check (really this time) (Albert Chin) |
Chris Allegretta | 4bf831f | 2001-03-26 15:35:34 +0000 | [diff] [blame] | 906 | - faq.html: |
| 907 | - Fixed typo in section 6.1 (discovered by Bob Farmer). |
Chris Allegretta | 4980517 | 2001-03-28 02:14:28 +0000 | [diff] [blame] | 908 | - files.c: |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 909 | - fix two typos in comments, one in ChangeLog (Matthias Andree) |
Chris Allegretta | 4980517 | 2001-03-28 02:14:28 +0000 | [diff] [blame] | 910 | diralphasort() |
Chris Allegretta | 0876dc9 | 2001-03-28 13:04:08 +0000 | [diff] [blame] | 911 | - Stop abort on symlinks (Matthias Andree) |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 912 | - use strcasecmp to sort directory if available, pilot does that |
| 913 | as well (Matthias Andree) |
| 914 | filestat(), do_browse() |
Chris Allegretta | 0876dc9 | 2001-03-28 13:04:08 +0000 | [diff] [blame] | 915 | - Changed lstat calls to stat, which fixes the browser not |
| 916 | following links to directories. We only use lstat() when |
| 917 | printing the details of the file, and if it is a link, then |
| 918 | check via lstat() for link to a directory. If it is |
Jordi Mallach | b2c4cbe | 2001-04-02 13:47:17 +0000 | [diff] [blame] | 919 | a directory, display (dir), else use the normal "--". |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 920 | do_browser() |
| 921 | - Fix broken size suffix off-by-one errors (Matthias Andree) |
| 922 | cwd_tab_completion(), do_browse_from() |
| 923 | - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree). |
| 924 | - Changed above to use PATH_MAX only when defined on the |
| 925 | system, as the HURD e.g. does not support it. |
Jordi Mallach | b2c4cbe | 2001-04-02 13:47:17 +0000 | [diff] [blame] | 926 | - intl/Makefile.in: |
| 927 | distclean |
| 928 | - added intl/libintl.h to the rm -f rule, should fix the unresolved |
| 929 | gettext symbols problem (Jordi). |
Chris Allegretta | 2071207 | 2001-03-23 03:51:48 +0000 | [diff] [blame] | 930 | |
Chris Allegretta | 2bfbda0 | 2001-03-23 03:50:44 +0000 | [diff] [blame] | 931 | nano-1.0.0 - 03/22/2001 |
Chris Allegretta | e316773 | 2001-03-18 16:59:34 +0000 | [diff] [blame] | 932 | - General |
| 933 | - Added void to functions declared as () args, nano.c:do_mark() |
| 934 | and search.c:regexp_cleanup(). (Christian Weisgerber). |
| 935 | - Changed internal variables called "new" to "newnode" to avoid |
| 936 | the "new" C++ reserved word, even though there is likely no way |
| 937 | nano will EVER be compilable with a C++ compiler. (suggested by |
| 938 | Rocco Corsi). |
Chris Allegretta | 7ab3e8f | 2001-03-22 23:12:22 +0000 | [diff] [blame] | 939 | - ca.po, es.po: |
| 940 | - Final tweaks for Nano 1.0. |
Chris Allegretta | 10ae4f1 | 2001-03-20 15:51:43 +0000 | [diff] [blame] | 941 | - cs.po: |
| 942 | - Czech translation from Vaclav Haisman. |
Chris Allegretta | 7ab3e8f | 2001-03-22 23:12:22 +0000 | [diff] [blame] | 943 | - nano.info: |
| 944 | - Added dir entry (Albert Chin). |
Chris Allegretta | 35dac58 | 2001-03-21 15:07:20 +0000 | [diff] [blame] | 945 | - winio.c: |
| 946 | statusq() |
| 947 | - 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] | 948 | |
| 949 | 1.0-test prerelease - 03/17/2001 |
Chris Allegretta | 94a78b8 | 2001-03-14 08:28:48 +0000 | [diff] [blame] | 950 | - nano.c: |
| 951 | do_wrap() |
| 952 | - Added case for autoindenting text causing new line (Adam). |
| 953 | - Added SAMELINE case to above. Added checks to cases 1b and |
| 954 | 2b for placement of cursor. |
Chris Allegretta | 565f7d5 | 2001-03-15 02:02:20 +0000 | [diff] [blame] | 955 | - move.c: |
| 956 | page_down() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 957 | - Check for totlines < editwinrows in check for superfluous |
Chris Allegretta | 565f7d5 | 2001-03-15 02:02:20 +0000 | [diff] [blame] | 958 | edit update (fixed BUG #57). |
Jordi Mallach | 5b387d7 | 2001-02-20 12:45:47 +0000 | [diff] [blame] | 959 | - search.c: |
Chris Allegretta | 74bb31b | 2001-03-14 09:08:14 +0000 | [diff] [blame] | 960 | print_replaced() |
Jordi Mallach | 5b387d7 | 2001-02-20 12:45:47 +0000 | [diff] [blame] | 961 | - s/occurence/occurrence typos (Jordi). |
Chris Allegretta | 74bb31b | 2001-03-14 09:08:14 +0000 | [diff] [blame] | 962 | search_init() |
| 963 | - If using Pico mode and regex and same answer is entered, use |
| 964 | last_search string instead of answer (fixes BUG #56). |
Chris Allegretta | 203ce15 | 2001-02-23 03:05:38 +0000 | [diff] [blame] | 965 | - nano.texi: |
| 966 | - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks). |
Chris Allegretta | 9c9c5da | 2001-02-20 03:53:31 +0000 | [diff] [blame] | 967 | |
Chris Allegretta | a4a222d | 2001-02-20 03:52:13 +0000 | [diff] [blame] | 968 | nano-0.9.99pre3 - 02/19/2001 |
Chris Allegretta | af6414a | 2001-02-11 19:05:05 +0000 | [diff] [blame] | 969 | - General |
Chris Allegretta | 1bf501c | 2001-02-12 03:24:46 +0000 | [diff] [blame] | 970 | GNU compliance issues: |
Jordi Mallach | a7b2ed0 | 2001-02-20 02:04:43 +0000 | [diff] [blame] | 971 | - Reworked shortcut list, put "Get Help" into default list, |
Chris Allegretta | 1bf501c | 2001-02-12 03:24:46 +0000 | [diff] [blame] | 972 | removed "Goto Line", aligned "Read File" with "Write Out" and |
| 973 | "Replace" with "Where is" for consistency. |
| 974 | - Added texinfo manual nano.texi. Added texi options to |
Chris Allegretta | c46dd81 | 2001-02-14 14:28:27 +0000 | [diff] [blame] | 975 | Makefile.am. |
Chris Allegretta | de48b41 | 2001-02-01 22:56:44 +0000 | [diff] [blame] | 976 | - configure.in: |
| 977 | - Autoconf compatibility fixes (Pavel Roskin) |
Chris Allegretta | 618f5d7 | 2001-02-16 04:48:30 +0000 | [diff] [blame] | 978 | - Added separate check for resizeterm(). |
Jordi Mallach | 82b1829 | 2001-02-17 01:31:32 +0000 | [diff] [blame] | 979 | - ALL_LINGUAS: added hu and ca. |
Chris Allegretta | 09f39cb | 2001-02-05 13:43:23 +0000 | [diff] [blame] | 980 | - cut.c: |
| 981 | do_cut_text() |
| 982 | - marked text cut fixes (Rocco) (Fixes bug #54). |
Chris Allegretta | 00ae5df | 2001-02-05 18:24:33 +0000 | [diff] [blame] | 983 | - nano.c: |
Chris Allegretta | 4ed1315 | 2001-02-10 17:50:50 +0000 | [diff] [blame] | 984 | do_delete() |
| 985 | - Added check for current->next == fileptr, as we have a magic |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 986 | line code again, fixes silliness at the end of the last line |
Chris Allegretta | 4ed1315 | 2001-02-10 17:50:50 +0000 | [diff] [blame] | 987 | before the magic line (reported by J.A. Neitzel). |
Chris Allegretta | 00ae5df | 2001-02-05 18:24:33 +0000 | [diff] [blame] | 988 | do_justify() |
| 989 | - If the keystroke after the justify is not the unjustify key, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 990 | blank the statusbar (bug reported by Neil Parks). |
Chris Allegretta | 8bc03b6 | 2001-02-09 02:57:52 +0000 | [diff] [blame] | 991 | main() |
| 992 | - Added ENABLE_NLS check around gettext stuff. |
Chris Allegretta | 4ce8e3b | 2001-02-16 01:49:31 +0000 | [diff] [blame] | 993 | - winio.c: |
| 994 | do_yesno() |
| 995 | - Added localized yes, no and all strings to function and rewrote |
| 996 | handler for the new format. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 997 | - de.po: |
Jordi Mallach | 8119765 | 2001-02-16 20:00:03 +0000 | [diff] [blame] | 998 | - Translation updates by Florian König. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 999 | - fi.po: |
| 1000 | - Translation updates by Pauli Virtanen. |
Chris Allegretta | d096f68 | 2001-02-05 13:51:31 +0000 | [diff] [blame] | 1001 | - hu.po: |
| 1002 | - Hungarian translation by Horvath Szabolcs. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 1003 | - id.po: |
| 1004 | - Translation updates by Tedi Heriyanto. |
Jordi Mallach | 8119765 | 2001-02-16 20:00:03 +0000 | [diff] [blame] | 1005 | - es.po: |
Jordi Mallach | 6aec0d6 | 2001-02-17 01:32:58 +0000 | [diff] [blame] | 1006 | - Translation updates and grammatical/typo fixes (Jordi). |
Jordi Mallach | 82b1829 | 2001-02-17 01:31:32 +0000 | [diff] [blame] | 1007 | - ca.po: |
| 1008 | - Catalan translation by Jordi Mallach :) |
Jordi Mallach | a7b2ed0 | 2001-02-20 02:04:43 +0000 | [diff] [blame] | 1009 | - Miquel Vidal <miquel@sindominio.net> went over it and corrected |
| 1010 | many typos and completed bits that remained untranslated by error. |
Chris Allegretta | 7c1fee7 | 2001-01-31 23:24:54 +0000 | [diff] [blame] | 1011 | |
Chris Allegretta | 34318ed | 2001-01-31 23:22:36 +0000 | [diff] [blame] | 1012 | nano-0.9.99pre2 - 01/31/2001 |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 1013 | General |
Chris Allegretta | d4ddd01 | 2001-01-23 01:17:07 +0000 | [diff] [blame] | 1014 | - Removed center_x and center_y globals. center_y was |
| 1015 | completely unused and center_x was only used a few places, |
Chris Allegretta | 17276e5 | 2001-01-23 01:22:32 +0000 | [diff] [blame] | 1016 | easily replaced with COLS / 2 (oops, not current_x & y (Rob)). |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 1017 | - Deleted free_node, duplicate of delete_node, and changed all |
| 1018 | free_node calls to delete_node. |
Chris Allegretta | 0802088 | 2001-01-29 23:37:54 +0000 | [diff] [blame] | 1019 | - Fix for resizing the window in modes other than normal edit mode |
| 1020 | Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco). |
Chris Allegretta | 0fc2b81 | 2001-01-18 15:04:20 +0000 | [diff] [blame] | 1021 | - files.c: |
| 1022 | write_file() |
| 1023 | - Don't free() realname on error, if it needs to be free()d later |
| 1024 | it will be (fixes crash on successful write after failed write, |
| 1025 | discovered by David Sobon). |
Chris Allegretta | 8d9b11a | 2001-01-19 04:17:24 +0000 | [diff] [blame] | 1026 | username_tab_completion() |
| 1027 | - Optimization and removal of useless vars (Rocco). |
Chris Allegretta | 2c2c5f2 | 2001-01-23 03:27:31 +0000 | [diff] [blame] | 1028 | - Rewritten using getpwent (suggested by Rocco). |
Chris Allegretta | a711f7e | 2001-01-23 04:16:31 +0000 | [diff] [blame] | 1029 | - Removed redundant conditional (Rocco). |
Chris Allegretta | ee733e6 | 2001-01-22 22:17:08 +0000 | [diff] [blame] | 1030 | real_dir_from_tilde() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1031 | - Rewritten using getpwent (suggested by Adam, much optimized by |
| 1032 | Rocco). |
Chris Allegretta | f0b26df | 2001-01-20 22:18:18 +0000 | [diff] [blame] | 1033 | - global.c: |
| 1034 | - Don't define toggles global or toggle_init_one if using --tiny. |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 1035 | - nano.c: |
| 1036 | do_justify() |
| 1037 | - Added restoration of totsize after unjustify command. |
Chris Allegretta | 7f7ce56 | 2001-01-21 16:35:49 +0000 | [diff] [blame] | 1038 | usage() |
Chris Allegretta | e9a2d03 | 2001-01-21 16:08:21 +0000 | [diff] [blame] | 1039 | - Add arg to -T help (Rocco). |
Chris Allegretta | 0a06e07 | 2001-01-23 02:35:04 +0000 | [diff] [blame] | 1040 | global_init(), handle_sigwinch() |
| 1041 | - Messy loops replaced with memset calls (Rocco). |
Chris Allegretta | 169ee84 | 2001-01-26 01:57:32 +0000 | [diff] [blame] | 1042 | do_alt_speller() |
| 1043 | - Added code to parse multi-word alt_speller strings. |
Chris Allegretta | e434b45 | 2001-01-27 19:25:00 +0000 | [diff] [blame] | 1044 | - Fix initialization before fork() (Rocco). |
Chris Allegretta | 34318ed | 2001-01-31 23:22:36 +0000 | [diff] [blame] | 1045 | - proto.h: |
| 1046 | - Fix do_credits() proto (oops!) |
Chris Allegretta | e434b45 | 2001-01-27 19:25:00 +0000 | [diff] [blame] | 1047 | - winio.c: |
| 1048 | nanogetstr() |
| 1049 | - Sanity check for x overrunning the string buffer len. |
Chris Allegretta | 76745fb | 2001-01-18 04:40:06 +0000 | [diff] [blame] | 1050 | |
Chris Allegretta | 9d6f3f3 | 2001-01-21 02:35:03 +0000 | [diff] [blame] | 1051 | nano 0.9.99pre1 - 01/17/2001 |
Chris Allegretta | a4d6d1d | 2001-01-10 23:44:10 +0000 | [diff] [blame] | 1052 | General |
| 1053 | - Changed #ifdefs to check for both DISABLE_TABCOMP and |
| 1054 | NANO_SMALL, makes tiny option leave out tab completion, which |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 1055 | should be left out in that circumstance. Saves at least 5k. |
Rocco Corsi | 06aca1c | 2001-01-11 05:30:31 +0000 | [diff] [blame] | 1056 | - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 1057 | back. (Rocco) |
| 1058 | - Various #ifdef & #ifndef cleanups. (Rocco) |
Chris Allegretta | 201d9bf | 2001-01-14 03:17:53 +0000 | [diff] [blame] | 1059 | - Added message for when keypad goes awry. Added code in main and |
| 1060 | function print_numlock_warning() to notify user, and added an |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1061 | appropriate section in the faq to refer to this brokenness. |
Chris Allegretta | e61e830 | 2001-01-14 05:18:27 +0000 | [diff] [blame] | 1062 | - 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] | 1063 | nano.c:global_init(). (Rocco) |
Chris Allegretta | bbebec6 | 2001-01-09 00:37:32 +0000 | [diff] [blame] | 1064 | - configure.in: |
| 1065 | - Fix for _use_keypad check breaking slang support (Christian |
| 1066 | Weisgerber). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1067 | - Changed to automatically define the 5 DISABLE variables when |
Chris Allegretta | 4ee0b41 | 2001-01-11 15:11:00 +0000 | [diff] [blame] | 1068 | NANO_SMALL (enable-tiny) is requested at configure. |
Chris Allegretta | 2c4feca | 2001-01-09 17:40:56 +0000 | [diff] [blame] | 1069 | - faq.html: |
| 1070 | - Added some info on making the binary smaller with the configure |
| 1071 | script. |
Chris Allegretta | 201d9bf | 2001-01-14 03:17:53 +0000 | [diff] [blame] | 1072 | - Added section on keypad bugginess. |
Chris Allegretta | bf69261 | 2001-01-08 16:59:19 +0000 | [diff] [blame] | 1073 | - files.c: |
| 1074 | real_dir_from_tilde() |
| 1075 | - Oops, fix case where buf ="~", silly crash (bug discovered by |
| 1076 | Neil Parks). |
Chris Allegretta | 8eac3b5 | 2001-01-08 21:14:04 +0000 | [diff] [blame] | 1077 | do_browser() |
| 1078 | - Added space and - keys to do page up and down. |
Chris Allegretta | a35ec04 | 2001-01-15 02:26:12 +0000 | [diff] [blame] | 1079 | cwd_tab_completion(), input_tab() |
| 1080 | - Changed bare malloc/calloc calls to nmalloc (found by Rocco). |
Chris Allegretta | 4058709 | 2001-01-16 04:45:38 +0000 | [diff] [blame] | 1081 | - Added memset() to matchBuf to ensure sanity (Rocco, Adam). |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 1082 | - nano.c: |
Chris Allegretta | 1748cd1 | 2001-01-13 17:22:54 +0000 | [diff] [blame] | 1083 | ABCD() |
| 1084 | - New function, figures out what kbinput to return given |
| 1085 | input common to several switch statements, allows us to |
| 1086 | support the default Konsole key settings. |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 1087 | main() |
| 1088 | - Alternate speller option no longer valid if DISABLE_SPELLER is |
| 1089 | active. (Rocco) |
Chris Allegretta | ae4318d | 2001-01-16 04:18:26 +0000 | [diff] [blame] | 1090 | - Removed direct calls to usage() (#else) for -k (cut) or -s (speller) |
| 1091 | options when these have been disabled. (Rocco) |
Chris Allegretta | 3693944 | 2001-01-15 20:26:38 +0000 | [diff] [blame] | 1092 | - Initialized kbinput to get around stupid compiler warning. |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 1093 | nano_small_msg() |
| 1094 | - This function has been removed. All references now call |
| 1095 | nano_disabled_msg. (Rocco) |
| 1096 | version() |
| 1097 | - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE |
| 1098 | variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not |
| 1099 | reported as enabled when Nano is called with -V (--version) |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1100 | command line option. (Rocco) |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 1101 | usage() |
| 1102 | - Alternate speller option no longer valid if DISABLE_SPELLER is |
| 1103 | active. (Rocco) |
Chris Allegretta | e61e830 | 2001-01-14 05:18:27 +0000 | [diff] [blame] | 1104 | window_init(), handle_sigwinch() |
| 1105 | - Added check for not having enough LINES to do anything useful, |
| 1106 | if so die with an error. (Rocco) |
| 1107 | die_too_small() |
| 1108 | - Function to print the window too small error message, avoids |
| 1109 | repeated string defs and globals. |
Robert Siemborski | c2eeb4e | 2001-01-17 03:29:02 +0000 | [diff] [blame] | 1110 | do_justify() |
| 1111 | - Small fix for totsize calculation (Rob) |
| 1112 | |
Chris Allegretta | d9742c6 | 2001-01-12 15:51:53 +0000 | [diff] [blame] | 1113 | - fi.po: |
| 1114 | - Update by Pauli Virtanen. |
Chris Allegretta | 7e08082 | 2001-01-08 02:31:03 +0000 | [diff] [blame] | 1115 | |
Chris Allegretta | 1699144 | 2001-01-07 22:06:11 +0000 | [diff] [blame] | 1116 | nano 0.9.25 - 01/07/2001 |
Chris Allegretta | f4b9601 | 2001-01-03 07:11:47 +0000 | [diff] [blame] | 1117 | General - |
| 1118 | - New file browser code. New functions in files.c:do_browser(), |
| 1119 | helper functions browser_init(), tail(), striponedir(), |
| 1120 | filestat(). New shortcut list browser_list. Some new |
Chris Allegretta | 150469a | 2001-01-05 21:13:14 +0000 | [diff] [blame] | 1121 | strings to translate. Added function do_browse_from(). |
Chris Allegretta | c08f50d | 2001-01-06 18:12:43 +0000 | [diff] [blame] | 1122 | - Keypad code has been changed slightly. Now checks for |
| 1123 | _use_keypad flag in window to see whether or not to turn |
| 1124 | the keypad() back off when finished (taken from aumix). Moved |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1125 | to winio.c where it should probably be anyway. New configure |
| 1126 | check for _use_keypad in window struct. This will have to do |
Chris Allegretta | c08f50d | 2001-01-06 18:12:43 +0000 | [diff] [blame] | 1127 | for now. |
Chris Allegretta | 155d620 | 2001-01-08 01:50:37 +0000 | [diff] [blame] | 1128 | - Moved keypad() calls for PDCURSES from main() to window_init() |
| 1129 | so the keypad continues to work after a Meta-X, for example. |
| 1130 | Fixed bug #51. |
Jordi Mallach | 56e6d72 | 2000-12-19 22:59:55 +0000 | [diff] [blame] | 1131 | - faq.html: |
| 1132 | - Fix typos and small mistakes (Jordi). |
Chris Allegretta | ee289d7 | 2000-12-27 16:12:47 +0000 | [diff] [blame] | 1133 | - files.c: |
Rocco Corsi | 8b6cccc | 2001-01-02 06:21:07 +0000 | [diff] [blame] | 1134 | username_tab_completion() |
| 1135 | - Added the (char *) sizeof when allocating memory for the filename |
| 1136 | array (Rocco). |
Chris Allegretta | ee289d7 | 2000-12-27 16:12:47 +0000 | [diff] [blame] | 1137 | cwd_tab_completion() |
| 1138 | - removed skipping . and .. when tabulating matches. |
Rocco Corsi | 8b6cccc | 2001-01-02 06:21:07 +0000 | [diff] [blame] | 1139 | - Added the (char *) sizeof when allocating memory for the filename |
| 1140 | array (Rocco). |
Chris Allegretta | e1ebaf3 | 2001-01-07 05:50:36 +0000 | [diff] [blame] | 1141 | do_writeout() |
| 1142 | - Now takes an argument so the string typed in can be retained |
| 1143 | when calling the browser. |
Chris Allegretta | 816a165 | 2001-01-06 17:43:56 +0000 | [diff] [blame] | 1144 | do_browser() |
| 1145 | - Don't decrement longest by the length of path. Fixes crashes |
| 1146 | on entering various dirs (Rocco). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1147 | - Don't ungetch() the exit key, unneeded, fixes inserting a file |
Chris Allegretta | 816a165 | 2001-01-06 17:43:56 +0000 | [diff] [blame] | 1148 | causes exit code. |
Chris Allegretta | 155d620 | 2001-01-08 01:50:37 +0000 | [diff] [blame] | 1149 | - move.c: |
| 1150 | page_down() |
| 1151 | - Don't do an edit_update when there is only one page of text |
| 1152 | (fileage == edittop && filebot == editbot). Fixes Bug #50. |
Chris Allegretta | d55655f | 2000-12-27 03:36:47 +0000 | [diff] [blame] | 1153 | - nano.c: |
| 1154 | main() |
| 1155 | - Reorder the getopt options to be more or less alphabetical |
| 1156 | (suggested by Sven Guckes). |
Chris Allegretta | 66795ec | 2000-12-27 04:47:28 +0000 | [diff] [blame] | 1157 | - winio.c: |
| 1158 | do_cursorpos() |
| 1159 | - Optimizations and cleanups by Rocco Corsi. |
Chris Allegretta | 827b15f | 2001-01-03 02:09:04 +0000 | [diff] [blame] | 1160 | do_credits() |
| 1161 | - Spell Erik Andersen's name right. |
Chris Allegretta | f4b9601 | 2001-01-03 07:11:47 +0000 | [diff] [blame] | 1162 | titlebar() |
| 1163 | - Now takes an arg, needed for browser function. |
Chris Allegretta | 7044489 | 2001-01-07 23:02:02 +0000 | [diff] [blame] | 1164 | do_help() |
| 1165 | - Changed way of temporarily bringing up shortcuts at the |
| 1166 | bottom in the help screen (actually works). |
Chris Allegretta | 150469a | 2001-01-05 21:13:14 +0000 | [diff] [blame] | 1167 | - utils.c: |
| 1168 | mallocstrcpy() |
| 1169 | - Takes char pointers now instead of void (makes debugging a |
| 1170 | helluva lot easier) |
Chris Allegretta | e1ebaf3 | 2001-01-07 05:50:36 +0000 | [diff] [blame] | 1171 | - Duh, don't do anything if src == dest! |
Jordi Mallach | 75ef81b | 2001-01-04 16:48:59 +0000 | [diff] [blame] | 1172 | - es.po: |
| 1173 | - Updates for file browser (Jordi). |
Chris Allegretta | 827b15f | 2001-01-03 02:09:04 +0000 | [diff] [blame] | 1174 | |
Chris Allegretta | 66149e7 | 2000-12-19 02:51:06 +0000 | [diff] [blame] | 1175 | nano 0.9.24 - 12/18/2000 |
Chris Allegretta | 3bc8c72 | 2000-12-10 17:03:25 +0000 | [diff] [blame] | 1176 | General |
| 1177 | - Added --disable-help option, affects acconfig.h, configure(.in), |
Chris Allegretta | b7d00ef | 2000-12-18 05:36:51 +0000 | [diff] [blame] | 1178 | winio.c:do_help, nano.c:help_init,help_text_init,version. |
Chris Allegretta | 1a6e904 | 2000-12-14 13:56:28 +0000 | [diff] [blame] | 1179 | - Changed filename to no longer use PATH_MAX, so it can work on the |
| 1180 | HURD. Changes in files.c:write_file(), new function |
| 1181 | nano.c:clear_filename(), many changed in main(), a few other |
| 1182 | places. Please test this! |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 1183 | - Added -b, -e, and -f flags, which we ignore as nano provides |
| 1184 | their functionality already. |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 1185 | - cut.c: |
| 1186 | do_uncut_text() |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 1187 | - Fix renumbering bug when uncutting marked text at filebot. |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 1188 | - Fix screen not being displayed when we are uncutting marked |
| 1189 | text at editbot (Bug discovered by Ken Tyler). |
Chris Allegretta | e51c95f | 2000-12-10 05:54:27 +0000 | [diff] [blame] | 1190 | - Fix magic line not getting created when (you guessed it) |
| 1191 | uncutting marked text at filebot (Ryan Krebs). |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 1192 | - files.c: |
Chris Allegretta | 3a7c0be | 2000-12-18 01:09:07 +0000 | [diff] [blame] | 1193 | read_file() |
| 1194 | - If we encounter an error and insert is not set, run new_file(). |
| 1195 | (bug discovered by Ben Roberts). |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 1196 | write_file() |
| 1197 | - Change open call flags, basically copy joe's way of doing it so |
| 1198 | a more recent version will actually be included in (un)stable. |
Chris Allegretta | 1cd5066 | 2000-12-11 02:47:12 +0000 | [diff] [blame] | 1199 | - Remove useless fstat call. |
Chris Allegretta | 7960dcf | 2000-12-13 15:01:29 +0000 | [diff] [blame] | 1200 | open_file() |
| 1201 | - 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] | 1202 | - nano.c: |
| 1203 | renumber() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1204 | - Don't stupidly assign the value of prev->lineno if prev == NULL! |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 1205 | main() |
| 1206 | - Added code to check for Alt-Alt (27-27) keystrokes and set the |
| 1207 | next keystroke as a control sequence. New variable |
| 1208 | modify_control_key. Removed #ifdef _POSIX_VDISABLE check |
| 1209 | around Control-S,Q,Z handlers because we need it now for |
| 1210 | the Alt-Alt-x code. |
Chris Allegretta | 7492cec | 2000-12-18 04:55:21 +0000 | [diff] [blame] | 1211 | - Added --view option to getopt_long()call . Bug discovered |
| 1212 | by Rocco Corsi. |
Chris Allegretta | 220ba69 | 2000-12-18 03:40:00 +0000 | [diff] [blame] | 1213 | help_init() |
| 1214 | - Fix off by one error that was making ^G help in normal mode and |
Chris Allegretta | 92325e7 | 2000-12-18 03:44:22 +0000 | [diff] [blame] | 1215 | ^_ in pico mode not be displayed in the help (bug discovered by |
| 1216 | Rocco Corsi). |
Chris Allegretta | affeda8 | 2000-12-18 04:03:48 +0000 | [diff] [blame] | 1217 | do_toggle() |
| 1218 | - Added fix_editbot() call to fix improper redisplay of edit |
| 1219 | window when using nohelp toggle (bug discovered by Rocco Corsi). |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 1220 | - nano.1, nano.1.html: |
| 1221 | - Updated man page for -b, -e, -f and expanded explanation for -p. |
Chris Allegretta | d1627cf | 2000-12-18 05:03:16 +0000 | [diff] [blame] | 1222 | - winio.c |
| 1223 | do_help() |
| 1224 | - Force keypad on so F-keys and PageUp/Down will work properly. |
| 1225 | Added check for NANO_EXIT_FKEY to loop. |
Chris Allegretta | e51c95f | 2000-12-10 05:54:27 +0000 | [diff] [blame] | 1226 | - utils.c: |
| 1227 | new_magicline() |
Chris Allegretta | 321590a | 2000-12-10 06:03:40 +0000 | [diff] [blame] | 1228 | - Increment totsize!! We decrement it when we've read a file, |
| 1229 | everywhere else it should automatically be incremented |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 1230 | |
Chris Allegretta | b29550e | 2000-12-09 03:34:12 +0000 | [diff] [blame] | 1231 | nano 0.9.23 - 12/08/2000 |
Chris Allegretta | 7b36c52 | 2000-12-06 01:08:10 +0000 | [diff] [blame] | 1232 | General |
| 1233 | - Changed --disable-spell to --disable speller. The term is |
| 1234 | "speller" for -s, so it should be --disable-speller. |
Chris Allegretta | 5982849 | 2000-12-04 03:31:39 +0000 | [diff] [blame] | 1235 | - files.c: |
| 1236 | write_file() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1237 | - Added tmp check to TMP_OPT section (how appropriate). |
Chris Allegretta | 07f9ee0 | 2000-12-04 05:15:39 +0000 | [diff] [blame] | 1238 | - Added new consistency checking code from securityfocus |
Chris Allegretta | fb2226a | 2000-12-04 05:25:47 +0000 | [diff] [blame] | 1239 | article by Oliver Friedrichs, and use O_EXCL if tmp == 1. |
Chris Allegretta | 928a7f5 | 2000-12-04 05:31:34 +0000 | [diff] [blame] | 1240 | - We now run check on result of lstat(), not stat(), to be |
| 1241 | safer. New variable anyexists, we use still use realexists |
| 1242 | later in the program. |
Chris Allegretta | 71e4640 | 2000-12-06 00:40:26 +0000 | [diff] [blame] | 1243 | - OOPS, line up link/unlink/rename check if conditional with |
| 1244 | top if conditional. Option -l has been broken for 9 versions, |
| 1245 | no one noticed?! |
Chris Allegretta | 1bd0ce2 | 2000-12-06 05:56:08 +0000 | [diff] [blame] | 1246 | - Added saving perms at end of link so we can apply them to the |
| 1247 | new file if --nofollow is used. |
Chris Allegretta | 908805a | 2000-12-04 04:42:56 +0000 | [diff] [blame] | 1248 | - winio.c: |
| 1249 | edit_add() |
| 1250 | - Off by one display error (fix by Rocco Corsi). |
Chris Allegretta | fb62f73 | 2000-12-05 11:36:41 +0000 | [diff] [blame] | 1251 | do_replace_highlight() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1252 | - New code to handle being past COLS (Rocco Corsi). |
Chris Allegretta | fb62f73 | 2000-12-05 11:36:41 +0000 | [diff] [blame] | 1253 | - Moved from search.c, as it's definitely a winio function now =) |
| 1254 | update_line() |
| 1255 | - More '$' display fixes (Rocco Corsi). |
Chris Allegretta | 5982849 | 2000-12-04 03:31:39 +0000 | [diff] [blame] | 1256 | |
Chris Allegretta | fedd724 | 2000-12-03 03:15:38 +0000 | [diff] [blame] | 1257 | nano 0.9.22 - 12/02/2000 |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 1258 | - General |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 1259 | - Username tab completion code, and cleaned up existing tabcomp |
| 1260 | code. New functions real_dir_from_tide(), append_slash_if_dir(), |
| 1261 | username_tab_completion is more than a stub now =-). |
Chris Allegretta | 7262358 | 2000-11-29 23:43:28 +0000 | [diff] [blame] | 1262 | - Ignore key sequence 543 & 545, right control and alt keys in |
| 1263 | windows. Affects main() and winio.c:nanogetstr(). |
Chris Allegretta | 56b24b5 | 2000-11-29 23:57:20 +0000 | [diff] [blame] | 1264 | - Took out help from spell_list and changed SPELL_LIST_LEN to 1. |
| 1265 | Is using a spell checker THAT difficult? =-) |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 1266 | - New function nano_disabled_msg(), to alert that certain |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1267 | functions have been disabled, similar to nano_tiny feature. |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 1268 | - New configure options: |
| 1269 | - Added configure argument --disable-tabcomp. Affects |
| 1270 | bottom of files.c and write_file, utils.c:check_wildcard_match() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1271 | and winio.c:nanogetstr(). |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 1272 | - New options --enable-extra. New code in nano.c:version() to |
| 1273 | print out various options from ./configure, function do_credits(). |
| 1274 | - Added --disable-spell option for those who want to just disable |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1275 | the spell check feature. Affects the spelling functions |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 1276 | do_spell, do_int_speller and do_alt_speller. |
| 1277 | - Added --disable-justify to get rid of the justify function. |
| 1278 | Affects do_justify() (not surprisingly). |
Chris Allegretta | 650e8a4 | 2000-11-24 14:15:17 +0000 | [diff] [blame] | 1279 | - files.c: |
| 1280 | write_file() |
| 1281 | - Unsetting modified on temp files bug fixed (Rocco Corsi). |
Chris Allegretta | 581bc60 | 2000-12-03 03:01:12 +0000 | [diff] [blame] | 1282 | - Okay, if tmp == 1 and the file exists, we abort. |
Chris Allegretta | 25f4e58 | 2000-11-25 05:03:20 +0000 | [diff] [blame] | 1283 | do_insertfile() |
Chris Allegretta | 09a8084 | 2000-11-30 02:31:13 +0000 | [diff] [blame] | 1284 | - Added call to real_name_from tilde, oops. Added check for |
| 1285 | DISABLE_TABCOMP. |
Chris Allegretta | 24946bd | 2000-11-26 21:34:47 +0000 | [diff] [blame] | 1286 | read_file() |
| 1287 | - Added check for fileptr == NULL. |
Chris Allegretta | 0779835 | 2000-11-27 22:58:23 +0000 | [diff] [blame] | 1288 | - global.c: |
| 1289 | shortcut_init() |
| 1290 | - Now takes an argument as to whether to display the unjustify |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1291 | shortcut or the normal uncut text one. Needed to accommodate |
| 1292 | the kludgey unjustify code. |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 1293 | - nano.1, nano.1.html: |
| 1294 | - Updated date on pages because of -p changes. |
Jordi Mallach | d7ad75a | 2000-12-03 02:46:02 +0000 | [diff] [blame] | 1295 | - Added "NOTES" section, where I explain what nano.save & friends |
| 1296 | are. |
| 1297 | - Added a copyright notice for the manpage, under the GPL. |
| 1298 | - Other minor changes. |
Chris Allegretta | 9149e61 | 2000-11-27 00:23:41 +0000 | [diff] [blame] | 1299 | - nano.c: |
| 1300 | do_justify() |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 1301 | - Wrote unjustify code. Borrows cutbuffer and stores the unjustified |
| 1302 | text there, then grabs the next keystroke and, if the unjustify |
| 1303 | key, gets rid of the justified text and calls do_uncut_text. |
| 1304 | Added macro NANO_UNJUSTIFY_KEY. |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 1305 | do_int_spell* |
| 1306 | - Various fixes (Rocco Corsi). |
| 1307 | - Changed abort of program to aborting based on value of "edit a |
| 1308 | replacement" question, and not caring about the replace loop |
| 1309 | return value. That way the user can get out of the replace loop |
| 1310 | and continue spell checking (very important to me anyway). |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 1311 | version() |
| 1312 | - Took out huge check for the various --disabled macros, |
| 1313 | eventually there will be too many to reasonably check for. |
Chris Allegretta | 4eb7aa0 | 2000-12-01 18:57:11 +0000 | [diff] [blame] | 1314 | nano_small_msg(), nano_disabled_msg() |
| 1315 | - Added checks for disabled functions to see whether or not to |
| 1316 | declare them. |
Chris Allegretta | 9e2934f | 2000-12-01 23:49:48 +0000 | [diff] [blame] | 1317 | do_next_word() |
| 1318 | - Update the previous line as well as the current one in case we |
| 1319 | have moved beyond COLS or back from COLS, patch submitted |
| 1320 | by Ryan Krebs. |
Chris Allegretta | e7a5893 | 2000-12-02 02:36:22 +0000 | [diff] [blame] | 1321 | die() |
| 1322 | - Now creates .save file using variable-length strings. Also |
| 1323 | calls write_file with tmp == 1, which happens to do exactly what |
Chris Allegretta | 581bc60 | 2000-12-03 03:01:12 +0000 | [diff] [blame] | 1324 | we want (abort on save file exists and use mode 0600). |
Chris Allegretta | e7a5893 | 2000-12-02 02:36:22 +0000 | [diff] [blame] | 1325 | handle_sighup() |
| 1326 | - Now calls die instead of writing on its own and exiting normally. |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 1327 | - search.c: |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 1328 | do_replace_highlight() |
| 1329 | - New function, displays the currently selected word as highlighted |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 1330 | in the spell check. Called from do_replace_loop (Rocco Corsi). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 1331 | - Added calls to curs_set(0) and (1) to disable the cursor when |
| 1332 | highlighting, looks much better. |
Jordi Mallach | d819a4c | 2000-11-25 04:50:25 +0000 | [diff] [blame] | 1333 | - es.po: |
| 1334 | - Traditional Spanish strings updates. |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 1335 | |
Chris Allegretta | ca7a21d | 2000-11-24 01:35:40 +0000 | [diff] [blame] | 1336 | nano 0.9.21 - 11/23/2000 |
Chris Allegretta | f26bca7 | 2000-11-21 03:04:45 +0000 | [diff] [blame] | 1337 | - AUTHORS |
| 1338 | - Added Rocco Corsi. |
Chris Allegretta | 31c7666 | 2000-11-21 06:20:20 +0000 | [diff] [blame] | 1339 | - nano.c: |
| 1340 | main() |
| 1341 | - Changed check for argc == 1 to argv[optind] == NULL to decide |
| 1342 | whether or not to display "New File" in the statusbar. |
Chris Allegretta | aaabe1f | 2000-11-19 18:20:07 +0000 | [diff] [blame] | 1343 | - search.c: |
| 1344 | findnextstr() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1345 | - Fix current_x increment bug by using another variable (Rocco Corsi). |
Chris Allegretta | ef601bb | 2000-11-19 19:15:03 +0000 | [diff] [blame] | 1346 | search_init() |
| 1347 | - Silly typo in our "one simple call" of statusq. Stopped |
| 1348 | previous search string from being displayed. |
Chris Allegretta | c793c43 | 2000-11-21 12:52:55 +0000 | [diff] [blame] | 1349 | do_replace() |
| 1350 | - Copy back the previous value of last_replace into answer if |
| 1351 | using PICO_MODE and answer == "" |
Chris Allegretta | 6c5781b | 2000-11-23 01:19:58 +0000 | [diff] [blame] | 1352 | - winio.c: |
| 1353 | do_up() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1354 | - Deleted first update_line() call, screws up display when marker is |
| 1355 | set. |
Chris Allegretta | d466ab7 | 2000-11-19 20:36:41 +0000 | [diff] [blame] | 1356 | - nano.1, nano.1.html |
| 1357 | - Updated man page for new -p definition. |
Chris Allegretta | ac0e63a | 2000-11-19 02:25:43 +0000 | [diff] [blame] | 1358 | |
Chris Allegretta | 6da149a | 2000-11-19 02:23:03 +0000 | [diff] [blame] | 1359 | nano 0.9.20 - 11/18/2000 |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 1360 | - General |
| 1361 | - Ran source through indent -kr again. Make everything pretty. |
| 1362 | - Changed behavior of "search" and "replace" prompts to make all |
| 1363 | previous values editable. This change was made so that you can |
| 1364 | replace with the null string without needing a special key for it. |
| 1365 | changed code in search_init(), do_replace(), nanogetstr (see |
| 1366 | below). |
| 1367 | - Added some missing gettext calls here and there (Jordi). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1368 | - Revamped nanogetstr() and calls to it to use variable length |
| 1369 | strings. |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 1370 | MANY changes in nanogetstr(), many chances in search.c, new |
| 1371 | function mallocstrcpy which is sure to be a programmatic |
| 1372 | nightmare, changed last_search, last_replace, answer to |
| 1373 | pointers. New function not_found_msg in search.c for displaying |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1374 | truncated strings in statusbar when the string is not found |
Chris Allegretta | cbb0f8b | 2000-11-15 03:50:02 +0000 | [diff] [blame] | 1375 | (-pedantic fixes by Rocco Corsi). We disable this feature when |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 1376 | using PICO_MODE (-p). |
Chris Allegretta | 27eb13f | 2000-11-05 16:52:21 +0000 | [diff] [blame] | 1377 | - New spelling code by Rocco Corsi. New functions |
| 1378 | do_int_speller, do_alt_speller, changes to do_spell in nano.c, |
| 1379 | New functions search_init_globals and do_replace_loop, changes |
| 1380 | to search_init(), do_replace, findnextstr, moved last_search and |
| 1381 | last_replace back to nano.c (*shrug*). |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 1382 | - New tab completion code. Used check_wildcard_match, input_tab, |
| 1383 | cwd_tab_completion, username_tab_completion from busybox, |
Chris Allegretta | 7da4e9f | 2000-11-06 02:57:22 +0000 | [diff] [blame] | 1384 | hacked them a lot, changes to nanogetstr(). nanogetstr() and |
| 1385 | statusq() now take an arg for whether or not to allow tab |
| 1386 | completion. |
Chris Allegretta | 5bf51d3 | 2000-11-16 06:01:10 +0000 | [diff] [blame] | 1387 | - Fixed value being input in statusbar during a search or replace |
| 1388 | and CASE_SENSITIVE or the other search is called and the |
| 1389 | string being typed in is blown away. Reported by Ken Tyler. |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 1390 | - Changed PICO_MSGS flag to PICO_MODE, changed help strings |
| 1391 | accordingly. |
Chris Allegretta | 92d2bab | 2000-11-02 14:53:46 +0000 | [diff] [blame] | 1392 | - files.c: |
| 1393 | do_writeout() |
| 1394 | - Change strcpy to answer to mallocstrcpy. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 1395 | - global.c |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 1396 | - New global replace_list_2, for 2nd half of the replace dialog |
| 1397 | ("Replace with:"), has fewer options than first half because |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1398 | they were inappropriate. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 1399 | toggle_init() |
| 1400 | - Added #ifdef around toggle_regex_msg to get rid of compiler |
| 1401 | warning. |
Chris Allegretta | 1cc0b7f | 2000-11-03 01:29:04 +0000 | [diff] [blame] | 1402 | |
| 1403 | - nano.c: |
| 1404 | keypad_on() |
| 1405 | - New function, toggles turning the keypad on and off in edit and |
| 1406 | bottomwin(). Added call to this in finish(), fixes bug #45. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 1407 | - search.c |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1408 | findnextstr() |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 1409 | - New arg for begin_x variable, basically a rewrite that |
| 1410 | makes a little more sense and isn't quite as messy (Rocco Corsi). |
| 1411 | - Update the line we're checking if not the whole screen, because |
| 1412 | it's quite possible the search team could exist somewhere way |
| 1413 | to the right on the same line, for example. |
| 1414 | replace_abort() |
| 1415 | - Add reset of placewewant, stops cursor from jumping when moving |
| 1416 | cursor after a replace. |
Chris Allegretta | 810632d | 2000-10-27 04:36:01 +0000 | [diff] [blame] | 1417 | do_replace() |
| 1418 | - Added code for Gotoline key after entering the search term. |
| 1419 | Fixes bug #46. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1420 | - Removed redundant code involving processing replacement string. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 1421 | Converted if statements to switch statements. |
| 1422 | - Optimizations by Rocco Corsi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 1423 | - Removed code for deleted shortcuts from in replace_list_2. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 1424 | do_search() |
| 1425 | - Converted if statements to one switch statement. |
Chris Allegretta | f9b6c9b | 2000-10-18 19:35:59 +0000 | [diff] [blame] | 1426 | - winio.c |
| 1427 | nanogetstr() |
| 1428 | - Added check for 343 in while loop to get rid of getting "locked" |
| 1429 | into statusbar" bug in odd $TERMs like iris-ansi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 1430 | - Changed check to return -2 on "enter" from answer == "" |
| 1431 | to answer == def. |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 1432 | - Fixed fallthrough code because there was no break. Make much |
| 1433 | more sense now. |
Chris Allegretta | 5b1faac | 2000-11-16 19:55:30 +0000 | [diff] [blame] | 1434 | - Added check for ASCII 54[124] when using PDCURSES, ignore them |
| 1435 | if noticed. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 1436 | nanoget_repaint() |
| 1437 | - New function, removes about 30 lines of duplicate code in |
| 1438 | nanogetstr(). |
Chris Allegretta | 90594e2 | 2000-11-02 15:53:40 +0000 | [diff] [blame] | 1439 | - Black magic code to make $ appear in prompt if we're past |
| 1440 | COLS. |
Chris Allegretta | 2c97522 | 2000-11-15 01:25:42 +0000 | [diff] [blame] | 1441 | blank_edit() |
| 1442 | - Removed wrefresh() call, much less choppy now. If there's a need |
| 1443 | for a wrefresh after a specific call, let me know. |
Jordi Mallach | 0ae0dcd | 2000-10-28 12:38:02 +0000 | [diff] [blame] | 1444 | - es.po: |
Jordi Mallach | d25385b | 2000-11-18 03:31:21 +0000 | [diff] [blame] | 1445 | - Updated translation for 0.9.20 (Jordi). |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 1446 | |
Chris Allegretta | 07e97d6 | 2000-10-03 01:52:50 +0000 | [diff] [blame] | 1447 | nano 0.9.19 - 10/02/2000 |
Chris Allegretta | ad1dacc | 2000-09-21 04:25:45 +0000 | [diff] [blame] | 1448 | - General |
| 1449 | - Added PDCurses support under cygwin, which allows building |
| 1450 | a nice stand-alone nano.exe for those poor Windows users. |
| 1451 | Extra check in configure.in for initscr() in -lcurses (as |
| 1452 | PDcurses has no tgetent), some #ifdef PDCURSES statements |
| 1453 | in main(). |
Chris Allegretta | 66989d6 | 2000-09-27 03:16:11 +0000 | [diff] [blame] | 1454 | - Changed web site and email to new nano-editor.org domain. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 1455 | - nano.c |
Chris Allegretta | 9e7efa3 | 2000-10-02 03:42:55 +0000 | [diff] [blame] | 1456 | - Added (int) casts to remove compile warnings with -Wall. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 1457 | main() |
| 1458 | - Added check for _POSIX_VDISABLE around term variable definition. |
Chris Allegretta | df3afdc | 2000-10-01 17:50:29 +0000 | [diff] [blame] | 1459 | - search.c |
| 1460 | - Added initializations for last_search and last_replace (Rocco Corsi) |
| 1461 | |
Chris Allegretta | 629edad | 2000-09-19 00:27:19 +0000 | [diff] [blame] | 1462 | nano 0.9.18 - 09/18/2000 |
Chris Allegretta | 805c26d | 2000-09-06 13:39:17 +0000 | [diff] [blame] | 1463 | - General |
| 1464 | - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, |
| 1465 | added check for regex.h in configure.in. |
Chris Allegretta | 90bd712 | 2000-09-13 18:12:05 +0000 | [diff] [blame] | 1466 | - configure.in: |
| 1467 | - Added default case for cross-compiling to get rid of annoying |
| 1468 | AC_TRY_RUN warning. |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 1469 | - cut.c: |
| 1470 | do_cut_text() |
| 1471 | - 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] | 1472 | set (fixes bug #42). |
Chris Allegretta | f45c18d | 2000-09-16 05:25:06 +0000 | [diff] [blame] | 1473 | - files.c: |
| 1474 | open_file() |
| 1475 | - Fix for bug #44 (Rocco Corsi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 1476 | - global.c: |
| 1477 | shortcut_init() |
| 1478 | - Added in FKEYs that for some reason were left out. *boggle* |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 1479 | - nano.c: |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 1480 | main() |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 1481 | - Added check for _POSIX_VDISABLE and use raw mode if not |
| 1482 | available, allows nano to work with cygwin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 1483 | - Added gettext calls to enable/disable strings (Jordi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 1484 | - Revamped a great deal of the F-key and keypad key handling, |
| 1485 | because we not longer use keypad() (see below). |
| 1486 | - Removed keypad() call because nano was not working with the |
| 1487 | keypad in many terms, which is very bad. |
Chris Allegretta | 9c35eb0 | 2000-09-13 14:24:52 +0000 | [diff] [blame] | 1488 | - Made insert key call do_insertfile(). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 1489 | do_toggle() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1490 | - Rewrote function to allow NOHELP toggle to work on systems |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 1491 | without a working resizewin(). New function window_init(). |
Chris Allegretta | 0b88ce0 | 2000-09-15 15:46:32 +0000 | [diff] [blame] | 1492 | mouse_init() |
| 1493 | - Add keypad only if mouse support is on, otherwise mouse doesn't |
| 1494 | work. I guess you have to choose between having the mouse and |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1495 | 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] | 1496 | - winio.c: |
| 1497 | total_refresh() |
| 1498 | - Added titlebar() call. |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 1499 | onekey() |
| 1500 | - Off by one error fix fix ;-) (Rocco Corsi). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 1501 | |
Chris Allegretta | b9bfc9b | 2000-09-10 05:06:09 +0000 | [diff] [blame] | 1502 | - search.c: |
| 1503 | findnextstr() |
| 1504 | - Reset starting at current for search instead of begin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 1505 | - es.po: |
| 1506 | - Translated new strings and minor updates (Jordi). |
Chris Allegretta | 834a69d | 2000-09-18 17:11:33 +0000 | [diff] [blame] | 1507 | - de.po |
| 1508 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 1509 | |
Chris Allegretta | 423cbfd | 2000-09-04 16:21:29 +0000 | [diff] [blame] | 1510 | nano-0.9.17 - 09/04/2000 |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 1511 | - General |
| 1512 | - New shortcuts to toggle certain options that are normally only |
| 1513 | flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called |
| 1514 | toggles in nano.h, toggle_init(), toggle_init_one() in global.c |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 1515 | called from shortcut_init(), and do_toggle in nano.c. Also |
| 1516 | moved the signal code into a separate function in nano.c called |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 1517 | signal_init(). Moved "struct sigaction act"into a static in |
| 1518 | nano.c. |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 1519 | - Changed from Alt-key symbol (@) which is completely nonstandard |
| 1520 | to the *nix "Meta" symbol (M-). Changed help_init to show |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1521 | 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] | 1522 | Meta. Moved the toggle Meta keystrokes to the first column |
| 1523 | instead of the third as they are the primary keystrokes for the |
Chris Allegretta | 9541f2a | 2000-09-02 07:31:32 +0000 | [diff] [blame] | 1524 | functions. Thanks Mini editor team :-> |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 1525 | - Changed last_search and last_replace vars to statically |
| 1526 | allocated (hence nulled) and moved to search.c (Matt Kraai). |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 1527 | - global.c: |
| 1528 | toggle_init() |
| 1529 | - Changed "No auto wrap" and "No help mode" to "Auto wrap" and |
| 1530 | "Help mode". See the change to do_toggle() below. |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 1531 | - nano.c: |
| 1532 | do_mouse() |
| 1533 | - Patch for handling lines w/tabs and mouse better (Ben Roberts). |
Chris Allegretta | 340d6e5 | 2000-08-29 03:55:29 +0000 | [diff] [blame] | 1534 | do_wrap() |
| 1535 | - Made wrapping code less ambitious. |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 1536 | do_toggle() |
| 1537 | - Added checks for no help and no wrap mode, and print opposite |
| 1538 | enable/disable message. |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 1539 | do_suspend(), do_cont(): |
| 1540 | - New functions, handle suspend signal in a Pico-like manner and |
| 1541 | work with Meta-Z. |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 1542 | - winio.c: |
| 1543 | total_refresh() |
| 1544 | - Added edit_refresh() call to actually update the screen if messy. |
| 1545 | edit_refresh_clearok() |
| 1546 | - New function, does a total update for edit refresh, needed to fix |
| 1547 | lack of reversed text on searching with MARK_ISSET. |
Chris Allegretta | dabc3cb | 2000-08-25 01:44:12 +0000 | [diff] [blame] | 1548 | onekey() |
| 1549 | - Off by one error fix (Rocco Corsi). |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 1550 | |
Chris Allegretta | 6306a11 | 2000-09-02 07:55:41 +0000 | [diff] [blame] | 1551 | update_line() |
| 1552 | - Added check for binary data >= 1 and <= 26, and use ^+letter |
| 1553 | to display it. Should fix editing text files with binary |
| 1554 | data in them. Placing of the cursor seems to be a bit screwed |
| 1555 | though... |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 1556 | - search.c: |
| 1557 | search_abort() |
| 1558 | - Now calls edit_refresh_clearok when MARK_ISSET to handle screen |
| 1559 | ugliness bug (reported by Ken Tyler). |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 1560 | findnextstr(): |
| 1561 | - Added reset for placewewant (Ben Roberts). |
Chris Allegretta | 9babaf3 | 2000-08-30 13:49:33 +0000 | [diff] [blame] | 1562 | - Fixed check for string that only occurs on the same line failing |
| 1563 | (discovered by Ken Tyler). |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 1564 | |
Chris Allegretta | ba96f7a | 2000-08-09 21:38:28 +0000 | [diff] [blame] | 1565 | nano-0.9.16 - 08/09/2000 |
Chris Allegretta | 7dc14e8 | 2000-08-05 16:03:19 +0000 | [diff] [blame] | 1566 | - cut.c: |
| 1567 | do_cut_text() |
| 1568 | - Fixed getting locked into cutbuffer on cutting first line of file. |
Chris Allegretta | c86f714 | 2000-08-07 14:39:32 +0000 | [diff] [blame] | 1569 | - Added check_statblank(). |
| 1570 | - Check for fileptr == filebot, if so return, we shouldn't bother |
| 1571 | cutting the magic line. |
| 1572 | do_uncut_text() |
| 1573 | - Added check_statblank(). |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 1574 | - nano.c: |
| 1575 | main() |
| 1576 | - Changed tabsize long arg to actually accept an argument *sigh*. |
Chris Allegretta | 81b1eea | 2000-08-05 16:09:07 +0000 | [diff] [blame] | 1577 | - po/Makefile.in.in: |
| 1578 | - Patch to handle $DESTDIR (orig by Dan Harnett contributed by |
| 1579 | Christian Weisgerber) |
Chris Allegretta | b4dc9e0 | 2000-08-05 22:49:30 +0000 | [diff] [blame] | 1580 | - configure.in: |
Chris Allegretta | a2efc36 | 2000-08-09 03:26:33 +0000 | [diff] [blame] | 1581 | - New (and severally revised =) slang test code (Albert Chin-A-Young) |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 1582 | |
Chris Allegretta | 0bf4e14 | 2000-08-04 02:42:04 +0000 | [diff] [blame] | 1583 | nano-0.9.15 - 08/03/2000 |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 1584 | - Changed edit_update call to take arguments TOP, CENTER or BOTTOM. |
| 1585 | Affects many many functions. Removed functions edit_update_top and |
| 1586 | edit_update_bot. |
Chris Allegretta | 6d690a3 | 2000-08-03 22:51:21 +0000 | [diff] [blame] | 1587 | - Added global variable tabsize, we no longer screw with the curses |
| 1588 | library in order to implement -T (suggested by Christian Weisgerber). |
Chris Allegretta | 7a6f0d9 | 2000-07-31 13:00:24 +0000 | [diff] [blame] | 1589 | - configure.in: |
| 1590 | - Finally fixed check for slang to report "no" if not called |
| 1591 | with --with-slang or --without-slang |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 1592 | - nano.c: |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 1593 | splice_node() |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 1594 | - New function, abstracts linking in nodes. Fixes bug #36. |
Chris Allegretta | 6925bbd | 2000-07-28 01:41:29 +0000 | [diff] [blame] | 1595 | null_at() |
| 1596 | - New function, nulls a string at a given index and realigns it. |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 1597 | delete_buffer() |
| 1598 | - Removed, same as free_filestruct(). |
Chris Allegretta | da721be | 2000-07-31 01:26:42 +0000 | [diff] [blame] | 1599 | do_backspace() |
| 1600 | - Now calls page_up_center instead of page_up (as it should?) |
| 1601 | do_enter() |
| 1602 | - Fixed typo (?) in check for inptr->next. Caused lots of |
| 1603 | grief for editing lines at filebot. |
Chris Allegretta | 99bf73f | 2000-08-04 00:22:08 +0000 | [diff] [blame] | 1604 | main() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1605 | - Removed now useless usertabsize variable (Christian Weisgerber). |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 1606 | - search.c: |
| 1607 | replace_abort() |
| 1608 | - redundant, now just calls search abort until it does something |
| 1609 | different. |
Chris Allegretta | 95b0b52 | 2000-07-28 02:58:06 +0000 | [diff] [blame] | 1610 | - winio.c: |
| 1611 | edit_refresh() |
| 1612 | - Added check for current line "running" off the screen. |
| 1613 | Hopefully this will not cause any recursive lockups. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 1614 | (Who am I kidding, of course it will!) |
Chris Allegretta | ed02216 | 2000-08-03 16:54:11 +0000 | [diff] [blame] | 1615 | - Added check to stop infinite loop calling edit_update. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 1616 | edit_update() |
| 1617 | - Rewritten, hopefully this will remove a lot of the |
| 1618 | scrolling the cursor back and forth needlessly. |
Chris Allegretta | 1a47139 | 2000-07-28 14:08:01 +0000 | [diff] [blame] | 1619 | - move.c: |
| 1620 | page_down() |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 1621 | - do an edit_update() at last case. Made function more like |
| 1622 | Pico's version, only move down to two lines before editbot. |
| 1623 | page_up() |
| 1624 | - Made function more like Pico's version, only move down to two |
| 1625 | lines after edittop. |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 1626 | |
Chris Allegretta | a1a55c7 | 2000-07-28 00:36:03 +0000 | [diff] [blame] | 1627 | nano-0.9.14 - 07/27/2000 |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 1628 | - nano.h: |
| 1629 | - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32. |
| 1630 | - cut.c: |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 1631 | do_cut_text() |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 1632 | - 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] | 1633 | - Simplified check for freeing cutbuffer. Added checks for doing |
| 1634 | multiple cuts with -k, now sets marked_cut to 2 for later |
| 1635 | processing by do_uncut_text(). |
| 1636 | do_uncut_text() |
| 1637 | - Added handler for uncutting with -k cuts. |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 1638 | - files.c: |
| 1639 | write_file() |
| 1640 | - Removed (redundant) check for writing out files with -t. |
| 1641 | do_writeout() |
| 1642 | - Changed check for filename to filename[0]. Added some code, |
| 1643 | overall fixes bug #30 =-) |
Robert Siemborski | a417ddc | 2000-07-24 23:18:48 +0000 | [diff] [blame] | 1644 | - nano.c: |
| 1645 | do_justify() & do_wrap(): |
| 1646 | - totsize-related fixes (Rob) |
Chris Allegretta | 2ece167 | 2000-07-27 15:25:52 +0000 | [diff] [blame] | 1647 | - de.po |
| 1648 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 1649 | |
Chris Allegretta | 1d7110d | 2000-07-23 16:59:07 +0000 | [diff] [blame] | 1650 | nano-0.9.13 - 07/23/2000 |
Chris Allegretta | 627de19 | 2000-07-12 02:09:17 +0000 | [diff] [blame] | 1651 | - 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] | 1652 | affects do_cut_text in cut.c. Not available with SMALL_NANO because it |
| 1653 | depends on the marker code which is not available with that setting. |
Chris Allegretta | 3088555 | 2000-07-14 01:20:12 +0000 | [diff] [blame] | 1654 | - Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using |
| 1655 | -t with an unwritable file causes users to get locked into editor). |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 1656 | - move.c |
| 1657 | page_down() |
| 1658 | - Don't edit_refresh() if the bottom of the file is in the edit |
| 1659 | buffer. (Adam) |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 1660 | - nano.c: |
| 1661 | main(): |
| 1662 | - TABSIZE now set before first call to edit_refresh (Bill Soudan) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 1663 | - Different ^C kill code (patch by Christian Weisgerber). |
Robert Siemborski | fcf32bf | 2000-07-17 03:04:54 +0000 | [diff] [blame] | 1664 | die(): |
| 1665 | - More intelligent emergency-save filename selection (Rob) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 1666 | do_spell(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1667 | - Changed exit semantics a bit so that aspell wouldn't get |
| 1668 | all screwy (bug discovered by Joshua Jensen. |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 1669 | - files.c: |
| 1670 | read_file(): |
| 1671 | - Added init of buf variable, hopefully this will stop the |
| 1672 | "bleeding" of text seen with mutt and using i18n. |
Chris Allegretta | acb6234 | 2000-07-21 22:42:46 +0000 | [diff] [blame] | 1673 | write_file(): |
| 1674 | - Added code to check to see if using -l and the file is not |
| 1675 | in fact a link. This should fix the behavior where a file |
| 1676 | that does not have write permission but could be removed and |
| 1677 | rewritten is saved without error. Please test this feature |
| 1678 | and give feedback. |
Chris Allegretta | a4d2162 | 2000-07-08 23:57:03 +0000 | [diff] [blame] | 1679 | - search.c: |
| 1680 | search_init(): |
| 1681 | - Added " (to replace)" statement to end of search string if |
| 1682 | we are doing a replace. Manually converted all the translations |
| 1683 | from '%s' to '%s%s' to ensure they still work with the new code. |
| 1684 | Also put in the translation for " (replace)" in the .po's. Hope |
| 1685 | I didn't step on your toes doing this Jordi. (Chris) |
Chris Allegretta | 635fae3 | 2000-07-09 03:26:34 +0000 | [diff] [blame] | 1686 | do_search(), do_replace(): |
| 1687 | - Removed call to search_abort()/replace_abort() before call to |
| 1688 | the opposite function. |
Chris Allegretta | fa8f7bf | 2000-07-12 02:41:13 +0000 | [diff] [blame] | 1689 | - Fixed bug #28. |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 1690 | findnextstr() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1691 | - do not center string found if it is currently visible. (Adam) |
Chris Allegretta | 7539a82 | 2000-07-09 23:55:13 +0000 | [diff] [blame] | 1692 | - fr.po: |
| 1693 | - French update by Clement Laforet <clem_laf@wanadoo.fr>. |
Jordi Mallach | 8d7ac1b | 2000-07-13 03:10:01 +0000 | [diff] [blame] | 1694 | - es.po: |
| 1695 | - Updated strings to 0.9.13 (Jordi). |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 1696 | |
Chris Allegretta | e955dae | 2000-07-07 22:24:59 +0000 | [diff] [blame] | 1697 | nano-0.9.12 - 07/07/2000 |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 1698 | - all: |
Chris Allegretta | 9fc8d43 | 2000-07-07 01:49:52 +0000 | [diff] [blame] | 1699 | - New regexp search feature by Bill Soudan. New flags USE_REGEXP |
| 1700 | and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup |
| 1701 | replace_line, replace_regexp in search.c, changes to |
Chris Allegretta | 4780561 | 2000-07-07 02:35:34 +0000 | [diff] [blame] | 1702 | search_init() and do_replace() and strstrwrapper(). |
| 1703 | - Added _POSIX_VERSION check to regexp code. Better than nothing |
| 1704 | for non-POSIX systems... |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 1705 | - Made search functions & keys more like Pico. Added goto line from |
| 1706 | search and replace function, changed wording to "No Replace" instead |
| 1707 | of "To Search", "To Replace" to simply "Replace", and changed to |
| 1708 | Pico's keystroke by default, ^R. Affects search_init(), |
| 1709 | do_search() in search.c, globals in nano.h and |
| 1710 | shortcut_init() in global.c. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 1711 | - changed 'sprintf' calls to safer 'snprintf' (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 1712 | - cut.c |
| 1713 | - further totsize update corrections |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 1714 | - files.c: |
| 1715 | - changed do_insertfile to call fix_editbot (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 1716 | - Magic Line code in read_file (Rob) |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 1717 | - nano.c: |
| 1718 | - Removed dual alt_speller variables, oops! (Rocco Corsi) |
Chris Allegretta | dbc12b2 | 2000-07-03 03:10:14 +0000 | [diff] [blame] | 1719 | - Removed unnecessary do_oldspell function (Rocco Corsi). Added |
| 1720 | SMALL_NANO #ifdef around actual spell function. |
Chris Allegretta | 1e57e68 | 2000-07-03 04:24:39 +0000 | [diff] [blame] | 1721 | - Moved page_up() to move.c where is belongs. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 1722 | - Corrected FIXME in do_enter with explanation. (Rob) |
| 1723 | - Fixed FIXME in do_justify, resulted in creation of |
| 1724 | fix_editbot [also fixed in do_enter] (winio.c) (Rob) |
Robert Siemborski | cdff015 | 2000-07-07 01:58:52 +0000 | [diff] [blame] | 1725 | help_init(): |
| 1726 | - Moved newline out of if statement (Rocco Corsi) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 1727 | do_char(): |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 1728 | - Magic Line related code in do_char (Rob) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 1729 | do_backspace(), do_delete(): |
| 1730 | - Added magic line code here too. |
| 1731 | |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 1732 | - de.po: |
Chris Allegretta | 6e80585 | 2000-06-22 01:53:29 +0000 | [diff] [blame] | 1733 | - Revised translations by floki@bigfoot.com. |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 1734 | - fi.po: |
| 1735 | - Finnish translation by pauli.virtanen@saunalahti.fi. |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 1736 | - utils.c: |
| 1737 | - Added new_magicline() |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 1738 | - winio.c: |
Chris Allegretta | dba37ae | 2000-07-07 05:13:09 +0000 | [diff] [blame] | 1739 | - Added stdlib.h to includes, found by OpenBSD gcc. |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 1740 | - lots of new commenting around display functions |
Chris Allegretta | 5204ea9 | 2000-06-22 01:56:23 +0000 | [diff] [blame] | 1741 | do_yesno(), nanogetstr(): |
| 1742 | - Removed now unnecessary raw/cbreak combos. |
Jordi Mallach | 0b0fc49 | 2000-06-23 01:00:13 +0000 | [diff] [blame] | 1743 | - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till |
| 1744 | we decide if those keybindings should be translated. (Jordi) |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 1745 | clear_bottomwin(): |
| 1746 | - Removed wrefresh(edit) call. |
Chris Allegretta | 48fd2cb | 2000-07-03 04:31:13 +0000 | [diff] [blame] | 1747 | edit_update_top(): |
| 1748 | - Fixed a bug that caused nano to not update when |
| 1749 | current->next == NULL (e.g. paging down to the very bottom of |
| 1750 | ABOUT NLS wouldn't work). |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 1751 | fix_editbot: |
| 1752 | - Added (should rebuild editbot from a valid edittop) (Rob) |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 1753 | edit_add: |
| 1754 | - removal of redundant call to mvwaddnstr |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 1755 | |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 1756 | nano-0.9.11 - 06/20/2000 |
Chris Allegretta | 790198d | 2000-06-20 00:40:01 +0000 | [diff] [blame] | 1757 | - New flag "-T" or "--tabsize" to specify how to display tab widths. |
| 1758 | 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] | 1759 | 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] | 1760 | TABSIZE int. Added changes to nano.1 and nano.1.html. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 1761 | - id.po: |
| 1762 | - Indonesian translation by Tedi Heriyanto. |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 1763 | - es.po: |
| 1764 | - Updated translation (Jordi Mallach). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 1765 | - winio.c |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1766 | - Rewrite of display functions to correct the display problems |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 1767 | we had been seeing. Affects: add_marked_sameline, edit_add, |
| 1768 | and many others. (Rob Siemborski) |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 1769 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 1770 | total_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1771 | - Cut display_main_list call, as this function is only supposed to |
| 1772 | refresh what's already on the screen, not go through the process |
| 1773 | of adding the text again. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 1774 | - cut.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 1775 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 1776 | - nano.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 1777 | - experimental do_wrap and check_wrap (Adam Rogoyski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 1778 | - Removed editwineob, as it was redundant for (editwinrows - 1). |
| 1779 | Changed all calls to editwinrows - 1 in nano.c and move.c. |
| 1780 | - Removed all functions that were split into other files. |
| 1781 | Affects LOTS of funcs. |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 1782 | do_enter(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1783 | - Added reset of placewewant to end. |
Robert Siemborski | 10eab1d | 2000-06-18 01:05:00 +0000 | [diff] [blame] | 1784 | do_insertfile(): |
| 1785 | - Fix display problem when using ctrl-r to load a file |
| 1786 | into the buffer (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 1787 | handle_sigwinch(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1788 | - Added titlebar(), edit_refresh() and display_main_list() calls |
| 1789 | because a resize wasn't picking up on possible different width |
| 1790 | correctly. |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 1791 | - utils.c: |
| 1792 | - Moved nmalloc() and nrealloc() here. |
| 1793 | - move.c: |
| 1794 | - New file, contains movement functions (like do_home(), do_up(), |
| 1795 | do_down(), page_up(), etc...). |
| 1796 | - files.c: |
| 1797 | - Contains functions for files (read_file, insert_file, |
| 1798 | do_writeout(), etc). |
| 1799 | - search.c: |
| 1800 | - Contains all our searching and related functions, (do_search(), |
| 1801 | findnextstr(), do_replace(), do_gotoline()). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 1802 | |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1803 | nano-0.9.10 - 06/04/2000 |
| 1804 | - es.po: |
| 1805 | - Translation updates (Jordi). |
| 1806 | - AUTHORS, nano.1.html, TODO, README: |
| 1807 | - Documentation and email address updates (Jordi). |
| 1808 | - nano.c: |
| 1809 | main(): |
| 1810 | - Moved Adam's termio code down to after getopt() and before initscr() |
| 1811 | to stop people losing their SIGINT character when using args that |
| 1812 | exit nano before it runs (--version, --help, etc). |
| 1813 | |
| 1814 | nano-0.9.9 - 05/31/2000 |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1815 | - Makefile.am: |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1816 | - Added proper lines for defining LOCALEDIR. |
| 1817 | - configure.in: |
| 1818 | - Spelling fixes (Jordi Mallach) |
| 1819 | - Removed CFLAGS changes for gcc, reduces portability according to |
| 1820 | some, and it certainly doesn't seem to decrease exe size. |
| 1821 | - es.po: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1822 | - Spanish translation updates (Jordi Mallach) |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1823 | - POTFILES.in: |
| 1824 | - Added global.c file, was screwing up translations (i.e. they |
| 1825 | weren't getting done). |
| 1826 | - cut.c: |
| 1827 | add_to_cutbuffer(): |
| 1828 | - Added totsize increment. |
| 1829 | - Cut fixes and optimizations (Rob Siemborski). |
| 1830 | do_uncut_text(): |
| 1831 | - Added totsize increment in several places. |
| 1832 | - nano.c: |
| 1833 | headers: |
| 1834 | - Removed LOCALEDIR define. |
| 1835 | do_justify(): |
| 1836 | - Added edit_refresh() call (bug discovered by Adam). |
| 1837 | page_down_center(): |
| 1838 | - Added call to edit_update(current) for last case. Removed |
| 1839 | increment of current_y since it's now just wasteful. |
| 1840 | do_enter(): |
| 1841 | - Added totsize increment. |
| 1842 | renumber(), renumber_all(): |
| 1843 | - Removed totsize-- and totsize init in renumber_all. |
| 1844 | do_mouse(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1845 | - Added edit_refresh() call to show highlight updates. Removed |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1846 | unnecessary wrefresh(edit). |
| 1847 | main(): |
| 1848 | - Moved up locale calls so that translated --help messages would |
| 1849 | actually get translated. |
| 1850 | do_backspace(), do_delete(): |
| 1851 | - Added decrement of totsize. |
| 1852 | init_help_msg(): |
| 1853 | - New function, initializes help text if NANO_SMALL isn't set (fixes |
| 1854 | broken i18n). |
| 1855 | read_file(): |
| 1856 | - malloc call changed to nmalloc (Rob Siemborski). |
| 1857 | - winio.c: |
| 1858 | total_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1859 | - Completely rewrote function, not quite so brain-damaged now. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1860 | |
| 1861 | nano-0.9.8 - 05/18/2000 |
| 1862 | - nano.c: |
| 1863 | main(): |
| 1864 | - Added awesome code that disables the CINTR and CQUIT |
| 1865 | character (Adam Rogoyski). Removed raw()/noraw() calls so that |
| 1866 | nano gets input in 'normal' mode, which is the Right Way(tm) to |
| 1867 | 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] | 1868 | ^C. New variable term, global variable oldterm to save previous |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1869 | term settings, and changes to finish() and die(). |
| 1870 | - Added extra #ifdefs in getopt code, so that above code and |
| 1871 | flag init is run even if GETOPT_LONG is not #defined. |
| 1872 | - Added memset line before sigactions. (Adam Rogoyski) |
| 1873 | do_suspend(): |
| 1874 | Removed function, see above for why. |
| 1875 | - winio.c: |
| 1876 | update_line(), center_cursor(): |
| 1877 | - Removed wrefresh(edit) from bottom of functions. wrefresh |
| 1878 | should now only be called once, at the bottom of the main() |
| 1879 | loop. |
| 1880 | - global.c: |
| 1881 | shortcut_init(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1882 | - Removed suspend sc_init call and suspend message because suspend |
| 1883 | is no longer needed in the shortcut list to work properly. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1884 | |
| 1885 | nano-0.9.7 - 05/14/2000 |
| 1886 | - nano.c: |
| 1887 | do_home(), do_end(): |
| 1888 | - Added calls to update_line for the current line, fixes |
| 1889 | lack of update (bug discovered by Alberto García). |
| 1890 | main(): |
| 1891 | - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not |
| 1892 | following symlinks even when -l isn't set, and "no changes" |
| 1893 | error when nano is called from crontab -e (Adam Rogoyski). |
| 1894 | - cut.c: |
| 1895 | do_cut_text(): |
| 1896 | - Added edit_update_top to cut when mark is set, fixes lack of |
| 1897 | display update (bug discovered by Ken Tyler). |
| 1898 | |
| 1899 | nano-0.9.6 - 05/08/2000 |
| 1900 | - New Italian translation (it.po), by Daniele Medri. |
| 1901 | - nano.c: |
| 1902 | page_up(), page_down(): |
| 1903 | - Added reset of placewewant to 0, as it should be. |
| 1904 | do_up(), do_down(): |
| 1905 | - Added call to update_line() for line we move from and line we |
| 1906 | move to, in order to keep the highlighting correct. |
| 1907 | do_wrap(): |
| 1908 | - Added var chop, new code to wrap lines more like Pico, mostly. |
| 1909 | THIS STILL DEFINITELY NEEDS TO BE REWRITTEN! |
| 1910 | - winio.c: |
| 1911 | do_help(): |
| 1912 | - Added edit_refresh() before exit. |
| 1913 | update_cursor(): |
| 1914 | - Removed cursor updating which really wasn't needed anyway. |
| 1915 | edit_update(): |
| 1916 | - Removed yucky code that didn't work, this function now just |
| 1917 | computes edittop and editbot and calls edit_refresh() to do the |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1918 | rest, which removes a lot of duplicate code.. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1919 | |
| 1920 | nano-0.9.5 - 05/01/2000 |
| 1921 | - Removed bytes from file struct because it was computationally wasteful. |
| 1922 | - cut.c: |
| 1923 | do_uncut_text(): |
| 1924 | - Added call to edit_refresh(). |
| 1925 | - nano.c: |
| 1926 | do_backspace(): |
| 1927 | - Added reset of editbot when deleting the last line of the file |
| 1928 | (bug discovered by Adam). |
| 1929 | do_char(): |
| 1930 | - Removed call to reset_cursor(). |
| 1931 | do_delete(): |
| 1932 | - Added similar check as to do_backspace(). |
| 1933 | do_enter(): |
| 1934 | - Added call to edit_refresh(). |
| 1935 | do_left(), right(): |
| 1936 | - Added call to update_line(), still redundant but better... |
| 1937 | do_up(), do_down(): |
| 1938 | - Added refresh calls both for current line and line to which |
| 1939 | we are moving. |
| 1940 | main(): |
| 1941 | - Removed inefficient call to edit_refresh() after every keystroke. |
| 1942 | It is now up each function to leave the screen in a good state. |
| 1943 | - winio.c: |
| 1944 | do_cursorpos() |
| 1945 | - Rewritten to not use bytes from filestruct by an incremental sum. |
| 1946 | update_line(), reset_cursor(): |
| 1947 | - Optimized calls to xplustabs() through a single variable. |
| 1948 | - update_line() now takes a new arg, an index into the string |
| 1949 | for where to update the line from. Needed for new update |
| 1950 | code. |
| 1951 | - configure.in: |
| 1952 | - Better checks for slang, allows argument to --with-slang. |
| 1953 | (Albert Chin-A-Young) |
| 1954 | - Removed -Iintl from CFLAGS in gcc check. |
| 1955 | - Makefile.am: |
| 1956 | - Addition of -Iintl for gettext (Albert Chin-A-Young) |
| 1957 | |
| 1958 | nano-0.9.4 - 04/25/2000 |
| 1959 | - Fixed calls to no_help and changed them to the more consistent |
| 1960 | ISSET(NO_HELP). Fixed return val of no_help to be what it should (2, |
| 1961 | not 1. Code to temporarily disable NO_HELP when in the |
| 1962 | help system. (Adam Rogoyski) |
| 1963 | - cut.c: |
| 1964 | do_marked_cut(), do_cut(), do_uncut(): |
| 1965 | - Commented out unnecessary bits when NANO_SMALL is being used. |
| 1966 | - winio.c: |
| 1967 | xpt(), strlenpt(), actual_x(): |
| 1968 | - Added check for value of data[i] & 0x80, if so do not make |
| 1969 | character 2 chars wide (orig. by Chris, 0x80 check by Adam). |
| 1970 | edit_refresh(): |
| 1971 | - New check for temp == NULL (bad thing), if so go back to the |
| 1972 | previous line. New filestruct var hold points to prev line. |
| 1973 | Fixes segfault when paging down to the end of a file. |
| 1974 | - nano.c: |
| 1975 | write_file(): |
| 1976 | - Added check for if file exists and is not equal to the current |
| 1977 | filename, prompt for overwrite (Adam Rogoyski). |
| 1978 | do_down(): |
| 1979 | - Removed check for current->next == NULL, now checks return value |
| 1980 | of do_down before setting current_x = 0 (discovered by Adam). |
| 1981 | do_justify(): |
| 1982 | - Fixed segfault when reaching the last line (tried to assign |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1983 | current->next->data when current->next == NULL) (discovered |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1984 | by Adam). |
| 1985 | - utils.c: |
| 1986 | - Removed extra macro defs that are now in nano.h. |
| 1987 | - nano.h: |
| 1988 | - Changed macro SET() to use |= instead of ^=. Fixes bug in |
| 1989 | cut code when cutting more than one line, and cutbuffer gets |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1990 | blown away when it shouldn't. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1991 | |
| 1992 | nano-0.9.3 - 04/29/2000 |
| 1993 | - cut.c: |
| 1994 | do_marked_cut(): |
| 1995 | - Fixed off by one error in cut code for marked text. |
| 1996 | do_cut_text(): |
| 1997 | - Removed check for being on the last line, part of |
| 1998 | magic line code. |
| 1999 | add_to_cutbuffer(): |
| 2000 | - Moved tmp->prev = inptr line to part where cutbuffer != NULL. |
| 2001 | - Added inptr->prev = NULL for case where cutbuffer == NULL. |
| 2002 | - nano.c: |
| 2003 | do_backspace(), do_char(): |
| 2004 | - Removed "magic line" code. It was basically causing more bugs |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2005 | than it was helping for the sake of compatibility. This fixes |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2006 | at least one known segfault condition. |
| 2007 | do_enter(): |
| 2008 | - Added setting editbot to new node if the new node is the last |
| 2009 | node in the file. |
| 2010 | write_file(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2011 | - Changed writing file behavior. Now, if last line of the file |
| 2012 | 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] | 2013 | - winio.c: |
| 2014 | add_marked_sameline(): |
| 2015 | - New code that checks for whether the begin and end of the marker |
| 2016 | are on different lines. Missing previously. |
| 2017 | edit_add(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2018 | - added some more checks for text length. Cleaned up some |
| 2019 | mvwaddnstrs that could be written more simply as waddnstrs. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2020 | edit_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2021 | - Removed check for temp == filebot, it is now treated like any other |
| 2022 | line. Fixes a bug where selected text on the last line shows |
| 2023 | normally. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2024 | xpt(): |
| 2025 | - Removed an extra computation for tabs variable that was incorrect. |
| 2026 | xplustabs(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2027 | - 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] | 2028 | xpt(current, current_x) |
| 2029 | - nano.1, nano.1.html: |
| 2030 | - Added -l option to man pages. |
| 2031 | - configure.in: |
| 2032 | - New option --enable-tiny, #defines NANO_SMALL in config.h. |
| 2033 | Disables call to gettext in functions and other i18n stuff in |
| 2034 | nano.c, the detailed help mode, the resize functions, and the |
| 2035 | justify code which no one ever uses. |
| 2036 | - New option --with-slang. Enables slang libraries instead of |
| 2037 | ncurses, requires slcurses.h for wrapper functions. (Based |
| 2038 | on patches for 0.8.7 by Glenn McGrath). |
| 2039 | |
| 2040 | nano-0.9.2 - 04/15/2000 |
| 2041 | - This release just fixes the serious segfault problem if nano is |
| 2042 | invoked any way other than using the absolute path. The bug was |
| 2043 | in the new code for checking whether nano is invoked as pico. |
| 2044 | |
| 2045 | nano-0.9.1 - 04/14/2000 |
| 2046 | - Added pico compatibility for ^T when in search or switch to switch |
| 2047 | to the opposite function. Added one to REPLACE_LIST_LEN and |
| 2048 | 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] | 2049 | new strings that will have to be gettext()ed. New argument 'replacing' |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2050 | to search_init(). Handlers in do_replace and do_search(). |
| 2051 | - New write code, now follows symbolic links instead of replacing them |
| 2052 | with the new file. New option (-l, --nofollow) to enable the old |
| 2053 | (incorrect, but secure) behavior (Adam Rogoyski). |
| 2054 | - nano.c: |
| 2055 | do_wrap(): |
| 2056 | - Fixed another bug relating to wrapping, and which would cause |
| 2057 | a segfault *sigh*. |
| 2058 | do_replace(): |
| 2059 | - Incremented current_x by the length of the replacement |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2060 | text inside the main replace loop. Fixes bug #15. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2061 | add_marked_sameline(): |
| 2062 | - New function, handles marked text when start & end of marker is |
| 2063 | on one line, also supports most marked text when cursor > COLS. |
| 2064 | main(): |
| 2065 | - Code to check if nano is invoked as 'pico', and if so |
| 2066 | automatically set pico_msgs (Robert Jones). |
| 2067 | |
| 2068 | nano-0.9.0 - 04/07/2000 |
| 2069 | - nano.1, nano.1.html: Updated man page with my email address and homepage. |
| 2070 | - winio.c: |
| 2071 | reset_cursor(), update_line(): |
| 2072 | - Changed update algorithm for x value to (COLS - 7) multiple when x |
| 2073 | value > (COLS - 2). |
| 2074 | - edit_refresh(): |
| 2075 | - Removed inner loop code, now calls update_line() for each line |
| 2076 | in question, MUCH nicer. |
| 2077 | - xplustabs(), xpt(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2078 | - Removed redundant increment of tabs when column no % 8 == 0. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2079 | - Added check for data[i] < 32, most of such bits are 2 chars wide. |
| 2080 | - update_line(): |
| 2081 | - Fixed a stupid call to strlenpt with col when we should have |
| 2082 | been using actual_col. Ugh. |
| 2083 | |
| 2084 | nano-0.8.9 - 03/22/2000 |
| 2085 | - nano.c: |
| 2086 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 2087 | Actually added these (screwup applying patch). |
| 2088 | do_justify(): Added call to set_modified(). |
| 2089 | |
| 2090 | nano-0.8.8 - 03/12/2000 |
| 2091 | - Preliminary internationalization support. Many many functions modified |
| 2092 | to use gettext (via _() macro). es.po file included. (Jordi Mallach) |
| 2093 | New dirs po/ and intl/, changes to configure.in and Automake.am to |
| 2094 | support i18n. |
| 2095 | - nano.c: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2096 | includes: Added sys/param.h and limits.h. (Adam Rogoyski). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2097 | statics: Changed some things that were not necessarily static |
| 2098 | (Adam Rogoyski). |
| 2099 | nrealloc(): New function, similar to nmalloc(). Changed calls from |
| 2100 | realloc() to nrealloc (Adam Rogoyski). |
| 2101 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 2102 | New functions for justify function (Adam Rogoyski). |
| 2103 | - winio.c: |
| 2104 | blank_edit(): Added wrefresh call to edit so that screen updates (like |
| 2105 | on ^L) actually work. |
| 2106 | xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski). |
| 2107 | |
| 2108 | nano-0.8.7 - 03/01/2000 |
| 2109 | - main.c: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2110 | do_wrap(): Better fix for segfaults, and fix for lines being wrapped |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2111 | to a single character on one line when no good place to |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2112 | break the line exists, and for wrapping lines longer than |
| 2113 | COLS. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2114 | - nano.1.html: |
| 2115 | Html version of man page, now included in dist. For |
| 2116 | the benefit of nano packages in Linux distributions. |
| 2117 | |
| 2118 | nano-0.8.6 - 02/24/2000 |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2119 | - global.c: |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2120 | shortcut_init(): |
| 2121 | Added shortcuts for goto_line and do_replace when using |
| 2122 | pico_msgs. Oops. |
| 2123 | - nano.c: |
| 2124 | statics: Changed fill back to 0 from 71 by default (Adam Rogoyski). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2125 | 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] | 2126 | Removed check for backing up past spaces first. |
| 2127 | main(): Added for loop to check for alt keys instead of hard list. |
| 2128 | do_enter(): Fix for bug #14, added call to reset_cursor and messed |
| 2129 | up do_char quite a bit. |
| 2130 | version(): Added time and date stamp for compile on version message. |
| 2131 | Added mail and web page info. |
| 2132 | - README: Updated mailing list info. |
| 2133 | |
| 2134 | nano-0.8.5 - 02/18/2000 |
| 2135 | - nano.c: |
| 2136 | main(): Finally fixed tilde being input on page up/down keys in |
| 2137 | certain terminal types. Fix was input 26->91->5[34] check |
| 2138 | for 126, if so make the kbinput PAGE UP/DOWN, else unget |
| 2139 | the keystroke and continue. Added #include <ioctl.h> for |
| 2140 | ioctl call. |
| 2141 | handle_hup(): |
| 2142 | Handler for hangup signal. Belated include of patch from |
| 2143 | Tim Sherwood. |
| 2144 | - winio.c: |
| 2145 | edit_refresh(): |
| 2146 | Temporary fix for selecting text when temp == current. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2147 | edit_refresh() is now unmanageably complex, and must be |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2148 | revamped. |
| 2149 | check_statblank(): |
| 2150 | Added check for constupdate, makes things less choppy |
| 2151 | (Adam Rogoyski) |
| 2152 | |
| 2153 | nano-0.8.4 - 02/11/2000 |
| 2154 | - Moved global variables that were only (or mostly) used in one file into |
| 2155 | its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn). |
| 2156 | - global.c: |
| 2157 | shortcut_init(): |
| 2158 | Removed redundant NANO_CONTROL_H from backspace shortcut, |
| 2159 | added char 127 which should have been there. |
| 2160 | - nano.c: |
| 2161 | main(): Fix for loops looping until MAIN_LEN, added -1 to stop |
| 2162 | segfaults (Adam Rogoyski). |
| 2163 | - Makefile.am: Added all source filenames (Adam Rogoyski). |
| 2164 | - nano.1: Fixed mail addressed and added mailing list address. |
| 2165 | - README: Updated my email address and the nano web page. |
| 2166 | |
| 2167 | nano-0.8.3 - 02/08/2000 |
| 2168 | - New pico mode (-p, --pico), toggles (more) compatibility with the |
| 2169 | Pico messages displayed in the shortcut list. Note that there are still |
| 2170 | small differences in this mode. |
| 2171 | - nano.h: New shortcut struct format, for the benefit of i18n and |
| 2172 | our help menu. Removed shortcut message macros, they are |
| 2173 | now all in shortcut_init in global.c. |
| 2174 | - nano.c: |
| 2175 | do_wrap(): Removed resetting of current_x when we are in fact |
| 2176 | wrapping to the next line, fixes a bug in -i mode. |
| 2177 | do_enter(): |
| 2178 | Rewrote the autoindent mode code to be a lot less pretty, |
| 2179 | but a lot more magical. |
| 2180 | main(): |
| 2181 | Removed case for ignoring char 126 (~). That's kind of |
| 2182 | important, we'll have to fix handling that sequence when |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2183 | paging up/down on a terminal some other way... Revamped |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2184 | main switch loop in much snazzier fashion based on the |
| 2185 | shortcut list. |
| 2186 | - winio.c: |
| 2187 | New function display_main_list. Affects all functions |
| 2188 | that used to call bottombars() with main_list. Added |
| 2189 | because we now only call bottombars with the macro |
| 2190 | MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the |
| 2191 | changes to the main_list shortcut list (see global.c below). |
| 2192 | New function do_help, our preliminary dynamic help system. |
| 2193 | - Many many funcs: |
| 2194 | Changed from int to void to allow one uniform type to call |
| 2195 | from the shortcut struct. Also a few functions that do |
| 2196 | not simple have void argument have new functions called |
| 2197 | funcname_void(void) to be called from the shortcut list. |
| 2198 | do_cut_text and do_uncut_text were changed to void |
| 2199 | arguments because they were never called with a filestruct |
| 2200 | other than *current anyway. |
| 2201 | - global.c: |
| 2202 | Shortcut list main_list was expanded to cover all |
| 2203 | shortcuts that could be caught in the main loop. |
| 2204 | Consequently there is a new macro MAIN_VISIBLE which tells |
| 2205 | how many items in the main list to actually show. |
| 2206 | |
| 2207 | nano-0.8.2 - 02/02/2000 |
| 2208 | - Added initial mouse (-m, --mouse) support. New global variable |
| 2209 | use_mouse. (Adam Rogoyski) |
| 2210 | |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2211 | - 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] | 2212 | regardless. (Adam Rogoyski). |
| 2213 | do_delete(): |
| 2214 | Deleted call to do_backspace() when on the end of a line, |
| 2215 | because it won't update the line properly. |
| 2216 | do_backspace(): |
| 2217 | Removed unnecessary pointer manipulation that was being |
| 2218 | handled by unlink_node(). |
| 2219 | open_file(): |
| 2220 | Added check for trying to open a directory (currently we |
| 2221 | segfault on this). Bug pointed out by Chad Ziccardi. |
| 2222 | |
| 2223 | nano-0.8.1 - 01/28/2000 |
| 2224 | - Implemented Pico's -r (fill) mode, command line flag -r or --fill. New |
| 2225 | global variable fill, affects check_wrap(), do_wrap(), main(), usage(), |
| 2226 | global.c and proto.h. |
| 2227 | - nano.c: |
| 2228 | write_file(): Added (incredibly) necessary check for EPERM when |
| 2229 | link() fails. This allows us to actually save |
| 2230 | files via rename() on filesystems that dont |
| 2231 | support hard links (AIEEEEEE). |
| 2232 | do_goto(): |
| 2233 | Fixed a stupid mistake where we were calling |
| 2234 | bottombars() with replace_list instead of goto_list. |
| 2235 | - nano.h: |
| 2236 | New char *help in shortcut structure for help |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2237 | feature. Added NANO_*_MSG and NANO_*_HELP #defines |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2238 | for help function and i18n. |
| 2239 | - global.c: |
| 2240 | New functions shortcut_init (called in nano.c) and |
| 2241 | sc_init_one() to initialize the shortcuts without |
| 2242 | using {}s (for i18n). |
| 2243 | |
| 2244 | nano-0.8.0 - 01/25/2000 |
| 2245 | - View flag (-v, --view) implemented. Global variable view_mode, affects |
| 2246 | main loop of nano.c and new_file(). (me) |
| 2247 | - nano.c: |
| 2248 | split checks for TERMIOS_H and TERMIO_H up so we |
| 2249 | can (theoretically) include them both, which is good. |
| 2250 | handle_sigwinch(): |
| 2251 | Added check for ncurses.h. (Andy Kahn) |
| 2252 | do_spell(): |
| 2253 | We now only try ispell because we don't as of yet |
| 2254 | handle the 'spell' program the right way, now that |
| 2255 | I finally know what the right way is =-). Added |
| 2256 | call to edit_update(fileage) to stop segfaults. |
| 2257 | global_init(): |
| 2258 | Added initialization of edit* filestruct pointers |
| 2259 | to stop segfaults on spell check. |
| 2260 | usage(): |
| 2261 | Check for getopt_long, and if no leave out the |
| 2262 | GNU options everyone seems to love so much (Andy Kahn) |
| 2263 | main(): |
| 2264 | Added checks for getopt_long (Andy Kahn) |
| 2265 | We ignore character 126 because it gets put into |
| 2266 | the buffer when we page up/down on a vt terminal. |
| 2267 | write_file(): |
| 2268 | Fixes for umask (Adam Rogoyski). Renamed tmpfile |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2269 | variable to tmp. Documented the tmp option |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2270 | better in the function comments. Fixed my |
| 2271 | stupidly commented out check for tmp on setting |
| 2272 | umask which I really like => |
| 2273 | - nano.h: |
| 2274 | Made desc variable in shortcut struct a pointer |
| 2275 | instead of a fixed-length string. |
| 2276 | - utils.c: |
| 2277 | Fixed check for config.h before nano.h. |
| 2278 | - configure.in: |
| 2279 | New checks for getopt_long, getopt.h, removed |
| 2280 | CFLAGS and LDFLAGS changes. Gonna have to run |
| 2281 | strip manually now =-) (Andy Kahn) |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2282 | Added check for HAVE_WRESIZE, new file acconfig.h |
| 2283 | (me). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2284 | |
| 2285 | nano-0.7.9 - 01/24/2000 |
| 2286 | - New autoindent feature. Command flag 'i' or '--autoindent'. New |
| 2287 | function do_char() to clean up character output, global |
| 2288 | variable autoindent in global.c. (Graham Mainwaring) |
| 2289 | - New flag 't' or '--tempfile', like Pico's -t mode, automatically saves |
| 2290 | files on exit without prompting. Affects do_writeout(). Also |
| 2291 | do_writeout() now takes a parameter for if exiting. |
| 2292 | Global variable temp_opt in global.c (Graham Mainwaring) |
| 2293 | - Preliminary spell program support. Added command flag '-s' or |
| 2294 | '--speller' for alternative speller command. Added function do_spell() |
| 2295 | and exit_spell() to nano.c. New global variable alt_speller. |
| 2296 | - nano.c: |
| 2297 | main(): We now ignore input of decimal 410 because these get entered |
| 2298 | when we resize the screen. Sorted options in getopt() |
| 2299 | switch statement. |
| 2300 | usage(): Sorted options and changed tabs to make room for -s option. |
| 2301 | write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and |
| 2302 | doesn't print the number of lines written on the statusbar. |
| 2303 | global_init(): |
| 2304 | Added more initializations to globals to support do_spell(). |
| 2305 | |
| 2306 | nano-0.7.8 - 01/23/2000 |
| 2307 | - Stubbed justify function. Affects main() in nano.c and nano.h defines. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2308 | - Added Fkey equivalents for Pico compatibility. Affects nano.h defines |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2309 | and main() in nano.c |
| 2310 | - Removed redundant reset_cursor() calls from the blank() routines. |
| 2311 | - nano.c: |
| 2312 | main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY. |
| 2313 | Removed check for isprint() characters in main while loop |
| 2314 | for people with odd character sets *shrug*. Added some X |
| 2315 | window F-key combos. |
| 2316 | read_line(): New function, consolidates of most of the special |
| 2317 | sections of the file reading code. (Rob Siemborski) |
| 2318 | do_replace(): Many scattered fixes. (Rob Siemborski) |
| 2319 | write_file(): Added check for empty filename. |
| 2320 | - winio.c: |
| 2321 | nanogetstr(): Fixes for deleting at places other than the end of the |
| 2322 | buffer, cut support. (Adam Rogoyski) |
| 2323 | blank_edit(): New function, blanks edit buffer. Added call to it in |
| 2324 | total_refresh(). |
| 2325 | - configure: Checks for glib if snprintf of vsnprintf aren't available |
| 2326 | (Andy Kahn). Changed warning message when no termcap lib |
| 2327 | is found. |
| 2328 | |
| 2329 | nano-0.7.7 - 01/19/2000 |
| 2330 | - Option '-v' for version moved to '-V', because -v is Pico's "read only" |
| 2331 | mode (affects getopt() in main() and usage() function in nano.c |
| 2332 | - New flag -c, always show cursor position. Affects main() in nano.c and |
| 2333 | statusbar() in winio.c |
| 2334 | - Option '-x' doesn't show help window at the bottom of the editor. |
| 2335 | New variable no_help in nano.h and proto.h, affects main(), usage(), |
| 2336 | and global_init() in nano.c, blank_bottombars(), clear_bottomwin(), |
| 2337 | bottombars(), and do_yesno() in winio.c (I had to apply this patch by |
| 2338 | hand =P) (Adam Rogoyski) |
| 2339 | - nano.c: |
| 2340 | handle_sigwinch(): New function (Adam Rogoyski), handles resizing. |
| 2341 | page_up(), page_down(): |
| 2342 | - New functions. We now set the cursor at the top right corner, |
| 2343 | not at the center line, and page up and down a full screen |
| 2344 | rather than a half screen. Original functions renamed to |
| 2345 | page_up_center() and page_down_center(). |
| 2346 | main(): |
| 2347 | - Added check for keystroke key sequence 407 or NANO_CONTROL_Z |
| 2348 | in main while loop because suspend mode was broken. This should |
| 2349 | fix it, at least for now. |
| 2350 | - Added long option support (By popular harassment ;-) - Added |
| 2351 | #include for getopt.h, changed getopt() to getopt_long(). |
| 2352 | Options added so far: --version (-V), --nowrap (-w), --suspend |
| 2353 | (-z), --help (-h), --nohelp (-x). |
| 2354 | - Rewrote signal statements (Adam Rogoyski) |
| 2355 | |
| 2356 | nano 0.7.6 - 01/15/2000 |
| 2357 | - New ChangeLog format |
| 2358 | - nano.c: |
| 2359 | main(): Bound CONTROL_H to backspace (oops) |
| 2360 | Added more Alt-[-key combinations, for page up & down. |
| 2361 | read_bytes(): New function (Adam Rogoyski) |
| 2362 | read_file(): Optimizations - malloc()s *buf a little at a time rather |
| 2363 | than one huge buffer, and replaced the strcat at the end |
| 2364 | with an index variable. Added call to read_bytes(). |
| 2365 | do_next_word(): New function, binding is control-space (0) (me) |
| 2366 | |
| 2367 | - winio.c: |
| 2368 | bottombars(): Fixed non-expanding shortcut keys at bottom of screen. |
| 2369 | (formula is extra space needed = COLS / 6 - 13). |
| 2370 | actual_x() & strlenpt(): |
| 2371 | Added bug#9 fix - when tabs % 8 == 0, we should only |
| 2372 | increment tabs by 1. |
| 2373 | titlebar(): Fixed overrun in titlebar on very long filenames. |
| 2374 | |
| 2375 | 0.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated |
| 2376 | writing a newline at EOF. do_cursorpos and do_replace are now not |
| 2377 | directly bound to signals but picked up as their control sequences |
| 2378 | in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!) |
| 2379 | 0.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for |
| 2380 | available memory, align bug fixed (Big Gaute). |
| 2381 | |
| 2382 | --- As of version 0.7.4 TIP is renamed to nano. |
| 2383 | |
| 2384 | 0.7.3 Fixed a double blank_statusbar() when jumping to first and last |
| 2385 | lines. Took out unnecessary updates in load_file. Bug fix in |
| 2386 | do_left. Missing updates to totlines, fixed bug #7 (last line not |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2387 | 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] | 2388 | with replace all, more/better comments (Robert Siemborski) |
| 2389 | 0.7.2 Our first patch accepted into the source! configure fixes |
| 2390 | and optimizations (Erik Anderson). Added missing stdarg.h to winio.c. |
| 2391 | Bug fix in update_line for editing long lines. Fixed arguments |
| 2392 | being put into the filename when none is specified. Preliminary |
| 2393 | +line command argument function. |
| 2394 | 0.7.1 configure tweak for better FreeBSD support. Removed refresh() from |
| 2395 | edit_refresh to stop cursor "jumping" during screen updates. This |
| 2396 | will probably cause a bug or two. Replace is now Alt-R (@R) and |
| 2397 | Goto line is Alt-G (@G), but they have control key aliases of ^\ and |
| 2398 | ^_ respectively. Made Control-F,B,N,P work like they do in Pico. |
| 2399 | Control-G will become the Help key, but for now is stubbed out. |
| 2400 | 0.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in |
| 2401 | findnextstr. Bound Control-D to Delete. Refixed segfault on zero |
| 2402 | length file. Added Esc-[-A,B,C,D cursor key sequences. |
| 2403 | 0.6.9 Preliminary cursor position function. Split up tip.c more, made |
| 2404 | new files cut.c and winio.c. Fixed a bug in cut_marked_segment |
| 2405 | that was leaving out a character. |
| 2406 | 0.6.8 By request, optchr in main() is now an int. Removed unneeded |
| 2407 | globals. Bound functions for next/prev page, and wrote functions |
| 2408 | do_home and do_end. |
| 2409 | 0.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and |
| 2410 | created read_file. Implemented Insert File. Fixes in tipgetstr |
| 2411 | for erroneous keystrokes. Added leave_cursor arg to do_yesno(). |
| 2412 | 0.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for |
| 2413 | aborted searches and more Pico-compatible messages. statusq() now |
| 2414 | returns -2 on a blank entry instead of -1. Bug fix in actual_x(). |
| 2415 | 0.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text |
| 2416 | regarding buffers with filebot in them. Fixins in do_backspace |
| 2417 | and do_enter. Removed unused variables. Removed strip_newline. |
| 2418 | 0.6.4 Took out the awful newlines from each string buffers. This will |
| 2419 | certainly cause more bugs. Fixes in do_exit(). Better empty file |
| 2420 | handling (I hope). |
| 2421 | 0.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct. |
| 2422 | do_enter() rewritten. |
| 2423 | 0.6.2 Better default file permissions. Complete rewrite of do_wrap(). |
| 2424 | Better handling of editing with cursor near COLS - 1. |
| 2425 | 0.6.1 Starting to implement wrapping toggle. Fix for unhandled control |
| 2426 | codes being entered into the buffer. Bug fix in actual_x; more |
| 2427 | > COLS - 1 functionality, especially on lines with TABs. Fixed being |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2428 | locked into cutbuffer when cutting more than one marked screen of |
| 2429 | text. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2430 | 0.6.0 We have TABs!!! To do this, placewewant is now set to the actual |
| 2431 | width on the screen we want to be, not an index of current->data. |
| 2432 | New functions xplustabs and actual_x convert the actual place |
| 2433 | the cursor should be on the screen to and from the place in the |
| 2434 | string. |
| 2435 | 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] | 2436 | eliminating the "looping" on the last line when holding the right |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2437 | arrow. Preliminary support for longer than COLS - 1 lines. |
| 2438 | Wrote do_delete. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2439 | 0.5.4 Fixed a bug in total_update that wasn't repainting the screen |
| 2440 | properly. tipgetstr is much more messy but text is now more |
| 2441 | editable ;) Fixed crash on entering a new file, hopefully. Awful |
| 2442 | 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] | 2443 | 0.5.3 Added check for malloc.h. Implementing uncut from marker slowly. |
| 2444 | 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] | 2445 | I would not trust your data with the mark code right now, but then |
| 2446 | we're not at version 1.0 yet so dont trust anything ;) |
| 2447 | 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] | 2448 | jump after each keystroke entered. Select text stubbed. Fixed |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2449 | a bug in total_refresh(). Setting a mark will highlight properly, |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2450 | but does not actually affect what gets put in the cutbuffer (yet). |
| 2451 | 0.5.1 Writing a file out causes modified to be set back to 0. Good. |
| 2452 | Set_modified function written. Cut and uncut text now set |
| 2453 | modified when called. |
| 2454 | 0.5.0 Half way there! Implemented write out, save function seems |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2455 | stable. Changed statusbar blank routing to not refresh, a separate |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2456 | program calls it and then refreshes. Made the program not clear |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2457 | the screen on exit, just the bottom two lines (like Pico). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2458 | 0.4.2 Implemented replace all in replace function. Crude exit function |
| 2459 | (asks yes or no if modified but does not write to file). |
| 2460 | 0.4.1 Implementing search & replace. Fixed crash on deleting at top of |
| 2461 | edit buffer. Implemented "timeout" of statusbar messages. |
| 2462 | Implemented ^A and ^E (beginning and end of line). |
| 2463 | 0.4.0 Split code into global.c and proto.h to allow for better multiple |
| 2464 | file handling. Added #defines for the majority of the shortcut |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 2465 | keys in tip.h for easy modification. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 2466 | 0.3.1 Write edit_refresh which doesn't move the screen around, just |
| 2467 | updates what's there already. do_wrap() and do_enter() added. |
| 2468 | 0.3.0 Preliminary cutbuffer (cut and uncut) support. |
| 2469 | 0.2.7 Check for Modification added. do_search() works. |
| 2470 | 0.2.5 Rewrite of file data struct. |
| 2471 | 0.2 Read in data to buffer, bound keystrokes to stub functions, |
| 2472 | initial cursor movement on screen. Initial autoconf support. |
| 2473 | 0.1 Initial program setup w/ncurses |
Chris Allegretta | c87a411 | 2000-08-07 02:16:24 +0000 | [diff] [blame] | 2474 | |
| 2475 | $Id$ |