aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2013-01-20Added fb2 tests to extra-source-files.John MacFarlane1-1/+8
Otherwise we get an error in `cabal install --enable-tests` from Hackage.
2013-01-20Bump version to 1.10.0.1.John MacFarlane1-1/+1
2013-01-20Bump version bounds on test-framework packages.John MacFarlane1-3/+3
2013-01-19Updated copyright date in pandoc.cabal.John MacFarlane1-1/+1
2013-01-19Removed -O2.John MacFarlane1-12/+12
The benchmark differences between -O2 and the default were so slight that it's not worth it. (Measured with ghc 7.4.)
2013-01-19Removed unneeded -dno-debug-output from ghc-optionsJohn MacFarlane1-8/+8
2013-01-19Removed MakeManPages from cabal extra-files.John MacFarlane1-1/+0
2013-01-09Added Attr field to Header.John MacFarlane1-0/+1
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
2013-01-02Fixed test suite to use Diff 0.2 API.John MacFarlane1-1/+1
2012-12-31Fixed bytestring upperbounds (0.11, not 1.0).John MacFarlane1-3/+3
2012-12-30Require file-embed >= 0.0.4.7.John MacFarlane1-1/+1
This fixes a bug with embedDir on Windows: previously forward slashes were used as path separators.
2012-12-29Moved all data files and templates to data/.John MacFarlane1-37/+41
2012-12-29Data files changes.John MacFarlane1-0/+7
* 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-12-29Cabal file changes.John MacFarlane1-108/+63
* Remove executable and library flags. * Expose `Text.Pandoc.XML` and `Text.Pandoc.Biblio`. * Depend on pandoc library in executable, so we don't recompile everything. * Move pandoc.hs from src/ to .
2012-11-04EPUB writer: Rationalized templates.John MacFarlane1-1/+1
* Previously there were three different templates involved in epub production. There is now just one template, default.epub or default.epub3. * It can now be overridden using `--template`, just like other templates.
2012-11-04EPUB: removed need for separate epub-titlepage template.John MacFarlane1-1/+1
The titlepage stuff is now folded into the epub-page template. A titlepage variable selects it.
2012-11-04EPUB writer: Removed need for separate epub-coverpage template.John MacFarlane1-1/+0
The standard epub-page template is now used.
2012-11-04Added epub3 to cabal descriptionJohn MacFarlane1-1/+1
2012-10-28Removed citationSuppressParens.John MacFarlane1-1/+1
Makefile: Use citeproc-0.3.6 release.
2012-10-21Bumped version bound for template-haskell.John MacFarlane1-1/+1
2012-10-15Moved man page creation out of Setup.hs.John MacFarlane1-0/+13
* MakeManPage.hs has been transformed into man/make-pandoc-man-pages.hs. * There is now a cabal stanza for this, so the dependencies are handled by cabal. * Special treatment in Setup.hs ensures that this never gets installed; it is built and used to create the man pages. * Setup.hs cleaned up.
2012-10-13Don't expose Text.Pandoc.Biblio.John MacFarlane1-1/+1
It's no longer necessary for library users, as bibliography processing occurs in readMarkdown and readLaTeX.
2012-09-30Bumped versions of json and base64-bytestring dependencies.John MacFarlane1-5/+5
Thanks to Dirk Ullirch.
2012-09-30Make blaze_html_0_5 default to True.John MacFarlane1-1/+1
2012-09-25Removed need for utf8-string package.John MacFarlane1-4/+4
* Depend on text. * Expose Text.Pandoc.UTF8. * Text.Pandoc.UTF8 now exports toString, fromString, toStringLazy, fromStringLazy. * These are used instead of the old utf8-string functions.
2012-09-23Added base dependencies for test suite.John MacFarlane1-1/+3
2012-09-23Require base >= 4.2 (i.e. GHC 6.12).John MacFarlane1-19/+9
2012-09-21Bump network upper bound to <2.5Ben Gamari1-2/+2
network 2.4 is now on hackage
2012-09-21Bump directory upper bound to <1.3Ben Gamari1-3/+3
directory-1.2 is in ghc 7.6
2012-09-21Bump containers upper bound to <0.6Ben Gamari1-3/+3
Since containers 0.5 is in the wild as of ghc 7.6
2012-09-12Added basic mediawiki reader.John MacFarlane1-4/+8
Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}.
2012-08-08Changes to literate haskell options.John MacFarlane1-0/+1
- 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-08-07Require pandoc-types 1.10.*.John MacFarlane1-3/+3
2012-07-26Revert "Require Cabal 0.14."John MacFarlane1-1/+1
This reverts commit f6cc63de41f3b56d6c913981a85380b146719258. Older versions of cabal supposedly just ignore the benchmark stanza.
2012-07-26Require Cabal 0.14.John MacFarlane1-1/+1
2012-07-26Bump version to 1.10.John MacFarlane1-1/+1
2012-07-26Integrated test suite with cabal.John MacFarlane1-10/+4
To run tests, configure with --enable-tests, then 'cabal test'. You can specify particular tests using --test-options='-t markdown'. No output is shown unless tests fail. In the future, we can move to the detailed-1.0 interface.
2012-07-26Integrated benchmark into cabal.John MacFarlane1-2/+19
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-72/+35
2012-07-25Added Text.Pandoc.Options.John MacFarlane1-0/+1
2012-07-22Revised code for pipe tables.John MacFarlane1-2/+2
* All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does).
2012-07-22Renamed tests/markdown-tables -> tests/extra-tables.John MacFarlane1-1/+3
Added to cabal file.
2012-07-22Added Text.Pandoc.Writers.FB2 to list of exported modules.John MacFarlane1-1/+2
Also added FB2 to description.
2012-07-19Provide Data.Default instances for ParserState and WriterOptions.John MacFarlane1-0/+3
Now you can use def (which is re-exported by Text.Pandoc) instead of defaultParserState or defaultWriterOptions. For now, these are still defined too, so existing code need not change. Closes #546.
2012-07-02Removed -threaded from cabal ghc-options.John MacFarlane1-6/+6
Use of the threaded runtime imposes a slight performance penalty, and there is really no need for it, since pandoc doesn't run faster on multiple cores.
2012-06-28Remove -threaded in library stanza.John MacFarlane1-3/+3
2012-06-27Bump version to 1.9.4.2.John MacFarlane1-1/+1
2012-06-27Use -rtsopts and -threaded.John MacFarlane1-9/+18
2012-06-25fixing exported test modules and filesAlexander V Vershilov1-0/+3
2012-06-08Bumped version to 1.9.4.1.John MacFarlane1-1/+1