aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock.hs
Commit message (Collapse)AuthorAgeFilesLines
* Always read in prologue files as UTF8 (#286).Mateusz Kowalczyk2014-03-131-5/+9
|
* Differentiate between TH splices (line-links) and regular namesNiklas Haas2014-03-091-2/+4
| | | | | | | | | | | | | | | | | This adds a new type of source code link, to a specific line rather than a specific declaration/name - this is used to link to the location of a TH splice that defines a certain name. Rather hefty changes throughout and still one unresolved issue (the line URLs aren't parsed from the third form of --read-interface which means they're currently restricted to same-interface links). Not sure if this issue is really worth all the hassle, especially since we could just use line links in general. This commit also contains some cleanup/clarification of the types in Haddock.Backends.Xhtml.Decl and shortens some overlong lines in the process. Notably, the Bool parameter was replaced by a Unicode type synonym to help clarify its presence in type signatures.
* Fix totality, unicode, examples, paragraph parsingSimon Hengel2014-01-121-1/+1
| | | | | | | | Also simplify specs and parsers while we're at it. Some parsers were made more generic. This commit is a part of GHC pre-merge squash, email fuuzetsu@fuuzetsu.co.uk if you need the full commit history.
* One pass parser and tests.Mateusz Kowalczyk2014-01-121-4/+2
| | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing.
* Don't consider StaticFlags when parsing arguments.Austin Seipp2013-10-091-12/+17
| | | | | | | | | | | Instead, discard any static flags before parsing the command line using GHC's DynFlags parser. See http://ghc.haskell.org/trac/ghc/ticket/8276 Based off a patch from Simon Hengel. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Fixes #5Mateusz Kowalczyk2013-09-181-0/+11
|
* Fallback to ./resources when Cabal data is not foundSimon Hengel2013-09-181-2/+11
| | | | (so that themes are found during development)
* Fixes #256Mateusz Kowalczyk2013-09-181-1/+8
| | | | | We inject -dynamic-too into flags before we run all our actions in the GHC monad.
* Fixes #231Mateusz Kowalczyk2013-09-181-1/+2
|
* Merge branch 'ghc-7.6' into ghc-7.6-merge-2Kazu Yamamoto2013-02-011-9/+9
| | | | | | | | | | | | | | Conflicts: haddock.cabal src/Haddock/Interface/AttachInstances.hs src/Haddock/Interface/Create.hs src/Haddock/Interface/LexParseRn.hs src/Haddock/InterfaceFile.hs src/Haddock/Types.hs Only GHC HEAD can compile this. GHC 7.6.x cannot compile this. Some test fail.
* Minor code simplificationSimon Hengel2012-10-131-2/+1
|
* Increase code localitySimon Hengel2012-10-131-11/+5
|
* Minor code simplificationSimon Hengel2012-10-131-4/+4
|
* Remove unused MonadFix constraintSimon Hengel2012-10-131-7/+4
|
* Export Haddock's main entry point from librarySimon Hengel2012-10-041-0/+461