Karsten Hopp f20505
To: vim_dev@googlegroups.com
Karsten Hopp f20505
Subject: Patch 7.3.774
Karsten Hopp f20505
Fcc: outbox
Karsten Hopp f20505
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f20505
Mime-Version: 1.0
Karsten Hopp f20505
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f20505
Content-Transfer-Encoding: 8bit
Karsten Hopp f20505
------------
Karsten Hopp f20505
Karsten Hopp f20505
Patch 7.3.774
Karsten Hopp f20505
Problem:    Tiny GUI version misses console dialog feature.
Karsten Hopp f20505
Solution:   Define FEAT_CON_DIALOG when apprpriate. (Christian Brabandt)
Karsten Hopp f20505
Files:	    src/feature.h, src/gui.h
Karsten Hopp f20505
Karsten Hopp f20505
Karsten Hopp f20505
*** ../vim-7.3.773/src/feature.h	2012-10-21 02:17:28.000000000 +0200
Karsten Hopp f20505
--- src/feature.h	2013-01-23 13:33:52.000000000 +0100
Karsten Hopp f20505
***************
Karsten Hopp f20505
*** 792,797 ****
Karsten Hopp f20505
--- 792,806 ----
Karsten Hopp f20505
  #endif
Karsten Hopp f20505
  
Karsten Hopp f20505
  /*
Karsten Hopp f20505
+  * On some systems, when we compile with the GUI, we always use it.  On Mac
Karsten Hopp f20505
+  * there is no terminal version, and on Windows we can't figure out how to
Karsten Hopp f20505
+  * fork one off with :gui.
Karsten Hopp f20505
+  */
Karsten Hopp f20505
+ #if defined(FEAT_GUI_MSWIN) || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_UNIX))
Karsten Hopp f20505
+ # define ALWAYS_USE_GUI
Karsten Hopp f20505
+ #endif
Karsten Hopp f20505
+ 
Karsten Hopp f20505
+ /*
Karsten Hopp f20505
   * +dialog_gui		Use GUI dialog.
Karsten Hopp f20505
   * +dialog_con		May use Console dialog.
Karsten Hopp f20505
   *			When none of these defined there is no dialog support.
Karsten Hopp f20505
***************
Karsten Hopp f20505
*** 820,825 ****
Karsten Hopp f20505
--- 829,837 ----
Karsten Hopp f20505
  	 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \
Karsten Hopp f20505
  	 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC))
Karsten Hopp f20505
  # define FEAT_GUI_TEXTDIALOG
Karsten Hopp f20505
+ # ifndef ALWAYS_USE_GUI
Karsten Hopp f20505
+ #  define FEAT_CON_DIALOG
Karsten Hopp f20505
+ # endif
Karsten Hopp f20505
  #endif
Karsten Hopp f20505
  
Karsten Hopp f20505
  /* Mac specific thing: Codewarrior interface. */
Karsten Hopp f20505
*** ../vim-7.3.773/src/gui.h	2011-06-26 04:48:56.000000000 +0200
Karsten Hopp f20505
--- src/gui.h	2013-01-23 13:33:24.000000000 +0100
Karsten Hopp f20505
***************
Karsten Hopp f20505
*** 59,73 ****
Karsten Hopp f20505
  #endif
Karsten Hopp f20505
  
Karsten Hopp f20505
  /*
Karsten Hopp f20505
-  * On some systems, when we compile with the GUI, we always use it.  On Mac
Karsten Hopp f20505
-  * there is no terminal version, and on Windows we can't figure out how to
Karsten Hopp f20505
-  * fork one off with :gui.
Karsten Hopp f20505
-  */
Karsten Hopp f20505
- #if defined(FEAT_GUI_MSWIN) || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_UNIX))
Karsten Hopp f20505
- # define ALWAYS_USE_GUI
Karsten Hopp f20505
- #endif
Karsten Hopp f20505
- 
Karsten Hopp f20505
- /*
Karsten Hopp f20505
   * On some systems scrolling needs to be done right away instead of in the
Karsten Hopp f20505
   * main loop.
Karsten Hopp f20505
   */
Karsten Hopp f20505
--- 59,64 ----
Karsten Hopp f20505
*** ../vim-7.3.773/src/version.c	2013-01-19 14:01:57.000000000 +0100
Karsten Hopp f20505
--- src/version.c	2013-01-23 13:38:12.000000000 +0100
Karsten Hopp f20505
***************
Karsten Hopp f20505
*** 727,728 ****
Karsten Hopp f20505
--- 727,730 ----
Karsten Hopp f20505
  {   /* Add new patch number below this line */
Karsten Hopp f20505
+ /**/
Karsten Hopp f20505
+     774,
Karsten Hopp f20505
  /**/
Karsten Hopp f20505
Karsten Hopp f20505
-- 
Karsten Hopp f20505
Overflow on /dev/null, please empty the bit bucket.
Karsten Hopp f20505
Karsten Hopp f20505
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f20505
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f20505
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp f20505
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///