Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some cleanup and make sure we filter warnings through exports. | David Waern | 2012-02-04 | 1 | -33/+47 |
| | |||||
* | Fix issues in support for warnings. | David Waern | 2012-02-04 | 1 | -24/+9 |
| | | | | | * Match against local names only. * Simplify (it's OK to map over the warnings). | ||||
* | Expand type signatures for modules without explicit export list | Simon Hengel | 2012-02-04 | 1 | -1/+14 |
| | |||||
* | Expand type signatures in export list (fixes #192) | Simon Hengel | 2012-02-04 | 1 | -14/+5 |
| | |||||
* | Add support for warnings | Simon Hengel | 2012-02-04 | 1 | -2/+25 |
| | |||||
* | Add support for module warnings | Simon Hengel | 2012-02-04 | 1 | -1/+20 |
| | |||||
* | Cleanup mkMaps and avoid quadratic behaviour. | David Waern | 2012-02-01 | 1 | -28/+29 |
| | |||||
* | Fix bug introduced in my recent refactoring. | David Waern | 2012-02-01 | 1 | -16/+18 |
| | |||||
* | Minor fixes and cleanup. | David Waern | 2011-12-28 | 1 | -58/+58 |
| | |||||
* | Complete support for inferring types for top-level bindings. | David Waern | 2011-12-27 | 1 | -32/+44 |
| | |||||
* | Wibbles. | David Waern | 2011-12-27 | 1 | -24/+23 |
| | |||||
* | Cleanup. | David Waern | 2011-12-27 | 1 | -39/+12 |
| | |||||
* | Get rid of quite unnecessary use of different lists. | David Waern | 2011-12-27 | 1 | -33/+14 |
| | |||||
* | Go back to having a doc, sub and decl map instead of one big decl map. | David Waern | 2011-12-27 | 1 | -117/+115 |
| | | | | | | | | | This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer. | ||||
* | More cleanup. | David Waern | 2011-12-03 | 1 | -16/+25 |
| | |||||
* | Cleanup. | David Waern | 2011-12-03 | 1 | -27/+11 |
| | |||||
* | Slightly better behaviour on top-levels without type signatures. | David Waern | 2011-12-03 | 1 | -127/+76 |
| | | | | | | | | - Docs don't get attached to the next top-level with signature by mistake. - If there's an export list and the top-level is part of it, its doc comment shows up in the documentation. | ||||
* | Remove #ifs for older compiler versions. | David Waern | 2011-11-25 | 1 | -4/+0 |
| | |||||
* | Fix build. | David Waern | 2011-11-06 | 1 | -1/+1 |
| | |||||
* | Use getDeclMainBinder instead of declNames. | David Waern | 2011-11-06 | 1 | -33/+4 |
| | |||||
* | Improved declNames internal error. Added a case to handle DocD. | Ryan Newton | 2011-11-05 | 1 | -3/+24 |
| | |||||
* | Follow changes to ForeignImport/ForeignExport in GHC | Ian Lynagh | 2011-10-01 | 1 | -1/+1 |
| | |||||
* | Adapt Haddock for the ConstraintKind extension changes | Max Bolingbroke | 2011-09-06 | 1 | -1/+1 |
| | |||||
* | Fix build | Ian Lynagh | 2011-06-17 | 1 | -1/+1 |
| | |||||
* | * Merge in git patch from Michal Terepeta | David Waern | 2011-06-11 | 1 | -23/+39 |
| | | | | | | | | | | | | | | | | From 6fc71d067738ef4b7de159327bb6dc3d0596be29 Mon Sep 17 00:00:00 2001 From: Michal Terepeta <michal.terepeta@gmail.com> Date: Sat, 14 May 2011 19:18:22 +0200 Subject: [PATCH] Follow the change of TypeSig in GHC. This follows the change in GHC to make TypeSig take a list of names (instead of just one); GHC ticket #1595. This should also improve the Haddock output in case the user writes a type signature that refers to many names: -- | Some comment.. foo, bar :: ... will now generate the expected output with one signature for both names. | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -1/+0 |
| | | | | Silly, but nice with some consistency :-) | ||||
* | ModuleMap -> IfaceMap | David Waern | 2010-05-13 | 1 | -4/+4 |
| | |||||
* | Fix #112 | David Waern | 2010-04-10 | 1 | -20/+23 |
| | | | | | | | | 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. | ||||
* | 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 |
| | |||||
* | Remove unnecessary (and inexplicable) uses of nub | David Waern | 2010-01-22 | 1 | -2/+2 |
| | |||||
* | Remove bad whitespace and commented-out pieces | David Waern | 2009-11-27 | 1 | -65/+61 |
| | |||||
* | Comments on instances | David Waern | 2009-11-24 | 1 | -6/+28 |
| | | | | | | | | | | | | | | | 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 | 1 | -7/+7 |
| | |||||
* | Move toHsInstHead to Haddock.Convert and call it synifyInstHead | David Waern | 2009-09-06 | 1 | -1/+1 |
| | |||||
* | 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 |