command-t 1.3 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.txt CHANGED
@@ -593,6 +593,7 @@ order):
593
593
  Steven Moazami
594
594
  Sung Pae
595
595
  Victor Hugo Borja
596
+ Woody Peterson
596
597
  Zak Johnson
597
598
 
598
599
  As this was the first Vim plug-in I had ever written I was heavily influenced
@@ -669,6 +670,10 @@ POSSIBILITY OF SUCH DAMAGE.
669
670
 
670
671
  HISTORY *command-t-history*
671
672
 
673
+ 1.3.1 (18 December 2011)
674
+
675
+ - fix jumplist navigation under Ruby 1.9.x (patch from Woody Peterson)
676
+
672
677
  1.3 (27 November 2011)
673
678
 
674
679
  - added the option to maintain multiple caches when changing among
@@ -593,6 +593,7 @@ order):
593
593
  Steven Moazami
594
594
  Sung Pae
595
595
  Victor Hugo Borja
596
+ Woody Peterson
596
597
  Zak Johnson
597
598
 
598
599
  As this was the first Vim plug-in I had ever written I was heavily influenced
@@ -669,6 +670,10 @@ POSSIBILITY OF SUCH DAMAGE.
669
670
 
670
671
  HISTORY *command-t-history*
671
672
 
673
+ 1.3.1 (18 December 2011)
674
+
675
+ - fix jumplist navigation under Ruby 1.9.x (patch from Woody Peterson)
676
+
672
677
  1.3 (27 November 2011)
673
678
 
674
679
  - added the option to maintain multiple caches when changing among
@@ -0,0 +1,46 @@
1
+ :CommandT command-t.txt /*:CommandT*
2
+ :CommandTBuffer command-t.txt /*:CommandTBuffer*
3
+ :CommandTFlush command-t.txt /*:CommandTFlush*
4
+ :CommandTJumps command-t.txt /*:CommandTJumps*
5
+ command-t command-t.txt /*command-t*
6
+ command-t-authors command-t.txt /*command-t-authors*
7
+ command-t-commands command-t.txt /*command-t-commands*
8
+ command-t-contents command-t.txt /*command-t-contents*
9
+ command-t-donations command-t.txt /*command-t-donations*
10
+ command-t-history command-t.txt /*command-t-history*
11
+ command-t-installation command-t.txt /*command-t-installation*
12
+ command-t-intro command-t.txt /*command-t-intro*
13
+ command-t-license command-t.txt /*command-t-license*
14
+ command-t-mappings command-t.txt /*command-t-mappings*
15
+ command-t-options command-t.txt /*command-t-options*
16
+ command-t-pathogen command-t.txt /*command-t-pathogen*
17
+ command-t-requirements command-t.txt /*command-t-requirements*
18
+ command-t-trouble-shooting command-t.txt /*command-t-trouble-shooting*
19
+ command-t-usage command-t.txt /*command-t-usage*
20
+ command-t-website command-t.txt /*command-t-website*
21
+ command-t-wildignore command-t.txt /*command-t-wildignore*
22
+ command-t.txt command-t.txt /*command-t.txt*
23
+ g:CommandTAcceptSelectionMap command-t.txt /*g:CommandTAcceptSelectionMap*
24
+ g:CommandTAcceptSelectionSplitMap command-t.txt /*g:CommandTAcceptSelectionSplitMap*
25
+ g:CommandTAcceptSelectionTabMap command-t.txt /*g:CommandTAcceptSelectionTabMap*
26
+ g:CommandTAcceptSelectionVSplitMap command-t.txt /*g:CommandTAcceptSelectionVSplitMap*
27
+ g:CommandTAlwaysShowDotFiles command-t.txt /*g:CommandTAlwaysShowDotFiles*
28
+ g:CommandTBackspaceMap command-t.txt /*g:CommandTBackspaceMap*
29
+ g:CommandTCancelMap command-t.txt /*g:CommandTCancelMap*
30
+ g:CommandTClearMap command-t.txt /*g:CommandTClearMap*
31
+ g:CommandTCursorEndMap command-t.txt /*g:CommandTCursorEndMap*
32
+ g:CommandTCursorLeftMap command-t.txt /*g:CommandTCursorLeftMap*
33
+ g:CommandTCursorRightMap command-t.txt /*g:CommandTCursorRightMap*
34
+ g:CommandTCursorStartMap command-t.txt /*g:CommandTCursorStartMap*
35
+ g:CommandTDeleteMap command-t.txt /*g:CommandTDeleteMap*
36
+ g:CommandTMatchWindowAtTop command-t.txt /*g:CommandTMatchWindowAtTop*
37
+ g:CommandTMatchWindowReverse command-t.txt /*g:CommandTMatchWindowReverse*
38
+ g:CommandTMaxCachedDirectories command-t.txt /*g:CommandTMaxCachedDirectories*
39
+ g:CommandTMaxDepth command-t.txt /*g:CommandTMaxDepth*
40
+ g:CommandTMaxFiles command-t.txt /*g:CommandTMaxFiles*
41
+ g:CommandTMaxHeight command-t.txt /*g:CommandTMaxHeight*
42
+ g:CommandTNeverShowDotFiles command-t.txt /*g:CommandTNeverShowDotFiles*
43
+ g:CommandTScanDotDirectories command-t.txt /*g:CommandTScanDotDirectories*
44
+ g:CommandTSelectNextMap command-t.txt /*g:CommandTSelectNextMap*
45
+ g:CommandTSelectPrevMap command-t.txt /*g:CommandTSelectPrevMap*
46
+ g:CommandTToggleFocusMap command-t.txt /*g:CommandTToggleFocusMap*
@@ -4,84 +4,67 @@ SHELL = /bin/sh
4
4
  #### Start of system configuration section. ####
5
5
 
6
6
  srcdir = .
7
- topdir = /Users/greg/.multiruby/install/1.9.2-p180/include/ruby-1.9.1
8
- hdrdir = /Users/greg/.multiruby/install/1.9.2-p180/include/ruby-1.9.1
9
- arch_hdrdir = /Users/greg/.multiruby/install/1.9.2-p180/include/ruby-1.9.1/$(arch)
10
- VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
11
- prefix = $(DESTDIR)/Users/greg/.multiruby/install/1.9.2-p180
12
- rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
7
+ topdir = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin11.0
8
+ hdrdir = $(topdir)
9
+ VPATH = $(srcdir):$(topdir):$(hdrdir)
13
10
  exec_prefix = $(prefix)
14
- vendorhdrdir = $(rubyhdrdir)/vendor_ruby
15
- sitehdrdir = $(rubyhdrdir)/site_ruby
16
- rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
17
- vendordir = $(rubylibprefix)/vendor_ruby
18
- sitedir = $(rubylibprefix)/site_ruby
19
- ridir = $(datarootdir)/$(RI_BASE_NAME)
20
- mandir = $(datarootdir)/man
21
- localedir = $(datarootdir)/locale
22
- libdir = $(exec_prefix)/lib
11
+ prefix = $(DESTDIR)/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
12
+ sharedstatedir = $(prefix)/com
13
+ mandir = $(DESTDIR)/usr/share/man
23
14
  psdir = $(docdir)
24
- pdfdir = $(docdir)
25
- dvidir = $(docdir)
26
- htmldir = $(docdir)
27
- infodir = $(datarootdir)/info
28
- docdir = $(datarootdir)/doc/$(PACKAGE)
29
15
  oldincludedir = $(DESTDIR)/usr/include
16
+ localedir = $(datarootdir)/locale
17
+ bindir = $(exec_prefix)/bin
18
+ libexecdir = $(exec_prefix)/libexec
19
+ sitedir = $(DESTDIR)/Library/Ruby/Site
20
+ htmldir = $(docdir)
21
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
30
22
  includedir = $(prefix)/include
31
- localstatedir = $(prefix)/var
32
- sharedstatedir = $(prefix)/com
23
+ infodir = $(DESTDIR)/usr/share/info
24
+ vendorlibdir = $(vendordir)/$(ruby_version)
33
25
  sysconfdir = $(prefix)/etc
34
- datadir = $(datarootdir)
35
- datarootdir = $(prefix)/share
36
- libexecdir = $(exec_prefix)/libexec
26
+ libdir = $(exec_prefix)/lib
37
27
  sbindir = $(exec_prefix)/sbin
38
- bindir = $(exec_prefix)/bin
39
- rubylibdir = $(rubylibprefix)/$(ruby_version)
28
+ rubylibdir = $(libdir)/ruby/$(ruby_version)
29
+ docdir = $(datarootdir)/doc/$(PACKAGE)
30
+ dvidir = $(docdir)
31
+ vendordir = $(libdir)/ruby/vendor_ruby
32
+ datarootdir = $(prefix)/share
33
+ pdfdir = $(docdir)
40
34
  archdir = $(rubylibdir)/$(arch)
41
- sitelibdir = $(sitedir)/$(ruby_version)
42
35
  sitearchdir = $(sitelibdir)/$(sitearch)
43
- vendorlibdir = $(vendordir)/$(ruby_version)
44
- vendorarchdir = $(vendorlibdir)/$(sitearch)
36
+ datadir = $(datarootdir)
37
+ localstatedir = $(prefix)/var
38
+ sitelibdir = $(sitedir)/$(ruby_version)
45
39
 
46
40
  CC = gcc
47
- CXX = g++
48
41
  LIBRUBY = $(LIBRUBY_SO)
49
42
  LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
50
43
  LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
51
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
52
- OUTFLAG = -o
53
- COUTFLAG = -o
44
+ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)
54
45
 
55
46
  RUBY_EXTCONF_H =
56
- cflags = $(optflags) $(debugflags) $(warnflags)
57
- optflags = -O3
58
- debugflags = -ggdb
59
- warnflags = -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
60
- CFLAGS = -fno-common $(cflags) -fno-common -pipe
61
- INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
47
+ CFLAGS = -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common $(cflags)
48
+ INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
62
49
  DEFS =
63
- CPPFLAGS = -DHAVE_RUBY_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE $(DEFS) $(cppflags)
64
- CXXFLAGS = $(CFLAGS) $(cxxflags)
65
- ldflags = -L. -L/usr/local/lib
66
- dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace
67
- ARCH_FLAG =
68
- DLDFLAGS = $(ldflags) $(dldflags)
69
- LDSHARED = $(CC) -dynamic -bundle
70
- LDSHAREDXX = $(CXX) -dynamic -bundle
50
+ CPPFLAGS = -DHAVE_RUBY_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE $(DEFS) $(cppflags)
51
+ CXXFLAGS = $(CFLAGS)
52
+ ldflags = -L. -arch i386 -arch x86_64
53
+ dldflags =
54
+ archflag =
55
+ DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
56
+ LDSHARED = cc -arch i386 -arch x86_64 -pipe -bundle -undefined dynamic_lookup
71
57
  AR = ar
72
58
  EXEEXT =
73
59
 
74
- RUBY_BASE_NAME = ruby
75
60
  RUBY_INSTALL_NAME = ruby
76
- RUBY_SO_NAME = ruby.1.9.1
77
- arch = x86_64-darwin10.6.0
78
- sitearch = $(arch)
79
- ruby_version = 1.9.1
80
- ruby = /Users/greg/.multiruby/install/1.9.2-p180/bin/ruby
61
+ RUBY_SO_NAME = ruby
62
+ arch = universal-darwin11.0
63
+ sitearch = universal-darwin11.0
64
+ ruby_version = 1.8
65
+ ruby = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
81
66
  RUBY = $(ruby)
82
67
  RM = rm -f
83
- RM_RF = $(RUBY) -run -e rm -- -rf
84
- RMDIRS = $(RUBY) -run -e rmdir -- -p
85
68
  MAKEDIRS = mkdir -p
86
69
  INSTALL = /usr/bin/install -c
87
70
  INSTALL_PROG = $(INSTALL) -m 0755
@@ -98,13 +81,12 @@ DEFFILE =
98
81
 
99
82
  CLEANFILES = mkmf.log
100
83
  DISTCLEANFILES =
101
- DISTCLEANDIRS =
102
84
 
103
85
  extout =
104
86
  extout_prefix =
105
87
  target_prefix =
106
88
  LOCAL_LIBS =
107
- LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lobjc
89
+ LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl
108
90
  SRCS = ext.c match.c matcher.c
109
91
  OBJS = ext.o match.o matcher.o
110
92
  TARGET = ext
@@ -116,40 +98,28 @@ BINDIR = $(bindir)
116
98
  RUBYCOMMONDIR = $(sitedir)$(target_prefix)
117
99
  RUBYLIBDIR = $(sitelibdir)$(target_prefix)
118
100
  RUBYARCHDIR = $(sitearchdir)$(target_prefix)
119
- HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
120
- ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
121
101
 
122
102
  TARGET_SO = $(DLLIB)
123
- CLEANLIBS = $(TARGET).bundle
124
- CLEANOBJS = *.o *.bak
125
-
126
- all: $(DLLIB)
127
- static: $(STATIC_LIB)
128
- .PHONY: all install static install-so install-rb
129
- .PHONY: clean clean-so clean-rb
130
-
131
- clean-rb-default::
132
- clean-rb::
133
- clean-so::
134
- clean: clean-so clean-rb-default clean-rb
103
+ CLEANLIBS = $(TARGET).bundle $(TARGET).il? $(TARGET).tds $(TARGET).map
104
+ CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
105
+
106
+ all: $(DLLIB)
107
+ static: $(STATIC_LIB)
108
+
109
+ clean:
135
110
  @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
136
111
 
137
- distclean-rb-default::
138
- distclean-rb::
139
- distclean-so::
140
- distclean: clean distclean-so distclean-rb-default distclean-rb
112
+ distclean: clean
141
113
  @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
142
114
  @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
143
- @-$(RMDIRS) $(DISTCLEANDIRS)
144
115
 
145
- realclean: distclean
116
+ realclean: distclean
146
117
  install: install-so install-rb
147
118
 
148
119
  install-so: $(RUBYARCHDIR)
149
120
  install-so: $(RUBYARCHDIR)/$(DLLIB)
150
121
  $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
151
- @-$(MAKEDIRS) $(@D)
152
- $(INSTALL_PROG) $(DLLIB) $(@D)
122
+ $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
153
123
  install-rb: pre-install-rb install-rb-default
154
124
  install-rb-default: pre-install-rb-default
155
125
  pre-install-rb: Makefile
@@ -164,22 +134,22 @@ site-install-rb: install-rb
164
134
  .SUFFIXES: .c .m .cc .cxx .cpp .C .o
165
135
 
166
136
  .cc.o:
167
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
137
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
168
138
 
169
139
  .cxx.o:
170
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
140
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
171
141
 
172
142
  .cpp.o:
173
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
143
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
174
144
 
175
145
  .C.o:
176
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
146
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
177
147
 
178
148
  .c.o:
179
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
149
+ $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
180
150
 
181
151
  $(DLLIB): $(OBJS) Makefile
182
- @-$(RM) $(@)
152
+ @-$(RM) $@
183
153
  $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
184
154
 
185
155
 
Binary file
@@ -31,7 +31,7 @@ module CommandT
31
31
  include VIM::PathUtilities
32
32
 
33
33
  def paths
34
- jumps_with_filename = jumps.select do |line|
34
+ jumps_with_filename = jumps.lines.select do |line|
35
35
  line_contains_filename?(line)
36
36
  end
37
37
  filenames = jumps_with_filename[1..-2].map do |line|
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- version: "1.3"
8
+ - 1
9
+ version: 1.3.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Wincent Colaiuta
@@ -32,6 +33,7 @@ files:
32
33
  - Rakefile
33
34
  - ruby/command-t/controller.rb
34
35
  - ruby/command-t/depend
36
+ - ruby/command-t/ext.bundle
35
37
  - ruby/command-t/ext.c
36
38
  - ruby/command-t/ext.h
37
39
  - ruby/command-t/extconf.rb
@@ -58,6 +60,7 @@ files:
58
60
  - ruby/command-t/vim/window.rb
59
61
  - ruby/command-t/vim.rb
60
62
  - doc/command-t.txt
63
+ - doc/tags
61
64
  - plugin/command-t.vim
62
65
  has_rdoc: true
63
66
  homepage: https://wincent.com/products/command-t