Skip to content

Commit

Permalink
Update to text-1.2.4.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
depressed-pho committed Dec 31, 2019
1 parent ad397c5 commit 465cb7b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 182 deletions.
4 changes: 2 additions & 2 deletions devel/hs-text/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
Expand Down
172 changes: 0 additions & 172 deletions devel/hs-text/PLIST

This file was deleted.

6 changes: 3 additions & 3 deletions devel/hs-text/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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

Expand Down
10 changes: 5 additions & 5 deletions devel/hs-text/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 465cb7b

Please sign in to comment.