aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2018-05-20Use haddock-library 1.6.0.John MacFarlane1-1/+1
2018-05-14Require texmath >= 0.11.John MacFarlane1-1/+1
Although pandoc compiles with 0.10, the tests assume texmath 0.11. Closes #4651.
2018-05-12Merge branch 'master' into groff_readerYan Pas1-2/+2
2018-05-10Bump version to 2.2.1.John MacFarlane1-1/+1
2018-05-10Use texmath-0.11.John MacFarlane1-1/+1
2018-05-09Merge branch 'master' into groff_readerYan Pashkovsky1-73/+86
2018-04-26Document FB2 reader.John MacFarlane1-5/+5
2018-04-26Add FB2 reader (#4539)Alexander1-0/+4
2018-04-25Removed deprecated ancient HTML math methods.John MacFarlane1-3/+1
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`, `--asciimathml` options. Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from `Text.Pandoc.Options.HTMLMathMethod` [API change]. Removed unneeded data file LaTeXMathML.js and updated tests. Bumped version to 2.2.
2018-04-24Powerpoint writer: Remove docProps/thumbnail.jpeg in data dir.Jesse Rosenthal1-1/+0
This file wasn't used in the production of documents. It's supposed to be a thumbnail of the current document, and we can't actually produce that ourselves. It turns out that the file contains a nonfree ICC color calibration file, so the best thing to do would be to remove it altogether. Fixes: #4588
2018-04-24use the `-threaded` GHC flag when building benchmarks, related to #4130 (#4587)Francesco Occhipinti1-2/+2
2018-04-11Bump to 2.1.4.John MacFarlane1-1/+1
2018-04-11Bump temporary upper bound to 1.4.John MacFarlane1-2/+2
2018-03-18Make 'weigh-pandoc' into a benchmark program.John MacFarlane1-14/+7
Remove 'weigh-pandoc' flag. This is now built (and run) automatically when you build (and run) benchmarks.
2018-03-18Removed old-locale flag and Text.Pandoc.Compat.Time.John MacFarlane1-15/+1
This is no longer necessary since we no longer support ghc 7.8.
2018-03-18pandoc.cabal: fix up other-extensions and language fields.John MacFarlane1-13/+11
language is now consistently Haskell2010, and other-extensions is consistently NoImplicitPrelude. Everything else to be specified in the module header as needed.
2018-03-18Fix what was missing in last commit.John MacFarlane1-14/+8
2018-03-18New approach to custom Prelude.John MacFarlane1-7/+31
We use no custom Prelude with the latest ghc version (8.4.1), so we don't have problems with ghci. See https://ghc.haskell.org/trac/ghc/ticket/10920 https://www.reddit.com/r/haskell/comments/3ryf2p/how_can_you_use_a_custom_prelude_with_ghci/ This may help with #4464.
2018-03-17Bump to 2.1.3, update changelog.John MacFarlane1-1/+1
2018-03-17Add semigroups dependency to executables...John MacFarlane1-0/+10
since custom prelude depends on it.
2018-03-16Allow earlier versions of haddock-library, use CPP.John MacFarlane1-1/+1
2018-03-16Require haddock-libary 1.5 (with tables).John MacFarlane1-1/+1
2018-03-16Use latest pandoc-types.John MacFarlane1-2/+2
2018-03-16Added custom prelude.John MacFarlane1-8/+16
We need this again because of Monoid/Semigroup.
2018-03-16License to GPL-2 instead of GPL.John MacFarlane1-1/+1
New cabal new-build seems to choke on GPL, even though it's supposed to be legal.
2018-03-15Bump upper-bound for time, criterion, haddock-library, exceptions.John MacFarlane1-6/+6
2018-03-13Require pandoc-types 1.17.4.John MacFarlane1-2/+2
And a few tweaks related to the Semigroups/Monoid change. Closes #4448.
2018-03-11BUmp upper bound for http-types.John MacFarlane1-1/+1
2018-03-07Bump aeson upper bound.John MacFarlane1-1/+1
2018-03-07pandoc.cabal: link to https version of the website (#4433)Chris Martin1-1/+1
2018-03-05Allow tasty-quickcheck 0.10 (#4429)Felix Yan1-1/+1
Tests pass with the new test tool.
2018-03-04Allow skylighting 0.7.x.John MacFarlane1-1/+1
2018-03-02Bump version to 2.1.2.John MacFarlane1-1/+1
2018-02-28Update tagsoup to 0.14.6Alexander Krotov1-1/+1
2018-02-27Set fixed minor version for hsluaAlbert Krewinkel1-2/+2
The ToLuaStack instance for Set is orphaned. The PVP requires the minor version to be fixed in this case.
2018-02-27Update tagsoup to 0.14.5Alexander Krotov1-1/+1
2018-02-27Update tagsoup to 0.14.4Alexander Krotov1-1/+1
Fixes #4282
2018-02-26Org reader tests: move citation tests to separate moduleAlbert Krewinkel1-0/+1
2018-02-26Allow exceptions 0.9.John MacFarlane1-1/+1
2018-02-25Removed ghc-prof-options.John MacFarlane1-2/+0
As of cabal 1.24, sensible defaults are used. See https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-ghc-prof-options.
2018-02-25initialYan Pas1-0/+2
2018-02-22Require aeson-pretty 0.8.5. Closes #4394.John MacFarlane1-1/+1
`confTrailingNewline` is introduced in this version.
2018-02-18Powerpoint writer: Another attempt at avoiding compiler warnings.Jesse Rosenthal1-1/+2
2018-02-18Powerpoint writer: Move notes slides into data tree.Jesse Rosenthal1-0/+6
2018-02-01Bump blaze-markup, blaze-html lower bounds to 0.8, 0.9.John MacFarlane1-2/+2
This is needed because the type constructor Empty in MarkupM has changed, and the HTML writer assumes the constructor has an argument. Closes #4334.
2018-01-27Add docx golden tests to cabal file.Jesse Rosenthal1-0/+1
2018-01-25Tests: Abstract powerpoint tests out to OOXML tests.Jesse Rosenthal1-1/+3
There is very little pptx-specific in these tests, so we abstract out the basic testing function so it can be used for docx as well. This should allow us to catch some errors in the docx writer that slipped by the roundtrip testing.
2018-01-21Require tagsoup 0.14.3 - closes #4282.John MacFarlane1-1/+1
This fixes an HTML tokenization bug whereby comments were sometimes consumed with open tags.
2018-01-21Powerpoint writer tests: New test framework for pptx.Jesse Rosenthal1-0/+2
Previously we had tested certain properties of the output PowerPoint slides. Corruption, though, comes as the result of a numebr of interrelated issues in the output pptx archive. This is a new approach, which compares the output of the Powerpoint writer with files that we know to (a) not be corrupt, and (b) to show the desired output behavior (details below). This commit introduces three tests using the new framework. More will follow. The test procedure: given a native file and a pptx file, we generate a pptx archive from the native file, and then test: 1. Whether the same files are in the two archives 2. Whether each of the contained xml files is the same. (We skip time entries in `docProps/core.xml`, since these are derived from IO. We just check to make sure that they're there in the same way in both files.) 3. Whether each of the media files is the same. Note that steps 2 and 3, though they compare multiple files, are one test each, since the number of files depends on the input file (if there is a failure, it will only report the first failed file comparison in the test failure).
2018-01-18More stack.yaml fixes for skylighting.John MacFarlane1-1/+1