Commit Graph
409 Commits
Author SHA1 Message Date
James McCoy d98ebd6ab9 build: Make clean targets more thorough 2016-12-02 20:38:55 -05:00
James McCoy 77dceaaeb7 Merge pull request #5675 from brcolow/vim-7.4.1738
vim-patch:7.4.17[35,38,39]
2016-12-01 13:32:12 -05:00
Michael Ennen 4f3bb5262c vim-patch:7.4.1702
Problem:    Using freed memory when parsing 'printoptions' fails.
Solution:   Save the old options and restore them in case of an error.
            (Dominique)

https://github.com/vim/vim/commit/4afc7c5d4a73340831077a02bfe1f74935e7f4a1
2016-12-01 09:20:23 -05:00
Michael Ennen 909b7d9dea vim-patch:7.4.1739
Problem:    Messages test fails on MS-Windows.
Solution:   Adjust the asserts.  Skip the "messages maintainer" line if not
            showing all messages

https://github.com/vim/vim/commit/bea1ede1c59a11ca5bf9d91cd30b7b2937b9fb41
2016-12-01 09:15:47 -05:00
James McCoy 85f9f9f46d Merge pull request #5674 from brcolow/vim-7.4.1723
vim-patch:7.4.1723
2016-12-01 09:07:33 -05:00
James McCoy e1cdf04f2d Merge pull request #5665 from brcolow/vim-7.4.1711
vim-patch:7.4.1711
2016-12-01 09:01:55 -05:00
James McCoy 5194e3bc45 Merge pull request #5664 from brcolow/vim-7.4.1707
vim-patch:7.4.1707
2016-12-01 08:46:18 -05:00
James McCoy 5679ceb3a8 Merge pull request #5648 from brcolow/vim-7.4.2071
vim-patch:7.4.2071
2016-11-30 20:58:11 -05:00
Michael Ennen d2be11fbf2 vim-patch:7.4.1735
Problem:    It is not possible to only see part of the message history.  It is
            not possible to clear messages.
Solution:   Add a count to ":messages" and a clear argument. (Yasuhiro
            Matsumoto)

https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
2016-11-29 16:32:43 -07:00
Justin M. Keyes 78cbed5138 Merge #5643 from Shougo/vim-7.4.1686
vim-patch:7.4.1686, 7.4.2007
2016-11-29 23:40:29 +01:00
Michael Ennen 5efcefee87 vim-patch:7.4.2071
Problem:    The return value of type() is difficult to use.
Solution:   Define v:t_ constants. (Ken Takata)

https://github.com/vim/vim/commit/f562e72df726c6191fa305e1c0a113f1cfb87f76
2016-11-29 15:02:24 -07:00
Michael Ennen 68271a6d19 vim-patch:7.4.1723
Problem:    When using try/catch in 'tabline' it is still considered an
            error and the tabline will be disabled.
Solution:   Check did_emsg instead of called_emsg. (haya14busa, closes #746)

https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
2016-11-26 16:17:39 -07:00
Michael Ennen 22c7dbd5f8 vim-patch:7.4.1711
Problem:    When using try/catch in 'statusline' it is still considered an
            error and the status line will be disabled.
Solution:   Check did_emsg instead of called_emsg. (haya14busa, closes vim/vim#729)

https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
2016-11-25 18:23:36 -07:00
Michael Ennen 8f84c1da83 vim-patch:7.4.1707
Problem:    Cannot use empty dictionary key, even though it can be useful.
Solution:   Allow using an empty dictionary key.

https://github.com/vim/vim/commit/0921ecff1c5a74541bad6c073e8ade32247403d8
2016-11-25 18:23:11 -07:00
Justin M. Keyes 0de6f450e4 vim-patch:7.4.2086
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
2016-11-25 15:46:58 +01:00
Shougo Matsushita d24222cea8 vim-patch:7.4.2007
Problem:    Running the tests leaves a viminfo file behind.
Solution:   Make the viminfo option empty.

https://github.com/vim/vim/commit/fc4ad616073a169badfb2b9906fee2844f76f730
2016-11-25 06:43:36 +09:00
James McCoy cbf2a86c1d Merge pull request #5654 from brcolow/vim-7.4.1923
vim-patch:7.4.1923
2016-11-23 21:27:20 -05:00
Michael Ennen 4f8964cc00 vim-patch:7.4.1923
Problem:    Command line editing is not tested much.
Solution:   Add tests for expanding the file name and 'wildmenu'.

https://github.com/vim/vim/commit/ae3150ec8d9da4a244acffebea55416946ca23d3

The test_cmdline.vim tests were ported in 23f591dba0 and thus
should have marked 1923 as applied. The test_cmdline.vim invocation
has been moved from test_alot.vim to src/nvim/testdir/Makefile to
better accord with the upstream code.
2016-11-23 15:56:35 -07:00
Shougo Matsushita 071a7d3d78 vim-patch:7.4.1686
Problem:    When running tests $HOME/.viminfo is written. (James McCoy)
Solution:   Add 'nviminfo' to the 'viminfo' option. (closes vim/vim#722)

https://github.com/vim/vim/commit/e9c07270031e312082604d3505650f185aa65948
2016-11-22 07:30:42 +09:00
Shougo Matsushita d152e2f3fd vim-patch:7.4.1660
Problem:    has('patch-7.4.1') doesn't work.
Solution:   Fix off-by-one error. (Thinca)

https://github.com/vim/vim/commit/819821c5a95fc60797ecbb5e5ca1302e397e3d9a
2016-11-22 07:27:13 +09:00
James McCoy c685879eea vim-patch:8.0.0057
Problem:    Tests fail without the 'keymap' features.
Solution:   Check for feature in test.

https://github.com/vim/vim/commit/9376f5f482a4d579436bf364778c2d8ab8e2f22d
2016-11-20 14:07:46 -05:00
James McCoy 4fad66fbe6 vim-patch:8.0.0056
Problem:    When setting 'filetype' there is no check for a valid name.
Solution:   Only allow valid characters in 'filetype', 'syntax' and 'keymap'.

https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
2016-11-20 14:07:46 -05:00
James McCoy c91e9c1c7a Merge pull request #5611 from jamessan/vim-7.4.2174
vim-patch:7.4.2174
2016-11-15 14:57:57 -05:00
Shougo c69cfd7d1c vim-patch:8.0.0035 (#5609)
Problem:    Order of matches for 'omnifunc' is messed up. (Danny Su)
Solution:   Do not set compl_curr_match when called from complete_check().
            (closes vim/vim#1168)

https://github.com/vim/vim/commit/472e85970ee3a80abd824bef510df12e9cfe9e96
2016-11-15 17:59:55 +01:00
James McCoy 9d9d93aee3 vim-patch:7.4.2174
Problem:    Adding duplicate flags to 'whichwrap' leaves commas behind.
Solution:   Also remove the commas. (Naruhiko Nishino)

https://github.com/vim/vim/commit/c8ce615299b4d8c1b2e6cf83496f48cd497d8a37
2016-11-15 11:48:37 -05:00
James McCoy 9d2985ecba vim-patch:7.4.1658
Problem:    A plugin does not know when VimEnter autocommands were already
            triggered.
Solution:   Add the v:vim_did_enter variable.

https://github.com/vim/vim/commit/1473551a4457d4920b235eeeb9f279e196ee7225
2016-11-14 14:16:40 -05:00
James McCoy 01f1028496 Merge pull request #5524 from brcolow/vim-7.4.1967
vim-patch:7.4.1967
2016-11-02 20:06:23 -04:00
Michael Ennen b8bb1f6729 vim-patch:7.4.1967
Problem: Falling back from NFA to old regexp engine does not work properly.
(fritzophrenic)
Solution: Do not restore nfa_match. (Christian Brabandt, closes vim/vim#867)

https://github.com/vim/vim/commit/6747fabc7348bf5f41ccfe851e2be3e900ec8ee0

Helped-by: jamessan
2016-11-02 20:05:45 -04:00
James McCoy 859e9fa65f Merge pull request #5527 from brcolow/vim-7.4.1730
vim-patch:7.4.[1730,1734,1741,1742,1779,1782]
2016-10-31 10:13:41 -04:00
Justin M. Keyes 26b90e95e7 test: Add missing test from vim-patch:7.4.2312 2016-10-26 13:53:14 +02:00
Michael Ennen 6bc0d9b8c7 vim-patch:7.4.1779
Problem:    Using negative index in strcharpart(). (Yegappan Lakshmanan)
Solution:   Assume single byte when using a negative iindex.

https://github.com/vim/vim/commit/73dfe917ba6357413aaf98a021c91add5ac6e9bc
2016-10-23 22:55:22 -07:00
Michael Ennen 9e5dca8490 vim-patch:7.4.1741
Problem:    Not testing utf-8 characters.
Solution:   Move the right asserts to the test_expr_utf8 test.

https://github.com/vim/vim/commit/b22bd46b9681d73d095f2eadff8163d3a6cf416b
2016-10-23 18:04:46 -07:00
Michael Ennen 763422b036 vim-patch:7.4.1734
Problem:    Test fails when not using utf-8.
Solution:   Split test in regularand utf-8 part.

https://github.com/vim/vim/commit/0f518a8f4d4be4cac10389680f6bd5e3781f94b0
2016-10-23 18:04:46 -07:00
Michael Ennen d6e27f90b9 vim-patch:7.4.1730
Problem:    It is not easy to get a character out of a string.
Solution:   Add strgetchar() and strcharpart().

https://github.com/vim/vim/commit/58de0e2dcc1f2d251b74892a06d71a14973f3187
2016-10-23 18:04:28 -07:00
Grzegorz Milka c5c8a82134 vim-patch:7.4.2309
Problem:    Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle)
Solution:   When detecting that the tab page changed, don't just abort but
            delete the window where w_buffer is NULL.

https://github.com/vim/vim/commit/11fbc2866ccc11b4dd1726abdaf582a78ef3f743
2016-10-23 00:37:13 +02:00
Grzegorz Milka d7b942b54e vim-patch:7.4.2237
Problem:    Can't use "." and "$" with ":tab".
Solution:   Support a range for ":tab". (Hirohito Higashi)

https://github.com/vim/vim/commit/9b7f8ce9eb3cb704f8cc14ab659bf86b1d6dc13c
2016-10-23 00:37:13 +02:00
Grzegorz e62f681d2d vim-patch:7.4.2227 (#5521)
Problem:    Tab page tests are old style.
Solution:   Change into new style tests. (Hirohito Higashi)

https://github.com/vim/vim/commit/1381d791478ee77c8368b89a3d4954316bf839b5
2016-10-22 23:22:50 +02:00
Patrick 6bbd4b2298 vim-patch:7.4.1494
Problem:    clr_history() does not work properly.
Solution:   Increment hisptr. Add a test. (Yegappan Lakshmanan)

https://github.com/vim/vim/commit/119d4693e06e68d4f099aa7287e375ae3d265fd0

Note: Only added a test. The change to `histptr` had already been made.
2016-10-18 10:34:40 -04:00
Justin M. Keyes 5a61ff188c Merge #5257 from jbradaric/vim-7.4.1893
vim-patch:7.4.{1893,1895}
2016-10-13 01:19:09 +02:00
Justin M. Keyes 22fe76aec4 Merge #5418 from Shougo/vim-7.4.2158
vim-patch: 7.4.2158, 2162, 2205
2016-10-13 00:44:18 +02:00
Harm te Hennepe 3a54ce5a73 vim-patch:7.4.2274 (#5439)
Problem:    Command line completion on "find **/filename" drops sub-directory.
Solution:   Handle this case separately. (Harm te Hennepe, closes vim/vim#932, closes
            vim/vim#939)

https://github.com/vim/vim/commit/73d4e4c8922f6f4d256f910a18f47c0c3a48c28b
2016-10-12 23:01:11 +02:00
James McCoy 4408431086 Merge pull request #5411 from P4Cu/vim-7.4.1549
vim-patch:7.4.1549
2016-10-08 20:51:32 -04:00
Justin M. Keyes 1984072822 Merge #5428 'vim-patch: 0c1ff16, 939a1ab, 8067a64'. 2016-10-08 17:17:43 +02:00
Jurica Bradaric 50bd8297e6 vim-patch:7.4.1895
Problem:    Cannot use a window ID where a window number is expected.
Solution:   Add LOWEST_WIN_ID, so that the window ID can be used where a
            number is expected.

https://github.com/vim/vim/commit/888ccac8902cee186fbd47e971881f6d9b19c068
2016-10-07 17:07:16 +02:00
James McCoy b1edc8abb7 Merge pull request #5366 from NovaDev94/vim-7.4.1740
vim-patch:7.4.1740
2016-10-04 13:14:56 -04:00
Shougo Matsushita 31a29e41b0 vim-patch:8067a64
Add missing test file.

https://github.com/vim/vim/commit/8067a64852d6d134b493c5674e404225ed4bbe7d
2016-10-04 23:25:37 +09:00
Shougo Matsushita db324879d2 vim-patch:7.4.2205
Problem:    'wildignore' always applies to getcompletion().
Solution:   Add an option to use 'wildignore' or not. (Yegappan Lakshmanan)

https://github.com/vim/vim/commit/e9d58a6459687a1228b5aa85bd7b31f8f1e528a8
2016-10-01 20:07:27 +09:00
Shougo Matsushita de802fd4d2 vim-patch:7.4.2162
Problem:    Result of getcompletion('', 'sign') depends on previous
            completion.
Solution:   Call set_context_in_sign_cmd(). (Dominique Pelle)

https://github.com/vim/vim/commit/7522f6982197f83a5c0f6e9af07fb713934f824a
2016-10-01 19:54:35 +09:00
Shougo Matsushita aeebed8d61 vim-patch:7.4.2158
Problem:    Result of getcompletion('', 'cscope') depends on previous
            completion. (Christian Brabandt)
Solution:   Call set_context_in_cscope_cmd().

https://github.com/vim/vim/commit/b650b9878e9f0ac6bb1b61230095ad9ab3850a33
2016-10-01 19:54:28 +09:00
Andrzej Pacanowski 9959113746 vim-patch:7.4.1549
Problem:    Test for syntax attributes fails in Win32 GUI.
Solution:   Use an existing font name.

https://github.com/vim/vim/commit/c835293d54c223627c7d4516ee273c21a3506fa1
2016-09-30 15:27:18 +02:00