To: vim_dev@googlegroups.com Subject: Patch 7.3.593 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.3.593 Problem: No easy way to decide if b:browsefilter will work. Solution: Add the browsefilter feature. Files: src/gui_gtk.c, src/eval.c, src/vim.h *** ../vim-7.3.592/src/gui_gtk.c 2012-07-10 13:12:46.000000000 +0200 --- src/gui_gtk.c 2012-07-10 13:40:38.000000000 +0200 *************** *** 779,787 **** /* * Implementation of the file selector related stuff */ - #if GTK_CHECK_VERSION(2,4,0) - # define USE_FILE_CHOOSER - #endif #ifndef USE_FILE_CHOOSER static void --- 779,784 ---- *** ../vim-7.3.592/src/eval.c 2012-06-29 12:54:32.000000000 +0200 --- src/eval.c 2012-07-10 13:34:10.000000000 +0200 *************** *** 12044,12049 **** --- 12044,12054 ---- "all_builtin_terms", # endif #endif + #if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \ + || defined(FEAT_GUI_W32) \ + || defined(FEAT_GUI_MOTIF)) + "browsefilter", + #endif #ifdef FEAT_BYTEOFF "byte_offset", #endif *** ../vim-7.3.592/src/vim.h 2012-06-13 17:28:51.000000000 +0200 --- src/vim.h 2012-07-10 13:30:44.000000000 +0200 *************** *** 2125,2130 **** --- 2125,2136 ---- # endif #endif + #if defined(FEAT_BROWSE) && defined(GTK_CHECK_VERSION) + # if GTK_CHECK_VERSION(2,4,0) + # define USE_FILE_CHOOSER + # endif + #endif + #ifndef FEAT_NETBEANS_INTG # undef NBDEBUG #endif *** ../vim-7.3.592/src/version.c 2012-07-10 13:12:46.000000000 +0200 --- src/version.c 2012-07-10 13:34:50.000000000 +0200 *************** *** 716,717 **** --- 716,719 ---- { /* Add new patch number below this line */ + /**/ + 593, /**/ -- hundred-and-one symptoms of being an internet addict: 102. When filling out your driver's license application, you give your IP address. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///