aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2021-03-24Allow attoparsec 0.14.x.John MacFarlane1-1/+1
2021-03-22Require latest skylighting (fixes a bug in XML syntax highlighting).John MacFarlane1-2/+2
2021-03-20Bump to 2.13, update changelogJohn MacFarlane1-1/+1
2021-03-19Tests: Use getExecutablePath from base...John MacFarlane1-1/+0
avoiding the need to depend on the executable-path package.
2021-03-19Narrow version bounds for skylighting, citeproc, and texmath.John MacFarlane1-4/+4
This reduces the chance that tests will fail due to behavior changes in one of these dependencies. (See e.g. #7163)
2021-03-19Use skylighting 0.10.5.John MacFarlane1-2/+2
This fixes a bad regression in Haskell syntax highlighting.
2021-03-18Require safe >= 0.3.18 and remove cpp.John MacFarlane1-1/+1
2021-03-18Don't bake in extra stack size to the executables.John MacFarlane1-1/+1
I don't think this is necessary; stack overflows generally indicate a code problem and should be fixed (and have been when reported).
2021-03-18Bump to 2.12.1 and update changelog.John MacFarlane1-1/+1
2021-03-18Use -A8m for default rtsopts for benchmarkJohn MacFarlane1-1/+1
2021-03-18pandoc.cabal: bake in -A8m to rtsopts.John MacFarlane1-1/+1
This reserves a larger allocation area and reduces GC, speeding up execution.
2021-03-17Update bounds for random (#7156)Alexey Kuleshevich1-1/+1
2021-03-17Benchmark improvements.John MacFarlane1-2/+4
* Build `+RTS -A256m -RTS` into default ghc-options for benchmark, so we don't have to specify this separately on the command line. This is necessary to get accurate benchmark results; otherwise we are largely measuring garbage collecting, some not related to the current benchmark. * Switch back from gauge to tasty-bench. * Allow specifying BASELINE file in 'make bench' for comparison (otherwise the latest is chosen by default). * Remove obsolete reference to weigh-pandoc from CONTRIBUTING.md. * Remove `-Rghc-timing` from 'make bench'.
2021-03-16Increase heap space in runtime for benchmarks.John MacFarlane1-0/+1
Otherwise we're essentially benchmarking garbage collecting, which can give very inconsistent results.
2021-03-15Switch to gauge for now for benchmarks.John MacFarlane1-3/+3
tasty-bench is displaying odd behavior, with different timings depending on the `--pattern` specified.
2021-03-15Require texmath 0.12.2John MacFarlane1-1/+1
2021-03-14Require latest doclayout and skylighting.John MacFarlane1-3/+3
2021-03-13Use eciteproc >= 0.3.0.9John MacFarlane1-1/+1
2021-03-13Use jira-wiki-markup 1.3.4Albert Krewinkel1-1/+1
Jira reader: * Fixed parsing of autolinks (i.e., of bare URLs in the text). Previously an autolink would take up the rest of a line, as spaces were allowed characters in these items. * Emoji character sequences no longer cause parsing failures. This was due to missing backtracking when emoji parsing fails. Jira writer: * Block quotes are only rendered as `bq.` if they do not contain a linebreak.
2021-03-09Re-add a needed dependency for benchmark.John MacFarlane1-0/+1
2021-03-09Revert "Use -Wunused-packages on ghc >= 8.10."John MacFarlane1-2/+0
This reverts commit 7a1d0f01e94d115f361ead110b60174bfc732033. This option gives confusing output when a build is interrupted, suggesting that packages aren't required when we just didn't get to the model that requires them.
2021-03-09Remove some unused packages from pandoc.cabal.John MacFarlane1-4/+2
2021-03-09Use -Wunused-packages on ghc >= 8.10.John MacFarlane1-0/+2
2021-03-04Bump version to 2.12John MacFarlane1-1/+1
2021-03-03Revert "Add T.P.Readers.LaTeX.Include."John MacFarlane1-1/+0
This reverts commit b569b0226d4bd5e0699077089d54fb03d4394b7d. Memory usage improvement in compilation wasn't very significant.
2021-03-03Add T.P.Readers.LaTeX.Include.John MacFarlane1-0/+1
2021-03-03Remove T.P.Readers.LaTeX.Accent.John MacFarlane1-1/+0
Incorporate accentCommands into T.P.Readers.LaTeX.Inline.
2021-03-03Split out T.P.Readers.LaTeX.Inline.John MacFarlane1-5/+6
2021-03-02Split out T.P.Writers.LaTeX.Util.John MacFarlane1-0/+1
2021-03-02Split out T.P.Writers.LaTeX.Citation.John MacFarlane1-0/+1
2021-03-02Split out T.P.Writers.LaTeX.Lang.John MacFarlane1-0/+1
2021-03-02Split up T.P.Writers.Markdown...John MacFarlane1-0/+2
with T.P.Writers.Markdown.Types and T.P.Writers.Markdown.Inline. The module was difficult to compile on low-memory system.s
2021-03-01Make T.P.Readers.LaTeX.Types an unexported module.John MacFarlane1-1/+1
[API change] This is really an implementation detail that shouldn't be exposed in the public API.
2021-03-01Factor out T.P.Readers.LaTeX.Macro.John MacFarlane1-0/+1
2021-02-28Factor out T.P.Readers.LaTeX.Math.John MacFarlane1-0/+1
2021-02-28trypandoc: add 2 second timeout.John MacFarlane1-1/+1
2021-02-28Factor out T.P.Readers.LaTeX.Citation.John MacFarlane1-0/+1
2021-02-27Factor out T.P.Readers.LaTeX.Table.John MacFarlane1-0/+1
2021-02-27Split off T.P.Readers.LaTeX.Accent.John MacFarlane1-0/+1
To help reduce memory demands compiling the main LaTeX reader.
2021-02-27Use skylighting 0.10.4.John MacFarlane1-2/+2
This version of skylighting uses xml-conduit rather than hxt. This speeds up parsing of XML syntax definitions fourfold, and removes four packages from pandoc's dependency graph: hxt-charproperties hxt-unicode hxt-regex-xmlschema hxt
2021-02-22Use latest skylighting.John MacFarlane1-2/+2
2021-02-22Remove weigh-pandoc.John MacFarlane1-8/+0
It's not really useful any more, now that our regular benchmarks include data on allocation.
2021-02-18'make bench': Create csv files for comparison.John MacFarlane1-1/+1
2021-02-18Allow base64-bytestring-1.2.*Dmitrii Kovanikov1-2/+2
2021-02-16Revert "Add T.P.XML.Light.Cursor."John MacFarlane1-1/+0
This reverts commit d8fc4971868104274881570ce9bc3d9edf0d2506.
2021-02-16Add T.P.XML.Light.Cursor.John MacFarlane1-0/+1
2021-02-16Split up T.P.XML.Light into submodules.John MacFarlane1-0/+3
2021-02-16Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light...John MacFarlane1-1/+1
..and add new definitions isomorphic to xml-light's, but with Text instead of String. This allows us to keep most of the code in existing readers that use xml-light, but avoid lots of unnecessary allocation. We also add versions of the functions from xml-light's Text.XML.Light.Output and Text.XML.Light.Proc that operate on our modified XML types, and functions that convert xml-light types to our types (since some of our dependencies, like texmath, use xml-light). Update golden tests for docx and pptx. OOXML test: Use `showContent` instead of `ppContent` in `displayDiff`. Docx: Do a manual traversal to unwrap sdt and smartTag. This is faster, and needed to pass the tests. Benchmarks: A = prior to 8ca191604dcd13af27c11d2da225da646ebce6fc (Feb 8) B = as of 8ca191604dcd13af27c11d2da225da646ebce6fc (Feb 8) C = this commit | Reader | A | B | C | | ------- | ----- | ------ | ----- | | docbook | 18 ms | 12 ms | 10 ms | | opml | 65 ms | 62 ms | 35 ms | | jats | 15 ms | 11 ms | 9 ms | | docx | 72 ms | 69 ms | 44 ms | | odt | 78 ms | 41 ms | 28 ms | | epub | 64 ms | 61 ms | 56 ms | | fb2 | 14 ms | 5 ms | 4 ms |
2021-02-14Allow tasty 1.4.*Albert Krewinkel1-1/+1
2021-02-12Jira: require jira-wiki-markup 1.3.3Albert Krewinkel1-1/+1
* Modified the Doc parser to skip leading blank lines. This fixes parsing of documents which start with multiple blank lines. (#7095) * Prevent URLs within link aliases to be treated as autolinks. (#6944) Fixes: #7095 Fixes: #6944