Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Per-module extension flags and language listing. | Mateusz Kowalczyk | 2014-01-12 | 12 | -48/+209 |
| | | | | | | | | | | | | | 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 | 9 | -8/+89 |
| | | | | | | | | | | | | | 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 | 15 | -14/+244 |
| | | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs | ||||
* | Update acceptance tests | Simon Hengel | 2014-01-12 | 1 | -2/+8 |
| | |||||
* | Fix totality, unicode, examples, paragraph parsing | Simon Hengel | 2014-01-12 | 48 | -1190/+871 |
| | | | | | | | | 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 | 64 | -385/+272 |
| | | | | We also check that we have parsed everything with endOfInput. | ||||
* | Rename Haddock.ParseSpec to Haddock.ParserSpec | Simon Hengel | 2014-01-12 | 3 | -11/+3 |
| | |||||
* | One pass parser and tests. | Mateusz Kowalczyk | 2014-01-12 | 20 | -662/+986 |
| | | | | | | | | 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. | ||||
* | Add ByteString version of Attoparsec | Mateusz Kowalczyk | 2014-01-12 | 11 | -18/+2034 |
| | |||||
* | Fix warnings in test helper | Simon Hengel | 2014-01-12 | 1 | -0/+16 |
| | |||||
* | 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 | 61 | -73/+77 |
| | |||||
* | Update HTML tests | Simon Hengel | 2013-11-09 | 4 | -0/+275 |
| | |||||
* | 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) | ||||
* | Add new field to DynFlags | Mateusz Kowalczyk | 2013-09-18 | 1 | -0/+1 |
| | |||||
* | 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 test helper | Simon Hengel | 2013-09-18 | 2 | -3/+167 |
| | |||||
* | 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 |
| | |||||
* | Update Git repo URL in `.cabal` file | Herbert Valerio Riedel | 2013-09-11 | 1 | -1/+1 |
| | |||||
* | Fix AMP warnings | David Luposchainsky | 2013-09-08 | 1 | -0/+8 |
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> | ||||
* | Use Hspec instead of nanospec | Mateusz Kowalczyk | 2013-09-03 | 3 | -134/+1 |
| | | | | | | This is motivated by the fact that Haddock tests are not ran by the GHC's ‘validate’ script so we're pretty liberal on dependencies in that area. Full Hspec gives us some nice features such as Quickcheck integration. | ||||
* | Fixes #253 | Mateusz Kowalczyk | 2013-09-02 | 3 | -2/+28 |
| | |||||
* | LaTeX tests setup | Mateusz Kowalczyk | 2013-08-27 | 8 | -0/+309 |
| | |||||
* | 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 | 2 | -25/+383 |
| | | | | | This adds tests for all elements we can create during regular parsing. This also adds tests for text with unicode in it. | ||||
* | Update tests. | David Waern | 2013-08-09 | 1 | -4/+16 |
| | |||||
* | 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 |
| | |||||
* | Fix failing test | Simon Hengel | 2013-07-08 | 1 | -2/+2 |
| | |||||
* | Fix failing test | Simon Hengel | 2013-07-08 | 1 | -1/+1 |
| | |||||
* | Updates to reflect changes in HsDecls to support closed type families. | Richard Eisenberg | 2013-06-21 | 5 | -33/+64 |
| | |||||
* | Fix broken test | Simon Hengel | 2013-06-01 | 1 | -3/+3 |
| | |||||
* | Workaround for a failing build with --enable-tests. | Mateusz Kowalczyk | 2013-06-01 | 1 | -1/+1 |
| | |||||
* | Add -itest to .ghci | Simon Hengel | 2013-06-01 | 1 | -1/+1 |
| | |||||
* | Use "cp -L" when making $(INPLACE_LIB)/latex too | Ian Lynagh | 2013-05-19 | 1 | -1/+1 |
| | |||||
* | Fix for #7879. | Andreas Voellmy | 2013-05-19 | 1 | -1/+1 |
| | | | | Changed copy of utils/haddock/html/resources/html to use "cp -RL" rather than "cp -R". This allows users to run validate in a build tree, where the build tree was setup using lndir with a relative path to the source directory. | ||||
* | 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 | 2 | -25/+44 |
| | | | | Signed-off-by: David Waern <david.waern@gmail.com> | ||||
* | Follow changes in GHC build system | Ian Lynagh | 2013-03-03 | 1 | -7/+7 |
| | |||||
* | Follow changes in GHC's build system | Ian Lynagh | 2013-03-01 | 1 | -1/+1 |
| | |||||
* | Follow changes in base | Ian Lynagh | 2013-02-16 | 1 | -0/+3 |
| |