| 1 |
History file for ack. http://beyondgrep.com/ |
| 2 |
|
| 3 |
2.14 Wed Sep 3 22:48:00 CDT 2014 |
| 4 |
==================================== |
| 5 |
[FIXES] |
| 6 |
The -s flag would fail to suppress certain warnings. Thanks, Kassio |
| 7 |
Borges. (GitHub ticket #439) |
| 8 |
|
| 9 |
The -w flag would fail to work properly with regex features such as |
| 10 |
alternation. Thanks to Ed Avis for the report (GitHub ticket #443) |
| 11 |
|
| 12 |
The -g flag should now work faster on larger codebases. Thanks to |
| 13 |
Manuel Meurer for the report (GitHub ticket #458) |
| 14 |
|
| 15 |
[ENHANCEMENTS] |
| 16 |
ack now ignores JavaScript and CSS source maps. Thanks, Chris |
| 17 |
Rebert. |
| 18 |
|
| 19 |
ack now ships with customized shell completion scripts for bash and zsh. |
| 20 |
|
| 21 |
|
| 22 |
2.13_06 Sat Jan 25 23:36:09 CST 2014 |
| 23 |
==================================== |
| 24 |
[FIXES] |
| 25 |
More fixes for Windows tests. Thanks to GitHub user @ispedals. |
| 26 |
|
| 27 |
[ENHANCEMENTS] |
| 28 |
|
| 29 |
Add docs for available colors in ack. |
| 30 |
|
| 31 |
2.13_05 Thu Jan 9 22:41:33 CST 2014 |
| 32 |
==================================== |
| 33 |
[FIXES] |
| 34 |
More whack-a-mole with Windows failures. This time, it's POSIX::mkfifo |
| 35 |
dying on Windows instead of returning undef like the docs implied, |
| 36 |
or at least that I inferred. |
| 37 |
|
| 38 |
[ENHANCEMENTS] |
| 39 |
--create-ackrc keeps the comments that describe each of the options, |
| 40 |
and it shows the ack version number. |
| 41 |
|
| 42 |
|
| 43 |
2.13_04 Sat Jan 4 11:17:28 CST 2014 |
| 44 |
==================================== |
| 45 |
[FIXES] |
| 46 |
Fixed incorrect deduping of config files under Windows. Thanks, |
| 47 |
Denis Howe. |
| 48 |
|
| 49 |
|
| 50 |
2.13_03 Thu Jan 2 22:23:03 CST 2014 |
| 51 |
==================================== |
| 52 |
[FIXES] |
| 53 |
More build fixes for Windows. Windows config finder fixes from |
| 54 |
James McCoy. |
| 55 |
|
| 56 |
t/ack-named-pipes.t uses POSIX::mkfifo instead of the external |
| 57 |
command, which should be more portable. Thanks, Pete Krawczyk. |
| 58 |
|
| 59 |
[ENHANCEMENTS] |
| 60 |
Now ignores Cabal (Haskell) sandboxes. Thanks, Fraser Tweedale. |
| 61 |
|
| 62 |
Added filetypes for Jade, Smarty and Stylus. Thanks, Raúl Gundín. |
| 63 |
|
| 64 |
|
| 65 |
2.13_02 Fri Dec 27 12:54:27 CST 2013 |
| 66 |
==================================== |
| 67 |
[FIXES] |
| 68 |
The building of ack-standalone relied on the output of `perldoc |
| 69 |
-l`, which I apparently can't rely on having been installed. I've |
| 70 |
changed the way that the squash program finds File::Next. |
| 71 |
|
| 72 |
|
| 73 |
2.13_01 Wed Dec 25 13:36:08 CST 2013 |
| 74 |
==================================== |
| 75 |
So this is Christmas |
| 76 |
And what have you done |
| 77 |
I'm sitting here hacking |
| 78 |
On ack 2.13_01 |
| 79 |
-- via Pete Krawczyk |
| 80 |
|
| 81 |
[FIXES] |
| 82 |
Issue #313: ack would fail when trying to check files for readability |
| 83 |
on some networked filesystems, or on Mac OS X with ACLs. Now it |
| 84 |
uses the filetest pragma. Thanks, Jonathan Perret. |
| 85 |
|
| 86 |
|
| 87 |
[INTERNALS] |
| 88 |
ack's entire test suite now runs under Perl's -T taint flag. We'll |
| 89 |
build more security tests on top of this. |
| 90 |
|
| 91 |
Added some checks to the squash program that I hope will turn up |
| 92 |
errors in the Windows builds. |
| 93 |
|
| 94 |
|
| 95 |
2.12 Tue Dec 3 07:05:02 CST 2013 |
| 96 |
==================================== |
| 97 |
[SECURITY FIXES] |
| 98 |
This verison of ack prevents the --pager, --regex and --output |
| 99 |
options from being used from project-level ackrc files. It is |
| 100 |
possible to execute malicious code with these options, and we want |
| 101 |
to prevent the security risk of acking through a potentially malicious |
| 102 |
codebase, such as one downloaded from an Internet site or checked |
| 103 |
out from a code repository. |
| 104 |
|
| 105 |
The --pager, --regex and --output options may still be used from |
| 106 |
the global /etc/ackrc, your own private ~/.ackrc, the ACK_OPTIONS |
| 107 |
environment variable, and of course from the command line. |
| 108 |
|
| 109 |
[ENHANCEMENTS] |
| 110 |
Now ignores Eclipse .metadata directory. Thanks, Steffen Jaeckel. |
| 111 |
|
| 112 |
[INTERNALS] |
| 113 |
Removed the Git revision tracking in the --version. |
| 114 |
|
| 115 |
|
| 116 |
2.11_02 Sun Oct 6 12:39:21 CDT 2013 |
| 117 |
==================================== |
| 118 |
[FIXES] |
| 119 |
2.11_01 was mispackaged. This fixes that. |
| 120 |
|
| 121 |
|
| 122 |
2.11_01 Sun Sep 29 13:15:41 CDT 2013 |
| 123 |
==================================== |
| 124 |
[FIXES] |
| 125 |
Fixed a race condition in t/file-permission.t that was causing |
| 126 |
failures if tests were run in parallel. |
| 127 |
|
| 128 |
|
| 129 |
2.10 Tue Sep 24 16:24:11 CDT 2013 |
| 130 |
==================================== |
| 131 |
[ENHANCEMENTS] |
| 132 |
Add --perltest for *.t files. |
| 133 |
|
| 134 |
Added Matlab support. Thanks, Zertrin. |
| 135 |
|
| 136 |
[FIXES] |
| 137 |
Fix the test suite for Win32. Many thanks to Christian Walde for |
| 138 |
bringing the severity of this issue to our attention, as well as |
| 139 |
providing a Win32 development environment for us to work with. |
| 140 |
|
| 141 |
Fixed Win32-detection in the Makefile.PL. Thanks, Michael Beijen |
| 142 |
and Alexandr Ciornii. |
| 143 |
|
| 144 |
More compatibility fixes for Perl 5.8.8. |
| 145 |
|
| 146 |
|
| 147 |
2.08 Thu Aug 22 23:11:45 CDT 2013 |
| 148 |
==================================== |
| 149 |
[ENHANCEMENTS] |
| 150 |
ack now ignores CMake's build/cache directories by default. Thanks, |
| 151 |
Volodymyr Medvid. |
| 152 |
|
| 153 |
Add shebang matching for --lua files. |
| 154 |
|
| 155 |
Add documentation for --ackrc. |
| 156 |
|
| 157 |
Add Elixir filetype. |
| 158 |
|
| 159 |
Add --cathy option. Thanks to Joe McMahon. |
| 160 |
|
| 161 |
Add some helpful debugging tips when an invalid option is found. |
| 162 |
Thanks to Charles Lee. |
| 163 |
|
| 164 |
Ignore PDF files by default, because Perl will detect them as text. |
| 165 |
|
| 166 |
Ignore .gif, .jpg, .jpeg and .png files. They won't normally be |
| 167 |
selected, but this is an optimization so that ack doesn't have to |
| 168 |
open them to know. |
| 169 |
|
| 170 |
[FIXES] |
| 171 |
Ack's colorizing of output would get confused with multiple sets |
| 172 |
of parentheses. This has been fixed. (Issue #276) |
| 173 |
|
| 174 |
Ack would get confused when trying to colorize the output in |
| 175 |
DOS-format files. This has been fixed. (Issue #145) |
| 176 |
|
| 177 |
|
| 178 |
2.06 |
| 179 |
==================================== |
| 180 |
This mistake of an upload lived for only about 15 minutes. |
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
2.05_01 Tue May 28 10:12:04 CDT 2013 |
| 185 |
==================================== |
| 186 |
[ENHANCEMENTS] |
| 187 |
We now ignore the node_modules directories created by npm. Thanks, |
| 188 |
Konrad Borowski. |
| 189 |
|
| 190 |
--pager without an argument implies --pager=$PAGER. |
| 191 |
|
| 192 |
--perl now recognizes Plack-style .psgi files. Thanks, Ron Savage. |
| 193 |
|
| 194 |
Added filetypes for Coffescript, JSON, LESS, and Sass. |
| 195 |
|
| 196 |
[FIXES] |
| 197 |
Command-line options now override options set in ackrc files. |
| 198 |
|
| 199 |
ACK_PAGER and ACK_PAGER_COLOR now work as advertised. |
| 200 |
|
| 201 |
Fix a bug resulting in uninitialized variable warnings when more |
| 202 |
than one capture group was specified in the search pattern. |
| 203 |
|
| 204 |
Make sure ack is happy to build and test under cron and other |
| 205 |
console-less environments. |
| 206 |
|
| 207 |
Colored output is now supported and on by default on Windows. |
| 208 |
|
| 209 |
2.04 Fri Apr 26 22:47:55 CDT 2013 |
| 210 |
==================================== |
| 211 |
ack now runs on a standard Perl 5.8.8 install with no module updates. |
| 212 |
The minimum Perl requirement for ack is now explicitly 5.8.8. Anything |
| 213 |
before 5.8.8 will not work, and we've added checks. Thanks, Michael |
| 214 |
McClimon. |
| 215 |
|
| 216 |
[FIXES] |
| 217 |
ack was colorizing captured groups even if --nocolor was given. |
| 218 |
Thanks, Dale Sedivic. |
| 219 |
|
| 220 |
[ENHANCEMENTS] |
| 221 |
The --shell file type now recognizes the fish shell. |
| 222 |
|
| 223 |
We now ignore minified CSS or Javascript, in the form of either *.css.min |
| 224 |
or *.min.css, or *.js.min or *.min.js. |
| 225 |
|
| 226 |
Added support for the Dart language. |
| 227 |
|
| 228 |
ack 2.02 was much slower than ack 1.96, up to 8x slower in some cases. |
| 229 |
These slowdowns have been mostly eliminated, and in some cases ack 2.04 |
| 230 |
is now faster than 1.96. |
| 231 |
|
| 232 |
|
| 233 |
2.02 Thu Apr 18 23:51:52 CDT 2013 |
| 234 |
==================================== |
| 235 |
[ENHANCEMENTS] |
| 236 |
The firstlinematch file type detection option now only searches the |
| 237 |
first 250 characters of the first line of the file. Otherwise, ack |
| 238 |
would read entire text files that were only one line long, such as |
| 239 |
minified JavaScript, and that would be slow. Thanks, Michael |
| 240 |
McClimon. |
| 241 |
|
| 242 |
[DOCUMENTATION] |
| 243 |
Many clarifications and cleanups. Thanks, Michael McClimon. |
| 244 |
|
| 245 |
|
| 246 |
2.00 Wed Apr 17 22:49:41 CDT 2013 |
| 247 |
==================================== |
| 248 |
|
| 249 |
The first version of ack 2.0. |
| 250 |
|
| 251 |
|
| 252 |
# Incompatibilities with ack 1.x |
| 253 |
|
| 254 |
ack 2 makes some big changes in its behaviors that could trip up |
| 255 |
users who are used to the idiosyncracies of ack 1.x. These changes |
| 256 |
could affect your searching happiness, so please read them. |
| 257 |
|
| 258 |
* ack's default behavior is now to search all files that it identifies |
| 259 |
as being text. ack 1.x would only search files that were of a file |
| 260 |
type that it recognized. |
| 261 |
|
| 262 |
* Removed the `-a` and `-u` options since the default is to search |
| 263 |
all text files. |
| 264 |
|
| 265 |
* Removed the `--binary` option. ack 2.0 will not find and search |
| 266 |
through binary files. |
| 267 |
|
| 268 |
* Removed the `--skipped` option. |
| 269 |
|
| 270 |
* Removed the `--invert-file-match` option. `-v` now works with |
| 271 |
`-g`. To list files that do not match `/foo/` |
| 272 |
|
| 273 |
ack -g foo -v |
| 274 |
|
| 275 |
* `-g` now obeys all regex options: `-i`, `-w`, `-Q`, `-v` |
| 276 |
|
| 277 |
* Removed the `-G` switch, because it was too confusing to have two |
| 278 |
regexes specified on the command line. Now you use the `-x` switch |
| 279 |
to pipe filenames from one `ack` invocation into another. |
| 280 |
|
| 281 |
To search files with filename matching "sales" for the string "foo": |
| 282 |
|
| 283 |
ack -g sales | ack -x foo |
| 284 |
|
| 285 |
# New features in ack 2.0 |
| 286 |
|
| 287 |
ack 2.0 will: |
| 288 |
|
| 289 |
* By default searches all text files, as identified by Perl's `-T` operator |
| 290 |
* We will no longer have a `-a` switch. |
| 291 |
|
| 292 |
* improved flexibility in defining filetype selectors |
| 293 |
* name equality ($filename eq 'Makefile') |
| 294 |
* glob-style matching (`*.pl` identifies a Perl file) |
| 295 |
* regex-style matching (`/\.pl$/i` identifies a Perl file) |
| 296 |
* shebang-line matching (shebang line matching `/usr/bin/perl/` |
| 297 |
identifies a Perl file) |
| 298 |
|
| 299 |
* support for multiple ackrc files |
| 300 |
* global ackrc (/etc/ackrc) |
| 301 |
* https://github.com/petdance/ack/issues/#issue/79 |
| 302 |
* user-specific ackrc (~/.ackrc) |
| 303 |
* per-project ackrc files (~/myproject/.ackrc) |
| 304 |
|
| 305 |
* you can use --dump to figure which options are set where |
| 306 |
|
| 307 |
* all inclusion/exclusion rules will be in the ackrc files |
| 308 |
* ack 2.0 has a set of definitions for filetypes, directories to |
| 309 |
include or exclude, etc, *but* these are only included so you don't |
| 310 |
need to ship an ackrc file to a new machine. You may tell ack to |
| 311 |
disregard these defaults if you like. |
| 312 |
|
| 313 |
* In addition to the classic `--thpppt` option to draw Bill the |
| 314 |
Cat, `ack --bar` will draw (of course) Admiral Ackbar. |