SOURCES: 7.1.001 (NEW), 7.1.002 (NEW), 7.1.003 (NEW), 7.1.004 (NEW...

adamg adamg at pld-linux.org
Mon Jul 23 10:54:23 CEST 2007


Author: adamg                        Date: Mon Jul 23 08:54:23 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.1.001 (NONE -> 1.1)  (NEW), 7.1.002 (NONE -> 1.1)  (NEW), 7.1.003 (NONE -> 1.1)  (NEW), 7.1.004 (NONE -> 1.1)  (NEW), 7.1.005 (NONE -> 1.1)  (NEW), 7.1.006 (NONE -> 1.1)  (NEW), 7.1.007 (NONE -> 1.1)  (NEW), 7.1.008 (NONE -> 1.1)  (NEW), 7.1.009 (NONE -> 1.1)  (NEW), 7.1.010 (NONE -> 1.1)  (NEW), 7.1.011 (NONE -> 1.1)  (NEW), 7.1.012 (NONE -> 1.1)  (NEW), 7.1.013 (NONE -> 1.1)  (NEW), 7.1.014 (NONE -> 1.1)  (NEW), 7.1.015 (NONE -> 1.1)  (NEW), 7.1.016 (NONE -> 1.1)  (NEW), 7.1.017 (NONE -> 1.1)  (NEW), 7.1.018 (NONE -> 1.1)  (NEW), 7.1.019 (NONE -> 1.1)  (NEW), 7.1.020 (NONE -> 1.1)  (NEW), 7.1.021 (NONE -> 1.1)  (NEW), 7.1.022 (NONE -> 1.1)  (NEW), 7.1.023 (NONE -> 1.1)  (NEW), 7.1.024 (NONE -> 1.1)  (NEW), 7.1.025 (NONE -> 1.1)  (NEW), 7.1.026 (NONE -> 1.1)  (NEW), 7.1.027 (NONE -> 1.1)  (NEW), 7.1.028 (NONE -> 1.1)  (NEW), 7.1.029 (NONE -> 1.1)  (NEW), 7.1.030 (NONE -> 1.1)  (NEW), 7.1.031 (NONE -> 1.1)  (NEW), 7.1.032 (NONE -> 1.1)  (NEW), 7.1.033 (NONE -> 1.1)  (NEW
 )

---- Diffs:

================================================================
Index: SOURCES/7.1.001
diff -u /dev/null SOURCES/7.1.001:1.1
--- /dev/null	Mon Jul 23 10:54:23 2007
+++ SOURCES/7.1.001	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,75 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.001
+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.001
+Problem:    Still can't build with Gnome libraries.
+Solution:   Fix typo in bind_textdomain_codeset. (Mike Kelly)
+Files:	    src/gui_gtk.c, src/gui_gtk_x11.c
+
+
+*** ../vim-7.1.000/src/gui_gtk.c	Thu May 10 20:27:29 2007
+--- src/gui_gtk.c	Mon May 14 14:40:54 2007
+***************
+*** 53,60 ****
+  # ifdef bindtextdomain
+  #  undef bindtextdomain
+  # endif
+! # ifdef bindtextdomain_codeset
+! #  undef bindtextdomain_codeset
+  # endif
+  # if defined(FEAT_GETTEXT) && !defined(ENABLE_NLS)
+  #  define ENABLE_NLS	/* so the texts in the dialog boxes are translated */
+--- 53,60 ----
+  # ifdef bindtextdomain
+  #  undef bindtextdomain
+  # endif
+! # ifdef bind_textdomain_codeset
+! #  undef bind_textdomain_codeset
+  # endif
+  # if defined(FEAT_GETTEXT) && !defined(ENABLE_NLS)
+  #  define ENABLE_NLS	/* so the texts in the dialog boxes are translated */
+*** ../vim-7.1.000/src/gui_gtk_x11.c	Thu May 10 21:17:51 2007
+--- src/gui_gtk_x11.c	Mon May 14 14:41:06 2007
+***************
+*** 36,43 ****
+  # ifdef bindtextdomain
+  #  undef bindtextdomain
+  # endif
+! # ifdef bindtextdomain_codeset
+! #  undef bindtextdomain_codeset
+  # endif
+  # if defined(FEAT_GETTEXT) && !defined(ENABLE_NLS)
+  #  define ENABLE_NLS	/* so the texts in the dialog boxes are translated */
+--- 36,43 ----
+  # ifdef bindtextdomain
+  #  undef bindtextdomain
+  # endif
+! # ifdef bind_textdomain_codeset
+! #  undef bind_textdomain_codeset
+  # endif
+  # if defined(FEAT_GETTEXT) && !defined(ENABLE_NLS)
+  #  define ENABLE_NLS	/* so the texts in the dialog boxes are translated */
+*** ../vim-7.1.000/src/version.c	Sat May 12 16:34:15 2007
+--- src/version.c	Mon May 14 14:42:19 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     1,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+127. You bring your laptop and cellular phone to church.
+
+ /// 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.002
diff -u /dev/null SOURCES/7.1.002:1.1
--- /dev/null	Mon Jul 23 10:54:23 2007
+++ SOURCES/7.1.002	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,69 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.002
+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.002
+Problem:    Oracle Pro*C/C++ files are not detected.
+Solution:   Add the missing star. (Micah J. Cowan)
+Files:	    runtime/filetype.vim
+
+
+*** ../vim-7.1.001/runtime/filetype.vim	Thu May 10 20:42:30 2007
+--- runtime/filetype.vim	Tue May 15 09:12:06 2007
+***************
+*** 1,7 ****
+  " Vim support file to detect file types
+  "
+  " Maintainer:	Bram Moolenaar <Bram at vim.org>
+! " Last Change:	2007 May 10
+  
+  " Listen very carefully, I will say this only once
+  if exists("did_load_filetypes")
+--- 1,7 ----
+  " Vim support file to detect file types
+  "
+  " Maintainer:	Bram Moolenaar <Bram at vim.org>
+! " Last Change:	2007 May 15
+  
+  " Listen very carefully, I will say this only once
+  if exists("did_load_filetypes")
+***************
+*** 1286,1292 ****
+  au BufNewFile,BufRead *.it,*.ih			setf ppwiz
+  
+  " Oracle Pro*C/C++
+! au BufNewFile,BufRead .pc			setf proc
+  
+  " Privoxy actions file
+  au BufNewFile,BufRead *.action			setf privoxy
+--- 1286,1292 ----
+  au BufNewFile,BufRead *.it,*.ih			setf ppwiz
+  
+  " Oracle Pro*C/C++
+! au BufNewFile,BufRead *.pc			setf proc
+  
+  " Privoxy actions file
+  au BufNewFile,BufRead *.action			setf privoxy
+*** ../vim-7.1.001/src/version.c	Mon May 14 19:35:51 2007
+--- src/version.c	Tue May 15 09:13:11 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     2,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+132. You come back and check this list every half-hour.
+
+ /// 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.003
diff -u /dev/null SOURCES/7.1.003:1.1
--- /dev/null	Mon Jul 23 10:54:23 2007
+++ SOURCES/7.1.003	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,48 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.003 (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.003 (extra)
+Problem:    The "Tear off this menu" message appears in the message history
+	    when using a menu. (Yongwei Wu)
+Solution:   Disable message history when displaying the menu tip.
+Files:	    src/gui_w32.c
+
+
+*** ../vim-7.1.002/src/gui_w32.c	Thu May 10 22:17:22 2007
+--- src/gui_w32.c	Sat Jun  9 13:43:07 2007
+***************
+*** 1051,1057 ****
+--- 1051,1059 ----
+  	    if (pMenu != NULL && pMenu->strings[MENU_INDEX_TIP] != 0
+  		    && GetMenuState(s_menuBar, pMenu->id, MF_BYCOMMAND) != -1)
+  	    {
++ 		++msg_hist_off;
+  		msg(pMenu->strings[MENU_INDEX_TIP]);
++ 		--msg_hist_off;
+  		setcursor();
+  		out_flush();
+  		did_menu_tip = TRUE;
+*** ../vim-7.1.002/src/version.c	Tue May 15 09:14:33 2007
+--- src/version.c	Tue Jun 19 10:08:17 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     3,
+  /**/
+
+-- 
+In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975
+of them are to be found in the United States.
+
+ /// 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.004
diff -u /dev/null SOURCES/7.1.004:1.1
--- /dev/null	Mon Jul 23 10:54:24 2007
+++ SOURCES/7.1.004	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,73 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.004
+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.004
+Problem:    Crash when doing ":next directory". (Raphael Finkel)
+Solution:   Do not use "buf", it may be invalid after autocommands.
+Files:	    src/ex_cmds.c
+
+
+*** ../vim-7.1.003/src/ex_cmds.c	Thu May 10 21:24:24 2007
+--- src/ex_cmds.c	Mon Jun 18 22:03:56 2007
+***************
+*** 3367,3373 ****
+  		 * was in this window (or another window).  If not used
+  		 * before, reset the local window options to the global
+  		 * values.  Also restores old folding stuff. */
+! 		get_winopts(buf);
+  #ifdef FEAT_SPELL
+  		did_get_winopts = TRUE;
+  #endif
+--- 3367,3373 ----
+  		 * was in this window (or another window).  If not used
+  		 * before, reset the local window options to the global
+  		 * values.  Also restores old folding stuff. */
+! 		get_winopts(curbuf);
+  #ifdef FEAT_SPELL
+  		did_get_winopts = TRUE;
+  #endif
+***************
+*** 3649,3656 ****
+  #ifdef FEAT_SPELL
+      /* If the window options were changed may need to set the spell language.
+       * Can only do this after the buffer has been properly setup. */
+!     if (did_get_winopts && curwin->w_p_spell && *buf->b_p_spl != NUL)
+! 	did_set_spelllang(buf);
+  #endif
+  
+      if (command == NULL)
+--- 3649,3656 ----
+  #ifdef FEAT_SPELL
+      /* If the window options were changed may need to set the spell language.
+       * Can only do this after the buffer has been properly setup. */
+!     if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
+! 	did_set_spelllang(curbuf);
+  #endif
+  
+      if (command == NULL)
+*** ../vim-7.1.003/src/version.c	Tue Jun 19 10:09:15 2007
+--- src/version.c	Tue Jun 19 11:53:34 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     4,
+  /**/
+
+-- 
+FIRST HEAD:  Oh! quick! get the sword out I want to cut his head off.
+THIRD HEAD:  Oh, cut your own head off.
+SECOND HEAD: Yes - do us all a favour.
+                 "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.1.005
diff -u /dev/null SOURCES/7.1.005:1.1
--- /dev/null	Mon Jul 23 10:54:24 2007
+++ SOURCES/7.1.005	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,149 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.005
+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.005
+Problem:    "cit" used on <foo></foo> deletes <foo>.  Should not delete
+	    anything and start insertion, like "ci'" does on "". (Michal
+	    Bozon)
+Solution:   Handle an empty object specifically.  Made it work consistent for
+	    various text objects.
+Files:	    src/search.c
+
+
+*** ../vim-7.1.004/src/search.c	Thu May 10 20:54:46 2007
+--- src/search.c	Mon Jun  4 12:31:04 2007
+***************
+*** 3600,3612 ****
+      {
+  	oap->start = start_pos;
+  	oap->motion_type = MCHAR;
+  	if (sol)
+- 	{
+  	    incl(&curwin->w_cursor);
+! 	    oap->inclusive = FALSE;
+! 	}
+! 	else
+  	    oap->inclusive = TRUE;
+      }
+  
+      return OK;
+--- 3600,3615 ----
+      {
+  	oap->start = start_pos;
+  	oap->motion_type = MCHAR;
++ 	oap->inclusive = FALSE;
+  	if (sol)
+  	    incl(&curwin->w_cursor);
+! 	else if (lt(start_pos, curwin->w_cursor))
+! 	    /* Include the character under the cursor. */
+  	    oap->inclusive = TRUE;
++ 	else
++ 	    /* End is before the start (no text in between <>, [], etc.): don't
++ 	     * operate on any text. */
++ 	    curwin->w_cursor = start_pos;
+      }
+  
+      return OK;
+***************
+*** 3734,3740 ****
+  
+  	if (in_html_tag(FALSE))
+  	{
+! 	    /* cursor on start tag, move to just after it */
+  	    while (*ml_get_cursor() != '>')
+  		if (inc_cursor() < 0)
+  		    break;
+--- 3737,3743 ----
+  
+  	if (in_html_tag(FALSE))
+  	{
+! 	    /* cursor on start tag, move to its '>' */
+  	    while (*ml_get_cursor() != '>')
+  		if (inc_cursor() < 0)
+  		    break;
+***************
+*** 3838,3844 ****
+  	/* Exclude the start tag. */
+  	curwin->w_cursor = start_pos;
+  	while (inc_cursor() >= 0)
+! 	    if (*ml_get_cursor() == '>' && lt(curwin->w_cursor, end_pos))
+  	    {
+  		inc_cursor();
+  		start_pos = curwin->w_cursor;
+--- 3841,3847 ----
+  	/* Exclude the start tag. */
+  	curwin->w_cursor = start_pos;
+  	while (inc_cursor() >= 0)
+! 	    if (*ml_get_cursor() == '>')
+  	    {
+  		inc_cursor();
+  		start_pos = curwin->w_cursor;
+***************
+*** 3860,3866 ****
+  #ifdef FEAT_VISUAL
+      if (VIsual_active)
+      {
+! 	if (*p_sel == 'e')
+  	    ++curwin->w_cursor.col;
+  	VIsual = start_pos;
+  	VIsual_mode = 'v';
+--- 3863,3873 ----
+  #ifdef FEAT_VISUAL
+      if (VIsual_active)
+      {
+! 	/* If the end is before the start there is no text between tags, select
+! 	 * the char under the cursor. */
+! 	if (lt(end_pos, start_pos))
+! 	    curwin->w_cursor = start_pos;
+! 	else if (*p_sel == 'e')
+  	    ++curwin->w_cursor.col;
+  	VIsual = start_pos;
+  	VIsual_mode = 'v';
+***************
+*** 3872,3878 ****
+      {
+  	oap->start = start_pos;
+  	oap->motion_type = MCHAR;
+! 	oap->inclusive = TRUE;
+      }
+      retval = OK;
+  
+--- 3879,3893 ----
+      {
+  	oap->start = start_pos;
+  	oap->motion_type = MCHAR;
+! 	if (lt(end_pos, start_pos))
+! 	{
+! 	    /* End is before the start: there is no text between tags; operate
+! 	     * on an empty area. */
+! 	    curwin->w_cursor = start_pos;
+! 	    oap->inclusive = FALSE;
+! 	}
+! 	else
+! 	    oap->inclusive = TRUE;
+      }
+      retval = OK;
+  
+*** ../vim-7.1.004/src/version.c	Tue Jun 19 11:54:23 2007
+--- src/version.c	Tue Jun 19 12:57:03 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     5,
+  /**/
+
+-- 
+Life would be so much easier if we could just look at the source code.
+
+ /// 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.006
diff -u /dev/null SOURCES/7.1.006:1.1
--- /dev/null	Mon Jul 23 10:54:24 2007
+++ SOURCES/7.1.006	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,85 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.006
+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.006
+Problem:    Resetting 'modified' in a StdinReadPost autocommand doesn't work.
+Solution:   Set 'modified' before the autocommands instead of after it.
+Files:	    src/buffer.c
+
+
+*** ../vim-7.1.005/src/buffer.c	Thu May 10 18:43:46 2007
+--- src/buffer.c	Fri Jun  8 20:59:04 2007
+***************
+*** 171,176 ****
+--- 171,183 ----
+  	    /* Put the cursor on the first line. */
+  	    curwin->w_cursor.lnum = 1;
+  	    curwin->w_cursor.col = 0;
++ 
++ 	    /* Set or reset 'modified' before executing autocommands, so that
++ 	     * it can be changed there. */
++ 	    if (!readonlymode && !bufempty())
++ 		changed();
++ 	    else if (retval != FAIL)
++ 		unchanged(curbuf, FALSE);
+  #ifdef FEAT_AUTOCMD
+  # ifdef FEAT_EVAL
+  	    apply_autocmds_retval(EVENT_STDINREADPOST, NULL, NULL, FALSE,
+***************
+*** 194,209 ****
+      /* When reading stdin, the buffer contents always needs writing, so set
+       * the changed flag.  Unless in readonly mode: "ls | gview -".
+       * When interrupted and 'cpoptions' contains 'i' set changed flag. */
+!     if ((read_stdin && !readonlymode && !bufempty())
+  #ifdef FEAT_AUTOCMD
+  		|| modified_was_set	/* ":set modified" used in autocmd */
+  # ifdef FEAT_EVAL
+  		|| (aborting() && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
+  # endif
+  #endif
+! 		|| (got_int && vim_strchr(p_cpo, CPO_INTMOD) != NULL))
+  	changed();
+!     else if (retval != FAIL)
+  	unchanged(curbuf, FALSE);
+      save_file_ff(curbuf);		/* keep this fileformat */
+  
+--- 201,216 ----
+      /* When reading stdin, the buffer contents always needs writing, so set
+       * the changed flag.  Unless in readonly mode: "ls | gview -".
+       * When interrupted and 'cpoptions' contains 'i' set changed flag. */
+!     if ((got_int && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
+  #ifdef FEAT_AUTOCMD
+  		|| modified_was_set	/* ":set modified" used in autocmd */
+  # ifdef FEAT_EVAL
+  		|| (aborting() && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
+  # endif
+  #endif
+!        )
+  	changed();
+!     else if (retval != FAIL && !read_stdin)
+  	unchanged(curbuf, FALSE);
+      save_file_ff(curbuf);		/* keep this fileformat */
+  
+*** ../vim-7.1.005/src/version.c	Tue Jun 19 12:58:55 2007
+--- src/version.c	Tue Jun 19 15:37:53 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     6,
+  /**/
+
+-- 
+If I tell you "you have a beautiful body", would you hold it against me?
+
+ /// 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.007
diff -u /dev/null SOURCES/7.1.007:1.1
--- /dev/null	Mon Jul 23 10:54:24 2007
+++ SOURCES/7.1.007	Mon Jul 23 10:54:18 2007
@@ -0,0 +1,221 @@
+To: vim-dev at vim.org
+Subject: patch 7.1.007 (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.007 (extra)
+Problem:    Mac: Context menu doesn't work on Intel Macs.
+            Scrollbars are not dimmed when Vim is not the active application.
+Solution:   Remove the test whether context menus are supported.  They are
+            always there in OS/X.  Handle the dimming. (Nicolas Weber)
+Files:      src/gui_mac.c, src/gui.h
+
+
+*** ../vim-7.1.006/src/gui_mac.c	Thu May 10 20:07:25 2007
+--- src/gui_mac.c	Sat Jun  9 14:19:25 2007
+***************
+*** 1676,1688 ****
+  	/* TODO: NEEDED? */
+  	clickIsPopup = FALSE;
+  
+! 	if ((gui.MacOSHaveCntxMenu) && (mouse_model_popup()))
+! 	    if (IsShowContextualMenuClick(theEvent))
+! 	    {
+! 		vimMouseButton = MOUSE_RIGHT;
+! 		vimModifiers &= ~MOUSE_CTRL;
+! 		clickIsPopup = TRUE;
+! 	    }
+  
+  	/* Is it a double click ? */
+  	dblClick = ((theEvent->when - lastMouseTick) < GetDblTime());
+--- 1676,1687 ----
+  	/* TODO: NEEDED? */
+  	clickIsPopup = FALSE;
+  
+! 	if (mouse_model_popup() && IsShowContextualMenuClick(theEvent))
+! 	{
+! 	    vimMouseButton = MOUSE_RIGHT;
+! 	    vimModifiers &= ~MOUSE_CTRL;
+! 	    clickIsPopup = TRUE;
+! 	}
+  
+  	/* Is it a double click ? */
+  	dblClick = ((theEvent->when - lastMouseTick) < GetDblTime());
+***************
+*** 1920,1943 ****
+      WindowPtr	whichWindow;
+  
+      whichWindow = (WindowPtr) event->message;
+!     if ((event->modifiers) & activeFlag)
+! 	/* Activate */
+! 	gui_focus_change(TRUE);
+!     else
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list