Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Per-module extension flags and language listing. | Mateusz Kowalczyk | 2014-01-12 | 8 | -36/+89 |
| | | | | | | | | | | | | | Any extensions that are not enabled by a used language (Haskell2010 &c) will be shown. Furthermore, any implicitly enabled are also going to be shown. While we could eliminate this either by using the GHC API or a dirty hack, I opted not to: if a user doesn't want the implied flags to show, they are recommended to use enable extensions more carefully or individually. Perhaps this will encourage users to not enable the most powerful flags needlessly. Enabled with show-extensions. Conflicts: src/Haddock/InterfaceFile.hs | ||||
* | 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 | 5 | -332/+217 |
| | | | | | | | | 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 | 13 | -493/+600 |
| | | | | | | | | 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 |
| | |||||
* | Don't consider StaticFlags when parsing arguments. | Austin Seipp | 2013-10-09 | 1 | -12/+17 |
| | | | | | | | | | | | Instead, discard any static flags before parsing the command line using GHC's DynFlags parser. See http://ghc.haskell.org/trac/ghc/ticket/8276 Based off a patch from Simon Hengel. Signed-off-by: Austin Seipp <austin@well-typed.com> | ||||
* | Print missing documentation. Fixes #258. | Mateusz Kowalczyk | 2013-09-18 | 2 | -6/+33 |
| | |||||
* | Fixes #5 | Mateusz Kowalczyk | 2013-09-18 | 1 | -0/+11 |
| | |||||
* | Fallback to ./resources when Cabal data is not found | Simon Hengel | 2013-09-18 | 1 | -2/+11 |
| | | | | (so that themes are found during development) | ||||
* | Fixes #256 | Mateusz Kowalczyk | 2013-09-18 | 1 | -1/+8 |
| | | | | | We inject -dynamic-too into flags before we run all our actions in the GHC monad. | ||||
* | Fixes #231 | Mateusz Kowalczyk | 2013-09-18 | 3 | -3/+6 |
| | |||||
* | 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 | 17 | -148/+360 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Export missing types from Documentation.Haddock | Simon Hengel | 2012-11-28 | 1 | -0/+4 |
| | | |||||
| * | 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 |
| | | |||||
| * | Minor code simplification | Simon Hengel | 2012-10-13 | 1 | -2/+1 |
| | | |||||
| * | Increase code locality | Simon Hengel | 2012-10-13 | 1 | -11/+5 |
| | | |||||
| * | Minor code simplification | Simon Hengel | 2012-10-13 | 1 | -4/+4 |
| | | |||||
| * | Remove unused MonadFix constraint | Simon Hengel | 2012-10-13 | 1 | -7/+4 |
| | | |||||
| * | 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 |
| | |