aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't append newline to parseString inputSimon Hengel2014-01-1264-385/+272
| | | | We also check that we have parsed everything with endOfInput.
* Rename Haddock.ParseSpec to Haddock.ParserSpecSimon Hengel2014-01-123-11/+3
|
* One pass parser and tests.Mateusz Kowalczyk2014-01-1220-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 AttoparsecMateusz Kowalczyk2014-01-1211-18/+2034
|
* Fix warnings in test helperSimon Hengel2014-01-121-0/+16
|
* Some code simplification by using traverseSimon Hengel2014-01-122-52/+9
|
* Adapt to small change in Pretty's exportsSimon Peyton Jones2014-01-101-3/+3
|
* Track changes in HsSpliceTy data constructorSimon Peyton Jones2013-11-251-1/+1
|
* Bump versionSimon Hengel2013-11-1061-73/+77
|
* Update HTML testsSimon Hengel2013-11-094-0/+275
|
* Don't consider StaticFlags when parsing arguments.Austin Seipp2013-10-091-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 Kowalczyk2013-09-182-6/+33
|
* Fixes #5Mateusz Kowalczyk2013-09-181-0/+11
|
* Fallback to ./resources when Cabal data is not foundSimon Hengel2013-09-181-2/+11
| | | | (so that themes are found during development)
* Add new field to DynFlagsMateusz Kowalczyk2013-09-181-0/+1
|
* Fixes #256Mateusz Kowalczyk2013-09-181-1/+8
| | | | | We inject -dynamic-too into flags before we run all our actions in the GHC monad.
* Fixes #231Mateusz Kowalczyk2013-09-183-3/+6
|
* Add test helperSimon Hengel2013-09-182-3/+167
|
* Add missing `traverse` method for `GenLocated`Herbert Valerio Riedel2013-09-181-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 Eisenberg2013-09-176-14/+12
|
* Update Git repo URL in `.cabal` fileHerbert Valerio Riedel2013-09-111-1/+1
|
* Fix AMP warningsDavid Luposchainsky2013-09-081-0/+8
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Use Hspec instead of nanospecMateusz Kowalczyk2013-09-033-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 #253Mateusz Kowalczyk2013-09-023-2/+28
|
* LaTeX tests setupMateusz Kowalczyk2013-08-278-0/+309
|
* Fix ticket #247.Mateusz Kowalczyk2013-08-271-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 Kowalczyk2013-08-252-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 Waern2013-08-091-4/+16
|
* Bump interface file version.David Waern2013-08-041-2/+2
|
* Output Copright and License keys in Xhtml backend.Mathieu Boespflug2013-08-044-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 HsTyVarBndrRichard Eisenberg2013-08-025-11/+13
|
* Remove (error "synifyKind") to use WithinType, to allow haddock to process base.Richard Eisenberg2013-07-241-1/+1
|
* Fix failing testSimon Hengel2013-07-081-2/+2
|
* Fix failing testSimon Hengel2013-07-081-1/+1
|
* Updates to reflect changes in HsDecls to support closed type families.Richard Eisenberg2013-06-215-33/+64
|
* Fix broken testSimon Hengel2013-06-011-3/+3
|
* Workaround for a failing build with --enable-tests.Mateusz Kowalczyk2013-06-011-1/+1
|
* Add -itest to .ghciSimon Hengel2013-06-011-1/+1
|
* Use "cp -L" when making $(INPLACE_LIB)/latex tooIan Lynagh2013-05-191-1/+1
|
* Fix for #7879.Andreas Voellmy2013-05-191-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 tooSimon Peyton Jones2013-03-151-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-8Max Bolingbroke2013-03-102-25/+44
| | | | Signed-off-by: David Waern <david.waern@gmail.com>
* Follow changes in GHC build systemIan Lynagh2013-03-031-7/+7
|
* Follow changes in GHC's build systemIan Lynagh2013-03-011-1/+1
|
* Follow changes in baseIan Lynagh2013-02-161-0/+3
|
* TypoGabor Greif2013-02-151-1/+1
|
* Using new syntax in html-test/src/GADTRecords.hs.Kazu Yamamoto2013-02-071-5/+4
|
* Refactoring instanceHead'.Kazu Yamamoto2013-02-061-1/+1
|
* Using tcSplitSigmaTy in instanceHead' (FIXME is resolved.)Kazu Yamamoto2013-02-061-6/+5
|
* Merge branch 'ghc-7.6' into ghc-7.6-merge-2Kazu Yamamoto2013-02-01249-1469/+3418
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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.