osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-doclayout revision:17, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-doclayout?expand=0&rev=21
This commit is contained in:
Peter Simons 2022-06-29 12:18:10 +00:00 committed by Git OBS Bridge
parent a9e383bdb1
commit b8274fcfaf
4 changed files with 46 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7e706178e8ae4e41368f4e9550813dc6f4af46b96cf5dbd0e97f8e3a87c33dd
size 15047

3
doclayout-0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d2ede4024d1f5e5d918fd799f7e046b03023434e327bc1e1c1402eeb8ffb3a3
size 38804

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Sat Apr 2 22:30:30 UTC 2022 - Peter Simons <psimons@suse.com>
- Update doclayout to version 0.4.
## 0.4
* Expose `unfoldD` [API change].
* Remove `realLengthNoShortcut`, `isEmojiModifier`, and
`isEmojiJoiner` [API change] (Stephen Morgan).
* Add new exported functions `realLengthNarrowContext`,
`realLengthWideContext`, `realLengthNarrowContextNoShortcut`,
`realLengthWideContextNoShortcut`, `isSkinToneModifier`, `isZWJ`
[API change] (Stephen Morgan).
* Compute `realLength` strictly.
* Make `getOffset` stricter.
* Drop support for ghc <= 8.4, add test for ghc 9.2.
* Don't collapse the CarriageReturn + Newline combination (#20).
We want to ensure that a literal starting with a Newline
doesn't lose the newline if it occurs after a CarriageReturn.
This affects code blocks in pandoc that begin with newlines.
* Improve performance of NoShortcut code (Stephen Morgan).
* Simplify emoji processing (Stephen Morgan).
* Add benchmarking for code with no shortcuts (Stephen Morgan).
* Add unicodeWidth.inc to cabal file.
* Fix `offset`, `minOffset`, `updateColumn` so they don't re-render.
* Get unicode block widths directly from the Unicode specification, rather
than writing it out ourselves (Stephen Morgan).
* Resolve the width of ambiguous characters based on their context
(Stephen Morgan).
* Spacing marks should have nonzero width, even though they are combining
characters (Stephen Morgan).
* Add shortcuts for extended Latin, Arabic, Cyrillic, Greek,
Devangari, Bengali, Korean, Telugu, and Tamil (Stephen Morgan).
* Fix location of extra-source-files in cabal.
* update.hs: require text package
* Handle emoji variation modifiers specially, so the keypad emoji can be
ignored (Stephen Morgan). This results in a 16% speedup of realLength
on ascii text.
* Add benchmarks for all scripts used by more than 50 million people, plus
a couple more. (#9, Stephen Morgan).
-------------------------------------------------------------------
Tue Oct 12 10:51:12 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-doclayout
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%global pkg_name doclayout
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.3.1.1
Version: 0.4
Release: 0
Summary: A prettyprinting library for laying out text documents
License: BSD-3-Clause