aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not show a subordinate at the top level if its parent is also exportedDavid Waern2009-02-071-6/+44
| | | | See note in the source code for more info.
* Correct commentDavid Waern2009-01-241-2/+2
|
* Correct spelling mistake in error messageDavid Waern2009-01-241-1/+1
|
* Filter out separately exported associated types in a smarter wayDavid Waern2009-01-231-17/+19
|
* Improve quasi-quotation test and add reference outputDavid Waern2009-01-223-2/+430
|
* Add test for quasi quotation. No reference output yet.David Waern2009-01-222-0/+45
|
* Fix Trac #50: do not attach docs to pragmas or other kinds of non-declarationsDavid Waern2009-01-221-12/+10
| | | | | We now filter out everything that is not a proper Haskell declaration before collecting the docs and attaching them to declarations.
* Do not indicate that a constructor argument is unboxedDavid Waern2009-01-211-1/+2
| | | | | | We only show the strictness annotation for an unboxed constructor argument. The fact that it is unboxed is an implementation detail and should not be part of the module interface.
* Fix Trac #59: TH-generated declarations disappearingDavid Waern2009-01-201-7/+1
| | | | This patch was contributed by Joachim Breitner (nomeata).
* Document H.I.Create.collectDocs betterDavid Waern2009-01-201-1/+4
|
* Fix the location of INPLACE_PKG_CONF; fixes the buildIan Lynagh2009-01-111-1/+1
| | | | Spotted by Conal Elliott
* Only use needsTemplateHaskell when compiling with GHC 6.10.2 or aboveDavid Waern2009-01-101-0/+4
|
* Fix Trac #68: Turn on compilation via C for Template Haskell packagesDavid Waern2009-01-101-1/+14
| | | | | | | | We can't use HscNothing if we need to run code coming from modules inside the processed package during typechecking, which is the case for some packages using Template Haskell. This could be improved, to e.g. use HscInterpreted and HscNothing where possible, instead of using HscC for all modules in the package.
* Add test for Template Haskell splicingDavid Waern2009-01-104-0/+182
|
* Update tests to account for version number changeDavid Waern2009-01-1033-33/+33
|
* Change version to 2.4.2 - no need to go to 2.5.0David Waern2009-01-103-3/+3
|
* Export modules also when coming from external packagesDavid Waern2009-01-081-4/+15
| | | | | This seems to have regressed since a refactoring that was part of the 2.3.0 release.
* Do not process boot modulesDavid Waern2009-01-061-26/+38
| | | | | | | | | | We should of course not try to produce documentation for boot modules! The reason this has worked in the past is that the output of "real" modules overwrites the output of boot modules later in the process. However, this causes a subtle link environment problem. So let's get rid of this stupid behaviour. We avoid processing boot modules, but we continue to typecheck them.
* Show re-exported names from external packages againDavid Waern2009-01-027-51/+89
| | | | | | | This fixes GHC ticket 2746. In order to also link to the exported subordinate names of a declaration, we need to re-introduce the sub map in the .haddock files.
* Wrap the GHC usage with defaultCleanupHandlerIan Lynagh2008-12-111-5/+6
| | | | This fixes a bug where haddock leaves /tmp/ghc* directories uncleaned.
* Make visible names from ExportItemsDavid Waern2008-12-084-69/+29
| | | | | | | | | | | | | | Instead of a complicated calculation of visible names out of GHC's export items, we can get them straight out of the already calculated ExportItems. The ExportItems should represent exactly those items that are visible in an interface. If store all the exported sub-names in ExportDecl instead of only those with documentation, the calculation becomes very simple. So we do this change as well (should perhaps have been a separate patch). This should fix the problem with names from ghc-prim not appearing in the link environment.
* Try and find a better package name than "main" for Hoogle, goes wrong when ↵Neil Mitchell2008-12-181-1/+2
| | | | working on an executable rather than a library
* Make forall's in constructors explicit, i.e. data Foo = Foo {foo :: Eq a => a}Neil Mitchell2008-12-151-2/+8
|
* Resolve conflict properlyDavid Waern2008-12-071-0/+1
|
* Remove -Wall, we'll focus on warnings after 6.10.2 is outDavid Waern2008-12-071-1/+1
|
* Remove -WerrorDavid Waern2008-12-071-3/+1
|
* TAG 2.4.1David Waern2008-11-060-0/+0
|
* TAG 2.4.0David Waern2008-11-040-0/+0
|
* Add -Wall -Werror to ghc-optionsDavid Waern2008-10-221-1/+3
|
* Solve conflictDavid Waern2008-12-071-1/+0
|
* Haddock really shouldn't try to overwrite files.Thomas Schilling2008-11-291-1/+1
|
* Update tests following anchor changeDavid Waern2008-11-2816-46/+338
|
* Allow referring to a specific section within a module in a module linkRoman Cheplyaka2008-11-271-1/+1
| | | | Fixes #65
* Drop HsDocTy annotations, they mess up pretty printing and also have a ↵Neil Mitchell2008-11-271-9/+29
| | | | bracketing bug (#2584)
* FIX #45: generate two anchors for each nameDavid Waern2008-11-2315-42/+328
| | | | | | We generate two anchor tags for each name, one where we don't escape the name and one where we URI-encode it. This is for compatibility between IE and Opera. Test output is updated.
* HADDOCK_DATA_DIR changed to haddock_datadirDavid Waern2008-11-231-3/+3
|
* Update tests to account for version number bumpDavid Waern2008-11-2333-33/+33
|
* Bump major version number due to .haddock file format changeDavid Waern2008-11-163-3/+3
|
* Store hidden modules in .haddock filesDavid Waern2008-11-153-20/+23
| | | | | | | | | | | | | We store documentation for an entity in the 'InstalledInterface' of the definition site module, and never in the same structure for a module which re-exports the entity. So when a client of the Haddock library wants to look up some documentation, he/she might need to access a hidden module. But we currently don't store hidden modules in the .haddock files. So we add the hidden modules and the Haddock options to the .haddock files. The options will be used to filter the module list to obtain the visible modules only, which is necessary for generating the contents and index for installed packages.
* Update testsDavid Waern2008-11-152-2/+2
| | | | For unknown reasons, test output for Bug1 and Test has changed for the better.
* Reflect version bump in test suiteDavid Waern2008-11-1533-33/+33
|
* Make DocName an instance of NamedThingDavid Waern2008-11-101-0/+7
|
* Export H.DocName in the libraryDavid Waern2008-11-101-1/+1
|
* Document the functions in H.DocNameDavid Waern2008-11-101-0/+2
|
* Export DocName in the libraryDavid Waern2008-11-102-1/+2
|
* Add Haddock.GHC.Utils to other-modules in libraryDavid Waern2008-11-091-0/+1
|
* Re-export NameCache and friends from Distribution.HaddockDavid Waern2008-11-091-0/+3
|
* Set HscTarget to HscNothing instead of HscAsmDavid Waern2008-11-081-1/+1
| | | | | There used to be a bug in the GHC API that prevented us from setting this value.
* Fix warnings in H.GHC.TypecheckDavid Waern2008-11-061-10/+4
|
* Fix warnings in H.InterfaceFile and H.OptionsDavid Waern2008-11-062-3/+4
|