Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-19 | Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵ | John MacFarlane | 1 | -15/+138 | |
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 | 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-08-05 | ImageSize: Added functions for converting between image dimensions. | John MacFarlane | 1 | -15/+138 | |
(mb21) | |||||
2015-05-10 | ImageSize: fixed some exif parsing bugs. | John MacFarlane | 1 | -22/+26 | |
Closes #1834. The image originally supplied works fine now with pandoc. | |||||
2015-05-09 | ImageSize: Use runGetOrFail with binary 0.7+. | John MacFarlane | 1 | -2/+13 | |
2015-05-09 | ImageSize: make jpeg header parsing routines return Either. | John MacFarlane | 1 | -29/+34 | |
See #1834. | |||||
2015-05-09 | ImageSize: make imageSize return an Either, not a Maybe. | John MacFarlane | 1 | -9/+11 | |
This will give us better error reporting options. This is part of a fix for #1834. | |||||
2015-04-26 | Updated copyright notices to -2015. Closes #2111. | John MacFarlane | 1 | -2/+2 | |
2015-02-18 | Move utility error functions to Text.Pandoc.Shared | Matthew Pickering | 1 | -2/+1 | |
2015-02-18 | Remove landmine from ImageSize | Matthew Pickering | 1 | -30/+37 | |
2014-06-20 | ImageSize: Use default instead of failing if image size not found | John MacFarlane | 1 | -1/+6 | |
in exif header. Closes #1358. | |||||
2014-06-19 | ImageSize: ignore unknown exif header tag rather than crashing. | John MacFarlane | 1 | -1/+2 | |
Some images seem to have tag type of 256, which was causing a runtime error. | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-01-24 | ImageSize: Avoid use of lookAhead, which is not in binary >= 0.6. | John MacFarlane | 1 | -4/+5 | |
Closes #1124. | |||||
2014-01-14 | Allow binary 0.5. Version bump to 1.12.3.1. | John MacFarlane | 1 | -3/+6 | |
2014-01-09 | Minor improvement to exif parser. | John MacFarlane | 1 | -2/+2 | |
2014-01-09 | Better exif parsing, including image resolution. | John MacFarlane | 1 | -15/+210 | |
This introduces a dependency on binary >= 0.6, but we depend on binary >= 0.5 via zip-archive anyway. Closes #976. | |||||
2014-01-08 | Text.Pandoc.ImageSize: Parse EXIF format JPGs. | John MacFarlane | 1 | -6/+28 | |
Note: For now we just assign them all 72 dpi. It wasn't clear to me how to extract the resolution information. At least the aspect ratio will be right, and 72 dpi is the most common setting. Closes #976. | |||||
2013-07-16 | Text.Pandoc.ImageSize: Handle EPS. | John MacFarlane | 1 | -1/+23 | |
Closes #903. This change will make EPS images properly sized on conversion to Word. | |||||
2013-02-23 | ImageSize: Added Pdf to ImageType. | John MacFarlane | 1 | -1/+3 | |
So far we have no function to determine PDF's size. | |||||
2013-01-11 | ImageSize: Remove no longer exported readImageSize. | John MacFarlane | 1 | -4/+1 | |
2013-01-11 | ImageSize: Use strict, not lazy bytestrings. | John MacFarlane | 1 | -2/+2 | |
2012-01-15 | ImageSize: Fixed implementation of sizeInPoints. | John MacFarlane | 1 | -1/+1 | |
2012-01-15 | Fixed whitespace bug in comments. | John MacFarlane | 1 | -19/+16 | |
2012-01-15 | ImageSize: extract dpi information from PNG and JPEG. | John MacFarlane | 1 | -45/+89 | |
* ImageSize record now includes dpiX, dpiY, pxX, pxY. * New functions sizeInPixels and sizeInPoints. | |||||
2012-01-14 | Export ImageType(..) from ImageSize. | John MacFarlane | 1 | -1/+1 | |
2012-01-14 | Added Text.Pandoc.ImageSize. | John MacFarlane | 1 | -0/+110 | |
This is intened for use in docx and odt writers, so the size of image boxes can be calculated. |