Changes for version 1.77_04 - 2008-03-14
- FIXES
- --[no]ignore-dir option now works also with trailing slash in the directory name.
- A match on the last line of a file where the newline is missing gets the newline added by ack for free!
- ENHANCEMENTS
- Added --break and --heading options. --group is the same as --break --heading.
- Ack gives a better error message when running with an illegal regex.
- Added Actionscript support. Thanks, Yuichi Tateno.
- Added XML Entity file (.ent) support. Thanks, Tim Jenness.
- INTERNALS TESTING
- Fixed test count in case of skipped tests for ack-types.t.
- Fixed test in run_ack for stderr output, again. This should no longer report unexpected succeeds for TODO tests - and now really work.
- Changed method of capturing stderr in tests, should now work on Windows. Thanks, Christopher J. Madsen!
- Changed quoting of command line arguments and adjusted tests to it. Thanks also for the idea this, Christopher J. Madsen!
- And more stuff spotted by Christopher: ack-standalone is no longer set to readonly on Windows.
- More test fixes on Windows provided by Christopher J. Madsen and Jan Dubois.
Changes for version 1.77_03 - 2008-02-20
- CHANGED FUNCTIONALITY
- ack -i -g=regex no longer treats the regex as case-insensitive. This was changed for added consistency. Now -i, -w, -v and -Q only apply to normal ack PATTERN while -g and -G are not affected by these regex modifiers at all.
- ENHANCEMENTS
- Added option -G REGEX to search only files whose path+filename matches REGEX. Thanks go to Michael Hendricks for providing a patch!
- Added option --[no]env to ignore all environment settings including .ackrc.
- Added a --[no]ignore-dir option, to include/exclude additional directories. Many thanks for this patch go to Matthew Wickline!
- Added option --match REGEX to specify a regex explicitly.
- FIXES
- Fixed bug with -v not finding all files correctly (introduced with the performance optimizations in ack 1.75)
- Removed spurious new line after last match in --group output.
- Fixed typos in docs concerning context matching and removed option --rc from docs, since it was never implemented.
- INTERNALS
- Fixed some cross-platform issues in the test cases.
- Fixed test in run_ack for stderr output. This should no longer report unexpected succeeds for TODO tests.
Changes for version 1.77_02 - 2008-01-28
- ENHANCEMENTS
- Added .lsp for --lisp, .st for --smalltalk.
- Added testing for spurious output in the test suite.
Changes for version 1.77_01 - 2008-01-27
- CHANGED FUNCTIONALITY
- ack now always searches files given on the command line, even if they are of the wrong type or not recognized or normally skipped.
- .bak files are now automatically skipped. I don't know how I missed this before.
- FIXES
- Added a test for the Perl 5.10 regex bug fixed in 1.76.
- Made the regex for --thppptttt a little more robust. It used to have to end with a single "t", but now it's more flexible.
- Changed year in copyright note to 2008.
- Updated references in README (removed link to CPAN RT Queue).
- Fixed a problem with files with non-native line-ending (DOS or MacOS on Unix). Instead of the matching line an empty line was output. This was reported by multiple people, thanks!
- Rewrote a test to work around a bug in old versions of Test::More (before 0.48_2).
- Fixed ack failure when encountering unreadable files. Reported by David Dyck, thank you!
- ENHANCEMENTS
- Ack warns now when the files/directories given on the command line don't exist.
- Finally ack allows you to define your own types! See options --type-set and --type-add. There are some restrictions left, but it should suffice for most things.
Modules
A container for functions for the ack program