aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-18Require safe >= 0.3.18 and remove cpp.John MacFarlane2-6/+1
2021-03-18Rewrite a foldl1 as a foldl'.John MacFarlane1-1/+5
2021-03-18Remove another foldr1 partial function use.John MacFarlane1-5/+6
2021-03-18T.P.Readers.Odt.StyleReader: rewrite foldr1 use as foldr.John MacFarlane1-5/+6
This avoids a partial function.
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-18Minor revisions to provisional changelog.John MacFarlane1-6/+4
2021-03-18Bump to 2.12.1 and update changelog.John MacFarlane2-1/+94
2021-03-18Use -A8m for default rtsopts for benchmarkJohn MacFarlane1-1/+1
2021-03-18Revert the -j related changes in make_artifacts.sh.John MacFarlane1-3/+3
This led to very slow build times.
2021-03-18Change -A256m to -A8m in GHCOPTSJohn 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-18build-arm.sh : remove strict checking on first ssh accessJohn MacFarlane1-0/+2
2021-03-18make_artifacts.sh: try using -j for cabal rather than -j4 ghc-options.John MacFarlane2-5/+5
2021-03-17Use random 1.2.0 in stack.yaml.John MacFarlane1-0/+3
2021-03-17Docx writer: make nsid in abstractNum deterministic.John MacFarlane34-6/+4
Previously we assigned a random number (though in a deterministic way). But changes in the random package mean we get different results now on different architectures, even with the same random seed. We don't need random values; so now we just assign a value based on the list number id, which is guaranteed to be unique to the list marker.
2021-03-17Update bounds for random (#7156)Alexey Kuleshevich1-1/+1
2021-03-17Fix benchmark in ci.John MacFarlane1-1/+1
2021-03-17Benchmark improvements.John MacFarlane4-18/+13
* 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-17Makefile: Add comment documenting benchmark settings.John MacFarlane1-0/+3
2021-03-17Fix regression with `tex_math_backslash` in Markdown reader.John MacFarlane1-1/+1
Added regression test. Closes #7155.
2021-03-17Add test for #7155.John MacFarlane1-0/+15
2021-03-17Remove unnecessary tasty-bench from extra-depsJohn MacFarlane1-1/+0
2021-03-17Revert "Makefile: add --static to quick target"John MacFarlane1-1/+1
This reverts commit 6075b17ae11e5f1670d5d6e715431c4242dfd943.
2021-03-16Makefile: add --static to quick targetJohn MacFarlane1-1/+1
2021-03-16Disable redundant brackets check in .hlint.yaml.John MacFarlane1-8/+2
2021-03-16Increase heap space in runtime for benchmarks.John MacFarlane4-4/+8
Otherwise we're essentially benchmarking garbage collecting, which can give very inconsistent results.
2021-03-16Use -j4 for linux release build.John MacFarlane1-2/+2
2021-03-16.hlint.yaml - fix more false positives for redundant brackets.John MacFarlane1-0/+1
2021-03-16Makefile: set -j4 in default GHCOPTSJohn MacFarlane1-1/+1
2021-03-16make quick: re-use GHCOPTS for testsJohn MacFarlane1-1/+1
2021-03-16Use BENCHARGS in 'make bench'.John MacFarlane1-7/+4
2021-03-16cabal.project: remove -j, which means -j1!John MacFarlane1-1/+1
2021-03-16Update .hlint.yaml to avoid false positives on redundant brackets.John MacFarlane1-0/+2
These brackets are not redundant, it's a bug in hlint: $(deriveJSON ... )
2021-03-16Removed unused LANGUAGE pragmas.John MacFarlane2-2/+0
2021-03-16Fix benchmark CI to use gauge options.John MacFarlane1-1/+1
2021-03-16make quick: use -j4 to speed up buildJohn MacFarlane1-1/+1
2021-03-16Remove JS comment from HTML (#7154)Florian Kohrt1-1/+1
Illegal, turn into HTML comment
2021-03-16CONTRIBUTING: suggest using a `cabal.project.local` file (#7153)Albert Krewinkel1-3/+10
2021-03-15Switch to gauge for now for benchmarks.John MacFarlane3-13/+20
tasty-bench is displaying odd behavior, with different timings depending on the `--pattern` specified.
2021-03-15Force readFile in benchmarks earlyBodigrim1-6/+6
2021-03-15Add compiler timings to 'make bench'John MacFarlane1-1/+1
2021-03-15Update tests for new texmath.John MacFarlane5-6/+6
2021-03-15Require texmath 0.12.2John MacFarlane2-1/+2
2021-03-15Use doclayout 0.3.0.2.John MacFarlane1-1/+1
This further reduces time and memory needed to compile pandoc.
2021-03-15Remove an unneeded importJohn MacFarlane1-1/+0
2021-03-15Use foldl' instead of foldl everywhere.John MacFarlane16-29/+34
2021-03-14Require latest doclayout and skylighting.John MacFarlane2-5/+6
2021-03-14Handle 'nocite' better with --biblatex and --natbib.John MacFarlane2-2/+13
Previously the nocite metadata field was ignored with these formats. Now it populates a `nocite-ids` template variable and causes a `\nocite` command to be issued. Closes #4585.
2021-03-14Use latest dev version of doclayout.John MacFarlane1-3/+2
This reduces compile time/memory consumption for pandoc considerably. See jgm/doclayout#1.
2021-03-13T.P.App.FormatHeuristics: shorten code, improve docs.Albert Krewinkel1-7/+13