Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-08-04 | Add PatternGuards pragmas. | Artyom Kazak | 4 | -3/+6 | |
2014-08-04 | Remove redundant isHexDigit function. | Artyom Kazak | 1 | -4/+1 | |
2014-08-04 | Remove dangling `where` from one function. | Artyom Kazak | 1 | -1/+0 | |
2014-08-04 | Use `stripPrefix` where appropriate. | Artyom Kazak | 9 | -54/+57 | |
2014-08-04 | Clean up `mediaTypeOf` a bit. | Artyom Kazak | 1 | -6/+6 | |
2014-08-04 | Use `mapM_` instead of `() <$ mapM` in one place. | Artyom Kazak | 1 | -1/+1 | |
2014-08-03 | Merge pull request #1461 from cben/readme-linkable-extensions | John MacFarlane | 1 | -67/+71 | |
README: linkable extensions | |||||
2014-08-03 | Merge pull request #1479 from Aelve/capitalise | John MacFarlane | 6 | -15/+43 | |
Correctly implement capitalisation. | |||||
2014-08-03 | Add plain writer testing module to .cabal file. | Artyom Kazak | 1 | -0/+1 | |
2014-08-03 | Correctly implement capitalisation. | Artyom Kazak | 5 | -15/+42 | |
Using `map toUpper` to capitalise text is wrong, as e.g. “Straße” should be converted to “STRASSE”, which is 1 character longer. This commit adds a `capitalize` function and replaces 2 identical implementations in different modules (`toCaps` and `capitalize`) with it. | |||||
2014-08-02 | SelfContained: Fixed determining of source URL from within CSS files. | John MacFarlane | 1 | -2/+9 | |
(This fixes a bug introduced a couple commits back.) | |||||
2014-08-02 | fetchItem: improved mime type guessing. | John MacFarlane | 1 | -4/+5 | |
Strip a fragment like `?#iefix` from the extension before doing the mime lookup. | |||||
2014-08-02 | Shared: fetchItem improvements. | John MacFarlane | 1 | -11/+12 | |
* More consistent logic: absolute URIs are fetched from the net; other things are treated as relative URIs if sourceURL is a Just, otherwise as file paths. * We escape characters that are not allowed in URIs before trying to parse them (e.g. '|', which often occurs in the wild). * When treating relative paths as local file paths, we drop any fragment or query. This is useful e.g. when you've downloaded web fonts locally, but your source still contains the original relative URLs. Together with the previous commit, this should close #1477. | |||||
2014-08-02 | Text.Pandoc.SelfContained changes. | John MacFarlane | 3 | -62/+30 | |
* mkSelfContained now takes just two arguments, WriterOptions and the string. * It no longer looks in data files. This only made sense when we had copies of slidy and S5 code there. * Shared.fetchItem' is used instead of the nearly duplicate getItem. | |||||
2014-08-02 | Bump aeson upper bound. | John MacFarlane | 1 | -2/+2 | |
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 | Merge pull request #1475 from Aelve/fix-benchmark | John MacFarlane | 1 | -15/+20 | |
Make benchmarks compile again. | |||||
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-07-31 | Merge branch 'underline-option' of https://github.com/jkr/pandoc | John MacFarlane | 2 | -2/+3 | |
2014-07-31 | pandoc.hs: More code reorganization. | John MacFarlane | 1 | -72/+80 | |
2014-07-31 | Update docx test to interpret single underline as emph. | Jesse Rosenthal | 1 | -1/+1 | |
2014-07-31 | Docx Reader: Single underlines are "emph" | Jesse Rosenthal | 1 | -1/+2 | |
All other underlines are ignored. | |||||
2014-07-31 | Merge pull request #1473 from jkr/mediabag-test-2 | John MacFarlane | 5 | -23/+44 | |
Docx tests: rewrite mediabag tests. | |||||
2014-07-31 | README: make all extension headers H4 | Beni Cherniavsky-Paskin | 1 | -35/+35 | |
2014-07-31 | README: blank line after headers | Beni Cherniavsky-Paskin | 1 | -0/+13 | |
2014-07-31 | pandoc.hs: Rewrote some of the logic for clarity. | John MacFarlane | 1 | -25/+31 | |
2014-07-31 | Remove now unneeded JSON test file. | Jesse Rosenthal | 1 | -1/+0 | |
2014-07-31 | Docx tests: rewrite mediabag tests. | Jesse Rosenthal | 6 | -23/+45 | |
This will allow us to test the whole mediabag (making sure, for example, that images are added with the correct keys) instead of just individual extracted images. We compare each entry in the media bag to an image extracted on the fly from the docx. As a result, we only need one file to test with. The image in the current tests was also replaced with a smaller one. | |||||
2014-07-31 | New module, Text.Pandoc.MediaBag. | John MacFarlane | 10 | -86/+129 | |
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid. | |||||
2014-07-31 | Made MediaBag a newtype, and added mime type information to media. | John MacFarlane | 7 | -50/+98 | |
Shared now exports functions for interacting with a MediaBag: - `emptyMediaBag` - `lookuMedia` - `insertMedia` - `mediaDirectory` - `extractMediaBag` | |||||
2014-07-31 | Merge branch 'master' of github.com:jgm/pandoc | John MacFarlane | 1 | -1/+8 | |
2014-07-31 | Merge pull request #1472 from mpickering/master | John MacFarlane | 1 | -1/+8 | |
Shared: Added function insertMedia which is an alias for M.insert | |||||
2014-07-31 | Added note in README about pipe tables not wrapping in LaTeX/PDF. | John MacFarlane | 1 | -1/+4 | |
See http://stackoverflow.com/questions/25037357/pandoc-long-tablerows-in-markdown-pdf-documents-do-not-get-linewrap/25050474#25050474 | |||||
2014-07-31 | Shared: Added function insertMedia which is an alias for M.insert | Matthew Pickering | 1 | -1/+8 | |
2014-07-30 | Merge pull request #1470 from jkr/metadata-test | John MacFarlane | 3 | -0/+27 | |
Media test | |||||
2014-07-30 | Docx test: Test image from media bag. | Jesse Rosenthal | 1 | -0/+7 | |
2014-07-30 | Docx tests: Add test image. | Jesse Rosenthal | 1 | -0/+0 | |
This is the cow image extracted from `docx.image.docx`. | |||||
2014-07-30 | Docx tests: Added media test comparison function. | Jesse Rosenthal | 2 | -0/+20 | |
Also tell pandoc.cabal that we'll be needing base64, since we want to compare strings here. | |||||
2014-07-30 | Removed deprecated and no longer used readerStrict in ReaderOptions. | John MacFarlane | 1 | -2/+0 | |
This is handled by readerExtensions now. | |||||
2014-07-30 | getT2TMeta: Take list of source files instead of single. | John MacFarlane | 2 | -10/+9 | |
Get latest modification time. | |||||
2014-07-30 | Updated RTF writer tests. | John MacFarlane | 1 | -2/+2 | |
2014-07-30 | Allow --self-contained to get content from MediaBag. | John MacFarlane | 3 | -27/+38 | |
Added a parameter to makeSelfContained (API change). | |||||
2014-07-30 | RTF writer: Improved image embedding. | John MacFarlane | 1 | -1/+12 | |
Use calculated sizes. | |||||
2014-07-30 | RTF writer: refactored image embedding, using fetchItem'. | John MacFarlane | 1 | -26/+21 | |
2014-07-30 | PDF, Docx, EPUB, and ODT writers now automatically use MediaBag. | John MacFarlane | 6 | -22/+25 | |
The MediaBag is thread through from the reader, with no need to extract to files. | |||||
2014-07-30 | Shared: Added fetchItem', which searches a media bag too. | John MacFarlane | 1 | -0/+14 | |
2014-07-30 | Moved MediaBag back from Shared to Options, to avoid module cycle. | John MacFarlane | 3 | -6/+13 | |
2014-07-30 | pandoc: Thread media bag into WriterOptions. | John MacFarlane | 1 | -12/+14 | |
This will make it available to docx and epub readers, etc., so we don't have to extract media to a directory when going from docx -> epub. | |||||
2014-07-30 | Added writerMediaBag to WriterOptions. | John MacFarlane | 1 | -1/+3 | |