Up to [cvs.NetBSD.org] / pkgsrc / textproc / p5-ack
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 11 12:08:25 2023 UTC (5 months, 3 weeks ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
HEAD
Changes since 1.20: +4 -4
lines
Diff to previous 1.20 (colored)
Update to 3.7.0 Upstream changes: v3.7.0 Sat Feb 25 14:00:57 CST 2023 ======================================== [FEATURES] Added a repeatable --not option to let you supply patterns that should NOT match. For example, if you want to search for "dogs" but not if "cats" or "fish" are on the same line, you can do: ack dogs --not cats --not fish Added .Rmd to the list of extensions understood to be R. Thanks, Kieran Mace. (GH#358) Added file type for for Powershell (.ps1 and .psm1 files). Thanks, Thomas Gossler, (GH#362) v3.6.0 Sat Aug 20 22:57:47 CDT 2022 ======================================== [FEATURES] Added default ignores for Python's pickle serialization format (GH#348) Added default ignore for Visual Studio's user & workspace settings. Thanks, Gabor Szabo. (GH#324) Added support for the Crystal language. Thanks, Gabor Szabo. (GH#340) Fixed some spelling errors. Thanks, Frieder Bluemle. (GH#310) Added .sbt as a Scala extension. Thanks, Grzegorz Kaczmarczyk. (GH#322) [DOCS] Fixed incorrect example in the docs for --range-start. Thanks, Alex Beamish.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 26 11:22:55 2021 UTC (23 months, 1 week ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
textproc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 11 20:42:22 2021 UTC (23 months, 3 weeks ago) by schmonz
Branch: MAIN
Changes since 1.18: +4 -4
lines
Diff to previous 1.18 (colored)
Update to 3.5.0. From the changelog: - Reworked the option parsing to run correctly with Getopt::Long 2.38. - Added support for the Elm language. (GH#316) - Added support for the Purescript language. (GH#317) - Added support for the Bazel build tool. (GH#327)
Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 7 15:02:01 2021 UTC (23 months, 3 weeks ago) by nia
Branch: MAIN
Changes since 1.17: +1 -2
lines
Diff to previous 1.17 (colored)
textproc: Remove SHA1 hashes for distfiles
Revision 1.17 / (download) - annotate - [select for diffs], Mon Sep 7 17:31:44 2020 UTC (3 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3
Changes since 1.16: +5 -5
lines
Diff to previous 1.16 (colored)
p5-ack: update to 3.4.0. v3.4.0 Mon Jun 29 23:04:18 CDT 2020 ======================================== [FEATURES] When calling "ack -c" to get a list of filenames and counts, the filename would not be colored like when getting normal search results. Now it will. Thanks to Matthew Hughes for adding the feature, and Ophir Lifshitz for the suggestion. (GH#282) Added --toml for the TOML filetype. (GH#306) [FIXES] The test t/ack-x.t would fail when run as root. Now it is skipped. Thanks, Michael LaGrasta. (GH#217)
Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 3 01:57:20 2020 UTC (3 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.15: +5 -5
lines
Diff to previous 1.15 (colored)
Update to 3.3.1. From the changelog: v3.3.1 Mon Jan 13 10:27:16 CST 2020 ======================================== [FIXES] Some regexes would be shown as invalid when used with the -Q option. Since the -Q tells ack to treat the regex as a literal, this shouldn't be possible. (GH#294) v3.3.0 Sat Dec 28 16:00:21 CST 2019 ======================================== [FEATURES] The error message ack displays when the regex passed is invalid has been improved. The message is more readable and includes a pointer to the offending part of the regex. For example: $ ack 'status: (open|closed|in progress' ack: Invalid regex 'status: (open|closed|in progress' Regex: status: (open|closed|in progress ^---HERE Unmatched ( in regex Added many new file and directory exclusions to speed up file selection. * Python's *.pyc, *.pyd and *.pyo compiled files * Python's __pycache__ and .pytest_cache directories * Linux *.so shared object files * Windows dynamic-link library *.dll files * gettext compiled *.mo translation files * macOS's __MACOSX directories and .DS_Store files Reorganized the --help menu to put "action" options like -f, -g and -l at the top of the listing. The --show-types option only has an effect with -f or -g. ack will now tell you if you use --show-types without -f or -g when it will have no effect. Improved the error message when ack gets passed two options that can't be used together. [FIXES] Fixed the behavior of --break and --heading. Using --break would implicitly set --noheading, and --heading would implicitly set --nobreak. The following pairs of options don't make sense to use together, and ack will now warn you if you try: * -x and --files-from * -v and -o * -v and --output * -v and --passthru Fixed the minimum version of the Getopt::Long module required. (GH #287) The line number and filename separators in --passthru mode now work the same as in context (-A/-B/-C) mode. (GH #291) v3.2.0 Sun Nov 3 22:52:18 CST 2019 ======================================== [FEATURES] Added "-t X" as a short alias for --type=X. Added "-T X" as a short alias for --type=noX. The feature of using the name of the type as an option is deprecated. For example, ack currently lets you use "--perl" instead of "--type=perl" or "-t perl", This is now deprecated and will be removed in a future release. Removed support for Parrot (--parrot). v3.1.3 Sat Oct 19 19:23:48 CDT 2019 ======================================== No changes to functionality. Fixed a problem with version numbers. Thanks to Dan Book for his help. See https://github.com/beyondgrep/ack3/commit/b3c43d44109dea6ebc0753107a8e85a6b322f4ca v3.1.2 Mon Oct 14 21:47:51 CDT 2019 ======================================== [SPEEDUP] Using -w with a pattern that ended with a metacharacter would be slower than it should be because it would skip an optimization. Now it's fixed. (GH #181, #251) [FIXES] Fixed test failures that would sometimes happen on Windows machines because of taint mode. Thanks, Tomasz Konojacki. (GH #235) Remove the use of the version.pm module. v3.1.1 Sat Aug 31 22:56:10 CDT 2019 ======================================== [SPEEDUP] Improved the speed up the -l, -L and -c options by pre-scanning the file in bulk before doing line-by-line scan. (GH #221) ack now uses File::Next 1.18 which calls stat() only once per file or directory, instead of sometimes calling it twice. This should improve the time spent traversing directories. [FIXES] On Windows, patterns with $ to mark the end of the line would not match. (GH #229) [DOCUMENTATION] Fixed docs that referred to --range-stop instead of --range-end. (GH #228) v3.1.0 Thu Aug 22 22:43:15 CDT 2019 ======================================== [FEATURES] Added the --range-start and --range-end options to allow searching only ranges of each file. (GH #165) v3.0.3 Tue Aug 20 23:42:02 CDT 2019 ======================================== [FIXES] Made smartcase's check for lowercase patterns smarter. [DOCUMENTATION] Updated many URLs, especially in the config. (GH #223) v3.0.2 Thu Jul 4 21:42:43 CDT 2019 ======================================== [FIXES] ack's smart-case feature would think that a pattern like "select \S+ from" is looking for a uppercase letter, and so would not make a case-insensitive search. Now, ack knows that uppercase letters in metacharacters don't count as looking for a uppercase letter. (GH #156, 187, 214) v3.0.1 Tue Jun 25 20:47:58 CDT 2019 ======================================== [FIXES] The -s option tells ack not to complain about missing or unreadable files it tries to search. The -s option would not always work in conjection with the -x option. Now it does. Thanks, Anders Eriksson and M. Scott Ford. (GH #175) ack would die if you specified a --output option that didn't use one of Perl's special match variables. Now it won't. Thanks, M. Scott Ford. (GH #210) [INTERNALS] Added a Dockerfile for use when working on ack development. Thanks, M. Scott Ford. (GH #208) v3.0.0 Mon May 27 21:46:34 CDT 2019 ======================================== First official release of ack verison 3. See "Release notes for ack 3.0.0" at the bottom of this document for details of what has changed between ack 2.x and ack 3. [FIXES] Fixed a failing test if Pod::Perldoc::ToTextOverstrike was being used. (GH#202) 2.999_08 Sun May 19 20:33:13 CDT 2019 ===================================== [ENHANCEMENTS] Consolidated the manual and FAQ into one document, accessible with --man. Cookbook.pm has been moved to dev for future use. Added SVG filetype. [FIXES] Invalid options used to cause an error message triplicate. Fixes GH #192. 2.999_07 Sun Mar 31 21:54:55 CDT 2019 ===================================== [ENHANCEMENTS] Added --help-colors and --help-rgb-colors options to display colors available for color options. Many more mutex options have been added to help users know when they've made a mistake. For example, it doesn't make sense to have -C to show context when using -f to get a file list. Overhauled the handling of mutually exclusive options. We now properly handle mutex options even if they are abbreviated. The actual argument used is now shown. Fixes GH #57. 2.999_06 Thu Jan 10 20:37:23 CST 2019 ===================================== [ENHANCEMENTS] The --tt option for Template Toolkit is now --ttml. The short version still works. The standalone version of ack no longer supports the --faq or --cookbook options, which never worked right for it anyway. Instead, --man includes the FAQ and Cookbook. The --man option no longer uses the `perldoc` program for rendering the documentation. This means you'll have to pipe it into your own pager if you want scrolling, but it makes it much more portable. [FIXES] ack would stop finding files if there was a file named "0" in the current directory. Thanks, Rob Hoelz. (GH #162) [REMOVED FUNCTIONALITY] The --lines option has been removed. (GH #167) The -u short alias for --underline has been removed. (GH #173) 2.999_05 Sun Oct 21 21:37:39 CDT 2018 ===================================== [ENHANCEMENTS] Add -p as a shorter version of --proximate. 2.999_04 Thu Sep 6 17:45:07 CDT 2018 ===================================== [ENHANCEMENTS] Added -P as a negation of --proximate. It is the same as --proximate=0. If you have --proximate in an .ackrc, -P can be used to cancel it. Added --ts for Typescript. 2.999_03 Fri Jan 19 11:02:46 CST 2018 ===================================== [ENHANCEMENTS] The check for whether we need to scan the entire file line-by-line now reads 10M of file instead of just 100K. Removed support for the ACK_OPTIONS environment variable. Use an ackrc file instead. If you have ACK_OPTIONS set, ack will give a warning. Lots of internal speedups. 2.999_02 Mon Jan 8 23:03:42 CST 2018 ===================================== [ENHANCEMENTS] Added an optimization to make ack only do a line-by-line search of a file if there's a match somewhere in the file. This gives ack a 20-30% in timings of common cases. 2.999_01 Mon Jan 1 22:11:17 CST 2018 ===================================== [ENHANCEMENTS] Added --pod as a filetype, recognizing .pod as its extension. This is Perl's POD (Plain Old Documentation) format. Added --markdown as a filetype, recognizing .md and .markdown as extensions. --pager is no longer allowed in a project .ackrc file. --match and --output are not allowed in any .ackrc file. ack 3's new features are listed below for now. [FIXES] --lines had some mutex options that were not getting checked. Now, --lines is mutex with --passthru, --match and all context options. ============================= # Release notes for ack 3.0.0 ============================= # New features ack 3 is a greplike tool optimized for searching large code trees. Improvements over ack 2 include: * Improved `-w` option. * `-w` option will warn if your pattern does not lend itself to word matching. * `-i`, `-I` and `--smart-case` * `--proximate=N` option * Added `--pod` and `--markdown`. * Added `GNUmakefile` to the list of makefile specs. * Added `-S` as a synonym for `--smart-case`. # Bug fixes * Column numbers were not getting colorized in the output. Added `--color-colno` option and `ACK_COLOR_COLNO` environment variable. * A pattern that wanted whitespace at the end could match the linefeed at the end of a line. This is no longer possible. # Incompatibilities with ack 2 ## ack 3 requires Perl 5.10.1 ack 2 only needed Perl 5.8.8. This shouldn't be a problem since 5.10.1 has been out since 2009. ## ack 3 no longer highlights capture groups. ack 2 would highlight your capture groups. For example, ack '(set|get)_foo_(name|id)' would highlight the `set` or `get`, and the `name` or `id`, but not the full `set_user_id` that was matched. This feature was too confusing and has been removed. Now, the entire matching string is highlighted. ## ack 3's --output allows fewer special variables In ack 2, you could put any kind of Perl code in the `--output` option and it would get `eval`uated at run time, which would let you do tricky stuff like this gem from Mark Fowler (http://www.perladvent.org/2014/2014-12-21.html): ack --output='$&: @{[ eval "use LWP::Simple; 1" && length LWP::Simple::get($&) ]} bytes' \ 'https?://\S+' list.txt http://google.com/: 19529 bytes http://metacpan.org/: 7560 bytes http://www.perladvent.org/: 5562 bytes This has been a security problem in the past, and so in ack 3 we no longer `eval` the contents of `--output`. You're now restricted to the following variables: `$1` thru `$9`, `$_`, `$.`, `$&`, ``$` ``, `$'` and `$+`. You can also embed `\t`, `\n` and `\r` , and `$f` as stand-in for `$filename` in `ack2 --output` .
Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 3 01:39:32 2020 UTC (3 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.14: +5 -5
lines
Diff to previous 1.14 (colored)
Update to 2.28, the last in the 2.x series. From the changelog: 2.28 Mon Mar 18 22:48:57 CDT 2019 ==================================== [ENHANCEMENTS] The --help-rgb-colors option now displays the RGB codes organized by HSL values for easier picking. Thanks, Bill Ricker. 2.26 Sun Mar 17 22:00:00 CDT 2019 ==================================== [ENHANCEMENTS] Added --help-colors and --help-rgb-colors options to display colors available for color options. Clarified the docs for --lines option. Thanks, Rob Hoelz. (GH #673) [FIXES] Use File::Temp for temp files during tests on Win32. Thanks, Tim Gim Yee. (GH #671)
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 24 09:17:27 2018 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.13: +5 -5
lines
Diff to previous 1.13 (colored)
p5-ack: update to 2.24. 2.24 Thu Jun 21 22:41:49 CDT 2018 ==================================== No changes since 2.23_03. 2.23_03 Fri Jun 15 23:18:42 CDT 2018 ==================================== [ENHANCEMENTS] Added --ts for Typescript. [FIXES] ack would stop searching if there was a file called "0" in the current directory where ack was invoked. (GH #667) 2.23_02 Sat Jan 6 23:53:03 CST 2018 ==================================== [FIXES] t/ack-n.t was not calling lists_match() correctly. [ENHANCEMENTS] Added an optimization to make ack only do a line-by-line search of a file if there's a match somewhere in the file. This gives ack a 20-30% in timings of common cases. 2.23_01 ==================================== Broken. Deleted.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 30 15:02:43 2017 UTC (5 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.12: +5 -5
lines
Diff to previous 1.12 (colored)
p5-ack: update to 2.22. 2.22 Fri Dec 22 16:42:43 CST 2017 ==================================== No changes since 2.21_01. 2.21_01 Mon Dec 18 23:40:45 CST 2017 ==================================== [FIXES] Avoid a fatal error that sometimes happened if a file was unreadable. (GH#520) [ENHANCEMENTS] Added support for the Kotlin language. Sped up file type detection for certain files. 2.20 Sun Dec 10 21:54:55 CST 2017 ==================================== No changes since 2.19_01. 2.19_01 Thu Dec 7 23:35:53 CST 2017 ==================================== [FIXES] Changed a construction in the docs that Ubuntu flagged as a misspelling. [ENHANCEMENTS] When using submodules, the .git directory will be a file. Make ack ignore this by default. Thanks, Michele Campeotto. (GH#653) [INTERNALS] Replaced all the test data for the test suite with public domain documents.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 18 12:47:02 2017 UTC (6 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored)
p5-ack: update to 2.18. 2.18 Fri Mar 24 14:53:19 CDT 2017 ==================================== ack 2.18 will probably be the final release in the ack 2.x series. I'm going to be starting work on ack 3.000 in earnest. Still, if you discover problems with ack 2, please report them to https://github.com/petdance/ack2/issues If you're interested in ack 3 development, please sign up for the ack-dev mailing list and/or join the ack Slack. See https://beyondgrep.com/community/ for details. [INTERNALS] Removed the abstraction of App::Ack::Resource and its subclass App::Ack::Resource::Basic. We are abandoning the idea that we'll have plugins. 2.17_02 Thu Mar 23 22:25:13 CDT 2017 ==================================== [FIXES] ack no longer throws an undefined variable warning if it's called from a directory that doesn't exist. (GH #634) [DOCUMENTATION] Explain that filetypes must be two characters or longer. (GH #389) [INTERNALS] Removed dependency on File::Glob which isn't used.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 14 14:41:27 2017 UTC (6 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1
Changes since 1.10: +5 -5
lines
Diff to previous 1.10 (colored)
Update to 2.16. From the changelog: [CONFUSING BEHAVIOR & UPCOMING CHANGES] The -w has a confusing behavior that it's had since back to ack 1.x that will be changing in the future. It's not changing in this version, but this is a heads-up that it's coming. ack -w is "match a whole word", and ack does this by putting turning your PATTERN into \bPATTERN\b. So "ack -w foo" effectively becomes "ack \bfoo\b". Handy. The problem is that ack doesn't put a \b before PATTERN if it begins with a non-word character, and won't put a \b after PATTERN if it ends with a non-word character. The problem is that if you're searching for "fool" or "foot", but only as a word, and you do "ack -w foo[lt]" or "ack -w (fool|foot)", you'll get matches for "football and foolish" which certainly should not match if you're using -w. [ENHANCEMENTS] Include .cljs, .cljc and .edn files with the --clojure filetype. Thanks, Austin Chamberlin. Added .xsd to the --xml filetype. Thanks, Nick Morrott. Added support for Swift language. Thanks, Nikolaj Schumacher. (GH #512) The MSYS2 project is now seen as Windows. Thanks, Ray Donnelly. (GH #450) Expand the definition of OCaml files. Thanks, Marek Kubica. (GH #511) Add support for Groovy Server Pages. Thanks, Ethan Mallove. (GH #469) The JSP filetype (--jsp) now recognizes .jspf files. Thanks, Sebastien Feugere. (GH #586) Many optimizations and code cleanups. Thanks, Stephan Hohe. Added --hpp option for C++ header files. Thankis, Steffen Jaeckel. ack now supports --ignore-dir=match:.... Thanks, Ailin Nemui! (GitHub ticket #42) ack also supports --ignore-dir=ext:..., and --noignore-dir supports match/ext as well [INTERNALS] Added test to test --output. Thanks, Varadinsky! (GH #587, GH #590) Added test to make sure subdirs of target subdirs are ignored if --ignore-dir applies to them. Thanks, Pete Houston. (GH #570) [DOCUMENTATION] Expanded the explanation of how the -w flag works. Thanks, Ed Avis. (GH #585) [FIXES] Reverted an optimization to make \s work properly again. (GH #572, GH #571, GH #562, GH #491, GH #498) Fixed an out-of-date FAQ entry. Thanks, Jakub Wilk. (GH #580) The -l and -c flags would sometimes return inaccurate results due to a bug introduced in 2.14. Thanks to Elliot Shank for the report! (GH #491) Behavior when using newlines in a search was inconsistent. Thanks to Yves Chevallier for the report! (GH #522) Add minimal requirement of Getopt::Long 2.38, not 2.35, for GetOptionsFromString. Don't ignore directories that are specified as command line targets (GH #524) Fix a bug where a regular expression that matches the empty string could cause ack to go into an infinite loop (GH #542)
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 4 01:59:59 2015 UTC (7 years, 11 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.9: +2 -1
lines
Diff to previous 1.9 (colored)
Add SHA512 digests for distfiles for textproc category Problems found locating distfiles: Package cabocha: missing distfile cabocha-0.68.tar.bz2 Package convertlit: missing distfile clit18src.zip Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 4 22:01:32 2014 UTC (9 years, 1 month ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
Update to 2.14. From the changelog: [FIXES] The -s flag would fail to suppress certain warnings. Thanks, Kassio Borges. (GitHub ticket #439) The -w flag would fail to work properly with regex features such as alternation. Thanks to Ed Avis for the report (GitHub ticket #443) The -g flag should now work faster on larger codebases. Thanks to Manuel Meurer for the report (GitHub ticket #458) More fixes for Windows tests. Thanks to GitHub user @ispedals. More whack-a-mole with Windows failures. This time, it's POSIX::mkfifo dying on Windows instead of returning undef like the docs implied, or at least that I inferred. Fixed incorrect deduping of config files under Windows. Thanks, Denis Howe. More build fixes for Windows. Windows config finder fixes from James McCoy. t/ack-named-pipes.t uses POSIX::mkfifo instead of the external command, which should be more portable. Thanks, Pete Krawczyk. The building of ack-standalone relied on the output of `perldoc -l`, which I apparently can't rely on having been installed. I've changed the way that the squash program finds File::Next. Issue #313: ack would fail when trying to check files for readability on some networked filesystems, or on Mac OS X with ACLs. Now it uses the filetest pragma. Thanks, Jonathan Perret. [ENHANCEMENTS] ack now ignores JavaScript and CSS source maps. Thanks, Chris Rebert. ack now ships with customized shell completion scripts for bash and zsh. Add docs for available colors in ack. --create-ackrc keeps the comments that describe each of the options, and it shows the ack version number. Now ignores Cabal (Haskell) sandboxes. Thanks, Fraser Tweedale. Added filetypes for Jade, Smarty and Stylus. Thanks, Raºl Gundn. [INTERNALS] ack's entire test suite now runs under Perl's -T taint flag. We'll build more security tests on top of this. Added some checks to the squash program that I hope will turn up errors in the Windows builds.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 7 19:32:56 2014 UTC (9 years, 5 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
Update to 2.12. From the changelog: [SECURITY FIXES] This version of ack prevents the --pager, --regex and --output options from being used from project-level ackrc files. It is possible to execute malicious code with these options, and we want to prevent the security risk of acking through a potentially malicious codebase, such as one downloaded from an Internet site or checked out from a code repository. The --pager, --regex and --output options may still be used from the global /etc/ackrc, your own private ~/.ackrc, the ACK_OPTIONS environment variable, and of course from the command line. [ENHANCEMENTS] Now ignores Eclipse .metadata directory. Thanks, Steffen Jaeckel. Add --perltest for *.t files. Added Matlab support. Thanks, Zertrin. [FIXES] Fixed a race condition in t/file-permission.t that was causing failures if tests were run in parallel. Fix the test suite for Win32. Many thanks to Christian Walde for bringing the severity of this issue to our attention, as well as providing a Win32 development environment for us to work with. Fixed Win32-detection in the Makefile.PL. Thanks, Michael Beijen and Alexandr Ciornii. More compatibility fixes for Perl 5.8.8. [INTERNALS] Removed the Git revision tracking in the --version.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 5 19:48:07 2013 UTC (10 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
Update to 2.08: 2.08 Thu Aug 22 23:11:45 CDT 2013 ==================================== [ENHANCEMENTS] ack now ignores CMake's build/cache directories by default. Thanks, Volodymyr Medvid. Add shebang matching for --lua files. Add documentation for --ackrc. Add Elixir filetype. Add --cathy option. Thanks to Joe McMahon. Add some helpful debugging tips when an invalid option is found. Thanks to Charles Lee. Ignore PDF files by default, because Perl will detect them as text. Ignore .gif, .jpg, .jpeg and .png files. They won't normally be selected, but this is an optimization so that ack doesn't have to open them to know. [FIXES] Ack's colorizing of output would get confused with multiple sets of parentheses. This has been fixed. (Issue #276) Ack would get confused when trying to colorize the output in DOS-format files. This has been fixed. (Issue #145) 2.05_01 Tue May 28 10:12:04 CDT 2013 ==================================== [ENHANCEMENTS] We now ignore the node_modules directories created by npm. Thanks, Konrad Borowski. --pager without an argument implies --pager=$PAGER. --perl now recognizes Plack-style .psgi files. Thanks, Ron Savage. Added filetypes for Coffescript, JSON, LESS, and Sass. [FIXES] Command-line options now override options set in ackrc files. ACK_PAGER and ACK_PAGER_COLOR now work as advertised. Fix a bug resulting in uninitialized variable warnings when more than one capture group was specified in the search pattern. Make sure ack is happy to build and test under cron and other console-less environments. Colored output is now supported and on by default on Windows.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 10 01:44:55 2013 UTC (10 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored)
Update to 2.04. From the changelog: ack now runs on a standard Perl 5.8.8 install with no module updates. The minimum Perl requirement for ack is now explicitly 5.8.8. Anything before 5.8.8 will not work, and we've added checks. Thanks, Michael McClimon. [FIXES] ack was colorizing captured groups even if --nocolor was given. Thanks, Dale Sedivic. [ENHANCEMENTS] The --shell file type now recognizes the fish shell. We now ignore minified CSS or Javascript, in the form of either *.css.min or *.min.css, or *.js.min or *.min.js. Added support for the Dart language. ack 2.02 was much slower than ack 1.96, up to 8x slower in some cases. These slowdowns have been mostly eliminated, and in some cases ack 2.04 is now faster than 1.96. The firstlinematch file type detection option now only searches the first 250 characters of the first line of the file. Otherwise, ack would read entire text files that were only one line long, such as minified JavaScript, and that would be slow. Thanks, Michael McClimon. [DOCUMENTATION] Many clarifications and cleanups. Thanks, Michael McClimon.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 20 14:38:50 2013 UTC (10 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored)
Update to 2.00: 2.00 Wed Apr 17 22:49:41 CDT 2013 ==================================== The first version of ack 2.0. # Incompatibilities with ack 1.x ack 2 makes some big changes in its behaviors that could trip up users who are used to the idiosyncracies of ack 1.x. These changes could affect your searching happiness, so please read them. * ack's default behavior is now to search all files that it identifies as being text. ack 1.x would only search files that were of a file type that it recognized. * Removed the `-a` and `-u` options since the default is to search all text files. * Removed the `--binary` option. ack 2.0 will not find and search through binary files. * Removed the `--skipped` option. * Removed the `--invert-file-match` option. `-v` now works with `-g`. To list files that do not match `/foo/` ack -g foo -v * `-g` now obeys all regex options: `-i`, `-w`, `-Q`, `-v` * Removed the `-G` switch, because it was too confusing to have two regexes specified on the command line. Now you use the `-x` switch to pipe filenames from one `ack` invocation into another. To search files with filename matching "sales" for the string "foo": ack -g sales | ack -x foo # New features in ack 2.0 ack 2.0 will: * By default searches all text files, as identified by Perl's `-T` operator * We will no longer have a `-a` switch. * improved flexibility in defining filetype selectors * name equality ($filename eq 'Makefile') * glob-style matching (`*.pl` identifies a Perl file) * regex-style matching (`/\.pl$/i` identifies a Perl file) * shebang-line matching (shebang line matching `/usr/bin/perl/` identifies a Perl file) * support for multiple ackrc files * global ackrc (/etc/ackrc) * https://github.com/petdance/ack/issues/#issue/79 * user-specific ackrc (~/.ackrc) * per-project ackrc files (~/myproject/.ackrc) * you can use --dump to figure which options are set where * all inclusion/exclusion rules will be in the ackrc files * ack 2.0 has a set of definitions for filetypes, directories to include or exclude, etc, *but* these are only included so you don't need to ship an ackrc file to a new machine. You may tell ack to disregard these defaults if you like. * In addition to the classic `--thpppt` option to draw Bill the Cat, `ack --bar` will draw (of course) Admiral Ackbar.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 9 12:52:23 2011 UTC (11 years, 11 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4
Changes since 1.3: +4 -4
lines
Diff to previous 1.3 (colored)
Update to 1.96. From the changelog: [ENHANCEMENTS] * Now ignores minified Javascript files. Anything matching -min.js or .min.js is ignored. * Added Groovy support (--groovy). * Added .pm6 as a --perl extension. * Lua can now get detected from the shebang line. Thanks, Matthew Wild. * Added support for version numbers in executables in shebang detection. Now if your Perl program's shebang refers to /usr/local/bin/perl-5.14.1, ack will find it.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 30 00:48:07 2010 UTC (12 years, 10 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4
Changes since 1.2: +4 -4
lines
Diff to previous 1.2 (colored)
Updated textproc/p5-ack to 1.94 1.94 Mon Nov 15 22:38:48 CST 2010 [ENHANCEMENTS] Added support for Go and Delphi. Ignores Monotone's _MTN directories. Added .xsl to the list of --xml files. 1.93_02 Wed Oct 6 21:39:58 CDT 2010 [FIXES] --man and --version now return with an exit code of 0. They used to exit with a 1. Thanks to Bo Borgerson. [ENHANCEMENTS] The --ignore-dir option now can ignore entire paths relative to your current directory. Thanks to Nick Hooey. For example: ack --ignore-dir=t/subsystem/test-data Added --invert-file-match switch to negate the sense of the -g/-G switches. Thanks, Lars Dieckow. 1.93_01 Sun Sep 5 16:00:29 CDT 2010 [FILE TYPE UPDATES] Added --verilog, --vhdl and --clojure. Files that match *.mk and *.mak as well as GNUmakefile are now included in the ack filetype 'make' (issue 88). Added RSpec's .spec type to the --ruby list. [ENHANCEMENTS] Updated the README to Markdown format. Thanks to Mark Szymanski for the idea. Added docs for -r, -R, --recurse options. Added new switch --color-lineno and environment variable ACK_COLOR_LINENO, which allow setting the line number color. (Marq Schneider) Added option --show-types to output the types that ack considers a file to have. (Torsten Blix) 'ack --count --no-filename regex' doesn't output a list of numbers but a sum of all occurences. This is NOT what grep does but is the more sensible behavior. [FIXES] Fixed ack misbehavior when using --match or not specifying a regex: ack --match Sue cat foo | ack --perl Fixed issue 74: analog to grep, 'ack --count regex file' now only outputs the number of found matches, if only one file is given. Fixed issue 76: Giving both --line and a regex (with --match) now leads to an error. The same is true for -f or -g in conjunction with --match. (Torsten Blix) Fixed issue 80: Piping into ack --count now works as expected. ack always returned 0 when piped into, no matter how many matches where found. (Torsten Blix) Fixed issue 81: .ackrc now ignores leading/trailing whitespace. (Torsten Blix)
Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 15 13:40:22 2009 UTC (13 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Changes since 1.1: +4 -4
lines
Diff to previous 1.1 (colored)
Update to 1.92: 1.92 Fri Dec 11 11:47:56 CST 2009 ack is now hosted at github: http://github.com/petdance/ack [FIXES] The --pager flag would not work. Now it does. Thanks Packy Anderson. File matching for Emacs work files that match #*# was wrong. It was checking the entire path, not just the basename. This is fixed. (http://github.com/petdance/ack/issues/closed/#issue/101) Fixed URLs that pointed to old Google Code. [ENHANCEMENTS] Added Scala support. Thanks to Dan Sully. Added .phtml as an extension for PHP. Using -f or -g now return a proper error code. If files are found, ack returns 0. If none are found, ack returns 1. This is a change in the specification, but the code didn't match the specfication anyway. No man pages are created for any of the .pm files any more.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 4 22:35:00 2009 UTC (13 years, 10 months ago) by seb
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Initial import of p5-ack version 1.90 in the NetBSD Packages Collection. Ack is designed as a replacement for 99% of the uses of grep. Ack is intelligent about the files it searches and the directories trees it should not descend into.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 4 22:35:00 2009 UTC (13 years, 10 months ago) by seb
Branch: MAIN
Initial revision