aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* newtype-wrap Doc nodes for things that may have warnings attachedSimon Hengel2012-05-178-85/+89
|
* Use >>= instead of fmap and joinSimon Hengel2012-05-172-7/+4
|
* Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4David Waern2012-05-165-27/+48
|\
| * qualification style 'abbreviated' -> 'aliased'Henning Thielemann2012-04-025-22/+22
| |
| * abbreviated qualification: use Packages.lookupModuleInAllPackages for ↵Henning Thielemann2012-04-023-12/+33
| | | | | | | | finding the package that a module belongs to
* | Merge branch 'ghc-7.4' of http://darcs.haskell.org/haddock into ghc-7.4David Waern2012-05-152-5/+6
|\ \ | |/ |/|
| * Fix reporting of modules safe haskell mode (#5989)David Terei2012-04-062-5/+6
| |
| * Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4David Waern2012-04-014-25/+42
| |\
* | | 'abbreviate' qualification style - basic supportHenning Thielemann2012-04-015-28/+67
| | | | | | | | | | | | | | | Currently we ignore the package a module is imported from. This means that a module import would shadow another one with the same module name from a different package.
* | | Merge branch 'ghc-7.4' of http://darcs.haskell.org/haddock into ghc-7.4Henning Thielemann2012-04-011-1/+2
|\| | | |/ |/|
| * Don't crash on unicode strings in doc comments.David Waern2012-04-011-1/+2
| |
* | emit an error message when the --qual option is used incorrectlyHenning Thielemann2012-04-011-5/+8
| |
* | add QualOption type for distinction between qualification argument given by ↵Henning Thielemann2012-04-014-25/+39
|/ | | | | the user and the actual qualification for a concrete module
* Fix crash when using --qual. Naughty GHC API!David Waern2012-04-011-1/+4
|
* Don't filter out unexported names from the four maps - fixes a regression.David Waern2012-04-011-5/+4
|
* Cleanup.David Waern2012-04-011-12/+1
|
* Take reader environment directly from TypecheckedSource.David Waern2012-04-011-3/+11
|
* Mostly hlint-inspired cleanup.David Waern2012-02-0410-88/+86
|
* Clean up some code from last SoC project.David Waern2012-02-043-76/+78
|
* Remove code for older ghc versions.David Waern2012-02-041-4/+0
|
* Use <> instead of mappend.David Waern2012-02-041-3/+3
|
* Style police.David Waern2012-02-041-2/+2
|
* Merge branch 'fix-for-186' of https://github.com/sol/haddock into ghc-7.4David Waern2012-02-043-11/+11
|\
| * Make sure that generated xhtml is valid (close #186)Simon Hengel2012-01-123-11/+11
| | | | | | | | Thanks to Phyx.
* | Some cleanup and make sure we filter warnings through exports.David Waern2012-02-041-33/+47
| |
* | Fix issues in support for warnings.David Waern2012-02-041-24/+9
| | | | | | | | | | * Match against local names only. * Simplify (it's OK to map over the warnings).
* | Remove obsolete TODOSimon Hengel2012-02-041-1/+0
| |
* | Expand type signatures for modules without explicit export listSimon Hengel2012-02-041-1/+14
| |
* | Expand type signatures in export list (fixes #192)Simon Hengel2012-02-041-14/+5
| |
* | Add support for warningsSimon Hengel2012-02-041-2/+25
| |
* | Add support for module warningsSimon Hengel2012-02-041-1/+20
| |
* | Add DocWarning to DocSimon Hengel2012-02-048-4/+21
| | | | | | | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis.
* | Cleanup mkMaps and avoid quadratic behaviour.David Waern2012-02-011-28/+29
| |
* | Fix bug introduced in my recent refactoring.David Waern2012-02-011-16/+18
|/
* Minor fixes and cleanup.David Waern2011-12-282-61/+60
|
* Complete support for inferring types for top-level bindings.David Waern2011-12-271-32/+44
|
* Wibbles.David Waern2011-12-271-24/+23
|
* Cleanup.David Waern2011-12-271-39/+12
|
* Get rid of quite unnecessary use of different lists.David Waern2011-12-271-33/+14
|
* Merge ../../../haddockDavid Waern2011-12-277-349/+252
|\ | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs
| * Go back to having a doc, sub and decl map instead of one big decl map.David Waern2011-12-276-155/+149
| | | | | | | | | | | | | | | | | | This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer.
| * More cleanup.David Waern2011-12-032-65/+25
| |
| * Cleanup.David Waern2011-12-031-27/+11
| |
| * Slightly better behaviour on top-levels without type signatures.David Waern2011-12-033-129/+94
| | | | | | | | | | | | | | | | - Docs don't get attached to the next top-level with signature by mistake. - If there's an export list and the top-level is part of it, its doc comment shows up in the documentation.
* | Update dependencies and binaryInterfaceVersionIan Lynagh2011-12-121-0/+4
|/
* Fix module reference bug.David Waern2011-11-263-9/+4
|
* Cleanup.David Waern2011-11-262-121/+79
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-2610-146/+212
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-269-65/+38
| | | | | | | | | | | renaming time. Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a.
* Remove #ifs for older compiler versions.David Waern2011-11-255-16/+0
|