SOURCES: 7.1.146 (NEW), 7.1.147 (NEW), 7.1.148 (NEW), 7.1.149 (NEW...

glen glen at pld-linux.org
Thu Nov 8 23:48:56 CET 2007


Author: glen                         Date: Thu Nov  8 22:48:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- up to 7.1.154

---- Files affected:
SOURCES:
   7.1.146 (NONE -> 1.1)  (NEW), 7.1.147 (NONE -> 1.1)  (NEW), 7.1.148 (NONE -> 1.1)  (NEW), 7.1.149 (NONE -> 1.1)  (NEW), 7.1.150 (NONE -> 1.1)  (NEW), 7.1.151 (NONE -> 1.1)  (NEW), 7.1.152 (NONE -> 1.1)  (NEW), 7.1.153 (NONE -> 1.1)  (NEW), 7.1.154 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.1.146
diff -u /dev/null SOURCES/7.1.146:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.146	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,92 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.146 (extra)
+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.146 (extra)
+Problem:    VMS: Files with a very rare record organization (VFC) cannot be
+	    properly written by Vim.
+	    On older VAX systems mms runs into a syntax error.
+Solution:   Check for this special situation.  Do not wrap a comment, make it
+	    one long line.  (Zoltan Arpadffy)
+Files:	    src/fileio.c, src/Make_vms.mms
+
+
+*** ../vim-7.1.145/src/fileio.c	Wed Oct  3 12:49:24 2007
+--- src/fileio.c	Mon Oct 22 21:10:00 2007
+***************
+*** 4251,4257 ****
+  	 * they don't it adds one.
+  	 * With other RMS structures it works perfect without this fix.
+  	 */
+! 	if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)
+  	{
+  	    int b2write;
+  
+--- 4252,4259 ----
+  	 * they don't it adds one.
+  	 * With other RMS structures it works perfect without this fix.
+  	 */
+! 	if (buf->b_fab_rfm == FAB$C_VFC
+! 		|| ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0))
+  	{
+  	    int b2write;
+  
+*** ../vim-7.1.145/src/Make_vms.mms	Thu May 10 20:47:35 2007
+--- src/Make_vms.mms	Mon Oct 22 21:13:08 2007
+***************
+*** 2,8 ****
+  # Makefile for Vim on OpenVMS
+  #
+  # Maintainer:   Zoltan Arpadffy <arpadffy at polarhome.com>
+! # Last change:  2007 May 07
+  #
+  # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
+  # with MMS and MMK
+--- 2,8 ----
+  # Makefile for Vim on OpenVMS
+  #
+  # Maintainer:   Zoltan Arpadffy <arpadffy at polarhome.com>
+! # Last change:  2007 Oct 22
+  #
+  # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
+  # with MMS and MMK
+***************
+*** 96,103 ****
+  
+  .IFDEF MMSVAX
+  .IFDEF DECC	     # VAX with DECC
+! CC_DEF  = cc # /decc # some system requires this switch
+! 		     # but when it is not required /ver might fail
+  PREFIX  = /prefix=all
+  .ELSE		     # VAX with VAXC
+  CC_DEF	= cc
+--- 96,102 ----
+  
+  .IFDEF MMSVAX
+  .IFDEF DECC	     # VAX with DECC
+! CC_DEF  = cc # /decc # some system requires this switch but when it is not required /ver might fail
+  PREFIX  = /prefix=all
+  .ELSE		     # VAX with VAXC
+  CC_DEF	= cc
+*** ../vim-7.1.145/src/version.c	Fri Oct 19 20:39:56 2007
+--- src/version.c	Mon Oct 29 22:36:20 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     146,
+  /**/
+
+-- 
+Be thankful to be in a traffic jam, because it means you own a car.
+
+ /// 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.147
diff -u /dev/null SOURCES/7.1.147:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.147	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,75 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.147
+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.147 (after 7.1.127)
+Problem:    Freeing memory already freed when completing user name. (Meino
+	    Cramer)
+Solution:   Use a flag to remember if "orig" needs to be freed.
+Files:	    src/ex_getln.c
+
+
+*** ../vim-7.1.146/src/ex_getln.c	Sun Sep 30 22:10:45 2007
+--- src/ex_getln.c	Tue Oct 30 17:13:33 2007
+***************
+*** 3353,3358 ****
+--- 3353,3359 ----
+      char_u	*ss = NULL;
+      static int	findex;
+      static char_u *orig_save = NULL;	/* kept value of orig */
++     int		orig_saved = FALSE;
+      int		i;
+      long_u	len;
+      int		non_suf_match;		/* number without matching suffix */
+***************
+*** 3421,3426 ****
+--- 3422,3428 ----
+      {
+  	vim_free(orig_save);
+  	orig_save = orig;
++ 	orig_saved = TRUE;
+  
+  	/*
+  	 * Do the expansion.
+***************
+*** 3546,3552 ****
+  	ExpandCleanup(xp);
+  
+      /* Free "orig" if it wasn't stored in "orig_save". */
+!     if (orig != orig_save)
+  	vim_free(orig);
+  
+      return ss;
+--- 3548,3554 ----
+  	ExpandCleanup(xp);
+  
+      /* Free "orig" if it wasn't stored in "orig_save". */
+!     if (!orig_saved)
+  	vim_free(orig);
+  
+      return ss;
+*** ../vim-7.1.146/src/version.c	Mon Oct 29 22:37:57 2007
+--- src/version.c	Tue Oct 30 17:30:35 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     147,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+59. Your wife says communication is important in a marriage...so you buy
+    another computer and install a second phone line so the two of you can
+    chat.
+
+ /// 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.148
diff -u /dev/null SOURCES/7.1.148:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.148	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,73 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.148
+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.148
+Problem:    Some types are not found by configure.
+Solution:   Test for the sys/types.h header file. (Sean Boudreau)
+Files:	    src/configure.in, src/auto/configure
+
+
+*** ../vim-7.1.147/src/configure.in	Thu Jun 28 13:02:22 2007
+--- src/configure.in	Sat Oct 27 15:52:16 2007
+***************
+*** 2026,2032 ****
+  fi
+  
+  AC_CHECK_HEADERS(stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
+! 	termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h termio.h \
+  	iconv.h langinfo.h unistd.h stropts.h errno.h \
+  	sys/resource.h sys/systeminfo.h locale.h \
+  	sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
+--- 2026,2032 ----
+  fi
+  
+  AC_CHECK_HEADERS(stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
+! 	termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \
+  	iconv.h langinfo.h unistd.h stropts.h errno.h \
+  	sys/resource.h sys/systeminfo.h locale.h \
+  	sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
+*** ../vim-7.1.147/src/auto/configure	Thu Jun 28 13:02:22 2007
+--- src/auto/configure	Sun Nov  4 15:34:14 2007
+***************
+*** 10265,10272 ****
+  
+  
+  
+  for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
+! 	termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h termio.h \
+  	iconv.h langinfo.h unistd.h stropts.h errno.h \
+  	sys/resource.h sys/systeminfo.h locale.h \
+  	sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
+--- 10265,10273 ----
+  
+  
+  
++ 
+  for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
+! 	termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \
+  	iconv.h langinfo.h unistd.h stropts.h errno.h \
+  	sys/resource.h sys/systeminfo.h locale.h \
+  	sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
+*** ../vim-7.1.147/src/version.c	Tue Oct 30 17:36:31 2007
+--- src/version.c	Sun Nov  4 15:34:26 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     148,
+  /**/
+
+-- 
+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/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.1.149
diff -u /dev/null SOURCES/7.1.149:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.149	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,180 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.149
+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.149
+Problem:    GTK GUI: When the completion popup menu is used scrolling another
+	    window by the scrollbar is OK, but using the scroll wheel it
+	    behaves line <Enter>.
+Solution:   Ignore K_MOUSEDOWN and K_MOUSEUP.  Fix redrawing the popup menu.
+Files:	    src/edit.c, src/gui.c
+
+
+*** ../vim-7.1.148/src/edit.c	Fri Oct 19 20:39:56 2007
+--- src/edit.c	Sun Nov  4 16:17:42 2007
+***************
+*** 3385,3392 ****
+      if (c != Ctrl_R && vim_is_ctrl_x_key(c))
+  	edit_submode_extra = NULL;
+  
+!     /* Ignore end of Select mode mapping */
+!     if (c == K_SELECT)
+  	return retval;
+  
+      /* Set "compl_get_longest" when finding the first matches. */
+--- 3385,3392 ----
+      if (c != Ctrl_R && vim_is_ctrl_x_key(c))
+  	edit_submode_extra = NULL;
+  
+!     /* Ignore end of Select mode mapping and mouse scroll buttons. */
+!     if (c == K_SELECT || c == K_MOUSEDOWN || c == K_MOUSEUP)
+  	return retval;
+  
+      /* Set "compl_get_longest" when finding the first matches. */
+***************
+*** 8652,8666 ****
+      int		up;
+  {
+      pos_T	tpos;
+! # if defined(FEAT_GUI) && defined(FEAT_WINDOWS)
+!     win_T	*old_curwin;
+  # endif
+  
+      tpos = curwin->w_cursor;
+  
+  # if defined(FEAT_GUI) && defined(FEAT_WINDOWS)
+-     old_curwin = curwin;
+- 
+      /* Currently the mouse coordinates are only known in the GUI. */
+      if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
+      {
+--- 8652,8667 ----
+      int		up;
+  {
+      pos_T	tpos;
+! # if defined(FEAT_WINDOWS)
+!     win_T	*old_curwin = curwin;
+! # endif
+! # ifdef FEAT_INS_EXPAND
+!     int		did_scroll = FALSE;
+  # endif
+  
+      tpos = curwin->w_cursor;
+  
+  # if defined(FEAT_GUI) && defined(FEAT_WINDOWS)
+      /* Currently the mouse coordinates are only known in the GUI. */
+      if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
+      {
+***************
+*** 8677,8692 ****
+  # endif
+  	undisplay_dollar();
+  
+!     if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
+! 	scroll_redraw(up, (long)(curwin->w_botline - curwin->w_topline));
+!     else
+! 	scroll_redraw(up, 3L);
+  
+  # if defined(FEAT_GUI) && defined(FEAT_WINDOWS)
+      curwin->w_redr_status = TRUE;
+  
+      curwin = old_curwin;
+      curbuf = curwin->w_buffer;
+  # endif
+  
+      if (!equalpos(curwin->w_cursor, tpos))
+--- 8678,8717 ----
+  # endif
+  	undisplay_dollar();
+  
+! # ifdef FEAT_INS_EXPAND
+!     /* Don't scroll the window in which completion is being done. */
+!     if (!pum_visible()
+! #  if defined(FEAT_WINDOWS)
+! 	    || curwin != old_curwin
+! #  endif
+! 	    )
+! # endif
+!     {
+! 	if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
+! 	    scroll_redraw(up, (long)(curwin->w_botline - curwin->w_topline));
+! 	else
+! 	    scroll_redraw(up, 3L);
+! # ifdef FEAT_INS_EXPAND
+! 	did_scroll = TRUE;
+! # endif
+!     }
+  
+  # if defined(FEAT_GUI) && defined(FEAT_WINDOWS)
+      curwin->w_redr_status = TRUE;
+  
+      curwin = old_curwin;
+      curbuf = curwin->w_buffer;
++ # endif
++ 
++ # ifdef FEAT_INS_EXPAND
++     /* The popup menu may overlay the window, need to redraw it.
++      * TODO: Would be more efficient to only redraw the windows that are
++      * overlapped by the popup menu. */
++     if (pum_visible() && did_scroll)
++     {
++ 	redraw_all_later(NOT_VALID);
++ 	ins_compl_show_pum();
++     }
+  # endif
+  
+      if (!equalpos(curwin->w_cursor, tpos))
+*** ../vim-7.1.148/src/gui.c	Wed Sep  5 21:45:54 2007
+--- src/gui.c	Fri Oct 19 16:14:57 2007
+***************
+*** 4214,4220 ****
+  #endif
+  	    )
+      {
+! 	redraw_win_later(wp, VALID);
+  	updateWindow(wp);   /* update window, status line, and cmdline */
+      }
+  
+--- 4214,4232 ----
+  #endif
+  	    )
+      {
+! 	int type = VALID;
+! 
+! #ifdef FEAT_INS_EXPAND
+! 	if (pum_visible())
+! 	{
+! 	    type = NOT_VALID;
+! 	    wp->w_lines_valid = 0;
+! 	}
+! #endif
+! 	/* Don't set must_redraw here, it may cause the popup menu to
+! 	 * disappear when losing focus after a scrollbar drag. */
+! 	if (wp->w_redr_type < type)
+! 	    wp->w_redr_type = type;
+  	updateWindow(wp);   /* update window, status line, and cmdline */
+      }
+  
+*** ../vim-7.1.148/src/version.c	Sun Nov  4 15:35:23 2007
+--- src/version.c	Tue Nov  6 22:21:03 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     149,
+  /**/
+
+-- 
+From "know your smileys":
+ ...---...   SOS
+
+ /// 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.150
diff -u /dev/null SOURCES/7.1.150:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.150	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,59 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.150
+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.150
+Problem:    When 'clipboard' has "unnamed" using "p" in Visual mode doesn't
+	    work correctly. (Jianrong Yu)
+Solution:   When 'clipboard' has "unnamed" also obtain the selection when
+	    getting the default register.
+Files:	    src/ops.c
+
+
+*** ../vim-7.1.149/src/ops.c	Tue Sep 25 14:19:35 2007
+--- src/ops.c	Sun Oct 28 13:58:35 2007
+***************
+*** 933,941 ****
+  #ifdef FEAT_CLIPBOARD
+      /* When Visual area changed, may have to update selection.  Obtain the
+       * selection too. */
+!     if (name == '*' && clip_star.available && clip_isautosel())
+      {
+! 	clip_update_selection();
+  	may_get_selection(name);
+      }
+  #endif
+--- 933,942 ----
+  #ifdef FEAT_CLIPBOARD
+      /* When Visual area changed, may have to update selection.  Obtain the
+       * selection too. */
+!     if (name == '*' && clip_star.available)
+      {
+! 	if (clip_isautosel())
+! 	    clip_update_selection();
+  	may_get_selection(name);
+      }
+  #endif
+*** ../vim-7.1.149/src/version.c	Tue Nov  6 22:26:39 2007
+--- src/version.c	Thu Nov  8 10:34:18 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     150,
+  /**/
+
+-- 
+From "know your smileys":
+ 8<}}	Glasses, big nose, beard
+
+ /// 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.151
diff -u /dev/null SOURCES/7.1.151:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.151	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,70 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.151
+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.151
+Problem:    Using whole line completion with 'ignorecase' and 'infercase' set
+	    and the line is empty get an lalloc(0) error.
+Solution:   Don't try changing case for an empty match. (Matthew Wozniski)
+Files:	    src/edit.c
+
+
+*** ../vim-7.1.150/src/edit.c	Tue Nov  6 22:26:39 2007
+--- src/edit.c	Sun Nov  4 16:17:42 2007
+***************
+*** 2111,2117 ****
+      int		has_lower = FALSE;
+      int		was_letter = FALSE;
+  
+!     if (p_ic && curbuf->b_p_inf)
+      {
+  	/* Infer case of completed part. */
+  
+--- 2111,2117 ----
+      int		has_lower = FALSE;
+      int		was_letter = FALSE;
+  
+!     if (p_ic && curbuf->b_p_inf && len > 0)
+      {
+  	/* Infer case of completed part. */
+  
+***************
+*** 2225,2231 ****
+  		    wca[i] = MB_TOUPPER(wca[i]);
+  	    }
+  
+! 	    /* 
+  	     * Generate encoding specific output from wide character array.
+  	     * Multi-byte characters can occupy up to five bytes more than
+  	     * ASCII characters, and we also need one byte for NUL, so stay
+--- 2225,2231 ----
+  		    wca[i] = MB_TOUPPER(wca[i]);
+  	    }
+  
+! 	    /*
+  	     * Generate encoding specific output from wide character array.
+  	     * Multi-byte characters can occupy up to five bytes more than
+  	     * ASCII characters, and we also need one byte for NUL, so stay
+*** ../vim-7.1.150/src/version.c	Thu Nov  8 10:35:02 2007
+--- src/version.c	Thu Nov  8 13:01:34 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     151,
+  /**/
+
+-- 
+From "know your smileys":
+ %-)	After staring at screen for 15 hours
+
+ /// 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.152
diff -u /dev/null SOURCES/7.1.152:1.1
--- /dev/null	Thu Nov  8 23:48:56 2007
+++ SOURCES/7.1.152	Thu Nov  8 23:48:51 2007
@@ -0,0 +1,118 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.152
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list