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
Trygve Aaberge
b9c09c118e
patch 9.0.0748: Kitty may send key without modifiers with CSI u code
...
Problem: Kitty may send key without modifiers with CSI u code.
Solution: Handle CSI u code without modifiers. (Trygve Aaberge,
closes #11364 )
2022-10-14 12:08:24 +01:00
Martin Tournoij
ba43e76fcd
patch 9.0.0747: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330 )
2022-10-13 22:12:15 +01:00
Bram Moolenaar
856c5d2bc7
patch 9.0.0746: breakindent test cases are commented out
...
Problem: Breakindent test cases are commented out.
Solution: Adjust expected result to slightly different behavior. Correct
computations for cursor position.
2022-10-13 21:54:28 +01:00
Bram Moolenaar
4b6172e108
patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line
...
Problem: Wrong cursor position when using "gj" and "gk" in a long line.
Solution: Adjust computations for the cursor position and skipcol. Re-enable
tests that pass now, disable failing breakindent test.
2022-10-13 20:23:28 +01:00
Bram Moolenaar
6c4d4a6444
patch 9.0.0744: in script in autoload dir exported variable is not found
...
Problem: In script in autoload dir exported variable is not found. (Doug
Kearns)
Solution: Find the variable with the "script#" prefix. (closes #11361 )
2022-10-13 17:47:42 +01:00
Bram Moolenaar
66b8d2a89e
patch 9.0.0743: starting cscope on Unix does not quote the arguments right
...
Problem: Starting cscope on Unix does not quote the arguments correctly.
(Gary Johnson)
Solution: Move the final quote after the arguments.
2022-10-13 16:34:30 +01:00
Bram Moolenaar
3558afe9e9
patch 9.0.0742: reading past end of the line when compiling a function
...
Problem: Reading past end of the line when compiling a function with
errors.
Solution: Do not return an invalid pointer. Fix skipping redirection.
2022-10-13 16:12:57 +01:00
Bram Moolenaar
d93009eb35
patch 9.0.0741: cannot specify an ID for each item with prop_add_list()
...
Problem: Cannot specify an ID for each item with prop_add_list(). (Sergey
Vlasov)
Solution: Add an optional fifth number to the item. (closes #11360 )
2022-10-13 14:35:24 +01:00
Bram Moolenaar
4997f2a605
patch 9.0.0740: prop_add_list() gives multiple errors for invalid argument
...
Problem: prop_add_list() gives multiple errors for invalid argument.
Solution: Only give one error message.
2022-10-13 14:00:45 +01:00
Yee Cheng Chin
17822c507c
patch 9.0.0739: mouse column not correctly used for popup_setpos
...
Problem: Mouse column not correctly used for popup_setpos.
Solution: Adjust off-by-one error and handle Visual line selection properly.
(Yee Cheng Chin, closes #11356 )
2022-10-13 13:17:40 +01:00
=?UTF-8?q?Bj=C3=B6rn=20Linse?=
91ccbad5de
patch 9.0.0738: cannot suppress completion "scanning" messages
...
Problem: Cannot suppress completion "scanning" messages.
Solution: Add the "C" flag in 'shortmess'. (Bjorn Linse, closes #11354 )
2022-10-13 12:51:13 +01:00
Bram Moolenaar
d26c5805bc
patch 9.0.0737: Lisp word only recognized when a space follows
...
Problem: Lisp word only recognized when a space follows.
Solution: Also match a word at the end of a line. Rename the test. Use a
compiled function to avoid backslashes.
2022-10-13 12:30:08 +01:00
Yegappan Lakshmanan
f8412c9d7c
patch 9.0.0736: quickfix listing does not handle very long messages
...
Problem: Quickfix listing does not handle very long messages.
Solution: Use a growarray instead of a fixed size buffer. (Yegappan
Lakshmanan, closes #11357 )
2022-10-13 11:59:22 +01:00
Bram Moolenaar
e42033e735
patch 9.0.0735: breakindent and scrolloff tests fail
...
Problem: Breakindent and scrolloff tests fail.
Solution: Temporarily skip the assertions.
2022-10-12 21:32:42 +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
Dominique Pelle
84d14ccdb5
patch 9.0.0733: use of strftime() is not safe
...
Problem: Use of strftime() is not safe.
Solution: Check the return value of strftime(). Use a larger buffer and
correctly pass the available space. (Dominique Pellé, closes
#11348 )
2022-10-12 13:30:25 +01:00
Bram Moolenaar
d987642626
patch 9.0.0732: no check for white space before and after "=<<"
...
Problem: No check for white space before and after "=<<". (Doug Kearns)
Solution: Check for white space in Vim9 script. (closes #11351 )
2022-10-12 12:58:54 +01:00
dundargoc
af40f9af33
patch 9.0.0731: clang-tidy configuration files are not recognized
...
Problem: clang-tidy configuration files are not recognized.
Solution: Recognize clang-tidy files as yaml. (closes #11350 )
2022-10-12 12:09:40 +01:00
Bram Moolenaar
9ce7915d06
patch 9.0.0730: startup test fails with right-left feature
...
Problem: Startup test fails with right-left feature.
Solution: Do not delete test file too early.
2022-10-12 11:54:34 +01:00
Bram Moolenaar
ae906c8b1b
patch 9.0.0729: the rightleft and arabic features are disabled
...
Problem: The rightleft and arabic features are disabled.
Solution: Re-enable the features, some users want to use the functionality.
2022-10-12 11:12:49 +01:00
Bram Moolenaar
a4962cd7ba
patch 9.0.0728: extend() test fails
...
Problem: extend() test fails.
Solution: Item is final, not const.
2022-10-11 23:12:59 +01:00
Bram Moolenaar
7c6cd44375
patch 9.0.0727: help in the repository differs from patched version too much
...
Problem: Help in the repository differs from patched version too much.
Solution: Make a patch for a few help files.
2022-10-11 21:54:04 +01:00
Bram Moolenaar
159b2d5bfc
patch 9.0.0726: looping over list of lists works in script, not in function
...
Problem: Looping over list of lists and changing the list contents works in
Vim9 script, not in a compiled function.
Solution: Mark the loop variable final instead of const. (closes #11347 )
2022-10-11 21:41:25 +01:00
Bram Moolenaar
7e017461e2
patch 9.0.0725: virtual text "after" wraps to next line when 'wrap' is off
...
Problem: Virtual text "after" wraps to next line even when 'wrap' is off
and 'list' is set.
Solution: Do not use the minimum width when 'wrap' is off. (issue #11336 )
2022-10-11 21:02:09 +01:00
Bram Moolenaar
a275f2cdcc
patch 9.0.0724: closure in compiled function gets same variable in block
...
Problem: Closure in compiled function gets same variable in block.
Solution: At the end of a block to not always reset the variable count.
(issue #11094 )
2022-10-11 20:04:09 +01:00
Bram Moolenaar
a9a364872e
patch 9.0.0723: extra empty line below virtual text when 'list' is set
...
Problem: Extra empty line below virtual text when 'list' is set.
Solution: Do not reset lcs_eol_one but set text_prop_follows. (closes #11339 )
2022-10-11 16:47:22 +01:00
Bram Moolenaar
877151b3d8
patch 9.0.0722: virtual text "after" does not show with 'list' set
...
Problem: Virtual text "after" does not show with 'list' set.
Solution: Do not break out of the loop when another text prop follows.
(closes #11337 )
2022-10-11 15:29:50 +01:00
Bram Moolenaar
9466fb8001
patch 9.0.0721: virtual text "above" with padding not displayed correctly
...
Problem: Virtual text "above" with padding not displayed correctly.
Solution: Take padding into account when truncating. (closes #11340 )
2022-10-11 14:54:42 +01:00
Bram Moolenaar
0c502d2e70
patch 9.0.0720: MS-Windows GUI may have pixel dust from antialiasing
...
Problem: MS-Windows GUI may have pixel dust from antialiasing.
Solution: When a character changes also redraw the next one. (issue #8532 )
2022-10-11 12:48:44 +01:00
Bram Moolenaar
56564964e6
patch 9.0.0719: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-10-10 22:39:42 +01:00
Bram Moolenaar
ccf2837a05
patch 9.0.0718: extra empty line between two virtual text "below"
...
Problem: Extra empty line between two virtual text "below" when 'wrap' and
'number' are set.
Solution: Reset "before" when there is no text in the screen line.
(closes #11334 )
2022-10-10 21:10:03 +01:00
Bram Moolenaar
d3283fba25
patch 9.0.0717: compiler warning for unused variable in tiny build
...
Problem: Compiler warning for unused variable in tiny build.
Solution: Add #ifdefs.
2022-10-10 20:33:25 +01:00
Bram Moolenaar
cd105417a5
patch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left
...
Problem: With 'nowrap' virtual text "after" does not scroll left.
Solution: Skip part of the virtual text that is left of the window.
(closes #11320 ) Fix going beyond the last column of the window.
2022-10-10 19:50:42 +01:00
Bram Moolenaar
801cd35e7e
patch 9.0.0715: wrong argument for append() gives two error messages
...
Problem: Wrong argument for append() gives two error messages.
Solution: When getting an error for a number argument don't try using it as
a string. (closes #11335 )
2022-10-10 16:08:16 +01:00
Bram Moolenaar
1206c163db
patch 9.0.0714: with 'nowrap' two virtual text below not displayed correctly
...
Problem: With 'nowrap' two virtual text below not displayed correctly.
Solution: Set text_prop_follows before continuing. Correct for number
column. (closes #11333 )
2022-10-10 15:40:04 +01:00
zeertzjq
c601d988b6
patch 9.0.0713: <amatch> of MenuPopup event is expanded like a file name
...
Problem: <amatch> of MenuPopup event is expanded like a file name.
Solution: Do not expand <amatch> for MenuPopup. (closes #11328 )
2022-10-10 13:46:15 +01:00
Bram Moolenaar
79f234499b
patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum
...
Problem: Wrong column when calling setcursorcharpos() with zero lnum.
Solution: Set the line number before calling buf_charidx_to_byteidx().
(closes #11329 )
2022-10-10 12:42:57 +01:00
ObserverOfTime
084f2620ec
patch 9.0.0711: SubStation Alpha files are not recognized
...
Problem: SubStation Alpha files are not recognized.
Solution: Add patterns for SubStation Alpha files. (closes #11332 )
2022-10-10 12:08:59 +01:00
Yee Cheng Chin
4282633ba6
patch 9.0.0710: quitting/unloading/hiding a terminal does not work properly
...
Problem: Quitting/unloading/hiding a terminal buffer does not always work
properly.
Solution: Avoid that ":q!" leaves an empty buffer behind. ":bunload!" also
kills the job and unloads the buffer. ":hide" does not unload the
buffer. (Yee Cheng Chin, closes #11323 )
2022-10-10 11:46:16 +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
118c235112
patch 9.0.0707: with 'smoothscroll' cursor position not adjusted in long line
...
Problem: With 'smoothscroll' and 'scrolloff' non-zero the cursor position
is not properly adjusted in a long line.
Solution: Move the cursor further up or down in the line.
2022-10-09 17:19:27 +01:00
Bram Moolenaar
28f7e701b7
patch 9.0.0706: :help in a narrow window always opens at the top
...
Problem: :help in a narrow window always opens at the top.
Solution: Respect 'splitbelow'. (closes #11319 )
2022-10-09 15:54:53 +01:00
Bram Moolenaar
13845c48d8
patch 9.0.0705: virtual text truncation does not take padding into account
...
Problem: Virtual text truncation does not take padding into account.
Solution: Subtract the padding from the available space. (closes #11318 )
2022-10-09 15:26:03 +01:00
Naruhiko Nishino
b7af5a0445
patch 9.0.0704: CI runs "tiny" and "small" builds, which are the same
...
Problem: CI runs "tiny" and "small" builds, which are the same.
Solution: Remove the "small" build. (Naruhiko Nishino, closes #11315 )
2022-10-09 13:28:36 +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
zeertzjq
30c0c467d6
patch 9.0.0702: incomplete testing cursor position with 'linebreak' set
...
Problem: Incomplete testing cursor position after change with 'linebreak'
set.
Solution: Add a test and move test cases together. (closes #11313 )
2022-10-09 11:44:28 +01:00
Bram Moolenaar
8cf3459878
patch 9.0.0701: with 'smoothscroll' cursor position not adjusted in long line
...
Problem: With 'smoothscroll' the cursor position s not adjusted in a long
line.
Solution: Move the cursor further up or down in the line.
2022-10-08 21:13:40 +01:00