commit ghc-attoparsec for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package ghc-attoparsec for openSUSE:Factory checked in at 2015-05-21 08:12:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-attoparsec (Old) and /work/SRC/openSUSE:Factory/.ghc-attoparsec.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-attoparsec" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-attoparsec/ghc-attoparsec.changes 2014-11-26 20:54:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-attoparsec.new/ghc-attoparsec.changes 2015-05-21 08:12:45.000000000 +0200 @@ -1,0 +2,46 @@ +Mon Apr 13 07:52:32 UTC 2015 - mimi.vx@gmail.com + +- update to 0.12.1.6 +* Fixed a case folding bug in the ByteString version of stringCI. +* Fixed an indexing bug in the new Text implementation of string, + reported by Michel Boucey. +* Fixed a case where the string parser would consume an unnecessary + amount of input before failing a match, when it could bail much + earlier (https://github.com/bos/attoparsec/issues/97) +* Added more context to error messages + (https://github.com/bos/attoparsec/pull/79) +* Fixed incorrect tracking of Text lengths + (https://github.com/bos/attoparsec/issues/80) +* Fixed the incorrect tracking of capacity if the initial buffer was + empty (https://github.com/bos/attoparsec/issues/75) +* Fixed a data corruption bug that occurred under some circumstances + if a buffer grew after prompting for more input + (https://github.com/bos/attoparsec/issues/74) +* Now compatible with GHC 7.9 +* Reintroduced the Chunk class, used by the parsers package +* A new internal representation makes almost all real-world parsers + faster, sometimes by big margins. For example, parsing JSON data + with aeson is now up to 70% faster. These performance improvements + also come with reduced memory consumption and some new capabilities. +* The new match combinator gives both the result of a parse and the + input that it matched. +* The test suite has doubled in size. This made it possible to switch + to the new internal representation with a decent degree of + confidence that everything was more or less working. +* The benchmark suite now contains a small family of benchmarks taken + from real-world uses of attoparsec. +* A few types that ought to have been private now are. +* A few obsolete modules and functions have been marked as deprecated. + They will be removed from the next major release. +* New function scientific is compatible with rational, but parses + integers more efficiently (https://github.com/bos/aeson/issues/198) +* The new Chunk typeclass allows for some code sharing with Ed + Kmett's parsers package: http://hackage.haskell.org/package/parsers +* New function runScanner generalises scan to return the final state + of the scanner as well as the input consumed. +* New dependency: the scientific package. This allows us to parse + numbers much more efficiently. +* peekWord8', peekChar': new primitive parsers that allow + single-character lookahead. + +------------------------------------------------------------------- Old: ---- attoparsec-0.10.4.0.tar.gz New: ---- attoparsec-0.12.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-attoparsec.spec ++++++ --- /var/tmp/diff_new_pack.smSrxQ/_old 2015-05-21 08:12:46.000000000 +0200 +++ /var/tmp/diff_new_pack.smSrxQ/_new 2015-05-21 08:12:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-attoparsec # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,10 @@ %global pkg_name attoparsec -Name: ghc-attoparsec -Version: 0.10.4.0 +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.12.1.6 Release: 0 Summary: Fast combinator parsing for bytestrings and text License: BSD-3-Clause @@ -36,7 +38,15 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-scientific-devel BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-quickcheck-unicode-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +BuildRequires: ghc-vector-devel +%endif # End cabal-rpm deps %description @@ -66,6 +76,11 @@ %install %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache ++++++ attoparsec-0.10.4.0.tar.gz -> attoparsec-0.12.1.6.tar.gz ++++++ ++++ 7454 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de