changeset 9719:219dbe63ad2a v7.4.2135

commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 31 14:17:27 2016 +0200 patch 7.4.2135 Problem: Various tiny issues. Solution: Update comments, white space, etc.
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jul 2016 14:30:05 +0200
parents 58d37c738a69
children 8c110d08b87f
files runtime/menu.vim src/INSTALLpc.txt src/diff.c src/digraph.c src/testdir/Makefile src/testdir/test80.in src/testdir/test_channel.vim src/version.c src/xpm/README.txt
diffstat 9 files changed, 20 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- 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 <Bram@vim.org>
-" 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.
--- 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.
 
--- 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);
 }
 
 /*
--- a/src/digraph.c
+++ b/src/digraph.c
@@ -2460,4 +2460,3 @@ keymap_unload(void)
 }
 
 #endif /* FEAT_KEYMAP */
-
--- 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 \
--- 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
--- 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
 
--- 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,
--- 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