Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-13 | Add highlight directive to the rST reader (#6140) | Lucas Escot | 1 | -0/+2 | |
2020-02-07 | Apply linter suggestions. Add fix_spacing to lint target in Makefile. | John MacFarlane | 1 | -1/+1 | |
2020-02-07 | Resolve HLint warnings | Albert Krewinkel | 1 | -4/+1 | |
All warnings are either fixed or, if more appropriate, HLint is configured to ignore them. HLint suggestions remain. * Ignore "Use camelCase" warnings in Lua and legacy code * Fix or ignore remaining HLint warnings * Remove redundant brackets * Remove redundant `return`s * Remove redundant as-pattern * Fuse mapM_/map * Use `.` to shorten code * Remove redundant `fmap` * Remove unused LANGUAGE pragmas * Hoist `not` in Text.Pandoc.App * Use fewer imports for `Text.DocTemplates` * Remove redundant `do`s * Remove redundant `$`s * Jira reader: remove unnecessary parentheses | |||||
2019-11-14 | Parsing: Rename takeWhileP -> take1WhileP and clean it up. | John MacFarlane | 1 | -9/+11 | |
(It doesn't match the empty sequence.) | |||||
2019-11-12 | Switch to new pandoc-types and use Text instead of String [API change]. | despresc | 1 | -150/+226 | |
PR #5884. + Use pandoc-types 1.20 and texmath 0.12. + Text is now used instead of String, with a few exceptions. + In the MediaBag module, some of the types using Strings were switched to use FilePath instead (not Text). + In the Parsing module, new parsers `manyChar`, `many1Char`, `manyTillChar`, `many1TillChar`, `many1Till`, `manyUntil`, `mantyUntilChar` have been added: these are like their unsuffixed counterparts but pack some or all of their output. + `glob` in Text.Pandoc.Class still takes String since it seems to be intended as an interface to Glob, which uses strings. It seems to be used only once in the package, in the EPUB writer, so that is not hard to change. | |||||
2019-11-11 | Fix typos (#5896) | Brian Wignall | 1 | -1/+1 | |
2019-09-28 | Use Prelude.fail to avoid ambiguity with fail from GHC.Base. | John MacFarlane | 1 | -6/+6 | |
2019-08-27 | Add stateAllowLineBreaks to ParserState. [API change] | John MacFarlane | 1 | -0/+2 | |
2019-08-26 | parseFromString': reset stateLastStrPos to Nothing before parse. | John MacFarlane | 1 | -0/+1 | |
2019-08-26 | Fix inline parsing in grid table cells. | John MacFarlane | 1 | -14/+16 | |
* T.P.Parsing: Change type of `setLastStrPos` so it takes a `Maybe SourcePos` rather than a `SourcePos`. [API change] * T.P.Parsing: Make `parseFromString'` and `gridTableWith` and `gridTableWith'` polymorphic in the parser state, constraining it with `HasLastStrPosition`. [API change] Closes #5708. | |||||
2019-07-02 | Fix redundant constraint warnings. (#5625) | Pete Ryland | 1 | -8/+6 | |
2019-03-01 | Remove license boilerplate. | John MacFarlane | 1 | -18/+0 | |
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync. | |||||
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 1 | -2/+2 | |
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. | |||||
2018-12-31 | Remove unused HasHeaderMap (#5175) | Alexander | 1 | -16/+1 | |
It is updated by some readers, but never actually used. | |||||
2018-12-17 | Parsing: use safeRead instead of read. | John MacFarlane | 1 | -1/+1 | |
2018-11-11 | Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier. | John MacFarlane | 1 | -1/+1 | |
The parameter is Extensions. This allows these functions to be sensitive to the settings of `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`. This allows us to use `uniqueIdent` in the CommonMark reader, replacing some custom code. It also means that `gfm_auto_identifiers` can now be used in all formats. Semantically, `gfm_auto_identifiers` is now a modifier of `auto_identifiers`; for identifiers to be set, `auto_identifiers` must be turned on, and then the type of identifier produced depends on `gfm_auto_identifiers` and `ascii_identifiers` are set. Closes #5057. | |||||
2018-11-08 | Remove Functor and Applicative constraints where Monad already exists | Alexander Krotov | 1 | -14/+7 | |
2018-11-03 | Make readWithM accept Text input as well as String (API change) | Alexander Krotov | 1 | -12/+6 | |
2018-11-02 | Fix readWithM with Stream. | John MacFarlane | 1 | -4/+2 | |
2018-11-02 | T.P.Parsing: Generalize readWithM to any Char Stream. | John MacFarlane | 1 | -5/+12 | |
[API change] | |||||
2018-11-01 | Remove Monad constraint implied by Stream | Alexander Krotov | 1 | -6/+6 | |
2018-11-01 | hlint Parsing.hs | Alexander Krotov | 1 | -11/+9 | |
2018-11-01 | Make `uri` accept any stream with Char tokens | Alexander Krotov | 1 | -1/+1 | |
2018-11-01 | Rewrite "uri" without "withRaw" | Alexander Krotov | 1 | -17/+16 | |
2018-10-31 | Generalize gridTableWith to any streams with Char tokens | Alexander Krotov | 1 | -16/+18 | |
2018-10-31 | Generalize parseFromString' | Alexander Krotov | 1 | -3/+3 | |
2018-10-31 | Generalize parseFromString to any streams with Char token | Alexander Krotov | 1 | -4/+5 | |
2018-10-29 | LaTeX reader: allow space at end of math after `\`. | John MacFarlane | 1 | -1/+1 | |
Closes #5010. Expose trimMath from T.P.Shared. | |||||
2018-10-10 | Pandoc.Parsing: rewrite nonspaceChar using noneOf | Alexander Krotov | 1 | -1/+1 | |
2018-08-10 | Avoid incomplete pattern patch. | John MacFarlane | 1 | -5/+8 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -11/+5 | |
2018-07-02 | Spellcheck comments | Alexander Krotov | 1 | -1/+1 | |
2018-05-09 | Parsing: Lookahead for non-whitespace after single/double quote start. | John MacFarlane | 1 | -2/+4 | |
Closes #4637. | |||||
2018-04-19 | Parsing.uri: don't treat `*` characters at end as part of URI. | John MacFarlane | 1 | -1/+1 | |
This fixes #4561, a bug parsing emphasized bare links in RST. | |||||
2018-04-09 | Fix a comment | Alexander Krotov | 1 | -1/+1 | |
2018-03-21 | Parsing: Fix romanNumeral parser. | John MacFarlane | 1 | -3/+3 | |
We previously accepted 'DDC' as 1100. Closes #4480. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 1 | -0/+2 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-16 | Monoid/Semiground cleanup relying on custom Prelude. | John MacFarlane | 1 | -9/+0 | |
2018-03-15 | Remove redundant import. | John MacFarlane | 1 | -2/+0 | |
2018-03-13 | Require pandoc-types 1.17.4. | John MacFarlane | 1 | -2/+14 | |
And a few tweaks related to the Semigroups/Monoid change. Closes #4448. | |||||
2018-02-23 | Export improved sepBy1 from Text.Pandoc.Parsing | Alexander Krotov | 1 | -5/+11 | |
2018-02-19 | Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags reader | Alexander Krotov | 1 | -0/+15 | |
2018-01-31 | Export list marker parsers from Text.Pandoc.Parsing | Alexander Krotov | 1 | -0/+5 | |
2018-01-19 | hlint code improvements. | John MacFarlane | 1 | -14/+10 | |
2018-01-14 | Markdown reader: Improved inlinesInBalancedBrackets. | John MacFarlane | 1 | -0/+1 | |
The change both improves performance and fixes a regression whereby normal citations inside inline notes were not parsed correctly. Closes jgm/pandoc-citeproc#315. | |||||
2018-01-05 | Update copyright notices to include 2018 | Albert Krewinkel | 1 | -2/+2 | |
2017-11-19 | Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`. | John MacFarlane | 1 | -2/+2 | |
Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in `markdown` or `html` `+tex_math_single_backslash`. | |||||
2017-11-14 | Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters. | John MacFarlane | 1 | -1/+1 | |
This fixes a bug where pandoc would stop parsing a URI with an empty attribute: for example, `&a=&b=` wolud stop at `a`. (The uri parser tries to guess which punctuation characters are part of the URI and which might be punctuation after it.) Closes #4068. | |||||
2017-11-01 | hlint | Alexander Krotov | 1 | -18/+18 | |
2017-10-29 | Source code reformatting. | John MacFarlane | 1 | -65/+64 | |