Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Indentation | David Waern | 2011-05-22 | 1 | -14/+14 | |
| | ||||||
* | Fix some stylistic issues in mkExportItems | David Waern | 2011-05-22 | 1 | -19/+11 | |
| | ||||||
* | Break out fullContentsOf, give it a better name and some documentation | David Waern | 2011-05-22 | 1 | -22/+46 | |
| | | | | | The documentation describes how we want this function to eventually behave, once we have fixed a few problems with the current implementation. | |||||
* | Fix a bug | David Waern | 2011-05-22 | 1 | -3/+3 | |
| | ||||||
* | We don't need to send DocOptions nor a flag to mkExportItems | David Waern | 2011-05-22 | 1 | -9/+9 | |
| | ||||||
* | Improve a haddock comment | David Waern | 2011-05-21 | 1 | -2/+2 | |
| | ||||||
* | Fix build with ghc 7.0.1 | David Waern | 2011-03-10 | 1 | -0/+4 | |
| | ||||||
* | Update Haddock to reflect change in hs_tyclds field of HsGroup | simonpj | 2011-01-10 | 1 | -7/+7 | |
| | ||||||
* | Make a little more use of DoAndIfThenElse | David Waern | 2010-11-16 | 1 | -47/+46 | |
| | ||||||
* | follow changes in the GHC API | Simon Marlow | 2010-10-27 | 1 | -2/+9 | |
| | ||||||
* | print haddock coverage info on stdout when generating docs | Simon Michael | 2010-09-22 | 1 | -2/+10 | |
| | | | | | | A module's haddockable items are its exports and the module itself. The output is lightly formatted so you can align the :'s and sort for readability. | |||||
* | Get rid of GhcModule and related cruft | David Waern | 2010-08-26 | 1 | -15/+18 | |
| | | | | We can get everything we need directly from TypecheckedModule. | |||||
* | Fix a bug in attachInstances | David Waern | 2010-07-04 | 1 | -18/+39 | |
| | | | | | | | We didn't look for instance docs in all the interfaces of the package. This had the effect of instance docs not always showing up under a declaration. I took the opportunity to clean up the code in H.I.AttachInstances a bit as well. More cleanup is needed, however. | |||||
* | Unresolved identifiers in Doc get replaced with DocMonospaced | Simon Marlow | 2010-06-23 | 1 | -1/+1 | |
| | | | | rather than plain strings | |||||
* | isLocalAndTypeInferenced: fix for local module names overlapping package modules | Simon Marlow | 2010-06-22 | 1 | -2/+6 | |
| | ||||||
* | Position the module header the same way everywhere | David Waern | 2010-05-13 | 7 | -9/+0 | |
| | | | | Silly, but nice with some consistency :-) | |||||
* | ModuleMap -> IfaceMap | David Waern | 2010-05-13 | 1 | -4/+4 | |
| | ||||||
* | 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 | |
| |