SOURCES: 7.1.312 (NEW), 7.1.313 (NEW), 7.1.314 (NEW), 7.1.315 (NEW), 7.1.31...

adamg adamg at pld-linux.org
Fri Jun 20 19:22:25 CEST 2008


Author: adamg                        Date: Fri Jun 20 17:22:25 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.1.312 (NONE -> 1.1)  (NEW), 7.1.313 (NONE -> 1.1)  (NEW), 7.1.314 (NONE -> 1.1)  (NEW), 7.1.315 (NONE -> 1.1)  (NEW), 7.1.316 (NONE -> 1.1)  (NEW), 7.1.317 (NONE -> 1.1)  (NEW), 7.1.318 (NONE -> 1.1)  (NEW), 7.1.319 (NONE -> 1.1)  (NEW), 7.1.320 (NONE -> 1.1)  (NEW), 7.1.321 (NONE -> 1.1)  (NEW), 7.1.322 (NONE -> 1.1)  (NEW), 7.1.323 (NONE -> 1.1)  (NEW), 7.1.324 (NONE -> 1.1)  (NEW), 7.1.325 (NONE -> 1.1)  (NEW), 7.1.326 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.1.312
diff -u /dev/null SOURCES/7.1.312:1.1
--- /dev/null	Fri Jun 20 19:22:26 2008
+++ SOURCES/7.1.312	Fri Jun 20 19:22:15 2008
@@ -0,0 +1,77 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.312
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.1.312
+Problem:    The .po files have mistakes in error numbers.
+Solution:   Search for these mistakes in the check script. (Dominique Pelle)
+Files:	    src/po/check.vim
+
+
+*** ../vim-7.1.311/src/po/check.vim	Wed Nov 23 22:10:37 2005
+--- src/po/check.vim	Sun May 25 13:47:59 2008
+***************
+*** 1,7 ****
+  " Vim script for checking .po files.
+  "
+! " Go through the file and verify that all %...s items in "msgid" are identical
+! " to the ones in "msgstr".
+  
+  if 1	" Only execute this if the eval feature is available.
+  
+--- 1,8 ----
+  " Vim script for checking .po files.
+  "
+! " Go through the file and verify that:
+! " - All %...s items in "msgid" are identical to the ones in "msgstr".
+! " - An error or warning code in "msgid" matches the one in "msgstr".
+  
+  if 1	" Only execute this if the eval feature is available.
+  
+***************
+*** 56,61 ****
+--- 57,76 ----
+    endif
+  endwhile
+  
++ " Check that error code in msgid matches the one in msgstr.
++ "
++ " Examples of mismatches found with msgid "E123: ..."
++ " - msgstr "E321: ..."    error code mismatch
++ " - msgstr "W123: ..."    warning instead of error
++ " - msgstr "E123 ..."     missing colon
++ " - msgstr "..."          missing error code
++ "
++ 1
++ if search('msgid "\("\n"\)\?\([EW][0-9]\+:\).*\nmsgstr "\("\n"\)\?[^"]\@=\2\@!') > 0
++   echo 'Mismatching error/warning code in line ' . line('.')
++   let error = 1
++ endif
++ 
+  if error == 0
+    echo "OK"
+  endif
+*** ../vim-7.1.311/src/version.c	Wed Jun  4 21:34:51 2008
+--- src/version.c	Mon Jun  9 14:43:59 2008
+***************
+*** 668,669 ****
+--- 673,676 ----
+  {   /* Add new patch number below this line */
++ /**/
++     312,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+24. You realize there is not a sound in the house and you have no idea where
+    your children are.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.1.313
diff -u /dev/null SOURCES/7.1.313:1.1
--- /dev/null	Fri Jun 20 19:22:27 2008
+++ SOURCES/7.1.313	Fri Jun 20 19:22:16 2008
@@ -0,0 +1,116 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.313
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.1.313
+Problem:    When the netbeans interface setModified call is used the status
+	    lines and window title are not updated.
+Solution:   Redraw the status lines and title. (Philippe Fremy)
+Files:	    src/netbeans.c
+
+
+*** ../vim-7.1.312/src/netbeans.c	Sun Mar 16 16:02:47 2008
+--- src/netbeans.c	Wed May 28 15:12:13 2008
+***************
+*** 16,21 ****
+--- 16,25 ----
+   * See ":help netbeans-protocol" for explanation.
+   */
+  
++ #if defined(MSDOS) || defined(MSWIN)
++ # include "vimio.h"	/* for mch_open(), must be before vim.h */
++ #endif
++ 
+  #include "vim.h"
+  
+  #if defined(FEAT_NETBEANS_INTG) || defined(PROTO)
+***************
+*** 1974,1986 ****
+  	}
+  	else if (streq((char *)cmd, "setModified"))
+  	{
+  	    if (buf == NULL || buf->bufp == NULL)
+  	    {
+  /*		EMSG("E646: null bufp in setModified"); */
+  		return FAIL;
+  	    }
+  	    if (streq((char *)args, "T"))
+! 		buf->bufp->b_changed = 1;
+  	    else
+  	    {
+  		struct stat	st;
+--- 1978,1993 ----
+  	}
+  	else if (streq((char *)cmd, "setModified"))
+  	{
++ 	    int prev_b_changed;
++ 
+  	    if (buf == NULL || buf->bufp == NULL)
+  	    {
+  /*		EMSG("E646: null bufp in setModified"); */
+  		return FAIL;
+  	    }
++ 	    prev_b_changed = buf->bufp->b_changed;
+  	    if (streq((char *)args, "T"))
+! 		buf->bufp->b_changed = TRUE;
+  	    else
+  	    {
+  		struct stat	st;
+***************
+*** 1990,1998 ****
+  		if (buf->bufp->b_ffname != NULL
+  			&& mch_stat((char *)buf->bufp->b_ffname, &st) >= 0)
+  		    buf_store_time(buf->bufp, &st, buf->bufp->b_ffname);
+! 		buf->bufp->b_changed = 0;
+  	    }
+  	    buf->modified = buf->bufp->b_changed;
+  /* =====================================================================*/
+  	}
+  	else if (streq((char *)cmd, "setModtime"))
+--- 1997,2016 ----
+  		if (buf->bufp->b_ffname != NULL
+  			&& mch_stat((char *)buf->bufp->b_ffname, &st) >= 0)
+  		    buf_store_time(buf->bufp, &st, buf->bufp->b_ffname);
+! 		buf->bufp->b_changed = FALSE;
+  	    }
+  	    buf->modified = buf->bufp->b_changed;
++ 	    if (prev_b_changed != buf->bufp->b_changed)
++ 	    {
++ #ifdef FEAT_WINDOWS
++ 		check_status(buf->bufp);
++ 		redraw_tabline = TRUE;
++ #endif
++ #ifdef FEAT_TITLE
++ 		maketitle();
++ #endif
++ 		update_screen(0);
++ 	    }
+  /* =====================================================================*/
+  	}
+  	else if (streq((char *)cmd, "setModtime"))
+*** ../vim-7.1.312/src/version.c	Mon Jun  9 14:45:17 2008
+--- src/version.c	Mon Jun  9 15:08:40 2008
+***************
+*** 668,669 ****
+--- 673,676 ----
+  {   /* Add new patch number below this line */
++ /**/
++     313,
+  /**/
+
+-- 
+Q: What is the difference betwee open-source and commercial software?
+A: If you have a problem with commercial software you can call a phone
+   number and they will tell you it might be solved in a future version.
+   For open-source software there isn't a phone number to call, but you
+   get the solution within a day.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.1.314
diff -u /dev/null SOURCES/7.1.314:1.1
--- /dev/null	Fri Jun 20 19:22:27 2008
+++ SOURCES/7.1.314	Fri Jun 20 19:22:16 2008
@@ -0,0 +1,71 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.314
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.1.314
+Problem:    The value of 'pastetoggle' is written to the session file without
+	    any escaping. (Randall Hansen)
+Solution:   Use put_escstr(). (Ben Schmidt)
+Files:	    src/option.c
+
+
+*** ../vim-7.1.313/src/option.c	Wed Mar 12 17:37:53 2008
+--- src/option.c	Wed Jun  4 19:32:02 2008
+***************
+*** 243,249 ****
+  /* WV_ and BV_ values get typecasted to this for the "indir" field */
+  typedef enum
+  {
+!     PV_NONE = 0
+  } idopt_T;
+  
+  /*
+--- 243,250 ----
+  /* WV_ and BV_ values get typecasted to this for the "indir" field */
+  typedef enum
+  {
+!     PV_NONE = 0,
+!     PV_MAXVAL = 0xffff    /* to avoid warnings for value out of range */
+  } idopt_T;
+  
+  /*
+***************
+*** 8713,8719 ****
+  	{
+  	    s = *valuep;
+  	    while (*s != NUL)
+! 		if (fputs((char *)str2special(&s, FALSE), fd) < 0)
+  		    return FAIL;
+  	}
+  	else if (expand)
+--- 8714,8720 ----
+  	{
+  	    s = *valuep;
+  	    while (*s != NUL)
+! 		if (put_escstr(fd, str2special(&s, FALSE), 2) == FAIL)
+  		    return FAIL;
+  	}
+  	else if (expand)
+*** ../vim-7.1.313/src/version.c	Mon Jun  9 15:10:07 2008
+--- src/version.c	Mon Jun  9 17:05:40 2008
+***************
+*** 668,669 ****
+--- 673,676 ----
+  {   /* Add new patch number below this line */
++ /**/
++     314,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+26. You check your mail. It says "no new messages." So you check it again.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.1.315
diff -u /dev/null SOURCES/7.1.315:1.1
--- /dev/null	Fri Jun 20 19:22:27 2008
+++ SOURCES/7.1.315	Fri Jun 20 19:22:16 2008
@@ -0,0 +1,132 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.315
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.1.315
+Problem:    Crash with specific search pattern using look-behind match.
+	    (Andreas Politz)
+Solution:   Also save the value of "need_clear_subexpr".
+Files:	    src/regexp.c
+
+
+*** ../vim-7.1.314/src/regexp.c	Wed Apr  9 12:14:44 2008
+--- src/regexp.c	Sun Jun 15 14:16:40 2008
+***************
+*** 3044,3049 ****
+--- 3044,3050 ----
+  {
+      regsave_T	save_after;
+      regsave_T	save_behind;
++     int		save_need_clear_subexpr;
+      save_se_T   save_start[NSUBEXP];
+      save_se_T   save_end[NSUBEXP];
+  } regbehind_T;
+***************
+*** 5858,5874 ****
+  {
+      int i;
+  
+!     for (i = 0; i < NSUBEXP; ++i)
+      {
+! 	if (REG_MULTI)
+! 	{
+! 	    bp->save_start[i].se_u.pos = reg_startpos[i];
+! 	    bp->save_end[i].se_u.pos = reg_endpos[i];
+! 	}
+! 	else
+  	{
+! 	    bp->save_start[i].se_u.ptr = reg_startp[i];
+! 	    bp->save_end[i].se_u.ptr = reg_endp[i];
+  	}
+      }
+  }
+--- 5859,5881 ----
+  {
+      int i;
+  
+!     /* When "need_clear_subexpr" is set we don't need to save the values, only
+!      * remember that this flag needs to be set again when restoring. */
+!     bp->save_need_clear_subexpr = need_clear_subexpr;
+!     if (!need_clear_subexpr)
+      {
+! 	for (i = 0; i < NSUBEXP; ++i)
+  	{
+! 	    if (REG_MULTI)
+! 	    {
+! 		bp->save_start[i].se_u.pos = reg_startpos[i];
+! 		bp->save_end[i].se_u.pos = reg_endpos[i];
+! 	    }
+! 	    else
+! 	    {
+! 		bp->save_start[i].se_u.ptr = reg_startp[i];
+! 		bp->save_end[i].se_u.ptr = reg_endp[i];
+! 	    }
+  	}
+      }
+  }
+***************
+*** 5882,5898 ****
+  {
+      int i;
+  
+!     for (i = 0; i < NSUBEXP; ++i)
+      {
+! 	if (REG_MULTI)
+! 	{
+! 	    reg_startpos[i] = bp->save_start[i].se_u.pos;
+! 	    reg_endpos[i] = bp->save_end[i].se_u.pos;
+! 	}
+! 	else
+  	{
+! 	    reg_startp[i] = bp->save_start[i].se_u.ptr;
+! 	    reg_endp[i] = bp->save_end[i].se_u.ptr;
+  	}
+      }
+  }
+--- 5889,5910 ----
+  {
+      int i;
+  
+!     /* Only need to restore saved values when they are not to be cleared. */
+!     need_clear_subexpr = bp->save_need_clear_subexpr;
+!     if (!need_clear_subexpr)
+      {
+! 	for (i = 0; i < NSUBEXP; ++i)
+  	{
+! 	    if (REG_MULTI)
+! 	    {
+! 		reg_startpos[i] = bp->save_start[i].se_u.pos;
+! 		reg_endpos[i] = bp->save_end[i].se_u.pos;
+! 	    }
+! 	    else
+! 	    {
+! 		reg_startp[i] = bp->save_start[i].se_u.ptr;
+! 		reg_endp[i] = bp->save_end[i].se_u.ptr;
+! 	    }
+  	}
+      }
+  }
+*** ../vim-7.1.314/src/version.c	Mon Jun  9 17:07:13 2008
+--- src/version.c	Sun Jun 15 14:12:54 2008
+***************
+*** 668,669 ****
+--- 673,676 ----
+  {   /* Add new patch number below this line */
++ /**/
++     315,
+  /**/
+
+-- 
+Tips for aliens in New York: Land anywhere.  Central Park, anywhere.
+No one will care or indeed even notice.
+		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.1.316
diff -u /dev/null SOURCES/7.1.316:1.1
--- /dev/null	Fri Jun 20 19:22:28 2008
+++ SOURCES/7.1.316	Fri Jun 20 19:22:17 2008
@@ -0,0 +1,52 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.316
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.1.316
+Problem:    When 'cscopetag' is set ":tag" gives an error message instead of
+	    going to the next tag in the tag stack.
+Solution:   Don't call do_cstag() when there is no argument. (Mark Goldman)
+Files:	    src/ex_docmd.c
+
+
+*** ../vim-7.1.315/src/ex_docmd.c	Sun Mar 16 16:02:47 2008
+--- src/ex_docmd.c	Fri Jun 20 10:42:30 2008
+***************
+*** 9300,9306 ****
+  		  break;
+  	default:			/* ":tag" */
+  #ifdef FEAT_CSCOPE
+! 		  if (p_cst)
+  		  {
+  		      do_cstag(eap);
+  		      return;
+--- 9302,9308 ----
+  		  break;
+  	default:			/* ":tag" */
+  #ifdef FEAT_CSCOPE
+! 		  if (p_cst && *eap->arg != NUL)
+  		  {
+  		      do_cstag(eap);
+  		      return;
+*** ../vim-7.1.315/src/version.c	Sun Jun 15 14:20:28 2008
+--- src/version.c	Fri Jun 20 11:09:35 2008
+***************
+*** 668,669 ****
+--- 673,676 ----
+  {   /* Add new patch number below this line */
++ /**/
++     316,
+  /**/
+
+-- 
+Microsoft is to software what McDonalds is to gourmet cooking
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.1.317
diff -u /dev/null SOURCES/7.1.317:1.1
--- /dev/null	Fri Jun 20 19:22:29 2008
+++ SOURCES/7.1.317	Fri Jun 20 19:22:17 2008
@@ -0,0 +1,185 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.317
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.1.317
+Problem:    Compiler warnings in Motif calls.
+Solution:   Change zero to NULL. (Dominique Pelle)
+Files:	    src/gui_motif.c
+
+
+*** ../vim-7.1.316/src/gui_motif.c	Tue Jan 22 11:06:06 2008
+--- src/gui_motif.c	Sat Jun  7 15:06:33 2008
+***************
+*** 686,693 ****
+  
+      /* Temporarily set value of XmNmappedWhenManaged
+         to stop the dialog from popping up right away */
+!     XtVaGetValues(shell, XmNmappedWhenManaged, &mappedWhenManaged, 0);
+!     XtVaSetValues(shell, XmNmappedWhenManaged, False, 0);
+  
+      XtManageChild(dialog_child);
+  
+--- 686,693 ----
+  
+      /* Temporarily set value of XmNmappedWhenManaged
+         to stop the dialog from popping up right away */
+!     XtVaGetValues(shell, XmNmappedWhenManaged, &mappedWhenManaged, NULL);
+!     XtVaSetValues(shell, XmNmappedWhenManaged, False, NULL);
+  
+      XtManageChild(dialog_child);
+  
+***************
+*** 723,729 ****
+      XtMapWidget(shell);
+  
+      /* Restore the value of XmNmappedWhenManaged */
+!     XtVaSetValues(shell, XmNmappedWhenManaged, mappedWhenManaged, 0);
+  }
+  
+  #if defined(FEAT_MENU) || defined(FEAT_SUN_WORKSHOP) \
+--- 723,729 ----
+      XtMapWidget(shell);
+  
+      /* Restore the value of XmNmappedWhenManaged */
+!     XtVaSetValues(shell, XmNmappedWhenManaged, mappedWhenManaged, NULL);
+  }
+  
+  #if defined(FEAT_MENU) || defined(FEAT_SUN_WORKSHOP) \
+***************
+*** 1993,1999 ****
+      {
+  	if (XtClass(w) == xmRowColumnWidgetClass)
+  	{
+! 	    XtVaGetValues(w, XmNrowColumnType, &rowColType, 0);
+  	    isMenu = (rowColType != (unsigned char)XmWORK_AREA);
+  	}
+  	else
+--- 1993,1999 ----
+      {
+  	if (XtClass(w) == xmRowColumnWidgetClass)
+  	{
+! 	    XtVaGetValues(w, XmNrowColumnType, &rowColType, NULL);
+  	    isMenu = (rowColType != (unsigned char)XmWORK_AREA);
+  	}
+  	else
+***************
+*** 2001,2014 ****
+  	if (!isMenu)
+  	{
+  	    XtVaGetValues(w, XmNchildren, &children, XmNnumChildren,
+! 			  &numChildren, 0);
+  	    for (i = 0; i < numChildren; i++)
+  		do_mnemonic(children[i], keycode);
+  	}
+      }
+      else
+      {
+! 	XtVaGetValues(w, XmNmnemonic, &mnemonic, 0);
+  	if (mnemonic != '\0')
+  	{
+  	    mneString[0] = mnemonic;
+--- 2001,2014 ----
+  	if (!isMenu)
+  	{
+  	    XtVaGetValues(w, XmNchildren, &children, XmNnumChildren,
+! 			  &numChildren, NULL);
+  	    for (i = 0; i < numChildren; i++)
+  		do_mnemonic(children[i], keycode);
+  	}
+      }
+      else
+      {
+! 	XtVaGetValues(w, XmNmnemonic, &mnemonic, NULL);
+  	if (mnemonic != '\0')
+  	{
+  	    mneString[0] = mnemonic;
+***************
+*** 2019,2025 ****
+  		if (XtClass(w) == xmLabelWidgetClass
+  			|| XtClass(w) == xmLabelGadgetClass)
+  		{
+! 		    XtVaGetValues(w, XmNuserData, &userData, 0);
+  		    if (userData != NULL && XtIsWidget(userData))
+  			XmProcessTraversal(userData, XmTRAVERSE_CURRENT);
+  		}
+--- 2019,2025 ----
+  		if (XtClass(w) == xmLabelWidgetClass
+  			|| XtClass(w) == xmLabelGadgetClass)
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list