aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Shared.hs
AgeCommit message (Expand)AuthorFilesLines
2015-02-18Move utility error functions to Text.Pandoc.SharedMatthew Pickering1-0/+10
2015-02-18Make safeRead safe.Matthew Pickering1-3/+3
2014-12-19Added Text.Pandoc.Compat.Locale to assist with transition to time 1.5.John MacFarlane1-1/+1
2014-10-08fix inDirectory to reset to the original directory in case an exception occursFreiric Barral1-6/+4
2014-09-25Shared: Make collapseFilePath OS-agnosticmpickering1-5/+9
2014-08-31Shared: Moved import of toChunks outside of conditional.John MacFarlane1-1/+1
2014-08-30Merge branch 'mime' of https://github.com/Aelve/John into Aelve-mimeJohn MacFarlane1-4/+4
2014-08-22Fixed --self-contained with Windows paths.John MacFarlane1-1/+2
2014-08-17MIME cleanup.Artyom Kazak1-4/+4
2014-08-13Fixed haddock comment.John MacFarlane1-9/+7
2014-08-13Removed unneeded import.John MacFarlane1-1/+0
2014-08-08Shared: Added collapseFilePath functionMatthew Pickering1-1/+26
2014-08-04Add PatternGuards pragmas.Artyom Kazak1-1/+1
2014-08-04Use `stripPrefix` where appropriate.Artyom Kazak1-7/+7
2014-08-03Correctly implement capitalisation.Artyom Kazak1-0/+13
2014-08-02fetchItem: improved mime type guessing.John MacFarlane1-4/+5
2014-08-02Shared: fetchItem improvements.John MacFarlane1-11/+12
2014-07-31New module, Text.Pandoc.MediaBag.John MacFarlane1-75/+4
2014-07-31Made MediaBag a newtype, and added mime type information to media.John MacFarlane1-15/+65
2014-07-31Shared: Added function insertMedia which is an alias for M.insertMatthew Pickering1-1/+8
2014-07-30PDF, Docx, EPUB, and ODT writers now automatically use MediaBag.John MacFarlane1-3/+2
2014-07-30Shared: Added fetchItem', which searches a media bag too.John MacFarlane1-0/+14
2014-07-30Moved MediaBag back from Shared to Options, to avoid module cycle.John MacFarlane1-0/+11
2014-07-30Moved MediaBag from Shared to Options.John MacFarlane1-11/+0
2014-07-30Moved withTempDir from PDF to Shared, export from Shared.John MacFarlane1-1/+16
2014-07-30Shared: Make MediaBag available through Shared.Jesse Rosenthal1-0/+11
2014-07-25Fixed runtime error with compactify'DL on certain lists.John MacFarlane1-11/+13
2014-07-21Revert "Shared.hierarchicalize: Don't number subsections of unnumbered sectio...John MacFarlane1-25/+18
2014-07-21Shared.hierarchicalize: Don't number subsections of unnumbered sections.John MacFarlane1-18/+25
2014-07-15Shared.fetchItem: unescape URI encoding before reading local file.John MacFarlane1-1/+1
2014-07-13Better comment on removeFormatting.John MacFarlane1-1/+1
2014-07-13Shared: Generalized type of removeFormatting.John MacFarlane1-1/+1
2014-07-13Shared: Added removeFormatting.John MacFarlane1-0/+14
2014-07-12Removed space at ends of lines in source.John MacFarlane1-2/+2
2014-07-07normalize: consolidate adjacent RawBlocks when possible.John MacFarlane1-0/+5
2014-06-29Rewrote normalize for efficiency. (Closes #1385.)John MacFarlane1-60/+131
2014-06-16Moved extractSpaces to Shared.hsmpickering1-0/+16
2014-06-03Shared: Added ordNub.John MacFarlane1-0/+9
2014-05-18Removed dependency on conduit.John MacFarlane1-6/+8
2014-05-12Shared addMetaField: if old and new values both lists, concatenate.John MacFarlane1-1/+3
2014-05-09Update copyright notices for 2014, add missing noticesAlbert Krewinkel1-2/+2
2014-04-19Merge pull request #1256 from tarleb/org-reader-improvementsJohn MacFarlane1-3/+17
2014-04-19Move `compactify'DL` from Markdown reader into SharedAlbert Krewinkel1-3/+17
2014-04-15Shared: Fixed bug in toRomanNumeral.John MacFarlane1-2/+2
2014-04-05Shared.openURL: Set proxy with value of http_proxy env variable.John MacFarlane1-3/+11
2014-01-08fetchItem: Handle image URLs beginning with '//'.John MacFarlane1-4/+9
2013-12-19HLint: use `elem` and `notElem`Henry de Valence1-8/+4
2013-12-19HLint: Use allHenry de Valence1-1/+1
2013-12-09Added `withSocketsDo` around http conduit code in `openURL`.John MacFarlane1-1/+2
2013-12-01normalizeDate: Allow dates with year only (%Y)Shaun Attfield1-1/+1