Up to [cvs.NetBSD.org] / pkgsrc / textproc / hs-pandoc-types
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
recursive revbump after patching lang/ghc910
Bump all Haskell packages after switching the default compiler.
Recursive revbump after changing the default Haskell compiler
textproc/hs-pandoc-types: Fix build with GHC 9.8 This breaks build with the currently default GHC 9.6. Please bear with me until I switch the default compiler.
Revbump all Haskell after updating lang/ghc96
textproc/hs-pandoc-types: Update to 1.23.1 [1.23.1] * Restore toJSONFilter instance for pure `a -> [a]`. This went missing after my ill-considered revision to #105, commit 183af9d9f1066be974ac55fd23a4c985999d3ce8 . See jgm/pandoc#8976. * Generalize ToJSONFilter instance. Previously a pure function `a -> a` could only be promoted to a filter in IO. Now we allow it to work with any instance of MonadIO. (This adds to #105.) * Allow bytestring 0.12. [1.23.0.1] * Allow aeson 2.2. * Remove dependency on string-qq (recbecca skinner).
Bump Haskell packages after updating lang/ghc94
revbump all the Haskell packages after modifying the runtime system of lang/ghc94
textproc/hs-pandoc-types: Update to 1.23 [1.23] * Remove Null constructor from Block (#91) [API change]. * ToJSONFilter: Add instance for MonadIO (#105, Willem Van Onsem) [API change]. * Add `Figure` block constructor (Albert Krewinkel, Aner Lucero, and Christian Despres) [API change]. The new Figure block represents a figure with attributes, caption, and arbitrary block content.
hs-pandoc-types: update to 1.22.2.1. [1.22.2.1] * Allow aeson 2.1.* and criterion 1.6. [1.22.2] * Use StrictData in Text.Pandoc.Definition. * Add Walkable Meta(Value) Pandoc instances (Travis Cardwell).
hs*: recursive bump for new dependencies needed for hs-aeson, hs-vector
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
revbump after changing the default Haskell compiler
Update to pandoc-types-1.22.1 [1.22.1] * Text.Pandoc.Builder: add simpleFigure, simpleFigureWith, and the SimpleFigure bidirectional pattern synonym (Aner Lucero) [API change]. * Allow bytestring 0.11 (Alexander Batischev). * Update stack resolver to lts-18.10 * Allow aeson 2+. Tested with aeson 2.0.1.0. * Allow transformers 0.6. * Fix incorrect table ColWidth documentation (#85, Nils Carlson). The documentation stated that the ColWidth represented the width of the column as a fraction of the table width when in represents a percentage of the text width.
Bump packages that depends on GHC
*: Bump PKGREVISION for ghc-9.0.1
Update to pandoc-types-1.22 [1.22] * Deprecate isNull from Builder: null can serve just as well (#67). Use null instead of isNull in Arbitrary (Christian Despres, #84). * Use untagged JSON encoding for single-constructor types (#75, #76, Christian Despres). All of the single constructor types related to Table are now represented in JSON either as arrays (for multi-argument constructors) or as the representation of the inner type (for single argument constructors). This behaviour for newtype-defined and multi-argument non-record types is now consistent across the entire JSON interface, with the exception of Pandoc itself (which is represented as a JSON object with additional metadata). Multi-argument records (of which Citation is the only example) are still represented as objects with the record accessors as keys. * The Meta and Citation types now use derived JSON serialization (newtype and generic, respectively). The format remains the same as before (Christian Despres). * New serialization tests now test that Meta and the Table types are encoded properly in JSON (Christian Despres). * Use TH To/FromJSON instances (Christian Despres). * Remove unused Legacy modules (#80, Despres). They are not exported, and are not used internally. * Change the table builder to permit looser intermediate table heads (#77, Christian Despres). The table builder (and the normalizeTableBody function) now permit cells in the intermediate head of a TableBody to extend past the RowHeadColumns. This allows for intermediate tables to have subheadings that extend across the entire table. Formerly the table builder would treat the intermediate head like the intermediate body, and clip or drop cells that extended past the row head. * Update QuickCheck lower bound. * Fix redundant pattern match. [1.21] * Add Underline constructor (#68, Vaibhav Sagar). * Improve table types to allow col, rowspans and more (#65, Christian Despres). The additions include modification of the Block type, some newtypes related to tables, and changes to the table builders. The table builder is now aware of the new Table constructor, and normalizes the input table appropriately, so that when laid onto a grid the resulting table has no empty spaces, overlapping cells, or cells that extend beyond their section boundary. Three properties of normalization are checked: - Normalization is idempotent. - Each row of a normalized table is an initial segment of the corresponding row in the unnormalized table, modulo changed cell dimensions, dropped cells, and padding with empty cells. This is only checked for the first row of the TableBody, however, due to row head difficulties. - The sum of the cell lengths in the first row of every normalized table section is always equal to the total table width. `simpleTable` has been changed so that a null header list becomes a TableHead with a null body, not a TableHead with a single empty row. * Bump QuickCheck upper bound. * Change lower bound for QuickCheck to 2.10 (needed for `liftShrink2`). * Small code quality improvements (Joseph C. Sible, #69). * Allow aeson 1.5 (#72, Felix Yan). * Fixed documentation typo (Merlin Göttlinger). * Add COMPLETE pragmas to the pattern definitions (Christian Despres).
Update to pandoc-types-1.20 * Change all uses of String in type definitions to strict Text (Christian Despres) [API change]. The MetaValue instances using String have been kept, and parallel ones using Text were added. * Remove the Arbitrary Text orphan instance (Christian Despres). This instance should not have been in the Text.Pandoc.Arbitrary, since it would have been exported with the rest of the instances in that module. Instead, more shrink* functions were added to compensate for the absence of this instance. * Add Text.Pandoc.Legacy.Definition (Christian Despres). To ease the transition to Text, this module provides an interface compatible with the String one, so that any unqualified imports of Text.Pandoc.Definition in other packages can be replaced by Text.Pandoc.Legacy.Definition without other code changes. This is done with PatternSynonyms. Some of the constructors of the types Meta, MetaValue, Block, Inline, Format, and Citation required PatternSynonym handling. The Attr and Target types had to be redefined, and certain functions had to be rewritten to handle String or the old Attr and Target types in this module. This module otherwise exports the definitions in Text.Pandoc.Definition unchanged. This is not a perfect drop-in replacement, since some imports like Inline(..) will no longer work. This may also cause incomplete pattern warnings when used, since the coverage checker does not seem to be aware of PatternSynonyms. * Add Text.Pandoc.Legacy.Builder (Christian Despres). Like Text.Pandoc.Legacy.Definition, this modules provides a compatibility interface while the transition to Text takes place. Unlike that module, this module only requires redefining the ToMetaValue and HasMeta classes and a few functions so that they use the old types. No PatternSynonyms are required. * Change Semigroup/Monoid instance for Meta. Previously `<>` was left-biased, so if meta1 and meta2 both contained a field 'foo', the value from meta1 would be retained in `meta1 <> meta2`, and the value from meta2 ignored. This is counterintuitive and doesn't work well with pandoc; for example, we want to be able to override a value in an earlier `--metadata-file` with a later one on the command line. It also makes the behavior of metadata more like other things (such as reference links, where later definitions take precedence over earlier ones). Note that this change may break some current workflows, if one is relying on metadata fields that occur later in a document to be overridden by those occurring earlier.
Update to pandoc-types-1.17.6.1 The changelog from 1.12.4.1 is too long to paste here. See http://hackage.haskell.org/package/pandoc-types-1.20/changelog
Bump PKGREVISION for hs-text-1.2.2.0 || hs-hashable-1.2.3.3
Bump PKGREVISION for hs-dlist || hs-utf8-string
Bump PKGREVISION for hs-primitive-0.6.1.0 || hs-vector-0.11.0.0 || hs-mwc-random-0.13.3.2 || hs-vector-algorithms-0.7.0.1
Bump PKGREVISION for hs-text-1.2.1.3
Bump PKGREVISION for hs-unordered-containers-0.2.5.1
Bump PKGREVISION for hs-hashable-1.2.3.2
Bump PKGREVISION for hs-text-1.2.1.1
Bump PKGREVISION for hs-dlist-0.7.1.1
Because this error: ERROR: hs-primitive>=0.5.4 is not installed; can't buildlink files. Bump PKGREVISION for hs-primitive-0.5.4.0
Bump PKGREVISION for hs-scientific-0.3.3.5
Bump PKGREVISION for hs-scientific-0.3.3.4
Bump PKGREVISION for hs-text-1.2.0.3
Bump PKGREVISION for hs-text-1.2.0.2 || hs-hashable-1.2.3.0
Bump PKGREVISION for hs-transformers-0.4.2.0
Bump PKGREVISION for hs-vector-0.10.12.1
Bump PKGREVISION for hs-text-1.2.0.0
Import pandoc-types-1.12.4.1 as textproc/hs-pandoc-types, packaged for wip. Text.Pandoc.Definition defines the Pandoc data structure, which is used by pandoc to represent structured documents. This module used to live in the pandoc package, but starting with pandoc 1.7, it has been split off, so that other packages can use it without drawing in all of pandoc's dependencies, and pandoc itself can depend on packages (like citeproc-hs) that use them. Text.Pandoc.Builder provides functions for building up Pandoc structures programmatically. Text.Pandoc.Generic provides generic functions for manipulating Pandoc documents. Text.Pandoc.Walk provides faster, nongeneric functions for manipulating Pandoc documents. Text.Pandoc.JSON provides functions for serializing and deserializing a Pandoc structure to and from JSON.