Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix #112 | David Waern | 2010-04-10 | 3 | -36/+40 | |
| | | | | | | | | No link was generated for 'Addr#' in a doc comment. The reason was simply that the identifier didn't parse. We were using parseIdentifier from the GHC API, with a parser state built from 'defaultDynFlags'. If we pass the dynflags of the module instead, the right options are turned on on while parsing the identifer (in this case -XMagicHash), and the parse succeeds. | |||||
* | Propagate source positions from Lex.x to Parse.y | David Waern | 2010-04-07 | 2 | -3/+5 | |
| | ||||||
* | Add markup support for interactive examples | simon.hengel | 2010-04-02 | 2 | -0/+3 | |
| | ||||||
* | Remove unused ifaceLocals | david.waern | 2010-02-24 | 1 | -2/+0 | |
| | ||||||
* | Fix Haddock markup error in comment | david.waern | 2010-02-22 | 1 | -1/+1 | |
| | ||||||
* | Follow move of parser and lexer | David Waern | 2010-01-22 | 1 | -4/+4 | |
| | ||||||
* | Remove unnecessary (and inexplicable) uses of nub | David Waern | 2010-01-22 | 1 | -2/+2 | |
| | ||||||
* | Move H.Interface.Parse/Lex to H.Parse/Lex | David Waern | 2009-11-28 | 3 | -281/+4 | |
| | | | | These are not just used to build Interfaces. | |||||
* | Rename HsDoc back into Doc | David Waern | 2009-11-28 | 6 | -30/+30 | |
| | ||||||
* | Remove cruft due to compatibility with older GHCs | David Waern | 2009-11-28 | 3 | -36/+2 | |
| | ||||||
* | Remove Name from DocInstance | David Waern | 2009-11-28 | 2 | -4/+3 | |
| | | | | It's not used. | |||||
* | Remove bad whitespace and commented-out pieces | David Waern | 2009-11-27 | 1 | -65/+61 | |
| | ||||||
* | Comments on instances | David Waern | 2009-11-24 | 3 | -21/+71 | |
| | | | | | | | | | | | | | | | 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 | |
| | ||||||
* | hlint police | David Waern | 2009-11-14 | 3 | -10/+8 | |
| | ||||||
* | Correct copyright in H.I.ParseModuleHeader | David Waern | 2009-09-09 | 1 | -1/+1 | |
| | ||||||
* | Move toHsInstHead to Haddock.Convert and call it synifyInstHead | David Waern | 2009-09-06 | 2 | -11/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | |||||
* | Haddock.Interface.Rename: eliminate warnings | Isaac Dupree | 2009-08-23 | 1 | -1/+2 | |
| | ||||||
* | bugfix: restore fnArgDocs for type-synonyms | Isaac Dupree | 2009-08-23 | 1 | -0/+1 | |
| | ||||||
* | 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 | 1 | -7/+6 | |
| | | | | | | | | | | | | | | | | 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 | 4 | -22/+98 | |
| | | | | | | | ..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 | |
| | ||||||
* | Move doc parsing/lexing into Haddock for ghc>=6.11 | Isaac Dupree | 2009-08-23 | 7 | -49/+710 | |
| | ||||||
* | fix preprocessor conditional sense | Isaac Dupree | 2009-08-17 | 1 | -1/+1 | |
| | ||||||
* | Find instances using GHC, which is more complete. | Isaac Dupree | 2009-08-18 | 1 | -38/+23 | |
| | | | | | | | | | | | 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 code | Isaac Dupree | 2009-08-18 | 1 | -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! | |||||
* | Cross-Package Documentation version 4 | Isaac Dupree | 2009-08-12 | 1 | -9/+40 | |
| | ||||||
* | follow changes in GHC's ForeignType | Simon Marlow | 2009-07-28 | 1 | -0/+6 | |
| | ||||||
* | Fix unused import warnings | Ian Lynagh | 2009-07-07 | 3 | -7/+0 | |
| | ||||||
* | Resolve conflicts | Ian Lynagh | 2009-07-05 | 1 | -1/+2 | |
| | ||||||
* | Follow extra field in ConDecl | simonpj | 2009-07-02 | 1 | -2/+4 | |
| | ||||||
* | Remove misplaced whitespace in H.I.Rename | David Waern | 2009-06-27 | 1 | -42/+42 | |
| | ||||||
* | Add Haddock module headers | David Waern | 2009-06-24 | 3 | -18/+30 | |
| | | | | | | | | | Add a proper Haddock module header to each module, with a more finegrained copyright. If you feel mis-accreditted, please correct any copyright notice! The maintainer field is set to haddock@projects.haskell.org. Next step is to add a brief description to each module. | |||||
* | Move H.GHC.Utils to H.GhcUtils | David Waern | 2009-04-05 | 2 | -2/+2 | |
| | ||||||
* | hlint police | David Waern | 2009-04-01 | 1 | -3/+3 | |
| | ||||||
* | hlint police | David Waern | 2009-04-01 | 2 | -8/+7 | |
| | ||||||
* | hlint police | David Waern | 2009-04-01 | 2 | -8/+8 | |
| | ||||||
* | -Wall police in H.I.Create | David Waern | 2009-03-28 | 1 | -79/+57 | |
| | ||||||
* | -Wall police in H.I.AttachInstances | David Waern | 2009-03-28 | 1 | -13/+16 | |
| | ||||||
* | -Wall police in H.I.Rename | David Waern | 2009-03-28 | 1 | -38/+49 | |
| | ||||||
* | Define Foldable and Traversable instances for Located | David Waern | 2009-03-27 | 1 | -2/+6 | |
| | ||||||
* | Remove H.DocName and put DocName in H.Types | David Waern | 2009-03-27 | 1 | -1/+0 | |
| | ||||||
* | Do not show package name in warning message | David Waern | 2009-02-28 | 1 | -1/+1 | |
| | ||||||
* | Shorten warning message | David Waern | 2009-02-27 | 1 | -3/+2 | |
| | ||||||
* | Fix error message conflict | David Waern | 2009-02-27 | 1 | -5/+4 | |
| | | | | | | The module name is already written in the beginning of the message, as seems to be the convention in Haddock. Perhaps not so clear, but we should change it everywhere in that case. Leaving it as it is for now. |