Newer
Older
Revision history for Path-Iterator-Rule
1.015 2021-09-09 12:07:00-04:00 America/New_York
[FIXED]
- Directories on windows that return true for `-r` but
false for `opendir` now warn and skip instead of attempting
`readdir`.
1.014 2018-06-27 09:46:20-04:00 America/New_York
[DOCS]
- Noted that file separators are unix-style forward slashes.
1.013 2018-06-20 16:48:23-06:00 America/Denver
[CHANGED]
- Breadth-first search now reads children lazily on demand,
instead of pre-computing children and adding them to the queue.
1.012 2016-04-10 13:45:55-04:00 America/New_York
[PREREQS]
- Dropped minimum Perl version required to 5.008001
1.011 2016-02-29 22:17:45-05:00 America/New_York
[ADDED]
- Added 'report_symlinks' option to include symlinks in results, even
if not descending into directories. Defaults to 'follow_symlinks'
1.010 2016-02-29 21:48:56-05:00 America/New_York
[FIXED]
- Protects tests from temporary directory names that cause false
errors.
1.009 2015-09-20 22:02:20-04:00 America/New_York
[FIXED]
- Regular expressions flags were being lost. Now name(qr/foo/i) works
like iname(qr/foo/)
1.008 2014-02-04 17:40:45-05:00 America/New_York
[ADDED]
- Added VCS rules for DARCS (Gian Piero Carrubba)
[DOCS]
- Document the behavior of ->all in scalar context
- Removed dependencies on Data::Clone, namespace::clean and autodie
[DOCS]
[FIXED]
- Fixed broken t/content.t on Windows
[ADDED]
- contents_match and line_match rules
[FIXED]
- Returning relative results now works with subclasses
[FIXED]
- A test unintentionally required 5.12; this has been fixed and 5.10 is
the minimum Perl once again
[INCOMPATIBLE CHANGES]
- Custom rule logic has changed. The previous "0 but true" hack
will throw an exception. Custom rules should return \1 or \0
to signal that a directory should be pruned but returned or
pruned and skipped, respectively
[ADDED]
- Added 'skip_subdirs' method (Issue #7)
[DOCUMENTED]
- Clarified max/min depth rules
[CHANGED]
- Refactored some internals to allow more flexible subclassing
[ADDED]
- Added 'relative' option to iterator
[ADDED]
- Includes PIR.pm as an empty subclass of Path::Iterator::Rule
for less typing for one-liners
[FIXED]
- Really fixed tests on Windows this time, I hope.
[ADDED]
- Added a "visitor" option to pass results to a code reference
during iteration
[CHANGED]
- Calling all() in void context will iterate but not store results
[FIXED]
- Another attempt at fixing tests on Windows. Damn those backslashes!
[DOCUMENTED]
- Fixed typos that still talked about Path::Class objects
- Added Path::Class::Rule and IO::All::Rule to the list
of alternates
[DOCUMENTED]
- Fixed typo relating to Number::Compare. "1M" is legal, "1MB" is not
[CHANGED]
- Even more internal optimization
[FIXED]
- Fixed broken t/fast.t on some systems
[ADDED]
- Added 'iter_fast' and 'all_fast' methods that switch default options
from safe to fast
[DOCUMENTED]
- Added PERFORMANCE section with tips
[CHANGED]
- Additional internal optimization
[INCOMPATIBLE CHANGES]
- Test subroutines now get path, basename and stash
instead of just path and stash; this saves substantial
overhead on name checks.
- Add 'sorted' option that defaults to true; disabling
this can improve speed for directories with many files
[CHANGED]
- Setting 'error_handler' to undef disables error
checks for speed
- Various other optimizations for improved performance