SOURCES: 7.0.082 (NEW), 7.0.083 (NEW), 7.0.084 (NEW), 7.0.085 (NEW...

adamg adamg at pld-linux.org
Fri Nov 3 22:20:14 CET 2006


Author: adamg                        Date: Fri Nov  3 21:20:14 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.0.082 (NONE -> 1.1)  (NEW), 7.0.083 (NONE -> 1.1)  (NEW), 7.0.084 (NONE -> 1.1)  (NEW), 7.0.085 (NONE -> 1.1)  (NEW), 7.0.086 (NONE -> 1.1)  (NEW), 7.0.087 (NONE -> 1.1)  (NEW), 7.0.088 (NONE -> 1.1)  (NEW), 7.0.089 (NONE -> 1.1)  (NEW), 7.0.090 (NONE -> 1.1)  (NEW), 7.0.091 (NONE -> 1.1)  (NEW), 7.0.092 (NONE -> 1.1)  (NEW), 7.0.093 (NONE -> 1.1)  (NEW), 7.0.094 (NONE -> 1.1)  (NEW), 7.0.095 (NONE -> 1.1)  (NEW), 7.0.096 (NONE -> 1.1)  (NEW), 7.0.097 (NONE -> 1.1)  (NEW), 7.0.098 (NONE -> 1.1)  (NEW), 7.0.099 (NONE -> 1.1)  (NEW), 7.0.100 (NONE -> 1.1)  (NEW), 7.0.101 (NONE -> 1.1)  (NEW), 7.0.102 (NONE -> 1.1)  (NEW), 7.0.103 (NONE -> 1.1)  (NEW), 7.0.104 (NONE -> 1.1)  (NEW), 7.0.105 (NONE -> 1.1)  (NEW), 7.0.106 (NONE -> 1.1)  (NEW), 7.0.107 (NONE -> 1.1)  (NEW), 7.0.109 (NONE -> 1.1)  (NEW), 7.0.110 (NONE -> 1.1)  (NEW), 7.0.111 (NONE -> 1.1)  (NEW), 7.0.112 (NONE -> 1.1)  (NEW), 7.0.113 (NONE -> 1.1)  (NEW), 7.0.114 (NONE -> 1.1)  (NEW), 7.0.115 (NONE -> 1.1)  (NEW
 ), 7.0.116 (NONE -> 1.1)  (NEW), 7.0.117 (NONE -> 1.1)  (NEW), 7.0.118 (NONE -> 1.1)  (NEW), 7.0.119 (NONE -> 1.1)  (NEW), 7.0.120 (NONE -> 1.1)  (NEW), 7.0.121 (NONE -> 1.1)  (NEW), 7.0.122 (NONE -> 1.1)  (NEW), 7.0.123 (NONE -> 1.1)  (NEW), 7.0.124 (NONE -> 1.1)  (NEW), 7.0.125 (NONE -> 1.1)  (NEW), 7.0.126 (NONE -> 1.1)  (NEW), 7.0.127 (NONE -> 1.1)  (NEW), 7.0.128 (NONE -> 1.1)  (NEW), 7.0.129 (NONE -> 1.1)  (NEW), 7.0.131 (NONE -> 1.1)  (NEW), 7.0.133 (NONE -> 1.1)  (NEW), 7.0.134 (NONE -> 1.1)  (NEW), 7.0.135 (NONE -> 1.1)  (NEW), 7.0.136 (NONE -> 1.1)  (NEW), 7.0.137 (NONE -> 1.1)  (NEW), 7.0.139 (NONE -> 1.1)  (NEW), 7.0.140 (NONE -> 1.1)  (NEW), 7.0.141 (NONE -> 1.1)  (NEW), 7.0.142 (NONE -> 1.1)  (NEW), 7.0.143 (NONE -> 1.1)  (NEW), 7.0.144 (NONE -> 1.1)  (NEW), 7.0.145 (NONE -> 1.1)  (NEW), 7.0.146 (NONE -> 1.1)  (NEW), 7.0.147 (NONE -> 1.1)  (NEW), 7.0.148 (NONE -> 1.1)  (NEW), 7.0.149 (NONE -> 1.1)  (NEW), 7.0.150 (NONE -> 1.1)  (NEW), 7.0.151 (NONE -> 1.1)  (NE
 W), 7.0.152 (NONE -> 1.1)  (NEW), 7.0.153 (NONE -> 1.1)  (NEW), 7.0.154 (NONE -> 1.1)  (NEW), 7.0.155 (NONE -> 1.1)  (NEW), 7.0.157 (NONE -> 1.1)  (NEW), 7.0.158 (NONE -> 1.1)  (NEW), vim-autopaste.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.0.082
diff -u /dev/null SOURCES/7.0.082:1.1
--- /dev/null	Fri Nov  3 22:20:14 2006
+++ SOURCES/7.0.082	Fri Nov  3 22:20:09 2006
@@ -0,0 +1,103 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.082
+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.0.082
+Problem:    Calling a function that waits for input may cause List and
+	    Dictionary arguments to be freed by the garbage collector.
+Solution:   Keep a list of all arguments to internal functions.
+Files:	    src/eval.c
+
+
+*** ../vim-7.0.081/src/eval.c	Sat Sep  2 13:45:01 2006
+--- src/eval.c	Sun Sep  3 15:36:10 2006
+***************
+*** 248,253 ****
+--- 248,264 ----
+  };
+  
+  /*
++  * Struct used to make a list of all arguments used in internal functions.
++  */
++ typedef struct av_list_item_S av_list_item_T;
++ struct av_list_item_S {
++     av_list_item_T  *avl_next;
++     typval_T	    *avl_argvars;
++ };
++ 
++ av_list_item_T *argvars_list = NULL;
++ 
++ /*
+   * Info used by a ":for" loop.
+   */
+  typedef struct
+***************
+*** 6058,6063 ****
+--- 6069,6075 ----
+      int		i;
+      funccall_T	*fc;
+      int		did_free = FALSE;
++     av_list_item_T *av;
+  #ifdef FEAT_WINDOWS
+      tabpage_T	*tp;
+  #endif
+***************
+*** 6094,6099 ****
+--- 6106,6116 ----
+  	set_ref_in_ht(&fc->l_avars.dv_hashtab, copyID);
+      }
+  
++     /* arguments for internal functions */
++     for (av = argvars_list; av != NULL; av = av->avl_next)
++ 	for (i = 0; av->avl_argvars[i].v_type != VAR_UNKNOWN; ++i)
++ 	    set_ref_in_item(&av->avl_argvars[i], copyID);
++ 
+      /*
+       * 2. Go through the list of dicts and free items without the copyID.
+       */
+***************
+*** 7537,7545 ****
+--- 7554,7574 ----
+  		    error = ERROR_TOOMANY;
+  		else
+  		{
++ 		    av_list_item_T  av_list_item;
++ 
++ 		    /* Add the arguments to the "argvars_list" to avoid the
++ 		     * garbage collector not seeing them.  This isn't needed
++ 		     * for user functions, because the arguments are available
++ 		     * in the a: hashtab. */
++ 		    av_list_item.avl_argvars = argvars;
++ 		    av_list_item.avl_next = argvars_list;
++ 		    argvars_list = &av_list_item;
++ 
+  		    argvars[argcount].v_type = VAR_UNKNOWN;
+  		    functions[i].f_func(argvars, rettv);
+  		    error = ERROR_NONE;
++ 
++ 		    argvars_list = av_list_item.avl_next;
+  		}
+  	    }
+  	}
+*** ../vim-7.0.081/src/version.c	Sat Sep  2 17:58:36 2006
+--- src/version.c	Sun Sep  3 15:35:16 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     82,
+  /**/
+
+-- 
+Just think of all the things we haven't thought of yet.
+
+ /// 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.0.083
diff -u /dev/null SOURCES/7.0.083:1.1
--- /dev/null	Fri Nov  3 22:20:14 2006
+++ SOURCES/7.0.083	Fri Nov  3 22:20:09 2006
@@ -0,0 +1,91 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.083
+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.0.083
+Problem:    Clicking with the mouse on an item for inputlist() doesn't work
+	    when 'compatible' is set and/or when 'cmdheight' is more than one.
+	    (Christian J.  Robinson)
+Solution:   Also decrement "lines_left" when 'more' isn't set.  Set
+	    "cmdline_row" to zero to get all mouse events.
+Files:	    src/message.c, src/misc1.c
+
+
+*** ../vim-7.0.082/src/message.c	Sat May 13 13:12:49 2006
+--- src/message.c	Sun Sep  3 14:32:00 2006
+***************
+*** 1925,1931 ****
+  	     * If screen is completely filled and 'more' is set then wait
+  	     * for a character.
+  	     */
+! 	    if (p_more && --lines_left == 0 && State != HITRETURN
+  					    && !msg_no_more && !exmode_active)
+  	    {
+  #ifdef FEAT_CON_DIALOG
+--- 1925,1932 ----
+  	     * If screen is completely filled and 'more' is set then wait
+  	     * for a character.
+  	     */
+! 	    --lines_left;
+! 	    if (p_more && lines_left == 0 && State != HITRETURN
+  					    && !msg_no_more && !exmode_active)
+  	    {
+  #ifdef FEAT_CON_DIALOG
+*** ../vim-7.0.082/src/misc1.c	Tue Aug 15 22:26:04 2006
+--- src/misc1.c	Sun Sep  3 16:33:48 2006
+***************
+*** 3196,3209 ****
+      else
+  	MSG_PUTS(_("Choice number (<Enter> cancels): "));
+  
+!     /* Set the state such that text can be selected/copied/pasted. */
+      save_cmdline_row = cmdline_row;
+!     cmdline_row = Rows - 1;
+      save_State = State;
+!     if (mouse_used == NULL)
+! 	State = CMDLINE;
+!     else
+! 	State = NORMAL;
+  
+      i = get_number(TRUE, mouse_used);
+      if (KeyTyped)
+--- 3196,3207 ----
+      else
+  	MSG_PUTS(_("Choice number (<Enter> cancels): "));
+  
+!     /* Set the state such that text can be selected/copied/pasted and we still
+!      * get mouse events. */
+      save_cmdline_row = cmdline_row;
+!     cmdline_row = 0;
+      save_State = State;
+!     State = CMDLINE;
+  
+      i = get_number(TRUE, mouse_used);
+      if (KeyTyped)
+*** ../vim-7.0.082/src/version.c	Sun Sep  3 15:38:02 2006
+--- src/version.c	Sun Sep  3 16:36:58 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     83,
+  /**/
+
+-- 
+       "To whoever finds this note -
+       I have been imprisoned by my father who wishes me to marry
+       against my will.  Please please please please come and rescue me.
+       I am in the tall tower of Swamp Castle."
+   SIR LAUNCELOT's eyes light up with holy inspiration.
+                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// 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.0.084
diff -u /dev/null SOURCES/7.0.084:1.1
--- /dev/null	Fri Nov  3 22:20:14 2006
+++ SOURCES/7.0.084	Fri Nov  3 22:20:09 2006
@@ -0,0 +1,221 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.084
+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.0.084
+Problem:    The garbage collector may do its work while some Lists or
+	    Dictionaries are used internally, e.g., by ":echo" that runs into
+	    the more-prompt or ":echo [garbagecollect()]".
+Solution:   Only do garbage collection when waiting for a character at the
+	    toplevel.  Let garbagecollect() set a flag that is handled at the
+	    toplevel before waiting for a character.
+Files:	    src/eval.c, src/getchar.c, src/globals.h, src/main.c
+
+
+*** ../vim-7.0.083/src/eval.c	Sun Sep  3 15:38:02 2006
+--- src/eval.c	Tue Sep  5 11:49:38 2006
+***************
+*** 6074,6079 ****
+--- 6074,6083 ----
+      tabpage_T	*tp;
+  #endif
+  
++     /* Only do this once. */
++     want_garbage_collect = FALSE;
++     may_garbage_collect = FALSE;
++ 
+      /*
+       * 1. Go through all accessible variables and mark all lists and dicts
+       *    with copyID.
+***************
+*** 9636,9642 ****
+      typval_T	*argvars;
+      typval_T	*rettv;
+  {
+!     garbage_collect();
+  }
+  
+  /*
+--- 9640,9648 ----
+      typval_T	*argvars;
+      typval_T	*rettv;
+  {
+!     /* This is postponed until we are back at the toplevel, because we may be
+!      * using Lists and Dicts internally.  E.g.: ":echo [garbagecollect()]". */
+!     want_garbage_collect = TRUE;
+  }
+  
+  /*
+*** ../vim-7.0.083/src/getchar.c	Wed May  3 23:19:24 2006
+--- src/getchar.c	Tue Sep  5 12:55:54 2006
+***************
+*** 1451,1457 ****
+  {
+      updatescript(0);
+  #ifdef FEAT_EVAL
+!     garbage_collect();
+  #endif
+  }
+  
+--- 1451,1458 ----
+  {
+      updatescript(0);
+  #ifdef FEAT_EVAL
+!     if (may_garbage_collect)
+! 	garbage_collect();
+  #endif
+  }
+  
+***************
+*** 1502,1507 ****
+--- 1503,1515 ----
+      int		i;
+  #endif
+  
++ #ifdef FEAT_EVAL
++     /* Do garbage collection when garbagecollect() was called previously and
++      * we are now at the toplevel. */
++     if (may_garbage_collect && want_garbage_collect)
++ 	garbage_collect();
++ #endif
++ 
+      /*
+       * If a character was put back with vungetc, it was already processed.
+       * Return it directly.
+***************
+*** 1511,1523 ****
+  	c = old_char;
+  	old_char = -1;
+  	mod_mask = old_mod_mask;
+- 	return c;
+      }
+! 
+!     mod_mask = 0x0;
+!     last_recorded_len = 0;
+!     for (;;)			/* this is done twice if there are modifiers */
+      {
+  	if (mod_mask)		/* no mapping after modifier has been read */
+  	{
+  	    ++no_mapping;
+--- 1519,1531 ----
+  	c = old_char;
+  	old_char = -1;
+  	mod_mask = old_mod_mask;
+      }
+!     else
+      {
++       mod_mask = 0x0;
++       last_recorded_len = 0;
++       for (;;)			/* this is done twice if there are modifiers */
++       {
+  	if (mod_mask)		/* no mapping after modifier has been read */
+  	{
+  	    ++no_mapping;
+***************
+*** 1695,1702 ****
+  	}
+  #endif
+  
+! 	return c;
+      }
+  }
+  
+  /*
+--- 1703,1722 ----
+  	}
+  #endif
+  
+! 	break;
+!       }
+      }
++ 
++ #ifdef FEAT_EVAL
++     /*
++      * In the main loop "may_garbage_collect" can be set to do garbage
++      * collection in the first next vgetc().  It's disabled after that to
++      * avoid internally used Lists and Dicts to be freed.
++      */
++     may_garbage_collect = FALSE;
++ #endif
++ 
++     return c;
+  }
+  
+  /*
+*** ../vim-7.0.083/src/globals.h	Sat Sep  2 14:52:41 2006
+--- src/globals.h	Tue Sep  5 11:46:10 2006
+***************
+*** 300,308 ****
+  #endif
+  
+  #ifdef FEAT_EVAL
+! EXTERN scid_T	current_SID INIT(= 0);	    /* ID of script being sourced or
+! 					       was sourced to define the
+! 					       current function. */
+  #endif
+  
+  #if defined(FEAT_EVAL) || defined(FEAT_SYN_HL)
+--- 300,315 ----
+  #endif
+  
+  #ifdef FEAT_EVAL
+! /* Garbage collection can only take place when we are sure there are no Lists
+!  * or Dictionaries being used internally.  This is flagged with
+!  * "may_garbage_collect" when we are at the toplevel.
+!  * "want_garbage_collect" is set by the garbagecollect() function, which means
+!  * we do garbage collection before waiting for a char at the toplevel. */
+! EXTERN int	may_garbage_collect INIT(= FALSE);
+! EXTERN int	want_garbage_collect INIT(= FALSE);
+! 
+! /* ID of script being sourced or was sourced to define the current function. */
+! EXTERN scid_T	current_SID INIT(= 0);
+  #endif
+  
+  #if defined(FEAT_EVAL) || defined(FEAT_SYN_HL)
+*** ../vim-7.0.083/src/main.c	Tue Aug 29 17:28:56 2006
+--- src/main.c	Tue Sep  5 12:33:47 2006
+***************
+*** 1130,1135 ****
+--- 1130,1145 ----
+  	 */
+  	update_curswant();
+  
++ #ifdef FEAT_EVAL
++ 	/*
++ 	 * May perform garbage collection when waiting for a character, but
++ 	 * only at the very toplevel.  Otherwise we may be using a List or
++ 	 * Dict internally somewhere.
++ 	 * "may_garbage_collect" is reset in vgetc() which is invoked through
++ 	 * do_exmode() and normal_cmd().
++ 	 */
++ 	may_garbage_collect = (!cmdwin && !noexmode);
++ #endif
+  	/*
+  	 * If we're invoked as ex, do a round of ex commands.
+  	 * Otherwise, get and execute a normal mode command.
+*** ../vim-7.0.083/src/version.c	Sun Sep  3 16:39:51 2006
+--- src/version.c	Tue Sep  5 12:51:28 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     84,
+  /**/
+
+-- 
+LAUNCELOT: At last!   A call!  A cry of distress ...
+           (he draws his sword, and turns to CONCORDE)
+           Concorde!  Brave, Concorde ... you shall not have died in vain!
+CONCORDE:  I'm not quite dead, sir ...
+                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// 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.0.085
diff -u /dev/null SOURCES/7.0.085:1.1
--- /dev/null	Fri Nov  3 22:20:14 2006
+++ SOURCES/7.0.085	Fri Nov  3 22:20:09 2006
@@ -0,0 +1,53 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.085
+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.0.085
+Problem:    When doing "make test" the viminfo file is modified.
+Solution:   Use another viminfo file after setting 'compatible.
+Files:	    src/testdir/test56.in
+
+
+*** ../vim-7.0.084/src/testdir/test56.in	Thu May 19 00:21:20 2005
+--- src/testdir/test56.in	Sun Sep  3 16:28:41 2006
+***************
+*** 3,9 ****
+  STARTTEST
+  :so small.vim
+  :"
+! :set nocp
+  :/^start:/+1,/^end:/-1w! Xtest.vim
+  :source Xtest.vim
+  _x
+--- 3,9 ----
+  STARTTEST
+  :so small.vim
+  :"
+! :set nocp viminfo+=nviminfo
+  :/^start:/+1,/^end:/-1w! Xtest.vim
+  :source Xtest.vim
+  _x
+*** ../vim-7.0.084/src/version.c	Tue Sep  5 12:57:14 2006
+--- src/version.c	Tue Sep  5 13:33:22 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     85,
+  /**/
+
+-- 
+Apologies for taking up the bandwidth with the apology.  Anything else I
+can apologise for ...... er no can't think of anything, sorry about that.
+		Andy Hunt (Member of British Olympic Apology Squad)
+
+ /// 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.0.086
diff -u /dev/null SOURCES/7.0.086:1.1
--- /dev/null	Fri Nov  3 22:20:14 2006
+++ SOURCES/7.0.086	Fri Nov  3 22:20:09 2006
@@ -0,0 +1,57 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.086
+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.0.086
+Problem:    getqflist() returns entries for pattern and text with the number
+	    zero.  Passing these to setqflist() results in the string "0".
+Solution:   Use an empty string instead of the number zero.
+Files:	    src/quickfix.c
+
+
+*** ../vim-7.0.085/src/quickfix.c	Tue Aug 29 17:28:56 2006
+--- src/quickfix.c	Mon Sep  4 20:18:48 2006
+***************
+*** 3426,3433 ****
+  	  || dict_add_nr_str(dict, "col",   (long)qfp->qf_col, NULL) == FAIL
+  	  || dict_add_nr_str(dict, "vcol",  (long)qfp->qf_viscol, NULL) == FAIL
+  	  || dict_add_nr_str(dict, "nr",    (long)qfp->qf_nr, NULL) == FAIL
+! 	  || dict_add_nr_str(dict, "pattern",  0L, qfp->qf_pattern) == FAIL
+! 	  || dict_add_nr_str(dict, "text",  0L, qfp->qf_text) == FAIL
+  	  || dict_add_nr_str(dict, "type",  0L, buf) == FAIL
+  	  || dict_add_nr_str(dict, "valid", (long)qfp->qf_valid, NULL) == FAIL)
+  	    return FAIL;
+--- 3426,3435 ----
+  	  || dict_add_nr_str(dict, "col",   (long)qfp->qf_col, NULL) == FAIL
+  	  || dict_add_nr_str(dict, "vcol",  (long)qfp->qf_viscol, NULL) == FAIL
+  	  || dict_add_nr_str(dict, "nr",    (long)qfp->qf_nr, NULL) == FAIL
+! 	  || dict_add_nr_str(dict, "pattern",  0L,
+! 	     qfp->qf_pattern == NULL ? (char_u *)"" : qfp->qf_pattern) == FAIL
+! 	  || dict_add_nr_str(dict, "text",  0L,
+! 		   qfp->qf_text == NULL ? (char_u *)"" : qfp->qf_text) == FAIL
+  	  || dict_add_nr_str(dict, "type",  0L, buf) == FAIL
+  	  || dict_add_nr_str(dict, "valid", (long)qfp->qf_valid, NULL) == FAIL)
+  	    return FAIL;
+*** ../vim-7.0.085/src/version.c	Tue Sep  5 13:34:30 2006
+--- src/version.c	Tue Sep  5 15:35:40 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     86,
+  /**/
+
+-- 
+A vacation is a period of travel during which you find that you
+took twice as many clothes and half as much money as you needed.
+
+ /// 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.0.087
diff -u /dev/null SOURCES/7.0.087:1.1
--- /dev/null	Fri Nov  3 22:20:14 2006
+++ SOURCES/7.0.087	Fri Nov  3 22:20:09 2006
@@ -0,0 +1,262 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.087
+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.0.087
+Problem:    After ":file fname" and ":saveas fname" the 'autochdir' option
+	    does not take effect. (Yakov Lerner)
+	    Commands for handling 'autochdir' are repeated many times.
+Solution:   Add the DO_AUTOCHDIR macro and do_autochdir().  Use it for
+	    ":file fname" and ":saveas fname".
+Files:	    src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h,
+	    src/option.c, src/window.c
+
+
+*** ../vim-7.0.086/src/proto/buffer.pro	Sun Apr 30 20:25:32 2006
+--- src/proto/buffer.pro	Tue Sep  5 16:25:40 2006
+***************
+*** 10,15 ****
+--- 10,16 ----
+  extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit));
+  extern void set_curbuf __ARGS((buf_T *buf, int action));
+  extern void enter_buffer __ARGS((buf_T *buf));
++ extern void do_autochdir __ARGS((void));
+  extern buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags));
+  extern void free_buf_options __ARGS((buf_T *buf, int free_p_ff));
+  extern int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit));
+*** ../vim-7.0.086/src/buffer.c	Tue Aug 29 16:52:01 2006
+--- src/buffer.c	Tue Sep  5 15:18:19 2006
+***************
+*** 434,445 ****
+      if (usingNetbeans)
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list