aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Add subordinates with docs to the declaration mapDavid Waern2008-10-153-12/+14
| | | | | | | | | | | The only place in the code where we want the subordinates for a declaration is right after having looked up the declaration in the map. And since we include subordinates in the map, we might as well take the opportunity to store those subordinates that belong to a particular declaration together with that declaration. We also store the documentation for each subordinate.
* Add DeclInfo to H.TypesDavid Waern2008-10-152-1/+6
|
* Move convenient type synonym to H.TypesDavid Waern2008-10-152-5/+5
|
* WibbleDavid Waern2008-10-151-5/+2
|
* Comment out unused type family stuff completelyDavid Waern2008-10-151-7/+6
|
* Use type synonyms for declarations and docs in H.I.CreateDavid Waern2008-10-151-13/+19
|
* WibbleDavid Waern2008-10-151-1/+1
|
* Remove interface from LinksInfoDavid Waern2008-10-111-49/+49
| | | | | It was there to know the documentation home module when creating a wiki link, but we already know this since we have the DocName.
* Add support for DocPicDavid Waern2008-10-105-3/+9
| | | | | | The support for DocPic was merged into the GHC source long ago, but the support in Haddock was forgotten. Thanks Peter Gavin for submitting this fix!
* Add back .haddock file versioning based on GHC versionDavid Waern2008-10-101-0/+9
| | | | It was accidentally removed in the patch for GHC 6.8.2 compatibility
* Fix documentation for createInterfacesDavid Waern2008-10-101-1/+1
|
* Make Haddock build with GHC 6.8.2David Waern2008-10-105-20/+81
|
* Remove typecheckFiles and MonadUtils import from H.GHC.TypeccheckDavid Waern2008-10-101-31/+0
|
* Add some strictness annotations in InterfaceDavid Waern2008-10-091-9/+9
| | | | | We add some strictness annotations to the fields of Interface, so that less GHC data is hold on to during processing.
* Interleave typechecking with interface creationDavid Waern2008-10-092-30/+94
| | | | | | At the same time, we fix a bug where the list of interfaces were processed in the wrong order, when building the links and renaming the interfaces.
* Only load modules once when typechecking with GHC.Thomas Schilling2008-10-081-33/+27
| | | | | | This still doesn't fix the memory leak since the typechecked source is retained and then processed separately. To fix the leak, modules must be processed directly after typechecking.
* Follow GHC API change of parseModule.Thomas Schilling2008-10-031-1/+1
|
* Write a comment about source links for type instance declarationsDavid Waern2008-10-021-0/+3
|
* Remove ifaceEnv from Interface - it's no longer usedDavid Waern2008-10-022-5/+0
|
* For source links, get original module from declaration name instead of ↵David Waern2008-10-021-7/+3
| | | | | | | environment. Getting it from the environment must have been a remnant from the times when we were using unqualified names (versions 0.x).
* Add PatternSignatures LANGUAGE pragma to Main and UtilsDavid Waern2008-09-241-0/+2
|
* Do not wrap __ in bracketsNeil Mitchell2008-09-111-1/+1
|
* Port Haddock.GHC to new GHC API.Thomas Schilling2008-09-151-13/+13
|
* Port Haddock.GHC.Typecheck to new GHC API.Thomas Schilling2008-09-151-11/+17
|
* Reflect GHC API changes.Thomas Schilling2008-09-151-1/+1
|
* Port Haddock.Interface to new GHC API.Thomas Schilling2008-09-151-42/+60
| | | | | | | | | | | | | | | | This required one bigger change: 'readInterfaceFile' used to take an optional 'Session' argument. This was used to optionally update the name cache of an existing GHC session. This does not work with the new GHC API, because an active session requires the function to return a 'GhcMonad' action, but this is not possible if no session is provided. The solution is to use an argument of functions for reading and updating the name cache and to make the function work for any monad that embeds IO, so it's result type can adapt to the calling context. While refactoring, I tried to make the code a little more self-documenting, mostly turning comments into function names.
* Fixes for using haddock in a GHC build treeIan Lynagh2008-08-281-1/+2
|
* Fix some warningsIan Lynagh2008-08-276-72/+65
|
* In the hoogle back end, markup definition lists using <i>, not <b>Neil Mitchell2008-08-211-1/+1
|
* Simplify the code by removing not-to-important use of <.> in the Hoogle back endNeil Mitchell2008-08-201-5/+1
|
* Remove Explicit top-level forall's when pretty-printing signaturesNeil Mitchell2008-08-181-1/+5
|
* Use the same method to put out signatures as class methods in the Hoogle backendNeil Mitchell2008-08-181-1/+1
|
* Make Hoogle add documentation to a packageNeil Mitchell2008-08-131-2/+3
|
* Generalise Hoogle.doc and add a docWithNeil Mitchell2008-08-131-5/+11
|
* Add support for type synonyms to Hoogle, was accidentally missing before ↵Neil Mitchell2008-08-121-0/+5
| | | | (woops!)
* Output all items, even if they are not defined in this module - ensures map ↵Neil Mitchell2008-08-121-8/+1
| | | | comes from Prelude, not just GHC.Base
* Follow changes to Binary in GHC 6.9David Waern2008-08-131-1/+78
|
* Follow changes to parseDynamic- parseStaticFlags in GHCDavid Waern2008-08-131-0/+4
|
* Follow extensible exceptions changesDavid Waern2008-08-131-8/+8
|
* Follow move of package string functions from PackageConfig to ModuleDavid Waern2008-08-134-5/+11
|
* Follow changes to parseDynamic/StaticFlagsDavid Waern2008-08-121-1/+7
|
* Hide <.> from GHC import in Hoogle only for ghc <= 6.8.3David Waern2008-08-121-0/+4
|
* Comment out H.GHC.loadPackages - it is unused and doesn't build with ghc >= 6.9David Waern2008-08-121-2/+3
|
* Remove matching on NoteTy in AttachInstances, it has been removedDavid Waern2008-08-121-3/+1
|
* Make our .haddock file version number depend on the GHC versionDavid Waern2008-08-121-1/+17
| | | | | | We need to do this, since our .haddock format can potentially change whenever GHC's version changes (even when only the patchlevel changes).
* Import Control.OldException instead of C.Exception when using ghc >= 6.9David Waern2008-08-111-0/+7
| | | | | We should really test for base version instead, but I don't currently know which version to test for.
* Make H.GHC.Utils build with GHC HEADDavid Waern2008-08-101-1/+10
|
* Filter out separately exported ATs (take two)David Waern2008-08-032-2/+9
|
* Do not filter out doc declarationsDavid Waern2008-08-031-0/+2
|
* Move some utility functions from H.I.Create to H.GHC.UtilsDavid Waern2008-08-032-22/+21
|