diff --git a/doclayout-0.4.0.1.tar.gz b/doclayout-0.4.0.1.tar.gz deleted file mode 100644 index 1f2e50e..0000000 --- a/doclayout-0.4.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7d3515d41abdfd7a5b69f28bf9520f591881364262698fd49686506b570b30b -size 38465 diff --git a/doclayout-0.5.tar.gz b/doclayout-0.5.tar.gz new file mode 100644 index 0000000..5c58dd4 --- /dev/null +++ b/doclayout-0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b030410245d9dea721e5bd75511b95bc0380efe159066f3914916e3ad2af2496 +size 43437 diff --git a/ghc-doclayout.changes b/ghc-doclayout.changes index dc4c54b..a5219d1 100644 --- a/ghc-doclayout.changes +++ b/ghc-doclayout.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Sep 9 05:57:29 UTC 2024 - Peter Simons + +- Update doclayout to version 0.5. + ## 0.5 + + * Extract existing HasChars definition into a module + Text.DocLayout.HasChars (Evan Silberman). + + * Add a `build` method to the signature of HasChars [API change] + (Evan Silberman). This has a default definition, and is only needed with + the ANSI renderer, so existing users should not need to add anything to + their HasChars instances. + + * Introduce support for ANSI-styled output (Evan Silberman) [API change]. + `renderPlain` and `renderANSI` are now exported; the old `render` + is a synonym of `renderPlain`. In addition, various functions are + exported to add ANSI formatting (including bold, italics, + underline, strikeout, links, and colors) to a Doc. The Attributed + type is also now exported. + + * Change type of Block constructor, replacing `[a]` with `[Attributed a]`, + which carries a Font along with an inner string type [API change] + (Evan Silberman). + + * Introduce FlatDocs and use them for rendering (Evan Silberman). + This is an internal concept, not part of the public API. + FlatDoc is an "intermediate representation" for the Doc "interpreter". + The general design is that any Doc can be turned into a list of FlatDocs + that carry equivalent information. The main point of doing this + is to replace the nested Styled and Linked Docs, which form a more + complicated tree structure than previously existed in DocLayout. + + * Deprecate `unfoldD`. + ------------------------------------------------------------------- Thu Mar 30 17:06:38 UTC 2023 - Peter Simons diff --git a/ghc-doclayout.spec b/ghc-doclayout.spec index 3e2775f..e5b1e38 100644 --- a/ghc-doclayout.spec +++ b/ghc-doclayout.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-doclayout # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4.0.1 +Version: 0.5 Release: 0 Summary: A prettyprinting library for laying out text documents License: BSD-3-Clause @@ -105,9 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %license LICENSE %dir %{_datadir}/%{pkg_name}-%{version} %{_datadir}/%{pkg_name}-%{version}/README.md -%{_datadir}/%{pkg_name}-%{version}/changelog.md %files devel -f %{name}-devel.files +%doc changelog.md %files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files %license LICENSE