aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* hlint policeDavid Waern2009-11-146-19/+18
|
* Track change in HsType for the right compiler versionDavid Waern2009-11-141-1/+1
|
* Fix building with GHC >= 6.12Ian Lynagh2009-09-221-0/+6
|
* Track change in HsTypesimonpj2009-09-111-1/+2
|
* Use Map.fromList/toList intead of fromAscList/toAscList when serializing MapsDavid Waern2009-09-111-2/+2
| | | | | | | This fixes the missing docs problem. The Eq and Ord instances for Name uses the unique number in Name. This number is created at deserialization time by GHC's magic Binary instance for Name, and it is random. Thus, fromAscList can't be used at deserialization time, even though toAscList was used at serialization time.
* Correct copyright in H.I.ParseModuleHeaderDavid Waern2009-09-091-1/+1
|
* Remove commented-out codeDavid Waern2009-09-091-31/+0
|
* define unpackPackageId (it was removed from GHC)Simon Marlow2009-07-291-0/+17
|
* Follow changes in GHC's interface file formatSimon Marlow2009-08-241-4/+4
| | | | Word32 instead of Int for FastString and Name offsets
* Move toHsInstHead to Haddock.Convert and call it synifyInstHeadDavid Waern2009-09-063-12/+10
|
* Style policeDavid Waern2009-09-061-0/+1
|
* Add more copyright owners to H.I.AttachInstancesDavid Waern2009-09-061-1/+3
|
* WibbleDavid Waern2009-09-041-3/+1
|
* Clean up tyThingToHsSynSig a littleDavid Waern2009-09-041-29/+28
| | | | | Factor out noLoc and use the case construct. Also rename the function to tyThingToLHsDecl, since it doesn't just create type signatures.
* Eradicate wrong runtime warning for type-inferenced exported-functionsIsaac Dupree2009-08-241-2/+49
| | | | see the long comment in the patch for why I did it this way :-)
* refactor out subordinatesWithNoDocsIsaac Dupree2009-08-241-2/+14
| | | | dep of inferenced-decls fix
* Utils: ghc >= 6.10Isaac Dupree2009-08-231-6/+0
|
* Backends.Html: ghc >= 6.10Isaac Dupree2009-08-231-4/+0
|
* Backends.DevHelp: ghc >= 6.10Isaac Dupree2009-08-231-3/+0
|
* ModuleTree: ghc >= 6.10Isaac Dupree2009-08-231-4/+0
|
* Types: ghc >= 6.10Isaac Dupree2009-08-231-4/+0
|
* InterfaceFile: ghc >= 6.10Isaac Dupree2009-08-231-28/+0
|
* GhcUtils: ghc >= 6.10Isaac Dupree2009-08-231-4/+0
|
* Haddock.Interface.Rename: eliminate warningsIsaac Dupree2009-08-231-1/+2
|
* Haddock.Convert: eliminate warningsIsaac Dupree2009-08-231-3/+0
|
* Backends.Hoogle: eliminate warningsIsaac Dupree2009-08-231-4/+0
|
* bugfix: restore fnArgDocs for type-synonymsIsaac Dupree2009-08-231-0/+1
|
* add comment for FnArgsDoc typeIsaac Dupree2009-08-231-0/+2
|
* Improve behavior for unfindable .haddockIsaac Dupree2009-08-231-26/+46
|
* cross-package fnArgDocs. WARNING: changes .haddock binary formatIsaac Dupree2009-08-233-17/+28
| | | | | | | | | | | | | | | | While breaking the format, I took the opportunity to unrename the DocMap that's saved to disk, because there's really no reason that we want to know what *another* package's favorite place to link a Name to was. (Is that true? Or might we want to know, someday?) Also, I added instance Binary Map in InterfaceFile. It makes the code a little simpler without changing anything of substance. Also it lets us add another Map hidden inside another Map (fnArgsDocs in instDocMap) without having really-convoluted serialization code. Instances are neat! I don't understand why this change to InterfaceFile seemed to subtly break binary compatibility all by itself, but no matter, I'll just roll it into the greater format-changing patch. Done!
* re-implement function-argument docsIsaac Dupree2009-08-237-93/+182
| | | | | | | ..on top of the lexParseRn work. This patch doesn't change the InstalledInterface format, and thus, it does not work cross-package, but that will be easy to add subsequently.
* fix horrible named-docs-disappearing bug :-)Isaac Dupree2009-08-231-5/+16
|
* get rid of unused DocMap parameter in HtmlIsaac Dupree2009-08-231-18/+16
|
* Move doc parsing/lexing into Haddock for ghc>=6.11Isaac Dupree2009-08-2312-57/+862
|
* Html: remove unnecessary+troublesome GHC. qualificationsIsaac Dupree2009-08-231-12/+12
|
* less big-Map-based proper extraction of constructor subdocsIsaac Dupree2009-08-232-18/+28
|
* hacks to make it compile without fnArgDocsnIsaac Dupree2009-08-231-5/+6
|
* Fix GHC 6.11 build in Haddock.ConvertIsaac Dupree2009-08-181-0/+3
|
* remove ghc 6.8 conditionals from Haddock.InterfaceIsaac Dupree2009-08-161-48/+1
|
* fix preprocessor conditional senseIsaac Dupree2009-08-171-1/+1
|
* Find instances using GHC, which is more complete.Isaac Dupree2009-08-182-40/+24
| | | | | | | | | | | In particular, it works cross-package. An intermediate patch also moved the instance-finding into createInterface, but that move turned out not to be necessary, so if we want to do that, it'd go in a separate patch. (Is that possible? Or will we need GHC to have loaded all the modules first, before we can go searching for the instances (e.g. if the modules are recursive or something)?)
* switch AttachInstances to use synify codeIsaac Dupree2009-08-181-37/+6
| | | | | | | | It changed an instance from showing ((,) a b) to (a, b) because my synify code is more sophisticated; I hope the latter is a good thing rather than a bad thing aesthetically, here. But this definitely reduces code duplication!
* Haddock.Convert: export more functionsIsaac Dupree2009-08-181-7/+11
| | | | This lets us remove some code in Haddock.Interface.AttachInstances
* make cross-package list types look nicerIsaac Dupree2009-08-161-6/+7
|
* Add --print-ghc-libdirDavid Waern2009-08-151-0/+3
|
* Cross-Package Documentation version 4Isaac Dupree2009-08-124-11/+360
|
* Do not version .haddock file based on GHC patchlevel versionDavid Waern2009-08-141-18/+5
| | | | | We require that the instances of Binary that we use from GHC will not change between patchlevel versions.
* Version .haddock files made with GHC 6.10.3/4 correcltyDavid Waern2009-08-141-6/+6
|
* follow changes in GHC's ForeignTypeSimon Marlow2009-07-281-0/+6
|
* Fix unused import warningsIan Lynagh2009-07-0711-26/+0
|