Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add an Arbitrary instance for HsDoc | David Waern | 2009-11-28 | 1 | -0/+25 | |
| | ||||||
* | Remove unused H.Utils.FastMutInt2 | David Waern | 2009-11-28 | 1 | -62/+0 | |
| | ||||||
* | Add a documentation header to Haddock.Convert | David Waern | 2009-11-28 | 1 | -3/+13 | |
| | ||||||
* | Remove cruft due to compatibility with older GHCs | David Waern | 2009-11-28 | 10 | -111/+16 | |
| | ||||||
* | Remove Name from DocInstance | David Waern | 2009-11-28 | 4 | -6/+5 | |
| | | | | It's not used. | |||||
* | Whitespace police | David Waern | 2009-11-27 | 1 | -8/+8 | |
| | ||||||
* | Whitespace police | David Waern | 2009-11-27 | 1 | -17/+17 | |
| | ||||||
* | Remove bad whitespace and commented-out pieces | David Waern | 2009-11-27 | 1 | -65/+61 | |
| | ||||||
* | Comments on instances | David Waern | 2009-11-24 | 6 | -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 code | David Waern | 2009-11-15 | 1 | -8/+0 | |
| | ||||||
* | Use defaultObjectTarget rather than HscAsm | Ian Lynagh | 2009-11-20 | 1 | -3/+3 | |
| | | | | This fixes haddock when we don't have a native code generator | |||||
* | hlint police | David Waern | 2009-11-14 | 6 | -19/+18 | |
| | ||||||
* | Track change in HsType for the right compiler version | David Waern | 2009-11-14 | 1 | -1/+1 | |
| | ||||||
* | Fix building with GHC >= 6.12 | Ian Lynagh | 2009-09-22 | 1 | -0/+6 | |
| | ||||||
* | Track change in HsType | simonpj | 2009-09-11 | 1 | -1/+2 | |
| | ||||||
* | Use Map.fromList/toList intead of fromAscList/toAscList when serializing Maps | David Waern | 2009-09-11 | 1 | -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.ParseModuleHeader | David Waern | 2009-09-09 | 1 | -1/+1 | |
| | ||||||
* | Remove commented-out code | David Waern | 2009-09-09 | 1 | -31/+0 | |
| | ||||||
* | define unpackPackageId (it was removed from GHC) | Simon Marlow | 2009-07-29 | 1 | -0/+17 | |
| | ||||||
* | Follow changes in GHC's interface file format | Simon Marlow | 2009-08-24 | 1 | -4/+4 | |
| | | | | Word32 instead of Int for FastString and Name offsets | |||||
* | Move toHsInstHead to Haddock.Convert and call it synifyInstHead | David Waern | 2009-09-06 | 3 | -12/+10 | |
| | ||||||
* | Style police | David Waern | 2009-09-06 | 1 | -0/+1 | |
| | ||||||
* | Add more copyright owners to H.I.AttachInstances | David Waern | 2009-09-06 | 1 | -1/+3 | |
| | ||||||
* | Wibble | David Waern | 2009-09-04 | 1 | -3/+1 | |
| | ||||||
* | Clean up tyThingToHsSynSig a little | David Waern | 2009-09-04 | 1 | -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-functions | Isaac Dupree | 2009-08-24 | 1 | -2/+49 | |
| | | | | see the long comment in the patch for why I did it this way :-) | |||||
* | refactor out subordinatesWithNoDocs | Isaac Dupree | 2009-08-24 | 1 | -2/+14 | |
| | | | | dep of inferenced-decls fix | |||||
* | Utils: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -6/+0 | |
| | ||||||
* | Backends.Html: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -4/+0 | |
| | ||||||
* | Backends.DevHelp: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -3/+0 | |
| | ||||||
* | ModuleTree: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -4/+0 | |
| | ||||||
* | Types: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -4/+0 | |
| | ||||||
* | InterfaceFile: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -28/+0 | |
| | ||||||
* | GhcUtils: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -4/+0 | |
| | ||||||
* | Haddock.Interface.Rename: eliminate warnings | Isaac Dupree | 2009-08-23 | 1 | -1/+2 | |
| | ||||||
* | Haddock.Convert: eliminate warnings | Isaac Dupree | 2009-08-23 | 1 | -3/+0 | |
| | ||||||
* | Backends.Hoogle: eliminate warnings | Isaac Dupree | 2009-08-23 | 1 | -4/+0 | |
| | ||||||
* | bugfix: restore fnArgDocs for type-synonyms | Isaac Dupree | 2009-08-23 | 1 | -0/+1 | |
| | ||||||
* | add comment for FnArgsDoc type | Isaac Dupree | 2009-08-23 | 1 | -0/+2 | |
| | ||||||
* | Improve behavior for unfindable .haddock | Isaac Dupree | 2009-08-23 | 1 | -26/+46 | |
| | ||||||
* | cross-package fnArgDocs. WARNING: changes .haddock binary format | Isaac Dupree | 2009-08-23 | 3 | -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 docs | Isaac Dupree | 2009-08-23 | 7 | -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 Dupree | 2009-08-23 | 1 | -5/+16 | |
| | ||||||
* | get rid of unused DocMap parameter in Html | Isaac Dupree | 2009-08-23 | 1 | -18/+16 | |
| | ||||||
* | Move doc parsing/lexing into Haddock for ghc>=6.11 | Isaac Dupree | 2009-08-23 | 12 | -57/+862 | |
| | ||||||
* | Html: remove unnecessary+troublesome GHC. qualifications | Isaac Dupree | 2009-08-23 | 1 | -12/+12 | |
| | ||||||
* | less big-Map-based proper extraction of constructor subdocs | Isaac Dupree | 2009-08-23 | 2 | -18/+28 | |
| | ||||||
* | hacks to make it compile without fnArgDocsn | Isaac Dupree | 2009-08-23 | 1 | -5/+6 | |
| | ||||||
* | Fix GHC 6.11 build in Haddock.Convert | Isaac Dupree | 2009-08-18 | 1 | -0/+3 | |
| | ||||||
* | remove ghc 6.8 conditionals from Haddock.Interface | Isaac Dupree | 2009-08-16 | 1 | -48/+1 | |
| |