packages: vim/vim.spec, vim/7.3.095 (NEW), vim/7.3.096 (NEW), vim/7.3.097 (...

glen glen at pld-linux.org
Mon Jan 10 15:46:51 CET 2011


Author: glen                         Date: Mon Jan 10 14:46:51 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 7.3.099

---- Files affected:
packages/vim:
   vim.spec (1.539 -> 1.540) , 7.3.095 (NONE -> 1.1)  (NEW), 7.3.096 (NONE -> 1.1)  (NEW), 7.3.097 (NONE -> 1.1)  (NEW), 7.3.098 (NONE -> 1.1)  (NEW), 7.3.099 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim/vim.spec
diff -u packages/vim/vim.spec:1.539 packages/vim/vim.spec:1.540
--- packages/vim/vim.spec:1.539	Mon Jan  3 14:52:21 2011
+++ packages/vim/vim.spec	Mon Jan 10 15:46:45 2011
@@ -28,7 +28,7 @@
 # curl -s ftp://ftp.vim.org/pub/editors/vim/patches/7.3/MD5SUMS | grep -vF .gz | tail -n1 | awk '{print $2}'
 
 %define		ver		7.3
-%define		patchlevel	094
+%define		patchlevel	099
 %define		rel			1
 Summary:	Vi IMproved - a Vi clone
 Summary(de.UTF-8):	VIsual editor iMproved
@@ -1378,6 +1378,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.540  2011/01/10 14:46:45  glen
+- up to 7.3.099
+
 Revision 1.539  2011/01/03 13:52:21  glen
 - autoup to 7.3.094
 

================================================================
Index: packages/vim/7.3.095
diff -u /dev/null packages/vim/7.3.095:1.1
--- /dev/null	Mon Jan 10 15:46:51 2011
+++ packages/vim/7.3.095	Mon Jan 10 15:46:45 2011
@@ -0,0 +1,70 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.095
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.095
+Problem:    Win32: In Chinese tear-off menu doesn't work. (Weasley)
+Solution:   Use menu_name_equal().  (Alex Jakushev)
+Files:	    src/menu.c
+
+
+*** ../vim-7.3.094/src/menu.c	2010-08-15 21:57:25.000000000 +0200
+--- src/menu.c	2011-01-04 17:41:38.000000000 +0100
+***************
+*** 1512,1519 ****
+  {
+  #ifdef FEAT_MULTI_LANG
+      if (menu->en_name != NULL
+! 	    && (menu_namecmp(name,menu->en_name)
+! 		|| menu_namecmp(name,menu->en_dname)))
+  	return TRUE;
+  #endif
+      return menu_namecmp(name, menu->name) || menu_namecmp(name, menu->dname);
+--- 1512,1519 ----
+  {
+  #ifdef FEAT_MULTI_LANG
+      if (menu->en_name != NULL
+! 	    && (menu_namecmp(name, menu->en_name)
+! 		|| menu_namecmp(name, menu->en_dname)))
+  	return TRUE;
+  #endif
+      return menu_namecmp(name, menu->name) || menu_namecmp(name, menu->dname);
+***************
+*** 2342,2348 ****
+  
+  	while (menu != NULL)
+  	{
+! 	    if (STRCMP(name, menu->name) == 0 || STRCMP(name, menu->dname) == 0)
+  	    {
+  		if (menu->children == NULL)
+  		{
+--- 2342,2348 ----
+  
+  	while (menu != NULL)
+  	{
+! 	    if (menu_name_equal(name, menu))
+  	    {
+  		if (menu->children == NULL)
+  		{
+*** ../vim-7.3.094/src/version.c	2010-12-30 14:57:03.000000000 +0100
+--- src/version.c	2011-01-04 17:43:41.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     95,
+  /**/
+
+-- 
+If your nose runs, and your feet smell, you might be upside down.
+
+ /// Bram Moolenaar -- Bram at 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    ///

================================================================
Index: packages/vim/7.3.096
diff -u /dev/null packages/vim/7.3.096:1.1
--- /dev/null	Mon Jan 10 15:46:51 2011
+++ packages/vim/7.3.096	Mon Jan 10 15:46:45 2011
@@ -0,0 +1,97 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.096
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.096
+Problem:    "gvim -nb" is not interruptable.  Leaking file descriptor on
+	    netbeans connection error.
+Solution:   Check for CTRL-C typed.  Free file descriptor.  (Xavier de Gaye)
+Files:	    src/netbeans.c
+
+
+*** ../vim-7.3.095/src/netbeans.c	2010-12-24 14:00:09.000000000 +0100
+--- src/netbeans.c	2011-01-04 18:00:35.000000000 +0100
+***************
+*** 321,326 ****
+--- 321,327 ----
+      {
+  	nbdebug(("error in gethostbyname() in netbeans_connect()\n"));
+  	PERROR("gethostbyname() in netbeans_connect()");
++ 	sock_close(sd);
+  	goto theend;
+      }
+      memcpy((char *)&server.sin_addr, host->h_addr, host->h_length);
+***************
+*** 370,384 ****
+  							 || (errno == EINTR)))
+  		{
+  		    nbdebug(("retrying...\n"));
+! 		    sleep(5);
+! 		    if (!doabort)
+  		    {
+! 			ui_breakcheck();
+! 			if (got_int)
+! 			{
+! 			    errno = EINTR;
+! 			    break;
+! 			}
+  		    }
+  		    if (connect(sd, (struct sockaddr *)&server,
+  							 sizeof(server)) == 0)
+--- 371,382 ----
+  							 || (errno == EINTR)))
+  		{
+  		    nbdebug(("retrying...\n"));
+! 		    mch_delay(3000L, TRUE);
+! 		    ui_breakcheck();
+! 		    if (got_int)
+  		    {
+! 			errno = EINTR;
+! 			break;
+  		    }
+  		    if (connect(sd, (struct sockaddr *)&server,
+  							 sizeof(server)) == 0)
+***************
+*** 393,398 ****
+--- 391,397 ----
+  		    /* Get here when the server can't be found. */
+  		    nbdebug(("Cannot connect to Netbeans #2\n"));
+  		    PERROR(_("Cannot connect to Netbeans #2"));
++ 		    sock_close(sd);
+  		    if (doabort)
+  			getout(1);
+  		    goto theend;
+***************
+*** 403,408 ****
+--- 402,408 ----
+  	{
+  	    nbdebug(("Cannot connect to Netbeans\n"));
+  	    PERROR(_("Cannot connect to Netbeans"));
++ 	    sock_close(sd);
+  	    if (doabort)
+  		getout(1);
+  	    goto theend;
+*** ../vim-7.3.095/src/version.c	2011-01-04 17:49:25.000000000 +0100
+--- src/version.c	2011-01-04 18:09:46.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     96,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+85. Choice between paying Compuserve bill and paying for kids education
+    is a no brainer -- although a bit painful for your kids.
+
+ /// Bram Moolenaar -- Bram at 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    ///

================================================================
Index: packages/vim/7.3.097
diff -u /dev/null packages/vim/7.3.097:1.1
--- /dev/null	Mon Jan 10 15:46:51 2011
+++ packages/vim/7.3.097	Mon Jan 10 15:46:45 2011
@@ -0,0 +1,54 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.097
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.097
+Problem:    Using ":call" inside "if 0" does not see that a function returns a
+	    Dict and gives error for "." as string concatenation.
+Solution:   Use eval0() to skip over the expression.  (Yasuhiro Matsumoto)
+Files:	    src/eval.c
+
+
+*** ../vim-7.3.096/src/eval.c	2010-12-17 18:06:00.000000000 +0100
+--- src/eval.c	2011-01-04 18:54:27.000000000 +0100
+***************
+*** 3335,3340 ****
+--- 3335,3349 ----
+      int		failed = FALSE;
+      funcdict_T	fudi;
+  
++     if (eap->skip)
++     {
++ 	/* trans_function_name() doesn't work well when skipping, use eval0()
++ 	 * instead to skip to any following command, e.g. for:
++ 	 *   :if 0 | call dict.foo().bar() | endif  */
++ 	eval0(eap->arg, &rettv, &eap->nextcmd, FALSE);
++ 	return;
++     }
++ 
+      tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi);
+      if (fudi.fd_newkey != NULL)
+      {
+*** ../vim-7.3.096/src/version.c	2011-01-04 18:11:39.000000000 +0100
+--- src/version.c	2011-01-04 19:00:21.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     97,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+86. E-mail Deficiency Depression (EDD) forces you to e-mail yourself.
+
+ /// Bram Moolenaar -- Bram at 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    ///

================================================================
Index: packages/vim/7.3.098
diff -u /dev/null packages/vim/7.3.098:1.1
--- /dev/null	Mon Jan 10 15:46:51 2011
+++ packages/vim/7.3.098	Mon Jan 10 15:46:45 2011
@@ -0,0 +1,61 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.098
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.098
+Problem:    Function that ignores error still causes called_emsg to be set.
+	    E.g. when expand() fails the status line is disabled.
+Solution:   Move check for emsg_not_now() up. (James Vega)
+Files:	    src/message.c
+
+
+*** ../vim-7.3.097/src/message.c	2010-10-20 21:22:17.000000000 +0200
+--- src/message.c	2011-01-04 19:19:04.000000000 +0100
+***************
+*** 569,574 ****
+--- 569,578 ----
+      int		severe;
+  #endif
+  
++     /* Skip this if not giving error messages at the moment. */
++     if (emsg_not_now())
++ 	return TRUE;
++ 
+      called_emsg = TRUE;
+      ex_exitval = 1;
+  
+***************
+*** 581,590 ****
+      emsg_severe = FALSE;
+  #endif
+  
+-     /* Skip this if not giving error messages at the moment. */
+-     if (emsg_not_now())
+- 	return TRUE;
+- 
+      if (!emsg_off || vim_strchr(p_debug, 't') != NULL)
+      {
+  #ifdef FEAT_EVAL
+--- 585,590 ----
+*** ../vim-7.3.097/src/version.c	2011-01-04 19:03:22.000000000 +0100
+--- src/version.c	2011-01-04 19:24:30.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     98,
+  /**/
+
+-- 
+Ed's Radiator Shop: The Best Place in Town to Take a Leak.
+
+ /// Bram Moolenaar -- Bram at 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    ///

================================================================
Index: packages/vim/7.3.099
diff -u /dev/null packages/vim/7.3.099:1.1
--- /dev/null	Mon Jan 10 15:46:51 2011
+++ packages/vim/7.3.099	Mon Jan 10 15:46:45 2011
@@ -0,0 +1,54 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.099
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.099
+Problem:    Crash when splitting a window with zero height. (Yukihiro
+	    Nakadaira)
+Solution:   Don't set the fraction in a window with zero height.
+Files:	    src/window.c
+
+
+*** ../vim-7.3.098/src/window.c	2010-12-17 17:35:05.000000000 +0100
+--- src/window.c	2011-01-08 14:41:32.000000000 +0100
+***************
+*** 986,992 ****
+  
+      /* Set w_fraction now so that the cursor keeps the same relative
+       * vertical position. */
+!     set_fraction(oldwin);
+      wp->w_fraction = oldwin->w_fraction;
+  
+  #ifdef FEAT_VERTSPLIT
+--- 986,993 ----
+  
+      /* Set w_fraction now so that the cursor keeps the same relative
+       * vertical position. */
+!     if (oldwin->w_height > 0)
+! 	set_fraction(oldwin);
+      wp->w_fraction = oldwin->w_fraction;
+  
+  #ifdef FEAT_VERTSPLIT
+*** ../vim-7.3.098/src/version.c	2011-01-04 19:25:46.000000000 +0100
+--- src/version.c	2011-01-08 14:44:02.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     99,
+  /**/
+
+-- 
+From "know your smileys":
+ 8-O 	"Omigod!!" (done "rm -rf *" ?)
+
+ /// Bram Moolenaar -- Bram at 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    ///
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim.spec?r1=1.539&r2=1.540&f=u



More information about the pld-cvs-commit mailing list