diff options
author | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
commit | a255618e22152ca2e5fd361a3d0762e9db20dd80 (patch) | |
tree | 5c98f76c0de0785b8d5b58ac622da34f0d024a8f /data/vim/patches/8.1.1297 | |
parent | 1b1fa61507a809a66f053a8523f883b2b6a2f487 (diff) |
Update vim to 8.1.1471
Diffstat (limited to 'data/vim/patches/8.1.1297')
-rw-r--r-- | data/vim/patches/8.1.1297 | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.1297 b/data/vim/patches/8.1.1297 new file mode 100644 index 000000000..98214a431 --- /dev/null +++ b/data/vim/patches/8.1.1297 @@ -0,0 +1,70 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.1297 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.1297 +Problem: Invalid argument test fails without GTK. +Solution: Test -display and --display separately. +Files: src/testdir/test_startup.vim + + +*** ../vim-8.1.1296/src/testdir/test_startup.vim 2019-05-08 16:40:57.753592725 +0200 +--- src/testdir/test_startup.vim 2019-05-08 17:56:39.782112531 +0200 +*************** +*** 422,428 **** + endfor + endif + +! if has('clipboard') + let out = split(system(GetVimCommand() .. ' --display'), "\n") + call assert_equal(1, v:shell_error) + call assert_match('^VIM - Vi IMproved .* (.*)$', out[0]) +--- 422,428 ---- + endfor + endif + +! if has('gui_gtk') + let out = split(system(GetVimCommand() .. ' --display'), "\n") + call assert_equal(1, v:shell_error) + call assert_match('^VIM - Vi IMproved .* (.*)$', out[0]) +*************** +*** 430,435 **** +--- 430,443 ---- + call assert_equal('More info with: "vim -h"', out[2]) + endif + ++ if has('clipboard') ++ let out = split(system(GetVimCommand() .. ' -display'), "\n") ++ call assert_equal(1, v:shell_error) ++ call assert_match('^VIM - Vi IMproved .* (.*)$', out[0]) ++ call assert_equal('Argument missing after: "-display"', out[1]) ++ call assert_equal('More info with: "vim -h"', out[2]) ++ endif ++ + let out = split(system(GetVimCommand() .. ' -ix'), "\n") + call assert_equal(1, v:shell_error) + call assert_match('^VIM - Vi IMproved .* (.*)$', out[0]) +*** ../vim-8.1.1296/src/version.c 2019-05-08 16:40:57.753592725 +0200 +--- src/version.c 2019-05-08 17:57:52.553686381 +0200 +*************** +*** 769,770 **** +--- 769,772 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 1297, + /**/ + +-- +<Beeth> Girls are like internet domain names, + the ones I like are already taken. +<honx> Well, you can stil get one from a strange country :-P + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |