Commit Graph
17559 Commits
Author SHA1 Message Date
Jan Edmund Lazo d1608f7503 vim-patch:8.1.1275: cannot navigate to errors before/after the cursor
Problem:    Cannot navigate to errors before/after the cursor.
Solution:   Add the :cbefore and :cafter commands. (Yegappan Lakshmanan,
            closes vim/vim#4340)
https://github.com/vim/vim/commit/cf6a55c4b0cbf38b0c3fbed5ffd9a3fd0d2ede0e
2021-01-01 04:58:05 -05:00
erw7 5cf94effee test, legacy/assert_spec.lua: fix few tests fail
Adjust failing tests to current behavior due to changes in assert_fails
behavior by fbd6a86.
2021-01-01 04:58:05 -05:00
erw7 35dc6d6e87 vim-patch:8.1.1261: no error for quickfix commands with negative range
Problem:    No error for quickfix commands with negative range.
Solution:   Add ADDR_UNSIGNED and use it for quickfix commands.  Make
            assert_fails() show the command if the error doesn't match.
https://github.com/vim/vim/commit/25190db225d63e185e77e043e694ef455b3cf304

N/A patches for version.c:

vim-patch:8.2.0113: "make cmdidxs" fails

Problem:    "make cmdidxs" fails.
Solution:   Allow address for ":cquit".  Add --not-a-term to avoid a delay.
https://github.com/vim/vim/commit/9b24dfcb9f676e7f7a09a9062f0d05b2104a87eb
2021-01-01 04:57:50 -05:00
Michael Lingelbach f3bbc92476 LSP: add test for workspace/configuration handler 2021-01-01 01:40:46 -08:00
Michael Lingelbach e467d29390 LSP: Move workspace/configuration handler from nvim-lspconfig to core 2021-01-01 01:40:33 -08:00
Michael Lingelbach 8742082661 LSP: Add helper function from accessing language server settings from nvim-lspconfig 2021-01-01 01:40:33 -08:00
erw7 a66d63f36e test, provider/define_spec.lua: fix few tests fail
fbd6a86 changes the behavior of :command-range and no longer allows
arbitrary numbers. Adjust tests to reflect this behavior.
2021-01-01 04:30:55 -05:00
Jan Edmund Lazo f3c242c13c vim-patch:8.1.1241: Ex command info contains confusing information
Problem:    Ex command info contains confusing information.
Solution:   When using the NOTADR flag use ADDR_OTHER for the address type.
            Cleanup code using NOTADR.  Check for errors in
            create_cmdidxs.vim.  Adjust Makefile to see the errors.
https://github.com/vim/vim/commit/b731689e85b4153af7edc8f0a6b9f99d36d8b011

Use Lua's "assert()" to make an invalid command definition
a compilation error.

Misc changes:

Remove 'RESTRICT' flag.
Neovim does not support "restricted" mode
since commit 7777532ceb.

TODO:
Do not generate files before Lua assertions
so that CMake always runs the generator script
if the previous build has an invalid command definition.
2021-01-01 04:30:55 -05:00
Jan Edmund Lazo cf3a861017 vim-patch:8.1.1549: quickfix test fails
Problem:    Quickfix test fails.
Solution:   Negate result of bt_quickfix().
https://github.com/vim/vim/commit/61eeeea8e6455b1f36905c45a62ea8414f2f1dab

Patch v8.1.1547 introduces the bug that is fixed by this patch.

N/A patches for version.c:

vim-patch:8.1.1590: popup window test fails

Problem:    Popup window test fails.
Solution:   Add "scrollbar" to expected result.
https://github.com/vim/vim/commit/6c6a603cd2db9cbd51c9b4e3ff44cbab72b98592

vim-patch:8.1.1881: popup window test fails in some configurations

Problem:    Popup window test fails in some configurations.
Solution:   Check that screendumps can be made.
https://github.com/vim/vim/commit/f4665e78f2d1b2ca64de5f5331d03de7d61c8c66

vim-patch:8.1.2079: popup window test fails without +terminal

Problem:    Popup window test fails without +terminal.
Solution:   Check for the +terminal feature.
https://github.com/vim/vim/commit/d2c1fb476d5816db129eb428ffef6a81027eb13a

vim-patch:8.1.2322: quickfix test fails in very big terminal

Problem:    Quickfix test fails in very big terminal.
Solution:   Adjust the expected result for the width. (Masato Nishihata,
            closes vim/vim#5244)
https://github.com/vim/vim/commit/ffc4fb8fee4521a86670ae791411e319b6a2e1fd

Patch v8.1.2339 reverts the change but patch v8.1.2340 restores it.
Port of patch v8.1.2340 was merged and includes changes from patches
v8.1.2320, v8.1.2322, v8.1.2339.

vim-patch:8.2.2255: Tcl test fails

Problem:    Tcl test fails.
Solution:   Change option handling.
https://github.com/vim/vim/commit/1779ff48427931736998a6e5621b5cbe4d99c3e3
2020-12-31 19:16:30 -05:00
Jan Edmund Lazo f3a8c930a4 Merge pull request #13653 from janlazo/revert-10848
Revert #10848
2020-12-31 18:44:41 -05:00
Jan Edmund Lazo b01a60b1aa Revert "vim-patch:8.1.0822: peeking and flushing output slows down execution"
This reverts commit 0519a75f6e.
2020-12-31 16:44:53 -05:00
Jan Edmund Lazo 27548e3cd0 Revert "vim-patch:8.1.1189: mode is not cleared when leaving Insert mode"
This reverts commit 4afddb8f57.
2020-12-31 16:44:53 -05:00
Jan Edmund Lazo 723e009214 Revert "vim-patch:8.1.1192: mode is not cleared when leaving Insert mode with mapped Esc"
This reverts commit 44bb7147e4.

Avoid regression mentioned in https://github.com/neovim/neovim/commit/c64cce906e7ed828d331e1786c985ff7aa734546#commitcomment-45554271
2020-12-31 16:44:53 -05:00
James McCoy 74b343a6f2 Merge pull request #13650 from jamessan/windows-binaries
ci: Add Windows binaries to the release
2020-12-31 01:09:27 -05:00
James McCoy 0aa6b40599 ci: Add Windows binaries to the release 2020-12-31 00:14:37 -05:00
James McCoy 0efbab5f5e Merge pull request #13644 from jamessan/ci-tweaks 2020-12-30 22:13:01 -05:00
Jan Edmund Lazo 00247ecadc Merge pull request #13646 from janlazo/vim-8.2.2247
vim-patch:8.1.{172,1230,1727},8.2.2247
2020-12-30 20:34:56 -05:00
Michael Lingelbach fd507e2788 LSP: window/showMessageRequest (#13641)
Another 3.16 compatibility. Solves Vue crashing currently. Currently not handling the return result, but would allow opening web browser in this case.
2020-12-31 00:09:33 +01:00
Matthieu Coudron e256777b5a Merge pull request #13648 from teto/fix-fold-hl
adds a test to check syntax is taken into account in open folds
2020-12-30 23:55:00 +01:00
Michael Lingelbach 28b7574c94 lsp: Disable capabilities not currently supported by language client handlers (#13638)
Several language servers are incorrectly invoking handlers which are not yet implemented in core.
2020-12-30 23:54:02 +01:00
Timmy Xiao 329547bf70 doc: Fix some spelling errors (#13636)
- Change 'conenvience' to 'convenient'
- Change 'lsp-handers' to 'lsp-handlers'
2020-12-30 23:39:05 +01:00
Matthieu Coudron 9c68aac37b tests: check highlights work in open folds
to prevent a regression we just witnessed
2020-12-30 23:32:40 +01:00
Matthieu Coudron 61c9d2a213 fix(flake): enable make functionaltest
otherwise busted is not provided/found and functionaltests are disabled.
2020-12-30 23:32:40 +01:00
Michael Lingelbach fb90b6ec98 LSP: implement window/workDoneProgress/create (#13640) 2020-12-30 23:17:35 +01:00
Jan Edmund Lazo bc8f2fdca4 vim-patch:8.1.1727: code for viminfo support is spread out
Problem:    Code for viminfo support is spread out.
Solution:   Move to code to viminfo.c. (Yegappan Lakshmanan, closes vim/vim#4686)
https://github.com/vim/vim/commit/defa067c54874dd987121dd7252c62755e0aebfa

N/A patches for version.c:

vim-patch:8.1.1230: a lot of code is shared between vim.exe and gvim.exe

Problem:    A lot of code is shared between vim.exe and gvim.exe.
Solution:   Optionally put the shared code in vim.dll. (Ken Takata,
            closes vim/vim#4287)
https://github.com/vim/vim/commit/afde13b62b8fa25dac4635d5caee8d088b937ee0

vim-patch:8.2.2247: VMS: various smaller problems

Problem:    VMS: various smaller problems.
Solution:   Fix VMS building and other problems. (Zoltan Arpadffy)
https://github.com/vim/vim/commit/467676d468cb10db78d79d5bd2139ded9f70d26f
2020-12-30 15:55:18 -05:00
Jan Edmund Lazo 3ea77f50cb vim-patch:8.1.0172: 'viminfofile' option does not behave like a file name
Problem:    'viminfofile' option does not behave like a file name.
Solution:   Add the P_EXPAND flag. (closes vim/vim#3178)
https://github.com/vim/vim/commit/c229e54a69468722ca2449e807e90445b7479659
2020-12-30 15:55:18 -05:00
James McCoy 2f1dc21379 ci(GHA): Disable fail-fast for CI checks 2020-12-30 09:52:42 -05:00
James McCoy 5964c0597a Remove Appveyor badge 2020-12-30 09:49:35 -05:00
Matthieu Coudron 52163c66b9 fix(fold): highlight even in folds (#13643) 2020-12-30 15:17:41 +01:00
Jan Edmund Lazo 69fc6c2de0 Merge pull request #13552 from janlazo/vim-8.1.0149
vim-patch:8.1.{149,151,790,2100}
2020-12-29 23:15:10 -05:00
Jan Edmund Lazo d2837d5efc vim-patch:8.1.2100: :mksession is not sufficiently tested
Problem:    :mksession is not sufficiently tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes vim/vim#4993)
https://github.com/vim/vim/commit/ee1a2b5a2a44dde9b4e9b34141b4d1c7b0e0513f
2020-12-29 22:35:25 -05:00
Jan Edmund Lazo f0a8ccff8f vim-patch:8.1.0790: code for creating tabpages in session is too complex
Problem:    Code for creating tabpages in session is too complex.
Solution:   Simplify the code. (Jason Franklin)
https://github.com/vim/vim/commit/57a6bf056715bd5c94d8047247615e39862424e7
2020-12-29 22:31:21 -05:00
Jan Edmund Lazo c60f7c2064 vim-patch:8.1.0151: mksession test fails on MS-Windows
Problem:    Mksession test fails on MS-Windows.
Solution:   Always use an argument for :lcd.
https://github.com/vim/vim/commit/81e2ac7bb68a0321529ad5c89c8674caab4bca6b
2020-12-29 22:31:21 -05:00
Jan Edmund Lazo ca2551bc9b vim-patch:8.1.0149: session is wrong with multiple tabs when :lcd was used
Problem:    The generated sessions file does not restore tabs properly if :lcd
            was used in one of them.
Solution:   Create the tab pages before setting the directory. (Yee Cheng
            Chin, closes vim/vim#3152)
https://github.com/vim/vim/commit/26d4b896a789e65df7ee0cf3e25056eabc523fda
2020-12-29 22:31:20 -05:00
Jan Edmund Lazo c762f5220b vim-patch:8.2.2244: crash when making the window width negative (#13633)
Problem:    Crash when making the window width of the not-current window
            negative.
Solution:   Make sure the window width is not negative. (closes vim/vim#7568)
https://github.com/vim/vim/commit/89015a675990bd7d70e041c5d890edb803b5c6b7

N/A patches for version.c:

vim-patch:8.0.1617: Win32: :shell command in the GUI crashes

Problem:    Win32: :shell command in the GUI crashes.
Solution:   Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
            closes vim/vim#2721)
https://github.com/vim/vim/commit/42f652f733550a0d8bc9b030c9a5a62e7e2d8668

vim-patch:8.1.0244: no redraw when using a STOP signal on Vim and then CONT

Problem:    No redraw when using a STOP signal on Vim and then a CONT signal.
Solution:   Catch the CONT signal and force a redraw. (closes vim/vim#3285)
https://github.com/vim/vim/commit/917e32bda5a93941fbbccab09ae3960114b67188

vim-patch:8.1.0302: crash when using :suspend and "fg"

Problem:    Crash when using :suspend and "fg".
Solution:   Undo patch 8.1.244.
https://github.com/vim/vim/commit/f1883479be91550bc31dd88f593b3012863a2629

vim-patch:8.1.0548: crash when job callback unloads a buffer

Problem:    Crash when job callback unloads a buffer. (James McCoy)
Solution:   Don't round up the wait time to 10 msec in ui_inchar().
https://github.com/vim/vim/commit/1341024e0823d9aa9cde08d6b55e12f2d90ff778

vim-patch:8.1.1652: GUI: popup window doesn't close on mouse movement

Problem:    GUI: popup window doesn't close on mouse movement. (Paul Jolly)
Solution:   Generate mouse-move events when a popup window is visible.
https://github.com/vim/vim/commit/49fe95f22517b775506ef34681000d84bb417eb3

vim-patch:8.1.1695: Windows 10: crash when cursor is at bottom of terminal

Problem:    Windows 10: crash when cursor is at bottom of terminal.
Solution:   Position the cursor before resizing. (Yasuhiro Matsumoto,
            closes vim/vim#4679)
https://github.com/vim/vim/commit/f49a6922596ea88856da802fe33df953b7d77ecb

vim-patch:8.2.2246: cursor keys not recognized at the hit-Enter prompt

Problem:    Cursor keys not recognized at the hit-Enter prompt after executing
            an external command.
Solution:   Change the codes for the extra cursor keys. (closes vim/vim#7562)
            Tune the delays to avoid test flakyness.
https://github.com/vim/vim/commit/4d8c96d4668ac965d4e84b9676fba6d7efe62a32
2020-12-29 21:15:36 -05:00
James McCoy 28a0f6b17d Merge pull request #13629 from jamessan/remove-old-ci 2020-12-28 21:47:00 -05:00
James McCoy 18512649e6 ci(travis): Remove jobs covered by GHA 2020-12-28 21:19:48 -05:00
James McCoy 7dbc82912a ci(appveyor): Remove now that GHA is testing Windows 2020-12-28 21:19:18 -05:00
James McCoy a06c256ec8 Merge pull request #13540 from erw7/add-gha-for-windows-vs2017 2020-12-28 21:15:38 -05:00
Jan Edmund Lazo f5383705d1 Merge pull request #13624 from janlazo/vim-8.2.2234
vim-patch:8.1.1032,8.2.{429,1785,2234,2235,2237,2241}
2020-12-28 20:14:48 -05:00
Matthieu Coudron b0215afc84 fix(fold): dont highlight search results on folded lines (#13616)
Behavior may change in future but for now stick to legacy behavior.
2020-12-29 01:19:24 +01:00
Jan Edmund Lazo d712c30fff vim-patch:8.2.0429: no warning when test checks for option that never exists
Problem:    No warning when test checks for option that never exists.
Solution:   In tests check that the option can exist.
https://github.com/vim/vim/commit/c5a8fdc42dbd304598b2d73db754c7b97665b182
2020-12-28 18:34:01 -05:00
Jan Edmund Lazo 26dfeb42dd vim-patch:8.1.1032: warnings from clang static analyzer
Problem:    Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution:   Fix relevant warnings.
https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
2020-12-28 18:34:01 -05:00
Jan Edmund Lazo 0e913a0812 vim-patch:8.2.2234: command line wildmenu test often fails with Unix GUI
Problem:    Command line wildmenu test often fails with Unix GUI.
Solution:   Skip the test where it is expected to fail.
https://github.com/vim/vim/commit/3e112acc220dcacb58d77edca71910a532fffd0f

Include modeline fix for ASAN build.

N/A patches for version.c:

vim-patch:8.2.1785: compiler warning for strcp() out of bounds

Problem:    Compiler warning for strcp() out of bounds. (Christian Brabandt)
Solution:   use memmove() instead.
https://github.com/vim/vim/commit/3f974ff45e0ea4b85fea7d8768f005d8a2c7941e

vim-patch:8.2.2235: build failure with some Ruby versions

Problem:    Build failure with some Ruby versions.
Solution:   Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes vim/vim#7564)
https://github.com/vim/vim/commit/dace9f785fca6cc802b2fb7f11a5ee4fab896432

vim-patch:8.2.2237: CI on Mac fails in sed command

Problem:    CI on Mac fails in sed command.
Solution:   Set LC_ALL to "C". (Ozaki Kiichi, closes vim/vim#7565)
https://github.com/vim/vim/commit/ed1e4c9a70aaa7de56bac23e75a846e874a32a56

vim-patch:8.2.2241: Build with Ruby and clang may fail

Problem:    Build with Ruby and clang may fail.
Solution:   Adjust congigure and sed script. (Ozaki Kiichi, closes vim/vim#7566)
https://github.com/vim/vim/commit/864a28b6a6ae4f1a56e230be26bc6d13e3f8b3d9
2020-12-28 18:33:50 -05:00
Adam P. Regasz-Rethy 93762072d1 lsp: Use correct bufnr for documentHighlight handler (#13622) 2020-12-29 00:05:30 +01:00
Jan Edmund Lazo a58c5509d9 Merge pull request #13607 from janlazo/vim-8.2.2221
vim-patch:8.1.2227,8.2.{315,928,1007,1052,1121,1580,2221,2229,2231,2232}
2020-12-27 17:14:31 -05:00
Jan Edmund Lazo cff4cad25a vim-patch:8.2.2231: when "--remote file" is used "file" is not reloaded
Problem:    When "--remote file" is used "file" is not reloaded.
Solution:   When a :drop command is used for a file that is already displayed
            in a window and it has not been changed, check if it needs to be
            reloaded. (closes vim/vim#7560)
https://github.com/vim/vim/commit/e4862a0fe62261754daf476866ef2aa8586b716c

Remove unused "focus" parameter from "buf_check_timestamp()".
It was meant for removed GUI code.
2020-12-27 14:37:19 -05:00
Jan Edmund Lazo 883114e882 vim-patch:8.2.0928: many type casts are used for vim_strnsave()
Problem:    Many type casts are used for vim_strnsave().
Solution:   Make the length argument size_t instead of int. (Ken Takata,
            closes vim/vim#5633)  Remove some type casts.
https://github.com/vim/vim/commit/df44a27b53586fccfc6a3aedc89061fdd9a515ff

N/A patches for version.c:

vim-patch:8.2.0315: build failure on HP-UX system

Problem:    Build failure on HP-UX system.
Solution:   Use LONG_LONG_MIN instead of LLONG_MIN.  Add type casts for switch
            statement. (John Marriott)
https://github.com/vim/vim/commit/c593bec4120f122e8a9129ec461968f1bd214435

vim-patch:8.2.1052: build failure with older compilers

Problem:    Build failure with older compilers.
Solution:   Move declaration to start of block.
https://github.com/vim/vim/commit/7acde51832f383f9a6d2e740cd0420b433ea841a

vim-patch:8.2.2229: build failure without the +eval feature

Problem:    build failure without the +eval feature.
Solution:   Add #ifdef.
https://github.com/vim/vim/commit/39cb2dab18e85fc60f116a4543e433616872b690

vim-patch:8.2.2232: compiler error for falling through into next case

Problem:    Compiler error for falling through into next case.
Solution:   Move FALLTHROUGH below the #endif
https://github.com/vim/vim/commit/9618a25b9c054f0ee4e267d2db96b6e7c113ed7a
2020-12-27 14:05:41 -05:00
Thomas Vigouroux f2be59d8f8 Merge pull request #13611 from HARSH-SHETH/typo
Fixed a typo.
2020-12-27 17:56:09 +01:00
HARSH-SHETH b9c48e1d75 Fixed a typo.
Changed 'reqesting' to 'requesting' in /runtime/doc/api.txt file
2020-12-27 10:19:21 +05:30