summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.593
blob: b8f26748f249d16abf0165b7820826fb12625670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
To: vim_dev@googlegroups.com
Subject: Patch 7.3.593
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
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    ///