aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-02Update changelog.John MacFarlane1-98/+182
2021-03-02MacOS release build: remove -split-sections.John MacFarlane1-2/+2
It doesn't seem to affect executable size at all.
2021-03-02trypandoc: remove unneeded imports.John MacFarlane1-4/+0
2021-03-02cabal.project: don't explicitly set -trypandoc.John MacFarlane1-1/+1
If we do, this can't be overridden on the command line.
2021-03-02Avoid split-sections for Windows rc.John MacFarlane1-2/+1
We get an error "too many sections." Maybe a bug in stack? https://stackoverflow.com/questions/64287505/ld-too-many-sections-90295
2021-03-01Use -split-sections in creating release binary.John MacFarlane3-4/+4
This is supposed to reduce executable size.
2021-03-01Make T.P.Readers.LaTeX.Types an unexported module.John MacFarlane2-2/+2
[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 MacFarlane3-139/+156
2021-03-01Jira writer: use Span identifiers as anchorsAlbert Krewinkel2-2/+11
Closes: tarleb/jira-wiki-markup#3.
2021-02-28Removed unnecessary pragmas.John MacFarlane1-2/+0
2021-02-28Change T.P.Readers.LaTeX.SIunitx to export a command map...John MacFarlane2-16/+16
instead of individual commands.
2021-02-28Remove superfluous imports.John MacFarlane1-2/+0
2021-02-28T.P.Readers.LaTeX: Don't export tokenize, untokenize.John MacFarlane3-18/+10
[API change] These were only exported for testing, which seems the wrong thing to do. They don't belong in the public API and are not really usable as they are, without access to the Tok type which is not exported. Removed the tokenize/untokenize roundtrip test. We put a quickcheck property in the comments which may be used when this code is touched (if it is).
2021-02-28LaTeX writer: use function instead of map for accent lookup.John MacFarlane1-27/+25
2021-02-28Factor out T.P.Readers.LaTeX.Math.John MacFarlane3-193/+230
2021-02-28Fix CI for older cabal versions.John MacFarlane1-7/+16
We add fields to matrix.versions to handle the cabal command prefix (v2-, new-, nothing) and whether `--test-option` is supported.
2021-02-28CI: don't use --test-option with older cabal versions (< 3).John MacFarlane1-1/+2
2021-02-28Fix bug in last commit.John MacFarlane1-1/+1
2021-02-28Markdown reader efficiency improvements.John MacFarlane1-182/+208
Benchmarks show that these make the reader 13-17% faster, depending on extensions.
2021-02-28LaTeX reader: another small efficiency improvement.John MacFarlane1-6/+12
2021-02-28LaTeX reader efficiency improvements.John MacFarlane1-31/+42
In conjunction with other changes this makes the reader almost twice as fast on our benchmark as it was on Feb. 10.
2021-02-28Move setDefaultLanguage to T.P.Readers.LaTeX.Lang.John MacFarlane2-16/+22
2021-02-28LaTeX reader: remove two unnecessary parsers in inline.John MacFarlane1-2/+0
These are handled anyway by regularSymbol.
2021-02-28trypandoc: add 2 second timeout.John MacFarlane2-2/+3
2021-02-28Factor out T.P.Readers.LaTeX.Citation.John MacFarlane4-186/+232
2021-02-27Factor out T.P.Readers.LaTeX.Table.John MacFarlane4-363/+412
2021-02-27Split off T.P.Readers.LaTeX.Accent.John MacFarlane3-60/+87
To help reduce memory demands compiling the main LaTeX reader.
2021-02-27Add xml-conduit to stack.yaml extra-deps.John MacFarlane1-0/+1
2021-02-27Use skylighting 0.10.4.John MacFarlane2-4/+4
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-27Lua: use strict evaluation when retrieving AST value from the stackAlbert Krewinkel1-79/+77
Fixes: #6674
2021-02-26Add tools/parseTimings.pl.John MacFarlane1-0/+33
A script to help pin down which modules take the most time and memory to compile.
2021-02-26CI: hide successes in linux test output.John MacFarlane1-1/+1
2021-02-26Update tests for changes to https URLs.John MacFarlane6-6/+6
2021-02-26Fix/update URLs and use HTTP**S** where possible (#7122)Salim B17-48/+47
2021-02-26Wrap url colours in braces in the default LaTeX template (#7121)Loïc Grobol1-4/+4
2021-02-22CI: Add 'benchmark' to benchmark cache key.John MacFarlane1-2/+2
For benchmark we build with optimizations, so the regular cache is useless.
2021-02-22Use latest skylighting.John MacFarlane2-2/+4
2021-02-22Remove weigh-pandoc.John MacFarlane2-56/+0
It's not really useful any more, now that our regular benchmarks include data on allocation.
2021-02-22benchmark CI improvements.John MacFarlane1-3/+3
- don't build tests, just benchmarks. - get allocation info.
2021-02-22Rename benchmark in CI.John MacFarlane1-1/+1
2021-02-22Add linux benchmark to CI.John MacFarlane1-0/+56
2021-02-22T.P.CSV: fix parsing of unquoted values.John MacFarlane2-2/+16
Previously we didn't allow unescaped quotes in unquoted values, but they are allowed. Closes #7112.
2021-02-22tests: print accurate location if a test failsAlbert Krewinkel1-1/+1
Ensures that tasty-hunit reports the location of the failing test instead of the location of the helper `test` function.
2021-02-22Fall back to latin1 if UTF-8 decoding fails...John MacFarlane1-1/+7
...when handling URL argument served with no charset in the mime type. The assumption is that most pages that don't specify a charset in the mime type are either UTF-8 or latin1. I think that's a good assumption, though I'm not sure.
2021-02-22When downloading content from URL arguments, be sensitive to...John MacFarlane1-1/+9
the character encoding. We can properly handle UTF-8 and latin1 (ISO-8859-1); for others we raise an error. See #5600.
2021-02-22T.P.Error: Add PandocUnsupportedCharsetError constructor...John MacFarlane2-0/+5
...for PandocError. [API change]
2021-02-22Text.Pandoc.MIME: add exported function getCharset.John MacFarlane1-2/+15
[API change]
2021-02-22Text.Pandoc.UTF8: change IO functions to return Text, not String.John MacFarlane11-68/+70
[API change] This affects `readFile`, `getContents`, `writeFileWith`, `writeFile`, `putStrWith`, `putStr`, `putStrLnWith`, `putStrLn`. `hPutStrWith`, `hPutStr`, `hPutStrLnWith`, `hPutStrLn`, `hGetContents`. This avoids the need to uselessly create a linked list of characters when emiting output.
2021-02-21Update changelog.John MacFarlane1-0/+355
2021-02-21Fix changelog-helper.shJohn MacFarlane1-4/+11