forked from beyondgrep/ack1
/
Changes
129 lines (83 loc) · 3.63 KB
/
Changes
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Changelog for ack
1.60 Fri Mar 9 22:34:15 CST 2007
[FIXES]
ack should behave better when running under a shell now.
[ENHANCEMENTS]
ack now recognizes makefiles and Visual Basic files.
Added new extensions for Mason per
http://masonhq.com/?FAQ:ServerConfiguration#h-what_filename_extensions_should_i_use_for_mason_components_
Thanks, Elias Lutfallah.
Added .rxml to --ruby. Thanks, Ian Langworth.
Added .php3, .php4 and .php5 to --php5. Added --jsp extensions.
Thanks, Stephen Steneker.
Teeny speed optimizations on some regexes.
Changed App::Ack::should_ignore to ::is_searchable() (and
reversed the meaning).
Added error checking on file closes.
Improved how it knows if it's running interactive by stealing
is_interactive() from IO::Interactive.
[DOCUMENTATION]
Added example of using with vim. Thanks, Mark Stosberg.
1.58 Thu Jan 18 22:46:36 CST 2007
[THINGS THAT MAY BREAK YOUR CODE]
The PHP list of extensions no longer includes .htm and .html.
[FIXES]
Directories with a file named "0" would stop ack's searching.
[ENHANCEMENTS]
Added a --tcl flag. Thanks, Matt Diephouse.
1.56 Wed Jan 17 12:55:38 CST 2007
[FIXES]
Now correctly handles filetypes of files with multiple periods.
[ENHANCEMENTS]
Added .xs to the list of --cc files.
Warning messages now include the name "ack" at the beginning
of them.
Now skips .git directories.
1.54 Sun Jan 7 22:34:57 CST 2007
[THINGS THAT MAY BREAK YOUR CODE]
ack no longer follows symlinks by default, except for starting
points specified on the command line.
[ENHANCEMENTS]
Added the --follow/--nofollow switches for following symlinks.
Added .sty and .cls to the --tex files. Thanks, Uwe Voelker.
[FIXES]
t/filetypes.t would fail sometimes based on hash order.
1.52 Fri Dec 22 00:41:45 CST 2006
[FIXES]
In 1.51_01, I changed how we check the -B of a file, but it's
not reliable. Perl's -B operator acts differently if you call
-B $filename vs. -B $fh.
[ENHANCEMENTS]
I changed some internal code to figure out a file's extension.
By using my own, instead of File::Basename, I cut out over 50%
of the run time on my test of acking through a large tree.
When using -a, it's not necessary to determine the filetype
before searching, only if we should ignore the file or not.
This cut out an additional 10% or so of execution time when
doing -a searces.
[INTERNALS]
We no longer need to build a list of all used suffixes. This
makes startup quicker.
1.51_01 Mon Dec 18 12:59:28 CST 2006
Development version. I'm putting this out so hardcore ack users
can test out some new features.
[FIXES]
Tests now pass under Windows.
[FEATURES]
You can now set the colors for display with the ACK_COLOR_MATCH
and ACK_COLOR_FILENAME environment variables.
[ENHANCEMENTS]
ack-standalone now builds with a shebang line of "#!/usr/bin/env
perl", which is more compatible. Of course, you're welcome to
change it to whatever you like.
I now check for binaryness on the already-open file, rather
than reopening it from the filesystem. This gave me about a
1% speedup in my tests.
Started adding sanity checks to the options. For instance, it
doesn't make sense to use -l and -C together, so ack will
complain about that.
Added a --sort-files option.
[INTERNALS]
More testing on XML and PHP detection courtesy Bill Ricker.
Lots of refactoring of search() in preparation for showing
context around matches.