Bram Moolenaar
6cf3151f0e
patch 9.0.1008: test for swapfilelist() fails on MS-Windows
...
Problem: Test for swapfilelist() fails on MS-Windows.
Solution: Only check the tail of the path. Mark a test as flaky.
2022-12-05 15:01:05 +00:00
Bram Moolenaar
c216a7a21a
patch 9.0.1007: there is no way to get a list of swap file names
...
Problem: There is no way to get a list of swap file names.
Solution: Add the swapfilelist() function. Use it in the test script to
clean up. Remove deleting individual swap files.
2022-12-05 13:50:55 +00:00
Bram Moolenaar
65214053f6
patch 9.0.1006: suspend test still sometimes fails on MacOS
...
Problem: Suspend test still sometimes fails on MacOS.
Solution: Wait a little while for terminal responses.
2022-12-04 23:30:19 +00:00
Bram Moolenaar
d0f8d39d20
patch 9.0.1005: a failed test may leave a swap file behind
...
Problem: A failed test may leave a swap file behind.
Solution: Delete the swap file to avoid another test to fail. Use another
file name.
2022-12-04 23:00:41 +00:00
Bram Moolenaar
a0a6f3a22a
patch 9.0.1004: suspend test sometimes fails on MacOS
...
Problem: Suspend test sometimes fails on MacOS.
Solution: Wait a short while for terminal responses.
2022-12-04 22:26:40 +00:00
Bram Moolenaar
9163efb5b8
patch 9.0.1002: command list test fails
...
Problem: Command list test fails.
Solution: Add commands added to the list.
2022-12-04 21:09:48 +00:00
Bram Moolenaar
c1c365c1ca
patch 9.0.1001: classes are not documented or implemented yet
...
Problem: Classes are not documented or implemented yet.
Solution: Make the first steps at documenting Vim9 objects, classes and
interfaces. Make initial choices for the syntax. Add a skeleton
implementation. Add "public" and "this" in the command table.
2022-12-04 20:13:24 +00:00
Bram Moolenaar
b21b8e9ed0
patch 9.0.1000: with 'smoothscroll' skipcol may be reset unnecessarily
...
Problem: With 'smoothscroll' skipcol may be reset unnecessarily.
Solution: Check the line does actually fit in the window.
2022-12-03 18:35:07 +00:00
Bram Moolenaar
1b73edd9ee
patch 9.0.0998: "gk" may reset skipcol when not needed
...
Problem: "gk" may reset skipcol when not needed.
Solution: Only reset skipcol if the cursor column is less.
2022-12-03 11:51:54 +00:00
Bram Moolenaar
37f088eead
patch 9.0.0995: padding before virtual text is highlighted
...
Problem: Padding before virtual text below is highlighted when 'number' and
'nowrap' are set.
Solution: Save and restore n_attr_skip. (closes #11643 )
2022-12-02 21:50:14 +00:00
Bram Moolenaar
267db7c3e3
patch 9.0.0994: tests for empty prop type name fail
...
Problem: Tests for empty prop type name fail.
Solution: Correct the error number.
2022-12-02 21:37:45 +00:00
Bram Moolenaar
89469d157a
patch 9.0.0993: display errors when adding or removing text property type
...
Problem: Display errors when adding or removing text property type.
Solution: Perform a full redraw. Only use text properties for which the
type is defined. (closes #11655 )
2022-12-02 20:46:26 +00:00
mityu
500c444283
patch 9.0.0992: Vim9 script: get E1096 when comment follows return
...
Problem: Vim9 script: get E1096 when comment follows return.
Solution: Adjust condition for return without expression. (closes #11654 )
2022-12-02 18:12:05 +00:00
Bram Moolenaar
c67c89c758
patch 9.0.0991: crash when reading help index with various options set
...
Problem: Crash when reading help index with various options set. (Marius
Gedminas)
Solution: Do not set wlv.c_extra to NUL when wlv.p_extra is NULL.
(closes #11651 )
2022-12-02 16:39:44 +00:00
Bram Moolenaar
c96b7f5d2a
patch 9.0.0990: callback name argument is changed by setqflist()
...
Problem: Callback name argument is changed by setqflist().
Solution: Use the expanded function name for the callback, do not store it
in the argument. (closes #11653 )
2022-12-02 15:58:38 +00:00
Bram Moolenaar
9c8d12c811
patch 9.0.0989: popupwin test is more flaky on MacOS
...
Problem: Popupwin test is more flaky on MacOS.
Solution: Use a longer wait time.
2022-12-02 15:06:07 +00:00
Bram Moolenaar
1a173409ae
patch 9.0.0985: when using kitty keyboard protocol function keys may not work
...
Problem: When using kitty keyboard protocol function keys may not work.
(Kovid Goyal)
Solution: Recognize CSI ending in [ABCDEFHPQRS] also when the termcap
entries are not specified. (closes #11648 )
2022-12-02 12:28:47 +00:00
Bram Moolenaar
45e4eead2a
patch 9.0.0982: 'cursorline' not drawn before virtual text below
...
Problem: 'cursorline' not drawn before virtual text below.
Solution: Add the 'cursorline' attribute to the empty space. (closes #11647 )
2022-12-01 18:38:02 +00:00
Bram Moolenaar
4f501171f7
patch 9.0.0979: ch_log() text can be hard to find in the log file
...
Problem: ch_log() text can be hard to find in the log file.
Solution: Prepend "ch_log()" to the text.
2022-12-01 11:02:23 +00:00
Bram Moolenaar
7c02ad9f89
patch 9.0.0975: virtual text below empty line misplaced when 'number' set
...
Problem: Virtual text below an empty line is misplaced when 'number' is
set.
Solution: Adjust the computations. (closes #11629 )
2022-11-29 21:37:13 +00:00
Bram Moolenaar
064fd67e6a
patch 9.0.0973: Kitty keyboard protocol key with NumLock not decoded
...
Problem: Kitty keyboard protocol key not decoded when it has an unsupported
modifier, such as NumLock.
Solution: Accept a key with any modifier. (closes #11638 )
2022-11-29 18:32:32 +00:00
Bram Moolenaar
28a896f54d
patch 9.0.0969: matchparen highlight is not updated when switching buffers
...
Problem: Matchparen highlight is not updated when switching buffers.
Solution: Listen to the BufLeave and the BufWinEnter autocmd events.
(closes #11626 )
2022-11-28 22:21:12 +00:00
Bram Moolenaar
c13e998d4a
patch 9.0.0968: GUI mouse event test is a bit flaky
...
Problem: GUI mouse event test is a bit flaky.
Solution: Mark the test case as flaky. Move test function failure checks to
a separate test function.
2022-11-28 21:20:48 +00:00
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
Luuk van Baal
74a694dbe2
patch 9.0.0964: status line not redrawn when 'splitkeep' is "screen"
...
Problem: Status line of other window not redrawn when dragging it when
'splitkeep' is set to "screen".
Solution: Set w_redr_status earlier. (Luuk van Baal, closes #11635 ,
closes #11632 )
2022-11-28 16:49:36 +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
porygonisaduck
38854b565a
patch 9.0.0962: virtual text below cannot be placed below empty lines
...
Problem: Virtual text below cannot be placed below empty lines.
Solution: Add one character. (James Alvarado, closes #11606 , closes #11520 )
2022-11-27 20:55:05 +00:00
Bram Moolenaar
3da8597fc0
patch 9.0.0961: using deletebufline() may jump to another window
...
Problem: Using deletebufline() may jump to another window.
Solution: Do not use a window where the buffer was only in the past.
(closes #11594 )
2022-11-27 19:45:49 +00:00
Bram Moolenaar
19cf525c20
patch 9.0.0958: messages test is flaky
...
Problem: Messages test is flaky.
Solution: Add a short delay.
2022-11-27 14:39:31 +00:00
Bram Moolenaar
64fabf3802
patch 9.0.0957: tests fail without the terminal feature
...
Problem: Tests fail without the terminal feature.
Solution: Move functions to another utility script.
2022-11-27 13:51:22 +00:00
Bram Moolenaar
9f14557d6a
patch 9.0.0956: terminal tests fail when using key with modifier
...
Problem: Terminal tests fail when using key with modifier.
Solution: Use the modifyOtherKeys encoding when using RunVimInTerminal().
2022-11-27 12:45:41 +00:00
Bram Moolenaar
cc0907165d
patch 9.0.0955: libvterm does not support the XTQMODKEYS request
...
Problem: Libvterm does not support the XTQMODKEYS request.
Solution: Implement the XTQMODKEYS request and response. Update the keycode
check results.
2022-11-27 11:31:23 +00:00
Bram Moolenaar
c255b78965
patch 9.0.0954: cannot detect whether modifyOtherKeys is enabled
...
Problem: Cannot detect whether modifyOtherKeys is enabled.
Solution: Use XTQMODKEYS introduced by xterm version 377 to request the
modifyOtherKeys level. Update the keycode check results.
2022-11-26 19:16:48 +00:00
ObserverOfTime
f3f198b634
patch 9.0.0952: Eclipse preference files are not recognized
...
Problem: Eclipse preference files are not recognized.
Solution: Add a pattern to use "jproperties" for Eclipse preference files.
(closes #11618 )
2022-11-26 13:03:20 +00:00
Bram Moolenaar
c96311b5be
patch 9.0.0950: the pattern "\_s\zs" matches at EOL
...
Problem: The pattern "\_s\zs" matches at EOL.
Solution: Make the pattern "\_s\zs" match at the start of the next line.
(closes #11617 )
2022-11-25 21:13:47 +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
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
6ac16f0c0f
patch 9.0.0944: 'cursorline' causes virtual text highlight to continue
...
Problem: 'cursorline' causes virtual text highlight to continue.
Solution: Save and restore line_attr. (closes #11588 )
2022-11-24 22:42:29 +00:00
Matt Dunford
f60bdc3417
patch 9.0.0942: Workflow Description Language files are not recognized
...
Problem: Workflow Description Language files are not recognized.
Solution: Add a pattern for the "wdl" filetype. (Matt Dunford,
closes #11611 )
2022-11-24 20:01:18 +00:00
Bram Moolenaar
ebed1b0bea
patch 9.0.0940: crash when typing a letter in a terminal window
...
Problem: Crash when typing a letter in a terminal window. (Shane-XB-Qian)
Solution: Use the "vterm" variable instead of getting the terminal pointer
from the current buffer. (closes #11608 )
2022-11-24 14:05:19 +00:00
Christopher Plewright
0b228cddc7
patch 9.0.0938: MS-Windows: debug executable not found when running test
...
Problem: MS-Windows: debug executable not found when running test.
Solution: Look for vimd.exe. (Christopher Plewright, closes #11602 )
2022-11-24 12:19:50 +00:00
Bram Moolenaar
82946e1439
patch 9.0.0936: wrong type for "isunnamed" returned by getreginfo()
...
Problem: Wrong type for "isunnamed" returned by getreginfo().
Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598 )
2022-11-24 11:31:29 +00:00
Eisuke Kawashima
24482fbfd5
patch 9.0.0935: when using dash it may not be recognize as filetype "sh"
...
Problem: When using dash it may not be recognize as filetype "sh".
Solution: Add checks for "dash". (Eisuke Kawashima,closes #11600 )
2022-11-24 10:58:10 +00:00
Bram Moolenaar
ecfd511e8d
patch 9.0.0932: Oblivion files are not recognized
...
Problem: Oblivion files are not recognized.
Solution: Recognize Oblivion files and alike as "obse". (closes #11540 )
2022-11-23 22:34:23 +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
364438d1e8
patch 9.0.0922: Mermaid files are not recognized
...
Problem: Mermaid files are not recognized.
Solution: Add patterns for Mermaid. (Crag MacEachern)
2022-11-22 19:16:29 +00:00
Bram Moolenaar
b775e72439
patch 9.0.0920: cannot find an import prefixed with "s:"
...
Problem: Cannot find an import prefixed with "s:". (Doug Kearns)
Solution: Skip over the "s:". (closes #11585 )
2022-11-22 18:12:44 +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