[23781] distfiles/general/guitab.v7.diff
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 9 15:26:25 PDT 2007
Revision: 23781
http://trac.macosforge.org/projects/macports/changeset/23781
Author: pipping at macports.org
Date: 2007-04-09 15:26:01 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
* mirror patch for vim-app
Added Paths:
-----------
distfiles/general/guitab.v7.diff
Added: distfiles/general/guitab.v7.diff
===================================================================
--- distfiles/general/guitab.v7.diff (rev 0)
+++ distfiles/general/guitab.v7.diff 2007-04-09 22:26:01 UTC (rev 23781)
@@ -0,0 +1,983 @@
+Index: src/proto/gui_mac.pro
+===================================================================
+*** src/proto/gui_mac.pro (revision 234)
+--- src/proto/gui_mac.pro (working copy)
+***************
+*** 84,89 ****
+--- 84,93 ----
+ int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
+ char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
+ void gui_mch_set_foreground __ARGS((void));
++ void gui_mch_show_tabline __ARGS((int showit));
++ int gui_mch_showing_tabline __ARGS((void));
++ void gui_mch_update_tabline __ARGS((void));
++ void gui_mch_set_curtab __ARGS((int nr));
+
+ char_u *C2Pascal_save __ARGS((char_u *Cstring));
+ char_u *C2Pascal_save_and_remove_backslash __ARGS((char_u *Cstring));
+Index: src/gui.c
+===================================================================
+*** src/gui.c (revision 234)
+--- src/gui.c (working copy)
+***************
+*** 1159,1165 ****
+ #endif
+
+ # if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \
+! || defined(FEAT_GUI_MOTIF))
+ if (gui_has_tabline())
+ text_area_y += gui.tabline_height;
+ #endif
+--- 1159,1165 ----
+ #endif
+
+ # if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \
+! || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_MAC))
+ if (gui_has_tabline())
+ text_area_y += gui.tabline_height;
+ #endif
+***************
+*** 2714,2720 ****
+ }
+
+ /*
+! * Fill buffer with mouse coordinates encoded for check_termcode().
+ */
+ static void
+ fill_mouse_coord(p, col, row)
+--- 2714,2720 ----
+ }
+
+ /*
+! * Fill p[4] with mouse coordinates encoded for check_termcode().
+ */
+ static void
+ fill_mouse_coord(p, col, row)
+Index: src/gui.h
+===================================================================
+*** src/gui.h (revision 234)
+--- src/gui.h (working copy)
+***************
+*** 71,76 ****
+--- 71,80 ----
+ # define ALWAYS_USE_GUI
+ #endif
+
++ /*
++ * On some systems scrolling needs to be done right away instead of in the
++ * main loop.
++ */
+ #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MAC) || defined(HAVE_GTK2)
+ # define USE_ON_FLY_SCROLL
+ #endif
+***************
+*** 421,427 ****
+ #endif /* FEAT_GUI_GTK */
+
+ #if defined(FEAT_GUI_TABLINE) \
+! && (defined(FEAT_GUI_W32) || defined(FEAT_GUI_MOTIF))
+ int tabline_height;
+ #endif
+
+--- 425,432 ----
+ #endif /* FEAT_GUI_GTK */
+
+ #if defined(FEAT_GUI_TABLINE) \
+! && (defined(FEAT_GUI_W32) || defined(FEAT_GUI_MOTIF) \
+! || defined(FEAT_GUI_MAC))
+ int tabline_height;
+ #endif
+
+Index: src/gui_mac.c
+===================================================================
+*** src/gui_mac.c (revision 234)
+--- src/gui_mac.c (working copy)
+***************
+*** 4,10 ****
+ * GUI/Motif support by Robert Webb
+ * Macintosh port by Dany St-Amant
+ * and Axel Kielhorn
More information about the macports-changes
mailing list