2018-12-20 - firstname.lastname@example.org
- Update Glob to version 0.10.0.
Bug fix: "**/" matched hidden directories in some scenarios even when
matchDotsImplicitly was set to False.
Thanks to Travis Sunderland for the report as well as the fix.
2018-10-04 - email@example.com
- Update Glob to version 0.9.3.
Updated dependencies to allow containers-0.7 (GHC 8.6). Thanks to
chessai for the merge request.
Updated tests to compile with GHC 8.6.
2018-07-18 - firstname.lastname@example.org
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-05-14 - email@example.com
- Update Glob to version 0.9.2.
Made Tests.Utils use Ints instead of Floats to avoid spurious failures
that aren't of any concern.
New functions, data types, and constants:
System.FilePath.Glob.isLiteral :: Pattern -> Bool
Tells whether a Pattern is a literal file path.
Thanks to Simon Hengel and Harry Garrood for the
Options for the glob* family of IO functions.
System.FilePath.Glob.globDefault :: GlobOptions
Use matchDefault and don't return unmatched files.
Changed function types:
System.FilePath.Glob.globDir :: [Pattern] -> FilePath -> IO [[FilePath]]
No longer returns unmatched paths, like globDir1.
System.FilePath.Glob.globDirWith :: GlobOptions -> [Pattern] -> FilePath -> IO ([[FilePath]], Maybe [FilePath])
Takes GlobOptions instead of MatchOptions, and returns
unmatched paths in a Maybe corresponding to whether they
were requested in the options or not.
This is a significant performance boost for all glob*
functions when unmatched file paths are not desired.
Optimization: when unmatched file paths are not requested, glob and
globDir1 use commonDirectory to avoid extra
getDirectoryContents calls at the start.
Optimization: character ranges containing . or / are simplified more
than before, especially when they make the entire pattern
incapable of matching anything.
Optimization: extension separator matching where the extension is
surrounded by other literals (e.g. "*.txt" or "foo.*" or
simply "foo.txt") should be quicker in general, and the
Patterns should be smaller. (This adds to the number of
places where the code assumes that the extension separator
is the '.' character.)
Bug fix: commonDirectory should no longer add extra directory separators
to the Pattern.
Bug fix: the glob* functions should now place slashes correctly when
using recursively matching patterns with extra slashes, such as
Bug fix: number ranges are no longer optimized to single characters, so
that leading zeroes are handled correctly: e.g. "<0-9>" didn't
Bug fix: "//" did not match itself.
Bug fix: ".//" did not match itself.
Bug fix: "x" did not match ".//x" (with ignoreDotSlash enabled).
Bug fix: "<-><->" matched single digit numbers.
Bug fix: "<0-0><1-1>" didn't match "01".
2017-08-03 - firstname.lastname@example.org
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2017-07-27 - email@example.com
- Update to version 0.8.0.
2017-01-09 - firstname.lastname@example.org
- Update to version 0.7.14 with cabal2obs.
2016-11-29 - email@example.com
- Update to version 0.7.13 with cabal2obs.
2016-10-11 - firstname.lastname@example.org
- Update to version 0.7.12 with cabal2obs.
2016-08-17 - email@example.com
- Update to version 0.7.11 revision 0 with cabal2obs.