| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
| |
Problem: Some errors are not covered by tests.
Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#5920)
https://github.com/vim/vim/commit/067297e16a516838dbc46aaa9d8b1a507afec28d
|
| |
|
|
|
|
|
| |
Problem: Default option values are changed when using :badd for an existing
buffer.
Solution: When calling buflist_new() pass a zero line number. (closes vim/vim#7195)
https://github.com/vim/vim/commit/e974fa7b2b98e53a59d5ef16a6a1291f12a32e33
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: "vim -g --version" does not redirect output.
Solution: Reset gui.starting when showing version info. (closes vim/vim#7815)
https://github.com/vim/vim/commit/3b678047bcd50d6f409175dcffe7839dbb74728b
N/A patches for version.c:
vim-patch:8.1.2065: compiler warning building non-GUI with MinGW.
Problem: Compiler warning building non-GUI with MinGW.
Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes vim/vim#4964)
https://github.com/vim/vim/commit/910c378d9342e0de8c6736c83ebdbbb597267056
vim-patch:8.2.2500: build fails without the GUI feature
Problem: Build fails without the GUI feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/0bcadf14aa700c166c09f1800ed3de00b9598b39
vim-patch:8.2.2502: a few github actions are failing
Problem: A few github actions are failing.
Solution: Install setuptools-rust. (closes vim/vim#7823)
https://github.com/vim/vim/commit/ca753ec862f8191f1fc5ed161753704a488ed08d
vim-patch:8.2.2507: github build may fail if Ubuntu 20.04 is used
Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
not needed.
Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
installing rust. (Ozaki Kiichi, closes vim/vim#7820)
https://github.com/vim/vim/commit/0fa09676c25a0a4a01f339887b8bf40b4673621f
|
| |
|
|
|
|
|
| |
Problem: Script generated by :mkview changes alternate file.
Solution: Only write :balt in the session file. (Harish Rajagopal,
closes vim/vim#7779)
https://github.com/vim/vim/commit/139348f3e8370826a1ceb10c73f7c7bb586f8125
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Using mkview/loadview changes the jumplist.
Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
jumplist. (closes vim/vim#7371)
https://github.com/vim/vim/commit/3482be6a33c3a00fe1e8e604310ad3034f593045
Definition for BufWinEnter autocmd in Test_mkview_loadview_jumplist()
was moved down a few lines until after the views are written, as in
Nvim, :loadview throws if the view file can't be opened.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes vim/vim#7269,
closes vim/vim#6714)
https://github.com/vim/vim/commit/59d8e56e048eb5d384649284fb35363931fc3697
Include minimal test_buffer.vim from patch 8.2.0243 for Test_balt().
Add entry for :balt to runtime/doc/index.txt from vim/vim#7819.
|
| |
|
|
|
|
| |
Problem: 'wrap' option is always reset when starting diff mode.
Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes vim/vim#7797)
https://github.com/vim/vim/commit/4223d43c0fb6ead1e611e4469a1680a9228b6015
|
| |
|
|
|
|
| |
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
https://github.com/vim/vim/commit/5202929dab58402a5f3cd9c231e09abb5c451c56
|
| |
|
|
|
|
|
|
| |
Problem: Text jumps up and down when moving the cursor in a small window
with wrapping text and 'scrolloff' set.
Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
closes vim/vim#7813)
https://github.com/vim/vim/commit/8f33ebfade10cd1b4296d8ec8dca815a09e8a405
|
| |
|
|
|
|
|
| |
Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas)
Solution: Don't re-use the current buffer when not going to edit the file.
(closes vim/vim#3397) Do re-use the current buffer for :next.
https://github.com/vim/vim/commit/32bbd00949c585ea1c9da13197279a175097eddd
|
| |
|
|
|
|
|
| |
Problem: current buffer is wrong after deletebufline() fails to delete a
line in another buffer.
Solution: Restore the current buffer.
https://github.com/vim/vim/commit/963ffa0a5a6091655ed72b4590ec5d5a1653bce8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Test_Executable() fails when using chroot.
Solution: Ignore the difference between "sbin" and "bin".
https://github.com/vim/vim/commit/a387083b2f65c2c14b19087c7d7f94ca23de1d48
Cherry-pick Test_Executable() changes from patches v8.1.1921, v8.2.1432
to be in sync with Vim.
N/A patches for version.c:
vim-patch:8.1.0509: checking cwd not accessible fails for root
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes vim/vim#3595)
https://github.com/vim/vim/commit/0b38f54730c3f9835ddade01c2263ce0f56c1c0f
vim-patch:8.2.2487: terminal shows garbage after double-wide character
Problem: Terminal shows garbage after double-wide character with a
combining character. (Kyoichiro Yamada)
Solution: Libvterm: do not add the width of the combining character to the
glyph width. (closes vim/vim#7801)
https://github.com/vim/vim/commit/4549dad874244fe933b969e4ac0b41923ee70dc3
vim-patch:8.2.2488: json_encode() gives generic argument error
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue vim/vim#7802)
https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7
|
| |
|
|
|
|
|
| |
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes vim/vim#2523)
https://github.com/vim/vim/commit/f5a5116a96b1877c3f44e7bae288fd6603151eb1
Cherry-pick Test_winsize_cmd() from patch v8.2.0243.
|
| |
|
|
|
|
| |
Problem: Using freed memory if window closed in autocommand. (houyunsong)
Solution: Check the window still exists.
https://github.com/vim/vim/commit/8ab375706e6712308f8cf7529bcae56684a6f385
|
| |
|
|
|
|
| |
Problem: 'foldlevel' not applied to folds restored from session.
Solution: Set 'foldlevel' after creaiting the folds. (closes vim/vim#7767)
https://github.com/vim/vim/commit/f9547eb6ef02e305203b859d2dcfdae930b9d544
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: :vimgrep expands wildcards twice.
Solution: Do not expand wildcards a second time.
https://github.com/vim/vim/commit/f8c6a1718007432812184c28495e8d27ee6c0395
|
| |
|
|
|
| |
Patch v8.1.1803 and related method patches are not ported yet.
Revert this commit when those patches are ported.
|
| |
|
|
|
|
| |
Problem: Compiler test fails on MS-Windows.
Solution: Sort the found compiler plugin names.
https://github.com/vim/vim/commit/142f23544c7045b22e56fa6ee35808aceb6342f2
|
| |
|
|
|
|
| |
Problem: Compiler test depends on list of compiler plugins.
Solution: Compare with the actual list of compiler plugins.
https://github.com/vim/vim/commit/60bc8e7244080b7ead009cfabebc3401f272ddbe
|
| |
|
|
|
|
|
|
| |
Problem: Cursor on invalid line with range and :substitute.
Solution: Do not move the cursor when skipping commands. (closes vim/vim#3434)
https://github.com/vim/vim/commit/df2c2988bbaecd28b0fbec8d64327b1bbb005e19
Cherry-pick Test_for_invalid() from patch v8.1.0736.
|
| |
|
|
|
|
|
|
|
| |
Problem: Too many problems with using all autocommand events.
Solution: Disallow defining an autocommand for all events.
https://github.com/vim/vim/commit/9a046fd08bcae319d39a4dbde2be81decee19013
Delete Test_wipe_cbuffer().
Commit dc5f4a3cc2f7f02e1ff4ec2f67eda4fb73e7d89c should have removed it.
|
| |
|
|
|
|
| |
Problem: Some filetypes not detected.
Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
https://github.com/vim/vim/commit/8323cab31c3120a7f80cf3271a506a30ec04d99e
|
| |
|
|
|
|
| |
Problem: Fold test fails in wide terminal.
Solution: Adjust the test. (Dominique Pelle, closes vim/vim#7731, closes vim/vim#7739)
https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f
|
| |
|
|
|
|
| |
Problem: Fennel filetype not recognized.
Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729)
https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
|
| |
|
|
|
|
| |
Problem: "gj" and "gk" do not work correctly when inside a fold.
Solution: Move check for folding. (closes vim/vim#7724, closes vim/vim#4095)
https://github.com/vim/vim/commit/e71996bd0865659bde5450f466bc3e53e83431b2
|
| |
|
|
|
|
|
|
|
| |
Problem: Test for RGB color skipped in the terminal.
Solution: Run the GUI if possible.
https://github.com/vim/vim/commit/09fbedc8dc3adc0a7adf2093916911e633cfa626
Cherry-pick Test_highlight_RGB_color() from patch v8.2.1077
to port this patch.
|
| |
|
|
|
|
| |
Problem: Turtle filetype not recognized.
Solution: Add a rule to detect turtle files. (closes vim/vim#7722)
https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de
|
| |
|
|
|
|
|
|
|
| |
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: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes vim/vim#7688)
https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429
Cursor showing/hiding is moved from core to TUI.
":sleep!" behaves the same as ":sleep".
|
| |
|
|
|
|
| |
Problem: Test leaves file behind.
Solution: Delete the right file. (Dominique Pellé, closes vim/vim#7689)
https://github.com/vim/vim/commit/a3b494d6afa79aedce42fa4ecc7ef0dbae79e37e
|
| |
|
|
|
|
| |
Problem: Stray test failure on Appveyor.
Solution: Finish insert command.
https://github.com/vim/vim/commit/97c6943e11516711541848e51db3cc2ace25bbb2
|
| |
|
|
|
|
| |
Problem: Spartql files are not detected.
Solution: Add the sparql filetype. (closes vim/vim#7679)
https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
|
| |
|
|
|
|
|
| |
Problem: Pascal-like filetypes not always detected.
Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
closes vim/vim#7662)
https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
|
| |
|
|
|
|
|
| |
Problem: Not all ways Vim can be started are tested.
Solution: Add a test for different program names. (Dominique Pellé,
closes vim/vim#7651)
https://github.com/vim/vim/commit/df4c9af7e73aa5d0fb5bf4c0e19a39b4e1d73517
|
| |
|
|
|
|
| |
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940)
https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
|
| |
|
|
|
|
|
|
|
|
| |
Porting it to test/functional/legacy/backspace_opt_spec.lua
was a mistake.
Tests pass after commenting out some lines for Vi compatibility.
File is copied from Vim as of patch v8.2.0540.
Patch v8.2.0540 cannot be fully ported yet.
This file is a prequisite for future v8.2.x patches.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: After deleting a file mark it is still in viminfo.
Solution: When a file mark was deleted more recently than the mark in the
merged viminfo file was updated, do not store the mark. (Pavol
Juhas, closes vim/vim#5401, closes vim/vim#1339)
https://github.com/vim/vim/commit/8cd6cd8087ccf08e4303dbf5f732fc4b82b917e1
Neovim's ShaDa is incompatible with Vim's "viminfo"
so "viminfo" tests fail.
N/A patches for version.c:
vim-patch:8.1.1731: command line history not read from viminfo on startup
Problem: Command line history not read from viminfo on startup.
Solution: Get history length after initializing it.
https://github.com/vim/vim/commit/26b654a5df9414e43734eb4c956b67c331d70a50
vim-patch:8.1.1764: ":browse oldfiles" is not tested
Problem: ":browse oldfiles" is not tested.
Solution: Add a test.
https://github.com/vim/vim/commit/5328cb8986d2620f45b41acf28778f8ce2f8cac1
vim-patch:8.1.2111: viminfo file not sufficiently tested
Problem: Viminfo file not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5009)
https://github.com/vim/vim/commit/2a8d3b8997d4fe94bc9c02ae04e873eab2f13b09
vim-patch:8.1.2126: viminfo not sufficiently tested
Problem: Viminfo not sufficiently tested.
Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan,
closes vim/vim#5032)
https://github.com/vim/vim/commit/6bd1d7706766a7899904163e8fd55ea117fb1953
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
https://github.com/vim/vim/commit/cfb4b47de08e4437c692d382067dc1692cd83c23
Cherry-pick the column number fix from patch v8.2.0871
because patch v8.2.0871 cannot be fully ported
without the method patches.
Co-authored-by: Peter Wolf <pwolf2310@gmail.com>
|
| |\
| |
| | |
vim-patch:8.1.{1667,1672,1822},8.2.{407,917}
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Confusing error message when range is not allowed.
Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for
consistency.
https://github.com/vim/vim/commit/0acae7acc40b9f12bff88d5e1dae494a761fec07
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No early check if :find and :sfind have an argument.
Solution: Add EX_NEEDARG.
https://github.com/vim/vim/commit/2d10cd478047df8ba144d4b0fcc46480993af57f
Cherry-pick Test_find_cmd() from patch v8.2.0270.
Use "exe 'cd ' . save_dir" pattern
because patches v8.1.1291, v8.1.2278 are not ported yet.
Cherry-pick modeline from patch v8.1.1432.
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes vim/vim#5527, closes vim/vim#6216)
https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302
|
| | |
| |
| |
| |
| |
| | |
Problem: Test_confirm_cmd_cancel() can fail on a slow system.
Solution: Use WaitForAssert(). (Ozaki Kiichi, closes vim/vim#5861)
https://github.com/vim/vim/commit/7b1b36b1cb744e87adfbef88b7ce26c863b0594a
|
| | |
| |
| |
| |
| |
| | |
Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution: Add an extra WaitForAssert(). (Dominique Pelle)
https://github.com/vim/vim/commit/9207d1f523c2e2fb1c8749ec6f84ab5ecc2c62f4
|
| | |
| |
| |
| |
| |
| | |
Problem: Missing feature check in test function.
Solution: Add check commands.
https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Test_confirm_cmd is flaky.
Solution: Add a term_wait() call. (closes vim/vim#5854)
https://github.com/vim/vim/commit/72749f062f15c7147f512bc581695c25ad78fb4e
Cherry-pick Test_confirm_cmd() from patch v8.2.0203
because that patch modifies multiple files.
Copied code is based on Test_confirm_cmd() as of patch v8.2.0456.
N/A patches for version.c:
vim-patch:8.2.2274: badge for Travis is outdated
Problem: badge for Travis is outdated.
Solution: Update badge for move from travis-ci.org to travis-ci.com.
https://github.com/vim/vim/commit/2f91e2f8da572123e53ae7579dde57c750137def
vim-patch:8.2.2277: missing backslash
Problem: Missing backslash.
Solution: Add backslash.
https://github.com/vim/vim/commit/9281c6cae4e1cec2c661487d761d407bad7c6ad6
|
| |
|
|
|
|
| |
Problem: Not all :hardcopy code covered by tests.
Solution: Test more combinations. (Dominique Pellé, closes vim/vim#7595)
https://github.com/vim/vim/commit/edc10b541b468f5f5aa2e2d5ef58a3e17e043bff
|
| |
|
|
|
|
|
| |
Problem: Printmbcharset option not tested.
Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
Pelle, closes vim/vim#5783)
https://github.com/vim/vim/commit/833805a4867cf5f93b3ef91227d1f1a98f553dff
|
| |
|
|
|
|
| |
Problem: Window resize test fails in very wide terminal.
Solution: Resize using the 'columns' option. (Vladimir Lomov, closes vim/vim#7592)
https://github.com/vim/vim/commit/5efe0e5d16db070f0ab0b944686139e597afe166
|