ghc-Glob/ghc-Glob.changes

133 lines
5.4 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Wed Jul 18 14:26:09 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.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
feature request.
System.FilePath.Glob.GlobOptions
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
"**//foo".
Bug fix: number ranges are no longer optimized to single characters, so
that leading zeroes are handled correctly: e.g. "<0-9>" didn't
match "007".
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".
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Thu Jul 27 14:08:13 UTC 2017 - psimons@suse.com
- Update to version 0.8.0.
-------------------------------------------------------------------
Mon Jan 9 06:33:42 UTC 2017 - psimons@suse.com
- Update to version 0.7.14 with cabal2obs.
-------------------------------------------------------------------
Tue Nov 29 11:30:33 UTC 2016 - psimons@suse.com
- Update to version 0.7.13 with cabal2obs.
-------------------------------------------------------------------
Tue Oct 11 08:50:08 UTC 2016 - psimons@suse.com
- Update to version 0.7.12 with cabal2obs.
-------------------------------------------------------------------
Wed Aug 17 18:28:52 UTC 2016 - psimons@suse.com
- Update to version 0.7.11 revision 0 with cabal2obs.
-------------------------------------------------------------------
Fri Jul 22 06:08:21 UTC 2016 - psimons@suse.com
- Update to version 0.7.10 revision 0 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:16:38 UTC 2016 - psimons@suse.com
- Update to version 0.7.9 revision 0 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 3 10:07:56 UTC 2016 - mimi.vx@gmail.com
- update to 0.7.9
* Add missing Utils module to test suite, so that the tests provided with
the sdist tarball actually run.
* Add dependency on transformers-compat to allow using
Control.Monad.Trans.Except also with older library versions.
-------------------------------------------------------------------
Thu Jun 30 12:05:56 UTC 2016 - mimi.vx@gmail.com
- update to 0.7.7
* Update test dependencies to allow HUnit-1.3.
* Update dependencies to allow filepath-1.4.
* Added Cabal Source-Repository metadata, pointing to GitHub.
* Integrated tests with Cabal so that they can be run with "cabal test".
* Got rid of deprecation warnings by using Control.Monad.Trans.Except
instead of Control.Monad.Trans.Error.
* Added Semigroup instance, bringing in a new dependency on semigroups on
pre-8.0 GHC versions.
-------------------------------------------------------------------
Thu Nov 19 11:39:00 UTC 2015 - mimi.vx@gmail.com
- initial commit