aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hs
AgeCommit message (Collapse)AuthorFilesLines
2020-03-15Use implicit Prelude (#6187)Albert Krewinkel1-2/+0
* Use implicit Prelude The previous behavior was introduced as a fix for #4464. It seems that this change alone did not fix the issue, and `stack ghci` and `cabal repl` only work with GHC 8.4.1 or newer, as no custom Prelude is loaded for these versions. Given this, it seems cleaner to revert to the implicit Prelude. * PandocMonad: remove outdated check for base version Only base versions 4.9 and later are supported, the check for `MIN_VERSION_base(4,8,0)` is therefore unnecessary. * Always use custom prelude Previously, the custom prelude was used only with older GHC versions, as a workaround for problems with ghci. The ghci problems are resolved by replacing package `base` with `base-noprelude`, allowing for consistent use of the custom prelude across all GHC versions.
2020-03-13Update copyright year (#6186)Albert Krewinkel1-1/+1
* Update copyright year * Copyright: add notes for Lua and Jira modules
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel1-0/+10
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-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2017-12-13Removed whitespace at ends of line.John MacFarlane1-1/+1
2017-12-11Integrate Powerpoint writer into pandoc.Jesse Rosenthal1-0/+1
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane1-1/+1
2017-04-02Make sure docx/_rels/.rels gets into data files.John MacFarlane1-1/+5
embedDir in file-embed excludes hidden files, so we need to add this manually.
2017-04-02Revert "Revert "Use file-embed instead of hsb2hs to embed data files.""John MacFarlane1-0/+17
This reverts commit 1fa15c225b515e1fa1c6566f90f1be363a4d770f.
2017-03-26Revert "Use file-embed instead of hsb2hs to embed data files."John MacFarlane1-17/+0
This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f.
2017-03-26Revert "Text.Pandoc.Data: ensure it compiles even without embed_data_files."John MacFarlane1-11/+3
This reverts commit 453970c6b34ed7cc2f52181e5e77b9182a3639e9.
2017-03-26Text.Pandoc.Data: ensure it compiles even without embed_data_files.John MacFarlane1-3/+11
In this case we don't depend on file-embed or use TH.
2017-03-26Use file-embed instead of hsb2hs to embed data files.John MacFarlane1-0/+17
I think template haskell is robust enough now across platforms that this will work. Motivation: file-embed gives us better dependency tracking: if a data file changes, ghc/stack/cabal know to recompile the Data module. This also removes hsb2hs as a build dependency.
2013-01-23Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane1-7/+0
This should work on Windows, unlike the TH solution with file-embed.
2013-01-23Added Text.Pandoc.Data (non-exported) if embed_data_files selected.John MacFarlane1-0/+7
This module just exports the association list of embedded data files, which is used by Shared.