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