To: vim_dev@googlegroups.com Subject: Patch 8.2.3742 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3742 Problem: Dec mouse test fails without gnome terminfo entry. Solution: Check if there is a gnome entry. Also fix 'acd' test on MS-Windows. (Dominique Pellé, closes #9282) Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim *** ../vim-8.2.3741/src/testdir/test_termcodes.vim 2021-12-03 13:20:25.895976919 +0000 --- src/testdir/test_termcodes.vim 2021-12-05 12:32:04.311293852 +0000 *************** *** 2041,2046 **** --- 2041,2050 ---- " Check that when DEC mouse codes are recognized a special key is handled. func Test_ignore_dec_mouse() + silent !infocmp gnome >/dev/null 2>&1 + if v:shell_error != 0 + throw 'Skipped: gnome entry missing in the terminfo db' + endif new let save_mouse = &mouse *** ../vim-8.2.3741/src/testdir/test_autochdir.vim 2021-12-04 22:03:30.716421330 +0000 --- src/testdir/test_autochdir.vim 2021-12-05 12:38:15.670889139 +0000 *************** *** 43,54 **** finally set noacd call chdir(cwd) - call delete('Xa', 'rf') - call delete('Xb', 'rf') - call delete('Xc', 'rf') bwipe! aaa.txt bwipe! bbb.txt bwipe! ccc.txt endtry endfunc --- 43,54 ---- finally set noacd call chdir(cwd) bwipe! aaa.txt bwipe! bbb.txt bwipe! ccc.txt + call delete('Xa', 'rf') + call delete('Xb', 'rf') + call delete('Xc', 'rf') endtry endfunc *** ../vim-8.2.3741/src/version.c 2021-12-05 12:06:18.891815822 +0000 --- src/version.c 2021-12-05 12:37:53.250915641 +0000 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 3742, /**/ -- Engineers are always delighted to share wisdom, even in areas in which they have no experience whatsoever. Their logic provides them with inherent insight into any field of expertise. This can be a problem when dealing with the illogical people who believe that knowledge can only be derived through experience. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///