SOURCES: 7.0.043 (NEW), 7.0.044 (NEW), 7.0.046 (NEW), 7.0.047 (NEW...

adamg adamg at pld-linux.org
Thu Aug 10 00:00:22 CEST 2006


Author: adamg                        Date: Wed Aug  9 22:00:22 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.0.043 (NONE -> 1.1)  (NEW), 7.0.044 (NONE -> 1.1)  (NEW), 7.0.046 (NONE -> 1.1)  (NEW), 7.0.047 (NONE -> 1.1)  (NEW), 7.0.048 (NONE -> 1.1)  (NEW), 7.0.049 (NONE -> 1.1)  (NEW), 7.0.050 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.0.043
diff -u /dev/null SOURCES/7.0.043:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.043	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,52 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.043
+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.043
+Problem:    Using "%!" at the start of 'statusline' doesn't work.
+Solution:   Recognize the special item when the option is being set.
+Files:	    src/option.c
+
+
+*** ../vim-7.0.042/src/option.c	Sat May 13 14:41:15 2006
+--- src/option.c	Mon Jul 10 22:41:20 2006
+***************
+*** 6325,6331 ****
+  	    else
+  		errmsg = check_stl_option(p_ruf);
+  	}
+! 	else
+  	    errmsg = check_stl_option(s);
+  	if (varp == &p_ruf && errmsg == NULL)
+  	    comp_col();
+--- 6325,6332 ----
+  	    else
+  		errmsg = check_stl_option(p_ruf);
+  	}
+! 	/* check 'statusline' only if it doesn't start with "%!" */
+! 	else if (varp != &p_stl || s[0] != '%' || s[1] != '!')
+  	    errmsg = check_stl_option(s);
+  	if (varp == &p_ruf && errmsg == NULL)
+  	    comp_col();
+*** ../vim-7.0.042/src/version.c	Sun Jul 23 22:37:29 2006
+--- src/version.c	Tue Aug  8 16:29:24 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     43,
+  /**/
+
+-- 
+There's no place like $(HOME)!
+
+ /// 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.044
diff -u /dev/null SOURCES/7.0.044:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.044	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,211 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.044
+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.044
+Problem:    Perl: setting a buffer line in another buffer may result in
+	    changing the current buffer.
+Solution:   Properly change to the buffer to be changed.
+Files:	    src/if_perl.xs
+
+
+*** ../vim-7.0.043/src/if_perl.xs	Tue Mar  7 00:18:16 2006
+--- src/if_perl.xs	Thu Jun 22 21:22:18 2006
+***************
+*** 1056,1062 ****
+      int i;
+      long lnum;
+      char *line;
+-     buf_T *savebuf;
+      PPCODE:
+      if (buf_valid(vimbuf))
+      {
+--- 1056,1061 ----
+***************
+*** 1069,1082 ****
+  	    line = SvPV(ST(i),PL_na);
+  	    if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+  	    {
+! 		savebuf = curbuf;
+  		curbuf = vimbuf;
+  		if (u_savesub(lnum) == OK)
+  		{
+  		    ml_replace(lnum, (char_u *)line, TRUE);
+  		    changed_bytes(lnum, 0);
+  		}
+! 		curbuf = savebuf;
+  	    }
+  	}
+      }
+--- 1068,1098 ----
+  	    line = SvPV(ST(i),PL_na);
+  	    if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+  	    {
+!     #ifdef FEAT_AUTOCMD
+! 		aco_save_T	aco;
+! 
+! 		/* set curwin/curbuf for "vimbuf" and save some things */
+! 		aucmd_prepbuf(&aco, vimbuf);
+!     #else
+! 		buf_T	*save_curbuf = curbuf;
+! 
+  		curbuf = vimbuf;
++ 		curwin->w_buffer = vimbuf;
++     #endif
+  		if (u_savesub(lnum) == OK)
+  		{
+  		    ml_replace(lnum, (char_u *)line, TRUE);
+  		    changed_bytes(lnum, 0);
+  		}
+! 
+!     #ifdef FEAT_AUTOCMD
+! 		/* restore curwin/curbuf and a few other things */
+! 		aucmd_restbuf(&aco);
+! 		/* Careful: autocommands may have made "vimbuf" invalid! */
+!     #else
+! 		curwin->w_buffer = save_curbuf;
+! 		curbuf = save_curbuf;
+!     #endif
+  	    }
+  	}
+      }
+***************
+*** 1087,1093 ****
+  
+      PREINIT:
+      long i, lnum = 0, count = 0;
+-     buf_T *savebuf;
+      PPCODE:
+      if (buf_valid(vimbuf))
+      {
+--- 1103,1108 ----
+***************
+*** 1114,1129 ****
+  	    {
+  		if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count)
+  		{
+! 		    savebuf = curbuf;
+  		    curbuf = vimbuf;
+  		    if (u_savedel(lnum, 1) == OK)
+  		    {
+  			ml_delete(lnum, 0);
+  			deleted_lines_mark(lnum, 1L);
+! 			if (savebuf == curbuf)
+  			    check_cursor();
+  		    }
+! 		    curbuf = savebuf;
+  		    update_curbuf(VALID);
+  		}
+  	    }
+--- 1129,1159 ----
+  	    {
+  		if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count)
+  		{
+! 		    buf_T	*save_curbuf = curbuf;
+!     #ifdef FEAT_AUTOCMD
+! 		    aco_save_T	aco;
+! 
+! 		    /* set curwin/curbuf for "vimbuf" and save some things */
+! 		    aucmd_prepbuf(&aco, vimbuf);
+!     #else
+  		    curbuf = vimbuf;
++ 		    curwin->w_buffer = vimbuf;
++     #endif
+  		    if (u_savedel(lnum, 1) == OK)
+  		    {
+  			ml_delete(lnum, 0);
+  			deleted_lines_mark(lnum, 1L);
+! 			if (save_curbuf == curbuf)
+  			    check_cursor();
+  		    }
+!     #ifdef FEAT_AUTOCMD
+! 		    /* restore curwin/curbuf and a few other things */
+! 		    aucmd_restbuf(&aco);
+! 		    /* Careful: autocommands may have made "vimbuf" invalid! */
+!     #else
+! 		    curwin->w_buffer = save_curbuf;
+! 		    curbuf = save_curbuf;
+!     #endif
+  		    update_curbuf(VALID);
+  		}
+  	    }
+***************
+*** 1138,1144 ****
+      int		i;
+      long	lnum;
+      char	*line;
+-     buf_T	*savebuf;
+      PPCODE:
+      if (buf_valid(vimbuf))
+      {
+--- 1168,1173 ----
+***************
+*** 1151,1164 ****
+  	    line = SvPV(ST(i),PL_na);
+  	    if (lnum >= 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+  	    {
+! 		savebuf = curbuf;
+  		curbuf = vimbuf;
+  		if (u_inssub(lnum + 1) == OK)
+  		{
+  		    ml_append(lnum, (char_u *)line, (colnr_T)0, FALSE);
+  		    appended_lines_mark(lnum, 1L);
+  		}
+! 		curbuf = savebuf;
+  		update_curbuf(VALID);
+  	    }
+  	}
+--- 1180,1210 ----
+  	    line = SvPV(ST(i),PL_na);
+  	    if (lnum >= 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+  	    {
+!     #ifdef FEAT_AUTOCMD
+! 		aco_save_T	aco;
+! 
+! 		/* set curwin/curbuf for "vimbuf" and save some things */
+! 		aucmd_prepbuf(&aco, vimbuf);
+!     #else
+! 		buf_T	*save_curbuf = curbuf;
+! 
+  		curbuf = vimbuf;
++ 		curwin->w_buffer = vimbuf;
++     #endif
+  		if (u_inssub(lnum + 1) == OK)
+  		{
+  		    ml_append(lnum, (char_u *)line, (colnr_T)0, FALSE);
+  		    appended_lines_mark(lnum, 1L);
+  		}
+! 
+!     #ifdef FEAT_AUTOCMD
+! 		/* restore curwin/curbuf and a few other things */
+! 		aucmd_restbuf(&aco);
+! 		/* Careful: autocommands may have made "vimbuf" invalid! */
+!     #else
+! 		curwin->w_buffer = save_curbuf;
+! 		curbuf = save_curbuf;
+!     #endif
+  		update_curbuf(VALID);
+  	    }
+  	}
+*** ../vim-7.0.043/src/version.c	Tue Aug  8 16:30:51 2006
+--- src/version.c	Tue Aug  8 16:45:40 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     44,
+  /**/
+
+-- 
+Momento mori, ergo carpe diem
+
+ /// 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.046
diff -u /dev/null SOURCES/7.0.046:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.046	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,68 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.046
+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.046
+Problem:    The matchparen plugin ignores parens in strings, but not in single
+	    quotes, often marked with "character".
+Solution:   Also ignore parens in syntax items matching "character".
+Files:	    runtime/plugin/matchparen.vim
+
+
+*** ../vim-7.0.045/runtime/plugin/matchparen.vim	Sat May 13 14:52:02 2006
+--- runtime/plugin/matchparen.vim	Mon Jun 26 10:53:35 2006
+***************
+*** 1,6 ****
+  " Vim plugin for showing matching parens
+  " Maintainer:  Bram Moolenaar <Bram at vim.org>
+! " Last Change: 2006 May 11
+  
+  " Exit quickly when:
+  " - this plugin was already loaded (or disabled)
+--- 1,6 ----
+  " Vim plugin for showing matching parens
+  " Maintainer:  Bram Moolenaar <Bram at vim.org>
+! " Last Change: 2006 Jun 26
+  
+  " Exit quickly when:
+  " - this plugin was already loaded (or disabled)
+***************
+*** 96,102 ****
+  
+    " When not in a string or comment ignore matches inside them.
+    let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' .
+! 	\ '=~?  "string\\|comment"'
+    execute 'if' s_skip '| let s_skip = 0 | endif'
+  
+    let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
+--- 96,102 ----
+  
+    " When not in a string or comment ignore matches inside them.
+    let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' .
+! 	\ '=~?  "string\\|character\\|singlequote\\|comment"'
+    execute 'if' s_skip '| let s_skip = 0 | endif'
+  
+    let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
+*** ../vim-7.0.045/src/version.c	Tue Aug  8 17:06:21 2006
+--- src/version.c	Tue Aug  8 18:07:37 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     46,
+  /**/
+
+-- 
+I AM THANKFUL...
+...for the taxes that I pay because it means that I am employed.
+
+ /// 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.047
diff -u /dev/null SOURCES/7.0.047:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.047	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,64 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.047
+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.047
+Problem:    When running configure the exit status is wrong.
+Solution:   Handle the exit status properly. (Matthew Woehlke)
+Files:	    configure, src/configure
+
+
+*** ../vim-7.0.046/configure	Sun Jun 13 21:32:42 2004
+--- configure	Mon Jul 10 20:26:26 2006
+***************
+*** 3,6 ****
+  # This is just a stub for the Unix configure script, to provide support for
+  # doing "./configure" in the top Vim directory.
+  
+! cd src && ./configure "$@"
+--- 3,6 ----
+  # This is just a stub for the Unix configure script, to provide support for
+  # doing "./configure" in the top Vim directory.
+  
+! cd src && exec ./configure "$@"
+*** ../vim-7.0.046/src/configure	Thu Dec 22 23:38:38 2005
+--- src/configure	Mon Jul 10 20:26:53 2006
+***************
+*** 2,6 ****
+--- 2,10 ----
+  # run the automatically generated configure script
+  CONFIG_STATUS=auto/config.status \
+  	auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
++ result=$?
++ 
+  # Stupid autoconf 2.5x causes this file to be left behind.
+  if test -f configure.lineno; then rm -f configure.lineno; fi
++ 
++ exit $result
+*** ../vim-7.0.046/src/version.c	Tue Aug  8 18:08:54 2006
+--- src/version.c	Tue Aug  8 19:09:54 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     47,
+  /**/
+
+-- 
+The primary purpose of the DATA statement is to give names to constants;
+instead of referring to pi as 3.141592653589793 at every appearance, the
+variable PI can be given that value with a DATA statement and used instead
+of the longer form of the constant.  This also simplifies modifying the
+program, should the value of pi change.
+	-- FORTRAN manual for Xerox Computers
+
+ /// 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.048
diff -u /dev/null SOURCES/7.0.048:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.048	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,71 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.048
+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.048
+Problem:    Writing a compressed file fails when there are parens in the name.
+	    (Wang Jian)
+Solution:   Put quotes around the temp file name.
+Files:	    runtime/autoload/gzip.vim
+
+
+*** ../vim-7.0.047/runtime/autoload/gzip.vim	Wed Apr  5 22:17:15 2006
+--- runtime/autoload/gzip.vim	Wed Jul 19 23:53:52 2006
+***************
+*** 1,6 ****
+  " Vim autoload file for editing compressed files.
+  " Maintainer: Bram Moolenaar <Bram at vim.org>
+! " Last Change: 2006 Mar 31
+  
+  " These functions are used by the gzip plugin.
+  
+--- 1,6 ----
+  " Vim autoload file for editing compressed files.
+  " Maintainer: Bram Moolenaar <Bram at vim.org>
+! " Last Change: 2006 Jul 19
+  
+  " These functions are used by the gzip plugin.
+  
+***************
+*** 127,135 ****
+      let nmt = s:tempname(nm)
+      if rename(nm, nmt) == 0
+        if exists("b:gzip_comp_arg")
+! 	call system(a:cmd . " " . b:gzip_comp_arg . " " . nmt)
+        else
+! 	call system(a:cmd . " " . nmt)
+        endif
+        call rename(nmt . "." . expand("<afile>:e"), nm)
+      endif
+--- 127,135 ----
+      let nmt = s:tempname(nm)
+      if rename(nm, nmt) == 0
+        if exists("b:gzip_comp_arg")
+! 	call system(a:cmd . " " . b:gzip_comp_arg . " '" . nmt . "'")
+        else
+! 	call system(a:cmd . " '" . nmt . "'")
+        endif
+        call rename(nmt . "." . expand("<afile>:e"), nm)
+      endif
+*** ../vim-7.0.047/src/version.c	Tue Aug  8 19:10:35 2006
+--- src/version.c	Tue Aug  8 19:26:51 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     48,
+  /**/
+
+-- 
+A fool learns from his mistakes, a wise man from someone else's.
+
+ /// 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.049
diff -u /dev/null SOURCES/7.0.049:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.049	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,68 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.049
+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.049
+Problem:    Some TCL scripts are not recognized. (Steven Atkinson)
+Solution:   Check for "exec wish" in the file.
+Files:	    runtime/scripts.vim
+
+
+*** ../vim-7.0.048/runtime/scripts.vim	Tue Mar 28 23:07:11 2006
+--- runtime/scripts.vim	Sat Jul  8 22:20:51 2006
+***************
+*** 1,7 ****
+  " Vim support file to detect file types in scripts
+  "
+  " Maintainer:	Bram Moolenaar <Bram at vim.org>
+! " Last change:	2006 Mar 28
+  
+  " This file is called by an autocommand for every file that has just been
+  " loaded into a buffer.  It checks if the type of file can be recognized by
+--- 1,7 ----
+  " Vim support file to detect file types in scripts
+  "
+  " Maintainer:	Bram Moolenaar <Bram at vim.org>
+! " Last change:	2006 Jul 08
+  
+  " This file is called by an autocommand for every file that has just been
+  " loaded into a buffer.  It checks if the type of file can be recognized by
+***************
+*** 52,57 ****
+--- 52,63 ----
+      let s:name = substitute(s:line1, '^#!\s*\([^/\\ ]*\>\).*', '\1', '')
+    else
+      let s:name = substitute(s:line1, '^#!\s*\S*[/\\]\(\i\+\).*', '\1', '')
++   endif
++ 
++   " tcl scripts may have #!/bin/sh in the first line and "exec wish" in the
++   " third line.  Suggested by Steven Atkinson.
++   if getline(3) =~ '^exec wish'
++     let s:name = 'wish'
+    endif
+  
+    " Bourne-like shell scripts: bash bash2 ksh ksh93 sh
+*** ../vim-7.0.048/src/version.c	Tue Aug  8 19:55:06 2006
+--- src/version.c	Tue Aug  8 20:53:58 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     49,
+  /**/
+
+-- 
+I AM THANKFUL...
+...for the piles of laundry and ironing because it means I
+have plenty of clothes to wear.
+
+ /// 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.050
diff -u /dev/null SOURCES/7.0.050:1.1
--- /dev/null	Thu Aug 10 00:00:22 2006
+++ SOURCES/7.0.050	Thu Aug 10 00:00:17 2006
@@ -0,0 +1,47 @@
+To: vim-dev at vim.org
+Subject: Patch 7.0.050
+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.050
+Problem:    After using the netbeans interface close command a stale pointer
+	    may be used.
+Solution:   Clear the pointer to the closed buffer. (Xaview de Gaye)
+Files:	    src/netbeans.c
+
+
+*** ../vim-7.0.049/src/netbeans.c	Sun Apr 23 00:21:07 2006
+--- src/netbeans.c	Fri Aug  4 23:02:54 2006
+***************
+*** 1986,1991 ****
+--- 1986,1993 ----
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list