|
Karsten Hopp |
e76941 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e76941 |
Subject: Patch 7.3.219
|
|
Karsten Hopp |
e76941 |
Fcc: outbox
|
|
Karsten Hopp |
e76941 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e76941 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e76941 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e76941 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e76941 |
------------
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
Patch 7.3.219
|
|
Karsten Hopp |
e76941 |
Problem: Can't compile with GTK on Mac.
|
|
Karsten Hopp |
e76941 |
Solution: Add some #ifdef trickery. (Ben Schmidt)
|
|
Karsten Hopp |
e76941 |
Files: src/os_mac_conv.c, src/os_macosx.m, src/vim.h
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
*** ../mercurial/vim73/src/os_mac_conv.c 2010-08-16 21:23:30.000000000 +0200
|
|
Karsten Hopp |
e76941 |
--- src/os_mac_conv.c 2011-06-13 01:55:17.000000000 +0200
|
|
Karsten Hopp |
e76941 |
***************
|
|
Karsten Hopp |
e76941 |
*** 14,19 ****
|
|
Karsten Hopp |
e76941 |
--- 14,21 ----
|
|
Karsten Hopp |
e76941 |
*/
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
#define NO_X11_INCLUDES
|
|
Karsten Hopp |
e76941 |
+ #define BalloonEval int /* used in header files */
|
|
Karsten Hopp |
e76941 |
+
|
|
Karsten Hopp |
e76941 |
#include "vim.h"
|
|
Karsten Hopp |
e76941 |
#ifndef FEAT_GUI_MAC
|
|
Karsten Hopp |
e76941 |
# include <CoreServices/CoreServices.h>
|
|
Karsten Hopp |
e76941 |
*** ../mercurial/vim73/src/os_macosx.m 2010-10-10 17:08:28.000000000 +0200
|
|
Karsten Hopp |
e76941 |
--- src/os_macosx.m 2011-06-13 01:58:47.000000000 +0200
|
|
Karsten Hopp |
e76941 |
***************
|
|
Karsten Hopp |
e76941 |
*** 18,23 ****
|
|
Karsten Hopp |
e76941 |
--- 18,24 ----
|
|
Karsten Hopp |
e76941 |
/* Avoid a conflict for the definition of Boolean between Mac header files and
|
|
Karsten Hopp |
e76941 |
* X11 header files. */
|
|
Karsten Hopp |
e76941 |
#define NO_X11_INCLUDES
|
|
Karsten Hopp |
e76941 |
+ #define BalloonEval int /* used in header files */
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
#include "vim.h"
|
|
Karsten Hopp |
e76941 |
#import <Cocoa/Cocoa.h>
|
|
Karsten Hopp |
e76941 |
***************
|
|
Karsten Hopp |
e76941 |
*** 27,35 ****
|
|
Karsten Hopp |
e76941 |
* Clipboard support for the console.
|
|
Karsten Hopp |
e76941 |
* Don't include this when building the GUI version, the functions in
|
|
Karsten Hopp |
e76941 |
* gui_mac.c are used then. TODO: remove those instead?
|
|
Karsten Hopp |
e76941 |
! * But for MacVim we need these ones.
|
|
Karsten Hopp |
e76941 |
*/
|
|
Karsten Hopp |
e76941 |
! #if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI) || defined(FEAT_GUI_MACVIM))
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
/* Used to identify clipboard data copied from Vim. */
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
--- 28,36 ----
|
|
Karsten Hopp |
e76941 |
* Clipboard support for the console.
|
|
Karsten Hopp |
e76941 |
* Don't include this when building the GUI version, the functions in
|
|
Karsten Hopp |
e76941 |
* gui_mac.c are used then. TODO: remove those instead?
|
|
Karsten Hopp |
e76941 |
! * But for MacVim we do need these ones.
|
|
Karsten Hopp |
e76941 |
*/
|
|
Karsten Hopp |
e76941 |
! #if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI_ENABLED) || defined(FEAT_GUI_MACVIM))
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
/* Used to identify clipboard data copied from Vim. */
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
*** ../mercurial/vim73/src/vim.h 2011-05-19 18:26:34.000000000 +0200
|
|
Karsten Hopp |
e76941 |
--- src/vim.h 2011-06-13 01:57:17.000000000 +0200
|
|
Karsten Hopp |
e76941 |
***************
|
|
Karsten Hopp |
e76941 |
*** 121,126 ****
|
|
Karsten Hopp |
e76941 |
--- 121,127 ----
|
|
Karsten Hopp |
e76941 |
|| defined(FEAT_GUI_W32) \
|
|
Karsten Hopp |
e76941 |
|| defined(FEAT_GUI_W16) \
|
|
Karsten Hopp |
e76941 |
|| defined(FEAT_GUI_PHOTON)
|
|
Karsten Hopp |
e76941 |
+ # define FEAT_GUI_ENABLED /* also defined with NO_X11_INCLUDES */
|
|
Karsten Hopp |
e76941 |
# if !defined(FEAT_GUI) && !defined(NO_X11_INCLUDES)
|
|
Karsten Hopp |
e76941 |
# define FEAT_GUI
|
|
Karsten Hopp |
e76941 |
# endif
|
|
Karsten Hopp |
e76941 |
*** ../vim-7.3.218/src/version.c 2011-06-13 01:32:42.000000000 +0200
|
|
Karsten Hopp |
e76941 |
--- src/version.c 2011-06-13 02:03:02.000000000 +0200
|
|
Karsten Hopp |
e76941 |
***************
|
|
Karsten Hopp |
e76941 |
*** 711,712 ****
|
|
Karsten Hopp |
e76941 |
--- 711,714 ----
|
|
Karsten Hopp |
e76941 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e76941 |
+ /**/
|
|
Karsten Hopp |
e76941 |
+ 219,
|
|
Karsten Hopp |
e76941 |
/**/
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
--
|
|
Karsten Hopp |
e76941 |
If Microsoft would build a car...
|
|
Karsten Hopp |
e76941 |
... the oil, water temperature, and alternator warning lights would
|
|
Karsten Hopp |
e76941 |
all be replaced by a single "General Protection Fault" warning light.
|
|
Karsten Hopp |
e76941 |
|
|
Karsten Hopp |
e76941 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e76941 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e76941 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e76941 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|