Problem: "vat" does not select tags correctly over line break.
Solution: Adjust the search pattern. (Aufar Gilbran, closesvim/vim#7136)
a604ccc959
Use 'const char*' for spat,mpat,epat params of do_searchpair()
to reduce (char_u *) casts.
Cherry-pick Test_string_html_objects() changes from patch 8.2.0655.
defsfile:write() is executed multiple times to append strings.
Some of these can be combined into a format string, wrapped in [[]].
It is easier to read and insert strings via "%s".
defsfile now has a trailing comma for "cmdnames" array
but it does not break the build.
Problem: Not enough testing for the Ruby interface.
Solution: Add more tests. (Dominique Pelle, closesvim/vim#3252)
edd6aacb01
Modified some tests to make them pass for Neovim.
Some tests will always fail because +ruby is externalized in Neovim.
Skip failing ruby tests for now.
Problem: Blob not tested with Perl.
Solution: Add more test coverage. Fixes a crash. (Dominique Pelle,
closesvim/vim#4037)
2472ae81df
This commit is only to match test_perl.vim from Vim 8.1.0978
so that test_perl.vim patches are easier to port.
Problem: Crash when USE_FNAME_CASE is defined and using :browse.
Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
closesvim/vim#7123)
21cbe175ee
Problem: using :version twice leaks memory
Solution: Only initialize variables once. (Dominique Pelle, closesvim/vim#5917)
278e83863b
Cherry-pick test_alot.vim change from patch v8.2.0164
so that test_expr.vim and test_version.vim do not conflict.
Cherry-pick modeline from patch v8.2.1432.
N/A patches for version.c:
vim-patch:8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
35fb6fbf72
vim-patch:8.1.0975: using STRNCPY() wrongly. Warning for uninitialized variable
Problem: Using STRNCPY() wrongly. Warning for uninitialized variable.
Solution: Use mch_memmove(). Initialize variable. (Yasuhiro Matsumoto,
closesvim/vim#3979)
c666388367
vim-patch:8.1.1403: cannot build without the timer feature
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
35d5af6c0b
vim-patch:8.1.1569: cannot build with signs but without diff feature
Problem: Cannot build with signs but without diff feature.
Solution: Move #ifdef. (Tom Ryder)
bf8c3adef2
vim-patch:8.1.1856: popup preview test fails sometimes
Problem: popup preview test fails sometimes. (Christian Brabandt)
Solution: Clear the command line.
78d629a385
vim-patch:8.1.1983: compiler nags for uninitialized variable and unused function
Problem: Compiler nags for uninitialized variable and unused function.
Solution: Add unnecessary initialization. Move function inside #ifdef.
ea781459b9
vim-patch:8.1.2014: terminal altscreen test fails sometimes
Problem: Terminal altscreen test fails sometimes.
Solution: Use WaitFor().
b9c79cf5cc
vim-patch:8.1.2365: missing tests for recent popupwin changes
Problem: Missing tests for recent popupwin changes.
Solution: Add test cases.
20ebbeac46
vim-patch:8.1.2406: leaking memory in test_paste and test_registers
Problem: Leaking memory in test_paste and test_registers.
Solution: Free the old title. Don't copy expr_line.
6b649ac4fd
vim-patch:8.2.0616: build error when disabling the diff feature
Problem: Build error when disabling the diff feature.
Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
e770598f31
vim-patch:8.2.1020: popupwin test fails in the GUI
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
b326edf5b3
vim-patch:8.2.1036: popupwin test fails sometimes
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
373c65104e
vim-patch:8.2.1038: popupwin test fails
Problem: Popupwin test fails.
Solution: Fix WaitForAssert() argument.
b2b218d89b
vim-patch:8.2.1743: cannot build without the eval feature
Problem: Cannot build without the eval feature.
Solution: Move shorten_dir outside of #ifdef.
273af497ca
vim-patch:8.2.1843: Netbeans: with huge buffer number memory allocation may fail
Problem: Netbeans: with huge buffer number memory allocation may fail.
Solution: Check for size overflow.
b9616af23f
Also allow to get parser ranges.
This will be useful for language injection, allowing us to tweak the
parser's ranges on the fly.
Update runtime/lua/vim/treesitter.lua
Co-authored-by: Paul Burlumi <paul@burlumi.com>
Problem: Using "gn" after "gN" does not work.
Solution: Extend the other end of the Visual area. (closesvim/vim#7109)
c07b7f701f
N/A patches for version.c:
vim-patch:8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9
Problem: PyEval_InitThreads() is deprecated in Python 3.9.
Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
Takata, closesvim/vim#7113) Avoid warnings for functions.
efc0d94afc
Runtime queries just work like ftplugins, that is:
- Queries in the `after` directory are sourced _after_ the "base" query
- Otherwise, the last define query takes precedence.
Queries can be found in the `queries` directory.
Update runtime/lua/vim/treesitter/query.lua
Co-authored-by: Paul Burlumi <paul@burlumi.com>
Problem: Cannot use address type "other" with with user command.
Solution: Add "other" to the list. (Daniel Hahler, closesvim/vim#3655) Also
reject "%" for commands with "other". Add some more tests.
51a7454cd2
Problem: "gN" does not select the matched string.
Solution: Move the cursor to the start of the match.
28f224b2c1
N/A patches for version.c:
vim-patch:8.2.1820: Vim9: crash when error happens in timer callback
Problem: Vim9: crash when error happens in timer callback.
Solution: Check that current_exception is not NULL. (closesvim/vim#7100)
820d55a50b
vim-patch:8.2.1829: warnings when executing Github actions
Problem: Warnings when executing Github actions.
Solution: Use another method to set environment variables. (Ken Takata,
closesvim/vim#7107)
bd6428b9e7
vim-patch:8.2.1830: MS-Windows: Python3 issue with stdin
Problem: MS-Windows: Python3 issue with stdin.
Solution: Check if stdin is readable. (Ken Takata, closesvim/vim#7106)
c6ed254d9f
vim-patch:8.2.1831: file missing from distribution
Problem: File missing from distribution.
Solution: Add the github code analyses file.
ef16c90423
Problem: Quickfix function arguments are inconsistent.
Solution: Pass a list pointer to more functions. (Yegappan Lakshmanan,
closesvim/vim#4149)
9afe5e9cc0
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closesvim/vim#4113)
647e24ba3d
Problem: Cannot easily change the current quickfx list index.
Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan,
closesvim/vim#3701)
5b69c22fd2