| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
|
| |
(#22343)
Problem: Illegal memory access when using :ball in Visual mode.
Solution: Stop Visual mode when using :ball. (Pavel Mayorov, closes vim/vim#11923)
https://github.com/vim/vim/commit/e1121b139480f53d1b06f84f3e4574048108fa0b
Co-authored-by: Pavel Mayorov <pmayorov@cloudlinux.com>
|
| |
|
|
|
|
|
|
| |
Problem: "1v" may select block with wrong size. (Evgeni Chasnovski)
Solution: Compute "curswant" in the right line. (closes vim/vim#11925)
https://github.com/vim/vim/commit/8f531662e28c37560bf5ac20a059bf00d01ee5a4
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
short (#21735)
Problem: When 'selection' is "exclusive" then "1v" is one char short.
Solution: Add one character when 'selection' is "exclusive. (closes vim/vim#11791)
https://github.com/vim/vim/commit/79c11e399be3d96ed6d1c7458b1380e878ec717b
Cherry-pick update_curswant_force() refactor from patch 9.0.0482.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6300)
https://github.com/vim/vim/commit/845e0ee59430eac07e74b6cb92020e420d17953d
Omit test_iminsert.vim: the commit that created this file was N/A.
Omit test_viminfo.vim: the added tests are N/A.
|
| |
|
| |
Co-authored-by: Marco Lehmann <m99@posteo.de>
|
| |
|
|
|
|
|
| |
(#20676)
Problem: With a Visual block a put command column may go negative.
Solution: Check that the column does not become negative.
https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b
|
| |
|
|
|
|
|
| |
Problem: Incomplete testing cursor position after change with 'linebreak'
set.
Solution: Add a test and move test cases together. (closes vim/vim#11313)
https://github.com/vim/vim/commit/30c0c467d6cc2a7af960ccb9002b50115b0e55cf
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cursor in wrong position with Visual substitute.
Solution: When restoring 'linebreak' mark the virtual column as invalid.
(closes vim/vim#11309, closes vim/vim#11311)
https://github.com/vim/vim/commit/16dab41537ae206f4cab676ad53edbae5fd5fb45
N/A patches for version.c:
vim-patch:9.0.0699: tiny build fails
Problem: Tiny build fails.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/bf499c0e6f30a94fe062f83ea0190f93178d0d74
|
| |
|
|
|
|
|
|
|
| |
Problem: Code for modeless selection not sufficiently tested.
Solution: Add tests. Move mouse code functionality to a common script file.
(Yegappan Lakshmanan, closes vim/vim#5821)
https://github.com/vim/vim/commit/515545e11f523d14343b1e588dc0b9bd3d362bc2
Skip termcode tests for now.
|
| |
|
|
|
|
|
|
| |
Problem: Some Normal mode commands not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#7073)
https://github.com/vim/vim/commit/d1ad99b65470d3e754f6a0588a6b0dc2214a1eab
Cherry-pick test_registers.vim change from patch 8.2.0644.
|
| |
|
|
|
|
|
|
| |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7059)
https://github.com/vim/vim/commit/8a9bc95eaec53f4e0c951ff8f2686ae5113a5709
Cherry-pick Test_normal_gdollar_cmd() change from patch 8.2.0540.
|
| |
|
|
|
| |
Problem: ml_get error when switching buffer in Visual mode.
Solution: End Visual mode when switching buffer. (closes vim/vim#10902)
https://github.com/vim/vim/commit/cfeb8a584be11758cf71ae02f6c937b06d6bb66f
|
| |
|
|
|
|
|
|
|
| |
Problem: Search code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5999)
https://github.com/vim/vim/commit/224a5f17c6ec9e98322a4c6792ce4f9bb31a4cce
Cherry-pick test_charsearch.vim change from patch 8.2.0448.
Cherry-pick test_search.vim changes from patch 8.2.0619.
|
| |
|
|
|
|
|
|
| |
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855)
https://github.com/vim/vim/commit/ca68ae13114619df3e4c195b41ad0575516f5ff6
Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5751)
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Cherry-pick a fix from patch 8.2.3162.
Omit test_iminsert.vim as previous patches to that file are N/A, and
Nvim doesn't support iminsert=2 either, so that test isn't useful.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Some Normal mode commands not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5746)
https://github.com/vim/vim/commit/f5f1e10d0d39890298cdf27f664d466c8872b87e
Omit Test_edit_forbidden(): change reverted in patch 8.2.0369.
Cherry-pick Test_normal_yank_with_excmd() from patch 8.2.0293.
Skip Test_normal_cursorhold_with_count().
Cherry-pick Test_star_register() from patch 8.2.0270.
|
| |
|
|
|
|
| |
Problem: Accessing memory beyond the end of the line.
Solution: Stop Visual mode when closing a window.
https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794
|
| |
|
|
|
|
| |
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
https://github.com/vim/vim/commit/7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97
|
| |
|
|
|
|
| |
Problem: Visual test fails on MS-Windows.
Solution: Set 'isprint' so that the character used is not printable.
https://github.com/vim/vim/commit/262898ae43fa223916cfa27b0de81e5d9f3fc4b0
|
| |
|
|
|
|
| |
Problem: "P" in Visual mode still changes some registers.
Solution: Make "P" in Visual mode not change any register. (Shougo
Matsushita, closes vim/vim#10349)
https://github.com/vim/vim/commit/509142ab7a9db32114b6d0949722b9133c9c22f2
|
| |\
| |
| | |
vim-patch:8.2.{3820,3823}: "vrc" does not replace composing characters
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: "vrc" does not replace composing characters, while "rc" does.
Solution: Check the byte length including composing characters.
(closes vim/vim#9351)
https://github.com/vim/vim/commit/8ee6028de3daa9af9e5f90fa9e583ff407bee04f
vim-patch:8.2.3823: test for visual replace is in wrong function
Problem: Test for visual replace is in wrong function.
Solution: Move it to another function.
https://github.com/vim/vim/commit/6ecf58b0d7d9b8fbba780d19d2e6c0f227df715b
|
| |/
|
|
|
|
| |
Problem: ml_get error when exchanging windows in Visual mode.
Solution: Correct end of Visual area when entering another buffer.
https://github.com/vim/vim/commit/05b27615481e72e3b338bb12990fb3e0c2ecc2a9
|
| | |
|
| |
|
|
|
|
| |
Problem: Reading beyond the end of a line.
Solution: For block insert only use the offset for correcting the length.
https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc
|
| |
|
|
|
|
| |
Problem: Block insert goes over the end of the line.
Solution: Handle invalid byte better. Fix inserting the wrong text.
https://github.com/vim/vim/commit/9f8c304c8a390ade133bac29963dc8e56ab14cbc
|
| |
|
|
|
|
|
| |
Problem: When cursor is move for block append wrong text is inserted.
Solution: Calculate an offset. (Christian Brabandt, closes vim/vim#8433,
closes vim/vim#8288)
https://github.com/vim/vim/commit/4067bd3604215b48e4b4201e28f9e401b08418e4
|
| |
|
|
| |
https://github.com/vim/vim/commit/59b262362f26b3aaea1eeb0078adc33eed59863e
|
| |
|
|
| |
https://github.com/vim/vim/commit/3e72dcad8b752a42b6eaf71213e3f5d534175256
|
| |
|
|
|
|
|
| |
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Omit Test_AAA_start_visual_mode_with_count comment change as it hasn't been
ported yet.
|
| |
|
|
|
|
| |
Problem: Put in Visual mode not fully tested.
Solution: Add a few more test cases. (closes vim/vim#9708)
https://github.com/vim/vim/commit/6bf821e8abe1da24e5d0624f032d7eda745756e8
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes vim/vim#9591)
https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab
Cherry-pick get_y_previous() and set_y_previous() from patch 8.1.1736.
Nvim has removed y_current, so code related to it is N/A.
|
| |
|
|
|
|
|
| |
Problem: With 'virtualedit' set to "block" block selection is wrong after
using "$". (Marco Trosi)
Solution: Compute the longest selected line. (closes vim/vim#8495)
https://github.com/vim/vim/commit/b17ab86e7b8712206aa9ea7198c28db969e25936
|
| |
|
|
|
|
| |
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e
|
| |
|
|
|
|
|
|
| |
Problem: Illegal memory access when undo makes Visual area invalid.
Solution: Correct the Visual area after undo.
https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa
vim-patch:8.2.4218: illegal memory access with bracketed paste in Ex mode (N/A)
|
| |
|
|
|
|
| |
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f366
|
| |
|
|
|
|
| |
Problem: Crash when using CTRL-W f without finding a file name.
Solution: Bail out when the file name length is zero.
https://github.com/vim/vim/commit/615ddd5342b50a6878a907062aa471740bd9a847
|
| |
|
|
|
|
|
|
|
| |
Problem: Illegal memory access in utf_head_off.
Solution: Check cursor position when reselecting the Visual area.
(closes vim/vim#8963)
https://github.com/vim/vim/commit/b07626d4afa73dd2af0f03c0d59eed25ee159ef9
Including the XTest_beval -> XTest_block from patch 8.2.3096.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: No suffucient testing for registers.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5296)
Fix that "p" on last virtual column of tab inserts spaces.
https://github.com/vim/vim/commit/6f1f0ca3edf395102ff3109c998d81300c8be3c9
This patch doesn't actually change any behavior in Nvim, because Nvim
always has vartabs feature.
I modified a line in the test because of #6137.
|
| | |
|
| |
|
|
|
| |
Problem: After using motion force from feedkeys() it may not be reset.
Solution: Clear motion_force in clearop(). (closes vim/vim#8323)
https://github.com/vim/vim/commit/21492743e80c6740bac65a91311c28bede8ef2f8
|
| |
|
|
|
|
|
| |
Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
using "$". (Marco Trosi)
Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes vim/vim#8495)
https://github.com/vim/vim/commit/9cee4a1c9c69542ccd73bcd2db05920150856361
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: The "zy" command does not work well when 'virtualedit' is set to
"block". (Johann Höchtl)
Solution: Make endspaces zero. (Christian Brabandt, closes vim/vim#8468,
closes vim/vim#8448)
https://github.com/vim/vim/commit/7d7bcc6ba01454c1cbb1dcbf5f11c3a4051535d6
N/A patches for version.c:
vim-patch:8.2.3075: xxd always reports an old version string
Problem: Xxd always reports an old version string. (Åsmund Ervik)
Solution: Update the version string with the last known change date.
(Jürgen Weigert, closes vim/vim#8475)
https://github.com/vim/vim/commit/80b2ba3e9602e09ab523e78946fbb26da311b68b
|
| |
|
|
|
|
| |
Problem: Cannot yank a block without trailing spaces.
Solution: Add the "zy" command. (Christian Brabandt, closes vim/vim#8292)
https://github.com/vim/vim/commit/544a38e44db0f25ec4fa7a2a4666cf28a2336f33
|
| |
|
|
|
|
| |
Problem: Operators are not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8290)
https://github.com/vim/vim/commit/2ac7184d34cd01e2b76bd1f704fd6a4b4af10239
|
| |
|
|
|
|
|
| |
Problem: Test39 is old style.
Solution: Convert the test cases into new style. (Yegappan Lakshmanan,
closes vim/vim#5324)
https://github.com/vim/vim/commit/1f3e7d3bf0aa1e015a591ce8f7ee7ab56589b452
|
| |
|
|
|
|
|
|
|
| |
Problem: Cannot paste a block without adding padding.
Solution: Add "zp" and "zP" which paste without adding padding. (Christian
Brabandt, closes vim/vim#8289)
https://github.com/vim/vim/commit/2fa9384ca1b600b934bec81a72c5fb7ce757503a
Cherry-pick Test_normal_z_error() from patch v8.2.0369.
|
| |
|
|
|
|
|
|
|
| |
Problem: Typos and small problems in test files.
Solution: Small improvements.
https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5
Include unmerged patch v8.0.1200 changes
because this patch depends on `set beloff=all` removed in 1 test.
|
| |
|
|
|
|
|
| |
Problem: Test94 is old style, fix 7.4.441 not tested.
Solution: Turn test94 into a new style test. Add tests for the fix in patch
7.4.441. (Yegappan Lakshmanan, closes vim/vim#5316)
https://github.com/vim/vim/commit/309976ec1f033c68480bbc8cc363db5b5ea944f9
|