2017-01-04 18:01:50 +03:00
|
|
|
|
[Development moved to git on April 1. The Changelog was discontinued.]
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 14:14:25 +03:00
|
|
|
|
2016-03-31 Benno Schulenberg <bensberg@justemail.net>
|
2016-03-31 14:27:16 +03:00
|
|
|
|
* src/text.c (do_int_spell_fix): Replace a fake 'while', delete a
|
|
|
|
|
redundant 'if', rename a variable, and adjust whitespace.
|
2016-03-31 14:14:25 +03:00
|
|
|
|
|
2016-03-30 15:00:48 +03:00
|
|
|
|
2016-03-30 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_replace_loop, go_looking, findnextstr): Report
|
|
|
|
|
"Cancelled" instead of "Not found" when the user aborts a replace
|
|
|
|
|
that is taking too long. This fixes Savannah bug #47439.
|
2016-03-30 15:09:39 +03:00
|
|
|
|
* src/winio.c (do_replace_highlight): Rename this to 'spotlight',
|
|
|
|
|
for clarity, and for contrast with 'do_replace/do_replace_loop'.
|
2016-03-30 15:18:22 +03:00
|
|
|
|
* src/winio.c (spotlight): Rename a variable for clarity.
|
2016-03-30 15:27:06 +03:00
|
|
|
|
* src/files.c (input_tab), src/prompt.c (get_prompt_string):
|
|
|
|
|
Rename a variable to better indicate booleanness.
|
2016-03-30 15:30:14 +03:00
|
|
|
|
* src/text.c (do_int_speller): Unwrap a few lines.
|
2016-03-30 15:00:48 +03:00
|
|
|
|
|
2016-03-29 15:14:00 +03:00
|
|
|
|
2016-03-29 Benno Schulenberg <bensberg@justemail.net>
|
2016-03-29 17:09:17 +03:00
|
|
|
|
* src/nano.c (main), src/text.c (do_justify, do_verbatim_input),
|
|
|
|
|
src/winio.c (parse_escape_sequence): Place the cursor in the edit
|
|
|
|
|
window also when --constantshow is in effect, after a ^J Justify or
|
|
|
|
|
an invalid escape sequence, and when entering a verbatim keystroke.
|
|
|
|
|
Leave the cursor off during Unicode input, for extra feedback.
|
2016-03-29 17:16:55 +03:00
|
|
|
|
* src/browser.c (do_browser): Improve the wording of a message.
|
2016-03-29 17:46:53 +03:00
|
|
|
|
* src/chars.c (is_valid_unicode): Speed up Unicode validation.
|
2016-03-29 17:56:32 +03:00
|
|
|
|
* src/text.c (do_int_spell_fix): Allow to stop replacing a word
|
|
|
|
|
without aborting the entire spell-fixing session.
|
2016-03-29 18:05:47 +03:00
|
|
|
|
* src/search.c (do_replace_loop): Chop a now-unused parameter.
|
2016-03-29 15:14:00 +03:00
|
|
|
|
|
2016-03-28 21:53:49 +03:00
|
|
|
|
2016-03-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (statusbar): Don't bother putting back the cursor in
|
|
|
|
|
the edit window, as it is off anyway, and will be placed back in the
|
|
|
|
|
main loop. This prevents a segfault when trying to open a directory.
|
2016-03-28 22:00:19 +03:00
|
|
|
|
* src/search.c (findnextstr): Provide feedback when searching takes
|
|
|
|
|
longer than roughly half a second (on average).
|
2016-03-28 22:14:33 +03:00
|
|
|
|
* src/*.c: Remove the 'last_replace' variable that is never used.
|
2016-03-28 22:30:27 +03:00
|
|
|
|
* src/winio.c (parse_kbinput): Delete a no-op.
|
2016-03-28 21:53:49 +03:00
|
|
|
|
|
2016-03-23 12:52:34 +03:00
|
|
|
|
2016-03-23 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (findnextstr): Prevent the internal spell checker from
|
|
|
|
|
finding the first occurrence twice. And delete the piece of dead code
|
|
|
|
|
that was meant to do this. This fixes Savannah bug #47188.
|
2016-03-23 13:19:01 +03:00
|
|
|
|
* src/search.c (findnextstr): Clean up and rename a variable.
|
2016-03-23 13:27:54 +03:00
|
|
|
|
* src/search.c (findnextstr): Poll the keyboard once per second.
|
2016-03-23 22:48:44 +03:00
|
|
|
|
* src/winio.c (reset_cursor): Remove a pointless condition, and make
|
|
|
|
|
use of an existing intermediary variable.
|
2016-03-23 23:04:33 +03:00
|
|
|
|
* src/winio.c (reset_cursor): Tidy up and rename a variable.
|
2016-03-23 23:21:36 +03:00
|
|
|
|
* src/winio.c (onekey): Elide an unneeded 'if' and unneeded variable.
|
2016-03-23 12:52:34 +03:00
|
|
|
|
|
2016-03-22 13:42:28 +03:00
|
|
|
|
2016-03-22 Thomas Rosenau <thomasr@fantasymail.de>
|
|
|
|
|
* configure.ac, src/*.c: Check for the existence of the REG_ENHANCED
|
|
|
|
|
regex flag, and use it when it's available (on OS X systems). This
|
|
|
|
|
completes the fix for Savannah bug #47325.
|
|
|
|
|
|
2016-03-21 23:38:08 +03:00
|
|
|
|
2016-03-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (findnextfile): Trim a duplicate variable.
|
2016-03-21 23:49:29 +03:00
|
|
|
|
* src/browser.c (browser_refresh, findnextfile): Rename four vars.
|
2016-03-21 23:38:08 +03:00
|
|
|
|
|
2016-03-20 13:57:14 +03:00
|
|
|
|
2016-03-20 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (do_writeout), src/nano.c (do_exit): Normalize the
|
|
|
|
|
punctuation in some prompts: no space before a question mark, and
|
|
|
|
|
a semicolon instead of a comma between phrases.
|
2016-03-20 14:10:31 +03:00
|
|
|
|
* src/text.c (do_cutword): Don't put cut words into the cutbuffer --
|
|
|
|
|
that is: treat the deletion of words like pressing Backspace/Delete.
|
2016-03-20 16:38:09 +03:00
|
|
|
|
* src/search.c (get_history_completion, find_history): Cycle through
|
|
|
|
|
the items from newest to oldest. This fixes Savannah bug #47205.
|
2016-03-20 17:34:46 +03:00
|
|
|
|
* src/files.c (do_writeout): When the name of the file was changed,
|
|
|
|
|
always ask whether this is okay. This fixes Savannah bug #46894.
|
2016-03-20 19:03:20 +03:00
|
|
|
|
* src/search.c (do_research): Use 'return' instead of 'else'.
|
2016-03-20 19:19:30 +03:00
|
|
|
|
* src/search.c (do_search): Don't bother setting 'answer'; just use
|
|
|
|
|
'last_search', which has been set to 'answer' in search_init().
|
2016-03-20 19:57:15 +03:00
|
|
|
|
* src/search.c (go_looking): Factor out the common part of
|
|
|
|
|
do_search() and do_research() into this new function.
|
2016-03-20 13:57:14 +03:00
|
|
|
|
|
2016-03-19 19:19:44 +03:00
|
|
|
|
2016-03-19 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (search_init): Always remember the last typed string,
|
|
|
|
|
also when it's an invalid regex. This fixes Savannah bug #47440.
|
2016-03-19 19:41:45 +03:00
|
|
|
|
* src/search.c (search_init, do_replace): Don't bother setting the
|
|
|
|
|
current answer to the empty string, as do_prompt() can handle a NULL.
|
2016-03-19 20:01:40 +03:00
|
|
|
|
* src/browser.c (do_browser): Delete a snippet of dead code.
|
2016-03-19 20:13:33 +03:00
|
|
|
|
* src/browser.c (do_browser): Delete an unneeded variable.
|
2016-03-19 20:19:30 +03:00
|
|
|
|
* src/search.c (do_gotolinecolumn): Delete another unneeded variable.
|
2016-03-19 21:23:37 +03:00
|
|
|
|
* src/search.c (search_init): Snip an always-FALSE condition.
|
2016-03-19 21:51:46 +03:00
|
|
|
|
* src/search.c (search_init): Reshuffle stuff to reduce indentation.
|
2016-03-19 23:19:49 +03:00
|
|
|
|
* src/search.c (do_replace): Snip a useless setting of answer.
|
2016-03-19 19:19:44 +03:00
|
|
|
|
|
2016-03-17 12:12:30 +03:00
|
|
|
|
2016-03-17 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_research): Use the Search key bindings also during
|
|
|
|
|
a Re-search, to enable cancelling. This fixes Savannah bug #47159.
|
2016-03-17 13:06:15 +03:00
|
|
|
|
* src/search.c (do_replace): Remove two redundant returns.
|
2016-03-17 21:51:46 +03:00
|
|
|
|
* src/search.c (findnextstr): Prune two #ifdefs.
|
2016-03-17 22:30:29 +03:00
|
|
|
|
* src/search.c: Adjust some indentation.
|
2016-03-17 12:12:30 +03:00
|
|
|
|
|
2016-03-14 19:01:44 +03:00
|
|
|
|
2016-03-14 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/color.c (color_update): Don't dereference a possible NULL.
|
2016-03-14 19:09:52 +03:00
|
|
|
|
* src/rcfile.c (parse_colors): Make error message equal to others.
|
2016-03-14 20:14:35 +03:00
|
|
|
|
* src/rcfile.c (parse_rcfile): Rearrange some things to reduce the
|
|
|
|
|
indentation level by four steps, so we can unwrap a dozen lines.
|
2016-03-14 19:01:44 +03:00
|
|
|
|
|
2016-03-13 22:19:12 +03:00
|
|
|
|
2016-03-13 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (regexp_init): Allow using the word boundary markers
|
|
|
|
|
\< and \> in search strings on non-GNU systems. This is a partial
|
|
|
|
|
fix for Savannah bug #47325 reported by Thomas Rosenau.
|
2016-03-13 22:37:21 +03:00
|
|
|
|
* src/rcfile.c (parse_rcfile, parse_colors, nregcomp): Combine the
|
|
|
|
|
regular-expression flags at compile time instead of at run time.
|
2016-03-13 23:05:36 +03:00
|
|
|
|
* src/rcfile.c (parse_syntax, parse_colors): Rename a variable.
|
2016-03-13 23:13:16 +03:00
|
|
|
|
* src/winio.c (edit_draw): Give a central variable a ringing name.
|
2016-03-13 22:19:12 +03:00
|
|
|
|
|
2016-03-13 22:09:28 +03:00
|
|
|
|
2016-03-13 Thomas Rosenau <thomasr@fantasymail.de> (tiny change)
|
|
|
|
|
* autogen.sh, README.SVN: Mention SVN instead of CVS.
|
|
|
|
|
|
2016-03-12 11:46:18 +03:00
|
|
|
|
2016-03-12 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/color.c (color_update): Set the syntax and regex pointers
|
2016-03-12 12:18:50 +03:00
|
|
|
|
just once, in a single place. And unnest two 'if's.
|
2016-03-12 12:43:10 +03:00
|
|
|
|
* src/rcfile.c (parse_one_include, parse_includes): New names for
|
|
|
|
|
these functions, to be more distinguishable.
|
2016-03-12 12:52:16 +03:00
|
|
|
|
* src/rcfile.c (parse_colors): Reduce the indentation.
|
2016-03-12 13:21:02 +03:00
|
|
|
|
* src/rcfile.c (parse_colors): Rename a variable.
|
2016-03-12 14:15:12 +03:00
|
|
|
|
* src/rcfile.c (parse_colors, parse_rcfile): Refind the tail of
|
|
|
|
|
the colors list only when extending, not for every added color.
|
2016-03-12 11:46:18 +03:00
|
|
|
|
|
2016-03-11 19:30:29 +03:00
|
|
|
|
2016-03-11 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (do_browser): Fix compilation when configured with
|
|
|
|
|
--enable-tiny plus --enable-browser.
|
2016-03-11 19:39:27 +03:00
|
|
|
|
* src/rcfile.c: Tweak some comments and reshuffle some lines.
|
2016-03-11 19:45:00 +03:00
|
|
|
|
* src/rcfile.c (color_to_short): Elide a variable.
|
2016-03-11 19:51:15 +03:00
|
|
|
|
* src/rcfile.c (grab_and_store): First check that there is an
|
|
|
|
|
open syntax before checking that it is named "default".
|
2016-03-11 20:14:30 +03:00
|
|
|
|
* src/rcfile.c (parse_rcfile): Fix compilation when configured with
|
|
|
|
|
--enable-tiny plus --enable-nanorc.
|
2016-03-11 19:30:29 +03:00
|
|
|
|
|
2016-03-10 12:46:21 +03:00
|
|
|
|
2016-03-10 Benno Schulenberg <bensberg@justemail.net>
|
2016-03-12 12:37:48 +03:00
|
|
|
|
* src/rcfile.c (grab_and_store): Do not accept 'header' and 'magic'
|
2016-03-10 12:46:21 +03:00
|
|
|
|
commands for the default syntax. This fixes Savannah bug #47323.
|
2016-03-10 13:36:49 +03:00
|
|
|
|
* src/rcfile.c (pick_up_name): Fold the parsing of a linter and
|
|
|
|
|
formatter command into a single routine.
|
2016-03-10 14:00:59 +03:00
|
|
|
|
* src/rcfile.c (parse_header_exp, parse_magic_exp, grab_and_store):
|
|
|
|
|
Elide the first two functions, and reshuffle parameters in the last.
|
2016-03-10 23:06:01 +03:00
|
|
|
|
* src/rcfile.c (parse_syntax, parse_rcfile), src/color.c
|
|
|
|
|
(color_update): Turn the linked list of syntaxes upside-down, so that
|
|
|
|
|
the last-defined one comes first, so that searching can stop at the
|
|
|
|
|
first match instead of always having to run through the entire list.
|
2016-03-10 23:36:12 +03:00
|
|
|
|
* src/rcfile.c: Rename a variable to better fit its new role.
|
2016-03-10 12:46:21 +03:00
|
|
|
|
|
2016-03-09 23:28:50 +03:00
|
|
|
|
2016-03-09 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/rcfile.c (parse_syntax): Produce an adequate error message
|
|
|
|
|
when the syntax name is unquoted. This fixes Savannah bug #47324.
|
2016-03-10 00:00:42 +03:00
|
|
|
|
* src/rcfile.c (parse_syntax): Use the grab_and_store() function
|
|
|
|
|
also for gathering up extension regexes.
|
2016-03-09 23:28:50 +03:00
|
|
|
|
|
2016-03-04 17:53:45 +03:00
|
|
|
|
2016-03-04 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/color.c (found_in_list): Don't bother keeping the compiled
|
|
|
|
|
regular expression when it matched -- drop this tiny optimization
|
|
|
|
|
for when opening multiple files. Instead stop calling malloc().
|
2016-03-04 20:04:56 +03:00
|
|
|
|
* src/nano.h: Delete a now-unused struct member.
|
2016-03-04 21:28:03 +03:00
|
|
|
|
* src/global.c (free_list_item): Elide this now too tiny function.
|
2016-03-04 23:22:27 +03:00
|
|
|
|
* scr/global.c (thanks_for_all_the_fish): Rename three variables.
|
2016-03-04 23:50:38 +03:00
|
|
|
|
* src/rcfile.c (parse_colors): Tweak a few things.
|
|
|
|
|
* src/color.c (color_update): Rename a variable.
|
2016-03-04 17:53:45 +03:00
|
|
|
|
|
2016-03-01 14:06:00 +03:00
|
|
|
|
2016-03-01 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/rcfile.c (parse_syntax), src/color.c (color_update): Don't
|
|
|
|
|
bother discarding a duplicate syntax (it's too rare, saves little
|
|
|
|
|
memory, and freeing it properly would cost even more code), just
|
|
|
|
|
select the last-defined one. This addresses Savannah bug #47303.
|
2016-03-01 14:21:05 +03:00
|
|
|
|
* src/color.c (color_update): Allow to select an empty syntax.
|
2016-03-01 14:06:00 +03:00
|
|
|
|
|
2016-02-29 15:04:22 +03:00
|
|
|
|
2016-02-29 Benno Schulenberg <bensberg@justemail.net>
|
2016-02-29 12:17:03 +03:00
|
|
|
|
* src/nano.h, src/rcfile.c, src/color.c: Rename a struct member.
|
2016-03-12 12:37:48 +03:00
|
|
|
|
* src/rcfile.c (parse_rcfile): Don't allocate a struct for the
|
|
|
|
|
"none" syntax (and thus prevent it from being extended).
|
2016-02-29 13:54:48 +03:00
|
|
|
|
* src/nano.h, src/rcfile.c: Arrange some things more orderly.
|
2016-02-29 15:04:22 +03:00
|
|
|
|
* src/rcfile.c (parse_rcfile): Close an extended syntax again.
|
2016-02-29 15:17:53 +03:00
|
|
|
|
* src/rcfile.c (parse_rcfile): Rename a variable.
|
2016-02-29 18:40:13 +03:00
|
|
|
|
* src/rcfile.c (grab_and_store): Fix breakage of r5695.
|
2016-02-29 19:56:54 +03:00
|
|
|
|
* src/color.c (color_update): Do not dereference symlinks, so that
|
|
|
|
|
the syntax will be derived from the name given on the command line,
|
|
|
|
|
not from that of the target file. This fixes Savannah bug #47307.
|
2016-02-29 12:17:03 +03:00
|
|
|
|
|
2016-02-28 14:04:36 +03:00
|
|
|
|
2016-02-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/rcfile.c (parse_header_exp): Don't continue when something is
|
|
|
|
|
wrong -- skip the rest of the line. This fixes Savannah bug #47289.
|
2016-02-28 18:16:27 +03:00
|
|
|
|
* src/rcfile.c (parse_header_exp, parse_magic_exp, grab_and_store):
|
|
|
|
|
Use the now correct parsing of header regexes also for parsing magic
|
|
|
|
|
regexes. This fixes Savannah bug #47292 and saves 50 lines of code.
|
2016-02-28 18:47:37 +03:00
|
|
|
|
* src/rcfile.c (grab_and_store): Rename a variable and densify.
|
2016-02-28 19:36:23 +03:00
|
|
|
|
* src/rcfile.c (grab_and_store): Do not drop regexes that were
|
|
|
|
|
gathered earlier. This fixes Savannah bug #47285.
|
2016-02-28 20:16:39 +03:00
|
|
|
|
* src/rcfile.c (grab_and_store): Rearrange things in my style.
|
2016-02-28 23:38:14 +03:00
|
|
|
|
* src/rcfile.c (parse_syntax, parse_rcfile): Disallow adding any
|
|
|
|
|
further things to a syntax when an rcfile ends or when an invalid
|
|
|
|
|
syntax command is found. This fixes Savannah bug #47207.
|
2016-02-28 14:04:36 +03:00
|
|
|
|
|
2016-02-26 12:04:54 +03:00
|
|
|
|
2016-02-26 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi, doc/syntax/nanorc.nanorc,
|
|
|
|
|
doc/nanorc.sample.in: Correct the description of 'justifytrim', add
|
|
|
|
|
it to the Info document, sort it, and tweak a wording.
|
2016-02-26 19:08:21 +03:00
|
|
|
|
* src/color.c (color_update): Look for a default syntax only when
|
|
|
|
|
all else failed -- forego the small, complicating optimization.
|
2016-02-26 19:18:18 +03:00
|
|
|
|
* src/color.c (color_update): Strip things bare to see the sameness.
|
2016-02-26 19:37:23 +03:00
|
|
|
|
* src/color.c (found_in_list): Factor out this triple repetition.
|
2016-02-26 20:11:35 +03:00
|
|
|
|
* src/color.c (color_update): Rename a variable for conciseness.
|
2016-02-26 20:25:48 +03:00
|
|
|
|
* src/color.c (nfreeregex): Elide this function, now used just once.
|
2016-02-26 23:09:29 +03:00
|
|
|
|
* src/nano.h: Rename a struct element for aptness and contrast.
|
2016-02-26 23:19:13 +03:00
|
|
|
|
* src/nano.h: Rename another element, because it refers not just
|
|
|
|
|
to file extensions, but also to header lines and magic strings.
|
2016-02-26 12:04:54 +03:00
|
|
|
|
|
2016-02-26 00:46:09 +03:00
|
|
|
|
GNU nano 2.5.3 - 2016.02.25
|
|
|
|
|
|
2016-02-25 16:52:54 +03:00
|
|
|
|
2016-02-25 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (do_browser): Plug a memory leak by not copying
|
|
|
|
|
a string twice. This fixes Savannah bug #47206.
|
2016-02-25 17:08:47 +03:00
|
|
|
|
* src/browser.c (do_browser): Now put things in the proper order.
|
2016-02-25 21:58:17 +03:00
|
|
|
|
* src/files.c (make_new_buffer), src/nano.c (splice_opennode): Elide
|
|
|
|
|
the latter function, by handling the two cases (the creation of the
|
|
|
|
|
first element, and the insertion of a new element) directly.
|
2016-02-25 16:52:54 +03:00
|
|
|
|
|
2016-02-23 11:31:57 +03:00
|
|
|
|
2016-02-23 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/prompt.c (do_statusbar_output, do_statusbar_delete):
|
|
|
|
|
Rename a variable, for contrast and correctness.
|
2016-02-23 15:07:58 +03:00
|
|
|
|
* src/cut.c (do_copy_text): Don't move the cursor when copying a
|
|
|
|
|
backwardly marked region. This fixes Savannah bug #46980.
|
2016-02-23 15:18:10 +03:00
|
|
|
|
* src/text.c (do_undo, do_redo): Center the cursor when the
|
|
|
|
|
thing being undone or redone is currently off the screen.
|
2016-02-23 15:37:10 +03:00
|
|
|
|
* src/{files,nano,winio}.c: Rewrap and reshuffle some lines.
|
2016-02-23 11:31:57 +03:00
|
|
|
|
|
2016-02-23 15:49:08 +03:00
|
|
|
|
2016-02-22 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Add the ability to kill the trailing spaces when justifying text,
|
2016-02-26 12:20:59 +03:00
|
|
|
|
by adding a new nanorc option 'justifytrim' -- we'll see whether
|
|
|
|
|
this warrants a command-line flag or not. Now with slightly
|
2016-02-24 07:46:44 +03:00
|
|
|
|
better logic for multi-spaced lines.
|
2016-02-22 18:10:32 +03:00
|
|
|
|
|
2016-02-22 12:02:58 +03:00
|
|
|
|
2016-02-22 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (free_openfilestruct): Elide this function.
|
2016-02-22 12:34:33 +03:00
|
|
|
|
* scr/global.c (thanks_for_all_the_fish, free_list_item): Condense.
|
2016-02-22 12:55:59 +03:00
|
|
|
|
* src/winio.c (edit_scroll): The amount to scroll is never zero.
|
2016-02-22 15:49:08 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_prev_word, do_statusbar_next_word),
|
|
|
|
|
src/move.c (do_prev_word, do_next_word): Sort these in standard way.
|
2016-02-22 16:17:53 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_output): Don't move too many bytes.
|
|
|
|
|
This fixes Savannah bug #47219 (uncovered by r5655).
|
2016-02-22 17:26:05 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_output): Elide a variable.
|
2016-02-22 19:51:39 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_delete): There is no need for nulling:
|
|
|
|
|
the charmove() already copies the terminating null byte.
|
2016-02-22 20:15:28 +03:00
|
|
|
|
* src/text.c (do_justify), src/winio.c (parse_escape_sequence):
|
|
|
|
|
Show the cursor after a justification and after an unrecognized
|
2016-02-22 21:34:04 +03:00
|
|
|
|
escape sequence, and in the edit window when linting.
|
2016-02-22 22:49:45 +03:00
|
|
|
|
* src/text.c (do_linter): Use the correct column number, also when
|
|
|
|
|
messages are skipped. And don't mind zero or negative numbers.
|
|
|
|
|
This is a partial fix for Savannah bug #47131.
|
2016-02-22 12:02:58 +03:00
|
|
|
|
|
2016-02-21 16:33:52 +03:00
|
|
|
|
2016-02-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (input_tab): If the first Tab added the part that all
|
|
|
|
|
matches have in common, don't require a third Tab to show the list.
|
2016-02-21 23:54:04 +03:00
|
|
|
|
* scr/global.c (thanks_for_all_the_fish): Remove unneeded checks.
|
2016-02-21 16:33:52 +03:00
|
|
|
|
|
2016-02-20 15:16:43 +03:00
|
|
|
|
2016-02-20 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (get_history_completion): Avoid leaking memory
|
|
|
|
|
when tabbing on a string that does not occur in the history.
|
|
|
|
|
This fixes Savannah bug #47124 reported by Mike Frysinger.
|
2016-02-20 15:30:07 +03:00
|
|
|
|
* src/files.c (input_tab): Parse a character in the correct
|
|
|
|
|
buffer. This fixes Savannah bug #47199.
|
2016-02-20 19:35:09 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_output): Reduce an allocation to what
|
|
|
|
|
is actually needed. This undoes the papering-over of above bug.
|
2016-02-20 15:16:43 +03:00
|
|
|
|
|
2016-02-18 19:31:02 +03:00
|
|
|
|
2016-02-18 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_replace_loop), src/text.c (do_int_spell_fix),
|
|
|
|
|
src/winio.c (edit_refresh): Fix Savannah bug #47127 the proper way.
|
2016-02-18 22:58:18 +03:00
|
|
|
|
* src/nano.c (free_filestruct): Allow the parameter to be NULL.
|
2016-02-18 23:10:02 +03:00
|
|
|
|
* src/search.c (search_init): Delete a debugging leftover.
|
2016-02-18 19:31:02 +03:00
|
|
|
|
|
2016-02-16 12:06:21 +03:00
|
|
|
|
2016-02-16 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (initialize_buffer_text): Delete redundant assignment.
|
|
|
|
|
|
2016-02-15 15:56:18 +03:00
|
|
|
|
2016-02-15 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (read_file): Free not just the struct but also the
|
|
|
|
|
data it contains, and also when it is the first and only line.
|
|
|
|
|
This fixes Savannah bug #47153 reported by Mike Frysinger.
|
2016-02-15 19:24:39 +03:00
|
|
|
|
* src/files.c (get_full_path): Avoid losing a buffer when getcwd()
|
|
|
|
|
fails. This fixes Savannah bug #47129 reported by Mike Frysinger.
|
2016-02-15 15:56:18 +03:00
|
|
|
|
|
2016-02-14 13:19:27 +03:00
|
|
|
|
2016-02-14 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_replace_loop): Make iterating through replacement
|
|
|
|
|
matches behave again like iterating through search matches: showing
|
|
|
|
|
them centered when found offscreen. This fixes Savannah bug #47127.
|
2016-02-14 13:29:48 +03:00
|
|
|
|
* src/text.c (do_int_spell_fix): Restore the above behavior also for
|
|
|
|
|
the internal spell fixer.
|
2016-02-14 14:16:54 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_input, do_statusbar_verbatim_input,
|
|
|
|
|
do_statusbar_output): Do the copying from input to output just once.
|
2016-02-14 15:03:47 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_output): Rename and condense some stuff,
|
|
|
|
|
and correct the main comment: filtering means allow_cntrls==FALSE.
|
2016-02-14 15:17:17 +03:00
|
|
|
|
* README, TODO, doc/man/{nano.1,rnano.1,nanorc.5}: Say that 2.5.x
|
|
|
|
|
is a "rolling" release, lock files are done, and prepare for 2.5.3.
|
2016-02-14 13:19:27 +03:00
|
|
|
|
|
2016-02-13 19:42:30 +03:00
|
|
|
|
2016-02-13 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (do_browser, browser_refresh): Rebuild the file list
|
|
|
|
|
only when necessary, not for each and every cursor movement. This
|
|
|
|
|
fixes Savannah bug #47133.
|
2016-02-13 20:00:06 +03:00
|
|
|
|
* src/files.c (save_poshistory): Allocate enough space for printing
|
|
|
|
|
out the line and column numbers. This fixes Savannah bug #47135.
|
2016-02-13 22:41:12 +03:00
|
|
|
|
* src/*.c: Switch the cursor on and off at the appropriate moments,
|
|
|
|
|
so that it no longer shows in the help screen nor in the file list.
|
|
|
|
|
This fixes Savannah bug #47126.
|
2016-02-13 19:42:30 +03:00
|
|
|
|
|
2016-02-12 08:25:29 +03:00
|
|
|
|
GNU nano 2.5.2 - 2016.02.12
|
|
|
|
|
|
2016-02-11 11:50:11 +03:00
|
|
|
|
2016-02-11 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_linter): Go to the next item in the list before
|
|
|
|
|
freeing the current one. This fixes Savannah bug #46796.
|
2016-02-11 19:57:52 +03:00
|
|
|
|
* src/text.c (do_formatter): Don't leave curses mode, as that would
|
|
|
|
|
hide any error messages upon reentry. And if there are any messages,
|
|
|
|
|
allow the user a little time to read them.
|
2016-02-11 20:25:37 +03:00
|
|
|
|
* src/text.c (do_linter, do_formatter): Condense some declarations,
|
|
|
|
|
rewrap some lines, and improve a few comments.
|
2016-02-11 20:30:16 +03:00
|
|
|
|
* doc/syntax/go.nanorc: Make the formatter command more visible.
|
2016-02-11 11:50:11 +03:00
|
|
|
|
|
2016-02-10 11:49:23 +03:00
|
|
|
|
2016-02-10 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (discard_until): Prevent a chain of editing actions from
|
|
|
|
|
continuing after a discard. This fixes Savannah bug #47104.
|
2016-02-10 15:32:43 +03:00
|
|
|
|
* src/files.c (get_full_path): Plug a sneaky memory leak. This fixes
|
|
|
|
|
Savannah bug #47003 reported and solved by Mike Frysinger.
|
2016-02-10 18:06:45 +03:00
|
|
|
|
* src/rcfile.c (parse_binding): Allow only control sequences in the
|
|
|
|
|
proper range to be rebound. This fixes Savannah bug #47025.
|
2016-02-10 19:26:51 +03:00
|
|
|
|
* THANKS: Add a Spanish, a Catalan, and a Croat translator.
|
2016-02-10 19:40:08 +03:00
|
|
|
|
* AUTHORS, THANKS: Remove SVN Id tags and a duplication.
|
2016-02-10 23:16:50 +03:00
|
|
|
|
* src/winio.c (get_kbinput), src/nano.c (main): Switch the cursor on
|
|
|
|
|
in the right place: in the central input routine.
|
2016-02-10 23:29:23 +03:00
|
|
|
|
* src/files.c (load_poshistory): Free any records that are dropped.
|
2016-02-11 11:26:08 +03:00
|
|
|
|
This fixes Savannah bug #47111 reported by Mike Frysinger.
|
2016-02-10 11:49:23 +03:00
|
|
|
|
|
2016-02-09 23:53:11 +03:00
|
|
|
|
2016-02-09 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (stat_with_alloc, open_buffer, write_file): Check the
|
2020-03-25 18:49:46 +03:00
|
|
|
|
result of a stat() to avoid referencing uninitialized data. Original
|
2016-02-09 23:53:11 +03:00
|
|
|
|
patch was by Kamil Dudka.
|
2016-02-09 23:57:37 +03:00
|
|
|
|
* doc/man/{nano.1,rnano.1,nanorc.5}: Adjust version for release.
|
2016-02-09 23:53:11 +03:00
|
|
|
|
|
2016-02-07 15:49:42 +03:00
|
|
|
|
2016-02-07 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (update_poshistory): Don't put files in the history list
|
|
|
|
|
when they have the default cursor position (line 1, column 1).
|
2016-02-07 16:03:48 +03:00
|
|
|
|
* src/files.c (write_file): Avoid a pointless lstat() when not writing
|
|
|
|
|
to a temp file, and in the bargain elide two variables.
|
2016-02-07 16:08:27 +03:00
|
|
|
|
* src/files.c (write_file): Elide an unneeded 'if'.
|
2016-02-07 16:14:23 +03:00
|
|
|
|
* doc/syntax/c.nanorc: Use a character class instead of a literal tab
|
|
|
|
|
and space. The change was inspired by David Niklas.
|
2016-02-07 16:37:16 +03:00
|
|
|
|
* src/prompt.c (do_yesno_prompt): Normalize the indentation.
|
2016-02-07 16:41:46 +03:00
|
|
|
|
* src/prompt.c (do_yesno_prompt): Rename a variable.
|
2016-02-07 15:49:42 +03:00
|
|
|
|
|
2016-02-06 13:59:31 +03:00
|
|
|
|
2016-02-06 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (write_file): Remove the --nofollow option that hasn't
|
|
|
|
|
been working for a dozen years.
|
2016-02-06 14:05:58 +03:00
|
|
|
|
* src/winio.c (statusbar): Update the screen immediately whenever a
|
|
|
|
|
message has been posted on the status bar.
|
2016-02-06 14:18:27 +03:00
|
|
|
|
* src/winio.c (statusbar), src/nano.c (do_input): Turn the cursor off
|
|
|
|
|
when writing in the status bar, and on when waiting for input.
|
2016-02-06 14:40:15 +03:00
|
|
|
|
* src/prompt.c (update_the_statusbar): Chop two parameters that are
|
|
|
|
|
always the same, and that are global variables anyway.
|
2016-02-06 14:44:33 +03:00
|
|
|
|
* src/prompt.c (update_bar_if_needed): Rename this for more contrast.
|
2016-02-06 14:50:57 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_backspace): Avoid updating the bar twice.
|
2016-02-06 15:12:08 +03:00
|
|
|
|
* src/cut.c, src/files.c, src/prompt.c: Rewrap some lines and remove
|
|
|
|
|
some useless comments.
|
2016-02-06 13:59:31 +03:00
|
|
|
|
|
2016-02-05 14:55:55 +03:00
|
|
|
|
2016-02-05 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/texinfo/nano.texi: Condense the descriptions of command-key
|
|
|
|
|
sequences and of the screen layout, mention how to enter Unicode,
|
|
|
|
|
and mention that regular expressions are line oriented.
|
2016-02-05 15:01:02 +03:00
|
|
|
|
* src/global.c (shortcut_init): Put four strings in standard order.
|
2016-02-05 15:27:54 +03:00
|
|
|
|
* src/text.c (do_undo), src/global.c (shortcut_init): Guide the
|
|
|
|
|
translators a little bit.
|
2016-02-05 14:55:55 +03:00
|
|
|
|
|
2016-01-31 16:06:06 +03:00
|
|
|
|
2016-01-31 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (has_valid_path): Be more specific in how a given path
|
|
|
|
|
is invalid. The change was improved by Rishabh Dave.
|
2016-01-31 16:20:40 +03:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Show ^^ and M-^ as valid key names.
|
2016-01-31 16:26:15 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_home): Make Home go always fully home.
|
2016-01-31 16:06:06 +03:00
|
|
|
|
|
2016-01-29 19:01:43 +03:00
|
|
|
|
2016-01-29 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (do_insertfile): Do display the buffer when configured
|
|
|
|
|
with only --disable-histories. This fixes Savannah bug #47011.
|
2016-01-29 20:18:27 +03:00
|
|
|
|
* src/nano.c (main): Check position history only when 'positionlog'
|
|
|
|
|
is set. This fixes a bug unconsciously reported by Mike Frysinger.
|
2016-01-29 19:58:02 +03:00
|
|
|
|
* src/files.c (do_lockfile): Plug a couple of memory leaks.
|
2016-01-29 23:39:12 +03:00
|
|
|
|
* src/files.c (update_poshistory): Plug another memory leak.
|
2016-01-29 23:43:54 +03:00
|
|
|
|
* src/files.c (close_buffer): Update position history only when
|
|
|
|
|
the option 'positionlog' is set.
|
2016-01-29 19:01:43 +03:00
|
|
|
|
|
2016-01-26 12:06:31 +03:00
|
|
|
|
2016-01-26 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (update_poshistory): Do not add directories to the
|
|
|
|
|
list of file positions. This fixes Savannah bug #46971.
|
2016-01-26 12:16:09 +03:00
|
|
|
|
* src/*.c: Adjust some indentation and some line wrapping.
|
2016-01-26 13:10:20 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_prev_word): When in the middle of a
|
|
|
|
|
word, jump to the start of the current word, not to the start of
|
|
|
|
|
the preceding one. This fixes Savannah bug #46970.
|
2016-01-26 13:31:16 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_next_word): Use simpler algorithm.
|
2016-01-26 12:06:31 +03:00
|
|
|
|
|
2016-01-25 23:26:01 +03:00
|
|
|
|
2016-01-25 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (update_poshistory): Handle an update of the first
|
|
|
|
|
element correctly.
|
2016-01-25 23:38:10 +03:00
|
|
|
|
* doc/texinfo/nano.texi: Document the --enable-altrcname option.
|
|
|
|
|
The lack of this was pointed out by Frank.
|
2016-01-25 23:51:00 +03:00
|
|
|
|
* doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Mention
|
|
|
|
|
that the position history is limited to the 200 most recent files.
|
2016-01-25 23:26:01 +03:00
|
|
|
|
|
2016-01-24 17:49:42 +03:00
|
|
|
|
2016-01-24 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (update_poshistory): Move an updated item to the end
|
|
|
|
|
of the list, so that it won't be dropped any time soon. The problem
|
|
|
|
|
was pointed out by David Niklas.
|
2016-01-24 18:32:13 +03:00
|
|
|
|
* src/winio.c (edit_redraw): Condense by removing a triplication.
|
2016-01-24 18:42:45 +03:00
|
|
|
|
* src/prompt.c (do_statusbar_prev_word, do_statusbar_next_word):
|
|
|
|
|
Chop an always-FALSE parameter and delete an unused return value.
|
2016-01-24 19:04:25 +03:00
|
|
|
|
* src/prompt.c (do_prompt): Remove a superfluous free.
|
2016-01-24 23:36:02 +03:00
|
|
|
|
* src/prompt.c (update_the_bar): Bundle some statements.
|
2016-01-24 23:44:39 +03:00
|
|
|
|
* src/prompt.c (need_statusbar_update): Elide this function.
|
2016-01-25 00:02:09 +03:00
|
|
|
|
* src/prompt.c (total_statusbar_refresh): Elide this function too.
|
2016-01-24 17:49:42 +03:00
|
|
|
|
|
2016-01-22 19:10:36 +03:00
|
|
|
|
2016-01-22 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/utils.c (get_homedir): Don't use $HOME when we're root, because
|
|
|
|
|
some sudos don't filter it out of the environment (which can lead to
|
|
|
|
|
a root-owned .nano/ directory in the invoking user's home directory).
|
|
|
|
|
It fixes https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1471459.
|
2016-01-22 19:56:04 +03:00
|
|
|
|
* src/files.c (read_line): Rename a variable for clarity and contrast.
|
2016-01-22 19:10:36 +03:00
|
|
|
|
|
2016-01-21 20:29:37 +03:00
|
|
|
|
2016-01-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/prompt.c (get_prompt_string): Preserve the cursor position on
|
|
|
|
|
the statusbar when just toggling a setting or making an excursion to
|
|
|
|
|
the file browser. This fixes Savannah bug #46945.
|
2016-01-21 21:23:17 +03:00
|
|
|
|
* src/prompt.c (do_prompt_abort): Remove this unneeded function, as
|
|
|
|
|
nothing can break out of do_prompt(), not a SIGWINCH either.
|
|
|
|
|
* src/prompt.c (get_prompt_string): Delete code that is dead now.
|
2016-01-21 21:29:39 +03:00
|
|
|
|
* src/prompt.c (get_prompt_string): Elide an unneeded variable.
|
2016-01-21 23:44:22 +03:00
|
|
|
|
* src/browser.c (do_browser): Delete unneeded blanking of a variable.
|
2016-01-21 20:29:37 +03:00
|
|
|
|
|
2016-01-20 18:33:41 +03:00
|
|
|
|
2016-01-20 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (open_buffer): Readjust the indentation and a comment.
|
2016-01-20 18:56:40 +03:00
|
|
|
|
* src/files.c (has_valid_path): Get rid of a global variable.
|
2016-01-20 18:33:41 +03:00
|
|
|
|
|
2016-01-20 18:14:52 +03:00
|
|
|
|
2016-01-20 Rishabh Dave <rishabhddave@gmail.com>
|
|
|
|
|
* src/files.c (verify_path, open_buffer): When opening a new buffer,
|
|
|
|
|
verify that the containing directory of the given filename exists.
|
2016-01-20 19:17:21 +03:00
|
|
|
|
This fixes Savannah bug #44950.
|
2016-01-20 18:14:52 +03:00
|
|
|
|
* src/files.c (do_lockfile): Remove the existence check on the
|
|
|
|
|
directory, as this is now covered by verify_path().
|
|
|
|
|
|
2016-01-17 19:25:31 +03:00
|
|
|
|
2016-01-17 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c: Fix typo in #ifndef symbol. Reported by Frank.
|
2016-01-17 19:47:20 +03:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Remove '+' as only one menu is allowed.
|
2016-01-17 20:04:28 +03:00
|
|
|
|
* src/files.c (load_poshistory): Limit the number of loaded items.
|
2016-01-17 19:25:31 +03:00
|
|
|
|
|
2016-01-17 19:15:08 +03:00
|
|
|
|
2016-01-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* doc/syntax/nanorc.nanorc: Allow inline comments with key bindings.
|
|
|
|
|
|
2016-01-15 16:27:12 +03:00
|
|
|
|
2016-01-15 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (set_modified): Plug another memory leak.
|
2016-01-15 17:42:07 +03:00
|
|
|
|
* src/files.c (set_modified): Move this function to its habitat.
|
2016-01-15 17:23:50 +03:00
|
|
|
|
* src/files.c (open_file): Return the fantastic file descriptor
|
2016-02-23 15:49:08 +03:00
|
|
|
|
when the opening of a non-existent file for reading succeeds.
|
2016-01-15 19:44:50 +03:00
|
|
|
|
* src/nano.c (delete_opennode), src/text.c (discard_until):
|
|
|
|
|
Free the items on the undo stack when a buffer is closed.
|
|
|
|
|
This fixes Savannah bug #46904 reported by Mike Frysinger.
|
2016-01-15 16:27:12 +03:00
|
|
|
|
|
2016-01-15 16:17:44 +03:00
|
|
|
|
2016-01-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* src/files.c (open_file): Free the full filename in all cases.
|
|
|
|
|
|
2016-01-14 16:14:16 +03:00
|
|
|
|
2016-01-14 Benno Schulenberg <bensberg@justemail.net>
|
2016-01-14 16:27:22 +03:00
|
|
|
|
* doc/nanorc.sample.in: Remove a reference to an obsolete file.
|
2016-01-14 16:14:16 +03:00
|
|
|
|
Reported by Mike Frysinger.
|
2016-01-14 16:27:22 +03:00
|
|
|
|
* src/winio.c (edit_redraw): Delete an 'if' that is always FALSE.
|
2016-01-14 16:41:45 +03:00
|
|
|
|
* src/winio.c (edit_redraw): Elide an unneeded variable and adjust
|
|
|
|
|
some wrappings and whitespace.
|
2016-01-14 16:52:39 +03:00
|
|
|
|
* src/proto.h: Delete two duplicate declarations.
|
2016-01-14 17:34:05 +03:00
|
|
|
|
* src/rcfile.c (check_bad_binding): Elide this unneeded function.
|
2016-01-14 17:44:11 +03:00
|
|
|
|
* src/rcfile.c (parse_binding): Show key only when it was rebound.
|
2016-01-14 16:14:16 +03:00
|
|
|
|
|
2016-01-13 23:08:36 +03:00
|
|
|
|
2016-01-13 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (save_poshistory): Reduce the indentation.
|
2016-01-13 23:32:40 +03:00
|
|
|
|
* src/*.c: Adjust a few comments and rewrap some lines.
|
2016-01-13 23:08:36 +03:00
|
|
|
|
|
2016-01-12 14:03:00 +03:00
|
|
|
|
2016-01-12 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* NEWS: Fix some typos and whitespace, and normalize the dates.
|
2016-01-12 14:16:39 +03:00
|
|
|
|
* src/files.c (load_poshistory): Rename a variable.
|
2016-01-12 22:07:01 +03:00
|
|
|
|
* src/files.c (load_poshistory): Remove some code duplication.
|
2016-01-12 22:20:40 +03:00
|
|
|
|
* src/files.c (save_poshistory, update_poshistory, check_poshistory,
|
|
|
|
|
load_poshistory): Differentiate variable name from function names.
|
2016-01-12 23:08:31 +03:00
|
|
|
|
* src/files.c (load_poshistory): Remove a senseless iteration.
|
2016-01-12 23:17:05 +03:00
|
|
|
|
* src/files.c (load_poshistory): Condense the reading of a line.
|
2016-01-12 23:26:59 +03:00
|
|
|
|
* src/files.c (load_poshistory): Reduce the indentation.
|
2016-01-12 14:03:00 +03:00
|
|
|
|
|
2016-01-12 13:23:38 +03:00
|
|
|
|
GNU nano 2.5.1 - 2016.01.11
|
2016-01-11 08:03:20 +03:00
|
|
|
|
|
2016-01-10 19:10:57 +03:00
|
|
|
|
2016-01-10 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* NEWS: Add item for upcoming 2.5.1.
|
2016-01-10 19:18:43 +03:00
|
|
|
|
* src/nano.c (version), src/winio.c (do_credits), doc/man/rnano.1,
|
|
|
|
|
doc/man/nano.1, doc/man/nanorc.5: Adjust dates and version number.
|
2016-01-10 19:10:57 +03:00
|
|
|
|
|
2016-01-09 21:41:56 +03:00
|
|
|
|
2016-01-09 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/color.c (precalc_multicolorinfo), src/winio.c (edit_draw):
|
|
|
|
|
Make sure to keep advancing also when matches are zero-length.
|
|
|
|
|
This fixes Savannah bug #26977 reported by Tigrmesh.
|
2016-01-09 23:21:29 +03:00
|
|
|
|
* src/winio.c (update_line): For softwrap, don't go beyond the number
|
|
|
|
|
of available rows in the edit window. This fixes Savannah bug #42188.
|
2016-01-10 00:10:39 +03:00
|
|
|
|
* ChangeLog: Snip inconsistent blank lines.
|
2016-01-09 21:41:56 +03:00
|
|
|
|
|
2016-01-07 18:21:59 +03:00
|
|
|
|
2016-01-07 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (assign_keyinfo): Delete two unneeded #ifdefs: if
|
|
|
|
|
they /could/ be false, the H and E keys would stop working.
|
2016-01-07 18:42:44 +03:00
|
|
|
|
* src/global.c (assign_keyinfo): Add a comment and use a symbol.
|
2016-01-07 18:21:59 +03:00
|
|
|
|
|
2016-01-04 12:44:35 +03:00
|
|
|
|
2016-01-04 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (shortcut_init): Nowadays the functions are defined
|
|
|
|
|
only once, so there is no longer any need to free existing ones.
|
2016-01-04 12:52:43 +03:00
|
|
|
|
* src/global.c (sctofunc): Rewrite the loop, and constify the input.
|
2016-01-04 13:05:52 +03:00
|
|
|
|
* src/text.c (do_linter): Condense the exit code.
|
2016-01-04 13:37:11 +03:00
|
|
|
|
* src/nano.c (allow_sigwinch): Improve its name and its comments.
|
2016-01-04 13:50:21 +03:00
|
|
|
|
* src/global.c (shortcut_init): Add "Tab" as key description.
|
2016-01-04 14:10:07 +03:00
|
|
|
|
* src/text.c (do_linter): Gettextize a forgotten string.
|
2016-01-04 22:42:37 +03:00
|
|
|
|
* src/global.c (assign_keyinfo): Make "Tab" produce the appropriate
|
|
|
|
|
keycode. This fixes Savannah bug #46812 reported by Cody A. Taylor.
|
2016-01-04 12:44:35 +03:00
|
|
|
|
|
2016-01-04 12:12:21 +03:00
|
|
|
|
2016-01-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* src/global.c (strtosc, strtomenu): Constify the input parameter.
|
|
|
|
|
|
2016-01-03 18:35:52 +03:00
|
|
|
|
2016-01-03 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_deletion), src/nano.c (do_input): Let reset_multis()
|
|
|
|
|
figure out whether after a deletion a full refresh is needed, before
|
|
|
|
|
doing a redraw of the current line. This fixes Savannah bug #46794.
|
2016-01-03 19:21:04 +03:00
|
|
|
|
* src/nano.c (do_output): Let reset_multis() figure out whether after
|
|
|
|
|
an addition a full refresh is needed (for multiline-regexes' sake),
|
|
|
|
|
instead of doing it always.
|
2016-01-03 19:57:17 +03:00
|
|
|
|
* src/color.c (reset_multis): Abort when having no multiline regexes.
|
2016-01-03 20:07:29 +03:00
|
|
|
|
* src/nano.c (do_input): A functionless shortcut should be impossible.
|
2016-01-03 20:37:05 +03:00
|
|
|
|
* src/nano.c (do_input): Adjust indentation.
|
2016-01-03 18:35:52 +03:00
|
|
|
|
|
2016-01-02 19:01:04 +03:00
|
|
|
|
2016-01-02 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_spell, do_formatter): Plug three tiny memory leaks.
|
2016-01-02 19:25:50 +03:00
|
|
|
|
* src/text.c (do_alt_speller, do_formatter): There is no need here to
|
|
|
|
|
reinitialize the windows; it will be done when polling the keybuffer.
|
2016-01-02 19:33:03 +03:00
|
|
|
|
* src/winio.c (do_credits): Correctly restore the settings of NO_HELP
|
|
|
|
|
and MORE_SPACE.
|
2016-01-02 19:01:04 +03:00
|
|
|
|
|
2015-12-31 19:44:32 +03:00
|
|
|
|
2015-12-31 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_formatter): Restore the cursor position differently.
|
2015-12-31 19:49:07 +03:00
|
|
|
|
* src/search.c (do_gotopos): Delete this now unused function.
|
2016-01-14 16:27:22 +03:00
|
|
|
|
* src/search.c (do_gotolinecolumn): Chop an always-FALSE parameter.
|
2015-12-31 22:20:40 +03:00
|
|
|
|
* src/search.c (do_gotolinecolumn): Chop a duplicate parameter --
|
|
|
|
|
'allow_update' always has the same value as 'interactive'.
|
2015-12-31 19:44:32 +03:00
|
|
|
|
|
2015-12-30 13:11:20 +03:00
|
|
|
|
2015-12-30 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (main), src/files.c (open_buffer): Don't try to position
|
|
|
|
|
the cursor when opening a buffer failed (because the user specified a
|
|
|
|
|
directory, for example). This fixes Savannah bug #46778.
|
2015-12-30 23:57:31 +03:00
|
|
|
|
* doc/syntax/ocaml.nanorc: Normalize the comments.
|
2015-12-30 13:11:20 +03:00
|
|
|
|
|
2015-12-29 19:48:25 +03:00
|
|
|
|
2015-12-29 Benno Schulenberg <bensberg@justemail.net>
|
|