aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_visual.vim
Commit message (Collapse)AuthorAge
* Merge pull request #17411 from zeertzjq/vim-8.2.3820zeertzjq2022-02-15
|\ | | | | vim-patch:8.2.{3820,3823}: "vrc" does not replace composing characters
| * vim-patch:8.2.3820: "vrc" does not replace composing characterszeertzjq2022-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | vim-patch:8.2.4154: ml_get error when exchanging windows in Visual modezeertzjq2022-02-15
|/ | | | | | 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
* test(old): reorder test_functions.vim and test_visual.vim to match Vimzeertzjq2022-02-15
|
* vim-patch:8.2.4151: reading beyond the end of a lineSean Dewar2022-02-14
| | | | | | 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
* vim-patch:8.2.4120: block insert goes over the end of the lineSean Dewar2022-02-14
| | | | | | 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
* vim-patch:8.2.3073: when cursor is move for block append wrong text is insertedSean Dewar2022-02-14
| | | | | | | 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
* test(old): cherry-pick test_visual changes from v8.2.2945Sean Dewar2022-02-14
| | | | https://github.com/vim/vim/commit/59b262362f26b3aaea1eeb0078adc33eed59863e
* test(old): cherry-pick test_visual changes from v8.2.2901Sean Dewar2022-02-14
| | | | https://github.com/vim/vim/commit/3e72dcad8b752a42b6eaf71213e3f5d534175256
* test(old): cherry-pick test_visual changes from v8.2.0369Sean Dewar2022-02-14
| | | | | | | https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc Omit Test_AAA_start_visual_mode_with_count comment change as it hasn't been ported yet.
* vim-patch:8.2.4315: put in Visual mode not fully testedzeertzjq2022-02-09
| | | | | | 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
* vim-patch:8.2.4242: put in Visual mode cannot be repeatedzeertzjq2022-02-09
| | | | | | | | | | 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.
* vim-patch:8.2.3095: with 'virtualedit' set to "block" block selection is wrongzeertzjq2022-01-27
| | | | | | | 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
* vim-patch:8.2.4219: reading before the start of the lineChristian Clason2022-01-26
| | | | | | Problem: Reading before the start of the line. Solution: Check boundary before trying to read the character. https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e
* vim-patch:8.2.4217: illegal memory access when undo makes Visual area invalidChristian Clason2022-01-26
| | | | | | | | 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)
* vim-patch:8.2.4215: illegal memory access when copying lines in Visual modeChristian Clason2022-01-26
| | | | | | 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
* vim-patch:8.2.3611: crash when using CTRL-W f without finding a file namezeertzjq2022-01-18
| | | | | | 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
* vim-patch:8.2.3494: illegal memory access in utf_head_offzeertzjq2022-01-18
| | | | | | | | | 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.
* vim-patch:8.1.2375: no suffucient testing for registerszeertzjq2022-01-14
| | | | | | | | | | | | 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.
* test(old): reenable Test_virtual_replace() (#16674)zeertzjq2021-12-25
|
* vim-patch:8.2.2938: after using motion force from feedkeys() it sticks (#15240)Xiao2021-08-29
| | | | | 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
* vim-patch:8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrongJan Edmund Lazo2021-07-04
| | | | | | | 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
* vim-patch:8.2.3072: "zy" does not work well when "virtualedit' is "block"Jan Edmund Lazo2021-06-29
| | | | | | | | | | | | | | | | | 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
* vim-patch:8.2.2971: cannot yank a block without trailing spacesJan Edmund Lazo2021-06-10
| | | | | | 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
* vim-patch:8.2.2916: operators are not fully testedJan Edmund Lazo2021-05-31
| | | | | | 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
* vim-patch:8.1.2400: test39 is old styleJan Edmund Lazo2021-05-31
| | | | | | | 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
* vim-patch:8.2.2914: cannot paste a block without adding paddingJan Edmund Lazo2021-05-31
| | | | | | | | | 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.
* vim-patch:8.1.1193: typos and small problems in test filesJan Edmund Lazo2021-03-30
| | | | | | | | | 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.
* vim-patch:8.1.2390: test94 is old style, fix 7.4.441 not testedJan Edmund Lazo2020-11-25
| | | | | | | 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
* vim-patch:8.2.1511: putting a string in Visual block mode ignores multi-byteJan Edmund Lazo2020-08-22
| | | | | | | Problem: Putting a string in Visual block mode ignores multi-byte characters. Solution: Adjust the column for Visual block mode. (closes vim/vim#6767) https://github.com/vim/vim/commit/cd94277f72e29b740635da84bcd872c96e11bf67
* vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* vim-patch:8.1.1214: old style tests #9948Jan Edmund Lazo2019-04-27
| | | | | | Problem: Old style tests. Solution: Move tests from test14 to new style test files. (Yegappan Lakshmanan, closes vim/vim#4308) https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
* vim-patch:8.1.0739: text objects in not sufficiently testedJan Edmund Lazo2019-03-07
| | | | | | Problem: Text objects in not sufficiently tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3795) https://github.com/vim/vim/commit/81b1ba4be57b4bfd7e53a6709b4f98758612ef5f
* vim-patch:8.1.0998: getcurpos() unexpectedly changes "curswant"Jan Edmund Lazo2019-03-07
| | | | | | Problem: getcurpos() unexpectedly changes "curswant". Solution: Save and restore "curswant". (closes vim/vim#4069) https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
* vim-patch:8.1.0687: sentence text object in Visual mode is not testedJan Edmund Lazo2019-01-05
| | | | | | Problem: Sentence text object in Visual mode is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3758) https://github.com/vim/vim/commit/6d3a1940be9d3f2b079f81baa9b19f839289b69e
* vim-patch:8.1.0007: no test for "o" and "O" in Visual block modeJan Edmund Lazo2018-08-06
| | | | | | Problem: No test for "o" and "O" in Visual block mode. Solution: Add a test. (Dominique Pelle, closes vim/vim#2932) https://github.com/vim/vim/commit/2e94976abd1cd6b94db38d4f2a1cfd71808b8100
* vim-patch:8.0.1579: virtual replace test fails in GUIJan Edmund Lazo2018-08-06
| | | | | | Problem: Virtual replace test fails in GUI. Solution: Don't save key options if they were not set. https://github.com/vim/vim/commit/df0d24b62742edd3ea73795b96a771501e642970
* vim-patch:8.0.1577: virtual replace test fails on MS-WindowsJan Edmund Lazo2018-08-06
| | | | | | | Problem: Virtual replace test fails on MS-Windows. Solution: Make adding a termcap entry work for a builtin terminal. Restore terminal keys in a better way. https://github.com/vim/vim/commit/e7808481507b9e11ae73c8f865e95eb2d20f6cc8
* vim-patch:8.0.1575: crash when using virtual replaceJan Edmund Lazo2018-08-06
| | | | | | Problem: Crash when using virtual replace. Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt) https://github.com/vim/vim/commit/63e82db6fc910b2d8f1cd018894e50e8b4448155
* vim-patch:8.0.0879: crash when shifting with huge numberJan Edmund Lazo2018-08-06
| | | | | | Problem: Crash when shifting with huge number. Solution: Check for overflow. (Dominique Pelle, closes vim/vim#1945) https://github.com/vim/vim/commit/bae5a17a738d1a3b5c51d9aa5d99e228d3911955
* vim-patch:8.0.0890: still many old style testsJan Edmund Lazo2018-08-06
| | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/75373f38087dd756babdbbf9f14fd4711712c5de
* vim-patch:8.0.1200: tests switch the bell off twiceJustin M. Keyes2018-02-11
| | | | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
* test/old: TODO: skip Test_virtual_replace()Justin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test exposes a bug (present on current master) in ins_char_bytes() or somewhere earlier. Steps to reproduce: inoremap <C-D> <Del> enew! exe "normal a\nabcdefghi\njk\tlmn\n opq rst\n\<C-D>uvwxyz" call cursor(1,1) exe "normal gR0\<C-D> 1\nA\nBCDEFGHIJ\n\tKL\nMNO\nPQR" or run `TEST_FILE=test_visual.res make oldtest`. Executing Test_virtual_replace() 2 buffers wiped out================================================================= ==31341==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020000c4f34 at pc 0x0000004f7971 bp 0x7ffdf87bb190 sp 0x7ffdf87ba940 WRITE of size 1 at 0x6020000c4f34 thread T0 0 0x4f7970 in __asan_memmove (/home/vagrant/neovim/build/bin/nvim+0x4f7970) 1 0xfde7a3 in ins_char_bytes /home/vagrant/neovim/build/../src/nvim/misc1.c:1488:3 2 0xfdef41 in ins_char /home/vagrant/neovim/build/../src/nvim/misc1.c:1403:3 3 0x79dd03 in insertchar /home/vagrant/neovim/build/../src/nvim/edit.c:5285:7 4 0x7be70f in insert_special /home/vagrant/neovim/build/../src/nvim/edit.c:5071:5 5 0x7bd94a in insert_handle_key /home/vagrant/neovim/build/../src/nvim/edit.c:1229:7 6 0x76df14 in insert_execute /home/vagrant/neovim/build/../src/nvim/edit.c:764:10 7 0x173cda9 in state_enter /home/vagrant/neovim/build/../src/nvim/state.c:67:26 8 0x77601d in insert_enter /home/vagrant/neovim/build/../src/nvim/edit.c:458:5 9 0x76986e in edit /home/vagrant/neovim/build/../src/nvim/edit.c:1327:3 10 0x1118661 in invoke_edit /home/vagrant/neovim/build/../src/nvim/normal.c:7591:7 11 0x10e60bc in nv_Replace /home/vagrant/neovim/build/../src/nvim/normal.c:6070:7 12 0x10f235d in nv_g_cmd /home/vagrant/neovim/build/../src/nvim/normal.c:6541:5 13 0x10c0eaa in normal_execute /home/vagrant/neovim/build/../src/nvim/normal.c:1136:3 14 0x10b8444 in normal_cmd /home/vagrant/neovim/build/../src/nvim/normal.c:7995:9 15 0xb80982 in exec_normal /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:8197:5 16 0xb8065b in exec_normal_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:8180:3 17 0xbb08df in ex_normal /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:8098:7 18 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 19 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 20 0x8646b1 in ex_execute /home/vagrant/neovim/build/../src/nvim/eval.c:19478:7 21 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 22 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 23 0x845302 in call_user_func /home/vagrant/neovim/build/../src/nvim/eval.c:21332:3 24 0x81097b in call_func /home/vagrant/neovim/build/../src/nvim/eval.c:6358:11 25 0x825778 in get_func_tv /home/vagrant/neovim/build/../src/nvim/eval.c:6120:11 26 0x81e361 in ex_call /home/vagrant/neovim/build/../src/nvim/eval.c:2735:9 27 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 28 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 29 0x8646b1 in ex_execute /home/vagrant/neovim/build/../src/nvim/eval.c:19478:7 30 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 31 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 32 0x845302 in call_user_func /home/vagrant/neovim/build/../src/nvim/eval.c:21332:3 33 0x81097b in call_func /home/vagrant/neovim/build/../src/nvim/eval.c:6358:11 34 0x825778 in get_func_tv /home/vagrant/neovim/build/../src/nvim/eval.c:6120:11 35 0x81e361 in ex_call /home/vagrant/neovim/build/../src/nvim/eval.c:2735:9 36 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 37 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 38 0xb17fdd in do_source /home/vagrant/neovim/build/../src/nvim/ex_cmds2.c:2973:3 39 0xb14630 in cmd_source /home/vagrant/neovim/build/../src/nvim/ex_cmds2.c:2718:14 40 0xb14727 in ex_source /home/vagrant/neovim/build/../src/nvim/ex_cmds2.c:2699:3 41 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 42 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 43 0xb34015 in do_cmdline_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:280:10 44 0xe829d3 in exe_commands /home/vagrant/neovim/build/../src/nvim/main.c:1702:5 45 0xe708bd in main /home/vagrant/neovim/build/../src/nvim/main.c:524:5 46 0x7f0012a7782f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291 47 0x44d628 in _start (/home/vagrant/neovim/build/bin/nvim+0x44d628) 0x6020000c4f34 is located 0 bytes to the right of 4-byte region [0x6020000c4f30,0x6020000c4f34) allocated by thread T0 here: 0 0x50e128 in malloc (/home/vagrant/neovim/build/bin/nvim+0x50e128) 1 0xf7d871 in try_malloc /home/vagrant/neovim/build/../src/nvim/memory.c:87:15 2 0xf7da99 in xmalloc /home/vagrant/neovim/build/../src/nvim/memory.c:121:15 3 0xfde3c7 in ins_char_bytes /home/vagrant/neovim/build/../src/nvim/misc1.c:1473:18 4 0xfdef41 in ins_char /home/vagrant/neovim/build/../src/nvim/misc1.c:1403:3 5 0x79dd03 in insertchar /home/vagrant/neovim/build/../src/nvim/edit.c:5285:7 6 0x7be70f in insert_special /home/vagrant/neovim/build/../src/nvim/edit.c:5071:5 7 0x7bd94a in insert_handle_key /home/vagrant/neovim/build/../src/nvim/edit.c:1229:7 8 0x76df14 in insert_execute /home/vagrant/neovim/build/../src/nvim/edit.c:764:10 9 0x173cda9 in state_enter /home/vagrant/neovim/build/../src/nvim/state.c:67:26 10 0x77601d in insert_enter /home/vagrant/neovim/build/../src/nvim/edit.c:458:5 11 0x76986e in edit /home/vagrant/neovim/build/../src/nvim/edit.c:1327:3 12 0x1118661 in invoke_edit /home/vagrant/neovim/build/../src/nvim/normal.c:7591:7 13 0x10e60bc in nv_Replace /home/vagrant/neovim/build/../src/nvim/normal.c:6070:7 14 0x10f235d in nv_g_cmd /home/vagrant/neovim/build/../src/nvim/normal.c:6541:5 15 0x10c0eaa in normal_execute /home/vagrant/neovim/build/../src/nvim/normal.c:1136:3 16 0x10b8444 in normal_cmd /home/vagrant/neovim/build/../src/nvim/normal.c:7995:9 17 0xb80982 in exec_normal /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:8197:5 18 0xb8065b in exec_normal_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:8180:3 19 0xbb08df in ex_normal /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:8098:7 20 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 21 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 22 0x8646b1 in ex_execute /home/vagrant/neovim/build/../src/nvim/eval.c:19478:7 23 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 24 0xb2dd03 in do_cmdline /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:609:20 25 0x845302 in call_user_func /home/vagrant/neovim/build/../src/nvim/eval.c:21332:3 26 0x81097b in call_func /home/vagrant/neovim/build/../src/nvim/eval.c:6358:11 27 0x825778 in get_func_tv /home/vagrant/neovim/build/../src/nvim/eval.c:6120:11 28 0x81e361 in ex_call /home/vagrant/neovim/build/../src/nvim/eval.c:2735:9 29 0xb4ba9c in do_one_cmd /home/vagrant/neovim/build/../src/nvim/ex_docmd.c:2242:5 SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/vagrant/neovim/build/bin/nvim+0x4f7970) in __asan_memmove Shadow bytes around the buggy address: 0x0c0480010990: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 01 fa 0x0c04800109a0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800109b0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800109c0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800109d0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa =>0x0c04800109e0: fa fa 05 fa fa fa[04]fa fa fa fa fa fa fa fa fa 0x0c04800109f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0480010a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0480010a10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0480010a20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0480010a30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==31341==ABORTING
* vim-patch:8.0.1221: still too many old style testsJustin M. Keyes2018-02-11
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2256) https://github.com/vim/vim/commit/15993ce9210e8b8d4bc11e1d640f6447b18d3e6c
* vim-patch:8.0.0433: beeps when running testsJustin M. Keyes2018-01-21
| | | | | | | Problem: Quite a few beeps when running tests. Solution: Set 'belloff' for these tests. (Christian Brabandt) https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
* vim-patch:8.0.0339: illegal memory access with vi' (#7794)KunMing Xie2018-01-01
| | | | | | | | Problem: Illegal memory access with vi' Solution: For quoted text objects bail out if the Visual area spans more than one line. https://github.com/vim/vim/commit/46522af72424c7fadfa7a4cbba3dd21b82d19131
* vim-patch:8.0.0140 (#7428)KunMing Xie2017-10-22
| | | | | | | | Problem: Pasting inserted text in Visual mode does not work properly. (Matthew Malcomson) Solution: Stop Visual mode before stuffing the inserted text. (Christian Brabandt, from neovim #5709) https://github.com/vim/vim/commit/f8eb9c51e5bbd10e59c9b1247f8f6c7f5b77ccd0
* vim-patch:8.0.0330ckelsel2017-09-24
| | | | | | | Problem: Illegal memory access after "vapo". (Dominique Pelle) Solution: Fix the cursor column. https://github.com/vim/vim/commit/84b2a381451e9068b09ef6d85f5e8cf1598e7355
* vim-patch:8.0.0282 vim-patch:8.0.0291 (#7255)KunMing Xie2017-09-10
| | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0291 Problem: Visual block insertion does not insert in all lines. Solution: Don't bail out of insert too early. Add a test. (Christian Brabandt, closes vim/vim#1290) https://github.com/vim/vim/commit/23fa81d2223cd9bb7c51829c48047b2976bc2d11 vim-patch:8.0.0282 Problem: When doing a Visual selection and using "I" to go to insert mode, CTRL-O needs to be used twice to go to Normal mode. (Coacher) Solution: Check for the return value of edit(). (Christian Brabandt, closes #1290) https://github.com/vim/vim/commit/0b5c93a7f266cd8c90ea27bdaf9f7214a95d64d7
* vim-patch:7.4.2086Justin M. Keyes2016-11-25
| | | | | | | | Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed. https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e