aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Put parenthesis around type signature arguments of function typeDavid Waern2010-01-221-3/+5
|
* fix html arg-doc off-by-one and sillinessIsaac Dupree2010-01-141-1/+6
|
* Follow move of parser and lexerDavid Waern2010-01-221-4/+4
|
* Remove unnecessary (and inexplicable) uses of nubDavid Waern2010-01-221-2/+2
|
* Improve doc of DocNameDavid Waern2009-12-211-2/+3
|
* Move H.Interface.Parse/Lex to H.Parse/LexDavid Waern2009-11-283-13/+11
| | | | These are not just used to build Interfaces.
* Rename HsDoc back into DocDavid Waern2009-11-2813-89/+88
|
* Add an Arbitrary instance for HsDocDavid Waern2009-11-281-0/+25
|
* Remove unused H.Utils.FastMutInt2David Waern2009-11-281-62/+0
|
* Add a documentation header to Haddock.ConvertDavid Waern2009-11-281-3/+13
|
* Remove cruft due to compatibility with older GHCsDavid Waern2009-11-2810-111/+16
|
* Remove Name from DocInstanceDavid Waern2009-11-284-6/+5
| | | | It's not used.
* Whitespace policeDavid Waern2009-11-271-8/+8
|
* Whitespace policeDavid Waern2009-11-271-17/+17
|
* Remove bad whitespace and commented-out piecesDavid Waern2009-11-271-65/+61
|
* Comments on instancesDavid Waern2009-11-246-46/+110
| | | | | | | | | | | | | | | Implementing this was a little trickier than I thought, since we need to match up instances from the renamed syntax with instances represented by InstEnv.Instance. This is due to the current design of Haddock, which matches comments with declarations from the renamed syntax, while getting the list of instances of a class/family directly using the GHC API. - Works for class instances only (Haddock has no support for type family instances yet) - The comments are rendered to the right of the instance head in the HTML output - No change to the .haddock file format - Works for normal user-written instances only. No comments are added on derived or TH-generated instances
* Remove commented-out codeDavid Waern2009-11-151-8/+0
|
* Use defaultObjectTarget rather than HscAsmIan Lynagh2009-11-201-3/+3
| | | | This fixes haddock when we don't have a native code generator
* 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
|