aboutsummaryrefslogtreecommitdiff
path: root/html-test
Commit message (Collapse)AuthorAgeFilesLines
* Extend instances test case to also test multi-name type signatures.Łukasz Hanuszczak2015-08-211-0/+4
|
* Add some test cases for type renamer.Łukasz Hanuszczak2015-08-211-0/+18
|
* Add basic HTML test case for checking instance specialization.Łukasz Hanuszczak2015-08-211-0/+36
|
* Rename advanced types test case and accept new output.Łukasz Hanuszczak2015-08-063-98/+204
|
* Extend advanced types test case with other examples.Łukasz Hanuszczak2015-08-061-0/+14
|
* Update tests to follow HTML changesMateusz Kowalczyk2015-08-0278-805/+849
|
* Fix expansion icon for user-collapsible sectionsMateusz Kowalczyk2015-07-111-3/+3
| | | | Closes #412
* Delete trailing whitespaceMateusz Kowalczyk2015-07-074-14/+14
|
* Update tests for the CSS changesMateusz Kowalczyk2015-06-1412-576/+717
|
* Build executable with '-threaded' (fixes #399)Emanuel Borsboom2015-06-123-0/+117
|
* Add simple test case for arbitrary-depth list nesting.Łukasz Hanuszczak2015-05-272-10/+54
|
* Do not insert anchor for section headings in contents boxwatashi2015-04-262-0/+123
|
* Test for anchor defaultingMateusz Kowalczyk2015-03-276-153/+58
| | | | | | | | | I delete the old tests because it turns out that: * test runner would never put them in scope of each other even with imports so just one would suffice * test runner actually needed some hacking to keep links so in the end we would end up with no anchors making them useless
* Update test filesMateusz Kowalczyk2015-01-224-48/+18
| | | | | | | | | | | | | | | Test: a correct behaviour for fields comma-separating values. I'm surprised we had no bug open for this. Maybe it affects how #301 renders now but I doubt. Operators: Seems GHC is giving us a new order for operators, something must have changed on their side again. cc @haasn , this makes the fixity to the side not match the order on the LHS which is a bit unpleasant. Maybe the fixity can be made to match the GHC order? Bug335: We expand examples by default now. Bug310: Now inferred safe.
* support GHC 7.10: no Safe-Inferred, Foldable instancejpmoresmau2015-01-2270-74/+77
|
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-1/+1
|
* For pattern synonyms, render "pattern" as a keywordDr. ERDI Gergo2014-12-122-10/+30
|
* Update Haddock to new pattern synonym type signature syntaxDr. ERDI Gergo2014-12-122-20/+20
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-121-1/+1
| | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-102-0/+204
| | | | | | | | | | | | | | | Currently we only use it only for ‘since’ annotations but with these patches it should be fairly simple to add new attributes if we wish to. Closes #26. It seems to work fine but due to 7.10 rush I don't have the chance to do more exhaustive testing right now. The way the meta is output (emphasis at the end of the whole comment) is fairly arbitrary and subject to bikeshedding. Note that this makes test for Bug310 fail due to interface version bump: it can't find the docs for base with this interface version so it fails. There is not much we can do to help this because it tests for ’built-in’ identifier, not something we can provide ourselves.
* Fix re-exports of built-in type familiesMateusz Kowalczyk2014-11-042-0/+93
| | | | Fixes #310
* Experimental support for collapsable headersMateusz Kowalczyk2014-10-292-0/+151
| | | | Closes #335
* Omit unnecessary foralls and fix #315Niklas Haas2014-08-242-4/+139
| | | | This also fixes #86.
* Fix extra whitespace on signatures and update all test casesNiklas Haas2014-08-2433-108/+200
| | | | | This was long overdue, now running ./accept.lhs on a clean test from master will not generate a bunch of changes.
* Stop testing #188.Mateusz Kowalczyk2014-08-153-96/+8
| | | | | | Because the change is in GHC 7.9 and we now work against 7.8.3, this test no longer makes sense. We revert it until 7.10 becomes the standard version. If anything, there should be a test for this in GHC itself.
* Fix #313 by doing some list munging.Mateusz Kowalczyk2014-08-152-0/+169
| | | | | | I get rid of the Monoid instance because we weren't satisfying the laws. Convenience of having <> didn't outweigh the shock-factor of having it behave badly.
* Revert "Disambiguate ‘die’ in test runners."Mateusz Kowalczyk2014-08-141-1/+1
| | | | This reverts commit dba02d6df32534aac5d257f2d28596238d248942.
* Don't mangle append order for nested lists.Mateusz Kowalczyk2014-06-251-15/+39
| | | | | | | | The benefit of this is that the ‘top-level’ element of such lists is properly wrapped in <p> tags so any CSS working with these will be applied properly. It also just makes more sense. Pointed out at jgm/pandoc#1346.
* Drop DocParagraph from front of headersMateusz Kowalczyk2014-06-251-4/+2
| | | | | I can not remember why they were wrapped in paragraphs to begin with and it seems unnecessary now that I test it. Closes #307.
* Fix anchors. Closes #308.Mateusz Kowalczyk2014-06-254-0/+240
|
* Disambiguate ‘die’ in test runners.Mateusz Kowalczyk2014-05-031-1/+1
|
* Ignore version string during HTML tests.Mateusz Kowalczyk2014-04-111-1/+13
|
* Parse identifiers with ^ and ⋆ in them.Mateusz Kowalczyk2014-04-112-0/+155
| | | | Fixes #298.
* We don't actually want unicode hereMateusz Kowalczyk2014-04-111-1/+0
|
* 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.
* Crash when exporting record selectors of data family instancesNiklas Haas2014-03-312-0/+202
| | | | | | | | | | | | | | | | | | | 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-312-0/+130
| | | | Fixes #201.
* Print kind signatures on GADTsMateusz Kowalczyk2014-03-313-1/+151
|
* Fix issue #281Niklas Haas2014-03-152-86/+234
| | | | | | | | | 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-155-40/+40
| | | | | | | 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.
* 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-136-0/+320
| | | | | | | | | 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.
* Hide RHS of TFs with non-exported right hand sidesNiklas Haas2014-03-132-32/+92
| | | | | | 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-112-3/+3
|
* Bump version to 2.15.0Mateusz Kowalczyk2014-03-1164-64/+64
|
* Filter family instances of hidden typesNiklas Haas2014-03-111-0/+8
| | | | | 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-112-50/+103
| | | | | | | 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.
* Group similar fixities togetherNiklas Haas2014-03-092-2/+41
| | | | | Identical fixities declared for the same line should now render using syntax like: infix 4 <, >=, >, <=
* Render fixity informationNiklas Haas2014-03-083-2/+439
| | | | | | Affects functions, type synonyms, type families, class names, data type names, constructors, data families, associated TFs/DFs, type synonyms, pattern synonyms and everything else I could think of.
* Change rendering of duplicate record field docsMateusz Kowalczyk2014-02-272-0/+190
| | | | | | | | See Haddock Trac #195. We now change this behaviour to only rendering the documentation attached to the first instance of a duplicate field. Perhaps we could improve this by rendering the first instance that has documentation attached to it but for now, we'll stick with this.