# HG changeset patch # User Christian Brabandt # Date 1469968205 -7200 # Node ID 219dbe63ad2ac8ad420d068b6886fe7680fc96ef # Parent 58d37c738a695940cb625c9a1ce8dd1688ae650a commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9 Author: Bram Moolenaar Date: Sun Jul 31 14:17:27 2016 +0200 patch 7.4.2135 Problem: Various tiny issues. Solution: Update comments, white space, etc. diff --git a/runtime/menu.vim b/runtime/menu.vim --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar -" Last Change: 2014 May 22 +" Last Change: 2016 Jul 27 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. diff --git a/src/INSTALLpc.txt b/src/INSTALLpc.txt --- a/src/INSTALLpc.txt +++ b/src/INSTALLpc.txt @@ -49,7 +49,7 @@ Building with Visual Studio (VS 98, VS . VS2010, VS2012, VS2013 and VS2015) is straightforward. (These instructions should also work for VS 4 and VS 5.) -Using VS C++ 2008 Express is recommended, the binaries build with that run on +Using VS C++ 2008 Express is recommended, the binaries built with that run on nearly all platforms. Binaries from later versions may not run on Windows 95 or XP. diff --git a/src/diff.c b/src/diff.c --- a/src/diff.c +++ b/src/diff.c @@ -135,7 +135,7 @@ diff_buf_add(buf_T *buf) return; } - EMSGN(_("E96: Can not diff more than %ld buffers"), DB_COUNT); + EMSGN(_("E96: Cannot diff more than %ld buffers"), DB_COUNT); } /* diff --git a/src/digraph.c b/src/digraph.c --- a/src/digraph.c +++ b/src/digraph.c @@ -2460,4 +2460,3 @@ keymap_unload(void) } #endif /* FEAT_KEYMAP */ - diff --git a/src/testdir/Makefile b/src/testdir/Makefile --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -80,14 +80,14 @@ test1.out: test1.in @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1" -$(RUN_VIM) $*.in - # For flaky tests retry one time. - @/bin/sh -c "if test -f test.out -a $* = test61; then \ - if diff test.out $*.ok; \ - then echo flaky test ok first time; \ - else rm -rf $*.failed $(RM_ON_RUN); \ - $(RUN_VIM) $*.in; \ - fi \ - fi" + # For flaky tests retry one time. No tests at the moment. + #@/bin/sh -c "if test -f test.out -a $* = test61; then \ + # if diff test.out $*.ok; \ + # then echo flaky test ok first time; \ + # else rm -rf $*.failed $(RM_ON_RUN); \ + # $(RUN_VIM) $*.in; \ + # fi \ + # fi" # Check if the test.out file matches test.ok. @/bin/sh -c "if test -f test.out; then \ diff --git a/src/testdir/test80.in b/src/testdir/test80.in --- a/src/testdir/test80.in +++ b/src/testdir/test80.in @@ -1,5 +1,5 @@ -Test for *sub-replace-special* and *sub-replace-expression* on substitue(). -Test for submatch() on substitue(). +Test for *sub-replace-special* and *sub-replace-expression* on substitute(). +Test for submatch() on substitute(). Test for *:s%* on :substitute. STARTTEST diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -1320,7 +1320,7 @@ func Test_collapse_buffers() 1,$delete call job_start('cat test_channel.vim', {'out_io': 'buffer', 'out_name': 'testout'}) call WaitFor('line("$") > g:linecount') - call assert_true(line('$') > g:linecount) + call assert_inrange(g:linecount + 1, g:linecount + 2, line('$')) bwipe! endfunc diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2135, +/**/ 2134, /**/ 2133, diff --git a/src/xpm/README.txt b/src/xpm/README.txt --- a/src/xpm/README.txt +++ b/src/xpm/README.txt @@ -4,6 +4,10 @@ This is XPM library compiled for Windows Libraries in x86 directory were compiled with MSVC6 and MinGW. Proposed commands to compile Vim are: +If you want to build XPM library by yourself, you may want to use the +following Win32 port: +https://github.com/koron/libXpm-win32 + Any version of MSVC starting from version 6.0: nmake -f Make_mvc.mak GUI=yes CSCOPE=yes NETBEANS=yes XPM=e:\hg\xpm\x86