| Age | Commit message (Collapse) | Author |
|
|
|
|
|
This will no doubt produce a bunch of warnings and hence CI
failures, which we'll need to work around with explicit imports.
|
|
|
|
|
|
`characterReference` now returns a Text (as it should, because some
named references don't correspond to a single Char), and uses
the `lookupEntity` function from commonmark-hs instead of the slow
one from tagsoup.
`charsInBalanced` now takes a Text parser rather than a Char parser
as argument.
[API change]
|
|
It was not being used, and in fact it was a bad idea from
the beginning, as it had no hope of solving the problem
it was introduced to solve.
|
|
This is just a synonym for Bifunctor.first.
|
|
These are now exported by Text.Pandoc.URI, and removing
them from Shared helps make module structure more straightforward.
|
|
This reverts commit 20492d523c8324e36781cfbbc8092c796f94b151.
|
|
[API change]
Use this in the HTML reader to register identifiers to avoid
duplicates created by `auto_identifiers`.
|
|
Henceforth we just use `PandocParseError`.
T.P.Parsing now exports `fromParsecError`, which can be used
to turn a parsec ParseError into a regular PandocParseError
(the appearance to the user should be unchanged in every case).
[API change]
Closes #8382.
|
|
We were exporting Parser, ParserT as synonyms of Parsec, ParsecT.
There is no good reason for this and it can cause confusion.
Also, when possible, we replace imports of Text.Parsec with
T.P.Parsing. The idea is to make it easier, at some point,
to switch to megaparsec or another parsing engine if we want to.
T.P.Parsing new exports: Stream(..), updatePosString, SourceName,
Parsec, ParsecT [API change].
Removed exports: Parser, ParserT [API change].
|
|
This is still an unexported internal module.
Export `urlEncode`, `escapeURI`, `isURI`, `schemes`, `uriPathToPath`.
Re-export `escapeURI` and `isURI` from T.P.Shared (as they
were exported before); drop exports of `schemes` and `uriPathToPath`
[API change].
With this change, T.P.Class no longer depends on T.P.Shared.
|
|
This reverts commit c1ab48874c04142988505ca5c5caa6626bb68211.
Mistake in measurement.
|
|
Profiling the muse reader revealed that these were creating huge thunks.
|
|
Because many of the exported things aren't combinators...
Also remove redundant explot of indentWith from T.P.Parsing.Lists.
|