Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2013-06-24 | Use new flexible metadata type. | John MacFarlane | 1 | -2/+4 | |
* Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this. | |||||
2013-01-23 | Eliminated use of TH in test suite. | John MacFarlane | 1 | -29/+2 | |
2013-01-19 | Get rid of compiler warnings in Tests.Helpers. | John MacFarlane | 1 | -2/+5 | |
2013-01-12 | Fixed/simplified diff output for tests. | John MacFarlane | 1 | -13/+8 | |
2013-01-07 | Updated tests for tight/loose lists. | John MacFarlane | 1 | -2/+2 | |
Taking into account new context/latex output, and fixing some bugs in the test suite Tests.Helpers and Tests.Writers.ConTeXt. (We had the wrong order of expected/actual in the diff output.) | |||||
2013-01-02 | Fixed test suite to use Diff 0.2 API. | John MacFarlane | 1 | -7/+7 | |
2012-09-29 | Renamed removedLeadingTrailingSpace to trim. | John MacFarlane | 1 | -2/+2 | |
Also removeLeadingSpace to triml, removeTrailingSpace to trimr. | |||||
2012-07-26 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 1 | -7/+5 | |
2012-07-26 | Moved tests to tests/, modified cabal file so lib isn't recompiled. | John MacFarlane | 1 | -0/+114 | |
2011-01-29 | Moved tests to src. | John MacFarlane | 1 | -116/+0 | |
2011-01-26 | Updates for compiling with ghc 7. | John MacFarlane | 1 | -3/+5 | |
We now use a CPP trick to have compatible quasiquotes that work in both GHC 6.12 and 7. | |||||
2011-01-22 | Use ANSI color to point to diffs in test output. | John MacFarlane | 1 | -6/+20 | |
ConTeXt writer bullet list test set to break as an example. | |||||
2011-01-22 | Tests.Helpers: Added file quasiquoter. | John MacFarlane | 1 | -0/+14 | |
This allows you to take expected test output from a file. | |||||
2011-01-22 | Added 'property' in Tests.Helpers & some quickcheck tests. | John MacFarlane | 1 | -2/+14 | |
2011-01-22 | Improved test framework. | John MacFarlane | 1 | -22/+57 | |
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings. | |||||
2011-01-21 | More informative output on writer test failure. | John MacFarlane | 1 | -2/+2 | |
2011-01-21 | Added Tests.Writers.ConTeXt and helpers for writer tests. | John MacFarlane | 1 | -0/+5 | |
2011-01-19 | Show Haskell-readable version of input string in test failure. | John MacFarlane | 1 | -5/+7 | |
2011-01-19 | Unit tests: On failure, print the input string. | John MacFarlane | 1 | -5/+5 | |
2011-01-18 | Revamped tests with new =: and =?> operators + builder. | John MacFarlane | 1 | -24/+22 | |
Left in a couple failing tests for demonstration purposes. | |||||
2011-01-14 | Minor code cleanup. | John MacFarlane | 1 | -3/+9 | |
2011-01-13 | Adjusted source to 80-column limit. | John MacFarlane | 1 | -0/+2 | |
2011-01-13 | Moved Tests.Shared -> Tests.Helpers. | John MacFarlane | 1 | -0/+26 | |
Tests.Shared would be the natural place to put tests for functions in Text.Pandoc.Shared. |