Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-12 | Switch to new pandoc-types and use Text instead of String [API change]. | despresc | 1 | -10/+12 | |
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-09-29 | Fix benchmarks so they compile again. | John MacFarlane | 1 | -13/+15 | |
2019-08-25 | Got benchmarks working with ipynb. | John MacFarlane | 1 | -2/+17 | |
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 1 | -1/+1 | |
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-10-13 | Update benchmarks for ghc 8.6.1. | John MacFarlane | 1 | -12/+17 | |
2018-03-18 | Added Prelude imports to sources in benchmark and trypandoc. | John MacFarlane | 1 | -0/+2 | |
2018-01-05 | Update copyright notices to include 2018 | Albert Krewinkel | 1 | -1/+1 | |
2017-12-30 | Improve benchmarks. | John MacFarlane | 1 | -40/+43 | |
Previously we weren't setting the default extensions properly, so e.g. 'markdown' wasn't being tested with pandoc markdown extensions. | |||||
2017-12-30 | Improved benchmark argument parsing. | John MacFarlane | 1 | -10/+5 | |
You can now say 'make bench BENCHARGS="markdown latex reader"' and both the markdown and latex readers will be benchmarked. | |||||
2017-12-28 | Remove redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-12-28 | Revised benchmark so it doesn't use FileTree constructor. | John MacFarlane | 1 | -4/+5 | |
2017-10-29 | Fixed warnings. | John MacFarlane | 1 | -3/+3 | |
2017-10-26 | update years in copyright | Kolen Cheung | 1 | -1/+1 | |
2017-06-19 | Fixed name shadowing in benchmark. | John MacFarlane | 1 | -1/+1 | |
2017-06-11 | Removed redundant import. | John MacFarlane | 1 | -1/+1 | |
2017-06-11 | Switched Writer types to use Text. | John MacFarlane | 1 | -5/+5 | |
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731. | |||||
2017-06-10 | Fixed benchmark to work with Text readers. | John MacFarlane | 1 | -5/+7 | |
2017-02-25 | Fix stale references to `tests` directory (#3469) | Or Neeman | 1 | -3/+3 | |
Some of the benchmarks were failing due to references to files in the `tests` directory, which is now called `test`. A search found other references to it also. This commit updates all these references. | |||||
2017-01-27 | benchmark: allow benchmark arguments. | John MacFarlane | 1 | -2/+18 | |
These pattern match: so, '--benchmark-arguments "markdown reader"' will only benchmark the markdown reader; with just "markdown" it will do the writer too; with no arguments all benchmarks are run. | |||||
2017-01-27 | Fix up benchmarks so they compile. | John MacFarlane | 1 | -4/+18 | |
2017-01-25 | Fixed up weigh-pandoc and benchmark-pandoc so they build. | John MacFarlane | 1 | -8/+11 | |
2016-11-30 | Removed unused import. | John MacFarlane | 1 | -1/+0 | |
2015-12-14 | Fixed benchmark for new API. | John MacFarlane | 1 | -2/+2 | |
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-10-09 | Removed unneeded imports in benchmark program. | John MacFarlane | 1 | -2/+0 | |
2015-10-09 | Updated benchmark program. | John MacFarlane | 1 | -6/+3 | |
2015-10-09 | benchmark: Use Criterion.Monad not Criterion.Config. | John MacFarlane | 1 | -1/+1 | |
2015-03-30 | benchmark - removed kludge we needed before CommonMark writer. | John MacFarlane | 1 | -6/+1 | |
2015-03-28 | Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵ | John MacFarlane | 1 | -4/+6 | |
mpickering-errortype Conflicts: benchmark/benchmark-pandoc.hs src/Text/Pandoc/Readers/Markdown.hs src/Text/Pandoc/Readers/Org.hs src/Text/Pandoc/Readers/RST.hs tests/Tests/Readers/LaTeX.hs | |||||
2015-03-17 | Added CommonMark reader using cmark (libcmark bindings). | John MacFarlane | 1 | -6/+12 | |
- Added commonmark as an input format. - Added `Text.Pandoc.Readers.CommonMark.readCommonMark`. - For now, we use the markdown writer to generate benchmark text for the CommonMark reader. We can change this when we get a writer. | |||||
2015-02-18 | Update benchmarks | Matthew Pickering | 1 | -3/+5 | |
2014-08-01 | benchmark: use only test suite for benchmark. | John MacFarlane | 1 | -3/+2 | |
This way the benchmarks don't take so long to run. | |||||
2014-08-01 | Use nfIO in benchmark instead of getLength trick. | John MacFarlane | 1 | -3/+1 | |
2014-08-01 | Make benchmarks compile again. | Artyom Kazak | 1 | -15/+20 | |
Additionally, fix the problem which caused one failing benchmark to stop other benchmarks from running. | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -1/+17 | |
2013-09-10 | benchmark: Remove haddock (no writer to create reader input). | John MacFarlane | 1 | -1/+2 | |
2013-06-25 | Revised benchmark for new metadata. | John MacFarlane | 1 | -2/+1 | |
2013-06-24 | Use aeson for json. | John MacFarlane | 1 | -8/+1 | |
Benchmarked: about twice as slow as json! | |||||
2013-01-04 | Updated benchmark code for changes in Text.Pandoc. | John MacFarlane | 1 | -3/+3 | |
2012-12-29 | Fixed benchmark file to find documentation files. | John MacFarlane | 1 | -3/+3 | |
2012-12-29 | Data files changes. | John MacFarlane | 1 | -3/+3 | |
* Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly. | |||||
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 1 | -10/+3 | |
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix. | |||||
2012-07-27 | Benchmark: default to sample size of 20 for speed. | John MacFarlane | 1 | -1/+6 | |
2012-07-27 | Use README + testsuite in benchmarks. | John MacFarlane | 1 | -1/+2 | |
2012-07-26 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 1 | -2/+2 | |
2012-07-26 | Added type signature. | John MacFarlane | 1 | -0/+1 | |
2012-07-26 | Integrated benchmark into cabal. | John MacFarlane | 1 | -0/+46 | |
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20' |