| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Problem: The initial value of 'backupskip' can have duplicate items.
Solution: Remove duplicates, like when it is set later. (Tom Ryder,
closes vim/vim#6940)
https://github.com/vim/vim/commit/b00ef0508b22905379953a164bdb4300015d3705
|
| |\
| |
| | |
[RFC] vim-patch:8.2.{1693,1703,1705}
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: "verbose hi Name" reports incorrect info after ":hi clear".
Solution: Store the script context. (Antony Scriven, closes vim/vim#6975)
https://github.com/vim/vim/commit/e8df0104985af58ee501a6fbac8ac9f886e84e5a
Also adds src/nvim/testdir/script_util.vim which originates from patch 8.2.1366
(https://github.com/vim/vim/commit/a6296200bd5191bab7efcdcc16c9e79eb498e8e0)
because some tests in test_highlight.vim use it for testing :verbose.
Should merge this and older related patches later.
Also, fix collateral damage to test_options.vim
test_options tests for file name completion in the test directory, but
since we've added a new file, the test output is now different. This
test is slightly different from upstream anyway, so for now we just add
the file name. This may change when more upstream patches are added
which alter this test.
|
| | |
| |
| |
| |
| |
| | |
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (vim/vim#7899)
https://github.com/vim/vim/commit/9e813b3dea94a8952b732a224fa31beba6e85973
|
| |/
|
|
|
|
| |
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes vim/vim#7747)
https://github.com/vim/vim/commit/d5e8c92816f35ea1a9298084238a08f35958baa6
|
| |
|
|
|
|
|
|
| |
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes vim/vim#7533)
https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Setting 'winminheigt' does not take tabline into account.
Solution: Subtract the tabline from the available height. (closes vim/vim#7899)
https://github.com/vim/vim/commit/39d4cab494248131b6fb07aba633aa4da7871a57
N/A patches for version.c:
vim-patch:8.1.0680: not easy to see what features are unavailable
Problem: Not easy to see what features are unavailable.
Solution: Highlight disabled features in the :version output. (Nazri Ramliy,
closes vim/vim#3756)
https://github.com/vim/vim/commit/c85ffc9daba6f66d5958ae80249d26f7f81bfced
vim-patch:8.2.2196: :version output has extra spaces in compile and link command
Problem: :version output has extra spaces in compile and link command.
Solution: Adjust QUOTESED. (closes vim/vim#7505)
https://github.com/vim/vim/commit/abcbb0e9ad43fc25077e1681528e72ddcbeed300
vim-patch:8.2.2551: MS-Windows: colors test file is not installed
Problem: MS-Windows: colors test file is not installed.
Solution: Also copy runtime/colors/tools. (Ken Takata, closes vim/vim#7902)
https://github.com/vim/vim/commit/d0bce504ec52def729fffa35c8896979af348d32
vim-patch:8.2.2559: MS-Windows: guifont test fails on Windows XP
Problem: MS-Windows: guifont test fails on Windows XP.
Solution: Check windowsversion().
https://github.com/vim/vim/commit/3650fd709807d5ac182e28d952cbd790c1ad0a6a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with GUI
Problem: Setting 'term' empty has different error if compiled with GUI.
Solution: Insert "else". (closes vim/vim#7766)
https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c
N/A patches for version.c:
vim-patch:8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration.
Solution: Add -Wno-deprecated-declarations.
https://github.com/vim/vim/commit/4d8479b335e92a95b09fdee09309ea0df934cb9e
vim-patch:8.2.2439: not easy to figure out what packages to get
Problem: Not easy to figure out what packages to get when installing Vim on
a new Ubuntu system.
Solution: Mention explicit commands that are easy to follow.
https://github.com/vim/vim/commit/3d2bb8b6f152c0c5056f49bccb350683a9ba2e13
vim-patch:8.2.2442: automatic GUI selection does not check for GTK 3
Problem: Automatic GUI selection does not check for GTK 3.
Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
YES when checking for GTK2.
https://github.com/vim/vim/commit/f272ae12ac064856b710046393d5bf9b1670076d
vim-patch:8.2.2448: compilation error with Ruby 3.0
Problem: Compilation error with Ruby 3.0.
Solution: Adjust #ifdefs and declaration. (Ken Takata, closes vim/vim#7761)
https://github.com/vim/vim/commit/9d20daffc296b9eb901fb14bdd83620ea55d440a
|
| |
|
|
|
|
|
|
|
| |
Problem: Insufficient tests for setting options.
Solution: Add a few tests. (Dominique Pellé, closes vim/vim#7695)
https://github.com/vim/vim/commit/85773bf32b51cbe7e971c5ac11cb9c743bb7a38a
Cherry-pick some test cases for Test_set_error()
from patches v8.2.0540, v8.2.0551.
|
| |
|
|
|
| |
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
|
| |
|
|
| |
Patch 8.1.0711 is too difficult to merge in 1 commit.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes vim/vim#7181)
https://github.com/vim/vim/commit/8133cc6bf454eb90bb0868f7cf806fce5c0c9fe6
The members of stl_item_T have not been prefixed with stl_ contrary to
the vim patch because the amount of stl_ prefixes on single lines of
code in that region was hurtful to readability.
|
| |
|
|
|
|
|
|
| |
Problem: Backslash not removed afer space in option with space in
'isfname'.
Solution: Do remove backslash before space, also when it is in 'isfname'.
(Yasuhiro Matsumoto, closes vim/vim#6651)
https://github.com/vim/vim/commit/994b89d28dc54c896e00eba66e247addb0540272
|
| |
|
|
|
|
|
| |
Problem: Setting a boolean option to v:false does not work.
Solution: Do not use the string representation of the value. (Christian
Brabandt, closes vim/vim#5974)
https://github.com/vim/vim/commit/65d032c779a43b767497e15e6a32d04a6a8fa65d
|
| |
|
|
|
|
|
| |
Problem: Error when appending "tagfile" to 'wildoptions'.
Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
closes vim/vim#6105)
https://github.com/vim/vim/commit/2e61e2d08390623fcf933fd06646ac91f81fb772
|
| |
|
|
|
|
|
|
|
|
| |
(#11854)
Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Author: Bram Moolenar
https://github.com/vim/vim/commit/375e3390078e740d3c83b0c118c50d9a920036c7
|
| |
|
|
|
|
| |
Problem: Test for 'visualbell' doesn't work.
Solution: Make 'belloff' empty.
https://github.com/vim/vim/commit/7a66627cf43412604a28e0d99df8f96a29ff1c3a
|
| |
|
|
|
|
| |
Problem: No test for 'visualbell'.
Solution: Add a test.
https://github.com/vim/vim/commit/b4e6a2d07510e18e6720d6b2ee0b029f95430964
|
| |
|
|
|
|
| |
Problem: Options test fails in the GUI.
Solution: Don't try changing 'term' in the GUI.
https://github.com/vim/vim/commit/4f888757257795969f2ab2e6fc3544a5bef3cdea
|
| |
|
|
|
|
|
| |
Problem: Setting 'term' does not store location for termcap options.
Solution: Set the script context for termcap options that are changed when
'term' is set.
https://github.com/vim/vim/commit/35bc7d6c52f516b60d683bf9f0f57266d86e25b9
|
| |
|
|
|
|
|
|
|
|
| |
Problem: When buffer is hidden "F" in 'shortmess' is not used.
Solution: Check the "F" flag in 'shortmess' when the buffer is already
loaded. (Jason Franklin) Add test_getvalue() to be able to test
this.
https://github.com/vim/vim/commit/eda652215abf696f86b872888945a2d2dd8c7192
test_getvalue() is not implemented.
It is only used for checking "need_fileinfo" internal variable.
|
| |
|
|
|
|
| |
Problem: Memory error when profiling a function without a script ID.
Solution: Check for missing script ID. (closes vim/vim#4877)
https://github.com/vim/vim/commit/163588005da3a240e49416093d0d0251951d60a1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "oldtests: win: shellslash for cdpath,tags,:find"
This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31.
* Revert "oldtests: set shellslash for ":cd" test"
This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.
* Revert "oldtests: set shellslash in Test_shellescape()"
This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93.
* Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries"
This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c.
* Revert "test/old: pass Test_statusline on Windows"
This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286.
* Revert "oldtests: set shellslash for Test_non_zero_arg"
This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094.
* Revert "oldtests: set shellslash in Test_true_false_arg()"
This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8.
* Remove unnecessary set shellslash
Since #10679 no longer requires individual set shellslash, it is removed.
Co-Authored-By: erw7 <erw7.github@gmail.com>
|
| |
|
|
|
|
| |
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes vim/vim#4584)
https://github.com/vim/vim/commit/f8a071265535b8cc43e50a81f4d5049883ca50e4
|
| |
|
|
|
|
| |
Problem: 'backupskip' may contain duplicates.
Solution: Add the P_NODUP flag. (Tom Ryder)
https://github.com/vim/vim/commit/06e2c81f6d213d197aa60019b33a263cd5176d68
|
| |
|
|
|
|
| |
Problem: Options test fails on Mac.
Solution: Remove a trailing slash from $TMPDIR.
https://github.com/vim/vim/commit/cbbd0f657803a9a3a9f5e2c66bce6e1ea1d6a64b
|
| |
|
|
|
|
| |
Problem: Test for 'backupskip' is not correct.
Solution: Split the option in parts and use expand(). (Michael Soyka)
https://github.com/vim/vim/commit/98ad1e17c3f71962862f959c6ba57dd01e8a83c2
|
| |
|
|
|
|
| |
Problem: Options test fails if temp var ends in slash. (Tom Briden)
Solution: Check for optional slash. (closes vim/vim#3308)
https://github.com/vim/vim/commit/f53c692240851f71b930e80a0b0b5d4cfcc1b4a3
|
| |
|
|
|
|
| |
Problem: In some tests 'tags' is set but not restored. (Daniel Hahler)
Solution: Restore 'tags'. (closes vim/vim#4535)
https://github.com/vim/vim/commit/0331faf71200a274377e1569fcda4f00c9cf3e2a
|
| |
|
|
|
|
| |
Problem: 'backupskip' default doesn't work for Mac.
Solution: Use "/private/tmp". (Rainer Müller, closes vim/vim#2793)
https://github.com/vim/vim/commit/b8e22a053b68774dfd86fd829d9dba2333f09c05
|
| | |
|
| |
|
|
|
|
| |
Problem: ":vert options" does not make a vertical split.
Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
closes vim/vim#4401)
https://github.com/vim/vim/commit/e0b5949a3b28be9940bb8a46b2579e960100b83b
|
| |
|
|
|
|
| |
Problem: Function to set terminal name is too long.
Solution: Refactor the function. Fix typo in test.
https://github.com/vim/vim/commit/69e056915c4145b7b64c60963797692a5b293561
|
| |
|
|
|
|
|
|
| |
Problem: Invalid memory access when setting wildchar empty.
Solution: Avoid going over the end of the option value. (Dominique Pelle,
closes vim/vim#1509) Make option test check all number options with
empty value.
https://github.com/vim/vim/commit/a12e40351d1357687e8b5dc3122fffef705bdc08
|
| |
|
|
|
|
| |
Problem: Not all options are tested with a range of values.
Solution: Generate a test script from the source code.
https://github.com/vim/vim/commit/2f5463df014a406a2b780068e341ef30a99c9b98
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes vim/vim#3221)
https://github.com/vim/vim/commit/2f0f871159b2cba862fcd41edab65b17da75c422
ref #8840
ref #9027
|
| |
|
|
|
| |
Problem: Test_copy_winopt() does not restore 'hidden'.
Solution: Restore the option, fix indent. (Ozaki Kiichi, closes vim/vim#3367)
https://github.com/vim/vim/commit/7cb33a14c943c0b87dc61c1da438a443f8a43782
|
| |
|
|
|
|
|
|
|
| |
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution: Always display the file name when there is no argument (Christian
Brabandt, closes vim/vim#3070)
https://github.com/vim/vim/commit/fc0896093c3b3e753859a5f929921933e7a2e6cd
closes #8817
closes #8873
|
| |
|
|
|
|
|
|
|
|
|
| |
window
vim-patch:8.0.1836: buffer-local window options may not be recent
Problem: Buffer-local window options may not be recent if the buffer is
still open in another window.
Solution: Copy the options from the window instead of the outdated window
options. (Bjorn Linse, closes vim/vim#2336)
https://github.com/vim/vim/commit/25782a7ff4755daf16c2e1cb5e5f826b13b672ce
|
| |
|
|
|
|
|
| |
Problem: Using freed memory when resetting 'indentexpr' while evaluating
it. (Dominique Pelle)
Solution: Make a copy of 'indentexpr'.
https://github.com/vim/vim/commit/a701b3b6f0f06ac0c9fcc75c6c34a1258fc3b1a2
|
| |
|
|
|
|
| |
Problem: Using uninitialized memory when 'isfname' is empty.
Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
closes vim/vim#1464)
https://github.com/vim/vim/commit/187a4f28140f10ff833862be7e3ef823d317e1c7
|
| |
|
|
|
|
|
| |
Problem: Setting ttytype to xxx does not always fail as expected. (Marvin
Schmidt)
Solution: Catch both possible errors. (closes vim/vim#1601)
https://github.com/vim/vim/commit/f803a7697808f63949ea26fc256d4c9a8647089e
|
| |
|
|
|
|
|
| |
Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
closes vim/vim#1461)
https://github.com/vim/vim/commit/673911457d6745b6b779eb769c2f41965592d12c
|
| | |
|
| |
|
|
|
| |
Problem: Crash when setting 'guicursor' to weird value.
Solution: Avoid negative size. (Dominique Pelle, closes vim/vim#1465)
https://github.com/vim/vim/commit/24922ec23360e7ea7c5a803c9edf476bb6395b32
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.0.0358: invalid memory access in C-indent code
Problem: Invalid memory access in C-indent code.
Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492)
https://github.com/vim/vim/commit/60629d642541a089c322e65963c0a77e5f77eb79
vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested
Problem: 'number' and 'relativenumber' are not properly tested.
Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
closes vim/vim#1447)
https://github.com/vim/vim/commit/dc9a081712ec8c140e6d4909e9f6b03a629d32d3
|
| |
|
|
|
|
| |
Vim's src/testdir has more directories in it, so the "./samples/" item
happens to have a space in front of it. This isn't relevant to the
test, so just elide the space for our case.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: No tests for ":set completion" and various errors of the :set
command.
Solution: Add more :set tests. (Dominique Pelle, closes vim/vim#1440)
https://github.com/vim/vim/commit/698f8b207bbfefa1cbbd7361caf5412cb3416534
---
Also move test_options from test_alot to Makefile. (That's done upstream
in Vim patch 8.0.0430.)
|
| |\
| |
| |
| | |
fix Conflicts
|