Benno Schulenberg | 5b9683c | 2017-01-04 16:01:50 +0100 | [diff] [blame] | 1 | [Development moved to git on April 1. The Changelog was discontinued.] |
| 2 | |
| 3 | |
Benno Schulenberg | 5022e47 | 2016-03-31 11:14:25 +0000 | [diff] [blame] | 4 | 2016-03-31 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 06ea93b | 2016-03-31 11:27:16 +0000 | [diff] [blame] | 5 | * src/text.c (do_int_spell_fix): Replace a fake 'while', delete a |
| 6 | redundant 'if', rename a variable, and adjust whitespace. |
Benno Schulenberg | 5022e47 | 2016-03-31 11:14:25 +0000 | [diff] [blame] | 7 | |
Benno Schulenberg | 400e7ce | 2016-03-30 12:00:48 +0000 | [diff] [blame] | 8 | 2016-03-30 Benno Schulenberg <bensberg@justemail.net> |
| 9 | * src/search.c (do_replace_loop, go_looking, findnextstr): Report |
| 10 | "Cancelled" instead of "Not found" when the user aborts a replace |
| 11 | that is taking too long. This fixes Savannah bug #47439. |
Benno Schulenberg | c98afde | 2016-03-30 12:09:39 +0000 | [diff] [blame] | 12 | * src/winio.c (do_replace_highlight): Rename this to 'spotlight', |
| 13 | for clarity, and for contrast with 'do_replace/do_replace_loop'. |
Benno Schulenberg | 29cac04 | 2016-03-30 12:18:22 +0000 | [diff] [blame] | 14 | * src/winio.c (spotlight): Rename a variable for clarity. |
Benno Schulenberg | 532d73c | 2016-03-30 12:27:06 +0000 | [diff] [blame] | 15 | * src/files.c (input_tab), src/prompt.c (get_prompt_string): |
| 16 | Rename a variable to better indicate booleanness. |
Benno Schulenberg | c709c10 | 2016-03-30 12:30:14 +0000 | [diff] [blame] | 17 | * src/text.c (do_int_speller): Unwrap a few lines. |
Benno Schulenberg | 400e7ce | 2016-03-30 12:00:48 +0000 | [diff] [blame] | 18 | |
Benno Schulenberg | 7561b1b | 2016-03-29 12:14:00 +0000 | [diff] [blame] | 19 | 2016-03-29 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | f45a293 | 2016-03-29 14:09:17 +0000 | [diff] [blame] | 20 | * src/nano.c (main), src/text.c (do_justify, do_verbatim_input), |
| 21 | src/winio.c (parse_escape_sequence): Place the cursor in the edit |
| 22 | window also when --constantshow is in effect, after a ^J Justify or |
| 23 | an invalid escape sequence, and when entering a verbatim keystroke. |
| 24 | Leave the cursor off during Unicode input, for extra feedback. |
Benno Schulenberg | e258cc3 | 2016-03-29 14:16:55 +0000 | [diff] [blame] | 25 | * src/browser.c (do_browser): Improve the wording of a message. |
Benno Schulenberg | f9d6aa9 | 2016-03-29 14:46:53 +0000 | [diff] [blame] | 26 | * src/chars.c (is_valid_unicode): Speed up Unicode validation. |
Benno Schulenberg | 23b8dfd | 2016-03-29 14:56:32 +0000 | [diff] [blame] | 27 | * src/text.c (do_int_spell_fix): Allow to stop replacing a word |
| 28 | without aborting the entire spell-fixing session. |
Benno Schulenberg | b834ed3 | 2016-03-29 15:05:47 +0000 | [diff] [blame] | 29 | * src/search.c (do_replace_loop): Chop a now-unused parameter. |
Benno Schulenberg | 7561b1b | 2016-03-29 12:14:00 +0000 | [diff] [blame] | 30 | |
Benno Schulenberg | 38b74e6 | 2016-03-28 18:53:49 +0000 | [diff] [blame] | 31 | 2016-03-28 Benno Schulenberg <bensberg@justemail.net> |
| 32 | * src/winio.c (statusbar): Don't bother putting back the cursor in |
| 33 | the edit window, as it is off anyway, and will be placed back in the |
| 34 | main loop. This prevents a segfault when trying to open a directory. |
Benno Schulenberg | 108fe33 | 2016-03-28 19:00:19 +0000 | [diff] [blame] | 35 | * src/search.c (findnextstr): Provide feedback when searching takes |
| 36 | longer than roughly half a second (on average). |
Benno Schulenberg | 5174323 | 2016-03-28 19:14:33 +0000 | [diff] [blame] | 37 | * src/*.c: Remove the 'last_replace' variable that is never used. |
Benno Schulenberg | 5fe838b | 2016-03-28 19:30:27 +0000 | [diff] [blame] | 38 | * src/winio.c (parse_kbinput): Delete a no-op. |
Benno Schulenberg | 38b74e6 | 2016-03-28 18:53:49 +0000 | [diff] [blame] | 39 | |
Benno Schulenberg | 8704dde | 2016-03-23 09:52:34 +0000 | [diff] [blame] | 40 | 2016-03-23 Benno Schulenberg <bensberg@justemail.net> |
| 41 | * src/search.c (findnextstr): Prevent the internal spell checker from |
| 42 | finding the first occurrence twice. And delete the piece of dead code |
| 43 | that was meant to do this. This fixes Savannah bug #47188. |
Benno Schulenberg | 4b2751c | 2016-03-23 10:19:01 +0000 | [diff] [blame] | 44 | * src/search.c (findnextstr): Clean up and rename a variable. |
Benno Schulenberg | 3660c62 | 2016-03-23 10:27:54 +0000 | [diff] [blame] | 45 | * src/search.c (findnextstr): Poll the keyboard once per second. |
Benno Schulenberg | 6fc70cc | 2016-03-23 19:48:44 +0000 | [diff] [blame] | 46 | * src/winio.c (reset_cursor): Remove a pointless condition, and make |
| 47 | use of an existing intermediary variable. |
Benno Schulenberg | 344fe55 | 2016-03-23 20:04:33 +0000 | [diff] [blame] | 48 | * src/winio.c (reset_cursor): Tidy up and rename a variable. |
Benno Schulenberg | 7f3dc2d | 2016-03-23 20:21:36 +0000 | [diff] [blame] | 49 | * src/winio.c (onekey): Elide an unneeded 'if' and unneeded variable. |
Benno Schulenberg | 8704dde | 2016-03-23 09:52:34 +0000 | [diff] [blame] | 50 | |
Benno Schulenberg | 2f817a6 | 2016-03-22 10:42:28 +0000 | [diff] [blame] | 51 | 2016-03-22 Thomas Rosenau <thomasr@fantasymail.de> |
| 52 | * configure.ac, src/*.c: Check for the existence of the REG_ENHANCED |
| 53 | regex flag, and use it when it's available (on OS X systems). This |
| 54 | completes the fix for Savannah bug #47325. |
| 55 | |
Benno Schulenberg | 730b46c | 2016-03-21 20:38:08 +0000 | [diff] [blame] | 56 | 2016-03-21 Benno Schulenberg <bensberg@justemail.net> |
| 57 | * src/browser.c (findnextfile): Trim a duplicate variable. |
Benno Schulenberg | b55e8d7 | 2016-03-21 20:49:29 +0000 | [diff] [blame] | 58 | * src/browser.c (browser_refresh, findnextfile): Rename four vars. |
Benno Schulenberg | 730b46c | 2016-03-21 20:38:08 +0000 | [diff] [blame] | 59 | |
Benno Schulenberg | 1ef6249 | 2016-03-20 10:57:14 +0000 | [diff] [blame] | 60 | 2016-03-20 Benno Schulenberg <bensberg@justemail.net> |
| 61 | * src/files.c (do_writeout), src/nano.c (do_exit): Normalize the |
| 62 | punctuation in some prompts: no space before a question mark, and |
| 63 | a semicolon instead of a comma between phrases. |
Benno Schulenberg | e2b6572 | 2016-03-20 11:10:31 +0000 | [diff] [blame] | 64 | * src/text.c (do_cutword): Don't put cut words into the cutbuffer -- |
| 65 | that is: treat the deletion of words like pressing Backspace/Delete. |
Benno Schulenberg | 036c5f9 | 2016-03-20 13:38:09 +0000 | [diff] [blame] | 66 | * src/search.c (get_history_completion, find_history): Cycle through |
| 67 | the items from newest to oldest. This fixes Savannah bug #47205. |
Benno Schulenberg | 4ddf194 | 2016-03-20 14:34:46 +0000 | [diff] [blame] | 68 | * src/files.c (do_writeout): When the name of the file was changed, |
| 69 | always ask whether this is okay. This fixes Savannah bug #46894. |
Benno Schulenberg | b3b2fa8 | 2016-03-20 16:03:20 +0000 | [diff] [blame] | 70 | * src/search.c (do_research): Use 'return' instead of 'else'. |
Benno Schulenberg | b8a47f4 | 2016-03-20 16:19:30 +0000 | [diff] [blame] | 71 | * src/search.c (do_search): Don't bother setting 'answer'; just use |
| 72 | 'last_search', which has been set to 'answer' in search_init(). |
Benno Schulenberg | f150894 | 2016-03-20 16:57:15 +0000 | [diff] [blame] | 73 | * src/search.c (go_looking): Factor out the common part of |
| 74 | do_search() and do_research() into this new function. |
Benno Schulenberg | 1ef6249 | 2016-03-20 10:57:14 +0000 | [diff] [blame] | 75 | |
Benno Schulenberg | a6740ba | 2016-03-19 16:19:44 +0000 | [diff] [blame] | 76 | 2016-03-19 Benno Schulenberg <bensberg@justemail.net> |
| 77 | * src/search.c (search_init): Always remember the last typed string, |
| 78 | also when it's an invalid regex. This fixes Savannah bug #47440. |
Benno Schulenberg | 90cffe3 | 2016-03-19 16:41:45 +0000 | [diff] [blame] | 79 | * src/search.c (search_init, do_replace): Don't bother setting the |
| 80 | current answer to the empty string, as do_prompt() can handle a NULL. |
Benno Schulenberg | 01888ab | 2016-03-19 17:01:40 +0000 | [diff] [blame] | 81 | * src/browser.c (do_browser): Delete a snippet of dead code. |
Benno Schulenberg | 3dee81b | 2016-03-19 17:13:33 +0000 | [diff] [blame] | 82 | * src/browser.c (do_browser): Delete an unneeded variable. |
Benno Schulenberg | fc1edf2 | 2016-03-19 17:19:30 +0000 | [diff] [blame] | 83 | * src/search.c (do_gotolinecolumn): Delete another unneeded variable. |
Benno Schulenberg | e291131 | 2016-03-19 18:23:37 +0000 | [diff] [blame] | 84 | * src/search.c (search_init): Snip an always-FALSE condition. |
Benno Schulenberg | 9f93b33 | 2016-03-19 18:51:46 +0000 | [diff] [blame] | 85 | * src/search.c (search_init): Reshuffle stuff to reduce indentation. |
Benno Schulenberg | 311f0e8 | 2016-03-19 20:19:49 +0000 | [diff] [blame] | 86 | * src/search.c (do_replace): Snip a useless setting of answer. |
Benno Schulenberg | a6740ba | 2016-03-19 16:19:44 +0000 | [diff] [blame] | 87 | |
Benno Schulenberg | 19bc63d | 2016-03-17 09:12:30 +0000 | [diff] [blame] | 88 | 2016-03-17 Benno Schulenberg <bensberg@justemail.net> |
| 89 | * src/search.c (do_research): Use the Search key bindings also during |
| 90 | a Re-search, to enable cancelling. This fixes Savannah bug #47159. |
Benno Schulenberg | 988274b | 2016-03-17 10:06:15 +0000 | [diff] [blame] | 91 | * src/search.c (do_replace): Remove two redundant returns. |
Benno Schulenberg | 7098dd0 | 2016-03-17 18:51:46 +0000 | [diff] [blame] | 92 | * src/search.c (findnextstr): Prune two #ifdefs. |
Benno Schulenberg | e753cd1 | 2016-03-17 19:30:29 +0000 | [diff] [blame] | 93 | * src/search.c: Adjust some indentation. |
Benno Schulenberg | 19bc63d | 2016-03-17 09:12:30 +0000 | [diff] [blame] | 94 | |
Benno Schulenberg | 4304022 | 2016-03-14 16:01:44 +0000 | [diff] [blame] | 95 | 2016-03-14 Benno Schulenberg <bensberg@justemail.net> |
| 96 | * src/color.c (color_update): Don't dereference a possible NULL. |
Benno Schulenberg | 7070812 | 2016-03-14 16:09:52 +0000 | [diff] [blame] | 97 | * src/rcfile.c (parse_colors): Make error message equal to others. |
Benno Schulenberg | 8866f72 | 2016-03-14 17:14:35 +0000 | [diff] [blame] | 98 | * src/rcfile.c (parse_rcfile): Rearrange some things to reduce the |
| 99 | indentation level by four steps, so we can unwrap a dozen lines. |
Benno Schulenberg | 4304022 | 2016-03-14 16:01:44 +0000 | [diff] [blame] | 100 | |
Benno Schulenberg | 57c50ba | 2016-03-13 19:19:12 +0000 | [diff] [blame] | 101 | 2016-03-13 Benno Schulenberg <bensberg@justemail.net> |
| 102 | * src/search.c (regexp_init): Allow using the word boundary markers |
| 103 | \< and \> in search strings on non-GNU systems. This is a partial |
| 104 | fix for Savannah bug #47325 reported by Thomas Rosenau. |
Benno Schulenberg | 6ed6462 | 2016-03-13 19:37:21 +0000 | [diff] [blame] | 105 | * src/rcfile.c (parse_rcfile, parse_colors, nregcomp): Combine the |
| 106 | regular-expression flags at compile time instead of at run time. |
Benno Schulenberg | 8fbb922 | 2016-03-13 20:05:36 +0000 | [diff] [blame] | 107 | * src/rcfile.c (parse_syntax, parse_colors): Rename a variable. |
Benno Schulenberg | 8fea347 | 2016-03-13 20:13:16 +0000 | [diff] [blame] | 108 | * src/winio.c (edit_draw): Give a central variable a ringing name. |
Benno Schulenberg | 57c50ba | 2016-03-13 19:19:12 +0000 | [diff] [blame] | 109 | |
Benno Schulenberg | 4712fc0 | 2016-03-13 19:09:28 +0000 | [diff] [blame] | 110 | 2016-03-13 Thomas Rosenau <thomasr@fantasymail.de> (tiny change) |
| 111 | * autogen.sh, README.SVN: Mention SVN instead of CVS. |
| 112 | |
Benno Schulenberg | c5fedaa | 2016-03-12 08:46:18 +0000 | [diff] [blame] | 113 | 2016-03-12 Benno Schulenberg <bensberg@justemail.net> |
| 114 | * src/color.c (color_update): Set the syntax and regex pointers |
Benno Schulenberg | 4e8d2d6 | 2016-03-12 09:18:50 +0000 | [diff] [blame] | 115 | just once, in a single place. And unnest two 'if's. |
Benno Schulenberg | 3cb80ff | 2016-03-12 09:43:10 +0000 | [diff] [blame] | 116 | * src/rcfile.c (parse_one_include, parse_includes): New names for |
| 117 | these functions, to be more distinguishable. |
Benno Schulenberg | fa82824 | 2016-03-12 09:52:16 +0000 | [diff] [blame] | 118 | * src/rcfile.c (parse_colors): Reduce the indentation. |
Benno Schulenberg | f72e165 | 2016-03-12 10:21:02 +0000 | [diff] [blame] | 119 | * src/rcfile.c (parse_colors): Rename a variable. |
Benno Schulenberg | 63d5965 | 2016-03-12 11:15:12 +0000 | [diff] [blame] | 120 | * src/rcfile.c (parse_colors, parse_rcfile): Refind the tail of |
| 121 | the colors list only when extending, not for every added color. |
Benno Schulenberg | c5fedaa | 2016-03-12 08:46:18 +0000 | [diff] [blame] | 122 | |
Benno Schulenberg | fb7f701 | 2016-03-11 16:30:29 +0000 | [diff] [blame] | 123 | 2016-03-11 Benno Schulenberg <bensberg@justemail.net> |
| 124 | * src/browser.c (do_browser): Fix compilation when configured with |
| 125 | --enable-tiny plus --enable-browser. |
Benno Schulenberg | b8aae4d | 2016-03-11 16:39:27 +0000 | [diff] [blame] | 126 | * src/rcfile.c: Tweak some comments and reshuffle some lines. |
Benno Schulenberg | 6e37723 | 2016-03-11 16:45:00 +0000 | [diff] [blame] | 127 | * src/rcfile.c (color_to_short): Elide a variable. |
Benno Schulenberg | d08d72a | 2016-03-11 16:51:15 +0000 | [diff] [blame] | 128 | * src/rcfile.c (grab_and_store): First check that there is an |
| 129 | open syntax before checking that it is named "default". |
Benno Schulenberg | 1786484 | 2016-03-11 17:14:30 +0000 | [diff] [blame] | 130 | * src/rcfile.c (parse_rcfile): Fix compilation when configured with |
| 131 | --enable-tiny plus --enable-nanorc. |
Benno Schulenberg | fb7f701 | 2016-03-11 16:30:29 +0000 | [diff] [blame] | 132 | |
Benno Schulenberg | 2994ea9 | 2016-03-10 09:46:21 +0000 | [diff] [blame] | 133 | 2016-03-10 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | af40fb6 | 2016-03-12 09:37:48 +0000 | [diff] [blame] | 134 | * src/rcfile.c (grab_and_store): Do not accept 'header' and 'magic' |
Benno Schulenberg | 2994ea9 | 2016-03-10 09:46:21 +0000 | [diff] [blame] | 135 | commands for the default syntax. This fixes Savannah bug #47323. |
Benno Schulenberg | 837b4e6 | 2016-03-10 10:36:49 +0000 | [diff] [blame] | 136 | * src/rcfile.c (pick_up_name): Fold the parsing of a linter and |
| 137 | formatter command into a single routine. |
Benno Schulenberg | ed29652 | 2016-03-10 11:00:59 +0000 | [diff] [blame] | 138 | * src/rcfile.c (parse_header_exp, parse_magic_exp, grab_and_store): |
| 139 | Elide the first two functions, and reshuffle parameters in the last. |
Benno Schulenberg | 04262f0 | 2016-03-10 20:06:01 +0000 | [diff] [blame] | 140 | * src/rcfile.c (parse_syntax, parse_rcfile), src/color.c |
| 141 | (color_update): Turn the linked list of syntaxes upside-down, so that |
| 142 | the last-defined one comes first, so that searching can stop at the |
| 143 | first match instead of always having to run through the entire list. |
Benno Schulenberg | 8a5ae21 | 2016-03-10 20:36:12 +0000 | [diff] [blame] | 144 | * src/rcfile.c: Rename a variable to better fit its new role. |
Benno Schulenberg | 2994ea9 | 2016-03-10 09:46:21 +0000 | [diff] [blame] | 145 | |
Benno Schulenberg | b0bdfbb | 2016-03-09 20:28:50 +0000 | [diff] [blame] | 146 | 2016-03-09 Benno Schulenberg <bensberg@justemail.net> |
| 147 | * src/rcfile.c (parse_syntax): Produce an adequate error message |
| 148 | when the syntax name is unquoted. This fixes Savannah bug #47324. |
Benno Schulenberg | 2f63e8d | 2016-03-09 21:00:42 +0000 | [diff] [blame] | 149 | * src/rcfile.c (parse_syntax): Use the grab_and_store() function |
| 150 | also for gathering up extension regexes. |
Benno Schulenberg | b0bdfbb | 2016-03-09 20:28:50 +0000 | [diff] [blame] | 151 | |
Benno Schulenberg | 2070d3a | 2016-03-04 14:53:45 +0000 | [diff] [blame] | 152 | 2016-03-04 Benno Schulenberg <bensberg@justemail.net> |
| 153 | * src/color.c (found_in_list): Don't bother keeping the compiled |
| 154 | regular expression when it matched -- drop this tiny optimization |
| 155 | for when opening multiple files. Instead stop calling malloc(). |
Benno Schulenberg | c02c182 | 2016-03-04 17:04:56 +0000 | [diff] [blame] | 156 | * src/nano.h: Delete a now-unused struct member. |
Benno Schulenberg | 90f1ccf | 2016-03-04 18:28:03 +0000 | [diff] [blame] | 157 | * src/global.c (free_list_item): Elide this now too tiny function. |
Benno Schulenberg | 8a244c6 | 2016-03-04 20:22:27 +0000 | [diff] [blame] | 158 | * scr/global.c (thanks_for_all_the_fish): Rename three variables. |
Benno Schulenberg | 6a4d3aa | 2016-03-04 20:50:38 +0000 | [diff] [blame] | 159 | * src/rcfile.c (parse_colors): Tweak a few things. |
| 160 | * src/color.c (color_update): Rename a variable. |
Benno Schulenberg | 2070d3a | 2016-03-04 14:53:45 +0000 | [diff] [blame] | 161 | |
Benno Schulenberg | 3df1a3f | 2016-03-01 11:06:00 +0000 | [diff] [blame] | 162 | 2016-03-01 Benno Schulenberg <bensberg@justemail.net> |
| 163 | * src/rcfile.c (parse_syntax), src/color.c (color_update): Don't |
| 164 | bother discarding a duplicate syntax (it's too rare, saves little |
| 165 | memory, and freeing it properly would cost even more code), just |
| 166 | select the last-defined one. This addresses Savannah bug #47303. |
Benno Schulenberg | ce32cb0 | 2016-03-01 11:21:05 +0000 | [diff] [blame] | 167 | * src/color.c (color_update): Allow to select an empty syntax. |
Benno Schulenberg | 3df1a3f | 2016-03-01 11:06:00 +0000 | [diff] [blame] | 168 | |
Benno Schulenberg | 85e166b | 2016-02-29 12:04:22 +0000 | [diff] [blame] | 169 | 2016-02-29 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | a24aee4 | 2016-02-29 09:17:03 +0000 | [diff] [blame] | 170 | * src/nano.h, src/rcfile.c, src/color.c: Rename a struct member. |
Benno Schulenberg | af40fb6 | 2016-03-12 09:37:48 +0000 | [diff] [blame] | 171 | * src/rcfile.c (parse_rcfile): Don't allocate a struct for the |
| 172 | "none" syntax (and thus prevent it from being extended). |
Benno Schulenberg | 773fc44 | 2016-02-29 10:54:48 +0000 | [diff] [blame] | 173 | * src/nano.h, src/rcfile.c: Arrange some things more orderly. |
Benno Schulenberg | 85e166b | 2016-02-29 12:04:22 +0000 | [diff] [blame] | 174 | * src/rcfile.c (parse_rcfile): Close an extended syntax again. |
Benno Schulenberg | 04669b5 | 2016-02-29 12:17:53 +0000 | [diff] [blame] | 175 | * src/rcfile.c (parse_rcfile): Rename a variable. |
Benno Schulenberg | e39423b | 2016-02-29 15:40:13 +0000 | [diff] [blame] | 176 | * src/rcfile.c (grab_and_store): Fix breakage of r5695. |
Benno Schulenberg | 8397502 | 2016-02-29 16:56:54 +0000 | [diff] [blame] | 177 | * src/color.c (color_update): Do not dereference symlinks, so that |
| 178 | the syntax will be derived from the name given on the command line, |
| 179 | not from that of the target file. This fixes Savannah bug #47307. |
Benno Schulenberg | a24aee4 | 2016-02-29 09:17:03 +0000 | [diff] [blame] | 180 | |
| 181 | 2016-02-28 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 3e7591f | 2016-02-28 11:04:36 +0000 | [diff] [blame] | 182 | * src/rcfile.c (parse_header_exp): Don't continue when something is |
| 183 | wrong -- skip the rest of the line. This fixes Savannah bug #47289. |
Benno Schulenberg | 1fba31e | 2016-02-28 15:16:27 +0000 | [diff] [blame] | 184 | * src/rcfile.c (parse_header_exp, parse_magic_exp, grab_and_store): |
| 185 | Use the now correct parsing of header regexes also for parsing magic |
| 186 | regexes. This fixes Savannah bug #47292 and saves 50 lines of code. |
Benno Schulenberg | c2148cc | 2016-02-28 15:47:37 +0000 | [diff] [blame] | 187 | * src/rcfile.c (grab_and_store): Rename a variable and densify. |
Benno Schulenberg | 07f71e6 | 2016-02-28 16:36:23 +0000 | [diff] [blame] | 188 | * src/rcfile.c (grab_and_store): Do not drop regexes that were |
| 189 | gathered earlier. This fixes Savannah bug #47285. |
Benno Schulenberg | 68d94a0 | 2016-02-28 17:16:39 +0000 | [diff] [blame] | 190 | * src/rcfile.c (grab_and_store): Rearrange things in my style. |
Benno Schulenberg | 275e9f0 | 2016-02-28 20:38:14 +0000 | [diff] [blame] | 191 | * src/rcfile.c (parse_syntax, parse_rcfile): Disallow adding any |
| 192 | further things to a syntax when an rcfile ends or when an invalid |
| 193 | syntax command is found. This fixes Savannah bug #47207. |
Benno Schulenberg | 3e7591f | 2016-02-28 11:04:36 +0000 | [diff] [blame] | 194 | |
Benno Schulenberg | 2146942 | 2016-02-26 09:04:54 +0000 | [diff] [blame] | 195 | 2016-02-26 Benno Schulenberg <bensberg@justemail.net> |
| 196 | * doc/man/nanorc.5, doc/texinfo/nano.texi, doc/syntax/nanorc.nanorc, |
| 197 | doc/nanorc.sample.in: Correct the description of 'justifytrim', add |
| 198 | it to the Info document, sort it, and tweak a wording. |
Benno Schulenberg | 812f986 | 2016-02-26 16:08:21 +0000 | [diff] [blame] | 199 | * src/color.c (color_update): Look for a default syntax only when |
| 200 | all else failed -- forego the small, complicating optimization. |
Benno Schulenberg | c3b9d29 | 2016-02-26 16:18:18 +0000 | [diff] [blame] | 201 | * src/color.c (color_update): Strip things bare to see the sameness. |
Benno Schulenberg | 4d53694 | 2016-02-26 16:37:23 +0000 | [diff] [blame] | 202 | * src/color.c (found_in_list): Factor out this triple repetition. |
Benno Schulenberg | e74a4c2 | 2016-02-26 17:11:35 +0000 | [diff] [blame] | 203 | * src/color.c (color_update): Rename a variable for conciseness. |
Benno Schulenberg | 2134212 | 2016-02-26 17:25:48 +0000 | [diff] [blame] | 204 | * src/color.c (nfreeregex): Elide this function, now used just once. |
Benno Schulenberg | 3522751 | 2016-02-26 20:09:29 +0000 | [diff] [blame] | 205 | * src/nano.h: Rename a struct element for aptness and contrast. |
Benno Schulenberg | 07441ad | 2016-02-26 20:19:13 +0000 | [diff] [blame] | 206 | * src/nano.h: Rename another element, because it refers not just |
| 207 | to file extensions, but also to header lines and magic strings. |
Benno Schulenberg | 2146942 | 2016-02-26 09:04:54 +0000 | [diff] [blame] | 208 | |
Chris Allegretta | 162d534 | 2016-02-25 21:46:09 +0000 | [diff] [blame] | 209 | GNU nano 2.5.3 - 2016.02.25 |
| 210 | |
Benno Schulenberg | 761fa7c | 2016-02-25 13:52:54 +0000 | [diff] [blame] | 211 | 2016-02-25 Benno Schulenberg <bensberg@justemail.net> |
| 212 | * src/browser.c (do_browser): Plug a memory leak by not copying |
| 213 | a string twice. This fixes Savannah bug #47206. |
Benno Schulenberg | 3b8989b | 2016-02-25 14:08:47 +0000 | [diff] [blame] | 214 | * src/browser.c (do_browser): Now put things in the proper order. |
Benno Schulenberg | 486e828 | 2016-02-25 18:58:17 +0000 | [diff] [blame] | 215 | * src/files.c (make_new_buffer), src/nano.c (splice_opennode): Elide |
| 216 | the latter function, by handling the two cases (the creation of the |
| 217 | first element, and the insertion of a new element) directly. |
Benno Schulenberg | 761fa7c | 2016-02-25 13:52:54 +0000 | [diff] [blame] | 218 | |
Benno Schulenberg | 8a2dd97 | 2016-02-23 08:31:57 +0000 | [diff] [blame] | 219 | 2016-02-23 Benno Schulenberg <bensberg@justemail.net> |
| 220 | * src/prompt.c (do_statusbar_output, do_statusbar_delete): |
| 221 | Rename a variable, for contrast and correctness. |
Benno Schulenberg | 287f78a | 2016-02-23 12:07:58 +0000 | [diff] [blame] | 222 | * src/cut.c (do_copy_text): Don't move the cursor when copying a |
| 223 | backwardly marked region. This fixes Savannah bug #46980. |
Benno Schulenberg | a9a32d6 | 2016-02-23 12:18:10 +0000 | [diff] [blame] | 224 | * src/text.c (do_undo, do_redo): Center the cursor when the |
| 225 | thing being undone or redone is currently off the screen. |
Benno Schulenberg | f5eb316 | 2016-02-23 12:37:10 +0000 | [diff] [blame] | 226 | * src/{files,nano,winio}.c: Rewrap and reshuffle some lines. |
Benno Schulenberg | 8a2dd97 | 2016-02-23 08:31:57 +0000 | [diff] [blame] | 227 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 228 | 2016-02-22 Chris Allegretta <chrisa@asty.org> |
| 229 | * Add the ability to kill the trailing spaces when justifying text, |
Benno Schulenberg | a694600 | 2016-02-26 09:20:59 +0000 | [diff] [blame] | 230 | by adding a new nanorc option 'justifytrim' -- we'll see whether |
| 231 | this warrants a command-line flag or not. Now with slightly |
Chris Allegretta | 16c037f | 2016-02-24 04:46:44 +0000 | [diff] [blame] | 232 | better logic for multi-spaced lines. |
Chris Allegretta | 6a0ae5a | 2016-02-22 15:10:32 +0000 | [diff] [blame] | 233 | |
Benno Schulenberg | f4f9954 | 2016-02-22 09:02:58 +0000 | [diff] [blame] | 234 | 2016-02-22 Benno Schulenberg <bensberg@justemail.net> |
| 235 | * src/nano.c (free_openfilestruct): Elide this function. |
Benno Schulenberg | 818a39c | 2016-02-22 09:34:33 +0000 | [diff] [blame] | 236 | * scr/global.c (thanks_for_all_the_fish, free_list_item): Condense. |
Benno Schulenberg | 9d8c729 | 2016-02-22 09:55:59 +0000 | [diff] [blame] | 237 | * src/winio.c (edit_scroll): The amount to scroll is never zero. |
Benno Schulenberg | c115166 | 2016-02-22 12:49:08 +0000 | [diff] [blame] | 238 | * src/prompt.c (do_statusbar_prev_word, do_statusbar_next_word), |
| 239 | src/move.c (do_prev_word, do_next_word): Sort these in standard way. |
Benno Schulenberg | 7c0e433 | 2016-02-22 13:17:53 +0000 | [diff] [blame] | 240 | * src/prompt.c (do_statusbar_output): Don't move too many bytes. |
| 241 | This fixes Savannah bug #47219 (uncovered by r5655). |
Benno Schulenberg | 3ed08c5 | 2016-02-22 14:26:05 +0000 | [diff] [blame] | 242 | * src/prompt.c (do_statusbar_output): Elide a variable. |
Benno Schulenberg | 27e1e83 | 2016-02-22 16:51:39 +0000 | [diff] [blame] | 243 | * src/prompt.c (do_statusbar_delete): There is no need for nulling: |
| 244 | the charmove() already copies the terminating null byte. |
Benno Schulenberg | e085ebb | 2016-02-22 17:15:28 +0000 | [diff] [blame] | 245 | * src/text.c (do_justify), src/winio.c (parse_escape_sequence): |
| 246 | Show the cursor after a justification and after an unrecognized |
Benno Schulenberg | 7dd1030 | 2016-02-22 18:34:04 +0000 | [diff] [blame] | 247 | escape sequence, and in the edit window when linting. |
Benno Schulenberg | 6a002f5 | 2016-02-22 19:49:45 +0000 | [diff] [blame] | 248 | * src/text.c (do_linter): Use the correct column number, also when |
| 249 | messages are skipped. And don't mind zero or negative numbers. |
| 250 | This is a partial fix for Savannah bug #47131. |
Benno Schulenberg | f4f9954 | 2016-02-22 09:02:58 +0000 | [diff] [blame] | 251 | |
Benno Schulenberg | 801b3ce | 2016-02-21 13:33:52 +0000 | [diff] [blame] | 252 | 2016-02-21 Benno Schulenberg <bensberg@justemail.net> |
| 253 | * src/files.c (input_tab): If the first Tab added the part that all |
| 254 | matches have in common, don't require a third Tab to show the list. |
Benno Schulenberg | 814a422 | 2016-02-21 20:54:04 +0000 | [diff] [blame] | 255 | * scr/global.c (thanks_for_all_the_fish): Remove unneeded checks. |
Benno Schulenberg | 801b3ce | 2016-02-21 13:33:52 +0000 | [diff] [blame] | 256 | |
Benno Schulenberg | e86dc03 | 2016-02-20 12:16:43 +0000 | [diff] [blame] | 257 | 2016-02-20 Benno Schulenberg <bensberg@justemail.net> |
| 258 | * src/search.c (get_history_completion): Avoid leaking memory |
| 259 | when tabbing on a string that does not occur in the history. |
| 260 | This fixes Savannah bug #47124 reported by Mike Frysinger. |
Benno Schulenberg | 0f64fe0 | 2016-02-20 12:30:07 +0000 | [diff] [blame] | 261 | * src/files.c (input_tab): Parse a character in the correct |
| 262 | buffer. This fixes Savannah bug #47199. |
Benno Schulenberg | acf19bd | 2016-02-20 16:35:09 +0000 | [diff] [blame] | 263 | * src/prompt.c (do_statusbar_output): Reduce an allocation to what |
| 264 | is actually needed. This undoes the papering-over of above bug. |
Benno Schulenberg | e86dc03 | 2016-02-20 12:16:43 +0000 | [diff] [blame] | 265 | |
Benno Schulenberg | 56cfab3 | 2016-02-18 16:31:02 +0000 | [diff] [blame] | 266 | 2016-02-18 Benno Schulenberg <bensberg@justemail.net> |
| 267 | * src/search.c (do_replace_loop), src/text.c (do_int_spell_fix), |
| 268 | src/winio.c (edit_refresh): Fix Savannah bug #47127 the proper way. |
Benno Schulenberg | 9703934 | 2016-02-18 19:58:18 +0000 | [diff] [blame] | 269 | * src/nano.c (free_filestruct): Allow the parameter to be NULL. |
Benno Schulenberg | 5fa5ccf | 2016-02-18 20:10:02 +0000 | [diff] [blame] | 270 | * src/search.c (search_init): Delete a debugging leftover. |
Benno Schulenberg | 56cfab3 | 2016-02-18 16:31:02 +0000 | [diff] [blame] | 271 | |
Benno Schulenberg | 16ba6df | 2016-02-16 09:06:21 +0000 | [diff] [blame] | 272 | 2016-02-16 Benno Schulenberg <bensberg@justemail.net> |
| 273 | * src/files.c (initialize_buffer_text): Delete redundant assignment. |
| 274 | |
Benno Schulenberg | 6c0e5e3 | 2016-02-15 12:56:18 +0000 | [diff] [blame] | 275 | 2016-02-15 Benno Schulenberg <bensberg@justemail.net> |
| 276 | * src/files.c (read_file): Free not just the struct but also the |
| 277 | data it contains, and also when it is the first and only line. |
| 278 | This fixes Savannah bug #47153 reported by Mike Frysinger. |
Benno Schulenberg | 706f014 | 2016-02-15 16:24:39 +0000 | [diff] [blame] | 279 | * src/files.c (get_full_path): Avoid losing a buffer when getcwd() |
| 280 | fails. This fixes Savannah bug #47129 reported by Mike Frysinger. |
Benno Schulenberg | 6c0e5e3 | 2016-02-15 12:56:18 +0000 | [diff] [blame] | 281 | |
Benno Schulenberg | f3a1d7b | 2016-02-14 10:19:27 +0000 | [diff] [blame] | 282 | 2016-02-14 Benno Schulenberg <bensberg@justemail.net> |
| 283 | * src/search.c (do_replace_loop): Make iterating through replacement |
| 284 | matches behave again like iterating through search matches: showing |
| 285 | them centered when found offscreen. This fixes Savannah bug #47127. |
Benno Schulenberg | 15947ac | 2016-02-14 10:29:48 +0000 | [diff] [blame] | 286 | * src/text.c (do_int_spell_fix): Restore the above behavior also for |
| 287 | the internal spell fixer. |
Benno Schulenberg | ef16a2a | 2016-02-14 11:16:54 +0000 | [diff] [blame] | 288 | * src/prompt.c (do_statusbar_input, do_statusbar_verbatim_input, |
| 289 | do_statusbar_output): Do the copying from input to output just once. |
Benno Schulenberg | e540053 | 2016-02-14 12:03:47 +0000 | [diff] [blame] | 290 | * src/prompt.c (do_statusbar_output): Rename and condense some stuff, |
| 291 | and correct the main comment: filtering means allow_cntrls==FALSE. |
Benno Schulenberg | 8d005c8 | 2016-02-14 12:17:17 +0000 | [diff] [blame] | 292 | * README, TODO, doc/man/{nano.1,rnano.1,nanorc.5}: Say that 2.5.x |
| 293 | is a "rolling" release, lock files are done, and prepare for 2.5.3. |
Benno Schulenberg | f3a1d7b | 2016-02-14 10:19:27 +0000 | [diff] [blame] | 294 | |
Benno Schulenberg | 813f9f7 | 2016-02-13 16:42:30 +0000 | [diff] [blame] | 295 | 2016-02-13 Benno Schulenberg <bensberg@justemail.net> |
| 296 | * src/browser.c (do_browser, browser_refresh): Rebuild the file list |
| 297 | only when necessary, not for each and every cursor movement. This |
| 298 | fixes Savannah bug #47133. |
Benno Schulenberg | ec3cd1e | 2016-02-13 17:00:06 +0000 | [diff] [blame] | 299 | * src/files.c (save_poshistory): Allocate enough space for printing |
| 300 | out the line and column numbers. This fixes Savannah bug #47135. |
Benno Schulenberg | 568d2a3 | 2016-02-13 19:41:12 +0000 | [diff] [blame] | 301 | * src/*.c: Switch the cursor on and off at the appropriate moments, |
| 302 | so that it no longer shows in the help screen nor in the file list. |
| 303 | This fixes Savannah bug #47126. |
Benno Schulenberg | 813f9f7 | 2016-02-13 16:42:30 +0000 | [diff] [blame] | 304 | |
Chris Allegretta | 0f45b26 | 2016-02-12 05:25:29 +0000 | [diff] [blame] | 305 | GNU nano 2.5.2 - 2016.02.12 |
| 306 | |
Benno Schulenberg | d4118ef | 2016-02-11 08:50:11 +0000 | [diff] [blame] | 307 | 2016-02-11 Benno Schulenberg <bensberg@justemail.net> |
| 308 | * src/text.c (do_linter): Go to the next item in the list before |
| 309 | freeing the current one. This fixes Savannah bug #46796. |
Benno Schulenberg | e39938c | 2016-02-11 16:57:52 +0000 | [diff] [blame] | 310 | * src/text.c (do_formatter): Don't leave curses mode, as that would |
| 311 | hide any error messages upon reentry. And if there are any messages, |
| 312 | allow the user a little time to read them. |
Benno Schulenberg | de5b263 | 2016-02-11 17:25:37 +0000 | [diff] [blame] | 313 | * src/text.c (do_linter, do_formatter): Condense some declarations, |
| 314 | rewrap some lines, and improve a few comments. |
Benno Schulenberg | 6f35203 | 2016-02-11 17:30:16 +0000 | [diff] [blame] | 315 | * doc/syntax/go.nanorc: Make the formatter command more visible. |
Benno Schulenberg | d4118ef | 2016-02-11 08:50:11 +0000 | [diff] [blame] | 316 | |
Benno Schulenberg | ef2cfa3 | 2016-02-10 08:49:23 +0000 | [diff] [blame] | 317 | 2016-02-10 Benno Schulenberg <bensberg@justemail.net> |
| 318 | * src/text.c (discard_until): Prevent a chain of editing actions from |
| 319 | continuing after a discard. This fixes Savannah bug #47104. |
Benno Schulenberg | d83bd7e | 2016-02-10 12:32:43 +0000 | [diff] [blame] | 320 | * src/files.c (get_full_path): Plug a sneaky memory leak. This fixes |
| 321 | Savannah bug #47003 reported and solved by Mike Frysinger. |
Benno Schulenberg | 14d1b3b | 2016-02-10 15:06:45 +0000 | [diff] [blame] | 322 | * src/rcfile.c (parse_binding): Allow only control sequences in the |
| 323 | proper range to be rebound. This fixes Savannah bug #47025. |
Benno Schulenberg | 9646d7c | 2016-02-10 16:26:51 +0000 | [diff] [blame] | 324 | * THANKS: Add a Spanish, a Catalan, and a Croat translator. |
Benno Schulenberg | fddad26 | 2016-02-10 16:40:08 +0000 | [diff] [blame] | 325 | * AUTHORS, THANKS: Remove SVN Id tags and a duplication. |
Benno Schulenberg | b8e0e22 | 2016-02-10 20:16:50 +0000 | [diff] [blame] | 326 | * src/winio.c (get_kbinput), src/nano.c (main): Switch the cursor on |
| 327 | in the right place: in the central input routine. |
Benno Schulenberg | 65efed5 | 2016-02-10 20:29:23 +0000 | [diff] [blame] | 328 | * src/files.c (load_poshistory): Free any records that are dropped. |
Benno Schulenberg | 6c82fd6 | 2016-02-11 08:26:08 +0000 | [diff] [blame] | 329 | This fixes Savannah bug #47111 reported by Mike Frysinger. |
Benno Schulenberg | ef2cfa3 | 2016-02-10 08:49:23 +0000 | [diff] [blame] | 330 | |
Benno Schulenberg | cdeb905 | 2016-02-09 20:53:11 +0000 | [diff] [blame] | 331 | 2016-02-09 Benno Schulenberg <bensberg@justemail.net> |
| 332 | * src/files.c (stat_with_alloc, open_buffer, write_file): Check the |
| 333 | result of a stat() to avoid referencing unitialized data. Original |
| 334 | patch was by Kamil Dudka. |
Benno Schulenberg | 0dbc867 | 2016-02-09 20:57:37 +0000 | [diff] [blame] | 335 | * doc/man/{nano.1,rnano.1,nanorc.5}: Adjust version for release. |
Benno Schulenberg | cdeb905 | 2016-02-09 20:53:11 +0000 | [diff] [blame] | 336 | |
Benno Schulenberg | 05334a2 | 2016-02-07 12:49:42 +0000 | [diff] [blame] | 337 | 2016-02-07 Benno Schulenberg <bensberg@justemail.net> |
| 338 | * src/files.c (update_poshistory): Don't put files in the history list |
| 339 | when they have the default cursor position (line 1, column 1). |
Benno Schulenberg | 12f2729 | 2016-02-07 13:03:48 +0000 | [diff] [blame] | 340 | * src/files.c (write_file): Avoid a pointless lstat() when not writing |
| 341 | to a temp file, and in the bargain elide two variables. |
Benno Schulenberg | 98a8c06 | 2016-02-07 13:08:27 +0000 | [diff] [blame] | 342 | * src/files.c (write_file): Elide an unneeded 'if'. |
Benno Schulenberg | 836fa70 | 2016-02-07 13:14:23 +0000 | [diff] [blame] | 343 | * doc/syntax/c.nanorc: Use a character class instead of a literal tab |
| 344 | and space. The change was inspired by David Niklas. |
Benno Schulenberg | e5fee7e | 2016-02-07 13:37:16 +0000 | [diff] [blame] | 345 | * src/prompt.c (do_yesno_prompt): Normalize the indentation. |
Benno Schulenberg | e853c1e | 2016-02-07 13:41:46 +0000 | [diff] [blame] | 346 | * src/prompt.c (do_yesno_prompt): Rename a variable. |
Benno Schulenberg | 05334a2 | 2016-02-07 12:49:42 +0000 | [diff] [blame] | 347 | |
Benno Schulenberg | 6829241 | 2016-02-06 10:59:31 +0000 | [diff] [blame] | 348 | 2016-02-06 Benno Schulenberg <bensberg@justemail.net> |
| 349 | * src/files.c (write_file): Remove the --nofollow option that hasn't |
| 350 | been working for a dozen years. |
Benno Schulenberg | cc2d370 | 2016-02-06 11:05:58 +0000 | [diff] [blame] | 351 | * src/winio.c (statusbar): Update the screen immediately whenever a |
| 352 | message has been posted on the status bar. |
Benno Schulenberg | 97dcd37 | 2016-02-06 11:18:27 +0000 | [diff] [blame] | 353 | * src/winio.c (statusbar), src/nano.c (do_input): Turn the cursor off |
| 354 | when writing in the status bar, and on when waiting for input. |
Benno Schulenberg | d844f05 | 2016-02-06 11:40:15 +0000 | [diff] [blame] | 355 | * src/prompt.c (update_the_statusbar): Chop two parameters that are |
| 356 | always the same, and that are global variables anyway. |
Benno Schulenberg | 2cfa96b | 2016-02-06 11:44:33 +0000 | [diff] [blame] | 357 | * src/prompt.c (update_bar_if_needed): Rename this for more contrast. |
Benno Schulenberg | 8585bf2 | 2016-02-06 11:50:57 +0000 | [diff] [blame] | 358 | * src/prompt.c (do_statusbar_backspace): Avoid updating the bar twice. |
Benno Schulenberg | 22a01ca | 2016-02-06 12:12:08 +0000 | [diff] [blame] | 359 | * src/cut.c, src/files.c, src/prompt.c: Rewrap some lines and remove |
| 360 | some useless comments. |
Benno Schulenberg | 6829241 | 2016-02-06 10:59:31 +0000 | [diff] [blame] | 361 | |
Benno Schulenberg | 2a2e012 | 2016-02-05 11:55:55 +0000 | [diff] [blame] | 362 | 2016-02-05 Benno Schulenberg <bensberg@justemail.net> |
| 363 | * doc/texinfo/nano.texi: Condense the descriptions of command-key |
| 364 | sequences and of the screen layout, mention how to enter Unicode, |
| 365 | and mention that regular expressions are line oriented. |
Benno Schulenberg | 5a5144b | 2016-02-05 12:01:02 +0000 | [diff] [blame] | 366 | * src/global.c (shortcut_init): Put four strings in standard order. |
Benno Schulenberg | cca22bb | 2016-02-05 12:27:54 +0000 | [diff] [blame] | 367 | * src/text.c (do_undo), src/global.c (shortcut_init): Guide the |
| 368 | translators a little bit. |
Benno Schulenberg | 2a2e012 | 2016-02-05 11:55:55 +0000 | [diff] [blame] | 369 | |
Benno Schulenberg | ba98735 | 2016-01-31 13:06:06 +0000 | [diff] [blame] | 370 | 2016-01-31 Benno Schulenberg <bensberg@justemail.net> |
| 371 | * src/files.c (has_valid_path): Be more specific in how a given path |
| 372 | is invalid. The change was improved by Rishabh Dave. |
Benno Schulenberg | 7b74fed | 2016-01-31 13:20:40 +0000 | [diff] [blame] | 373 | * doc/syntax/nanorc.nanorc: Show ^^ and M-^ as valid key names. |
Benno Schulenberg | 7ade5de | 2016-01-31 13:26:15 +0000 | [diff] [blame] | 374 | * src/prompt.c (do_statusbar_home): Make Home go always fully home. |
Benno Schulenberg | ba98735 | 2016-01-31 13:06:06 +0000 | [diff] [blame] | 375 | |
Benno Schulenberg | d8801ec | 2016-01-29 16:01:43 +0000 | [diff] [blame] | 376 | 2016-01-29 Benno Schulenberg <bensberg@justemail.net> |
| 377 | * src/files.c (do_insertfile): Do display the buffer when configured |
| 378 | with only --disable-histories. This fixes Savannah bug #47011. |
Benno Schulenberg | 98e72f5 | 2016-01-29 17:18:27 +0000 | [diff] [blame] | 379 | * src/nano.c (main): Check position history only when 'positionlog' |
| 380 | is set. This fixes a bug unconsciously reported by Mike Frysinger. |
Benno Schulenberg | 41f0853 | 2016-01-29 16:58:02 +0000 | [diff] [blame] | 381 | * src/files.c (do_lockfile): Plug a couple of memory leaks. |
Benno Schulenberg | 68ab4b8 | 2016-01-29 20:39:12 +0000 | [diff] [blame] | 382 | * src/files.c (update_poshistory): Plug another memory leak. |
Benno Schulenberg | f96f4fe | 2016-01-29 20:43:54 +0000 | [diff] [blame] | 383 | * src/files.c (close_buffer): Update position history only when |
| 384 | the option 'positionlog' is set. |
Benno Schulenberg | d8801ec | 2016-01-29 16:01:43 +0000 | [diff] [blame] | 385 | |
Benno Schulenberg | 7256b05 | 2016-01-26 09:06:31 +0000 | [diff] [blame] | 386 | 2016-01-26 Benno Schulenberg <bensberg@justemail.net> |
| 387 | * src/files.c (update_poshistory): Do not add directories to the |
| 388 | list of file positions. This fixes Savannah bug #46971. |
Benno Schulenberg | 65c7c81 | 2016-01-26 09:16:09 +0000 | [diff] [blame] | 389 | * src/*.c: Adjust some indentation and some line wrapping. |
Benno Schulenberg | 5688c16 | 2016-01-26 10:10:20 +0000 | [diff] [blame] | 390 | * src/prompt.c (do_statusbar_prev_word): When in the middle of a |
| 391 | word, jump to the start of the current word, not to the start of |
| 392 | the preceding one. This fixes Savannah bug #46970. |
Benno Schulenberg | a93a11e | 2016-01-26 10:31:16 +0000 | [diff] [blame] | 393 | * src/prompt.c (do_statusbar_next_word): Use simpler algorithm. |
Benno Schulenberg | 7256b05 | 2016-01-26 09:06:31 +0000 | [diff] [blame] | 394 | |
Benno Schulenberg | ae42240 | 2016-01-25 20:26:01 +0000 | [diff] [blame] | 395 | 2016-01-25 Benno Schulenberg <bensberg@justemail.net> |
| 396 | * src/files.c (update_poshistory): Handle an update of the first |
| 397 | element correctly. |
Benno Schulenberg | 2b72f1d | 2016-01-25 20:38:10 +0000 | [diff] [blame] | 398 | * doc/texinfo/nano.texi: Document the --enable-altrcname option. |
| 399 | The lack of this was pointed out by Frank. |
Benno Schulenberg | 3331828 | 2016-01-25 20:51:00 +0000 | [diff] [blame] | 400 | * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Mention |
| 401 | that the position history is limited to the 200 most recent files. |
Benno Schulenberg | ae42240 | 2016-01-25 20:26:01 +0000 | [diff] [blame] | 402 | |
Benno Schulenberg | 8c705b5 | 2016-01-24 14:49:42 +0000 | [diff] [blame] | 403 | 2016-01-24 Benno Schulenberg <bensberg@justemail.net> |
| 404 | * src/files.c (update_poshistory): Move an updated item to the end |
| 405 | of the list, so that it won't be dropped any time soon. The problem |
| 406 | was pointed out by David Niklas. |
Benno Schulenberg | b8d32d8 | 2016-01-24 15:32:13 +0000 | [diff] [blame] | 407 | * src/winio.c (edit_redraw): Condense by removing a triplication. |
Benno Schulenberg | eed1aab | 2016-01-24 15:42:45 +0000 | [diff] [blame] | 408 | * src/prompt.c (do_statusbar_prev_word, do_statusbar_next_word): |
| 409 | Chop an always-FALSE parameter and delete an unused return value. |
Benno Schulenberg | 53c8ada | 2016-01-24 16:04:25 +0000 | [diff] [blame] | 410 | * src/prompt.c (do_prompt): Remove a superfluous free. |
Benno Schulenberg | f01dd29 | 2016-01-24 20:36:02 +0000 | [diff] [blame] | 411 | * src/prompt.c (update_the_bar): Bundle some statements. |
Benno Schulenberg | decee32 | 2016-01-24 20:44:39 +0000 | [diff] [blame] | 412 | * src/prompt.c (need_statusbar_update): Elide this function. |
Benno Schulenberg | 87460b5 | 2016-01-24 21:02:09 +0000 | [diff] [blame] | 413 | * src/prompt.c (total_statusbar_refresh): Elide this function too. |
Benno Schulenberg | 8c705b5 | 2016-01-24 14:49:42 +0000 | [diff] [blame] | 414 | |
Benno Schulenberg | 3a3b176 | 2016-01-22 16:10:36 +0000 | [diff] [blame] | 415 | 2016-01-22 Benno Schulenberg <bensberg@justemail.net> |
| 416 | * src/utils.c (get_homedir): Don't use $HOME when we're root, because |
| 417 | some sudos don't filter it out of the environment (which can lead to |
| 418 | a root-owned .nano/ directory in the invoking user's home directory). |
| 419 | It fixes https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1471459. |
Benno Schulenberg | cd1d435 | 2016-01-22 16:56:04 +0000 | [diff] [blame] | 420 | * src/files.c (read_line): Rename a variable for clarity and contrast. |
Benno Schulenberg | 3a3b176 | 2016-01-22 16:10:36 +0000 | [diff] [blame] | 421 | |
Benno Schulenberg | aa7edb7 | 2016-01-21 17:29:37 +0000 | [diff] [blame] | 422 | 2016-01-21 Benno Schulenberg <bensberg@justemail.net> |
| 423 | * src/prompt.c (get_prompt_string): Preserve the cursor position on |
| 424 | the statusbar when just toggling a setting or making an excursion to |
| 425 | the file browser. This fixes Savannah bug #46945. |
Benno Schulenberg | 7a1709f | 2016-01-21 18:23:17 +0000 | [diff] [blame] | 426 | * src/prompt.c (do_prompt_abort): Remove this unneeded function, as |
| 427 | nothing can break out of do_prompt(), not a SIGWINCH either. |
| 428 | * src/prompt.c (get_prompt_string): Delete code that is dead now. |
Benno Schulenberg | a443760 | 2016-01-21 18:29:39 +0000 | [diff] [blame] | 429 | * src/prompt.c (get_prompt_string): Elide an unneeded variable. |
Benno Schulenberg | 0af2f9e | 2016-01-21 20:44:22 +0000 | [diff] [blame] | 430 | * src/browser.c (do_browser): Delete unneeded blanking of a variable. |
Benno Schulenberg | aa7edb7 | 2016-01-21 17:29:37 +0000 | [diff] [blame] | 431 | |
Benno Schulenberg | a91a1c7 | 2016-01-20 15:33:41 +0000 | [diff] [blame] | 432 | 2016-01-20 Benno Schulenberg <bensberg@justemail.net> |
| 433 | * src/files.c (open_buffer): Readjust the indentation and a comment. |
Benno Schulenberg | fe3d849 | 2016-01-20 15:56:40 +0000 | [diff] [blame] | 434 | * src/files.c (has_valid_path): Get rid of a global variable. |
Benno Schulenberg | a91a1c7 | 2016-01-20 15:33:41 +0000 | [diff] [blame] | 435 | |
Benno Schulenberg | 8bd76d8 | 2016-01-20 15:14:52 +0000 | [diff] [blame] | 436 | 2016-01-20 Rishabh Dave <rishabhddave@gmail.com> |
| 437 | * src/files.c (verify_path, open_buffer): When opening a new buffer, |
| 438 | verify that the containing directory of the given filename exists. |
Benno Schulenberg | a68e162 | 2016-01-20 16:17:21 +0000 | [diff] [blame] | 439 | This fixes Savannah bug #44950. |
Benno Schulenberg | 8bd76d8 | 2016-01-20 15:14:52 +0000 | [diff] [blame] | 440 | * src/files.c (do_lockfile): Remove the existence check on the |
| 441 | directory, as this is now covered by verify_path(). |
| 442 | |
Benno Schulenberg | a3a69ee | 2016-01-17 16:25:31 +0000 | [diff] [blame] | 443 | 2016-01-17 Benno Schulenberg <bensberg@justemail.net> |
| 444 | * src/global.c: Fix typo in #ifndef symbol. Reported by Frank. |
Benno Schulenberg | 13ba543 | 2016-01-17 16:47:20 +0000 | [diff] [blame] | 445 | * doc/syntax/nanorc.nanorc: Remove '+' as only one menu is allowed. |
Benno Schulenberg | f8f2d63 | 2016-01-17 17:04:28 +0000 | [diff] [blame] | 446 | * src/files.c (load_poshistory): Limit the number of loaded items. |
Benno Schulenberg | a3a69ee | 2016-01-17 16:25:31 +0000 | [diff] [blame] | 447 | |
Benno Schulenberg | ffae582 | 2016-01-17 16:15:08 +0000 | [diff] [blame] | 448 | 2016-01-17 Mike Frysinger <vapier@gentoo.org> |
| 449 | * doc/syntax/nanorc.nanorc: Allow inline comments with key bindings. |
| 450 | |
Benno Schulenberg | dfeb0f9 | 2016-01-15 13:27:12 +0000 | [diff] [blame] | 451 | 2016-01-15 Benno Schulenberg <bensberg@justemail.net> |
| 452 | * src/winio.c (set_modified): Plug another memory leak. |
Benno Schulenberg | 38acacb | 2016-01-15 14:42:07 +0000 | [diff] [blame] | 453 | * src/files.c (set_modified): Move this function to its habitat. |
Benno Schulenberg | caa759b | 2016-01-15 14:23:50 +0000 | [diff] [blame] | 454 | * src/files.c (open_file): Return the fantastic file descriptor |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 455 | when the opening of a non-existent file for reading succeeds. |
Benno Schulenberg | f845938 | 2016-01-15 16:44:50 +0000 | [diff] [blame] | 456 | * src/nano.c (delete_opennode), src/text.c (discard_until): |
| 457 | Free the items on the undo stack when a buffer is closed. |
| 458 | This fixes Savannah bug #46904 reported by Mike Frysinger. |
Benno Schulenberg | dfeb0f9 | 2016-01-15 13:27:12 +0000 | [diff] [blame] | 459 | |
Benno Schulenberg | 0ee7729 | 2016-01-15 13:17:44 +0000 | [diff] [blame] | 460 | 2016-01-15 Mike Frysinger <vapier@gentoo.org> |
| 461 | * src/files.c (open_file): Free the full filename in all cases. |
| 462 | |
Benno Schulenberg | ba7ac78 | 2016-01-14 13:14:16 +0000 | [diff] [blame] | 463 | 2016-01-14 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 8f46377 | 2016-01-14 13:27:22 +0000 | [diff] [blame] | 464 | * doc/nanorc.sample.in: Remove a reference to an obsolete file. |
Benno Schulenberg | ba7ac78 | 2016-01-14 13:14:16 +0000 | [diff] [blame] | 465 | Reported by Mike Frysinger. |
Benno Schulenberg | 8f46377 | 2016-01-14 13:27:22 +0000 | [diff] [blame] | 466 | * src/winio.c (edit_redraw): Delete an 'if' that is always FALSE. |
Benno Schulenberg | 8a9f716 | 2016-01-14 13:41:45 +0000 | [diff] [blame] | 467 | * src/winio.c (edit_redraw): Elide an unneeded variable and adjust |
| 468 | some wrappings and whitespace. |
Benno Schulenberg | 431cec4 | 2016-01-14 13:52:39 +0000 | [diff] [blame] | 469 | * src/proto.h: Delete two duplicate declarations. |
Benno Schulenberg | 33fb174 | 2016-01-14 14:34:05 +0000 | [diff] [blame] | 470 | * src/rcfile.c (check_bad_binding): Elide this unneeded function. |
Benno Schulenberg | 6337095 | 2016-01-14 14:44:11 +0000 | [diff] [blame] | 471 | * src/rcfile.c (parse_binding): Show key only when it was rebound. |
Benno Schulenberg | ba7ac78 | 2016-01-14 13:14:16 +0000 | [diff] [blame] | 472 | |
Benno Schulenberg | ecf3cd7 | 2016-01-13 20:08:36 +0000 | [diff] [blame] | 473 | 2016-01-13 Benno Schulenberg <bensberg@justemail.net> |
| 474 | * src/files.c (save_poshistory): Reduce the indentation. |
Benno Schulenberg | 34fbb1f | 2016-01-13 20:32:40 +0000 | [diff] [blame] | 475 | * src/*.c: Adjust a few comments and rewrap some lines. |
Benno Schulenberg | ecf3cd7 | 2016-01-13 20:08:36 +0000 | [diff] [blame] | 476 | |
Benno Schulenberg | 5b350b8 | 2016-01-12 11:03:00 +0000 | [diff] [blame] | 477 | 2016-01-12 Benno Schulenberg <bensberg@justemail.net> |
| 478 | * NEWS: Fix some typos and whitespace, and normalize the dates. |
Benno Schulenberg | 583b67b | 2016-01-12 11:16:39 +0000 | [diff] [blame] | 479 | * src/files.c (load_poshistory): Rename a variable. |
Benno Schulenberg | cb832be | 2016-01-12 19:07:01 +0000 | [diff] [blame] | 480 | * src/files.c (load_poshistory): Remove some code duplication. |
Benno Schulenberg | deb271d | 2016-01-12 19:20:40 +0000 | [diff] [blame] | 481 | * src/files.c (save_poshistory, update_poshistory, check_poshistory, |
| 482 | load_poshistory): Differentiate variable name from function names. |
Benno Schulenberg | 73ee7d7 | 2016-01-12 20:08:31 +0000 | [diff] [blame] | 483 | * src/files.c (load_poshistory): Remove a senseless iteration. |
Benno Schulenberg | 774c8ba | 2016-01-12 20:17:05 +0000 | [diff] [blame] | 484 | * src/files.c (load_poshistory): Condense the reading of a line. |
Benno Schulenberg | 96b9249 | 2016-01-12 20:26:59 +0000 | [diff] [blame] | 485 | * src/files.c (load_poshistory): Reduce the indentation. |
Benno Schulenberg | 5b350b8 | 2016-01-12 11:03:00 +0000 | [diff] [blame] | 486 | |
Benno Schulenberg | 53991cf | 2016-01-12 10:23:38 +0000 | [diff] [blame] | 487 | GNU nano 2.5.1 - 2016.01.11 |
Chris Allegretta | 26347ed | 2016-01-11 05:03:20 +0000 | [diff] [blame] | 488 | |
Benno Schulenberg | 83475b0 | 2016-01-10 16:10:57 +0000 | [diff] [blame] | 489 | 2016-01-10 Benno Schulenberg <bensberg@justemail.net> |
| 490 | * NEWS: Add item for upcoming 2.5.1. |
Benno Schulenberg | 1b293ff | 2016-01-10 16:18:43 +0000 | [diff] [blame] | 491 | * src/nano.c (version), src/winio.c (do_credits), doc/man/rnano.1, |
| 492 | doc/man/nano.1, doc/man/nanorc.5: Adjust dates and version number. |
Benno Schulenberg | 83475b0 | 2016-01-10 16:10:57 +0000 | [diff] [blame] | 493 | |
Benno Schulenberg | ebbb5b5 | 2016-01-09 18:41:56 +0000 | [diff] [blame] | 494 | 2016-01-09 Benno Schulenberg <bensberg@justemail.net> |
| 495 | * src/color.c (precalc_multicolorinfo), src/winio.c (edit_draw): |
| 496 | Make sure to keep advancing also when matches are zero-length. |
| 497 | This fixes Savannah bug #26977 reported by Tigrmesh. |
Benno Schulenberg | ec4ee1c | 2016-01-09 20:21:29 +0000 | [diff] [blame] | 498 | * src/winio.c (update_line): For softwrap, don't go beyond the number |
| 499 | of available rows in the edit window. This fixes Savannah bug #42188. |
Benno Schulenberg | 113cd50 | 2016-01-09 21:10:39 +0000 | [diff] [blame] | 500 | * ChangeLog: Snip inconsistent blank lines. |
Benno Schulenberg | ebbb5b5 | 2016-01-09 18:41:56 +0000 | [diff] [blame] | 501 | |
Benno Schulenberg | 6d6cda2 | 2016-01-07 15:21:59 +0000 | [diff] [blame] | 502 | 2016-01-07 Benno Schulenberg <bensberg@justemail.net> |
| 503 | * src/global.c (assign_keyinfo): Delete two unneeded #ifdefs: if |
| 504 | they /could/ be false, the H and E keys would stop working. |
Benno Schulenberg | 1ac2c4c | 2016-01-07 15:42:44 +0000 | [diff] [blame] | 505 | * src/global.c (assign_keyinfo): Add a comment and use a symbol. |
Benno Schulenberg | 6d6cda2 | 2016-01-07 15:21:59 +0000 | [diff] [blame] | 506 | |
Benno Schulenberg | 7a08fa6 | 2016-01-04 09:44:35 +0000 | [diff] [blame] | 507 | 2016-01-04 Benno Schulenberg <bensberg@justemail.net> |
| 508 | * src/global.c (shortcut_init): Nowadays the functions are defined |
| 509 | only once, so there is no longer any need to free existing ones. |
Benno Schulenberg | dd29c56 | 2016-01-04 09:52:43 +0000 | [diff] [blame] | 510 | * src/global.c (sctofunc): Rewrite the loop, and constify the input. |
Benno Schulenberg | 0dd351a | 2016-01-04 10:05:52 +0000 | [diff] [blame] | 511 | * src/text.c (do_linter): Condense the exit code. |
Benno Schulenberg | 9e6b9a2 | 2016-01-04 10:37:11 +0000 | [diff] [blame] | 512 | * src/nano.c (allow_sigwinch): Improve its name and its comments. |
Benno Schulenberg | 22557df | 2016-01-04 10:50:21 +0000 | [diff] [blame] | 513 | * src/global.c (shortcut_init): Add "Tab" as key description. |
Benno Schulenberg | 9d72efa | 2016-01-04 11:10:07 +0000 | [diff] [blame] | 514 | * src/text.c (do_linter): Gettextize a forgotten string. |
Benno Schulenberg | 9962e3b | 2016-01-04 19:42:37 +0000 | [diff] [blame] | 515 | * src/global.c (assign_keyinfo): Make "Tab" produce the appropriate |
| 516 | keycode. This fixes Savannah bug #46812 reported by Cody A. Taylor. |
Benno Schulenberg | 7a08fa6 | 2016-01-04 09:44:35 +0000 | [diff] [blame] | 517 | |
Benno Schulenberg | 539a4b4 | 2016-01-04 09:12:21 +0000 | [diff] [blame] | 518 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
| 519 | * src/global.c (strtosc, strtomenu): Constify the input parameter. |
| 520 | |
Benno Schulenberg | 5765e96 | 2016-01-03 15:35:52 +0000 | [diff] [blame] | 521 | 2016-01-03 Benno Schulenberg <bensberg@justemail.net> |
| 522 | * src/text.c (do_deletion), src/nano.c (do_input): Let reset_multis() |
| 523 | figure out whether after a deletion a full refresh is needed, before |
| 524 | doing a redraw of the current line. This fixes Savannah bug #46794. |
Benno Schulenberg | 37712fb | 2016-01-03 16:21:04 +0000 | [diff] [blame] | 525 | * src/nano.c (do_output): Let reset_multis() figure out whether after |
| 526 | an addition a full refresh is needed (for multiline-regexes' sake), |
| 527 | instead of doing it always. |
Benno Schulenberg | a5bc70a | 2016-01-03 16:57:17 +0000 | [diff] [blame] | 528 | * src/color.c (reset_multis): Abort when having no multiline regexes. |
Benno Schulenberg | 0d85c8c | 2016-01-03 17:07:29 +0000 | [diff] [blame] | 529 | * src/nano.c (do_input): A functionless shortcut should be impossible. |
Benno Schulenberg | 42a761e | 2016-01-03 17:37:05 +0000 | [diff] [blame] | 530 | * src/nano.c (do_input): Adjust indentation. |
Benno Schulenberg | 5765e96 | 2016-01-03 15:35:52 +0000 | [diff] [blame] | 531 | |
Benno Schulenberg | 9eca195 | 2016-01-02 16:01:04 +0000 | [diff] [blame] | 532 | 2016-01-02 Benno Schulenberg <bensberg@justemail.net> |
| 533 | * src/text.c (do_spell, do_formatter): Plug three tiny memory leaks. |
Benno Schulenberg | 97e9476 | 2016-01-02 16:25:50 +0000 | [diff] [blame] | 534 | * src/text.c (do_alt_speller, do_formatter): There is no need here to |
| 535 | reinitialize the windows; it will be done when polling the keybuffer. |
Benno Schulenberg | c916ca8 | 2016-01-02 16:33:03 +0000 | [diff] [blame] | 536 | * src/winio.c (do_credits): Correctly restore the settings of NO_HELP |
| 537 | and MORE_SPACE. |
Benno Schulenberg | 9eca195 | 2016-01-02 16:01:04 +0000 | [diff] [blame] | 538 | |
Benno Schulenberg | 33bc96a | 2015-12-31 16:44:32 +0000 | [diff] [blame] | 539 | 2015-12-31 Benno Schulenberg <bensberg@justemail.net> |
| 540 | * src/text.c (do_formatter): Restore the cursor position differently. |
Benno Schulenberg | 8f0262f | 2015-12-31 16:49:07 +0000 | [diff] [blame] | 541 | * src/search.c (do_gotopos): Delete this now unused function. |
Benno Schulenberg | 8f46377 | 2016-01-14 13:27:22 +0000 | [diff] [blame] | 542 | * src/search.c (do_gotolinecolumn): Chop an always-FALSE parameter. |
Benno Schulenberg | 46db638 | 2015-12-31 19:20:40 +0000 | [diff] [blame] | 543 | * src/search.c (do_gotolinecolumn): Chop a duplicate parameter -- |
| 544 | 'allow_update' always has the same value as 'interactive'. |
Benno Schulenberg | 33bc96a | 2015-12-31 16:44:32 +0000 | [diff] [blame] | 545 | |
Benno Schulenberg | 37d8ad8 | 2015-12-30 10:11:20 +0000 | [diff] [blame] | 546 | 2015-12-30 Benno Schulenberg <bensberg@justemail.net> |
| 547 | * src/nano.c (main), src/files.c (open_buffer): Don't try to position |
| 548 | the cursor when opening a buffer failed (because the user specified a |
| 549 | directory, for example). This fixes Savannah bug #46778. |
Benno Schulenberg | 26bc037 | 2015-12-30 20:57:31 +0000 | [diff] [blame] | 550 | * doc/syntax/ocaml.nanorc: Normalize the comments. |
Benno Schulenberg | 37d8ad8 | 2015-12-30 10:11:20 +0000 | [diff] [blame] | 551 | |
Benno Schulenberg | ae598e7 | 2015-12-29 16:48:25 +0000 | [diff] [blame] | 552 | 2015-12-29 Benno Schulenberg <bensberg@justemail.net> |
| 553 | * doc/syntax/{c,objc,asm}.nanorc: Disable the regex for multiline |
| 554 | strings as it colours some things wrong and is a glutton on time. |
| 555 | |
Benno Schulenberg | 8cc6308 | 2015-12-23 16:34:44 +0000 | [diff] [blame] | 556 | 2015-12-23 Benno Schulenberg <bensberg@justemail.net> |
| 557 | * src/files.c (do_writeout, do_writeout_void), src/global.c |
| 558 | (shortcut_init, strtosc), src/nano.c (do_exit, close_and_go), |
| 559 | doc/man/nanorc.5, doc/texinfo/nano.texi: In the writeout menu, |
| 560 | offer ^Q to close and discard the buffer without saving it. By |
| 561 | default, the key is bound only when --tempfile is in effect. |
Benno Schulenberg | a0eea60 | 2015-12-23 16:37:04 +0000 | [diff] [blame] | 562 | * doc/man/nanorc.5: Improve ordering of bindable functions. |
Benno Schulenberg | 31e1af6 | 2015-12-23 16:44:39 +0000 | [diff] [blame] | 563 | * src/files.c (read_file): Don't open an extra blank buffer when |
| 564 | an empty file is read. Bug was exposed by r5498, December 18. |
Benno Schulenberg | 480b6a3 | 2015-12-23 19:18:33 +0000 | [diff] [blame] | 565 | * src/files.c (do_writeout): When the user decides to save the |
| 566 | buffer after all, go back to the filename prompt because the |
| 567 | buffer may not have a name yet. This fixes Savannah bug #46752. |
Benno Schulenberg | 8cc6308 | 2015-12-23 16:34:44 +0000 | [diff] [blame] | 568 | |
Benno Schulenberg | 451b299 | 2015-12-23 10:54:40 +0000 | [diff] [blame] | 569 | 2015-12-23 Mike Frysinger <vapier@gentoo.org> |
| 570 | * doc/syntax/autoconf.nanorc: Handle .m4 files too, add the "elif" |
| 571 | keyword, handle dnl comments better, and mark trailing whitespace. |
Benno Schulenberg | 277f58f | 2015-12-23 13:37:55 +0000 | [diff] [blame] | 572 | * src/files.c (save_history, save_poshistory): Don't make the user |
| 573 | hit Enter when there's an error saving history state at exit; it is |
| 574 | pointless and annoying. Just notify the user and move on. |
Benno Schulenberg | 1bebe34 | 2015-12-23 14:05:47 +0000 | [diff] [blame] | 575 | * src/nano.c (main): On most 64-bit systems, casting a pointer to |
| 576 | an integer can cause valid pointers to be truncated and rejected. |
| 577 | Rework the code to test for the two invalid values directly. |
Benno Schulenberg | 451b299 | 2015-12-23 10:54:40 +0000 | [diff] [blame] | 578 | |
Benno Schulenberg | 454f6eb | 2015-12-23 09:39:50 +0000 | [diff] [blame] | 579 | 2015-12-23 Christian Weisgerber <naddy@mips.inka.de> |
| 580 | * configure.ac: AC_CHECK_HEADERS_ONCE() is very special and cannot be |
| 581 | conditionalized. Use plain AC_CHECK_HEADERS() instead, to not check |
| 582 | for magic.h and zlib.h when configuring with --disable-libmagic. |
| 583 | |
| 584 | 2015-12-22 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 31f0456 | 2015-12-22 16:51:00 +0000 | [diff] [blame] | 585 | * src/color.c (precalc_multicolorinfo, alloc_multidata_if_needed): |
| 586 | Move these two functions to the file where they belong. And make |
| 587 | the checking for an impatient user into a separate routine. |
Benno Schulenberg | 46082bd | 2015-12-22 19:00:25 +0000 | [diff] [blame] | 588 | * src/proto.h, src/winio.c (parse_escape_sequence, convert_sequence, |
| 589 | arrow_from_abcd): Better names for these three functions. |
Benno Schulenberg | bd91785 | 2015-12-22 20:24:50 +0000 | [diff] [blame] | 590 | * src/winio.c (convert_sequence): Use return instead of a variable. |
Benno Schulenberg | 31f0456 | 2015-12-22 16:51:00 +0000 | [diff] [blame] | 591 | |
Benno Schulenberg | 5737fe3 | 2015-12-20 21:10:41 +0000 | [diff] [blame] | 592 | 2015-12-20 Benno Schulenberg <bensberg@justemail.net> |
| 593 | * src/files.c (display_buffer), src/nano.c (main): Precalculate the |
| 594 | multiline-regex cache data for each buffer, not just for the first. |
| 595 | This fixes Savannah bug #46511. |
| 596 | |
Benno Schulenberg | 8295a88 | 2015-12-18 10:41:09 +0000 | [diff] [blame] | 597 | 2015-12-18 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 4fc1684 | 2015-12-18 10:45:35 +0000 | [diff] [blame] | 598 | * src/color.c (color_init): Use less #ifdefs, and adjust indentation. |
Benno Schulenberg | d639129 | 2015-12-18 18:44:40 +0000 | [diff] [blame] | 599 | * src/color.c (set_colorpairs): Improve comments and rename vars. |
Benno Schulenberg | 22e9283 | 2015-12-18 19:18:23 +0000 | [diff] [blame] | 600 | * src/files.c (read_line): Chop a superfluous bool -- 'prevnode' being |
| 601 | NULL is enough indication that the first line is being read. |
Benno Schulenberg | 7276015 | 2015-12-18 20:44:01 +0000 | [diff] [blame] | 602 | * src/files.c (switch_to_prevnext_buffer): Tweak comment and var name. |
Benno Schulenberg | 8295a88 | 2015-12-18 10:41:09 +0000 | [diff] [blame] | 603 | |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 604 | 2015-12-11 Benno Schulenberg <bensberg@justemail.net> |
| 605 | * doc/syntax/Makefile.am: Add missing autoconf and nftables syntaxes. |
| 606 | * ChangeLog: Correct a bug number, plus a few other tweaks. |
| 607 | |
Benno Schulenberg | 77c0357 | 2015-12-08 15:29:56 +0000 | [diff] [blame] | 608 | 2015-12-08 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | a64bfbe | 2015-12-08 16:02:05 +0000 | [diff] [blame] | 609 | * src/nano.c (splice_node, unlink_node): Let these functions update |
| 610 | 'filebot', instead of doing it in four different places each. |
Benno Schulenberg | dd1b2dc | 2015-12-22 16:52:09 +0000 | [diff] [blame] | 611 | * src/search.c (goto_line_posx), src/move.c (do_down): It should not |
Benno Schulenberg | 5834638 | 2015-12-08 18:54:13 +0000 | [diff] [blame] | 612 | be necessary to doubly check for being at the end of file. |
Benno Schulenberg | 9a6f62f | 2015-12-08 19:09:14 +0000 | [diff] [blame] | 613 | * src/text.c (do_justify): Rewrap and reorder a few lines. |
Benno Schulenberg | 77c0357 | 2015-12-08 15:29:56 +0000 | [diff] [blame] | 614 | |
Benno Schulenberg | 5d27910 | 2015-12-07 15:40:07 +0000 | [diff] [blame] | 615 | 2015-12-07 Benno Schulenberg <bensberg@justemail.net> |
| 616 | * src/winio.c (edit_draw): Quit the loop when there is no end match. |
Benno Schulenberg | cac3c33 | 2015-12-07 17:05:04 +0000 | [diff] [blame] | 617 | * src/files.c (do_writeout): When --tempfile is given, make ^O not |
| 618 | write out the file rightaway, as otherwise there is no way to discard |
| 619 | the edits. This undoes the core part of r5378 of September 29. See |
| 620 | https://lists.gnu.org/archive/html/help-nano/2015-11/msg00005.html. |
Benno Schulenberg | 5d27910 | 2015-12-07 15:40:07 +0000 | [diff] [blame] | 621 | |
Chris Allegretta | fa69574 | 2015-12-06 05:24:07 +0000 | [diff] [blame] | 622 | GNU nano 2.5.0 - 2015.12.05 |
| 623 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 624 | 2015-12-05 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | dd1b2dc | 2015-12-22 16:52:09 +0000 | [diff] [blame] | 625 | * src/nano.c (main): key_defined() is an ncurses-ism. Add better |
| 626 | checks for this. |
Chris Allegretta | c4a6725 | 2015-12-06 05:21:43 +0000 | [diff] [blame] | 627 | |
Benno Schulenberg | 40e1fd3 | 2015-12-05 10:16:26 +0000 | [diff] [blame] | 628 | 2015-12-05 Benno Schulenberg <bensberg@justemail.net> |
| 629 | * src/text.c: Fix compilation with --enable-tiny --enable-justify. |
Benno Schulenberg | 2615118 | 2015-12-05 11:04:24 +0000 | [diff] [blame] | 630 | * doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi: |
| 631 | Update date and version number to match the upcoming release. |
Benno Schulenberg | bb31118 | 2015-12-05 11:38:26 +0000 | [diff] [blame] | 632 | * src/files.c, src/winio.c: Avoid two compilation warnings. |
Benno Schulenberg | 40e1fd3 | 2015-12-05 10:16:26 +0000 | [diff] [blame] | 633 | |
Benno Schulenberg | f2da466 | 2015-12-04 21:11:10 +0000 | [diff] [blame] | 634 | 2015-12-04 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | c12d1b8 | 2015-12-04 11:01:48 +0000 | [diff] [blame] | 635 | * src/proto.h: Avoid a compilation warning. |
Benno Schulenberg | ba8f806 | 2015-12-04 20:54:34 +0000 | [diff] [blame] | 636 | * src/color.c (reset_multis_for_id, reset_multis_before/after): |
| 637 | Fuse these three functions into a single one. |
Benno Schulenberg | f2da466 | 2015-12-04 21:11:10 +0000 | [diff] [blame] | 638 | * src/*.c: Rewrap some lines and tweak some comments. |
Benno Schulenberg | c12d1b8 | 2015-12-04 11:01:48 +0000 | [diff] [blame] | 639 | |
| 640 | 2015-12-03 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | ee5cdcb | 2015-12-03 08:50:34 +0000 | [diff] [blame] | 641 | * src/text.c (discard_until): Move the trimming of the undo stack |
| 642 | into a separate function, so it can be used elsewhere. |
Benno Schulenberg | 8651fef | 2015-12-03 09:03:45 +0000 | [diff] [blame] | 643 | * src/text.c (do_justify): Discard the entire undo stack, to prevent |
| 644 | nano from dying (or making mistakes) when trying to undo edits after |
| 645 | a justification. This works around Savannah bug #45531. |
Benno Schulenberg | 4bc8ff1 | 2015-12-03 09:17:06 +0000 | [diff] [blame] | 646 | * src/text.c (do_indent): Also here discard the entire undo stack, to |
| 647 | prevent nano from making mistakes when trying to undo edits after an |
| 648 | indentation change. This works around Savannah bug #46591. |
Benno Schulenberg | ccc9b24 | 2015-12-03 09:34:10 +0000 | [diff] [blame] | 649 | * doc/man/nano.1, doc/texinfo/nano.texi: Add a note about undo not |
| 650 | working after a justification or reindentation. |
Benno Schulenberg | ee5cdcb | 2015-12-03 08:50:34 +0000 | [diff] [blame] | 651 | |
Benno Schulenberg | 5634d7d | 2015-12-02 09:19:04 +0000 | [diff] [blame] | 652 | 2015-12-02 Benno Schulenberg <bensberg@justemail.net> |
| 653 | * doc/syntax/python.nanorc: Don't colour triple quotes by themselves. |
Benno Schulenberg | 1ea76eb | 2015-12-02 10:29:18 +0000 | [diff] [blame] | 654 | * doc/syntax/python.nanorc: Treat backslashed quotes properly, and |
| 655 | don't colour triple-quoted strings in two manners. |
Benno Schulenberg | 1fbcf0b | 2015-12-02 19:03:34 +0000 | [diff] [blame] | 656 | * src/text.c (do_justify): Accept not just the Uncut keystroke but |
| 657 | also the Undo keystroke for undoing a justification. |
Benno Schulenberg | 5634d7d | 2015-12-02 09:19:04 +0000 | [diff] [blame] | 658 | |
Benno Schulenberg | a41968e | 2015-12-03 08:35:40 +0000 | [diff] [blame] | 659 | 2015-12-02 Arturo Borrero González <arturo.borrero.glez@gmail.com> |
Benno Schulenberg | ad1f1bc | 2015-12-02 09:14:45 +0000 | [diff] [blame] | 660 | * doc/syntax/nftables.nanorc: New file; syntax colouring for nftables. |
| 661 | This addresses Debian bug #805288. |
| 662 | |
Benno Schulenberg | 6a88d8a | 2015-12-01 11:39:04 +0000 | [diff] [blame] | 663 | 2015-12-01 Benno Schulenberg <bensberg@justemail.net> |
| 664 | * src/files.c (do_insertfile): Mark the buffer as mofified only when |
| 665 | actually something was inserted. This fixes Savannah bug #45409. |
Benno Schulenberg | 4ea55c3 | 2015-12-01 11:43:13 +0000 | [diff] [blame] | 666 | * src/files.c (do_insertfile): Rename two variables for clarity. |
Benno Schulenberg | ae22fe0 | 2015-12-01 11:51:10 +0000 | [diff] [blame] | 667 | * src/text.c (redo_cut): Delete two redundant assignments. |
Benno Schulenberg | 3d6378b | 2015-12-01 12:35:48 +0000 | [diff] [blame] | 668 | * src/winio.c (edit_draw): Move a check to a better place. |
Benno Schulenberg | eee07d5 | 2015-12-01 12:49:17 +0000 | [diff] [blame] | 669 | * src/winio.c (edit_draw): Rename a label and elide an 'else'. |
Benno Schulenberg | 07e806e | 2015-12-01 13:33:45 +0000 | [diff] [blame] | 670 | * src/winio.c (edit_draw): Unindent after previous change. |
Benno Schulenberg | c9e91df | 2015-12-01 13:44:52 +0000 | [diff] [blame] | 671 | * src/color.c (reset_multis_before, reset_multis_after): Delete four |
| 672 | superfluous checks. |
Benno Schulenberg | 6a88d8a | 2015-12-01 11:39:04 +0000 | [diff] [blame] | 673 | |
Benno Schulenberg | 6b15660 | 2015-11-30 15:49:37 +0000 | [diff] [blame] | 674 | 2015-11-30 Benno Schulenberg <bensberg@justemail.net> |
| 675 | * src/text.c (redo_cut, update_undo): When cutting reaches the EOF, |
| 676 | and NONEWLINES is set, there is no next line at which to put the |
| 677 | cutting point for a redo. So put it at the very end of the cut. |
| 678 | This fixes Savannah bug #46541. |
Benno Schulenberg | 66e2141 | 2015-11-30 16:21:51 +0000 | [diff] [blame] | 679 | * src/text.c (add_undo, update_undo, do_undo, do_redo), src/nano.h: |
| 680 | Store and retrieve the correct file size before and after an action. |
| 681 | This fixes Savannah bug #45523. |
Benno Schulenberg | 42ac536 | 2015-11-30 16:44:44 +0000 | [diff] [blame] | 682 | * src/files.c (free_chararray): Allow the parameter to be NULL. |
| 683 | This fixes Savannah bug #46420. |
Benno Schulenberg | 6b15660 | 2015-11-30 15:49:37 +0000 | [diff] [blame] | 684 | |
Benno Schulenberg | f9a6eb8 | 2015-11-29 10:07:49 +0000 | [diff] [blame] | 685 | 2015-11-29 Benno Schulenberg <bensberg@justemail.net> |
| 686 | * src/color.c (reset_multis): Evaluate correctly whether to reset |
| 687 | the multidata cache. This fixes Savannah bug #46543. |
Benno Schulenberg | 6135e28 | 2015-11-29 10:14:25 +0000 | [diff] [blame] | 688 | * src/color.c (reset_multis): Reset the multidata a bit less often. |
Benno Schulenberg | 9e22e8b | 2015-11-29 10:43:10 +0000 | [diff] [blame] | 689 | * src/color.c (reset_multis): Adjust whitespace and comments. |
Benno Schulenberg | e19a16f | 2015-11-29 12:31:49 +0000 | [diff] [blame] | 690 | * src/winio.c (edit_draw): When an end is found but nothing is painted |
| 691 | (because the coloured part is horizontally scrolled off), nevertheless |
| 692 | set the multidata to CBEGINBEFORE. This fixes Savannah bug #46545. |
Benno Schulenberg | ee33503 | 2015-11-29 13:20:08 +0000 | [diff] [blame] | 693 | * src/winio.c (edit_draw): Use the main cache-allocation routine. |
Benno Schulenberg | 98f2f85 | 2015-11-29 13:52:48 +0000 | [diff] [blame] | 694 | * src/winio.c (edit_draw): Delete two redundant conditions, and move |
| 695 | the least frequent case to the end. |
Benno Schulenberg | 0129299 | 2015-11-29 14:15:16 +0000 | [diff] [blame] | 696 | * src/winio.c (edit_draw): Elide a variable, tweak some comments. |
Benno Schulenberg | f9a6eb8 | 2015-11-29 10:07:49 +0000 | [diff] [blame] | 697 | |
Benno Schulenberg | be01647 | 2015-11-28 17:29:39 +0000 | [diff] [blame] | 698 | 2015-11-28 Benno Schulenberg <bensberg@justemail.net> |
| 699 | * src/nano.c (main): Allow the user full control over the values of |
| 700 | MALLOC_CHECK_ and MALLOC_PERTURB_; nano shouldn't override these. |
| 701 | This reverts r5344 from August 6. |
Benno Schulenberg | b1d6d7f | 2015-11-28 19:03:33 +0000 | [diff] [blame] | 702 | * src/nano.c (alloc_multidata_if_needed): When allocating a new |
| 703 | multidata array, initialize the array. Problem was betrayed by |
| 704 | using MALLOC_PERTURB_, and was located with valgrind. |
Benno Schulenberg | be01647 | 2015-11-28 17:29:39 +0000 | [diff] [blame] | 705 | |
Benno Schulenberg | 793d849 | 2015-11-26 08:45:22 +0000 | [diff] [blame] | 706 | 2015-11-26 Benno Schulenberg <bensberg@justemail.net> |
| 707 | * src/text.c (do_redo): Not just the undoing, also the redoing of a |
| 708 | Backspace at EOF is a special case. This fixes Savannah bug #46532. |
Benno Schulenberg | 4a59b12 | 2015-11-26 09:31:33 +0000 | [diff] [blame] | 709 | * src/text.c (do_redo): Warn about an impossible condition, instead |
| 710 | of blithely continuing. And elide an unneeded variable. |
Benno Schulenberg | 793d849 | 2015-11-26 08:45:22 +0000 | [diff] [blame] | 711 | |
Benno Schulenberg | 438cb11 | 2015-11-25 09:10:02 +0000 | [diff] [blame] | 712 | 2015-11-25 Benno Schulenberg <bensberg@justemail.net> |
| 713 | * src/nano.c (do_output): Refreshing the whole edit window (instead |
| 714 | of just the current line) is not needed for any kind of syntax, but |
| 715 | only when there are multiline regexes. And check for this not on |
| 716 | every keystroke in a burst, but just once. |
Benno Schulenberg | 1b69dd6 | 2015-11-25 09:27:25 +0000 | [diff] [blame] | 717 | * src/text.c (do_undo): Warn about a condition that should never |
| 718 | occur, instead of silently continuing. |
Benno Schulenberg | b255b01 | 2015-11-25 09:49:27 +0000 | [diff] [blame] | 719 | * src/text.c (do_undo): Elide an unneeded variable, and don't skip |
| 720 | the end of this function when things went wrong. |
Benno Schulenberg | 530c786 | 2015-11-25 10:11:54 +0000 | [diff] [blame] | 721 | * src/text.c (do_undo, do_redo, add_undo, update_undo): Handle more |
| 722 | possible internal errors, and do it correctly. |
Benno Schulenberg | cf0c940 | 2015-11-25 10:23:05 +0000 | [diff] [blame] | 723 | * AUTHORS: Add Mark and myself. |
Benno Schulenberg | 438cb11 | 2015-11-25 09:10:02 +0000 | [diff] [blame] | 724 | |
Benno Schulenberg | 9dc47fd | 2015-11-24 11:09:06 +0000 | [diff] [blame] | 725 | 2015-11-24 Benno Schulenberg <bensberg@justemail.net> |
| 726 | * doc/syntax/makefile.nanorc: Also recognize the extensions .make and |
| 727 | .mk as Makefiles. Suggested by Emmanuel Bourg in Debian bug #804845. |
Benno Schulenberg | 9c821df | 2015-11-24 11:42:19 +0000 | [diff] [blame] | 728 | * src/color.c (color_update): Tell the user when a syntax name given |
| 729 | on the command line does not exist. This fixes Savannah bug #46503. |
Benno Schulenberg | fbe4376 | 2015-11-24 13:24:01 +0000 | [diff] [blame] | 730 | * src/nano.c (splice_node): Inserting a new node into a linked list |
| 731 | requires just two parameters: the insertion point and the new node. |
Benno Schulenberg | e0d0ca4 | 2015-11-24 13:28:32 +0000 | [diff] [blame] | 732 | * src/nano.c (splice_node): Rename a variable for clarity. |
Benno Schulenberg | 9dc47fd | 2015-11-24 11:09:06 +0000 | [diff] [blame] | 733 | |
Benno Schulenberg | f08d79d | 2015-11-23 08:52:23 +0000 | [diff] [blame] | 734 | 2015-11-23 Benno Schulenberg <bensberg@justemail.net> |
| 735 | * src/nano.c (main), src/winio.c (parse_kbinput): Make Ctrl+Left and |
| 736 | Ctrl+Right work on more terminals by asking ncurses for the keycodes. |
| 737 | This addresses Debian bug #800681 reported by Arturo Borrero González. |
| 738 | |
Benno Schulenberg | d6bd276 | 2015-11-22 16:07:23 +0000 | [diff] [blame] | 739 | 2015-11-22 Benno Schulenberg <bensberg@justemail.net> |
| 740 | * src/text.c (add_undo): Delete a condition that will never occur -- |
| 741 | this function is only ever called with PASTE when cutbuffer != NULL. |
Benno Schulenberg | 6007d62 | 2015-11-22 16:08:28 +0000 | [diff] [blame] | 742 | * src/text.c: Rewrap, rewrite, rename, and reorder some things. |
Benno Schulenberg | 81f3177 | 2015-11-22 16:09:15 +0000 | [diff] [blame] | 743 | * src/text.c (do_undo, do_redo): Elide an unneeded variable. |
Benno Schulenberg | 72caa54 | 2015-11-22 16:14:42 +0000 | [diff] [blame] | 744 | * src/nano.c (unlink_node): After unlinking, also delete the node. |
Benno Schulenberg | d6bd276 | 2015-11-22 16:07:23 +0000 | [diff] [blame] | 745 | |
Benno Schulenberg | 1f027a8 | 2015-11-21 19:44:27 +0000 | [diff] [blame] | 746 | 2015-11-21 Benno Schulenberg <bensberg@justemail.net> |
| 747 | * src/nano.c (main): Let the value of a --fill option on the |
| 748 | command line override the value of a "set fill" in an rcfile. |
| 749 | This fixes Savannah bug #46492. |
Benno Schulenberg | c706b79 | 2015-11-21 19:55:09 +0000 | [diff] [blame] | 750 | * ChangeLog, NEWS: Add the release marker and copy the news item. |
Benno Schulenberg | 1f027a8 | 2015-11-21 19:44:27 +0000 | [diff] [blame] | 751 | |
Benno Schulenberg | c9e8370 | 2015-11-21 19:05:10 +0000 | [diff] [blame] | 752 | 2015-11-21 David Lawrence Ramsey <pooka109@gmail.com> |
| 753 | * ChangeLog, NEWS: Fix a typo and adjust some spacing. |
| 754 | |
Benno Schulenberg | c706b79 | 2015-11-21 19:55:09 +0000 | [diff] [blame] | 755 | GNU nano 2.4.3 - 2015.11.18 |
| 756 | |
Benno Schulenberg | ec26fd5 | 2015-11-12 19:01:57 +0000 | [diff] [blame] | 757 | 2015-11-12 Benno Schulenberg <bensberg@justemail.net> |
| 758 | * src/text.c (do_undo, update_undo): Store the correct end position of |
| 759 | an inserted file, and use it when undoing. Fixes Savannah bug #46414. |
Benno Schulenberg | f9274a5 | 2015-11-12 19:50:33 +0000 | [diff] [blame] | 760 | * src/text.c (add_undo, update_undo): Delete an unneeded alias -- it |
| 761 | wasn't being used consistently anyway. |
Benno Schulenberg | ec26fd5 | 2015-11-12 19:01:57 +0000 | [diff] [blame] | 762 | |
Benno Schulenberg | f1d9fcc | 2015-11-11 18:51:39 +0000 | [diff] [blame] | 763 | 2015-11-11 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | ec26fd5 | 2015-11-12 19:01:57 +0000 | [diff] [blame] | 764 | * src/text.c (do_redo, update_undo): Redo an Enter from the stored |
Benno Schulenberg | f1d9fcc | 2015-11-11 18:51:39 +0000 | [diff] [blame] | 765 | undo data, instead of running do_enter() again, because the latter |
| 766 | will behave differently depending on the setting of autoindent. |
| 767 | This addresses Debian bug #793053 reported by Clancy. |
Benno Schulenberg | 54c2f6b | 2015-11-11 19:04:31 +0000 | [diff] [blame] | 768 | * src/text.c (do_enter): Chop the now unused parameter 'undoing'. |
Benno Schulenberg | bde996d | 2015-11-11 19:56:35 +0000 | [diff] [blame] | 769 | * src/text.c (do_enter_void): Discard this now useless function. |
Benno Schulenberg | f1d9fcc | 2015-11-11 18:51:39 +0000 | [diff] [blame] | 770 | |
Benno Schulenberg | 02a3a25 | 2015-11-10 10:39:12 +0000 | [diff] [blame] | 771 | 2015-11-10 Benno Schulenberg <bensberg@justemail.net> |
| 772 | * src/winio.c (edit_draw): Skip a zero-length match only when there |
| 773 | /is/ a match. Found with valgrind. This fixes Savannah bug #41908. |
Benno Schulenberg | 619f280 | 2015-11-10 15:09:36 +0000 | [diff] [blame] | 774 | * src/files.c (do_lockfile, update_poshistory): Plug memory leaks. |
Benno Schulenberg | 02a3a25 | 2015-11-10 10:39:12 +0000 | [diff] [blame] | 775 | |
Benno Schulenberg | 4a23a17 | 2015-11-08 19:40:13 +0000 | [diff] [blame] | 776 | 2015-11-08 Benno Schulenberg <bensberg@justemail.net> |
| 777 | * src/global.c (shortcut_init): Allow exiting from the file browser |
| 778 | with the same key (^T) as it was entered (as ^G for the help viewer). |
Benno Schulenberg | c43c048 | 2015-11-08 19:44:57 +0000 | [diff] [blame] | 779 | * doc/syntax/changelog.nanorc: Accept longer bug and patch numbers. |
Benno Schulenberg | 4a23a17 | 2015-11-08 19:40:13 +0000 | [diff] [blame] | 780 | |
Benno Schulenberg | a1c03ed | 2015-11-07 09:49:34 +0000 | [diff] [blame] | 781 | 2015-11-07 Benno Schulenberg <bensberg@justemail.net> |
| 782 | * src/search.c (do_replace_loop): Correct the logic for adjusting the |
| 783 | x position of the mark -- it happened to work because 'mark_begin' is |
| 784 | NULL when 'old_mark_set' is FALSE. Also improve the comments. |
| 785 | |
Benno Schulenberg | 4ede3b4 | 2015-11-06 20:14:37 +0000 | [diff] [blame] | 786 | 2015-11-06 Benno Schulenberg <bensberg@justemail.net> |
| 787 | * src/files.c (write_lockfile): Don't bail out when the hostname is |
| 788 | overlong, but instead truncate it properly and continue. This fixes |
| 789 | Ubuntu bug #1509081 reported by Sam Reed. |
Benno Schulenberg | 53fbcf7 | 2015-11-06 20:25:05 +0000 | [diff] [blame] | 790 | * src/global.c (length_of_list), src/winio.c(get_mouseinput): Don't |
| 791 | check whether a function has a help line, since all of them have. |
| 792 | (And even if some didn't, they would still be valid functions.) |
Benno Schulenberg | a3c9dfa | 2015-11-06 20:55:46 +0000 | [diff] [blame] | 793 | * src/cut.c (cut_line): There is no need to set 'openfile->mark_begin' |
| 794 | just like that; it will be set when 'openfile->mark_set' becomes TRUE. |
Benno Schulenberg | b66e4bf | 2015-11-06 21:02:50 +0000 | [diff] [blame] | 795 | * src/text.c (do_redo): Delete a redundant assignment. |
Benno Schulenberg | 4ede3b4 | 2015-11-06 20:14:37 +0000 | [diff] [blame] | 796 | |
Benno Schulenberg | 5cbb511 | 2015-11-02 10:27:02 +0000 | [diff] [blame] | 797 | 2015-11-02 Benno Schulenberg <bensberg@justemail.net> |
| 798 | * src/nano.h: Delete an unused type definition. |
Benno Schulenberg | bf84e59 | 2015-11-02 10:40:06 +0000 | [diff] [blame] | 799 | * src/nano.h: Improve several comments. |
Benno Schulenberg | 452066b | 2015-11-02 13:46:40 +0000 | [diff] [blame] | 800 | * src/text.c (do_wrap): Elide two variables. |
| 801 | * src/cut.c (do_cut_text): Chop the 'undoing' parameter, so that the |
| 802 | calls of this function become more symmetrical. |
Benno Schulenberg | 5cbb511 | 2015-11-02 10:27:02 +0000 | [diff] [blame] | 803 | |
Benno Schulenberg | 4a1835f | 2015-10-31 19:03:53 +0000 | [diff] [blame] | 804 | 2015-10-31 Benno Schulenberg <bensberg@justemail.net> |
| 805 | * src/nano.c (copy_from_filestruct): When pasting while the mark is |
| 806 | on, the mark's pointer needs to be refreshed only when it is on the |
| 807 | same line as the cursor, and the mark's x coordinate only when the |
| 808 | mark is located after the cursor. This fixes Savannah bug #46347. |
Benno Schulenberg | df80bfd | 2015-10-31 20:17:09 +0000 | [diff] [blame] | 809 | * src/nano.c (copy_from_filestruct): Improve comments and combine |
| 810 | two conditions. |
Benno Schulenberg | 2418b94 | 2015-10-31 20:32:11 +0000 | [diff] [blame] | 811 | * ChangeLog: Correct the description of an old change. |
Benno Schulenberg | 4a1835f | 2015-10-31 19:03:53 +0000 | [diff] [blame] | 812 | |
Benno Schulenberg | b0a2f98 | 2015-10-29 16:52:42 +0000 | [diff] [blame] | 813 | 2015-10-29 Benno Schulenberg <bensberg@justemail.net> |
| 814 | * src/text.c (add_undo): Only skip adding an undo when the current |
| 815 | action equals the last action. This condition is needed for when |
| 816 | typing text is broken by an undo+redo. Fixes Savannah bug #46323. |
Benno Schulenberg | bf64514 | 2015-10-29 17:02:13 +0000 | [diff] [blame] | 817 | * src/text.c (do_redo): Check for "nothing to redo" earlier, so we |
| 818 | can restore the possible warning about an internal error. |
Benno Schulenberg | 499c2af | 2015-10-29 17:27:33 +0000 | [diff] [blame] | 819 | * src/text.c (add_undo): Remove an 'if' that will never be true, |
| 820 | and remove some assignments that have already been done. |
Benno Schulenberg | b0a2f98 | 2015-10-29 16:52:42 +0000 | [diff] [blame] | 821 | |
Benno Schulenberg | 0d9397e | 2015-10-29 10:36:07 +0000 | [diff] [blame] | 822 | 2015-10-29 David Lawrence Ramsey <pooka109@gmail.com> |
| 823 | * src/files.c (do_writeout), src/nano.c (no_current_file_name_warning, |
| 824 | do_exit): When option -t is given, make ^O work the same way as under |
| 825 | Pico, writing out the file without prompting. And make it work even |
Benno Schulenberg | c67ab65 | 2015-10-29 21:10:26 +0000 | [diff] [blame] | 826 | better than Pico when the current file doesn't have a name yet. This |
Benno Schulenberg | cac3c33 | 2015-12-07 17:05:04 +0000 | [diff] [blame] | 827 | fixes Savannah bug #45415. [Reverted in r5489 on December 7.] |
Benno Schulenberg | 0d9397e | 2015-10-29 10:36:07 +0000 | [diff] [blame] | 828 | |
Benno Schulenberg | 3059e16 | 2015-10-28 20:24:15 +0000 | [diff] [blame] | 829 | 2015-10-28 Benno Schulenberg <bensberg@justemail.net> |
| 830 | * src/text.c (do_redo): For an INSERT, 'u->mark_begin_lineno' is not |
| 831 | an actual line number, so spoof it. It can be spoofed, because 'f' |
| 832 | is not used for the INSERT case. This fixes Savannah bug #45524. |
Benno Schulenberg | 26eed9d | 2015-10-28 20:49:16 +0000 | [diff] [blame] | 833 | * src/text.c (do_redo): Remove a condition that can never occur. |
| 834 | Also rewrite a loop to become somewhat clearer. |
Benno Schulenberg | 3059e16 | 2015-10-28 20:24:15 +0000 | [diff] [blame] | 835 | |
Benno Schulenberg | 17b46f0 | 2015-10-27 16:48:24 +0000 | [diff] [blame] | 836 | 2015-10-27 Benno Schulenberg <bensberg@justemail.net> |
| 837 | * src/move.c (do_next_word): Rewrite this function to use the same |
| 838 | logic as do_prev_word(), reducing its number of lines to half. |
Benno Schulenberg | 08e5eea | 2015-10-27 16:57:32 +0000 | [diff] [blame] | 839 | * src/move.c (do_down): Don't calculate the line length twice. And |
| 840 | in the bargain avoid a warning about comparison of signed/unsigned. |
Benno Schulenberg | 17b46f0 | 2015-10-27 16:48:24 +0000 | [diff] [blame] | 841 | |
Benno Schulenberg | 954d04b | 2015-09-05 09:14:24 +0000 | [diff] [blame] | 842 | 2015-09-05 Benno Schulenberg <bensberg@justemail.net> |
| 843 | * src/winio.c (display_string, edit_draw): Force a redraw of a line |
| 844 | only when it contains a multicolumn character, to spare all regular |
| 845 | text this significant slowdown. This fixes Savannah bug #45684 |
| 846 | reported by Wyatt Ward. |
Benno Schulenberg | 6620de0 | 2015-09-05 09:22:50 +0000 | [diff] [blame] | 847 | * src/move.c (do_prev_word): Drop a return value that is never used. |
Benno Schulenberg | b410332 | 2015-09-05 09:40:09 +0000 | [diff] [blame] | 848 | * src/move.c (do_prev_word): When in the middle of a word, jump to |
| 849 | its beginning instead of to the beginning of the preceding word. |
| 850 | Nano now matches the behaviour of Pico and of most other editors. |
| 851 | This fixes Savannah bug #45413. |
Benno Schulenberg | 954d04b | 2015-09-05 09:14:24 +0000 | [diff] [blame] | 852 | |
Benno Schulenberg | 9205c28 | 2015-09-04 19:34:55 +0000 | [diff] [blame] | 853 | 2015-09-04 Benno Schulenberg <bensberg@justemail.net> |
| 854 | * src/chars.c: Reverting r5354 from August 12. This fixes Savannah |
| 855 | bug #45874. Apparently there is /some/ state somewhere after all. |
| 856 | |
Benno Schulenberg | 213294e | 2015-08-29 19:52:03 +0000 | [diff] [blame] | 857 | 2015-08-29 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | c9e8370 | 2015-11-21 19:05:10 +0000 | [diff] [blame] | 858 | * doc/syntax/autoconf.nanorc: New file; syntax colouring for Autoconf. |
Benno Schulenberg | 459d9f8 | 2015-08-29 20:14:57 +0000 | [diff] [blame] | 859 | * src/files.c: Rewrap some lines and tweak two comments. |
Benno Schulenberg | 213294e | 2015-08-29 19:52:03 +0000 | [diff] [blame] | 860 | |
Benno Schulenberg | a9aa0ef | 2015-08-16 08:43:56 +0000 | [diff] [blame] | 861 | 2015-08-16 Benno Schulenberg <bensberg@justemail.net> |
| 862 | * src/help.c (help_init, help_line_len): Avoid wide paragraphs of text |
| 863 | in the help screens: wrap them at 74 columns if the screen is wider. |
Benno Schulenberg | 5440796 | 2015-08-16 08:49:29 +0000 | [diff] [blame] | 864 | * src/help.c (help_init): Reduce the scope of a variable. |
Benno Schulenberg | 427eff6 | 2015-08-16 09:14:42 +0000 | [diff] [blame] | 865 | * src/help.c: Adjust some comments and whitespace. |
Benno Schulenberg | 7a1959f | 2015-08-16 09:28:33 +0000 | [diff] [blame] | 866 | * src/help.c (do_help, do_help_void): Don't bother passing a function |
| 867 | when it's used only once. |
Benno Schulenberg | 9e438cd | 2015-08-16 12:15:11 +0000 | [diff] [blame] | 868 | * src/help.c (help_line_len): The wrap location can be beyond the EOL, |
| 869 | so for determining the length of the current line, don't start at that |
| 870 | location but at the beginning. This fixes Savannah bug #45770. |
Benno Schulenberg | a5b2953 | 2015-08-16 12:20:24 +0000 | [diff] [blame] | 871 | * src/help.c (help_line_len): Rename and reorder most of it. |
Benno Schulenberg | 149b1fe | 2015-08-16 13:05:35 +0000 | [diff] [blame] | 872 | * src/nano.c (make_new_opennode), src/files.c (initialize_buffer): |
| 873 | Remove some duplication in the initialization of a new openfile node. |
Benno Schulenberg | 8925eab | 2015-08-16 15:21:32 +0000 | [diff] [blame] | 874 | * src/nano.c (make_new_opennode): Don't bother setting things to NULL |
Benno Schulenberg | 213294e | 2015-08-29 19:52:03 +0000 | [diff] [blame] | 875 | when they will be initialized right away. |
Benno Schulenberg | 8925eab | 2015-08-16 15:21:32 +0000 | [diff] [blame] | 876 | * src/files.c (make_new_buffer): Don't bother with a separate function |
| 877 | when it's used only once, right there. |
Benno Schulenberg | 86bbe50 | 2015-08-16 17:53:28 +0000 | [diff] [blame] | 878 | * src/help.c (help_init): Since the new SIGWINCH handling, a resizing |
| 879 | of the window will no longer break out of the help viewer, so there is |
| 880 | no need any more for an extra freeing of the help text. |
Benno Schulenberg | a9aa0ef | 2015-08-16 08:43:56 +0000 | [diff] [blame] | 881 | |
Benno Schulenberg | 677e947 | 2015-08-13 17:46:19 +0000 | [diff] [blame] | 882 | 2015-08-13 Benno Schulenberg <bensberg@justemail.net> |
| 883 | * src/search.c (do_find_bracket): Remove mistaken comparison between |
| 884 | pointer and literal character. Found with cppcheck. |
Benno Schulenberg | 8a058d1 | 2015-08-13 18:22:29 +0000 | [diff] [blame] | 885 | * src/browser.c (browser_init): Speed up the finding of the longest |
| 886 | filename: don't limit the value to that of COLS all the time, as this |
| 887 | is done later anyway, and don't bother skipping the dot entry. |
Benno Schulenberg | f811846 | 2015-08-13 19:29:55 +0000 | [diff] [blame] | 888 | * src/global.c (shortcut_init): In restricted mode, allow changing |
| 889 | the file format, but actually disable Appending, Prepending, making |
| 890 | Backups, and opening the File Browser. |
Benno Schulenberg | 677e947 | 2015-08-13 17:46:19 +0000 | [diff] [blame] | 891 | |
Benno Schulenberg | 58a0dde | 2015-08-12 19:27:13 +0000 | [diff] [blame] | 892 | 2015-08-12 Benno Schulenberg <bensberg@justemail.net> |
| 893 | * src/chars.c: UTF-8 is a stateless encoding, so there is no need to |
Benno Schulenberg | 3c40b35 | 2015-10-29 17:31:34 +0000 | [diff] [blame] | 894 | reset any state. [Reverted in r5369 on September 4.] |
Benno Schulenberg | 58a0dde | 2015-08-12 19:27:13 +0000 | [diff] [blame] | 895 | |
Benno Schulenberg | c9337dd | 2015-08-11 17:27:30 +0000 | [diff] [blame] | 896 | 2015-08-11 Benno Schulenberg <bensberg@justemail.net> |
| 897 | * src/files.c (write_file): Avoid calling copy_file() with a null |
| 898 | pointer. Found with cppcheck. |
Benno Schulenberg | 07fdf46 | 2015-08-11 17:43:08 +0000 | [diff] [blame] | 899 | * src/files.c (write_file): A failure to delete the temporary file |
| 900 | does not mean that it wasn't copied properly. |
Benno Schulenberg | c9337dd | 2015-08-11 17:27:30 +0000 | [diff] [blame] | 901 | |
Benno Schulenberg | 90798fb | 2015-08-09 16:05:50 +0000 | [diff] [blame] | 902 | 2015-08-09 Benno Schulenberg <bensberg@justemail.net> |
| 903 | * src/global.c, src/help.c (help_init), src/nano.c (do_toggle, main), |
| 904 | src/winio.c (display_string, statusbar): Allow toggling the display |
| 905 | of whitespace also when support for nanorc files was not built in, |
| 906 | because the default values are quite usable. |
Benno Schulenberg | eac0446 | 2015-08-09 16:31:01 +0000 | [diff] [blame] | 907 | * src/files.c (read_file), src/rcfile.c, src/nano.c (main, usage): |
| 908 | Fix compilation with --enable-tiny; file formats are not available |
| 909 | then, so option --unix has no place; also add its description. |
Benno Schulenberg | ea2b51a | 2015-08-09 18:10:13 +0000 | [diff] [blame] | 910 | * src/nano.c (finish): Remove an unneeded and mistaken condition. |
Benno Schulenberg | f5234e5 | 2015-08-09 18:12:32 +0000 | [diff] [blame] | 911 | * src/nano.c (say_there_is_no_help): Make it sound more definitive. |
Benno Schulenberg | 90798fb | 2015-08-09 16:05:50 +0000 | [diff] [blame] | 912 | |
Benno Schulenberg | 2a5bd55 | 2015-08-08 08:10:57 +0000 | [diff] [blame] | 913 | 2015-08-08 Benno Schulenberg <bensberg@justemail.net> |
| 914 | * src/winio.c (display_string): For some reason the reallocation done |
| 915 | by null_at() messes things up. So put in the null byte "manually". |
| 916 | This is a fix -- or workaround -- for Savannah bug #45718. |
| 917 | |
Benno Schulenberg | 30daf4d | 2015-08-06 09:01:33 +0000 | [diff] [blame] | 918 | 2015-08-06 Benno Schulenberg <bensberg@justemail.net> |
| 919 | * src/nano.c (main): For --enable-debug builds, let malloc() help |
| 920 | to find initialization failures and uses-after-free. Suggested by |
Benno Schulenberg | be01647 | 2015-11-28 17:29:39 +0000 | [diff] [blame] | 921 | Mike Frysinger. [Reverted in r5446 on November 28.] |
Benno Schulenberg | 7e1bc82 | 2015-08-06 19:42:08 +0000 | [diff] [blame] | 922 | * doc/texinfo/nano.texi: Improve the formatting, using @t to mark |
| 923 | double-quoted literal strings, @: to mark periods that do not end |
| 924 | sentences, and @. to mark a finishing period after a capital. |
Benno Schulenberg | 30daf4d | 2015-08-06 09:01:33 +0000 | [diff] [blame] | 925 | |
Benno Schulenberg | 70cbbda | 2015-08-04 18:49:57 +0000 | [diff] [blame] | 926 | 2015-08-04 Benno Schulenberg <bensberg@justemail.net> |
| 927 | * src/nano.c (main), src/files.c (read_file), src/rcfile.c, |
| 928 | doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Add |
| 929 | the option --unix, to save a file by default in Unix format. |
Benno Schulenberg | 24d6b7f | 2015-08-04 19:51:02 +0000 | [diff] [blame] | 930 | * doc/nanorc.sample.in: Advertise the five new bindable functions. |
| 931 | * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Tweaks. |
Benno Schulenberg | 70cbbda | 2015-08-04 18:49:57 +0000 | [diff] [blame] | 932 | |
Benno Schulenberg | 3d2784e | 2015-08-03 08:03:22 +0000 | [diff] [blame] | 933 | 2015-08-03 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 455fb4f | 2015-08-03 08:32:52 +0000 | [diff] [blame] | 934 | * src/rcfile.c (parse_binding): Check the value of shortcut->toggle |
Benno Schulenberg | 3d2784e | 2015-08-03 08:03:22 +0000 | [diff] [blame] | 935 | only if it actually is a toggle. Found with valgrind. |
Benno Schulenberg | 455fb4f | 2015-08-03 08:32:52 +0000 | [diff] [blame] | 936 | * src/files.c (write_lockfile): Plug a leak. Found with valgrind. |
Benno Schulenberg | 95e1f55 | 2015-08-03 19:52:48 +0000 | [diff] [blame] | 937 | * src/rcfile.c (parse_binding): Plug a tiny leak. |
Benno Schulenberg | 3d2784e | 2015-08-03 08:03:22 +0000 | [diff] [blame] | 938 | |
Benno Schulenberg | 8a06dfa | 2015-08-02 20:27:45 +0000 | [diff] [blame] | 939 | 2015-08-02 Benno Schulenberg <bensberg@justemail.net> |
| 940 | * src/files.c (initialize_buffer): Initialize also openfile->syntax. |
| 941 | This addresses Debian bug #787914 reported by Paul Wise. |
| 942 | |
Benno Schulenberg | e919c22 | 2015-08-01 08:35:14 +0000 | [diff] [blame] | 943 | 2015-08-01 Benno Schulenberg <bensberg@justemail.net> |
| 944 | * src/nano.c (precalc_multicolorinfo): Set each multiline-color |
| 945 | value instead of OR-ing it. This fixes Savannah bug #45640. |
Benno Schulenberg | 45f873a | 2015-08-01 08:41:36 +0000 | [diff] [blame] | 946 | * src/help.c (help_init): Show also the dedicated keys in the |
| 947 | ^G help text. This helps to clarify some keys, and helps to |
| 948 | see which ones could easily be rebound. |
Benno Schulenberg | ace1517 | 2015-08-01 08:47:38 +0000 | [diff] [blame] | 949 | * src/nano.c (usage): Add "and exit" to the description of --help, |
| 950 | to match --version, and to distinguish it more from ^G. |
Benno Schulenberg | e919c22 | 2015-08-01 08:35:14 +0000 | [diff] [blame] | 951 | |
Benno Schulenberg | b3e4051 | 2015-07-31 11:52:26 +0000 | [diff] [blame] | 952 | 2015-07-31 Benno Schulenberg <bensberg@justemail.net> |
| 953 | * src/text.c (do_cutword, do_cut_prev_word, do_cut_next_word), |
| 954 | src/global.c (shortcut_init, strtosc), doc/texinfo/nano.texi, |
| 955 | doc/man/nanorc.5: Add two new bindable functions, 'cutwordleft' |
| 956 | and 'cutwordright', which delete all characters from the cursor |
| 957 | to the preceding or succeeding word start. Fixes bug #32803. |
| 958 | |
Benno Schulenberg | 2ee18d6 | 2015-07-30 10:37:28 +0000 | [diff] [blame] | 959 | 2015-07-30 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 6847616 | 2015-07-30 18:10:16 +0000 | [diff] [blame] | 960 | * src/global.c (shortcut_init): Don't show ^R and ^T in the help |
| 961 | lines in restricted mode (if possible), to give visual feedback. |
Benno Schulenberg | 104ea6b | 2015-07-30 11:29:45 +0000 | [diff] [blame] | 962 | * src/*.c: Normalize the whitespace after the preceding changes. |
Benno Schulenberg | 6847616 | 2015-07-30 18:10:16 +0000 | [diff] [blame] | 963 | * src/nano.c (show_restricted_warning, say_there_is_no_help): |
| 964 | Differentiate between something being disabled/restricted (because |
| 965 | of the way of invocation) and help texts being unavailable (which |
| 966 | is a compile-time decision). |
Benno Schulenberg | b7f7df9 | 2015-07-30 19:51:08 +0000 | [diff] [blame] | 967 | * src/global.c (shortcut_init): Change "Justify" to a tag and regroup. |
Benno Schulenberg | 20ba559 | 2015-07-30 20:15:01 +0000 | [diff] [blame] | 968 | * src/nano.c (do_suspend_void, do_suspend): Provide feedback when |
| 969 | suspension is not enabled; and it cannot be enabled in restricted |
| 970 | mode any longer, so there is no need to check for that any more. |
Benno Schulenberg | 2ee18d6 | 2015-07-30 10:37:28 +0000 | [diff] [blame] | 971 | |
Benno Schulenberg | e4294a2 | 2015-07-29 17:36:39 +0000 | [diff] [blame] | 972 | 2015-07-29 Benno Schulenberg <bensberg@justemail.net> |
| 973 | * src/text.c (do_linter): When the linter is called in restricted mode |
| 974 | (possible when nano was built with --disable-speller), it is better to |
| 975 | say that this function is disabled than that no linter was defined. |
Benno Schulenberg | 5885e34 | 2015-07-29 19:31:50 +0000 | [diff] [blame] | 976 | * src/nano.c (usage): When asking for --help in restricted mode, don't |
| 977 | show options that don't have any effect. |
Benno Schulenberg | efbf7b6 | 2015-07-29 20:21:45 +0000 | [diff] [blame] | 978 | * src/nano.c (do_toggle): Make the four toggles that don't have any |
| 979 | effect in restricted mode say that they're disabled. |
Benno Schulenberg | e4294a2 | 2015-07-29 17:36:39 +0000 | [diff] [blame] | 980 | |
Benno Schulenberg | bff6a90 | 2015-07-28 19:39:34 +0000 | [diff] [blame] | 981 | 2015-07-28 Benno Schulenberg <bensberg@justemail.net> |
| 982 | * src/text.c (do_formatter), src/nano.c (allow_pending_sigwinch): |
| 983 | Reenable SIGWINCH-es also when invoking the formatter fails, and |
| 984 | correct some comments. |
Benno Schulenberg | 0b15c42 | 2015-07-28 20:04:18 +0000 | [diff] [blame] | 985 | * src/text.c (do_linter, do_formatter): In restricted mode, no nanorc |
| 986 | files are read, so no linter or formatter will be defined, so these |
| 987 | routines will never be called. Also, the formatter will only ever |
| 988 | be called when a syntax applies to the current file and this syntax |
| 989 | defines a formatter, so there is no need to check this again. |
Benno Schulenberg | bff6a90 | 2015-07-28 19:39:34 +0000 | [diff] [blame] | 990 | |
Benno Schulenberg | 8ffc33c | 2015-07-26 08:20:28 +0000 | [diff] [blame] | 991 | 2015-07-26 Benno Schulenberg <bensberg@justemail.net> |
| 992 | * src/search.c (do_replace_loop): When doing regex replacements, find |
Benno Schulenberg | 4990f74 | 2015-07-26 09:23:24 +0000 | [diff] [blame] | 993 | each zero-length match only once. This fixes Savannah bug #45626. |
| 994 | * src/global.c (shortcut_init, strtosc), src/search.c (do_findnext, |
| 995 | do_findprevious), doc/man/nanorc.5, doc/texinfo/nano.texi: Add two |
| 996 | new bindable functions, 'findnext' and 'findprevious', which repeat |
| 997 | the last search command in a fixed direction without prompting. |
Benno Schulenberg | f7e8861 | 2015-07-26 09:29:42 +0000 | [diff] [blame] | 998 | * src/global.c (shortcut_init): Tweak a string. |
Benno Schulenberg | 17ab9a2 | 2015-07-26 17:04:29 +0000 | [diff] [blame] | 999 | * src/search.c, src/move.c: Improve a few of the comments. |
Benno Schulenberg | c7f5691 | 2015-07-26 17:29:34 +0000 | [diff] [blame] | 1000 | * src/search.c (replace_regexp, replace_line): Rename two variables, |
| 1001 | and make the calculation of the new line size more symmetrical. |
Benno Schulenberg | 8ffc33c | 2015-07-26 08:20:28 +0000 | [diff] [blame] | 1002 | |
Benno Schulenberg | ee7b095 | 2015-07-25 19:25:50 +0000 | [diff] [blame] | 1003 | 2015-07-25 Benno Schulenberg <bensberg@justemail.net> |
| 1004 | * src/global.c (shortcut_init, strtosc), src/files.c (savefile), |
| 1005 | doc/man/nanorc.5, doc/texinfo/nano.texi: Add a new bindable function, |
| 1006 | 'savefile', which writes a file to disk without first asking for its |
| 1007 | name. This implements Savannah patch #8208 submitted by Seiya Nuta. |
| 1008 | |
Benno Schulenberg | f47813e | 2015-07-23 17:56:54 +0000 | [diff] [blame] | 1009 | 2015-07-23 Benno Schulenberg <bensberg@justemail.net> |
| 1010 | * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Add deprecation |
| 1011 | notices for the options 'set const', 'set poslog' and '--poslog'. |
| 1012 | Suggested by Eitan Adler. |
Benno Schulenberg | 25c775a | 2015-07-23 19:31:36 +0000 | [diff] [blame] | 1013 | * doc/faq.html: Mention --disable-histories and --disable-libmagic. |
Benno Schulenberg | b967368 | 2015-07-23 19:18:25 +0000 | [diff] [blame] | 1014 | * src/chars.c (mbstrcasestr, mbrevstrcasestr): When searching, find |
Benno Schulenberg | f7e8861 | 2015-07-26 09:29:42 +0000 | [diff] [blame] | 1015 | only valid UTF-8 byte sequences. This fixes Savannah bug #45579, |
| 1016 | first reported in 2009 by Mike Frysinger. |
Benno Schulenberg | f47813e | 2015-07-23 17:56:54 +0000 | [diff] [blame] | 1017 | |
Benno Schulenberg | 474b390 | 2015-07-22 18:02:36 +0000 | [diff] [blame] | 1018 | 2015-07-22 Mike Frysinger <vapier@gentoo.org> |
| 1019 | * src/files.c (check_dotnano), src/global.c (thanks_for_all_the_fish), |
| 1020 | src/rcfile.c (parse_binding): Plug a few memory leaks. |
| 1021 | |
Benno Schulenberg | 9dc544a | 2015-07-19 09:01:59 +0000 | [diff] [blame] | 1022 | 2015-07-19 Benno Schulenberg <bensberg@justemail.net> |
| 1023 | * src/nano.c (main): Accept again a +LINE argument for each file |
| 1024 | given on the command line. This fixes Savannah bug #45576. |
Benno Schulenberg | d52f108 | 2015-07-19 09:25:25 +0000 | [diff] [blame] | 1025 | * src/nano.c (main): Adjust some comments and rewrap some lines. |
Benno Schulenberg | 9dc544a | 2015-07-19 09:01:59 +0000 | [diff] [blame] | 1026 | |
Benno Schulenberg | 3f1878d | 2015-07-18 07:34:27 +0000 | [diff] [blame] | 1027 | 2015-07-18 Benno Schulenberg <bensberg@justemail.net> |
| 1028 | * src/winio.c (edit_draw): When looking for multiline-regex matches, |
| 1029 | look for a new start only after an end, instead of right after the |
| 1030 | last start. This fixes bug #45525 and bug #41313 on Savannah. |
Benno Schulenberg | 74e7521 | 2015-07-18 10:32:01 +0000 | [diff] [blame] | 1031 | * src/nano.c, src/text.c, src/winio.c: Adjust some comments. |
Benno Schulenberg | f1bd958 | 2015-07-18 12:00:34 +0000 | [diff] [blame] | 1032 | * doc/faq.html: Fix a few typos and make some updates for 2.4.*. |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1033 | * ChangeLog: Make the release markers stand out more. |
Benno Schulenberg | 3f1878d | 2015-07-18 07:34:27 +0000 | [diff] [blame] | 1034 | |
Benno Schulenberg | 98ffb64 | 2015-07-17 20:40:44 +0000 | [diff] [blame] | 1035 | 2015-07-17 Benno Schulenberg <bensberg@justemail.net> |
| 1036 | * src/files.c (open_buffer): Verify that a named and existing file |
| 1037 | is a normal file, to avoid opening an empty buffer when the name of |
| 1038 | a directory is specified. This fixes Savannah bug #45383 reported |
| 1039 | by Mike Frysinger, and also Savannah bug #27839 (which is an echo |
| 1040 | from Debian bug #551717 reported by Paul Wise). |
Benno Schulenberg | 1dc298d | 2015-07-17 21:06:46 +0000 | [diff] [blame] | 1041 | * src/files.c (load_history): Remove an earlier attempt to make M-W |
| 1042 | work at startup. It no longer worked because the assigned value gets |
| 1043 | overwritten by a later initialization of 'last_search' to the empty |
| 1044 | string. Found through the use of valgrind. |
Benno Schulenberg | 6039cd7 | 2015-07-17 21:11:32 +0000 | [diff] [blame] | 1045 | * src/text.c (do_alt_speller): Avoid an unfounded warning about a |
| 1046 | possibly uninitialized variable. |
Benno Schulenberg | 98ffb64 | 2015-07-17 20:40:44 +0000 | [diff] [blame] | 1047 | |
Benno Schulenberg | 8cde95e | 2015-07-17 19:38:22 +0000 | [diff] [blame] | 1048 | 2015-07-17 Mike Frysinger <vapier@gentoo.org> |
| 1049 | * src/browser.c (browser_refresh): Use the proper type (off_t) for |
| 1050 | the size of a file, and avoid warnings about too large bit shifts. |
| 1051 | |
Benno Schulenberg | 7952615 | 2015-07-15 19:40:37 +0000 | [diff] [blame] | 1052 | 2015-07-15 Benno Schulenberg <bensberg@justemail.net> |
| 1053 | * src/nano.c, src/rcfile.c, doc/nanorc.sample.in, doc/man/nano.1, |
| 1054 | doc/man/nanorc.5, doc/texinfo/nano.texi, doc/syntax/nanorc.nanorc: |
Benno Schulenberg | cadb4f3 | 2015-07-15 19:50:55 +0000 | [diff] [blame] | 1055 | Unabbreviate the long option --const to --constantshow, and --poslog |
| 1056 | to --positionlog, to be more understandable. |
Benno Schulenberg | 1f866c2 | 2015-07-15 20:13:05 +0000 | [diff] [blame] | 1057 | * src/nano.h, src/global.c (add_to_sclist), src/help.c (help_init), |
| 1058 | src/rcfile.c (parse_binding), src/winio.c (get_shortcut): Rename |
| 1059 | the 'menu' item in the sc (shortcut) struct to 'menus', as it can |
| 1060 | refer to more than one menu. |
Benno Schulenberg | 7952615 | 2015-07-15 19:40:37 +0000 | [diff] [blame] | 1061 | |
Benno Schulenberg | 42f307e | 2015-07-13 17:57:58 +0000 | [diff] [blame] | 1062 | 2015-07-13 Benno Schulenberg <bensberg@justemail.net> |
| 1063 | * src/text.c (do_int_spell_fix, do_alt_speller): Remove an unneeded |
| 1064 | condition; 'added_magicline' can only be true when NO_NEWLINES isn't. |
Benno Schulenberg | 5e53c6e | 2015-07-13 18:04:05 +0000 | [diff] [blame] | 1065 | * src/files.c (replace_buffer): Prevent a segfault when spellchecking |
| 1066 | a marked region and nonewlines isn't set. |
Benno Schulenberg | 42f307e | 2015-07-13 17:57:58 +0000 | [diff] [blame] | 1067 | |
Benno Schulenberg | 3d01486 | 2015-07-12 19:20:46 +0000 | [diff] [blame] | 1068 | 2015-07-12 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 674ab83 | 2015-07-13 05:32:17 +0000 | [diff] [blame] | 1069 | * src/text.c (do_alt_speller): Rename the variable 'totsize_save' |
| 1070 | to 'size_of_surrounding', to better describe what it contains. |
Benno Schulenberg | badbc67 | 2015-07-12 19:31:08 +0000 | [diff] [blame] | 1071 | * src/files.c (read_file): Remove a stray space from a message. |
Benno Schulenberg | 3d01486 | 2015-07-12 19:20:46 +0000 | [diff] [blame] | 1072 | |
Benno Schulenberg | 9fcde23 | 2015-07-10 15:54:06 +0000 | [diff] [blame] | 1073 | 2015-07-10 Benno Schulenberg <bensberg@justemail.net> |
| 1074 | * src/nano.c (delete_opennode): Plug a small memory leak. |
Benno Schulenberg | 93e391e | 2015-07-10 15:57:49 +0000 | [diff] [blame] | 1075 | * src/files.c (do_lockfile): Rename a variable; it does not contain |
| 1076 | the size of the file but the size of the name. |
Benno Schulenberg | ea4b775 | 2015-07-10 16:00:12 +0000 | [diff] [blame] | 1077 | * src/nano.c (do_toggle): Elide an unneeded variable. |
Benno Schulenberg | 08d9f57 | 2015-07-10 17:25:51 +0000 | [diff] [blame] | 1078 | * src/files.c: Unwrap some lines and rewrap some others in a more |
| 1079 | congenial manner; tweak some comments and whitespace and braces. |
Benno Schulenberg | aff252a | 2015-07-10 17:42:32 +0000 | [diff] [blame] | 1080 | * src/files.c (read_line): Remove two lines of dead code. |
Benno Schulenberg | 5bb096d | 2015-07-10 17:49:30 +0000 | [diff] [blame] | 1081 | * src/files.c (read_line): Rearrange a few lines and some whitespace. |
Benno Schulenberg | 9fcde23 | 2015-07-10 15:54:06 +0000 | [diff] [blame] | 1082 | |
Benno Schulenberg | 8f5fa24 | 2015-07-06 18:48:15 +0000 | [diff] [blame] | 1083 | 2015-07-06 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 5ac6a87 | 2015-07-06 17:51:17 +0000 | [diff] [blame] | 1084 | * src/global.c (add_to_sclist), src/help.c (help_init), src/nano.h, |
| 1085 | src/rcfile.c (parse_binding): When defining the toggles, give each |
| 1086 | of them a sequence number, so that, when they are rebound, they can |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1087 | still be listed in the original order in the help text. This fixes |
| 1088 | Savannah bug #45417. |
Benno Schulenberg | 6196664 | 2015-07-06 18:03:14 +0000 | [diff] [blame] | 1089 | * src/text.c (do_undo): Make it clearer what WAS_FINAL_BACKSPACE does. |
Benno Schulenberg | 8f5fa24 | 2015-07-06 18:48:15 +0000 | [diff] [blame] | 1090 | * src/text.c (add_undo, do_deletion): Move the check for a Delete at |
| 1091 | the end-of-file to a less frequently travelled path. |
Benno Schulenberg | fc7825d | 2015-07-06 19:08:13 +0000 | [diff] [blame] | 1092 | * src/text.c (do_deletion): If a Backspace happens at the end-of-file, |
| 1093 | don't remove and then re-add the magic line; just add an undo item. |
Benno Schulenberg | 6095ff3 | 2015-07-06 19:17:27 +0000 | [diff] [blame] | 1094 | * src/help.c (help_init), src/text.c (do_undo): Adjust whitespace and |
| 1095 | bracing after the previous changes. |
Benno Schulenberg | 5ac6a87 | 2015-07-06 17:51:17 +0000 | [diff] [blame] | 1096 | |
Chris Allegretta | 5190ab9 | 2015-07-05 07:51:55 +0000 | [diff] [blame] | 1097 | GNU nano 2.4.2 - 2015.07.05 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1098 | |
Benno Schulenberg | 6062a04 | 2015-06-28 06:32:56 +0000 | [diff] [blame] | 1099 | 2015-06-28 Benno Schulenberg <bensberg@justemail.net> |
| 1100 | * src/browser.c (browser_refresh): Limit the selected file to the |
| 1101 | available ones in the list -- after a refresh the number may have |
| 1102 | decreased. This fixes Savannah bug #45424. |
Benno Schulenberg | 296ff1e | 2015-06-28 14:04:03 +0000 | [diff] [blame] | 1103 | * src/text.c (do_deletion): There is no need to check again for the |
| 1104 | line ending -- it was done already in the encompassing 'if'. |
Benno Schulenberg | 953ccc9 | 2015-06-28 14:12:25 +0000 | [diff] [blame] | 1105 | * src/text.c: Unwrap some lines, rewrap some others more logically, |
| 1106 | plus several other esthetic tweaks. |
Benno Schulenberg | b60f555 | 2015-06-28 18:15:41 +0000 | [diff] [blame] | 1107 | * doc/syntax/xml.nanorc: Recognize many more kinds of XML files. |
| 1108 | This addresses Debian bug #790017 reported by Emmanuel Bourg. |
| 1109 | Also colour the strings in tags differently, and add some comments. |
Benno Schulenberg | 6062a04 | 2015-06-28 06:32:56 +0000 | [diff] [blame] | 1110 | |
Benno Schulenberg | 412b9fc | 2015-06-27 09:17:36 +0000 | [diff] [blame] | 1111 | 2015-06-27 Benno Schulenberg <bensberg@justemail.net> |
| 1112 | * src/text.c (do_undo, add_undo): Skip undoing a backspace *only* when |
| 1113 | it really tried to delete the final, magic newline. |
Benno Schulenberg | f0bb503 | 2015-06-27 09:27:19 +0000 | [diff] [blame] | 1114 | * src/nano.h, src/text.c: Rename three flags for clarity. |
Benno Schulenberg | ecffb85 | 2015-06-27 15:03:45 +0000 | [diff] [blame] | 1115 | * src/files.c (replace_buffer): This function is only ever called with |
| 1116 | a temporary file as parameter, so forget the case of an empty filename. |
| 1117 | Also, don't bother putting the pointer at the top of the buffer, as the |
| 1118 | first action after this function is to restore the cursor position. |
Benno Schulenberg | 076fcbf | 2015-06-27 15:47:39 +0000 | [diff] [blame] | 1119 | * src/files.c: Normalize whitespace and comments. |
| 1120 | * src/nano.h: Remove obsolete execute flag from the shortcut struct. |
Benno Schulenberg | 954f98c | 2015-06-27 15:58:20 +0000 | [diff] [blame] | 1121 | * src/global.c (shortcut_init): Remove a duplicate binding of ^T, to |
| 1122 | prevent it being shown twice in the ^G help text. It will be rebound |
| 1123 | dynamically when for the current syntax another function is available. |
Benno Schulenberg | 412b9fc | 2015-06-27 09:17:36 +0000 | [diff] [blame] | 1124 | |
Benno Schulenberg | 75ac24b | 2015-06-23 18:06:30 +0000 | [diff] [blame] | 1125 | 2015-06-23 Benno Schulenberg <bensberg@justemail.net> |
| 1126 | * src/winio.c (edit_draw): Verify that there exists multidata for the |
| 1127 | found starting line before trying to use it. When a file is inserted |
| 1128 | (^R), it will not have any precalculated multidata associated with it. |
| 1129 | This fixes Savannah bug #45377 reported by Cody A. Taylor. |
| 1130 | |
Benno Schulenberg | a267699 | 2015-06-20 08:10:25 +0000 | [diff] [blame] | 1131 | 2015-06-20 Benno Schulenberg <bensberg@justemail.net> |
| 1132 | * src/search.c (do_research): If nothing was searched for yet during |
| 1133 | this run of nano, take the most recent item from the search history. |
| 1134 | This makes M-W work also right after startup, like <n> in vim/less. |
Benno Schulenberg | e06472a | 2015-06-20 08:21:35 +0000 | [diff] [blame] | 1135 | * src/utils.c (get_homedir): Keep homedir NULL when no home directory |
Benno Schulenberg | 7f0003a | 2015-06-20 12:53:27 +0000 | [diff] [blame] | 1136 | could be determined, so that nano will show a message about it. This |
| 1137 | is a fix for Savannah bug #45343. |
Benno Schulenberg | 11fa458 | 2015-06-20 08:31:27 +0000 | [diff] [blame] | 1138 | * doc/syntax/nanorc.nanorc: Colour key-binding lines affirmatively |
| 1139 | only when the specified menu name is an existing one. |
Benno Schulenberg | 4310139 | 2015-06-20 08:44:31 +0000 | [diff] [blame] | 1140 | * doc/syntax/changelog.nanorc: Stop the changed-files colour from |
| 1141 | spilling beyond a blank line. Also highlight releases. |
Benno Schulenberg | 4499520 | 2015-06-20 18:48:43 +0000 | [diff] [blame] | 1142 | * src/nano.c (main), src/rcfile.c: Remove the obsolete long option |
| 1143 | --undo. And sort --help and the softwrap option more consistently. |
Benno Schulenberg | a267699 | 2015-06-20 08:10:25 +0000 | [diff] [blame] | 1144 | |
| 1145 | 2015-06-18 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 7c2f53b | 2015-06-18 18:51:27 +0000 | [diff] [blame] | 1146 | * src/rcfile.c: Allow a tiny nano's ~/.nanorc to enable search and |
| 1147 | position histories. Also sort the options more strictly. |
Benno Schulenberg | 0255537 | 2015-06-18 19:07:56 +0000 | [diff] [blame] | 1148 | * src/nano.h: Delete two unused things, and add two comments. |
Benno Schulenberg | 7c2f53b | 2015-06-18 18:51:27 +0000 | [diff] [blame] | 1149 | |
| 1150 | 2015-06-17 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 82373d8 | 2015-06-17 10:41:57 +0000 | [diff] [blame] | 1151 | * src/text.c (do_undo, add_undo): When undoing a Backspace at the tail |
| 1152 | of the file and nonewlines is not set, then don't add another newline |
| 1153 | but just reposition the cursor. Also, when doing a Delete at the tail |
| 1154 | of the file, don't add a superfluous undo structure. This prevents |
| 1155 | the appearance of an extra newline when undoing the Backspace/Delete. |
| 1156 | Patch partially by Mark Majeres. The problem was first reported in |
| 1157 | https://lists.gnu.org/archive/html/nano-devel/2015-06/msg00003.html. |
Benno Schulenberg | 67667af | 2015-06-17 10:47:00 +0000 | [diff] [blame] | 1158 | * src/text.c (do_undo): Adjust whitespace after the previous change. |
Benno Schulenberg | 6404101 | 2015-06-17 10:59:16 +0000 | [diff] [blame] | 1159 | * src/text.c (add_undo): Elide an unneeded variable and correct two |
| 1160 | comments. And try to put the more frequent condition first. |
Benno Schulenberg | 86cbd95 | 2015-06-17 11:18:20 +0000 | [diff] [blame] | 1161 | * src/text.c (add_undo): Rename the parameter 'current_action' to |
| 1162 | 'action', to match the other functions. |
Benno Schulenberg | 3021a04 | 2015-06-17 15:17:09 +0000 | [diff] [blame] | 1163 | * src/text.c (do_undo, add_undo, update_undo): Improve the visibility |
| 1164 | of the undo-related debugging messages. |
Benno Schulenberg | 82373d8 | 2015-06-17 10:41:57 +0000 | [diff] [blame] | 1165 | |
Benno Schulenberg | 2e121fa | 2015-06-14 15:58:57 +0000 | [diff] [blame] | 1166 | 2015-06-14 Benno Schulenberg <bensberg@justemail.net> |
| 1167 | * src/winio.c (edit_draw): Add some debugging code to track which |
| 1168 | multidata codes (for multiline regexes) get assigned to which lines. |
Benno Schulenberg | d49c267 | 2015-06-14 17:56:44 +0000 | [diff] [blame] | 1169 | * src/winio.c (edit_draw): Start and end regexes can be very similar; |
| 1170 | so if a found start has been qualified as an end earlier, believe it |
| 1171 | and skip to the next step. This helps with Python's docstrings. |
Benno Schulenberg | 26ae9db | 2015-06-14 18:06:36 +0000 | [diff] [blame] | 1172 | * src/winio.c (edit_draw): When the whole line has been coloured, |
| 1173 | don't bother looking for any more starts. This prevents some lines |
| 1174 | from being erroneously marked as CENDAFTER instead of CWHOLELINE. |
Benno Schulenberg | c32a58a | 2015-06-14 19:14:41 +0000 | [diff] [blame] | 1175 | * src/*.c: Don't check for non-NULL before freeing; it's unneeded. |
Benno Schulenberg | 2e121fa | 2015-06-14 15:58:57 +0000 | [diff] [blame] | 1176 | |
Benno Schulenberg | e00b3e8 | 2015-06-11 19:01:28 +0000 | [diff] [blame] | 1177 | 2015-06-11 Benno Schulenberg <bensberg@justemail.net> |
| 1178 | * src/winio.c (get_key_buffer): Add some debugging code to make it |
Benno Schulenberg | e0e788e | 2016-05-23 21:34:02 +0200 | [diff] [blame] | 1179 | easy to see what codes a keystroke produces. |
Benno Schulenberg | e00b3e8 | 2015-06-11 19:01:28 +0000 | [diff] [blame] | 1180 | |
Benno Schulenberg | 1a3fa54 | 2015-06-07 10:02:31 +0000 | [diff] [blame] | 1181 | 2015-06-07 Benno Schulenberg <bensberg@justemail.net> |
| 1182 | * doc/texinfo/nano.texi: Show the node with the command-line options |
| 1183 | in the main menu, to make it easy to find. |
Benno Schulenberg | f87de12 | 2015-06-07 16:45:09 +0000 | [diff] [blame] | 1184 | * doc/texinfo/nano.texi: Improve some formatting, hyphenation, wording |
| 1185 | and dashes. And remove some confusing, historical things. |
Benno Schulenberg | 74ac8ce | 2015-06-07 18:45:34 +0000 | [diff] [blame] | 1186 | * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Clarify the |
| 1187 | meaning of --backupdir: it doesn't just specify a directory for saving |
| 1188 | backup files, it mainly causes uniquely numbered backups to be made. |
Benno Schulenberg | 87e963a | 2015-06-07 20:14:41 +0000 | [diff] [blame] | 1189 | * doc/man/nano.1: Add a section on the non-obvious functioning of the |
| 1190 | cutbuffer and the mark. |
Benno Schulenberg | 1a3fa54 | 2015-06-07 10:02:31 +0000 | [diff] [blame] | 1191 | |
Benno Schulenberg | a1c4da8 | 2015-06-04 17:59:50 +0000 | [diff] [blame] | 1192 | 2015-06-04 Benno Schulenberg <bensberg@justemail.net> |
| 1193 | * src/nano.h: Fix compilation with --enable-tiny. |
Benno Schulenberg | 0424243 | 2015-06-04 18:05:27 +0000 | [diff] [blame] | 1194 | * nano.spec.in: Add the post-install and pre-uninstall rules for the |
| 1195 | Info document, plus some tweaks. (Patch was tested by Kamil Dudka.) |
Benno Schulenberg | a1c4da8 | 2015-06-04 17:59:50 +0000 | [diff] [blame] | 1196 | |
Benno Schulenberg | 24f39d3 | 2015-06-02 14:24:19 +0000 | [diff] [blame] | 1197 | 2015-06-02 Benno Schulenberg <bensberg@justemail.net> |
| 1198 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Tweak some wordings, and |
| 1199 | add some missing formatting to the Info document, and fix an mdash. |
Benno Schulenberg | 1f3148d | 2015-06-02 14:35:21 +0000 | [diff] [blame] | 1200 | * doc/syntax/debian.nanorc: Colour also an optional option. |
| 1201 | This addresses Debian bug #664456 reported by Shawn Landden. |
| 1202 | Also shorten the name of the syntax to "sources.list". |
Benno Schulenberg | 7b2ea40 | 2015-06-02 14:53:48 +0000 | [diff] [blame] | 1203 | * doc/syntax/python.nanorc: Require again that the triple quote that |
| 1204 | starts a docstring is followed by some character -- it is better to |
| 1205 | *not* colour some strings than far too often colour far too much. |
| 1206 | This addresses Debian bug #785508 reported by Alexandre Detiste. |
Benno Schulenberg | 24f39d3 | 2015-06-02 14:24:19 +0000 | [diff] [blame] | 1207 | |
Benno Schulenberg | 40bfc72 | 2015-05-31 08:45:17 +0000 | [diff] [blame] | 1208 | 2015-05-31 Mahyar Abbaspour <mahyar.abaspour@gmail.com> |
| 1209 | * src/prompt.c (get_statusbar_page_start): Prevent a floating-point |
| 1210 | exception when the available length for an answer becomes zero. |
| 1211 | |
Benno Schulenberg | 59187b8 | 2015-05-28 13:28:37 +0000 | [diff] [blame] | 1212 | 2015-05-28 Benno Schulenberg <bensberg@justemail.net> |
| 1213 | * src/help.c (do_help), src/prompt.c (do_yesno_prompt): Normalize |
| 1214 | the whitespace after the recent changes in logic. |
Benno Schulenberg | 2661d6d | 2015-05-28 13:51:03 +0000 | [diff] [blame] | 1215 | * src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded |
| 1216 | 16. Also always first set the string and then position the cursor. |
Benno Schulenberg | 72b437b | 2015-05-28 14:56:38 +0000 | [diff] [blame] | 1217 | * TODO: Mark window resizes and better file-type detection as done. |
Benno Schulenberg | d297784 | 2015-05-28 18:56:31 +0000 | [diff] [blame] | 1218 | * doc/syntax/debian.nanorc: Allow a CD name to contain any character. |
Benno Schulenberg | 01e39f4 | 2015-05-28 18:59:41 +0000 | [diff] [blame] | 1219 | This addresses Debian bug #688892 reported by Dani Möller Montull. |
Benno Schulenberg | 59187b8 | 2015-05-28 13:28:37 +0000 | [diff] [blame] | 1220 | |
Benno Schulenberg | 75d64e6 | 2015-05-28 13:02:29 +0000 | [diff] [blame] | 1221 | 2015-05-28 Mahyar Abbaspour <mahyar.abaspour@gmail.com> |
| 1222 | * src/nano.c (handle_sigwinch, regenerate_screen), src/global.c, |
| 1223 | src/prompt.c (do_statusbar_input, get_prompt_string, do_yesno_prompt), |
| 1224 | src/browser.c (do_browser, browser_refresh), src/help.c (do_help), |
| 1225 | src/winio.c (get_key_buffer, unget_input, get_input, parse_kbinput), |
| 1226 | src/text.c (do_justify, do_linter), src/nano.h, src/proto.h: |
| 1227 | Handle a SIGWINCH (signalling a change in window size) not when it |
| 1228 | happens but only when checking for input. Report the SIGWINCH via |
| 1229 | a special key value to the calling routine, to allow not only the |
| 1230 | main editor but also the help viewer and the file browser to adapt |
| 1231 | their display to the new size. (Patch edited by Benno.) |
| 1232 | |
Benno Schulenberg | de6da12 | 2015-05-20 18:57:18 +0000 | [diff] [blame] | 1233 | 2015-05-20 Devrim Gündüz <devrim@gunduz.org> |
| 1234 | * doc/syntax/postgresql.nanorc: New file -- syntax highlighting for |
| 1235 | PostgreSQL, first posted as Savannah patch #8601. Trimmed by Benno. |
| 1236 | |
Benno Schulenberg | 55d1e1a | 2015-05-08 19:35:47 +0000 | [diff] [blame] | 1237 | 2015-05-08 Benno Schulenberg <bensberg@justemail.net> |
| 1238 | * src/browser.c (browser_refresh): Take the distant possibility of |
| 1239 | terabyte files into account, and in the bargain get rid of the need |
| 1240 | to calculate the number of digits in UINT_MAX. |
Benno Schulenberg | f111c0d | 2015-05-08 21:11:30 +0000 | [diff] [blame] | 1241 | * src/files.c (get_next_filename): Limit the number of backup files |
| 1242 | to one hundred thousand -- which should be far more than enough -- |
Benno Schulenberg | 72b437b | 2015-05-28 14:56:38 +0000 | [diff] [blame] | 1243 | before finding an unused filename takes an annoying amount of time. |
Benno Schulenberg | f111c0d | 2015-05-08 21:11:30 +0000 | [diff] [blame] | 1244 | * src/utils.c (digits): Delete this now unneeded function. |
Benno Schulenberg | 55d1e1a | 2015-05-08 19:35:47 +0000 | [diff] [blame] | 1245 | |
Benno Schulenberg | 4646410 | 2015-05-03 13:25:24 +0000 | [diff] [blame] | 1246 | 2015-05-03 Benno Schulenberg <bensberg@justemail.net> |
| 1247 | * src/browser.c (browser_refresh): Display an ellipsis only when the |
| 1248 | filename is longer than the available space, not when it still fits. |
Benno Schulenberg | a338798 | 2015-05-03 13:56:51 +0000 | [diff] [blame] | 1249 | * src/browser.c, src/nano.c: Adjust a few comments and line wrappings. |
Benno Schulenberg | 2da9cbf | 2015-05-03 15:47:05 +0000 | [diff] [blame] | 1250 | * doc/syntax/groff.nanorc: Use character classes correctly. |
Benno Schulenberg | 4646410 | 2015-05-03 13:25:24 +0000 | [diff] [blame] | 1251 | |
Benno Schulenberg | ec8d51b | 2015-04-28 19:18:38 +0000 | [diff] [blame] | 1252 | 2015-04-28 Benno Schulenberg <bensberg@justemail.net> |
| 1253 | * src/color.c (color_update): Match the file regex of a syntax against |
| 1254 | the absolute, canonical path instead of against the path the user gave. |
| 1255 | This fixes Savannah bug #44288, reported by Mike Frysinger. |
Benno Schulenberg | 9233c98 | 2015-04-28 19:22:11 +0000 | [diff] [blame] | 1256 | * doc/syntax/po.nanorc: Improve the colouring of message tags. |
Benno Schulenberg | 7f3bd26 | 2015-04-28 20:09:40 +0000 | [diff] [blame] | 1257 | * src/winio.c (get_escape_seq_kbinput): Unwrap a bunch of comments. |
Benno Schulenberg | ec8d51b | 2015-04-28 19:18:38 +0000 | [diff] [blame] | 1258 | |
Benno Schulenberg | af70884 | 2015-04-25 14:52:58 +0000 | [diff] [blame] | 1259 | 2015-04-25 Benno Schulenberg <bensberg@justemail.net> |
| 1260 | * src/search.c (do_replace_loop): Remove the unintended special |
Benno Schulenberg | 3739016 | 2015-04-25 15:47:08 +0000 | [diff] [blame] | 1261 | case for replacing multiple occurrences of a literal ^ or $; see |
| 1262 | https://lists.gnu.org/archive/html/nano-devel/2015-04/msg00065.html. |
Benno Schulenberg | b454d9c | 2015-04-25 15:17:22 +0000 | [diff] [blame] | 1263 | * src/search.c (findnextstr): Delete an always-FALSE parameter. |
Benno Schulenberg | df7524d | 2015-04-25 15:26:09 +0000 | [diff] [blame] | 1264 | * src/search.c (findnextstr): Rename the parameter 'whole_word' |
| 1265 | to 'whole_word_only', for clarity. |
Benno Schulenberg | af70884 | 2015-04-25 14:52:58 +0000 | [diff] [blame] | 1266 | |
Benno Schulenberg | 6bdcc8f | 2015-04-21 17:27:33 +0000 | [diff] [blame] | 1267 | 2015-04-21 Benno Schulenberg <bensberg@justemail.net> |
| 1268 | * src/browser.c (findnextfile): Save the settings of the global |
| 1269 | case-sens, direction, and regexp flags, and restore them on exit. |
| 1270 | And do this not in do_filesearch() but in findnextfile(), so that |
| 1271 | it will also work for do_fileresearch(). |
Benno Schulenberg | 583a30e | 2015-04-21 17:37:59 +0000 | [diff] [blame] | 1272 | * src/text.c (do_int_spell_fix): Save and restore the global flags |
| 1273 | in the same short and quick way as above. |
Benno Schulenberg | 1cf22d4 | 2015-04-21 18:42:11 +0000 | [diff] [blame] | 1274 | * src/nano.c (main): Initialize the search and replace strings in |
| 1275 | a central place, to get rid of a bunch of ifs. |
Benno Schulenberg | ca1983a | 2015-04-21 18:47:58 +0000 | [diff] [blame] | 1276 | * src/search.c (search_init_globals): Elide this tiny function. |
Benno Schulenberg | 6bdcc8f | 2015-04-21 17:27:33 +0000 | [diff] [blame] | 1277 | |
Benno Schulenberg | 7edd350 | 2015-04-20 08:16:41 +0000 | [diff] [blame] | 1278 | 2015-04-20 Benno Schulenberg <bensberg@justemail.net> |
| 1279 | * src/winio.c (need_horizontal_update, need_vertical_update): Fuse |
| 1280 | two identical functions into one: need_screen_update(). |
Benno Schulenberg | ec0e023 | 2015-04-20 08:35:41 +0000 | [diff] [blame] | 1281 | * src/prompt.c (need_statusbar_horizontal_update): Rename function |
| 1282 | to need_statusbar_update() as there is no vertical counterpart. |
Benno Schulenberg | e68759b | 2015-04-20 18:01:06 +0000 | [diff] [blame] | 1283 | * src/search.c (do_search, do_research): Delete redundant reprises |
| 1284 | of a regex search: finding an occurrence only at the very starting |
| 1285 | point of the search necessarily means it is the only occurrence. |
Benno Schulenberg | 7edd350 | 2015-04-20 08:16:41 +0000 | [diff] [blame] | 1286 | |
Benno Schulenberg | 296152e | 2015-04-18 16:07:53 +0000 | [diff] [blame] | 1287 | 2015-04-18 Benno Schulenberg <bensberg@justemail.net> |
| 1288 | * src/global.c, src/nano.c, doc/man/nanorc.5, doc/texinfo/nano.texi: |
| 1289 | Make the descriptions of the multibuffer feature more accurate. |
Benno Schulenberg | 455a918 | 2015-04-18 20:07:31 +0000 | [diff] [blame] | 1290 | * src/winio.c (display_string): Make sure an invalid starting byte |
| 1291 | of a multibyte sequence is properly terminated, so that it doesn't |
| 1292 | pick up lingering bytes of any previous content. This prevents the |
| 1293 | displaying of ghosts -- characters that aren't really there -- when a |
| 1294 | file contains valid ánd invalid UTF-8 sequences. For an example see: |
| 1295 | https://lists.gnu.org/archive/html/nano-devel/2015-04/msg00052.html. |
| 1296 | Also make two comments more accurate: an invalid multibyte sequence |
| 1297 | will never be categorized as a control character or anything else. |
Benno Schulenberg | 296152e | 2015-04-18 16:07:53 +0000 | [diff] [blame] | 1298 | |
Benno Schulenberg | 3de2c70 | 2015-04-18 11:35:23 +0000 | [diff] [blame] | 1299 | 2015-04-18 Mark Oteiza <mvoteiza@udel.edu> |
| 1300 | * doc/syntax/{python,ruby,sh,tex}.nanorc: Add a linter definition. |
Benno Schulenberg | 6ff772b | 2015-04-18 13:04:57 +0000 | [diff] [blame] | 1301 | * doc/syntax/elisp.nanorc: New file; syntax highlighting for Elisp. |
| 1302 | * doc/syntax/guile.nanorc: New file; syntax highlighting for Guile. |
Benno Schulenberg | 3de2c70 | 2015-04-18 11:35:23 +0000 | [diff] [blame] | 1303 | |
Benno Schulenberg | f225991 | 2015-04-17 09:24:17 +0000 | [diff] [blame] | 1304 | 2015-04-17 Benno Schulenberg <bensberg@justemail.net> |
| 1305 | * src/text.c (do_alt_speller, do_linter, do_formatter): Distinguish |
| 1306 | a failure to launch the linter from receiving zero parsable lines; |
| 1307 | add a new function to glue together the invocation-error string. |
Benno Schulenberg | 5b83d7d | 2015-04-17 09:42:04 +0000 | [diff] [blame] | 1308 | * src/global.c (shortcut_init): In the Help Viewer and File Browswer, |
| 1309 | bind the unbound Home and End keys to goto_top and goto_bottom, to |
| 1310 | mimic the behaviour of these keys in file viewers and web browsers. |
| 1311 | Also show ^Y and ^V in the WhereisFile menu instead of M-\ and M-/, |
| 1312 | for similarity with the WhereIs menu. |
Benno Schulenberg | cc65a42 | 2015-04-17 10:06:03 +0000 | [diff] [blame] | 1313 | * src/global.c (shortcut_init): Arrange the movement keys in the File |
| 1314 | Browser in the order of ascending stride, as in the Help Viewer. |
Benno Schulenberg | f225991 | 2015-04-17 09:24:17 +0000 | [diff] [blame] | 1315 | |
Benno Schulenberg | 4577265 | 2015-04-17 09:28:18 +0000 | [diff] [blame] | 1316 | GNU nano 2.4.1 - 2015.04.14 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1317 | |
Benno Schulenberg | fd759d5 | 2015-04-13 10:59:12 +0000 | [diff] [blame] | 1318 | 2015-04-13 Benno Schulenberg <bensberg@justemail.net> |
| 1319 | * src/search.c (do_replace_loop): Fix compilation with --enable-tiny. |
| 1320 | * README: Mention also the Savannah page for reporting bugs. |
| 1321 | |
Benno Schulenberg | 99d2358 | 2015-04-12 08:31:53 +0000 | [diff] [blame] | 1322 | 2015-04-12 Benno Schulenberg <bensberg@justemail.net> |
| 1323 | * src/browser.c (filesearch_init): Stop M-\ and M-/ in WhereisFile |
| 1324 | menu (reached via ^R ^T ^W) from doing also an unrequested search |
| 1325 | after having performed their function. Fixes Savannah bug #44790. |
Benno Schulenberg | 4e9b368 | 2015-04-12 08:44:37 +0000 | [diff] [blame] | 1326 | * src/global.c (shortcut_init): Rebind ^Y and ^V in the WhereisFile |
| 1327 | menu from the pointless page_up() and page_down() to the effective |
| 1328 | first_file() and last_file(). Also unbind some other useless keys. |
Benno Schulenberg | 4e5ea18 | 2015-04-12 09:04:30 +0000 | [diff] [blame] | 1329 | * src/browser.c (filesearch_init): Remove an unused variable, and |
| 1330 | adjust the introductory comment for the recently tweaked logic. |
Benno Schulenberg | 1cf9deb | 2015-04-12 11:15:57 +0000 | [diff] [blame] | 1331 | * src/rcfile.c (parse_linter, parse_formatter): Use mallocstrcpy() |
| 1332 | in a correct manner; don't let it free an unrelated string. |
Benno Schulenberg | 99d2358 | 2015-04-12 08:31:53 +0000 | [diff] [blame] | 1333 | |
Benno Schulenberg | 08a52c1 | 2015-04-11 15:21:08 +0000 | [diff] [blame] | 1334 | 2015-04-11 Benno Schulenberg <bensberg@justemail.net> |
| 1335 | * src/search.c (do_replace_loop): Do not split off the marked region |
| 1336 | into a separate partition, but do the replacings in the current one, |
| 1337 | taking good care to stay within the boundaries of the region. This |
| 1338 | fixes an undo bug where the first part of a line would disappear if |
| 1339 | the region started in the middle of a line. Bug was reported here: |
| 1340 | https://lists.gnu.org/archive/html/nano-devel/2015-03/msg00077.html. |
Benno Schulenberg | f34c8fd | 2015-04-12 11:29:35 +0000 | [diff] [blame] | 1341 | Original idea and patch were by Mark Majeres. |
Benno Schulenberg | 08a52c1 | 2015-04-11 15:21:08 +0000 | [diff] [blame] | 1342 | |
Benno Schulenberg | 2dc9cbe | 2015-04-08 18:40:40 +0000 | [diff] [blame] | 1343 | 2015-04-08 Benno Schulenberg <bensberg@justemail.net> |
| 1344 | * src/browser.c (browser_select_dirname, findnextfile): Rename |
| 1345 | 'currselected' to 'looking_at', for more contrast with 'selected', |
| 1346 | and rename browser_select_filename() to browser_select_dirname(). |
Benno Schulenberg | ce48ca2 | 2015-04-08 19:57:31 +0000 | [diff] [blame] | 1347 | * src/text.c: Correct and adjust some comments. |
Benno Schulenberg | 2dc9cbe | 2015-04-08 18:40:40 +0000 | [diff] [blame] | 1348 | |
Benno Schulenberg | 5d0b267 | 2015-04-07 08:19:04 +0000 | [diff] [blame] | 1349 | 2015-04-07 Benno Schulenberg <bensberg@justemail.net> |
| 1350 | * src/browser.c (do_fileresearch): Don't search for the empty string |
| 1351 | when nothing was sought yet (when historylog is set). |
Benno Schulenberg | 25ce5f6 | 2015-04-07 08:23:52 +0000 | [diff] [blame] | 1352 | * src/browser.c (filesearch_init): Remove an unfitting comment |
| 1353 | (there are no toggles here) and tweak some others. |
Benno Schulenberg | 2aac470 | 2015-04-07 08:44:24 +0000 | [diff] [blame] | 1354 | * src/search.c (do_search, do_research): Use the same variable as |
| 1355 | in the surrounding code, for consistency. |
Benno Schulenberg | 37fd348 | 2015-04-07 10:41:00 +0000 | [diff] [blame] | 1356 | * src/browser.c (findnextfile_wrap_reset): Elide this function, |
| 1357 | and rename 'search_last_file' to 'came_full_circle'. |
Benno Schulenberg | a9647b0 | 2015-04-07 11:04:32 +0000 | [diff] [blame] | 1358 | * src/browser.c (filesearch_init, do_fileresearch): Avoid setting |
| 1359 | 'focusing' when searching only for filenames. |
Benno Schulenberg | d517705 | 2015-04-07 13:34:12 +0000 | [diff] [blame] | 1360 | * src/browser.c (findnextfile, do_filesearch, do_fileresearch): |
| 1361 | Greatly simplify the searching for the next matching filename. |
Benno Schulenberg | d8b6dbf | 2015-04-07 14:16:07 +0000 | [diff] [blame] | 1362 | * src/{browser,files,help,prompt,text,winio}.c: Let the function |
| 1363 | bottombars() set the global variable 'currmenu' -- the displayed |
| 1364 | menu must necessarily be the active one. |
Benno Schulenberg | 0f7b99b | 2015-04-07 15:37:07 +0000 | [diff] [blame] | 1365 | * src/browser.c (filesearch_abort): Elide this tiny function. |
Benno Schulenberg | 057348e | 2015-04-07 15:23:12 +0000 | [diff] [blame] | 1366 | * THANKS: Add the names of recent translators, and sort the list. |
Benno Schulenberg | 0f7b99b | 2015-04-07 15:37:07 +0000 | [diff] [blame] | 1367 | * THANKS: A neater layout, plus two table headers. |
Benno Schulenberg | 5d0b267 | 2015-04-07 08:19:04 +0000 | [diff] [blame] | 1368 | |
Benno Schulenberg | c2ed827 | 2015-04-05 09:14:13 +0000 | [diff] [blame] | 1369 | 2015-04-05 Benno Schulenberg <bensberg@justemail.net> |
| 1370 | * doc/texinfo/nano.texi: Expand on nano's features, condense the |
| 1371 | synopsis, and "online" means something else to most people. |
| 1372 | |
Benno Schulenberg | 5ac1081 | 2015-04-03 15:48:57 +0000 | [diff] [blame] | 1373 | 2015-04-03 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | d7ade1f | 2015-04-03 17:28:30 +0000 | [diff] [blame] | 1374 | * README: Update text to the fifth milestone, 2.4.x, plus tweaks. |
Benno Schulenberg | de53c53 | 2015-04-03 15:57:22 +0000 | [diff] [blame] | 1375 | * src/rcfile.c: Remove two superfluous (because nested) #ifndefs. |
Benno Schulenberg | d7ade1f | 2015-04-03 17:28:30 +0000 | [diff] [blame] | 1376 | * src/rcfile.c (parse_rcfile): Ignore any magic when libmagic was |
| 1377 | disabled, and ignore a formatter when spell checking was disabled. |
Benno Schulenberg | 5ac1081 | 2015-04-03 15:48:57 +0000 | [diff] [blame] | 1378 | |
Benno Schulenberg | 07e199f | 2015-03-28 17:01:46 +0000 | [diff] [blame] | 1379 | 2015-03-28 Benno Schulenberg <bensberg@justemail.net> |
| 1380 | * src/search.c (search_init_globals, search_replace_abort), |
| 1381 | src/winio.c (edit_redraw), src/proto.h, src/global.c: When finding |
| 1382 | an off-screen string, put it on the center line of the screen and |
| 1383 | not on the bottom or top line. This restores the old behaviour |
| 1384 | that was unintentionally changed in r5149 six days ago. |
Benno Schulenberg | 7fe830f | 2015-03-28 17:11:28 +0000 | [diff] [blame] | 1385 | * src/winio.c (edit_refresh): When pasting lines on the bottom line, |
| 1386 | only scroll the required number of lines and not half a screen -- |
| 1387 | that is, when smooth scrolling is enabled. |
Benno Schulenberg | e683e32 | 2015-03-28 19:56:41 +0000 | [diff] [blame] | 1388 | * doc/syntax/changelog.nanorc: Also colour a series of changed files |
| 1389 | that spans more than one line. |
Benno Schulenberg | 07e199f | 2015-03-28 17:01:46 +0000 | [diff] [blame] | 1390 | |
Benno Schulenberg | 6f2da6b | 2015-03-27 20:16:36 +0000 | [diff] [blame] | 1391 | 2015-03-27 Mark Majeres <mark@engine12.com> |
| 1392 | * src/text.c (do_alt_speller): Adjust the end point of the marked |
| 1393 | region for any change in length of the region's last line. |
| 1394 | |
Benno Schulenberg | 4158084 | 2015-03-27 09:14:21 +0000 | [diff] [blame] | 1395 | 2015-03-27 Benno Schulenberg <bensberg@justemail.net> |
| 1396 | * doc/syntax/patch.nanorc: Recognize also Debian package diffs. |
| 1397 | Fixes https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1300565 |
| 1398 | requested by Rolf Leggewie. |
Benno Schulenberg | ad827a6 | 2015-03-27 10:49:19 +0000 | [diff] [blame] | 1399 | * src/search.c (do_replace_loop): Adjust some whitespace and wrapping. |
Benno Schulenberg | 0a79c78 | 2015-03-27 11:29:23 +0000 | [diff] [blame] | 1400 | * src/search.c (do_replace_loop): Place a call to edit_refresh better, |
| 1401 | and remove two unneeded ones. This greatly speeds up nano when doing |
| 1402 | a Replace All with *lots* of occurrences. |
Benno Schulenberg | 5ac1081 | 2015-04-03 15:48:57 +0000 | [diff] [blame] | 1403 | * src/{color,global,nano,text,utils}.c: Normalize some whitespace. |
Benno Schulenberg | 52d7d5f | 2015-03-27 15:34:41 +0000 | [diff] [blame] | 1404 | * src/global.c (strtosc): The linter is only available when colour is. |
Benno Schulenberg | 14a9c8a | 2015-03-27 16:55:49 +0000 | [diff] [blame] | 1405 | * src/global.c, src/text.c: Treat the formatter like a speller, to fix |
| 1406 | compilation with --disable-speller. Fixes Savannah bug #44607. |
Benno Schulenberg | 4158084 | 2015-03-27 09:14:21 +0000 | [diff] [blame] | 1407 | |
Benno Schulenberg | 6440aa9 | 2015-03-25 13:42:40 +0000 | [diff] [blame] | 1408 | 2015-03-25 Benno Schulenberg <bensberg@justemail.net> |
| 1409 | * doc/syntax/debian.nanorc: Slightly widen and relax the header regex. |
Benno Schulenberg | e39cf37 | 2015-03-25 13:50:12 +0000 | [diff] [blame] | 1410 | * doc/syntax/python.nanorc: Hashes inside triple-quoted strings should |
| 1411 | not cause comment colouring. (Inside single-qouted strings neither, |
| 1412 | but then quotes in comments will be coloured like strings.) This |
| 1413 | solves https://bugs.launchpad.net/ubuntu/+source/nano/+bug/481363. |
Benno Schulenberg | eae9f28 | 2015-03-25 16:20:45 +0000 | [diff] [blame] | 1414 | * src/global.c (strtomenu): Remove mistaken menu name -- as the |
| 1415 | formatter allows no interaction it needs no associated menu. |
Benno Schulenberg | ff4a457 | 2015-03-25 16:23:45 +0000 | [diff] [blame] | 1416 | * src/text.c (do_formatter): Remove unneeded statement -- nothing |
| 1417 | has changed the value of 'currmenu'. |
Benno Schulenberg | 52d7d5f | 2015-03-27 15:34:41 +0000 | [diff] [blame] | 1418 | * src/global.c (strtosc), doc/man/nanorc.5: Allow rebinding the |
Benno Schulenberg | b455fa3 | 2015-03-25 19:33:00 +0000 | [diff] [blame] | 1419 | linter when nano was configured with --disable-speller. |
Benno Schulenberg | 6440aa9 | 2015-03-25 13:42:40 +0000 | [diff] [blame] | 1420 | |
Benno Schulenberg | 92142be | 2015-03-23 17:01:25 +0000 | [diff] [blame] | 1421 | 2015-03-23 Benno Schulenberg <bensberg@justemail.net> |
| 1422 | * src/text.c (do_alt_speller): Avoid the spell checker reporting |
| 1423 | an error when the marked region is zero bytes long. The message |
| 1424 | is not needed -- it gets printed by the caller. This generalizes |
| 1425 | the fix for Savannah bug #29393. |
Benno Schulenberg | a37ebcf | 2015-03-23 17:12:49 +0000 | [diff] [blame] | 1426 | * src/text.c (do_alt_speller): Do not unset the mark before the |
| 1427 | possible bailout because of a zero-sized region. |
Benno Schulenberg | 745fab8 | 2015-03-23 18:16:37 +0000 | [diff] [blame] | 1428 | * NEWS: Option --noread allows writing, not reading, to named pipes. |
Benno Schulenberg | 92142be | 2015-03-23 17:01:25 +0000 | [diff] [blame] | 1429 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1430 | 2015-03-22 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 745fab8 | 2015-03-23 18:16:37 +0000 | [diff] [blame] | 1431 | * src/text.c (do_alt_speller): timestamp can just be a time_t. |
Benno Schulenberg | 5ac1081 | 2015-04-03 15:48:57 +0000 | [diff] [blame] | 1432 | Fixes compilation on win32 and macOS. |
Chris Allegretta | a0a0556 | 2015-03-23 04:32:45 +0000 | [diff] [blame] | 1433 | |
Benno Schulenberg | 4577265 | 2015-04-17 09:28:18 +0000 | [diff] [blame] | 1434 | GNU nano 2.4.0 - 2015.03.22 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1435 | |
Benno Schulenberg | 76e7aaf | 2015-03-22 11:20:02 +0000 | [diff] [blame] | 1436 | 2015-03-22 Benno Schulenberg <bensberg@justemail.net> |
| 1437 | * src/chars.c (move_mbleft): Start looking for a multibyte char |
| 1438 | not at the start of the string, but only as far back as such a |
| 1439 | char can possibly be. Change suggested by Mark Majeres. |
Benno Schulenberg | 83ec9e7 | 2015-03-23 13:06:07 +0000 | [diff] [blame] | 1440 | * src/search.c (findnextstr): Step backward or forward not simply |
Benno Schulenberg | a44cf41 | 2015-03-22 11:42:29 +0000 | [diff] [blame] | 1441 | one byte but one character (possibly multibyte). Fixes Savannah |
| 1442 | bug #42175, reported by myself, and the finding of ghosts seen in |
| 1443 | https://lists.gnu.org/archive/html/nano-devel/2015-03/msg00055.html. |
Benno Schulenberg | 2456dd2 | 2015-03-22 13:23:42 +0000 | [diff] [blame] | 1444 | * src/winio.c (edit_redraw): Do not center the current line when |
| 1445 | smooth scrolling is used. This fixes Savannah bug #42654. |
Benno Schulenberg | 76e7aaf | 2015-03-22 11:20:02 +0000 | [diff] [blame] | 1446 | |
Benno Schulenberg | a4f2869 | 2015-03-21 21:13:03 +0000 | [diff] [blame] | 1447 | 2015-03-21 Benno Schulenberg <bensberg@justemail.net> |
| 1448 | * src/text.c (do_alt_speller): Remove some leftovers. |
Benno Schulenberg | cb776fa | 2015-03-21 21:40:56 +0000 | [diff] [blame] | 1449 | * src/search.c: Place some comments better and unwrap some lines. |
Benno Schulenberg | a4f2869 | 2015-03-21 21:13:03 +0000 | [diff] [blame] | 1450 | |
Benno Schulenberg | 82d737e | 2015-03-21 21:02:13 +0000 | [diff] [blame] | 1451 | 2015-03-21 Mark Majeres <mark@engine12.com> |
| 1452 | * src/text.c (do_alt_speller): Restore the positions of the mark |
| 1453 | and the cursor in a better way: to the columns where they were. |
| 1454 | This fixes Savannah bug #44542, reported by Benno Schulenberg. |
| 1455 | |
Benno Schulenberg | 3345e34 | 2015-03-20 11:18:22 +0000 | [diff] [blame] | 1456 | 2015-03-20 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 532d55c | 2015-03-20 11:37:53 +0000 | [diff] [blame] | 1457 | * src/nano.c (finish_stdin_pager, cancel_stdin_pager, stdin_pager): |
Benno Schulenberg | 3345e34 | 2015-03-20 11:18:22 +0000 | [diff] [blame] | 1458 | Normalize the whitespace, remove an old comment, and place another |
| 1459 | one better. |
Benno Schulenberg | 532d55c | 2015-03-20 11:37:53 +0000 | [diff] [blame] | 1460 | * src/text.c (do_undo): Make a message equal to another one. It |
| 1461 | was mistakenly changed in r4950. (This is translation-neutral.) |
Benno Schulenberg | 138add2 | 2015-03-20 12:22:49 +0000 | [diff] [blame] | 1462 | * src/global.c (shortcut_init): Keep related items together in the |
| 1463 | ^G help screen. |
Benno Schulenberg | 3345e34 | 2015-03-20 11:18:22 +0000 | [diff] [blame] | 1464 | |
Benno Schulenberg | 52d1c20 | 2015-03-17 20:10:59 +0000 | [diff] [blame] | 1465 | 2015-03-17 Benno Schulenberg <bensberg@justemail.net> |
| 1466 | * src/text.c (do_alt_speller): Do not set the modified flag when |
| 1467 | an external spell checker didn't make any changes. This fixes |
| 1468 | Savannah bug #44320, reported by Cody A. Taylor. |
| 1469 | |
Benno Schulenberg | 69d26c3 | 2015-03-14 20:17:21 +0000 | [diff] [blame] | 1470 | 2015-03-14 Benno Schulenberg <bensberg@justemail.net> |
| 1471 | * src/text.c (do_formatter): Fix a message plus a few comments. |
| 1472 | |
Benno Schulenberg | 4d9b5e9 | 2015-03-14 15:59:01 +0000 | [diff] [blame] | 1473 | 2015-03-14 Mark Majeres <mark@engine12.com> |
Benno Schulenberg | 6898c60 | 2015-03-15 19:48:50 +0000 | [diff] [blame] | 1474 | * src/nano.c (renumber): Get out if there is nothing to renumber, |
| 1475 | to prevent do_undo() from falling over trying to renumber emptiness. |
| 1476 | This fixes Savannah bug #44488, reported by Dennis Decker Jensen. |
Benno Schulenberg | 4d9b5e9 | 2015-03-14 15:59:01 +0000 | [diff] [blame] | 1477 | |
Benno Schulenberg | 03bcaf6 | 2015-03-08 12:10:52 +0000 | [diff] [blame] | 1478 | 2015-03-08 Benno Schulenberg <bensberg@justemail.net> |
| 1479 | * src/proto.h, src/nano.c: Fix compilation with --enable-tiny plus |
| 1480 | --enable-nanorc. |
Benno Schulenberg | 79ff393 | 2015-03-08 15:42:52 +0000 | [diff] [blame] | 1481 | * src/rcfile.c (parse_binding): Fix the rebinding of toggles. |
Benno Schulenberg | 4e95ee9 | 2015-03-08 15:59:15 +0000 | [diff] [blame] | 1482 | * doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi: Update |
| 1483 | years and version numbers in the docs in anticipation of a release. |
Benno Schulenberg | 18a2edf | 2015-03-08 20:14:10 +0000 | [diff] [blame] | 1484 | * src/nano.c (version): Drop compile time from version information |
| 1485 | to enable a reproducible build. Proposed by Jérémy Bobbio and Jordi |
| 1486 | Mallach (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774388). |
Benno Schulenberg | 03bcaf6 | 2015-03-08 12:10:52 +0000 | [diff] [blame] | 1487 | |
Benno Schulenberg | 32e76c4 | 2015-03-07 21:30:36 +0000 | [diff] [blame] | 1488 | 2015-03-07 Benno Schulenberg <bensberg@justemail.net> |
| 1489 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Add a note about the |
| 1490 | inherent imperfection of using regular expressions for syntax |
| 1491 | highlighting, as suggested by Mike Frysinger in bug #30962. |
Benno Schulenberg | 336b0ec | 2015-03-07 21:48:15 +0000 | [diff] [blame] | 1492 | * doc/man/nanorc.5: Improve the indentation of some lists. |
Benno Schulenberg | 5891c4a | 2015-03-07 22:11:56 +0000 | [diff] [blame] | 1493 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Remove the mistaken |
| 1494 | square brackets around the arguments of "header" and "magic" -- |
| 1495 | those arguments are not optional. Also add "formatter" to the |
| 1496 | texinfo document, and slightly improve its punctuation. |
Benno Schulenberg | 32e76c4 | 2015-03-07 21:30:36 +0000 | [diff] [blame] | 1497 | |
Benno Schulenberg | 83ec9e7 | 2015-03-23 13:06:07 +0000 | [diff] [blame] | 1498 | GNU nano 2.3.99pre3 - 2015.02.27 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1499 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1500 | 2015-02-25 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 32e76c4 | 2015-03-07 21:30:36 +0000 | [diff] [blame] | 1501 | * src/rcfile.c (parse_binding): Add an exception for do_toggle() as |
Benno Schulenberg | 79ff393 | 2015-03-08 15:42:52 +0000 | [diff] [blame] | 1502 | rebinding toggles broke with r5022. (Fixed in r5134.) |
Chris Allegretta | 184cf60 | 2015-02-25 19:04:53 +0000 | [diff] [blame] | 1503 | |
Benno Schulenberg | d4e1d31 | 2015-02-21 09:45:53 +0000 | [diff] [blame] | 1504 | 2015-02-21 Benno Schulenberg <bensberg@justemail.net> |
| 1505 | * README: Fix the explanation of how to subscribe to a mailing list. |
Benno Schulenberg | e73e02f | 2015-02-21 11:31:56 +0000 | [diff] [blame] | 1506 | * doc/syntax/{java,lua,python,ruby}.nanorc: Wrap some overlong lines. |
Benno Schulenberg | d4e1d31 | 2015-02-21 09:45:53 +0000 | [diff] [blame] | 1507 | |
Benno Schulenberg | bb4edd0 | 2015-02-18 20:01:30 +0000 | [diff] [blame] | 1508 | 2015-02-18 Mike Frysinger <vapier@gentoo.org> |
| 1509 | * doc/syntax/sh.nanorc: Recognize also dash, openrc and runscript. |
| 1510 | |
Benno Schulenberg | c9b3a71 | 2015-02-16 20:13:29 +0000 | [diff] [blame] | 1511 | 2015-02-16 Mike Frysinger <vapier@gentoo.org> |
| 1512 | * .gitignore: Ignore the autotools 'compile' file. |
| 1513 | |
Benno Schulenberg | 35cd49e | 2015-02-15 16:20:09 +0000 | [diff] [blame] | 1514 | 2015-02-15 Benno Schulenberg <bensberg@justemail.net> |
| 1515 | * src/file.c (do_lockfile): Also show the name of the affected file |
| 1516 | when finding a lock file, for when many files are opened at once. |
Benno Schulenberg | 1b65b19 | 2015-02-15 16:28:08 +0000 | [diff] [blame] | 1517 | * src/file.c (do_lockfile): The user does the editing, not the editor. |
Benno Schulenberg | 35cd49e | 2015-02-15 16:20:09 +0000 | [diff] [blame] | 1518 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1519 | 2015-02-09 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 6c77648 | 2015-02-09 19:53:29 +0000 | [diff] [blame] | 1520 | * nano.spec.in: Add dependency on texinfo, docdir files for |
| 1521 | RPM file creation. |
| 1522 | |
Chris Allegretta | 651bb50 | 2015-02-07 00:26:43 +0000 | [diff] [blame] | 1523 | GNU nano 2.3.99pre2 - 2015.02.06 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1524 | |
Benno Schulenberg | 35cd49e | 2015-02-15 16:20:09 +0000 | [diff] [blame] | 1525 | 2015-02-03 Alex Henrie <alexhenrie24@gmail.com> |
Chris Allegretta | 86c6cd1 | 2015-02-03 22:49:57 +0000 | [diff] [blame] | 1526 | * src/cut.c (do_cut_text): Make sure to set modified even when |
| 1527 | using --enable-tiny. |
| 1528 | |
Benno Schulenberg | 92896a7 | 2015-02-01 09:39:27 +0000 | [diff] [blame] | 1529 | 2015-02-01 Kamil Dudka <kdudka@redhat.com> |
| 1530 | * src/files.c (write_lockfile): Avoid writing uninitialized bytes to |
| 1531 | the lock file -- a simple null_at() would not initialize the buffer. |
Benno Schulenberg | 67cdd5e | 2015-02-01 09:48:50 +0000 | [diff] [blame] | 1532 | * src/files.c (do_lockfile): Make sure that 'lockprog' and 'lockuser' |
| 1533 | are terminated -- strncpy() does not guarantee that on its own. |
Benno Schulenberg | 057ef18 | 2015-02-01 09:58:02 +0000 | [diff] [blame] | 1534 | * src/files.c (do_lockfile): Avoid printing a wrong PID on the status |
| 1535 | bar due to treating serialized PID bytes as signed integers. This |
| 1536 | addresses https://bugzilla.redhat.com/1186384 reported by Don Swaner. |
Benno Schulenberg | bd98ff0 | 2015-02-01 10:07:08 +0000 | [diff] [blame] | 1537 | * src/files.c (write_lockfile): Do not trim the nano version number |
| 1538 | -- snprintf() counts the trailing zero into the size limit. |
Benno Schulenberg | 92896a7 | 2015-02-01 09:39:27 +0000 | [diff] [blame] | 1539 | |
Benno Schulenberg | 8d53aa3 | 2015-02-01 09:19:58 +0000 | [diff] [blame] | 1540 | 2015-02-01 Benno Schulenberg <bensberg@justemail.net> |
| 1541 | * src/winio.c (do_credits): Add a general entry for all translators. |
Benno Schulenberg | 57fa775 | 2015-02-01 09:32:02 +0000 | [diff] [blame] | 1542 | * src/nano.c (version), src/winio.c (do_credits): Update the copyright |
| 1543 | years to include 2015. |
Benno Schulenberg | 8d53aa3 | 2015-02-01 09:19:58 +0000 | [diff] [blame] | 1544 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1545 | 2015-01-13 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 6948d2e | 2015-01-14 02:36:30 +0000 | [diff] [blame] | 1546 | * src/files.c (open_buffer): Check here for locking and properly |
| 1547 | handle choosing to not open a file when locked instead of in |
Benno Schulenberg | 5ac1081 | 2015-04-03 15:48:57 +0000 | [diff] [blame] | 1548 | open_file(). Fixes Savannah bug #42373 reported by Benno Schulenberg. |
Chris Allegretta | 6948d2e | 2015-01-14 02:36:30 +0000 | [diff] [blame] | 1549 | |
Chris Allegretta | 1706792 | 2015-01-06 15:20:04 +0000 | [diff] [blame] | 1550 | GNU nano 2.3.99pre1 - 2015.01.06 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1551 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1552 | 2015-01-03 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | f26e88b | 2016-06-17 10:49:29 +0200 | [diff] [blame] | 1553 | * New formatter code to support syntaxes like Go that have tools to |
| 1554 | automatically lint and reformat the text (gofmt), which is lovely. |
| 1555 | Added rcfile option formatter, a function do_formatter() in text.c |
| 1556 | and some other calls. |
Chris Allegretta | 4b3f277 | 2015-01-03 07:24:17 +0000 | [diff] [blame] | 1557 | |
Benno Schulenberg | e99f0b6 | 2014-12-28 21:58:27 +0000 | [diff] [blame] | 1558 | 2014-12-28 Benno Schulenberg <bensberg@justemail.net> |
| 1559 | * src/files.c (do_lockfile): Gettextize the "File being edited" |
| 1560 | prompt, and improve its wording. |
Benno Schulenberg | 9f1b1e2 | 2014-12-28 22:23:31 +0000 | [diff] [blame] | 1561 | * src/winio.c (do_credits): Remove the names of past translators |
| 1562 | from the Easter-egg scroll. |
| 1563 | * THANKS: Add a missing historical translator name. |
Benno Schulenberg | a44def0 | 2014-12-28 22:27:56 +0000 | [diff] [blame] | 1564 | * src/winio.c (do_credits): Add Mark to the scroll, for all his |
| 1565 | undo work, colouring nano's interface, and other patches. |
Benno Schulenberg | e99f0b6 | 2014-12-28 21:58:27 +0000 | [diff] [blame] | 1566 | |
Benno Schulenberg | 5bb10d2 | 2014-11-30 12:05:13 +0000 | [diff] [blame] | 1567 | 2014-11-30 Benno Schulenberg <bensberg@justemail.net> |
| 1568 | * doc/syntax/spec.nanorc: Colorize %pretrans and %posttrans fully. |
| 1569 | Original patch from Savannah patch #8573 by Daniel Vrátil. |
| 1570 | |
Benno Schulenberg | edabd27 | 2014-09-21 15:29:40 +0000 | [diff] [blame] | 1571 | 2014-09-21 Benno Schulenberg <bensberg@justemail.net> |
| 1572 | * doc/syntax/{perl,python,ruby,sh}.nanorc: Recognize also header |
| 1573 | lines of the form "#!/usr/bin/env thing" besides "#!/bin/thing". |
| 1574 | This fixes Savannah bug #43270 reported by Kitty. |
| 1575 | |
Benno Schulenberg | 97a5d12 | 2014-08-29 20:03:58 +0000 | [diff] [blame] | 1576 | 2014-08-29 Benno Schulenberg <bensberg@justemail.net> |
| 1577 | * src/text.c (do_justify): Replace the old get_shortcut() wrapper |
| 1578 | with the new func_from_key(). |
| 1579 | |
Benno Schulenberg | a3cc4e6 | 2014-08-10 16:27:30 +0000 | [diff] [blame] | 1580 | 2014-08-10 Benno Schulenberg <bensberg@justemail.net> |
| 1581 | * doc/texinfo/nano.texi: Improve some wordings and formatting. |
| 1582 | |
Benno Schulenberg | 2a9536c | 2014-08-07 20:27:21 +0000 | [diff] [blame] | 1583 | 2014-08-07 Benno Schulenberg <bensberg@justemail.net> |
| 1584 | * doc/syntax/nanorc.nanorc: Remove a mistaken OR which causes a |
| 1585 | 'Bad regex, empty (sub)expression' error on some systems. This |
Benno Schulenberg | f729c6d | 2014-08-29 19:22:15 +0000 | [diff] [blame] | 1586 | fixes Savannah bug #42929 reported by Misty De Meo. |
Benno Schulenberg | 2a9536c | 2014-08-07 20:27:21 +0000 | [diff] [blame] | 1587 | |
Benno Schulenberg | 3f4389b | 2014-08-03 20:25:16 +0000 | [diff] [blame] | 1588 | 2014-08-03 Benno Schulenberg <bensberg@justemail.net> |
| 1589 | * doc/man/nano.1, doc/man/rnano.1: Tweak the formatting a bit so that |
| 1590 | po4a will create a nicer POT file. |
Benno Schulenberg | 1f960f7 | 2014-08-03 20:57:15 +0000 | [diff] [blame] | 1591 | * doc/man/nanorc.5: Improve some of the wordings and formatting. |
Benno Schulenberg | 3f4389b | 2014-08-03 20:25:16 +0000 | [diff] [blame] | 1592 | |
Benno Schulenberg | 700c43b | 2014-08-02 20:47:35 +0000 | [diff] [blame] | 1593 | 2014-08-02 Benno Schulenberg <bensberg@justemail.net> |
| 1594 | * doc/texinfo/nano.texi: Standardize the formatting of command-line |
| 1595 | options -- each one separately. Also add some more markup. |
| 1596 | |
Benno Schulenberg | 2ec70b6 | 2014-08-01 21:04:35 +0000 | [diff] [blame] | 1597 | 2014-08-01 Benno Schulenberg <bensberg@justemail.net> |
| 1598 | * doc/man/nano.1, doc/man/rnano.1: Separate short and long option |
| 1599 | by a comma instead of putting the long one between parentheses. |
| 1600 | And showing the required quotes around the argument of -Q. |
| 1601 | |
Benno Schulenberg | fcd4468 | 2014-07-31 20:44:19 +0000 | [diff] [blame] | 1602 | 2014-07-31 Benno Schulenberg <bensberg@justemail.net> |
| 1603 | * src/files.c (do_insertfile): Adjust some indentation. |
Benno Schulenberg | cf9f32b | 2014-07-31 20:49:32 +0000 | [diff] [blame] | 1604 | * src/prompt.c (do_statusbar_input), src/browser.c (do_browser): |
| 1605 | Reorder a few things, and adjust some whitespace. |
Benno Schulenberg | fcd4468 | 2014-07-31 20:44:19 +0000 | [diff] [blame] | 1606 | |
Benno Schulenberg | d23283e | 2014-07-27 19:13:46 +0000 | [diff] [blame] | 1607 | 2014-07-27 Benno Schulenberg <bensberg@justemail.net> |
| 1608 | * src/global.c (add_to_sclist): Remove the now unused and unneeded |
| 1609 | addition ability from this builder function of the shortcut list. |
Benno Schulenberg | 8075063 | 2014-07-27 19:18:00 +0000 | [diff] [blame] | 1610 | * src/global.c (strtokeytype): Move this to a better place. |
Benno Schulenberg | dbb5e7c | 2014-07-27 19:23:41 +0000 | [diff] [blame] | 1611 | * src/global.c (first_sc_for): Move this too to a better place. |
Benno Schulenberg | 266e049 | 2014-07-27 19:32:03 +0000 | [diff] [blame] | 1612 | * src/prompt.c (do_yesno_prompt): Use the new and more direct |
| 1613 | func_from_key() wrapper instead of get_shortcut(). |
Benno Schulenberg | 47dffa4 | 2014-07-27 20:16:28 +0000 | [diff] [blame] | 1614 | * src/text.c (do_linter): Likewise. |
Benno Schulenberg | 7239fda | 2014-07-27 21:07:15 +0000 | [diff] [blame] | 1615 | * src/files.c (do_insertfile, do_writeout): Likewise. |
Benno Schulenberg | d23283e | 2014-07-27 19:13:46 +0000 | [diff] [blame] | 1616 | |
Jordi Mallach | 7ffc7b0 | 2014-07-24 16:11:20 +0000 | [diff] [blame] | 1617 | 2014-07-24 Jordi Mallach <jordi@gnu.org> |
| 1618 | * doc/texinfo/nano.texi, doc/man/nanorc.5: Typo fix. |
| 1619 | |
Benno Schulenberg | 1a8c90e | 2014-07-22 08:17:20 +0000 | [diff] [blame] | 1620 | 2014-07-22 Benno Schulenberg <bensberg@justemail.net> |
| 1621 | * doc/syntax/nanorc.nanorc: Remove 'undo' from the valid options. |
| 1622 | |
Jordi Mallach | ea40ebb | 2014-07-21 21:27:15 +0000 | [diff] [blame] | 1623 | 2014-07-21 Jordi Mallach <jordi@gnu.org> |
| 1624 | * doc/nanorc.sample.in: Remove ‘undo’ section which is now obsolete. |
| 1625 | |
Chris Allegretta | 1c8cdfd | 2014-07-17 15:32:28 +0000 | [diff] [blame] | 1626 | GNU nano 2.3.6 - 2014.07.17 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1627 | |
Jordi Mallach | 18be897 | 2014-07-16 11:07:08 +0000 | [diff] [blame] | 1628 | 2014-07-16 Jordi Mallach <jordi@gnu.org> |
Jordi Mallach | 35cb2c8 | 2014-07-17 06:27:08 +0000 | [diff] [blame] | 1629 | * doc/man/rnano.1: Additional printing formatting improvement from |
| 1630 | Bjarni Ingi Gislason. |
| 1631 | |
| 1632 | 2014-07-16 Jordi Mallach <jordi@gnu.org> |
Jordi Mallach | 3d5de0d | 2014-07-16 17:25:55 +0000 | [diff] [blame] | 1633 | * doc/man/fr/nano.1, doc/man/fr/rnano.1: Apply similar escaping fixes |
| 1634 | to French manpages. |
| 1635 | * doc/man/fr/nano.1, doc/man/fr/rnano.1, doc/man/fr/nanorc.5: Recode |
| 1636 | as UTF-8. |
| 1637 | |
| 1638 | 2014-07-16 Jordi Mallach <jordi@gnu.org> |
Jordi Mallach | a3710f6 | 2014-07-16 11:22:02 +0000 | [diff] [blame] | 1639 | * doc/syntax/debian.nanorc: Add https, tor and spacewalk to supported |
| 1640 | APT methods. |
| 1641 | * doc/syntax/debian.nanorc: Apply the syntax to apt/sources.list.d/ |
| 1642 | entries as well, as reported by Rodolphe Pelloux-Prayer. |
| 1643 | |
| 1644 | 2014-07-16 Jordi Mallach <jordi@gnu.org> |
Jordi Mallach | 18be897 | 2014-07-16 11:07:08 +0000 | [diff] [blame] | 1645 | * doc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting |
| 1646 | fixes as suggested Bjarni Ingi Gislason <bjarniig@rhi.hi.is> in |
| 1647 | Debian bugs #662842 and #726956. |
| 1648 | |
Benno Schulenberg | a9fdfd0 | 2014-07-16 08:53:16 +0000 | [diff] [blame] | 1649 | 2014-07-16 Benno Schulenberg <bensberg@justemail.net> |
| 1650 | * src/text.c: Normalize the tabbing. |
| 1651 | |
Benno Schulenberg | 2394e52 | 2014-07-16 08:46:42 +0000 | [diff] [blame] | 1652 | 2014-07-16 Mark Majeres <mark@engine12.com> |
| 1653 | * src/text.c (do_undo): Make sure renumbering starts far enough back |
| 1654 | after undoing a cut or paste. This fixes a segmentation fault when |
| 1655 | undoing a repeated cutting and pasting of the first line of a file. |
| 1656 | * src/nano.c (move_to_filestruct, copy_from_filestruct): Fix two leaks. |
| 1657 | |
Chris Allegretta | ee7bbf4 | 2014-07-13 19:46:32 +0000 | [diff] [blame] | 1658 | 2014-07-13 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 2394e52 | 2014-07-16 08:46:42 +0000 | [diff] [blame] | 1659 | * ChangeLog: Typo fix. |
Chris Allegretta | ee7bbf4 | 2014-07-13 19:46:32 +0000 | [diff] [blame] | 1660 | |
Benno Schulenberg | 8914bd5 | 2014-07-12 08:17:52 +0000 | [diff] [blame] | 1661 | 2014-07-12 Benno Schulenberg <bensberg@justemail.net> |
| 1662 | * configure.ac: The warning about datarootdir being ignored is |
| 1663 | not merely a warning, it also activates a workaround. |
| 1664 | |
Benno Schulenberg | 5dde918 | 2014-07-11 19:14:25 +0000 | [diff] [blame] | 1665 | 2014-07-11 Mark Majeres <mark@engine12.com> |
| 1666 | * src/text.c (do_undo, do_redo): Do not speak of "line wrap" |
| 1667 | but instead of "text add" when undoing/redoing text additions |
| 1668 | that caused automatic line breaks. |
| 1669 | |
Benno Schulenberg | 300e277 | 2014-07-11 18:35:08 +0000 | [diff] [blame] | 1670 | 2014-07-11 Benno Schulenberg <bensberg@justemail.net> |
| 1671 | * src/files.c (write_lockfile): Refix typo in error message. |
| 1672 | |
Chris Allegretta | cfc396c | 2014-07-11 13:46:32 +0000 | [diff] [blame] | 1673 | GNU nano 2.3.5 - 2014.07.11 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 1674 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1675 | 2014-07-11 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 733ca94 | 2014-07-11 11:16:15 +0000 | [diff] [blame] | 1676 | * src/files.c (do_lockfile, open_file): If locking fails, |
| 1677 | allow the lock failure message to be preserved AND |
| 1678 | preserve the filename passed on the cmdline. Fixes |
| 1679 | Savannah bug #42668. |
| 1680 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 1681 | 2014-07-02 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 6d5b2fd | 2014-07-03 03:54:22 +0000 | [diff] [blame] | 1682 | * src/files.c (do_lockfile): Check whether the directory |
Chris Allegretta | 733ca94 | 2014-07-11 11:16:15 +0000 | [diff] [blame] | 1683 | of the file we're trying to lock exists, and make the |
| 1684 | resulting error message more intuitive. Fixes |
| 1685 | Savannah bug #42639 reported by Benno Schulenberg. |
Chris Allegretta | 6d5b2fd | 2014-07-03 03:54:22 +0000 | [diff] [blame] | 1686 | |
Benno Schulenberg | 92213f9 | 2014-07-02 20:29:57 +0000 | [diff] [blame] | 1687 | 2014-07-02 Mark Majeres <mark@engine12.com> |
| 1688 | * src/text.c (undo_cut, redo_cut, update_undo): Handle the |
Benno Schulenberg | 637b76b | 2014-07-02 20:52:27 +0000 | [diff] [blame] | 1689 | cases of cutting-from-cursor-to-end-of-line correctly. |
Benno Schulenberg | 92213f9 | 2014-07-02 20:29:57 +0000 | [diff] [blame] | 1690 | * src/nano.c (do_input): Don't preserve the cutbuffer when |
| 1691 | CUT_TO_END is toggled -- it would intermix two cut types. |
Benno Schulenberg | 637b76b | 2014-07-02 20:52:27 +0000 | [diff] [blame] | 1692 | * src/text.c (redo_cut, do_undo, do_redo): Don't forget to |
| 1693 | free the cutbuffer after use. |
Benno Schulenberg | 92213f9 | 2014-07-02 20:29:57 +0000 | [diff] [blame] | 1694 | |
Benno Schulenberg | 3933a30 | 2014-07-02 08:47:09 +0000 | [diff] [blame] | 1695 | 2014-07-02 Benno Schulenberg <bensberg@justemail.net> |
| 1696 | * src/proto.h: Add a typedef for a pointer to a function. |
| 1697 | * src/global.c (func_from_key): New wrapper. |
| 1698 | * src/prompt.c (get_prompt_string, do_prompt): Use the new |
| 1699 | wrapper to make the code a bit cleaner. |
Benno Schulenberg | 6418ffa | 2014-07-02 09:29:05 +0000 | [diff] [blame] | 1700 | * src/help.c (do_help, parse_help_input): Use the wrapper. |
| 1701 | * src/browser.c (do_browser, parse_browser_input): Likewise. |
Benno Schulenberg | 6c86ee1 | 2014-07-02 19:12:38 +0000 | [diff] [blame] | 1702 | * src/search.c (search_init, do_gotolinecolumn): Likewise. |
| 1703 | * src/search.c (findnextstr): Replace a call of old wrapper |
| 1704 | 'getfuncfromkey()' with a call of new 'func_from_key()'. |
| 1705 | * src/winio.c (getfuncfromkey): Delete now unneeded wrapper. |
Benno Schulenberg | 85ddc71 | 2014-07-02 19:57:23 +0000 | [diff] [blame] | 1706 | * src/nano.c (usage, main), doc/texinfo/nano.texi: Properly |
| 1707 | exclude the --quiet option when --disable-nanorc was given. |
Benno Schulenberg | 3933a30 | 2014-07-02 08:47:09 +0000 | [diff] [blame] | 1708 | |
Benno Schulenberg | 3b031b1 | 2014-07-01 08:38:08 +0000 | [diff] [blame] | 1709 | 2014-07-01 Benno Schulenberg <bensberg@justemail.net> |
| 1710 | * src/browser.c (do_browser), src/help.c (do_help): Make sure |
| 1711 | to always set 'currmenu', so that we can rely on it. |
Benno Schulenberg | 49816fe | 2014-07-01 10:41:10 +0000 | [diff] [blame] | 1712 | * src/*.c (get_shortcut): Now that 'currmenu' is really global, |
| 1713 | stop passing it around. |
Benno Schulenberg | 3cd3e32 | 2014-07-01 10:52:07 +0000 | [diff] [blame] | 1714 | * src/help.c (help_init), src/winio.c (bottombars): There are |
| 1715 | no tagless functions, so there is no need to check. |
Benno Schulenberg | 645841f | 2014-07-01 11:42:28 +0000 | [diff] [blame] | 1716 | * src/prompt.c (do_prompt, get_prompt_string): Don't pass the |
| 1717 | menu, just set it earlier. |
Benno Schulenberg | ebcc68f | 2014-07-01 11:50:35 +0000 | [diff] [blame] | 1718 | * src/prompt.c (get_prompt_string): Group the arguments better. |
Benno Schulenberg | b095725 | 2014-07-01 16:24:01 +0000 | [diff] [blame] | 1719 | * src/global.c (shortcut_init), src/browser.c (do_filesearch): |
| 1720 | Show that it is possible to have backwards, regular-expressive |
| 1721 | and case-sensitive searching in the file browser. |
| 1722 | * src/browser.c (filesearch_init, do_filesearch): Now delete |
| 1723 | these abilities again and all provisions for them. |
Benno Schulenberg | e6a4a64 | 2014-07-01 18:52:21 +0000 | [diff] [blame] | 1724 | * src/global.c (shortcut_init): Add two defines to make the |
| 1725 | functions list clearer. |
Benno Schulenberg | 3b031b1 | 2014-07-01 08:38:08 +0000 | [diff] [blame] | 1726 | |
Benno Schulenberg | 95e77a9 | 2014-06-30 20:39:27 +0000 | [diff] [blame] | 1727 | 2014-06-30 Mark Majeres <mark@engine12.com> |
| 1728 | * src/cut.c, src/global.c, src/nano.c: Rename 'cut_till_end' to |
| 1729 | 'cut_till_eof', and 'do_cut_till_end' to 'do_cut_till_eof', to |
| 1730 | reduce confusion with CUT_TO_END, which is about end-of-line. |
| 1731 | |
Benno Schulenberg | e94a00a | 2014-06-30 17:47:07 +0000 | [diff] [blame] | 1732 | 2014-06-30 Benno Schulenberg <bensberg@justemail.net> |
| 1733 | * src/color.c (color_update): When there are no syntaxes, for example |
| 1734 | with --ignorercfiles, do not try to find one, because that would lead |
| 1735 | to the magic database being searched, which slows down startup a lot. |
Benno Schulenberg | eaf235f | 2014-06-30 17:49:53 +0000 | [diff] [blame] | 1736 | * src/color.c (color_update): Move some variables to a better place. |
Benno Schulenberg | 7e5324d | 2014-06-30 18:04:33 +0000 | [diff] [blame] | 1737 | * src/*: Make 'meta_key' and 'func_key' into global variables, instead |
| 1738 | of having them declared everywhere and passing them around endlessly. |
Benno Schulenberg | 776931a | 2014-06-30 18:20:32 +0000 | [diff] [blame] | 1739 | * src/global.c (sc_seq_or): Now fix a bug introduced somewhere after |
| 1740 | 2.3.2 where binding a movement function to a Meta key would make the |
| 1741 | corresponding Arrow key stop working (producing a character instead). |
Benno Schulenberg | e94a00a | 2014-06-30 17:47:07 +0000 | [diff] [blame] | 1742 | |
Benno Schulenberg | 6f28d35 | 2014-06-29 09:33:51 +0000 | [diff] [blame] | 1743 | 2014-06-29 Benno Schulenberg <bensberg@justemail.net> |
| 1744 | * src/rcfile.c: Fix compilation with --enable-tiny --enable-nanorc. |
Benno Schulenberg | 09dd0a4 | 2014-06-29 20:53:00 +0000 | [diff] [blame] | 1745 | * src/winio.c (parse_kbinput, get_escape_seq_kbinput): Make Ctrl-Left |
| 1746 | and Ctrl-Right produce special codes, and map these codes to Prevword |
| 1747 | and Nextword instead of reducing them to a plain Left and Right. The |
| 1748 | codes 539 and 554 were so chosen because some terminals produce these. |
Benno Schulenberg | 6f28d35 | 2014-06-29 09:33:51 +0000 | [diff] [blame] | 1749 | |
Benno Schulenberg | 484a0be | 2014-06-29 08:49:06 +0000 | [diff] [blame] | 1750 | 2014-06-29 Mark Majeres <mark@engine12.com> |
| 1751 | * src/text.c (do_undo): Update the pointer to the bottom of the file |
| 1752 | when undoing line deletions at file's end. |
| 1753 | |
Benno Schulenberg | b5895f0 | 2014-06-28 08:29:18 +0000 | [diff] [blame] | 1754 | 2014-06-28 Benno Schulenberg <bensberg@justemail.net> |
| 1755 | * src/prompt.c (do_statusbar_input): Remove the useless parameters |
| 1756 | 'have_shortcut and 'allow_funcs'; the latter is only ever TRUE. |
Benno Schulenberg | d4623f3 | 2014-06-28 14:42:18 +0000 | [diff] [blame] | 1757 | * src/global.c (shortcut_init), src/prompt.c (do_statusbar_input): |
| 1758 | Eradicate the execute flag -- it is only FALSE for functions that are |
| 1759 | empty placeholders (so executing them will not do anything anyway) or |
| 1760 | for functions ('total_refresh', 'do_suspend_void') that do not exist |
| 1761 | in menus with a prompt. The only two exceptions are 'do_cancel' and |
| 1762 | 'do_gotolinecolumn_void'. The first is handled specially, so do that |
| 1763 | too for the second and then get to drop 140 parameters. |
Benno Schulenberg | d48d84a | 2014-06-28 15:34:10 +0000 | [diff] [blame] | 1764 | * src/global.c (strtosc): Move recognition of the toggles to the end, |
| 1765 | use a single assignment of do_toggle_void, trim the unneeded braces. |
Benno Schulenberg | b5895f0 | 2014-06-28 08:29:18 +0000 | [diff] [blame] | 1766 | |
Benno Schulenberg | a8c13d7 | 2014-06-27 15:51:24 +0000 | [diff] [blame] | 1767 | 2014-06-27 Benno Schulenberg <bensberg@justemail.net> |
| 1768 | * src/global.c (shortcut_init): Add default keybindings for Cut, |
| 1769 | PrevWord and NextWord in the prompt input lines; the code for those |
| 1770 | special operations already exists, just the shortcuts were missing. |
Benno Schulenberg | 4651f49 | 2014-06-27 16:14:52 +0000 | [diff] [blame] | 1771 | * src/rcfile.c (parse_binding): When binding keys, only allow those |
| 1772 | menus where the bound function is actually present. This reduces |
| 1773 | the meaning of 'all' to "all menus where the function exists". |
| 1774 | * src/rcfile.c (is_universal): New function, returning TRUE for the |
| 1775 | functions that are present in most menus but only listed in MMAIN. |
Benno Schulenberg | 64fd3b8 | 2014-06-27 16:27:52 +0000 | [diff] [blame] | 1776 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Update the docs for this. |
Benno Schulenberg | 29dfb68 | 2014-06-27 19:32:12 +0000 | [diff] [blame] | 1777 | * prompt.c (find_statusbar_bracket_match, do_statusbar_find_bracket): |
| 1778 | Remove these functions and thus the ability to search for a matching |
| 1779 | bracket in a prompt input line. The find_bracket function never had |
| 1780 | a default keybinding outside MMAIN, so is unlikely to have been used. |
Benno Schulenberg | 26de2dd | 2014-06-27 20:01:27 +0000 | [diff] [blame] | 1781 | * src/prompt.c (do_statusbar_input): Normalize the indentation. |
| 1782 | * src/winio.c: Normalize some whitespace. |
Benno Schulenberg | 607b226 | 2014-06-27 20:20:14 +0000 | [diff] [blame] | 1783 | * Makefile.am, nano.spec.in: Stop distributing the BUGS file. |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 1784 | * BUGS: Remove obsolete file, as all the bugs in it have been fixed |
| 1785 | long ago. Nowadays bugs are tracked on Savannah. |
Benno Schulenberg | 4868f83 | 2014-06-27 20:35:37 +0000 | [diff] [blame] | 1786 | * configure.ac: Silence a useless warning about ignoring datarootdir. |
Benno Schulenberg | a8c13d7 | 2014-06-27 15:51:24 +0000 | [diff] [blame] | 1787 | |
Benno Schulenberg | 0c0fbd5 | 2014-06-25 09:05:55 +0000 | [diff] [blame] | 1788 | 2014-06-25 Benno Schulenberg <bensberg@justemail.net> |
| 1789 | * src/browser.c (do_browser): Allow 'firstfile' and 'lastfile' to be |
| 1790 | rebound to Ctrl keys -- checking meta_key is wrong, the function has |
| 1791 | already been determined, that is all that matters. |
Benno Schulenberg | 40ae394 | 2014-06-25 09:17:38 +0000 | [diff] [blame] | 1792 | * src/help.c (do_help): Same thing for 'firstline'/'lastline'. |
Benno Schulenberg | 0c0fbd5 | 2014-06-25 09:05:55 +0000 | [diff] [blame] | 1793 | |
Benno Schulenberg | ce0ea44 | 2014-06-23 18:20:12 +0000 | [diff] [blame] | 1794 | 2014-06-23 Benno Schulenberg <bensberg@justemail.net> |
Chris Allegretta | ee7bbf4 | 2014-07-13 19:46:32 +0000 | [diff] [blame] | 1795 | * src/nano.h, src/move.c (do_up, do_down), src/winio.c (edit_scroll): |
Benno Schulenberg | ce0ea44 | 2014-06-23 18:20:12 +0000 | [diff] [blame] | 1796 | Rename UP_DIR and DOWN_DIR to UPWARD and DOWNWARD, for clarity. |
Benno Schulenberg | a0f66c0 | 2014-06-23 18:30:35 +0000 | [diff] [blame] | 1797 | * src/proto.h, src/global.c, src/search.c: Rename 'no_replace_void()' |
| 1798 | to 'flip_replace_void()', to show what it actually does. |
| 1799 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Update the docs for that. |
Benno Schulenberg | ef16223 | 2014-06-23 20:03:25 +0000 | [diff] [blame] | 1800 | * src/global.c (strtosc): Add the bindable function 'gotodir'. |
| 1801 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Document the bindable |
| 1802 | functions 'tofiles','gotodir' and 'flipnewbuffer', and correct |
| 1803 | the description of 'gototext' (not being about the file browser). |
Benno Schulenberg | 12ecfbb | 2014-06-23 20:17:00 +0000 | [diff] [blame] | 1804 | * doc/syntax/nanorc.nanorc: Show Ins and Del as valid rebindable keys. |
Benno Schulenberg | cfa1338 | 2014-06-23 20:22:42 +0000 | [diff] [blame] | 1805 | * src/help.c (do_help): Normalize the indentation. |
Benno Schulenberg | 45417c7 | 2014-06-23 20:30:23 +0000 | [diff] [blame] | 1806 | * src/files.c (do_insertfile): Give audible feedback when flipping |
| 1807 | the new buffer to off is not allowed in view mode. |
Benno Schulenberg | ce0ea44 | 2014-06-23 18:20:12 +0000 | [diff] [blame] | 1808 | |
Benno Schulenberg | cda06a9 | 2014-06-22 19:17:02 +0000 | [diff] [blame] | 1809 | 2014-06-22 Benno Schulenberg <bensberg@justemail.net> |
| 1810 | * src/browser.c (parse_browser_input), src/help.c (parse_help_input): |
| 1811 | Remove two pointless calls of get_shortcut(), and adjust the comments. |
Benno Schulenberg | 8ea830f | 2014-06-22 19:23:54 +0000 | [diff] [blame] | 1812 | * src/nano.c (do_toggle): When toggling softwrap, only the edit window |
| 1813 | needs to be refreshed, not the entire screen. |
Benno Schulenberg | 64039e9 | 2014-06-22 21:21:00 +0000 | [diff] [blame] | 1814 | * src/browser.c (do_browser): Remove superfluous abortion variable, |
| 1815 | and place two comments better. |
Benno Schulenberg | 4cf39e4 | 2014-06-22 21:26:56 +0000 | [diff] [blame] | 1816 | * src/text.c (do_redo): Rename 'undidmsg' to 'redidmsg', to be apt. |
Benno Schulenberg | cda06a9 | 2014-06-22 19:17:02 +0000 | [diff] [blame] | 1817 | |
Benno Schulenberg | 07f4061 | 2014-06-22 10:14:48 +0000 | [diff] [blame] | 1818 | 2014-06-22 Mark Majeres <mark@engine12.com> |
| 1819 | * src/text.c (do_redo): When redoing a line join at the tail |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 1820 | of the file, make sure openfile->filebot is updated. |
Benno Schulenberg | 0166691 | 2014-06-22 11:03:49 +0000 | [diff] [blame] | 1821 | * src/text.c (undo_cut, redo_cut, do_undo, add_undo, update_undo): |
| 1822 | Fix three leaks of the cutbuffer, shorten and regroup some stuff, |
| 1823 | and remove an unneeded iteration of cutbottom. |
Benno Schulenberg | 07f4061 | 2014-06-22 10:14:48 +0000 | [diff] [blame] | 1824 | |
Benno Schulenberg | 76e150b | 2014-06-21 19:32:17 +0000 | [diff] [blame] | 1825 | 2014-06-21 Mark Majeres <mark@engine12.com> |
| 1826 | * src/text.c (undo_cut, add_undo): When undoing a cut-till-eof, |
| 1827 | put the cursor back where the cut started, and not at the end. |
Benno Schulenberg | fb6c0cd | 2014-06-21 19:40:30 +0000 | [diff] [blame] | 1828 | * src/text.c (do_undo): When undoing a line break at the tail |
| 1829 | of the file, make sure openfile->filebot is updated. |
Benno Schulenberg | 76e150b | 2014-06-21 19:32:17 +0000 | [diff] [blame] | 1830 | |
Benno Schulenberg | f80dcb2 | 2014-06-21 19:01:51 +0000 | [diff] [blame] | 1831 | 2014-06-21 David Lawrence Ramsey <pooka109@gmail.com> |
| 1832 | * src/move.c, src/nano.c: Miscellaneous whitespace fixes, one |
| 1833 | type fix, and one more #ifdef NANO_TINY. |
| 1834 | |
Benno Schulenberg | 4147c5e | 2014-06-20 07:55:24 +0000 | [diff] [blame] | 1835 | 2014-06-20 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 03f37ad | 2014-06-20 10:34:52 +0000 | [diff] [blame] | 1836 | * src/proto.h, src/global.c: Remove two obsolete variables and an |
| 1837 | unneeded extern, and regroup some stuff. |
Benno Schulenberg | ac6846a | 2014-06-20 10:39:31 +0000 | [diff] [blame] | 1838 | * src/files.c (check_dotnano): Wrap long lines and actually report |
| 1839 | the name that is not a directory. |
Benno Schulenberg | 492e9f6 | 2014-06-20 10:48:26 +0000 | [diff] [blame] | 1840 | * src/*: Miscellaneous whitespace adjustments and comment tweaks. |
Benno Schulenberg | b055599 | 2014-06-20 15:35:26 +0000 | [diff] [blame] | 1841 | * src/files.c: Fix compilation with --enable-tiny --enable-browser. |
Benno Schulenberg | c923fa7 | 2014-06-20 15:56:31 +0000 | [diff] [blame] | 1842 | * doc/man/nano.1, doc/texinfo/nano.texi: History logging no longer |
| 1843 | depends upon nanorc support, plus many other tweaks. |
Benno Schulenberg | cf8a296 | 2014-06-20 16:03:38 +0000 | [diff] [blame] | 1844 | * src/global.c (strtosc): Fix compilation with --enable-tiny |
| 1845 | --enable-histories --enable-nanorc. |
Benno Schulenberg | 3b47ff7 | 2014-06-20 16:13:54 +0000 | [diff] [blame] | 1846 | * src/text.c: Fix compilation with --enable-tiny --enable-wrapping. |
Benno Schulenberg | 691689d | 2014-06-20 16:33:12 +0000 | [diff] [blame] | 1847 | * src/files.c (do_insertfile): Fix compilation with --enable-tiny |
| 1848 | --enable-histories --enable-multibuffer. |
Benno Schulenberg | 1930e81 | 2014-06-20 18:06:22 +0000 | [diff] [blame] | 1849 | * src/nano.c: Fix compilation with --enable-tiny --enable-mouse. |
Benno Schulenberg | b14fbf7 | 2014-06-20 18:40:34 +0000 | [diff] [blame] | 1850 | * doc/man/nanorc.5, doc/texinfo/nano.texi: Explain better what "all" |
| 1851 | means when rebinding keys. This is a fix for Savannah bug #42552. |
Benno Schulenberg | 3060ce3 | 2014-06-20 19:10:24 +0000 | [diff] [blame] | 1852 | * src/nano.c (main): Make +1 and +,1 start on line one column one, |
| 1853 | overriding a historical position. This fixes Savannah bug #42538. |
Benno Schulenberg | 4147c5e | 2014-06-20 07:55:24 +0000 | [diff] [blame] | 1854 | |
Benno Schulenberg | e7c690d | 2014-06-19 11:58:11 +0000 | [diff] [blame] | 1855 | 2014-06-19 Benno Schulenberg <bensberg@justemail.net> |
| 1856 | * src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()' |
| 1857 | for consistency, and tweak the related comments. |
Benno Schulenberg | d840302 | 2014-06-19 13:08:23 +0000 | [diff] [blame] | 1858 | * src/files.c: Update some comments to match the current status. |
Benno Schulenberg | fcb4c3f | 2014-06-19 15:09:23 +0000 | [diff] [blame] | 1859 | * src/nano (finish, main): Allow -H/--historylog and -P/--poslog to |
| 1860 | function also when -I/--ignorercfiles is given. |
Benno Schulenberg | 0615acd | 2014-06-19 17:39:26 +0000 | [diff] [blame] | 1861 | * configure.ac: Add a --disable-histories flag, to disable the code |
| 1862 | for the histories of search/replace strings and cursor positions. |
| 1863 | * doc/texinfo/nano.texi: Document the new configure flag. |
Benno Schulenberg | b341f29 | 2014-06-19 20:05:24 +0000 | [diff] [blame] | 1864 | * src/*: Transform many DISABLE_NANORC to the new DISABLE_HISTORIES. |
| 1865 | This completes the fix for Savannah bug #42539. |
Benno Schulenberg | e7c690d | 2014-06-19 11:58:11 +0000 | [diff] [blame] | 1866 | |
Benno Schulenberg | c55c0db | 2014-06-18 19:46:35 +0000 | [diff] [blame] | 1867 | 2014-06-18 Benno Schulenberg <bensberg@justemail.net> |
| 1868 | * src/text.c: Rename 'to_end' to 'to_eof', to lessen confusion |
| 1869 | with CUT_TO_END (which is about cutting to end-of-line). |
Benno Schulenberg | 3cf338a | 2014-06-18 19:59:12 +0000 | [diff] [blame] | 1870 | * src/text.c: Upon better thought, elide the unneeded 'to_eof'. |
Benno Schulenberg | b39db7b | 2014-06-18 20:01:30 +0000 | [diff] [blame] | 1871 | * src/text.c: And elide a totally unused 'strdata2'. |
Benno Schulenberg | 45fe2ad | 2014-06-18 20:11:52 +0000 | [diff] [blame] | 1872 | * src/text.c: Rename the undo type UNSPLIT to JOIN, for clarity. |
Benno Schulenberg | 336d1b8 | 2014-06-18 20:43:05 +0000 | [diff] [blame] | 1873 | * src/global.c, src/rcfile.c: Rename function_type to key_type. |
Benno Schulenberg | a81e141 | 2014-06-18 21:23:50 +0000 | [diff] [blame] | 1874 | * src/text.c (break_line): Remove a condition and a break that |
| 1875 | cancel each other. |
Benno Schulenberg | c55c0db | 2014-06-18 19:46:35 +0000 | [diff] [blame] | 1876 | |
Benno Schulenberg | a872709 | 2014-06-18 19:04:35 +0000 | [diff] [blame] | 1877 | 2014-06-18 Mark Majeres <mark@engine12.com> |
| 1878 | * src/text.c (add_undo): Don't start a new undo for CUT when the |
| 1879 | cutbuffer is being preserved, because then the cuts are contiguous |
| 1880 | and will form a single undo item. And make sure the cutbuffer will |
| 1881 | be cleared when a new undo item for CUT is created. |
| 1882 | * src/cut.c (keeping_cutbuffer): New function, to access the status |
| 1883 | of 'keep_cutbuffer' from the undo/redo code in src/text.c. |
| 1884 | * src/cut.c (do_copy_text): Blow away the contents of the cutbuffer |
| 1885 | if the mark is set or the cursor has moved between two copy commands. |
| 1886 | |
Benno Schulenberg | e96022b | 2014-06-17 15:50:34 +0000 | [diff] [blame] | 1887 | 2014-06-17 Mark Majeres <mark@engine12.com> |
| 1888 | * src/text.c (do_undo, do_redo): After an undo or redo, update the |
| 1889 | 'placewewant' (the desired horizontal position of the cursor). |
| 1890 | |
Benno Schulenberg | 38cb8fc | 2014-06-17 15:37:34 +0000 | [diff] [blame] | 1891 | 2014-06-17 Benno Schulenberg <bensberg@justemail.net> |
| 1892 | * src/text.c (do_undo, do_redo): Remove obsolete boolean variable. |
Benno Schulenberg | b439f55 | 2014-06-17 20:30:59 +0000 | [diff] [blame] | 1893 | * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Replace |
| 1894 | SYSCONFDIR with an absolute path or a circumlocution, as suggested |
| 1895 | by Mike Frysinger, plus some other tweaks. |
Benno Schulenberg | 38cb8fc | 2014-06-17 15:37:34 +0000 | [diff] [blame] | 1896 | |
Benno Schulenberg | 4f3f976 | 2014-06-16 20:44:34 +0000 | [diff] [blame] | 1897 | 2014-06-16 David Lawrence Ramsey <pooka109@gmail.com> |
| 1898 | * src/nano.c (do_exit): Display the message "No file name" on the |
| 1899 | statusbar for two seconds when --tempfile was given and the current |
| 1900 | buffer has no name. This fixes Savannah bug #41750. |
| 1901 | |
Benno Schulenberg | ca9abd8 | 2014-06-16 12:06:58 +0000 | [diff] [blame] | 1902 | 2014-06-16 Benno Schulenberg <bensberg@justemail.net> |
| 1903 | * configure.ac: For the sake of statically linked systems, make sure |
| 1904 | the compiler also links against libz, which is used by libmagic. |
| 1905 | This fixes Savannah bug #38378, reported by Alan Hourihane. |
Benno Schulenberg | 99a649d | 2014-06-16 12:30:35 +0000 | [diff] [blame] | 1906 | * src/nano.c (do_mouse, do_input): Don't bother returning zero when |
| 1907 | the cursor moved, just reset the cutbuffer directly. This avoids an |
| 1908 | "Unknown Command" message on every cursor-positioning mouse click. |
Benno Schulenberg | 0ec7710 | 2014-06-16 12:40:14 +0000 | [diff] [blame] | 1909 | * src/nano.c (do_mouse): Put a common statement outside of then/else. |
Benno Schulenberg | 1f67c12 | 2014-06-16 12:45:03 +0000 | [diff] [blame] | 1910 | * src/Makefile.am: Remove -I m4; it is needed only at the top level. |
Benno Schulenberg | d21649e | 2014-06-16 12:54:06 +0000 | [diff] [blame] | 1911 | * Makefile.am: Trim the contents of EXTRA_DIST to what is required. |
Benno Schulenberg | 73a8aa0 | 2014-06-16 15:02:58 +0000 | [diff] [blame] | 1912 | * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Update |
| 1913 | the docs for the changed location of nano's search history. |
Benno Schulenberg | 7152a4b | 2014-06-16 15:24:28 +0000 | [diff] [blame] | 1914 | * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Change |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 1915 | some wordings, triggered by Savannah bug #42539. |
Benno Schulenberg | ca9abd8 | 2014-06-16 12:06:58 +0000 | [diff] [blame] | 1916 | |
Benno Schulenberg | 948b8e9 | 2014-06-14 14:08:28 +0000 | [diff] [blame] | 1917 | 2014-06-14 Mark Majeres <mark@engine12.com> |
| 1918 | * src/nano.h, src/text.c (undo_cut, update_undo): When undoing a |
| 1919 | backwards cut, put the cursor back in front of it, where it was. |
| 1920 | |
Benno Schulenberg | 454563c | 2014-06-13 12:07:18 +0000 | [diff] [blame] | 1921 | 2014-06-13 Benno Schulenberg <bensberg@justemail.net> |
| 1922 | * src/nano.c (do_input): Repositioning the cursor with the mouse |
| 1923 | (result == 0) should break a series of ^Ks. |
Benno Schulenberg | 1d06455 | 2014-06-13 12:19:44 +0000 | [diff] [blame] | 1924 | * src/nano.c (do_mouse): Clicking on the titlebar or the statusbar |
| 1925 | should not break a series of ^Ks, thus result must not be zero. |
Benno Schulenberg | 3af22aa | 2014-06-13 12:28:33 +0000 | [diff] [blame] | 1926 | * src/nano.c (do_input): A toggle should not break a series of ^Ks. |
Benno Schulenberg | cd59a64 | 2014-06-13 14:58:02 +0000 | [diff] [blame] | 1927 | * src/winio.c (get_shortcut): Do not treat holding both Control and |
| 1928 | Meta the same as holding only Control. |
Benno Schulenberg | 736fbf2 | 2014-06-13 15:20:26 +0000 | [diff] [blame] | 1929 | * src/global.c, src/rcfile.c, src/nano.h, src/nano.c, src/text.c: |
| 1930 | Remove the --undo option, having the undo functions always enabled. |
| 1931 | If wished, the user can unbind them. This fixes Savannah bug #42456. |
| 1932 | * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Update the docs. |
Benno Schulenberg | c5c0d74 | 2014-06-13 20:52:39 +0000 | [diff] [blame] | 1933 | * nano.spec.in: Remove useless info dir file from the build directory, |
| 1934 | don't clean this directory first, it's unnecessary, add a suggestion |
| 1935 | for a pico symlink, and update the license and the source URL. |
Benno Schulenberg | 454563c | 2014-06-13 12:07:18 +0000 | [diff] [blame] | 1936 | |
Benno Schulenberg | a3f421c | 2014-06-11 18:04:36 +0000 | [diff] [blame] | 1937 | 2014-06-11 Benno Schulenberg <bensberg@justemail.net> |
| 1938 | * src/winio.c (get_mouseinput): Produce the correct return value for |
| 1939 | when a mouse event reinserted something into the keyboard buffer. |
| 1940 | * src/nano.c (do_input): Do not continue when there is a spurious |
| 1941 | mouse event (a touch of the touchpad, for example) but get out. |
| 1942 | Continuing would result in the cutbuffer being cleared upon the |
| 1943 | next cut. These two changes together fix Savannah bug #42326. |
Benno Schulenberg | fc35e20 | 2014-06-11 18:23:29 +0000 | [diff] [blame] | 1944 | * src/nano.c (do_input): Always accept mouse events, also when |
| 1945 | just looking for Unjustify. This fixes Savannah bug #42322. |
Benno Schulenberg | 8cc8b08 | 2014-06-11 18:34:35 +0000 | [diff] [blame] | 1946 | * src/nano.c (do_input): Remove a superfluous switch statement. |
Benno Schulenberg | 62bb6e8 | 2014-06-11 19:24:38 +0000 | [diff] [blame] | 1947 | * src/winio.c (get_mouseinput): Set the type of a reinserted key, |
| 1948 | also when it is a function key. This fixes Savannah bug #42092. |
Benno Schulenberg | a3f421c | 2014-06-11 18:04:36 +0000 | [diff] [blame] | 1949 | |
Benno Schulenberg | a8a23ab | 2014-06-10 19:12:14 +0000 | [diff] [blame] | 1950 | 2014-06-10 Benno Schulenberg <bensberg@justemail.net> |
| 1951 | * src/browser.c, src/files.c, src/nano.c src/prompt.c, src/winio.c: |
| 1952 | A few minimalistic whitespace adjustments. |
Benno Schulenberg | 7d5f42c | 2014-06-10 19:50:44 +0000 | [diff] [blame] | 1953 | * src/rcfile.c (check_bad_binding): Avoid a compiler warning. |
Benno Schulenberg | a8a23ab | 2014-06-10 19:12:14 +0000 | [diff] [blame] | 1954 | |
Benno Schulenberg | 53435b0 | 2014-06-10 19:07:47 +0000 | [diff] [blame] | 1955 | 2014-06-10 David Lawrence Ramsey <pooka109@gmail.com> |
| 1956 | * src/winio.c: One more type fix and two tiny message tweaks. |
| 1957 | |
Benno Schulenberg | 505125e | 2014-06-09 14:23:53 +0000 | [diff] [blame] | 1958 | 2014-06-09 David Lawrence Ramsey <pooka109@gmail.com> |
| 1959 | * src/*.c: Cosmetic tweaks of comments and whitespace. |
Benno Schulenberg | ed0086b | 2014-06-09 14:33:00 +0000 | [diff] [blame] | 1960 | * src/help.c, src/rcfile.c, src/winio.c: Elide a function call by |
| 1961 | not comparing with an empty string but checking for the final \0. |
Benno Schulenberg | acda255 | 2014-06-09 15:08:59 +0000 | [diff] [blame] | 1962 | * src/files.c, src/nano.c, src/text.c, src/winio.c: Type fixes in |
| 1963 | debugging stuff -- line numbers are long, x positions unsigned long. |
Benno Schulenberg | 1102aaa | 2014-06-09 20:26:54 +0000 | [diff] [blame] | 1964 | * src/files.c, src/move.c, src/nano.c, src/text.c, src/winio.c: |
| 1965 | Make tiny nano a bit tinier by preening out some soft-wrap stuff. |
Benno Schulenberg | 6af5bde | 2014-06-09 20:41:15 +0000 | [diff] [blame] | 1966 | * src/global.c, src/nano.c, src/winio.c: A few more cosmetic tweaks |
| 1967 | (whitespace, order, braces, parentheses, and a typo) and type fixes. |
Benno Schulenberg | 505125e | 2014-06-09 14:23:53 +0000 | [diff] [blame] | 1968 | |
Benno Schulenberg | 9ac910e | 2014-06-09 10:28:23 +0000 | [diff] [blame] | 1969 | 2014-06-09 Benno Schulenberg <bensberg@justemail.net> |
| 1970 | * src/nano.c (do_input): Remove two superfluous false conditions. |
Benno Schulenberg | c35eb5a | 2014-06-09 10:35:44 +0000 | [diff] [blame] | 1971 | * src/nano.h, src/text.c (add_undo): Avoid a compiler warning with |
| 1972 | --disable-wrapping. |
Benno Schulenberg | 9ac910e | 2014-06-09 10:28:23 +0000 | [diff] [blame] | 1973 | |
Benno Schulenberg | be10c2a | 2014-06-09 10:01:54 +0000 | [diff] [blame] | 1974 | 2014-06-09 Mark Majeres <mark@engine12.com> |
| 1975 | * src/text.c (do_undo, do_redo, add_undo, update_undo, do-wrap): |
| 1976 | Rewrite the line-wrapping code to make use of the existing line-break |
| 1977 | code. And undo line wraps together with their causal text additions, |
| 1978 | and not as separate actions because the user did not make them. |
| 1979 | |
Benno Schulenberg | 64896ba | 2014-06-08 19:02:12 +0000 | [diff] [blame] | 1980 | 2014-06-08 Mark Majeres <mark@engine12.com> |
| 1981 | * src/text.c (do_delete, do_deletion, do_undo, do_redo, update_undo): |
| 1982 | Differentiate between undoing a Delete and undoing a Backspace -- the |
| 1983 | cursor should be in a slightly but significantly different position. |
| 1984 | |
Benno Schulenberg | 04a38da | 2014-06-04 19:15:16 +0000 | [diff] [blame] | 1985 | 2014-06-04 Benno Schulenberg <bensberg@justemail.net> |
| 1986 | * src/global.c (shortcut_init), src/files.c (do_insertfile): Rename |
| 1987 | 'ext_cmd_void' to 'flip_execute_void' to better match what it does. |
| 1988 | * src/global.c (strtosc), doc/man/nanorc.5, doc/texinfo/nano.texi: |
| 1989 | Add function name 'flipexecute' to enable rebinding ^X in the menus |
| 1990 | Read File and Execute Command. |
| 1991 | |
Benno Schulenberg | 1de337d | 2014-06-04 16:02:51 +0000 | [diff] [blame] | 1992 | 2014-06-04 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 95592ce | 2014-06-04 16:32:45 +0000 | [diff] [blame] | 1993 | * src/*.c: Adjustments of whitespace and comments. |
| 1994 | * doc/nanorc.sample.in: Interpunction tweaks. |
Benno Schulenberg | 1eb23d4 | 2014-06-04 16:30:11 +0000 | [diff] [blame] | 1995 | * src/global.c (add_to_funcs): Add cast to subnfunc* for nmalloc(). |
| 1996 | * src/files.c (do_lockfile): Properly make the variable 'lockfilesize' |
| 1997 | a size_t instead of a ssize_t, since it holds the result of strlen(). |
| 1998 | And use charalloc() instead of (char *)nmalloc(). |
| 1999 | * src/text.c (do_undo): Use charealloc() and not (char *)nrealloc(). |
| 2000 | * src/text.c (add_undo): Make use of null_at() to both null-terminate |
| 2001 | the multibyte character and align it to use only the amount of memory |
| 2002 | necessary. |
Benno Schulenberg | 1de337d | 2014-06-04 16:02:51 +0000 | [diff] [blame] | 2003 | |
Benno Schulenberg | 25df3ab | 2014-06-05 07:57:04 +0000 | [diff] [blame] | 2004 | GNU nano 2.3.4 - 2014.06.02 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 2005 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2006 | 2014-06-02 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 0de8d0d | 2014-06-02 14:35:21 +0000 | [diff] [blame] | 2007 | * doc/syntax/default.nanorc: Can't do trailing spaces in the |
Benno Schulenberg | 95592ce | 2014-06-04 16:32:45 +0000 | [diff] [blame] | 2008 | default syntax or it will hilight the spaces as you type them |
| 2009 | into a new file, which for non-programming is infuriating. |
Chris Allegretta | 0de8d0d | 2014-06-02 14:35:21 +0000 | [diff] [blame] | 2010 | |
Benno Schulenberg | ff36b05 | 2014-05-29 18:50:13 +0000 | [diff] [blame] | 2011 | 2014-05-29 Mark Majeres <mark@engine12.com> |
| 2012 | * src/text.c (do_delete): For the undo structure, differentiate |
| 2013 | between deleting a newline and any other character. |
| 2014 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2015 | 2014-05-29 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 95592ce | 2014-06-04 16:32:45 +0000 | [diff] [blame] | 2016 | * src/chars.c (addstrings): This function needs to be available even |
| 2017 | on non-utf-8 systems. |
| 2018 | * nano-regress: Added --disable-utf8 to regression check. |
Chris Allegretta | 82a4110 | 2014-05-29 18:30:23 +0000 | [diff] [blame] | 2019 | |
Benno Schulenberg | 25df3ab | 2014-06-05 07:57:04 +0000 | [diff] [blame] | 2020 | GNU nano 2.3.3 - 2014.05.29 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 2021 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2022 | 2014-05-28 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 4f3fe13 | 2014-05-29 04:38:16 +0000 | [diff] [blame] | 2023 | * doc/syntax/mutt.nanorc: Include Benno's awesome signature |
| 2024 | matcher, modified slightly to also work for quoted sigs. |
| 2025 | * doc/syntax/default.nanorc: Be far more gentle with something |
| 2026 | which affects every file which doesn't match another syntax, and |
| 2027 | the user may not be able to override if their distro turns on |
| 2028 | highlighting by default. |
| 2029 | |
Benno Schulenberg | d0e234d | 2014-05-28 13:24:05 +0000 | [diff] [blame] | 2030 | 2014-05-28 Benno Schulenberg <bensberg@justemail.net> |
| 2031 | * src/nano.c (do_input): Remove the three unused parameters 's_or_t', |
| 2032 | 'ran_func', and 'finished'. They are only ever set and never used. |
| 2033 | * src/text.c (do_justify): Adjust a call of do_input(). |
Benno Schulenberg | ec17322 | 2014-05-28 13:27:33 +0000 | [diff] [blame] | 2034 | * src/browser (do_browser): Actually translate the go-to-dir prompt. |
Benno Schulenberg | a2d74f7 | 2014-05-28 14:34:11 +0000 | [diff] [blame] | 2035 | * src/browser, src/search.c: There is no need to repeat translator |
| 2036 | comments for the same string -- once is enough to get them included. |
| 2037 | Add instead some translator comments for the prompts. |
Benno Schulenberg | ff6b92c | 2014-05-28 15:35:00 +0000 | [diff] [blame] | 2038 | * src/global.c (shortcut_init): Make ^X in the Read-File menu toggle |
| 2039 | between executing a command and inserting a file. The mechanism in |
| 2040 | do_insertfile() in files.c is already present -- in the past just |
| 2041 | the wrong function was used in the relevant function-list item: |
| 2042 | 'do_insertfile_void' instead of the unintuitive 'ext_cmd_void'. |
Benno Schulenberg | 9b084b2 | 2014-05-28 15:40:24 +0000 | [diff] [blame] | 2043 | * src/browser (filesearch_init): Remove an unneeded format specifier. |
Benno Schulenberg | 62de330 | 2014-05-28 15:44:11 +0000 | [diff] [blame] | 2044 | * src/nano.c (usage): Add a translator comment for the --help output. |
Benno Schulenberg | 4822359 | 2014-05-28 19:02:00 +0000 | [diff] [blame] | 2045 | * src/global.c (shortcut_init): Elide four unneeded tags. |
Benno Schulenberg | 8c5f504 | 2014-05-28 20:31:06 +0000 | [diff] [blame] | 2046 | * src/global.c (shortcut_init): Make tiny nano just a bit tinier. |
Benno Schulenberg | f470c90 | 2014-05-28 21:02:39 +0000 | [diff] [blame] | 2047 | * src/global.c (shortcut_init): Standardize the add_to_funcs() calls, |
| 2048 | breaking always between the menus and the tag. |
Benno Schulenberg | d0e234d | 2014-05-28 13:24:05 +0000 | [diff] [blame] | 2049 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2050 | 2014-05-27 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | cfa2976 | 2014-05-28 01:35:51 +0000 | [diff] [blame] | 2051 | * src/winio.c (edit_refresh): wredrawln() is not supported under |
| 2052 | slang. |
| 2053 | |
Benno Schulenberg | 0d5e732 | 2014-05-27 12:17:49 +0000 | [diff] [blame] | 2054 | 2014-05-27 Benno Schulenberg <bensberg@justemail.net> |
| 2055 | * src/global.c (shortcut_init): Improve the arrangement of help items |
| 2056 | under certain compilation conditions. |
Benno Schulenberg | 769e81c | 2014-05-27 12:34:43 +0000 | [diff] [blame] | 2057 | * src/global.c (strtosc): Make tiny nano a bit tinier. |
Benno Schulenberg | 5a39339 | 2014-05-27 12:38:32 +0000 | [diff] [blame] | 2058 | * src/global.c (strtosc): Allow rebinding 'suspend' in tiny nano. |
Benno Schulenberg | 0606c62 | 2014-05-27 22:03:04 +0000 | [diff] [blame] | 2059 | * src/winio.c (set_modified): Adjust translator comment to make it |
| 2060 | show up in the POT file, and make it take the "[ ]" into account. |
Benno Schulenberg | 0d5e732 | 2014-05-27 12:17:49 +0000 | [diff] [blame] | 2061 | |
Benno Schulenberg | c3c2c66 | 2014-05-26 07:53:20 +0000 | [diff] [blame] | 2062 | 2014-05-26 Benno Schulenberg <bensberg@justemail.net> |
| 2063 | * src/cut.c (cut_line): Fix compilation with --enable-tiny. |
| 2064 | * src/text.c (do_linter): Avoid a warning with --enable-tiny. |
Benno Schulenberg | 022d32a | 2014-05-26 10:07:00 +0000 | [diff] [blame] | 2065 | * src/global.c (shortcut_init): Unwrap some lines, and reorder two. |
Benno Schulenberg | c3c2c66 | 2014-05-26 07:53:20 +0000 | [diff] [blame] | 2066 | |
Benno Schulenberg | 353dd21 | 2014-05-25 19:47:46 +0000 | [diff] [blame] | 2067 | 2014-05-25 Benno Schulenberg <bensberg@justemail.net> |
| 2068 | * src/global.c: Cut down on the size of tiny nano, by not compiling |
| 2069 | the function strtosc() when --disable-nanorc is given or implied. |
| 2070 | |
Benno Schulenberg | f5ac8c1 | 2014-05-25 19:41:49 +0000 | [diff] [blame] | 2071 | 2014-05-25 Mark Majeres <mark@engine12.com> |
| 2072 | * src/chars.c (addstrings): New function, concatenates two allocated |
| 2073 | strings, tacking the second onto the first and freeing the second. |
| 2074 | * src/cut.c (do_uncut_text): Update the undo structure for a paste. |
| 2075 | * src/text.c (undo_cut, redo_cut, add_undo, update_undo): Place the |
| 2076 | cursor after an undo there where it was before the do, and handle |
| 2077 | multibyte characters correctly. |
| 2078 | |
Benno Schulenberg | 0ae38b4 | 2014-05-23 20:24:31 +0000 | [diff] [blame] | 2079 | 2014-05-23 Benno Schulenberg <bensberg@justemail.net> |
| 2080 | * src/winio.c (edit_draw): Finally, the proper fix for bug #31743; |
| 2081 | telling ncurses to really redraw the line, without optimization, so |
| 2082 | it will not mistakenly assume that a wide character at the start of |
| 2083 | a line takes up just one column. This deletes the workaround that |
| 2084 | had the side effect of creating pastes full of trailing whitespace. |
| 2085 | |
Benno Schulenberg | eb5c49d | 2014-05-19 20:44:24 +0000 | [diff] [blame] | 2086 | 2014-05-19 Mark Majeres <mark@engine12.com> |
| 2087 | * src/winio.c (edit_draw): Paint the current line *after* tickling the |
| 2088 | terminal, so that the character in the final column will be displayed |
| 2089 | properly. Bug was introduced five days ago. |
| 2090 | |
Benno Schulenberg | 277701f | 2014-05-18 10:16:07 +0000 | [diff] [blame] | 2091 | 2014-05-18 Benno Schulenberg <bensberg@justemail.net> |
| 2092 | * src/nano (precalc_multicolorinfo): Do not match the ^ anchor when |
| 2093 | looking further on in a line. This prevents an end="^$" from being |
| 2094 | sometimes mistakenly matched. Fix inspired by Savannah bug #27708. |
Benno Schulenberg | 8491c22 | 2014-05-18 10:34:18 +0000 | [diff] [blame] | 2095 | * doc/syntax/default.nanorc: New file, example for a default syntax. |
Benno Schulenberg | 277701f | 2014-05-18 10:16:07 +0000 | [diff] [blame] | 2096 | |
Benno Schulenberg | c7b0e54 | 2014-05-17 11:44:35 +0000 | [diff] [blame] | 2097 | 2014-05-17 Benno Schulenberg <bensberg@justemail.net> |
| 2098 | * doc/syntax/json.nanorc: New file, originally from Aapo Rantalainen, |
| 2099 | but edited, extended, and improved. See Savannah patch #7410. |
Benno Schulenberg | 3be5f46 | 2014-05-17 20:25:42 +0000 | [diff] [blame] | 2100 | * src/winio.c (edit_draw): Do not skip the colour-off commands at the |
| 2101 | end of the loop. Based on Savannah patch #7550 by Ryan Lothian. |
| 2102 | This fixes bug #26111 reported by Dave Geering <dreamlax@Savannah>. |
Benno Schulenberg | c7b0e54 | 2014-05-17 11:44:35 +0000 | [diff] [blame] | 2103 | |
Benno Schulenberg | 52e3533 | 2014-05-16 11:03:04 +0000 | [diff] [blame] | 2104 | 2014-05-16 Benno Schulenberg <bensberg@justemail.net> |
| 2105 | * src/text.c, src/winio.c: Remove some more double spaces. |
Benno Schulenberg | 3edcfd2 | 2014-05-16 11:08:52 +0000 | [diff] [blame] | 2106 | * doc/syntax/patch.nanorc: Show trailing whitespace on added lines. |
Benno Schulenberg | 1028d65 | 2014-05-16 20:13:02 +0000 | [diff] [blame] | 2107 | * doc/syntax/debian.nanorc: Make the component colouring simpler, |
| 2108 | and the URI colouring completer, and improve the comments. |
Benno Schulenberg | fe9da94 | 2014-05-16 20:21:34 +0000 | [diff] [blame] | 2109 | * doc/syntax/*.nanorc: Harmonize (partially) the syntax files. |
Benno Schulenberg | 52e3533 | 2014-05-16 11:03:04 +0000 | [diff] [blame] | 2110 | |
Benno Schulenberg | 275bd28 | 2014-05-16 10:34:05 +0000 | [diff] [blame] | 2111 | 2014-05-16 David Lawrence Ramsey <pooka109@gmail.com> |
| 2112 | * src/color.c, src/cut.c, src/text.c: Tweak some whitespace. |
| 2113 | * src/global.c, src/move.c: Use TRUE and FALSE instead of 1 and 0. |
| 2114 | * src/winio.c (edit_draw): Mention the name of the tickling character. |
Benno Schulenberg | 5298d51 | 2014-05-16 10:50:01 +0000 | [diff] [blame] | 2115 | * src/search.c (goto_line_posx): Remove unneeded call of edit_refresh. |
| 2116 | * src/text.c (do_undo, do_redo): Use size_t for line lengths. |
Benno Schulenberg | 275bd28 | 2014-05-16 10:34:05 +0000 | [diff] [blame] | 2117 | |
Benno Schulenberg | 6081546 | 2014-05-15 20:00:46 +0000 | [diff] [blame] | 2118 | 2014-05-15 Mark Majeres <mark@engine12.com> |
| 2119 | * src/*, but mainly src/text.c (undo_cut, redo_cut, do_undo, do_redo): |
| 2120 | Go to the correct positions for undoing/redoing the cuts and pastes. |
| 2121 | This fixes several undo problems and Savannah bug #25585. |
| 2122 | |
Benno Schulenberg | 275b617 | 2014-05-15 12:52:30 +0000 | [diff] [blame] | 2123 | 2014-05-15 Benno Schulenberg <bensberg@justemail.net> |
| 2124 | * doc/syntax/c.nanorc: Improve the magic regex, plus tweaks. |
Benno Schulenberg | 4774ca6 | 2014-05-15 13:18:48 +0000 | [diff] [blame] | 2125 | * src/color.c (color_update): Adjust a comment, and be clearer. |
Benno Schulenberg | eb91ad5 | 2014-05-15 13:11:55 +0000 | [diff] [blame] | 2126 | * src/nano.h: Improve two comments, and elide one macro. |
Benno Schulenberg | 4774ca6 | 2014-05-15 13:18:48 +0000 | [diff] [blame] | 2127 | * doc/syntax/Makefile.am: Add texinfo.nanorc to the packing list. |
Benno Schulenberg | 275b617 | 2014-05-15 12:52:30 +0000 | [diff] [blame] | 2128 | |
Benno Schulenberg | dfc9a7e | 2014-05-14 08:42:14 +0000 | [diff] [blame] | 2129 | 2014-05-14 Benno Schulenberg <bensberg@justemail.net> |
| 2130 | * src/winio.c (edit_draw): Poke a non-breaking space into the last |
| 2131 | column of every line, to startle the terminal into handling wide, |
| 2132 | two-column characters properly. This fixes Savannah bug #31743. |
Benno Schulenberg | ef2cbb7 | 2014-05-14 09:17:25 +0000 | [diff] [blame] | 2133 | * src/nano.c (precalc_multicolorinfo): Improve debugging messages, |
| 2134 | and remove superfluous assignment (fileptr already equals endptr). |
Benno Schulenberg | f937526 | 2014-05-14 10:09:42 +0000 | [diff] [blame] | 2135 | * src/color.c (color_update): Move magic check to after headerline. |
Benno Schulenberg | f304622 | 2014-05-14 10:29:55 +0000 | [diff] [blame] | 2136 | * src/color.c (color_update): Open the magic database only when |
| 2137 | actually going to use it, and close it afterward. |
Benno Schulenberg | 5edd041 | 2014-05-14 11:16:40 +0000 | [diff] [blame] | 2138 | * doc/syntax/{perl.nanorc,xml.nanorc}: Improve two magic regexes. |
Benno Schulenberg | e81a43f | 2014-05-14 11:51:26 +0000 | [diff] [blame] | 2139 | * src/color.c (color_update): Stop seeking when a magic matched. |
Benno Schulenberg | 230bd0d | 2014-05-14 12:52:15 +0000 | [diff] [blame] | 2140 | * doc/nanorc.sample.in: Add an example of colouring nano's interface |
| 2141 | elements, and tweak some of the other descriptions. |
Benno Schulenberg | dfc9a7e | 2014-05-14 08:42:14 +0000 | [diff] [blame] | 2142 | |
Benno Schulenberg | 127ce15 | 2014-05-13 08:12:52 +0000 | [diff] [blame] | 2143 | 2014-05-13 Benno Schulenberg <bensberg@justemail.net> |
| 2144 | * src/text.c (do_linter): Make an error message somewhat clearer. |
Benno Schulenberg | 111071a | 2014-05-13 08:34:29 +0000 | [diff] [blame] | 2145 | * src/rcfile.c (parse_binding): Improve another error message. |
Benno Schulenberg | 2088bfd | 2014-05-13 17:58:39 +0000 | [diff] [blame] | 2146 | * doc/syntax/nanorc.nanorc: Show key names like M-6 and M-/ as valid. |
Benno Schulenberg | 24bc59f | 2014-05-13 18:06:09 +0000 | [diff] [blame] | 2147 | * src/global.c (thanks_for_all_the_fish): Upon exit also free the |
| 2148 | lists with functions and shortcuts. |
Benno Schulenberg | 71c9a52 | 2014-05-13 20:14:01 +0000 | [diff] [blame] | 2149 | * src/*.c: Several random whitespace and comment tweaks. |
Benno Schulenberg | 7454103 | 2014-05-13 20:20:51 +0000 | [diff] [blame] | 2150 | * src/global.c (replace_scs_for): Condense the function a bit. |
Benno Schulenberg | 3218771 | 2014-05-13 20:34:15 +0000 | [diff] [blame] | 2151 | * src/help.c (help_init): No need to keep looping when two are found. |
Benno Schulenberg | d1238c0 | 2014-05-13 20:51:19 +0000 | [diff] [blame] | 2152 | * src/global.c: Improve compilation with --disable-browser. |
Benno Schulenberg | 044e4d2 | 2014-05-13 21:11:59 +0000 | [diff] [blame] | 2153 | * src/nano.h, src/*.c: A few more comment tweaks. |
Benno Schulenberg | 127ce15 | 2014-05-13 08:12:52 +0000 | [diff] [blame] | 2154 | |
Benno Schulenberg | 85c2c2a | 2014-05-12 11:50:58 +0000 | [diff] [blame] | 2155 | 2014-05-12 Benno Schulenberg <bensberg@justemail.net> |
| 2156 | * src/text.c (do_spell): Provide startup feedback, as for the linter. |
Benno Schulenberg | 1d19e01 | 2014-05-12 11:54:27 +0000 | [diff] [blame] | 2157 | * doc/syntax/nanorc.nanorc: Show bright foreground colours as valid. |
Benno Schulenberg | 07f14de | 2014-05-12 12:11:24 +0000 | [diff] [blame] | 2158 | * src/rcfile.c: Improve some comments, and remove some others that |
| 2159 | are mispasted or superfluous. |
Benno Schulenberg | d2892ad | 2014-05-12 12:16:43 +0000 | [diff] [blame] | 2160 | * doc/texinfo/nano.texi: Add missing parenthesis, remove blank line. |
Benno Schulenberg | 8e01293 | 2014-05-12 12:57:00 +0000 | [diff] [blame] | 2161 | * src/rcfile.c (parse_magictype, parse_headers): Handle the libmagic |
| 2162 | and headerline regexes in the same manner, eliding a static variable |
| 2163 | while renaming some others. |
Benno Schulenberg | cf4f80d | 2014-05-12 13:52:50 +0000 | [diff] [blame] | 2164 | * src/*.h, src/rcfile.c (parse_magictype, parse_headers): Rename them |
| 2165 | to parse_magic_exp() and parse_header_exp() to be more fitting, further |
| 2166 | symmetrify them, and improve some comments. |
Benno Schulenberg | 1d5134d | 2014-05-12 14:31:54 +0000 | [diff] [blame] | 2167 | * src/nano.h, src/color.c, src/global.c, src/rcfile.c: Rename struct |
| 2168 | type 'exttype' to 'regexlisttype', to better match its functions, and |
| 2169 | upon exit also free the regexes for libmagic results and headerlines. |
Benno Schulenberg | d17b480 | 2014-05-12 16:01:57 +0000 | [diff] [blame] | 2170 | * doc/syntax/python.nanorc: Improve the multiline regexes, make the |
| 2171 | one with single quotes work again, and add some comments. |
Benno Schulenberg | 4e62842 | 2014-05-12 18:10:08 +0000 | [diff] [blame] | 2172 | * doc/syntax/{man,python,fortran}.nanorc: Add regexes for comments, |
| 2173 | trailing whitespace and reminders, and trim some trailing spaces. |
Benno Schulenberg | d2f3f21 | 2014-05-12 19:57:12 +0000 | [diff] [blame] | 2174 | * src/rcfile.c: Move parse_magic_exp() next to its sister. |
Benno Schulenberg | 6a007a9 | 2014-05-12 20:22:57 +0000 | [diff] [blame] | 2175 | * src/color.c (color_update): Rename a variable, and elide another. |
Benno Schulenberg | 85c2c2a | 2014-05-12 11:50:58 +0000 | [diff] [blame] | 2176 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2177 | 2014-05-10 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 61523be | 2014-05-11 03:09:00 +0000 | [diff] [blame] | 2178 | * src/rcfile.c (parse_color_names): Redefine false and true to |
| 2179 | their appropriate macro names so --with-slang works (slangv2 anyway). |
| 2180 | * src/text.c (do_linter): Care about whether user cancelled the file |
Benno Schulenberg | 4e5af83 | 2014-05-14 12:13:51 +0000 | [diff] [blame] | 2181 | save (cancel the operation) versus just said no (continue but don't |
Chris Allegretta | 61523be | 2014-05-11 03:09:00 +0000 | [diff] [blame] | 2182 | save the file). Also doupdate() after statusbar message that |
| 2183 | linter is being invoked and blank the shortcuts to draw the eye. |
| 2184 | Also allow user to cancel at the "open in a new buffer" prompt. |
Benno Schulenberg | 4e5af83 | 2014-05-14 12:13:51 +0000 | [diff] [blame] | 2185 | New function lint_cleanup(). Fixes Savannah bug #42203. |
Chris Allegretta | 61523be | 2014-05-11 03:09:00 +0000 | [diff] [blame] | 2186 | |
Benno Schulenberg | a225841 | 2014-05-10 20:28:48 +0000 | [diff] [blame] | 2187 | 2014-05-10 Benno Schulenberg <bensberg@justemail.net> |
| 2188 | * doc/texinfo/nano.texi: Make syntax highlighting into a separate |
| 2189 | section, and add the still missing section on rebinding keys. |
| 2190 | |
Benno Schulenberg | e7d6e55 | 2014-05-10 19:15:04 +0000 | [diff] [blame] | 2191 | 2014-05-10 Mark Majeres <mark@engine12.com> |
| 2192 | * src/*.h, src/*.c: Make it possible for the foreground colour of |
| 2193 | interface elements to be bright. |
| 2194 | |
Benno Schulenberg | 59cd3e6 | 2014-05-09 11:44:17 +0000 | [diff] [blame] | 2195 | 2014-05-09 Benno Schulenberg <bensberg@justemail.net> |
| 2196 | * src/winio.c (get_mouseinput): Count only shortcuts that are actually |
| 2197 | shown, so that clicking on the ones after ^T (Speller/Linter) will work |
| 2198 | again correctly. This fixes the second part of Savannah bug #42093. |
Benno Schulenberg | d16f9af | 2014-05-09 12:20:20 +0000 | [diff] [blame] | 2199 | * src/global.c (shortcut_init, strtosc): Do not define nor accept |
| 2200 | shortcuts for functions that are disabled. |
Benno Schulenberg | 387b209 | 2014-05-09 15:14:29 +0000 | [diff] [blame] | 2201 | * src/global.c (shortcut_init, strtosc): Define shortcut for the linter |
| 2202 | when speller is disabled, and fix compilation with --disable-speller. |
Benno Schulenberg | a6804b5 | 2014-05-09 20:33:49 +0000 | [diff] [blame] | 2203 | * src/global.c (shortcut_init, strtosc), doc/man/nanorc.5: Put softwrap |
| 2204 | back among the "Appearance" toggles. |
Benno Schulenberg | 77afd32 | 2014-05-09 21:02:14 +0000 | [diff] [blame] | 2205 | * doc/man/nanorc.5: Describe bindable functions in the third person. |
Benno Schulenberg | 59cd3e6 | 2014-05-09 11:44:17 +0000 | [diff] [blame] | 2206 | |
Benno Schulenberg | 763f314 | 2014-05-06 09:58:23 +0000 | [diff] [blame] | 2207 | 2014-05-06 Benno Schulenberg <bensberg@justemail.net> |
| 2208 | * doc/texinfo/nano.texi: Let makeinfo figure out the node pointers. |
Benno Schulenberg | 22a0442 | 2014-05-06 10:03:02 +0000 | [diff] [blame] | 2209 | * doc/syntax/texinfo.nanorc: New file, colouring for Texinfo files. |
Benno Schulenberg | aa9b1ee | 2014-05-06 13:27:41 +0000 | [diff] [blame] | 2210 | * doc/texinfo/nano.texi: Add sections on the Cutbuffer and the Mark, |
| 2211 | remove option '-?', and make some other tweaks. |
Benno Schulenberg | c1c67d8 | 2014-05-06 20:43:00 +0000 | [diff] [blame] | 2212 | * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Synchronize the |
| 2213 | documentation, and tweak some wording here and there. |
Benno Schulenberg | a152311 | 2014-05-06 20:45:56 +0000 | [diff] [blame] | 2214 | * doc/syntax/texinfo.nanorc: Stop the brace content from spilling. |
Benno Schulenberg | 763f314 | 2014-05-06 09:58:23 +0000 | [diff] [blame] | 2215 | |
Benno Schulenberg | dcb0557 | 2014-05-05 19:32:42 +0000 | [diff] [blame] | 2216 | 2014-05-05 Benno Schulenberg <bensberg@justemail.net> |
| 2217 | * doc/man/nanorc.5: Give syntax highlighting its own section, |
| 2218 | add the "header" command, tweak some wording and formatting, |
| 2219 | and trim some duplicate introductory information. |
Benno Schulenberg | f8507bb | 2014-05-05 19:54:34 +0000 | [diff] [blame] | 2220 | * src/global.c (strtosc), doc/man/nanorc.5: Allow the function |
| 2221 | do_cut_till_end (naming it "cutrestoffile") to be rebound. |
Benno Schulenberg | c1005fa | 2014-05-05 20:18:35 +0000 | [diff] [blame] | 2222 | * doc/syntax/nanorc.nanorc: Add the four new *color options. |
Benno Schulenberg | 38cb8ac | 2014-05-05 20:48:31 +0000 | [diff] [blame] | 2223 | * doc/syntax/nanorc.nanorc: Differentiate between options that |
| 2224 | take an argument and those that don't. |
Benno Schulenberg | dcb0557 | 2014-05-05 19:32:42 +0000 | [diff] [blame] | 2225 | |
Benno Schulenberg | 0c3ced0 | 2014-05-04 08:25:09 +0000 | [diff] [blame] | 2226 | 2014-05-04 Benno Schulenberg <bensberg@justemail.net> |
| 2227 | * src/winio.c (statusbar): Elide a variable. |
Benno Schulenberg | c970035 | 2014-05-04 08:53:06 +0000 | [diff] [blame] | 2228 | * src/*: Rename the variable 'reverse_attr' to 'hilite_attribute', |
| 2229 | and remove an unneeded call of wattroff(). |
Benno Schulenberg | 693e2aa | 2014-05-04 10:24:34 +0000 | [diff] [blame] | 2230 | * doc/man/nanorc.5, doc/texinfo/nano.tex: Document the settings |
| 2231 | of titlecolor, statuscolor, keycolor and functioncolor. |
Benno Schulenberg | 8056390 | 2014-05-04 11:51:10 +0000 | [diff] [blame] | 2232 | * doc/man/nanorc.5, doc/texinfo/nano.tex: Show quotes where quotes |
| 2233 | are needed, remove some unneeded spaces, and do other tweaks. |
Benno Schulenberg | 0846583 | 2014-05-04 12:20:51 +0000 | [diff] [blame] | 2234 | * src/global.c (strtosc), doc/man/nanorc.5: Allow the Backwards |
| 2235 | toggle to be rebound, document it, and document Backspace too. |
Benno Schulenberg | 0c3ced0 | 2014-05-04 08:25:09 +0000 | [diff] [blame] | 2236 | |
Benno Schulenberg | 1663994 | 2014-05-03 18:24:45 +0000 | [diff] [blame] | 2237 | 2014-05-03 Benno Schulenberg <bensberg@justemail.net> |
| 2238 | * src/*.h, src/*.c: Add the ability to colour four elements of |
| 2239 | nano's interface differently: title bar, status bar, key combo, |
Benno Schulenberg | 794956f | 2014-05-03 20:38:09 +0000 | [diff] [blame] | 2240 | and function tag. Idea and original patch #8421 by Mark Majeres. |
Benno Schulenberg | 436cd34 | 2014-05-03 18:44:18 +0000 | [diff] [blame] | 2241 | * src/global.c (shortcut_init): Unfold long lines consistently. |
Benno Schulenberg | 523598a | 2014-05-03 19:19:31 +0000 | [diff] [blame] | 2242 | * src/global.c (shortcut_init): Order the shortcuts in roughly |
| 2243 | the same manner as in the help lines, and group them per menu. |
Benno Schulenberg | 672821c | 2014-05-03 20:09:47 +0000 | [diff] [blame] | 2244 | * src/global.c (shortcut_init): Remove the search-mode toggles |
| 2245 | from the inappropriate WHEREISFILE and REPLACEWITH menus. |
Benno Schulenberg | be3e302 | 2014-05-03 20:27:25 +0000 | [diff] [blame] | 2246 | * src/global.c (shortcut_init): Paragraph jumping only makes |
| 2247 | sense in the main editing menu; remove it from all others. |
Benno Schulenberg | 1663994 | 2014-05-03 18:24:45 +0000 | [diff] [blame] | 2248 | |
Benno Schulenberg | 7a9f4a4 | 2014-04-30 20:18:26 +0000 | [diff] [blame] | 2249 | 2014-04-30 Benno Schulenberg <bensberg@justemail.net> |
| 2250 | * src/*, doc/*: Update the years in the copyright notices -- there |
| 2251 | were releases in 2010, 2011, and 2013, and there will be in 2014. |
| 2252 | |
Benno Schulenberg | 4301918 | 2014-04-27 12:13:26 +0000 | [diff] [blame] | 2253 | 2014-04-27 Benno Schulenberg <bensberg@justemail.net> |
| 2254 | * src/nano.c (usage, main): Don't blurt out the full help text |
| 2255 | but just a hint when the command line contains some mistake, to |
| 2256 | avoid drowning out the error message. |
Benno Schulenberg | c269d31 | 2014-04-27 12:19:59 +0000 | [diff] [blame] | 2257 | * src/nano.c (usage): Mention only those options that actually do |
| 2258 | something. For the no-op compat flags the man page is the place. |
Benno Schulenberg | 61758e9 | 2014-04-27 14:21:57 +0000 | [diff] [blame] | 2259 | * src/global.c (shortcut_init): In the help lines of Search/Replace |
| 2260 | show the important toggles early on, and group them better. |
Benno Schulenberg | 4da2434 | 2014-04-27 15:20:57 +0000 | [diff] [blame] | 2261 | * src/global.c (shortcut_init): Improve order and grouping in the |
| 2262 | main help text and help lines. |
Benno Schulenberg | 5f655da | 2014-04-27 15:26:25 +0000 | [diff] [blame] | 2263 | * src/global.c (strtosc): Fix compilation with --enable-tiny. |
Benno Schulenberg | 6371612 | 2014-04-27 19:51:03 +0000 | [diff] [blame] | 2264 | * src/global.c (shortcut_init): Improve the order of the help items |
| 2265 | still further, and make them also group nicely in the tiny version. |
Benno Schulenberg | 4301918 | 2014-04-27 12:13:26 +0000 | [diff] [blame] | 2266 | |
Benno Schulenberg | 20011f4 | 2014-04-27 11:29:50 +0000 | [diff] [blame] | 2267 | 2014-04-27 Mark Majeres <mark@engine12.com> |
| 2268 | * src/rcfile.c (parse_include): Plug two tiny memory leaks. |
| 2269 | |
Benno Schulenberg | 20b1e92 | 2014-04-26 18:41:43 +0000 | [diff] [blame] | 2270 | 2014-04-26 Benno Schulenberg <bensberg@justemail.net> |
| 2271 | * src/global.c (add_to_funcs): Add a pointer to the tail of the |
| 2272 | functions list, to simplify and speed up adding new items. And |
| 2273 | make use of it to remember the location of the Uncut item. |
Benno Schulenberg | 11d7644 | 2014-04-26 19:01:18 +0000 | [diff] [blame] | 2274 | * src/global.c, src/files.c (make_new_buffer, close_buffer): Make |
| 2275 | help lines show "Close" again when more than one buffer is open. |
Benno Schulenberg | 301c4ef | 2014-04-26 19:33:11 +0000 | [diff] [blame] | 2276 | * src/global.c (strtosc), doc/man/nanorc.5: Allow the do_spell |
| 2277 | (and thus do_lint) function to be bound to other key combos. |
Benno Schulenberg | 618051c | 2014-04-26 20:16:17 +0000 | [diff] [blame] | 2278 | * src/global.c (strtosc), doc/man/nanorc.5: Group related functions |
| 2279 | together, remove duplicate up/down, add missing prevpage/nextpage. |
Benno Schulenberg | 20b1e92 | 2014-04-26 18:41:43 +0000 | [diff] [blame] | 2280 | |
Benno Schulenberg | 67e1387 | 2014-04-24 20:22:32 +0000 | [diff] [blame] | 2281 | 2014-04-24 Benno Schulenberg <bensberg@justemail.net> |
| 2282 | * doc/faq.html: Update a few URLs, delete some obsolete ones, update |
Benno Schulenberg | 4e5af83 | 2014-05-14 12:13:51 +0000 | [diff] [blame] | 2283 | the section on configuration flags and on translating nano, plus a |
| 2284 | whole series of other small fixes and adjustments. |
Benno Schulenberg | 67e1387 | 2014-04-24 20:22:32 +0000 | [diff] [blame] | 2285 | |
Benno Schulenberg | 25e5896 | 2014-04-23 19:33:03 +0000 | [diff] [blame] | 2286 | 2014-04-23 Benno Schulenberg <bensberg@justemail.net> |
| 2287 | * src/winio.c, src/help.c, src/text.c, src/browser.c: Remove |
Benno Schulenberg | 00db994 | 2014-04-23 20:42:55 +0000 | [diff] [blame] | 2288 | several unneeded double semicolons, and two relic comments. |
Benno Schulenberg | b991403 | 2014-04-23 19:44:21 +0000 | [diff] [blame] | 2289 | * src/help.c (parse_help_input), src/browser.c (parse_browser_input): |
| 2290 | Make the Minus and Space keys work in the help viewer and file browser |
| 2291 | also when the PrevPage and NextPage functions are bound to meta-key |
| 2292 | sequences -- searching for these will not find them. So, instead put |
| 2293 | in the standard key code. This fixes Savannah bug #42140. |
Benno Schulenberg | 86b8686 | 2014-04-23 20:03:24 +0000 | [diff] [blame] | 2294 | * src/global.c (first_sc_for): Stop the whole charade of preferring |
| 2295 | control keys over meta keys over function keys, but return the first |
| 2296 | one in the list -- just like the function name implies. This will |
| 2297 | make a user-defined shortcut appear in the two bottomlines without |
| 2298 | having to unbind the existing one first -- better feedback. |
Benno Schulenberg | 794956f | 2014-05-03 20:38:09 +0000 | [diff] [blame] | 2299 | * src/global.c (shortcut_init, flagtostr, strtosc): Put the two |
Benno Schulenberg | 00db994 | 2014-04-23 20:42:55 +0000 | [diff] [blame] | 2300 | wrapping toggles together and increase their contrast a bit. |
| 2301 | * src/nano.c (usage), doc/man/nano{.1,rc.5}, doc/texinfo/nano.texi: |
| 2302 | Increase the contrast between hard-wrapping and soft-wrapping. |
Benno Schulenberg | 25e5896 | 2014-04-23 19:33:03 +0000 | [diff] [blame] | 2303 | |
Benno Schulenberg | 12da94c | 2014-04-22 10:02:55 +0000 | [diff] [blame] | 2304 | 2014-04-22 Benno Schulenberg <bensberg@justemail.net> |
| 2305 | * src/global.c (shortcut_init): Put the movement keys in the |
| 2306 | help viewer in the order of increasing stride. |
Benno Schulenberg | 9fc713b | 2014-04-22 10:18:48 +0000 | [diff] [blame] | 2307 | * src/global.c (shortcut_init): Rename many constants from |
| 2308 | '*_msg' to '*_tag' to reduce confusion with 'nano_*_msg'. |
Benno Schulenberg | 9aebd27 | 2014-04-22 10:44:24 +0000 | [diff] [blame] | 2309 | * src/global.c (shortcut_init): Elide several pointless constants. |
Benno Schulenberg | c8b60ce | 2014-04-22 11:57:11 +0000 | [diff] [blame] | 2310 | * src/global.c (shortcut_init): Elide more unneeded constants, and |
| 2311 | update some translator comments and shorten a few tags. |
Benno Schulenberg | c40cf0a | 2014-04-22 12:10:30 +0000 | [diff] [blame] | 2312 | * src/global.c (shortcut_init): Delete unneeded empty funcs; being |
| 2313 | in the list of shortcuts is enough. |
Benno Schulenberg | 47be8c2 | 2014-04-22 19:07:32 +0000 | [diff] [blame] | 2314 | * src/global.c (shortcut_init): Put left/right in normal order. |
Benno Schulenberg | 9c0f9de | 2014-04-22 19:10:26 +0000 | [diff] [blame] | 2315 | * src/global.c (shortcut_init): List function key after meta key. |
Benno Schulenberg | cb7d11b | 2014-04-22 20:10:43 +0000 | [diff] [blame] | 2316 | * src/help.c (help_init): Show just two shortcuts per function -- |
| 2317 | only three functions showed three, but who has an F13, F14, F15? |
Benno Schulenberg | 25e5896 | 2014-04-23 19:33:03 +0000 | [diff] [blame] | 2318 | This also fixes Savannah bug #41889: misalignment of help text. |
Benno Schulenberg | 051c9ba | 2014-04-22 20:26:58 +0000 | [diff] [blame] | 2319 | * src/help.c (help_init): Split the toggles into three groups, |
| 2320 | and do not show toggle keys that have been rebound. |
Benno Schulenberg | 12da94c | 2014-04-22 10:02:55 +0000 | [diff] [blame] | 2321 | |
Benno Schulenberg | 374f4e2 | 2014-04-21 10:30:35 +0000 | [diff] [blame] | 2322 | 2014-04-21 Benno Schulenberg <bensberg@justemail.net> |
| 2323 | * doc/syntax/nanorc.nanorc: There is no F0 key. |
Benno Schulenberg | e0149c1 | 2014-04-21 11:09:30 +0000 | [diff] [blame] | 2324 | * src/global.c (first_sc_for): Adjust two comments -- the help |
| 2325 | viewer no longer sorts keys to be control first, meta second. |
Benno Schulenberg | bb8c903 | 2014-04-21 11:15:48 +0000 | [diff] [blame] | 2326 | * src/global.c (first_sc_for): Put meta first, for clarity. |
Benno Schulenberg | 57d773f | 2014-04-21 11:22:54 +0000 | [diff] [blame] | 2327 | * src/global.c (strtokeytype): No need to check for lowercase |
| 2328 | 'm' or 'f', the source doesn't use them and rc-file processing |
| 2329 | uppercases them. Also put control first, for clarity. |
Benno Schulenberg | 3064db2 | 2014-04-21 12:06:20 +0000 | [diff] [blame] | 2330 | * src/global.c (strtosc, strtomenu): Sort functions slightly |
| 2331 | better, and allow things to be rebound in the linter menu. |
Benno Schulenberg | 8c5b9e7 | 2014-04-21 12:31:52 +0000 | [diff] [blame] | 2332 | * src/nano.h: Delete a large bunch of unused defines. |
Benno Schulenberg | 24d9f31 | 2014-04-21 13:00:49 +0000 | [diff] [blame] | 2333 | * src/nano.h, src/proto.h: Delete some more unused stuff. |
Benno Schulenberg | 27a52a8 | 2014-04-21 13:07:18 +0000 | [diff] [blame] | 2334 | * src/rcfile.c (parse_binding), src/winio.c (get_mouseinput): |
| 2335 | Avoid three compiler warnings with --enable-debug. |
Benno Schulenberg | 75ff3a9 | 2014-04-21 15:22:14 +0000 | [diff] [blame] | 2336 | * src/global.c (assign_keyinfo): Decombine repetitive condition. |
Benno Schulenberg | d630880 | 2014-04-21 15:45:23 +0000 | [diff] [blame] | 2337 | * src/global.c (assign_keyinfo, shortcut_init): Give nicer names |
| 2338 | to the dedicated keys, for when they show up in the help lines. |
Benno Schulenberg | ac99736 | 2014-04-21 17:47:16 +0000 | [diff] [blame] | 2339 | * src/rcfile.c (parse_binding): K-keys no longer exist. |
Benno Schulenberg | 94b1d01 | 2014-04-21 18:05:11 +0000 | [diff] [blame] | 2340 | * src/global.c, src/rcfile.c, doc/nanorc.sample.in: Allow the |
| 2341 | codes from the Ins and Del keys to be rebound. |
Benno Schulenberg | e15abc9 | 2014-04-21 18:12:29 +0000 | [diff] [blame] | 2342 | * src/rcfile.c (parse_binding): Improve two error messages, and |
| 2343 | complain about wrong menu names after wrong function names. |
Benno Schulenberg | 374f4e2 | 2014-04-21 10:30:35 +0000 | [diff] [blame] | 2344 | |
Benno Schulenberg | 0d84301 | 2014-04-16 08:24:32 +0000 | [diff] [blame] | 2345 | 2014-04-16 Benno Schulenberg <bensberg@justemail.net> |
| 2346 | * src/winio.c (get_mouseinput): Properly find also the zeroeth |
| 2347 | item from a certain menu in the list of functions. Until now |
| 2348 | this accidentally worked, because "Get Help" was the very first |
| 2349 | item in almost all menus. Partly fixes Savannah bug #42093. |
Benno Schulenberg | bf6a900 | 2014-04-16 08:58:40 +0000 | [diff] [blame] | 2350 | * src/nano.h: MHELP should not be part of MALL, as ^B and ^F and |
| 2351 | Enter and Backspace and so on don't make any sense there. |
Benno Schulenberg | 4c9573d | 2014-04-16 09:12:13 +0000 | [diff] [blame] | 2352 | * src/nano.h, src/global.c (shortcut_init): Rename MALL to MMOST, |
| 2353 | to be more accurate. |
Benno Schulenberg | e167afe | 2014-04-16 09:26:15 +0000 | [diff] [blame] | 2354 | * src/nano.h, src/global.c, src/help.c, src/search.c: Rename |
| 2355 | MREPLACE2 to MREPLACEWITH, for clarity. |
Benno Schulenberg | 5df7c0d | 2014-04-16 09:32:53 +0000 | [diff] [blame] | 2356 | * src/nano.h: Adjust some tabbing and spacing. |
Benno Schulenberg | f6a3ab0 | 2014-04-16 09:55:16 +0000 | [diff] [blame] | 2357 | * src/global.c (shortcut_init): Make better use of MMOST. |
Benno Schulenberg | 0d84301 | 2014-04-16 08:24:32 +0000 | [diff] [blame] | 2358 | |
Benno Schulenberg | 4b5fa61 | 2014-04-15 10:51:43 +0000 | [diff] [blame] | 2359 | 2014-04-15 Benno Schulenberg <bensberg@justemail.net> |
| 2360 | * src/nano.c (precalc_multicolorinfo): Actually set the intended |
| 2361 | non-blocking mode for keyboard input. |
Benno Schulenberg | f876ee1 | 2014-04-15 11:25:29 +0000 | [diff] [blame] | 2362 | * src/winio.c: Relocate and correct a few comments. |
Benno Schulenberg | d0691d9 | 2014-04-15 12:13:04 +0000 | [diff] [blame] | 2363 | * README.SVN: To build nano from svn, ssh is not required. |
Benno Schulenberg | 5bd359d | 2014-04-15 15:02:43 +0000 | [diff] [blame] | 2364 | * src/*.c: Normalize whitespace around '==' comparison. |
Benno Schulenberg | d6ecb96 | 2014-04-15 15:17:40 +0000 | [diff] [blame] | 2365 | * configure.ac: Check for the availability of snprintf(), |
| 2366 | fixes Savannah bug #42070 reported by David Lawrence Ramsey. |
Benno Schulenberg | fdec2a1 | 2014-04-15 19:28:11 +0000 | [diff] [blame] | 2367 | * src/global.c (shortcut_init), src/help.c (do_help): Add the |
| 2368 | shortcuts M-\ and M-/ for First Line and Last Line to the help |
| 2369 | viewer, instead of ^Y and ^V, which are already taken for Page |
| 2370 | Up and Page Down. Also, stop them from aborting the viewer. |
Benno Schulenberg | 623b1b6 | 2014-04-15 19:32:45 +0000 | [diff] [blame] | 2371 | * src/help.c (do_help): Remove superfluous abortion variable. |
Benno Schulenberg | 5c2b44a | 2014-04-15 20:01:19 +0000 | [diff] [blame] | 2372 | * src/global.c (shortcut_init), src/help.c (do_help): Add the |
| 2373 | shortcut ^L for Refresh to the help viewer and stop it aborting; |
| 2374 | a changed version of patch #7013 from David Lawrence Ramsey. |
Benno Schulenberg | 4b5fa61 | 2014-04-15 10:51:43 +0000 | [diff] [blame] | 2375 | |
Benno Schulenberg | c8fbc7d | 2014-04-14 09:14:39 +0000 | [diff] [blame] | 2376 | 2014-04-14 Benno Schulenberg <bensberg@justemail.net> |
| 2377 | * src/{proto.h,cut.c,nano.c,text.c}: Remove the unused parameter |
| 2378 | 'file_bot' from copy_from_filestruct(), and rename the other. |
Benno Schulenberg | 7828a80 | 2014-04-14 09:22:29 +0000 | [diff] [blame] | 2379 | * src/*: Remove the unused parameter 'func_key' from get_shortcut(), |
| 2380 | and subsequently from parse_browser_input() and parse_help_input(). |
Benno Schulenberg | 5bd359d | 2014-04-15 15:02:43 +0000 | [diff] [blame] | 2381 | * src/*: Adjust some whitespace and tweak a few comments. |
Benno Schulenberg | 1e3f6bc | 2014-04-14 10:03:32 +0000 | [diff] [blame] | 2382 | * src/winio.c (getfuncfromkey): Elide variable and condense comment. |
Benno Schulenberg | cd634e0 | 2014-04-14 13:02:43 +0000 | [diff] [blame] | 2383 | * src/text.c (break_line): Initialize a variable to avoid a compiler |
| 2384 | warning, rename it to be more apt, add a comment, tweak some others, |
| 2385 | and remove an unneeded 'if'. |
Benno Schulenberg | ff8454a | 2014-04-14 20:42:10 +0000 | [diff] [blame] | 2386 | * src/char.c (move_mbleft): Avoid a compiler warning (int → size_t), |
| 2387 | rename the variable, and another, and straighten out the logic. |
Benno Schulenberg | c8fbc7d | 2014-04-14 09:14:39 +0000 | [diff] [blame] | 2388 | |
Benno Schulenberg | 1f934e3 | 2014-04-13 11:56:08 +0000 | [diff] [blame] | 2389 | 2014-04-13 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 7b4faba | 2014-04-13 12:09:32 +0000 | [diff] [blame] | 2390 | * proto.h, global.c, rcfile.c: Remove the unused parameter 'menu' |
Benno Schulenberg | 1f934e3 | 2014-04-13 11:56:08 +0000 | [diff] [blame] | 2391 | from strtosc(). |
Benno Schulenberg | 7b4faba | 2014-04-13 12:09:32 +0000 | [diff] [blame] | 2392 | * global.c (shortcut_init): Remove mistaken browser item from the |
Benno Schulenberg | ade84e6 | 2014-04-13 12:01:36 +0000 | [diff] [blame] | 2393 | Go-To-Line menu. |
Benno Schulenberg | 7b4faba | 2014-04-13 12:09:32 +0000 | [diff] [blame] | 2394 | * global.c (shortcut_init): Delete a misplaced setting of 'currmenu'. |
Benno Schulenberg | f803ef5 | 2014-04-13 12:16:37 +0000 | [diff] [blame] | 2395 | * global.c (shortcut_init, strtomenu): Cosmetic tweaks. |
Benno Schulenberg | 8347d02 | 2014-04-13 15:57:05 +0000 | [diff] [blame] | 2396 | * doc/syntax/{changelog,c,po}.nanorc: Some small extra colourings. |
Benno Schulenberg | 5c7a6d7 | 2014-04-13 19:44:30 +0000 | [diff] [blame] | 2397 | * configure.ac, doc/texinfo/nano.texi: Make --enable-tiny disable |
| 2398 | the use of libmagic, and document the --disable-libmagic flag. |
Benno Schulenberg | b988132 | 2014-04-13 19:54:47 +0000 | [diff] [blame] | 2399 | * src/nano.c (version): Print the correct --enable/--disable option. |
Benno Schulenberg | eea0908 | 2014-04-13 20:50:20 +0000 | [diff] [blame] | 2400 | * configure.ac, src/*, doc/texinfo/nano.texi: Convert all occurrences |
| 2401 | of #ifdef ENABLE_NANORC to #ifndef DISABLE_NANORC, and adapt for it. |
Benno Schulenberg | 9cc6438 | 2014-04-13 21:05:57 +0000 | [diff] [blame] | 2402 | * configure.ac: Complain about --enable-color without --enable-nanorc. |
Benno Schulenberg | 1f934e3 | 2014-04-13 11:56:08 +0000 | [diff] [blame] | 2403 | |
Benno Schulenberg | cc054ec | 2014-04-10 20:56:25 +0000 | [diff] [blame] | 2404 | 2014-04-10 Benno Schulenberg <bensberg@justemail.net> |
| 2405 | * doc/syntax/Makefile.am: Add four recent syntaxes to the packlist. |
| 2406 | |
Benno Schulenberg | e1f46a9 | 2014-04-08 19:40:37 +0000 | [diff] [blame] | 2407 | 2014-04-08 Benno Schulenberg <bensberg@justemail.net> |
| 2408 | * doc: Add the documentation for the new --noread option. |
Benno Schulenberg | 753d93d | 2014-04-08 20:01:17 +0000 | [diff] [blame] | 2409 | * doc: Add missing --poslog option to the texinfo file, plus tweaks. |
Benno Schulenberg | e1f46a9 | 2014-04-08 19:40:37 +0000 | [diff] [blame] | 2410 | |
Benno Schulenberg | db7064b | 2014-04-08 18:59:30 +0000 | [diff] [blame] | 2411 | 2014-04-08 Hans Alves <fonsvandeachterburen@gmail.com> |
| 2412 | * nano.h, files.c, nano.c: Adding the command-line option --noread |
| 2413 | to treat any name on the command line as a new file. This allows |
| 2414 | nano to write to named pipes -- it will start with a blank buffer, |
| 2415 | and will write to the pipe when the user saves the file. This way |
| 2416 | nano can be used as an editor in combination with for instance gpg |
| 2417 | without having to write sensitive data to disk first. |
| 2418 | |
Benno Schulenberg | d19be5a | 2014-04-08 18:38:45 +0000 | [diff] [blame] | 2419 | 2014-04-08 David Lawrence Ramsey <pooka109@gmail.com> |
| 2420 | * src/*.c: More editing of comment blocks and trimming of blank lines. |
| 2421 | |
Benno Schulenberg | de597bc | 2014-04-08 13:27:32 +0000 | [diff] [blame] | 2422 | 2014-04-08 Benno Schulenberg <bensberg@justemail.net> |
| 2423 | * src/rcfile.c: Correct two comments, and tweak two others. |
Benno Schulenberg | 598c654 | 2014-04-08 13:58:04 +0000 | [diff] [blame] | 2424 | * src/color.c (color_update): Correct one comment, tweak some others, |
| 2425 | remove two superfluous ones, and remove an unneeded 'if'. |
Benno Schulenberg | de597bc | 2014-04-08 13:27:32 +0000 | [diff] [blame] | 2426 | |
Benno Schulenberg | 91c740e | 2014-04-08 12:24:52 +0000 | [diff] [blame] | 2427 | 2014-04-08 David Lawrence Ramsey <pooka109@gmail.com> |
| 2428 | * src/nano.c (main): Convert the literal UTF-8 whitespace string into |
| 2429 | its corresponding byte sequence, and add a comment for it. |
Benno Schulenberg | d0dec31 | 2014-04-08 12:35:18 +0000 | [diff] [blame] | 2430 | * src/{files.c,global.c,help.c,winio.c}: Reformat some comment blocks, |
| 2431 | fix a few typos, and remove a few unneeded blank lines. |
Benno Schulenberg | 91c740e | 2014-04-08 12:24:52 +0000 | [diff] [blame] | 2432 | |
Benno Schulenberg | 2cdaaac | 2014-04-08 11:22:41 +0000 | [diff] [blame] | 2433 | 2014-04-08 Benno Schulenberg <bensberg@justemail.net> |
| 2434 | * src/rcfile.c (parse_binding): Melt the binding and unbinding code, |
| 2435 | which are very similar, into a single function. |
Benno Schulenberg | f7c5eee | 2014-04-08 11:43:50 +0000 | [diff] [blame] | 2436 | * src/rcfile.c (parse_binding): Uppercase only the first two or three |
| 2437 | characters of the key name, in order to preserve ^Space and M-Space, |
| 2438 | so they can be unbound. Fixes Savannah bug #41940. |
Benno Schulenberg | 5e901c4 | 2014-04-08 12:09:29 +0000 | [diff] [blame] | 2439 | * doc/syntax/go.nanorc: Extend the syntax highlighting for Go lang, |
| 2440 | from the submission by Robert Clausecker <fuzxxl@Savannah>. |
Benno Schulenberg | 2cdaaac | 2014-04-08 11:22:41 +0000 | [diff] [blame] | 2441 | |
Benno Schulenberg | bc6e9aa | 2014-04-07 09:02:22 +0000 | [diff] [blame] | 2442 | 2014-04-07 Benno Schulenberg <bensberg@justemail.net> |
| 2443 | * src/{proto.h,global.c,text.c}: Keep a pointer to the Uncut item in |
| 2444 | the functions list, to be able to change its description to Unjustify |
| 2445 | at the appropriate moment. This avoids having to fully repopulate |
| 2446 | the functions and shortcuts lists before and after every Justify. |
| 2447 | Also, look for ^U only in the main menu, to which ^W M-J factually |
| 2448 | returns and which shortcut_init() "sneakily" sets. |
Benno Schulenberg | a2dcd6e | 2014-04-07 09:24:10 +0000 | [diff] [blame] | 2449 | * src/{proto.h,files.c,global.c,nano.c,rcfile.c}: Drop the obsolete |
| 2450 | argument of shortcut_init(), and remove two unneeded calls of it. |
Benno Schulenberg | d58fb90 | 2014-04-07 09:44:52 +0000 | [diff] [blame] | 2451 | * src/global.c (shortcut_init): Allow M-J after an --enable-justify. |
Benno Schulenberg | 2f00c9d | 2014-04-07 20:38:29 +0000 | [diff] [blame] | 2452 | * src/rcfile.c (parse_rcfile): The user documentation only speaks |
| 2453 | of options, not of flags. Make the error messages conform. |
Benno Schulenberg | 7f40bdf | 2014-04-07 20:47:26 +0000 | [diff] [blame] | 2454 | * src/rcfile.c (check_vitals_mapped): Improve layout of message. |
Benno Schulenberg | bc6e9aa | 2014-04-07 09:02:22 +0000 | [diff] [blame] | 2455 | |
Benno Schulenberg | ef97655 | 2014-04-06 08:57:36 +0000 | [diff] [blame] | 2456 | 2014-04-06 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 2ff9dc7 | 2014-04-06 20:55:21 +0000 | [diff] [blame] | 2457 | * src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to |
| 2458 | the main menu, and M-J (full-justify) to the main and search menus. |
Benno Schulenberg | e682173 | 2014-04-06 20:47:57 +0000 | [diff] [blame] | 2459 | * src/proto.h: There is no need for the helpline tags to be external, |
| 2460 | they are only ever used in src/global.c. |
Benno Schulenberg | 2ff9dc7 | 2014-04-06 20:55:21 +0000 | [diff] [blame] | 2461 | * src/global.c: Do not set any helpline tags to empty strings; |
| 2462 | compilation should fail if they are needed and not defined. |
Benno Schulenberg | ef97655 | 2014-04-06 08:57:36 +0000 | [diff] [blame] | 2463 | |
Benno Schulenberg | 2d83e8d | 2014-04-05 19:57:17 +0000 | [diff] [blame] | 2464 | 2014-04-05 Benno Schulenberg <bensberg@justemail.net> |
| 2465 | * src/nano.c (version): Print the correct configuration options. |
Benno Schulenberg | 70b2d08 | 2014-04-05 20:28:29 +0000 | [diff] [blame] | 2466 | * src/{chars.c,nano.c,text.c}: Cosmetic tweaks. |
Benno Schulenberg | 24ed1bb | 2014-04-05 20:56:10 +0000 | [diff] [blame] | 2467 | * doc/texinfo/nano.texi: Adjust for new disabling config options. |
Benno Schulenberg | 2d83e8d | 2014-04-05 19:57:17 +0000 | [diff] [blame] | 2468 | |
Benno Schulenberg | fc55756 | 2014-04-05 18:59:46 +0000 | [diff] [blame] | 2469 | 2014-04-05 Mike Frysinger <vapier@gentoo.org> |
| 2470 | * src/nano.c (do_input): Reload possibly freed function pointer. |
| 2471 | |
Benno Schulenberg | f14096e | 2014-04-04 07:50:41 +0000 | [diff] [blame] | 2472 | 2014-04-04 Benno Schulenberg <bensberg@justemail.net> |
| 2473 | * src/{files.c,nano.c}: Avoid two more compilation warnings. |
Benno Schulenberg | d8bf887 | 2014-04-04 07:54:08 +0000 | [diff] [blame] | 2474 | * configure.ac: Allow --enable-extra and --enable-multibuffer |
| 2475 | to override --enable-tiny. |
Benno Schulenberg | 7a254dd | 2014-04-04 08:38:20 +0000 | [diff] [blame] | 2476 | * src/rcfile.c (check_vitals_mapped): Do not allow 'set quiet' |
| 2477 | to suppress a fatal-error message, make sure the user sees it. |
Benno Schulenberg | 61bba1d | 2014-04-04 09:01:21 +0000 | [diff] [blame] | 2478 | * src/color.c: Comment tweaks. |
Benno Schulenberg | 5bd359d | 2014-04-15 15:02:43 +0000 | [diff] [blame] | 2479 | * src/{*.h,*.c}, configure.ac: Convert all occurrences of |
Benno Schulenberg | 26fd9b2 | 2014-04-04 15:31:40 +0000 | [diff] [blame] | 2480 | #ifdef ENABLE_COLOR to #ifndef DISABLE_COLOR. |
Benno Schulenberg | 817707e | 2014-04-04 12:29:28 +0000 | [diff] [blame] | 2481 | * src/nano.h: Comment tweaks. |
Benno Schulenberg | 9901170 | 2014-04-04 13:12:07 +0000 | [diff] [blame] | 2482 | * configure.ac: Move the enabling stuff to after the disablers. |
Benno Schulenberg | 46b07fa | 2014-04-04 13:42:13 +0000 | [diff] [blame] | 2483 | * configure.ac: Add submissive colour disabling to --enable-tiny. |
Benno Schulenberg | 1db6de4 | 2014-04-04 13:54:05 +0000 | [diff] [blame] | 2484 | * configure.ac: Allow other enablers to override --enable-tiny too. |
Benno Schulenberg | 26fd9b2 | 2014-04-04 15:31:40 +0000 | [diff] [blame] | 2485 | * src/{proto.h,search.c}: Fix compilation with --enable-browser. |
Benno Schulenberg | 81377d9 | 2014-04-04 15:42:39 +0000 | [diff] [blame] | 2486 | * src/global.c (shortcut_init): Fix warnings with --enable-help. |
Benno Schulenberg | 36c87bc | 2014-04-04 15:52:52 +0000 | [diff] [blame] | 2487 | * src/text.c (do_justify): Fix compilation with --enable-justify. |
Benno Schulenberg | 8611e47 | 2014-04-04 16:06:27 +0000 | [diff] [blame] | 2488 | * src/nano.c (do_mouse): Fix warning with --enable-mouse. |
Benno Schulenberg | 062bca7 | 2014-04-04 19:21:56 +0000 | [diff] [blame] | 2489 | * src/prompt.c (get_prompt_string): Fix compilation for the |
| 2490 | combination of --enable-tiny with --enable-tabcomp. |
Benno Schulenberg | 96c95cd | 2014-04-04 19:26:08 +0000 | [diff] [blame] | 2491 | * src/prompt.c (get_prompt_string): Normalize the indentation. |
Benno Schulenberg | 189fff4 | 2014-04-04 20:45:28 +0000 | [diff] [blame] | 2492 | * src/text.c: Comment tweaks. |
Benno Schulenberg | f14096e | 2014-04-04 07:50:41 +0000 | [diff] [blame] | 2493 | |
Benno Schulenberg | a4c0c2f | 2014-04-03 10:52:27 +0000 | [diff] [blame] | 2494 | 2014-04-03 Benno Schulenberg <bensberg@justemail.net> |
| 2495 | * configure.ac: Remove unused '*_support' variables. |
Benno Schulenberg | 5ead22d | 2014-04-03 10:54:46 +0000 | [diff] [blame] | 2496 | * doc/syntax/po.nanorc: New file, syntax colouring for PO files. |
Benno Schulenberg | 4d570e5 | 2014-04-03 19:35:42 +0000 | [diff] [blame] | 2497 | * configure.ac: Stop --with-slang from duplicating --enable-tiny. |
Benno Schulenberg | 9d306cd | 2014-04-03 19:50:12 +0000 | [diff] [blame] | 2498 | * configure.ac: Sort all the disabling options alphabetically. |
Benno Schulenberg | 0636d7b | 2014-04-03 20:23:07 +0000 | [diff] [blame] | 2499 | * src/{proto.h,files.c,global.c,nano.c,rcfile.c}, configure.ac: |
| 2500 | Convert #ifdef ENABLE_MULTIBUFFER to #ifndef DISABLE_MULTIBUFFER. |
Benno Schulenberg | d17438b | 2014-04-03 20:57:44 +0000 | [diff] [blame] | 2501 | * src/{proto.h,files.c,,nano.c,winio.c}, configure.ac: |
| 2502 | Convert #ifdef NANO_EXTRA to #ifndef DISABLE_EXTRA. |
Benno Schulenberg | b8b29ff | 2014-04-03 21:06:30 +0000 | [diff] [blame] | 2503 | * src/{global.c,text.c}: Fix two compilation warnings for tiny. |
Benno Schulenberg | a4c0c2f | 2014-04-03 10:52:27 +0000 | [diff] [blame] | 2504 | |
Benno Schulenberg | b29ea10 | 2014-04-02 20:37:30 +0000 | [diff] [blame] | 2505 | 2014-04-02 Benno Schulenberg <bensberg@justemail.net> |
| 2506 | * configure.ac, doc/Makefile.am: Try to build the info documentation |
| 2507 | only when 'makeinfo' is available. Patch partly by Mike Frysinger. |
Benno Schulenberg | 7cf7f42 | 2014-04-02 21:06:37 +0000 | [diff] [blame] | 2508 | * configure.ac: Upping the required version of Autoconf, to ensure the |
Benno Schulenberg | 73ff00e | 2014-04-02 21:03:32 +0000 | [diff] [blame] | 2509 | ONCE macros are defined. Suggested by Kamil Dudka and Mike Frysinger. |
Benno Schulenberg | b29ea10 | 2014-04-02 20:37:30 +0000 | [diff] [blame] | 2510 | |
Benno Schulenberg | 055f0fb | 2014-04-02 19:42:54 +0000 | [diff] [blame] | 2511 | 2014-04-02 Mike Frysinger <vapier@gentoo.org> |
| 2512 | * doc/man/{,fr}/Makefile.am: Simplify the man rules still further. |
Benno Schulenberg | 7a8bd82 | 2014-04-02 19:56:09 +0000 | [diff] [blame] | 2513 | * .gitignore: Add 'config.cache', created by './configure -C'. |
Benno Schulenberg | d28ed53 | 2014-04-02 20:09:16 +0000 | [diff] [blame] | 2514 | * src/nano.c (die_save_file): Newer gcc warns about set-but-unused |
| 2515 | variables, so add a dummy if() check to kill that off. |
Benno Schulenberg | 4171477 | 2014-04-02 20:17:05 +0000 | [diff] [blame] | 2516 | * src/search.c (search_init): Silence a compiler warning about a |
| 2517 | variable possibly being used uninitialized. |
Benno Schulenberg | 055f0fb | 2014-04-02 19:42:54 +0000 | [diff] [blame] | 2518 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2519 | 2014-03-31 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 5bd359d | 2014-04-15 15:02:43 +0000 | [diff] [blame] | 2520 | * doc/syntax/go.nanorc: New file, basic go syntax highlighting. |
Chris Allegretta | 211a5e4 | 2014-03-31 20:26:03 +0000 | [diff] [blame] | 2521 | |
Benno Schulenberg | 682c1d0 | 2014-03-30 21:04:58 +0000 | [diff] [blame] | 2522 | 2014-03-30 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | d0dec31 | 2014-04-08 12:35:18 +0000 | [diff] [blame] | 2523 | * doc/syntax/changelog.nanorc: New file, first attempt at colouring |
Benno Schulenberg | 682c1d0 | 2014-03-30 21:04:58 +0000 | [diff] [blame] | 2524 | Changelog files. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2525 | * ChangeLog: Consistently use a colon after names of changed files. |
Benno Schulenberg | 682c1d0 | 2014-03-30 21:04:58 +0000 | [diff] [blame] | 2526 | |
Benno Schulenberg | e9a440f | 2014-03-30 20:08:45 +0000 | [diff] [blame] | 2527 | 2014-03-30 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 2528 | * doc/Makefile.am, doc/man/Makefile.am, doc/man/fr/Makefile.am: |
Benno Schulenberg | e9a440f | 2014-03-30 20:08:45 +0000 | [diff] [blame] | 2529 | The build already provides a standard htmldir for installing html |
| 2530 | files. Use that instead of creating our own. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2531 | * doc/man/Makefile.am, doc/man/fr/Makefile.am: Use dist_ prefixes |
Benno Schulenberg | 0e39d7f | 2014-03-30 20:14:36 +0000 | [diff] [blame] | 2532 | and += appending supported by automake to produce simpler files. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2533 | * doc/Makefile.am: Drop redundant localedir, as autoconf/automake |
Benno Schulenberg | b21daeb | 2014-03-30 20:19:33 +0000 | [diff] [blame] | 2534 | already creates this for us. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2535 | * src/rcfile.c, doc/nanorc.sample.in: Hard-listing all the wanted |
Benno Schulenberg | 3814283 | 2014-03-30 20:37:40 +0000 | [diff] [blame] | 2536 | syntax files is a PITA. Support globs in include paths, so people |
| 2537 | can easily drop in new files and have it "just work". |
Benno Schulenberg | e9a440f | 2014-03-30 20:08:45 +0000 | [diff] [blame] | 2538 | |
Benno Schulenberg | cf71578 | 2014-03-27 11:06:16 +0000 | [diff] [blame] | 2539 | 2014-03-27 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2540 | * src/nano.c (main): Fix compilation with --disable-utf8. |
| 2541 | * src/global.c (shortcut_init): Place a help string among |
Benno Schulenberg | 91ee10a | 2014-03-27 21:35:18 +0000 | [diff] [blame] | 2542 | its kin, adjust some indentation, group function pairs more |
| 2543 | tightly, bundle restricted stuff, and delete an unused item. |
Benno Schulenberg | cf71578 | 2014-03-27 11:06:16 +0000 | [diff] [blame] | 2544 | |
Benno Schulenberg | e9a440f | 2014-03-30 20:08:45 +0000 | [diff] [blame] | 2545 | 2014-03-27 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2546 | * configure.ac: Make --disable-nanorc with --enable-color barf. |
| 2547 | * configure.ac: Allow --disable-utf8 and --enable-utf8 to work. |
Benno Schulenberg | 463db0d | 2014-03-27 10:15:43 +0000 | [diff] [blame] | 2548 | |
Benno Schulenberg | 90ea21f | 2014-03-26 10:45:07 +0000 | [diff] [blame] | 2549 | 2014-03-26 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2550 | * configure.ac: Word, tab, and comment tweaks. |
| 2551 | * src/global.c: Some comment tweaks, and whitespace trimmings. |
| 2552 | * src/global.c (print_sclist): Also print last shortcut in list. |
| 2553 | * doc/texinfo/nano.texi: Explain how to select and paste with |
Benno Schulenberg | 804b94e | 2014-03-26 13:12:52 +0000 | [diff] [blame] | 2554 | the mouse when mouse support is enabled: by holding down Shift. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2555 | * nano.spec.in, doc/faq.html, doc/texinfo/nano.texi: Remove |
Benno Schulenberg | f7b5c5a | 2014-03-26 14:08:10 +0000 | [diff] [blame] | 2556 | vestiges of the obsolete '--enable-all' configure flag. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2557 | * src/rcfile.c: Fix compilation with --disable-color. |
| 2558 | * src/rcfile.c: Allow (un)binding keys when colour is disabled. |
| 2559 | * src/help.c: Fix compilation with --disable-browser. |
| 2560 | * src/{proto.h,browser.c,help.c}: Remove a superfluous function. |
Benno Schulenberg | 90ea21f | 2014-03-26 10:45:07 +0000 | [diff] [blame] | 2561 | |
Benno Schulenberg | e9a440f | 2014-03-30 20:08:45 +0000 | [diff] [blame] | 2562 | 2014-03-26 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2563 | * configure.ac: Clean up most of the --with/--enable flags: |
Benno Schulenberg | 673d210 | 2014-03-26 09:35:52 +0000 | [diff] [blame] | 2564 | - use AS_HELP_STRING instead of writing the text ourselves; |
| 2565 | - use the normal enable_xxx var AC_ARG_ENABLE creates for us; |
| 2566 | - delete duplicate checks in a few places (due to previous cleanup); |
| 2567 | - unwrap some macros/var assignments; |
| 2568 | - delete trailing whitespace; |
| 2569 | - delete old --enable-all flag; |
| 2570 | - fix quoting on a lot of vars that come from the user; |
| 2571 | - use AC_MSG_* helpers instead of raw `echo`. |
| 2572 | |
Benno Schulenberg | b2a47a1 | 2014-03-24 12:31:25 +0000 | [diff] [blame] | 2573 | 2014-03-24 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2574 | * src/{nano,move,winio}.c: Fix a few compiler warnings. |
| 2575 | * src/{global,rcfile,winio}.c: Print menu numbers for debugging |
Benno Schulenberg | 18c252d | 2014-03-24 20:35:17 +0000 | [diff] [blame] | 2576 | in hex, and tweak a few of those debugging messages. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2577 | * src/nano.c: Harmonize comments, and trim some blank lines. |
Benno Schulenberg | b2a47a1 | 2014-03-24 12:31:25 +0000 | [diff] [blame] | 2578 | |
Benno Schulenberg | 18530ec | 2014-03-26 09:41:52 +0000 | [diff] [blame] | 2579 | 2014-03-24 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2580 | * doc/syntax/gentoo.nanorc: Match more files, add a trailing |
Benno Schulenberg | 18530ec | 2014-03-26 09:41:52 +0000 | [diff] [blame] | 2581 | whitespace check, and EAPI=5 updates. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2582 | * doc/syntax/javascript.nanorc: New file, based on C syntax. |
| 2583 | * doc/syntax/{nanorc,python}.nanorc: Highlight trailing whitespace. |
| 2584 | * configure.ac, m4/ax_check_compile_flag.m4: Start building with |
Benno Schulenberg | 18530ec | 2014-03-26 09:41:52 +0000 | [diff] [blame] | 2585 | warnings enabled, to help prevent issues from silently creeping in. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2586 | * configure.ac: Newer ncurses include pkg-config files which tell |
Benno Schulenberg | 18530ec | 2014-03-26 09:41:52 +0000 | [diff] [blame] | 2587 | us the right -I/-L paths we need, so default to that before trying |
| 2588 | the legacy ways. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2589 | * configure.ac: Add a configure flag to disable the use of the |
Benno Schulenberg | 18530ec | 2014-03-26 09:41:52 +0000 | [diff] [blame] | 2590 | fattening libmagic. |
| 2591 | |
Benno Schulenberg | 5240275 | 2014-03-23 20:49:59 +0000 | [diff] [blame] | 2592 | 2014-03-23 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2593 | * src/rcfile.c (parse_keybinding, parse_unbinding): Improve a |
Benno Schulenberg | 5240275 | 2014-03-23 20:49:59 +0000 | [diff] [blame] | 2594 | debugging message, fix a translator comment, and tweak others. |
| 2595 | |
Benno Schulenberg | 117cf85 | 2014-03-22 19:46:09 +0000 | [diff] [blame] | 2596 | 2014-03-22 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2597 | * THANKS: Add some missing translator names, and tweak others. |
Benno Schulenberg | 117cf85 | 2014-03-22 19:46:09 +0000 | [diff] [blame] | 2598 | |
Benno Schulenberg | 0b2f843 | 2014-03-21 12:47:34 +0000 | [diff] [blame] | 2599 | 2014-03-21 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2600 | * src/chars.c (is_punct_mbchar, mbstrchr): Elide a variable, |
Benno Schulenberg | 0b2f843 | 2014-03-21 12:47:34 +0000 | [diff] [blame] | 2601 | thus making two ifs identical to six others. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2602 | * doc/syntax/nanorc.nanorc: Add the 'extendsyntax' directive, |
Benno Schulenberg | 42e7582 | 2014-03-21 13:59:29 +0000 | [diff] [blame] | 2603 | and change two colours to be legible on a light background. |
Benno Schulenberg | 0b2f843 | 2014-03-21 12:47:34 +0000 | [diff] [blame] | 2604 | |
Benno Schulenberg | eec71e3 | 2014-03-19 09:34:37 +0000 | [diff] [blame] | 2605 | 2014-03-19 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2606 | * doc/nanorc.sample.in: Document the changed whitespace defaults. |
| 2607 | * src/global.c, doc/man/nanorc.5: Allow softwrap to be rebound. |
| 2608 | * doc/nanorc.sample.in: Sort the includes alphabetically, and |
Benno Schulenberg | e51cfa3 | 2014-03-19 09:46:55 +0000 | [diff] [blame] | 2609 | add the ones for Lua, Magicpoint, and Spec files. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2610 | * doc/nanorc.sample.in: Add "poslog", plus tiny textual tweaks. |
| 2611 | * src/global.c, doc/man/nanorc.5: Group softwrap with the toggles |
Benno Schulenberg | cb80ca5 | 2014-03-19 21:09:08 +0000 | [diff] [blame] | 2612 | that affect how things look -- it does not belong in the group of |
| 2613 | general program functions, nor in the group of editing behaviour. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2614 | * doc/man/nanorc.5: Add the descriptions of six missing bindable |
Benno Schulenberg | cc7fef7 | 2014-03-19 21:30:08 +0000 | [diff] [blame] | 2615 | functions, and tweak those of a few others. |
Benno Schulenberg | 90a43c3 | 2014-03-19 09:23:55 +0000 | [diff] [blame] | 2616 | |
| 2617 | 2014-03-18 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2618 | * src/global.c (shortcut_init): In the file browser one cannot |
Benno Schulenberg | 960a120 | 2014-03-18 22:04:41 +0000 | [diff] [blame] | 2619 | search for a regular expression, so do not mention it. |
| 2620 | |
Benno Schulenberg | c3e4a1f | 2014-03-17 11:47:49 +0000 | [diff] [blame] | 2621 | 2014-03-17 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2622 | * src/global.c (shortcut_init): Show ^F and ^B instead of kright |
Benno Schulenberg | c3e4a1f | 2014-03-17 11:47:49 +0000 | [diff] [blame] | 2623 | and kleft in the help lines of the tiny version. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2624 | * src/global.c (shortcut_init): Remove some inconsistent spaces |
Benno Schulenberg | e34ac8e | 2014-03-17 12:15:23 +0000 | [diff] [blame] | 2625 | and newlines, condense three statements into one, place an #endif |
| 2626 | better, melt two #ifndefs into one, and add a comment. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2627 | * src/winio.c (edit_scroll): Remove the old softwrap scrolling code. |
Benno Schulenberg | e4c34c3 | 2014-03-17 14:15:57 +0000 | [diff] [blame] | 2628 | * src/{nano.h,proto.h,color.c,cut.c,files.c,global.c,help.c,nano.c, |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2629 | search.c,text.c,utils.c}: Add, fix, and remove some #endif comments, |
Benno Schulenberg | e4c34c3 | 2014-03-17 14:15:57 +0000 | [diff] [blame] | 2630 | remove an obsolete comment, and remove some superfluous #ifndefs. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2631 | * src/global.c (shortcut_init): Put ^B and ^F in the same order as |
Benno Schulenberg | 88ff6a7 | 2014-03-17 21:26:53 +0000 | [diff] [blame] | 2632 | all other command keys: first the backward then the forward motion. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2633 | * src/{nano.h,*.c}: Remove stray spaces before tabs. |
Benno Schulenberg | c3e4a1f | 2014-03-17 11:47:49 +0000 | [diff] [blame] | 2634 | |
Benno Schulenberg | 8977c4b | 2014-03-16 16:58:18 +0000 | [diff] [blame] | 2635 | 2014-03-16 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2636 | * src/nano.h: Display more help items when the terminal is wider. |
Benno Schulenberg | 8977c4b | 2014-03-16 16:58:18 +0000 | [diff] [blame] | 2637 | |
Benno Schulenberg | c85dc05 | 2014-03-16 13:19:41 +0000 | [diff] [blame] | 2638 | 2014-03-14 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2639 | * src/nano.c (main): When in a UTF-8 locale, use prettier characters |
Benno Schulenberg | c85dc05 | 2014-03-16 13:19:41 +0000 | [diff] [blame] | 2640 | (»·) for indicating whitespace, and for similarity use ">." instead of |
| 2641 | ":." when not in a UTF-8 locale. Changes suggested by Mike Frysinger. |
| 2642 | |
Benno Schulenberg | 3278f83 | 2014-03-05 09:47:35 +0000 | [diff] [blame] | 2643 | 2014-03-05 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2644 | * src/move.c (do_down): Initialize the correct variable to zero. |
Benno Schulenberg | 5ac8651 | 2014-03-17 14:29:25 +0000 | [diff] [blame] | 2645 | Solves jumpy scrolling behaviour reported by Chris Allegretta. |
Benno Schulenberg | 3278f83 | 2014-03-05 09:47:35 +0000 | [diff] [blame] | 2646 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2647 | 2014-03-04 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2648 | * global.c (first_sc_for): Return raw keystrokes last, so |
Benno Schulenberg | 5ac8651 | 2014-03-17 14:29:25 +0000 | [diff] [blame] | 2649 | they will not be displayed if there are F-keys or Meta keys |
Chris Allegretta | f7c68cd | 2014-03-05 04:30:07 +0000 | [diff] [blame] | 2650 | mapped for an item in the shortcut list. |
| 2651 | |
Benno Schulenberg | d39de24 | 2014-03-04 10:01:27 +0000 | [diff] [blame] | 2652 | 2014-03-04 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2653 | * doc/syntax/nanorc.nanorc: Add keyword 'quiet', sort 'locking', |
Benno Schulenberg | d39de24 | 2014-03-04 10:01:27 +0000 | [diff] [blame] | 2654 | and concatenate the two separate strings into one. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2655 | * src/nano.c (main), doc/nanorc.sample.in: Make the M-P toggle |
Benno Schulenberg | 377a6e3 | 2014-03-04 10:18:54 +0000 | [diff] [blame] | 2656 | actually do something by default, by using visible characters. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2657 | * src/global.c (shortcut_init): Normalize the writing of three |
Benno Schulenberg | 6ae7760 | 2014-03-04 10:30:15 +0000 | [diff] [blame] | 2658 | help-line items: "Write Out", "Uncut Text", and "Unjustify", to |
| 2659 | better stress the O and U -- the big C and J were distracting. |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 2660 | * doc/{syntax/nanorc.nanorc,man/nanorc.5,texinfo/nano.texi}: |
Benno Schulenberg | 1a1b2a0 | 2014-03-04 11:07:43 +0000 | [diff] [blame] | 2661 | Remove erroneous 'suspendenable' -- it is not a settable option |
| 2662 | but a bindable function. |
Benno Schulenberg | d39de24 | 2014-03-04 10:01:27 +0000 | [diff] [blame] | 2663 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2664 | 2014-03-03 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2665 | * global.c (shortcut_init): Don't actually free the shortcut |
Benno Schulenberg | 5ac8651 | 2014-03-17 14:29:25 +0000 | [diff] [blame] | 2666 | list, since the next pass via justifying will then remove all |
| 2667 | custom shortcuts. Fixes bug discovered by Benno Schulenberg. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2668 | * text.c (do_linter): Remove some unused variables to quiet |
Benno Schulenberg | 4e5af83 | 2014-05-14 12:13:51 +0000 | [diff] [blame] | 2669 | -pedantic -Wall. |
Chris Allegretta | 3a5f55e | 2014-03-04 03:55:43 +0000 | [diff] [blame] | 2670 | |
Benno Schulenberg | 3ae5bab | 2014-03-03 08:53:38 +0000 | [diff] [blame] | 2671 | 2014-03-03 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2672 | * src/global.c (add_to_funcs): Add a newline, for clarity. |
| 2673 | * src/global.c (shortcut_init): Mark, don't translate yet. |
| 2674 | * src/move.c (do_down): Correctly compute the minimum amount |
Benno Schulenberg | b1a7fdd | 2014-03-03 10:02:13 +0000 | [diff] [blame] | 2675 | to scroll when softwrap is on and there are overlong lines. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2676 | * src/winio.c (edit_scroll): Disable amount computation here. |
| 2677 | * src/move.c (do_down): Trim some redundant code, and correct |
Benno Schulenberg | 54a1105 | 2014-03-03 13:24:09 +0000 | [diff] [blame] | 2678 | the scrolling behaviour when softwrap is off -- the construct |
| 2679 | (amount ? amount : 1) wasn't doing what I intended. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2680 | * doc/man/nano{.1,rc.5}: Slightly improve formatting and wording. |
| 2681 | * doc/{texinfo/nano.texi,man/nanorc.5}: Add some missing options |
Benno Schulenberg | 6cd8314 | 2014-03-03 18:49:52 +0000 | [diff] [blame] | 2682 | to the texinfo documentation, and improve alphabetization a bit. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2683 | * src/nano.c (usage): Don't mention --softwrap in tiny version. |
Benno Schulenberg | 3ae5bab | 2014-03-03 08:53:38 +0000 | [diff] [blame] | 2684 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2685 | 2014-03-01 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2686 | * global.c (shortcut_init): Fix an issue with the split |
Benno Schulenberg | 5ac8651 | 2014-03-17 14:29:25 +0000 | [diff] [blame] | 2687 | do_research() setup when using --enable-tiny. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2688 | * rcfile.c (parse_linter): Allow linter to be unset using "". |
| 2689 | * rcfile.c: Allow syntaxes to be extended via "extendsyntax" |
Chris Allegretta | e52eac5 | 2014-03-02 05:27:56 +0000 | [diff] [blame] | 2690 | directive. Color, header, magic and linter should all be |
| 2691 | able to be extended. Man page updates for nanorc(5). |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2692 | * doc/nanorc.sample.in: Document 'set quiet'. |
Chris Allegretta | e52eac5 | 2014-03-02 05:27:56 +0000 | [diff] [blame] | 2693 | |
Benno Schulenberg | bc5c7c3 | 2014-03-01 10:20:57 +0000 | [diff] [blame] | 2694 | 2014-03-01 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2695 | * src/color.c (color_update): Do not write to stderr on magic |
Benno Schulenberg | bc5c7c3 | 2014-03-01 10:20:57 +0000 | [diff] [blame] | 2696 | errors. If the magic db has errors such that magic_load() fails, |
| 2697 | the current code dumps to stderr which messes up the terminal. |
| 2698 | The error message is also vague to the point where it's confusing |
| 2699 | -- I thought nano had problems writing to the file I was editing. |
| 2700 | Instead, use statusbar() and clarify the messages. |
| 2701 | (Patch tweaked by Benno.) |
| 2702 | |
Benno Schulenberg | 46fccb2 | 2014-02-28 11:49:12 +0000 | [diff] [blame] | 2703 | 2014-02-28 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2704 | * src/text.c (execute_command): Equalize pipe error messages. |
| 2705 | * src/global.c (thanks_for_all_the_fish): Remove a redundant |
Benno Schulenberg | 9a21761 | 2014-02-28 11:52:52 +0000 | [diff] [blame] | 2706 | '#ifdef DEBUG', it is contained within a wider one. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2707 | * src/global.c (strtosc): Correct a misspelled keyword. |
| 2708 | * src/rcfile.c (check_vitals_mapped): Actually translate a |
Benno Schulenberg | fe267f6 | 2014-02-28 19:47:48 +0000 | [diff] [blame] | 2709 | helpful message, and reword it somewhat for clarity. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2710 | * src/global.c: Remove unused function 'free_shortcutage'. |
| 2711 | * src/global.c (strtosc): Indent conditions consistently. |
Benno Schulenberg | 46fccb2 | 2014-02-28 11:49:12 +0000 | [diff] [blame] | 2712 | |
Benno Schulenberg | 22a1440 | 2014-02-28 11:24:12 +0000 | [diff] [blame] | 2713 | 2014-02-28 Eitan Adler <lists@eitanadler.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2714 | * src/nano.c (do_toggle): Constify a char pointer, to fix |
Benno Schulenberg | 22a1440 | 2014-02-28 11:24:12 +0000 | [diff] [blame] | 2715 | a warning when compiling with clang (and -Wall). |
| 2716 | |
Benno Schulenberg | 86fb8dd | 2014-02-27 19:57:52 +0000 | [diff] [blame] | 2717 | 2014-02-27 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2718 | * doc/man/nanorc.5: Relocate the misplaced unbind section, |
Benno Schulenberg | 86fb8dd | 2014-02-27 19:57:52 +0000 | [diff] [blame] | 2719 | and improve formatting. (Patch tweaked by Benno.) |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2720 | * doc/syntax/nanorc.nanorc: Add the bind/unbind commands, |
Benno Schulenberg | 9c11ba9 | 2014-02-27 20:19:31 +0000 | [diff] [blame] | 2721 | so they will look supported when using syntax highlighting. |
Benno Schulenberg | 86fb8dd | 2014-02-27 19:57:52 +0000 | [diff] [blame] | 2722 | |
Benno Schulenberg | 8e82d35 | 2014-02-27 08:48:54 +0000 | [diff] [blame] | 2723 | 2014-02-27 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2724 | * src/help.c (parse_help_input): Make 'Space' again an alias |
Benno Schulenberg | 8e82d35 | 2014-02-27 08:48:54 +0000 | [diff] [blame] | 2725 | for PageDown and 'Minus' for PageUp -- they were mistakenly |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 2726 | swapped during code conversion in r4223. |
Benno Schulenberg | 8e82d35 | 2014-02-27 08:48:54 +0000 | [diff] [blame] | 2727 | |
Benno Schulenberg | 5d5e930 | 2014-02-26 21:33:47 +0000 | [diff] [blame] | 2728 | 2014-02-26 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2729 | * doc/syntax/sh.nanorc: Highlight more shell builtins and |
Benno Schulenberg | 5d5e930 | 2014-02-26 21:33:47 +0000 | [diff] [blame] | 2730 | common commands, and rewrite the variable highlighting to be |
| 2731 | more exact and handle cases where string operations are used. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2732 | * doc/syntax/gentoo.nanorc: Update to newer EAPIs, and fold |
Benno Schulenberg | b2b7c2f | 2014-02-26 21:38:44 +0000 | [diff] [blame] | 2733 | in updated shell changes too. Much of this is based on work |
| 2734 | by Davide Pesavento <pesa@gentoo.org>. |
Benno Schulenberg | 8a2c245 | 2014-02-26 21:42:53 +0000 | [diff] [blame] | 2735 | * doc/syntax/makefile.nanorc: Highlight trailing whitespace. |
Benno Schulenberg | 5d5e930 | 2014-02-26 21:33:47 +0000 | [diff] [blame] | 2736 | |
Benno Schulenberg | cae7aea | 2014-02-26 20:37:40 +0000 | [diff] [blame] | 2737 | 2014-02-26 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 2738 | * src/global.c (shortcut_init): Put PageUp and PageDown |
Benno Schulenberg | cae7aea | 2014-02-26 20:37:40 +0000 | [diff] [blame] | 2739 | and also WhereIs and WhereIsNext together in the help lines |
| 2740 | of the file browser, and WriteOut and Readfile in the help |
| 2741 | lines of the main window -- related stuff in one column. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2742 | * doc/syntax/man.nanorc: Better colouring of manpage files. |
Benno Schulenberg | cae7aea | 2014-02-26 20:37:40 +0000 | [diff] [blame] | 2743 | |
Benno Schulenberg | b3306b2 | 2014-02-26 12:35:10 +0000 | [diff] [blame] | 2744 | 2014-02-26 Konstantin Abakumov <abakumov@Savannah> (tiny change) |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2745 | * doc/syntax/python.nanorc: Slightly improve the regexes for |
Benno Schulenberg | b3306b2 | 2014-02-26 12:35:10 +0000 | [diff] [blame] | 2746 | multiline strings in Python, reducing spillage. |
| 2747 | |
Benno Schulenberg | df7bba3 | 2014-02-26 11:38:30 +0000 | [diff] [blame] | 2748 | 2014-02-26 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2749 | * src/move.c (do_down), src/winio.c (edit_scroll): Scroll an |
Benno Schulenberg | df7bba3 | 2014-02-26 11:38:30 +0000 | [diff] [blame] | 2750 | extra amount when softwrap is on and the current line would |
| 2751 | otherwise run off the screen, and recalculate maxrows after |
| 2752 | each scroll. Solves bug #27550 reported by Hannes Schueller. |
| 2753 | |
Benno Schulenberg | ccb02f7 | 2014-02-25 20:53:50 +0000 | [diff] [blame] | 2754 | 2014-02-25 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2755 | * NEWS: Fix some typos and wordings, and rewrap a few lines. |
| 2756 | * src/global.c: Correcting some translator comments, removal |
Benno Schulenberg | 7f87393 | 2014-02-25 21:27:22 +0000 | [diff] [blame] | 2757 | of a few superfluous blank lines, and some pedantic comment |
| 2758 | tweaks (mainly adding missing periods and stars). |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2759 | * src/global.c: Ordering "Prev Word" and "Next Word" better. |
| 2760 | * src/global.c: Make ^G not only call help but also exit from |
Benno Schulenberg | db906ea | 2014-02-25 21:45:55 +0000 | [diff] [blame] | 2761 | it, and make ^C also exit from help and from the file browser. |
| 2762 | Also remove two redundant shortcut definitions. |
Benno Schulenberg | ccb02f7 | 2014-02-25 20:53:50 +0000 | [diff] [blame] | 2763 | |
Benno Schulenberg | fde9d4c | 2014-02-25 19:08:12 +0000 | [diff] [blame] | 2764 | 2014-02-25 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2765 | * src/Makefile.am: Rename 'INCLUDES' to 'AM_CPPFLAGS', since |
Benno Schulenberg | fde9d4c | 2014-02-25 19:08:12 +0000 | [diff] [blame] | 2766 | Automake changed the naming of these a while ago, and at least |
| 2767 | version 1.13 now starts warning about it. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2768 | * .gitignore: Ignore generated files (and bak files). |
Benno Schulenberg | fde9d4c | 2014-02-25 19:08:12 +0000 | [diff] [blame] | 2769 | |
Benno Schulenberg | 4ab142c | 2014-02-25 11:10:24 +0000 | [diff] [blame] | 2770 | 2014-02-25 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2771 | * src/files.c (write_lockfile, do_lockfile): Fix a typo reported |
Benno Schulenberg | ae092b9 | 2014-02-25 17:12:58 +0000 | [diff] [blame] | 2772 | by Jean-Philippe Guérard and inconsistent spelling of "lock file" |
| 2773 | reported by myself on nano-devel in March 2013. |
| 2774 | |
| 2775 | 2014-02-25 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2776 | * src/help.c (do_help_void): Call the help browser with the correct |
Benno Schulenberg | 4ab142c | 2014-02-25 11:10:24 +0000 | [diff] [blame] | 2777 | refresher for afterwards. This solves a bug reported by myself on |
| 2778 | nano-devel in August 2010: after typing ^R ^T ^W ^G ^X, the file |
| 2779 | being edited would get displayed instead of the list of files. |
| 2780 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2781 | 2014-02-24 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 5ac8651 | 2014-03-17 14:29:25 +0000 | [diff] [blame] | 2782 | * New linter functionality, rcfile option "linter". |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2783 | * src/global.c (shortcut_init): Actually free the sclist |
Chris Allegretta | 5575bfa | 2014-02-24 10:18:15 +0000 | [diff] [blame] | 2784 | if it was allocated before. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2785 | * src/winio.c (do_credits): Add Benno, my children, |
Benno Schulenberg | 5ac8651 | 2014-03-17 14:29:25 +0000 | [diff] [blame] | 2786 | update copyright info. |
Chris Allegretta | 5575bfa | 2014-02-24 10:18:15 +0000 | [diff] [blame] | 2787 | |
Benno Schulenberg | e9ee078 | 2014-02-23 10:12:50 +0000 | [diff] [blame] | 2788 | 2014-02-23 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2789 | * doc/syntax/*.nanorc: Comment and punctuation tweaks. |
| 2790 | * doc/syntax/sh.nanorc: Colour $VAR within a "" string |
Benno Schulenberg | 1dd389e | 2014-02-23 16:15:38 +0000 | [diff] [blame] | 2791 | but not within a '' string, and do not colour strings |
| 2792 | within comments. Fixes bug #29943. |
Benno Schulenberg | c4b344f | 2014-02-23 16:07:44 +0000 | [diff] [blame] | 2793 | |
| 2794 | 2014-02-23 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2795 | * src/text.c (do_undo, do_redo, add_undo): Make warning |
Benno Schulenberg | e9ee078 | 2014-02-23 10:12:50 +0000 | [diff] [blame] | 2796 | sentences in the status bar consistently end in a period. |
| 2797 | |
Benno Schulenberg | c4520d5 | 2014-02-22 19:36:35 +0000 | [diff] [blame] | 2798 | 2014-02-22 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2799 | * src/files.c (write_file): Add a missing malloc. |
Benno Schulenberg | 4abf944 | 2014-02-22 20:44:43 +0000 | [diff] [blame] | 2800 | Reported by an anonymous cross compiler, bug #30671. |
| 2801 | |
| 2802 | 2014-02-22 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2803 | * src/winio.c (get_mouseinput): Correct an oversight, |
Benno Schulenberg | c4520d5 | 2014-02-22 19:36:35 +0000 | [diff] [blame] | 2804 | use the proper 'do_up_void' and 'do_down_void' names. |
| 2805 | Reported by Zhou Z.J. <zzj666@Savannah>, bug #38268. |
| 2806 | |
Benno Schulenberg | 10a18c1 | 2014-02-22 18:57:24 +0000 | [diff] [blame] | 2807 | 2014-02-22 Lauri Kasanen <laxy@Savannah> (tiny change) |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2808 | * doc/syntax/html.nanorc: Also recognize htm as extension, |
Benno Schulenberg | 10a18c1 | 2014-02-22 18:57:24 +0000 | [diff] [blame] | 2809 | use cyan for tags (more visible on dark background), correct |
| 2810 | the expression for ampersand codes, and colour strings too. |
| 2811 | |
Benno Schulenberg | cf79e52 | 2014-02-22 16:57:23 +0000 | [diff] [blame] | 2812 | 2014-02-22 Dennis Jenkins <dennisjenkins@Savannah> (tiny change) |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2813 | * doc/syntax/c.nanorc: Also recognize c++ as extension. |
Benno Schulenberg | cf79e52 | 2014-02-22 16:57:23 +0000 | [diff] [blame] | 2814 | |
Benno Schulenberg | d6e3972 | 2014-02-22 16:26:30 +0000 | [diff] [blame] | 2815 | 2014-02-22 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2816 | * src/nano.c (move_to_filestruct): Update the data in 'mark_begin' |
Benno Schulenberg | 7249507 | 2014-02-22 16:46:27 +0000 | [diff] [blame] | 2817 | when mark and cursor are on the same line. This avoids a segfault |
| 2818 | after M-A, right, M-T, left, ^K, or a hang when the left is left out. |
| 2819 | |
| 2820 | 2014-02-22 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2821 | * src/nano.c (main): Add two conditions on ENABLE_NANORC. |
| 2822 | * src/files.c (close_buffer, do_insertfile): Likewise. |
Benno Schulenberg | d6e3972 | 2014-02-22 16:26:30 +0000 | [diff] [blame] | 2823 | This avoids compilation failure when nano is configured |
| 2824 | with both --disable-color and --disable-nanorc. |
| 2825 | |
Benno Schulenberg | 44e8583 | 2014-02-22 13:54:20 +0000 | [diff] [blame] | 2826 | 2014-02-22 Felipe Bugno <capent@Savannah> (tiny change) |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2827 | * doc/nanorc.sample.in: Add an include for CMake files. |
Benno Schulenberg | 44e8583 | 2014-02-22 13:54:20 +0000 | [diff] [blame] | 2828 | |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2829 | 2014-02-22 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2830 | * src/nano.c (allow_pending_sigwinch): A (char *) cast for pedantic purposes. |
| 2831 | * src/cut.c (do_cut_text): Wrap a reference to 'copy_text' in NANO_TINY. |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2832 | |
Benno Schulenberg | fb4e402 | 2014-02-22 10:56:52 +0000 | [diff] [blame] | 2833 | 2014-02-22 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2834 | * ChangeLog, NEWS, doc/faq.html: Fix typos, wording, and spacing. |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2835 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2836 | 2014-01-25 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2837 | * src/winio.c (set_modified): Check for a filename before trying to lock. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2838 | |
| 2839 | 2014-01-24 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 2418b94 | 2015-10-31 20:32:11 +0000 | [diff] [blame] | 2840 | * src/nano.c (copy_from_filestruct): Refresh the mark's pointer when |
| 2841 | stuff was pasted into the line where the mark is. This applies |
| 2842 | Savannah patch #8180 and fixes the segfault reported on the list: |
| 2843 | https://lists.gnu.org/archive/html/nano-devel/2012-07/msg00000.html. |
Chris Allegretta | c218415 | 2014-01-26 22:47:08 +0000 | [diff] [blame] | 2844 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2845 | 2014-01-01 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2846 | * doc/texinfo/nano.texi: Change '@sp4' since makeinfo 5.1 hates the |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2847 | lack of spacing. Fixes bug #40103 reported by flapane@Savannah. |
Chris Allegretta | bac696a | 2014-01-03 02:11:04 +0000 | [diff] [blame] | 2848 | Also change SVN status to non-binary so diffs work. |
| 2849 | |
Benno Schulenberg | 6fef920 | 2016-02-23 12:49:08 +0000 | [diff] [blame] | 2850 | 2014-01-01 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2851 | * src/global.c (strtokeytype): Check for lower-case 'f' for defining F-key |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2852 | sequences for consistency (previously was two checks for upper case 'F'). |
| 2853 | Fixes bug #40815 reported by David Binderman <dcb314@Savannah>. |
Chris Allegretta | 18b1092 | 2014-01-01 22:21:38 +0000 | [diff] [blame] | 2854 | |
Chris Allegretta | d1336f6 | 2013-06-14 02:48:59 +0000 | [diff] [blame] | 2855 | 2013-06-13 Matthew Fischer <mfisch@Savannah> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2856 | * doc/syntax/c.nanorc: Add the 'auto' keyword. |
Chris Allegretta | d1336f6 | 2013-06-14 02:48:59 +0000 | [diff] [blame] | 2857 | |
Chris Allegretta | bf406ff | 2013-06-14 02:44:54 +0000 | [diff] [blame] | 2858 | 2013-06-13 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2859 | * src/global.c (first_sc_for): Try to more consistently display keystrokes, |
Benno Schulenberg | f26e88b | 2016-06-17 10:49:29 +0200 | [diff] [blame] | 2860 | useful when the user has rebound a bunch of them. |
Chris Allegretta | bf406ff | 2013-06-14 02:44:54 +0000 | [diff] [blame] | 2861 | |
Chris Allegretta | 2e46cc1 | 2013-06-14 02:31:38 +0000 | [diff] [blame] | 2862 | 2013-06-13 Kamil Dudka <kdudka@redhat.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2863 | * doc/man/nano.1: Actually document the -P (--poslog) option. |
Chris Allegretta | 2e46cc1 | 2013-06-14 02:31:38 +0000 | [diff] [blame] | 2864 | |
Chris Allegretta | 6251358 | 2013-04-12 06:43:06 +0000 | [diff] [blame] | 2865 | 2013-04-12 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 2866 | * src/files.c (do_insertfile): Check for saved cursor position when inserting a |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2867 | file as well. Fixes Savannah bug #38600 reported by Craig Barnes. |
Chris Allegretta | 2d34586 | 2013-04-13 02:56:03 +0000 | [diff] [blame] | 2868 | * src/files.c (write_file): Don't re-stat() the file if we're writing out |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2869 | a marked portion (especially because it would give the wrong stat info). |
| 2870 | Part two of issue reported by Benno Schulenberg. |
Chris Allegretta | 6251358 | 2013-04-12 06:43:06 +0000 | [diff] [blame] | 2871 | |
Chris Allegretta | 4cc4b9b | 2013-04-08 03:19:21 +0000 | [diff] [blame] | 2872 | 2013-04-07 Michael Berg <mike@berg-net.us> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 2873 | * do_cut_text: Fix copying (not cutting) text setting Modified state. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2874 | Partly fixes an issue reported by Benno Schulenberg. |
Chris Allegretta | 4cc4b9b | 2013-04-08 03:19:21 +0000 | [diff] [blame] | 2875 | |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2876 | GNU nano 2.3.2 - 2013.03.23 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 2877 | |
Chris Allegretta | 22c83ec | 2013-03-17 22:09:38 +0000 | [diff] [blame] | 2878 | 2013-03-17 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 2879 | * Revert r4547 as we should have a new release and the overlap code is not yet |
| 2880 | ready for public consumption. |
Chris Allegretta | 22c83ec | 2013-03-17 22:09:38 +0000 | [diff] [blame] | 2881 | |
Chris Allegretta | 67acf2c | 2013-01-20 07:51:34 +0000 | [diff] [blame] | 2882 | 2013-01-20 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 2883 | * src/text.c (do_histify): Don't allow sigwinch to be received while justifying |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2884 | as that puts us into a wacky state. Fixes crash on justify by Joshua Rogers. |
Chris Allegretta | a149549 | 2013-01-20 17:57:04 +0000 | [diff] [blame] | 2885 | * configure.ac: Added --with-wordbounds option to let cross compilers force |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2886 | whether their target system support GNU-style word boundaries or not. |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 2887 | Originally reported by Dave Festing. |
Chris Allegretta | 2072b74 | 2013-01-21 03:40:08 +0000 | [diff] [blame] | 2888 | * doc/man/nanorc.5: Fix typo in softwrap description, reported by |
| 2889 | cbart387@Savannah. |
Chris Allegretta | 67acf2c | 2013-01-20 07:51:34 +0000 | [diff] [blame] | 2890 | |
Chris Allegretta | 29479ca | 2013-01-19 07:18:29 +0000 | [diff] [blame] | 2891 | 2013-01-19 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 2892 | * configure.ac: Make ncurses checking to set $LIBS and check the ncursesw lib |
| 2893 | actually works before defaulting to it over ncurses! Shock! |
Chris Allegretta | 29479ca | 2013-01-19 07:18:29 +0000 | [diff] [blame] | 2894 | |
Chris Allegretta | b7a2dfb | 2013-01-13 08:37:54 +0000 | [diff] [blame] | 2895 | 2013-01-13 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2896 | * src/utils.c (parse_num): Initialize errno before calling strtol(). Fixes issue |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 2897 | where trying to go to a line number too long will break legitimate goto-lines |
| 2898 | for the remainder of the editing session, reported by Joshua Rogers. |
Chris Allegretta | b7a2dfb | 2013-01-13 08:37:54 +0000 | [diff] [blame] | 2899 | |
| 2900 | 2013-01-09 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 16fe178 | 2014-02-27 20:54:26 +0000 | [diff] [blame] | 2901 | * configure.ac: Check for ncursesw5-config and base $CPPFLAGS on it. |
Chris Allegretta | f4e26d1 | 2013-01-10 03:51:24 +0000 | [diff] [blame] | 2902 | |
Chris Allegretta | 2e4228f | 2013-01-10 03:29:59 +0000 | [diff] [blame] | 2903 | 2013-01-09 Fabian Groffen <grobian@Savannah> |
Benno Schulenberg | 16fe178 | 2014-02-27 20:54:26 +0000 | [diff] [blame] | 2904 | * configure.ac, src/nano.h: Make the search for ncursesw more generalized. |
Chris Allegretta | 2e4228f | 2013-01-10 03:29:59 +0000 | [diff] [blame] | 2905 | |
Chris Allegretta | a016f00 | 2013-01-03 05:17:36 +0000 | [diff] [blame] | 2906 | 2013-01-02 David Benjamin <davidben@Savannah> |
Benno Schulenberg | 16fe178 | 2014-02-27 20:54:26 +0000 | [diff] [blame] | 2907 | * src/search.c (parse_syntax): Fix blatantly and dangerously incorrect code |
| 2908 | for deleting old syntaxes. |
Chris Allegretta | a016f00 | 2013-01-03 05:17:36 +0000 | [diff] [blame] | 2909 | |
Chris Allegretta | 2a76b43 | 2013-01-03 04:50:49 +0000 | [diff] [blame] | 2910 | 2013-01-02 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2911 | * src/files.c (cwd_tab_completion): Remove unnecessary variables. |
| 2912 | * src/search.c (search_init): Fix gcc complaints on certain versions. |
Chris Allegretta | 2a76b43 | 2013-01-03 04:50:49 +0000 | [diff] [blame] | 2913 | |
Chris Allegretta | 636e76a | 2013-01-03 03:47:26 +0000 | [diff] [blame] | 2914 | 2013-01-02 Eitan Adler <lists@eitanadler.com> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2915 | * configure.ac: Remove unnecessary checks. |
| 2916 | * src/nano.h, NEWS: Fix redundant wording. |
Chris Allegretta | 636e76a | 2013-01-03 03:47:26 +0000 | [diff] [blame] | 2917 | |
Chris Allegretta | bf88d27 | 2013-01-01 03:24:39 +0000 | [diff] [blame] | 2918 | 2012-12-31 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 2919 | * src/*: Introduce (basic) vim-style file locks. Does not allow vim to recover |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2920 | our changes, and just lets a vim user know we're editing a file. Command-line |
| 2921 | option "-G" or "--locking", nanorc option "locking". New functions in |
| 2922 | src/files.c: do_lockfile(), write_lockfile(), and delete_lockfile(). |
Chris Allegretta | bf88d27 | 2013-01-01 03:24:39 +0000 | [diff] [blame] | 2923 | |
Chris Allegretta | d84849e | 2012-02-06 01:10:45 +0000 | [diff] [blame] | 2924 | 2012-02-05 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2925 | * src/*: Fix overlapping strings highlighting each other. New variables in edit_draw |
| 2926 | (slmatcharray, pbegin, paintok), new logic (with repeated setting of values in the |
| 2927 | array but it's BFI after all). FIXME: Need to create a new 'overlap'. |
| 2928 | * src/*: Fix a silly issue with the argument to nregcomp, as it's confusing to the caller. |
| 2929 | * src/nano.h: Change the color types to a compiler macro (COLORWIDTH), may not actually |
| 2930 | even be worth doing, but someday who knows how wide a color curses implementation might |
Chris Allegretta | d84849e | 2012-02-06 01:10:45 +0000 | [diff] [blame] | 2931 | be, and maybe we'll even start checking for it in autoconf! |
| 2932 | |
Chris Allegretta | 8d7402f | 2011-05-11 04:54:39 +0000 | [diff] [blame] | 2933 | GNU nano 2.3.1 - 2011.05.10 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 2934 | |
Chris Allegretta | daeab05 | 2011-05-10 05:43:08 +0000 | [diff] [blame] | 2935 | 2011-05-10 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2936 | * text.c (do_enter): Only increment totsize by the auto-indented amount, since the previous |
| 2937 | line's size was already counted. Fixes bug reported by Robert Spanjaard. |
Chris Allegretta | daeab05 | 2011-05-10 05:43:08 +0000 | [diff] [blame] | 2938 | |
Chris Allegretta | 090e2cf | 2011-05-08 04:23:24 +0000 | [diff] [blame] | 2939 | 2011-05-08 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2940 | * doc/syntax/Makefile.am: Finally get around to sorting the syntax file list. |
Chris Allegretta | 090e2cf | 2011-05-08 04:23:24 +0000 | [diff] [blame] | 2941 | |
| 2942 | 2011-05-08 Matthew Wild <mattj100@Savannah> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2943 | * doc/syntax/spec.nanorc: New lua syntax highlighting config. |
Chris Allegretta | 090e2cf | 2011-05-08 04:23:24 +0000 | [diff] [blame] | 2944 | |
Chris Allegretta | 7a70767 | 2011-03-29 04:10:11 +0000 | [diff] [blame] | 2945 | 2011-03-28 Asterios Dramis <asterios.dramis@gmail.com> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2946 | * doc/syntax/spec.nanorc: New RPM spec file highlighting config. |
Chris Allegretta | 7a70767 | 2011-03-29 04:10:11 +0000 | [diff] [blame] | 2947 | |
Chris Allegretta | f921743 | 2011-03-13 06:05:19 +0000 | [diff] [blame] | 2948 | 2011-03-12 Chris Allegretta <chrisa@asty.org> |
| 2949 | * po/*: Sync latest translation fixes, add an update_linguas.sh script. Rename |
| 2950 | existing update.pl to update_sources.pl to make it more specific. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2951 | |
Chris Allegretta | fda622c | 2011-03-05 05:01:13 +0000 | [diff] [blame] | 2952 | 2011-03-04 Chris Allegretta <chrisa@asty.org> |
| 2953 | * color.c (color_update): Add check for whether the file even exists |
| 2954 | before we try to run the magic check on it. Fixes error messages to stderr |
| 2955 | when reading in files that don't exist, reported by Mike Frysinger. |
| 2956 | |
Chris Allegretta | bccf2fa | 2011-03-03 16:23:27 +0000 | [diff] [blame] | 2957 | 2011-03-03 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2958 | * color.c (color_update): Remove unneeded debugging message from libmagic commit. |
| 2959 | Fixed extra messages going to stderr, reported by Mike Frysinger. |
Chris Allegretta | bccf2fa | 2011-03-03 16:23:27 +0000 | [diff] [blame] | 2960 | |
| 2961 | GNU nano 2.3.0 - 2011.02.26 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 2962 | |
Chris Allegretta | 3bd12e3 | 2011-02-26 14:22:37 +0000 | [diff] [blame] | 2963 | 2011-02-26 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2964 | * Change RAW in function_type enum to RAWINPUT, to fix compilation on AIX, |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2965 | reported by Richard G Daniel <skunk@iskunk.org>. |
Chris Allegretta | 3bd12e3 | 2011-02-26 14:22:37 +0000 | [diff] [blame] | 2966 | |
Chris Allegretta | 3459e4f | 2011-02-24 02:47:25 +0000 | [diff] [blame] | 2967 | 2011-02-23 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2968 | * Fix some more severe warnings from 'g++ -pedantic', from patch originally |
| 2969 | by Eitan Adler <lists@eitanadler.com>. |
Chris Allegretta | 3459e4f | 2011-02-24 02:47:25 +0000 | [diff] [blame] | 2970 | |
Chris Allegretta | 20d9329 | 2011-02-24 02:14:30 +0000 | [diff] [blame] | 2971 | 2011-02-23 Kamil Dudka <kdudka@redhat.com> |
Benno Schulenberg | 5270dd8 | 2016-06-25 10:29:09 +0200 | [diff] [blame] | 2972 | * doc/man/nanorc.5: Fix small typo. Report and original patch by John Bradshaw. |
Chris Allegretta | 20d9329 | 2011-02-24 02:14:30 +0000 | [diff] [blame] | 2973 | |
Chris Allegretta | 154136a | 2011-02-23 03:09:23 +0000 | [diff] [blame] | 2974 | 2011-02-22 Chris Allegretta <chrisa@asty.org> |
| 2975 | * color.c (nfreeregex): Fix that we were trying to set the pointer passed by value |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2976 | to NULL. Fixes crashes on file save reported by Ken Tyler and Matthieu Lejeune. |
Chris Allegretta | 154136a | 2011-02-23 03:09:23 +0000 | [diff] [blame] | 2977 | |
Chris Allegretta | 8e2a930 | 2011-02-18 07:30:57 +0000 | [diff] [blame] | 2978 | 2011-02-18 Chris Allegretta <chrisa@asty.org> |
| 2979 | * New saved cursor position history option. Command line option -P or --poslog, rc file |
| 2980 | entry "poslog". Search history changes to ~/.nano/search_history, cursor position log |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 2981 | is ~/.nano/filepos_history. Added checks to move the legacy .nano_history file to the |
| 2982 | new location. Several new functions to files.c: load_poshistory(), save_poshistory(), |
Chris Allegretta | 8e2a930 | 2011-02-18 07:30:57 +0000 | [diff] [blame] | 2983 | check_poshistory(), update_poshistory(), and reworking of histfilename(). New FAQ entry |
| 2984 | 4.15 discussing the change and offering an interoperability workaround. |
Chris Allegretta | 392c23c | 2011-02-18 07:49:28 +0000 | [diff] [blame] | 2985 | * files.c (load_history): Set last_search to the last search value we loaded from history, |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 2986 | so do_research will succeed without needing to manually load the last search in. Fixes |
Chris Allegretta | 154136a | 2011-02-23 03:09:23 +0000 | [diff] [blame] | 2987 | bug reported by Matthieu Lejeune. |
Chris Allegretta | 8e2a930 | 2011-02-18 07:30:57 +0000 | [diff] [blame] | 2988 | |
Chris Allegretta | b00d0b9 | 2011-02-13 04:23:10 +0000 | [diff] [blame] | 2989 | 2011-02-12 Chris Allegretta <chrisa@asty.org> |
| 2990 | * Initial libmagic implementation, adapted from Eitan Adler <eitanadlerlist@gmail.com>. |
| 2991 | New nanorc entry "magic" to enable this functionality, nanorc file and man page updates. |
| 2992 | |
Chris Allegretta | 3d41118 | 2011-02-07 02:06:20 +0000 | [diff] [blame] | 2993 | 2011-02-06 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 2994 | * src/*: Retire iso_me_harder_funcmap based on suggestion by <bernd.spaeth@gmx.net>. |
Chris Allegretta | 637daa8 | 2011-02-07 14:45:56 +0000 | [diff] [blame] | 2995 | This does add 20KB to nano's executable size but it gets rid of a lot of indirection |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 2996 | that makes people's stomach turn. There are several new stub functions and a need of |
| 2997 | more tidying as a result of this. |
Chris Allegretta | 637daa8 | 2011-02-07 14:45:56 +0000 | [diff] [blame] | 2998 | * files.c (write_file): Fix problems with writing the backup file (albeit interactively) |
Chris Allegretta | 3d41118 | 2011-02-07 02:06:20 +0000 | [diff] [blame] | 2999 | with new function prompt_failed_backupwrite(), allows more secure handling of problems |
| 3000 | with failing to write the backup file compared to 'allow_insecure_backup'. |
Benno Schulenberg | a77efae | 2015-12-11 16:55:07 +0000 | [diff] [blame] | 3001 | * winio.c (edit_redraw): Remove unused variable. |
Chris Allegretta | 3d41118 | 2011-02-07 02:06:20 +0000 | [diff] [blame] | 3002 | |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 3003 | GNU nano 2.2.6 - 2010.11.22 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3004 | |
Chris Allegretta | d5b1c7c | 2010-11-15 06:59:09 +0000 | [diff] [blame] | 3005 | 2010-11-15 Chris Allegretta <chrisa@asty.org> |
| 3006 | * Add a section to the FAQ about using nanorc on Win32 systems. |
| 3007 | |
Chris Allegretta | ab53864 | 2010-11-12 06:22:12 +0000 | [diff] [blame] | 3008 | 2010-11-12 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3009 | * Add check for RESTRICTED mode back to speller, suspend and insert file routines, |
| 3010 | since adding key bindings broke the fact that they should be disabled in restricted\ |
| 3011 | mode. Fixes Savannah bug #31625 reported by Charlie Somerville. |
Chris Allegretta | ab53864 | 2010-11-12 06:22:12 +0000 | [diff] [blame] | 3012 | |
Chris Allegretta | 9b1c868 | 2010-08-06 01:20:51 +0000 | [diff] [blame] | 3013 | GNU nano 2.2.5 - 2010.08.05 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3014 | |
Benno Schulenberg | dfbabc0 | 2016-06-21 22:01:15 +0200 | [diff] [blame] | 3015 | 2010-08-04 Lauri Kasanen <curaga@operamail.com> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3016 | * doc/syntax/mgp.nanorc: New Magicpoint syntax highlighting definition. |
Chris Allegretta | 14d7c5d | 2010-08-04 13:47:23 +0000 | [diff] [blame] | 3017 | |
Chris Allegretta | 7a1b1ff | 2010-08-04 13:37:48 +0000 | [diff] [blame] | 3018 | 2010-08-04 Peter <exodus@savannah> |
| 3019 | * doc/syntax/tex.nanorc: No longer highlight escaped comments |
| 3020 | |
Chris Allegretta | 0acca27 | 2010-06-21 03:10:10 +0000 | [diff] [blame] | 3021 | 2010-06-20 Chris Allegretta <chrisa@asty.org> |
| 3022 | * New rc file option allow_insecure_backup, allows the previous security |
| 3023 | fixes for backup files to be overridden if you're really positive |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3024 | you want to. Fixes Savannah bug #29732 by Brian Szymanski <skibrianski>. |
Chris Allegretta | 0acca27 | 2010-06-21 03:10:10 +0000 | [diff] [blame] | 3025 | |
Chris Allegretta | 86be3af | 2010-05-23 04:30:23 +0000 | [diff] [blame] | 3026 | 2010-05-23 Chris Allegretta <chrisa@asty.org> |
| 3027 | * files.c (write_file): Don't even try to chown() the backup |
| 3028 | file unless we're root, since it's probably going to fail if |
| 3029 | we're editing a file we don't own. Fixes Savannah bug |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3030 | #29514: [nano 2.2.2] backup should ignore chown errors. |
Chris Allegretta | 86be3af | 2010-05-23 04:30:23 +0000 | [diff] [blame] | 3031 | |
Chris Allegretta | a2c5172 | 2010-04-15 07:40:41 +0000 | [diff] [blame] | 3032 | GNU nano 2.2.4 - 2010.04.15 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3033 | |
Benno Schulenberg | dfbabc0 | 2016-06-21 22:01:15 +0200 | [diff] [blame] | 3034 | 2010-04-14 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 29e2012 | 2010-04-14 21:55:39 +0000 | [diff] [blame] | 3035 | * doc/man/nano.1,nanorc.5: Remove the backup file warnings now |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 3036 | that a sufficient security fix exists for the backup file code. |
Chris Allegretta | 29e2012 | 2010-04-14 21:55:39 +0000 | [diff] [blame] | 3037 | |
Chris Allegretta | db9d983 | 2010-04-14 06:03:12 +0000 | [diff] [blame] | 3038 | 2010-04-14 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3039 | * text.c (do_alt_speller): Skip invoking the alt speller if the file size |
| 3040 | is 0 bytes. Fixes Savannah bug #29393 reported by Mike Frysinger. |
Benno Schulenberg | b55ce29 | 2014-02-22 10:28:58 +0000 | [diff] [blame] | 3041 | * files.c (write_file): Don't set current_stat when tmp == TRUE, check |
Chris Allegretta | db9d983 | 2010-04-14 06:03:12 +0000 | [diff] [blame] | 3042 | whether current_stat is set when trying to use it, and don't do the |
| 3043 | modification check if the filename changed, since we have no way |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3044 | of knowing about it in that case. Fixes Savannah bug #29392, reported |
Chris Allegretta | c859049 | 2010-04-14 21:53:59 +0000 | [diff] [blame] | 3045 | by Mike Frysinger. [CVE-2010-1160] |
Chris Allegretta | 181c4a9 | 2010-04-14 03:14:40 +0000 | [diff] [blame] | 3046 | |
Chris Allegretta | 053fabd | 2010-04-14 02:38:56 +0000 | [diff] [blame] | 3047 | 2010-04-13 Felipe Bugno <necron@bol.com.br> |
| 3048 | * doc/syntax/cmake.nanorc: Added cmake syntax highlighting file. |
| 3049 | |
Chris Allegretta | 7f61a6c | 2010-04-09 15:01:51 +0000 | [diff] [blame] | 3050 | 2010-04-09 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3051 | * files.c (do_writeout): Better security fixes for backup file writing, |
| 3052 | mangled from submission by Dan Rosenberg <dan.j.rosenberg at gmail>. |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 3053 | [CVE-2010-1161] |
Chris Allegretta | 7f61a6c | 2010-04-09 15:01:51 +0000 | [diff] [blame] | 3054 | |
| 3055 | 2010-04-08 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3056 | * files.c (do_writeout): Previous fixes should not cause a crash |
Chris Allegretta | 83a0e90 | 2010-04-08 02:22:53 +0000 | [diff] [blame] | 3057 | when saving a new file. Discovered by Mike Frysinger <vapier@gentoo.org>. |
| 3058 | |
Chris Allegretta | e68616b | 2010-04-07 06:20:55 +0000 | [diff] [blame] | 3059 | 2010-04-07 Chris Allegretta <chrisa@asty.org> |
| 3060 | * doc/man/nano.1,nanorc.5: Add warnings about using backup |
| 3061 | mode as root due to the Dan Rosenberg security analysis. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3062 | |
Chris Allegretta | cdb5b16 | 2010-04-03 02:39:18 +0000 | [diff] [blame] | 3063 | 2010-04-02 Chris Allegretta <chrisa@asty.org> |
| 3064 | * files.c (do_writeout): Expand modification check to include both the |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3065 | original file's device ID and inode number as reasons to warn the |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 3066 | user that the file has been modified. Also abort on writing a backup |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3067 | file when its owner doesn't match the edited file. Based on security |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3068 | analysis on nano by Dan Rosenberg. [CVE-2010-1160] |
Chris Allegretta | c859049 | 2010-04-14 21:53:59 +0000 | [diff] [blame] | 3069 | |
Chris Allegretta | 35b5976 | 2010-03-21 05:31:43 +0000 | [diff] [blame] | 3070 | 2010-03-21 Chris Allegretta <chrisa@asty.org> |
| 3071 | * nano.c (page_stdin et al): Don't attempt to reset/reopen the terminal |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3072 | settings when reading stdin if it was aborted with SIGINT. May fix |
Benno Schulenberg | 41e19a1 | 2014-06-29 09:32:04 +0000 | [diff] [blame] | 3073 | Savannah bug #29114 reported by Mike Frysinger. |
Chris Allegretta | 35b5976 | 2010-03-21 05:31:43 +0000 | [diff] [blame] | 3074 | |
Chris Allegretta | fe2042d | 2010-03-21 05:04:03 +0000 | [diff] [blame] | 3075 | 2010-03-21 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3076 | * doc/syntax/c.nanorc: Add additional support for #include_next and #pragma. |
Chris Allegretta | fe2042d | 2010-03-21 05:04:03 +0000 | [diff] [blame] | 3077 | |
Chris Allegretta | b5e7647 | 2010-03-21 04:35:17 +0000 | [diff] [blame] | 3078 | 2010-03-21 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3079 | * move.c (do_page_up, do_page_down()): Explicitly set current_y to 0 when |
| 3080 | paging up when not in smooth scroll mode, as previous fixes would otherwise |
| 3081 | cause the cursor to not really be moved to the top of the screen. |
Chris Allegretta | b5e7647 | 2010-03-21 04:35:17 +0000 | [diff] [blame] | 3082 | |
Chris Allegretta | 42bd871 | 2010-03-07 19:35:46 +0000 | [diff] [blame] | 3083 | 2010-03-07 Chris Allegretta <chrisa@asty.org> |
| 3084 | * configure.ac, nano.c (handle_sigwinch): Create check for whether LINES and |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3085 | COLS can safely be redefined. Fixes compilation issues with Cygwin, and likely |
| 3086 | with newer versions of ncurses. Fixes Savannah bug #28984 reported by Andy Koppe |
| 3087 | and by Eric Oliver via mailing list. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3088 | * winio.c (get_mouseinput): Fix stray semicolon in code, also reported in |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3089 | bug #28984. |
Chris Allegretta | 42bd871 | 2010-03-07 19:35:46 +0000 | [diff] [blame] | 3090 | |
Chris Allegretta | f81d6fe | 2010-02-11 06:13:55 +0000 | [diff] [blame] | 3091 | GNU nano 2.2.3 - 2010.02.11 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3092 | |
Chris Allegretta | 1456a10 | 2010-01-29 03:40:58 +0000 | [diff] [blame] | 3093 | 2010-01-28 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3094 | * move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cursor |
| 3095 | position. Part one of fix for Savannah bug #21178 by Mike Frysinger. |
Chris Allegretta | 1456a10 | 2010-01-29 03:40:58 +0000 | [diff] [blame] | 3096 | |
| 3097 | GNU nano 2.2.2 - 2010.01.17 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3098 | |
Chris Allegretta | 4e621b5 | 2010-01-18 00:24:09 +0000 | [diff] [blame] | 3099 | 2010-01-17 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3100 | * nano.c (main), prompt.c (do_statusbar_input): Handle problems with an unmapped |
| 3101 | function due to key rebinding, fixes crashes on FreeBSD reported by Eitan |
Chris Allegretta | 4e621b5 | 2010-01-18 00:24:09 +0000 | [diff] [blame] | 3102 | Adler <eitanadlerlist@gmail.com>. |
| 3103 | |
Chris Allegretta | 6cf05d4 | 2010-01-14 06:32:37 +0000 | [diff] [blame] | 3104 | 2010-01-14 Chris Allegretta <chrisa@asty.org> |
| 3105 | * files.c (do_writeout): Fix for crash / incorrect external modification warning |
| 3106 | due to earlier fix in r4467. |
| 3107 | |
Chris Allegretta | 1a7a91b | 2010-01-13 03:21:19 +0000 | [diff] [blame] | 3108 | 2010-01-12 Chris Allegretta <chrisa@asty.org> |
| 3109 | * move.c (do_page_up, do_page_down): Fix issues with not enough scrolling down/up |
| 3110 | and cursor centering. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3111 | * winio.c (edit_scroll): Remove lots of needless checking of line length for |
Chris Allegretta | 1a7a91b | 2010-01-13 03:21:19 +0000 | [diff] [blame] | 3112 | soft wrapping code. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3113 | * winio.c (edit_update): Remove extra code for when updating with old_current outside |
Chris Allegretta | 1a7a91b | 2010-01-13 03:21:19 +0000 | [diff] [blame] | 3114 | of the new buffer boundary and centering issues. |
| 3115 | |
Chris Allegretta | df8c3de | 2010-01-05 23:35:50 +0000 | [diff] [blame] | 3116 | 2010-01-05 Tito <farmatito@tiscali.it> |
Chris Allegretta | 1a7a91b | 2010-01-13 03:21:19 +0000 | [diff] [blame] | 3117 | * search.c (update_history): Fix bad length check causing search crash on armel platform. |
Chris Allegretta | df8c3de | 2010-01-05 23:35:50 +0000 | [diff] [blame] | 3118 | |
Chris Allegretta | 374216f | 2010-01-04 19:00:55 +0000 | [diff] [blame] | 3119 | 2010-01-04 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 1a7a91b | 2010-01-13 03:21:19 +0000 | [diff] [blame] | 3120 | * winio.c: edit_update, edit_redraw: Fix search not scrolling to the middle of the screen |
Chris Allegretta | 374216f | 2010-01-04 19:00:55 +0000 | [diff] [blame] | 3121 | (reported by alpha@qzx.com) and places where we rely on maxrows but should not. |
| 3122 | |
Jordi Mallach | fc6ef3e | 2009-12-26 01:58:50 +0000 | [diff] [blame] | 3123 | 2009-12-26 Jordi Mallach <jordi@gnu.org> |
| 3124 | * doc/man/nano.1: Avoid a groff warning by prepending a zero-width |
| 3125 | space to a line starting with '. |
| 3126 | |
Chris Allegretta | 8d41fb8 | 2009-12-23 05:03:09 +0000 | [diff] [blame] | 3127 | 2009-12-22 Chris Allegretta <chrisa@asty.org> |
| 3128 | * files.c (write_file): Fix compatibility with previous stat fix and tiny mode. |
| 3129 | |
| 3130 | 2009-12-22 David Lawrence Ramsey <pooka109@gmail.com> |
| 3131 | * global.c: Add new strings for forward/back in the file browser. New variables |
| 3132 | nano_forwardfile_msg and nano_backfile_msg. |
| 3133 | |
Chris Allegretta | 3c7dda6 | 2009-12-20 05:55:41 +0000 | [diff] [blame] | 3134 | 2009-12-20 Chris Allegretta <chrisa@asty.org> |
| 3135 | * files.c (is_file_writable): remove assert check for f, since it's not |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3136 | initialized at the time. Fixes Savannah bug #28309, reported by Zoltan Kovacs. |
Chris Allegretta | 3c7dda6 | 2009-12-20 05:55:41 +0000 | [diff] [blame] | 3137 | |
Chris Allegretta | 869aca4 | 2009-12-20 05:46:35 +0000 | [diff] [blame] | 3138 | 2009-12-20 Brian Szymanski <skibrianski via Savannah> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3139 | * src/files.c (write_file): Check whether stat struct exists, and if not, use the |
| 3140 | just obtained stat data. Fixes Ubuntu bug 471568, "reproducible crash in nano on |
| 3141 | trying to save to a file different than the one specified on the command line". |
Chris Allegretta | 869aca4 | 2009-12-20 05:46:35 +0000 | [diff] [blame] | 3142 | |
Chris Allegretta | d9be86f | 2009-12-15 18:07:17 +0000 | [diff] [blame] | 3143 | 2009-12-15 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3144 | * doc/nanorc.sample.in: Remove erroneous 'set suspendenable' as it's actually a |
Chris Allegretta | d9be86f | 2009-12-15 18:07:17 +0000 | [diff] [blame] | 3145 | key binding (e.g. 'bind M-Z suspendenable all') and not a settable flag. Fixes |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3146 | Savannah bug #28299 reported by Mike Frysinger. |
Chris Allegretta | d9be86f | 2009-12-15 18:07:17 +0000 | [diff] [blame] | 3147 | |
Chris Allegretta | 560a8cd | 2009-12-13 03:31:00 +0000 | [diff] [blame] | 3148 | GNU nano 2.2.1 - 2009.12.12 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3149 | |
Chris Allegretta | a8bc492 | 2009-12-12 22:21:20 +0000 | [diff] [blame] | 3150 | 2009-12-12 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3151 | * text.c (do_delete), nano.c (do_output): Add check for length of current line |
Chris Allegretta | a8bc492 | 2009-12-12 22:21:20 +0000 | [diff] [blame] | 3152 | before and after adding/deleting text, and do full refresh if it is now |
| 3153 | a different multiple of COLS. Also get rid of superfluous do_refresh |
| 3154 | vars now that we have edit_refresh_needed. |
| 3155 | |
| 3156 | 2009-12-09 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3157 | * global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to |
Chris Allegretta | f387f33 | 2009-12-09 17:09:37 +0000 | [diff] [blame] | 3158 | research in either main menu or browser. |
| 3159 | |
Chris Allegretta | 2c7b506 | 2009-12-09 16:51:43 +0000 | [diff] [blame] | 3160 | 2009-12-09 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3161 | * files.c (read_file): Add parameter for whether we should even try to check |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3162 | file writability, as the message is useless when we're inserting into an |
| 3163 | existing buffer. Fixes Savannah bug #28219. |
Chris Allegretta | 2c7b506 | 2009-12-09 16:51:43 +0000 | [diff] [blame] | 3164 | |
Chris Allegretta | 5b25e07 | 2009-12-07 12:34:23 +0000 | [diff] [blame] | 3165 | 2009-12-07 David Lawrence Ramsey <pooka109@gmail.com> |
| 3166 | * global.c (shortcut_init): Many fixes for keybindings code oversights, including |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3167 | restore page up/down and GotoDir in browser. |
| 3168 | * browser.c (do_browser): Fix breaking out of a submenu (e.g. gotodir), it broke |
| 3169 | out of the browser altogether. |
Chris Allegretta | 5b25e07 | 2009-12-07 12:34:23 +0000 | [diff] [blame] | 3170 | * doc/nanorc.sample.in: Add missing entries for fortran/ObjC/OCaml entries. |
| 3171 | |
Chris Allegretta | b27b3a1 | 2009-12-04 04:29:55 +0000 | [diff] [blame] | 3172 | 2009-12-03 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3173 | * global.c (shortcut_init): Remove help shortcut from help shortcut list. :-) Tweaked |
Chris Allegretta | b27b3a1 | 2009-12-04 04:29:55 +0000 | [diff] [blame] | 3174 | to reorder exit shortcut to end of list to not mess up prev/next shortcut symmetry. |
| 3175 | |
Chris Allegretta | 9646616 | 2009-12-04 03:46:04 +0000 | [diff] [blame] | 3176 | 2009-12-03 Eitan Adler <eitanadlerlist@gmail.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3177 | * doc/syntax/makefile.nanorc: Fix poor regex for all alpha characters which sometimes |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3178 | leads to error messages, reported by gibboris@gmail.com. |
Chris Allegretta | 9646616 | 2009-12-04 03:46:04 +0000 | [diff] [blame] | 3179 | |
Chris Allegretta | c9f0799 | 2009-12-03 03:12:00 +0000 | [diff] [blame] | 3180 | 2009-12-02 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3181 | * text.c (add_undo, do_undo, do_redo): Do not execute cases for SPLIT when |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3182 | DISABLE_WRAPPING is defined. Fixes Savannah bug #28151 (anon). |
Chris Allegretta | c9f0799 | 2009-12-03 03:12:00 +0000 | [diff] [blame] | 3183 | |
Jordi Mallach | 42a3904 | 2009-12-02 22:47:57 +0000 | [diff] [blame] | 3184 | 2009-12-02 Jordi Mallach <jordi@gnu.org> |
| 3185 | * doc/man/nano.1: Fix escaping of hyphens for the -$ option. |
| 3186 | |
Chris Allegretta | a97cb81 | 2009-12-02 03:24:18 +0000 | [diff] [blame] | 3187 | 2009-12-01 Kamil Dudka <kdudka@redhat.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3188 | * chars.c, file.c: Better handle unused results for things like mbtowc(), new |
Chris Allegretta | a97cb81 | 2009-12-02 03:24:18 +0000 | [diff] [blame] | 3189 | macro IGNORE_CALL_RESULT. |
| 3190 | |
| 3191 | 2009-12-01 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3192 | * global.c (shortcut_init): Remove redundant entries for ^Y/^V reported by |
Chris Allegretta | a97cb81 | 2009-12-02 03:24:18 +0000 | [diff] [blame] | 3193 | Christian Weisgerber. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3194 | * doc/man/nanorc.5: Fix typo in Meta documentation, reported by <gibboris@gmail.com>. |
Chris Allegretta | a97cb81 | 2009-12-02 03:24:18 +0000 | [diff] [blame] | 3195 | |
Chris Allegretta | 8a07a96 | 2009-12-02 03:36:22 +0000 | [diff] [blame] | 3196 | 2009-12-01 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3197 | * global.c (shortcut_init): Add support for ^P and ^N in the help menu. |
Chris Allegretta | 8a07a96 | 2009-12-02 03:36:22 +0000 | [diff] [blame] | 3198 | * Update documentation for 2.2 features including sample nanorc file, texinfo |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3199 | file, man pages, UPGRADE file, and update copyright notice for the current year. |
Chris Allegretta | a97cb81 | 2009-12-02 03:24:18 +0000 | [diff] [blame] | 3200 | |
Chris Allegretta | cb9a5be | 2009-11-30 05:26:30 +0000 | [diff] [blame] | 3201 | GNU nano 2.2.0 - 2009.11.30 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3202 | |
Chris Allegretta | 5a018f0 | 2009-11-29 06:13:22 +0000 | [diff] [blame] | 3203 | 2009-11-29 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3204 | * prompt.c (get_prompt_string): Universally handle help key when it is disabled. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3205 | Fixes Savannah bug #28117 by David Lawrence Ramsey <pooka109@gmail.com>. |
Chris Allegretta | 5a018f0 | 2009-11-29 06:13:22 +0000 | [diff] [blame] | 3206 | * chars.c, files.c: Add junk vars to silence the compiler. Sigh. |
| 3207 | |
| 3208 | 2009-11-29 David Lawrence Ramsey <pooka109@gmail.com> |
| 3209 | * Change several *chars to const char, additional cleanups and casts to make compilers happier. |
Chris Allegretta | b43f691 | 2009-11-29 06:24:10 +0000 | [diff] [blame] | 3210 | * global.c: Fix replace and insert file initializations for proper compilation options. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3211 | * nano.c (do_suspend): Update comments to reflect actual code path, bad Chris, and thanks for |
| 3212 | noticing, Jordi. |
| 3213 | * configure.ac: Fix typos. |
Chris Allegretta | 5a018f0 | 2009-11-29 06:13:22 +0000 | [diff] [blame] | 3214 | |
Chris Allegretta | daaf468 | 2009-11-28 03:01:30 +0000 | [diff] [blame] | 3215 | 2009-11-27 Chris Allegretta <chrisa@asty.org> |
| 3216 | * nano.c (do_suspend): Don't clear the screen but do move the cursor down to the last line |
| 3217 | first in an effort to not corrupt the screen, which contradicts Pico but is consistent |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3218 | with almost all other text editors. Fixes Savannah bug #28110 / Debian bug 460510 |
Chris Allegretta | daaf468 | 2009-11-28 03:01:30 +0000 | [diff] [blame] | 3219 | reported by Tim Connors <reportbug@rather.puzzling.org>. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3220 | * doc/syntax/makefile.nanorc: Sample Makefile highlighting based on wiki.linuxhelp.net version. |
Chris Allegretta | daaf468 | 2009-11-28 03:01:30 +0000 | [diff] [blame] | 3221 | |
Chris Allegretta | 3b830ee | 2009-11-27 03:04:59 +0000 | [diff] [blame] | 3222 | 2009-11-26 Chris Allegretta <chrisa@asty.org> |
| 3223 | * winio.c (edit_scroll): Adjust for long lines when scrolling. |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3224 | * rcfile.c (parse_rcfile): initialize size argument to getline(), fixes crash on FreeBSD |
Chris Allegretta | dcf5cbb | 2009-11-27 05:09:56 +0000 | [diff] [blame] | 3225 | reported by Eitan Adler <eitanadlerlist@gmail.com>. |
Chris Allegretta | 3b830ee | 2009-11-27 03:04:59 +0000 | [diff] [blame] | 3226 | |
Chris Allegretta | d753efd | 2009-11-27 02:50:12 +0000 | [diff] [blame] | 3227 | 2009-11-26 Jordi Mallach <jordi@gnu.org> |
Chris Allegretta | cb9a5be | 2009-11-30 05:26:30 +0000 | [diff] [blame] | 3228 | * doc/man/*: Update all man pages to escape unescaped hyphens. |
Chris Allegretta | d753efd | 2009-11-27 02:50:12 +0000 | [diff] [blame] | 3229 | |
Chris Allegretta | e2df2c8 | 2009-11-24 17:15:53 +0000 | [diff] [blame] | 3230 | 2009-11-24 Chris Allegretta <chrisa@asty.org> |
| 3231 | * move.c (do_page_up, do_page_down): Make these functions work better with soft |
| 3232 | line wrapping. |
| 3233 | * winio.c (compute_maxrows): Make maxrows calculation more accurate when all lines are > COLS. |
| 3234 | |
Chris Allegretta | 8b6f6fc | 2009-11-22 21:35:56 +0000 | [diff] [blame] | 3235 | 2009-11-22 Chris Allegretta <chrisa@asty.org> |
| 3236 | * nano.c (main): Allow edit_refresh_needed to take effect when using --enable-tiny |
Benno Schulenberg | 183fa5a | 2014-02-23 11:08:04 +0000 | [diff] [blame] | 3237 | (fixes Savannah bug #28076 reported by David Lawrence Ramsey). |
Chris Allegretta | 8b6f6fc | 2009-11-22 21:35:56 +0000 | [diff] [blame] | 3238 | |
| 3239 | 2009-11-22 David Lawrence Ramsey <pooka109@gmail.com> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3240 | * nano.c (move_to_filestruct): Fix bug 71 (cut at top of line recenters). |
| 3241 | * Fix compilation with --enable-tiny. |
Chris Allegretta | 8b6f6fc | 2009-11-22 21:35:56 +0000 | [diff] [blame] | 3242 | |
Chris Allegretta | 0bff84e | 2009-11-22 16:36:53 +0000 | [diff] [blame] | 3243 | 2009-11-22 Mike Frysinger <vapier@gentoo.org> |
| 3244 | * doc/syntax/gentoo.nanorc: Tweak comment highlighting. |
| 3245 | |
Chris Allegretta | 6c3d886 | 2009-11-22 02:49:39 +0000 | [diff] [blame] | 3246 | GNU nano 2.1.99pre2 - 2009.11.21 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3247 | |
Chris Allegretta | e9dee88 | 2009-11-21 16:26:59 +0000 | [diff] [blame] | 3248 | 2009-11-21 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3249 | * rcfile.c: Add unbinding keyword, fixes Savannah bug #22852 reported by frankd. |
Chris Allegretta | 879dfba | 2009-11-21 17:12:28 +0000 | [diff] [blame] | 3250 | * prompt.c (update_statusbar_line): Set statusbar_pww when updating the line. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3251 | Fixes Savannah bug #24957 reported by Mike Frysinger. |
Chris Allegretta | e9dee88 | 2009-11-21 16:26:59 +0000 | [diff] [blame] | 3252 | |
Chris Allegretta | 123110c | 2009-11-20 05:09:12 +0000 | [diff] [blame] | 3253 | 2009-11-19 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3254 | * nano.c (die_save_file): Try and match the permissions of the file we were |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3255 | editing but only make a minimal effort to do so. Fixes Savannah bug #27273 |
Chris Allegretta | 123110c | 2009-11-20 05:09:12 +0000 | [diff] [blame] | 3256 | reported by Mike Frysinger. |
| 3257 | |
Chris Allegretta | 16e07d5 | 2009-11-18 12:39:47 +0000 | [diff] [blame] | 3258 | 2009-11-18 Adrian Bunk <bunk via Savannah> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3259 | * nano.c (main): Allow --fill and --nowrap to override nanorc entries |
| 3260 | and each other on the command line. |
Chris Allegretta | 16e07d5 | 2009-11-18 12:39:47 +0000 | [diff] [blame] | 3261 | |
Chris Allegretta | fc48347 | 2009-11-16 00:15:45 +0000 | [diff] [blame] | 3262 | 2009-11-15 Chris Allegretta <chrisa@asty.org> |
| 3263 | * winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3264 | is enabled. Fixes Savannah bug #28024 by Mike Frysinger. |
Chris Allegretta | fc48347 | 2009-11-16 00:15:45 +0000 | [diff] [blame] | 3265 | |
Chris Allegretta | 2cd2d4b | 2009-11-15 06:20:21 +0000 | [diff] [blame] | 3266 | GNU nano 2.1.99pre1 - 2009.11.15 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3267 | |
Chris Allegretta | f9d4fd3 | 2009-11-14 19:57:38 +0000 | [diff] [blame] | 3268 | 2009-11-14 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3269 | * move.c (do_first_line, do_last_line): Just set edit_refresh_needed |
| 3270 | rather than get messy. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3271 | * files.c (do_writeout): Only mention file modification if we're |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3272 | writing the same file we originally opened. |
Chris Allegretta | f9d4fd3 | 2009-11-14 19:57:38 +0000 | [diff] [blame] | 3273 | |
Chris Allegretta | 99c8d40 | 2009-11-13 13:48:56 +0000 | [diff] [blame] | 3274 | 2009-11-13 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 41e19a1 | 2014-06-29 09:32:04 +0000 | [diff] [blame] | 3275 | * winio.c: Add new static maxsize for easier calculation with softwrap. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3276 | * nano.c (do_mouse): Fix mouse support not working with soft wrapping. |
| 3277 | Fixes Savannah bug #27549 reported by Hannes Schueller. |
Chris Allegretta | 99c8d40 | 2009-11-13 13:48:56 +0000 | [diff] [blame] | 3278 | |
Chris Allegretta | 6f08332 | 2009-11-11 06:00:33 +0000 | [diff] [blame] | 3279 | 2009-11-11 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3280 | * winio.c: Large tweaking of cursor and text display based on COLS not COLS - 1, |
Chris Allegretta | 6f08332 | 2009-11-11 06:00:33 +0000 | [diff] [blame] | 3281 | due to finally understanding that display_string wasn't being called properly |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3282 | when softwrap was enabled. Fixes Savannah bug #27603, "Return key doesn't scroll |
| 3283 | viewport" reported by Hannes Schueller. |
| 3284 | * Fix size_t formatting issues with -pedantic |
Chris Allegretta | 6f08332 | 2009-11-11 06:00:33 +0000 | [diff] [blame] | 3285 | |
Chris Allegretta | 7be3204 | 2009-11-10 02:46:17 +0000 | [diff] [blame] | 3286 | 2009-11-09 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3287 | * files.c (read_file): Remove debugging messages from file load. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3288 | Fixes Savannah bug #27838. |
Chris Allegretta | 7be3204 | 2009-11-10 02:46:17 +0000 | [diff] [blame] | 3289 | |
Chris Allegretta | 795be59 | 2009-11-07 16:56:17 +0000 | [diff] [blame] | 3290 | 2009-11-07 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3291 | * nano.h: Add bogus value at begin of flags enumeration because it |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3292 | caused the casesens rcfile option to misbehave, reported by Helmut |
| 3293 | Jarausch <jarausch@igpm.rwth-aachen.de>. |
Chris Allegretta | 795be59 | 2009-11-07 16:56:17 +0000 | [diff] [blame] | 3294 | |
Chris Allegretta | 1d46147 | 2009-11-03 18:47:39 +0000 | [diff] [blame] | 3295 | 2009-11-03 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3296 | * nano.h: Fix comma at end of enumerator list which angers -pedantic. |
| 3297 | * rcfile.c: Add in specific check for UNDOABLE and fix declaration as |
Chris Allegretta | 3aad8ab | 2009-11-03 19:31:17 +0000 | [diff] [blame] | 3298 | to what flag it toggles. Fixes undo mode being able to be called from |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3299 | the rc file, reported by Helmut Jarausch <jarausch@igpm.rwth-aachen.de>. |
Chris Allegretta | 1d46147 | 2009-11-03 18:47:39 +0000 | [diff] [blame] | 3300 | |
| 3301 | 2009-11-03 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3302 | * files.c: Move up is_file_writable() to stop implicit definition complaints. |
Chris Allegretta | 1d46147 | 2009-11-03 18:47:39 +0000 | [diff] [blame] | 3303 | |
Chris Allegretta | a535cec | 2009-10-27 04:09:27 +0000 | [diff] [blame] | 3304 | 2009-10-27 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3305 | * browser.c (browser_init): Set column width to something sane when |
Chris Allegretta | a535cec | 2009-10-27 04:09:27 +0000 | [diff] [blame] | 3306 | initializing in a directory with no file entries. Fixes Savannah |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3307 | bug #24163 found (and initial patch) by Paul Wise. |
Chris Allegretta | a535cec | 2009-10-27 04:09:27 +0000 | [diff] [blame] | 3308 | |
Chris Allegretta | d233e7e | 2009-09-15 04:51:09 +0000 | [diff] [blame] | 3309 | 2009-09-15 Chris Allegretta <chrisa@asty.org> |
| 3310 | * winio.c: Clean up some unused variables from the soft wrapping code. |
| 3311 | |
Chris Allegretta | 1f218fa | 2009-09-15 03:50:17 +0000 | [diff] [blame] | 3312 | GNU nano 2.1.11 - 2009.09.14 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3313 | |
Chris Allegretta | 35afab5 | 2009-09-13 04:50:44 +0000 | [diff] [blame] | 3314 | 2009-09-12 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3315 | * winio.c (edit_update): properly update edittop when using soft wrapping. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3316 | Fixes lack of centering for searching for off-screen answers, found by |
| 3317 | Hannes Schueller <mr_creosote@mutantwatch.de>. |
Chris Allegretta | 35afab5 | 2009-09-13 04:50:44 +0000 | [diff] [blame] | 3318 | |
Chris Allegretta | bce7d40 | 2009-09-03 23:29:14 +0000 | [diff] [blame] | 3319 | 2009-09-03 Chris Allegretta <chrisa@asty.org> |
| 3320 | * global.c (shortcut_init): Fix up/down keys not responding in the file browser, |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3321 | discovered by Hannes Schueller <mr_creosote@mutantwatch.de>. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3322 | * move.c (do_up): Fix another scrolling issue with softwrap when the cursor |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3323 | is beyond COLS, discovered by Hannes Schueller <mr_creosote@mutantwatch.de>. |
Chris Allegretta | bce7d40 | 2009-09-03 23:29:14 +0000 | [diff] [blame] | 3324 | |
Chris Allegretta | f8f9027 | 2009-09-03 05:45:13 +0000 | [diff] [blame] | 3325 | 2009-09-02 Chris Allegretta <chrisa@asty.org> |
| 3326 | * Attempt to check file writability and emit a warning on the status bar |
| 3327 | if nano doesn't think the file can be written to. Feature originally |
Benno Schulenberg | b58676f | 2015-07-19 16:01:15 +0000 | [diff] [blame] | 3328 | requested by Damien Joldersma <damien@skullsquad.com> et al. |
Chris Allegretta | f8f9027 | 2009-09-03 05:45:13 +0000 | [diff] [blame] | 3329 | |
Chris Allegretta | 139934a | 2009-08-30 03:50:16 +0000 | [diff] [blame] | 3330 | 2009-08-29 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 5687c3d | 2009-09-03 02:48:35 +0000 | [diff] [blame] | 3331 | * Fix more soft wrapping issues, particularly with scrolling, |
Benno Schulenberg | 41e19a1 | 2014-06-29 09:32:04 +0000 | [diff] [blame] | 3332 | discovered by Hannes Schueller <mr_creosote@mutantwatch.de>. |
Chris Allegretta | 139934a | 2009-08-30 03:50:16 +0000 | [diff] [blame] | 3333 | |
Chris Allegretta | 3de025f | 2009-08-19 05:38:07 +0000 | [diff] [blame] | 3334 | 2009-08-19 Chris Allegretta <chrisa@asty.org> |
| 3335 | * Fix issue with soft wrapping not displaying the last character of each line, |
Benno Schulenberg | 41e19a1 | 2014-06-29 09:32:04 +0000 | [diff] [blame] | 3336 | fixed bug discovered by Hannes Schueller <mr_creosote@mutantwatch.de>. |
Chris Allegretta | 3de025f | 2009-08-19 05:38:07 +0000 | [diff] [blame] | 3337 | |
Chris Allegretta | 308a7b0 | 2009-08-18 02:55:22 +0000 | [diff] [blame] | 3338 | 2009-08-17 Mike Frysinger <vapier@gentoo.org> |
| 3339 | * doc/syntax/(gentoo|sh|tcl).nanorc: Fix problems with empty regexes on POSIX. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3340 | Fixes Savannah bug #27175. |
Chris Allegretta | 308a7b0 | 2009-08-18 02:55:22 +0000 | [diff] [blame] | 3341 | |
Chris Allegretta | 05417a2 | 2009-08-17 07:52:10 +0000 | [diff] [blame] | 3342 | 2009-08-17 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3343 | * Initial soft line wrapping implementation. Command-line flags -$ or --softwrap. |
Chris Allegretta | 05417a2 | 2009-08-17 07:52:10 +0000 | [diff] [blame] | 3344 | * nano.c, text.c: Clean up some fprintf warnings in debug mode due to printing |
| 3345 | a size_t without using the zd specifier. |
Benno Schulenberg | 41e19a1 | 2014-06-29 09:32:04 +0000 | [diff] [blame] | 3346 | |
Chris Allegretta | a48507d | 2009-08-14 03:18:29 +0000 | [diff] [blame] | 3347 | 2009-08-13 Chris Allegretta <chrisa@asty.org> |
| 3348 | * New global flag implementation courtesy of Adam Wysocki <gophi@arcabit.pl>, allows |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3349 | previous undo flag to be implemented consistent with other flags. |
Chris Allegretta | a48507d | 2009-08-14 03:18:29 +0000 | [diff] [blame] | 3350 | |
Chris Allegretta | 7f38820 | 2009-07-28 05:08:35 +0000 | [diff] [blame] | 3351 | GNU nano 2.1.10 - 2009.07.28 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3352 | |
Chris Allegretta | 42726f7 | 2009-07-27 04:16:44 +0000 | [diff] [blame] | 3353 | 2009-07-27 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3354 | * text.c (undo_cut, redo_cut): Don't actually try and undo/redo an empty cut, i.e. the magicline. |
Chris Allegretta | 42726f7 | 2009-07-27 04:16:44 +0000 | [diff] [blame] | 3355 | Fixes crash on cutting last line discovered by Eitan Adler <eitanadlerlist@gmail.com>. |
| 3356 | |
Chris Allegretta | ad37e67 | 2009-07-12 03:36:58 +0000 | [diff] [blame] | 3357 | 2009-07-11 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 41e19a1 | 2014-06-29 09:32:04 +0000 | [diff] [blame] | 3358 | * nano-regress: Small tweaks. |
| 3359 | * Change undo code to off unless enabled via a command line option (-u/--undo). |
| 3360 | Until this code stabilizes this is the only responsible way to treat it. |
Chris Allegretta | ad37e67 | 2009-07-12 03:36:58 +0000 | [diff] [blame] | 3361 | |
Chris Allegretta | 55ca102 | 2009-03-09 02:04:40 +0000 | [diff] [blame] | 3362 | 2009-03-08 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3363 | * TODO: Break out some targets for various features into 2.2 |
Chris Allegretta | 55ca102 | 2009-03-09 02:04:40 +0000 | [diff] [blame] | 3364 | and 2.4 series for things which are feasible. |
| 3365 | |
Chris Allegretta | 5a3464b | 2009-03-01 00:50:19 +0000 | [diff] [blame] | 3366 | 2009-02-28 Chris Allegretta <chrisa@asty.org> |
| 3367 | * configure.ac: Add check for whether _XOPEN_SOURCE_EXTENDED is needed for |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3368 | curses to work w/color. Fixes compilation on HP-UX with older GCC, |
Chris Allegretta | 5a3464b | 2009-03-01 00:50:19 +0000 | [diff] [blame] | 3369 | reported by jay.krell@cornell.edu. |
| 3370 | |
Chris Allegretta | fb6446d | 2009-02-25 05:06:05 +0000 | [diff] [blame] | 3371 | 2009-02-23 Eitan Adler <eitanadlerlist@gmail.com> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3372 | * doc/man/Makefile.am: Fix make variable substitution to be more portable. |
Chris Allegretta | fb6446d | 2009-02-25 05:06:05 +0000 | [diff] [blame] | 3373 | |
Chris Allegretta | f86fa86 | 2009-02-25 04:32:15 +0000 | [diff] [blame] | 3374 | 2009-02-23 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3375 | * rcfile.c (parse_keybinding): Define a var before tryung to use it. Whoops! |
Chris Allegretta | f86fa86 | 2009-02-25 04:32:15 +0000 | [diff] [blame] | 3376 | * fix some redefinitions causing compiler warnings, from Eitan Adler. Other |
| 3377 | (hopefully) fixes for uncasted malloc()s, reported by the same. |
Chris Allegretta | fb6446d | 2009-02-25 05:06:05 +0000 | [diff] [blame] | 3378 | * doc/man/fr/Makefile.am: Add groff check fix to fr files. |
Chris Allegretta | 5ba7a93 | 2009-02-17 04:31:04 +0000 | [diff] [blame] | 3379 | |
| 3380 | GNU nano 2.1.9 - 2009.02.16 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3381 | |
Chris Allegretta | 9555e1d | 2009-02-16 21:04:00 +0000 | [diff] [blame] | 3382 | 2009-02-16 Chris Allegretta <chrisa@asty.org> |
| 3383 | * Add new argument to reset_multis for force redraws without attempting to |
Chris Allegretta | b71cf30 | 2009-02-16 23:06:09 +0000 | [diff] [blame] | 3384 | guess whether we need to, for functions that we don't have good info about |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3385 | the text state. New utility function color.c:reset_multis_for_id(). |
Chris Allegretta | 9555e1d | 2009-02-16 21:04:00 +0000 | [diff] [blame] | 3386 | |
Chris Allegretta | 7aec392 | 2009-02-15 19:16:18 +0000 | [diff] [blame] | 3387 | 2009-02-15 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3388 | * configure.ac, doc/man/Makefile.am: Add check for HTML output support in GNU |
Chris Allegretta | 7aec392 | 2009-02-15 19:16:18 +0000 | [diff] [blame] | 3389 | groff. Fixes Savannah bug #24461: build traps on groff. Also, add installation |
| 3390 | of html-ized man pages to $datadir/nano/man-html, since we should probably |
| 3391 | install files we went to all the trouble of generating. |
| 3392 | |
Chris Allegretta | e027fc2 | 2009-02-15 02:40:16 +0000 | [diff] [blame] | 3393 | 2009-02-14 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3394 | * nano.c (precalc_multicolorinfo): Add debugging so we have a better clue if further |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 3395 | issues arise. Also start at the beginning of later lines when trying to match the |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3396 | end of a multi-line regex. Fixes more overly aggressive highlighting found by |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 3397 | Mike Frysinger. Finally, advance to the match end for performance. |
Chris Allegretta | e027fc2 | 2009-02-15 02:40:16 +0000 | [diff] [blame] | 3398 | |
Chris Allegretta | 8257bf1 | 2009-02-11 05:45:57 +0000 | [diff] [blame] | 3399 | 2009-02-11 Chris Allegretta <chrisa@asty.org> |
| 3400 | * nanorc.c (parse_include): Do call real_dir_from_tilde() on included |
| 3401 | files in .nanorc, but still avoiding bug #25297. Fixes ~ and ~user |
| 3402 | specifications for nanorc include files, as reported by Eitan Adler. |
| 3403 | |
Chris Allegretta | a30eb78 | 2009-02-09 04:03:20 +0000 | [diff] [blame] | 3404 | 2009-02-09 Chris Allegretta <chrisa@asty.org> |
| 3405 | * New option -q, --quiet, rcfile option "quiet" implemented. Skips printing |
| 3406 | errors about the rcfile and asking user to press enter. Also, nano should |
| 3407 | now only ask for one enter press when there is an error when not using -q. |
| 3408 | Based on discussion between Eitan Adler and Mike Frysinger. |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 3409 | * rcfile.c (parse_keybinding): Significant cleanups and fixes for |
Chris Allegretta | a30eb78 | 2009-02-09 04:03:20 +0000 | [diff] [blame] | 3410 | detecting and reporting errors in key bindings code. |
| 3411 | |
Chris Allegretta | 04fbfaa | 2009-02-08 17:45:21 +0000 | [diff] [blame] | 3412 | 2009-02-08 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 35686da | 2009-02-08 18:00:44 +0000 | [diff] [blame] | 3413 | * Make reset_multidata reset more lines, since contrary to previous problems the |
| 3414 | syntax highlting is now too *un*ambitious, causing display glitches when |
| 3415 | deleting a regex boundary. |
Chris Allegretta | 04fbfaa | 2009-02-08 17:45:21 +0000 | [diff] [blame] | 3416 | * Add more multidata initliazers for new buffers and 'magic lines'. Fixes segfaults |
| 3417 | with syntax highlighting in new buffers, initially reported by Mike Frysinger. |
| 3418 | |
Chris Allegretta | 1658d4d | 2009-02-08 04:12:07 +0000 | [diff] [blame] | 3419 | GNU nano 2.1.8 - 2009.02.07 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3420 | |
Chris Allegretta | 4522ca2 | 2009-02-07 00:01:40 +0000 | [diff] [blame] | 3421 | 2009-02-06 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3422 | * rcfile.c (parse_include): Abort on being unable to open an included rcfile. |
| 3423 | Fixes Savannah bug #25490, nanorc: "include"ing a file which doesn't exist |
| 3424 | causes nano to segfault. |
Chris Allegretta | 4522ca2 | 2009-02-07 00:01:40 +0000 | [diff] [blame] | 3425 | |
Chris Allegretta | fd265af | 2009-02-06 03:41:02 +0000 | [diff] [blame] | 3426 | 2009-02-05 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 3427 | * More color syntax speedups: Determine in reset_multis() whether we really need to call |
Chris Allegretta | fd265af | 2009-02-06 03:41:02 +0000 | [diff] [blame] | 3428 | edit_refresh(). Additional global var edit_refresh_needed() to hopefully reduce |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3429 | repeated calls to the function. New helper funcs reset_multis_before() and |
Chris Allegretta | fd265af | 2009-02-06 03:41:02 +0000 | [diff] [blame] | 3430 | reset_multis_after(). |
| 3431 | |
| 3432 | 2009-02-02 Chris Allegretta <chrisa@asty.org> |
| 3433 | * New color precalculation code for mult-line regexes. New function precalc_multicolorinfo(), |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3434 | new structure multidata for keeping track of where regexes start/stop. More |
Chris Allegretta | fd265af | 2009-02-06 03:41:02 +0000 | [diff] [blame] | 3435 | performance improvements forthcoming. |
| 3436 | |
Chris Allegretta | 25d459a | 2009-01-30 08:34:27 +0000 | [diff] [blame] | 3437 | 2009-01-29 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3438 | * nano.c (move_to_filestruct): Properly initialize new fileage for multiswatching, sigh. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3439 | Fix cut segfaults discovered by Mike Frysinger. |
Chris Allegretta | 61f5c55 | 2009-01-31 23:36:00 +0000 | [diff] [blame] | 3440 | |
| 3441 | 2009-01-29 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 25d459a | 2009-01-30 08:34:27 +0000 | [diff] [blame] | 3442 | * nano.c (main): Add support for nano acting like a pager when invoked with - as first |
Chris Allegretta | 75dfa8a | 2009-01-30 17:38:23 +0000 | [diff] [blame] | 3443 | file argument. |
Chris Allegretta | 25d459a | 2009-01-30 08:34:27 +0000 | [diff] [blame] | 3444 | |
Chris Allegretta | 2d90cf3 | 2009-01-28 18:32:33 +0000 | [diff] [blame] | 3445 | 2009-01-28 Davide Pesavento <davidepesa@gmail.com> |
| 3446 | * doc/syntax/gentoo.nanorc: Updates from David and Mike Frysinger. |
| 3447 | |
Chris Allegretta | 2823c99 | 2009-01-26 08:48:22 +0000 | [diff] [blame] | 3448 | 2009-01-25 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3449 | * files.c (open_file), nanorc.c (parse_include): Don't get_full_path on included |
| 3450 | rc files, due to it potentially impacting the ability to read files in nano's |
| 3451 | cwd(). Fixes Savnanah bug #25297 reported by Mike Frysinger. |
Chris Allegretta | 2823c99 | 2009-01-26 08:48:22 +0000 | [diff] [blame] | 3452 | |
Chris Allegretta | 0dc26dc | 2009-01-24 22:40:41 +0000 | [diff] [blame] | 3453 | 2009-01-24 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | d47d8cd | 2009-01-25 07:25:17 +0000 | [diff] [blame] | 3454 | * First pass at some caching of caching color info. Right now it's only for |
| 3455 | multi-line regexes but this may not be enough to increase performance. |
Chris Allegretta | 0dc26dc | 2009-01-24 22:40:41 +0000 | [diff] [blame] | 3456 | * Add interruptability to search functions. New functions enable_nodelay and |
| 3457 | disable_nodelay and changes to the routines to handle checking for pending |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3458 | searches. Fixes Savnnah bug #24946: Need interrrupt for search. |
Chris Allegretta | 0dc26dc | 2009-01-24 22:40:41 +0000 | [diff] [blame] | 3459 | |
Chris Allegretta | a117163 | 2009-01-19 19:10:39 +0000 | [diff] [blame] | 3460 | 2009-01-19 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 0dc26dc | 2009-01-24 22:40:41 +0000 | [diff] [blame] | 3461 | * Change function definitions to shorts instead of (void *)s. New mapping function |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3462 | iso_me_harder_funcmap(). Fixes compilation complaints with -pedantic, |
Chris Allegretta | a117163 | 2009-01-19 19:10:39 +0000 | [diff] [blame] | 3463 | reported by Eitan Adler <eitanadlerlist@gmail.com>. |
| 3464 | |
Chris Allegretta | 2f2f4d3 | 2008-11-10 06:33:12 +0000 | [diff] [blame] | 3465 | GNU nano 2.1.7 - 2008.11.10 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3466 | |
Chris Allegretta | 95add8d | 2008-10-21 10:20:07 +0000 | [diff] [blame] | 3467 | 2008-10-20 Chris Allegretta <chrisa@asty.org> |
| 3468 | * files.c (do_writeout): Add check for file modification when saving |
| 3469 | the file so the user can at least know they may be blowing away changes. |
| 3470 | |
Chris Allegretta | 2a044ee | 2008-10-14 16:46:58 +0000 | [diff] [blame] | 3471 | 2008-10-14 Chris Allegretta <chrisa@asty.org> |
| 3472 | * nanorc.5: Fix redo man page entry and update explanation, reported by |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3473 | Eitan Adler <eitanadlerlist@gmail.com>. |
Chris Allegretta | 973addc | 2008-10-15 01:25:25 +0000 | [diff] [blame] | 3474 | * global.c (shortcut_init), search.c (search_init): Fix add_to_sclist for ^W^T so |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3475 | invalid messages will display properly. Fixes Savannah bug #24507. |
Chris Allegretta | 2a044ee | 2008-10-14 16:46:58 +0000 | [diff] [blame] | 3476 | |
Chris Allegretta | c84e765 | 2008-10-14 01:14:12 +0000 | [diff] [blame] | 3477 | 2008-10-13 Chris Allegretta <chrisa@asty.org> |
| 3478 | * Remove CUTTOEND as an undo type as it's unneeded, fix u->to_end logic in undo struct. |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3479 | * undo.c (update_undo): Don't free cutbuffer if NULL, fixes Savannah bug #24499. |
Chris Allegretta | c84e765 | 2008-10-14 01:14:12 +0000 | [diff] [blame] | 3480 | |
Chris Allegretta | 5c1c143 | 2008-10-04 11:10:11 +0000 | [diff] [blame] | 3481 | 2008-10-04 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3482 | * cut.c (add_undo): Save last cut undo information so it can be used for |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3483 | next uncut, fixes Savannah bug #24183. |
Chris Allegretta | 5c1c143 | 2008-10-04 11:10:11 +0000 | [diff] [blame] | 3484 | |
Chris Allegretta | 8f0a921 | 2008-10-03 22:20:43 +0000 | [diff] [blame] | 3485 | GNU nano 2.1.6 - 2008.10.03 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3486 | |
Chris Allegretta | 513157d | 2008-10-03 21:00:35 +0000 | [diff] [blame] | 3487 | 2008-10-03 Pascal Gentil <pascal.gentil@univ-rennes1.fr> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3488 | * fortran.nanorc: Sample Fortran syntax highlighting file. |
Chris Allegretta | 513157d | 2008-10-03 21:00:35 +0000 | [diff] [blame] | 3489 | |
| 3490 | 2008-09-30 Dirkjan Ochtman <dirkjan@ochtman.nl> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3491 | * python.nanorc: Small Python syntax update. |
Chris Allegretta | fa195e6 | 2008-10-01 00:55:13 +0000 | [diff] [blame] | 3492 | |
Chris Allegretta | 215eb36 | 2008-10-01 00:49:19 +0000 | [diff] [blame] | 3493 | 2008-09-30 <bluestorm_dylc@hotmail.com> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3494 | * ocaml.nanorc: Sample OCaml syntax highlighting file. |
Chris Allegretta | 215eb36 | 2008-10-01 00:49:19 +0000 | [diff] [blame] | 3495 | |
| 3496 | 2008-09-30 Dave Geering <dgeering@toshiba-tap.com> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3497 | * objc.nanorc: Sample Objective-C syntax hightlighting file. |
Chris Allegretta | 215eb36 | 2008-10-01 00:49:19 +0000 | [diff] [blame] | 3498 | |
Chris Allegretta | 8227d41 | 2008-09-30 14:30:33 +0000 | [diff] [blame] | 3499 | 2008-09-30 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3500 | * configure.ac: Change extra, multibuffer, color and rcfile configure options |
| 3501 | to default to enabled --enable-tiny will now disable these options as well. |
| 3502 | * python.nanorc, ruby.nanorc: Add header lines for Python and Ruby as well. |
Chris Allegretta | 215eb36 | 2008-10-01 00:49:19 +0000 | [diff] [blame] | 3503 | |
Chris Allegretta | f30c139 | 2008-09-21 23:02:30 +0000 | [diff] [blame] | 3504 | 2008-09-21 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3505 | * rcfile.c, color.c, nano.h: Add new capability for matching a syntax type by |
| 3506 | the "header" (1st line) of a file being edited. Based on Savannah bug #24197 |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3507 | and initial proof of concept by Dave Geering <dgeering@toshiba-tap.com>. |
Chris Allegretta | 215eb36 | 2008-10-01 00:49:19 +0000 | [diff] [blame] | 3508 | |
Chris Allegretta | b549f37 | 2008-09-16 21:35:19 +0000 | [diff] [blame] | 3509 | 2008-09-16 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3510 | * text.c: Add support for undoing a text uncut. Split out the undo and redo |
| 3511 | of a text cut in order to avoid code duplication. |
Chris Allegretta | 215eb36 | 2008-10-01 00:49:19 +0000 | [diff] [blame] | 3512 | |
Chris Allegretta | e137f12 | 2008-09-06 06:52:47 +0000 | [diff] [blame] | 3513 | 2008-09-06 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 64c00b5 | 2014-02-24 19:00:11 +0000 | [diff] [blame] | 3514 | * nano.c: Do call disable_signals at startup regardless, since under Cygwin |
| 3515 | we can't generate ^C without it. |
Chris Allegretta | e137f12 | 2008-09-06 06:52:47 +0000 | [diff] [blame] | 3516 | |
Chris Allegretta | 566635e | 2008-08-30 21:40:33 +0000 | [diff] [blame] | 3517 | GNU nano 2.1.5 - 2008.08.30 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3518 | |
Chris Allegretta | 6b83e52 | 2008-08-30 05:16:20 +0000 | [diff] [blame] | 3519 | 2008-08-29 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3520 | * configure.ac, color.c, rcfile.c, utils.c: 1st attempt at supporting systems |
| 3521 | which don't support GNU-style word boundaries. New function fixbounds() to |
| 3522 | translate from GNU-style to BSD-style, autoconf option GNU_WORDBOUNDS. |
| 3523 | * nano-regress: New perl script to check for some of the more obvious issues |
| 3524 | with compilation issues with certain configure options. |
| 3525 | * global.c, help.c, browser.c, files.c, proto.h: Fix several compilation and |
| 3526 | programmatic issues with --disable-help, especially that do-writeout was |
| 3527 | treating ^G the same as ^M. |
Chris Allegretta | 6b83e52 | 2008-08-30 05:16:20 +0000 | [diff] [blame] | 3528 | |
Chris Allegretta | faeeb5b | 2008-08-28 06:13:05 +0000 | [diff] [blame] | 3529 | 2008-08-28 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 3530 | * configure.ac, rcfile.c: Add support for an alternate rcfilename at configure time. Maybe this |
Chris Allegretta | faeeb5b | 2008-08-28 06:13:05 +0000 | [diff] [blame] | 3531 | should become a command line option some day, but I don't see the need currently. Start of |
| 3532 | fix for Savannah bug #24128: Add nanorc support to win32 platform. |
| 3533 | |
Chris Allegretta | 77bf1b5 | 2008-08-21 04:21:06 +0000 | [diff] [blame] | 3534 | 2008-08-21 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3535 | * text.c: Change error messages where we may possibly get into a bad state and urge the |
| 3536 | user to save when this happens. Originally by Benno Schulenberg <bensberg@justemail.net> |
| 3537 | * text.c (do_enter): Fix issue when compiled with --enable-debug, fixes Savannah bug #24092. |
Chris Allegretta | 77bf1b5 | 2008-08-21 04:21:06 +0000 | [diff] [blame] | 3538 | |
Chris Allegretta | 90ad8e2 | 2008-08-17 16:25:40 +0000 | [diff] [blame] | 3539 | 2008-08-08 Magnus Granberg <zorry@ume.nu> / Adam Conrad <?> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3540 | * files.c (write_file): Add needed flags to open() calls when writing out files. |
| 3541 | Fixes Savannah bug #23827: Compilation fails with -D_FORTIFY_SOURCE=2. |
Chris Allegretta | 90ad8e2 | 2008-08-17 16:25:40 +0000 | [diff] [blame] | 3542 | |
Chris Allegretta | 2cc5888 | 2008-08-16 23:54:15 +0000 | [diff] [blame] | 3543 | 2008-08-08 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3544 | * files.c (write_file): Check the exit code of fclose(), since in certain |
| 3545 | out-of-space conditions the OS will happily report successful fwrite()s |
| 3546 | until you try and close the file. Fixes Savannah bug #24000: no free |
| 3547 | space on partition - nano claims successful write - file is empty. |
Chris Allegretta | 2cc5888 | 2008-08-16 23:54:15 +0000 | [diff] [blame] | 3548 | |
Chris Allegretta | d2780ec | 2008-08-09 10:25:22 +0000 | [diff] [blame] | 3549 | GNU nano 2.1.4 - 2008.08.09 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3550 | |
Chris Allegretta | 447f1b4 | 2008-08-09 03:39:10 +0000 | [diff] [blame] | 3551 | 2008-08-08 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3552 | * files.c (write_file): Do not go on and attempt to write the main file if writing |
| 3553 | the backup file failed, related to Savannah bug #24000. |
Chris Allegretta | 5c27d72 | 2008-08-09 09:28:07 +0000 | [diff] [blame] | 3554 | * text.c (do_redo): Fix improperly restoring the text when redoing a line split. |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 3555 | * text.c (add_undo): Fix check for multi-line cut check skips adding other new legit events. |
Chris Allegretta | 447f1b4 | 2008-08-09 03:39:10 +0000 | [diff] [blame] | 3556 | |
Chris Allegretta | 6f681c1 | 2008-08-08 03:02:03 +0000 | [diff] [blame] | 3557 | 2008-07-23 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3558 | * text.c: Reset openfile-> to OTHER after an undo or redo so we don't |
Chris Allegretta | 6f681c1 | 2008-08-08 03:02:03 +0000 | [diff] [blame] | 3559 | mistakenly think this is an update when it's really an add. Also |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3560 | fix an extra ; after an if statement which makes nano try to free |
| 3561 | a struct which may be NULL. |
Chris Allegretta | 6f681c1 | 2008-08-08 03:02:03 +0000 | [diff] [blame] | 3562 | |
Chris Allegretta | 599c559 | 2008-08-05 01:35:42 +0000 | [diff] [blame] | 3563 | GNU nano 2.1.3 - 2008.08.04 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3564 | |
Chris Allegretta | e418b69 | 2008-07-31 17:01:47 +0000 | [diff] [blame] | 3565 | 2008-07-23 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3566 | * configure.ac: Add ncursesw dir to include path if lib is detected. |
Chris Allegretta | e418b69 | 2008-07-31 17:01:47 +0000 | [diff] [blame] | 3567 | |
Chris Allegretta | 9fb13fb | 2008-07-12 02:52:08 +0000 | [diff] [blame] | 3568 | 2008-07-11 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3569 | * doc/nanorc.sample.in: Include the updated files in the default sample nanorc. |
Chris Allegretta | 9fb13fb | 2008-07-12 02:52:08 +0000 | [diff] [blame] | 3570 | |
Chris Allegretta | b857678 | 2008-07-12 02:32:19 +0000 | [diff] [blame] | 3571 | 2008-07-11 Fabian Groffen <grobian@gentoo.org> |
| 3572 | * nano.c: Don't include langinfo.h if not using ENABLE_UTF8 |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3573 | (Savannah patch #6565). |
Chris Allegretta | b857678 | 2008-07-12 02:32:19 +0000 | [diff] [blame] | 3574 | |
Chris Allegretta | 09b8124 | 2008-07-12 01:54:49 +0000 | [diff] [blame] | 3575 | 2008-07-11 Mitsuya Shibata <mty.shibata@gmail.com> |
| 3576 | * text.c: Fix crashing in help menu when using certain locales |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3577 | (Savannah bug #23751). |
Chris Allegretta | 09b8124 | 2008-07-12 01:54:49 +0000 | [diff] [blame] | 3578 | |
Chris Allegretta | 07fcc4c | 2008-07-10 20:13:04 +0000 | [diff] [blame] | 3579 | 2008-07-09 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | f9e9464 | 2013-06-14 02:29:15 +0000 | [diff] [blame] | 3580 | * nano.c/nano.h/global.c/text.c: New generalized undo code, currently |
Chris Allegretta | 07fcc4c | 2008-07-10 20:13:04 +0000 | [diff] [blame] | 3581 | just works for adding and deleting text and splitting and unsplitting lines. |
| 3582 | |
Chris Allegretta | 1347f22 | 2008-06-29 06:22:31 +0000 | [diff] [blame] | 3583 | 2008-06-29 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3584 | * global.c: Fix for not having a search history when --disable-justify is used |
| 3585 | (Savannah bug #23733). |
Chris Allegretta | 1347f22 | 2008-06-29 06:22:31 +0000 | [diff] [blame] | 3586 | |
Chris Allegretta | 2c367bf | 2008-06-25 03:35:15 +0000 | [diff] [blame] | 3587 | GNU nano 2.1.2 - 2008.06.24 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3588 | |
Chris Allegretta | 47a7ac2 | 2008-06-25 03:09:10 +0000 | [diff] [blame] | 3589 | 2008-06-24 Chris Allegretta <chrisa@asty.org> |
| 3590 | * rcfile.c: Added function check_bad_binding() to look for sequences which |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3591 | shouldn't be bound, per Savannah bug #22674. |
Chris Allegretta | 47a7ac2 | 2008-06-25 03:09:10 +0000 | [diff] [blame] | 3592 | |
Chris Allegretta | 506af6f | 2008-05-31 22:49:55 +0000 | [diff] [blame] | 3593 | 2008-05-31 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3594 | * prompt.c,search.c,global.c: Tentative fix for bug #23144: using arrow |
| 3595 | keys in search buffer affects main window (by Mike Frysinger). |
Chris Allegretta | 1371fb6 | 2008-06-03 06:21:31 +0000 | [diff] [blame] | 3596 | |
| 3597 | 2008-05-31 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3598 | * global.c: Fix for Savannah bug #23442: left/right arrow keys |
| 3599 | do not work with --enable-tiny (by Mike Frysinger). |
Chris Allegretta | 3daeeeb | 2008-06-03 05:55:04 +0000 | [diff] [blame] | 3600 | |
| 3601 | 2008-05-31 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 8b6461f | 2008-05-31 23:09:40 +0000 | [diff] [blame] | 3602 | * files.c,proto.h,text.c: Fix for conflicts with AIX curses |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3603 | variables, from William Jojo <jojowil@hvcc.edu>. |
Chris Allegretta | 8b6461f | 2008-05-31 23:09:40 +0000 | [diff] [blame] | 3604 | |
| 3605 | 2008-05-31 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3606 | * global.c: Fix for compile error when --disable-speller is used |
| 3607 | (Savannah bug #23227 by Mike Frysinger). |
Chris Allegretta | 33a8b4e | 2008-04-02 04:08:09 +0000 | [diff] [blame] | 3608 | |
Chris Allegretta | ed505f5 | 2008-05-31 21:59:53 +0000 | [diff] [blame] | 3609 | 2008-05-31 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 1265e4a | 2014-03-31 09:22:19 +0000 | [diff] [blame] | 3610 | * Fix for seg fault when window size is too small, |
| 3611 | by Andreas Amann <andreas.amann@tyndall.ie>. |
Chris Allegretta | e67bf80 | 2008-05-31 22:23:16 +0000 | [diff] [blame] | 3612 | |
Chris Allegretta | f9cf362 | 2008-05-31 22:33:32 +0000 | [diff] [blame] | 3613 | GNU nano 2.1.1 - 2008.04.01 |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3614 | |
Chris Allegretta | e67bf80 | 2008-05-31 22:23:16 +0000 | [diff] [blame] | 3615 | 2008-05-31 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | ed505f5 | 2008-05-31 21:59:53 +0000 | [diff] [blame] | 3616 | * Added the following contributed files, by owner: |
| 3617 | Donnie Berkholz <dberkholz@gentoo.org> |
| 3618 | * Sample awk.nanorc |
| 3619 | Simon Rupf <simon.rupf@int-ag.ch> |
| 3620 | * Sample css.nanorc |
| 3621 | Josef 'Jupp' Schugt <jupp@rubyforge.org> |
Benno Schulenberg | 59fdd4d | 2015-07-18 19:06:42 +0000 | [diff] [blame] | 3622 | * Sample ruby.nanorc |
Chris Allegretta | ed505f5 | 2008-05-31 21:59:53 +0000 | [diff] [blame] | 3623 | |
Chris Allegretta | 33a8b4e | 2008-04-02 04:08:09 +0000 | [diff] [blame] | 3624 | 2008-03-31 Chris Allegretta <chrisa@asty.org> |
| 3625 | * global.c: Fix for issues compiling with --enable-tiny and |
| 3626 | --enable-multibuffer, as reported by Mike Frysinger. |
| 3627 | * files.c: Fix the fact that the insert file prompt text did not |
| 3628 | properly appears in tiny mode. |
| 3629 | |
Chris Allegretta | b04248c | 2008-03-20 05:56:46 +0000 | [diff] [blame] | 3630 | 2008-03-19 Benno Schulenberg <bensberg@justemail.net> |
| 3631 | * help.c, nano.c: Fix toggle help not being translated, fix allocation |
| 3632 | issue. |
| 3633 | |
Chris Allegretta | 2ea0b8f | 2008-03-20 04:57:46 +0000 | [diff] [blame] | 3634 | 2008-03-19 Chris Allegretta <chrisa@asty.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3635 | * global.c: Fix bracket matching sequence to be M-] not M-[, as reported |
Chris Allegretta | 2ea0b8f | 2008-03-20 04:57:46 +0000 | [diff] [blame] | 3636 | Nick Warne <nick@ukfsn.org>. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3637 | * doc/syntax/Makefile.am: Actually include new syntaxes from Mike, etc. |
| 3638 | * debian.nanorc: New debian sources.list config since we're including |
| 3639 | gentoo, adapted from Milian Wolff <mail@milianw.de>. |
Chris Allegretta | 2ea0b8f | 2008-03-20 04:57:46 +0000 | [diff] [blame] | 3640 | |
| 3641 | 2008-03-18 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3642 | * winio.c: Remove unneeded variable in parse_kbinput(). |
| 3643 | * rcfile.c: Relocate check_vitals_mapped() function to just above where |
| 3644 | it actually gets used and declare it "static void" in the process. |
| 3645 | * global.c: Only declare nano_justify_msg when justify support is enabled. |
| 3646 | * php.nanorc: Php syntax highlighting config. |
| 3647 | * tcl.nanorc: Tcl syntax highlighting config. |
| 3648 | * gentoo.nanorc: Gentoo syntax highlighting config. |
Chris Allegretta | 90ee8ee | 2008-03-20 04:45:55 +0000 | [diff] [blame] | 3649 | |
Chris Allegretta | 1fb25fd | 2008-03-18 03:06:27 +0000 | [diff] [blame] | 3650 | 2008-03-17 Benno Schulenberg <bensberg@justemail.net> |
Chris Allegretta | 90ee8ee | 2008-03-20 04:45:55 +0000 | [diff] [blame] | 3651 | * global.c: Fix incorrect first line jump messsage, fix |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3652 | more comments to assist translators. |
Chris Allegretta | 90ee8ee | 2008-03-20 04:45:55 +0000 | [diff] [blame] | 3653 | * winio.c: Fix shortcut labels not being translated. |
Chris Allegretta | 1fb25fd | 2008-03-18 03:06:27 +0000 | [diff] [blame] | 3654 | |
Chris Allegretta | 8ded73e | 2008-03-18 02:44:39 +0000 | [diff] [blame] | 3655 | 2008-03-17 Mike Frysinger <vapier@gentoo.org> |
Benno Schulenberg | be3e440 | 2014-07-07 18:46:47 +0000 | [diff] [blame] | 3656 | * */.gitignore: Git ignore files for those running a local git |
| 3657 | against SVN. |
Chris Allegretta | 8ded73e | 2008-03-18 02:44:39 +0000 | [diff] [blame] | 3658 | |
Chris Allegretta | d3659f8 | 2008-03-16 23:57:14 +0000 | [diff] [blame] | 3659 | 2008-03-16 Benno Schulenberg <bensberg@justemail.net> |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3660 | * src/help.c, src/global: Fix help strings no longer being |
Chris Allegretta | d3659f8 | 2008-03-16 23:57:14 +0000 | [diff] [blame] | 3661 | translated properly. |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3662 | * src/global.c, doc/man/nanorc.5: Fix typos and poorly worded |
| 3663 | lines in the source and man pages. |
Chris Allegretta | d3659f8 | 2008-03-16 23:57:14 +0000 | [diff] [blame] | 3664 | |
Benno Schulenberg | 113cd50 | 2016-01-09 21:10:39 +0000 | [diff] [blame] | 3665 | 2008-03-04 Chris Allegretta <chrisa@asty.org> |
Chris Allegretta | 1fb25fd | 2008-03-18 03:06:27 +0000 | [diff] [blame] | 3666 | * everything: New shortcut backend. New structs subnfunc |
Benno Schulenberg | 619b216 | 2014-03-30 21:23:40 +0000 | [diff] [blame] | 3667 | for menu functions and toggles and sc for shortcut keys, old |
| 3668 | 'shortcut' and 'toggles' structs are gone. The current implementation |
| 3669 | has a bunch of broken stuff (some of which is documented in BUGS). |
Chris Allegretta | 9021806 | 2008-03-05 07:35:01 +0000 | [diff] [blame] | 3670 | Updated nanorc.5 with some mostly complete documentation on configuring. |
| 3671 | |
David Lawrence Ramsey | 9fff4e1 | 2007-12-20 18:41:04 +0000 | [diff] [blame] | 3672 | 2007-12-20 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 9fff4e1 | 2007-12-20 18:41:04 +0000 | [diff] [blame] | 3673 | * AUTHORS, doc/faq.html: Update maintenance information. |
David Lawrence Ramsey | 200f0c8 | 2007-12-20 18:57:41 +0000 | [diff] [blame] | 3674 | * NEWS: Resync with NEWS from the 2.0 branch. |
David Lawrence Ramsey | 9fff4e1 | 2007-12-20 18:41:04 +0000 | [diff] [blame] | 3675 | |
David Lawrence Ramsey | 3fb62b8 | 2007-12-18 22:00:17 +0000 | [diff] [blame] | 3676 | 2007-12-18 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 3fb62b8 | 2007-12-18 22:00:17 +0000 | [diff] [blame] | 3677 | * nano.c (print_opt_full): Use strlenpt() instead of strlen(), |
| 3678 | so that tabs are placed properly when displaying translated |
| 3679 | strings in UTF-8, as found by Jean-Philippe Guérard. |
| 3680 | |
David Lawrence Ramsey | e3a0263 | 2007-12-17 23:05:11 +0000 | [diff] [blame] | 3681 | 2007-12-17 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | f78bc85 | 2007-12-18 15:55:48 +0000 | [diff] [blame] | 3682 | * configure.ac, doc/texinfo/nano.texi, nano.c (terminal_init): |
| 3683 | Change slang curses emulation support to turn off the same |
| 3684 | options as --enable-tiny, as it's hopelessly broken otherwise. |
David Lawrence Ramsey | 7f6f5a6 | 2007-12-18 02:03:00 +0000 | [diff] [blame] | 3685 | * nano.c (disable_signals, main): Simplify terminal handling by |
David Lawrence Ramsey | f78bc85 | 2007-12-18 15:55:48 +0000 | [diff] [blame] | 3686 | using raw mode instead of cbreak mode. |
David Lawrence Ramsey | 8b9c91b | 2007-12-18 01:28:53 +0000 | [diff] [blame] | 3687 | * text.c (execute_command): Call terminal_init() instead of just |
| 3688 | disable_signals() after executing the command, as the command |
| 3689 | may have changed the terminal settings. |
David Lawrence Ramsey | 7f6f5a6 | 2007-12-18 02:03:00 +0000 | [diff] [blame] | 3690 | * ChangeLog.pre-2.1: Add missing attribution. |
| 3691 | * NEWS: Resync with NEWS from the 2.0 branch. |
David Lawrence Ramsey | e3a0263 | 2007-12-17 23:05:11 +0000 | [diff] [blame] | 3692 | |
David Lawrence Ramsey | e68748a | 2007-12-10 17:59:26 +0000 | [diff] [blame] | 3693 | 2007-12-10 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | e68748a | 2007-12-10 17:59:26 +0000 | [diff] [blame] | 3694 | * nano.c (main): Exit if initscr() fails. |
| 3695 | |
David Lawrence Ramsey | c63a5c0 | 2007-12-09 18:28:36 +0000 | [diff] [blame] | 3696 | 2007-12-09 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | c63a5c0 | 2007-12-09 18:28:36 +0000 | [diff] [blame] | 3697 | * faq.html: Add minor punctuation and wording fixes, and update |
| 3698 | various sections to account for Alpine. |
| 3699 | |
David Lawrence Ramsey | 281a469 | 2007-12-08 07:00:27 +0000 | [diff] [blame] | 3700 | 2007-12-08 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 281a469 | 2007-12-08 07:00:27 +0000 | [diff] [blame] | 3701 | * prompt.c (do_statusbar_mouse, reset_statusbar_cursor, |
| 3702 | update_statusbar_line, need_statusbar_horizontal_update): Fix |
| 3703 | minor display and cursor placement problems when scrolling |
| 3704 | between pages at the statusbar prompt. |
| 3705 | |
David Lawrence Ramsey | 97a6ecb | 2007-12-08 04:21:15 +0000 | [diff] [blame] | 3706 | 2007-12-07 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 97a6ecb | 2007-12-08 04:21:15 +0000 | [diff] [blame] | 3707 | * winio.c (get_mouseinput): Fix longstanding problem where mouse |
| 3708 | clicks on the statusbar prompt text wouldn't be recognized |
| 3709 | unless the NO_HELP flag was turned off. |
David Lawrence Ramsey | cd79a81 | 2007-12-08 04:27:44 +0000 | [diff] [blame] | 3710 | * doc/man/rnano.1, doc/man/fr/rnano.1: Update copyright notices, |
| 3711 | as Thijs Kinkhorst's copyrights have now been assigned to the |
| 3712 | Free Software Foundation. |
David Lawrence Ramsey | 97a6ecb | 2007-12-08 04:21:15 +0000 | [diff] [blame] | 3713 | |
David Lawrence Ramsey | 98958e8 | 2007-12-04 16:38:47 +0000 | [diff] [blame] | 3714 | 2007-12-04 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 98958e8 | 2007-12-04 16:38:47 +0000 | [diff] [blame] | 3715 | * nano.c (main), prompt.c (get_prompt_string), winio.c |
| 3716 | (do_replace_highlight): Per OKATA Akio's patch, with minor |
| 3717 | tweaks by me, add wnoutrefresh() calls after |
| 3718 | reset_(statusbar_)?cursor() calls, to ensure that the cursor is |
| 3719 | placed properly when using NetBSD curses. |
David Lawrence Ramsey | 9bd537f | 2007-12-04 20:49:09 +0000 | [diff] [blame] | 3720 | * nano.c (disable_mouse_support, enable_mouse_support): When |
| 3721 | toggling mouse support on or off, save and restore the mouse |
| 3722 | click interval. |
David Lawrence Ramsey | 98958e8 | 2007-12-04 16:38:47 +0000 | [diff] [blame] | 3723 | |
David Lawrence Ramsey | 38de45b | 2007-11-29 19:09:21 +0000 | [diff] [blame] | 3724 | 2007-11-29 Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> |
David Lawrence Ramsey | 38de45b | 2007-11-29 19:09:21 +0000 | [diff] [blame] | 3725 | * doc/man/fr/*.1, doc/man/fr/nanorc.5: Fix copyright notices. |
| 3726 | The copyrights are disclaimed on these translations, but the |
| 3727 | copyrights of the untranslated works also apply. |
| 3728 | |
David Lawrence Ramsey | 9b5f463 | 2007-11-28 17:09:42 +0000 | [diff] [blame] | 3729 | 2007-11-28 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 9b5f463 | 2007-11-28 17:09:42 +0000 | [diff] [blame] | 3730 | * doc/man/fr/nanorc.5: Remove trailing whitespace. |
| 3731 | |
David Lawrence Ramsey | cfd4b89 | 2007-11-17 20:34:38 +0000 | [diff] [blame] | 3732 | 2007-11-17 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | cfd4b89 | 2007-11-17 20:34:38 +0000 | [diff] [blame] | 3733 | * files.c (read_file): Improve autodetection of DOS and Mac |
| 3734 | format files to not trigger on carriage returns in the middle of |
| 3735 | files, as found by Kjell Braden. |
| 3736 | |
David Lawrence Ramsey | 4510bac | 2007-11-06 22:58:33 +0000 | [diff] [blame] | 3737 | 2007-11-06 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 4510bac | 2007-11-06 22:58:33 +0000 | [diff] [blame] | 3738 | * doc/man/rnano.1, doc/man/fr/rnano.1: Update copyright notices, |
| 3739 | as Jordi Mallach's copyrights have now been assigned to the Free |
| 3740 | Software Foundation. |
| 3741 | |
David Lawrence Ramsey | 4fe5edb | 2007-11-05 17:18:16 +0000 | [diff] [blame] | 3742 | 2007-11-05 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 4fe5edb | 2007-11-05 17:18:16 +0000 | [diff] [blame] | 3743 | * search.c (do_gotolinecolumn): Use a clearer error message if |
| 3744 | we enter an invalid line or column number, per Mike Melanson's |
| 3745 | suggestion. |
| 3746 | |
David Lawrence Ramsey | d8a1d37 | 2007-10-11 05:01:32 +0000 | [diff] [blame] | 3747 | 2007-10-11 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | d8a1d37 | 2007-10-11 05:01:32 +0000 | [diff] [blame] | 3748 | * doc/man/nano.1, doc/man/fr/nano.1, doc/texinfo/nano.texi, |
| 3749 | src/*.c, src/*.h: Update copyright notices, as Chris |
| 3750 | Allegretta's copyrights have now been assigned to the Free |
| 3751 | Software Foundation. |
| 3752 | * doc/man/nanorc.5, doc/man/fr/nanorc.5: Make copyright notices |
| 3753 | for these files consistent in style. |
David Lawrence Ramsey | b4b5536 | 2007-10-11 15:19:45 +0000 | [diff] [blame] | 3754 | * files.c (cwd_tab_completion): Remove unneeded assert. |
David Lawrence Ramsey | 6e6c80b | 2007-10-11 15:38:32 +0000 | [diff] [blame] | 3755 | * files.c (username_tab_completion, cwd_tab_completion): Rename |
| 3756 | variable buflen to buf_len, for consistency. |
David Lawrence Ramsey | 4821ac6 | 2007-10-11 15:49:08 +0000 | [diff] [blame] | 3757 | * files.c (input_tab): Disable completion of usernames, |
| 3758 | directories, and filenames if the cursor isn't at the end of the |
| 3759 | line, as it can lead to odd behavior (e.g. adding a copy of the |
| 3760 | entire match to the middle of the line instead of just the |
| 3761 | uncompleted part of the match). |
David Lawrence Ramsey | d8a1d37 | 2007-10-11 05:01:32 +0000 | [diff] [blame] | 3762 | |
David Lawrence Ramsey | c9694b7 | 2007-10-05 16:44:45 +0000 | [diff] [blame] | 3763 | 2007-10-05 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | c9694b7 | 2007-10-05 16:44:45 +0000 | [diff] [blame] | 3764 | * src/*.c, src/*.h: Update copyright notices, as my copyrights |
| 3765 | have now been assigned to the Free Software Foundation. |
| 3766 | |
David Lawrence Ramsey | 1072fce | 2007-09-16 16:53:20 +0000 | [diff] [blame] | 3767 | 2007-09-16 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 1072fce | 2007-09-16 16:53:20 +0000 | [diff] [blame] | 3768 | * winio.c (edit_scroll): Fix problem where the screen wouldn't |
| 3769 | be updated properly if you paged up with the first line of the |
| 3770 | file onscreen and the mark on. |
| 3771 | |
David Lawrence Ramsey | cd7a313 | 2007-08-26 15:21:05 +0000 | [diff] [blame] | 3772 | 2007-08-26 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | cd7a313 | 2007-08-26 15:21:05 +0000 | [diff] [blame] | 3773 | * doc/faq.html: Update links to the Free Translation Project. |
| 3774 | |
David Lawrence Ramsey | c1f4b9e | 2007-08-24 00:36:51 +0000 | [diff] [blame] | 3775 | 2007-08-23 Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> |
David Lawrence Ramsey | c1f4b9e | 2007-08-24 00:36:51 +0000 | [diff] [blame] | 3776 | * doc/man/fr/*.1, doc/man/fr/nanorc.5: Add translation of new |
| 3777 | licensing terms. |
| 3778 | |
David Lawrence Ramsey | ac154c3 | 2007-08-23 14:00:58 +0000 | [diff] [blame] | 3779 | 2007-08-23 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | ac154c3 | 2007-08-23 14:00:58 +0000 | [diff] [blame] | 3780 | * doc/man/fr/*.1, doc/man/fr/nanorc.5: Delete translation of |
| 3781 | old licensing terms, until it can be updated. |
| 3782 | |
David Lawrence Ramsey | e3eed02 | 2007-08-23 04:34:35 +0000 | [diff] [blame] | 3783 | 2007-08-22 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | e3eed02 | 2007-08-23 04:34:35 +0000 | [diff] [blame] | 3784 | * COPYING.DOC: Add a copy of the GNU FDL version 1.2. |
| 3785 | * Makefile.am: Add COPYING.DOC to EXTRA_DIST. |
| 3786 | * doc/man/*.1, doc/man/nanorc.5, doc/man/fr/*.1, |
| 3787 | doc/man/fr/nanorc.5, doc/texinfo/nano.texi: Relicense to the GNU |
| 3788 | GPL version 3 or later/the GNU FDL version 1.2 or later with no |
| 3789 | Invariant Sections, Front-Cover Texts, or Back-Cover Texts. |
| 3790 | |
David Lawrence Ramsey | 093a441 | 2007-08-21 16:38:43 +0000 | [diff] [blame] | 3791 | 2007-08-21 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | a22b267 | 2007-08-21 17:00:42 +0000 | [diff] [blame] | 3792 | * doc/man/rnano.1, doc/man/fr/rnano.1: Add missing copyright |
| 3793 | notice from nano-tiny.1, which rnano.1 is based on. |
| 3794 | * doc/man/fr/nano.1, doc/man/fr/nanorc.5, doc/man/fr/rnano.1: |
| 3795 | Make all copyright notices consistent. |
David Lawrence Ramsey | 093a441 | 2007-08-21 16:38:43 +0000 | [diff] [blame] | 3796 | |
David Lawrence Ramsey | 64b8f42 | 2007-08-16 14:45:17 +0000 | [diff] [blame] | 3797 | 2007-08-16 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 64b8f42 | 2007-08-16 14:45:17 +0000 | [diff] [blame] | 3798 | * files.c (do_insertfile): Properly handle more cases of |
| 3799 | inserting a file with the mark on. |
| 3800 | * nano.c (copy_from_file): Properly handle more cases of |
| 3801 | uncutting text with the mark on. |
| 3802 | |
David Lawrence Ramsey | bf70087 | 2007-08-15 22:40:33 +0000 | [diff] [blame] | 3803 | 2007-08-15 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | bf70087 | 2007-08-15 22:40:33 +0000 | [diff] [blame] | 3804 | * Makefile.am: Remove erroneous backslash after |
| 3805 | ChangeLog.pre-2.1 in EXTRA_DIST, so that "make dist" works |
| 3806 | again. |
David Lawrence Ramsey | 908b127 | 2007-08-16 02:34:23 +0000 | [diff] [blame] | 3807 | * files.c (do_insertfile): Make sure the mark is always properly |
David Lawrence Ramsey | ee89418 | 2007-08-16 03:23:30 +0000 | [diff] [blame] | 3808 | positioned after inserting a file with the mark on. |
| 3809 | * nano.c (copy_from_file): Make sure the mark is always properly |
| 3810 | positioned after uncutting multiple lines with the mark on. |
David Lawrence Ramsey | bf70087 | 2007-08-15 22:40:33 +0000 | [diff] [blame] | 3811 | |
David Lawrence Ramsey | d0035b4 | 2007-08-11 05:17:36 +0000 | [diff] [blame] | 3812 | 2007-08-11 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | d0035b4 | 2007-08-11 05:17:36 +0000 | [diff] [blame] | 3813 | * COPYING: Add a copy of the GNU GPL version 3. |
| 3814 | * configure.ac, *.c, *.h: Relicense to the GNU GPL version 3 or |
| 3815 | later. |
| 3816 | |
David Lawrence Ramsey | 273c113 | 2007-08-10 17:03:29 +0000 | [diff] [blame] | 3817 | 2007-08-10 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | fd21be1 | 2007-08-10 22:12:39 +0000 | [diff] [blame] | 3818 | * files.c (username_tab_completion, cwd_tab_completion, |
| 3819 | input_tab): Update copyright notice to account for |
| 3820 | modifications. |
David Lawrence Ramsey | 273c113 | 2007-08-10 17:03:29 +0000 | [diff] [blame] | 3821 | * utils.c (ngetdelim): Simplify. |
| 3822 | * utils.c (ngetline, ngetdelim): Update copyright notice to |
| 3823 | account for modifications. |
| 3824 | |
David Lawrence Ramsey | d1ab89a | 2007-08-07 20:21:39 +0000 | [diff] [blame] | 3825 | 2007-08-07 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | d1ab89a | 2007-08-07 20:21:39 +0000 | [diff] [blame] | 3826 | * nano.c (copy_from_file): Fix potential segfault, found by Paul |
| 3827 | Goins, after uncutting one line of text with the mark on by |
| 3828 | properly preserving the beginning of the mark. |
| 3829 | * nano.c (copy_from_file): Make sure the mark is always properly |
| 3830 | positioned after uncutting one line of text with the mark on. |
| 3831 | |
David Lawrence Ramsey | 129dfb6 | 2007-08-01 12:49:57 +0000 | [diff] [blame] | 3832 | 2007-08-01 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 129dfb6 | 2007-08-01 12:49:57 +0000 | [diff] [blame] | 3833 | * nano.c (version): Display copyright notices. |
| 3834 | |
David Lawrence Ramsey | cb53563 | 2007-07-31 21:20:08 +0000 | [diff] [blame] | 3835 | 2007-07-31 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 396f665 | 2007-08-01 01:28:39 +0000 | [diff] [blame] | 3836 | * configure.ac: Update copyright notice to account for |
| 3837 | modifications. |
David Lawrence Ramsey | cb53563 | 2007-07-31 21:20:08 +0000 | [diff] [blame] | 3838 | |
David Lawrence Ramsey | 1f5c89f | 2007-07-29 16:30:27 +0000 | [diff] [blame] | 3839 | 2007-07-29 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 1f5c89f | 2007-07-29 16:30:27 +0000 | [diff] [blame] | 3840 | * doc/faq.html: Update RPM links for nano 2.0.x. |
| 3841 | |
David Lawrence Ramsey | 3678477 | 2007-07-12 03:12:31 +0000 | [diff] [blame] | 3842 | 2007-07-11 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 3678477 | 2007-07-12 03:12:31 +0000 | [diff] [blame] | 3843 | * files.c (copy_file): Assert that inn and out don't both point |
| 3844 | to the same file. |
| 3845 | |
David Lawrence Ramsey | 9276f4d | 2007-07-10 22:54:58 +0000 | [diff] [blame] | 3846 | 2007-07-10 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 9276f4d | 2007-07-10 22:54:58 +0000 | [diff] [blame] | 3847 | * chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr, |
David Lawrence Ramsey | fe1bc66 | 2007-07-14 16:41:40 +0000 | [diff] [blame] | 3848 | mbrevstrcasestr): Simplify and rewrite to use the strncasecmp() |
| 3849 | equivalents. |
David Lawrence Ramsey | 9276f4d | 2007-07-10 22:54:58 +0000 | [diff] [blame] | 3850 | |
David Lawrence Ramsey | bebfd9f | 2007-07-09 22:36:32 +0000 | [diff] [blame] | 3851 | 2007-07-09 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 3653667 | 2007-07-09 22:57:07 +0000 | [diff] [blame] | 3852 | * chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr, |
| 3853 | mbrevstrcasestr): Fix typo that broke the check for needle's |
| 3854 | being blank. |
David Lawrence Ramsey | bebfd9f | 2007-07-09 22:36:32 +0000 | [diff] [blame] | 3855 | * chars.c (mbstrncasecmp, mbstrnlen, mbstrpbrk, |
| 3856 | has_blank_mbchars): Simplify by using for loops instead of while |
| 3857 | loops where possible, to match the single-byte versions of these |
| 3858 | functions. |
David Lawrence Ramsey | a90e6c3 | 2007-07-09 23:24:37 +0000 | [diff] [blame] | 3859 | * search.c (do_replace_loop): Fix problem where replacing e.g. |
| 3860 | single-byte characters with multibyte ones could result in |
| 3861 | openfile->totsize's being miscalculated. |
David Lawrence Ramsey | bebfd9f | 2007-07-09 22:36:32 +0000 | [diff] [blame] | 3862 | |
David Lawrence Ramsey | ae46b91 | 2007-07-06 13:44:13 +0000 | [diff] [blame] | 3863 | 2007-07-06 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | ae46b91 | 2007-07-06 13:44:13 +0000 | [diff] [blame] | 3864 | * chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr, |
| 3865 | mbrevstrcasestr): Return char* instead of const char*. |
| 3866 | |
David Lawrence Ramsey | 7105830 | 2007-07-02 15:45:13 +0000 | [diff] [blame] | 3867 | 2007-07-02 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 7105830 | 2007-07-02 15:45:13 +0000 | [diff] [blame] | 3868 | * chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr, |
David Lawrence Ramsey | 08077ec | 2007-07-02 15:49:05 +0000 | [diff] [blame] | 3869 | mbrevstrcasestr): For efficiency, return haystack/rev_start |
| 3870 | immediately if needle is blank. |
David Lawrence Ramsey | 7105830 | 2007-07-02 15:45:13 +0000 | [diff] [blame] | 3871 | |
David Lawrence Ramsey | 444f802 | 2007-07-01 21:46:00 +0000 | [diff] [blame] | 3872 | 2007-07-01 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 444f802 | 2007-07-01 21:46:00 +0000 | [diff] [blame] | 3873 | * chars.c (nstrncasecmp, mbstrncasecmp): For efficiency, return |
| 3874 | zero immediately if s1 and s2 point to the same string. |
| 3875 | |
David Lawrence Ramsey | 23a4e43 | 2007-06-30 21:19:42 +0000 | [diff] [blame] | 3876 | 2007-06-30 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 23a4e43 | 2007-06-30 21:19:42 +0000 | [diff] [blame] | 3877 | * prompt.c (do_yesno_prompt): Remove redundant check for |
| 3878 | NO_HELP's being FALSE. |
| 3879 | |
David Lawrence Ramsey | ebc38fd | 2007-06-28 16:00:50 +0000 | [diff] [blame] | 3880 | 2007-06-28 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | ebc38fd | 2007-06-28 16:00:50 +0000 | [diff] [blame] | 3881 | * browser.c (do_browser), nano.c (do_mouse), prompt.c |
| 3882 | (do_statusbar_mouse, do_yesno_prompt): Further simplify |
| 3883 | processing of mouse events by consolidating if clauses. |
David Lawrence Ramsey | 81acb97 | 2007-06-28 17:46:04 +0000 | [diff] [blame] | 3884 | * winio.c (do_mouseinput): Return unconditionally if we get a |
| 3885 | mouse event that we don't deal with, instead of inside an else |
| 3886 | clause. |
David Lawrence Ramsey | ebc38fd | 2007-06-28 16:00:50 +0000 | [diff] [blame] | 3887 | |
David Lawrence Ramsey | 3a50470 | 2007-05-29 17:01:12 +0000 | [diff] [blame] | 3888 | 2007-05-29 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 3a50470 | 2007-05-29 17:01:12 +0000 | [diff] [blame] | 3889 | * winio.c (do_mouseinput): Deal with clicks of the first mouse |
| 3890 | button again. Oddly, ncurses built without --enable-ext-mouse |
| 3891 | needs this, but ncurses built with --enable-ext-mouse doesn't. |
| 3892 | |
David Lawrence Ramsey | a78b435 | 2007-05-25 14:39:40 +0000 | [diff] [blame] | 3893 | 2007-05-25 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | a78b435 | 2007-05-25 14:39:40 +0000 | [diff] [blame] | 3894 | * configure.ac, nano.c (main): Replace the current hackish check |
| 3895 | for a UTF-8 locale with a proper call to nl_langinfo(). |
David Lawrence Ramsey | 14aa37c | 2007-05-25 16:54:06 +0000 | [diff] [blame] | 3896 | * winio.c (get_key_buffer): Fix inaccurate comments. |
David Lawrence Ramsey | a78b435 | 2007-05-25 14:39:40 +0000 | [diff] [blame] | 3897 | |
David Lawrence Ramsey | bc65313 | 2007-05-22 17:20:28 +0000 | [diff] [blame] | 3898 | 2007-05-22 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | bc65313 | 2007-05-22 17:20:28 +0000 | [diff] [blame] | 3899 | * browser.c (do_browser), nano.c (do_mouse), prompt.c |
| 3900 | (do_statusbar_mouse, do_yesno_prompt), winio.c (do_mouseinput): |
| 3901 | Simplify processing of mouse events. Instead of calling |
| 3902 | wenclose() to get the window a mouse event took place in and |
| 3903 | manually adjusting the returned coordinates to be relative to |
| 3904 | that window the mouse event took place in, call wmouse_trafo(), |
| 3905 | which does both. |
| 3906 | |
David Lawrence Ramsey | 3a5eaeb | 2007-05-20 23:41:56 +0000 | [diff] [blame] | 3907 | 2007-05-20 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 54fdb75 | 2007-05-22 17:18:06 +0000 | [diff] [blame] | 3908 | * browser.c (do_browser), nano.c (do_mouse), prompt.c |
| 3909 | (do_statusbar_mouse, do_yesno_prompt), winio.c (do_mouseinput): |
| 3910 | Fix processing of mouse events so that those we don't handle are |
| 3911 | ignored instead of being erroneously passed through. |
David Lawrence Ramsey | 3a5eaeb | 2007-05-20 23:41:56 +0000 | [diff] [blame] | 3912 | * winio.c (do_mouseinput): Simplify handling of mouse events |
David Lawrence Ramsey | 3a50470 | 2007-05-29 17:01:12 +0000 | [diff] [blame] | 3913 | involving the first mouse button by only dealing with releases. |
David Lawrence Ramsey | 3a5eaeb | 2007-05-20 23:41:56 +0000 | [diff] [blame] | 3914 | * winio.c (do_mouseinput): Improve mouse wheel support to only |
| 3915 | move the cursor if we're in the edit window or on the statusbar. |
| 3916 | |
David Lawrence Ramsey | b9fa1b1 | 2007-05-15 18:04:25 +0000 | [diff] [blame] | 3917 | 2007-05-15 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | b9fa1b1 | 2007-05-15 18:04:25 +0000 | [diff] [blame] | 3918 | * winio.c (do_mouseinput): Add mouse wheel support, per Helmut |
David Lawrence Ramsey | 7f8bfca | 2007-05-15 19:33:56 +0000 | [diff] [blame] | 3919 | Jarausch's suggestion. Now, if mouse support is enabled, and |
| 3920 | nano is using a version of ncurses compiled with the |
David Lawrence Ramsey | b9fa1b1 | 2007-05-15 18:04:25 +0000 | [diff] [blame] | 3921 | --enable-ext-mouse option, rolling the mouse wheel up or down |
| 3922 | will move the cursor three lines up or down. |
| 3923 | |
David Lawrence Ramsey | c88556c | 2007-04-23 15:39:01 +0000 | [diff] [blame] | 3924 | 2007-04-23 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | c88556c | 2007-04-23 15:39:01 +0000 | [diff] [blame] | 3925 | * TODO: Add entries for fixing limitations with pasting text and |
| 3926 | handling bad/incomplete UTF-8 sequences. |
| 3927 | |
David Lawrence Ramsey | ee43ea6 | 2007-04-22 15:04:05 +0000 | [diff] [blame] | 3928 | 2007-04-22 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | ee43ea6 | 2007-04-22 15:04:05 +0000 | [diff] [blame] | 3929 | * text.c (backup_lines): Avoid a segfault when the mark begins |
| 3930 | and ends on the line after the last line of the paragraph. |
| 3931 | |
David Lawrence Ramsey | 462720a | 2007-04-21 18:23:06 +0000 | [diff] [blame] | 3932 | 2007-04-21 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 7622ca0 | 2007-04-21 18:57:47 +0000 | [diff] [blame] | 3933 | * files.c (do_writeout): If we're in restricted mode, we're not |
| 3934 | allowed to write selections to files, so don't display the |
| 3935 | "Write Selection to File" prompt. |
David Lawrence Ramsey | 462720a | 2007-04-21 18:23:06 +0000 | [diff] [blame] | 3936 | * files.c (do_writeout): Simplify. |
| 3937 | |
David Lawrence Ramsey | 380a708 | 2007-04-19 04:12:54 +0000 | [diff] [blame] | 3938 | 2007-04-19 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 380a708 | 2007-04-19 04:12:54 +0000 | [diff] [blame] | 3939 | * files.c (tail): Remove unneeded if statement. |
| 3940 | |
David Lawrence Ramsey | b68cd63 | 2007-04-18 23:15:30 +0000 | [diff] [blame] | 3941 | 2007-04-18 John M. Gabriele <jmg3000@gmail.com> |
David Lawrence Ramsey | b68cd63 | 2007-04-18 23:15:30 +0000 | [diff] [blame] | 3942 | * doc/faq.html: Add a new section 4.14 (with minor tweaks by |
| 3943 | David Lawrence Ramsey) to explain how autoindent affects pasted |
| 3944 | text. |
| 3945 | |
David Lawrence Ramsey | a31d54e | 2007-04-18 13:48:37 +0000 | [diff] [blame] | 3946 | 2007-04-18 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 7fc36c7 | 2007-04-18 18:22:13 +0000 | [diff] [blame] | 3947 | * files.c (open_file): Open files using their full paths |
| 3948 | whenever possible, so that ~user/file.txt and "~user/file.txt" |
| 3949 | are treated the same way if ~user is a user's home directory. |
David Lawrence Ramsey | dc588ae | 2007-04-18 17:13:36 +0000 | [diff] [blame] | 3950 | * files.c (real_dir_from_tilde): Simplify. |
David Lawrence Ramsey | b8dfcb3 | 2007-04-18 19:09:44 +0000 | [diff] [blame] | 3951 | * files.c (do_writeout): Properly display the warning in all |
| 3952 | cases if we try to save (a) an existing file under a different |
| 3953 | name, or (b) a file with no name under an existing file's name. |
| 3954 | * files.c (do_writeout): Rename variable different_name to |
| 3955 | do_warning, for clarity. |
David Lawrence Ramsey | 7fc36c7 | 2007-04-18 18:22:13 +0000 | [diff] [blame] | 3956 | * rcfile.c (parse_include): Open files using their full paths |
| 3957 | whenever possible, so that ~user/file.txt and "~user/file.txt" |
| 3958 | are treated the same way if ~user is a user's home directory. |
| 3959 | * rcfile.c (parse_include): Properly check for the included |
| 3960 | file's being a directory, a character file, or a block file. |
| 3961 | * rcfile.c (parse_include): For consistency, display the |
| 3962 | filename as the user entered it if we can't read the specified |
| 3963 | file. |
David Lawrence Ramsey | 6a8b350 | 2007-04-18 14:06:34 +0000 | [diff] [blame] | 3964 | * winio.c (parse_kbinput): Interpret Cancel and Shift-Cancel. |
David Lawrence Ramsey | a31d54e | 2007-04-18 13:48:37 +0000 | [diff] [blame] | 3965 | * winio.c (get_escape_seq_kbinput): Add missing comments. |
| 3966 | |
David Lawrence Ramsey | e93cfd1 | 2007-04-17 04:38:30 +0000 | [diff] [blame] | 3967 | 2007-04-17 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 88bf487 | 2007-04-18 13:45:57 +0000 | [diff] [blame] | 3968 | * files.c (real_dir_from_tilde): Fix long-standing problem, |
| 3969 | found by Justin Fletcher, where directory names that began with |
| 3970 | "~", but that weren't users' home directories, could be |
| 3971 | erroneously treated as users' home directories (e.g. "~d/" would |
| 3972 | be treated as "~daemon/"). |
David Lawrence Ramsey | 31023f0 | 2007-04-17 18:12:19 +0000 | [diff] [blame] | 3973 | * files.c (input_tab): Don't bother checking if num_matches is |
David Lawrence Ramsey | 88bf487 | 2007-04-18 13:45:57 +0000 | [diff] [blame] | 3974 | less than zero, as it's a size_t and hence unsigned. |
David Lawrence Ramsey | e93cfd1 | 2007-04-17 04:38:30 +0000 | [diff] [blame] | 3975 | |
David Lawrence Ramsey | a1cf6be | 2007-04-17 03:43:59 +0000 | [diff] [blame] | 3976 | 2007-04-16 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | 88bf487 | 2007-04-18 13:45:57 +0000 | [diff] [blame] | 3977 | * files.c (real_dir_from_tilde): Fix segfault, found by Justin |
| 3978 | Fletcher, when dealing with directory names that begin with "~", |
| 3979 | but that aren't users' home directories. |
David Lawrence Ramsey | a1cf6be | 2007-04-17 03:43:59 +0000 | [diff] [blame] | 3980 | |
David Lawrence Ramsey | e081fb9 | 2007-04-11 22:18:16 +0000 | [diff] [blame] | 3981 | 2007-04-11 Mike Frysinger <vapier@gentoo.org> |
David Lawrence Ramsey | e081fb9 | 2007-04-11 22:18:16 +0000 | [diff] [blame] | 3982 | * doc/syntax/asm.nanorc, doc/syntax/c.nanorc, |
| 3983 | doc/syntax/sh.nanorc: Copy the regex that highlights trailing |
David Lawrence Ramsey | 88bf487 | 2007-04-18 13:45:57 +0000 | [diff] [blame] | 3984 | whitespace (with minor tweaks by David Lawrence Ramsey) from |
| 3985 | doc/syntax/java.nanorc to these files, as it's also useful in |
| 3986 | them. |
David Lawrence Ramsey | e081fb9 | 2007-04-11 22:18:16 +0000 | [diff] [blame] | 3987 | |
David Lawrence Ramsey | a2c4704 | 2007-04-04 20:00:24 +0000 | [diff] [blame] | 3988 | 2007-04-04 David Lawrence Ramsey <pooka109@gmail.com> |
David Lawrence Ramsey | a2c4704 | 2007-04-04 20:00:24 +0000 | [diff] [blame] | 3989 | * AUTHORS, faq.html: Update email address. |
David Lawrence Ramsey | 267daeb | 2007-04-04 20:36:56 +0000 | [diff] [blame] | 3990 | * winio.c (get_escape_seq_kbinput): Add escape sequences for |
| 3991 | Terminal. |
David Lawrence Ramsey | a2c4704 | 2007-04-04 20:00:24 +0000 | [diff] [blame] | 3992 | |
David Lawrence Ramsey | 9f1db5d | 2007-02-01 13:40:59 +0000 | [diff] [blame] | 3993 | 2007-02-01 Benno Schulenberg <bensberg@justemail.net> |
David Lawrence Ramsey | 9f1db5d | 2007-02-01 13:40:59 +0000 | [diff] [blame] | 3994 | * global.c (shortcut_init): Reword the movement shortcut |
| 3995 | descriptions so that they use "Go to" instead of "Move to", |
| 3996 | since not all of them move the cursor in the same way. |
| 3997 | * global.c (shortcut_init): Reword the paragraph movement |
| 3998 | shortcut descriptions to more accurately describe how they work. |
David Lawrence Ramsey | 817cb9e | 2007-02-01 15:25:29 +0000 | [diff] [blame] | 3999 | * nano.c (usage): Reword the description of the -S/--smooth |
| 4000 | command line option in order to differentiate it from the |
| 4001 | associated toggle description. |
David Lawrence Ramsey | 9f1db5d | 2007-02-01 13:40:59 +0000 | [diff] [blame] | 4002 | |
Jordi Mallach | 94d8fe6 | 2007-01-30 19:48:52 +0000 | [diff] [blame] | 4003 | 2007-01-29 David Lawrence Ramsey <pooka109@cox.net> |
David Lawrence Ramsey | 31d623f | 2007-01-29 15:45:50 +0000 | [diff] [blame] | 4004 | * ChangeLog: Rework the 2.1 branch's changelog to be more |
| 4005 | readable, per Jordi Mallach's suggestion. |
| 4006 | * ChangeLog.pre-2.1: Move the 2.0 branch's changelog here, per |
| 4007 | Jordi Mallach's suggestion. |
David Lawrence Ramsey | dd7c9a3 | 2007-01-29 15:54:21 +0000 | [diff] [blame] | 4008 | * Makefile.am: Add ChangeLog.pre-2.1 to EXTRA_DIST. |
David Lawrence Ramsey | 31d623f | 2007-01-29 15:45:50 +0000 | [diff] [blame] | 4009 | * src/help.c (help_init): Add a missing space to the "Execute |
| 4010 | Command" help text. |