2015-06-02 14:24:19 +00:00
|
|
|
|
2015-06-02 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Tweak some wordings, and
|
|
|
|
|
add some missing formatting to the Info document, and fix an mdash.
|
|
|
|
|
|
2015-05-31 08:45:17 +00:00
|
|
|
|
2015-05-31 Mahyar Abbaspour <mahyar.abaspour@gmail.com>
|
|
|
|
|
* src/prompt.c (get_statusbar_page_start): Prevent a floating-point
|
|
|
|
|
exception when the available length for an answer becomes zero.
|
|
|
|
|
|
2015-05-28 13:28:37 +00:00
|
|
|
|
2015-05-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/help.c (do_help), src/prompt.c (do_yesno_prompt): Normalize
|
|
|
|
|
the whitespace after the recent changes in logic.
|
2015-05-28 13:51:03 +00:00
|
|
|
|
* src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded
|
|
|
|
|
16. Also always first set the string and then position the cursor.
|
2015-05-28 14:56:38 +00:00
|
|
|
|
* TODO: Mark window resizes and better file-type detection as done.
|
2015-05-28 18:56:31 +00:00
|
|
|
|
* doc/syntax/debian.nanorc: Allow a CD name to contain any character.
|
2015-05-28 18:59:41 +00:00
|
|
|
|
This addresses Debian bug #688892 reported by Dani Möller Montull.
|
2015-05-28 13:28:37 +00:00
|
|
|
|
|
2015-05-28 13:02:29 +00:00
|
|
|
|
2015-05-28 Mahyar Abbaspour <mahyar.abaspour@gmail.com>
|
|
|
|
|
* src/nano.c (handle_sigwinch, regenerate_screen), src/global.c,
|
|
|
|
|
src/prompt.c (do_statusbar_input, get_prompt_string, do_yesno_prompt),
|
|
|
|
|
src/browser.c (do_browser, browser_refresh), src/help.c (do_help),
|
|
|
|
|
src/winio.c (get_key_buffer, unget_input, get_input, parse_kbinput),
|
|
|
|
|
src/text.c (do_justify, do_linter), src/nano.h, src/proto.h:
|
|
|
|
|
Handle a SIGWINCH (signalling a change in window size) not when it
|
|
|
|
|
happens but only when checking for input. Report the SIGWINCH via
|
|
|
|
|
a special key value to the calling routine, to allow not only the
|
|
|
|
|
main editor but also the help viewer and the file browser to adapt
|
|
|
|
|
their display to the new size. (Patch edited by Benno.)
|
|
|
|
|
|
2015-05-20 18:57:18 +00:00
|
|
|
|
2015-05-20 Devrim Gündüz <devrim@gunduz.org>
|
|
|
|
|
* doc/syntax/postgresql.nanorc: New file -- syntax highlighting for
|
|
|
|
|
PostgreSQL, first posted as Savannah patch #8601. Trimmed by Benno.
|
|
|
|
|
|
2015-05-08 19:35:47 +00:00
|
|
|
|
2015-05-08 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (browser_refresh): Take the distant possibility of
|
|
|
|
|
terabyte files into account, and in the bargain get rid of the need
|
|
|
|
|
to calculate the number of digits in UINT_MAX.
|
2015-05-08 21:11:30 +00:00
|
|
|
|
* src/files.c (get_next_filename): Limit the number of backup files
|
|
|
|
|
to one hundred thousand -- which should be far more than enough --
|
2015-05-28 14:56:38 +00:00
|
|
|
|
before finding an unused filename takes an annoying amount of time.
|
2015-05-08 21:11:30 +00:00
|
|
|
|
* src/utils.c (digits): Delete this now unneeded function.
|
2015-05-08 19:35:47 +00:00
|
|
|
|
|
2015-05-03 13:25:24 +00:00
|
|
|
|
2015-05-03 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (browser_refresh): Display an ellipsis only when the
|
|
|
|
|
filename is longer than the available space, not when it still fits.
|
2015-05-03 13:56:51 +00:00
|
|
|
|
* src/browser.c, src/nano.c: Adjust a few comments and line wrappings.
|
2015-05-03 15:47:05 +00:00
|
|
|
|
* doc/syntax/groff.nanorc: Use character classes correctly.
|
2015-05-03 13:25:24 +00:00
|
|
|
|
|
2015-04-28 19:18:38 +00:00
|
|
|
|
2015-04-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/color.c (color_update): Match the file regex of a syntax against
|
|
|
|
|
the absolute, canonical path instead of against the path the user gave.
|
|
|
|
|
This fixes Savannah bug #44288, reported by Mike Frysinger.
|
2015-04-28 19:22:11 +00:00
|
|
|
|
* doc/syntax/po.nanorc: Improve the colouring of message tags.
|
2015-04-28 20:09:40 +00:00
|
|
|
|
* src/winio.c (get_escape_seq_kbinput): Unwrap a bunch of comments.
|
2015-04-28 19:18:38 +00:00
|
|
|
|
|
2015-04-25 14:52:58 +00:00
|
|
|
|
2015-04-25 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_replace_loop): Remove the unintended special
|
2015-04-25 15:47:08 +00:00
|
|
|
|
case for replacing multiple occurrences of a literal ^ or $; see
|
|
|
|
|
https://lists.gnu.org/archive/html/nano-devel/2015-04/msg00065.html.
|
2015-04-25 15:17:22 +00:00
|
|
|
|
* src/search.c (findnextstr): Delete an always-FALSE parameter.
|
2015-04-25 15:26:09 +00:00
|
|
|
|
* src/search.c (findnextstr): Rename the parameter 'whole_word'
|
|
|
|
|
to 'whole_word_only', for clarity.
|
2015-04-25 14:52:58 +00:00
|
|
|
|
|
2015-04-21 17:27:33 +00:00
|
|
|
|
2015-04-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (findnextfile): Save the settings of the global
|
|
|
|
|
case-sens, direction, and regexp flags, and restore them on exit.
|
|
|
|
|
And do this not in do_filesearch() but in findnextfile(), so that
|
|
|
|
|
it will also work for do_fileresearch().
|
2015-04-21 17:37:59 +00:00
|
|
|
|
* src/text.c (do_int_spell_fix): Save and restore the global flags
|
|
|
|
|
in the same short and quick way as above.
|
2015-04-21 18:42:11 +00:00
|
|
|
|
* src/nano.c (main): Initialize the search and replace strings in
|
|
|
|
|
a central place, to get rid of a bunch of ifs.
|
2015-04-21 18:47:58 +00:00
|
|
|
|
* src/search.c (search_init_globals): Elide this tiny function.
|
2015-04-21 17:27:33 +00:00
|
|
|
|
|
2015-04-20 08:16:41 +00:00
|
|
|
|
2015-04-20 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (need_horizontal_update, need_vertical_update): Fuse
|
|
|
|
|
two identical functions into one: need_screen_update().
|
2015-04-20 08:35:41 +00:00
|
|
|
|
* src/prompt.c (need_statusbar_horizontal_update): Rename function
|
|
|
|
|
to need_statusbar_update() as there is no vertical counterpart.
|
2015-04-20 18:01:06 +00:00
|
|
|
|
* src/search.c (do_search, do_research): Delete redundant reprises
|
|
|
|
|
of a regex search: finding an occurrence only at the very starting
|
|
|
|
|
point of the search necessarily means it is the only occurrence.
|
2015-04-20 08:16:41 +00:00
|
|
|
|
|
2015-04-18 16:07:53 +00:00
|
|
|
|
2015-04-18 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c, src/nano.c, doc/man/nanorc.5, doc/texinfo/nano.texi:
|
|
|
|
|
Make the descriptions of the multibuffer feature more accurate.
|
2015-04-18 20:07:31 +00:00
|
|
|
|
* src/winio.c (display_string): Make sure an invalid starting byte
|
|
|
|
|
of a multibyte sequence is properly terminated, so that it doesn't
|
|
|
|
|
pick up lingering bytes of any previous content. This prevents the
|
|
|
|
|
displaying of ghosts -- characters that aren't really there -- when a
|
|
|
|
|
file contains valid ánd invalid UTF-8 sequences. For an example see:
|
|
|
|
|
https://lists.gnu.org/archive/html/nano-devel/2015-04/msg00052.html.
|
|
|
|
|
Also make two comments more accurate: an invalid multibyte sequence
|
|
|
|
|
will never be categorized as a control character or anything else.
|
2015-04-18 16:07:53 +00:00
|
|
|
|
|
2015-04-18 11:35:23 +00:00
|
|
|
|
2015-04-18 Mark Oteiza <mvoteiza@udel.edu>
|
|
|
|
|
* doc/syntax/{python,ruby,sh,tex}.nanorc: Add a linter definition.
|
2015-04-18 13:04:57 +00:00
|
|
|
|
* doc/syntax/elisp.nanorc: New file; syntax highlighting for Elisp.
|
|
|
|
|
* doc/syntax/guile.nanorc: New file; syntax highlighting for Guile.
|
2015-04-18 11:35:23 +00:00
|
|
|
|
|
2015-04-17 09:24:17 +00:00
|
|
|
|
2015-04-17 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_alt_speller, do_linter, do_formatter): Distinguish
|
|
|
|
|
a failure to launch the linter from receiving zero parsable lines;
|
|
|
|
|
add a new function to glue together the invocation-error string.
|
2015-04-17 09:42:04 +00:00
|
|
|
|
* src/global.c (shortcut_init): In the Help Viewer and File Browswer,
|
|
|
|
|
bind the unbound Home and End keys to goto_top and goto_bottom, to
|
|
|
|
|
mimic the behaviour of these keys in file viewers and web browsers.
|
|
|
|
|
Also show ^Y and ^V in the WhereisFile menu instead of M-\ and M-/,
|
|
|
|
|
for similarity with the WhereIs menu.
|
2015-04-17 10:06:03 +00:00
|
|
|
|
* src/global.c (shortcut_init): Arrange the movement keys in the File
|
|
|
|
|
Browser in the order of ascending stride, as in the Help Viewer.
|
2015-04-17 09:24:17 +00:00
|
|
|
|
|
2015-04-17 09:28:18 +00:00
|
|
|
|
GNU nano 2.4.1 - 2015.04.14
|
2015-04-13 10:59:12 +00:00
|
|
|
|
2015-04-13 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_replace_loop): Fix compilation with --enable-tiny.
|
|
|
|
|
* README: Mention also the Savannah page for reporting bugs.
|
|
|
|
|
|
2015-04-12 08:31:53 +00:00
|
|
|
|
2015-04-12 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (filesearch_init): Stop M-\ and M-/ in WhereisFile
|
|
|
|
|
menu (reached via ^R ^T ^W) from doing also an unrequested search
|
|
|
|
|
after having performed their function. Fixes Savannah bug #44790.
|
2015-04-12 08:44:37 +00:00
|
|
|
|
* src/global.c (shortcut_init): Rebind ^Y and ^V in the WhereisFile
|
|
|
|
|
menu from the pointless page_up() and page_down() to the effective
|
|
|
|
|
first_file() and last_file(). Also unbind some other useless keys.
|
2015-04-12 09:04:30 +00:00
|
|
|
|
* src/browser.c (filesearch_init): Remove an unused variable, and
|
|
|
|
|
adjust the introductory comment for the recently tweaked logic.
|
2015-04-12 11:15:57 +00:00
|
|
|
|
* src/rcfile.c (parse_linter, parse_formatter): Use mallocstrcpy()
|
|
|
|
|
in a correct manner; don't let it free an unrelated string.
|
2015-04-12 08:31:53 +00:00
|
|
|
|
|
2015-04-11 15:21:08 +00:00
|
|
|
|
2015-04-11 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (do_replace_loop): Do not split off the marked region
|
|
|
|
|
into a separate partition, but do the replacings in the current one,
|
|
|
|
|
taking good care to stay within the boundaries of the region. This
|
|
|
|
|
fixes an undo bug where the first part of a line would disappear if
|
|
|
|
|
the region started in the middle of a line. Bug was reported here:
|
|
|
|
|
https://lists.gnu.org/archive/html/nano-devel/2015-03/msg00077.html.
|
2015-04-12 11:29:35 +00:00
|
|
|
|
Original idea and patch were by Mark Majeres.
|
2015-04-11 15:21:08 +00:00
|
|
|
|
|
2015-04-08 18:40:40 +00:00
|
|
|
|
2015-04-08 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (browser_select_dirname, findnextfile): Rename
|
|
|
|
|
'currselected' to 'looking_at', for more contrast with 'selected',
|
|
|
|
|
and rename browser_select_filename() to browser_select_dirname().
|
2015-04-08 19:57:31 +00:00
|
|
|
|
* src/text.c: Correct and adjust some comments.
|
2015-04-08 18:40:40 +00:00
|
|
|
|
|
2015-04-07 08:19:04 +00:00
|
|
|
|
2015-04-07 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (do_fileresearch): Don't search for the empty string
|
|
|
|
|
when nothing was sought yet (when historylog is set).
|
2015-04-07 08:23:52 +00:00
|
|
|
|
* src/browser.c (filesearch_init): Remove an unfitting comment
|
|
|
|
|
(there are no toggles here) and tweak some others.
|
2015-04-07 08:44:24 +00:00
|
|
|
|
* src/search.c (do_search, do_research): Use the same variable as
|
|
|
|
|
in the surrounding code, for consistency.
|
2015-04-07 10:41:00 +00:00
|
|
|
|
* src/browser.c (findnextfile_wrap_reset): Elide this function,
|
|
|
|
|
and rename 'search_last_file' to 'came_full_circle'.
|
2015-04-07 11:04:32 +00:00
|
|
|
|
* src/browser.c (filesearch_init, do_fileresearch): Avoid setting
|
|
|
|
|
'focusing' when searching only for filenames.
|
2015-04-07 13:34:12 +00:00
|
|
|
|
* src/browser.c (findnextfile, do_filesearch, do_fileresearch):
|
|
|
|
|
Greatly simplify the searching for the next matching filename.
|
2015-04-07 14:16:07 +00:00
|
|
|
|
* src/{browser,files,help,prompt,text,winio}.c: Let the function
|
|
|
|
|
bottombars() set the global variable 'currmenu' -- the displayed
|
|
|
|
|
menu must necessarily be the active one.
|
2015-04-07 15:37:07 +00:00
|
|
|
|
* src/browser.c (filesearch_abort): Elide this tiny function.
|
2015-04-07 15:23:12 +00:00
|
|
|
|
* THANKS: Add the names of recent translators, and sort the list.
|
2015-04-07 15:37:07 +00:00
|
|
|
|
* THANKS: A neater layout, plus two table headers.
|
2015-04-07 08:19:04 +00:00
|
|
|
|
|
2015-04-05 09:14:13 +00:00
|
|
|
|
2015-04-05 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/texinfo/nano.texi: Expand on nano's features, condense the
|
|
|
|
|
synopsis, and "online" means something else to most people.
|
|
|
|
|
|
2015-04-03 15:48:57 +00:00
|
|
|
|
2015-04-03 Benno Schulenberg <bensberg@justemail.net>
|
2015-04-03 17:28:30 +00:00
|
|
|
|
* README: Update text to the fifth milestone, 2.4.x, plus tweaks.
|
2015-04-03 15:57:22 +00:00
|
|
|
|
* src/rcfile.c: Remove two superfluous (because nested) #ifndefs.
|
2015-04-03 17:28:30 +00:00
|
|
|
|
* src/rcfile.c (parse_rcfile): Ignore any magic when libmagic was
|
|
|
|
|
disabled, and ignore a formatter when spell checking was disabled.
|
2015-04-03 15:48:57 +00:00
|
|
|
|
|
2015-03-28 17:01:46 +00:00
|
|
|
|
2015-03-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/search.c (search_init_globals, search_replace_abort),
|
|
|
|
|
src/winio.c (edit_redraw), src/proto.h, src/global.c: When finding
|
|
|
|
|
an off-screen string, put it on the center line of the screen and
|
|
|
|
|
not on the bottom or top line. This restores the old behaviour
|
|
|
|
|
that was unintentionally changed in r5149 six days ago.
|
2015-03-28 17:11:28 +00:00
|
|
|
|
* src/winio.c (edit_refresh): When pasting lines on the bottom line,
|
|
|
|
|
only scroll the required number of lines and not half a screen --
|
|
|
|
|
that is, when smooth scrolling is enabled.
|
2015-03-28 19:56:41 +00:00
|
|
|
|
* doc/syntax/changelog.nanorc: Also colour a series of changed files
|
|
|
|
|
that spans more than one line.
|
2015-03-28 17:01:46 +00:00
|
|
|
|
|
2015-03-27 20:16:36 +00:00
|
|
|
|
2015-03-27 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_alt_speller): Adjust the end point of the marked
|
|
|
|
|
region for any change in length of the region's last line.
|
|
|
|
|
|
2015-03-27 09:14:21 +00:00
|
|
|
|
2015-03-27 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/patch.nanorc: Recognize also Debian package diffs.
|
|
|
|
|
Fixes https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1300565
|
|
|
|
|
requested by Rolf Leggewie.
|
2015-03-27 10:49:19 +00:00
|
|
|
|
* src/search.c (do_replace_loop): Adjust some whitespace and wrapping.
|
2015-03-27 11:29:23 +00:00
|
|
|
|
* src/search.c (do_replace_loop): Place a call to edit_refresh better,
|
|
|
|
|
and remove two unneeded ones. This greatly speeds up nano when doing
|
|
|
|
|
a Replace All with *lots* of occurrences.
|
2015-04-03 15:48:57 +00:00
|
|
|
|
* src/{color,global,nano,text,utils}.c: Normalize some whitespace.
|
2015-03-27 15:34:41 +00:00
|
|
|
|
* src/global.c (strtosc): The linter is only available when colour is.
|
2015-03-27 16:55:49 +00:00
|
|
|
|
* src/global.c, src/text.c: Treat the formatter like a speller, to fix
|
|
|
|
|
compilation with --disable-speller. Fixes Savannah bug #44607.
|
2015-03-27 09:14:21 +00:00
|
|
|
|
|
2015-03-25 13:42:40 +00:00
|
|
|
|
2015-03-25 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/debian.nanorc: Slightly widen and relax the header regex.
|
2015-03-25 13:50:12 +00:00
|
|
|
|
* doc/syntax/python.nanorc: Hashes inside triple-quoted strings should
|
|
|
|
|
not cause comment colouring. (Inside single-qouted strings neither,
|
|
|
|
|
but then quotes in comments will be coloured like strings.) This
|
|
|
|
|
solves https://bugs.launchpad.net/ubuntu/+source/nano/+bug/481363.
|
2015-03-25 16:20:45 +00:00
|
|
|
|
* src/global.c (strtomenu): Remove mistaken menu name -- as the
|
|
|
|
|
formatter allows no interaction it needs no associated menu.
|
2015-03-25 16:23:45 +00:00
|
|
|
|
* src/text.c (do_formatter): Remove unneeded statement -- nothing
|
|
|
|
|
has changed the value of 'currmenu'.
|
2015-03-27 15:34:41 +00:00
|
|
|
|
* src/global.c (strtosc), doc/man/nanorc.5: Allow rebinding the
|
2015-03-25 19:33:00 +00:00
|
|
|
|
linter when nano was configured with --disable-speller.
|
2015-03-25 13:42:40 +00:00
|
|
|
|
|
2015-03-23 17:01:25 +00:00
|
|
|
|
2015-03-23 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_alt_speller): Avoid the spell checker reporting
|
|
|
|
|
an error when the marked region is zero bytes long. The message
|
|
|
|
|
is not needed -- it gets printed by the caller. This generalizes
|
|
|
|
|
the fix for Savannah bug #29393.
|
2015-03-23 17:12:49 +00:00
|
|
|
|
* src/text.c (do_alt_speller): Do not unset the mark before the
|
|
|
|
|
possible bailout because of a zero-sized region.
|
2015-03-23 18:16:37 +00:00
|
|
|
|
* NEWS: Option --noread allows writing, not reading, to named pipes.
|
2015-03-23 17:01:25 +00:00
|
|
|
|
|
2015-03-23 13:06:07 +00:00
|
|
|
|
2015-03-22 Chris Allegretta <chrisa@asty.org>
|
2015-03-23 18:16:37 +00:00
|
|
|
|
* src/text.c (do_alt_speller): timestamp can just be a time_t.
|
2015-04-03 15:48:57 +00:00
|
|
|
|
Fixes compilation on win32 and macOS.
|
2015-03-23 04:32:45 +00:00
|
|
|
|
|
2015-04-17 09:28:18 +00:00
|
|
|
|
GNU nano 2.4.0 - 2015.03.22
|
2015-03-22 11:20:02 +00:00
|
|
|
|
2015-03-22 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/chars.c (move_mbleft): Start looking for a multibyte char
|
|
|
|
|
not at the start of the string, but only as far back as such a
|
|
|
|
|
char can possibly be. Change suggested by Mark Majeres.
|
2015-03-23 13:06:07 +00:00
|
|
|
|
* src/search.c (findnextstr): Step backward or forward not simply
|
2015-03-22 11:42:29 +00:00
|
|
|
|
one byte but one character (possibly multibyte). Fixes Savannah
|
|
|
|
|
bug #42175, reported by myself, and the finding of ghosts seen in
|
|
|
|
|
https://lists.gnu.org/archive/html/nano-devel/2015-03/msg00055.html.
|
2015-03-22 13:23:42 +00:00
|
|
|
|
* src/winio.c (edit_redraw): Do not center the current line when
|
|
|
|
|
smooth scrolling is used. This fixes Savannah bug #42654.
|
2015-03-22 11:20:02 +00:00
|
|
|
|
|
2015-03-21 21:13:03 +00:00
|
|
|
|
2015-03-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_alt_speller): Remove some leftovers.
|
2015-03-21 21:40:56 +00:00
|
|
|
|
* src/search.c: Place some comments better and unwrap some lines.
|
2015-03-21 21:13:03 +00:00
|
|
|
|
|
2015-03-21 21:02:13 +00:00
|
|
|
|
2015-03-21 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_alt_speller): Restore the positions of the mark
|
|
|
|
|
and the cursor in a better way: to the columns where they were.
|
|
|
|
|
This fixes Savannah bug #44542, reported by Benno Schulenberg.
|
|
|
|
|
|
2015-03-20 11:18:22 +00:00
|
|
|
|
2015-03-20 Benno Schulenberg <bensberg@justemail.net>
|
2015-03-20 11:37:53 +00:00
|
|
|
|
* src/nano.c (finish_stdin_pager, cancel_stdin_pager, stdin_pager):
|
2015-03-20 11:18:22 +00:00
|
|
|
|
Normalize the whitespace, remove an old comment, and place another
|
|
|
|
|
one better.
|
2015-03-20 11:37:53 +00:00
|
|
|
|
* src/text.c (do_undo): Make a message equal to another one. It
|
|
|
|
|
was mistakenly changed in r4950. (This is translation-neutral.)
|
2015-03-20 12:22:49 +00:00
|
|
|
|
* src/global.c (shortcut_init): Keep related items together in the
|
|
|
|
|
^G help screen.
|
2015-03-20 11:18:22 +00:00
|
|
|
|
|
2015-03-17 20:10:59 +00:00
|
|
|
|
2015-03-17 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_alt_speller): Do not set the modified flag when
|
|
|
|
|
an external spell checker didn't make any changes. This fixes
|
|
|
|
|
Savannah bug #44320, reported by Cody A. Taylor.
|
|
|
|
|
|
2015-03-14 20:17:21 +00:00
|
|
|
|
2015-03-14 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_formatter): Fix a message plus a few comments.
|
|
|
|
|
|
2015-03-14 15:59:01 +00:00
|
|
|
|
2015-03-14 Mark Majeres <mark@engine12.com>
|
2015-03-15 19:48:50 +00:00
|
|
|
|
* src/nano.c (renumber): Get out if there is nothing to renumber,
|
|
|
|
|
to prevent do_undo() from falling over trying to renumber emptiness.
|
|
|
|
|
This fixes Savannah bug #44488, reported by Dennis Decker Jensen.
|
2015-03-14 15:59:01 +00:00
|
|
|
|
|
2015-03-08 12:10:52 +00:00
|
|
|
|
2015-03-08 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/proto.h, src/nano.c: Fix compilation with --enable-tiny plus
|
|
|
|
|
--enable-nanorc.
|
2015-03-08 15:42:52 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): Fix the rebinding of toggles.
|
2015-03-08 15:59:15 +00:00
|
|
|
|
* doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi: Update
|
|
|
|
|
years and version numbers in the docs in anticipation of a release.
|
2015-03-08 20:14:10 +00:00
|
|
|
|
* src/nano.c (version): Drop compile time from version information
|
|
|
|
|
to enable a reproducible build. Proposed by Jérémy Bobbio and Jordi
|
|
|
|
|
Mallach (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774388).
|
2015-03-08 12:10:52 +00:00
|
|
|
|
|
2015-03-07 21:30:36 +00:00
|
|
|
|
2015-03-07 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Add a note about the
|
|
|
|
|
inherent imperfection of using regular expressions for syntax
|
|
|
|
|
highlighting, as suggested by Mike Frysinger in bug #30962.
|
2015-03-07 21:48:15 +00:00
|
|
|
|
* doc/man/nanorc.5: Improve the indentation of some lists.
|
2015-03-07 22:11:56 +00:00
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Remove the mistaken
|
|
|
|
|
square brackets around the arguments of "header" and "magic" --
|
|
|
|
|
those arguments are not optional. Also add "formatter" to the
|
|
|
|
|
texinfo document, and slightly improve its punctuation.
|
2015-03-07 21:30:36 +00:00
|
|
|
|
|
2015-03-23 13:06:07 +00:00
|
|
|
|
GNU nano 2.3.99pre3 - 2015.02.27
|
2015-02-25 19:04:53 +00:00
|
|
|
|
2015-02-25 Chris Allegretta <chrisa@asty.org>
|
2015-03-07 21:30:36 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): Add an exception for do_toggle() as
|
2015-03-08 15:42:52 +00:00
|
|
|
|
rebinding toggles broke with r5022. (Fixed in r5134.)
|
2015-02-25 19:04:53 +00:00
|
|
|
|
|
2015-02-21 09:45:53 +00:00
|
|
|
|
2015-02-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* README: Fix the explanation of how to subscribe to a mailing list.
|
2015-02-21 11:31:56 +00:00
|
|
|
|
* doc/syntax/{java,lua,python,ruby}.nanorc: Wrap some overlong lines.
|
2015-02-21 09:45:53 +00:00
|
|
|
|
|
2015-02-18 20:01:30 +00:00
|
|
|
|
2015-02-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* doc/syntax/sh.nanorc: Recognize also dash, openrc and runscript.
|
|
|
|
|
|
2015-02-16 20:13:29 +00:00
|
|
|
|
2015-02-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* .gitignore: Ignore the autotools 'compile' file.
|
|
|
|
|
|
2015-02-15 16:20:09 +00:00
|
|
|
|
2015-02-15 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/file.c (do_lockfile): Also show the name of the affected file
|
|
|
|
|
when finding a lock file, for when many files are opened at once.
|
2015-02-15 16:28:08 +00:00
|
|
|
|
* src/file.c (do_lockfile): The user does the editing, not the editor.
|
2015-02-15 16:20:09 +00:00
|
|
|
|
|
2015-02-09 19:53:29 +00:00
|
|
|
|
2015-02-09 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nano.spec.in: Add dependency on texinfo, docdir files for
|
|
|
|
|
RPM file creation.
|
|
|
|
|
|
2015-02-07 00:26:43 +00:00
|
|
|
|
GNU nano 2.3.99pre2 - 2015.02.06
|
2015-02-15 16:20:09 +00:00
|
|
|
|
2015-02-03 Alex Henrie <alexhenrie24@gmail.com>
|
2015-02-03 22:49:57 +00:00
|
|
|
|
* src/cut.c (do_cut_text): Make sure to set modified even when
|
|
|
|
|
using --enable-tiny.
|
|
|
|
|
|
2015-02-01 09:39:27 +00:00
|
|
|
|
2015-02-01 Kamil Dudka <kdudka@redhat.com>
|
|
|
|
|
* src/files.c (write_lockfile): Avoid writing uninitialized bytes to
|
|
|
|
|
the lock file -- a simple null_at() would not initialize the buffer.
|
2015-02-01 09:48:50 +00:00
|
|
|
|
* src/files.c (do_lockfile): Make sure that 'lockprog' and 'lockuser'
|
|
|
|
|
are terminated -- strncpy() does not guarantee that on its own.
|
2015-02-01 09:58:02 +00:00
|
|
|
|
* src/files.c (do_lockfile): Avoid printing a wrong PID on the status
|
|
|
|
|
bar due to treating serialized PID bytes as signed integers. This
|
|
|
|
|
addresses https://bugzilla.redhat.com/1186384 reported by Don Swaner.
|
2015-02-01 10:07:08 +00:00
|
|
|
|
* src/files.c (write_lockfile): Do not trim the nano version number
|
|
|
|
|
-- snprintf() counts the trailing zero into the size limit.
|
2015-02-01 09:39:27 +00:00
|
|
|
|
|
2015-02-01 09:19:58 +00:00
|
|
|
|
2015-02-01 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (do_credits): Add a general entry for all translators.
|
2015-02-01 09:32:02 +00:00
|
|
|
|
* src/nano.c (version), src/winio.c (do_credits): Update the copyright
|
|
|
|
|
years to include 2015.
|
2015-02-01 09:19:58 +00:00
|
|
|
|
|
2015-01-14 02:36:30 +00:00
|
|
|
|
2015-01-13 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* src/files.c (open_buffer): Check here for locking and properly
|
|
|
|
|
handle choosing to not open a file when locked instead of in
|
2015-04-03 15:48:57 +00:00
|
|
|
|
open_file(). Fixes Savannah bug #42373 reported by Benno Schulenberg.
|
2015-01-14 02:36:30 +00:00
|
|
|
|
|
2015-01-06 15:20:04 +00:00
|
|
|
|
GNU nano 2.3.99pre1 - 2015.01.06
|
2015-01-03 07:24:17 +00:00
|
|
|
|
2015-01-03 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* New formatter code to support syntaxes like
|
|
|
|
|
go which have tools to automatically lint and reformat the text for
|
|
|
|
|
you (gofmt), which is lovely. rcfile option formatter, function
|
|
|
|
|
text.c:do_formatter() and some other calls.
|
|
|
|
|
|
2014-12-28 21:58:27 +00:00
|
|
|
|
2014-12-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (do_lockfile): Gettextize the "File being edited"
|
|
|
|
|
prompt, and improve its wording.
|
2014-12-28 22:23:31 +00:00
|
|
|
|
* src/winio.c (do_credits): Remove the names of past translators
|
|
|
|
|
from the Easter-egg scroll.
|
|
|
|
|
* THANKS: Add a missing historical translator name.
|
2014-12-28 22:27:56 +00:00
|
|
|
|
* src/winio.c (do_credits): Add Mark to the scroll, for all his
|
|
|
|
|
undo work, colouring nano's interface, and other patches.
|
2014-12-28 21:58:27 +00:00
|
|
|
|
|
2014-11-30 12:05:13 +00:00
|
|
|
|
2014-11-30 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/spec.nanorc: Colorize %pretrans and %posttrans fully.
|
|
|
|
|
Original patch from Savannah patch #8573 by Daniel Vrátil.
|
|
|
|
|
|
2014-09-21 15:29:40 +00:00
|
|
|
|
2014-09-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/{perl,python,ruby,sh}.nanorc: Recognize also header
|
|
|
|
|
lines of the form "#!/usr/bin/env thing" besides "#!/bin/thing".
|
|
|
|
|
This fixes Savannah bug #43270 reported by Kitty.
|
|
|
|
|
|
2014-08-29 20:03:58 +00:00
|
|
|
|
2014-08-29 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_justify): Replace the old get_shortcut() wrapper
|
|
|
|
|
with the new func_from_key().
|
|
|
|
|
|
2014-08-10 16:27:30 +00:00
|
|
|
|
2014-08-10 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/texinfo/nano.texi: Improve some wordings and formatting.
|
|
|
|
|
|
2014-08-07 20:27:21 +00:00
|
|
|
|
2014-08-07 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/nanorc.nanorc: Remove a mistaken OR which causes a
|
|
|
|
|
'Bad regex, empty (sub)expression' error on some systems. This
|
2014-08-29 19:22:15 +00:00
|
|
|
|
fixes Savannah bug #42929 reported by Misty De Meo.
|
2014-08-07 20:27:21 +00:00
|
|
|
|
|
2014-08-03 20:25:16 +00:00
|
|
|
|
2014-08-03 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/man/nano.1, doc/man/rnano.1: Tweak the formatting a bit so that
|
|
|
|
|
po4a will create a nicer POT file.
|
2014-08-03 20:57:15 +00:00
|
|
|
|
* doc/man/nanorc.5: Improve some of the wordings and formatting.
|
2014-08-03 20:25:16 +00:00
|
|
|
|
|
2014-08-02 20:47:35 +00:00
|
|
|
|
2014-08-02 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/texinfo/nano.texi: Standardize the formatting of command-line
|
|
|
|
|
options -- each one separately. Also add some more markup.
|
|
|
|
|
|
2014-08-01 21:04:35 +00:00
|
|
|
|
2014-08-01 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/man/nano.1, doc/man/rnano.1: Separate short and long option
|
|
|
|
|
by a comma instead of putting the long one between parentheses.
|
|
|
|
|
And showing the required quotes around the argument of -Q.
|
|
|
|
|
|
2014-07-31 20:44:19 +00:00
|
|
|
|
2014-07-31 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (do_insertfile): Adjust some indentation.
|
2014-07-31 20:49:32 +00:00
|
|
|
|
* src/prompt.c (do_statusbar_input), src/browser.c (do_browser):
|
|
|
|
|
Reorder a few things, and adjust some whitespace.
|
2014-07-31 20:44:19 +00:00
|
|
|
|
|
2014-07-27 19:13:46 +00:00
|
|
|
|
2014-07-27 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (add_to_sclist): Remove the now unused and unneeded
|
|
|
|
|
addition ability from this builder function of the shortcut list.
|
2014-07-27 19:18:00 +00:00
|
|
|
|
* src/global.c (strtokeytype): Move this to a better place.
|
2014-07-27 19:23:41 +00:00
|
|
|
|
* src/global.c (first_sc_for): Move this too to a better place.
|
2014-07-27 19:32:03 +00:00
|
|
|
|
* src/prompt.c (do_yesno_prompt): Use the new and more direct
|
|
|
|
|
func_from_key() wrapper instead of get_shortcut().
|
2014-07-27 20:16:28 +00:00
|
|
|
|
* src/text.c (do_linter): Likewise.
|
2014-07-27 21:07:15 +00:00
|
|
|
|
* src/files.c (do_insertfile, do_writeout): Likewise.
|
2014-07-27 19:13:46 +00:00
|
|
|
|
|
2014-07-24 16:11:20 +00:00
|
|
|
|
2014-07-24 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/texinfo/nano.texi, doc/man/nanorc.5: Typo fix.
|
|
|
|
|
|
2014-07-22 08:17:20 +00:00
|
|
|
|
2014-07-22 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/nanorc.nanorc: Remove 'undo' from the valid options.
|
|
|
|
|
|
2014-07-21 21:27:15 +00:00
|
|
|
|
2014-07-21 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/nanorc.sample.in: Remove ‘undo’ section which is now obsolete.
|
|
|
|
|
|
2014-07-17 15:32:28 +00:00
|
|
|
|
GNU nano 2.3.6 - 2014.07.17
|
2014-07-17 06:27:08 +00:00
|
|
|
|
2014-07-16 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/man/rnano.1: Additional printing formatting improvement from
|
|
|
|
|
Bjarni Ingi Gislason.
|
|
|
|
|
|
2014-07-16 17:25:55 +00:00
|
|
|
|
2014-07-16 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/man/fr/nano.1, doc/man/fr/rnano.1: Apply similar escaping fixes
|
|
|
|
|
to French manpages.
|
|
|
|
|
* doc/man/fr/nano.1, doc/man/fr/rnano.1, doc/man/fr/nanorc.5: Recode
|
|
|
|
|
as UTF-8.
|
|
|
|
|
|
2014-07-16 11:22:02 +00:00
|
|
|
|
2014-07-16 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/syntax/debian.nanorc: Add https, tor and spacewalk to supported
|
|
|
|
|
APT methods.
|
|
|
|
|
* doc/syntax/debian.nanorc: Apply the syntax to apt/sources.list.d/
|
|
|
|
|
entries as well, as reported by Rodolphe Pelloux-Prayer.
|
|
|
|
|
|
2014-07-16 11:07:08 +00:00
|
|
|
|
2014-07-16 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting
|
|
|
|
|
fixes as suggested Bjarni Ingi Gislason <bjarniig@rhi.hi.is> in
|
|
|
|
|
Debian bugs #662842 and #726956.
|
|
|
|
|
|
2014-07-16 08:53:16 +00:00
|
|
|
|
2014-07-16 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c: Normalize the tabbing.
|
|
|
|
|
|
2014-07-16 08:46:42 +00:00
|
|
|
|
2014-07-16 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_undo): Make sure renumbering starts far enough back
|
|
|
|
|
after undoing a cut or paste. This fixes a segmentation fault when
|
|
|
|
|
undoing a repeated cutting and pasting of the first line of a file.
|
|
|
|
|
* src/nano.c (move_to_filestruct, copy_from_filestruct): Fix two leaks.
|
|
|
|
|
|
2014-07-13 19:46:32 +00:00
|
|
|
|
2014-07-13 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-07-16 08:46:42 +00:00
|
|
|
|
* ChangeLog: Typo fix.
|
2014-07-13 19:46:32 +00:00
|
|
|
|
|
2014-07-12 08:17:52 +00:00
|
|
|
|
2014-07-12 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* configure.ac: The warning about datarootdir being ignored is
|
|
|
|
|
not merely a warning, it also activates a workaround.
|
|
|
|
|
|
2014-07-11 19:14:25 +00:00
|
|
|
|
2014-07-11 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_undo, do_redo): Do not speak of "line wrap"
|
|
|
|
|
but instead of "text add" when undoing/redoing text additions
|
|
|
|
|
that caused automatic line breaks.
|
|
|
|
|
|
2014-07-11 18:35:08 +00:00
|
|
|
|
2014-07-11 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/files.c (write_lockfile): Refix typo in error message.
|
|
|
|
|
|
2014-07-11 13:46:32 +00:00
|
|
|
|
GNU nano 2.3.5 - 2014.07.11
|
2014-07-11 11:16:15 +00:00
|
|
|
|
2014-07-11 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* src/files.c (do_lockfile, open_file): If locking fails,
|
|
|
|
|
allow the lock failure message to be preserved AND
|
|
|
|
|
preserve the filename passed on the cmdline. Fixes
|
|
|
|
|
Savannah bug #42668.
|
|
|
|
|
|
2014-07-03 03:54:22 +00:00
|
|
|
|
2014-07-02 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* src/files.c (do_lockfile): Check whether the directory
|
2014-07-11 11:16:15 +00:00
|
|
|
|
of the file we're trying to lock exists, and make the
|
|
|
|
|
resulting error message more intuitive. Fixes
|
|
|
|
|
Savannah bug #42639 reported by Benno Schulenberg.
|
2014-07-03 03:54:22 +00:00
|
|
|
|
|
2014-07-02 20:29:57 +00:00
|
|
|
|
2014-07-02 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (undo_cut, redo_cut, update_undo): Handle the
|
2014-07-02 20:52:27 +00:00
|
|
|
|
cases of cutting-from-cursor-to-end-of-line correctly.
|
2014-07-02 20:29:57 +00:00
|
|
|
|
* src/nano.c (do_input): Don't preserve the cutbuffer when
|
|
|
|
|
CUT_TO_END is toggled -- it would intermix two cut types.
|
2014-07-02 20:52:27 +00:00
|
|
|
|
* src/text.c (redo_cut, do_undo, do_redo): Don't forget to
|
|
|
|
|
free the cutbuffer after use.
|
2014-07-02 20:29:57 +00:00
|
|
|
|
|
2014-07-02 08:47:09 +00:00
|
|
|
|
2014-07-02 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/proto.h: Add a typedef for a pointer to a function.
|
|
|
|
|
* src/global.c (func_from_key): New wrapper.
|
|
|
|
|
* src/prompt.c (get_prompt_string, do_prompt): Use the new
|
|
|
|
|
wrapper to make the code a bit cleaner.
|
2014-07-02 09:29:05 +00:00
|
|
|
|
* src/help.c (do_help, parse_help_input): Use the wrapper.
|
|
|
|
|
* src/browser.c (do_browser, parse_browser_input): Likewise.
|
2014-07-02 19:12:38 +00:00
|
|
|
|
* src/search.c (search_init, do_gotolinecolumn): Likewise.
|
|
|
|
|
* src/search.c (findnextstr): Replace a call of old wrapper
|
|
|
|
|
'getfuncfromkey()' with a call of new 'func_from_key()'.
|
|
|
|
|
* src/winio.c (getfuncfromkey): Delete now unneeded wrapper.
|
2014-07-02 19:57:23 +00:00
|
|
|
|
* src/nano.c (usage, main), doc/texinfo/nano.texi: Properly
|
|
|
|
|
exclude the --quiet option when --disable-nanorc was given.
|
2014-07-02 08:47:09 +00:00
|
|
|
|
|
2014-07-01 08:38:08 +00:00
|
|
|
|
2014-07-01 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (do_browser), src/help.c (do_help): Make sure
|
|
|
|
|
to always set 'currmenu', so that we can rely on it.
|
2014-07-01 10:41:10 +00:00
|
|
|
|
* src/*.c (get_shortcut): Now that 'currmenu' is really global,
|
|
|
|
|
stop passing it around.
|
2014-07-01 10:52:07 +00:00
|
|
|
|
* src/help.c (help_init), src/winio.c (bottombars): There are
|
|
|
|
|
no tagless functions, so there is no need to check.
|
2014-07-01 11:42:28 +00:00
|
|
|
|
* src/prompt.c (do_prompt, get_prompt_string): Don't pass the
|
|
|
|
|
menu, just set it earlier.
|
2014-07-01 11:50:35 +00:00
|
|
|
|
* src/prompt.c (get_prompt_string): Group the arguments better.
|
2014-07-01 16:24:01 +00:00
|
|
|
|
* src/global.c (shortcut_init), src/browser.c (do_filesearch):
|
|
|
|
|
Show that it is possible to have backwards, regular-expressive
|
|
|
|
|
and case-sensitive searching in the file browser.
|
|
|
|
|
* src/browser.c (filesearch_init, do_filesearch): Now delete
|
|
|
|
|
these abilities again and all provisions for them.
|
2014-07-01 18:52:21 +00:00
|
|
|
|
* src/global.c (shortcut_init): Add two defines to make the
|
|
|
|
|
functions list clearer.
|
2014-07-01 08:38:08 +00:00
|
|
|
|
|
2014-06-30 20:39:27 +00:00
|
|
|
|
2014-06-30 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/cut.c, src/global.c, src/nano.c: Rename 'cut_till_end' to
|
|
|
|
|
'cut_till_eof', and 'do_cut_till_end' to 'do_cut_till_eof', to
|
|
|
|
|
reduce confusion with CUT_TO_END, which is about end-of-line.
|
|
|
|
|
|
2014-06-30 17:47:07 +00:00
|
|
|
|
2014-06-30 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/color.c (color_update): When there are no syntaxes, for example
|
|
|
|
|
with --ignorercfiles, do not try to find one, because that would lead
|
|
|
|
|
to the magic database being searched, which slows down startup a lot.
|
2014-06-30 17:49:53 +00:00
|
|
|
|
* src/color.c (color_update): Move some variables to a better place.
|
2014-06-30 18:04:33 +00:00
|
|
|
|
* src/*: Make 'meta_key' and 'func_key' into global variables, instead
|
|
|
|
|
of having them declared everywhere and passing them around endlessly.
|
2014-06-30 18:20:32 +00:00
|
|
|
|
* src/global.c (sc_seq_or): Now fix a bug introduced somewhere after
|
|
|
|
|
2.3.2 where binding a movement function to a Meta key would make the
|
|
|
|
|
corresponding Arrow key stop working (producing a character instead).
|
2014-06-30 17:47:07 +00:00
|
|
|
|
|
2014-06-29 09:33:51 +00:00
|
|
|
|
2014-06-29 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/rcfile.c: Fix compilation with --enable-tiny --enable-nanorc.
|
2014-06-29 20:53:00 +00:00
|
|
|
|
* src/winio.c (parse_kbinput, get_escape_seq_kbinput): Make Ctrl-Left
|
|
|
|
|
and Ctrl-Right produce special codes, and map these codes to Prevword
|
|
|
|
|
and Nextword instead of reducing them to a plain Left and Right. The
|
|
|
|
|
codes 539 and 554 were so chosen because some terminals produce these.
|
2014-06-29 09:33:51 +00:00
|
|
|
|
|
2014-06-29 08:49:06 +00:00
|
|
|
|
2014-06-29 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_undo): Update the pointer to the bottom of the file
|
|
|
|
|
when undoing line deletions at file's end.
|
|
|
|
|
|
2014-06-28 08:29:18 +00:00
|
|
|
|
2014-06-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/prompt.c (do_statusbar_input): Remove the useless parameters
|
|
|
|
|
'have_shortcut and 'allow_funcs'; the latter is only ever TRUE.
|
2014-06-28 14:42:18 +00:00
|
|
|
|
* src/global.c (shortcut_init), src/prompt.c (do_statusbar_input):
|
|
|
|
|
Eradicate the execute flag -- it is only FALSE for functions that are
|
|
|
|
|
empty placeholders (so executing them will not do anything anyway) or
|
|
|
|
|
for functions ('total_refresh', 'do_suspend_void') that do not exist
|
|
|
|
|
in menus with a prompt. The only two exceptions are 'do_cancel' and
|
|
|
|
|
'do_gotolinecolumn_void'. The first is handled specially, so do that
|
|
|
|
|
too for the second and then get to drop 140 parameters.
|
2014-06-28 15:34:10 +00:00
|
|
|
|
* src/global.c (strtosc): Move recognition of the toggles to the end,
|
|
|
|
|
use a single assignment of do_toggle_void, trim the unneeded braces.
|
2014-06-28 08:29:18 +00:00
|
|
|
|
|
2014-06-27 15:51:24 +00:00
|
|
|
|
2014-06-27 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (shortcut_init): Add default keybindings for Cut,
|
|
|
|
|
PrevWord and NextWord in the prompt input lines; the code for those
|
|
|
|
|
special operations already exists, just the shortcuts were missing.
|
2014-06-27 16:14:52 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): When binding keys, only allow those
|
|
|
|
|
menus where the bound function is actually present. This reduces
|
|
|
|
|
the meaning of 'all' to "all menus where the function exists".
|
|
|
|
|
* src/rcfile.c (is_universal): New function, returning TRUE for the
|
|
|
|
|
functions that are present in most menus but only listed in MMAIN.
|
2014-06-27 16:27:52 +00:00
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Update the docs for this.
|
2014-06-27 19:32:12 +00:00
|
|
|
|
* prompt.c (find_statusbar_bracket_match, do_statusbar_find_bracket):
|
|
|
|
|
Remove these functions and thus the ability to search for a matching
|
|
|
|
|
bracket in a prompt input line. The find_bracket function never had
|
|
|
|
|
a default keybinding outside MMAIN, so is unlikely to have been used.
|
2014-06-27 20:01:27 +00:00
|
|
|
|
* src/prompt.c (do_statusbar_input): Normalize the indentation.
|
|
|
|
|
* src/winio.c: Normalize some whitespace.
|
2014-06-27 20:20:14 +00:00
|
|
|
|
* Makefile.am, nano.spec.in: Stop distributing the BUGS file.
|
2014-07-07 18:46:47 +00:00
|
|
|
|
* BUGS: Remove obsolete file, as all the bugs in it have been fixed
|
|
|
|
|
long ago. Nowadays bugs are tracked on Savannah.
|
2014-06-27 20:35:37 +00:00
|
|
|
|
* configure.ac: Silence a useless warning about ignoring datarootdir.
|
2014-06-27 15:51:24 +00:00
|
|
|
|
|
2014-06-25 09:05:55 +00:00
|
|
|
|
2014-06-25 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (do_browser): Allow 'firstfile' and 'lastfile' to be
|
|
|
|
|
rebound to Ctrl keys -- checking meta_key is wrong, the function has
|
|
|
|
|
already been determined, that is all that matters.
|
2014-06-25 09:17:38 +00:00
|
|
|
|
* src/help.c (do_help): Same thing for 'firstline'/'lastline'.
|
2014-06-25 09:05:55 +00:00
|
|
|
|
|
2014-06-23 18:20:12 +00:00
|
|
|
|
2014-06-23 Benno Schulenberg <bensberg@justemail.net>
|
2014-07-13 19:46:32 +00:00
|
|
|
|
* src/nano.h, src/move.c (do_up, do_down), src/winio.c (edit_scroll):
|
2014-06-23 18:20:12 +00:00
|
|
|
|
Rename UP_DIR and DOWN_DIR to UPWARD and DOWNWARD, for clarity.
|
2014-06-23 18:30:35 +00:00
|
|
|
|
* src/proto.h, src/global.c, src/search.c: Rename 'no_replace_void()'
|
|
|
|
|
to 'flip_replace_void()', to show what it actually does.
|
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Update the docs for that.
|
2014-06-23 20:03:25 +00:00
|
|
|
|
* src/global.c (strtosc): Add the bindable function 'gotodir'.
|
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Document the bindable
|
|
|
|
|
functions 'tofiles','gotodir' and 'flipnewbuffer', and correct
|
|
|
|
|
the description of 'gototext' (not being about the file browser).
|
2014-06-23 20:17:00 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Show Ins and Del as valid rebindable keys.
|
2014-06-23 20:22:42 +00:00
|
|
|
|
* src/help.c (do_help): Normalize the indentation.
|
2014-06-23 20:30:23 +00:00
|
|
|
|
* src/files.c (do_insertfile): Give audible feedback when flipping
|
|
|
|
|
the new buffer to off is not allowed in view mode.
|
2014-06-23 18:20:12 +00:00
|
|
|
|
|
2014-06-22 19:17:02 +00:00
|
|
|
|
2014-06-22 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c (parse_browser_input), src/help.c (parse_help_input):
|
|
|
|
|
Remove two pointless calls of get_shortcut(), and adjust the comments.
|
2014-06-22 19:23:54 +00:00
|
|
|
|
* src/nano.c (do_toggle): When toggling softwrap, only the edit window
|
|
|
|
|
needs to be refreshed, not the entire screen.
|
2014-06-22 21:21:00 +00:00
|
|
|
|
* src/browser.c (do_browser): Remove superfluous abortion variable,
|
|
|
|
|
and place two comments better.
|
2014-06-22 21:26:56 +00:00
|
|
|
|
* src/text.c (do_redo): Rename 'undidmsg' to 'redidmsg', to be apt.
|
2014-06-22 19:17:02 +00:00
|
|
|
|
|
2014-06-22 10:14:48 +00:00
|
|
|
|
2014-06-22 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_redo): When redoing a line join at the tail
|
2014-07-07 18:46:47 +00:00
|
|
|
|
of the file, make sure openfile->filebot is updated.
|
2014-06-22 11:03:49 +00:00
|
|
|
|
* src/text.c (undo_cut, redo_cut, do_undo, add_undo, update_undo):
|
|
|
|
|
Fix three leaks of the cutbuffer, shorten and regroup some stuff,
|
|
|
|
|
and remove an unneeded iteration of cutbottom.
|
2014-06-22 10:14:48 +00:00
|
|
|
|
|
2014-06-21 19:32:17 +00:00
|
|
|
|
2014-06-21 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (undo_cut, add_undo): When undoing a cut-till-eof,
|
|
|
|
|
put the cursor back where the cut started, and not at the end.
|
2014-06-21 19:40:30 +00:00
|
|
|
|
* src/text.c (do_undo): When undoing a line break at the tail
|
|
|
|
|
of the file, make sure openfile->filebot is updated.
|
2014-06-21 19:32:17 +00:00
|
|
|
|
|
2014-06-21 19:01:51 +00:00
|
|
|
|
2014-06-21 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/move.c, src/nano.c: Miscellaneous whitespace fixes, one
|
|
|
|
|
type fix, and one more #ifdef NANO_TINY.
|
|
|
|
|
|
2014-06-20 07:55:24 +00:00
|
|
|
|
2014-06-20 Benno Schulenberg <bensberg@justemail.net>
|
2014-06-20 10:34:52 +00:00
|
|
|
|
* src/proto.h, src/global.c: Remove two obsolete variables and an
|
|
|
|
|
unneeded extern, and regroup some stuff.
|
2014-06-20 10:39:31 +00:00
|
|
|
|
* src/files.c (check_dotnano): Wrap long lines and actually report
|
|
|
|
|
the name that is not a directory.
|
2014-06-20 10:48:26 +00:00
|
|
|
|
* src/*: Miscellaneous whitespace adjustments and comment tweaks.
|
2014-06-20 15:35:26 +00:00
|
|
|
|
* src/files.c: Fix compilation with --enable-tiny --enable-browser.
|
2014-06-20 15:56:31 +00:00
|
|
|
|
* doc/man/nano.1, doc/texinfo/nano.texi: History logging no longer
|
|
|
|
|
depends upon nanorc support, plus many other tweaks.
|
2014-06-20 16:03:38 +00:00
|
|
|
|
* src/global.c (strtosc): Fix compilation with --enable-tiny
|
|
|
|
|
--enable-histories --enable-nanorc.
|
2014-06-20 16:13:54 +00:00
|
|
|
|
* src/text.c: Fix compilation with --enable-tiny --enable-wrapping.
|
2014-06-20 16:33:12 +00:00
|
|
|
|
* src/files.c (do_insertfile): Fix compilation with --enable-tiny
|
|
|
|
|
--enable-histories --enable-multibuffer.
|
2014-06-20 18:06:22 +00:00
|
|
|
|
* src/nano.c: Fix compilation with --enable-tiny --enable-mouse.
|
2014-06-20 18:40:34 +00:00
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.texi: Explain better what "all"
|
|
|
|
|
means when rebinding keys. This is a fix for Savannah bug #42552.
|
2014-06-20 19:10:24 +00:00
|
|
|
|
* src/nano.c (main): Make +1 and +,1 start on line one column one,
|
|
|
|
|
overriding a historical position. This fixes Savannah bug #42538.
|
2014-06-20 07:55:24 +00:00
|
|
|
|
|
2014-06-19 11:58:11 +00:00
|
|
|
|
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
|
|
|
|
|
for consistency, and tweak the related comments.
|
2014-06-19 13:08:23 +00:00
|
|
|
|
* src/files.c: Update some comments to match the current status.
|
2014-06-19 15:09:23 +00:00
|
|
|
|
* src/nano (finish, main): Allow -H/--historylog and -P/--poslog to
|
|
|
|
|
function also when -I/--ignorercfiles is given.
|
2014-06-19 17:39:26 +00:00
|
|
|
|
* configure.ac: Add a --disable-histories flag, to disable the code
|
|
|
|
|
for the histories of search/replace strings and cursor positions.
|
|
|
|
|
* doc/texinfo/nano.texi: Document the new configure flag.
|
2014-06-19 20:05:24 +00:00
|
|
|
|
* src/*: Transform many DISABLE_NANORC to the new DISABLE_HISTORIES.
|
|
|
|
|
This completes the fix for Savannah bug #42539.
|
2014-06-19 11:58:11 +00:00
|
|
|
|
|
2014-06-18 19:46:35 +00:00
|
|
|
|
2014-06-18 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c: Rename 'to_end' to 'to_eof', to lessen confusion
|
|
|
|
|
with CUT_TO_END (which is about cutting to end-of-line).
|
2014-06-18 19:59:12 +00:00
|
|
|
|
* src/text.c: Upon better thought, elide the unneeded 'to_eof'.
|
2014-06-18 20:01:30 +00:00
|
|
|
|
* src/text.c: And elide a totally unused 'strdata2'.
|
2014-06-18 20:11:52 +00:00
|
|
|
|
* src/text.c: Rename the undo type UNSPLIT to JOIN, for clarity.
|
2014-06-18 20:43:05 +00:00
|
|
|
|
* src/global.c, src/rcfile.c: Rename function_type to key_type.
|
2014-06-18 21:23:50 +00:00
|
|
|
|
* src/text.c (break_line): Remove a condition and a break that
|
|
|
|
|
cancel each other.
|
2014-06-18 19:46:35 +00:00
|
|
|
|
|
2014-06-18 19:04:35 +00:00
|
|
|
|
2014-06-18 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (add_undo): Don't start a new undo for CUT when the
|
|
|
|
|
cutbuffer is being preserved, because then the cuts are contiguous
|
|
|
|
|
and will form a single undo item. And make sure the cutbuffer will
|
|
|
|
|
be cleared when a new undo item for CUT is created.
|
|
|
|
|
* src/cut.c (keeping_cutbuffer): New function, to access the status
|
|
|
|
|
of 'keep_cutbuffer' from the undo/redo code in src/text.c.
|
|
|
|
|
* src/cut.c (do_copy_text): Blow away the contents of the cutbuffer
|
|
|
|
|
if the mark is set or the cursor has moved between two copy commands.
|
|
|
|
|
|
2014-06-17 15:50:34 +00:00
|
|
|
|
2014-06-17 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_undo, do_redo): After an undo or redo, update the
|
|
|
|
|
'placewewant' (the desired horizontal position of the cursor).
|
|
|
|
|
|
2014-06-17 15:37:34 +00:00
|
|
|
|
2014-06-17 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_undo, do_redo): Remove obsolete boolean variable.
|
2014-06-17 20:30:59 +00:00
|
|
|
|
* doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Replace
|
|
|
|
|
SYSCONFDIR with an absolute path or a circumlocution, as suggested
|
|
|
|
|
by Mike Frysinger, plus some other tweaks.
|
2014-06-17 15:37:34 +00:00
|
|
|
|
|
2014-06-16 20:44:34 +00:00
|
|
|
|
2014-06-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/nano.c (do_exit): Display the message "No file name" on the
|
|
|
|
|
statusbar for two seconds when --tempfile was given and the current
|
|
|
|
|
buffer has no name. This fixes Savannah bug #41750.
|
|
|
|
|
|
2014-06-16 12:06:58 +00:00
|
|
|
|
2014-06-16 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* configure.ac: For the sake of statically linked systems, make sure
|
|
|
|
|
the compiler also links against libz, which is used by libmagic.
|
|
|
|
|
This fixes Savannah bug #38378, reported by Alan Hourihane.
|
2014-06-16 12:30:35 +00:00
|
|
|
|
* src/nano.c (do_mouse, do_input): Don't bother returning zero when
|
|
|
|
|
the cursor moved, just reset the cutbuffer directly. This avoids an
|
|
|
|
|
"Unknown Command" message on every cursor-positioning mouse click.
|
2014-06-16 12:40:14 +00:00
|
|
|
|
* src/nano.c (do_mouse): Put a common statement outside of then/else.
|
2014-06-16 12:45:03 +00:00
|
|
|
|
* src/Makefile.am: Remove -I m4; it is needed only at the top level.
|
2014-06-16 12:54:06 +00:00
|
|
|
|
* Makefile.am: Trim the contents of EXTRA_DIST to what is required.
|
2014-06-16 15:02:58 +00:00
|
|
|
|
* doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Update
|
|
|
|
|
the docs for the changed location of nano's search history.
|
2014-06-16 15:24:28 +00:00
|
|
|
|
* doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Change
|
|
|
|
|
some wordings, triggered by Savannah bug #52539.
|
2014-06-16 12:06:58 +00:00
|
|
|
|
|
2014-06-14 14:08:28 +00:00
|
|
|
|
2014-06-14 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/nano.h, src/text.c (undo_cut, update_undo): When undoing a
|
|
|
|
|
backwards cut, put the cursor back in front of it, where it was.
|
|
|
|
|
|
2014-06-13 12:07:18 +00:00
|
|
|
|
2014-06-13 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (do_input): Repositioning the cursor with the mouse
|
|
|
|
|
(result == 0) should break a series of ^Ks.
|
2014-06-13 12:19:44 +00:00
|
|
|
|
* src/nano.c (do_mouse): Clicking on the titlebar or the statusbar
|
|
|
|
|
should not break a series of ^Ks, thus result must not be zero.
|
2014-06-13 12:28:33 +00:00
|
|
|
|
* src/nano.c (do_input): A toggle should not break a series of ^Ks.
|
2014-06-13 14:58:02 +00:00
|
|
|
|
* src/winio.c (get_shortcut): Do not treat holding both Control and
|
|
|
|
|
Meta the same as holding only Control.
|
2014-06-13 15:20:26 +00:00
|
|
|
|
* src/global.c, src/rcfile.c, src/nano.h, src/nano.c, src/text.c:
|
|
|
|
|
Remove the --undo option, having the undo functions always enabled.
|
|
|
|
|
If wished, the user can unbind them. This fixes Savannah bug #42456.
|
|
|
|
|
* doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Update the docs.
|
2014-06-13 20:52:39 +00:00
|
|
|
|
* nano.spec.in: Remove useless info dir file from the build directory,
|
|
|
|
|
don't clean this directory first, it's unnecessary, add a suggestion
|
|
|
|
|
for a pico symlink, and update the license and the source URL.
|
2014-06-13 12:07:18 +00:00
|
|
|
|
|
2014-06-11 18:04:36 +00:00
|
|
|
|
2014-06-11 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (get_mouseinput): Produce the correct return value for
|
|
|
|
|
when a mouse event reinserted something into the keyboard buffer.
|
|
|
|
|
* src/nano.c (do_input): Do not continue when there is a spurious
|
|
|
|
|
mouse event (a touch of the touchpad, for example) but get out.
|
|
|
|
|
Continuing would result in the cutbuffer being cleared upon the
|
|
|
|
|
next cut. These two changes together fix Savannah bug #42326.
|
2014-06-11 18:23:29 +00:00
|
|
|
|
* src/nano.c (do_input): Always accept mouse events, also when
|
|
|
|
|
just looking for Unjustify. This fixes Savannah bug #42322.
|
2014-06-11 18:34:35 +00:00
|
|
|
|
* src/nano.c (do_input): Remove a superfluous switch statement.
|
2014-06-11 19:24:38 +00:00
|
|
|
|
* src/winio.c (get_mouseinput): Set the type of a reinserted key,
|
|
|
|
|
also when it is a function key. This fixes Savannah bug #42092.
|
2014-06-11 18:04:36 +00:00
|
|
|
|
|
2014-06-10 19:12:14 +00:00
|
|
|
|
2014-06-10 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/browser.c, src/files.c, src/nano.c src/prompt.c, src/winio.c:
|
|
|
|
|
A few minimalistic whitespace adjustments.
|
2014-06-10 19:50:44 +00:00
|
|
|
|
* src/rcfile.c (check_bad_binding): Avoid a compiler warning.
|
2014-06-10 19:12:14 +00:00
|
|
|
|
|
2014-06-10 19:07:47 +00:00
|
|
|
|
2014-06-10 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/winio.c: One more type fix and two tiny message tweaks.
|
|
|
|
|
|
2014-06-09 14:23:53 +00:00
|
|
|
|
2014-06-09 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/*.c: Cosmetic tweaks of comments and whitespace.
|
2014-06-09 14:33:00 +00:00
|
|
|
|
* src/help.c, src/rcfile.c, src/winio.c: Elide a function call by
|
|
|
|
|
not comparing with an empty string but checking for the final \0.
|
2014-06-09 15:08:59 +00:00
|
|
|
|
* src/files.c, src/nano.c, src/text.c, src/winio.c: Type fixes in
|
|
|
|
|
debugging stuff -- line numbers are long, x positions unsigned long.
|
2014-06-09 20:26:54 +00:00
|
|
|
|
* src/files.c, src/move.c, src/nano.c, src/text.c, src/winio.c:
|
|
|
|
|
Make tiny nano a bit tinier by preening out some soft-wrap stuff.
|
2014-06-09 20:41:15 +00:00
|
|
|
|
* src/global.c, src/nano.c, src/winio.c: A few more cosmetic tweaks
|
|
|
|
|
(whitespace, order, braces, parentheses, and a typo) and type fixes.
|
2014-06-09 14:23:53 +00:00
|
|
|
|
|
2014-06-09 10:28:23 +00:00
|
|
|
|
2014-06-09 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (do_input): Remove two superfluous false conditions.
|
2014-06-09 10:35:44 +00:00
|
|
|
|
* src/nano.h, src/text.c (add_undo): Avoid a compiler warning with
|
|
|
|
|
--disable-wrapping.
|
2014-06-09 10:28:23 +00:00
|
|
|
|
|
2014-06-09 10:01:54 +00:00
|
|
|
|
2014-06-09 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_undo, do_redo, add_undo, update_undo, do-wrap):
|
|
|
|
|
Rewrite the line-wrapping code to make use of the existing line-break
|
|
|
|
|
code. And undo line wraps together with their causal text additions,
|
|
|
|
|
and not as separate actions because the user did not make them.
|
|
|
|
|
|
2014-06-08 19:02:12 +00:00
|
|
|
|
2014-06-08 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_delete, do_deletion, do_undo, do_redo, update_undo):
|
|
|
|
|
Differentiate between undoing a Delete and undoing a Backspace -- the
|
|
|
|
|
cursor should be in a slightly but significantly different position.
|
|
|
|
|
|
2014-06-04 19:15:16 +00:00
|
|
|
|
2014-06-04 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (shortcut_init), src/files.c (do_insertfile): Rename
|
|
|
|
|
'ext_cmd_void' to 'flip_execute_void' to better match what it does.
|
|
|
|
|
* src/global.c (strtosc), doc/man/nanorc.5, doc/texinfo/nano.texi:
|
|
|
|
|
Add function name 'flipexecute' to enable rebinding ^X in the menus
|
|
|
|
|
Read File and Execute Command.
|
|
|
|
|
|
2014-06-04 16:02:51 +00:00
|
|
|
|
2014-06-04 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-06-04 16:32:45 +00:00
|
|
|
|
* src/*.c: Adjustments of whitespace and comments.
|
|
|
|
|
* doc/nanorc.sample.in: Interpunction tweaks.
|
2014-06-04 16:30:11 +00:00
|
|
|
|
* src/global.c (add_to_funcs): Add cast to subnfunc* for nmalloc().
|
|
|
|
|
* src/files.c (do_lockfile): Properly make the variable 'lockfilesize'
|
|
|
|
|
a size_t instead of a ssize_t, since it holds the result of strlen().
|
|
|
|
|
And use charalloc() instead of (char *)nmalloc().
|
|
|
|
|
* src/text.c (do_undo): Use charealloc() and not (char *)nrealloc().
|
|
|
|
|
* src/text.c (add_undo): Make use of null_at() to both null-terminate
|
|
|
|
|
the multibyte character and align it to use only the amount of memory
|
|
|
|
|
necessary.
|
2014-06-04 16:02:51 +00:00
|
|
|
|
|
2014-06-05 07:57:04 +00:00
|
|
|
|
GNU nano 2.3.4 - 2014.06.02
|
2014-06-02 14:35:21 +00:00
|
|
|
|
2014-06-02 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* doc/syntax/default.nanorc: Can't do trailing spaces in the
|
2014-06-04 16:32:45 +00:00
|
|
|
|
default syntax or it will hilight the spaces as you type them
|
|
|
|
|
into a new file, which for non-programming is infuriating.
|
2014-06-02 14:35:21 +00:00
|
|
|
|
|
2014-05-29 18:50:13 +00:00
|
|
|
|
2014-05-29 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/text.c (do_delete): For the undo structure, differentiate
|
|
|
|
|
between deleting a newline and any other character.
|
|
|
|
|
|
2014-05-29 18:30:23 +00:00
|
|
|
|
2014-05-29 Chris Allegretta <chrisa@asty.org>
|
2014-06-04 16:32:45 +00:00
|
|
|
|
* src/chars.c (addstrings): This function needs to be available even
|
|
|
|
|
on non-utf-8 systems.
|
|
|
|
|
* nano-regress: Added --disable-utf8 to regression check.
|
2014-05-29 18:30:23 +00:00
|
|
|
|
|
2014-06-05 07:57:04 +00:00
|
|
|
|
GNU nano 2.3.3 - 2014.05.29
|
2014-05-29 04:38:16 +00:00
|
|
|
|
2014-05-28 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* doc/syntax/mutt.nanorc: Include Benno's awesome signature
|
|
|
|
|
matcher, modified slightly to also work for quoted sigs.
|
|
|
|
|
* doc/syntax/default.nanorc: Be far more gentle with something
|
|
|
|
|
which affects every file which doesn't match another syntax, and
|
|
|
|
|
the user may not be able to override if their distro turns on
|
|
|
|
|
highlighting by default.
|
|
|
|
|
|
2014-05-28 13:24:05 +00:00
|
|
|
|
2014-05-28 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (do_input): Remove the three unused parameters 's_or_t',
|
|
|
|
|
'ran_func', and 'finished'. They are only ever set and never used.
|
|
|
|
|
* src/text.c (do_justify): Adjust a call of do_input().
|
2014-05-28 13:27:33 +00:00
|
|
|
|
* src/browser (do_browser): Actually translate the go-to-dir prompt.
|
2014-05-28 14:34:11 +00:00
|
|
|
|
* src/browser, src/search.c: There is no need to repeat translator
|
|
|
|
|
comments for the same string -- once is enough to get them included.
|
|
|
|
|
Add instead some translator comments for the prompts.
|
2014-05-28 15:35:00 +00:00
|
|
|
|
* src/global.c (shortcut_init): Make ^X in the Read-File menu toggle
|
|
|
|
|
between executing a command and inserting a file. The mechanism in
|
|
|
|
|
do_insertfile() in files.c is already present -- in the past just
|
|
|
|
|
the wrong function was used in the relevant function-list item:
|
|
|
|
|
'do_insertfile_void' instead of the unintuitive 'ext_cmd_void'.
|
2014-05-28 15:40:24 +00:00
|
|
|
|
* src/browser (filesearch_init): Remove an unneeded format specifier.
|
2014-05-28 15:44:11 +00:00
|
|
|
|
* src/nano.c (usage): Add a translator comment for the --help output.
|
2014-05-28 19:02:00 +00:00
|
|
|
|
* src/global.c (shortcut_init): Elide four unneeded tags.
|
2014-05-28 20:31:06 +00:00
|
|
|
|
* src/global.c (shortcut_init): Make tiny nano just a bit tinier.
|
2014-05-28 21:02:39 +00:00
|
|
|
|
* src/global.c (shortcut_init): Standardize the add_to_funcs() calls,
|
|
|
|
|
breaking always between the menus and the tag.
|
2014-05-28 13:24:05 +00:00
|
|
|
|
|
2014-05-28 01:35:51 +00:00
|
|
|
|
2014-05-27 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* src/winio.c (edit_refresh): wredrawln() is not supported under
|
|
|
|
|
slang.
|
|
|
|
|
|
2014-05-27 12:17:49 +00:00
|
|
|
|
2014-05-27 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (shortcut_init): Improve the arrangement of help items
|
|
|
|
|
under certain compilation conditions.
|
2014-05-27 12:34:43 +00:00
|
|
|
|
* src/global.c (strtosc): Make tiny nano a bit tinier.
|
2014-05-27 12:38:32 +00:00
|
|
|
|
* src/global.c (strtosc): Allow rebinding 'suspend' in tiny nano.
|
2014-05-27 22:03:04 +00:00
|
|
|
|
* src/winio.c (set_modified): Adjust translator comment to make it
|
|
|
|
|
show up in the POT file, and make it take the "[ ]" into account.
|
2014-05-27 12:17:49 +00:00
|
|
|
|
|
2014-05-26 07:53:20 +00:00
|
|
|
|
2014-05-26 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/cut.c (cut_line): Fix compilation with --enable-tiny.
|
|
|
|
|
* src/text.c (do_linter): Avoid a warning with --enable-tiny.
|
2014-05-26 10:07:00 +00:00
|
|
|
|
* src/global.c (shortcut_init): Unwrap some lines, and reorder two.
|
2014-05-26 07:53:20 +00:00
|
|
|
|
|
2014-05-25 19:47:46 +00:00
|
|
|
|
2014-05-25 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c: Cut down on the size of tiny nano, by not compiling
|
|
|
|
|
the function strtosc() when --disable-nanorc is given or implied.
|
|
|
|
|
|
2014-05-25 19:41:49 +00:00
|
|
|
|
2014-05-25 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/chars.c (addstrings): New function, concatenates two allocated
|
|
|
|
|
strings, tacking the second onto the first and freeing the second.
|
|
|
|
|
* src/cut.c (do_uncut_text): Update the undo structure for a paste.
|
|
|
|
|
* src/text.c (undo_cut, redo_cut, add_undo, update_undo): Place the
|
|
|
|
|
cursor after an undo there where it was before the do, and handle
|
|
|
|
|
multibyte characters correctly.
|
|
|
|
|
|
2014-05-23 20:24:31 +00:00
|
|
|
|
2014-05-23 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (edit_draw): Finally, the proper fix for bug #31743;
|
|
|
|
|
telling ncurses to really redraw the line, without optimization, so
|
|
|
|
|
it will not mistakenly assume that a wide character at the start of
|
|
|
|
|
a line takes up just one column. This deletes the workaround that
|
|
|
|
|
had the side effect of creating pastes full of trailing whitespace.
|
|
|
|
|
|
2014-05-19 20:44:24 +00:00
|
|
|
|
2014-05-19 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/winio.c (edit_draw): Paint the current line *after* tickling the
|
|
|
|
|
terminal, so that the character in the final column will be displayed
|
|
|
|
|
properly. Bug was introduced five days ago.
|
|
|
|
|
|
2014-05-18 10:16:07 +00:00
|
|
|
|
2014-05-18 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano (precalc_multicolorinfo): Do not match the ^ anchor when
|
|
|
|
|
looking further on in a line. This prevents an end="^$" from being
|
|
|
|
|
sometimes mistakenly matched. Fix inspired by Savannah bug #27708.
|
2014-05-18 10:34:18 +00:00
|
|
|
|
* doc/syntax/default.nanorc: New file, example for a default syntax.
|
2014-05-18 10:16:07 +00:00
|
|
|
|
|
2014-05-17 11:44:35 +00:00
|
|
|
|
2014-05-17 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/json.nanorc: New file, originally from Aapo Rantalainen,
|
|
|
|
|
but edited, extended, and improved. See Savannah patch #7410.
|
2014-05-17 20:25:42 +00:00
|
|
|
|
* src/winio.c (edit_draw): Do not skip the colour-off commands at the
|
|
|
|
|
end of the loop. Based on Savannah patch #7550 by Ryan Lothian.
|
|
|
|
|
This fixes bug #26111 reported by Dave Geering <dreamlax@Savannah>.
|
2014-05-17 11:44:35 +00:00
|
|
|
|
|
2014-05-16 11:03:04 +00:00
|
|
|
|
2014-05-16 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c, src/winio.c: Remove some more double spaces.
|
2014-05-16 11:08:52 +00:00
|
|
|
|
* doc/syntax/patch.nanorc: Show trailing whitespace on added lines.
|
2014-05-16 20:13:02 +00:00
|
|
|
|
* doc/syntax/debian.nanorc: Make the component colouring simpler,
|
|
|
|
|
and the URI colouring completer, and improve the comments.
|
2014-05-16 20:21:34 +00:00
|
|
|
|
* doc/syntax/*.nanorc: Harmonize (partially) the syntax files.
|
2014-05-16 11:03:04 +00:00
|
|
|
|
|
2014-05-16 10:34:05 +00:00
|
|
|
|
2014-05-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/color.c, src/cut.c, src/text.c: Tweak some whitespace.
|
|
|
|
|
* src/global.c, src/move.c: Use TRUE and FALSE instead of 1 and 0.
|
|
|
|
|
* src/winio.c (edit_draw): Mention the name of the tickling character.
|
2014-05-16 10:50:01 +00:00
|
|
|
|
* src/search.c (goto_line_posx): Remove unneeded call of edit_refresh.
|
|
|
|
|
* src/text.c (do_undo, do_redo): Use size_t for line lengths.
|
2014-05-16 10:34:05 +00:00
|
|
|
|
|
2014-05-15 20:00:46 +00:00
|
|
|
|
2014-05-15 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/*, but mainly src/text.c (undo_cut, redo_cut, do_undo, do_redo):
|
|
|
|
|
Go to the correct positions for undoing/redoing the cuts and pastes.
|
|
|
|
|
This fixes several undo problems and Savannah bug #25585.
|
|
|
|
|
|
2014-05-15 12:52:30 +00:00
|
|
|
|
2014-05-15 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/c.nanorc: Improve the magic regex, plus tweaks.
|
2014-05-15 13:18:48 +00:00
|
|
|
|
* src/color.c (color_update): Adjust a comment, and be clearer.
|
2014-05-15 13:11:55 +00:00
|
|
|
|
* src/nano.h: Improve two comments, and elide one macro.
|
2014-05-15 13:18:48 +00:00
|
|
|
|
* doc/syntax/Makefile.am: Add texinfo.nanorc to the packing list.
|
2014-05-15 12:52:30 +00:00
|
|
|
|
|
2014-05-14 08:42:14 +00:00
|
|
|
|
2014-05-14 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (edit_draw): Poke a non-breaking space into the last
|
|
|
|
|
column of every line, to startle the terminal into handling wide,
|
|
|
|
|
two-column characters properly. This fixes Savannah bug #31743.
|
2014-05-14 09:17:25 +00:00
|
|
|
|
* src/nano.c (precalc_multicolorinfo): Improve debugging messages,
|
|
|
|
|
and remove superfluous assignment (fileptr already equals endptr).
|
2014-05-14 10:09:42 +00:00
|
|
|
|
* src/color.c (color_update): Move magic check to after headerline.
|
2014-05-14 10:29:55 +00:00
|
|
|
|
* src/color.c (color_update): Open the magic database only when
|
|
|
|
|
actually going to use it, and close it afterward.
|
2014-05-14 11:16:40 +00:00
|
|
|
|
* doc/syntax/{perl.nanorc,xml.nanorc}: Improve two magic regexes.
|
2014-05-14 11:51:26 +00:00
|
|
|
|
* src/color.c (color_update): Stop seeking when a magic matched.
|
2014-05-14 12:52:15 +00:00
|
|
|
|
* doc/nanorc.sample.in: Add an example of colouring nano's interface
|
|
|
|
|
elements, and tweak some of the other descriptions.
|
2014-05-14 08:42:14 +00:00
|
|
|
|
|
2014-05-13 08:12:52 +00:00
|
|
|
|
2014-05-13 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_linter): Make an error message somewhat clearer.
|
2014-05-13 08:34:29 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): Improve another error message.
|
2014-05-13 17:58:39 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Show key names like M-6 and M-/ as valid.
|
2014-05-13 18:06:09 +00:00
|
|
|
|
* src/global.c (thanks_for_all_the_fish): Upon exit also free the
|
|
|
|
|
lists with functions and shortcuts.
|
2014-05-13 20:14:01 +00:00
|
|
|
|
* src/*.c: Several random whitespace and comment tweaks.
|
2014-05-13 20:20:51 +00:00
|
|
|
|
* src/global.c (replace_scs_for): Condense the function a bit.
|
2014-05-13 20:34:15 +00:00
|
|
|
|
* src/help.c (help_init): No need to keep looping when two are found.
|
2014-05-13 20:51:19 +00:00
|
|
|
|
* src/global.c: Improve compilation with --disable-browser.
|
2014-05-13 21:11:59 +00:00
|
|
|
|
* src/nano.h, src/*.c: A few more comment tweaks.
|
2014-05-13 08:12:52 +00:00
|
|
|
|
|
2014-05-12 11:50:58 +00:00
|
|
|
|
2014-05-12 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/text.c (do_spell): Provide startup feedback, as for the linter.
|
2014-05-12 11:54:27 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Show bright foreground colours as valid.
|
2014-05-12 12:11:24 +00:00
|
|
|
|
* src/rcfile.c: Improve some comments, and remove some others that
|
|
|
|
|
are mispasted or superfluous.
|
2014-05-12 12:16:43 +00:00
|
|
|
|
* doc/texinfo/nano.texi: Add missing parenthesis, remove blank line.
|
2014-05-12 12:57:00 +00:00
|
|
|
|
* src/rcfile.c (parse_magictype, parse_headers): Handle the libmagic
|
|
|
|
|
and headerline regexes in the same manner, eliding a static variable
|
|
|
|
|
while renaming some others.
|
2014-05-12 13:52:50 +00:00
|
|
|
|
* src/*.h, src/rcfile.c (parse_magictype, parse_headers): Rename them
|
|
|
|
|
to parse_magic_exp() and parse_header_exp() to be more fitting, further
|
|
|
|
|
symmetrify them, and improve some comments.
|
2014-05-12 14:31:54 +00:00
|
|
|
|
* src/nano.h, src/color.c, src/global.c, src/rcfile.c: Rename struct
|
|
|
|
|
type 'exttype' to 'regexlisttype', to better match its functions, and
|
|
|
|
|
upon exit also free the regexes for libmagic results and headerlines.
|
2014-05-12 16:01:57 +00:00
|
|
|
|
* doc/syntax/python.nanorc: Improve the multiline regexes, make the
|
|
|
|
|
one with single quotes work again, and add some comments.
|
2014-05-12 18:10:08 +00:00
|
|
|
|
* doc/syntax/{man,python,fortran}.nanorc: Add regexes for comments,
|
|
|
|
|
trailing whitespace and reminders, and trim some trailing spaces.
|
2014-05-12 19:57:12 +00:00
|
|
|
|
* src/rcfile.c: Move parse_magic_exp() next to its sister.
|
2014-05-12 20:22:57 +00:00
|
|
|
|
* src/color.c (color_update): Rename a variable, and elide another.
|
2014-05-12 11:50:58 +00:00
|
|
|
|
|
2014-05-11 03:09:00 +00:00
|
|
|
|
2014-05-10 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* src/rcfile.c (parse_color_names): Redefine false and true to
|
|
|
|
|
their appropriate macro names so --with-slang works (slangv2 anyway).
|
|
|
|
|
* src/text.c (do_linter): Care about whether user cancelled the file
|
2014-05-14 12:13:51 +00:00
|
|
|
|
save (cancel the operation) versus just said no (continue but don't
|
2014-05-11 03:09:00 +00:00
|
|
|
|
save the file). Also doupdate() after statusbar message that
|
|
|
|
|
linter is being invoked and blank the shortcuts to draw the eye.
|
|
|
|
|
Also allow user to cancel at the "open in a new buffer" prompt.
|
2014-05-14 12:13:51 +00:00
|
|
|
|
New function lint_cleanup(). Fixes Savannah bug #42203.
|
2014-05-11 03:09:00 +00:00
|
|
|
|
|
2014-05-10 20:28:48 +00:00
|
|
|
|
2014-05-10 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/texinfo/nano.texi: Make syntax highlighting into a separate
|
|
|
|
|
section, and add the still missing section on rebinding keys.
|
|
|
|
|
|
2014-05-10 19:15:04 +00:00
|
|
|
|
2014-05-10 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/*.h, src/*.c: Make it possible for the foreground colour of
|
|
|
|
|
interface elements to be bright.
|
|
|
|
|
|
2014-05-09 11:44:17 +00:00
|
|
|
|
2014-05-09 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (get_mouseinput): Count only shortcuts that are actually
|
|
|
|
|
shown, so that clicking on the ones after ^T (Speller/Linter) will work
|
|
|
|
|
again correctly. This fixes the second part of Savannah bug #42093.
|
2014-05-09 12:20:20 +00:00
|
|
|
|
* src/global.c (shortcut_init, strtosc): Do not define nor accept
|
|
|
|
|
shortcuts for functions that are disabled.
|
2014-05-09 15:14:29 +00:00
|
|
|
|
* src/global.c (shortcut_init, strtosc): Define shortcut for the linter
|
|
|
|
|
when speller is disabled, and fix compilation with --disable-speller.
|
2014-05-09 20:33:49 +00:00
|
|
|
|
* src/global.c (shortcut_init, strtosc), doc/man/nanorc.5: Put softwrap
|
|
|
|
|
back among the "Appearance" toggles.
|
2014-05-09 21:02:14 +00:00
|
|
|
|
* doc/man/nanorc.5: Describe bindable functions in the third person.
|
2014-05-09 11:44:17 +00:00
|
|
|
|
|
2014-05-06 09:58:23 +00:00
|
|
|
|
2014-05-06 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/texinfo/nano.texi: Let makeinfo figure out the node pointers.
|
2014-05-06 10:03:02 +00:00
|
|
|
|
* doc/syntax/texinfo.nanorc: New file, colouring for Texinfo files.
|
2014-05-06 13:27:41 +00:00
|
|
|
|
* doc/texinfo/nano.texi: Add sections on the Cutbuffer and the Mark,
|
|
|
|
|
remove option '-?', and make some other tweaks.
|
2014-05-06 20:43:00 +00:00
|
|
|
|
* doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Synchronize the
|
|
|
|
|
documentation, and tweak some wording here and there.
|
2014-05-06 20:45:56 +00:00
|
|
|
|
* doc/syntax/texinfo.nanorc: Stop the brace content from spilling.
|
2014-05-06 09:58:23 +00:00
|
|
|
|
|
2014-05-05 19:32:42 +00:00
|
|
|
|
2014-05-05 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/man/nanorc.5: Give syntax highlighting its own section,
|
|
|
|
|
add the "header" command, tweak some wording and formatting,
|
|
|
|
|
and trim some duplicate introductory information.
|
2014-05-05 19:54:34 +00:00
|
|
|
|
* src/global.c (strtosc), doc/man/nanorc.5: Allow the function
|
|
|
|
|
do_cut_till_end (naming it "cutrestoffile") to be rebound.
|
2014-05-05 20:18:35 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Add the four new *color options.
|
2014-05-05 20:48:31 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Differentiate between options that
|
|
|
|
|
take an argument and those that don't.
|
2014-05-05 19:32:42 +00:00
|
|
|
|
|
2014-05-04 08:25:09 +00:00
|
|
|
|
2014-05-04 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (statusbar): Elide a variable.
|
2014-05-04 08:53:06 +00:00
|
|
|
|
* src/*: Rename the variable 'reverse_attr' to 'hilite_attribute',
|
|
|
|
|
and remove an unneeded call of wattroff().
|
2014-05-04 10:24:34 +00:00
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.tex: Document the settings
|
|
|
|
|
of titlecolor, statuscolor, keycolor and functioncolor.
|
2014-05-04 11:51:10 +00:00
|
|
|
|
* doc/man/nanorc.5, doc/texinfo/nano.tex: Show quotes where quotes
|
|
|
|
|
are needed, remove some unneeded spaces, and do other tweaks.
|
2014-05-04 12:20:51 +00:00
|
|
|
|
* src/global.c (strtosc), doc/man/nanorc.5: Allow the Backwards
|
|
|
|
|
toggle to be rebound, document it, and document Backspace too.
|
2014-05-04 08:25:09 +00:00
|
|
|
|
|
2014-05-03 18:24:45 +00:00
|
|
|
|
2014-05-03 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/*.h, src/*.c: Add the ability to colour four elements of
|
|
|
|
|
nano's interface differently: title bar, status bar, key combo,
|
2014-05-03 20:38:09 +00:00
|
|
|
|
and function tag. Idea and original patch #8421 by Mark Majeres.
|
2014-05-03 18:44:18 +00:00
|
|
|
|
* src/global.c (shortcut_init): Unfold long lines consistently.
|
2014-05-03 19:19:31 +00:00
|
|
|
|
* src/global.c (shortcut_init): Order the shortcuts in roughly
|
|
|
|
|
the same manner as in the help lines, and group them per menu.
|
2014-05-03 20:09:47 +00:00
|
|
|
|
* src/global.c (shortcut_init): Remove the search-mode toggles
|
|
|
|
|
from the inappropriate WHEREISFILE and REPLACEWITH menus.
|
2014-05-03 20:27:25 +00:00
|
|
|
|
* src/global.c (shortcut_init): Paragraph jumping only makes
|
|
|
|
|
sense in the main editing menu; remove it from all others.
|
2014-05-03 18:24:45 +00:00
|
|
|
|
|
2014-04-30 20:18:26 +00:00
|
|
|
|
2014-04-30 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/*, doc/*: Update the years in the copyright notices -- there
|
|
|
|
|
were releases in 2010, 2011, and 2013, and there will be in 2014.
|
|
|
|
|
|
2014-04-27 12:13:26 +00:00
|
|
|
|
2014-04-27 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (usage, main): Don't blurt out the full help text
|
|
|
|
|
but just a hint when the command line contains some mistake, to
|
|
|
|
|
avoid drowning out the error message.
|
2014-04-27 12:19:59 +00:00
|
|
|
|
* src/nano.c (usage): Mention only those options that actually do
|
|
|
|
|
something. For the no-op compat flags the man page is the place.
|
2014-04-27 14:21:57 +00:00
|
|
|
|
* src/global.c (shortcut_init): In the help lines of Search/Replace
|
|
|
|
|
show the important toggles early on, and group them better.
|
2014-04-27 15:20:57 +00:00
|
|
|
|
* src/global.c (shortcut_init): Improve order and grouping in the
|
|
|
|
|
main help text and help lines.
|
2014-04-27 15:26:25 +00:00
|
|
|
|
* src/global.c (strtosc): Fix compilation with --enable-tiny.
|
2014-04-27 19:51:03 +00:00
|
|
|
|
* src/global.c (shortcut_init): Improve the order of the help items
|
|
|
|
|
still further, and make them also group nicely in the tiny version.
|
2014-04-27 12:13:26 +00:00
|
|
|
|
|
2014-04-27 11:29:50 +00:00
|
|
|
|
2014-04-27 Mark Majeres <mark@engine12.com>
|
|
|
|
|
* src/rcfile.c (parse_include): Plug two tiny memory leaks.
|
|
|
|
|
|
2014-04-26 18:41:43 +00:00
|
|
|
|
2014-04-26 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (add_to_funcs): Add a pointer to the tail of the
|
|
|
|
|
functions list, to simplify and speed up adding new items. And
|
|
|
|
|
make use of it to remember the location of the Uncut item.
|
2014-04-26 19:01:18 +00:00
|
|
|
|
* src/global.c, src/files.c (make_new_buffer, close_buffer): Make
|
|
|
|
|
help lines show "Close" again when more than one buffer is open.
|
2014-04-26 19:33:11 +00:00
|
|
|
|
* src/global.c (strtosc), doc/man/nanorc.5: Allow the do_spell
|
|
|
|
|
(and thus do_lint) function to be bound to other key combos.
|
2014-04-26 20:16:17 +00:00
|
|
|
|
* src/global.c (strtosc), doc/man/nanorc.5: Group related functions
|
|
|
|
|
together, remove duplicate up/down, add missing prevpage/nextpage.
|
2014-04-26 18:41:43 +00:00
|
|
|
|
|
2014-04-24 20:22:32 +00:00
|
|
|
|
2014-04-24 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/faq.html: Update a few URLs, delete some obsolete ones, update
|
2014-05-14 12:13:51 +00:00
|
|
|
|
the section on configuration flags and on translating nano, plus a
|
|
|
|
|
whole series of other small fixes and adjustments.
|
2014-04-24 20:22:32 +00:00
|
|
|
|
|
2014-04-23 19:33:03 +00:00
|
|
|
|
2014-04-23 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c, src/help.c, src/text.c, src/browser.c: Remove
|
2014-04-23 20:42:55 +00:00
|
|
|
|
several unneeded double semicolons, and two relic comments.
|
2014-04-23 19:44:21 +00:00
|
|
|
|
* src/help.c (parse_help_input), src/browser.c (parse_browser_input):
|
|
|
|
|
Make the Minus and Space keys work in the help viewer and file browser
|
|
|
|
|
also when the PrevPage and NextPage functions are bound to meta-key
|
|
|
|
|
sequences -- searching for these will not find them. So, instead put
|
|
|
|
|
in the standard key code. This fixes Savannah bug #42140.
|
2014-04-23 20:03:24 +00:00
|
|
|
|
* src/global.c (first_sc_for): Stop the whole charade of preferring
|
|
|
|
|
control keys over meta keys over function keys, but return the first
|
|
|
|
|
one in the list -- just like the function name implies. This will
|
|
|
|
|
make a user-defined shortcut appear in the two bottomlines without
|
|
|
|
|
having to unbind the existing one first -- better feedback.
|
2014-05-03 20:38:09 +00:00
|
|
|
|
* src/global.c (shortcut_init, flagtostr, strtosc): Put the two
|
2014-04-23 20:42:55 +00:00
|
|
|
|
wrapping toggles together and increase their contrast a bit.
|
|
|
|
|
* src/nano.c (usage), doc/man/nano{.1,rc.5}, doc/texinfo/nano.texi:
|
|
|
|
|
Increase the contrast between hard-wrapping and soft-wrapping.
|
2014-04-23 19:33:03 +00:00
|
|
|
|
|
2014-04-22 10:02:55 +00:00
|
|
|
|
2014-04-22 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/global.c (shortcut_init): Put the movement keys in the
|
|
|
|
|
help viewer in the order of increasing stride.
|
2014-04-22 10:18:48 +00:00
|
|
|
|
* src/global.c (shortcut_init): Rename many constants from
|
|
|
|
|
'*_msg' to '*_tag' to reduce confusion with 'nano_*_msg'.
|
2014-04-22 10:44:24 +00:00
|
|
|
|
* src/global.c (shortcut_init): Elide several pointless constants.
|
2014-04-22 11:57:11 +00:00
|
|
|
|
* src/global.c (shortcut_init): Elide more unneeded constants, and
|
|
|
|
|
update some translator comments and shorten a few tags.
|
2014-04-22 12:10:30 +00:00
|
|
|
|
* src/global.c (shortcut_init): Delete unneeded empty funcs; being
|
|
|
|
|
in the list of shortcuts is enough.
|
2014-04-22 19:07:32 +00:00
|
|
|
|
* src/global.c (shortcut_init): Put left/right in normal order.
|
2014-04-22 19:10:26 +00:00
|
|
|
|
* src/global.c (shortcut_init): List function key after meta key.
|
2014-04-22 20:10:43 +00:00
|
|
|
|
* src/help.c (help_init): Show just two shortcuts per function --
|
|
|
|
|
only three functions showed three, but who has an F13, F14, F15?
|
2014-04-23 19:33:03 +00:00
|
|
|
|
This also fixes Savannah bug #41889: misalignment of help text.
|
2014-04-22 20:26:58 +00:00
|
|
|
|
* src/help.c (help_init): Split the toggles into three groups,
|
|
|
|
|
and do not show toggle keys that have been rebound.
|
2014-04-22 10:02:55 +00:00
|
|
|
|
|
2014-04-21 10:30:35 +00:00
|
|
|
|
2014-04-21 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/nanorc.nanorc: There is no F0 key.
|
2014-04-21 11:09:30 +00:00
|
|
|
|
* src/global.c (first_sc_for): Adjust two comments -- the help
|
|
|
|
|
viewer no longer sorts keys to be control first, meta second.
|
2014-04-21 11:15:48 +00:00
|
|
|
|
* src/global.c (first_sc_for): Put meta first, for clarity.
|
2014-04-21 11:22:54 +00:00
|
|
|
|
* src/global.c (strtokeytype): No need to check for lowercase
|
|
|
|
|
'm' or 'f', the source doesn't use them and rc-file processing
|
|
|
|
|
uppercases them. Also put control first, for clarity.
|
2014-04-21 12:06:20 +00:00
|
|
|
|
* src/global.c (strtosc, strtomenu): Sort functions slightly
|
|
|
|
|
better, and allow things to be rebound in the linter menu.
|
2014-04-21 12:31:52 +00:00
|
|
|
|
* src/nano.h: Delete a large bunch of unused defines.
|
2014-04-21 13:00:49 +00:00
|
|
|
|
* src/nano.h, src/proto.h: Delete some more unused stuff.
|
2014-04-21 13:07:18 +00:00
|
|
|
|
* src/rcfile.c (parse_binding), src/winio.c (get_mouseinput):
|
|
|
|
|
Avoid three compiler warnings with --enable-debug.
|
2014-04-21 15:22:14 +00:00
|
|
|
|
* src/global.c (assign_keyinfo): Decombine repetitive condition.
|
2014-04-21 15:45:23 +00:00
|
|
|
|
* src/global.c (assign_keyinfo, shortcut_init): Give nicer names
|
|
|
|
|
to the dedicated keys, for when they show up in the help lines.
|
2014-04-21 17:47:16 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): K-keys no longer exist.
|
2014-04-21 18:05:11 +00:00
|
|
|
|
* src/global.c, src/rcfile.c, doc/nanorc.sample.in: Allow the
|
|
|
|
|
codes from the Ins and Del keys to be rebound.
|
2014-04-21 18:12:29 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): Improve two error messages, and
|
|
|
|
|
complain about wrong menu names after wrong function names.
|
2014-04-21 10:30:35 +00:00
|
|
|
|
|
2014-04-16 08:24:32 +00:00
|
|
|
|
2014-04-16 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/winio.c (get_mouseinput): Properly find also the zeroeth
|
|
|
|
|
item from a certain menu in the list of functions. Until now
|
|
|
|
|
this accidentally worked, because "Get Help" was the very first
|
|
|
|
|
item in almost all menus. Partly fixes Savannah bug #42093.
|
2014-04-16 08:58:40 +00:00
|
|
|
|
* src/nano.h: MHELP should not be part of MALL, as ^B and ^F and
|
|
|
|
|
Enter and Backspace and so on don't make any sense there.
|
2014-04-16 09:12:13 +00:00
|
|
|
|
* src/nano.h, src/global.c (shortcut_init): Rename MALL to MMOST,
|
|
|
|
|
to be more accurate.
|
2014-04-16 09:26:15 +00:00
|
|
|
|
* src/nano.h, src/global.c, src/help.c, src/search.c: Rename
|
|
|
|
|
MREPLACE2 to MREPLACEWITH, for clarity.
|
2014-04-16 09:32:53 +00:00
|
|
|
|
* src/nano.h: Adjust some tabbing and spacing.
|
2014-04-16 09:55:16 +00:00
|
|
|
|
* src/global.c (shortcut_init): Make better use of MMOST.
|
2014-04-16 08:24:32 +00:00
|
|
|
|
|
2014-04-15 10:51:43 +00:00
|
|
|
|
2014-04-15 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (precalc_multicolorinfo): Actually set the intended
|
|
|
|
|
non-blocking mode for keyboard input.
|
2014-04-15 11:25:29 +00:00
|
|
|
|
* src/winio.c: Relocate and correct a few comments.
|
2014-04-15 12:13:04 +00:00
|
|
|
|
* README.SVN: To build nano from svn, ssh is not required.
|
2014-04-15 15:02:43 +00:00
|
|
|
|
* src/*.c: Normalize whitespace around '==' comparison.
|
2014-04-15 15:17:40 +00:00
|
|
|
|
* configure.ac: Check for the availability of snprintf(),
|
|
|
|
|
fixes Savannah bug #42070 reported by David Lawrence Ramsey.
|
2014-04-15 19:28:11 +00:00
|
|
|
|
* src/global.c (shortcut_init), src/help.c (do_help): Add the
|
|
|
|
|
shortcuts M-\ and M-/ for First Line and Last Line to the help
|
|
|
|
|
viewer, instead of ^Y and ^V, which are already taken for Page
|
|
|
|
|
Up and Page Down. Also, stop them from aborting the viewer.
|
2014-04-15 19:32:45 +00:00
|
|
|
|
* src/help.c (do_help): Remove superfluous abortion variable.
|
2014-04-15 20:01:19 +00:00
|
|
|
|
* src/global.c (shortcut_init), src/help.c (do_help): Add the
|
|
|
|
|
shortcut ^L for Refresh to the help viewer and stop it aborting;
|
|
|
|
|
a changed version of patch #7013 from David Lawrence Ramsey.
|
2014-04-15 10:51:43 +00:00
|
|
|
|
|
2014-04-14 09:14:39 +00:00
|
|
|
|
2014-04-14 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/{proto.h,cut.c,nano.c,text.c}: Remove the unused parameter
|
|
|
|
|
'file_bot' from copy_from_filestruct(), and rename the other.
|
2014-04-14 09:22:29 +00:00
|
|
|
|
* src/*: Remove the unused parameter 'func_key' from get_shortcut(),
|
|
|
|
|
and subsequently from parse_browser_input() and parse_help_input().
|
2014-04-15 15:02:43 +00:00
|
|
|
|
* src/*: Adjust some whitespace and tweak a few comments.
|
2014-04-14 10:03:32 +00:00
|
|
|
|
* src/winio.c (getfuncfromkey): Elide variable and condense comment.
|
2014-04-14 13:02:43 +00:00
|
|
|
|
* src/text.c (break_line): Initialize a variable to avoid a compiler
|
|
|
|
|
warning, rename it to be more apt, add a comment, tweak some others,
|
|
|
|
|
and remove an unneeded 'if'.
|
2014-04-14 20:42:10 +00:00
|
|
|
|
* src/char.c (move_mbleft): Avoid a compiler warning (int → size_t),
|
|
|
|
|
rename the variable, and another, and straighten out the logic.
|
2014-04-14 09:14:39 +00:00
|
|
|
|
|
2014-04-13 11:56:08 +00:00
|
|
|
|
2014-04-13 Benno Schulenberg <bensberg@justemail.net>
|
2014-04-13 12:09:32 +00:00
|
|
|
|
* proto.h, global.c, rcfile.c: Remove the unused parameter 'menu'
|
2014-04-13 11:56:08 +00:00
|
|
|
|
from strtosc().
|
2014-04-13 12:09:32 +00:00
|
|
|
|
* global.c (shortcut_init): Remove mistaken browser item from the
|
2014-04-13 12:01:36 +00:00
|
|
|
|
Go-To-Line menu.
|
2014-04-13 12:09:32 +00:00
|
|
|
|
* global.c (shortcut_init): Delete a misplaced setting of 'currmenu'.
|
2014-04-13 12:16:37 +00:00
|
|
|
|
* global.c (shortcut_init, strtomenu): Cosmetic tweaks.
|
2014-04-13 15:57:05 +00:00
|
|
|
|
* doc/syntax/{changelog,c,po}.nanorc: Some small extra colourings.
|
2014-04-13 19:44:30 +00:00
|
|
|
|
* configure.ac, doc/texinfo/nano.texi: Make --enable-tiny disable
|
|
|
|
|
the use of libmagic, and document the --disable-libmagic flag.
|
2014-04-13 19:54:47 +00:00
|
|
|
|
* src/nano.c (version): Print the correct --enable/--disable option.
|
2014-04-13 20:50:20 +00:00
|
|
|
|
* configure.ac, src/*, doc/texinfo/nano.texi: Convert all occurrences
|
|
|
|
|
of #ifdef ENABLE_NANORC to #ifndef DISABLE_NANORC, and adapt for it.
|
2014-04-13 21:05:57 +00:00
|
|
|
|
* configure.ac: Complain about --enable-color without --enable-nanorc.
|
2014-04-13 11:56:08 +00:00
|
|
|
|
|
2014-04-10 20:56:25 +00:00
|
|
|
|
2014-04-10 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc/syntax/Makefile.am: Add four recent syntaxes to the packlist.
|
|
|
|
|
|
2014-04-08 19:40:37 +00:00
|
|
|
|
2014-04-08 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* doc: Add the documentation for the new --noread option.
|
2014-04-08 20:01:17 +00:00
|
|
|
|
* doc: Add missing --poslog option to the texinfo file, plus tweaks.
|
2014-04-08 19:40:37 +00:00
|
|
|
|
|
2014-04-08 18:59:30 +00:00
|
|
|
|
2014-04-08 Hans Alves <fonsvandeachterburen@gmail.com>
|
|
|
|
|
* nano.h, files.c, nano.c: Adding the command-line option --noread
|
|
|
|
|
to treat any name on the command line as a new file. This allows
|
|
|
|
|
nano to write to named pipes -- it will start with a blank buffer,
|
|
|
|
|
and will write to the pipe when the user saves the file. This way
|
|
|
|
|
nano can be used as an editor in combination with for instance gpg
|
|
|
|
|
without having to write sensitive data to disk first.
|
|
|
|
|
|
2014-04-08 18:38:45 +00:00
|
|
|
|
2014-04-08 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/*.c: More editing of comment blocks and trimming of blank lines.
|
|
|
|
|
|
2014-04-08 13:27:32 +00:00
|
|
|
|
2014-04-08 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/rcfile.c: Correct two comments, and tweak two others.
|
2014-04-08 13:58:04 +00:00
|
|
|
|
* src/color.c (color_update): Correct one comment, tweak some others,
|
|
|
|
|
remove two superfluous ones, and remove an unneeded 'if'.
|
2014-04-08 13:27:32 +00:00
|
|
|
|
|
2014-04-08 12:24:52 +00:00
|
|
|
|
2014-04-08 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* src/nano.c (main): Convert the literal UTF-8 whitespace string into
|
|
|
|
|
its corresponding byte sequence, and add a comment for it.
|
2014-04-08 12:35:18 +00:00
|
|
|
|
* src/{files.c,global.c,help.c,winio.c}: Reformat some comment blocks,
|
|
|
|
|
fix a few typos, and remove a few unneeded blank lines.
|
2014-04-08 12:24:52 +00:00
|
|
|
|
|
2014-04-08 11:22:41 +00:00
|
|
|
|
2014-04-08 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/rcfile.c (parse_binding): Melt the binding and unbinding code,
|
|
|
|
|
which are very similar, into a single function.
|
2014-04-08 11:43:50 +00:00
|
|
|
|
* src/rcfile.c (parse_binding): Uppercase only the first two or three
|
|
|
|
|
characters of the key name, in order to preserve ^Space and M-Space,
|
|
|
|
|
so they can be unbound. Fixes Savannah bug #41940.
|
2014-04-08 12:09:29 +00:00
|
|
|
|
* doc/syntax/go.nanorc: Extend the syntax highlighting for Go lang,
|
|
|
|
|
from the submission by Robert Clausecker <fuzxxl@Savannah>.
|
2014-04-08 11:22:41 +00:00
|
|
|
|
|
2014-04-07 09:02:22 +00:00
|
|
|
|
2014-04-07 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/{proto.h,global.c,text.c}: Keep a pointer to the Uncut item in
|
|
|
|
|
the functions list, to be able to change its description to Unjustify
|
|
|
|
|
at the appropriate moment. This avoids having to fully repopulate
|
|
|
|
|
the functions and shortcuts lists before and after every Justify.
|
|
|
|
|
Also, look for ^U only in the main menu, to which ^W M-J factually
|
|
|
|
|
returns and which shortcut_init() "sneakily" sets.
|
2014-04-07 09:24:10 +00:00
|
|
|
|
* src/{proto.h,files.c,global.c,nano.c,rcfile.c}: Drop the obsolete
|
|
|
|
|
argument of shortcut_init(), and remove two unneeded calls of it.
|
2014-04-07 09:44:52 +00:00
|
|
|
|
* src/global.c (shortcut_init): Allow M-J after an --enable-justify.
|
2014-04-07 20:38:29 +00:00
|
|
|
|
* src/rcfile.c (parse_rcfile): The user documentation only speaks
|
|
|
|
|
of options, not of flags. Make the error messages conform.
|
2014-04-07 20:47:26 +00:00
|
|
|
|
* src/rcfile.c (check_vitals_mapped): Improve layout of message.
|
2014-04-07 09:02:22 +00:00
|
|
|
|
|
2014-04-06 08:57:36 +00:00
|
|
|
|
2014-04-06 Benno Schulenberg <bensberg@justemail.net>
|
2014-04-06 20:55:21 +00:00
|
|
|
|
* src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to
|
|
|
|
|
the main menu, and M-J (full-justify) to the main and search menus.
|
2014-04-06 20:47:57 +00:00
|
|
|
|
* src/proto.h: There is no need for the helpline tags to be external,
|
|
|
|
|
they are only ever used in src/global.c.
|
2014-04-06 20:55:21 +00:00
|
|
|
|
* src/global.c: Do not set any helpline tags to empty strings;
|
|
|
|
|
compilation should fail if they are needed and not defined.
|
2014-04-06 08:57:36 +00:00
|
|
|
|
|
2014-04-05 19:57:17 +00:00
|
|
|
|
2014-04-05 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/nano.c (version): Print the correct configuration options.
|
2014-04-05 20:28:29 +00:00
|
|
|
|
* src/{chars.c,nano.c,text.c}: Cosmetic tweaks.
|
2014-04-05 20:56:10 +00:00
|
|
|
|
* doc/texinfo/nano.texi: Adjust for new disabling config options.
|
2014-04-05 19:57:17 +00:00
|
|
|
|
|
2014-04-05 18:59:46 +00:00
|
|
|
|
2014-04-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* src/nano.c (do_input): Reload possibly freed function pointer.
|
|
|
|
|
|
2014-04-04 07:50:41 +00:00
|
|
|
|
2014-04-04 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* src/{files.c,nano.c}: Avoid two more compilation warnings.
|
2014-04-04 07:54:08 +00:00
|
|
|
|
* configure.ac: Allow --enable-extra and --enable-multibuffer
|
|
|
|
|
to override --enable-tiny.
|
2014-04-04 08:38:20 +00:00
|
|
|
|
* src/rcfile.c (check_vitals_mapped): Do not allow 'set quiet'
|
|
|
|
|
to suppress a fatal-error message, make sure the user sees it.
|
2014-04-04 09:01:21 +00:00
|
|
|
|
* src/color.c: Comment tweaks.
|
2014-04-15 15:02:43 +00:00
|
|
|
|
* src/{*.h,*.c}, configure.ac: Convert all occurrences of
|
2014-04-04 15:31:40 +00:00
|
|
|
|
#ifdef ENABLE_COLOR to #ifndef DISABLE_COLOR.
|
2014-04-04 12:29:28 +00:00
|
|
|
|
* src/nano.h: Comment tweaks.
|
2014-04-04 13:12:07 +00:00
|
|
|
|
* configure.ac: Move the enabling stuff to after the disablers.
|
2014-04-04 13:42:13 +00:00
|
|
|
|
* configure.ac: Add submissive colour disabling to --enable-tiny.
|
2014-04-04 13:54:05 +00:00
|
|
|
|
* configure.ac: Allow other enablers to override --enable-tiny too.
|
2014-04-04 15:31:40 +00:00
|
|
|
|
* src/{proto.h,search.c}: Fix compilation with --enable-browser.
|
2014-04-04 15:42:39 +00:00
|
|
|
|
* src/global.c (shortcut_init): Fix warnings with --enable-help.
|
2014-04-04 15:52:52 +00:00
|
|
|
|
* src/text.c (do_justify): Fix compilation with --enable-justify.
|
2014-04-04 16:06:27 +00:00
|
|
|
|
* src/nano.c (do_mouse): Fix warning with --enable-mouse.
|
2014-04-04 19:21:56 +00:00
|
|
|
|
* src/prompt.c (get_prompt_string): Fix compilation for the
|
|
|
|
|
combination of --enable-tiny with --enable-tabcomp.
|
2014-04-04 19:26:08 +00:00
|
|
|
|
* src/prompt.c (get_prompt_string): Normalize the indentation.
|
2014-04-04 20:45:28 +00:00
|
|
|
|
* src/text.c: Comment tweaks.
|
2014-04-04 07:50:41 +00:00
|
|
|
|
|
2014-04-03 10:52:27 +00:00
|
|
|
|
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* configure.ac: Remove unused '*_support' variables.
|
2014-04-03 10:54:46 +00:00
|
|
|
|
* doc/syntax/po.nanorc: New file, syntax colouring for PO files.
|
2014-04-03 19:35:42 +00:00
|
|
|
|
* configure.ac: Stop --with-slang from duplicating --enable-tiny.
|
2014-04-03 19:50:12 +00:00
|
|
|
|
* configure.ac: Sort all the disabling options alphabetically.
|
2014-04-03 20:23:07 +00:00
|
|
|
|
* src/{proto.h,files.c,global.c,nano.c,rcfile.c}, configure.ac:
|
|
|
|
|
Convert #ifdef ENABLE_MULTIBUFFER to #ifndef DISABLE_MULTIBUFFER.
|
2014-04-03 20:57:44 +00:00
|
|
|
|
* src/{proto.h,files.c,,nano.c,winio.c}, configure.ac:
|
|
|
|
|
Convert #ifdef NANO_EXTRA to #ifndef DISABLE_EXTRA.
|
2014-04-03 21:06:30 +00:00
|
|
|
|
* src/{global.c,text.c}: Fix two compilation warnings for tiny.
|
2014-04-03 10:52:27 +00:00
|
|
|
|
|
2014-04-02 20:37:30 +00:00
|
|
|
|
2014-04-02 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* configure.ac, doc/Makefile.am: Try to build the info documentation
|
|
|
|
|
only when 'makeinfo' is available. Patch partly by Mike Frysinger.
|
2014-04-02 21:06:37 +00:00
|
|
|
|
* configure.ac: Upping the required version of Autoconf, to ensure the
|
2014-04-02 21:03:32 +00:00
|
|
|
|
ONCE macros are defined. Suggested by Kamil Dudka and Mike Frysinger.
|
2014-04-02 20:37:30 +00:00
|
|
|
|
|
2014-04-02 19:42:54 +00:00
|
|
|
|
2014-04-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* doc/man/{,fr}/Makefile.am: Simplify the man rules still further.
|
2014-04-02 19:56:09 +00:00
|
|
|
|
* .gitignore: Add 'config.cache', created by './configure -C'.
|
2014-04-02 20:09:16 +00:00
|
|
|
|
* src/nano.c (die_save_file): Newer gcc warns about set-but-unused
|
|
|
|
|
variables, so add a dummy if() check to kill that off.
|
2014-04-02 20:17:05 +00:00
|
|
|
|
* src/search.c (search_init): Silence a compiler warning about a
|
|
|
|
|
variable possibly being used uninitialized.
|
2014-04-02 19:42:54 +00:00
|
|
|
|
|
2014-03-31 20:26:03 +00:00
|
|
|
|
2014-03-31 Chris Allegretta <chrisa@asty.org>
|
2014-04-15 15:02:43 +00:00
|
|
|
|
* doc/syntax/go.nanorc: New file, basic go syntax highlighting.
|
2014-03-31 20:26:03 +00:00
|
|
|
|
|
2014-03-30 21:04:58 +00:00
|
|
|
|
2014-03-30 Benno Schulenberg <bensberg@justemail.net>
|
2014-04-08 12:35:18 +00:00
|
|
|
|
* doc/syntax/changelog.nanorc: New file, first attempt at colouring
|
2014-03-30 21:04:58 +00:00
|
|
|
|
Changelog files.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* ChangeLog: Consistently use a colon after names of changed files.
|
2014-03-30 21:04:58 +00:00
|
|
|
|
|
2014-03-30 20:08:45 +00:00
|
|
|
|
2014-03-30 Mike Frysinger <vapier@gentoo.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* doc/Makefile.am, doc/man/Makefile.am, doc/man/fr/Makefile.am:
|
2014-03-30 20:08:45 +00:00
|
|
|
|
The build already provides a standard htmldir for installing html
|
|
|
|
|
files. Use that instead of creating our own.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/man/Makefile.am, doc/man/fr/Makefile.am: Use dist_ prefixes
|
2014-03-30 20:14:36 +00:00
|
|
|
|
and += appending supported by automake to produce simpler files.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/Makefile.am: Drop redundant localedir, as autoconf/automake
|
2014-03-30 20:19:33 +00:00
|
|
|
|
already creates this for us.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/rcfile.c, doc/nanorc.sample.in: Hard-listing all the wanted
|
2014-03-30 20:37:40 +00:00
|
|
|
|
syntax files is a PITA. Support globs in include paths, so people
|
|
|
|
|
can easily drop in new files and have it "just work".
|
2014-03-30 20:08:45 +00:00
|
|
|
|
|
2014-03-27 11:06:16 +00:00
|
|
|
|
2014-03-27 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (main): Fix compilation with --disable-utf8.
|
|
|
|
|
* src/global.c (shortcut_init): Place a help string among
|
2014-03-27 21:35:18 +00:00
|
|
|
|
its kin, adjust some indentation, group function pairs more
|
|
|
|
|
tightly, bundle restricted stuff, and delete an unused item.
|
2014-03-27 11:06:16 +00:00
|
|
|
|
|
2014-03-30 20:08:45 +00:00
|
|
|
|
2014-03-27 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* configure.ac: Make --disable-nanorc with --enable-color barf.
|
|
|
|
|
* configure.ac: Allow --disable-utf8 and --enable-utf8 to work.
|
2014-03-27 10:15:43 +00:00
|
|
|
|
|
2014-03-26 10:45:07 +00:00
|
|
|
|
2014-03-26 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* configure.ac: Word, tab, and comment tweaks.
|
|
|
|
|
* src/global.c: Some comment tweaks, and whitespace trimmings.
|
|
|
|
|
* src/global.c (print_sclist): Also print last shortcut in list.
|
|
|
|
|
* doc/texinfo/nano.texi: Explain how to select and paste with
|
2014-03-26 13:12:52 +00:00
|
|
|
|
the mouse when mouse support is enabled: by holding down Shift.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* nano.spec.in, doc/faq.html, doc/texinfo/nano.texi: Remove
|
2014-03-26 14:08:10 +00:00
|
|
|
|
vestiges of the obsolete '--enable-all' configure flag.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/rcfile.c: Fix compilation with --disable-color.
|
|
|
|
|
* src/rcfile.c: Allow (un)binding keys when colour is disabled.
|
|
|
|
|
* src/help.c: Fix compilation with --disable-browser.
|
|
|
|
|
* src/{proto.h,browser.c,help.c}: Remove a superfluous function.
|
2014-03-26 10:45:07 +00:00
|
|
|
|
|
2014-03-30 20:08:45 +00:00
|
|
|
|
2014-03-26 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* configure.ac: Clean up most of the --with/--enable flags:
|
2014-03-26 09:35:52 +00:00
|
|
|
|
- use AS_HELP_STRING instead of writing the text ourselves;
|
|
|
|
|
- use the normal enable_xxx var AC_ARG_ENABLE creates for us;
|
|
|
|
|
- delete duplicate checks in a few places (due to previous cleanup);
|
|
|
|
|
- unwrap some macros/var assignments;
|
|
|
|
|
- delete trailing whitespace;
|
|
|
|
|
- delete old --enable-all flag;
|
|
|
|
|
- fix quoting on a lot of vars that come from the user;
|
|
|
|
|
- use AC_MSG_* helpers instead of raw `echo`.
|
|
|
|
|
|
2014-03-24 12:31:25 +00:00
|
|
|
|
2014-03-24 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/{nano,move,winio}.c: Fix a few compiler warnings.
|
|
|
|
|
* src/{global,rcfile,winio}.c: Print menu numbers for debugging
|
2014-03-24 20:35:17 +00:00
|
|
|
|
in hex, and tweak a few of those debugging messages.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c: Harmonize comments, and trim some blank lines.
|
2014-03-24 12:31:25 +00:00
|
|
|
|
|
2014-03-26 09:41:52 +00:00
|
|
|
|
2014-03-24 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/gentoo.nanorc: Match more files, add a trailing
|
2014-03-26 09:41:52 +00:00
|
|
|
|
whitespace check, and EAPI=5 updates.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/javascript.nanorc: New file, based on C syntax.
|
|
|
|
|
* doc/syntax/{nanorc,python}.nanorc: Highlight trailing whitespace.
|
|
|
|
|
* configure.ac, m4/ax_check_compile_flag.m4: Start building with
|
2014-03-26 09:41:52 +00:00
|
|
|
|
warnings enabled, to help prevent issues from silently creeping in.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* configure.ac: Newer ncurses include pkg-config files which tell
|
2014-03-26 09:41:52 +00:00
|
|
|
|
us the right -I/-L paths we need, so default to that before trying
|
|
|
|
|
the legacy ways.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* configure.ac: Add a configure flag to disable the use of the
|
2014-03-26 09:41:52 +00:00
|
|
|
|
fattening libmagic.
|
|
|
|
|
|
2014-03-23 20:49:59 +00:00
|
|
|
|
2014-03-23 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/rcfile.c (parse_keybinding, parse_unbinding): Improve a
|
2014-03-23 20:49:59 +00:00
|
|
|
|
debugging message, fix a translator comment, and tweak others.
|
|
|
|
|
|
2014-03-22 19:46:09 +00:00
|
|
|
|
2014-03-22 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* THANKS: Add some missing translator names, and tweak others.
|
2014-03-22 19:46:09 +00:00
|
|
|
|
|
2014-03-21 12:47:34 +00:00
|
|
|
|
2014-03-21 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/chars.c (is_punct_mbchar, mbstrchr): Elide a variable,
|
2014-03-21 12:47:34 +00:00
|
|
|
|
thus making two ifs identical to six others.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Add the 'extendsyntax' directive,
|
2014-03-21 13:59:29 +00:00
|
|
|
|
and change two colours to be legible on a light background.
|
2014-03-21 12:47:34 +00:00
|
|
|
|
|
2014-03-19 09:34:37 +00:00
|
|
|
|
2014-03-19 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/nanorc.sample.in: Document the changed whitespace defaults.
|
|
|
|
|
* src/global.c, doc/man/nanorc.5: Allow softwrap to be rebound.
|
|
|
|
|
* doc/nanorc.sample.in: Sort the includes alphabetically, and
|
2014-03-19 09:46:55 +00:00
|
|
|
|
add the ones for Lua, Magicpoint, and Spec files.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/nanorc.sample.in: Add "poslog", plus tiny textual tweaks.
|
|
|
|
|
* src/global.c, doc/man/nanorc.5: Group softwrap with the toggles
|
2014-03-19 21:09:08 +00:00
|
|
|
|
that affect how things look -- it does not belong in the group of
|
|
|
|
|
general program functions, nor in the group of editing behaviour.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/man/nanorc.5: Add the descriptions of six missing bindable
|
2014-03-19 21:30:08 +00:00
|
|
|
|
functions, and tweak those of a few others.
|
2014-03-19 09:23:55 +00:00
|
|
|
|
|
2014-03-18 22:04:41 +00:00
|
|
|
|
2014-03-18 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (shortcut_init): In the file browser one cannot
|
2014-03-18 22:04:41 +00:00
|
|
|
|
search for a regular expression, so do not mention it.
|
|
|
|
|
|
2014-03-17 11:47:49 +00:00
|
|
|
|
2014-03-17 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (shortcut_init): Show ^F and ^B instead of kright
|
2014-03-17 11:47:49 +00:00
|
|
|
|
and kleft in the help lines of the tiny version.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (shortcut_init): Remove some inconsistent spaces
|
2014-03-17 12:15:23 +00:00
|
|
|
|
and newlines, condense three statements into one, place an #endif
|
|
|
|
|
better, melt two #ifndefs into one, and add a comment.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/winio.c (edit_scroll): Remove the old softwrap scrolling code.
|
2014-03-17 14:15:57 +00:00
|
|
|
|
* src/{nano.h,proto.h,color.c,cut.c,files.c,global.c,help.c,nano.c,
|
2014-03-30 21:23:40 +00:00
|
|
|
|
search.c,text.c,utils.c}: Add, fix, and remove some #endif comments,
|
2014-03-17 14:15:57 +00:00
|
|
|
|
remove an obsolete comment, and remove some superfluous #ifndefs.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (shortcut_init): Put ^B and ^F in the same order as
|
2014-03-17 21:26:53 +00:00
|
|
|
|
all other command keys: first the backward then the forward motion.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/{nano.h,*.c}: Remove stray spaces before tabs.
|
2014-03-17 11:47:49 +00:00
|
|
|
|
|
2014-03-16 16:58:18 +00:00
|
|
|
|
2014-03-16 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.h: Display more help items when the terminal is wider.
|
2014-03-16 16:58:18 +00:00
|
|
|
|
|
2014-03-16 13:19:41 +00:00
|
|
|
|
2014-03-14 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (main): When in a UTF-8 locale, use prettier characters
|
2014-03-16 13:19:41 +00:00
|
|
|
|
(»·) for indicating whitespace, and for similarity use ">." instead of
|
|
|
|
|
":." when not in a UTF-8 locale. Changes suggested by Mike Frysinger.
|
|
|
|
|
|
2014-03-05 09:47:35 +00:00
|
|
|
|
2014-03-05 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/move.c (do_down): Initialize the correct variable to zero.
|
2014-03-17 14:29:25 +00:00
|
|
|
|
Solves jumpy scrolling behaviour reported by Chris Allegretta.
|
2014-03-05 09:47:35 +00:00
|
|
|
|
|
2014-03-05 04:30:07 +00:00
|
|
|
|
2014-03-04 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c (first_sc_for): Return raw keystrokes last, so
|
2014-03-17 14:29:25 +00:00
|
|
|
|
they will not be displayed if there are F-keys or Meta keys
|
2014-03-05 04:30:07 +00:00
|
|
|
|
mapped for an item in the shortcut list.
|
|
|
|
|
|
2014-03-04 10:01:27 +00:00
|
|
|
|
2014-03-04 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Add keyword 'quiet', sort 'locking',
|
2014-03-04 10:01:27 +00:00
|
|
|
|
and concatenate the two separate strings into one.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (main), doc/nanorc.sample.in: Make the M-P toggle
|
2014-03-04 10:18:54 +00:00
|
|
|
|
actually do something by default, by using visible characters.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (shortcut_init): Normalize the writing of three
|
2014-03-04 10:30:15 +00:00
|
|
|
|
help-line items: "Write Out", "Uncut Text", and "Unjustify", to
|
|
|
|
|
better stress the O and U -- the big C and J were distracting.
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* doc/{syntax/nanorc.nanorc,man/nanorc.5,texinfo/nano.texi}:
|
2014-03-04 11:07:43 +00:00
|
|
|
|
Remove erroneous 'suspendenable' -- it is not a settable option
|
|
|
|
|
but a bindable function.
|
2014-03-04 10:01:27 +00:00
|
|
|
|
|
2014-03-17 14:29:25 +00:00
|
|
|
|
2014-03-03 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c (shortcut_init): Don't actually free the shortcut
|
2014-03-17 14:29:25 +00:00
|
|
|
|
list, since the next pass via justifying will then remove all
|
|
|
|
|
custom shortcuts. Fixes bug discovered by Benno Schulenberg.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* text.c (do_linter): Remove some unused variables to quiet
|
2014-05-14 12:13:51 +00:00
|
|
|
|
-pedantic -Wall.
|
2014-03-04 03:55:43 +00:00
|
|
|
|
|
2014-03-03 08:53:38 +00:00
|
|
|
|
2014-03-03 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (add_to_funcs): Add a newline, for clarity.
|
|
|
|
|
* src/global.c (shortcut_init): Mark, don't translate yet.
|
|
|
|
|
* src/move.c (do_down): Correctly compute the minimum amount
|
2014-03-03 10:02:13 +00:00
|
|
|
|
to scroll when softwrap is on and there are overlong lines.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/winio.c (edit_scroll): Disable amount computation here.
|
|
|
|
|
* src/move.c (do_down): Trim some redundant code, and correct
|
2014-03-03 13:24:09 +00:00
|
|
|
|
the scrolling behaviour when softwrap is off -- the construct
|
|
|
|
|
(amount ? amount : 1) wasn't doing what I intended.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/man/nano{.1,rc.5}: Slightly improve formatting and wording.
|
|
|
|
|
* doc/{texinfo/nano.texi,man/nanorc.5}: Add some missing options
|
2014-03-03 18:49:52 +00:00
|
|
|
|
to the texinfo documentation, and improve alphabetization a bit.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (usage): Don't mention --softwrap in tiny version.
|
2014-03-03 08:53:38 +00:00
|
|
|
|
|
2014-03-02 05:27:56 +00:00
|
|
|
|
2014-03-01 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c (shortcut_init): Fix an issue with the split
|
2014-03-17 14:29:25 +00:00
|
|
|
|
do_research() setup when using --enable-tiny.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* rcfile.c (parse_linter): Allow linter to be unset using "".
|
|
|
|
|
* rcfile.c: Allow syntaxes to be extended via "extendsyntax"
|
2014-03-02 05:27:56 +00:00
|
|
|
|
directive. Color, header, magic and linter should all be
|
|
|
|
|
able to be extended. Man page updates for nanorc(5).
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/nanorc.sample.in: Document 'set quiet'.
|
2014-03-02 05:27:56 +00:00
|
|
|
|
|
2014-03-01 10:20:57 +00:00
|
|
|
|
2014-03-01 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/color.c (color_update): Do not write to stderr on magic
|
2014-03-01 10:20:57 +00:00
|
|
|
|
errors. If the magic db has errors such that magic_load() fails,
|
|
|
|
|
the current code dumps to stderr which messes up the terminal.
|
|
|
|
|
The error message is also vague to the point where it's confusing
|
|
|
|
|
-- I thought nano had problems writing to the file I was editing.
|
|
|
|
|
Instead, use statusbar() and clarify the messages.
|
|
|
|
|
(Patch tweaked by Benno.)
|
|
|
|
|
|
2014-02-28 11:49:12 +00:00
|
|
|
|
2014-02-28 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/text.c (execute_command): Equalize pipe error messages.
|
|
|
|
|
* src/global.c (thanks_for_all_the_fish): Remove a redundant
|
2014-02-28 11:52:52 +00:00
|
|
|
|
'#ifdef DEBUG', it is contained within a wider one.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (strtosc): Correct a misspelled keyword.
|
|
|
|
|
* src/rcfile.c (check_vitals_mapped): Actually translate a
|
2014-02-28 19:47:48 +00:00
|
|
|
|
helpful message, and reword it somewhat for clarity.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c: Remove unused function 'free_shortcutage'.
|
|
|
|
|
* src/global.c (strtosc): Indent conditions consistently.
|
2014-02-28 11:49:12 +00:00
|
|
|
|
|
2014-02-28 11:24:12 +00:00
|
|
|
|
2014-02-28 Eitan Adler <lists@eitanadler.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (do_toggle): Constify a char pointer, to fix
|
2014-02-28 11:24:12 +00:00
|
|
|
|
a warning when compiling with clang (and -Wall).
|
|
|
|
|
|
2014-02-27 19:57:52 +00:00
|
|
|
|
2014-02-27 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/man/nanorc.5: Relocate the misplaced unbind section,
|
2014-02-27 19:57:52 +00:00
|
|
|
|
and improve formatting. (Patch tweaked by Benno.)
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/nanorc.nanorc: Add the bind/unbind commands,
|
2014-02-27 20:19:31 +00:00
|
|
|
|
so they will look supported when using syntax highlighting.
|
2014-02-27 19:57:52 +00:00
|
|
|
|
|
2014-02-27 08:48:54 +00:00
|
|
|
|
2014-02-27 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/help.c (parse_help_input): Make 'Space' again an alias
|
2014-02-27 08:48:54 +00:00
|
|
|
|
for PageDown and 'Minus' for PageUp -- they were mistakenly
|
|
|
|
|
swapped during code conversion in revision 4223.
|
|
|
|
|
|
2014-02-26 21:33:47 +00:00
|
|
|
|
2014-02-26 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/sh.nanorc: Highlight more shell builtins and
|
2014-02-26 21:33:47 +00:00
|
|
|
|
common commands, and rewrite the variable highlighting to be
|
|
|
|
|
more exact and handle cases where string operations are used.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/gentoo.nanorc: Update to newer EAPIs, and fold
|
2014-02-26 21:38:44 +00:00
|
|
|
|
in updated shell changes too. Much of this is based on work
|
|
|
|
|
by Davide Pesavento <pesa@gentoo.org>.
|
2014-02-26 21:42:53 +00:00
|
|
|
|
* doc/syntax/makefile.nanorc: Highlight trailing whitespace.
|
2014-02-26 21:33:47 +00:00
|
|
|
|
|
2014-02-26 20:37:40 +00:00
|
|
|
|
2014-02-26 Benno Schulenberg <bensberg@justemail.net>
|
2014-07-07 18:46:47 +00:00
|
|
|
|
* src/global.c (shortcut_init): Put PageUp and PageDown
|
2014-02-26 20:37:40 +00:00
|
|
|
|
and also WhereIs and WhereIsNext together in the help lines
|
|
|
|
|
of the file browser, and WriteOut and Readfile in the help
|
|
|
|
|
lines of the main window -- related stuff in one column.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/man.nanorc: Better colouring of manpage files.
|
2014-02-26 20:37:40 +00:00
|
|
|
|
|
2014-02-26 12:35:10 +00:00
|
|
|
|
2014-02-26 Konstantin Abakumov <abakumov@Savannah> (tiny change)
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/python.nanorc: Slightly improve the regexes for
|
2014-02-26 12:35:10 +00:00
|
|
|
|
multiline strings in Python, reducing spillage.
|
|
|
|
|
|
2014-02-26 11:38:30 +00:00
|
|
|
|
2014-02-26 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/move.c (do_down), src/winio.c (edit_scroll): Scroll an
|
2014-02-26 11:38:30 +00:00
|
|
|
|
extra amount when softwrap is on and the current line would
|
|
|
|
|
otherwise run off the screen, and recalculate maxrows after
|
|
|
|
|
each scroll. Solves bug #27550 reported by Hannes Schueller.
|
|
|
|
|
|
2014-02-25 20:53:50 +00:00
|
|
|
|
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* NEWS: Fix some typos and wordings, and rewrap a few lines.
|
|
|
|
|
* src/global.c: Correcting some translator comments, removal
|
2014-02-25 21:27:22 +00:00
|
|
|
|
of a few superfluous blank lines, and some pedantic comment
|
|
|
|
|
tweaks (mainly adding missing periods and stars).
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c: Ordering "Prev Word" and "Next Word" better.
|
|
|
|
|
* src/global.c: Make ^G not only call help but also exit from
|
2014-02-25 21:45:55 +00:00
|
|
|
|
it, and make ^C also exit from help and from the file browser.
|
|
|
|
|
Also remove two redundant shortcut definitions.
|
2014-02-25 20:53:50 +00:00
|
|
|
|
|
2014-02-25 19:08:12 +00:00
|
|
|
|
2014-02-25 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/Makefile.am: Rename 'INCLUDES' to 'AM_CPPFLAGS', since
|
2014-02-25 19:08:12 +00:00
|
|
|
|
Automake changed the naming of these a while ago, and at least
|
|
|
|
|
version 1.13 now starts warning about it.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* .gitignore: Ignore generated files (and bak files).
|
2014-02-25 19:08:12 +00:00
|
|
|
|
|
2014-02-25 17:12:58 +00:00
|
|
|
|
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/files.c (write_lockfile, do_lockfile): Fix a typo reported
|
2014-02-25 17:12:58 +00:00
|
|
|
|
by Jean-Philippe Guérard and inconsistent spelling of "lock file"
|
|
|
|
|
reported by myself on nano-devel in March 2013.
|
|
|
|
|
|
2014-02-25 11:10:24 +00:00
|
|
|
|
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/help.c (do_help_void): Call the help browser with the correct
|
2014-02-25 11:10:24 +00:00
|
|
|
|
refresher for afterwards. This solves a bug reported by myself on
|
|
|
|
|
nano-devel in August 2010: after typing ^R ^T ^W ^G ^X, the file
|
|
|
|
|
being edited would get displayed instead of the list of files.
|
|
|
|
|
|
2014-02-24 10:18:15 +00:00
|
|
|
|
2014-02-24 Chris Allegretta <chrisa@asty.org>
|
2014-03-17 14:29:25 +00:00
|
|
|
|
* New linter functionality, rcfile option "linter".
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (shortcut_init): Actually free the sclist
|
2014-02-24 10:18:15 +00:00
|
|
|
|
if it was allocated before.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/winio.c (do_credits): Add Benno, my children,
|
2014-03-17 14:29:25 +00:00
|
|
|
|
update copyright info.
|
2014-02-24 10:18:15 +00:00
|
|
|
|
|
2014-02-23 16:07:44 +00:00
|
|
|
|
2014-02-23 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/*.nanorc: Comment and punctuation tweaks.
|
|
|
|
|
* doc/syntax/sh.nanorc: Colour $VAR within a "" string
|
2014-02-23 16:15:38 +00:00
|
|
|
|
but not within a '' string, and do not colour strings
|
|
|
|
|
within comments. Fixes bug #29943.
|
2014-02-23 16:07:44 +00:00
|
|
|
|
|
2014-02-23 10:12:50 +00:00
|
|
|
|
2014-02-23 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/text.c (do_undo, do_redo, add_undo): Make warning
|
2014-02-23 10:12:50 +00:00
|
|
|
|
sentences in the status bar consistently end in a period.
|
|
|
|
|
|
2014-02-22 20:44:43 +00:00
|
|
|
|
2014-02-22 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/files.c (write_file): Add a missing malloc.
|
2014-02-22 20:44:43 +00:00
|
|
|
|
Reported by an anonymous cross compiler, bug #30671.
|
|
|
|
|
|
2014-02-22 19:36:35 +00:00
|
|
|
|
2014-02-22 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/winio.c (get_mouseinput): Correct an oversight,
|
2014-02-22 19:36:35 +00:00
|
|
|
|
use the proper 'do_up_void' and 'do_down_void' names.
|
|
|
|
|
Reported by Zhou Z.J. <zzj666@Savannah>, bug #38268.
|
|
|
|
|
|
2014-02-22 18:57:24 +00:00
|
|
|
|
2014-02-22 Lauri Kasanen <laxy@Savannah> (tiny change)
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/html.nanorc: Also recognize htm as extension,
|
2014-02-22 18:57:24 +00:00
|
|
|
|
use cyan for tags (more visible on dark background), correct
|
|
|
|
|
the expression for ampersand codes, and colour strings too.
|
|
|
|
|
|
2014-02-22 16:57:23 +00:00
|
|
|
|
2014-02-22 Dennis Jenkins <dennisjenkins@Savannah> (tiny change)
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/c.nanorc: Also recognize c++ as extension.
|
2014-02-22 16:57:23 +00:00
|
|
|
|
|
2014-02-22 16:46:27 +00:00
|
|
|
|
2014-02-22 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (move_to_filestruct): Update the data in 'mark_begin'
|
2014-02-22 16:46:27 +00:00
|
|
|
|
when mark and cursor are on the same line. This avoids a segfault
|
|
|
|
|
after M-A, right, M-T, left, ^K, or a hang when the left is left out.
|
|
|
|
|
|
2014-02-22 16:26:30 +00:00
|
|
|
|
2014-02-22 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (main): Add two conditions on ENABLE_NANORC.
|
|
|
|
|
* src/files.c (close_buffer, do_insertfile): Likewise.
|
2014-02-22 16:26:30 +00:00
|
|
|
|
This avoids compilation failure when nano is configured
|
|
|
|
|
with both --disable-color and --disable-nanorc.
|
|
|
|
|
|
2014-02-22 13:54:20 +00:00
|
|
|
|
2014-02-22 Felipe Bugno <capent@Savannah> (tiny change)
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/nanorc.sample.in: Add an include for CMake files.
|
2014-02-22 13:54:20 +00:00
|
|
|
|
|
2014-02-22 10:28:58 +00:00
|
|
|
|
2014-02-22 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (allow_pending_sigwinch): A (char *) cast for pedantic purposes.
|
|
|
|
|
* src/cut.c (do_cut_text): Wrap a reference to 'copy_text' in NANO_TINY.
|
2014-02-22 10:28:58 +00:00
|
|
|
|
|
2014-02-22 10:56:52 +00:00
|
|
|
|
2014-02-22 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* ChangeLog, NEWS, doc/faq.html: Fix typos, wording, and spacing.
|
2014-02-22 10:28:58 +00:00
|
|
|
|
|
2014-02-23 11:08:04 +00:00
|
|
|
|
2014-01-25 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/winio.c (set_modified): Check for a filename before trying to lock.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
|
|
|
|
|
2014-01-24 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/nano.c (copy_from_filestruct): Check explicitly for mark being set when
|
2014-01-26 22:47:08 +00:00
|
|
|
|
trying to partition, as we shouldn't be messing with the x address, etc.
|
|
|
|
|
|
2014-01-03 02:11:04 +00:00
|
|
|
|
2014-01-01 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/texinfo/nano.texi: Change '@sp4' since makeinfo 5.1 hates the
|
2014-02-23 11:08:04 +00:00
|
|
|
|
lack of spacing. Fixes bug #40103 reported by flapane@Savannah.
|
2014-01-03 02:11:04 +00:00
|
|
|
|
Also change SVN status to non-binary so diffs work.
|
|
|
|
|
|
2014-01-01 22:21:38 +00:00
|
|
|
|
2014-01-01 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (strtokeytype): Check for lower-case 'f' for defining F-key
|
2014-02-23 11:08:04 +00:00
|
|
|
|
sequences for consistency (previously was two checks for upper case 'F').
|
|
|
|
|
Fixes bug #40815 reported by David Binderman <dcb314@Savannah>.
|
2014-01-01 22:21:38 +00:00
|
|
|
|
|
2013-06-14 02:48:59 +00:00
|
|
|
|
2013-06-13 Matthew Fischer <mfisch@Savannah>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/c.nanorc: Add the 'auto' keyword.
|
2013-06-14 02:48:59 +00:00
|
|
|
|
|
2013-06-14 02:44:54 +00:00
|
|
|
|
2013-06-13 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c (first_sc_for): Try to more consistently display keystrokes,
|
2013-06-14 02:44:54 +00:00
|
|
|
|
useful when the user has re-binded a bunch of them.
|
|
|
|
|
|
2013-06-14 02:31:38 +00:00
|
|
|
|
2013-06-13 Kamil Dudka <kdudka@redhat.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/man/nano.1: Actually document the -P (--poslog) option.
|
2013-06-14 02:31:38 +00:00
|
|
|
|
|
2013-04-12 06:43:06 +00:00
|
|
|
|
2013-04-12 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* src/files.c (do_insertfile): Check for saved cursor position when inserting a
|
2014-02-23 11:08:04 +00:00
|
|
|
|
file as well. Fixes Savannah bug #38600 reported by Craig Barnes.
|
2013-04-13 02:56:03 +00:00
|
|
|
|
* src/files.c (write_file): Don't re-stat() the file if we're writing out
|
2014-02-23 11:08:04 +00:00
|
|
|
|
a marked portion (especially because it would give the wrong stat info).
|
|
|
|
|
Part two of issue reported by Benno Schulenberg.
|
2013-04-12 06:43:06 +00:00
|
|
|
|
|
2013-04-08 03:19:21 +00:00
|
|
|
|
2013-04-07 Michael Berg <mike@berg-net.us>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* do_cut_text: Fix copying (not cutting) text setting Modified state.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
Partly fixes an issue reported by Benno Schulenberg.
|
2013-04-08 03:19:21 +00:00
|
|
|
|
|
2014-02-22 10:28:58 +00:00
|
|
|
|
GNU nano 2.3.2 - 2013.03.23
|
2013-03-17 22:09:38 +00:00
|
|
|
|
2013-03-17 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* Revert r4547 as we should have a new release and the overlap code is not yet
|
|
|
|
|
ready for public consumption.
|
2013-03-17 22:09:38 +00:00
|
|
|
|
|
2013-01-20 07:51:34 +00:00
|
|
|
|
2013-01-20 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* src/text.c (do_histify): Don't allow sigwinch to be received while justifying
|
2014-02-22 10:28:58 +00:00
|
|
|
|
as that puts us into a wacky state. Fixes crash on justify by Joshua Rogers.
|
2013-01-20 17:57:04 +00:00
|
|
|
|
* configure.ac: Added --with-wordbounds option to let cross compilers force
|
2014-02-23 11:08:04 +00:00
|
|
|
|
whether their target system support GNU-style word boundaries or not.
|
2013-01-20 17:57:04 +00:00
|
|
|
|
Originally reported by dave festing.
|
2013-01-21 03:40:08 +00:00
|
|
|
|
* doc/man/nanorc.5: Fix typo in softwrap description, reported by
|
|
|
|
|
cbart387@Savannah.
|
2013-01-20 07:51:34 +00:00
|
|
|
|
|
2013-01-19 07:18:29 +00:00
|
|
|
|
2013-01-19 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* configure.ac: Make ncurses checking to set $LIBS and check the ncursesw lib
|
|
|
|
|
actually works before defaulting to it over ncurses! Shock!
|
2013-01-19 07:18:29 +00:00
|
|
|
|
|
2013-01-13 08:37:54 +00:00
|
|
|
|
2013-01-13 Chris Allegretta <chrisa@asty.org>
|
2014-02-22 10:28:58 +00:00
|
|
|
|
* src/utils.c (parse_num): Initialize errno before calling strtol(). Fixes issue
|
2013-06-14 02:29:15 +00:00
|
|
|
|
where trying to go to a line number too long will break legitimate goto-lines
|
|
|
|
|
for the remainder of the editing session, reported by Joshua Rogers.
|
2013-01-13 08:37:54 +00:00
|
|
|
|
|
|
|
|
|
2013-01-09 Mike Frysinger <vapier@gentoo.org>
|
2014-02-27 20:54:26 +00:00
|
|
|
|
* configure.ac: Check for ncursesw5-config and base $CPPFLAGS on it.
|
2013-01-10 03:51:24 +00:00
|
|
|
|
|
2013-01-10 03:29:59 +00:00
|
|
|
|
2013-01-09 Fabian Groffen <grobian@Savannah>
|
2014-02-27 20:54:26 +00:00
|
|
|
|
* configure.ac, src/nano.h: Make the search for ncursesw more generalized.
|
2013-01-10 03:29:59 +00:00
|
|
|
|
|
2013-01-03 05:17:36 +00:00
|
|
|
|
2013-01-02 David Benjamin <davidben@Savannah>
|
2014-02-27 20:54:26 +00:00
|
|
|
|
* src/search.c (parse_syntax): Fix blatantly and dangerously incorrect code
|
|
|
|
|
for deleting old syntaxes.
|
2013-01-03 05:17:36 +00:00
|
|
|
|
|
2013-01-03 04:50:49 +00:00
|
|
|
|
2013-01-02 Mike Frysinger <vapier@gentoo.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* src/files.c (cwd_tab_completion): Remove unnecessary variables.
|
|
|
|
|
* src/search.c (search_init): Fix gcc complaints on certain versions.
|
2013-01-03 04:50:49 +00:00
|
|
|
|
|
2013-01-03 03:47:26 +00:00
|
|
|
|
2013-01-02 Eitan Adler <lists@eitanadler.com>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* configure.ac: Remove unnecessary checks.
|
|
|
|
|
* src/nano.h, NEWS: Fix redundant wording.
|
2013-01-03 03:47:26 +00:00
|
|
|
|
|
2013-01-01 03:24:39 +00:00
|
|
|
|
2012-12-31 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* src/*: Introduce (basic) vim-style file locks. Does not allow vim to recover
|
2014-02-23 11:08:04 +00:00
|
|
|
|
our changes, and just lets a vim user know we're editing a file. Command-line
|
|
|
|
|
option "-G" or "--locking", nanorc option "locking". New functions in
|
|
|
|
|
src/files.c: do_lockfile(), write_lockfile(), and delete_lockfile().
|
2013-01-01 03:24:39 +00:00
|
|
|
|
|
2012-02-06 01:10:45 +00:00
|
|
|
|
2012-02-05 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* src/*: Fix overlapping strings highlighting each other. New variables in edit_draw
|
|
|
|
|
(slmatcharray, pbegin, paintok), new logic (with repeated setting of values in the
|
|
|
|
|
array but it's BFI after all). FIXME: Need to create a new 'overlap'.
|
|
|
|
|
* src/*: Fix a silly issue with the argument to nregcomp, as it's confusing to the caller.
|
|
|
|
|
* src/nano.h: Change the color types to a compiler macro (COLORWIDTH), may not actually
|
|
|
|
|
even be worth doing, but someday who knows how wide a color curses implementation might
|
2012-02-06 01:10:45 +00:00
|
|
|
|
be, and maybe we'll even start checking for it in autoconf!
|
|
|
|
|
|
2011-05-11 04:54:39 +00:00
|
|
|
|
GNU nano 2.3.1 - 2011.05.10
|
2011-05-10 05:43:08 +00:00
|
|
|
|
2011-05-10 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* text.c (do_enter): Only increment totsize by the auto-indented amount, since the previous
|
|
|
|
|
line's size was already counted. Fixes bug reported by Robert Spanjaard.
|
2011-05-10 05:43:08 +00:00
|
|
|
|
|
2011-05-08 04:23:24 +00:00
|
|
|
|
2011-05-08 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* doc/syntax/Makefile.am: Finally get around to sorting the syntax file list.
|
2011-05-08 04:23:24 +00:00
|
|
|
|
|
|
|
|
|
2011-05-08 Matthew Wild <mattj100@Savannah>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* doc/syntax/spec.nanorc: New lua syntax highlighting config.
|
2011-05-08 04:23:24 +00:00
|
|
|
|
|
2011-03-29 04:10:11 +00:00
|
|
|
|
2011-03-28 Asterios Dramis <asterios.dramis@gmail.com>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* doc/syntax/spec.nanorc: New RPM spec file highlighting config.
|
2011-03-29 04:10:11 +00:00
|
|
|
|
|
2011-03-13 06:05:19 +00:00
|
|
|
|
2011-03-12 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* po/*: Sync latest translation fixes, add an update_linguas.sh script. Rename
|
|
|
|
|
existing update.pl to update_sources.pl to make it more specific.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
|
2011-03-05 05:01:13 +00:00
|
|
|
|
2011-03-04 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* color.c (color_update): Add check for whether the file even exists
|
|
|
|
|
before we try to run the magic check on it. Fixes error messages to stderr
|
|
|
|
|
when reading in files that don't exist, reported by Mike Frysinger.
|
|
|
|
|
|
2011-03-03 16:23:27 +00:00
|
|
|
|
2011-03-03 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* color.c (color_update): Remove unneeded debugging message from libmagic commit.
|
|
|
|
|
Fixed extra messages going to stderr, reported by Mike Frysinger.
|
2011-03-03 16:23:27 +00:00
|
|
|
|
|
|
|
|
|
GNU nano 2.3.0 - 2011.02.26
|
2011-02-26 14:22:37 +00:00
|
|
|
|
2011-02-26 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* Change RAW in function_type enum to RAWINPUT, to fix compilation on AIX,
|
2014-02-22 10:28:58 +00:00
|
|
|
|
reported by Richard G Daniel <skunk@iskunk.org>.
|
2011-02-26 14:22:37 +00:00
|
|
|
|
|
2011-02-24 02:47:25 +00:00
|
|
|
|
2011-02-23 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* Fix some more severe warnings from 'g++ -pedantic', from patch originally
|
|
|
|
|
by Eitan Adler <lists@eitanadler.com>.
|
2011-02-24 02:47:25 +00:00
|
|
|
|
|
2011-02-24 02:14:30 +00:00
|
|
|
|
2011-02-23 Kamil Dudka <kdudka@redhat.com>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* doc/man/nanorc.5: Fix small typo.
|
2011-02-24 02:14:30 +00:00
|
|
|
|
|
2011-02-23 03:09:23 +00:00
|
|
|
|
2011-02-22 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* color.c (nfreeregex): Fix that we were trying to set the pointer passed by value
|
2014-02-23 11:08:04 +00:00
|
|
|
|
to NULL. Fixes crashes on file save reported by Ken Tyler and Matthieu Lejeune.
|
2011-02-23 03:09:23 +00:00
|
|
|
|
|
2011-02-18 07:30:57 +00:00
|
|
|
|
2011-02-18 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* New saved cursor position history option. Command line option -P or --poslog, rc file
|
|
|
|
|
entry "poslog". Search history changes to ~/.nano/search_history, cursor position log
|
2014-02-23 11:08:04 +00:00
|
|
|
|
is ~/.nano/filepos_history. Added checks to move the legacy .nano_history file to the
|
|
|
|
|
new location. Several new functions to files.c: load_poshistory(), save_poshistory(),
|
2011-02-18 07:30:57 +00:00
|
|
|
|
check_poshistory(), update_poshistory(), and reworking of histfilename(). New FAQ entry
|
|
|
|
|
4.15 discussing the change and offering an interoperability workaround.
|
2011-02-18 07:49:28 +00:00
|
|
|
|
* files.c (load_history): Set last_search to the last search value we loaded from history,
|
2014-02-22 10:28:58 +00:00
|
|
|
|
so do_research will succeed without needing to manually load the last search in. Fixes
|
2011-02-23 03:09:23 +00:00
|
|
|
|
bug reported by Matthieu Lejeune.
|
2011-02-18 07:30:57 +00:00
|
|
|
|
|
2011-02-13 04:23:10 +00:00
|
|
|
|
2011-02-12 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Initial libmagic implementation, adapted from Eitan Adler <eitanadlerlist@gmail.com>.
|
|
|
|
|
New nanorc entry "magic" to enable this functionality, nanorc file and man page updates.
|
|
|
|
|
|
2011-02-07 02:06:20 +00:00
|
|
|
|
2011-02-06 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* src/*: Retire iso_me_harder_funcmap based on suggestion by <bernd.spaeth@gmx.net>
|
2011-02-07 14:45:56 +00:00
|
|
|
|
This does add 20KB to nano's executable size but it gets rid of a lot of indirection
|
|
|
|
|
that makes people stomach turn. There are several new stub functions and need of more
|
|
|
|
|
tidying as a result of this.
|
|
|
|
|
* files.c (write_file): Fix problems with writing the backup file (albeit interactively)
|
2011-02-07 02:06:20 +00:00
|
|
|
|
with new function prompt_failed_backupwrite(), allows more secure handling of problems
|
|
|
|
|
with failing to write the backup file compared to 'allow_insecure_backup'.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* winio.c (edit_redraw): Removed unused variable.
|
2011-02-07 02:06:20 +00:00
|
|
|
|
|
2014-07-07 18:46:47 +00:00
|
|
|
|
GNU nano 2.2.6 - 2010.11.22
|
2010-11-15 06:59:09 +00:00
|
|
|
|
2010-11-15 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Add a section to the FAQ about using nanorc on Win32 systems.
|
|
|
|
|
|
2010-11-12 06:22:12 +00:00
|
|
|
|
2010-11-12 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* Add check for RESTRICTED mode back to speller, suspend and insert file routines,
|
|
|
|
|
since adding key bindings broke the fact that they should be disabled in restricted\
|
|
|
|
|
mode. Fixes Savannah bug #31625 reported by Charlie Somerville.
|
2010-11-12 06:22:12 +00:00
|
|
|
|
|
2010-08-06 01:20:51 +00:00
|
|
|
|
GNU nano 2.2.5 - 2010.08.05
|
2010-08-04 13:47:23 +00:00
|
|
|
|
2010-08-04 Lauri Kasanen <curaga@operamail.comcuraga@operamail.com>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* doc/syntax/mgp.nanorc: New Magicpoint syntax highlighting definition.
|
2010-08-04 13:47:23 +00:00
|
|
|
|
|
2010-08-04 13:37:48 +00:00
|
|
|
|
2010-08-04 Peter <exodus@savannah>
|
|
|
|
|
* doc/syntax/tex.nanorc: No longer highlight escaped comments
|
|
|
|
|
|
2010-06-21 03:10:10 +00:00
|
|
|
|
2010-06-20 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* New rc file option allow_insecure_backup, allows the previous security
|
|
|
|
|
fixes for backup files to be overridden if you're really positive
|
2014-02-23 11:08:04 +00:00
|
|
|
|
you want to. Fixes Savannah bug #29732 by Brian Szymanski <skibrianski>.
|
2010-06-21 03:10:10 +00:00
|
|
|
|
|
2010-05-23 04:30:23 +00:00
|
|
|
|
2010-05-23 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* files.c (write_file): Don't even try to chown() the backup
|
|
|
|
|
file unless we're root, since it's probably going to fail if
|
|
|
|
|
we're editing a file we don't own. Fixes Savannah bug
|
2014-02-23 11:08:04 +00:00
|
|
|
|
#29514: [nano 2.2.2] backup should ignore chown errors.
|
2010-05-23 04:30:23 +00:00
|
|
|
|
|
2010-04-15 07:40:41 +00:00
|
|
|
|
GNU nano 2.2.4 - 2010.04.15
|
2010-04-14 21:55:39 +00:00
|
|
|
|
2010-04-07 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* doc/man/nano.1,nanorc.5: Remove the backup file warnings now
|
2013-06-14 02:29:15 +00:00
|
|
|
|
that a sufficient security fix exists for the backup file code.
|
2010-04-14 21:55:39 +00:00
|
|
|
|
|
2010-04-14 06:03:12 +00:00
|
|
|
|
2010-04-14 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* text.c (do_alt_speller): Skip invoking the alt speller if the file size
|
|
|
|
|
is 0 bytes. Fixes Savannah bug #29393 reported by Mike Frysinger.
|
2014-02-22 10:28:58 +00:00
|
|
|
|
* files.c (write_file): Don't set current_stat when tmp == TRUE, check
|
2010-04-14 06:03:12 +00:00
|
|
|
|
whether current_stat is set when trying to use it, and don't do the
|
|
|
|
|
modification check if the filename changed, since we have no way
|
2014-02-23 11:08:04 +00:00
|
|
|
|
of knowing about it in that case. Fixes Savannah bug #29392, reported
|
2010-04-14 21:53:59 +00:00
|
|
|
|
by Mike Frysinger. [CVE-2010-1160]
|
2010-04-14 03:14:40 +00:00
|
|
|
|
|
2010-04-14 02:38:56 +00:00
|
|
|
|
2010-04-13 Felipe Bugno <necron@bol.com.br>
|
|
|
|
|
* doc/syntax/cmake.nanorc: Added cmake syntax highlighting file.
|
|
|
|
|
|
2010-04-09 15:01:51 +00:00
|
|
|
|
2010-04-09 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* files.c (do_writeout): Better security fixes for backup file writing,
|
|
|
|
|
mangled from submission by Dan Rosenberg <dan.j.rosenberg at gmail>.
|
2013-06-14 02:29:15 +00:00
|
|
|
|
[CVE-2010-1161]
|
2010-04-09 15:01:51 +00:00
|
|
|
|
|
|
|
|
|
2010-04-08 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* files.c (do_writeout): Previous fixes should not cause a crash
|
2010-04-08 02:22:53 +00:00
|
|
|
|
when saving a new file. Discovered by Mike Frysinger <vapier@gentoo.org>.
|
|
|
|
|
|
2010-04-07 06:20:55 +00:00
|
|
|
|
2010-04-07 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* doc/man/nano.1,nanorc.5: Add warnings about using backup
|
|
|
|
|
mode as root due to the Dan Rosenberg security analysis.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
|
2010-04-03 02:39:18 +00:00
|
|
|
|
2010-04-02 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* files.c (do_writeout): Expand modification check to include both the
|
2014-02-23 11:08:04 +00:00
|
|
|
|
original file's device ID and inode number as reasons to warn the
|
2013-06-14 02:29:15 +00:00
|
|
|
|
user that the file has been modified. Also abort on writing a backup
|
2014-03-31 09:22:19 +00:00
|
|
|
|
file when its owner doesn't match the edited file. Based on security
|
2014-02-23 11:08:04 +00:00
|
|
|
|
analysis on nano by Dan Rosenberg. [CVE-2010-1160]
|
2010-04-14 21:53:59 +00:00
|
|
|
|
|
2010-03-21 05:31:43 +00:00
|
|
|
|
2010-03-21 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nano.c (page_stdin et al): Don't attempt to reset/reopen the terminal
|
2014-02-23 11:08:04 +00:00
|
|
|
|
settings when reading stdin if it was aborted with SIGINT. May fix
|
2014-06-29 09:32:04 +00:00
|
|
|
|
Savannah bug #29114 reported by Mike Frysinger.
|
2010-03-21 05:31:43 +00:00
|
|
|
|
|
2010-03-21 05:04:03 +00:00
|
|
|
|
2010-03-21 Mike Frysinger <vapier@gentoo.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* doc/syntax/c.nanorc: Add additional support for #include_next and #pragma.
|
2010-03-21 05:04:03 +00:00
|
|
|
|
|
2010-03-21 04:35:17 +00:00
|
|
|
|
2010-03-21 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* move.c (do_page_up, do_page_down()): Explicitly set current_y to 0 when
|
|
|
|
|
paging up when not in smooth scroll mode, as previous fixes would otherwise
|
|
|
|
|
cause the cursor to not really be moved to the top of the screen.
|
2010-03-21 04:35:17 +00:00
|
|
|
|
|
2010-03-07 19:35:46 +00:00
|
|
|
|
2010-03-07 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* configure.ac, nano.c (handle_sigwinch): Create check for whether LINES and
|
2014-02-23 11:08:04 +00:00
|
|
|
|
COLS can safely be redefined. Fixes compilation issues with Cygwin, and likely
|
|
|
|
|
with newer versions of ncurses. Fixes Savannah bug #28984 reported by Andy Koppe
|
|
|
|
|
and by Eric Oliver via mailing list.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* winio.c (get_mouseinput): Fix stray semicolon in code, also reported in
|
2014-02-23 11:08:04 +00:00
|
|
|
|
bug #28984.
|
2010-03-07 19:35:46 +00:00
|
|
|
|
|
2010-02-11 06:13:55 +00:00
|
|
|
|
GNU nano 2.2.3 - 2010.02.11
|
2010-01-29 03:40:58 +00:00
|
|
|
|
2010-01-28 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cursor
|
|
|
|
|
position. Part one of fix for Savannah bug #21178 by Mike Frysinger.
|
2010-01-29 03:40:58 +00:00
|
|
|
|
|
|
|
|
|
GNU nano 2.2.2 - 2010.01.17
|
2010-01-18 00:24:09 +00:00
|
|
|
|
2010-01-17 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* nano.c (main), prompt.c (do_statusbar_input): Handle problems with an unmapped
|
|
|
|
|
function due to key rebinding, fixes crashes on FreeBSD reported by Eitan
|
2010-01-18 00:24:09 +00:00
|
|
|
|
Adler <eitanadlerlist@gmail.com>.
|
|
|
|
|
|
2010-01-14 06:32:37 +00:00
|
|
|
|
2010-01-14 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* files.c (do_writeout): Fix for crash / incorrect external modification warning
|
|
|
|
|
due to earlier fix in r4467.
|
|
|
|
|
|
2010-01-13 03:21:19 +00:00
|
|
|
|
2010-01-12 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* move.c (do_page_up, do_page_down): Fix issues with not enough scrolling down/up
|
|
|
|
|
and cursor centering.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* winio.c (edit_scroll): Remove lots of needless checking of line length for
|
2010-01-13 03:21:19 +00:00
|
|
|
|
soft wrapping code.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* winio.c (edit_update): Remove extra code for when updating with old_current outside
|
2010-01-13 03:21:19 +00:00
|
|
|
|
of the new buffer boundary and centering issues.
|
|
|
|
|
|
2010-01-05 23:35:50 +00:00
|
|
|
|
2010-01-05 Tito <farmatito@tiscali.it>
|
2010-01-13 03:21:19 +00:00
|
|
|
|
* search.c (update_history): Fix bad length check causing search crash on armel platform.
|
2010-01-05 23:35:50 +00:00
|
|
|
|
|
2010-01-04 19:00:55 +00:00
|
|
|
|
2010-01-04 Chris Allegretta <chrisa@asty.org>
|
2010-01-13 03:21:19 +00:00
|
|
|
|
* winio.c: edit_update, edit_redraw: Fix search not scrolling to the middle of the screen
|
2010-01-04 19:00:55 +00:00
|
|
|
|
(reported by alpha@qzx.com) and places where we rely on maxrows but should not.
|
|
|
|
|
|
2009-12-26 01:58:50 +00:00
|
|
|
|
2009-12-26 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/man/nano.1: Avoid a groff warning by prepending a zero-width
|
|
|
|
|
space to a line starting with '.
|
|
|
|
|
|
2009-12-23 05:03:09 +00:00
|
|
|
|
2009-12-22 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* files.c (write_file): Fix compatibility with previous stat fix and tiny mode.
|
|
|
|
|
|
|
|
|
|
2009-12-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* global.c: Add new strings for forward/back in the file browser. New variables
|
|
|
|
|
nano_forwardfile_msg and nano_backfile_msg.
|
|
|
|
|
|
2009-12-20 05:55:41 +00:00
|
|
|
|
2009-12-20 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* files.c (is_file_writable): remove assert check for f, since it's not
|
2014-02-24 19:00:11 +00:00
|
|
|
|
initialized at the time. Fixes Savannah bug #28309, reported by Zoltan Kovacs.
|
2009-12-20 05:55:41 +00:00
|
|
|
|
|
2009-12-20 05:46:35 +00:00
|
|
|
|
2009-12-20 Brian Szymanski <skibrianski via Savannah>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* src/files.c (write_file): Check whether stat struct exists, and if not, use the
|
|
|
|
|
just obtained stat data. Fixes Ubuntu bug 471568, "reproducible crash in nano on
|
|
|
|
|
trying to save to a file different than the one specified on the command line".
|
2009-12-20 05:46:35 +00:00
|
|
|
|
|
2009-12-15 18:07:17 +00:00
|
|
|
|
2009-12-15 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/nanorc.sample.in: Remove erroneous 'set suspendenable' as it's actually a
|
2009-12-15 18:07:17 +00:00
|
|
|
|
key binding (e.g. 'bind M-Z suspendenable all') and not a settable flag. Fixes
|
2014-02-23 11:08:04 +00:00
|
|
|
|
Savannah bug #28299 reported by Mike Frysinger.
|
2009-12-15 18:07:17 +00:00
|
|
|
|
|
2009-12-13 03:31:00 +00:00
|
|
|
|
GNU nano 2.2.1 - 2009.12.12
|
2009-12-12 22:21:20 +00:00
|
|
|
|
2009-12-12 Chris Allegretta <chrisa@asty.org>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* text.c (do_delete), nano.c (do_output): Add check for length of current line
|
2009-12-12 22:21:20 +00:00
|
|
|
|
before and after adding/deleting text, and do full refresh if it is now
|
|
|
|
|
a different multiple of COLS. Also get rid of superfluous do_refresh
|
|
|
|
|
vars now that we have edit_refresh_needed.
|
|
|
|
|
|
|
|
|
|
2009-12-09 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to
|
2009-12-09 17:09:37 +00:00
|
|
|
|
research in either main menu or browser.
|
|
|
|
|
|
2009-12-09 16:51:43 +00:00
|
|
|
|
2009-12-09 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* files.c (read_file): Add parameter for whether we should even try to check
|
2014-02-23 11:08:04 +00:00
|
|
|
|
file writability, as the message is useless when we're inserting into an
|
|
|
|
|
existing buffer. Fixes Savannah bug #28219.
|
2009-12-09 16:51:43 +00:00
|
|
|
|
|
2009-12-07 12:34:23 +00:00
|
|
|
|
2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* global.c (shortcut_init): Many fixes for keybindings code oversights, including
|
2014-02-23 11:08:04 +00:00
|
|
|
|
restore page up/down and GotoDir in browser.
|
|
|
|
|
* browser.c (do_browser): Fix breaking out of a submenu (e.g. gotodir), it broke
|
|
|
|
|
out of the browser altogether.
|
2009-12-07 12:34:23 +00:00
|
|
|
|
* doc/nanorc.sample.in: Add missing entries for fortran/ObjC/OCaml entries.
|
|
|
|
|
|
2009-12-04 04:29:55 +00:00
|
|
|
|
2009-12-03 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c (shortcut_init): Remove help shortcut from help shortcut list. :-) Tweaked
|
2009-12-04 04:29:55 +00:00
|
|
|
|
to reorder exit shortcut to end of list to not mess up prev/next shortcut symmetry.
|
|
|
|
|
|
2009-12-04 03:46:04 +00:00
|
|
|
|
2009-12-03 Eitan Adler <eitanadlerlist@gmail.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/makefile.nanorc: Fix poor regex for all alpha characters which sometimes
|
2014-02-23 11:08:04 +00:00
|
|
|
|
leads to error messages, reported by gibboris@gmail.com.
|
2009-12-04 03:46:04 +00:00
|
|
|
|
|
2009-12-03 03:12:00 +00:00
|
|
|
|
2009-12-02 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* text.c (add_undo, do_undo, do_redo): Do not execute cases for SPLIT when
|
2014-02-23 11:08:04 +00:00
|
|
|
|
DISABLE_WRAPPING is defined. Fixes Savannah bug #28151 (anon).
|
2009-12-03 03:12:00 +00:00
|
|
|
|
|
2009-12-02 22:47:57 +00:00
|
|
|
|
2009-12-02 Jordi Mallach <jordi@gnu.org>
|
|
|
|
|
* doc/man/nano.1: Fix escaping of hyphens for the -$ option.
|
|
|
|
|
|
2009-12-02 03:24:18 +00:00
|
|
|
|
2009-12-01 Kamil Dudka <kdudka@redhat.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* chars.c, file.c: Better handle unused results for things like mbtowc(), new
|
2009-12-02 03:24:18 +00:00
|
|
|
|
macro IGNORE_CALL_RESULT.
|
|
|
|
|
|
|
|
|
|
2009-12-01 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c (shortcut_init): Remove redundant entries for ^Y/^V reported by
|
2009-12-02 03:24:18 +00:00
|
|
|
|
Christian Weisgerber.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/man/nanorc.5: Fix typo in Meta documentation, reported by <gibboris@gmail.com>.
|
2009-12-02 03:24:18 +00:00
|
|
|
|
|
2009-12-02 03:36:22 +00:00
|
|
|
|
2009-12-01 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c (shortcut_init): Add support for ^P and ^N in the help menu.
|
2009-12-02 03:36:22 +00:00
|
|
|
|
* Update documentation for 2.2 features including sample nanorc file, texinfo
|
2014-02-23 11:08:04 +00:00
|
|
|
|
file, man pages, UPGRADE file, and update copyright notice for the current year.
|
2009-12-02 03:24:18 +00:00
|
|
|
|
|
2009-11-30 05:26:30 +00:00
|
|
|
|
GNU nano 2.2.0 - 2009.11.30
|
2009-11-29 06:13:22 +00:00
|
|
|
|
2009-11-29 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* prompt.c (get_prompt_string): Universally handle help key when it is disabled.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
Fixes Savannah bug #28117 by David Lawrence Ramsey <pooka109@gmail.com>.
|
2009-11-29 06:13:22 +00:00
|
|
|
|
* chars.c, files.c: Add junk vars to silence the compiler. Sigh.
|
|
|
|
|
|
|
|
|
|
2009-11-29 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
* Change several *chars to const char, additional cleanups and casts to make compilers happier.
|
2009-11-29 06:24:10 +00:00
|
|
|
|
* global.c: Fix replace and insert file initializations for proper compilation options.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* nano.c (do_suspend): Update comments to reflect actual code path, bad Chris, and thanks for
|
|
|
|
|
noticing, Jordi.
|
|
|
|
|
* configure.ac: Fix typos.
|
2009-11-29 06:13:22 +00:00
|
|
|
|
|
2009-11-28 03:01:30 +00:00
|
|
|
|
2009-11-27 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nano.c (do_suspend): Don't clear the screen but do move the cursor down to the last line
|
|
|
|
|
first in an effort to not corrupt the screen, which contradicts Pico but is consistent
|
2014-02-23 11:08:04 +00:00
|
|
|
|
with almost all other text editors. Fixes Savannah bug #28110 / Debian bug 460510
|
2009-11-28 03:01:30 +00:00
|
|
|
|
reported by Tim Connors <reportbug@rather.puzzling.org>.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/makefile.nanorc: Sample Makefile highlighting based on wiki.linuxhelp.net version.
|
2009-11-28 03:01:30 +00:00
|
|
|
|
|
2009-11-27 03:04:59 +00:00
|
|
|
|
2009-11-26 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* winio.c (edit_scroll): Adjust for long lines when scrolling.
|
2014-02-23 11:08:04 +00:00
|
|
|
|
* rcfile.c (parse_rcfile): initialize size argument to getline(), fixes crash on FreeBSD
|
2009-11-27 05:09:56 +00:00
|
|
|
|
reported by Eitan Adler <eitanadlerlist@gmail.com>.
|
2009-11-27 03:04:59 +00:00
|
|
|
|
|
2009-11-27 02:50:12 +00:00
|
|
|
|
2009-11-26 Jordi Mallach <jordi@gnu.org>
|
2009-11-30 05:26:30 +00:00
|
|
|
|
* doc/man/*: Update all man pages to escape unescaped hyphens.
|
2009-11-27 02:50:12 +00:00
|
|
|
|
|
2009-11-24 17:15:53 +00:00
|
|
|
|
2009-11-24 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* move.c (do_page_up, do_page_down): Make these functions work better with soft
|
|
|
|
|
line wrapping.
|
|
|
|
|
* winio.c (compute_maxrows): Make maxrows calculation more accurate when all lines are > COLS.
|
|
|
|
|
|
2009-11-22 21:35:56 +00:00
|
|
|
|
2009-11-22 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nano.c (main): Allow edit_refresh_needed to take effect when using --enable-tiny
|
2014-02-23 11:08:04 +00:00
|
|
|
|
(fixes Savannah bug #28076 reported by David Lawrence Ramsey).
|
2009-11-22 21:35:56 +00:00
|
|
|
|
|
|
|
|
|
2009-11-22 David Lawrence Ramsey <pooka109@gmail.com>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* nano.c (move_to_filestruct): Fix bug 71 (cut at top of line recenters).
|
|
|
|
|
* Fix compilation with --enable-tiny.
|
2009-11-22 21:35:56 +00:00
|
|
|
|
|
2009-11-22 16:36:53 +00:00
|
|
|
|
2009-11-22 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* doc/syntax/gentoo.nanorc: Tweak comment highlighting.
|
|
|
|
|
|
2009-11-22 02:49:39 +00:00
|
|
|
|
GNU nano 2.1.99pre2 - 2009.11.21
|
2009-11-21 16:26:59 +00:00
|
|
|
|
2009-11-21 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* rcfile.c: Add unbinding keyword, fixes Savannah bug #22852 reported by frankd.
|
2009-11-21 17:12:28 +00:00
|
|
|
|
* prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
Fixes Savannah bug #24957 reported by Mike Frysinger.
|
2009-11-21 16:26:59 +00:00
|
|
|
|
|
2009-11-20 05:09:12 +00:00
|
|
|
|
2009-11-19 Chris Allegretta <chrisa@asty.org>
|
2014-02-22 10:28:58 +00:00
|
|
|
|
* nano.c (die_save_file) Try and match the permissions of the file we were
|
2014-02-24 19:00:11 +00:00
|
|
|
|
editing but only make a minimal effort to do so. Fixes Savannah bug #27273
|
2009-11-20 05:09:12 +00:00
|
|
|
|
reported by Mike Frysinger.
|
|
|
|
|
|
2009-11-18 12:39:47 +00:00
|
|
|
|
2009-11-18 Adrian Bunk <bunk via Savannah>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* nano.c (main): Allow --fill and --nowrap to override nanorc entries
|
|
|
|
|
and each other on the command line.
|
2009-11-18 12:39:47 +00:00
|
|
|
|
|
2009-11-16 00:15:45 +00:00
|
|
|
|
2009-11-15 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling
|
2014-02-24 19:00:11 +00:00
|
|
|
|
is enabled. Fixes Savannah bug #28024 by Mike Frysinger.
|
2009-11-16 00:15:45 +00:00
|
|
|
|
|
2009-11-15 06:20:21 +00:00
|
|
|
|
GNU nano 2.1.99pre1 - 2009.11.15
|
2009-11-14 19:57:38 +00:00
|
|
|
|
2009-11-14 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* move.c (do_first_line, do_last_line): Just set edit_refresh_needed
|
|
|
|
|
rather than get messy.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* files.c (do_writeout): Only mention file modification if we're
|
2014-02-24 19:00:11 +00:00
|
|
|
|
writing the same file we originally opened.
|
2009-11-14 19:57:38 +00:00
|
|
|
|
|
2009-11-13 13:48:56 +00:00
|
|
|
|
2009-11-13 Chris Allegretta <chrisa@asty.org>
|
2014-06-29 09:32:04 +00:00
|
|
|
|
* winio.c: Add new static maxsize for easier calculation with softwrap.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* nano.c (do_mouse): Fix mouse support not working with soft wrapping.
|
|
|
|
|
Fixes Savannah bug #27549 reported by Hannes Schueller.
|
2009-11-13 13:48:56 +00:00
|
|
|
|
|
2009-11-11 06:00:33 +00:00
|
|
|
|
2009-11-11 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* winio.c: Large tweaking of cursor and text display based on COLS not COLS - 1,
|
2009-11-11 06:00:33 +00:00
|
|
|
|
due to finally understanding that display_string wasn't being called properly
|
2014-02-24 19:00:11 +00:00
|
|
|
|
when softwrap was enabled. Fixes Savannah bug #27603, "Return key doesn't scroll
|
|
|
|
|
viewport" reported by Hannes Schueller.
|
|
|
|
|
* Fix size_t formatting issues with -pedantic
|
2009-11-11 06:00:33 +00:00
|
|
|
|
|
2009-11-10 02:46:17 +00:00
|
|
|
|
2009-11-09 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* files.c (read_file): Remove debugging messages from file load.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
Fixes Savannah bug #27838.
|
2009-11-10 02:46:17 +00:00
|
|
|
|
|
2009-11-07 16:56:17 +00:00
|
|
|
|
2009-11-07 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* nano.h: Add bogus value at begin of flags enumeration because it
|
2014-02-24 19:00:11 +00:00
|
|
|
|
caused the casesens rcfile option to misbehave, reported by Helmut
|
|
|
|
|
Jarausch <jarausch@igpm.rwth-aachen.de>.
|
2009-11-07 16:56:17 +00:00
|
|
|
|
|
2009-11-03 18:47:39 +00:00
|
|
|
|
2009-11-03 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* nano.h: Fix comma at end of enumerator list which angers -pedantic.
|
|
|
|
|
* rcfile.c: Add in specific check for UNDOABLE and fix declaration as
|
2009-11-03 19:31:17 +00:00
|
|
|
|
to what flag it toggles. Fixes undo mode being able to be called from
|
2014-02-24 19:00:11 +00:00
|
|
|
|
the rc file, reported by Helmut Jarausch <jarausch@igpm.rwth-aachen.de>.
|
2009-11-03 18:47:39 +00:00
|
|
|
|
|
|
|
|
|
2009-11-03 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* files.c: Move up is_file_writable() to stop implicit definition complaints.
|
2009-11-03 18:47:39 +00:00
|
|
|
|
|
2009-10-27 04:09:27 +00:00
|
|
|
|
2009-10-27 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* browser.c (browser_init): Set column width to something sane when
|
2009-10-27 04:09:27 +00:00
|
|
|
|
initializing in a directory with no file entries. Fixes Savannah
|
2014-02-24 19:00:11 +00:00
|
|
|
|
bug #24163 found (and initial patch) by Paul Wise.
|
2009-10-27 04:09:27 +00:00
|
|
|
|
|
2009-09-15 04:51:09 +00:00
|
|
|
|
2009-09-15 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* winio.c: Clean up some unused variables from the soft wrapping code.
|
|
|
|
|
|
2009-09-15 03:50:17 +00:00
|
|
|
|
GNU nano 2.1.11 - 2009.09.14
|
2009-09-13 04:50:44 +00:00
|
|
|
|
2009-09-12 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* winio.c (edit_update): properly update edittop when using soft wrapping.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
Fixes lack of centering for searching for off-screen answers, found by
|
|
|
|
|
Hannes Schueller <mr_creosote@mutantwatch.de>.
|
2009-09-13 04:50:44 +00:00
|
|
|
|
|
2009-09-03 23:29:14 +00:00
|
|
|
|
2009-09-03 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* global.c (shortcut_init): Fix up/down keys not responding in the file browser,
|
2014-02-24 19:00:11 +00:00
|
|
|
|
discovered by Hannes Schueller <mr_creosote@mutantwatch.de>.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* move.c (do_up): Fix another scrolling issue with softwrap when the cursor
|
2014-02-24 19:00:11 +00:00
|
|
|
|
is beyond COLS, discovered by Hannes Schueller <mr_creosote@mutantwatch.de>.
|
2009-09-03 23:29:14 +00:00
|
|
|
|
|
2009-09-03 05:45:13 +00:00
|
|
|
|
2009-09-02 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Attempt to check file writability and emit a warning on the status bar
|
|
|
|
|
if nano doesn't think the file can be written to. Feature originally
|
|
|
|
|
requested by Damien Jolders <madamien@skullsquad.com> et al.
|
|
|
|
|
|
2009-08-30 03:50:16 +00:00
|
|
|
|
2009-08-29 Chris Allegretta <chrisa@asty.org>
|
2009-09-03 02:48:35 +00:00
|
|
|
|
* Fix more soft wrapping issues, particularly with scrolling,
|
2014-06-29 09:32:04 +00:00
|
|
|
|
discovered by Hannes Schueller <mr_creosote@mutantwatch.de>.
|
2009-08-30 03:50:16 +00:00
|
|
|
|
|
2009-08-19 05:38:07 +00:00
|
|
|
|
2009-08-19 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Fix issue with soft wrapping not displaying the last character of each line,
|
2014-06-29 09:32:04 +00:00
|
|
|
|
fixed bug discovered by Hannes Schueller <mr_creosote@mutantwatch.de>.
|
2009-08-19 05:38:07 +00:00
|
|
|
|
|
2009-08-18 02:55:22 +00:00
|
|
|
|
2009-08-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* doc/syntax/(gentoo|sh|tcl).nanorc: Fix problems with empty regexes on POSIX.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
Fixes Savannah bug #27175.
|
2009-08-18 02:55:22 +00:00
|
|
|
|
|
2009-08-17 07:52:10 +00:00
|
|
|
|
2009-08-17 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* Initial soft line wrapping implementation. Command-line flags -$ or --softwrap.
|
2009-08-17 07:52:10 +00:00
|
|
|
|
* nano.c, text.c: Clean up some fprintf warnings in debug mode due to printing
|
|
|
|
|
a size_t without using the zd specifier.
|
2014-06-29 09:32:04 +00:00
|
|
|
|
|
2009-08-14 03:18:29 +00:00
|
|
|
|
2009-08-13 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* New global flag implementation courtesy of Adam Wysocki <gophi@arcabit.pl>, allows
|
2014-02-24 19:00:11 +00:00
|
|
|
|
previous undo flag to be implemented consistent with other flags.
|
2009-08-14 03:18:29 +00:00
|
|
|
|
|
2009-07-28 05:08:35 +00:00
|
|
|
|
GNU nano 2.1.10 - 2009.07.28
|
2009-07-27 04:16:44 +00:00
|
|
|
|
2009-07-27 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* text.c (undo_cut, redo_cut): Don't actually try and undo/redo an empty cut, i.e. the magicline.
|
2009-07-27 04:16:44 +00:00
|
|
|
|
Fixes crash on cutting last line discovered by Eitan Adler <eitanadlerlist@gmail.com>.
|
|
|
|
|
|
2009-07-12 03:36:58 +00:00
|
|
|
|
2009-07-11 Chris Allegretta <chrisa@asty.org>
|
2014-06-29 09:32:04 +00:00
|
|
|
|
* nano-regress: Small tweaks.
|
|
|
|
|
* Change undo code to off unless enabled via a command line option (-u/--undo).
|
|
|
|
|
Until this code stabilizes this is the only responsible way to treat it.
|
2009-07-12 03:36:58 +00:00
|
|
|
|
|
2009-03-09 02:04:40 +00:00
|
|
|
|
2009-03-08 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* TODO: Break out some targets for various features into 2.2
|
2009-03-09 02:04:40 +00:00
|
|
|
|
and 2.4 series for things which are feasible.
|
|
|
|
|
|
2009-03-01 00:50:19 +00:00
|
|
|
|
2009-02-28 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* configure.ac: Add check for whether _XOPEN_SOURCE_EXTENDED is needed for
|
2014-02-24 19:00:11 +00:00
|
|
|
|
curses to work w/color. Fixes compilation on HP-UX with older GCC,
|
2009-03-01 00:50:19 +00:00
|
|
|
|
reported by jay.krell@cornell.edu.
|
|
|
|
|
|
2009-02-25 05:06:05 +00:00
|
|
|
|
2009-02-23 Eitan Adler <eitanadlerlist@gmail.com>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* doc/man/Makefile.am: Fix make variable substitution to be more portable.
|
2009-02-25 05:06:05 +00:00
|
|
|
|
|
2009-02-25 04:32:15 +00:00
|
|
|
|
2009-02-23 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* rcfile.c (parse_keybinding): Define a var before tryung to use it. Whoops!
|
2009-02-25 04:32:15 +00:00
|
|
|
|
* fix some redefinitions causing compiler warnings, from Eitan Adler. Other
|
|
|
|
|
(hopefully) fixes for uncasted malloc()s, reported by the same.
|
2009-02-25 05:06:05 +00:00
|
|
|
|
* doc/man/fr/Makefile.am: Add groff check fix to fr files.
|
2009-02-17 04:31:04 +00:00
|
|
|
|
|
|
|
|
|
GNU nano 2.1.9 - 2009.02.16
|
2009-02-16 21:04:00 +00:00
|
|
|
|
2009-02-16 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Add new argument to reset_multis for force redraws without attempting to
|
2009-02-16 23:06:09 +00:00
|
|
|
|
guess whether we need to, for functions that we don't have good info about
|
2014-02-24 19:00:11 +00:00
|
|
|
|
the text state. New utility function color.c:reset_multis_for_id().
|
2009-02-16 21:04:00 +00:00
|
|
|
|
|
2009-02-15 19:16:18 +00:00
|
|
|
|
2009-02-15 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* configure.ac, doc/man/Makefile.am: Add check for HTML output support in GNU
|
2009-02-15 19:16:18 +00:00
|
|
|
|
groff. Fixes Savannah bug #24461: build traps on groff. Also, add installation
|
|
|
|
|
of html-ized man pages to $datadir/nano/man-html, since we should probably
|
|
|
|
|
install files we went to all the trouble of generating.
|
|
|
|
|
|
2009-02-15 02:40:16 +00:00
|
|
|
|
2009-02-14 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* nano.c (precalc_multicolorinfo): Add debugging so we have a better clue if further
|
2014-07-07 18:46:47 +00:00
|
|
|
|
issues arise. Also start at the beginning of later lines when trying to match the
|
2014-02-24 19:00:11 +00:00
|
|
|
|
end of a multi-line regex. Fixes more overly aggressive highlighting found by
|
2013-06-14 02:29:15 +00:00
|
|
|
|
Mike Frysinger. Finally, advance to the match end for performance.
|
2009-02-15 02:40:16 +00:00
|
|
|
|
|
2009-02-11 05:45:57 +00:00
|
|
|
|
2009-02-11 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nanorc.c (parse_include): Do call real_dir_from_tilde() on included
|
|
|
|
|
files in .nanorc, but still avoiding bug #25297. Fixes ~ and ~user
|
|
|
|
|
specifications for nanorc include files, as reported by Eitan Adler.
|
|
|
|
|
|
2009-02-09 04:03:20 +00:00
|
|
|
|
2009-02-09 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* New option -q, --quiet, rcfile option "quiet" implemented. Skips printing
|
|
|
|
|
errors about the rcfile and asking user to press enter. Also, nano should
|
|
|
|
|
now only ask for one enter press when there is an error when not using -q.
|
|
|
|
|
Based on discussion between Eitan Adler and Mike Frysinger.
|
2014-07-07 18:46:47 +00:00
|
|
|
|
* rcfile.c (parse_keybinding): Significant cleanups and fixes for
|
2009-02-09 04:03:20 +00:00
|
|
|
|
detecting and reporting errors in key bindings code.
|
|
|
|
|
|
2009-02-08 17:45:21 +00:00
|
|
|
|
2009-02-08 Chris Allegretta <chrisa@asty.org>
|
2009-02-08 18:00:44 +00:00
|
|
|
|
* Make reset_multidata reset more lines, since contrary to previous problems the
|
|
|
|
|
syntax highlting is now too *un*ambitious, causing display glitches when
|
|
|
|
|
deleting a regex boundary.
|
2009-02-08 17:45:21 +00:00
|
|
|
|
* Add more multidata initliazers for new buffers and 'magic lines'. Fixes segfaults
|
|
|
|
|
with syntax highlighting in new buffers, initially reported by Mike Frysinger.
|
|
|
|
|
|
2009-02-08 04:12:07 +00:00
|
|
|
|
GNU nano 2.1.8 - 2009.02.07
|
2009-02-07 00:01:40 +00:00
|
|
|
|
2009-02-06 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* rcfile.c (parse_include): Abort on being unable to open an included rcfile.
|
|
|
|
|
Fixes Savannah bug #25490, nanorc: "include"ing a file which doesn't exist
|
|
|
|
|
causes nano to segfault.
|
2009-02-07 00:01:40 +00:00
|
|
|
|
|
2009-02-06 03:41:02 +00:00
|
|
|
|
2009-02-05 Chris Allegretta <chrisa@asty.org>
|
2014-07-07 18:46:47 +00:00
|
|
|
|
* More color syntax speedups: Determine in reset_multis() whether we really need to call
|
2009-02-06 03:41:02 +00:00
|
|
|
|
edit_refresh(). Additional global var edit_refresh_needed() to hopefully reduce
|
2014-02-24 19:00:11 +00:00
|
|
|
|
repeated calls to the function. New helper funcs reset_multis_before() and
|
2009-02-06 03:41:02 +00:00
|
|
|
|
reset_multis_after().
|
|
|
|
|
|
|
|
|
|
2009-02-02 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* New color precalculation code for mult-line regexes. New function precalc_multicolorinfo(),
|
2014-02-24 19:00:11 +00:00
|
|
|
|
new structure multidata for keeping track of where regexes start/stop. More
|
2009-02-06 03:41:02 +00:00
|
|
|
|
performance improvements forthcoming.
|
|
|
|
|
|
2009-01-31 23:36:00 +00:00
|
|
|
|
2009-01-29 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* nano.c (move_to_filestruct): Properly initialize new fileage for multiswatching, sigh.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
Fix cut segfaults discovered by Mike Frysinger.
|
2009-01-31 23:36:00 +00:00
|
|
|
|
|
2009-01-30 08:34:27 +00:00
|
|
|
|
2009-01-29 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nano.c (main): Add support for nano acting like a pager when invoked with - as first
|
2009-01-30 17:38:23 +00:00
|
|
|
|
file argument.
|
2009-01-30 08:34:27 +00:00
|
|
|
|
|
2009-01-28 18:32:33 +00:00
|
|
|
|
2009-01-28 Davide Pesavento <davidepesa@gmail.com>
|
|
|
|
|
* doc/syntax/gentoo.nanorc: Updates from David and Mike Frysinger.
|
|
|
|
|
|
2009-01-26 08:48:22 +00:00
|
|
|
|
2009-01-25 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* files.c (open_file), nanorc.c (parse_include): Don't get_full_path on included
|
|
|
|
|
rc files, due to it potentially impacting the ability to read files in nano's
|
|
|
|
|
cwd(). Fixes Savnanah bug #25297 reported by Mike Frysinger.
|
2009-01-26 08:48:22 +00:00
|
|
|
|
|
2009-01-24 22:40:41 +00:00
|
|
|
|
2009-01-24 Chris Allegretta <chrisa@asty.org>
|
2009-01-25 07:25:17 +00:00
|
|
|
|
* First pass at some caching of caching color info. Right now it's only for
|
|
|
|
|
multi-line regexes but this may not be enough to increase performance.
|
2009-01-24 22:40:41 +00:00
|
|
|
|
* Add interruptability to search functions. New functions enable_nodelay and
|
|
|
|
|
disable_nodelay and changes to the routines to handle checking for pending
|
2014-02-24 19:00:11 +00:00
|
|
|
|
searches. Fixes Savnnah bug #24946: Need interrrupt for search.
|
2009-01-24 22:40:41 +00:00
|
|
|
|
|
2009-01-19 19:10:39 +00:00
|
|
|
|
2009-01-19 Chris Allegretta <chrisa@asty.org>
|
2009-01-24 22:40:41 +00:00
|
|
|
|
* Change function definitions to shorts instead of (void *)s. New mapping function
|
2014-02-24 19:00:11 +00:00
|
|
|
|
iso_me_harder_funcmap(). Fixes compilation complaints with -pedantic,
|
2009-01-19 19:10:39 +00:00
|
|
|
|
reported by Eitan Adler <eitanadlerlist@gmail.com>.
|
|
|
|
|
|
2008-11-10 06:33:12 +00:00
|
|
|
|
GNU nano 2.1.7 - 2008.11.10
|
2008-10-21 10:20:07 +00:00
|
|
|
|
2008-10-20 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* files.c (do_writeout): Add check for file modification when saving
|
|
|
|
|
the file so the user can at least know they may be blowing away changes.
|
|
|
|
|
|
2008-10-14 16:46:58 +00:00
|
|
|
|
2008-10-14 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* nanorc.5: Fix redo man page entry and update explanation, reported by
|
2014-02-24 19:00:11 +00:00
|
|
|
|
Eitan Adler <eitanadlerlist@gmail.com>.
|
2008-10-15 01:25:25 +00:00
|
|
|
|
* global.c (shortcut_init), search.c (search_init): Fix add_to_sclist for ^W^T so
|
2014-02-24 19:00:11 +00:00
|
|
|
|
invalid messages will display properly. Fixes Savannah bug #24507.
|
2008-10-14 16:46:58 +00:00
|
|
|
|
|
2008-10-14 01:14:12 +00:00
|
|
|
|
2008-10-13 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Remove CUTTOEND as an undo type as it's unneeded, fix u->to_end logic in undo struct.
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* undo.c (update_undo): Don't free cutbuffer if NULL, fixes Savannah bug #24499.
|
2008-10-14 01:14:12 +00:00
|
|
|
|
|
2008-10-04 11:10:11 +00:00
|
|
|
|
2008-10-04 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* cut.c (add_undo): Save last cut undo information so it can be used for
|
2014-02-24 19:00:11 +00:00
|
|
|
|
next uncut, fixes Savannah bug #24183.
|
2008-10-04 11:10:11 +00:00
|
|
|
|
|
2008-10-03 22:20:43 +00:00
|
|
|
|
GNU nano 2.1.6 - 2008.10.03
|
2008-10-03 21:00:35 +00:00
|
|
|
|
2008-10-03 Pascal Gentil <pascal.gentil@univ-rennes1.fr>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* fortran.nanorc: Sample Fortran syntax highlighting file.
|
2008-10-03 21:00:35 +00:00
|
|
|
|
|
|
|
|
|
2008-09-30 Dirkjan Ochtman <dirkjan@ochtman.nl>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* python.nanorc: Small Python syntax update.
|
2008-10-01 00:55:13 +00:00
|
|
|
|
|
2008-10-01 00:49:19 +00:00
|
|
|
|
2008-09-30 <bluestorm_dylc@hotmail.com>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* ocaml.nanorc: Sample OCaml syntax highlighting file.
|
2008-10-01 00:49:19 +00:00
|
|
|
|
|
|
|
|
|
2008-09-30 Dave Geering <dgeering@toshiba-tap.com>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* objc.nanorc: Sample Objective-C syntax hightlighting file.
|
2008-10-01 00:49:19 +00:00
|
|
|
|
|
2008-09-30 14:30:33 +00:00
|
|
|
|
2008-09-30 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* configure.ac: Change extra, multibuffer, color and rcfile configure options
|
|
|
|
|
to default to enabled --enable-tiny will now disable these options as well.
|
|
|
|
|
* python.nanorc, ruby.nanorc: Add header lines for Python and Ruby as well.
|
2008-10-01 00:49:19 +00:00
|
|
|
|
|
2008-09-21 23:02:30 +00:00
|
|
|
|
2008-09-21 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* rcfile.c, color.c, nano.h: Add new capability for matching a syntax type by
|
|
|
|
|
the "header" (1st line) of a file being edited. Based on Savannah bug #24197
|
2014-03-31 09:22:19 +00:00
|
|
|
|
and initial proof of concept by Dave Geering <dgeering@toshiba-tap.com>.
|
2008-10-01 00:49:19 +00:00
|
|
|
|
|
2008-09-16 21:35:19 +00:00
|
|
|
|
2008-09-16 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* text.c: Add support for undoing a text uncut. Split out the undo and redo
|
|
|
|
|
of a text cut in order to avoid code duplication.
|
2008-10-01 00:49:19 +00:00
|
|
|
|
|
2008-09-06 06:52:47 +00:00
|
|
|
|
2008-09-06 Chris Allegretta <chrisa@asty.org>
|
2014-02-24 19:00:11 +00:00
|
|
|
|
* nano.c: Do call disable_signals at startup regardless, since under Cygwin
|
|
|
|
|
we can't generate ^C without it.
|
2008-09-06 06:52:47 +00:00
|
|
|
|
|
2008-08-30 21:40:33 +00:00
|
|
|
|
GNU nano 2.1.5 - 2008.08.30
|
2008-08-30 05:16:20 +00:00
|
|
|
|
2008-08-29 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* configure.ac, color.c, rcfile.c, utils.c: 1st attempt at supporting systems
|
|
|
|
|
which don't support GNU-style word boundaries. New function fixbounds() to
|
|
|
|
|
translate from GNU-style to BSD-style, autoconf option GNU_WORDBOUNDS.
|
|
|
|
|
* nano-regress: New perl script to check for some of the more obvious issues
|
|
|
|
|
with compilation issues with certain configure options.
|
|
|
|
|
* global.c, help.c, browser.c, files.c, proto.h: Fix several compilation and
|
|
|
|
|
programmatic issues with --disable-help, especially that do-writeout was
|
|
|
|
|
treating ^G the same as ^M.
|
2008-08-30 05:16:20 +00:00
|
|
|
|
|
2008-08-28 06:13:05 +00:00
|
|
|
|
2008-08-28 Chris Allegretta <chrisa@asty.org>
|
2014-07-07 18:46:47 +00:00
|
|
|
|
* configure.ac, rcfile.c: Add support for an alternate rcfilename at configure time. Maybe this
|
2008-08-28 06:13:05 +00:00
|
|
|
|
should become a command line option some day, but I don't see the need currently. Start of
|
|
|
|
|
fix for Savannah bug #24128: Add nanorc support to win32 platform.
|
|
|
|
|
|
2008-08-21 04:21:06 +00:00
|
|
|
|
2008-08-21 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* text.c: Change error messages where we may possibly get into a bad state and urge the
|
|
|
|
|
user to save when this happens. Originally by Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* text.c (do_enter): Fix issue when compiled with --enable-debug, fixes Savannah bug #24092.
|
2008-08-21 04:21:06 +00:00
|
|
|
|
|
2008-08-17 16:25:40 +00:00
|
|
|
|
2008-08-08 Magnus Granberg <zorry@ume.nu> / Adam Conrad <?>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* files.c (write_file): Add needed flags to open() calls when writing out files.
|
|
|
|
|
Fixes Savannah bug #23827: Compilation fails with -D_FORTIFY_SOURCE=2.
|
2008-08-17 16:25:40 +00:00
|
|
|
|
|
2008-08-16 23:54:15 +00:00
|
|
|
|
2008-08-08 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* files.c (write_file): Check the exit code of fclose(), since in certain
|
|
|
|
|
out-of-space conditions the OS will happily report successful fwrite()s
|
|
|
|
|
until you try and close the file. Fixes Savannah bug #24000: no free
|
|
|
|
|
space on partition - nano claims successful write - file is empty.
|
2008-08-16 23:54:15 +00:00
|
|
|
|
|
2008-08-09 10:25:22 +00:00
|
|
|
|
GNU nano 2.1.4 - 2008.08.09
|
2008-08-09 03:39:10 +00:00
|
|
|
|
2008-08-08 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* files.c (write_file): Do not go on and attempt to write the main file if writing
|
|
|
|
|
the backup file failed, related to Savannah bug #24000.
|
2008-08-09 09:28:07 +00:00
|
|
|
|
* text.c (do_redo): Fix improperly restoring the text when redoing a line split.
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* text.c (add_undo): Fix check for multi-line cut check skips adding other new legit events.
|
2008-08-09 03:39:10 +00:00
|
|
|
|
|
2008-08-08 03:02:03 +00:00
|
|
|
|
2008-07-23 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* text.c: Reset openfile-> to OTHER after an undo or redo so we don't
|
2008-08-08 03:02:03 +00:00
|
|
|
|
mistakenly think this is an update when it's really an add. Also
|
2014-03-31 09:22:19 +00:00
|
|
|
|
fix an extra ; after an if statement which makes nano try to free
|
|
|
|
|
a struct which may be NULL.
|
2008-08-08 03:02:03 +00:00
|
|
|
|
|
2008-08-05 01:35:42 +00:00
|
|
|
|
GNU nano 2.1.3 - 2008.08.04
|
2008-07-31 17:01:47 +00:00
|
|
|
|
2008-07-23 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* configure.ac: Add ncursesw dir to include path if lib is detected.
|
2008-07-31 17:01:47 +00:00
|
|
|
|
|
2008-07-12 02:52:08 +00:00
|
|
|
|
2008-07-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
* doc/nanorc.sample.in: Include the updates files in the default sample nanorc.
|
|
|
|
|
|
2008-07-12 02:32:19 +00:00
|
|
|
|
2008-07-11 Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
* nano.c: Don't include langinfo.h if not using ENABLE_UTF8
|
2014-03-31 09:22:19 +00:00
|
|
|
|
(Savannah patch #6565).
|
2008-07-12 02:32:19 +00:00
|
|
|
|
|
2008-07-12 01:54:49 +00:00
|
|
|
|
2008-07-11 Mitsuya Shibata <mty.shibata@gmail.com>
|
|
|
|
|
* text.c: Fix crashing in help menu when using certain locales
|
2014-03-31 09:22:19 +00:00
|
|
|
|
(Savannah bug #23751).
|
2008-07-12 01:54:49 +00:00
|
|
|
|
|
2008-07-10 20:13:04 +00:00
|
|
|
|
2008-07-09 Chris Allegretta <chrisa@asty.org>
|
2013-06-14 02:29:15 +00:00
|
|
|
|
* nano.c/nano.h/global.c/text.c: New generalized undo code, currently
|
2008-07-10 20:13:04 +00:00
|
|
|
|
just works for adding and deleting text and splitting and unsplitting lines.
|
|
|
|
|
|
2008-06-29 06:22:31 +00:00
|
|
|
|
2008-06-29 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* global.c: Fix for not having a search history when --disable-justify is used
|
|
|
|
|
(Savannah bug #23733).
|
2008-06-29 06:22:31 +00:00
|
|
|
|
|
2008-07-10 20:13:04 +00:00
|
|
|
|
|
2008-06-25 03:35:15 +00:00
|
|
|
|
GNU nano 2.1.2 - 2008.06.24
|
2008-06-25 03:09:10 +00:00
|
|
|
|
2008-06-24 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* rcfile.c: Added function check_bad_binding() to look for sequences which
|
2014-03-31 09:22:19 +00:00
|
|
|
|
shouldn't be bound, per Savannah bug #22674.
|
2008-06-25 03:09:10 +00:00
|
|
|
|
|
2008-06-03 06:21:31 +00:00
|
|
|
|
2008-05-31 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* prompt.c,search.c,global.c: Tentative fix for bug #23144: using arrow
|
|
|
|
|
keys in search buffer affects main window (by Mike Frysinger).
|
2008-06-03 06:21:31 +00:00
|
|
|
|
|
2008-06-03 05:55:04 +00:00
|
|
|
|
2008-05-31 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* global.c: Fix for Savannah bug #23442: left/right arrow keys
|
|
|
|
|
do not work with --enable-tiny (by Mike Frysinger).
|
2008-06-03 05:55:04 +00:00
|
|
|
|
|
2008-05-31 22:49:55 +00:00
|
|
|
|
2008-05-31 Chris Allegretta <chrisa@asty.org>
|
2008-05-31 23:09:40 +00:00
|
|
|
|
* files.c,proto.h,text.c: Fix for conflicts with AIX curses
|
2014-03-31 09:22:19 +00:00
|
|
|
|
variables, from William Jojo <jojowil@hvcc.edu>.
|
2008-05-31 23:09:40 +00:00
|
|
|
|
|
|
|
|
|
2008-05-31 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* global.c: Fix for compile error when --disable-speller is used
|
|
|
|
|
(Savannah bug #23227 by Mike Frysinger).
|
2008-04-02 04:08:09 +00:00
|
|
|
|
|
2008-05-31 22:23:16 +00:00
|
|
|
|
2008-05-31 Chris Allegretta <chrisa@asty.org>
|
2014-03-31 09:22:19 +00:00
|
|
|
|
* Fix for seg fault when window size is too small,
|
|
|
|
|
by Andreas Amann <andreas.amann@tyndall.ie>.
|
2008-05-31 22:23:16 +00:00
|
|
|
|
|
2008-05-31 22:33:32 +00:00
|
|
|
|
GNU nano 2.1.1 - 2008.04.01
|
2008-05-31 21:59:53 +00:00
|
|
|
|
2008-05-31 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* Added the following contributed files, by owner:
|
|
|
|
|
Donnie Berkholz <dberkholz@gentoo.org>
|
|
|
|
|
* Sample awk.nanorc
|
|
|
|
|
Simon Rupf <simon.rupf@int-ag.ch>
|
|
|
|
|
* Sample css.nanorc
|
|
|
|
|
Josef 'Jupp' Schugt <jupp@rubyforge.org>
|
|
|
|
|
* sample ruby.nanorc
|
|
|
|
|
|
2008-04-02 04:08:09 +00:00
|
|
|
|
2008-03-31 Chris Allegretta <chrisa@asty.org>
|
|
|
|
|
* global.c: Fix for issues compiling with --enable-tiny and
|
|
|
|
|
--enable-multibuffer, as reported by Mike Frysinger.
|
|
|
|
|
* files.c: Fix the fact that the insert file prompt text did not
|
|
|
|
|
properly appears in tiny mode.
|
|
|
|
|
|
2008-03-20 05:56:46 +00:00
|
|
|
|
2008-03-19 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
* help.c, nano.c: Fix toggle help not being translated, fix allocation
|
|
|
|
|
issue.
|
|
|
|
|
|
2008-03-20 04:57:46 +00:00
|
|
|
|
2008-03-19 Chris Allegretta <chrisa@asty.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* global.c: Fix bracket matching sequence to be M-] not M-[, as reported
|
2008-03-20 04:57:46 +00:00
|
|
|
|
Nick Warne <nick@ukfsn.org>.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* doc/syntax/Makefile.am: Actually include new syntaxes from Mike, etc.
|
|
|
|
|
* debian.nanorc: New debian sources.list config since we're including
|
|
|
|
|
gentoo, adapted from Milian Wolff <mail@milianw.de>.
|
2008-03-20 04:57:46 +00:00
|
|
|
|
|
|
|
|
|
2008-03-18 Mike Frysinger <vapier@gentoo.org>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* winio.c: Remove unneeded variable in parse_kbinput().
|
|
|
|
|
* rcfile.c: Relocate check_vitals_mapped() function to just above where
|
|
|
|
|
it actually gets used and declare it "static void" in the process.
|
|
|
|
|
* global.c: Only declare nano_justify_msg when justify support is enabled.
|
|
|
|
|
* php.nanorc: Php syntax highlighting config.
|
|
|
|
|
* tcl.nanorc: Tcl syntax highlighting config.
|
|
|
|
|
* gentoo.nanorc: Gentoo syntax highlighting config.
|
2008-03-20 04:45:55 +00:00
|
|
|
|
|
2008-03-18 03:06:27 +00:00
|
|
|
|
2008-03-17 Benno Schulenberg <bensberg@justemail.net>
|
2008-03-20 04:45:55 +00:00
|
|
|
|
* global.c: Fix incorrect first line jump messsage, fix
|
2014-03-30 21:23:40 +00:00
|
|
|
|
more comments to assist translators.
|
2008-03-20 04:45:55 +00:00
|
|
|
|
* winio.c: Fix shortcut labels not being translated.
|
2008-03-18 03:06:27 +00:00
|
|
|
|
|
2008-03-18 02:44:39 +00:00
|
|
|
|
2008-03-17 Mike Frysinger <vapier@gentoo.org>
|
2014-07-07 18:46:47 +00:00
|
|
|
|
* */.gitignore: Git ignore files for those running a local git
|
|
|
|
|
against SVN.
|
2008-03-18 02:44:39 +00:00
|
|
|
|
|
2008-03-16 23:57:14 +00:00
|
|
|
|
2008-03-16 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/help.c, src/global: Fix help strings no longer being
|
2008-03-16 23:57:14 +00:00
|
|
|
|
translated properly.
|
2014-03-30 21:23:40 +00:00
|
|
|
|
* src/global.c, doc/man/nanorc.5: Fix typos and poorly worded
|
|
|
|
|
lines in the source and man pages.
|
2008-03-16 23:57:14 +00:00
|
|
|
|
|
2008-03-05 07:35:01 +00:00
|
|
|
|
2008-03-04 Chris Allegretta <chrisa@asty.org
|
2008-03-18 03:06:27 +00:00
|
|
|
|
* everything: New shortcut backend. New structs subnfunc
|
2014-03-30 21:23:40 +00:00
|
|
|
|
for menu functions and toggles and sc for shortcut keys, old
|
|
|
|
|
'shortcut' and 'toggles' structs are gone. The current implementation
|
|
|
|
|
has a bunch of broken stuff (some of which is documented in BUGS).
|
2008-03-05 07:35:01 +00:00
|
|
|
|
Updated nanorc.5 with some mostly complete documentation on configuring.
|
|
|
|
|
|
2007-12-20 18:41:04 +00:00
|
|
|
|
2007-12-20 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* AUTHORS, doc/faq.html: Update maintenance information.
|
2007-12-20 18:57:41 +00:00
|
|
|
|
* NEWS: Resync with NEWS from the 2.0 branch.
|
2007-12-20 18:41:04 +00:00
|
|
|
|
|
2007-12-18 22:00:17 +00:00
|
|
|
|
2007-12-18 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nano.c (print_opt_full): Use strlenpt() instead of strlen(),
|
|
|
|
|
so that tabs are placed properly when displaying translated
|
|
|
|
|
strings in UTF-8, as found by Jean-Philippe Guérard.
|
|
|
|
|
|
2007-12-17 23:05:11 +00:00
|
|
|
|
2007-12-17 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-12-18 15:55:48 +00:00
|
|
|
|
* configure.ac, doc/texinfo/nano.texi, nano.c (terminal_init):
|
|
|
|
|
Change slang curses emulation support to turn off the same
|
|
|
|
|
options as --enable-tiny, as it's hopelessly broken otherwise.
|
2007-12-18 02:03:00 +00:00
|
|
|
|
* nano.c (disable_signals, main): Simplify terminal handling by
|
2007-12-18 15:55:48 +00:00
|
|
|
|
using raw mode instead of cbreak mode.
|
2007-12-18 01:28:53 +00:00
|
|
|
|
* text.c (execute_command): Call terminal_init() instead of just
|
|
|
|
|
disable_signals() after executing the command, as the command
|
|
|
|
|
may have changed the terminal settings.
|
2007-12-18 02:03:00 +00:00
|
|
|
|
* ChangeLog.pre-2.1: Add missing attribution.
|
|
|
|
|
* NEWS: Resync with NEWS from the 2.0 branch.
|
2007-12-17 23:05:11 +00:00
|
|
|
|
|
2007-12-10 17:59:26 +00:00
|
|
|
|
2007-12-10 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nano.c (main): Exit if initscr() fails.
|
|
|
|
|
|
2007-12-09 18:28:36 +00:00
|
|
|
|
2007-12-09 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* faq.html: Add minor punctuation and wording fixes, and update
|
|
|
|
|
various sections to account for Alpine.
|
|
|
|
|
|
2007-12-08 07:00:27 +00:00
|
|
|
|
2007-12-08 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* prompt.c (do_statusbar_mouse, reset_statusbar_cursor,
|
|
|
|
|
update_statusbar_line, need_statusbar_horizontal_update): Fix
|
|
|
|
|
minor display and cursor placement problems when scrolling
|
|
|
|
|
between pages at the statusbar prompt.
|
|
|
|
|
|
2007-12-08 04:21:15 +00:00
|
|
|
|
2007-12-07 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* winio.c (get_mouseinput): Fix longstanding problem where mouse
|
|
|
|
|
clicks on the statusbar prompt text wouldn't be recognized
|
|
|
|
|
unless the NO_HELP flag was turned off.
|
2007-12-08 04:27:44 +00:00
|
|
|
|
* doc/man/rnano.1, doc/man/fr/rnano.1: Update copyright notices,
|
|
|
|
|
as Thijs Kinkhorst's copyrights have now been assigned to the
|
|
|
|
|
Free Software Foundation.
|
2007-12-08 04:21:15 +00:00
|
|
|
|
|
2007-12-04 16:38:47 +00:00
|
|
|
|
2007-12-04 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nano.c (main), prompt.c (get_prompt_string), winio.c
|
|
|
|
|
(do_replace_highlight): Per OKATA Akio's patch, with minor
|
|
|
|
|
tweaks by me, add wnoutrefresh() calls after
|
|
|
|
|
reset_(statusbar_)?cursor() calls, to ensure that the cursor is
|
|
|
|
|
placed properly when using NetBSD curses.
|
2007-12-04 20:49:09 +00:00
|
|
|
|
* nano.c (disable_mouse_support, enable_mouse_support): When
|
|
|
|
|
toggling mouse support on or off, save and restore the mouse
|
|
|
|
|
click interval.
|
2007-12-04 16:38:47 +00:00
|
|
|
|
|
2007-11-29 19:09:21 +00:00
|
|
|
|
2007-11-29 Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org>
|
|
|
|
|
|
|
|
|
|
* doc/man/fr/*.1, doc/man/fr/nanorc.5: Fix copyright notices.
|
|
|
|
|
The copyrights are disclaimed on these translations, but the
|
|
|
|
|
copyrights of the untranslated works also apply.
|
|
|
|
|
|
2007-11-28 17:09:42 +00:00
|
|
|
|
2007-11-28 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/man/fr/nanorc.5: Remove trailing whitespace.
|
|
|
|
|
|
2007-11-17 20:34:38 +00:00
|
|
|
|
2007-11-17 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* files.c (read_file): Improve autodetection of DOS and Mac
|
|
|
|
|
format files to not trigger on carriage returns in the middle of
|
|
|
|
|
files, as found by Kjell Braden.
|
|
|
|
|
|
2007-11-06 22:58:33 +00:00
|
|
|
|
2007-11-06 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/man/rnano.1, doc/man/fr/rnano.1: Update copyright notices,
|
|
|
|
|
as Jordi Mallach's copyrights have now been assigned to the Free
|
|
|
|
|
Software Foundation.
|
|
|
|
|
|
2007-11-05 17:18:16 +00:00
|
|
|
|
2007-11-05 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* search.c (do_gotolinecolumn): Use a clearer error message if
|
|
|
|
|
we enter an invalid line or column number, per Mike Melanson's
|
|
|
|
|
suggestion.
|
|
|
|
|
|
2007-10-11 05:01:32 +00:00
|
|
|
|
2007-10-11 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/man/nano.1, doc/man/fr/nano.1, doc/texinfo/nano.texi,
|
|
|
|
|
src/*.c, src/*.h: Update copyright notices, as Chris
|
|
|
|
|
Allegretta's copyrights have now been assigned to the Free
|
|
|
|
|
Software Foundation.
|
|
|
|
|
* doc/man/nanorc.5, doc/man/fr/nanorc.5: Make copyright notices
|
|
|
|
|
for these files consistent in style.
|
2007-10-11 15:19:45 +00:00
|
|
|
|
* files.c (cwd_tab_completion): Remove unneeded assert.
|
2007-10-11 15:38:32 +00:00
|
|
|
|
* files.c (username_tab_completion, cwd_tab_completion): Rename
|
|
|
|
|
variable buflen to buf_len, for consistency.
|
2007-10-11 15:49:08 +00:00
|
|
|
|
* files.c (input_tab): Disable completion of usernames,
|
|
|
|
|
directories, and filenames if the cursor isn't at the end of the
|
|
|
|
|
line, as it can lead to odd behavior (e.g. adding a copy of the
|
|
|
|
|
entire match to the middle of the line instead of just the
|
|
|
|
|
uncompleted part of the match).
|
2007-10-11 05:01:32 +00:00
|
|
|
|
|
2007-10-05 16:44:45 +00:00
|
|
|
|
2007-10-05 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* src/*.c, src/*.h: Update copyright notices, as my copyrights
|
|
|
|
|
have now been assigned to the Free Software Foundation.
|
|
|
|
|
|
2007-09-16 16:53:20 +00:00
|
|
|
|
2007-09-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* winio.c (edit_scroll): Fix problem where the screen wouldn't
|
|
|
|
|
be updated properly if you paged up with the first line of the
|
|
|
|
|
file onscreen and the mark on.
|
|
|
|
|
|
2007-08-26 15:21:05 +00:00
|
|
|
|
2007-08-26 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/faq.html: Update links to the Free Translation Project.
|
|
|
|
|
|
2007-08-24 00:36:51 +00:00
|
|
|
|
2007-08-23 Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org>
|
|
|
|
|
|
|
|
|
|
* doc/man/fr/*.1, doc/man/fr/nanorc.5: Add translation of new
|
|
|
|
|
licensing terms.
|
|
|
|
|
|
2007-08-23 14:00:58 +00:00
|
|
|
|
2007-08-23 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/man/fr/*.1, doc/man/fr/nanorc.5: Delete translation of
|
|
|
|
|
old licensing terms, until it can be updated.
|
|
|
|
|
|
2007-08-23 04:34:35 +00:00
|
|
|
|
2007-08-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* COPYING.DOC: Add a copy of the GNU FDL version 1.2.
|
|
|
|
|
* Makefile.am: Add COPYING.DOC to EXTRA_DIST.
|
|
|
|
|
* doc/man/*.1, doc/man/nanorc.5, doc/man/fr/*.1,
|
|
|
|
|
doc/man/fr/nanorc.5, doc/texinfo/nano.texi: Relicense to the GNU
|
|
|
|
|
GPL version 3 or later/the GNU FDL version 1.2 or later with no
|
|
|
|
|
Invariant Sections, Front-Cover Texts, or Back-Cover Texts.
|
|
|
|
|
|
2007-08-21 16:38:43 +00:00
|
|
|
|
2007-08-21 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-08-21 17:00:42 +00:00
|
|
|
|
* doc/man/rnano.1, doc/man/fr/rnano.1: Add missing copyright
|
|
|
|
|
notice from nano-tiny.1, which rnano.1 is based on.
|
|
|
|
|
* doc/man/fr/nano.1, doc/man/fr/nanorc.5, doc/man/fr/rnano.1:
|
|
|
|
|
Make all copyright notices consistent.
|
2007-08-21 16:38:43 +00:00
|
|
|
|
|
2007-08-16 14:45:17 +00:00
|
|
|
|
2007-08-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* files.c (do_insertfile): Properly handle more cases of
|
|
|
|
|
inserting a file with the mark on.
|
|
|
|
|
* nano.c (copy_from_file): Properly handle more cases of
|
|
|
|
|
uncutting text with the mark on.
|
|
|
|
|
|
2007-08-15 22:40:33 +00:00
|
|
|
|
2007-08-15 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Remove erroneous backslash after
|
|
|
|
|
ChangeLog.pre-2.1 in EXTRA_DIST, so that "make dist" works
|
|
|
|
|
again.
|
2007-08-16 02:34:23 +00:00
|
|
|
|
* files.c (do_insertfile): Make sure the mark is always properly
|
2007-08-16 03:23:30 +00:00
|
|
|
|
positioned after inserting a file with the mark on.
|
|
|
|
|
* nano.c (copy_from_file): Make sure the mark is always properly
|
|
|
|
|
positioned after uncutting multiple lines with the mark on.
|
2007-08-15 22:40:33 +00:00
|
|
|
|
|
2007-08-11 05:17:36 +00:00
|
|
|
|
2007-08-11 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* COPYING: Add a copy of the GNU GPL version 3.
|
|
|
|
|
* configure.ac, *.c, *.h: Relicense to the GNU GPL version 3 or
|
|
|
|
|
later.
|
|
|
|
|
|
2007-08-10 17:03:29 +00:00
|
|
|
|
2007-08-10 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-08-10 22:12:39 +00:00
|
|
|
|
* files.c (username_tab_completion, cwd_tab_completion,
|
|
|
|
|
input_tab): Update copyright notice to account for
|
|
|
|
|
modifications.
|
2007-08-10 17:03:29 +00:00
|
|
|
|
* utils.c (ngetdelim): Simplify.
|
|
|
|
|
* utils.c (ngetline, ngetdelim): Update copyright notice to
|
|
|
|
|
account for modifications.
|
|
|
|
|
|
2007-08-07 20:21:39 +00:00
|
|
|
|
2007-08-07 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nano.c (copy_from_file): Fix potential segfault, found by Paul
|
|
|
|
|
Goins, after uncutting one line of text with the mark on by
|
|
|
|
|
properly preserving the beginning of the mark.
|
|
|
|
|
* nano.c (copy_from_file): Make sure the mark is always properly
|
|
|
|
|
positioned after uncutting one line of text with the mark on.
|
|
|
|
|
|
2007-08-01 12:49:57 +00:00
|
|
|
|
2007-08-01 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* nano.c (version): Display copyright notices.
|
|
|
|
|
|
2007-07-31 21:20:08 +00:00
|
|
|
|
2007-07-31 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-08-01 01:28:39 +00:00
|
|
|
|
* configure.ac: Update copyright notice to account for
|
|
|
|
|
modifications.
|
2007-07-31 21:20:08 +00:00
|
|
|
|
|
2007-07-29 16:30:27 +00:00
|
|
|
|
2007-07-29 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/faq.html: Update RPM links for nano 2.0.x.
|
|
|
|
|
|
2007-07-12 03:12:31 +00:00
|
|
|
|
2007-07-11 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* files.c (copy_file): Assert that inn and out don't both point
|
|
|
|
|
to the same file.
|
|
|
|
|
|
2007-07-10 22:54:58 +00:00
|
|
|
|
2007-07-10 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
2007-07-14 16:41:40 +00:00
|
|
|
|
mbrevstrcasestr): Simplify and rewrite to use the strncasecmp()
|
|
|
|
|
equivalents.
|
2007-07-10 22:54:58 +00:00
|
|
|
|
|
2007-07-09 22:36:32 +00:00
|
|
|
|
2007-07-09 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-07-09 22:57:07 +00:00
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
|
|
|
|
mbrevstrcasestr): Fix typo that broke the check for needle's
|
|
|
|
|
being blank.
|
2007-07-09 22:36:32 +00:00
|
|
|
|
* chars.c (mbstrncasecmp, mbstrnlen, mbstrpbrk,
|
|
|
|
|
has_blank_mbchars): Simplify by using for loops instead of while
|
|
|
|
|
loops where possible, to match the single-byte versions of these
|
|
|
|
|
functions.
|
2007-07-09 23:24:37 +00:00
|
|
|
|
* search.c (do_replace_loop): Fix problem where replacing e.g.
|
|
|
|
|
single-byte characters with multibyte ones could result in
|
|
|
|
|
openfile->totsize's being miscalculated.
|
2007-07-09 22:36:32 +00:00
|
|
|
|
|
2007-07-06 13:44:13 +00:00
|
|
|
|
2007-07-06 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
|
|
|
|
mbrevstrcasestr): Return char* instead of const char*.
|
|
|
|
|
|
2007-07-02 15:45:13 +00:00
|
|
|
|
2007-07-02 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
2007-07-02 15:49:05 +00:00
|
|
|
|
mbrevstrcasestr): For efficiency, return haystack/rev_start
|
|
|
|
|
immediately if needle is blank.
|
2007-07-02 15:45:13 +00:00
|
|
|
|
|
2007-07-01 21:46:00 +00:00
|
|
|
|
2007-07-01 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* chars.c (nstrncasecmp, mbstrncasecmp): For efficiency, return
|
|
|
|
|
zero immediately if s1 and s2 point to the same string.
|
|
|
|
|
|
2007-06-30 21:19:42 +00:00
|
|
|
|
2007-06-30 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* prompt.c (do_yesno_prompt): Remove redundant check for
|
|
|
|
|
NO_HELP's being FALSE.
|
|
|
|
|
|
2007-06-28 16:00:50 +00:00
|
|
|
|
2007-06-28 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* browser.c (do_browser), nano.c (do_mouse), prompt.c
|
|
|
|
|
(do_statusbar_mouse, do_yesno_prompt): Further simplify
|
|
|
|
|
processing of mouse events by consolidating if clauses.
|
2007-06-28 17:46:04 +00:00
|
|
|
|
* winio.c (do_mouseinput): Return unconditionally if we get a
|
|
|
|
|
mouse event that we don't deal with, instead of inside an else
|
|
|
|
|
clause.
|
2007-06-28 16:00:50 +00:00
|
|
|
|
|
2007-05-29 17:01:12 +00:00
|
|
|
|
2007-05-29 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* winio.c (do_mouseinput): Deal with clicks of the first mouse
|
|
|
|
|
button again. Oddly, ncurses built without --enable-ext-mouse
|
|
|
|
|
needs this, but ncurses built with --enable-ext-mouse doesn't.
|
|
|
|
|
|
2007-05-25 14:39:40 +00:00
|
|
|
|
2007-05-25 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac, nano.c (main): Replace the current hackish check
|
|
|
|
|
for a UTF-8 locale with a proper call to nl_langinfo().
|
2007-05-25 16:54:06 +00:00
|
|
|
|
* winio.c (get_key_buffer): Fix inaccurate comments.
|
2007-05-25 14:39:40 +00:00
|
|
|
|
|
2007-05-22 17:20:28 +00:00
|
|
|
|
2007-05-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* browser.c (do_browser), nano.c (do_mouse), prompt.c
|
|
|
|
|
(do_statusbar_mouse, do_yesno_prompt), winio.c (do_mouseinput):
|
|
|
|
|
Simplify processing of mouse events. Instead of calling
|
|
|
|
|
wenclose() to get the window a mouse event took place in and
|
|
|
|
|
manually adjusting the returned coordinates to be relative to
|
|
|
|
|
that window the mouse event took place in, call wmouse_trafo(),
|
|
|
|
|
which does both.
|
|
|
|
|
|
2007-05-20 23:41:56 +00:00
|
|
|
|
2007-05-20 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-05-22 17:18:06 +00:00
|
|
|
|
* browser.c (do_browser), nano.c (do_mouse), prompt.c
|
|
|
|
|
(do_statusbar_mouse, do_yesno_prompt), winio.c (do_mouseinput):
|
|
|
|
|
Fix processing of mouse events so that those we don't handle are
|
|
|
|
|
ignored instead of being erroneously passed through.
|
2007-05-20 23:41:56 +00:00
|
|
|
|
* winio.c (do_mouseinput): Simplify handling of mouse events
|
2007-05-29 17:01:12 +00:00
|
|
|
|
involving the first mouse button by only dealing with releases.
|
2007-05-20 23:41:56 +00:00
|
|
|
|
* winio.c (do_mouseinput): Improve mouse wheel support to only
|
|
|
|
|
move the cursor if we're in the edit window or on the statusbar.
|
|
|
|
|
|
2007-05-15 18:04:25 +00:00
|
|
|
|
2007-05-15 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* winio.c (do_mouseinput): Add mouse wheel support, per Helmut
|
2007-05-15 19:33:56 +00:00
|
|
|
|
Jarausch's suggestion. Now, if mouse support is enabled, and
|
|
|
|
|
nano is using a version of ncurses compiled with the
|
2007-05-15 18:04:25 +00:00
|
|
|
|
--enable-ext-mouse option, rolling the mouse wheel up or down
|
|
|
|
|
will move the cursor three lines up or down.
|
|
|
|
|
|
2007-04-23 15:39:01 +00:00
|
|
|
|
2007-04-23 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* TODO: Add entries for fixing limitations with pasting text and
|
|
|
|
|
handling bad/incomplete UTF-8 sequences.
|
|
|
|
|
|
2007-04-22 15:04:05 +00:00
|
|
|
|
2007-04-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* text.c (backup_lines): Avoid a segfault when the mark begins
|
|
|
|
|
and ends on the line after the last line of the paragraph.
|
|
|
|
|
|
2007-04-21 18:23:06 +00:00
|
|
|
|
2007-04-21 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-04-21 18:57:47 +00:00
|
|
|
|
* files.c (do_writeout): If we're in restricted mode, we're not
|
|
|
|
|
allowed to write selections to files, so don't display the
|
|
|
|
|
"Write Selection to File" prompt.
|
2007-04-21 18:23:06 +00:00
|
|
|
|
* files.c (do_writeout): Simplify.
|
|
|
|
|
|
2007-04-19 04:12:54 +00:00
|
|
|
|
2007-04-19 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* files.c (tail): Remove unneeded if statement.
|
|
|
|
|
|
2007-04-18 23:15:30 +00:00
|
|
|
|
2007-04-18 John M. Gabriele <jmg3000@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/faq.html: Add a new section 4.14 (with minor tweaks by
|
|
|
|
|
David Lawrence Ramsey) to explain how autoindent affects pasted
|
|
|
|
|
text.
|
|
|
|
|
|
2007-04-18 13:48:37 +00:00
|
|
|
|
2007-04-18 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-04-18 18:22:13 +00:00
|
|
|
|
* files.c (open_file): Open files using their full paths
|
|
|
|
|
whenever possible, so that ~user/file.txt and "~user/file.txt"
|
|
|
|
|
are treated the same way if ~user is a user's home directory.
|
2007-04-18 17:13:36 +00:00
|
|
|
|
* files.c (real_dir_from_tilde): Simplify.
|
2007-04-18 19:09:44 +00:00
|
|
|
|
* files.c (do_writeout): Properly display the warning in all
|
|
|
|
|
cases if we try to save (a) an existing file under a different
|
|
|
|
|
name, or (b) a file with no name under an existing file's name.
|
|
|
|
|
* files.c (do_writeout): Rename variable different_name to
|
|
|
|
|
do_warning, for clarity.
|
2007-04-18 18:22:13 +00:00
|
|
|
|
* rcfile.c (parse_include): Open files using their full paths
|
|
|
|
|
whenever possible, so that ~user/file.txt and "~user/file.txt"
|
|
|
|
|
are treated the same way if ~user is a user's home directory.
|
|
|
|
|
* rcfile.c (parse_include): Properly check for the included
|
|
|
|
|
file's being a directory, a character file, or a block file.
|
|
|
|
|
* rcfile.c (parse_include): For consistency, display the
|
|
|
|
|
filename as the user entered it if we can't read the specified
|
|
|
|
|
file.
|
2007-04-18 14:06:34 +00:00
|
|
|
|
* winio.c (parse_kbinput): Interpret Cancel and Shift-Cancel.
|
2007-04-18 13:48:37 +00:00
|
|
|
|
* winio.c (get_escape_seq_kbinput): Add missing comments.
|
|
|
|
|
|
2007-04-17 04:38:30 +00:00
|
|
|
|
2007-04-17 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-04-18 13:45:57 +00:00
|
|
|
|
* files.c (real_dir_from_tilde): Fix long-standing problem,
|
|
|
|
|
found by Justin Fletcher, where directory names that began with
|
|
|
|
|
"~", but that weren't users' home directories, could be
|
|
|
|
|
erroneously treated as users' home directories (e.g. "~d/" would
|
|
|
|
|
be treated as "~daemon/").
|
2007-04-17 18:12:19 +00:00
|
|
|
|
* files.c (input_tab): Don't bother checking if num_matches is
|
2007-04-18 13:45:57 +00:00
|
|
|
|
less than zero, as it's a size_t and hence unsigned.
|
2007-04-17 04:38:30 +00:00
|
|
|
|
|
2007-04-17 03:43:59 +00:00
|
|
|
|
2007-04-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
2007-04-18 13:45:57 +00:00
|
|
|
|
* files.c (real_dir_from_tilde): Fix segfault, found by Justin
|
|
|
|
|
Fletcher, when dealing with directory names that begin with "~",
|
|
|
|
|
but that aren't users' home directories.
|
2007-04-17 03:43:59 +00:00
|
|
|
|
|
2007-04-11 22:18:16 +00:00
|
|
|
|
2007-04-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* doc/syntax/asm.nanorc, doc/syntax/c.nanorc,
|
|
|
|
|
doc/syntax/sh.nanorc: Copy the regex that highlights trailing
|
2007-04-18 13:45:57 +00:00
|
|
|
|
whitespace (with minor tweaks by David Lawrence Ramsey) from
|
|
|
|
|
doc/syntax/java.nanorc to these files, as it's also useful in
|
|
|
|
|
them.
|
2007-04-11 22:18:16 +00:00
|
|
|
|
|
2007-04-04 20:00:24 +00:00
|
|
|
|
2007-04-04 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
|
|
* AUTHORS, faq.html: Update email address.
|
2007-04-04 20:36:56 +00:00
|
|
|
|
* winio.c (get_escape_seq_kbinput): Add escape sequences for
|
|
|
|
|
Terminal.
|
2007-04-04 20:00:24 +00:00
|
|
|
|
|
2007-02-01 13:40:59 +00:00
|
|
|
|
2007-02-01 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
|
|
|
|
|
* global.c (shortcut_init): Reword the movement shortcut
|
|
|
|
|
descriptions so that they use "Go to" instead of "Move to",
|
|
|
|
|
since not all of them move the cursor in the same way.
|
|
|
|
|
* global.c (shortcut_init): Reword the paragraph movement
|
|
|
|
|
shortcut descriptions to more accurately describe how they work.
|
2007-02-01 15:25:29 +00:00
|
|
|
|
* nano.c (usage): Reword the description of the -S/--smooth
|
|
|
|
|
command line option in order to differentiate it from the
|
|
|
|
|
associated toggle description.
|
2007-02-01 13:40:59 +00:00
|
|
|
|
|
2007-01-30 19:48:52 +00:00
|
|
|
|
2007-01-29 David Lawrence Ramsey <pooka109@cox.net>
|
2007-01-29 15:45:50 +00:00
|
|
|
|
|
|
|
|
|
* ChangeLog: Rework the 2.1 branch's changelog to be more
|
|
|
|
|
readable, per Jordi Mallach's suggestion.
|
|
|
|
|
* ChangeLog.pre-2.1: Move the 2.0 branch's changelog here, per
|
|
|
|
|
Jordi Mallach's suggestion.
|
2007-01-29 15:54:21 +00:00
|
|
|
|
* Makefile.am: Add ChangeLog.pre-2.1 to EXTRA_DIST.
|
2007-01-29 15:45:50 +00:00
|
|
|
|
* src/help.c (help_init): Add a missing space to the "Execute
|
|
|
|
|
Command" help text.
|