aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface
Commit message (Collapse)AuthorAgeFilesLines
* Add an optional label to URLsSimon Hengel2012-05-272-2/+2
|
* Use a map for warnings, as suggested by @waernSimon Hengel2012-05-261-23/+20
|
* Add Applicative instance for (GenRnM a)Simon Hengel2012-05-261-2/+6
|
* Simplify lookupWarningSimon Hengel2012-05-171-6/+8
|
* Attach warnings to `Documentation` typeSimon Hengel2012-05-172-41/+37
|
* newtype-wrap Doc nodes for things that may have warnings attachedSimon Hengel2012-05-172-13/+13
|
* Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4David Waern2012-05-161-12/+33
|\
| * qualification style 'abbreviated' -> 'aliased'Henning Thielemann2012-04-021-7/+7
| |
| * abbreviated qualification: use Packages.lookupModuleInAllPackages for ↵Henning Thielemann2012-04-021-10/+31
| | | | | | | | 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
| |
* | 'abbreviate' qualification style - basic supportHenning Thielemann2012-04-011-0/+14
|/ | | | | 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.
* 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-043-23/+27
|
* Clean up some code from last SoC project.David Waern2012-02-042-75/+78
|
* Use <> instead of mappend.David Waern2012-02-041-3/+3
|
* 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).
* 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-042-0/+4
| | | | | 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-281-58/+58
|
* 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
|
* Go back to having a doc, sub and decl map instead of one big decl map.David Waern2011-12-273-136/+124
| | | | | | | | | 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-031-127/+76
| | | | | | | | - 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.
* Cleanup.David Waern2011-11-262-121/+79
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-262-9/+27
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-262-16/+13
| | | | | | | | | | | 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-252-8/+0
|
* New kind-polymorphic coreJose Pedro Magalhaes2011-11-111-7/+20
| | | | | | | | | This big patch implements a kind-polymorphic core for GHC. The current implementation focuses on making sure that all kind-monomorphic programs still work in the new core; it is not yet guaranteed that kind-polymorphic programs (using the new -XPolyKinds flag) will work. For more information, see http://haskell.org/haskellwiki/GHC/Kinds
* Fix build.David Waern2011-11-061-1/+1
|
* Use getDeclMainBinder instead of declNames.David Waern2011-11-061-33/+4
|
* Improved declNames internal error. Added a case to handle DocD.Ryan Newton2011-11-051-3/+24
|
* Add safe haskell indication to haddock outputDavid Terei2011-10-123-14/+21
|
* Follow changes to ForeignImport/ForeignExport in GHCIan Lynagh2011-10-013-6/+6
|
* Merge branch 'no-pred-ty'Max Bolingbroke2011-09-093-28/+7
|\ | | | | | | | | Conflicts: src/Haddock/Convert.hs
| * Adapt Haddock for the ConstraintKind extension changesMax Bolingbroke2011-09-063-28/+7
| |
* | Ignore associated type defaults (just as we ignore default methods)Max Bolingbroke2011-09-091-2/+3
|/
* Fix buildIan Lynagh2011-06-171-1/+1
|