Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-08 | Fix `blanklines' documentation (#3843) | Alexander | 1 | -2/+2 | |
2017-06-17 | Use Control.Monad.State.Strict throughout. | John MacFarlane | 1 | -1/+1 | |
This gives 20-30% speedup and reduction of memory usage in most of the writers. | |||||
2017-05-27 | Pretty: Eq instance for Doc. | John MacFarlane | 1 | -2/+2 | |
2017-05-13 | Update dates in copyright notices | Albert Krewinkel | 1 | -2/+2 | |
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html> | |||||
2017-03-22 | Revert "Experimental change to charWidth in Pretty." | John MacFarlane | 1 | -1/+0 | |
This reverts commit c59e31722471ce3a67a41413de4e6a5ecfd00ba1. | |||||
2017-03-22 | Experimental change to charWidth in Pretty. | John MacFarlane | 1 | -0/+1 | |
Hunch that this might help with #3526. | |||||
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 1 | -32/+34 | |
2017-03-03 | Pretty: don't error for blocks of size < 1. | John MacFarlane | 1 | -1/+1 | |
Instead, resize to 1. Note, this (together with earlier changes to the Markdown writer) seems to fix #1785. The table renders as garbage, but pandoc now completes the conversion quickly and doesn't get tied up. | |||||
2017-02-23 | Pretty: simplified definition of realLength. | John MacFarlane | 1 | -1/+1 | |
2016-12-05 | Pretty: Added `afterBreak`. | John MacFarlane | 1 | -0/+15 | |
This makes it possible to insert escape codes for content that needs escaping at the beginning of a line. | |||||
2016-11-23 | Fixed some bugs in Pretty that caused blank lines in tables. | John MacFarlane | 1 | -11/+19 | |
The bugs caused spurious blank lines in grid tables when we had things like blankline $$ blankline Closes #3251. | |||||
2016-11-19 | Added function to compute the minimal width of a document | Björn Peemöller | 1 | -0/+4 | |
2016-11-19 | Added error message for illegal call to Pretty.block | Björn Peemöller | 1 | -3/+6 | |
2016-09-02 | Remove an inline monad compatibility macro. | Jesse Rosenthal | 1 | -12/+0 | |
2016-09-02 | Remove Compat.Monoid | Jesse Rosenthal | 1 | -1/+1 | |
This was only necessary for GHC versions with base below 4.5 (i.e., ghc < 7.4). | |||||
2016-07-14 | Fixed compiler warnings. | John MacFarlane | 1 | -4/+2 | |
2016-03-22 | Updated copyright dates to include 2016. | John MacFarlane | 1 | -2/+2 | |
2015-11-19 | Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵ | John MacFarlane | 1 | -1/+1 | |
mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc. | |||||
2015-11-09 | Restored Text.Pandoc.Compat.Monoid. | John MacFarlane | 1 | -0/+1 | |
Don't use custom prelude for latest ghc. This is a better approach to making 'stack ghci' and 'cabal repl' work. Instead of using NoImplicitPrelude, we only use the custom prelude for older ghc versions. The custom prelude presents a uniform API that matches the current base version's prelude. So, when developing (presumably with latest ghc), we don't use a custom prelude at all and hence have no trouble with ghci. The custom prelude no longer exports (<>): we now want to match the base 4.8 prelude behavior. | |||||
2015-11-09 | Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly." | John MacFarlane | 1 | -1/+0 | |
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b. | |||||
2015-11-08 | Use -XNoImplicitPrelude and 'import Prelude' explicitly. | John MacFarlane | 1 | -0/+1 | |
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503. | |||||
2015-10-14 | Use custom Prelude to avoid compiler warnings. | John MacFarlane | 1 | -1/+0 | |
- The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10. | |||||
2015-07-25 | Pretty: comment fix (mb21). | John MacFarlane | 1 | -1/+1 | |
2015-04-26 | Updated copyright notices to -2015. Closes #2111. | John MacFarlane | 1 | -2/+2 | |
2015-02-18 | Remove partial function from Pretty | Matthew Pickering | 1 | -7/+11 | |
2014-12-06 | Text.Pandoc.Pretty: Improve performance of realLength | Matthew Pickering | 1 | -1/+1 | |
Eliminates memory usage and twofold increase in speed. | |||||
2014-10-20 | Pretty: Make CR + BLANKLINE = BLANKLINE. | John MacFarlane | 1 | -0/+3 | |
This fixes an extra blank line we were getting at the end of markdown fragments (as well as rst, org, etc.) Closes #1705. | |||||
2014-07-27 | Text.Pandoc.Pretty: added blanklines. | John MacFarlane | 1 | -15/+17 | |
This ensures a certain number of blanklines (and no more) in output. | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-02-06 | Removed RenderState datatype context. | Merijn Verstraaten | 1 | -2/+1 | |
Reasoning: - It's not Haskell2010 - It breaks some tools - Doesn't actually do anything - RenderState doesn't even have a Monoid instance | |||||
2014-01-02 | Pretty: Added nestle. API change, minor version bump to 1.12.3. | John MacFarlane | 1 | -1/+10 | |
2013-08-04 | Remove CPP from default-extensions; add pragmas to modules as needed. | John MacFarlane | 1 | -1/+1 | |
2013-02-28 | Pretty: Fixed chomp so it works inside Prefixed elements. | John MacFarlane | 1 | -6/+8 | |
2013-02-28 | Pretty: Better Show instance for debugging purposes. | John MacFarlane | 1 | -4/+1 | |
2012-08-13 | Pretty: Fixed bug that caused combining characters to be dropped. | John MacFarlane | 1 | -6/+5 | |
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 1 | -1/+1 | |
2012-06-30 | Pretty: Added wide punctuation range to charWidth. | John MacFarlane | 1 | -1/+3 | |
Fixes bug with Chinese commas in tables. | |||||
2012-02-08 | More efficient implementation of nowrap in Pretty. | John MacFarlane | 1 | -4/+4 | |
2012-02-05 | Fixed Pretty so it uses Data.Monoid's <> w/ GHC 7.4. | John MacFarlane | 1 | -2/+13 | |
Note: changed fixity to infixr 6. | |||||
2012-02-05 | Remove dependency on dlist. | John MacFarlane | 1 | -6/+7 | |
Use sequence in Pretty instead. | |||||
2012-01-27 | Made charWidth in Text.Pandoc.Pretty complete. | John MacFarlane | 1 | -29/+35 | |
Used the unicode spec EastAsianWidth.txt. All characters marked W or F get width 2. Closes #377. | |||||
2012-01-25 | Pretty: Export realLength and use it in calculating offsets. | John MacFarlane | 1 | -10/+16 | |
This should help fix setext headers and tables containing asian wide characters and combining characters. | |||||
2012-01-25 | Pretty: Added charWidth function. | John MacFarlane | 1 | -0/+37 | |
2011-12-31 | Pretty: Added beforeNonBreak combinator. | John MacFarlane | 1 | -0/+21 | |
This allows you to include something conditionally on it being before a nonblank. Used for RST inline math. | |||||
2011-11-18 | Pretty: Added chomp combinator. | John MacFarlane | 1 | -0/+13 | |
2010-12-22 | Pretty: Added quote, doubleQuote. | John MacFarlane | 1 | -0/+10 | |
2010-12-21 | Pretty: don't print a breaking space before a newline. | John MacFarlane | 1 | -0/+4 | |
2010-12-20 | Renamed 'enclosed' to 'inside'. | John MacFarlane | 1 | -7/+7 | |
This avoids conflict with 'enclosed' in Text.Pandoc.Parsing. | |||||
2010-12-19 | Pretty: Fixed parens. | John MacFarlane | 1 | -1/+1 | |
2010-12-19 | Pretty: Added enclosed, parens. | John MacFarlane | 1 | -2/+13 | |