Hello community, here is the log from the commit of package ghc-megaparsec for openSUSE:Factory checked in at 2020-06-19 17:15:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-megaparsec (Old) and /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-megaparsec" Fri Jun 19 17:15:13 2020 rev:8 rq:815129 version:8.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes 2019-12-27 13:55:05.116708077 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.3606/ghc-megaparsec.changes 2020-06-19 17:15:21.926520654 +0200 @@ -2 +2 @@ -Fri Nov 8 16:14:11 UTC 2019 - Peter Simons <psim...@suse.com> +Tue Jun 9 09:26:20 UTC 2020 - psim...@suse.com @@ -4 +4 @@ -- Drop obsolete group attributes. +- Add megaparsec at version 8.0.0. @@ -6,249 +5,0 @@ -------------------------------------------------------------------- -Fri Nov 8 03:01:43 UTC 2019 - psim...@suse.com - -- Update megaparsec to version 8.0.0. - ## Megaparec 8.0.0 - - * The methods `failure` and `fancyFailure` of `MonadParsec` are now ordinary - functions and live in `Text.Megaparsec`. They are defined in terms of the - new `parseError` method of `MonadParsec`. This method allows us to signal - parse errors at a given offset without manipulating parser state manually. - - * Megaparsec now supports registration of “delayed” parse errors. On lower - level we added a new field called `stateParseErrors` to the `State` - record. The type also had to change from `State s` to `State s e`. This - field contains the list of registered `ParseErrors` that do not end - parsing immediately but still will cause failure in the end if the list is - not empty. Users are expected to register parse errors using the three - functions: `registerParseError`, `registerFailure`, and - `registerFancyFailure`. These functions are analogous to those without the - `register` prefix, except that they have “delayed” effect. - - * Added the `tokensLength` method to the `Stream` type class to improve - support for custom input streams. - - * Added the `setErrorOffset` function to set offset of `ParseError`s. - - * Changed type signatures of `reachOffset` and `reachOffsetNoLine` methods - of the `Stream` type class. Instead of three-tuple `reachOffset` now - returns two-tuple because `SourcePos` is already contained in the returned - `PosState` record. - - * Generalized `decimal`, `binary`, `octal`, and `hexadecimal` parsers in - lexer modules so that they `Num` instead of just `Integral`. - - * Dropped support for GHC 8.2.x and older. - -------------------------------------------------------------------- -Thu May 2 02:00:53 UTC 2019 - psim...@suse.com - -- Update megaparsec to version 7.0.5. - ## Megaparsec 7.0.5 - - * Dropped support for GHC 7.10. - - * Adapted the code to `MonadFail` changes in `base-4.13`. - - * Separated the test suite into its own package. The reason is that we can - avoid circular dependency on `hspec-megaparsec` and thus avoid keeping - copies of its source files in our test suite, as we had to do before. - Another benefit is that we can export some auxiliary functions in - `megaparsec-tests` which can be used by other test suites, for example in - the `parser-combinators-tests` package. - - Version of `megaparsec-tests` will be kept in sync with versions of - `megaparsec` from now on. - -------------------------------------------------------------------- -Fri Nov 9 03:01:15 UTC 2018 - psim...@suse.com - -- Update megaparsec to version 7.0.4. - Upstream has edited the change log file since the last release in - a non-trivial way, i.e. they did more than just add a new entry - at the top. You can review the file at: - http://hackage.haskell.org/package/megaparsec-7.0.4/src/CHANGELOG.md - -------------------------------------------------------------------- -Thu Nov 1 03:02:28 UTC 2018 - psim...@suse.com - -- Update megaparsec to version 7.0.3. - ## Megaparsec 7.0.3 - - * Fixed the build with `mtl` older than `2.2.2`. - -------------------------------------------------------------------- -Mon Oct 22 10:35:50 UTC 2018 - psim...@suse.com - -- Update megaparsec to version 7.0.2. - ## Megaparsec 7.0.2 - - * Fixed the property test for `char'` which was failing in the case when - there is a character with different upper and title cases. - - * More descriptive error messages when `elabel` or `ulabel` from - `Text.Megaparsec.Error.Builder` are used with empty strings. - - * Typos fixes in the docs. - -------------------------------------------------------------------- -Wed Oct 10 19:24:09 UTC 2018 - psim...@suse.com - -- Update megaparsec to version 7.0.1. - ## Megaparsec 7.0.1 - - * Fixed a bug in `errorBundlePretty`. Previously the question sign `?` was - erroneously inserted before offending line in 2nd and later parse errors. - - ## Megaparsec 7.0.0 - - ### General - - * Dropped the `Text.Megaparsec.Perm` module. Use - `Control.Applicative.Permutations` from `parser-combinators` instead. - - * Dropped the `Text.Megaparsec.Expr` module. Use - `Control.Monad.Combinators.Expr` from `parser-combinators` instead. - - * The debugging function `dbg` has been moved from `Text.Megaparsec` to its - own module `Text.Megaparsec.Debug`. - - * Dropped support for GHC 7.8. - - ### Combinators - - * Moved some general combinators from `Text.Megaparsec.Char` and - `Text.Megaparsec.Byte` to `Text.Megaparsec`, renaming some of them for - clarity. - - Practical consequences: - - * Now there is the `single` combinator that is a generalization of `char` - for arbitrary streams. `Text.Megaparsec.Char` and `Text.Megaparsec.Byte` - still contain `char` as type-constrained versions of `single`. - - * Similarly, now there is the `chunk` combinator that is a generalization - of `string` for arbitrary streams. The `string` combinator is still - re-exported from `Text.Megaparsec.Char` and `Text.Megaparsec.Byte` for - compatibility. - - * `satisfy` does not depend on type of token, and so it now lives in - `Text.Megaparsec`. - - * `anyChar` was renamed to `anySingle` and moved to `Text.Megaparsec`. - - * `notChar` was renamed to `anySingleBut` and moved to `Text.Megaparsec`. - - * `oneOf` and `noneOf` were moved to `Text.Megaparsec`. - - * Simplified the type of the `token` primitive. It now takes just a matching - function `Token s -> Maybe a` as the first argument and the collection of - expected items `Set (ErrorItem (Token s))` as the second argument. This - makes sense because the collection of expected items cannot depend on what - we see in the input stream. - - * The `label` primitive now doesn't prepend the phrase “the rest of” to the - label when its inner parser produces hints after consuming input. In that - case `label` has no effect. - - * Fixed the `Text.Megaparsec.Char.Lexer.charLiteral` so it can accept longer - escape sequences (max length is now 10). - - * Added the `binDigitChar` functions in `Text.Megaparsec.Byte` and - `Text.Megaparsec.Char`. - - * Added the `binary` functions in `Text.Megaparsec.Byte.Lexer` and - `Text.Megaparsec.Char.Lexer`. - - * Improved case-insensitive character matching in the cases when e.g. - `isLower` and `isUpper` both return `False`. Functions affected: - `Text.Megaparsec.Char.char'`. - - * Renamed `getPosition` to `getSourcePos`. - - * Renamed `getTokensProcessed` to `getOffset`, `setTokensProcessed` to - `setOffset`. - - * Dropped `getTabWidth` and `setTabWidth` because tab width is irrelevant to - parsing process now, it's only relevant for pretty-printing of parse - errors, which is handled separately. - - * Added and `withParsecT` in `Text.Megaparsec.Internal` to allow changing - the type of the custom data component in parse errors. - - ### Parser state and input stream - - * Dropped stacks of source positions. Accordingly, the functions - `pushPosition` and `popPosition` from `Text.Megaparsec` and - `sourcePosStackPretty` from `Text.Megaparsec.Error` were removed. The - reason for this simplification is that I could not find any code that uses - the feature and it makes manipulation of source positions hairy. - - * Introduced `PosState` for calculating `SourcePos` from offsets and getting - offending line for displaying on pretty-printing of parse errors. It's now - contained in both `State` and `ParseErrorBundle`. - - * Dropped `positionAt1`, `positionAtN`, `advance1`, and `advanceN` methods - from `Stream`. They are no longer necessary because `reachOffset` (and its - specialized version `reachOffsetNoLine`) takes care of `SourcePos` - calculation. - - ### Parse errors - ++++ 58 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes ++++ and /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.3606/ghc-megaparsec.changes ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-megaparsec.spec ++++++ --- /var/tmp/diff_new_pack.i6AWuE/_old 2020-06-19 17:15:23.054524169 +0200 +++ /var/tmp/diff_new_pack.i6AWuE/_new 2020-06-19 17:15:23.058524181 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-megaparsec # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed