Bram Moolenaar [Sat, 29 Jun 2019 01:42:42 +0000 (03:42 +0200)]
patch 8.1.1606: on a narrow screen ":hi" output is confusing
Problem: On a narrow screen ":hi" output is confusing.
Solution: Insert a space between highlight group name and "xxx". (Masato
Nishihaga, closes #4599)
Bram Moolenaar [Fri, 28 Jun 2019 02:06:50 +0000 (04:06 +0200)]
patch 8.1.1602: popup window cannot overflow on the left or right
Problem: Popup window cannot overflow on the left or right.
Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol
to allow for the popup overflowing on the left and use it when
applying the mask.
Bram Moolenaar [Tue, 25 Jun 2019 23:03:53 +0000 (01:03 +0200)]
patch 8.1.1596: when resizing the screen may draw popup in wrong position
Problem: When resizing the screen may draw popup in wrong position. (Masato
Nishihata)
Solution: Check the popup is not outside of the screen. (fixes #4592)
Bram Moolenaar [Tue, 25 Jun 2019 21:40:29 +0000 (23:40 +0200)]
patch 8.1.1594: may still start file dialog while exiting
Problem: May still start file dialog while exiting.
Solution: Ignore the "browse" modifier in another place when exiiting.
(Ozaki Kiichi, closes #4582)
Bram Moolenaar [Tue, 25 Jun 2019 19:34:26 +0000 (21:34 +0200)]
patch 8.1.1593: filetype not detected for C++ header files without extension
Problem: Filetype not detected for C++ header files without extension.
Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin,
closes #4593)
Bram Moolenaar [Mon, 24 Jun 2019 03:45:14 +0000 (05:45 +0200)]
patch 8.1.1587: redraw problem when sign icons in the number column
Problem: Redraw problem when sign icons in the number column.
Solution: Clear and redraw when changing related options. Right aligh the
sign icon in the GUI. (Yegappan Lakshmanan, closes #4578)
Bram Moolenaar [Sun, 23 Jun 2019 22:58:07 +0000 (00:58 +0200)]
patch 8.1.1585: :let-heredoc does not trim enough
Problem: :let-heredoc does not trim enough.
Solution: Trim indent from the contents based on the indent of the first
line. Use let-heredoc in more tests.
Bram Moolenaar [Fri, 21 Jun 2019 23:40:42 +0000 (01:40 +0200)]
patch 8.1.1579: dict and list could be GC'ed while displaying error
Problem: Dict and list could be GC'ed while displaying error in a timer.
(Yasuhiro Matsumoto)
Solution: Block garbage collection when executing a timer. Add
test_garbagecollect_soon(). Add "no_wait_return" to
test_override(). (closes #4571)
Bram Moolenaar [Fri, 21 Jun 2019 00:30:38 +0000 (02:30 +0200)]
patch 8.1.1577: command line redrawn for +arabic without Arabic characters
Problem: Command line redrawn for +arabic without Arabic characters.
(Dominique Pelle)
Solution: Check if there actually are any Arabic characters. Do redraw
after displaying incsearch. (closes #4569)
Bram Moolenaar [Mon, 17 Jun 2019 20:40:41 +0000 (22:40 +0200)]
patch 8.1.1566: error message when terminal closes in another tab
Problem: Error message when terminal closes while it is not in the current
tab.
Solution: Also set "do_set_w_closing" when using the special autocommand
window. (closes #4552)
Bram Moolenaar [Mon, 17 Jun 2019 19:48:05 +0000 (21:48 +0200)]
patch 8.1.1564: sign column takes up space
Problem: Sign column takes up space. (Adam Stankiewicz)
Solution: Optionally put signs in the number column. (Yegappan Lakshmanan,
closes #4555, closes #4515)
Bram Moolenaar [Mon, 17 Jun 2019 19:18:41 +0000 (21:18 +0200)]
patch 8.1.1563: crash when using closures
Problem: Crash when using closures.
Solution: Set reference in varlist of funccal when running the garbage
collector. (Ozaki Kiichi, closes #4554, closes #4547)
Bram Moolenaar [Sun, 16 Jun 2019 17:05:31 +0000 (19:05 +0200)]
patch 8.1.1558: popup_menu() and popup_filter_menu() are not implemented yet
Problem: Popup_menu() and popup_filter_menu() are not implemented yet.
Solution: Implement the functions. Fix that centering didn't take the border
and padding into account.
Bram Moolenaar [Sun, 16 Jun 2019 14:14:20 +0000 (16:14 +0200)]
patch 8.1.1556: command for failing screenshot does not include directory
Problem: The command displayed to show a failing screenshot does not include
the "testdir" directory.
Solution: Prefix the directory name so that it can be copy-pasted.
Bram Moolenaar [Sun, 16 Jun 2019 13:32:14 +0000 (15:32 +0200)]
patch 8.1.1553: not easy to change the text in a popup window
Problem: Not easy to change the text in a popup window.
Solution: Add popup_settext(). (Ben Jackson, closes #4549)
Also display a space for an empty popup.
Bram Moolenaar [Sun, 16 Jun 2019 11:55:40 +0000 (13:55 +0200)]
patch 8.1.1552: cursor position is wrong after sign column changes
Problem: Cursor position is wrong after sign column appears or disappears.
(Yegappan Lakshmanan)
Solution: Call changed_line_abv_curs() instead of changed_cline_bef_curs().
Bram Moolenaar [Sat, 15 Jun 2019 15:58:09 +0000 (17:58 +0200)]
patch 8.1.1544: some balloon tests don't run when they can
Problem: Some balloon tests don't run when they can.
Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
closes #4538) Change the feature check into a command for
consistency.
Bram Moolenaar [Sat, 15 Jun 2019 15:12:48 +0000 (17:12 +0200)]
patch 8.1.1542: an OptionSet autocommand does not get enough info
Problem: An OptionSet autocommand does not get enough info.
Solution: Add v:option_command, v:option_oldlocal and v:option_oldglobal.
(Latrice Wilgus, closes #4118)
Bram Moolenaar [Fri, 14 Jun 2019 18:47:49 +0000 (20:47 +0200)]
patch 8.1.1530: Travis config is not optimal
Problem: Travis config is not optimal.
Solution: Remove system conditions. Do not use excluding matrix. Cache OSX
results. (Ozaki Kiichi, closes #4521)
Bram Moolenaar [Fri, 14 Jun 2019 17:23:57 +0000 (19:23 +0200)]
patch 8.1.1527: when moving popup window over the cmdline it is not redrawn
Problem: When moving a popup window over the command line it is not
redrawn.
Solution: Redraw the command line. Move popup redrawing code to the popupwin
file.
Bram Moolenaar [Wed, 12 Jun 2019 18:22:27 +0000 (20:22 +0200)]
patch 8.1.1520: popup windows are ignored when dealing with mouse position
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
Bram Moolenaar [Mon, 10 Jun 2019 19:24:12 +0000 (21:24 +0200)]
patch 8.1.1517: when a popup changes all windows are redrawn
Problem: When a popup changes all windows are redrawn.
Solution: Only update the lines that were affected. Add a file for
profiling popup windows efficiency.