Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Remove 'weigh-pandoc' flag. This is now built (and run)
automatically when you build (and run) benchmarks.
|
|
This is no longer necessary since we no longer support ghc 7.8.
|
|
language is now consistently Haskell2010, and other-extensions
is consistently NoImplicitPrelude. Everything else to be specified
in the module header as needed.
|
|
|
|
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.
|
|
|
|
since custom prelude depends on it.
|
|
|
|
|
|
|
|
We need this again because of Monoid/Semigroup.
|
|
New cabal new-build seems to choke on GPL, even though it's
supposed to be legal.
|
|
|
|
And a few tweaks related to the Semigroups/Monoid change.
Closes #4448.
|
|
|
|
|
|
|
|
Tests pass with the new test tool.
|
|
|
|
|
|
|
|
The ToLuaStack instance for Set is orphaned. The PVP requires the minor
version to be fixed in this case.
|
|
|
|
Fixes #4282
|
|
|
|
|
|
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.
|
|
`confTrailingNewline` is introduced in this version.
|
|
|
|
|
|
This is needed because the type constructor Empty in MarkupM
has changed, and the HTML writer assumes the constructor has
an argument.
Closes #4334.
|
|
|
|
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.
|
|
This fixes an HTML tokenization bug whereby comments
were sometimes consumed with open tags.
|
|
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).
|
|
|
|
|
|
|
|
We introduce a new module, Text.Pandoc.Readers.Docx.Fields which
contains a simple parsec parser. At the moment, only simple hyperlink
fields are accepted, but that can be extended in the future.
|
|
|
|
Run JSON filters from Lua filters
|
|
|
|
|
|
This should give us more complete coverage of newer
base features.
See #4255.
|
|
|
|
There are two steps in the conversion: a conversion from pandoc to a
Presentation datatype modeling pptx, and a conversion from
Presentation to a pptx archive. The two steps were sharing the same
state and environment, and the code was getting a bit
spaghetti-ish. This separates the conversion into separate
modules (T.P.W.Powerpoint.Presentation, which defineds the
Presentation datatype and goes Pandoc->Presentation)
and (T.P.W.Pandoc.Output, which goes Presentation->Archive).
Text.Pandoc.Writers.Powerpoint a thin wrapper around the two modules.
|
|
|
|
Provide more context about the task which caused an error.
|