Bram Moolenaar
e76062c078
patch 9.0.0965: using one window for executing autocommands is insufficient
...
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
2022-11-28 18:51:43 +00:00
zeertzjq
269aa2b29a
patch 9.0.0963: function name does not match autocmd event name
...
Problem: Function name does not match autocmd event name.
Solution: Rename "optionsset" to "optionset". (closes #11630 )
2022-11-28 11:36:50 +00:00
Bram Moolenaar
ef2c325f5e
patch 9.0.0949: crash when unletting a variable while listing variables
...
Problem: Crash when unletting a variable while listing variables.
Solution: Disallow changing a hashtable while going over the entries.
(closes #11435 )
2022-11-25 16:31:51 +00:00
Bram Moolenaar
c1cf4c9107
patch 9.0.0948: 'ttyfast' is set for arbitrary terminals
...
Problem: 'ttyfast' is set for arbitrary terminals.
Solution: Always set 'ttyfast'. (closes #11549 )
2022-11-25 15:09:35 +00:00
Bram Moolenaar
cc762a48d4
patch 9.0.0947: invalid memory access in substitute with function
...
Problem: Invalid memory access in substitute with function that goes to
another file.
Solution: Check for text locked in CTRL-W gf.
2022-11-25 13:03:31 +00:00
Bram Moolenaar
63a2e360cc
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
...
Problem: Cannot debug the Kitty keyboard protocol with TermDebug.
Solution: Add Kitty keyboard protocol support to the libvterm fork.
Recognize the escape sequences that the protocol generates. Add
the 'keyprotocol' option to allow the user to specify for which
terminal what protocol is to be used, instead of hard-coding this.
Add recognizing the kitty keyboard protocol status.
2022-11-23 20:20:18 +00:00
Bram Moolenaar
35fc61cb5b
patch 9.0.0917: the WinScrolled autocommand event is not enough
...
Problem: The WinScrolled autocommand event is not enough.
Solution: Add WinResized and provide information about what changed.
(closes #11576 )
2022-11-22 12:40:50 +00:00
Bram Moolenaar
ce30ccc06a
patch 9.0.0916: getbufline() is inefficient for getting a single line
...
Problem: getbufline() is inefficient for getting a single line.
Solution: Add getbufoneline().
2022-11-21 19:57:04 +00:00
Bram Moolenaar
2996773276
patch 9.0.0915: WinScrolled may trigger immediately when defined
...
Problem: WinScrolled may trigger immediately when defined.
Solution: Initialize the fields in all windows. (closes #11582 )
2022-11-20 12:11:45 +00:00
Bram Moolenaar
0a60f79fd0
patch 9.0.0913: only change in current window triggers the WinScrolled event
...
Problem: Only a change in the current window triggers the WinScrolled
event.
Solution: Trigger WinScrolled if any window scrolled or changed size.
(issue #11576 )
2022-11-19 21:18:11 +00:00
Bram Moolenaar
c896adbcde
patch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm
...
Problem: libvterm with modifyOtherKeys level 2 does not match xterm.
Solution: Adjust key code escape sequences to be the same as what xterm
sends in modifyOtherKeys level 2 mode. Check the value of
no_reduce_keys before using it.
2022-11-19 19:02:40 +00:00
Bram Moolenaar
9fda81515b
patch 9.0.0909: error message for layout change does not match action
...
Problem: Error message for layout change does not match action.
Solution: Pass the command to where the error is given. (closes #11573 )
2022-11-19 13:14:10 +00:00
Bram Moolenaar
d63a85592c
patch 9.0.0907: restoring window after WinScrolled may fail
...
Problem: Restoring window after WinScrolled may fail.
Solution: Lock the window layout when triggering WinScrolled.
2022-11-19 11:41:30 +00:00
Christopher Plewright
696d0a8625
patch 9.0.0902: some mouse scroll code is not in a good place
...
Problem: Some mouse scroll code is not in a good place.
Solution: Refactor the code. (Christopher Plewright, closes #11561 )
2022-11-18 17:53:34 +00:00
Bram Moolenaar
0c34d56264
patch 9.0.0901: setting w_leftcol and handling side effects is confusing
...
Problem: Setting w_leftcol and handling side effects is confusing.
Solution: Use a function to set w_leftcol() and handle side effects.
2022-11-18 14:07:20 +00:00
Christopher Plewright
44c2209352
patch 9.0.0886: horizontal mouse scroll only works in the GUI
...
Problem: Horizontal mouse scroll only works in the GUI.
Solution: Make horizontal mouse scroll also work in a terminal.
(Christopher Plewright, closes #11448 )
2022-11-15 17:43:36 +00:00
Bram Moolenaar
24dc19cdb2
patch 9.0.0881: cannot get the currently showing mouse shape
...
Problem: Cannot get the currently showing mouse shape.
Solution: Add getmouseshape().
2022-11-14 19:49:15 +00:00
Christopher Plewright
1140b51e83
patch 9.0.0868: MS-Windows: after Vim exits console resizing problem
...
Problem: MS-Windows: after Vim exits console resizing does not work
properly.
Solution: Restore screen behavior checks for various WT and VTP
combinations. (Christopher Plewright, closes #11526 ,
closes #11507 )
2022-11-12 18:46:05 +00:00
Bram Moolenaar
d6e91385f0
patch 9.0.0867: wildmenu redrawing code is spread out
...
Problem: Wildmenu redrawing code is spread out.
Solution: Refactor to move code together. (closes #11528 )
2022-11-12 17:44:13 +00:00
Luuk van Baal
7b224fdf4a
patch 9.0.0844: handling 'statusline' errors is spread out
...
Problem: Handling 'statusline' errors is spread out.
Solution: Pass the option name to the lower levels so the option can be
reset there when an error is encountered. (Luuk van Baal,
closes #11467 )
2022-11-07 12:16:51 +00:00
dundargoc
c57b5bcd22
patch 9.0.0828: various typos
...
Problem: Various typos.
Solution: Correct typos. (closes #11432 )
2022-11-02 13:30:51 +00:00
zeertzjq
8e0ccb6bc2
patch 9.0.0825: cannot drag an entry in the tabpage line
...
Problem: Cannot drag an entry in the tabpage line.
Solution: Clear dragwin instead of got_click. (closes #11483 ,
closes #11482 )
2022-11-01 18:35:27 +00:00
Bram Moolenaar
8ab9ca93ee
patch 9.0.0822: crash when dragging the statusline with a mapping
...
Problem: Crash when dragging the statusline with a mapping.
Solution: Check for valid window pointer. (issue #11427 )
2022-10-31 13:06:26 +00:00
K.Takata
43625762a9
patch 9.0.0803: readblob() cannot read from character device
...
Problem: readblob() cannot read from character device.
Solution: Use S_ISCHR() to not check the size. (Ken Takata, closes #11407 )
2022-10-20 13:28:51 +01:00
K.Takata
11df3aeee5
patch 9.0.0795: readblob() always reads the whole file
...
Problem: readblob() always reads the whole file.
Solution: Add arguments to read part of the file. (Ken Takata,
closes #11402 )
2022-10-19 14:02:40 +01:00
Bram Moolenaar
49846fb1a3
patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
...
Problem: Cannot use 'indentexpr' for Lisp indenting.
Solution: Add the 'lispoptions' option.
2022-10-15 16:05:33 +01:00
Bram Moolenaar
c9121f798f
patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'
...
Problem: 'scrolloff' does not work well with 'smoothscroll'.
Solution: Make positioning the cursor a bit better. Rename functions.
2022-10-14 20:09:04 +01:00
Bram Moolenaar
0abd6cf62d
patch 9.0.0750: crash when popup closed in callback
...
Problem: Crash when popup closed in callback. (Maxim Kim)
Solution: In syntax_end_parsing() check that syn_block is valid.
2022-10-14 17:04:09 +01:00
Yegappan Lakshmanan
975a665d48
patch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient
...
Problem: Alloc/free of buffer for each quickfix entry is inefficient.
Solution: Use a shared grow array. (Yegappan Lakshmanan, closes #11365 )
2022-10-14 13:11:13 +01:00
Bram Moolenaar
2fbabd238a
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll'
...
Problem: Cursor position invalid when scrolling with 'smoothscroll' set.
(Ernie Rael)
Solution: Add w_valid_skipcol and clear flags when it changes. Adjust
w_skipcol after moving the cursor.
2022-10-12 19:53:38 +01:00
Bram Moolenaar
f167c7b424
patch 9.0.0709: virtual text "after" not correct with 'nowrap'
...
Problem: Virtual text "after" not correct with 'nowrap'.
Solution: Do not display "after" text prop on the next line when 'wrap' is
off.
2022-10-09 21:53:58 +01:00
Yee Cheng Chin
15b314ffbb
patch 9.0.0708: :confirm does not work properly for a terminal buffer
...
Problem: :confirm does not work properly for a terminal buffer.
Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng
Chin, closes #11312 )
2022-10-09 18:53:32 +01:00
Bram Moolenaar
330d64d32c
patch 9.0.0703: failing check for argument type for const any
...
Problem: Failing check for argument type for const any.
Solution: Check for any type properly. (closes #11316 )
2022-10-09 12:55:33 +01:00
Yee Cheng Chin
4314e4f7da
patch 9.0.0694: no native sound support on Mac OS
...
Problem: No native sound support on Mac OS.
Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274 )
2022-10-08 13:50:05 +01:00
Bram Moolenaar
bdc09a18fc
patch 9.0.0683: cannot specify a time for :echowindow
...
Problem: Cannot specify a time for :echowindow.
Solution: A count can be used to specify the display time. Add
popup_findecho().
2022-10-07 14:31:45 +01:00
Bram Moolenaar
cf3d0eaf47
patch 9.0.0682: crash when popup with deleted timer is closed
...
Problem: Crash when popup with deleted timer is closed. (Igbanam
Ogbuluijah)
Solution: Check the timer still exists. (closes #11301 )
2022-10-07 11:20:29 +01:00
Bram Moolenaar
2f7e1b8b40
patch 9.0.0655: passing modifier codes to a shell running in the GUI
...
Problem: passing modifier codes to a shell running in the GUI. (Gary
Johnson)
Solution: Include modifier codes into the key and drop the modifiers.
2022-10-04 13:17:31 +01:00
Bram Moolenaar
01c34e7d10
patch 9.0.0653: BS and DEL do not work properly in an interacive shell
...
Problem: BS and DEL do not work properly in an interacive shell. (Gary
Johnson)
Solution: Adjust the length for replaced codes.
2022-10-03 20:24:39 +01:00
Bram Moolenaar
a4e0b9785e
patch 9.0.0634: evaluating "expr" options has more overhead than needed
...
Problem: Evaluating "expr" options has more overhead than needed.
Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
"expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
'formatexpr', 'indentexpr' and 'charconvert'.
2022-10-01 19:43:52 +01:00
Bram Moolenaar
87b4e5c5db
patch 9.0.0632: calling a function from an "expr" option has overhead
...
Problem: Calling a function from an "expr" option has too much overhead.
Solution: Add call_simple_func() and use it for 'foldexpr'
2022-10-01 15:32:46 +01:00
Bram Moolenaar
fa1039760e
patch 9.0.0623: error for modifying a const is not detected at compile time
...
Problem: Error for modifying a const is not detected at compile time.
Solution: Add TTFLAG_CONST and check for it in add() and extend().
2022-09-29 19:14:42 +01:00
Bram Moolenaar
82418263fa
patch 9.0.0618: calling function for reduce() has too much overhead
...
Problem: Calling function for reduce() has too much overhead.
Solution: Do not create a funccall_T every time.
2022-09-28 16:16:15 +01:00
Luuk van Baal
7c1cbb6cd4
patch 9.0.0603: with 'nosplitscroll' folds are not handled correctly
...
Problem: With 'nosplitscroll' folds are not handled correctly.
Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
closes #11234 )
2022-09-27 12:31:15 +01:00
Bram Moolenaar
838b746cce
patch 9.0.0592: display not cleared when scrolling back in messages
...
Problem: Display not cleared when scrolling back in messages, a background
color is set and t_ut is empty.
Solution: Clear to the end of the display if needed. (closes #8973 )
2022-09-26 15:19:56 +01:00
Bram Moolenaar
ee09fcc9b6
patch 9.0.0590: after exiting Insert mode spelling not checked in next line
...
Problem: After exiting Insert mode spelling is not checked in the next
line.
Solution: When spelling is enabled redraw the next line after exiting Insert
mode in case the spell highlight needs updating.
2022-09-25 20:58:30 +01:00
Bram Moolenaar
f7e7302acb
patch 9.0.0571: MS-Windows: CTRL-C can make Vim exit
...
Problem: MS-Windows: CTRL-C can make Vim exit.
Solution: Check the not-a-term argument.
2022-09-24 13:10:04 +01:00
Bram Moolenaar
f1c60d4bf1
patch 9.0.0548: reduce() with a compiled lambda could be faster
...
Problem: reduce() with a compiled lambda could be faster.
Solution: Call eval_expr_typval() instead of call_func() directly.
2022-09-22 17:07:00 +01:00
Bram Moolenaar
9781d9c005
patch 9.0.0513: may not be able to use a pattern ad the debug prompt
...
Problem: May not be able to use a pattern ad the debug prompt.
Solution: Temporarily disable the timeout. (closes #11164 )
2022-09-20 13:51:25 +01:00
Bram Moolenaar
cc34181f99
patch 9.0.0502: a closure in a nested loop in a :def function does not work
...
Problem: A closure in a nested loop in a :def function does not work.
Solution: Use an array of loopvars, one per loop level.
2022-09-19 15:54:34 +01:00
Bram Moolenaar
acd6b9976b
patch 9.0.0487: using freed memory with combination of closures
...
Problem: Using freed memory with combination of closures.
Solution: Do not use a partial after it has been freed through the
funcstack.
2022-09-17 16:27:39 +01:00