zeertzjq
7d9e68669c
vim-patch:9.0.0092: plugins cannot change v:completed_item ( #19542 )
...
Problem: Plugins cannot change v:completed_item.
Solution: Make v:completed_item writeable. (Shougo Matsushita,
closes vim/vim#10801 )
https://github.com/vim/vim/commit/61021aa318ca4c4a6b0182ee93388b2e9b5eefba
2022-07-28 05:19:38 +08:00
zeertzjq
f57432af4d
vim-patch:9.0.0090: no error when assigning bool to a string option ( #19539 )
...
Problem: No error when assigning bool to a string option with setwinvar().
Solution: Give an error (closes vim/vim#10766 )
https://github.com/vim/vim/commit/28f84e17b068daca2635692d279930dcb7a150d0
2022-07-27 20:59:43 +08:00
zeertzjq
57ce6c2b8f
Merge pull request #19531 from zeertzjq/vim-8.2.4623
...
vim-patch:8.2.{4623,4625}: coverity warnings
2022-07-27 12:27:42 +08:00
zeertzjq
bbad7371db
vim-patch:8.2.4625: old Coverity warning for resource leak
...
Problem: Old Coverity warning for resource leak.
Solution: Call FreeWild() if expanding matches did not fail.
https://github.com/vim/vim/commit/90da27b9277d74521202e5c146a09056696898ee
2022-07-27 12:00:56 +08:00
zeertzjq
f586131e57
vim-patch:8.2.4623: Coverity warns for using uninitialized field
...
Problem: Coverity warns for using uninitialized field.
Solution: Initialize he field to zero.
https://github.com/vim/vim/commit/03a297c63f1512ba9783104a343dc7e2024e0bb0
Also only initialize used fields in f_fullcommand().
2022-07-27 12:00:52 +08:00
zeertzjq
79872f3770
fix(options): properly free string options ( #19510 )
2022-07-27 07:26:32 +08:00
zeertzjq
890d4023cd
vim-patch:9.0.0081: command line completion of user command may have duplicates ( #19529 )
...
Problem: Command line completion of user command may have duplicates.
(Dani Dickstein)
Solution: Skip global user command if an identical buffer-local one is
defined. (closes vim/vim#10797 )
https://github.com/vim/vim/commit/c2842adfb2ca0637f13e2793fefa18e7818684f9
2022-07-27 07:25:47 +08:00
zeertzjq
2fdb0de197
Merge pull request #19528 from zeertzjq/vim-9.0.0051
...
vim-patch:9.0.{0051,0082,0083,0086}: cmdline fixes
2022-07-27 07:25:13 +08:00
zeertzjq
fc55f8263c
vim-patch:9.0.0086: tabline is not redrawn when entering command line
...
Problem: Tabline is not redrawn when entering command line.
Solution: Set "redraw_tabline". (closes vim/vim#10771 )
https://github.com/vim/vim/commit/6791adca53981666f0cf23e264e102b795224044
2022-07-27 06:32:40 +08:00
zeertzjq
0c0a2e4e52
vim-patch:9.0.0083: ModeChanged event not triggered when leaving cmdline window
...
Problem: ModeChanged event not triggered when leaving the cmdline window.
Solution: Call may_trigger_modechanged(). (closes vim/vim#10791 )
https://github.com/vim/vim/commit/c9e8fd6fc7d2027d0645b376d95a6ed51098036c
Code is already present in Nvim. Add some other related missing changes.
2022-07-27 06:23:47 +08:00
zeertzjq
9f1dc1466e
vim-patch:9.0.0082: cannot interrupt global command from command line
...
Problem: Cannot interrupt global command from command line.
Solution: Reset got_int in another place. (closes vim/vim#10739 )
https://github.com/vim/vim/commit/3cfae39b087c2724991d385e5e8ee7d011aa8e99
2022-07-27 06:19:43 +08:00
zeertzjq
45e2bbae83
vim-patch:9.0.0051: using CTRL-C wih :append may hang Vim
...
Problem: Using CTRL-C wih :append may hang Vim.
Solution: Reset got_int. (closes vim/vim#10729 , closes vim/vim#10728 )
https://github.com/vim/vim/commit/f754fe6a3d5384b5146c38a32db6da9d46e00c40
2022-07-27 06:19:43 +08:00
zeertzjq
289256337a
Merge pull request #19523 from ii14/vim-9.0.0085
...
vim-patch:9.0.0085: ":write" fails after ":file name" and the ":edit"
2022-07-27 05:58:27 +08:00
zeertzjq
1a4753f25a
Merge pull request #19514 from zeertzjq/vim-8.1.1424
...
vim-patch:8.1.1424,9.0.0076: crash when popup menu is deleted while waiting for char
2022-07-26 20:03:02 +08:00
zeertzjq
27116a0159
vim-patch:9.0.0076: no test for what patch 8.1.1424 fixes
...
Problem: No test for what patch 8.1.1424 fixes.
Solution: Add a test. (closes vim/vim#10789 )
https://github.com/vim/vim/commit/92a1678d488b7d023ddf2cd493a6ee0d7fcf1928
2022-07-26 19:37:17 +08:00
zeertzjq
ee8606d31f
vim-patch:8.1.1424: crash when popup menu is deleted while waiting for char
...
Problem: Crash when popup menu is deleted while waiting for char.
Solution: Bail out when pum_array was cleared.
https://github.com/vim/vim/commit/5c3fb04623d0260762f1c3c1ba250a407098ff2a
2022-07-26 19:36:24 +08:00
zeertzjq
1a07044c1c
revert: "vim-patch:9.0.0061: ml_get error with nested autocommand" ( #19509 )
...
This reverts commit 6cee15da72 .
Port this again when https://github.com/vim/vim/issues/10780 is fixed.
2022-07-26 11:53:17 +08:00
zeertzjq
147cce29a6
fix(cmdline): trigger CmdlineEnter and ModeChanged earlier ( #19474 )
...
Match Vim's ordering in code.
These tests are unrelated to ext_cmdline. Move them out of that block.
2022-07-26 10:21:30 +08:00
zeertzjq
fe159d23fd
vim-patch:9.0.0071: command overlaps with printed text in scrollback ( #19505 )
...
Problem: Command overlaps with printed text in scrollback.
Solution: Clear until end-of-line and use correct message chunk.
(closes vim/vim#10765 , closes vim/vim#10764 )
https://github.com/vim/vim/commit/ecdc82e74e6a7e73d9067ece1d5eac33abfde5ed
N/A patches for version.c:
vim-patch:9.0.0070: using utfc_ptr2char_len() when length is negative
Problem: Using utfc_ptr2char_len() when length is negative.
Solution: Check value of length. (closes vim/vim#10760 )
https://github.com/vim/vim/commit/4dc513a22c017b3061287deac74fa55f70a3214c
2022-07-26 07:30:33 +08:00
zeertzjq
7961f79904
Merge pull request #19494 from zeertzjq/vim-8.2.5155
...
vim-patch:8.2.{5155,5163,5164,5166}: diff fixes
2022-07-25 21:32:30 +08:00
zeertzjq
e4079f3b5a
vim-patch:8.2.5166: test for DiffUpdated fails
...
Problem: Test for DiffUpdated fails.
Solution: Also accept a count of two.
https://github.com/vim/vim/commit/f65cc665fa751bad3ffe75f58ce1251d6695949f
2022-07-25 20:48:21 +08:00
zeertzjq
771564b00e
vim-patch:8.2.5164: invalid memory access after diff buffer manipulations
...
Problem: Invalid memory access after diff buffer manipulations.
Solution: Use zero offset when change removes all lines in a diff block.
https://github.com/vim/vim/commit/c101abff4c6756db4f5e740fde289decb9452efa
2022-07-25 20:48:21 +08:00
zeertzjq
8543de3a86
vim-patch:8.2.5163: crash when deleting buffers in diff mode
...
Problem: Crash when deleting buffers in diff mode.
Solution: Recompute diffs later. Skip window without a valid buffer.
https://github.com/vim/vim/commit/cd38bb4d83c942c4bad596835c6766cbf32e5195
2022-07-25 20:48:21 +08:00
zeertzjq
611b43369e
vim-patch:8.2.5155: in diff mode windows may get out of sync
...
Problem: In diff mode windows may get out of sync. (Gary Johnson)
Solution: Avoid that the other window scrolls for 'cursorbind'.
https://github.com/vim/vim/commit/a315ce1f326b836167ca8b1037dafd93eb8d4d4e
2022-07-25 20:30:35 +08:00
zeertzjq
e12c62c1f7
Merge pull request #19470 from zeertzjq/vim-8.2.4866
...
vim-patch:8.2.4866,9.0.0066: duplicate code in "get" functions
2022-07-25 20:29:34 +08:00
zeertzjq
ad57610ac7
vim-patch:9.0.0066: switching window uneccarily when getting buffer options
...
Problem: Switching window uneccarily when getting buffer options.
Solution: Do not switch window when getting buffer options. (closes vim/vim#10767 )
https://github.com/vim/vim/commit/cd6ad6439da2ee2d1a8a6934c9d69e9c2664ba55
2022-07-25 20:01:59 +08:00
zeertzjq
56ed5a0403
vim-patch:8.2.4866: duplicate code in "get" functions
...
Problem: Duplicate code in "get" functions.
Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
and getbufvar(). (closes vim/vim#10335 )
https://github.com/vim/vim/commit/47d4e317f85e4aeb3799d962f173bd0f1e7bc71c
f_setbufvar() can use tv_get_buf_from_arg() as it sets emsg_off.
2022-07-25 20:01:59 +08:00
zeertzjq
6e9a7e7db8
Merge pull request #19493 from zeertzjq/vim-8.2.1469
...
vim-patch:8.2.{1469,2254,2284,2285,2969,4228}: option fixes and refactorings
2022-07-25 19:01:48 +08:00
zeertzjq
aba3147cb6
vim-patch:8.2.4228: no tests for clicking in the GUI tabline
...
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes vim/vim#9638 )
https://github.com/vim/vim/commit/b0ad2d92fd19e673ddbbc66742bae3f71778efde
2022-07-25 18:20:47 +08:00
zeertzjq
d8df9afad6
vim-patch:8.2.2969: subtracting from number option fails when result is zero
...
Problem: Subtracting from number option fails when result is zero. (Ingo
Karkat)
Solution: Reset the string value when using the numeric value.
(closes vim/vim#8351 )
https://github.com/vim/vim/commit/a42e6e0082a6d564dbfa55317d4a698ac12ae898
Cherry-pick Test_compound_assignment_operators() changes from patch 8.2.1593
2022-07-25 18:20:47 +08:00
zeertzjq
963ea726da
vim-patch:8.2.2285: Vim9: cannot set an option to a false
...
Problem: Vim9: cannot set an option to a false.
Solution: For VAR_BOOL use string "0". (closes vim/vim#7603 )
https://github.com/vim/vim/commit/b0d8182fa39f2c9403f5f9a0663589fcab43a6c8
2022-07-25 18:20:47 +08:00
zeertzjq
8921035fc7
vim-patch:8.2.2284: Vim9: cannot set an option to a boolean value
...
Problem: Vim9: cannot set an option to a boolean value.
Solution: Check for VAR_BOOL. (closes vim/vim#7603 )
https://github.com/vim/vim/commit/31a201a04aa95708af5d62070d2d397a201cc1a5
2022-07-25 18:20:47 +08:00
zeertzjq
2241fd3211
vim-patch:8.2.2254: Vim9: bool option type is number
...
Problem: Vim9: bool option type is number.
Solution: Have get_option_value() return a different value for bool and
number options. (closes vim/vim#7583 )
https://github.com/vim/vim/commit/dd1f426bd617ac6a775f2e7795ff0b159e3fa315
2022-07-25 18:20:47 +08:00
zeertzjq
3ea45a2caf
vim-patch:8.2.1469: Vim9: cannot assign string to string option
...
Problem: Vim9: cannot assign string to string option.
Solution: Change checks for option value. (closes vim/vim#6720 )
https://github.com/vim/vim/commit/0aae4809fd52b445531766411a9c963dc6274a04
2022-07-25 18:20:45 +08:00
zeertzjq
e9b58a619e
Merge pull request #18992 from zeertzjq/alt-mouse
...
fix(input): do no reinterpret mouse keys with ALT modifiers
2022-07-25 10:15:44 +08:00
zeertzjq
0cc41a61d1
test: improve some input tests
2022-07-25 09:47:28 +08:00
zeertzjq
eb77122823
fix(input): do no reinterpret mouse keys with ALT modifiers
...
Remove check for MOD_MASK_META as it is for <T- which never appears in TUI.
Make small changes to docs.
2022-07-25 09:47:28 +08:00
zeertzjq
ea13dce3bf
fix(mouse): fix using uninitialized memory with K_MOUSEMOVE ( #19480 )
...
Fix a mistake in the porting of Vim patch 8.0.1309.
2022-07-24 09:29:28 +08:00
zeertzjq
1849cf0e4c
Merge pull request #19476 from zeertzjq/vim-9.0.0059
...
vim-patch:9.0.{0059,0061}
2022-07-23 18:12:37 +08:00
zeertzjq
6cee15da72
vim-patch:9.0.0061: ml_get error with nested autocommand
...
Problem: ml_get error with nested autocommand.
Solution: Also check line numbers for a nested autocommand. (closes vim/vim#10761 )
https://github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089
2022-07-23 17:50:25 +08:00
zeertzjq
264791925a
vim-patch:9.0.0059: test file has wrong name
...
Problem: Test file has wrong name.
Solution: Rename the file. Various small fixes. (closes vim/vim#10674 )
https://github.com/vim/vim/commit/bb404f5ad5ec909318bc24e5b82e4ed7b87ba8f4
2022-07-23 14:22:08 +08:00
zeertzjq
d0ced2a127
Merge pull request #19471 from zeertzjq/vim-8.2.4731
...
vim-patch:8.2.{4731,5035}: changelist patches
2022-07-23 10:15:57 +08:00
zeertzjq
9d556fc81f
vim-patch:8.2.5035: when splitting a window the changelist position moves
...
Problem: When splitting a window the changelist position moves.
Solution: Set the changelist index a bit later. (closes vim/vim#10493 )
https://github.com/vim/vim/commit/e6f13b473cf2c270e4eab214e09be9825320c11b
Cherry-pick Test_nv_hat_count() change from patch 8.2.1593.
2022-07-23 09:48:24 +08:00
zeertzjq
91c99eed54
vim-patch:8.2.4731: the changelist index is not remembered per buffer
...
Problem: The changelist index is not remembered per buffer.
Solution: Keep the changelist index per window and buffer. (closes vim/vim#10135 ,
closes vim/vim#2173 )
https://github.com/vim/vim/commit/db0ea7f2b00c84d84f188c9e9953c4f1887528e7
Cherry-pick FOR_ALL_BUF_WININFO from patch 8.2.0500.
Cherry-pick test_changelist.vim change from patch 8.2.3795.
2022-07-23 09:48:24 +08:00
zeertzjq
ed6bbc03af
Merge pull request #19467 from zeertzjq/vim-8.2.1489
...
vim-patch:8.2.1489
2022-07-22 23:03:52 +08:00
zeertzjq
232cdbb880
vim-patch:8.2.1489: Vim9: error when setting an option with setbufvar()
...
Problem: Vim9: error when setting an option with setbufvar().
Solution: Do not get a number from a string value. (closes vim/vim#6740 )
https://github.com/vim/vim/commit/191929b182ba38abe6bc431fb9d8d9507f408903
Vim9 is N/A, so this just refactors the code without changing behavior.
2022-07-22 22:38:05 +08:00
zeertzjq
271739c830
refactor: move f_getbufvar() and f_setbufvar() to eval/vars.c
...
Vim moved them there in patch 8.1.1943.
2022-07-22 22:38:05 +08:00
zeertzjq
a7b9920930
refactor: move FunPtr to types.h ( #19466 )
...
This type itself is not eval-specific. Moving it to types.h can avoid
including eval/funcs.h in many headers, and types.h is already included
by many headers.
2022-07-22 22:05:02 +08:00
zeertzjq
9d4a4f49ef
vim-patch:8.1.1933: the eval.c file is too big ( #19462 )
...
Problem: The eval.c file is too big.
Solution: Move code related to variables to evalvars.c. (Yegappan
Lakshmanan, closes vim/vim#4868 )
https://github.com/vim/vim/commit/0522ba0359c96a8c2a4fc8fca0d3b58e49dda759
Name the new file eval/vars.c instead.
2022-07-22 21:14:17 +08:00
zeertzjq
bb7853a62d
test(mksession_spec): use %bwipeout! instead of qall! to close terminal ( #19465 )
...
Avoid expect_exit, session will be closed when a new one is spawned.
2022-07-22 12:59:34 +08:00
zeertzjq
8af3d641da
fix(grid): don't use utfc_ptr2char_len() when printing until NUL ( #19456 )
2022-07-22 06:41:51 +08:00
zeertzjq
946c8fd288
ci(labeler): do not add "column" label for mark.{c,h} ( #19455 )
2022-07-21 17:44:44 +08:00
zeertzjq
77b9f1eac5
refactor: fix clang warnings ( #19453 )
2022-07-21 17:42:59 +08:00
zeertzjq
c15e9d3746
fix(mark): give correct error message when mark is in another buffer ( #19454 )
2022-07-21 17:42:17 +08:00
zeertzjq
6a7d00469b
vim-patch:9.0.0047: using freed memory with recursive substitute ( #19457 )
...
Problem: Using freed memory with recursive substitute.
Solution: Always make a copy for reg_prev_sub.
https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea
2022-07-21 16:00:45 +08:00
zeertzjq
1f1863ed54
vim-patch:8.2.4502 ( #19439 )
...
vim-patch:8.2.4502: in the GUI a modifier is not recognized after CTRL-X
Problem: In the GUI a modifier is not recognized for the key typed after
CTRL-X, which may result in a mapping to be used. (Daniel
Steinberg)
Solution: Recognize a modifier starting with CSI. (closes vim/vim#9889 )
https://github.com/vim/vim/commit/d979d64fa269ff47a96fc6aed2f4cdd066753c0c
Code is N/A. This just ports the test change.
Test depends on README.txt in testdir. Add that file.
Reorder test_ins_complete.vim to match upstream.
2022-07-21 06:00:16 +08:00
zeertzjq
1a2560c2dc
test(old): set 'display' to an empty string ( #19450 )
2022-07-20 19:58:08 +08:00
zeertzjq
1ef84547a8
Merge pull request #19415 from zeertzjq/vim-8.1.1076
...
vim-patch:8.1.{1076,1849}: file for Insert mode is much too big
2022-07-20 06:33:55 +08:00
zeertzjq
420bb2eb8a
vim-patch:8.1.1849
...
https://github.com/vim/vim/commit/9bca58f36d1f6a2ac0e4022caa5f355d39357a05
2022-07-20 06:08:41 +08:00
zeertzjq
f357c9bca5
vim-patch:8.1.1076: file for Insert mode is much too big
...
Problem: File for Insert mode is much too big.
Solution: Split off the code for Insert completion. (Yegappan Lakshmanan,
closes vim/vim#4044 )
https://github.com/vim/vim/commit/7591bb39d58ece38a5fef984a08ea9012616c1f9
Cherry-pick ins_compl_len() -> get_compl_len() from patch 8.2.4001.
Revert a71c5e9eb9 : ctrl_x_mode is no
longer a global variable, so l_ctrl_x_mode is no longer needed.
2022-07-20 06:08:41 +08:00
zeertzjq
b154d951e6
Merge pull request #19434 from zeertzjq/vim-8.2.0509
...
vim-patch:8.2.{0509,2632}: startup tests
2022-07-19 22:27:36 +08:00
zeertzjq
358f9b776b
vim-patch:8.2.2632: not all command line arguments are tested
...
Problem: Not all command line arguments are tested.
Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes vim/vim#7992 )
https://github.com/vim/vim/commit/c5cf369e9543ff065e2e1da91da3218c223840e2
Cherry-pick two deletions from patch 8.2.1799.
2022-07-19 22:02:49 +08:00
zeertzjq
2e790e9ad1
vim-patch:8.2.0509: various code is not properly tested.
...
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5871 )
https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d
Cherry-pick test_clientserver.vim change from patch 8.1.1826.
Cherry-pick a comment from patch 8.2.0301.
Omit test_viminfo.vim.
2022-07-19 22:02:46 +08:00
zeertzjq
078e446181
Merge pull request #19429 from zeertzjq/fix-flaky-tests
...
fix flaky tests
2022-07-19 20:27:25 +08:00
zeertzjq
72dfd57e5f
test: deal with RPC call causing Nvim to exit later
2022-07-19 19:41:07 +08:00
zeertzjq
366e90cdc8
test: avoid timing-sensitive undo message
2022-07-19 19:41:07 +08:00
zeertzjq
7b835ba796
vim-patch:8.2.1147 ( #19425 )
...
vim-patch:8.2.1147: :confirm may happen in cooked mode
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
https://github.com/vim/vim/commit/27321dbeedf8bb833c48b01bf18536125794f65e
Code is N/A, but this improves tests. Port the improved tests to Lua.
2022-07-19 13:00:22 +08:00
zeertzjq
9e7f92e59a
Merge pull request #19404 from zeertzjq/vim-8.2.0670
...
vim-patch:8.2.{0670,0698,1294,1984,2424,2426,2427,5029}: textlock patches
2022-07-17 14:15:32 +08:00
zeertzjq
006334f3a7
vim-patch:8.2.2427: can still switch windows for 'completefunc'
...
Problem: Can still switch windows for 'completefunc'.
Solution: Also disallow switching windows for other completions.
https://github.com/vim/vim/commit/3eb6bd9c2b36dcce471bfb543c8d5488f1dc17a4
Assert E565 instead of E578.
Need to assert a different string because patch 8.2.1919 hasn't been
ported yet.
2022-07-17 13:51:46 +08:00
zeertzjq
f72ec95958
vim-patch:8.2.2426: allowing 'completefunc' to switch windows causes trouble
...
Problem: Allowing 'completefunc' to switch windows causes trouble.
Solution: use "textwinlock" instead of "textlock".
https://github.com/vim/vim/commit/28976e2accf11591c60e8a658a9e03544f0408b2
Assert E565 instead of E578.
vim-patch:8.2.0670: cannot change window when evaluating 'completefunc'
Problem: Cannot change window when evaluating 'completefunc'.
Solution: Make a difference between not changing text or buffers and also
not changing window.
https://github.com/vim/vim/commit/6adb9ea0a6ca01414f4b591f379b0f829a8273c0
vim-patch:8.2.5029: "textlock" is always zero
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes vim/vim#10489 )
https://github.com/vim/vim/commit/cfe456543e840d133399551f8626d985e1fb1958
2022-07-17 13:51:46 +08:00
zeertzjq
b0bbcfa239
vim-patch:8.2.2424: some tests are known to cause an error with ASAN
...
Problem: Some tests are known to cause an error with ASAN.
Solution: Add CheckNotAsan.
https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571
Move CheckNotMSWindows to the right place.
Omit test_memory_usage.vim: a Lua test is used for this file.
2022-07-17 13:51:46 +08:00
zeertzjq
656a1889ee
vim-patch:8.2.1984: cannot use :vimgrep in omni completion
...
Problem: Cannot use :vimgrep in omni completion, causing C completion to
fail.
Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes vim/vim#7292 )
https://github.com/vim/vim/commit/33aecb1f2c85711d53858b71f5f3c2cbe076435f
Cherry-pick Test_resize_from_copen() indent change from patch 8.2.1432.
2022-07-17 13:51:46 +08:00
zeertzjq
7e79cb56c5
vim-patch:8.2.1294: Vim9: error when using vim9script in TextYankPost
...
Problem: Vim9: error when using vim9script in TextYankPost.
Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
be used when text is locked. (closes vim/vim#6529 )
https://github.com/vim/vim/commit/37394ff75270877a032422abcd079a6732a29730
2022-07-17 13:51:46 +08:00
zeertzjq
95b1191505
vim-patch:8.2.0698: insert mode completion not fully tested
...
Problem: Insert mode completion not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6041 )
https://github.com/vim/vim/commit/f9ab52e155dc13f59b654d754041fe78e17b9074
Cherry-pick test_ins_complete.vim changes from patches 8.2.{0522,0615}.
2022-07-17 13:51:39 +08:00
zeertzjq
53c398d8f4
Merge pull request #19402 from zeertzjq/vim-8.2.0655
...
vim-patch:8.2.{0655,1040}: not enough tests
2022-07-17 11:30:32 +08:00
zeertzjq
7c3a87182d
vim-patch:8.2.1040: not enough testing for movement commands
...
Problem: Not enough testing for movement commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6313 )
https://github.com/vim/vim/commit/bdd2c290d3cda69e0046c42f0c651f60bc510a16
Cherry-pick test_functions.vim changes from patch 8.2.0183.
Cherry-pick Test_normal18_z_fold() change from patch 8.2.0540.
2022-07-17 11:08:14 +08:00
zeertzjq
e53330a603
vim-patch:8.2.0655: search code not sufficiently tested
...
Problem: Search code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5999 )
https://github.com/vim/vim/commit/224a5f17c6ec9e98322a4c6792ce4f9bb31a4cce
Cherry-pick test_charsearch.vim change from patch 8.2.0448.
Cherry-pick test_search.vim changes from patch 8.2.0619.
2022-07-17 10:03:58 +08:00
zeertzjq
9f837a5dcf
fix(api): fix nvim_parse_cmd interfere with printing line in Ex mode ( #19400 )
2022-07-17 09:59:32 +08:00
zeertzjq
4f59bc8013
Merge pull request #19391 from zeertzjq/vim-8.2.0052
...
vim-patch:8.2.{0052,0198,2608,2643}: code not fully tested
2022-07-17 06:07:05 +08:00
zeertzjq
0cfd4fa8f3
vim-patch:8.2.2643: various code not covered by tests
...
Problem: Various code not covered by tests.
Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995 )
https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649
Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}.
Reorder test_undo.vim to match upstream.
2022-07-16 22:46:54 +08:00
zeertzjq
780edfc0eb
vim-patch:8.2.2608: character input not fully tested
...
Problem: Character input not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963 )
https://github.com/vim/vim/commit/f4fcedc59d4cc5ae6b5270a933e8377030283c1c
Cherry-pick related changes from patches 8.2.{0433,0866}.
2022-07-16 21:55:27 +08:00
zeertzjq
bc73795a58
vim-patch:8.2.0198: no tests for y/n prompt
...
Problem: No tests for y/n prompt.
Solution: Add tests. (Dominique Pelle, closes vim/vim#5564 )
https://github.com/vim/vim/commit/43c60eda2aa22ba3d7aaf418cfbdb75f1a008e67
2022-07-16 21:32:25 +08:00
zeertzjq
f7c6676199
vim-patch:8.2.0052: more-prompt not properly tested
...
Problem: More-prompt not properly tested.
Solution: Add a test case. (Dominique Pelle, closes vim/vim#5404 )
https://github.com/vim/vim/commit/c6d539b67181ad573452e919e58ecbfa362f4c49
2022-07-16 21:32:25 +08:00
zeertzjq
711a6a9157
fix(ex_cmds): correct flags for :const ( #19387 )
2022-07-16 14:54:31 +08:00
zeertzjq
fa29bc94b5
vim-patch:8.2.0593: finding a user command is not optimal ( #19386 )
...
Problem: Finding a user command is not optimal.
Solution: Start further down in the list of commands.
https://github.com/vim/vim/commit/a494f56f885876c98a276f7acfa386bfbb344680
2022-07-16 13:49:48 +08:00
zeertzjq
591765c915
vim-patch:8.2.1061: insufficient testing for src/window.c ( #19384 )
...
Problem: Insufficient testing for src/window.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6345 )
https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3
Cherry-pick test_tagjump.vim changes from patch 8.1.2373.
2022-07-16 11:34:19 +08:00
zeertzjq
73526abbbd
fix(api): do not switch win/buf if getting option in current win/buf ( #19383 )
2022-07-16 09:31:05 +08:00
zeertzjq
33da7d83e8
fix(pum): make right drag in anchor grid to select work in multigrid UI ( #19382 )
2022-07-16 08:26:40 +08:00
zeertzjq
c0ae3df052
Merge pull request #19376 from zeertzjq/vim-8.2.0535
...
vim-patch:8.2.{0535,0542}: regexp patterns not fully tested
2022-07-15 20:45:52 +08:00
zeertzjq
8bfcff6c4a
vim-patch:8.2.0542: no test for E386
...
Problem: No test for E386.
Solution: Add a test. (Dominique Pelle, closes vim/vim#5911 )
https://github.com/vim/vim/commit/8832a3457831707286dd2d9252ba14a5f9fd4c60
Cherry-pick Test_search_errors() from patch 8.2.0448.
2022-07-15 20:23:48 +08:00
zeertzjq
ba5ff6e5f0
vim-patch:8.2.0535: regexp patterns not fully tested
...
Problem: Regexp patterns not fully tested.
Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
closes vim/vim#5901 )
https://github.com/vim/vim/commit/4d23c52824dd2f4577eb980e7d91feed34052755
Add missing Test_search_cmdline8().
Cherry-pick Test_invalid_regexp() from patch 8.2.0531.
2022-07-15 20:23:48 +08:00
zeertzjq
827906136d
test: improve searchhl tests
2022-07-15 19:38:13 +08:00
zeertzjq
b9f15caf5c
Merge pull request #19375 from zeertzjq/vim-8.2.0403
...
vim-patch:8.1.1547,8.2.0403: when 'buftype' is "nofile" there is no overwrite check
2022-07-15 19:26:32 +08:00
zeertzjq
0cf5cd1ac9
vim-patch:8.2.0403: when 'buftype' is "nofile" there is no overwrite check
...
Problem: When 'buftype' is "nofile" there is no overwrite check.
Solution: Also check for existing file when 'buftype' is set.
(closes vim/vim#5807 )
https://github.com/vim/vim/commit/a3a9c8ef697bbf6f640cde99710b6f534f29f77d
Nvim doesn't have buftype=popup and doesn't allow buftype=terminal for
non-terminal buffer.
2022-07-15 18:27:21 +08:00
zeertzjq
4a64cdafd6
vim-patch:8.1.1547: functionality of bt_nofile() is confusing
...
Problem: Functionality of bt_nofile() is confusing.
Solution: Split into bt_nofile() and bt_nofilename().
https://github.com/vim/vim/commit/26910de8b0da6abab87bd5a397330f9cbe483309
2022-07-15 18:27:21 +08:00
zeertzjq
564d99c89a
Merge pull request #19373 from zeertzjq/vim-8.2.0426
...
vim-patch:8.0.1118,8.2.0426
2022-07-15 16:49:00 +08:00
zeertzjq
a649af4dba
vim-patch:8.2.0426: some errors were not tested for
...
Problem: Some errors were not tested for.
Solution: Add tests. (Dominique Pelle, closes vim/vim#5824 )
https://github.com/vim/vim/commit/9b9be007e7d674f49fc2b650f840d08532b180ad
Cherry-pick get_highest_fnum() from patch 8.1.1908 to make tests pass.
2022-07-15 15:21:39 +08:00
zeertzjq
7b5b7b3cc6
vim-patch:8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
https://github.com/vim/vim/commit/4033c55eca575777718c0701e26635a0cc47d907
2022-07-15 15:21:39 +08:00
zeertzjq
9777907467
Merge pull request #19369 from zeertzjq/vim-8.2.0482
...
vim-patch:8.2.{0430,0482}: insufficient tests
2022-07-15 11:14:22 +08:00
zeertzjq
465b73c3a5
vim-patch:8.2.0482: channel and sandbox code not sufficiently tested
...
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855 )
https://github.com/vim/vim/commit/ca68ae13114619df3e4c195b41ad0575516f5ff6
Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
2022-07-15 10:50:21 +08:00