aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Accomodate change in PatSyn representation""Mateusz Kowalczyk2014-05-291-1/+1
| | | | | | | This reverts commit e110e6e70e40eed06c06676fd2e62578da01d295. Apparently as per GHC commit ac2796e6ddbd54c5762c53e2fcf29f20ea162fd5 this was actually intended. Embarrasing for me.
* Revert "Accomodate change in PatSyn representation"Mateusz Kowalczyk2014-05-291-1/+1
| | | | | | This reverts commit 57aa591362d7c8ba21285fccd6a958629a422091. I am reverting this because I pushed it to master when it was meant to stay on a wip-branch. Sorry Gergo and everyone who had trouble due to this.
* Accomodate change in PatSyn representationDr. ERDI Gergo2014-05-251-1/+1
|
* Update issue tracker URL for haddock-libraryMateusz Kowalczyk2014-05-141-1/+1
|
* Update issue tracker URLMateusz Kowalczyk2014-05-141-1/+1
|
* Please the GHC build-system.Mateusz Kowalczyk2014-05-141-8/+41
| | | | | | As I can not figure out how to do this properly, if we're in GHC tree, we treat the library as being the same package. If we're not in the tree, we require that the library be installed separately.
* Remove no longer necessary parser error handling.Mateusz Kowalczyk2014-05-065-147/+105
| | | | | We can now drop some Maybe tests and even lets us strip an error handling monad away in a few places.
* Move out Show and Eq instances to TypesMateusz Kowalczyk2014-05-052-8/+8
| | | | They are much more useful to the users here.
* Move parser + parser tests out to own package.Mateusz Kowalczyk2014-05-0534-907/+841
| | | | | | | | | | We move some types out that are necessary as well and then re-export and specialise them in the core Haddock. Reason for moving out spec tests is that if we're working on the parser, we can simply work on that and we can ignore the rest of Haddock. The downside is that it's a little inconvenient if at the end of the day we want to see that everything passes.
* Prepare modules for parser split.Mateusz Kowalczyk2014-05-0510-169/+206
| | | | | We have to generalise the Doc (now DocH) slightly to remove the dependency on GHC-supplied type.
* Disambiguate ‘die’ in test runners.Mateusz Kowalczyk2014-05-032-2/+2
|
* Replace local `die` by new `System.Exit.die`Herbert Valerio Riedel2014-04-211-5/+1
| | | | | | | | | | | | | Starting with GHC 7.10, System.Exit exports the new `die` which is essentially the same as Haddock.Util.die, so this commit changes Haddock.Util.die to be a simple re-export of System.Exit.die. See also https://ghc.haskell.org/trac/ghc/ticket/9016 for more details. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* remove Origin flag from LHsBindsLRDr. ERDI Gergo2014-04-131-8/+8
|
* Update CHANGES to follow 2.14.3Mateusz Kowalczyk2014-04-111-0/+4
|
* Ignore version string during HTML tests.Mateusz Kowalczyk2014-04-111-1/+13
|
* Parse identifiers with ^ and ⋆ in them.Mateusz Kowalczyk2014-04-113-1/+164
| | | | Fixes #298.
* We don't actually want unicode hereMateusz Kowalczyk2014-04-111-1/+0
|
* Initialise some new PlatformConstants fieldsMateusz Kowalczyk2014-04-031-0/+2
|
* Enforce strict GHC version in cabal fileMateusz Kowalczyk2014-04-031-2/+2
| | | | | This stops people with 7.6.3 trying to install 2.15.x which clearly won't work. Unfortunately we shipped 2.14.x without realising this.
* Update test cases for GHC bug #8945, Haddock #188Mateusz Kowalczyk2014-04-037-57/+186
| | | | | | | The order of signature groups has been corrected upstream. Here we add a test case and update some existing test-cases to reflect this change. We remove grouped signature in test cases that we can (Minimal, BugDeprecated &c) so that the test is as self-contained as possible.
* Actually bundle extra spec tests in sdistMateusz Kowalczyk2014-04-011-0/+3
|
* Make CHANGES consistent with what's now in 2.14.2Mateusz Kowalczyk2014-04-011-0/+6
|
* Crash when exporting record selectors of data family instancesNiklas Haas2014-03-313-10/+226
| | | | | | | | | | | | | | | | | | | This fixes bug #294. This also fixes a related but never-before-mentioned bug about the display of GADT record selectors with non-polymorphic type signatures. Note: Associated data type constructors fail to show up if nothing is exported that they could be attached to. Exporting any of the data types in the instance head, or the class + data family itself, causes them to show up, but in the absence of either of these, exporting just the associated data type with the constructor itself will result in it being hidden. The only scenario I can come up that would involve this kind of situation involved OverlappingInstances, and even then it can be mitigated by just exporting the class itself, so I'm not going to solve it since the logic would most likely be very complicated.
* Drop leading whitespace in @-style blocks.Mateusz Kowalczyk2014-03-315-6/+185
| | | | Fixes #201.
* Add default for new PlatformConstraints fieldMateusz Kowalczyk2014-03-311-0/+1
|
* Print kind signatures on GADTsMateusz Kowalczyk2014-03-315-7/+163
|
* Fix a few typosHerbert Valerio Riedel2014-03-231-4/+4
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Drop needless --split-objs which slows us down.Mateusz Kowalczyk2014-03-221-9/+8
| | | | Involves tiny cleanup of all the dynflag bindings. Fixes #292.
* Please cabal sdistMateusz Kowalczyk2014-03-211-3/+3
|
* Fix issue #281Niklas Haas2014-03-155-100/+251
| | | | | | | | | This is a regression from the data family instances change. Data instances are now distinguished from regular lists by usage of the new class "inst", and the style has been updated to only apply to those. I've also updated the appropriate test case to test this a bit better, including GADT instances with GADT-style records.
* Hide minimal definition for only-method classesNiklas Haas2014-03-156-41/+46
| | | | | | | Previously this was not covered by the All xs check since here it is not actually an All, rather a single Var n. This also adds the previously missing html-test/src/Minimal.hs.
* Add Fuuzetsu maintainers field in cabal fileSimon Hengel2014-03-151-1/+1
|
* Style onlyMateusz Kowalczyk2014-03-131-32/+28
|
* Always read in prologue files as UTF8 (#286).Mateusz Kowalczyk2014-03-132-5/+13
|
* Update changelogMateusz Kowalczyk2014-03-131-0/+8
|
* Strip links from recently added html testsNiklas Haas2014-03-136-217/+217
| | | | These were accidentally left there when the tests were originally added
* Display minimal complete definitions for type classesNiklas Haas2014-03-1315-30/+398
| | | | | | | | | This corresponds to the new {-# MINIMAL #-} pragma present in GHC 7.8+. I also cleaned up some of the places in which ExportDecl is used to make adding fields easier in the future. Lots of test cases have been updated since they now render with minimality information.
* Add UnicodeSyntax alternatives for * and ->Niklas Haas2014-03-131-2/+7
| | | | | | | I could not find a cleaner way to do this other than checking for string equality with the given built-in types. But seeing as it's actually equivalent to string rewriting in GHC's implementation of UnicodeSyntax, it's probably fitting.
* Hide RHS of TFs with non-exported right hand sidesNiklas Haas2014-03-138-44/+105
| | | | | | Not sure what to do about data families yet, since technically it would not make a lot of sense to display constructors that cannot be used by the user.
* Fix up some whitespaceMateusz Kowalczyk2014-03-113-786/+786
|
* Bump version to 2.15.0Mateusz Kowalczyk2014-03-1167-67/+67
|
* Revert "Reorder topDeclElem to move the source/wiki links to the top"Niklas Haas2014-03-111-1/+1
| | | | | | | This reverts commit 843c42c4179526a2ad3526e4c7d38cbf4d50001d. This change is no longer needed with the new rendering style, and it messes with copy/pasting lines.
* Add documentation for --source-entity-lineNiklas Haas2014-03-111-0/+7
|
* Filter family instances of hidden typesNiklas Haas2014-03-113-5/+20
| | | | | Currently, this check does not extend to hidden right hand sides, although it probably should hide them in that case.
* Update appearance of fixity annotationsNiklas Haas2014-03-114-67/+141
| | | | | | | This moves them in-line with their corresponding lines, similar to a presentation envision by @hvr and described in #ghc. Redundant operator names are also omitted when no ambiguity is present.
* Update changelogNiklas Haas2014-03-111-1/+8
|
* Include fixity information in the Interface fileNiklas Haas2014-03-114-30/+40
| | | | | | This resolves fixity information not appearing across package borders. The binary file version has been increased accordingly.
* Update changelogMateusz Kowalczyk2014-03-101-0/+9
|
* Group similar fixities togetherNiklas Haas2014-03-093-5/+51
| | | | | Identical fixities declared for the same line should now render using syntax like: infix 4 <, >=, >, <=
* Differentiate between TH splices (line-links) and regular namesNiklas Haas2014-03-0911-140/+182
| | | | | | | | | | | | | | | | | This adds a new type of source code link, to a specific line rather than a specific declaration/name - this is used to link to the location of a TH splice that defines a certain name. Rather hefty changes throughout and still one unresolved issue (the line URLs aren't parsed from the third form of --read-interface which means they're currently restricted to same-interface links). Not sure if this issue is really worth all the hassle, especially since we could just use line links in general. This commit also contains some cleanup/clarification of the types in Haddock.Backends.Xhtml.Decl and shortens some overlong lines in the process. Notably, the Bool parameter was replaced by a Unicode type synonym to help clarify its presence in type signatures.