aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | | 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.1223: crash when using autocomplete and tab pagesJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using autocomplete and tab pages. Solution: Check if the current tab changed. (Christian Brabandt, closes vim/vim#2239) https://github.com/vim/vim/commit/9ad89c6c4f89cd710d8244d8010b8b0ae30ba79d
* | | vim-patch:8.0.1475: invalid memory access in read_redo()Justin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory access in read_redo(). (gy741) Solution: Convert the replacement character back from a negative number to CR or NL. (hint by Dominique Pelle, closes vim/vim#2616) https://github.com/vim/vim/commit/f12519dec88251305793f1651f558d16506b4be2
* | | test: port Test_edit_08() to Lua testJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Test_edit_08() depends on special-case handling in has_compl_option() and redrawing() which are in Vim but are not wanted in Nvim. Using a Lua test instead of depending on workarounds in the core to make the VimL test work.
* | | vim-patch:8.0.1224: still interference between test functionsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Still interference between test functions. Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a specific start context. https://github.com/vim/vim/commit/cf1ba35fc2ebd41b9a7738bbd1f026f5311560aa
* | | vim-patch:8.0.1222: test functions interfere with each otherJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Test functions interfere with each other. Solution: Cleanup tab pages, windows and buffers. Reset option. https://github.com/vim/vim/commit/ce11de87e26e1420703242f8e07b4fd69c4032ba
* | | vim-patch:8.0.1007: no test for filetype detection for scriptsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: No test for filetype detection for scripts. Solution: Add a first test file script filetype detection. https://github.com/vim/vim/commit/cbe6944956d7c39176e8b15faa77f1c29eaf5c97
* | | vim-patch:8.0.0906: don't recognize Couchbase filesJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Don't recognize Couchbase files. Solution: Add filetype detection. (Eugene Ciurana, closes vim/vim#1951) https://github.com/vim/vim/commit/d9bc8a801aeaffa77d4094d43bf97f0ced3db92b
* | | vim-patch:8.0.0895: filetype test fails on MS-WindowsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Filetype test fails on MS-Windows. Solution: Fix file names. https://github.com/vim/vim/commit/8ab3c1dc6bf70021f89e6e614b202606863bc168
* | | test/oldtest: account for Nvim man.vim handlingJustin M. Keyes2018-02-11
| | |
* | | vim-patch:8.0.0894: there is no test for runtime filetype detectionJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: There is no test for runtime filetype detection. Solution: Test a list of filetypes from patterns. https://github.com/vim/vim/commit/0a0217abfabcee8b0779df2e18a186a4b41e18ce
* | | vim-patch:8.0.0613: the conf filetype is used before ftdetect from packagesJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The conf filetype detection is done before ftdetect scripts from packages that are added later. Solution: Add the FALLBACK argument to :setfiletype. (closes vim/vim#1679, closes vim/vim#1693) https://github.com/vim/vim/commit/3e54569b17683318e0cb6693ab0024c2ad1e3e8f
* | | test/oldtest: restore test_autochdir.vimJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | We have a ported Lua version, but we should also keep the Vim version around to make merging easier.
* | | vim-patch:8.0.1210: CTRL-G and CTRL-T are ignored with typeaheadJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when there is typeahead. Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa, closes vim/vim#2233) https://github.com/vim/vim/commit/f8e8c0643b1cd97db11912bc4f773e1328a0da02
* | | 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
* | | test/oldtest: restore test_arglist.vimJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have a ported Lua version, but we should also keep the Vim version around to make merging easier. --- vim-patch:8.0.0723: arglist test fails if file name case is ignored Problem: Arglist test fails if file name case is ignored. Solution: Wipe existing buffers, check for fname_case property. https://github.com/vim/vim/commit/9b50bba643f8d1fcac91e11780da7d03d8995260
* | | test/oldtest: runtest.vim: align with upstreamJustin M. Keyes2018-02-11
| | |
* | | vim-patch:8.0.0700: segfault with QuitPre autocommand closes the windowJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Segfault with QuitPre autocommand closes the window. (Marek) Solution: Check that the window pointer is still valid. (Christian Brabandt, closes vim/vim#1817) https://github.com/vim/vim/commit/0ea5070d79c8a13fb2403280a72f968495b0fab7
* | | vim-patch:8.0.1403: using freed buffer in grep commandJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Using freed buffer in grep command. (gy741, Dominique Pelle) Solution: Lock the dummy buffer to avoid autocommands wiping it out. https://github.com/vim/vim/commit/4fb921e388b9a042573ab06cce36e92874954197
* | | vim-patch:8.0.1402: crash with nasty autocommandJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Crash with nasty autocommand. (gy741, Dominique Pelle) Solution: Check that the new current buffer isn't wiped out. (closes vim/vim#2447) https://github.com/vim/vim/commit/9bca805ec49eb0d2d0d0b2093f418ff425500169
* | | vim-patch:8.0.0974: resetting a string option does not trigger OptionSetJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Resetting a string option does not trigger OptionSet. (Rick Howe) Solution: Set the origval. https://github.com/vim/vim/commit/8efa026a25b95de5598535ef62505282a8584a4b
* | | vim-patch:8.0.0703: illegal memory access with empty :doau commandJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access with empty :doau command. Solution: Check the event for being out of range. (James McCoy) https://github.com/vim/vim/commit/faf29d7f91477c25c85d9d7165d90e8d8f1c512e
* | | vim-patch:8.0.0736: OptionSet not triggered when entering diff modeJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The OptionSet autocommand event is not triggered when entering diff mode. Solution: use set_option_value() instead of setting the option directly. Change the tests from old to new style. (Christian Brabandt) https://github.com/vim/vim/commit/04f62f881c5743d2fdaf7324f6a715381f0d5fcf
* | | vim-patch:8.0.1186: still quite a few old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Still quite a few old style tests. Solution: Convert old to new style tests. (Yegappan Lakshmanan) Avoid ringing the bell while running tests. https://github.com/vim/vim/commit/4a6fcf8047de13c7949ab2f27f7774acaec4ae4d
* | | vim-patch:8.0.0600: test_recover fails on some systemsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: test_recover fails on some systems. Solution: Explicitly check if "/" is writable. (Ken Takata) https://github.com/vim/vim/commit/2a0b06def49198aef45ef173f524a638a700f9c9
* | | vim-patch:8.0.0338: :recover test fails on MS-WindowsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: :recover test fails on MS-Windows. Solution: Use non-existing directory on MS-Windows. https://github.com/vim/vim/commit/803452046ba6cda7a2896626572eb78b2358c965
* | | vim-patch:8.0.0337: invalid memory access in :recover commandJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory access in :recover command. Solution: Avoid access before directory name. (Dominique Pelle, closes vim/vim#1488) https://github.com/vim/vim/commit/c525e3a1c20f6b5d9809c8b84f80090a8e416c92
* | | vim-patch:8.0.0472: when a test fails another test may also failJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: When a test fails and test.log is created, Test_edit_CTRL_I matches it instead of test1.in. Solution: Match with runtest.vim instead. https://github.com/vim/vim/commit/c537947100d4a73754ad4b4c9228c6c439655e5d
* | | vim-patch:8.0.0861: still many old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/4a137b45864310060410f34cb9c7d0f0231bb256 vim-patch:8.0.0862: file size test fails on MS-Windows Problem: File size test fails on MS-Windows. Solution: Set fileformat after opening new buffer. Strip CR. https://github.com/vim/vim/commit/07c043af5f054c7dfeb676414f8fa6aeda8f9c2b
* | | vim-patch:8.0.1158: still old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Still old style tests. Solution: Convert serveral tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/db51007108a6ab0671e7f7b4844557cbe647185f
* | | vim-patch:8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong directionJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction. (Ramel Eshed) Solution: Adjust search_start. (Christian Brabandt) https://github.com/vim/vim/commit/da5116da4586fc714434411d2cccb066caa3723e
* | | vim-patch:8.0.0689: ~ character not escaped when extending search patternJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The ~ character is not escaped when adding to the search pattern with CTRL-L. (Ramel Eshed) Solution: Escape the character. (Christian Brabandt) https://github.com/vim/vim/commit/a693d0584b9a7ccce98813dda3a6badb209904c7
* | | vim-patch:8.0.0440: not enough test coverage in Insert modeJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | [Nvim note: test_override() omitted] Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes vim/vim#1521) https://github.com/vim/vim/commit/eb992cb90fd79c77ad2743459ac898e6ac3de939
* | | test/oldtest: move Nvim setup to testdir/setup.vimJustin M. Keyes2018-02-09
| | |
* | | defaults: sidescroll=1Justin M. Keyes2018-02-09
|/ / | | | | | | ref #6289
* | vim-patch:8.0.0672: synconcealed() changes too often #7887nate2018-02-01
| | | | | | | | | | | | | | | | Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line. https://github.com/vim/vim/commit/cc0750dc6e878394ab0fd922b7ea4280918ae406 closes #7589
* | vim-patch:8.0.0358,8.0.0359 (#7832)KunMing Xie2018-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | test/old: fix Test_set_completion()Justin M. Keyes2018-01-28
| | | | | | | | | | | | 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.
* | test/old: $TMPDIR must be absoluteJustin M. Keyes2018-01-28
| | | | | | | | | | Internals `chdir` here and there, this causes relative $TMPDIR to break some things. Don't know why this only happened on macOS...
* | Merge #7903 'test/old: minor fixes for local invocation'Justin M. Keyes2018-01-28
|\ \
| * | test/old: always set $TMPDIRJustin M. Keyes2018-01-23
| | | | | | | | | | | | | | | | | | On macOS $TMPDIR defaults to something very long. There's not really a need to support overriding the $TMPDIR used by tests, so always use the workspace-local path "Xtest-tmpdir".
| * | test/old: Fix_truncated_tmpfile(): more flexibleJustin M. Keyes2018-01-23
| | |
* | | vim-patch:8.0.0431 (#7908)KunMing Xie2018-01-25
|/ / | | | | | | | | | | | | vim-patch:8.0.0431: 'cinoptions' cannot set indent for extern block Problem: 'cinoptions' cannot set indent for extern block. Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi) https://github.com/vim/vim/commit/7720ba8599162fbbb8f7fc034f674a2ccd3ca7f1
* | vim-patch:8.0.0667: more tests for :endfuncJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | [Only the test is merged; code was addressed by 60c025267265.] Problem: Memory access error when command follows :endfunction. (Nikolai Pavlov) Solution: Make memory handling in :function straightforward. (closes vim/vim#1793) https://github.com/vim/vim/commit/53564f7c1a2998d92568e07fff1f2a4c1cecb646
* | vim-patch:8.0.0662: stray FIXME for fixed problemJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Stray FIXME for fixed problem. Solution: Remove the comment. (Dominique Pelle) https://github.com/vim/vim/commit/4670490673ed98502a09b74fbabe785b47e3d289
* | vim-patch:8.0.0659: no test for conceal modeJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: No test for conceal mode. Solution: Add a conceal mode test. (Dominique Pelle, closes vim/vim#1783) https://github.com/vim/vim/commit/4d785895d1f8b54cdd3fabd87446ca692f49e94e
* | vim-patch:8.0.0656: cannot use ! after some user commandsJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | [Test passes, and the code change doesn't look applicable. So this only includes the test.] Problem: Cannot use ! after some user commands. Solution: Properly check for existing command. (Higashi Higashi) https://github.com/vim/vim/commit/6f9a476b2f2f0bb5c50d703ec4fc535ffd5bfe8f
* | vim-patch:8.0.0655: not easy to make sure a function does not existJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Not easy to make sure a function does not exist. Solution: Add ! as an optional argument to :delfunc. https://github.com/vim/vim/commit/d6abcd154cdc6a8dd4b7c6ccad37617ea8a1b4aa
* | vim-patch:8.0.0654: no warning for text after :endfunctionJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | Problem: Text found after :endfunction is silently ignored. Solution: Give a warning if 'verbose' is set. When | or \n are used, execute the text as a command. https://github.com/vim/vim/commit/663bb2331626944cea156374858131fcd323b9e9 Note: the code part of this patch was addressed by 60c025267265.
* | vim-patch:8.0.0444: diffpatch fails when the file name has a quoteJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Diffpatch fails when the file name has a quote. Solution: Escape the name properly. (zetzei) https://github.com/vim/vim/commit/a95ab321200f0239991bf53756b17cd7b90745f9