| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| | |
Problem: Recalling commands from history is not tested.
Solution: Add tests. (closes vim/vim#8194)
https://github.com/vim/vim/commit/71c6f7a665eb467054fbf319989d97c252af28d2
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when leaving command line window triggers autocommand.
(houyunsong)
Solution: Make sure not to close the current window or buffer.
https://github.com/vim/vim/commit/8c6951fa2836a1ae3257770e7b927a9380439912
N/A patches for version.c:
vim-patch:8.2.2414: using freed memory when closing the cmdline window
Problem: Using freed memory when closing the cmdline window.
Solution: Check the window is still valid.
https://github.com/vim/vim/commit/b7e2670b6a1de02c772af5097ba24f2a15b26eec
|
| | |
| |
| |
| |
| |
| | |
Problem: Opening cmdline window gives error in BufLeave autocommand.
Solution: Reset cmdwin_type when triggering the autocommand.
https://github.com/vim/vim/commit/b63f3ca66db20f7b135aae706d36be538f91f8cc
|
| | |
| |
| |
| |
| |
| | |
Problem: Autocmd test was failing on MS-Windows with GUI.
Solution: Remove stray feedkeys().
https://github.com/vim/vim/commit/d697ddea1466d877a79f8c56d46361dc54e9baef
|
| | |
| |
| |
| |
| |
| | |
Problem: Strange test failure with MS-Windows.
Solution: Skip the system() call for now.
https://github.com/vim/vim/commit/e2924328c165f1fc549f91bf212c93c87bb1d9ed
|
| | |
| |
| |
| |
| |
| | |
Problem: Crash with a weird combination of autocommands.
Solution: Increment b_nwindows when needed. (closes vim/vim#7674)
https://github.com/vim/vim/commit/797e63b9f2baa1853e7063aac478d663cd02f207
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec
E813 error message does not mention 'popup' window
because Neovim floating window are regular windows, unlike Vim popups.
https://github.com/neovim/neovim/pull/14532#discussion_r631731829
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes vim/vim#6293)
https://github.com/vim/vim/commit/158ea175a99fc23eae1b0a5ee9a81cdd973854a6
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Command line editing not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#5374)
https://github.com/vim/vim/commit/59cb041d0a56d8555857da7e063ec61504ee1fa7
Ported to commit test_ex_mode.vim for later patches.
Test fails because feedkeys() filters out modifier keys on output.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
like a pattern (#12784)"
This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145.
Unfortunately, that commit stalled the Windows builds on GHA and likely requires
other patches to work properly.
|
| |\ \
| |/
|/| |
vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
|
| | |
| |
| |
| |
| |
| | |
Problem: Sort test fails when locale is French Canadian.
Solution: Expect a different sort order. (Dominique Pellé, closes vim/vim#7609)
https://github.com/vim/vim/commit/cec77d4530ae51ee9ffe0ab57fa7a37cced2b181
|
| | |
| |
| |
| |
| |
| | |
Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
Solution: Expect a different sort order. (closes vim/vim#7609)
https://github.com/vim/vim/commit/fefa6c347e2c7f01ed2b095084f4aa694ff72149
|
| | |
| |
| |
| |
| |
| | |
Problem: sort() with NULL string not tested.
Solution: Add a test. use v:collate. (Dominique Pellé, closes vim/vim#7247)
https://github.com/vim/vim/commit/35efa22ff2b98126363098db9304796b5624f97f
|
| | |
| |
| |
| |
| |
| | |
Problem: Sort test fails on Mac.
Solution: Disable the sort test with locale on Mac.
https://github.com/vim/vim/commit/578f4cc7d0ce67101832b25cf77246fcd630e3c0
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes vim/vim#7237)
https://github.com/vim/vim/commit/55e29611d20bca14fa5efc61385bc8a6b7acd9e2
|
| | |
| |
| |
| | |
Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
|
| | |
| |
| |
| |
| |
| | |
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551)
https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
|
| | |
| |
| |
| |
| |
| | |
Problem: File extension .wrap not recognized.
Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes vim/vim#8177)
https://github.com/vim/vim/commit/e3e598e82b79a2ab5ba5e312d54e65c940e2e809
|
| |\ \
| | |
| | | |
vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: win_execute() unexpectedly returns number zero when failing.
Solution: Return an empty string. (closes vim/vim#7665)
https://github.com/vim/vim/commit/37487e16da7877129edee8d11b9b7f5c8df312c6
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when using win_execute() from a new tab.
Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes vim/vim#5512)
https://github.com/vim/vim/commit/a44b3eeafa57d4904a3de86b132008b93404f0fd
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Ruler is not updated if win_execute() moves cursor.
Solution: Update the status line. (closes vim/vim#5022)
https://github.com/vim/vim/commit/345f28df5482cd35f5fa74b06443376379f113b0
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Win_execute() does not work in other tab. (Rick Howe)
Solution: Take care of the tab. (closes vim/vim#4792)
https://github.com/vim/vim/commit/820680b9ff1de8699156c7b060f97e5c0b87ad15
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Win_execute() test fails.
Solution: Adjust the expected error number. Move to popup test.
https://github.com/vim/vim/commit/2d247849ce612050ba1085df806746b23be1f0a3
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
pattern (#12784)
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes vim/vim#4424, closes vim/vim#696)
https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some comments are not correct or clear.
Solution: Adjust the comments. Add test for cursor position.
https://github.com/vim/vim/commit/df36514a6455342e178af693553ef9df9fcf8c83
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test file was not deleted.
Solution: Uncomment the delete() call. (Dominique Pellé, closes vim/vim#8172)
https://github.com/vim/vim/commit/5f8ed7408aaf477215bcfde3e487e24b9e6ad870
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Code in checkreadonly() not fully tested.
Solution: Add more tests. (Dominique Pellé, closes vim/vim#8169)
https://github.com/vim/vim/commit/2bf6034e5caf36b319148f46ba9a12e36c3bd41d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes vim/vim#8162)
https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1
Avoid typecasts if possible.
Use PRIdLINENR, PRId64, to format line numbers.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Finishing an abbreviation with a multi-byte char may not work.
Solution: Escape K_SPECIAL in the typed character. (closes vim/vim#8160)
https://github.com/vim/vim/commit/4934ed34c3e2090d1963c89c629cd3ce81d3ecd1
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Raku is now the only name what once was called perl6.
Solution: Adjust the filetype detection. (closes vim/vim#8120)
https://github.com/vim/vim/commit/3f88e71fa2b8b1fc97f3c218989474ea8687d197
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Filetype detection does not test enough file names.
Solution: Test more file names. (Adam Stankiewicz, closes vim/vim#7099)
https://github.com/vim/vim/commit/10a1a534d1ae1d798bb695f9a521052ebbf1e289
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144)
https://github.com/vim/vim/commit/aaad995f8384a77a64efba6846c9c4ac99de0953
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
https://github.com/vim/vim/commit/f6d9935a13a7b37272ad71761d3d86b7f40c3d5f
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
https://github.com/vim/vim/commit/57d5a01cb45d6edb16c3835a49b42d6d8fc0163e
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
|
| |/ /
| |
| |
| |
| | |
Update runtime files.
https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'splitright' (#14398)
Problem: :mksession uses current value of 'splitbelow' and 'splitright'
even though "options" is not in 'sessionoptions'. (Maxim Kim)
Solution: Save and restore the values, instead of setting to the current
value. (closes vim/vim#8119)
https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d
Patch v8.2.1682 is not ported.
Replace "goto fail;" with "return FAIL;".
|
| | |
| |
| |
| |
| | |
Previous pattern could cause test to fail if ":buffers t" reported
"1 second ago".
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851)
https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803
Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e
and removed mention of method syntax usage (not supported by Nvim).
|
| |/
|
|
|
| |
Included from before v8.2.1588. Required for v8.2.1588.
Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
|
| |\
| |
| | |
Handle 'orphaned signs' on line deletion for signcolumn >= 2
|
| | | |
|
| |/
|
|
|
| |
Problem: PSL filetype not recognized.
Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117)
https://github.com/vim/vim/commit/112a006417a0d4700ff39ddba3bb5e985ae9770f
|
| |\
| |
| | |
vim-patch:8.1.2313,8.2.{2046,2769}
|
| | |
| |
| |
| |
| |
| | |
Problem: Modula-3 config files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Some test failures don't give a clear error.
Solution: Use assert_match() and assert_fails() instead of assert_true().
(Ken Takata, closes vim/vim#7368)
https://github.com/vim/vim/commit/5dc4e2f883896c99ebe83355822ac6067970b031
|
| | |
| |
| |
| |
| |
| | |
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315
|