aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use colordiff to display test results if availableDavid Waern2009-09-061-1/+11
|
* 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
* eliminate haskell98 dependency, following GHC's exampleIsaac Dupree2009-08-231-1/+0
| | | | | It turns out I/we already had, and it was only a matter of deleting it from the cabal file.
* 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
|
* Main.hs: OldException->Exception: which eliminates warningsIsaac Dupree2009-08-231-14/+13
|
* move get*LibDir code in Main.hs, to +consistent code, -duplicationIsaac Dupree2009-08-231-23/+25
|
* Main.hs: eliminate warnings (except for OldException)Isaac Dupree2009-08-231-5/+10
|
* Main.hs: remove ghc<6.9 conditionalsIsaac Dupree2009-08-231-60/+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-238-93/+183
| | | | | | | ..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-2314-60/+873
|
* 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-182-38/+7
| | | | | | | | 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
|
* Follow GHC build system changesIan Lynagh2009-08-162-3/+4
|
* Add a test for cross-package documentationDavid Waern2009-08-161-0/+11
|
* Read process.haddock when running testsDavid Waern2009-08-161-2/+4
|
* Update test output - we now have more linksDavid Waern2009-08-165-38/+120
|