Bram Moolenaar [Wed, 16 Jan 2019 21:41:54 +0000 (22:41 +0100)]
patch 8.1.0759: showing two characters for tab is limited
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes #3810)
Bram Moolenaar [Mon, 14 Jan 2019 22:08:18 +0000 (23:08 +0100)]
patch 8.1.0750: when the last sign is deleted the signcolumn may remain
Problem: When the last sign is deleted the signcolumn may not be removed
even though 'signcolumn' is "auto".
Solution: When deleting the last sign redraw the buffer. (Dominique Pelle,
closes #3803, closes #3804)
Bram Moolenaar [Mon, 14 Jan 2019 20:51:40 +0000 (21:51 +0100)]
patch 8.1.0746: highlighting not updated with conceal and 'cursorline'
Problem: Highlighting not updated with conceal and 'cursorline'. (Jason
Franklin)
Solution: Do not use a zero line number. Check if 'conceallevel' is set for
the current window.
Bram Moolenaar [Sun, 13 Jan 2019 22:38:42 +0000 (23:38 +0100)]
patch 8.1.0743: giving error messages is not flexible
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
Bram Moolenaar [Sun, 13 Jan 2019 15:07:21 +0000 (16:07 +0100)]
patch 8.1.0738: using freed memory, for loop over blob leaks memory
Problem: Using freed memory, for loop over blob leaks memory.
Solution: Clear pointer after freeing memory. Decrement reference count
after for loop over blob.
Bram Moolenaar [Sat, 12 Jan 2019 15:10:51 +0000 (16:10 +0100)]
patch 8.1.0733: too many #ifdefs for the multi-byte feature
Problem: Too many #ifdefs for the multi-byte feature.
Solution: Tentatively always enable the multi-byte feature. If you have a
problem with this, please discuss on the Vim maillist.
Bram Moolenaar [Fri, 11 Jan 2019 12:02:23 +0000 (13:02 +0100)]
patch 8.1.0716: get warning message when 'completefunc' returns nothing
Problem: Get warning message when 'completefunc' returns nothing.
Solution: Allow for returning v:none to suppress the warning message.
(Yasuhiro Matsumoto, closes #3789)
Bram Moolenaar [Wed, 9 Jan 2019 21:24:49 +0000 (22:24 +0100)]
patch 8.1.0710: when using timers may wait for job exit quite long
Problem: When using timers may wait for job exit quite long.
Solution: Return from ui_wait_for_chars_or_timer() when a job or channel
needs to be handled. (Ozaki Kiichi, closes #3783)
Bram Moolenaar [Wed, 9 Jan 2019 20:47:30 +0000 (21:47 +0100)]
patch 8.1.0709: windows are updated for every added/deleted sign
Problem: Windows are updated for every added/deleted sign.
Solution: Do not call update_debug_sign(). Only redraw when the line with
the sign is visible. (idea from neovim #9479)
Bram Moolenaar [Tue, 8 Jan 2019 21:02:56 +0000 (22:02 +0100)]
patch 8.1.0706: tabline is not always redrawn
Problem: Tabline is not always redrawn when something that is used in
'tabline' changes.
Solution: Add ":redrawtabline" so that a plugin can at least cause the
redraw when needed.
Bram Moolenaar [Mon, 7 Jan 2019 21:10:00 +0000 (22:10 +0100)]
patch 8.1.0702: ":sign place" only uses the current buffer
Problem: ":sign place" only uses the current buffer.
Solution: List signs for all buffers when there is no buffer argument.
Fix error message for invalid buffer name in sign_place().
(Yegappan Lakshmanan, closes #3774)
Bram Moolenaar [Mon, 7 Jan 2019 20:16:53 +0000 (21:16 +0100)]
patch 8.1.0701: sign message not translated and inconsistent spacing
Problem: Sign message not translated and inconsistent spacing.
Solution: Add _() for translation. Add a space. (Ken Takata) Also use
MSG_BUF_LEN instead of BUFSIZ.
Bram Moolenaar [Sun, 6 Jan 2019 16:25:29 +0000 (17:25 +0100)]
patch 8.1.0698: clearing the window is used too often
Problem: Clearing the window is used too often, causing the command line
to be cleared when opening a tab. (Miroslav Koškár)
Solution: Use NOT_VALID instead of CLEAR. (suggested by Jason Franklin,
closes #630) Also do this for a few other places where clearing
the screen isn't really needed.
Bram Moolenaar [Sun, 6 Jan 2019 15:24:01 +0000 (16:24 +0100)]
patch 8.1.0697: ":sign place" requires the buffer argument
Problem: ":sign place" requires the buffer argument.
Solution: Make the argument optional. Also update the help and clean up the
sign test. (Yegappan Lakshmanan, closes #3767)
Bram Moolenaar [Sun, 6 Jan 2019 14:29:57 +0000 (15:29 +0100)]
patch 8.1.0696: when test_edit fails 'insertmode' may not be reset
Problem: When test_edit fails 'insertmode' may not be reset and the next
test may get stuck. (James McCoy)
Solution: Always reset 'insertmode' after executing a test. Avoid that an
InsertCharPre autocommand or a 'complete' function can change the
state. (closes #3768)
Bram Moolenaar [Sun, 6 Jan 2019 11:54:55 +0000 (12:54 +0100)]
patch 8.1.0694: when using text props may free memory that is not allocated
Problem: When using text props may free memory that is not allocated.
(Andy Massimino)
Solution: Allocate the line when adjusting text props. (closes #3766)
Bram Moolenaar [Fri, 4 Jan 2019 23:02:57 +0000 (00:02 +0100)]
patch 8.1.0692: if a buffer was deleted a channel can't write to it
Problem: If a buffer was deleted a channel can't write to it.
Solution: When the buffer exists but was unloaded, prepare it for writing.
(closes #3764)
Bram Moolenaar [Thu, 3 Jan 2019 21:58:08 +0000 (22:58 +0100)]
patch 8.1.0686: when 'y' is in 'cpoptions' yanking for the clipboard changes redo
Problem: When 'y' is in 'cpoptions' yanking for the clipboard changes redo.
Solution: Do not use the 'y' flag when "gui_yank" is TRUE. (Andy Massimino,
closes #3760)
Bram Moolenaar [Tue, 1 Jan 2019 21:19:08 +0000 (22:19 +0100)]
patch 8.1.0677: look-behind match may use the wrong line number
Problem: Look-behind match may use the wrong line number. (Dominique Pelle)
Solution: Use the line number in regsave instead of the one in behind_pos,
we may be looking at the previous line. (closes #3749)
Bram Moolenaar [Tue, 1 Jan 2019 12:20:31 +0000 (13:20 +0100)]
patch 8.1.0673: functionality for signs is spread out over several files
Problem: Functionality for signs is spread out over several files.
Solution: Move most of the sign functionality into sign.c. (Yegappan
Lakshmanan, closes #3751)
Bram Moolenaar [Mon, 31 Dec 2018 12:57:36 +0000 (13:57 +0100)]
patch 8.1.0665: text property display wrong when 'spell' is set
Problem: Text property display wrong when 'spell' is set. (Dominique Pelle)
Solution: Remove unnecessary assignment to char_attr. Combine attributes if
needed. Add a screenshot test.
Bram Moolenaar [Sun, 30 Dec 2018 21:55:47 +0000 (22:55 +0100)]
patch 8.1.0664: configure "fail-if-missing" does not apply to enable-gui
Problem: Configure "fail-if-missing" does not apply to the enable-gui
argument. (Rhialto)
Solution: Make configure fail if a GUI was specifified and "fail-if-missing"
is enabled and the GUI test fails.