Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow for headings inside function documentation. | Mateusz Kowalczyk | 2014-01-12 | 8 | -8/+70 |
| | | | | | | | | | | | | | LaTeX will treat the h3-h6 headings the same as we'd have to hack the style file heavily otherwise and it would make the headings tiny anyway. Hoogle upstream said they will put in the functionality on their end. Conflicts: src/Haddock/Interface/Rename.hs src/Haddock/Types.hs test/Haddock/ParserSpec.hs | ||||
* | Support for bold. | Mateusz Kowalczyk | 2014-01-12 | 10 | -13/+62 |
| | | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs | ||||
* | Fix totality, unicode, examples, paragraph parsing | Simon Hengel | 2014-01-12 | 4 | -331/+216 |
| | | | | | | | | Also simplify specs and parsers while we're at it. Some parsers were made more generic. This commit is a part of GHC pre-merge squash, email fuuzetsu@fuuzetsu.co.uk if you need the full commit history. | ||||
* | Don't append newline to parseString input | Simon Hengel | 2014-01-12 | 1 | -18/+12 |
| | | | | We also check that we have parsed everything with endOfInput. | ||||
* | One pass parser and tests. | Mateusz Kowalczyk | 2014-01-12 | 12 | -489/+598 |
| | | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing. | ||||
* | Some code simplification by using traverse | Simon Hengel | 2014-01-12 | 2 | -52/+9 |
| | |||||
* | Adapt to small change in Pretty's exports | Simon Peyton Jones | 2014-01-10 | 1 | -3/+3 |
| | |||||
* | Track changes in HsSpliceTy data constructor | Simon Peyton Jones | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | Bump version | Simon Hengel | 2013-11-10 | 1 | -12/+2 |
| | |||||
* | Print missing documentation. Fixes #258. | Mateusz Kowalczyk | 2013-09-18 | 2 | -6/+33 |
| | |||||
* | Fixes #231 | Mateusz Kowalczyk | 2013-09-18 | 2 | -2/+4 |
| | |||||
* | Add missing `traverse` method for `GenLocated` | Herbert Valerio Riedel | 2013-09-18 | 1 | -1/+1 |
| | | | | | | | As `Traversable` needs at least one of `traverse` or `sequenceA` to be overridden. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> | ||||
* | Revision to reflect new role annotation syntax in GHC. | Richard Eisenberg | 2013-09-17 | 6 | -14/+12 |
| | |||||
* | Fix AMP warnings | David Luposchainsky | 2013-09-08 | 1 | -0/+8 |
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> | ||||
* | Fixes #253 | Mateusz Kowalczyk | 2013-09-02 | 1 | -2/+16 |
| | |||||
* | Fix ticket #247. | Mateusz Kowalczyk | 2013-08-27 | 1 | -2/+6 |
| | | | | | I do the same thing that the XHTML backend does: give these no special treatment and just act as if they are regular functions. | ||||
* | Add spec tests. | Mateusz Kowalczyk | 2013-08-25 | 1 | -2/+25 |
| | | | | | This adds tests for all elements we can create during regular parsing. This also adds tests for text with unicode in it. | ||||
* | Bump interface file version. | David Waern | 2013-08-04 | 1 | -2/+2 |
| | |||||
* | Output Copright and License keys in Xhtml backend. | Mathieu Boespflug | 2013-08-04 | 4 | -26/+38 |
| | | | | | | | This information is as relevant in the documentation as it is in the source files themselves. Signed-off-by: David Waern <david.waern@gmail.com> | ||||
* | Changes to reflect changes in GHC's type HsTyVarBndr | Richard Eisenberg | 2013-08-02 | 5 | -11/+13 |
| | |||||
* | Remove (error "synifyKind") to use WithinType, to allow haddock to process base. | Richard Eisenberg | 2013-07-24 | 1 | -1/+1 |
| | |||||
* | Updates to reflect changes in HsDecls to support closed type families. | Richard Eisenberg | 2013-06-21 | 5 | -33/+64 |
| | |||||
* | Adapt to tcRnGetInfo returning family instances too | Simon Peyton Jones | 2013-03-15 | 1 | -3/+3 |
| | | | | | | | | | This API change was part of the fix to Trac #4175. But it offers new information to Haddock: the type-family instances, as well as the class instances, of this type. This patch just drops the new information on the floor, but there's an open opportunity to use it in the information that Haddock displays. | ||||
* | Use Alex 3's Unicode support to properly lex source files as UTF-8 | Max Bolingbroke | 2013-03-10 | 1 | -23/+42 |
| | | | | Signed-off-by: David Waern <david.waern@gmail.com> | ||||
* | Follow changes in base | Ian Lynagh | 2013-02-16 | 1 | -0/+3 |
| | |||||
* | Typo | Gabor Greif | 2013-02-15 | 1 | -1/+1 |
| | |||||
* | Refactoring instanceHead'. | Kazu Yamamoto | 2013-02-06 | 1 | -1/+1 |
| | |||||
* | Using tcSplitSigmaTy in instanceHead' (FIXME is resolved.) | Kazu Yamamoto | 2013-02-06 | 1 | -6/+5 |
| | |||||
* | Merge branch 'ghc-7.6' into ghc-7.6-merge-2 | Kazu Yamamoto | 2013-02-01 | 14 | -105/+314 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: haddock.cabal src/Haddock/Interface/AttachInstances.hs src/Haddock/Interface/Create.hs src/Haddock/Interface/LexParseRn.hs src/Haddock/InterfaceFile.hs src/Haddock/Types.hs Only GHC HEAD can compile this. GHC 7.6.x cannot compile this. Some test fail. | ||||
| * | Properly handle deprecation messages for re-exported things (fixes #220) | Simon Hengel | 2012-10-14 | 2 | -3/+9 |
| | | |||||
| * | Minor formatting change | Simon Hengel | 2012-10-14 | 1 | -19/+19 |
| | | |||||
| * | If parsing of deprecation message fails, include it verbatim | Simon Hengel | 2012-10-14 | 1 | -9/+10 |
| | | |||||
| * | Allow haddock markup in deprecation messages | Simon Hengel | 2012-10-14 | 3 | -22/+68 |
| | | |||||
| * | Handle more cases in renameType | Simon Hengel | 2012-10-14 | 1 | -14/+19 |
| | | |||||
| * | Simplify lookupRn | Simon Hengel | 2012-10-14 | 1 | -7/+7 |
| | | |||||
| * | Simplify RnM type | Simon Hengel | 2012-10-14 | 1 | -10/+9 |
| | | |||||
| * | Better error messages | Simon Hengel | 2012-10-13 | 1 | -2/+6 |
| | | |||||
| * | Handle HsExplicitListTy in renameer (fixes #213) | Simon Hengel | 2012-10-13 | 1 | -0/+2 |
| | | |||||
| * | Improve note about `binaryInterfaceVersion` (thanks David) | Simon Hengel | 2012-10-12 | 1 | -2/+3 |
| | | |||||
| * | Remove redundant if-defs, more source documentation | Simon Hengel | 2012-10-11 | 1 | -15/+16 |
| | | |||||
| * | Allow to load interface files with compatible versions | Simon Hengel | 2012-10-09 | 1 | -1/+4 |
| | | |||||
| * | Fix parser bug | Simon Hengel | 2012-10-09 | 1 | -1/+3 |
| | | |||||
| * | Bump interface version | Simon Hengel | 2012-10-09 | 1 | -5/+5 |
| | | |||||
| * | Simplify lexing/parsing of properties | Simon Hengel | 2012-10-09 | 2 | -13/+13 |
| | | | | | | | | | | In contrast to what we do for examples, we do not really need to capture the "prompt" here. | ||||
| * | Add markup support for properties | Kazu Yamamoto | 2012-10-09 | 10 | -0/+29 |
| | | |||||
| * | Fix spurious superclass constraints bug. | David Waern | 2012-09-28 | 1 | -8/+23 |
| | | |||||
| * | Follow changes in GHC. | David Waern | 2012-09-07 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'hiddenInstances2' of http://github.com/feuerbach/haddock into ↵ | David Waern | 2012-09-07 | 2 | -7/+55 |
| |\ | | | | | | | | | | ghc-7.6 | ||||
| | * | Hide "internal" instances | Roman Cheplyaka | 2012-07-27 | 2 | -7/+55 |
| | | | | | | | | | | | | | | | | | | | | | This fixes #37 (http://trac.haskell.org/haddock/ticket/37) Precisely, we show an instance iff its class and all the types are exported by non-hidden modules. | ||||
| * | | Improve haddock memory usage | Ian Lynagh | 2012-08-13 | 4 | -51/+68 |
| | | |