Bram Moolenaar
35a4fbc5d0
patch 9.0.0296: message in popup is shortened unnecessary
...
Problem: Message in popup is shortened unnecessary.
Solution: Do not use 'showcmd' and 'ruler' for a message in the popup.
Set the timer when unhiding the message popup.
2022-08-28 14:39:53 +01:00
Bram Moolenaar
43568648df
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used
...
Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
Solution: Reset "message_win" when the message popup is cleared. Close the
popup when 'cmdheight' is non-zero. Add a screendump test.
2022-08-28 13:02:45 +01:00
Bram Moolenaar
9198de3ae2
patch 9.0.0288: when 'cmdheight' is zero some messages are not displayed
...
Problem: When 'cmdheight' is zero some messages are not displayed.
Solution: Use a popup notification window.
2022-08-27 21:30:03 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
113d9dec99
patch 9.0.0170: various minor code formatting issues
...
Problem: Various minor code formatting issues.
Solution: Improve code formatting.
2022-08-08 15:49:18 +01:00
Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
Bram Moolenaar
d61efa50f8
patch 9.0.0063: too many type casts for dict_get functions
...
Problem: Too many type casts for dict_get functions.
Solution: Change the key argument from "char_u *" to "char *".
2022-07-23 09:52:04 +01:00
Bram Moolenaar
8088ae95bb
patch 8.2.5138: various small issues
...
Problem: Various small issues.
Solution: Various small improvments.
2022-06-20 11:38:17 +01:00
Bram Moolenaar
10db31f949
patch 8.2.5045: can escape a terminal popup window when the job is finished
...
Problem: Can escape a terminal popup window when the job is finished.
Solution: Only check for a finished job where it is relevant.
(closes #10253 )
2022-05-30 17:58:03 +01:00
Bram Moolenaar
89b25585cc
patch 8.2.5042: scrollbar thumb in tall scrolled popup not visible
...
Problem: Scrollbar thumb in tall scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
2022-05-30 13:20:56 +01:00
Bram Moolenaar
fc376e0b1a
patch 8.2.5040: scrollbar thumb in scrolled popup not visible
...
Problem: Scrollbar thumb in scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
2022-05-29 18:18:18 +01:00
Bram Moolenaar
83bd7a9740
patch 8.2.5039: confusing error if first argument of popup_create() is wrong
...
Problem: Confusing error if first argument of popup_create() is wrong.
Solution: Give a more informative error.
2022-05-29 17:13:24 +01:00
Bram Moolenaar
d28950f954
patch 8.2.5038: a finished terminal in a popup window does not show scrollbar
...
Problem: A finished terminal in a popup window does not show a scrollbar.
Solution: Show the scrollbar if the terminal job is finished. (closes
#10497 )
2022-05-29 14:13:04 +01:00
Bram Moolenaar
27724251bc
patch 8.2.4913: popup_hide() does not always have effect
...
Problem: Popup_hide() does not always have effect.
Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376 )
2022-05-08 15:00:04 +01:00
LemonBoy
0044e5100a
patch 8.2.4799: popup does not use correct topline
...
Problem: Popup does not use correct topline.
Solution: Also add one when firstline is negative. (closes #10229 )
2022-04-20 19:47:37 +01:00
Bram Moolenaar
188639d75c
patch 8.2.4685: when a swap file is found for a popup there is no dialog
...
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073 )
2022-04-04 16:57:21 +01:00
Yegappan Lakshmanan
4829c1c9e9
patch 8.2.4683: verbose check with dict_find() to see if a key is present
...
Problem: Verbose check with dict_find() to see if a key is present.
Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074 )
2022-04-04 15:16:54 +01:00
Yegappan Lakshmanan
0dac1ab579
patch 8.2.4668: buffer allocation failures insufficiently tested
...
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064 )
2022-04-02 21:46:19 +01:00
Bram Moolenaar
eabddc425e
patch 8.2.4665: popup with "minwidth" and scrollbar not updated properly
...
Problem: Popup with "minwidth" and scrollbar not updated properly.
Solution: Adjust the computation if the window width. (closes #10061 )
2022-04-02 15:32:16 +01:00
Bram Moolenaar
f8e43f6107
patch 8.2.4619: mapping is cancelled when mouse moves and popup is visible
...
Problem: Mapping is cancelled when mouse moves and popup is visible.
Solution: Only generate mouse moved events when a popup may use them.
(closes #10004 )
2022-03-24 15:15:15 +00:00
Bram Moolenaar
977525fea6
patch 8.2.4569: Coverity warning for not using a return value
...
Problem: Coverity warning for not using a return value.
Solution: Add "(void)".
2022-03-15 10:22:39 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
d5cec1f1f0
patch 8.2.4255: theoretical computation overflow
...
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657 )
2022-01-29 15:19:23 +00:00
Bram Moolenaar
11de43d2d4
patch 8.2.4022: two error messages in the wrong file
...
Problem: Two error messages in the wrong file.
Solution: Use the error message from errors.h.
2022-01-06 21:41:11 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
b09feaa86e
patch 8.2.3986: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 20:20:45 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
James McCoy
a80aad7174
patch 8.2.3874: cannot highlight the number column for a sign
...
Problem: Cannot highlight the number column for a sign.
Solution: Add the "numhl" argument. (James McCoy, closes #9381 )
2021-12-22 19:45:28 +00:00
Bram Moolenaar
e50507126f
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
...
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295 )
2021-12-09 10:51:05 +00:00
Bram Moolenaar
40bcec1bac
patch 8.2.3750: error messages are everywhere
...
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
2021-12-05 22:19:27 +00:00
Bram Moolenaar
0b74d00693
patch 8.2.3697: cannot drag a popup without a border
...
Problem: Cannot drag a popup without a border.
Solution: Add the "dragall" option. (closes #9218 )
2021-11-29 17:38:02 +00:00
Bram Moolenaar
e413ea04b7
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'
...
Problem: Cannot adjust sign highlighting for 'cursorline'.
Solution: Add CursorLineSign and CursorLineFold highlight groups.
(Gregory Anders, closes #9201 )
2021-11-24 16:20:13 +00:00
Bram Moolenaar
87fd0924e2
patch 8.2.3628: looking terminal colors is a bit slow
...
Problem: Looking terminal colors is a bit slow.
Solution: Cache the terminal colors. (closes #9130 , closes #9058 )
2021-11-20 13:47:45 +00:00
Bakudankun
6555500bcf
patch 8.2.3614: zindex of popup windows not used when redrawing popup menu
...
Problem: zindex of popup windows not used when redrawing popup menu.
Solution: Check the zindex when redrawing the popup menu. (closes #9129 ,
closes #9089 )
2021-11-17 20:40:16 +00:00
Yegappan Lakshmanan
733b124a90
patch 8.2.3596: crash when using :pedit in Vim9 script
...
Problem: Crash when using :pedit in Vim9 script.
Solution: Move check for arguments to after checking there are arguments.
(Yegappan Lakshmanan, closes #9134 , closes #9135 )
2021-11-15 11:22:09 +00:00
rbtnn
c611941c60
patch 8.2.3304: popup window title with wide characters is truncated
...
Problem: Popup window title with wide characters is truncated.
Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
closes #8721 )
2021-08-07 13:08:45 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Yegappan Lakshmanan
a764e73d4f
patch 8.2.3221: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632 )
2021-07-25 15:57:32 +02:00
Yegappan Lakshmanan
0ad871dc4d
patch 8.2.3206: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611 )
2021-07-23 20:37:56 +02:00
Bram Moolenaar
9bb0dad0d8
patch 8.2.3187: Vim9: popup timer callback is not compiled
...
Problem: Vim9: popup timer callback is not compiled.
Solution: Compile the callback when creating the timer.
2021-07-19 22:19:29 +02:00
Yegappan Lakshmanan
1a71d31bf3
patch 8.2.3162: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560 )
2021-07-15 12:49:58 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Ralf Schandl
bc869874fe
patch 8.2.2893: multi-byte text in popup title shows up wrong
...
Problem: Multi-byte text in popup title shows up wrong.
Solution: Use the character width instead of the byte length. (Ralf Schandl,
closes #8267 , closes #8264 )
2021-05-28 14:12:14 +02:00
Bram Moolenaar
6bfc475f71
patch 8.2.2541: popup_create() does not allow boolean for "cursorline"
...
Problem: Popup_create() does not allow boolean for "cursorline".
Solution: Use dict_get_bool(). (issue #7869 )
2021-02-21 23:12:18 +01:00
Bram Moolenaar
10ccfb2a17
patch 8.2.2510: internal error when popup with mask is zero height or width
...
Problem: Internal error when popup with mask is zero height or width.
Solution: Bail out if width or height is zero. (closes #7831 )
2021-02-13 21:31:18 +01:00
Bram Moolenaar
82db31c104
patch 8.2.2491: popup window for text property may show in first screen line
...
Problem: Popup window for text property may show in first screen line.
Solution: If the text position is invisible do not show the popup window.
(closes #7807 )
2021-02-10 14:56:11 +01:00
Bram Moolenaar
983d83ff1c
patch 8.2.2476: using freed memory when splitting window while closing buffer
...
Problem: Using freed memory when using an autocommand to split a window
while a buffer is being closed.
Solution: Disallow splitting when the buffer has b_locked_split set.
2021-02-07 12:12:43 +01:00
Bram Moolenaar
efa1923565
patch 8.2.2471: popup_setoptions() does not set textprop in other tab
...
Problem: Popup_setoptions() does not set textprop in other tab.
Solution: use win_valid_any_tab(). (closes #7788 )
2021-02-06 14:59:27 +01:00
Bram Moolenaar
6502643677
patch 8.2.2470: popup_getoptions() does not get textprop from other tab
...
Problem: Popup_getoptions() does not get textprop from other tab.
Solution: use win_valid_any_tab(). (closes #7786 )
2021-02-06 14:22:32 +01:00