Chris Allegretta | 9afd119 | 2001-04-06 23:13:57 +0000 | [diff] [blame] | 1 | Cvs code - |
Chris Allegretta | 6b58acd | 2001-04-12 03:01:53 +0000 | [diff] [blame] | 2 | - General |
| 3 | - New global variables currshortcut and currslen to support using |
Chris Allegretta | 051fc6e | 2001-05-05 23:17:36 +0000 | [diff] [blame] | 4 | the mouse with the shortcuts. Also supports clicking on files |
| 5 | in browser. |
Chris Allegretta | 84de552 | 2001-04-12 14:51:48 +0000 | [diff] [blame] | 6 | - Changed mouse disabling code from depending on --enable-tiny |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 7 | to its own flag, --disable-mouse. The --tiny option defines |
Chris Allegretta | 84de552 | 2001-04-12 14:51:48 +0000 | [diff] [blame] | 8 | this automatically, but now just mouse support can be disabled |
| 9 | if desired. |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 10 | - File Browser supports the "Goto Directory" |
Chris Allegretta | 8d8e012 | 2001-04-18 04:28:54 +0000 | [diff] [blame] | 11 | - Added rcfile.c source file. Only includes much of anything when |
| 12 | --enable-nanorc is used. Tons of new funcs, most notably |
| 13 | do_rcfile() called from nano.c:main(). Added much needed |
| 14 | function ncalloc(), will have to go through source code later |
| 15 | and change the aproproate calls which used nmalloc for lack of |
| 16 | an apropriate calloc function *** FIXME *** |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 17 | - After "Alternate" spell checker is called, cursor is repositioned on |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 18 | the same line as before ^T was pressed. |
Chris Allegretta | 6efda54 | 2001-04-28 18:03:52 +0000 | [diff] [blame] | 19 | - Moved config.h up in all .c files #include list (Albert Chin). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 20 | - Added config.guess and config.sub to distribution because, |
| 21 | apparently, newer autoconf/automakes can't live without them. |
| 22 | - Various spelling updates by David Lawrence Ramsey. |
Chris Allegretta | ea066c8 | 2001-04-13 02:32:06 +0000 | [diff] [blame] | 23 | - configure.in: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 24 | - New option, --enable-nanorc, which allows people to have a .nanorc |
Chris Allegretta | 18d70f1 | 2001-04-28 15:53:28 +0000 | [diff] [blame] | 25 | initialization file and set options normally used on the command |
| 26 | line, and color later on. |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 27 | - Added --enable-color option to allow color and syntax highlighting |
Chris Allegretta | 18d70f1 | 2001-04-28 15:53:28 +0000 | [diff] [blame] | 28 | (stub as of now). |
Chris Allegretta | 4cb991d | 2001-05-10 22:55:16 +0000 | [diff] [blame] | 29 | - cut.c: |
| 30 | add_to_cutbuffer() |
| 31 | - Remove useless statements (Rocco). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 32 | - faq.html: |
| 33 | - Brought the FAQ up to date, many little changes (Jordi). |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 34 | - files.c: |
| 35 | do_browser() |
| 36 | - Minor fixes to the processing of SELECT function (Rocco) |
| 37 | - Added the "Goto Directory" code (Rocco) |
| 38 | - global.c: |
| 39 | - Updated some of the lists for the "Goto Directory" code (Rocco) |
Chris Allegretta | 6cb4e88 | 2001-04-29 02:26:17 +0000 | [diff] [blame] | 40 | - move.c: |
| 41 | page_up() |
| 42 | - Rewritten with a loop to make screen updates work when |
| 43 | mark is set (fixes bug #59). |
Jordi Mallach | 3f8db49 | 2001-04-30 10:30:43 +0000 | [diff] [blame] | 44 | - nano.1: |
| 45 | - Added the missing -r flag (Jordi). |
Rocco Corsi | 12f294c | 2001-04-14 06:50:24 +0000 | [diff] [blame] | 46 | - nano.c: |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 47 | do_alt_speller() |
| 48 | - Reposition cursor on same line as before ^T was called (Rocco) |
Chris Allegretta | 316e4d9 | 2001-04-28 16:31:19 +0000 | [diff] [blame] | 49 | ABCD(), main() |
| 50 | - 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] | 51 | main() |
| 52 | - Code to silently process "-g" and "-j" (Rocco) |
| 53 | - nano.h: |
| 54 | - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco) |
| 55 | - proto.h: |
| 56 | - New shortcut list added: gotodir_list (Rocco). |
Rocco Corsi | 4dfaf93 | 2001-04-20 01:59:55 +0000 | [diff] [blame] | 57 | - search.c: |
| 58 | do_gotoline() |
| 59 | - Optimizations, remove "$" goes-to-last-line, less messages (Rocco) |
Chris Allegretta | 5050aa6 | 2001-04-22 07:10:21 +0000 | [diff] [blame] | 60 | do_replace() |
| 61 | - If we manage to make it in somehow with VIEW_MODE on, abort |
| 62 | nicely (fixes BUG #59). |
Chris Allegretta | 6efda54 | 2001-04-28 18:03:52 +0000 | [diff] [blame] | 63 | - winio.c: |
| 64 | actual_x() |
| 65 | - Remove inline from function decl (Albert Chin). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 66 | - po/POTFILES.in: |
| 67 | - Added utils.c to the list. |
| 68 | - po/es.po, po/ca.po: |
| 69 | - Updated (Jordi). |
Jordi Mallach | 9634571 | 2001-04-29 10:38:07 +0000 | [diff] [blame] | 70 | - po/gl.po: |
| 71 | - New Galician translation by Jacobo TarrĂo <jtarrio@trasno.net>, |
Jordi Mallach | 3bf6bf4 | 2001-05-14 13:11:56 +0000 | [diff] [blame^] | 72 | thanks! |
| 73 | - po/uk.po: |
| 74 | - New Ukrainian translation by Sergey A. Ribalchenko |
| 75 | <fisher@obu.ck.ua>, thanks! |
Chris Allegretta | ac840eb | 2001-04-07 18:21:47 +0000 | [diff] [blame] | 76 | |
| 77 | nano 1.1 tree forked here 04/07/2001 |
| 78 | |
Chris Allegretta | 38068cd | 2001-04-06 20:04:23 +0000 | [diff] [blame] | 79 | nano 1.0.1 - 04/06/2001 |
Chris Allegretta | cef7fbb | 2001-04-02 05:36:08 +0000 | [diff] [blame] | 80 | - General: |
| 81 | - added configure option --disable-wrapping. Does what it says, |
| 82 | no wrapping or checks are done. Separate from --enable-tiny, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 83 | some may want a bare-bones Pico clone that does wrap text. |
Chris Allegretta | cef7fbb | 2001-04-02 05:36:08 +0000 | [diff] [blame] | 84 | Affects configure, nano.c:do_char() and check_wrap() obviously, |
| 85 | version(), and do_char(). |
Chris Allegretta | 3948bae | 2001-03-25 00:46:40 +0000 | [diff] [blame] | 86 | - aclocal.m4: |
| 87 | - Minor patch for intl check (really this time) (Albert Chin) |
Chris Allegretta | 4bf831f | 2001-03-26 15:35:34 +0000 | [diff] [blame] | 88 | - faq.html: |
| 89 | - Fixed typo in section 6.1 (discovered by Bob Farmer). |
Chris Allegretta | 4980517 | 2001-03-28 02:14:28 +0000 | [diff] [blame] | 90 | - files.c: |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 91 | - fix two typos in comments, one in ChangeLog (Matthias Andree) |
Chris Allegretta | 4980517 | 2001-03-28 02:14:28 +0000 | [diff] [blame] | 92 | diralphasort() |
Chris Allegretta | 0876dc9 | 2001-03-28 13:04:08 +0000 | [diff] [blame] | 93 | - Stop abort on symlinks (Matthias Andree) |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 94 | - use strcasecmp to sort directory if available, pilot does that |
| 95 | as well (Matthias Andree) |
| 96 | filestat(), do_browse() |
Chris Allegretta | 0876dc9 | 2001-03-28 13:04:08 +0000 | [diff] [blame] | 97 | - Changed lstat calls to stat, which fixes the browser not |
| 98 | following links to directories. We only use lstat() when |
| 99 | printing the details of the file, and if it is a link, then |
| 100 | check via lstat() for link to a directory. If it is |
Jordi Mallach | b2c4cbe | 2001-04-02 13:47:17 +0000 | [diff] [blame] | 101 | a directory, display (dir), else use the normal "--". |
Chris Allegretta | 90d3074 | 2001-04-03 01:02:38 +0000 | [diff] [blame] | 102 | do_browser() |
| 103 | - Fix broken size suffix off-by-one errors (Matthias Andree) |
| 104 | cwd_tab_completion(), do_browse_from() |
| 105 | - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree). |
| 106 | - Changed above to use PATH_MAX only when defined on the |
| 107 | system, as the HURD e.g. does not support it. |
Jordi Mallach | b2c4cbe | 2001-04-02 13:47:17 +0000 | [diff] [blame] | 108 | - intl/Makefile.in: |
| 109 | distclean |
| 110 | - added intl/libintl.h to the rm -f rule, should fix the unresolved |
| 111 | gettext symbols problem (Jordi). |
Chris Allegretta | 2071207 | 2001-03-23 03:51:48 +0000 | [diff] [blame] | 112 | |
Chris Allegretta | 2bfbda0 | 2001-03-23 03:50:44 +0000 | [diff] [blame] | 113 | nano-1.0.0 - 03/22/2001 |
Chris Allegretta | e316773 | 2001-03-18 16:59:34 +0000 | [diff] [blame] | 114 | - General |
| 115 | - Added void to functions declared as () args, nano.c:do_mark() |
| 116 | and search.c:regexp_cleanup(). (Christian Weisgerber). |
| 117 | - Changed internal variables called "new" to "newnode" to avoid |
| 118 | the "new" C++ reserved word, even though there is likely no way |
| 119 | nano will EVER be compilable with a C++ compiler. (suggested by |
| 120 | Rocco Corsi). |
Chris Allegretta | 7ab3e8f | 2001-03-22 23:12:22 +0000 | [diff] [blame] | 121 | - ca.po, es.po: |
| 122 | - Final tweaks for Nano 1.0. |
Chris Allegretta | 10ae4f1 | 2001-03-20 15:51:43 +0000 | [diff] [blame] | 123 | - cs.po: |
| 124 | - Czech translation from Vaclav Haisman. |
Chris Allegretta | 7ab3e8f | 2001-03-22 23:12:22 +0000 | [diff] [blame] | 125 | - nano.info: |
| 126 | - Added dir entry (Albert Chin). |
Chris Allegretta | 35dac58 | 2001-03-21 15:07:20 +0000 | [diff] [blame] | 127 | - winio.c: |
| 128 | statusq() |
| 129 | - 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] | 130 | |
| 131 | 1.0-test prerelease - 03/17/2001 |
Chris Allegretta | 94a78b8 | 2001-03-14 08:28:48 +0000 | [diff] [blame] | 132 | - nano.c: |
| 133 | do_wrap() |
| 134 | - Added case for autoindenting text causing new line (Adam). |
| 135 | - Added SAMELINE case to above. Added checks to cases 1b and |
| 136 | 2b for placement of cursor. |
Chris Allegretta | 565f7d5 | 2001-03-15 02:02:20 +0000 | [diff] [blame] | 137 | - move.c: |
| 138 | page_down() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 139 | - Check for totlines < editwinrows in check for superfluous |
Chris Allegretta | 565f7d5 | 2001-03-15 02:02:20 +0000 | [diff] [blame] | 140 | edit update (fixed BUG #57). |
Jordi Mallach | 5b387d7 | 2001-02-20 12:45:47 +0000 | [diff] [blame] | 141 | - search.c: |
Chris Allegretta | 74bb31b | 2001-03-14 09:08:14 +0000 | [diff] [blame] | 142 | print_replaced() |
Jordi Mallach | 5b387d7 | 2001-02-20 12:45:47 +0000 | [diff] [blame] | 143 | - s/occurence/occurrence typos (Jordi). |
Chris Allegretta | 74bb31b | 2001-03-14 09:08:14 +0000 | [diff] [blame] | 144 | search_init() |
| 145 | - If using Pico mode and regex and same answer is entered, use |
| 146 | last_search string instead of answer (fixes BUG #56). |
Chris Allegretta | 203ce15 | 2001-02-23 03:05:38 +0000 | [diff] [blame] | 147 | - nano.texi: |
| 148 | - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks). |
Chris Allegretta | 9c9c5da | 2001-02-20 03:53:31 +0000 | [diff] [blame] | 149 | |
Chris Allegretta | a4a222d | 2001-02-20 03:52:13 +0000 | [diff] [blame] | 150 | nano-0.9.99pre3 - 02/19/2001 |
Chris Allegretta | af6414a | 2001-02-11 19:05:05 +0000 | [diff] [blame] | 151 | - General |
Chris Allegretta | 1bf501c | 2001-02-12 03:24:46 +0000 | [diff] [blame] | 152 | GNU compliance issues: |
Jordi Mallach | a7b2ed0 | 2001-02-20 02:04:43 +0000 | [diff] [blame] | 153 | - Reworked shortcut list, put "Get Help" into default list, |
Chris Allegretta | 1bf501c | 2001-02-12 03:24:46 +0000 | [diff] [blame] | 154 | removed "Goto Line", aligned "Read File" with "Write Out" and |
| 155 | "Replace" with "Where is" for consistency. |
| 156 | - Added texinfo manual nano.texi. Added texi options to |
Chris Allegretta | c46dd81 | 2001-02-14 14:28:27 +0000 | [diff] [blame] | 157 | Makefile.am. |
Chris Allegretta | de48b41 | 2001-02-01 22:56:44 +0000 | [diff] [blame] | 158 | - configure.in: |
| 159 | - Autoconf compatibility fixes (Pavel Roskin) |
Chris Allegretta | 618f5d7 | 2001-02-16 04:48:30 +0000 | [diff] [blame] | 160 | - Added separate check for resizeterm(). |
Jordi Mallach | 82b1829 | 2001-02-17 01:31:32 +0000 | [diff] [blame] | 161 | - ALL_LINGUAS: added hu and ca. |
Chris Allegretta | 09f39cb | 2001-02-05 13:43:23 +0000 | [diff] [blame] | 162 | - cut.c: |
| 163 | do_cut_text() |
| 164 | - marked text cut fixes (Rocco) (Fixes bug #54). |
Chris Allegretta | 00ae5df | 2001-02-05 18:24:33 +0000 | [diff] [blame] | 165 | - nano.c: |
Chris Allegretta | 4ed1315 | 2001-02-10 17:50:50 +0000 | [diff] [blame] | 166 | do_delete() |
| 167 | - Added check for current->next == fileptr, as we have a magic |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 168 | line code again, fixes silliness at the end of the last line |
Chris Allegretta | 4ed1315 | 2001-02-10 17:50:50 +0000 | [diff] [blame] | 169 | before the magic line (reported by J.A. Neitzel). |
Chris Allegretta | 00ae5df | 2001-02-05 18:24:33 +0000 | [diff] [blame] | 170 | do_justify() |
| 171 | - If the keystroke after the justify is not the unjustify key, |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 172 | blank the statusbar (bug reported by Neil Parks). |
Chris Allegretta | 8bc03b6 | 2001-02-09 02:57:52 +0000 | [diff] [blame] | 173 | main() |
| 174 | - Added ENABLE_NLS check around gettext stuff. |
Chris Allegretta | 4ce8e3b | 2001-02-16 01:49:31 +0000 | [diff] [blame] | 175 | - winio.c: |
| 176 | do_yesno() |
| 177 | - Added localized yes, no and all strings to function and rewrote |
| 178 | handler for the new format. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 179 | - de.po: |
Jordi Mallach | 8119765 | 2001-02-16 20:00:03 +0000 | [diff] [blame] | 180 | - Translation updates by Florian König. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 181 | - fi.po: |
| 182 | - Translation updates by Pauli Virtanen. |
Chris Allegretta | d096f68 | 2001-02-05 13:51:31 +0000 | [diff] [blame] | 183 | - hu.po: |
| 184 | - Hungarian translation by Horvath Szabolcs. |
Chris Allegretta | b55999e | 2001-02-09 02:49:46 +0000 | [diff] [blame] | 185 | - id.po: |
| 186 | - Translation updates by Tedi Heriyanto. |
Jordi Mallach | 8119765 | 2001-02-16 20:00:03 +0000 | [diff] [blame] | 187 | - es.po: |
Jordi Mallach | 6aec0d6 | 2001-02-17 01:32:58 +0000 | [diff] [blame] | 188 | - Translation updates and grammatical/typo fixes (Jordi). |
Jordi Mallach | 82b1829 | 2001-02-17 01:31:32 +0000 | [diff] [blame] | 189 | - ca.po: |
| 190 | - Catalan translation by Jordi Mallach :) |
Jordi Mallach | a7b2ed0 | 2001-02-20 02:04:43 +0000 | [diff] [blame] | 191 | - Miquel Vidal <miquel@sindominio.net> went over it and corrected |
| 192 | many typos and completed bits that remained untranslated by error. |
Chris Allegretta | 7c1fee7 | 2001-01-31 23:24:54 +0000 | [diff] [blame] | 193 | |
Chris Allegretta | 34318ed | 2001-01-31 23:22:36 +0000 | [diff] [blame] | 194 | nano-0.9.99pre2 - 01/31/2001 |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 195 | General |
Chris Allegretta | d4ddd01 | 2001-01-23 01:17:07 +0000 | [diff] [blame] | 196 | - Removed center_x and center_y globals. center_y was |
| 197 | completely unused and center_x was only used a few places, |
Chris Allegretta | 17276e5 | 2001-01-23 01:22:32 +0000 | [diff] [blame] | 198 | easily replaced with COLS / 2 (oops, not current_x & y (Rob)). |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 199 | - Deleted free_node, duplicate of delete_node, and changed all |
| 200 | free_node calls to delete_node. |
Chris Allegretta | 0802088 | 2001-01-29 23:37:54 +0000 | [diff] [blame] | 201 | - Fix for resizing the window in modes other than normal edit mode |
| 202 | Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco). |
Chris Allegretta | 0fc2b81 | 2001-01-18 15:04:20 +0000 | [diff] [blame] | 203 | - files.c: |
| 204 | write_file() |
| 205 | - Don't free() realname on error, if it needs to be free()d later |
| 206 | it will be (fixes crash on successful write after failed write, |
| 207 | discovered by David Sobon). |
Chris Allegretta | 8d9b11a | 2001-01-19 04:17:24 +0000 | [diff] [blame] | 208 | username_tab_completion() |
| 209 | - Optimization and removal of useless vars (Rocco). |
Chris Allegretta | 2c2c5f2 | 2001-01-23 03:27:31 +0000 | [diff] [blame] | 210 | - Rewritten using getpwent (suggested by Rocco). |
Chris Allegretta | a711f7e | 2001-01-23 04:16:31 +0000 | [diff] [blame] | 211 | - Removed redundant conditional (Rocco). |
Chris Allegretta | ee733e6 | 2001-01-22 22:17:08 +0000 | [diff] [blame] | 212 | real_dir_from_tilde() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 213 | - Rewritten using getpwent (suggested by Adam, much optimized by |
| 214 | Rocco). |
Chris Allegretta | f0b26df | 2001-01-20 22:18:18 +0000 | [diff] [blame] | 215 | - global.c: |
| 216 | - Don't define toggles global or toggle_init_one if using --tiny. |
Chris Allegretta | 17dcb72 | 2001-01-20 21:40:07 +0000 | [diff] [blame] | 217 | - nano.c: |
| 218 | do_justify() |
| 219 | - Added restoration of totsize after unjustify command. |
Chris Allegretta | 7f7ce56 | 2001-01-21 16:35:49 +0000 | [diff] [blame] | 220 | usage() |
Chris Allegretta | e9a2d03 | 2001-01-21 16:08:21 +0000 | [diff] [blame] | 221 | - Add arg to -T help (Rocco). |
Chris Allegretta | 0a06e07 | 2001-01-23 02:35:04 +0000 | [diff] [blame] | 222 | global_init(), handle_sigwinch() |
| 223 | - Messy loops replaced with memset calls (Rocco). |
Chris Allegretta | 169ee84 | 2001-01-26 01:57:32 +0000 | [diff] [blame] | 224 | do_alt_speller() |
| 225 | - Added code to parse multi-word alt_speller strings. |
Chris Allegretta | e434b45 | 2001-01-27 19:25:00 +0000 | [diff] [blame] | 226 | - Fix initialization before fork() (Rocco). |
Chris Allegretta | 34318ed | 2001-01-31 23:22:36 +0000 | [diff] [blame] | 227 | - proto.h: |
| 228 | - Fix do_credits() proto (oops!) |
Chris Allegretta | e434b45 | 2001-01-27 19:25:00 +0000 | [diff] [blame] | 229 | - winio.c: |
| 230 | nanogetstr() |
| 231 | - Sanity check for x overrunning the string buffer len. |
Chris Allegretta | 76745fb | 2001-01-18 04:40:06 +0000 | [diff] [blame] | 232 | |
Chris Allegretta | 9d6f3f3 | 2001-01-21 02:35:03 +0000 | [diff] [blame] | 233 | nano 0.9.99pre1 - 01/17/2001 |
Chris Allegretta | a4d6d1d | 2001-01-10 23:44:10 +0000 | [diff] [blame] | 234 | General |
| 235 | - Changed #ifdefs to check for both DISABLE_TABCOMP and |
| 236 | NANO_SMALL, makes tiny option leave out tab completion, which |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 237 | should be left out in that circumstance. Saves at least 5k. |
Rocco Corsi | 06aca1c | 2001-01-11 05:30:31 +0000 | [diff] [blame] | 238 | - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 239 | back. (Rocco) |
| 240 | - Various #ifdef & #ifndef cleanups. (Rocco) |
Chris Allegretta | 201d9bf | 2001-01-14 03:17:53 +0000 | [diff] [blame] | 241 | - Added message for when keypad goes awry. Added code in main and |
| 242 | function print_numlock_warning() to notify user, and added an |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 243 | appropriate section in the faq to refer to this brokenness. |
Chris Allegretta | e61e830 | 2001-01-14 05:18:27 +0000 | [diff] [blame] | 244 | - 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] | 245 | nano.c:global_init(). (Rocco) |
Chris Allegretta | bbebec6 | 2001-01-09 00:37:32 +0000 | [diff] [blame] | 246 | - configure.in: |
| 247 | - Fix for _use_keypad check breaking slang support (Christian |
| 248 | Weisgerber). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 249 | - Changed to automatically define the 5 DISABLE variables when |
Chris Allegretta | 4ee0b41 | 2001-01-11 15:11:00 +0000 | [diff] [blame] | 250 | NANO_SMALL (enable-tiny) is requested at configure. |
Chris Allegretta | 2c4feca | 2001-01-09 17:40:56 +0000 | [diff] [blame] | 251 | - faq.html: |
| 252 | - Added some info on making the binary smaller with the configure |
| 253 | script. |
Chris Allegretta | 201d9bf | 2001-01-14 03:17:53 +0000 | [diff] [blame] | 254 | - Added section on keypad bugginess. |
Chris Allegretta | bf69261 | 2001-01-08 16:59:19 +0000 | [diff] [blame] | 255 | - files.c: |
| 256 | real_dir_from_tilde() |
| 257 | - Oops, fix case where buf ="~", silly crash (bug discovered by |
| 258 | Neil Parks). |
Chris Allegretta | 8eac3b5 | 2001-01-08 21:14:04 +0000 | [diff] [blame] | 259 | do_browser() |
| 260 | - Added space and - keys to do page up and down. |
Chris Allegretta | a35ec04 | 2001-01-15 02:26:12 +0000 | [diff] [blame] | 261 | cwd_tab_completion(), input_tab() |
| 262 | - Changed bare malloc/calloc calls to nmalloc (found by Rocco). |
Chris Allegretta | 4058709 | 2001-01-16 04:45:38 +0000 | [diff] [blame] | 263 | - Added memset() to matchBuf to ensure sanity (Rocco, Adam). |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 264 | - nano.c: |
Chris Allegretta | 1748cd1 | 2001-01-13 17:22:54 +0000 | [diff] [blame] | 265 | ABCD() |
| 266 | - New function, figures out what kbinput to return given |
| 267 | input common to several switch statements, allows us to |
| 268 | support the default Konsole key settings. |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 269 | main() |
| 270 | - Alternate speller option no longer valid if DISABLE_SPELLER is |
| 271 | active. (Rocco) |
Chris Allegretta | ae4318d | 2001-01-16 04:18:26 +0000 | [diff] [blame] | 272 | - Removed direct calls to usage() (#else) for -k (cut) or -s (speller) |
| 273 | options when these have been disabled. (Rocco) |
Chris Allegretta | 3693944 | 2001-01-15 20:26:38 +0000 | [diff] [blame] | 274 | - Initialized kbinput to get around stupid compiler warning. |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 275 | nano_small_msg() |
| 276 | - This function has been removed. All references now call |
| 277 | nano_disabled_msg. (Rocco) |
| 278 | version() |
| 279 | - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE |
| 280 | variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not |
| 281 | reported as enabled when Nano is called with -V (--version) |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 282 | command line option. (Rocco) |
Rocco Corsi | af5c302 | 2001-01-12 07:51:05 +0000 | [diff] [blame] | 283 | usage() |
| 284 | - Alternate speller option no longer valid if DISABLE_SPELLER is |
| 285 | active. (Rocco) |
Chris Allegretta | e61e830 | 2001-01-14 05:18:27 +0000 | [diff] [blame] | 286 | window_init(), handle_sigwinch() |
| 287 | - Added check for not having enough LINES to do anything useful, |
| 288 | if so die with an error. (Rocco) |
| 289 | die_too_small() |
| 290 | - Function to print the window too small error message, avoids |
| 291 | repeated string defs and globals. |
Robert Siemborski | c2eeb4e | 2001-01-17 03:29:02 +0000 | [diff] [blame] | 292 | do_justify() |
| 293 | - Small fix for totsize calculation (Rob) |
| 294 | |
Chris Allegretta | d9742c6 | 2001-01-12 15:51:53 +0000 | [diff] [blame] | 295 | - fi.po: |
| 296 | - Update by Pauli Virtanen. |
Chris Allegretta | 7e08082 | 2001-01-08 02:31:03 +0000 | [diff] [blame] | 297 | |
Chris Allegretta | 1699144 | 2001-01-07 22:06:11 +0000 | [diff] [blame] | 298 | nano 0.9.25 - 01/07/2001 |
Chris Allegretta | f4b9601 | 2001-01-03 07:11:47 +0000 | [diff] [blame] | 299 | General - |
| 300 | - New file browser code. New functions in files.c:do_browser(), |
| 301 | helper functions browser_init(), tail(), striponedir(), |
| 302 | filestat(). New shortcut list browser_list. Some new |
Chris Allegretta | 150469a | 2001-01-05 21:13:14 +0000 | [diff] [blame] | 303 | strings to translate. Added function do_browse_from(). |
Chris Allegretta | c08f50d | 2001-01-06 18:12:43 +0000 | [diff] [blame] | 304 | - Keypad code has been changed slightly. Now checks for |
| 305 | _use_keypad flag in window to see whether or not to turn |
| 306 | the keypad() back off when finished (taken from aumix). Moved |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 307 | to winio.c where it should probably be anyway. New configure |
| 308 | check for _use_keypad in window struct. This will have to do |
Chris Allegretta | c08f50d | 2001-01-06 18:12:43 +0000 | [diff] [blame] | 309 | for now. |
Chris Allegretta | 155d620 | 2001-01-08 01:50:37 +0000 | [diff] [blame] | 310 | - Moved keypad() calls for PDCURSES from main() to window_init() |
| 311 | so the keypad continues to work after a Meta-X, for example. |
| 312 | Fixed bug #51. |
Jordi Mallach | 56e6d72 | 2000-12-19 22:59:55 +0000 | [diff] [blame] | 313 | - faq.html: |
| 314 | - Fix typos and small mistakes (Jordi). |
Chris Allegretta | ee289d7 | 2000-12-27 16:12:47 +0000 | [diff] [blame] | 315 | - files.c: |
Rocco Corsi | 8b6cccc | 2001-01-02 06:21:07 +0000 | [diff] [blame] | 316 | username_tab_completion() |
| 317 | - Added the (char *) sizeof when allocating memory for the filename |
| 318 | array (Rocco). |
Chris Allegretta | ee289d7 | 2000-12-27 16:12:47 +0000 | [diff] [blame] | 319 | cwd_tab_completion() |
| 320 | - removed skipping . and .. when tabulating matches. |
Rocco Corsi | 8b6cccc | 2001-01-02 06:21:07 +0000 | [diff] [blame] | 321 | - Added the (char *) sizeof when allocating memory for the filename |
| 322 | array (Rocco). |
Chris Allegretta | e1ebaf3 | 2001-01-07 05:50:36 +0000 | [diff] [blame] | 323 | do_writeout() |
| 324 | - Now takes an argument so the string typed in can be retained |
| 325 | when calling the browser. |
Chris Allegretta | 816a165 | 2001-01-06 17:43:56 +0000 | [diff] [blame] | 326 | do_browser() |
| 327 | - Don't decrement longest by the length of path. Fixes crashes |
| 328 | on entering various dirs (Rocco). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 329 | - Don't ungetch() the exit key, unneeded, fixes inserting a file |
Chris Allegretta | 816a165 | 2001-01-06 17:43:56 +0000 | [diff] [blame] | 330 | causes exit code. |
Chris Allegretta | 155d620 | 2001-01-08 01:50:37 +0000 | [diff] [blame] | 331 | - move.c: |
| 332 | page_down() |
| 333 | - Don't do an edit_update when there is only one page of text |
| 334 | (fileage == edittop && filebot == editbot). Fixes Bug #50. |
Chris Allegretta | d55655f | 2000-12-27 03:36:47 +0000 | [diff] [blame] | 335 | - nano.c: |
| 336 | main() |
| 337 | - Reorder the getopt options to be more or less alphabetical |
| 338 | (suggested by Sven Guckes). |
Chris Allegretta | 66795ec | 2000-12-27 04:47:28 +0000 | [diff] [blame] | 339 | - winio.c: |
| 340 | do_cursorpos() |
| 341 | - Optimizations and cleanups by Rocco Corsi. |
Chris Allegretta | 827b15f | 2001-01-03 02:09:04 +0000 | [diff] [blame] | 342 | do_credits() |
| 343 | - Spell Erik Andersen's name right. |
Chris Allegretta | f4b9601 | 2001-01-03 07:11:47 +0000 | [diff] [blame] | 344 | titlebar() |
| 345 | - Now takes an arg, needed for browser function. |
Chris Allegretta | 7044489 | 2001-01-07 23:02:02 +0000 | [diff] [blame] | 346 | do_help() |
| 347 | - Changed way of temporarily bringing up shortcuts at the |
| 348 | bottom in the help screen (actually works). |
Chris Allegretta | 150469a | 2001-01-05 21:13:14 +0000 | [diff] [blame] | 349 | - utils.c: |
| 350 | mallocstrcpy() |
| 351 | - Takes char pointers now instead of void (makes debugging a |
| 352 | helluva lot easier) |
Chris Allegretta | e1ebaf3 | 2001-01-07 05:50:36 +0000 | [diff] [blame] | 353 | - Duh, don't do anything if src == dest! |
Jordi Mallach | 75ef81b | 2001-01-04 16:48:59 +0000 | [diff] [blame] | 354 | - es.po: |
| 355 | - Updates for file browser (Jordi). |
Chris Allegretta | 827b15f | 2001-01-03 02:09:04 +0000 | [diff] [blame] | 356 | |
Chris Allegretta | 66149e7 | 2000-12-19 02:51:06 +0000 | [diff] [blame] | 357 | nano 0.9.24 - 12/18/2000 |
Chris Allegretta | 3bc8c72 | 2000-12-10 17:03:25 +0000 | [diff] [blame] | 358 | General |
| 359 | - Added --disable-help option, affects acconfig.h, configure(.in), |
Chris Allegretta | b7d00ef | 2000-12-18 05:36:51 +0000 | [diff] [blame] | 360 | winio.c:do_help, nano.c:help_init,help_text_init,version. |
Chris Allegretta | 1a6e904 | 2000-12-14 13:56:28 +0000 | [diff] [blame] | 361 | - Changed filename to no longer use PATH_MAX, so it can work on the |
| 362 | HURD. Changes in files.c:write_file(), new function |
| 363 | nano.c:clear_filename(), many changed in main(), a few other |
| 364 | places. Please test this! |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 365 | - Added -b, -e, and -f flags, which we ignore as nano provides |
| 366 | their functionality already. |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 367 | - cut.c: |
| 368 | do_uncut_text() |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 369 | - Fix renumbering bug when uncutting marked text at filebot. |
Chris Allegretta | 5146fec | 2000-12-10 05:44:02 +0000 | [diff] [blame] | 370 | - Fix screen not being displayed when we are uncutting marked |
| 371 | text at editbot (Bug discovered by Ken Tyler). |
Chris Allegretta | e51c95f | 2000-12-10 05:54:27 +0000 | [diff] [blame] | 372 | - Fix magic line not getting created when (you guessed it) |
| 373 | uncutting marked text at filebot (Ryan Krebs). |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 374 | - files.c: |
Chris Allegretta | 3a7c0be | 2000-12-18 01:09:07 +0000 | [diff] [blame] | 375 | read_file() |
| 376 | - If we encounter an error and insert is not set, run new_file(). |
| 377 | (bug discovered by Ben Roberts). |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 378 | write_file() |
| 379 | - Change open call flags, basically copy joe's way of doing it so |
| 380 | a more recent version will actually be included in (un)stable. |
Chris Allegretta | 1cd5066 | 2000-12-11 02:47:12 +0000 | [diff] [blame] | 381 | - Remove useless fstat call. |
Chris Allegretta | 7960dcf | 2000-12-13 15:01:29 +0000 | [diff] [blame] | 382 | open_file() |
| 383 | - 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] | 384 | - nano.c: |
| 385 | renumber() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 386 | - Don't stupidly assign the value of prev->lineno if prev == NULL! |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 387 | main() |
| 388 | - Added code to check for Alt-Alt (27-27) keystrokes and set the |
| 389 | next keystroke as a control sequence. New variable |
| 390 | modify_control_key. Removed #ifdef _POSIX_VDISABLE check |
| 391 | around Control-S,Q,Z handlers because we need it now for |
| 392 | the Alt-Alt-x code. |
Chris Allegretta | 7492cec | 2000-12-18 04:55:21 +0000 | [diff] [blame] | 393 | - Added --view option to getopt_long()call . Bug discovered |
| 394 | by Rocco Corsi. |
Chris Allegretta | 220ba69 | 2000-12-18 03:40:00 +0000 | [diff] [blame] | 395 | help_init() |
| 396 | - 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] | 397 | ^_ in pico mode not be displayed in the help (bug discovered by |
| 398 | Rocco Corsi). |
Chris Allegretta | affeda8 | 2000-12-18 04:03:48 +0000 | [diff] [blame] | 399 | do_toggle() |
| 400 | - Added fix_editbot() call to fix improper redisplay of edit |
| 401 | window when using nohelp toggle (bug discovered by Rocco Corsi). |
Chris Allegretta | 51b3eec | 2000-12-18 02:23:50 +0000 | [diff] [blame] | 402 | - nano.1, nano.1.html: |
| 403 | - Updated man page for -b, -e, -f and expanded explanation for -p. |
Chris Allegretta | d1627cf | 2000-12-18 05:03:16 +0000 | [diff] [blame] | 404 | - winio.c |
| 405 | do_help() |
| 406 | - Force keypad on so F-keys and PageUp/Down will work properly. |
| 407 | Added check for NANO_EXIT_FKEY to loop. |
Chris Allegretta | e51c95f | 2000-12-10 05:54:27 +0000 | [diff] [blame] | 408 | - utils.c: |
| 409 | new_magicline() |
Chris Allegretta | 321590a | 2000-12-10 06:03:40 +0000 | [diff] [blame] | 410 | - Increment totsize!! We decrement it when we've read a file, |
| 411 | everywhere else it should automatically be incremented |
Chris Allegretta | ef12311 | 2000-12-10 00:04:13 +0000 | [diff] [blame] | 412 | |
Chris Allegretta | b29550e | 2000-12-09 03:34:12 +0000 | [diff] [blame] | 413 | nano 0.9.23 - 12/08/2000 |
Chris Allegretta | 7b36c52 | 2000-12-06 01:08:10 +0000 | [diff] [blame] | 414 | General |
| 415 | - Changed --disable-spell to --disable speller. The term is |
| 416 | "speller" for -s, so it should be --disable-speller. |
Chris Allegretta | 5982849 | 2000-12-04 03:31:39 +0000 | [diff] [blame] | 417 | - files.c: |
| 418 | write_file() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 419 | - Added tmp check to TMP_OPT section (how appropriate). |
Chris Allegretta | 07f9ee0 | 2000-12-04 05:15:39 +0000 | [diff] [blame] | 420 | - Added new consistency checking code from securityfocus |
Chris Allegretta | fb2226a | 2000-12-04 05:25:47 +0000 | [diff] [blame] | 421 | article by Oliver Friedrichs, and use O_EXCL if tmp == 1. |
Chris Allegretta | 928a7f5 | 2000-12-04 05:31:34 +0000 | [diff] [blame] | 422 | - We now run check on result of lstat(), not stat(), to be |
| 423 | safer. New variable anyexists, we use still use realexists |
| 424 | later in the program. |
Chris Allegretta | 71e4640 | 2000-12-06 00:40:26 +0000 | [diff] [blame] | 425 | - OOPS, line up link/unlink/rename check if conditional with |
| 426 | top if conditional. Option -l has been broken for 9 versions, |
| 427 | no one noticed?! |
Chris Allegretta | 1bd0ce2 | 2000-12-06 05:56:08 +0000 | [diff] [blame] | 428 | - Added saving perms at end of link so we can apply them to the |
| 429 | new file if --nofollow is used. |
Chris Allegretta | 908805a | 2000-12-04 04:42:56 +0000 | [diff] [blame] | 430 | - winio.c: |
| 431 | edit_add() |
| 432 | - Off by one display error (fix by Rocco Corsi). |
Chris Allegretta | fb62f73 | 2000-12-05 11:36:41 +0000 | [diff] [blame] | 433 | do_replace_highlight() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 434 | - New code to handle being past COLS (Rocco Corsi). |
Chris Allegretta | fb62f73 | 2000-12-05 11:36:41 +0000 | [diff] [blame] | 435 | - Moved from search.c, as it's definitely a winio function now =) |
| 436 | update_line() |
| 437 | - More '$' display fixes (Rocco Corsi). |
Chris Allegretta | 5982849 | 2000-12-04 03:31:39 +0000 | [diff] [blame] | 438 | |
Chris Allegretta | fedd724 | 2000-12-03 03:15:38 +0000 | [diff] [blame] | 439 | nano 0.9.22 - 12/02/2000 |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 440 | - General |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 441 | - Username tab completion code, and cleaned up existing tabcomp |
| 442 | code. New functions real_dir_from_tide(), append_slash_if_dir(), |
| 443 | username_tab_completion is more than a stub now =-). |
Chris Allegretta | 7262358 | 2000-11-29 23:43:28 +0000 | [diff] [blame] | 444 | - Ignore key sequence 543 & 545, right control and alt keys in |
| 445 | windows. Affects main() and winio.c:nanogetstr(). |
Chris Allegretta | 56b24b5 | 2000-11-29 23:57:20 +0000 | [diff] [blame] | 446 | - Took out help from spell_list and changed SPELL_LIST_LEN to 1. |
| 447 | Is using a spell checker THAT difficult? =-) |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 448 | - New function nano_disabled_msg(), to alert that certain |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 449 | functions have been disabled, similar to nano_tiny feature. |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 450 | - New configure options: |
| 451 | - Added configure argument --disable-tabcomp. Affects |
| 452 | bottom of files.c and write_file, utils.c:check_wildcard_match() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 453 | and winio.c:nanogetstr(). |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 454 | - New options --enable-extra. New code in nano.c:version() to |
| 455 | print out various options from ./configure, function do_credits(). |
| 456 | - Added --disable-spell option for those who want to just disable |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 457 | the spell check feature. Affects the spelling functions |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 458 | do_spell, do_int_speller and do_alt_speller. |
| 459 | - Added --disable-justify to get rid of the justify function. |
| 460 | Affects do_justify() (not surprisingly). |
Chris Allegretta | 650e8a4 | 2000-11-24 14:15:17 +0000 | [diff] [blame] | 461 | - files.c: |
| 462 | write_file() |
| 463 | - Unsetting modified on temp files bug fixed (Rocco Corsi). |
Chris Allegretta | 581bc60 | 2000-12-03 03:01:12 +0000 | [diff] [blame] | 464 | - Okay, if tmp == 1 and the file exists, we abort. |
Chris Allegretta | 25f4e58 | 2000-11-25 05:03:20 +0000 | [diff] [blame] | 465 | do_insertfile() |
Chris Allegretta | 09a8084 | 2000-11-30 02:31:13 +0000 | [diff] [blame] | 466 | - Added call to real_name_from tilde, oops. Added check for |
| 467 | DISABLE_TABCOMP. |
Chris Allegretta | 24946bd | 2000-11-26 21:34:47 +0000 | [diff] [blame] | 468 | read_file() |
| 469 | - Added check for fileptr == NULL. |
Chris Allegretta | 0779835 | 2000-11-27 22:58:23 +0000 | [diff] [blame] | 470 | - global.c: |
| 471 | shortcut_init() |
| 472 | - Now takes an argument as to whether to display the unjustify |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 473 | shortcut or the normal uncut text one. Needed to accommodate |
| 474 | the kludgey unjustify code. |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 475 | - nano.1, nano.1.html: |
| 476 | - Updated date on pages because of -p changes. |
Jordi Mallach | d7ad75a | 2000-12-03 02:46:02 +0000 | [diff] [blame] | 477 | - Added "NOTES" section, where I explain what nano.save & friends |
| 478 | are. |
| 479 | - Added a copyright notice for the manpage, under the GPL. |
| 480 | - Other minor changes. |
Chris Allegretta | 9149e61 | 2000-11-27 00:23:41 +0000 | [diff] [blame] | 481 | - nano.c: |
| 482 | do_justify() |
Chris Allegretta | 8be8ce2 | 2000-11-28 02:15:30 +0000 | [diff] [blame] | 483 | - Wrote unjustify code. Borrows cutbuffer and stores the unjustified |
| 484 | text there, then grabs the next keystroke and, if the unjustify |
| 485 | key, gets rid of the justified text and calls do_uncut_text. |
| 486 | Added macro NANO_UNJUSTIFY_KEY. |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 487 | do_int_spell* |
| 488 | - Various fixes (Rocco Corsi). |
| 489 | - Changed abort of program to aborting based on value of "edit a |
| 490 | replacement" question, and not caring about the replace loop |
| 491 | return value. That way the user can get out of the replace loop |
| 492 | and continue spell checking (very important to me anyway). |
Chris Allegretta | ff269f8 | 2000-12-01 18:46:01 +0000 | [diff] [blame] | 493 | version() |
| 494 | - Took out huge check for the various --disabled macros, |
| 495 | eventually there will be too many to reasonably check for. |
Chris Allegretta | 4eb7aa0 | 2000-12-01 18:57:11 +0000 | [diff] [blame] | 496 | nano_small_msg(), nano_disabled_msg() |
| 497 | - Added checks for disabled functions to see whether or not to |
| 498 | declare them. |
Chris Allegretta | 9e2934f | 2000-12-01 23:49:48 +0000 | [diff] [blame] | 499 | do_next_word() |
| 500 | - Update the previous line as well as the current one in case we |
| 501 | have moved beyond COLS or back from COLS, patch submitted |
| 502 | by Ryan Krebs. |
Chris Allegretta | e7a5893 | 2000-12-02 02:36:22 +0000 | [diff] [blame] | 503 | die() |
| 504 | - Now creates .save file using variable-length strings. Also |
| 505 | calls write_file with tmp == 1, which happens to do exactly what |
Chris Allegretta | 581bc60 | 2000-12-03 03:01:12 +0000 | [diff] [blame] | 506 | we want (abort on save file exists and use mode 0600). |
Chris Allegretta | e7a5893 | 2000-12-02 02:36:22 +0000 | [diff] [blame] | 507 | handle_sighup() |
| 508 | - Now calls die instead of writing on its own and exiting normally. |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 509 | - search.c: |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 510 | do_replace_highlight() |
| 511 | - New function, displays the currently selected word as highlighted |
Chris Allegretta | d00e6df | 2000-11-29 04:33:26 +0000 | [diff] [blame] | 512 | in the spell check. Called from do_replace_loop (Rocco Corsi). |
Jordi Mallach | 7254904 | 2001-05-02 17:18:17 +0000 | [diff] [blame] | 513 | - Added calls to curs_set(0) and (1) to disable the cursor when |
| 514 | highlighting, looks much better. |
Jordi Mallach | d819a4c | 2000-11-25 04:50:25 +0000 | [diff] [blame] | 515 | - es.po: |
| 516 | - Traditional Spanish strings updates. |
Chris Allegretta | be77c61 | 2000-11-24 14:00:16 +0000 | [diff] [blame] | 517 | |
Chris Allegretta | ca7a21d | 2000-11-24 01:35:40 +0000 | [diff] [blame] | 518 | nano 0.9.21 - 11/23/2000 |
Chris Allegretta | f26bca7 | 2000-11-21 03:04:45 +0000 | [diff] [blame] | 519 | - AUTHORS |
| 520 | - Added Rocco Corsi. |
Chris Allegretta | 31c7666 | 2000-11-21 06:20:20 +0000 | [diff] [blame] | 521 | - nano.c: |
| 522 | main() |
| 523 | - Changed check for argc == 1 to argv[optind] == NULL to decide |
| 524 | whether or not to display "New File" in the statusbar. |
Chris Allegretta | aaabe1f | 2000-11-19 18:20:07 +0000 | [diff] [blame] | 525 | - search.c: |
| 526 | findnextstr() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 527 | - Fix current_x increment bug by using another variable (Rocco Corsi). |
Chris Allegretta | ef601bb | 2000-11-19 19:15:03 +0000 | [diff] [blame] | 528 | search_init() |
| 529 | - Silly typo in our "one simple call" of statusq. Stopped |
| 530 | previous search string from being displayed. |
Chris Allegretta | c793c43 | 2000-11-21 12:52:55 +0000 | [diff] [blame] | 531 | do_replace() |
| 532 | - Copy back the previous value of last_replace into answer if |
| 533 | using PICO_MODE and answer == "" |
Chris Allegretta | 6c5781b | 2000-11-23 01:19:58 +0000 | [diff] [blame] | 534 | - winio.c: |
| 535 | do_up() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 536 | - Deleted first update_line() call, screws up display when marker is |
| 537 | set. |
Chris Allegretta | d466ab7 | 2000-11-19 20:36:41 +0000 | [diff] [blame] | 538 | - nano.1, nano.1.html |
| 539 | - Updated man page for new -p definition. |
Chris Allegretta | ac0e63a | 2000-11-19 02:25:43 +0000 | [diff] [blame] | 540 | |
Chris Allegretta | 6da149a | 2000-11-19 02:23:03 +0000 | [diff] [blame] | 541 | nano 0.9.20 - 11/18/2000 |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 542 | - General |
| 543 | - Ran source through indent -kr again. Make everything pretty. |
| 544 | - Changed behavior of "search" and "replace" prompts to make all |
| 545 | previous values editable. This change was made so that you can |
| 546 | replace with the null string without needing a special key for it. |
| 547 | changed code in search_init(), do_replace(), nanogetstr (see |
| 548 | below). |
| 549 | - Added some missing gettext calls here and there (Jordi). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 550 | - Revamped nanogetstr() and calls to it to use variable length |
| 551 | strings. |
Chris Allegretta | 67574f4 | 2000-11-03 03:35:29 +0000 | [diff] [blame] | 552 | MANY changes in nanogetstr(), many chances in search.c, new |
| 553 | function mallocstrcpy which is sure to be a programmatic |
| 554 | nightmare, changed last_search, last_replace, answer to |
| 555 | pointers. New function not_found_msg in search.c for displaying |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 556 | truncated strings in statusbar when the string is not found |
Chris Allegretta | cbb0f8b | 2000-11-15 03:50:02 +0000 | [diff] [blame] | 557 | (-pedantic fixes by Rocco Corsi). We disable this feature when |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 558 | using PICO_MODE (-p). |
Chris Allegretta | 27eb13f | 2000-11-05 16:52:21 +0000 | [diff] [blame] | 559 | - New spelling code by Rocco Corsi. New functions |
| 560 | do_int_speller, do_alt_speller, changes to do_spell in nano.c, |
| 561 | New functions search_init_globals and do_replace_loop, changes |
| 562 | to search_init(), do_replace, findnextstr, moved last_search and |
| 563 | last_replace back to nano.c (*shrug*). |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 564 | - New tab completion code. Used check_wildcard_match, input_tab, |
| 565 | cwd_tab_completion, username_tab_completion from busybox, |
Chris Allegretta | 7da4e9f | 2000-11-06 02:57:22 +0000 | [diff] [blame] | 566 | hacked them a lot, changes to nanogetstr(). nanogetstr() and |
| 567 | statusq() now take an arg for whether or not to allow tab |
| 568 | completion. |
Chris Allegretta | 5bf51d3 | 2000-11-16 06:01:10 +0000 | [diff] [blame] | 569 | - Fixed value being input in statusbar during a search or replace |
| 570 | and CASE_SENSITIVE or the other search is called and the |
| 571 | string being typed in is blown away. Reported by Ken Tyler. |
Chris Allegretta | bf9a8cc | 2000-11-17 01:37:39 +0000 | [diff] [blame] | 572 | - Changed PICO_MSGS flag to PICO_MODE, changed help strings |
| 573 | accordingly. |
Chris Allegretta | 92d2bab | 2000-11-02 14:53:46 +0000 | [diff] [blame] | 574 | - files.c: |
| 575 | do_writeout() |
| 576 | - Change strcpy to answer to mallocstrcpy. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 577 | - global.c |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 578 | - New global replace_list_2, for 2nd half of the replace dialog |
| 579 | ("Replace with:"), has fewer options than first half because |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 580 | they were inappropriate. |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 581 | toggle_init() |
| 582 | - Added #ifdef around toggle_regex_msg to get rid of compiler |
| 583 | warning. |
Chris Allegretta | 1cc0b7f | 2000-11-03 01:29:04 +0000 | [diff] [blame] | 584 | |
| 585 | - nano.c: |
| 586 | keypad_on() |
| 587 | - New function, toggles turning the keypad on and off in edit and |
| 588 | bottomwin(). Added call to this in finish(), fixes bug #45. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 589 | - search.c |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 590 | findnextstr() |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 591 | - New arg for begin_x variable, basically a rewrite that |
| 592 | makes a little more sense and isn't quite as messy (Rocco Corsi). |
| 593 | - Update the line we're checking if not the whole screen, because |
| 594 | it's quite possible the search team could exist somewhere way |
| 595 | to the right on the same line, for example. |
| 596 | replace_abort() |
| 597 | - Add reset of placewewant, stops cursor from jumping when moving |
| 598 | cursor after a replace. |
Chris Allegretta | 810632d | 2000-10-27 04:36:01 +0000 | [diff] [blame] | 599 | do_replace() |
| 600 | - Added code for Gotoline key after entering the search term. |
| 601 | Fixes bug #46. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 602 | - Removed redundant code involving processing replacement string. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 603 | Converted if statements to switch statements. |
| 604 | - Optimizations by Rocco Corsi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 605 | - Removed code for deleted shortcuts from in replace_list_2. |
Chris Allegretta | 9c371a2 | 2000-10-27 05:48:05 +0000 | [diff] [blame] | 606 | do_search() |
| 607 | - Converted if statements to one switch statement. |
Chris Allegretta | f9b6c9b | 2000-10-18 19:35:59 +0000 | [diff] [blame] | 608 | - winio.c |
| 609 | nanogetstr() |
| 610 | - Added check for 343 in while loop to get rid of getting "locked" |
| 611 | into statusbar" bug in odd $TERMs like iris-ansi. |
Chris Allegretta | 105da33 | 2000-10-31 05:10:10 +0000 | [diff] [blame] | 612 | - Changed check to return -2 on "enter" from answer == "" |
| 613 | to answer == def. |
Chris Allegretta | 04d848e | 2000-11-05 17:54:41 +0000 | [diff] [blame] | 614 | - Fixed fallthrough code because there was no break. Make much |
| 615 | more sense now. |
Chris Allegretta | 5b1faac | 2000-11-16 19:55:30 +0000 | [diff] [blame] | 616 | - Added check for ASCII 54[124] when using PDCURSES, ignore them |
| 617 | if noticed. |
Chris Allegretta | a0e957b | 2000-10-24 22:25:36 +0000 | [diff] [blame] | 618 | nanoget_repaint() |
| 619 | - New function, removes about 30 lines of duplicate code in |
| 620 | nanogetstr(). |
Chris Allegretta | 90594e2 | 2000-11-02 15:53:40 +0000 | [diff] [blame] | 621 | - Black magic code to make $ appear in prompt if we're past |
| 622 | COLS. |
Chris Allegretta | 2c97522 | 2000-11-15 01:25:42 +0000 | [diff] [blame] | 623 | blank_edit() |
| 624 | - Removed wrefresh() call, much less choppy now. If there's a need |
| 625 | for a wrefresh after a specific call, let me know. |
Jordi Mallach | 0ae0dcd | 2000-10-28 12:38:02 +0000 | [diff] [blame] | 626 | - es.po: |
Jordi Mallach | d25385b | 2000-11-18 03:31:21 +0000 | [diff] [blame] | 627 | - Updated translation for 0.9.20 (Jordi). |
Chris Allegretta | d7934d4 | 2000-10-03 05:39:29 +0000 | [diff] [blame] | 628 | |
Chris Allegretta | 07e97d6 | 2000-10-03 01:52:50 +0000 | [diff] [blame] | 629 | nano 0.9.19 - 10/02/2000 |
Chris Allegretta | ad1dacc | 2000-09-21 04:25:45 +0000 | [diff] [blame] | 630 | - General |
| 631 | - Added PDCurses support under cygwin, which allows building |
| 632 | a nice stand-alone nano.exe for those poor Windows users. |
| 633 | Extra check in configure.in for initscr() in -lcurses (as |
| 634 | PDcurses has no tgetent), some #ifdef PDCURSES statements |
| 635 | in main(). |
Chris Allegretta | 66989d6 | 2000-09-27 03:16:11 +0000 | [diff] [blame] | 636 | - Changed web site and email to new nano-editor.org domain. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 637 | - nano.c |
Chris Allegretta | 9e7efa3 | 2000-10-02 03:42:55 +0000 | [diff] [blame] | 638 | - Added (int) casts to remove compile warnings with -Wall. |
Chris Allegretta | 7c44b68 | 2000-09-21 04:27:01 +0000 | [diff] [blame] | 639 | main() |
| 640 | - Added check for _POSIX_VDISABLE around term variable definition. |
Chris Allegretta | df3afdc | 2000-10-01 17:50:29 +0000 | [diff] [blame] | 641 | - search.c |
| 642 | - Added initializations for last_search and last_replace (Rocco Corsi) |
| 643 | |
Chris Allegretta | 629edad | 2000-09-19 00:27:19 +0000 | [diff] [blame] | 644 | nano 0.9.18 - 09/18/2000 |
Chris Allegretta | 805c26d | 2000-09-06 13:39:17 +0000 | [diff] [blame] | 645 | - General |
| 646 | - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, |
| 647 | added check for regex.h in configure.in. |
Chris Allegretta | 90bd712 | 2000-09-13 18:12:05 +0000 | [diff] [blame] | 648 | - configure.in: |
| 649 | - Added default case for cross-compiling to get rid of annoying |
| 650 | AC_TRY_RUN warning. |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 651 | - cut.c: |
| 652 | do_cut_text() |
| 653 | - 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] | 654 | set (fixes bug #42). |
Chris Allegretta | f45c18d | 2000-09-16 05:25:06 +0000 | [diff] [blame] | 655 | - files.c: |
| 656 | open_file() |
| 657 | - Fix for bug #44 (Rocco Corsi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 658 | - global.c: |
| 659 | shortcut_init() |
| 660 | - Added in FKEYs that for some reason were left out. *boggle* |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 661 | - nano.c: |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 662 | main() |
Chris Allegretta | 9239d74 | 2000-09-06 15:19:18 +0000 | [diff] [blame] | 663 | - Added check for _POSIX_VDISABLE and use raw mode if not |
| 664 | available, allows nano to work with cygwin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 665 | - Added gettext calls to enable/disable strings (Jordi). |
Chris Allegretta | 16e4168 | 2000-09-11 22:33:54 +0000 | [diff] [blame] | 666 | - Revamped a great deal of the F-key and keypad key handling, |
| 667 | because we not longer use keypad() (see below). |
| 668 | - Removed keypad() call because nano was not working with the |
| 669 | keypad in many terms, which is very bad. |
Chris Allegretta | 9c35eb0 | 2000-09-13 14:24:52 +0000 | [diff] [blame] | 670 | - Made insert key call do_insertfile(). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 671 | do_toggle() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 672 | - Rewrote function to allow NOHELP toggle to work on systems |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 673 | without a working resizewin(). New function window_init(). |
Chris Allegretta | 0b88ce0 | 2000-09-15 15:46:32 +0000 | [diff] [blame] | 674 | mouse_init() |
| 675 | - Add keypad only if mouse support is on, otherwise mouse doesn't |
| 676 | work. I guess you have to choose between having the mouse and |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 677 | 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] | 678 | - winio.c: |
| 679 | total_refresh() |
| 680 | - Added titlebar() call. |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 681 | onekey() |
| 682 | - Off by one error fix fix ;-) (Rocco Corsi). |
Chris Allegretta | 2a42af1 | 2000-09-12 23:02:49 +0000 | [diff] [blame] | 683 | |
Chris Allegretta | b9bfc9b | 2000-09-10 05:06:09 +0000 | [diff] [blame] | 684 | - search.c: |
| 685 | findnextstr() |
| 686 | - Reset starting at current for search instead of begin. |
Jordi Mallach | 2dc0f6b | 2000-09-07 10:48:00 +0000 | [diff] [blame] | 687 | - es.po: |
| 688 | - Translated new strings and minor updates (Jordi). |
Chris Allegretta | 834a69d | 2000-09-18 17:11:33 +0000 | [diff] [blame] | 689 | - de.po |
| 690 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 429a551 | 2000-09-05 13:09:56 +0000 | [diff] [blame] | 691 | |
Chris Allegretta | 423cbfd | 2000-09-04 16:21:29 +0000 | [diff] [blame] | 692 | nano-0.9.17 - 09/04/2000 |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 693 | - General |
| 694 | - New shortcuts to toggle certain options that are normally only |
| 695 | flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called |
| 696 | toggles in nano.h, toggle_init(), toggle_init_one() in global.c |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 697 | called from shortcut_init(), and do_toggle in nano.c. Also |
| 698 | moved the signal code into a separate function in nano.c called |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 699 | signal_init(). Moved "struct sigaction act"into a static in |
| 700 | nano.c. |
Chris Allegretta | e49f123 | 2000-09-02 07:20:39 +0000 | [diff] [blame] | 701 | - Changed from Alt-key symbol (@) which is completely nonstandard |
| 702 | to the *nix "Meta" symbol (M-). Changed help_init to show |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 703 | 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] | 704 | Meta. Moved the toggle Meta keystrokes to the first column |
| 705 | instead of the third as they are the primary keystrokes for the |
Chris Allegretta | 9541f2a | 2000-09-02 07:31:32 +0000 | [diff] [blame] | 706 | functions. Thanks Mini editor team :-> |
Chris Allegretta | 756f220 | 2000-09-01 13:32:47 +0000 | [diff] [blame] | 707 | - Changed last_search and last_replace vars to statically |
| 708 | allocated (hence nulled) and moved to search.c (Matt Kraai). |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 709 | - global.c: |
| 710 | toggle_init() |
| 711 | - Changed "No auto wrap" and "No help mode" to "Auto wrap" and |
| 712 | "Help mode". See the change to do_toggle() below. |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 713 | - nano.c: |
| 714 | do_mouse() |
| 715 | - Patch for handling lines w/tabs and mouse better (Ben Roberts). |
Chris Allegretta | 340d6e5 | 2000-08-29 03:55:29 +0000 | [diff] [blame] | 716 | do_wrap() |
| 717 | - Made wrapping code less ambitious. |
Chris Allegretta | f0f63a8 | 2000-09-02 18:44:21 +0000 | [diff] [blame] | 718 | do_toggle() |
| 719 | - Added checks for no help and no wrap mode, and print opposite |
| 720 | enable/disable message. |
Chris Allegretta | 18f8be0 | 2000-09-04 03:20:38 +0000 | [diff] [blame] | 721 | do_suspend(), do_cont(): |
| 722 | - New functions, handle suspend signal in a Pico-like manner and |
| 723 | work with Meta-Z. |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 724 | - winio.c: |
| 725 | total_refresh() |
| 726 | - Added edit_refresh() call to actually update the screen if messy. |
| 727 | edit_refresh_clearok() |
| 728 | - New function, does a total update for edit refresh, needed to fix |
| 729 | lack of reversed text on searching with MARK_ISSET. |
Chris Allegretta | dabc3cb | 2000-08-25 01:44:12 +0000 | [diff] [blame] | 730 | onekey() |
| 731 | - Off by one error fix (Rocco Corsi). |
Chris Allegretta | e7034c6 | 2000-09-15 03:31:09 +0000 | [diff] [blame] | 732 | |
Chris Allegretta | 6306a11 | 2000-09-02 07:55:41 +0000 | [diff] [blame] | 733 | update_line() |
| 734 | - Added check for binary data >= 1 and <= 26, and use ^+letter |
| 735 | to display it. Should fix editing text files with binary |
| 736 | data in them. Placing of the cursor seems to be a bit screwed |
| 737 | though... |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 738 | - search.c: |
| 739 | search_abort() |
| 740 | - Now calls edit_refresh_clearok when MARK_ISSET to handle screen |
| 741 | ugliness bug (reported by Ken Tyler). |
Chris Allegretta | e10debd | 2000-08-22 01:26:42 +0000 | [diff] [blame] | 742 | findnextstr(): |
| 743 | - Added reset for placewewant (Ben Roberts). |
Chris Allegretta | 9babaf3 | 2000-08-30 13:49:33 +0000 | [diff] [blame] | 744 | - Fixed check for string that only occurs on the same line failing |
| 745 | (discovered by Ken Tyler). |
Chris Allegretta | f1d33d3 | 2000-08-19 03:53:39 +0000 | [diff] [blame] | 746 | |
Chris Allegretta | ba96f7a | 2000-08-09 21:38:28 +0000 | [diff] [blame] | 747 | nano-0.9.16 - 08/09/2000 |
Chris Allegretta | 7dc14e8 | 2000-08-05 16:03:19 +0000 | [diff] [blame] | 748 | - cut.c: |
| 749 | do_cut_text() |
| 750 | - Fixed getting locked into cutbuffer on cutting first line of file. |
Chris Allegretta | c86f714 | 2000-08-07 14:39:32 +0000 | [diff] [blame] | 751 | - Added check_statblank(). |
| 752 | - Check for fileptr == filebot, if so return, we shouldn't bother |
| 753 | cutting the magic line. |
| 754 | do_uncut_text() |
| 755 | - Added check_statblank(). |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 756 | - nano.c: |
| 757 | main() |
| 758 | - Changed tabsize long arg to actually accept an argument *sigh*. |
Chris Allegretta | 81b1eea | 2000-08-05 16:09:07 +0000 | [diff] [blame] | 759 | - po/Makefile.in.in: |
| 760 | - Patch to handle $DESTDIR (orig by Dan Harnett contributed by |
| 761 | Christian Weisgerber) |
Chris Allegretta | b4dc9e0 | 2000-08-05 22:49:30 +0000 | [diff] [blame] | 762 | - configure.in: |
Chris Allegretta | a2efc36 | 2000-08-09 03:26:33 +0000 | [diff] [blame] | 763 | - New (and severally revised =) slang test code (Albert Chin-A-Young) |
Chris Allegretta | 4dbcc3c | 2000-08-04 15:44:29 +0000 | [diff] [blame] | 764 | |
Chris Allegretta | 0bf4e14 | 2000-08-04 02:42:04 +0000 | [diff] [blame] | 765 | nano-0.9.15 - 08/03/2000 |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 766 | - Changed edit_update call to take arguments TOP, CENTER or BOTTOM. |
| 767 | Affects many many functions. Removed functions edit_update_top and |
| 768 | edit_update_bot. |
Chris Allegretta | 6d690a3 | 2000-08-03 22:51:21 +0000 | [diff] [blame] | 769 | - Added global variable tabsize, we no longer screw with the curses |
| 770 | library in order to implement -T (suggested by Christian Weisgerber). |
Chris Allegretta | 7a6f0d9 | 2000-07-31 13:00:24 +0000 | [diff] [blame] | 771 | - configure.in: |
| 772 | - Finally fixed check for slang to report "no" if not called |
| 773 | with --with-slang or --without-slang |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 774 | - nano.c: |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 775 | splice_node() |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 776 | - New function, abstracts linking in nodes. Fixes bug #36. |
Chris Allegretta | 6925bbd | 2000-07-28 01:41:29 +0000 | [diff] [blame] | 777 | null_at() |
| 778 | - New function, nulls a string at a given index and realigns it. |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 779 | delete_buffer() |
| 780 | - Removed, same as free_filestruct(). |
Chris Allegretta | da721be | 2000-07-31 01:26:42 +0000 | [diff] [blame] | 781 | do_backspace() |
| 782 | - Now calls page_up_center instead of page_up (as it should?) |
| 783 | do_enter() |
| 784 | - Fixed typo (?) in check for inptr->next. Caused lots of |
| 785 | grief for editing lines at filebot. |
Chris Allegretta | 99bf73f | 2000-08-04 00:22:08 +0000 | [diff] [blame] | 786 | main() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 787 | - Removed now useless usertabsize variable (Christian Weisgerber). |
Chris Allegretta | 18bd029 | 2000-07-28 01:18:10 +0000 | [diff] [blame] | 788 | - search.c: |
| 789 | replace_abort() |
| 790 | - redundant, now just calls search abort until it does something |
| 791 | different. |
Chris Allegretta | 95b0b52 | 2000-07-28 02:58:06 +0000 | [diff] [blame] | 792 | - winio.c: |
| 793 | edit_refresh() |
| 794 | - Added check for current line "running" off the screen. |
| 795 | Hopefully this will not cause any recursive lockups. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 796 | (Who am I kidding, of course it will!) |
Chris Allegretta | ed02216 | 2000-08-03 16:54:11 +0000 | [diff] [blame] | 797 | - Added check to stop infinite loop calling edit_update. |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 798 | edit_update() |
| 799 | - Rewritten, hopefully this will remove a lot of the |
| 800 | scrolling the cursor back and forth needlessly. |
Chris Allegretta | 1a47139 | 2000-07-28 14:08:01 +0000 | [diff] [blame] | 801 | - move.c: |
| 802 | page_down() |
Chris Allegretta | 234a34d | 2000-07-29 04:33:38 +0000 | [diff] [blame] | 803 | - do an edit_update() at last case. Made function more like |
| 804 | Pico's version, only move down to two lines before editbot. |
| 805 | page_up() |
| 806 | - Made function more like Pico's version, only move down to two |
| 807 | lines after edittop. |
Chris Allegretta | 7975ed8 | 2000-07-28 00:58:35 +0000 | [diff] [blame] | 808 | |
Chris Allegretta | a1a55c7 | 2000-07-28 00:36:03 +0000 | [diff] [blame] | 809 | nano-0.9.14 - 07/27/2000 |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 810 | - nano.h: |
| 811 | - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32. |
| 812 | - cut.c: |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 813 | do_cut_text() |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 814 | - 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] | 815 | - Simplified check for freeing cutbuffer. Added checks for doing |
| 816 | multiple cuts with -k, now sets marked_cut to 2 for later |
| 817 | processing by do_uncut_text(). |
| 818 | do_uncut_text() |
| 819 | - Added handler for uncutting with -k cuts. |
Chris Allegretta | 962c3c9 | 2000-07-24 21:52:17 +0000 | [diff] [blame] | 820 | - files.c: |
| 821 | write_file() |
| 822 | - Removed (redundant) check for writing out files with -t. |
| 823 | do_writeout() |
| 824 | - Changed check for filename to filename[0]. Added some code, |
| 825 | overall fixes bug #30 =-) |
Robert Siemborski | a417ddc | 2000-07-24 23:18:48 +0000 | [diff] [blame] | 826 | - nano.c: |
| 827 | do_justify() & do_wrap(): |
| 828 | - totsize-related fixes (Rob) |
Chris Allegretta | 2ece167 | 2000-07-27 15:25:52 +0000 | [diff] [blame] | 829 | - de.po |
| 830 | - Revised translations by floki@bigfoot.com |
Chris Allegretta | 0559719 | 2000-07-24 21:16:12 +0000 | [diff] [blame] | 831 | |
Chris Allegretta | 1d7110d | 2000-07-23 16:59:07 +0000 | [diff] [blame] | 832 | nano-0.9.13 - 07/23/2000 |
Chris Allegretta | 627de19 | 2000-07-12 02:09:17 +0000 | [diff] [blame] | 833 | - 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] | 834 | affects do_cut_text in cut.c. Not available with SMALL_NANO because it |
| 835 | depends on the marker code which is not available with that setting. |
Chris Allegretta | 3088555 | 2000-07-14 01:20:12 +0000 | [diff] [blame] | 836 | - Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using |
| 837 | -t with an unwritable file causes users to get locked into editor). |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 838 | - move.c |
| 839 | page_down() |
| 840 | - Don't edit_refresh() if the bottom of the file is in the edit |
| 841 | buffer. (Adam) |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 842 | - nano.c: |
| 843 | main(): |
| 844 | - TABSIZE now set before first call to edit_refresh (Bill Soudan) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 845 | - Different ^C kill code (patch by Christian Weisgerber). |
Robert Siemborski | fcf32bf | 2000-07-17 03:04:54 +0000 | [diff] [blame] | 846 | die(): |
| 847 | - More intelligent emergency-save filename selection (Rob) |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 848 | do_spell(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 849 | - Changed exit semantics a bit so that aspell wouldn't get |
| 850 | all screwy (bug discovered by Joshua Jensen. |
Chris Allegretta | 8f6c069 | 2000-07-19 01:16:18 +0000 | [diff] [blame] | 851 | - files.c: |
| 852 | read_file(): |
| 853 | - Added init of buf variable, hopefully this will stop the |
| 854 | "bleeding" of text seen with mutt and using i18n. |
Chris Allegretta | acb6234 | 2000-07-21 22:42:46 +0000 | [diff] [blame] | 855 | write_file(): |
| 856 | - Added code to check to see if using -l and the file is not |
| 857 | in fact a link. This should fix the behavior where a file |
| 858 | that does not have write permission but could be removed and |
| 859 | rewritten is saved without error. Please test this feature |
| 860 | and give feedback. |
Chris Allegretta | a4d2162 | 2000-07-08 23:57:03 +0000 | [diff] [blame] | 861 | - search.c: |
| 862 | search_init(): |
| 863 | - Added " (to replace)" statement to end of search string if |
| 864 | we are doing a replace. Manually converted all the translations |
| 865 | from '%s' to '%s%s' to ensure they still work with the new code. |
| 866 | Also put in the translation for " (replace)" in the .po's. Hope |
| 867 | I didn't step on your toes doing this Jordi. (Chris) |
Chris Allegretta | 635fae3 | 2000-07-09 03:26:34 +0000 | [diff] [blame] | 868 | do_search(), do_replace(): |
| 869 | - Removed call to search_abort()/replace_abort() before call to |
| 870 | the opposite function. |
Chris Allegretta | fa8f7bf | 2000-07-12 02:41:13 +0000 | [diff] [blame] | 871 | - Fixed bug #28. |
Adam Rogoyski | ed0cb89 | 2000-07-12 04:02:45 +0000 | [diff] [blame] | 872 | findnextstr() |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 873 | - do not center string found if it is currently visible. (Adam) |
Chris Allegretta | 7539a82 | 2000-07-09 23:55:13 +0000 | [diff] [blame] | 874 | - fr.po: |
| 875 | - French update by Clement Laforet <clem_laf@wanadoo.fr>. |
Jordi Mallach | 8d7ac1b | 2000-07-13 03:10:01 +0000 | [diff] [blame] | 876 | - es.po: |
| 877 | - Updated strings to 0.9.13 (Jordi). |
Robert Siemborski | 6967eec | 2000-07-08 14:23:32 +0000 | [diff] [blame] | 878 | |
Chris Allegretta | e955dae | 2000-07-07 22:24:59 +0000 | [diff] [blame] | 879 | nano-0.9.12 - 07/07/2000 |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 880 | - all: |
Chris Allegretta | 9fc8d43 | 2000-07-07 01:49:52 +0000 | [diff] [blame] | 881 | - New regexp search feature by Bill Soudan. New flags USE_REGEXP |
| 882 | and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup |
| 883 | replace_line, replace_regexp in search.c, changes to |
Chris Allegretta | 4780561 | 2000-07-07 02:35:34 +0000 | [diff] [blame] | 884 | search_init() and do_replace() and strstrwrapper(). |
| 885 | - Added _POSIX_VERSION check to regexp code. Better than nothing |
| 886 | for non-POSIX systems... |
Robert Siemborski | 6d0e9cd | 2000-07-01 21:43:16 +0000 | [diff] [blame] | 887 | - Made search functions & keys more like Pico. Added goto line from |
| 888 | search and replace function, changed wording to "No Replace" instead |
| 889 | of "To Search", "To Replace" to simply "Replace", and changed to |
| 890 | Pico's keystroke by default, ^R. Affects search_init(), |
| 891 | do_search() in search.c, globals in nano.h and |
| 892 | shortcut_init() in global.c. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 893 | - changed 'sprintf' calls to safer 'snprintf' (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 894 | - cut.c |
| 895 | - further totsize update corrections |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 896 | - files.c: |
| 897 | - changed do_insertfile to call fix_editbot (Rob) |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 898 | - Magic Line code in read_file (Rob) |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 899 | - nano.c: |
| 900 | - Removed dual alt_speller variables, oops! (Rocco Corsi) |
Chris Allegretta | dbc12b2 | 2000-07-03 03:10:14 +0000 | [diff] [blame] | 901 | - Removed unnecessary do_oldspell function (Rocco Corsi). Added |
| 902 | SMALL_NANO #ifdef around actual spell function. |
Chris Allegretta | 1e57e68 | 2000-07-03 04:24:39 +0000 | [diff] [blame] | 903 | - Moved page_up() to move.c where is belongs. |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 904 | - Corrected FIXME in do_enter with explanation. (Rob) |
| 905 | - Fixed FIXME in do_justify, resulted in creation of |
| 906 | fix_editbot [also fixed in do_enter] (winio.c) (Rob) |
Robert Siemborski | cdff015 | 2000-07-07 01:58:52 +0000 | [diff] [blame] | 907 | help_init(): |
| 908 | - Moved newline out of if statement (Rocco Corsi) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 909 | do_char(): |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 910 | - Magic Line related code in do_char (Rob) |
Chris Allegretta | 28a0f89 | 2000-07-05 22:47:54 +0000 | [diff] [blame] | 911 | do_backspace(), do_delete(): |
| 912 | - Added magic line code here too. |
| 913 | |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 914 | - de.po: |
Chris Allegretta | 6e80585 | 2000-06-22 01:53:29 +0000 | [diff] [blame] | 915 | - Revised translations by floki@bigfoot.com. |
Chris Allegretta | f7eba0b | 2000-06-24 01:33:27 +0000 | [diff] [blame] | 916 | - fi.po: |
| 917 | - Finnish translation by pauli.virtanen@saunalahti.fi. |
Robert Siemborski | 23ecb17 | 2000-07-04 22:21:40 +0000 | [diff] [blame] | 918 | - utils.c: |
| 919 | - Added new_magicline() |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 920 | - winio.c: |
Chris Allegretta | dba37ae | 2000-07-07 05:13:09 +0000 | [diff] [blame] | 921 | - Added stdlib.h to includes, found by OpenBSD gcc. |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 922 | - lots of new commenting around display functions |
Chris Allegretta | 5204ea9 | 2000-06-22 01:56:23 +0000 | [diff] [blame] | 923 | do_yesno(), nanogetstr(): |
| 924 | - Removed now unnecessary raw/cbreak combos. |
Jordi Mallach | 0b0fc49 | 2000-06-23 01:00:13 +0000 | [diff] [blame] | 925 | - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till |
| 926 | we decide if those keybindings should be translated. (Jordi) |
Chris Allegretta | 8c2b40f | 2000-06-29 01:30:04 +0000 | [diff] [blame] | 927 | clear_bottomwin(): |
| 928 | - Removed wrefresh(edit) call. |
Chris Allegretta | 48fd2cb | 2000-07-03 04:31:13 +0000 | [diff] [blame] | 929 | edit_update_top(): |
| 930 | - Fixed a bug that caused nano to not update when |
| 931 | current->next == NULL (e.g. paging down to the very bottom of |
| 932 | ABOUT NLS wouldn't work). |
Robert Siemborski | deca3e7 | 2000-07-04 02:40:41 +0000 | [diff] [blame] | 933 | fix_editbot: |
| 934 | - Added (should rebuild editbot from a valid edittop) (Rob) |
Robert Siemborski | 20d61d5 | 2000-07-08 00:43:35 +0000 | [diff] [blame] | 935 | edit_add: |
| 936 | - removal of redundant call to mvwaddnstr |
Chris Allegretta | 8a9fe7e | 2000-06-21 22:29:38 +0000 | [diff] [blame] | 937 | |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 938 | nano-0.9.11 - 06/20/2000 |
Chris Allegretta | 790198d | 2000-06-20 00:40:01 +0000 | [diff] [blame] | 939 | - New flag "-T" or "--tabsize" to specify how to display tab widths. |
| 940 | 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] | 941 | 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] | 942 | TABSIZE int. Added changes to nano.1 and nano.1.html. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 943 | - id.po: |
| 944 | - Indonesian translation by Tedi Heriyanto. |
Chris Allegretta | 4da1fc6 | 2000-06-21 03:00:43 +0000 | [diff] [blame] | 945 | - es.po: |
| 946 | - Updated translation (Jordi Mallach). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 947 | - winio.c |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 948 | - Rewrite of display functions to correct the display problems |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 949 | we had been seeing. Affects: add_marked_sameline, edit_add, |
| 950 | and many others. (Rob Siemborski) |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 951 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 952 | total_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 953 | - Cut display_main_list call, as this function is only supposed to |
| 954 | refresh what's already on the screen, not go through the process |
| 955 | of adding the text again. |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 956 | - cut.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 957 | - totsize fixes (Rob Siemborski) |
Chris Allegretta | 12de8e8 | 2000-06-09 02:40:50 +0000 | [diff] [blame] | 958 | - nano.c: |
Robert Siemborski | b0df953 | 2000-06-09 00:55:16 +0000 | [diff] [blame] | 959 | - experimental do_wrap and check_wrap (Adam Rogoyski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 960 | - Removed editwineob, as it was redundant for (editwinrows - 1). |
| 961 | Changed all calls to editwinrows - 1 in nano.c and move.c. |
| 962 | - Removed all functions that were split into other files. |
| 963 | Affects LOTS of funcs. |
Chris Allegretta | b0ae393 | 2000-06-15 23:39:14 +0000 | [diff] [blame] | 964 | do_enter(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 965 | - Added reset of placewewant to end. |
Robert Siemborski | 10eab1d | 2000-06-18 01:05:00 +0000 | [diff] [blame] | 966 | do_insertfile(): |
| 967 | - Fix display problem when using ctrl-r to load a file |
| 968 | into the buffer (Rob Siemborski) |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 969 | handle_sigwinch(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 970 | - Added titlebar(), edit_refresh() and display_main_list() calls |
| 971 | because a resize wasn't picking up on possible different width |
| 972 | correctly. |
Chris Allegretta | 97accc6 | 2000-06-19 05:45:52 +0000 | [diff] [blame] | 973 | - utils.c: |
| 974 | - Moved nmalloc() and nrealloc() here. |
| 975 | - move.c: |
| 976 | - New file, contains movement functions (like do_home(), do_up(), |
| 977 | do_down(), page_up(), etc...). |
| 978 | - files.c: |
| 979 | - Contains functions for files (read_file, insert_file, |
| 980 | do_writeout(), etc). |
| 981 | - search.c: |
| 982 | - Contains all our searching and related functions, (do_search(), |
| 983 | findnextstr(), do_replace(), do_gotoline()). |
Robert Siemborski | 91413cf | 2000-06-07 02:20:46 +0000 | [diff] [blame] | 984 | |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 985 | nano-0.9.10 - 06/04/2000 |
| 986 | - es.po: |
| 987 | - Translation updates (Jordi). |
| 988 | - AUTHORS, nano.1.html, TODO, README: |
| 989 | - Documentation and email address updates (Jordi). |
| 990 | - nano.c: |
| 991 | main(): |
| 992 | - Moved Adam's termio code down to after getopt() and before initscr() |
| 993 | to stop people losing their SIGINT character when using args that |
| 994 | exit nano before it runs (--version, --help, etc). |
| 995 | |
| 996 | nano-0.9.9 - 05/31/2000 |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 997 | - Makefile.am: |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 998 | - Added proper lines for defining LOCALEDIR. |
| 999 | - configure.in: |
| 1000 | - Spelling fixes (Jordi Mallach) |
| 1001 | - Removed CFLAGS changes for gcc, reduces portability according to |
| 1002 | some, and it certainly doesn't seem to decrease exe size. |
| 1003 | - es.po: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1004 | - Spanish translation updates (Jordi Mallach) |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1005 | - POTFILES.in: |
| 1006 | - Added global.c file, was screwing up translations (i.e. they |
| 1007 | weren't getting done). |
| 1008 | - cut.c: |
| 1009 | add_to_cutbuffer(): |
| 1010 | - Added totsize increment. |
| 1011 | - Cut fixes and optimizations (Rob Siemborski). |
| 1012 | do_uncut_text(): |
| 1013 | - Added totsize increment in several places. |
| 1014 | - nano.c: |
| 1015 | headers: |
| 1016 | - Removed LOCALEDIR define. |
| 1017 | do_justify(): |
| 1018 | - Added edit_refresh() call (bug discovered by Adam). |
| 1019 | page_down_center(): |
| 1020 | - Added call to edit_update(current) for last case. Removed |
| 1021 | increment of current_y since it's now just wasteful. |
| 1022 | do_enter(): |
| 1023 | - Added totsize increment. |
| 1024 | renumber(), renumber_all(): |
| 1025 | - Removed totsize-- and totsize init in renumber_all. |
| 1026 | do_mouse(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1027 | - Added edit_refresh() call to show highlight updates. Removed |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1028 | unnecessary wrefresh(edit). |
| 1029 | main(): |
| 1030 | - Moved up locale calls so that translated --help messages would |
| 1031 | actually get translated. |
| 1032 | do_backspace(), do_delete(): |
| 1033 | - Added decrement of totsize. |
| 1034 | init_help_msg(): |
| 1035 | - New function, initializes help text if NANO_SMALL isn't set (fixes |
| 1036 | broken i18n). |
| 1037 | read_file(): |
| 1038 | - malloc call changed to nmalloc (Rob Siemborski). |
| 1039 | - winio.c: |
| 1040 | total_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1041 | - Completely rewrote function, not quite so brain-damaged now. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1042 | |
| 1043 | nano-0.9.8 - 05/18/2000 |
| 1044 | - nano.c: |
| 1045 | main(): |
| 1046 | - Added awesome code that disables the CINTR and CQUIT |
| 1047 | character (Adam Rogoyski). Removed raw()/noraw() calls so that |
| 1048 | nano gets input in 'normal' mode, which is the Right Way(tm) to |
| 1049 | 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] | 1050 | ^C. New variable term, global variable oldterm to save previous |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1051 | term settings, and changes to finish() and die(). |
| 1052 | - Added extra #ifdefs in getopt code, so that above code and |
| 1053 | flag init is run even if GETOPT_LONG is not #defined. |
| 1054 | - Added memset line before sigactions. (Adam Rogoyski) |
| 1055 | do_suspend(): |
| 1056 | Removed function, see above for why. |
| 1057 | - winio.c: |
| 1058 | update_line(), center_cursor(): |
| 1059 | - Removed wrefresh(edit) from bottom of functions. wrefresh |
| 1060 | should now only be called once, at the bottom of the main() |
| 1061 | loop. |
| 1062 | - global.c: |
| 1063 | shortcut_init(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1064 | - Removed suspend sc_init call and suspend message because suspend |
| 1065 | is no longer needed in the shortcut list to work properly. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1066 | |
| 1067 | nano-0.9.7 - 05/14/2000 |
| 1068 | - nano.c: |
| 1069 | do_home(), do_end(): |
| 1070 | - Added calls to update_line for the current line, fixes |
| 1071 | lack of update (bug discovered by Alberto GarcĂa). |
| 1072 | main(): |
| 1073 | - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not |
| 1074 | following symlinks even when -l isn't set, and "no changes" |
| 1075 | error when nano is called from crontab -e (Adam Rogoyski). |
| 1076 | - cut.c: |
| 1077 | do_cut_text(): |
| 1078 | - Added edit_update_top to cut when mark is set, fixes lack of |
| 1079 | display update (bug discovered by Ken Tyler). |
| 1080 | |
| 1081 | nano-0.9.6 - 05/08/2000 |
| 1082 | - New Italian translation (it.po), by Daniele Medri. |
| 1083 | - nano.c: |
| 1084 | page_up(), page_down(): |
| 1085 | - Added reset of placewewant to 0, as it should be. |
| 1086 | do_up(), do_down(): |
| 1087 | - Added call to update_line() for line we move from and line we |
| 1088 | move to, in order to keep the highlighting correct. |
| 1089 | do_wrap(): |
| 1090 | - Added var chop, new code to wrap lines more like Pico, mostly. |
| 1091 | THIS STILL DEFINITELY NEEDS TO BE REWRITTEN! |
| 1092 | - winio.c: |
| 1093 | do_help(): |
| 1094 | - Added edit_refresh() before exit. |
| 1095 | update_cursor(): |
| 1096 | - Removed cursor updating which really wasn't needed anyway. |
| 1097 | edit_update(): |
| 1098 | - Removed yucky code that didn't work, this function now just |
| 1099 | computes edittop and editbot and calls edit_refresh() to do the |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1100 | rest, which removes a lot of duplicate code.. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1101 | |
| 1102 | nano-0.9.5 - 05/01/2000 |
| 1103 | - Removed bytes from file struct because it was computationally wasteful. |
| 1104 | - cut.c: |
| 1105 | do_uncut_text(): |
| 1106 | - Added call to edit_refresh(). |
| 1107 | - nano.c: |
| 1108 | do_backspace(): |
| 1109 | - Added reset of editbot when deleting the last line of the file |
| 1110 | (bug discovered by Adam). |
| 1111 | do_char(): |
| 1112 | - Removed call to reset_cursor(). |
| 1113 | do_delete(): |
| 1114 | - Added similar check as to do_backspace(). |
| 1115 | do_enter(): |
| 1116 | - Added call to edit_refresh(). |
| 1117 | do_left(), right(): |
| 1118 | - Added call to update_line(), still redundant but better... |
| 1119 | do_up(), do_down(): |
| 1120 | - Added refresh calls both for current line and line to which |
| 1121 | we are moving. |
| 1122 | main(): |
| 1123 | - Removed inefficient call to edit_refresh() after every keystroke. |
| 1124 | It is now up each function to leave the screen in a good state. |
| 1125 | - winio.c: |
| 1126 | do_cursorpos() |
| 1127 | - Rewritten to not use bytes from filestruct by an incremental sum. |
| 1128 | update_line(), reset_cursor(): |
| 1129 | - Optimized calls to xplustabs() through a single variable. |
| 1130 | - update_line() now takes a new arg, an index into the string |
| 1131 | for where to update the line from. Needed for new update |
| 1132 | code. |
| 1133 | - configure.in: |
| 1134 | - Better checks for slang, allows argument to --with-slang. |
| 1135 | (Albert Chin-A-Young) |
| 1136 | - Removed -Iintl from CFLAGS in gcc check. |
| 1137 | - Makefile.am: |
| 1138 | - Addition of -Iintl for gettext (Albert Chin-A-Young) |
| 1139 | |
| 1140 | nano-0.9.4 - 04/25/2000 |
| 1141 | - Fixed calls to no_help and changed them to the more consistent |
| 1142 | ISSET(NO_HELP). Fixed return val of no_help to be what it should (2, |
| 1143 | not 1. Code to temporarily disable NO_HELP when in the |
| 1144 | help system. (Adam Rogoyski) |
| 1145 | - cut.c: |
| 1146 | do_marked_cut(), do_cut(), do_uncut(): |
| 1147 | - Commented out unnecessary bits when NANO_SMALL is being used. |
| 1148 | - winio.c: |
| 1149 | xpt(), strlenpt(), actual_x(): |
| 1150 | - Added check for value of data[i] & 0x80, if so do not make |
| 1151 | character 2 chars wide (orig. by Chris, 0x80 check by Adam). |
| 1152 | edit_refresh(): |
| 1153 | - New check for temp == NULL (bad thing), if so go back to the |
| 1154 | previous line. New filestruct var hold points to prev line. |
| 1155 | Fixes segfault when paging down to the end of a file. |
| 1156 | - nano.c: |
| 1157 | write_file(): |
| 1158 | - Added check for if file exists and is not equal to the current |
| 1159 | filename, prompt for overwrite (Adam Rogoyski). |
| 1160 | do_down(): |
| 1161 | - Removed check for current->next == NULL, now checks return value |
| 1162 | of do_down before setting current_x = 0 (discovered by Adam). |
| 1163 | do_justify(): |
| 1164 | - Fixed segfault when reaching the last line (tried to assign |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1165 | current->next->data when current->next == NULL) (discovered |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1166 | by Adam). |
| 1167 | - utils.c: |
| 1168 | - Removed extra macro defs that are now in nano.h. |
| 1169 | - nano.h: |
| 1170 | - Changed macro SET() to use |= instead of ^=. Fixes bug in |
| 1171 | cut code when cutting more than one line, and cutbuffer gets |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1172 | blown away when it shouldn't. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1173 | |
| 1174 | nano-0.9.3 - 04/29/2000 |
| 1175 | - cut.c: |
| 1176 | do_marked_cut(): |
| 1177 | - Fixed off by one error in cut code for marked text. |
| 1178 | do_cut_text(): |
| 1179 | - Removed check for being on the last line, part of |
| 1180 | magic line code. |
| 1181 | add_to_cutbuffer(): |
| 1182 | - Moved tmp->prev = inptr line to part where cutbuffer != NULL. |
| 1183 | - Added inptr->prev = NULL for case where cutbuffer == NULL. |
| 1184 | - nano.c: |
| 1185 | do_backspace(), do_char(): |
| 1186 | - Removed "magic line" code. It was basically causing more bugs |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1187 | than it was helping for the sake of compatibility. This fixes |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1188 | at least one known segfault condition. |
| 1189 | do_enter(): |
| 1190 | - Added setting editbot to new node if the new node is the last |
| 1191 | node in the file. |
| 1192 | write_file(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1193 | - Changed writing file behavior. Now, if last line of the file |
| 1194 | 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] | 1195 | - winio.c: |
| 1196 | add_marked_sameline(): |
| 1197 | - New code that checks for whether the begin and end of the marker |
| 1198 | are on different lines. Missing previously. |
| 1199 | edit_add(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1200 | - added some more checks for text length. Cleaned up some |
| 1201 | mvwaddnstrs that could be written more simply as waddnstrs. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1202 | edit_refresh(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1203 | - Removed check for temp == filebot, it is now treated like any other |
| 1204 | line. Fixes a bug where selected text on the last line shows |
| 1205 | normally. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1206 | xpt(): |
| 1207 | - Removed an extra computation for tabs variable that was incorrect. |
| 1208 | xplustabs(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1209 | - 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] | 1210 | xpt(current, current_x) |
| 1211 | - nano.1, nano.1.html: |
| 1212 | - Added -l option to man pages. |
| 1213 | - configure.in: |
| 1214 | - New option --enable-tiny, #defines NANO_SMALL in config.h. |
| 1215 | Disables call to gettext in functions and other i18n stuff in |
| 1216 | nano.c, the detailed help mode, the resize functions, and the |
| 1217 | justify code which no one ever uses. |
| 1218 | - New option --with-slang. Enables slang libraries instead of |
| 1219 | ncurses, requires slcurses.h for wrapper functions. (Based |
| 1220 | on patches for 0.8.7 by Glenn McGrath). |
| 1221 | |
| 1222 | nano-0.9.2 - 04/15/2000 |
| 1223 | - This release just fixes the serious segfault problem if nano is |
| 1224 | invoked any way other than using the absolute path. The bug was |
| 1225 | in the new code for checking whether nano is invoked as pico. |
| 1226 | |
| 1227 | nano-0.9.1 - 04/14/2000 |
| 1228 | - Added pico compatibility for ^T when in search or switch to switch |
| 1229 | to the opposite function. Added one to REPLACE_LIST_LEN and |
| 1230 | 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] | 1231 | new strings that will have to be gettext()ed. New argument 'replacing' |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1232 | to search_init(). Handlers in do_replace and do_search(). |
| 1233 | - New write code, now follows symbolic links instead of replacing them |
| 1234 | with the new file. New option (-l, --nofollow) to enable the old |
| 1235 | (incorrect, but secure) behavior (Adam Rogoyski). |
| 1236 | - nano.c: |
| 1237 | do_wrap(): |
| 1238 | - Fixed another bug relating to wrapping, and which would cause |
| 1239 | a segfault *sigh*. |
| 1240 | do_replace(): |
| 1241 | - Incremented current_x by the length of the replacement |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1242 | text inside the main replace loop. Fixes bug #15. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1243 | add_marked_sameline(): |
| 1244 | - New function, handles marked text when start & end of marker is |
| 1245 | on one line, also supports most marked text when cursor > COLS. |
| 1246 | main(): |
| 1247 | - Code to check if nano is invoked as 'pico', and if so |
| 1248 | automatically set pico_msgs (Robert Jones). |
| 1249 | |
| 1250 | nano-0.9.0 - 04/07/2000 |
| 1251 | - nano.1, nano.1.html: Updated man page with my email address and homepage. |
| 1252 | - winio.c: |
| 1253 | reset_cursor(), update_line(): |
| 1254 | - Changed update algorithm for x value to (COLS - 7) multiple when x |
| 1255 | value > (COLS - 2). |
| 1256 | - edit_refresh(): |
| 1257 | - Removed inner loop code, now calls update_line() for each line |
| 1258 | in question, MUCH nicer. |
| 1259 | - xplustabs(), xpt(): |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1260 | - Removed redundant increment of tabs when column no % 8 == 0. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1261 | - Added check for data[i] < 32, most of such bits are 2 chars wide. |
| 1262 | - update_line(): |
| 1263 | - Fixed a stupid call to strlenpt with col when we should have |
| 1264 | been using actual_col. Ugh. |
| 1265 | |
| 1266 | nano-0.8.9 - 03/22/2000 |
| 1267 | - nano.c: |
| 1268 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 1269 | Actually added these (screwup applying patch). |
| 1270 | do_justify(): Added call to set_modified(). |
| 1271 | |
| 1272 | nano-0.8.8 - 03/12/2000 |
| 1273 | - Preliminary internationalization support. Many many functions modified |
| 1274 | to use gettext (via _() macro). es.po file included. (Jordi Mallach) |
| 1275 | New dirs po/ and intl/, changes to configure.in and Automake.am to |
| 1276 | support i18n. |
| 1277 | - nano.c: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1278 | includes: Added sys/param.h and limits.h. (Adam Rogoyski). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1279 | statics: Changed some things that were not necessarily static |
| 1280 | (Adam Rogoyski). |
| 1281 | nrealloc(): New function, similar to nmalloc(). Changed calls from |
| 1282 | realloc() to nrealloc (Adam Rogoyski). |
| 1283 | empty_line(), no_spaces(), justify_format(), do_justify(): |
| 1284 | New functions for justify function (Adam Rogoyski). |
| 1285 | - winio.c: |
| 1286 | blank_edit(): Added wrefresh call to edit so that screen updates (like |
| 1287 | on ^L) actually work. |
| 1288 | xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski). |
| 1289 | |
| 1290 | nano-0.8.7 - 03/01/2000 |
| 1291 | - main.c: |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1292 | do_wrap(): Better fix for segfaults, and fix for lines being wrapped |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1293 | to a single character on one line when no good place to |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1294 | break the line exists, and for wrapping lines longer than |
| 1295 | COLS. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1296 | - nano.1.html: |
| 1297 | Html version of man page, now included in dist. For |
| 1298 | the benefit of nano packages in Linux distributions. |
| 1299 | |
| 1300 | nano-0.8.6 - 02/24/2000 |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1301 | - global.c: |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1302 | shortcut_init(): |
| 1303 | Added shortcuts for goto_line and do_replace when using |
| 1304 | pico_msgs. Oops. |
| 1305 | - nano.c: |
| 1306 | statics: Changed fill back to 0 from 71 by default (Adam Rogoyski). |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1307 | 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] | 1308 | Removed check for backing up past spaces first. |
| 1309 | main(): Added for loop to check for alt keys instead of hard list. |
| 1310 | do_enter(): Fix for bug #14, added call to reset_cursor and messed |
| 1311 | up do_char quite a bit. |
| 1312 | version(): Added time and date stamp for compile on version message. |
| 1313 | Added mail and web page info. |
| 1314 | - README: Updated mailing list info. |
| 1315 | |
| 1316 | nano-0.8.5 - 02/18/2000 |
| 1317 | - nano.c: |
| 1318 | main(): Finally fixed tilde being input on page up/down keys in |
| 1319 | certain terminal types. Fix was input 26->91->5[34] check |
| 1320 | for 126, if so make the kbinput PAGE UP/DOWN, else unget |
| 1321 | the keystroke and continue. Added #include <ioctl.h> for |
| 1322 | ioctl call. |
| 1323 | handle_hup(): |
| 1324 | Handler for hangup signal. Belated include of patch from |
| 1325 | Tim Sherwood. |
| 1326 | - winio.c: |
| 1327 | edit_refresh(): |
| 1328 | Temporary fix for selecting text when temp == current. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1329 | edit_refresh() is now unmanageably complex, and must be |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1330 | revamped. |
| 1331 | check_statblank(): |
| 1332 | Added check for constupdate, makes things less choppy |
| 1333 | (Adam Rogoyski) |
| 1334 | |
| 1335 | nano-0.8.4 - 02/11/2000 |
| 1336 | - Moved global variables that were only (or mostly) used in one file into |
| 1337 | its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn). |
| 1338 | - global.c: |
| 1339 | shortcut_init(): |
| 1340 | Removed redundant NANO_CONTROL_H from backspace shortcut, |
| 1341 | added char 127 which should have been there. |
| 1342 | - nano.c: |
| 1343 | main(): Fix for loops looping until MAIN_LEN, added -1 to stop |
| 1344 | segfaults (Adam Rogoyski). |
| 1345 | - Makefile.am: Added all source filenames (Adam Rogoyski). |
| 1346 | - nano.1: Fixed mail addressed and added mailing list address. |
| 1347 | - README: Updated my email address and the nano web page. |
| 1348 | |
| 1349 | nano-0.8.3 - 02/08/2000 |
| 1350 | - New pico mode (-p, --pico), toggles (more) compatibility with the |
| 1351 | Pico messages displayed in the shortcut list. Note that there are still |
| 1352 | small differences in this mode. |
| 1353 | - nano.h: New shortcut struct format, for the benefit of i18n and |
| 1354 | our help menu. Removed shortcut message macros, they are |
| 1355 | now all in shortcut_init in global.c. |
| 1356 | - nano.c: |
| 1357 | do_wrap(): Removed resetting of current_x when we are in fact |
| 1358 | wrapping to the next line, fixes a bug in -i mode. |
| 1359 | do_enter(): |
| 1360 | Rewrote the autoindent mode code to be a lot less pretty, |
| 1361 | but a lot more magical. |
| 1362 | main(): |
| 1363 | Removed case for ignoring char 126 (~). That's kind of |
| 1364 | important, we'll have to fix handling that sequence when |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1365 | paging up/down on a terminal some other way... Revamped |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1366 | main switch loop in much snazzier fashion based on the |
| 1367 | shortcut list. |
| 1368 | - winio.c: |
| 1369 | New function display_main_list. Affects all functions |
| 1370 | that used to call bottombars() with main_list. Added |
| 1371 | because we now only call bottombars with the macro |
| 1372 | MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the |
| 1373 | changes to the main_list shortcut list (see global.c below). |
| 1374 | New function do_help, our preliminary dynamic help system. |
| 1375 | - Many many funcs: |
| 1376 | Changed from int to void to allow one uniform type to call |
| 1377 | from the shortcut struct. Also a few functions that do |
| 1378 | not simple have void argument have new functions called |
| 1379 | funcname_void(void) to be called from the shortcut list. |
| 1380 | do_cut_text and do_uncut_text were changed to void |
| 1381 | arguments because they were never called with a filestruct |
| 1382 | other than *current anyway. |
| 1383 | - global.c: |
| 1384 | Shortcut list main_list was expanded to cover all |
| 1385 | shortcuts that could be caught in the main loop. |
| 1386 | Consequently there is a new macro MAIN_VISIBLE which tells |
| 1387 | how many items in the main list to actually show. |
| 1388 | |
| 1389 | nano-0.8.2 - 02/02/2000 |
| 1390 | - Added initial mouse (-m, --mouse) support. New global variable |
| 1391 | use_mouse. (Adam Rogoyski) |
| 1392 | |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1393 | - 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] | 1394 | regardless. (Adam Rogoyski). |
| 1395 | do_delete(): |
| 1396 | Deleted call to do_backspace() when on the end of a line, |
| 1397 | because it won't update the line properly. |
| 1398 | do_backspace(): |
| 1399 | Removed unnecessary pointer manipulation that was being |
| 1400 | handled by unlink_node(). |
| 1401 | open_file(): |
| 1402 | Added check for trying to open a directory (currently we |
| 1403 | segfault on this). Bug pointed out by Chad Ziccardi. |
| 1404 | |
| 1405 | nano-0.8.1 - 01/28/2000 |
| 1406 | - Implemented Pico's -r (fill) mode, command line flag -r or --fill. New |
| 1407 | global variable fill, affects check_wrap(), do_wrap(), main(), usage(), |
| 1408 | global.c and proto.h. |
| 1409 | - nano.c: |
| 1410 | write_file(): Added (incredibly) necessary check for EPERM when |
| 1411 | link() fails. This allows us to actually save |
| 1412 | files via rename() on filesystems that dont |
| 1413 | support hard links (AIEEEEEE). |
| 1414 | do_goto(): |
| 1415 | Fixed a stupid mistake where we were calling |
| 1416 | bottombars() with replace_list instead of goto_list. |
| 1417 | - nano.h: |
| 1418 | New char *help in shortcut structure for help |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1419 | feature. Added NANO_*_MSG and NANO_*_HELP #defines |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1420 | for help function and i18n. |
| 1421 | - global.c: |
| 1422 | New functions shortcut_init (called in nano.c) and |
| 1423 | sc_init_one() to initialize the shortcuts without |
| 1424 | using {}s (for i18n). |
| 1425 | |
| 1426 | nano-0.8.0 - 01/25/2000 |
| 1427 | - View flag (-v, --view) implemented. Global variable view_mode, affects |
| 1428 | main loop of nano.c and new_file(). (me) |
| 1429 | - nano.c: |
| 1430 | split checks for TERMIOS_H and TERMIO_H up so we |
| 1431 | can (theoretically) include them both, which is good. |
| 1432 | handle_sigwinch(): |
| 1433 | Added check for ncurses.h. (Andy Kahn) |
| 1434 | do_spell(): |
| 1435 | We now only try ispell because we don't as of yet |
| 1436 | handle the 'spell' program the right way, now that |
| 1437 | I finally know what the right way is =-). Added |
| 1438 | call to edit_update(fileage) to stop segfaults. |
| 1439 | global_init(): |
| 1440 | Added initialization of edit* filestruct pointers |
| 1441 | to stop segfaults on spell check. |
| 1442 | usage(): |
| 1443 | Check for getopt_long, and if no leave out the |
| 1444 | GNU options everyone seems to love so much (Andy Kahn) |
| 1445 | main(): |
| 1446 | Added checks for getopt_long (Andy Kahn) |
| 1447 | We ignore character 126 because it gets put into |
| 1448 | the buffer when we page up/down on a vt terminal. |
| 1449 | write_file(): |
| 1450 | Fixes for umask (Adam Rogoyski). Renamed tmpfile |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1451 | variable to tmp. Documented the tmp option |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1452 | better in the function comments. Fixed my |
| 1453 | stupidly commented out check for tmp on setting |
| 1454 | umask which I really like => |
| 1455 | - nano.h: |
| 1456 | Made desc variable in shortcut struct a pointer |
| 1457 | instead of a fixed-length string. |
| 1458 | - utils.c: |
| 1459 | Fixed check for config.h before nano.h. |
| 1460 | - configure.in: |
| 1461 | New checks for getopt_long, getopt.h, removed |
| 1462 | CFLAGS and LDFLAGS changes. Gonna have to run |
| 1463 | strip manually now =-) (Andy Kahn) |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1464 | Added check for HAVE_WRESIZE, new file acconfig.h |
| 1465 | (me). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1466 | |
| 1467 | nano-0.7.9 - 01/24/2000 |
| 1468 | - New autoindent feature. Command flag 'i' or '--autoindent'. New |
| 1469 | function do_char() to clean up character output, global |
| 1470 | variable autoindent in global.c. (Graham Mainwaring) |
| 1471 | - New flag 't' or '--tempfile', like Pico's -t mode, automatically saves |
| 1472 | files on exit without prompting. Affects do_writeout(). Also |
| 1473 | do_writeout() now takes a parameter for if exiting. |
| 1474 | Global variable temp_opt in global.c (Graham Mainwaring) |
| 1475 | - Preliminary spell program support. Added command flag '-s' or |
| 1476 | '--speller' for alternative speller command. Added function do_spell() |
| 1477 | and exit_spell() to nano.c. New global variable alt_speller. |
| 1478 | - nano.c: |
| 1479 | main(): We now ignore input of decimal 410 because these get entered |
| 1480 | when we resize the screen. Sorted options in getopt() |
| 1481 | switch statement. |
| 1482 | usage(): Sorted options and changed tabs to make room for -s option. |
| 1483 | write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and |
| 1484 | doesn't print the number of lines written on the statusbar. |
| 1485 | global_init(): |
| 1486 | Added more initializations to globals to support do_spell(). |
| 1487 | |
| 1488 | nano-0.7.8 - 01/23/2000 |
| 1489 | - Stubbed justify function. Affects main() in nano.c and nano.h defines. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1490 | - Added Fkey equivalents for Pico compatibility. Affects nano.h defines |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1491 | and main() in nano.c |
| 1492 | - Removed redundant reset_cursor() calls from the blank() routines. |
| 1493 | - nano.c: |
| 1494 | main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY. |
| 1495 | Removed check for isprint() characters in main while loop |
| 1496 | for people with odd character sets *shrug*. Added some X |
| 1497 | window F-key combos. |
| 1498 | read_line(): New function, consolidates of most of the special |
| 1499 | sections of the file reading code. (Rob Siemborski) |
| 1500 | do_replace(): Many scattered fixes. (Rob Siemborski) |
| 1501 | write_file(): Added check for empty filename. |
| 1502 | - winio.c: |
| 1503 | nanogetstr(): Fixes for deleting at places other than the end of the |
| 1504 | buffer, cut support. (Adam Rogoyski) |
| 1505 | blank_edit(): New function, blanks edit buffer. Added call to it in |
| 1506 | total_refresh(). |
| 1507 | - configure: Checks for glib if snprintf of vsnprintf aren't available |
| 1508 | (Andy Kahn). Changed warning message when no termcap lib |
| 1509 | is found. |
| 1510 | |
| 1511 | nano-0.7.7 - 01/19/2000 |
| 1512 | - Option '-v' for version moved to '-V', because -v is Pico's "read only" |
| 1513 | mode (affects getopt() in main() and usage() function in nano.c |
| 1514 | - New flag -c, always show cursor position. Affects main() in nano.c and |
| 1515 | statusbar() in winio.c |
| 1516 | - Option '-x' doesn't show help window at the bottom of the editor. |
| 1517 | New variable no_help in nano.h and proto.h, affects main(), usage(), |
| 1518 | and global_init() in nano.c, blank_bottombars(), clear_bottomwin(), |
| 1519 | bottombars(), and do_yesno() in winio.c (I had to apply this patch by |
| 1520 | hand =P) (Adam Rogoyski) |
| 1521 | - nano.c: |
| 1522 | handle_sigwinch(): New function (Adam Rogoyski), handles resizing. |
| 1523 | page_up(), page_down(): |
| 1524 | - New functions. We now set the cursor at the top right corner, |
| 1525 | not at the center line, and page up and down a full screen |
| 1526 | rather than a half screen. Original functions renamed to |
| 1527 | page_up_center() and page_down_center(). |
| 1528 | main(): |
| 1529 | - Added check for keystroke key sequence 407 or NANO_CONTROL_Z |
| 1530 | in main while loop because suspend mode was broken. This should |
| 1531 | fix it, at least for now. |
| 1532 | - Added long option support (By popular harassment ;-) - Added |
| 1533 | #include for getopt.h, changed getopt() to getopt_long(). |
| 1534 | Options added so far: --version (-V), --nowrap (-w), --suspend |
| 1535 | (-z), --help (-h), --nohelp (-x). |
| 1536 | - Rewrote signal statements (Adam Rogoyski) |
| 1537 | |
| 1538 | nano 0.7.6 - 01/15/2000 |
| 1539 | - New ChangeLog format |
| 1540 | - nano.c: |
| 1541 | main(): Bound CONTROL_H to backspace (oops) |
| 1542 | Added more Alt-[-key combinations, for page up & down. |
| 1543 | read_bytes(): New function (Adam Rogoyski) |
| 1544 | read_file(): Optimizations - malloc()s *buf a little at a time rather |
| 1545 | than one huge buffer, and replaced the strcat at the end |
| 1546 | with an index variable. Added call to read_bytes(). |
| 1547 | do_next_word(): New function, binding is control-space (0) (me) |
| 1548 | |
| 1549 | - winio.c: |
| 1550 | bottombars(): Fixed non-expanding shortcut keys at bottom of screen. |
| 1551 | (formula is extra space needed = COLS / 6 - 13). |
| 1552 | actual_x() & strlenpt(): |
| 1553 | Added bug#9 fix - when tabs % 8 == 0, we should only |
| 1554 | increment tabs by 1. |
| 1555 | titlebar(): Fixed overrun in titlebar on very long filenames. |
| 1556 | |
| 1557 | 0.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated |
| 1558 | writing a newline at EOF. do_cursorpos and do_replace are now not |
| 1559 | directly bound to signals but picked up as their control sequences |
| 1560 | in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!) |
| 1561 | 0.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for |
| 1562 | available memory, align bug fixed (Big Gaute). |
| 1563 | |
| 1564 | --- As of version 0.7.4 TIP is renamed to nano. |
| 1565 | |
| 1566 | 0.7.3 Fixed a double blank_statusbar() when jumping to first and last |
| 1567 | lines. Took out unnecessary updates in load_file. Bug fix in |
| 1568 | do_left. Missing updates to totlines, fixed bug #7 (last line not |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1569 | 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] | 1570 | with replace all, more/better comments (Robert Siemborski) |
| 1571 | 0.7.2 Our first patch accepted into the source! configure fixes |
| 1572 | and optimizations (Erik Anderson). Added missing stdarg.h to winio.c. |
| 1573 | Bug fix in update_line for editing long lines. Fixed arguments |
| 1574 | being put into the filename when none is specified. Preliminary |
| 1575 | +line command argument function. |
| 1576 | 0.7.1 configure tweak for better FreeBSD support. Removed refresh() from |
| 1577 | edit_refresh to stop cursor "jumping" during screen updates. This |
| 1578 | will probably cause a bug or two. Replace is now Alt-R (@R) and |
| 1579 | Goto line is Alt-G (@G), but they have control key aliases of ^\ and |
| 1580 | ^_ respectively. Made Control-F,B,N,P work like they do in Pico. |
| 1581 | Control-G will become the Help key, but for now is stubbed out. |
| 1582 | 0.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in |
| 1583 | findnextstr. Bound Control-D to Delete. Refixed segfault on zero |
| 1584 | length file. Added Esc-[-A,B,C,D cursor key sequences. |
| 1585 | 0.6.9 Preliminary cursor position function. Split up tip.c more, made |
| 1586 | new files cut.c and winio.c. Fixed a bug in cut_marked_segment |
| 1587 | that was leaving out a character. |
| 1588 | 0.6.8 By request, optchr in main() is now an int. Removed unneeded |
| 1589 | globals. Bound functions for next/prev page, and wrote functions |
| 1590 | do_home and do_end. |
| 1591 | 0.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and |
| 1592 | created read_file. Implemented Insert File. Fixes in tipgetstr |
| 1593 | for erroneous keystrokes. Added leave_cursor arg to do_yesno(). |
| 1594 | 0.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for |
| 1595 | aborted searches and more Pico-compatible messages. statusq() now |
| 1596 | returns -2 on a blank entry instead of -1. Bug fix in actual_x(). |
| 1597 | 0.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text |
| 1598 | regarding buffers with filebot in them. Fixins in do_backspace |
| 1599 | and do_enter. Removed unused variables. Removed strip_newline. |
| 1600 | 0.6.4 Took out the awful newlines from each string buffers. This will |
| 1601 | certainly cause more bugs. Fixes in do_exit(). Better empty file |
| 1602 | handling (I hope). |
| 1603 | 0.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct. |
| 1604 | do_enter() rewritten. |
| 1605 | 0.6.2 Better default file permissions. Complete rewrite of do_wrap(). |
| 1606 | Better handling of editing with cursor near COLS - 1. |
| 1607 | 0.6.1 Starting to implement wrapping toggle. Fix for unhandled control |
| 1608 | codes being entered into the buffer. Bug fix in actual_x; more |
| 1609 | > COLS - 1 functionality, especially on lines with TABs. Fixed being |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1610 | locked into cutbuffer when cutting more than one marked screen of |
| 1611 | text. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1612 | 0.6.0 We have TABs!!! To do this, placewewant is now set to the actual |
| 1613 | width on the screen we want to be, not an index of current->data. |
| 1614 | New functions xplustabs and actual_x convert the actual place |
| 1615 | the cursor should be on the screen to and from the place in the |
| 1616 | string. |
| 1617 | 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] | 1618 | eliminating the "looping" on the last line when holding the right |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1619 | arrow. Preliminary support for longer than COLS - 1 lines. |
| 1620 | Wrote do_delete. |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1621 | 0.5.4 Fixed a bug in total_update that wasn't repainting the screen |
| 1622 | properly. tipgetstr is much more messy but text is now more |
| 1623 | editable ;) Fixed crash on entering a new file, hopefully. Awful |
| 1624 | 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] | 1625 | 0.5.3 Added check for malloc.h. Implementing uncut from marker slowly. |
| 1626 | 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] | 1627 | I would not trust your data with the mark code right now, but then |
| 1628 | we're not at version 1.0 yet so dont trust anything ;) |
| 1629 | 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] | 1630 | jump after each keystroke entered. Select text stubbed. Fixed |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1631 | a bug in total_refresh(). Setting a mark will highlight properly, |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1632 | but does not actually affect what gets put in the cutbuffer (yet). |
| 1633 | 0.5.1 Writing a file out causes modified to be set back to 0. Good. |
| 1634 | Set_modified function written. Cut and uncut text now set |
| 1635 | modified when called. |
| 1636 | 0.5.0 Half way there! Implemented write out, save function seems |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1637 | stable. Changed statusbar blank routing to not refresh, a separate |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1638 | program calls it and then refreshes. Made the program not clear |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1639 | the screen on exit, just the bottom two lines (like Pico). |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1640 | 0.4.2 Implemented replace all in replace function. Crude exit function |
| 1641 | (asks yes or no if modified but does not write to file). |
| 1642 | 0.4.1 Implementing search & replace. Fixed crash on deleting at top of |
| 1643 | edit buffer. Implemented "timeout" of statusbar messages. |
| 1644 | Implemented ^A and ^E (beginning and end of line). |
| 1645 | 0.4.0 Split code into global.c and proto.h to allow for better multiple |
| 1646 | file handling. Added #defines for the majority of the shortcut |
Chris Allegretta | 88520c9 | 2001-05-05 17:45:54 +0000 | [diff] [blame] | 1647 | keys in tip.h for easy modification. |
Chris Allegretta | a2ea193 | 2000-06-06 05:53:49 +0000 | [diff] [blame] | 1648 | 0.3.1 Write edit_refresh which doesn't move the screen around, just |
| 1649 | updates what's there already. do_wrap() and do_enter() added. |
| 1650 | 0.3.0 Preliminary cutbuffer (cut and uncut) support. |
| 1651 | 0.2.7 Check for Modification added. do_search() works. |
| 1652 | 0.2.5 Rewrite of file data struct. |
| 1653 | 0.2 Read in data to buffer, bound keystrokes to stub functions, |
| 1654 | initial cursor movement on screen. Initial autoconf support. |
| 1655 | 0.1 Initial program setup w/ncurses |
Chris Allegretta | c87a411 | 2000-08-07 02:16:24 +0000 | [diff] [blame] | 1656 | |
| 1657 | $Id$ |