Update to text-1.2.4.0

1.2.4.0
* Add TH Lift instances for Data.Text.Text and Data.Text.Lazy.Text
  (gh-232)
* Update Haddock documentation to better reflect fusion eligibility;
  improve fusion rules for takeWhileEnd and length (gh-241, ghc-202)
* Optimise Data.Text.replicate from O(n) to O(log n) (gh-209)
* Support base-4.13.0.0

1.2.3.1
* Make decodeUtf8With fail explicitly for unsupported non-BMP
  replacement characters instead silent undefined behaviour (gh-213)
* Fix termination condition for file reads via Data.Text.IO operations
  (gh-223)
* A serious correctness issue affecting uses of take and drop with
  negative counts has been fixed (gh-227)
* A bug in the case-mapping functions resulting in unreasonably large
  allocations with large arguments has been fixed (gh-221)

1.2.3.0
* Spec compliance: toCaseFold now follows the Unicode 9.0 spec
  (updated from 8.0).
* Bug fix: the lazy takeWhileEnd function violated the lazy text
  invariant (gh-184).
* Bug fix: Fixed usage of size hints causing incorrect behavior
  (gh-197).
* New function: unsnoc (gh-173).
* Reduce memory overhead in encodeUTF8 (gh-194).
* Improve UTF-8 decoder error-recovery (gh-182).
* Minor documentation improvements (@since annotations, more examples,
  clarifications).

1.2.2.2
* The toTitle function now correctly handles letters that immediately
  follow punctuation. Before, "there's" would turn into
  "There'S". Now, it becomes "There's".
* The implementation of unstreaming is faster, resulting in operations
  such as map and intersperse speeding up by up to 30%, with smaller
  code generated.
* The optimised length comparison function is now more likely to be
  used after some rewrite rule tweaking.
* Bug fix: an off-by-one bug in takeEnd is fixed.
* Bug fix: a logic error in takeWord16 is fixed.

1.2.2.1
* The switch to integer-pure in 1.2.2.0 was apparently mistaken. The
  build flag has been renamed accordingly. Your army of diligent
  maintainers apologizes for the churn.
* Spec compliance: toCaseFold now follows the Unicode 8.0 spec
  (updated from 7.0)
* An STG lint error has been fixed
This commit is contained in:
pho 2019-12-31 08:59:52 +00:00
parent a155cfb215
commit 86835d6f66
4 changed files with 10 additions and 182 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2016/01/10 11:48:07 szptvlfn Exp $
# $NetBSD: Makefile,v 1.9 2019/12/31 08:59:52 pho Exp $
DISTNAME= text-1.2.2.0
DISTNAME= text-1.2.4.0
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org

View file

@ -1,172 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2015/06/04 20:07:57 szptvlfn Exp $
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Array.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Encoding.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Encoding/Error.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Foreign.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/IO.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Builder.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Builder/Functions.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Builder/Int/Digits.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Builder/RealFloat/Functions.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Encoding/Fusion.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Encoding/Fusion/Common.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Encoding/Utf16.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Encoding/Utf32.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Encoding/Utf8.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Functions.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Fusion.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Fusion/CaseMapping.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Fusion/Common.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Fusion/Size.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Fusion/Types.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/IO.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Lazy.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Lazy/Encoding/Fusion.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Lazy/Fusion.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Lazy/Search.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Private.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Read.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Search.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Unsafe.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Unsafe/Char.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Internal/Unsafe/Shift.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/Builder.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/Builder/Int.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/Builder/RealFloat.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/Encoding.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/IO.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/Internal.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Lazy/Read.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Read.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Show.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/Data/Text/Unsafe.hi
lib/text-${PKGVERSION}/${HASKELL_VERSION}/HStext-${PKGVERSION}.o
lib/text-${PKGVERSION}/${HASKELL_VERSION}/libHStext-${PKGVERSION}.a
lib/text-${PKGVERSION}/${HASKELL_VERSION}/package-description
share/doc/text-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Array.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Encoding-Error.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Encoding.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Foreign.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-IO.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Builder-Functions.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Builder-Int-Digits.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Builder-RealFloat-Functions.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Builder.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Encoding-Fusion-Common.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Encoding-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Encoding-Utf16.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Encoding-Utf32.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Encoding-Utf8.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Functions.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Fusion-CaseMapping.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Fusion-Common.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Fusion-Size.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Fusion-Types.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-IO.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Lazy-Encoding-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Lazy-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Lazy-Search.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Lazy.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Private.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Read.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Search.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Unsafe-Char.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Unsafe-Shift.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal-Unsafe.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Internal.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-Builder-Int.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-Builder-RealFloat.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-Builder.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-Encoding.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-IO.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-Internal.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy-Read.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Lazy.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Read.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text-Unsafe.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/Data-Text.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-58.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-60.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-A.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-All.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-B.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-C.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-D.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-E.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-F.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-G.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-H.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-I.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-J.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-L.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-M.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-N.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-O.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-P.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-R.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-S.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-T.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-U.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-V.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-W.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-Y.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index-Z.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/frames.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/haddock-util.js
${PLIST.doc}share/doc/text-${PKGVERSION}/html/hslogo-16.png
${PLIST.doc}share/doc/text-${PKGVERSION}/html/index-frames.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Array.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Encoding-Error.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Encoding.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Foreign.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-IO.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Builder-Functions.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Builder-Int-Digits.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Builder-RealFloat-Functions.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Builder.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Encoding-Fusion-Common.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Encoding-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Encoding-Utf16.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Encoding-Utf32.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Encoding-Utf8.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Functions.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Fusion-CaseMapping.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Fusion-Common.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Fusion-Size.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Fusion-Types.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-IO.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Lazy-Encoding-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Lazy-Fusion.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Lazy-Search.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Lazy.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Private.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Read.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Search.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Unsafe-Char.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Unsafe-Shift.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal-Unsafe.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Internal.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-Builder-Int.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-Builder-RealFloat.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-Builder.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-Encoding.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-IO.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-Internal.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy-Read.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Lazy.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Read.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text-Unsafe.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/mini_Data-Text.html
${PLIST.doc}share/doc/text-${PKGVERSION}/html/minus.gif
${PLIST.doc}share/doc/text-${PKGVERSION}/html/ocean.css
${PLIST.doc}share/doc/text-${PKGVERSION}/html/plus.gif
${PLIST.doc}share/doc/text-${PKGVERSION}/html/synopsis.png
${PLIST.doc}share/doc/text-${PKGVERSION}/html/text.haddock

View file

@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.9 2016/01/10 11:48:07 szptvlfn Exp $
# $NetBSD: buildlink3.mk,v 1.10 2019/12/31 08:59:52 pho Exp $
BUILDLINK_TREE+= hs-text
.if !defined(HS_TEXT_BUILDLINK3_MK)
HS_TEXT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-text+= hs-text>=1.2.2
BUILDLINK_ABI_DEPENDS.hs-text+= hs-text>=1.2.2.0
BUILDLINK_API_DEPENDS.hs-text+= hs-text>=1.2.4
BUILDLINK_ABI_DEPENDS.hs-text+= hs-text>=1.2.4.0
BUILDLINK_PKGSRCDIR.hs-text?= ../../devel/hs-text
.endif # HS_TEXT_BUILDLINK3_MK

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.9 2016/01/10 11:48:07 szptvlfn Exp $
$NetBSD: distinfo,v 1.10 2019/12/31 08:59:52 pho Exp $
SHA1 (text-1.2.2.0.tar.gz) = 07416e015efefee3714ca81115f07fe8e03889b8
RMD160 (text-1.2.2.0.tar.gz) = 771986ac6138cfc26e297e5470354c02425b90b3
SHA512 (text-1.2.2.0.tar.gz) = 832b0430581a06cfdfa2a5c83fa2720e3f4825ee0aa9c6b12ff6ccd424a9e3a061c9ae7eeda48fe7a9f077c50e379abe2eee3fb05bdbdec4d38115b5e3695f20
Size (text-1.2.2.0.tar.gz) = 148894 bytes
SHA1 (text-1.2.4.0.tar.gz) = ffeacd3aad975ef68e2143558711672108e15d46
RMD160 (text-1.2.4.0.tar.gz) = a0b7592e1e3a0930db536be283587610d460a832
SHA512 (text-1.2.4.0.tar.gz) = a4bd566c7d0aea1bfeacf27332e9cff3ad894e7eed9f826b7e4fc7fb85e272164d18a34a81c89dd1ea802951a80ec1d82000ebef05748d419ddfff792c4525e3
Size (text-1.2.4.0.tar.gz) = 171477 bytes