aboutsummaryrefslogtreecommitdiff
path: root/html-test/ref/Test.html
Commit message (Collapse)AuthorAgeFilesLines
* More uniform handling of `forall`'s in HTML/LaTeXAlec Theriault2018-11-261-4/+4
| | | | | | | * don't forget to print explicit `forall`'s when there are arg docs * when printing an explicit `forall`, print all tyvars Fixes #973
* Rename 'NewOcean' theme to 'Linuwial'Alec Theriault2018-11-111-1/+1
|
* Merge branch 'ghc-8.6' into wip/new-oceanAlec Theriault2018-11-091-1/+3
|\
| * Only run MathJax on entities with "mathjax" class (#960)Alec Theriault2018-11-051-1/+3
| | | | | | | | | | | | | | Correspondingly, we wrap all inline/diplay math in <span class="mathjax"> ... the math .... </span> This fixes #959.
* | Clicking on "Contents" navigates to top of pageAlec Theriault2018-11-081-1/+1
| |
* | Accept HTML output changesAlec Theriault2018-11-071-58/+62
| |
* | Update test-suite reference html pagesNuno Alexandre2018-10-181-3/+3
| |
* | html-test --acceptHerbert Valerio Riedel2018-10-181-1/+1
| |
* | Add an initial-scale property to all haddock pagesNuno Alexandre2018-10-181-0/+1
| | | | | | | | | | This solves an issue reported about the content looking incredibly small on mobile devices.
* | Update html-test reference filesNuno Alexandre2018-10-181-3/+3
| | | | | | | | | | The package name element in the package-header is now a div instead of a paragraph, and it is now above the menu ul.links instead of below.
* | Update html test reference filesNunoAlexandre2018-10-181-0/+1
|/
* Update the ghc-8.6 branch (#889)Simon Jakobi2018-07-201-63/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "Bump GHC version to 8.6" This was applied to the wrong branch; there's now a `ghc-8.6` branch; ghc-head is always supposed to point to GHC HEAD, i.e. an odd major version. The next version bump to `ghc-head` is supposed to go from e.g. 8.5 to 8.7 This reverts commit 5e3cf5d8868323079ff5494a8225b0467404a5d1. * README updates (#856) * README: Remove mentions of master branch * README: Add instructions for using html-test * README: Change command to run _all_ the testsuites * README: Add project overview section (cherry picked from commit 61d6f935da97eb96685f07bf385102c2dbc2a33c) * Export more fixities for Hoogle (#871) This exports fixities for more things, including class methods and type-level operators. (cherry picked from commit 88316b972e3d47197b1019111bae0f7f87275fce) * Avoid line breaks due to line length in Hoogle (#868) * Avoid line breaks due to line length in Hoogle Hoogle operates in a line-oriented fashion, so we should avoid ever breaking due to long lines. One way of doing this non-intrusively is to modify the 'DynFlags' that are threaded through the 'Hoogle' module (note this is anyways only passed through for use in the various 'showSDoc' functions). * Amend test case (cherry picked from commit 657b1b3d519545f8d4ca048c06210d6cbf0f0da0) * tyThingToLHsDecl: Preserve type synonyms that contain a forall (#880) * tyThingToLHsDecls: Preserve type synonyms that contain a forall Fixes #879. * Add Note [Invariant: Never expand type synonyms] * Clarify Note [Invariant: Never expand type synonyms] (cherry picked from commit c3eb3f0581f69e816f9453b1747a9f2a3ba02bb9) * Fix HEAD html-test (#860) * Update tests for 'StarIsType' * Accept tests * Revert "Update tests for 'StarIsType'" This reverts commit 7f0c01383bbba6dc5af554ee82988d2cf44e407a. * Refactor handling of parens in types (#874) * Fix type parenthesization in Hoogle backend Ported the logic in the HTML and LaTeX backends for adding in parens into something top-level in 'GhcUtil'. Calling that from the Hoogle backend fixes #873. * Remove parenthesizing logic from LaTeX and XHTML backends Now, the only times that parenthesis in types are added in any backend is through the explicit 'HsParTy' constructor. Precedence is also represented as its own datatype. * List out cases explicitly vs. catch-all * Fix printing of parens for QuantifiedConstraints The priority of printing 'forall' types was just one too high. Fixes #877. * Accept HTML output for quantified contexts test * Preserve docs on type family instances (#867) * Preserve docs on type family instances The only problem was that the instance location was slightly off for type family instances. * Accept output (cherry picked from commit 133e9c2c168db19c1135479f7ab144c4e33af2a4) * Fix broken instance source links (#869) The problem manifests itself in instances that are defined in modules other than the module where the class is defined. The fix is just to thread through the 'Module' of the instance further along. Since orphan instances appear to already have been working, I didn't do anything there. (cherry picked from commit 2de7c2acf9b1ec85b09027a8bb58bf8512e91c05) * Add some more unicode related tests (#872) This has been fixed for sure ever since we switched from attoparsec to parsec. Parts of it may have been working before that, but there was a point where this would have failed (see #191). A regression test never hurt anyone. :) (cherry picked from commit 5ec7715d418bfac0f26aec6039792a99a6e89370) * Misc tests (#858) * More tests * spliced types * constructor/pattern argument docs * strictness marks on fields with argument docs * latex test cases need seperate directory * Accept tests * Additional tests for the identifier parser (#816) * Add tests for the identifier parser * docs: Clarify how to delimit identifiers (cherry picked from commit 0861affeca4d72938f05a2eceddfae2c19199071)
* html-test: Accept outputSimon Jakobi2018-06-131-257/+63
|
* Use `ClassOpSig` instead of `TypeSig` for class methods (#835)Alec Theriault2018-06-131-31/+27
| | | | | | | | * Fix minimal pragma handling Class declarations contain 'ClassOpSig' not 'Typesig'. This should fix #834. * Accept html-test output
* Show where instances are defined (#748)Alec Theriault2018-03-211-2/+10
| | | | | | | | | | | | | | * Indicate source module of instances Above instance, we now also display a link to the module where the instance was defined. This is sometimes helpful in figuring out what to import. * Source module for type/data families too * Remove parens * Accept tests
* Make testsuite work with haddock-1.19.0 release (#766)Alexander Biehl2018-03-021-174/+250
|
* Clickable anchors for headings (#716)Alec Theriault2018-02-011-24/+48
| | | | See #579. This just adds an <a> tag around the heading, pointing to the heading itself.
* Use <details> element for collapsibles (#690)Tim Baumann2017-10-091-473/+479
| | | | | | | | | | | * Remove unnecessary call to 'collapseSection' The call is unnecessary since there is no corresponding toggle for hiding the section of orphan instances. * Use <details> for collapsibles This makes them work even when JS is disabled. Closes #560.
* Add compile step that bundles and compresses JS files (#684)Tim Baumann2017-09-231-17/+2
| | | | | | | | | | | | | | | | | | * Add compile step that bundles and compresses JS files Also, manage dependencies on third-party JS libraries using NPM. * Compile JS from TypeScript * Enable 'noImplicitAny' in TypeScript * QuickJump: use JSX syntax * Generate source maps from TypeScript for easier debugging * TypeScript: more accurate type * Separate quick jump css file from ocean theme
* Fix test fallout (again)alexbiehl2017-08-291-0/+5
|
* Accept testsalexbiehl2017-08-281-6/+6
|
* Fix tests for content searchalexbiehl2017-08-281-0/+6
|
* Remove anything related to obsolete frames modealexbiehl2017-04-261-2/+2
|
* Use new MathJax URL in html-testalexbiehl2017-04-251-2/+2
| | | | | 18ed871afb82560d5433b2f53e31b4db9353a74e switched to a new MathJax URL but didn't update the tests.
* Copyright holders shown on several lines. Fix #279Sebastian Meric de Bellefon2016-06-161-1/+1
|
* html-test: Update reference outputBen Gamari2016-05-101-7/+19
|
* Update tests for previous commitPhil Ruffwind2016-02-081-101/+185
|
* html-test: Accept test outputBen Gamari2016-02-081-421/+424
|
* Accept tests affected by changes related to instance expander.Łukasz Hanuszczak2015-08-211-14/+14
|
* Make identifier generation also architecture-independent.Łukasz Hanuszczak2015-08-211-2/+2
|
* Re-accept tests after applying deterministic section identifiers.Łukasz Hanuszczak2015-08-211-4/+4
|
* Accept tests affected by adding instance details section.Łukasz Hanuszczak2015-08-211-8/+64
|
* Update tests to follow HTML changesMateusz Kowalczyk2015-08-021-256/+266
|
* Update tests for the CSS changesMateusz Kowalczyk2015-06-141-11/+15
|
* Update test filesMateusz Kowalczyk2015-01-221-35/+5
| | | | | | | | | | | | | | | 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-221-1/+1
|
* Fix extra whitespace on signatures and update all test casesNiklas Haas2014-08-241-4/+4
| | | | | This was long overdue, now running ./accept.lhs on a clean test from master will not generate a bunch of changes.
* Hide minimal definition for only-method classesNiklas Haas2014-03-151-8/+0
| | | | | | | 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.
* Display minimal complete definitions for type classesNiklas Haas2014-03-131-0/+14
| | | | | | | | | 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.
* Bump version to 2.15.0Mateusz Kowalczyk2014-03-111-1/+1
|
* Strip a single leading space from bird tracks (#201)Niklas Haas2014-02-221-7/+7
| | | | | | | | | | | | | | | | | | | | This makes bird tracks in the form > foo > bar > bat parse as if they had been written as >foo >bar >bat ie. without the leading whitespace in front of every line. Ideally we also want to look into how leading whitespace affects code blocks written using the @ @ syntax, which are currently unaffected by this patch.
* Update testsMateusz Kowalczyk2014-01-301-1/+1
| | | | | This updates tests due to Haddock Trac #271 fix and due to removal of TypeHoles as an extension from GHC.
* <+>: Don't insert a space when concatenating empty nodesDr. ERDI Gergo2014-01-311-83/+83
|
* Allow for nesting of paragraphs under lists.Mateusz Kowalczyk2014-01-121-12/+6
| | | | | | | | | | | | | | | | | The nesting rules are similar to Markdown's with the exception that we can not simply indent the first line of a hard wrapped indented paragraph and have it treated as if it was fully indented. The reason is differences in markup as some of our constructs care about whitespace while others just swallow everything up so it's just a lot easier to not bother with it rather than making arbitrary rules. Note that we now drop trailing for string entities inside of lists. They weren't needed and it makes the output look uniform whether we use a single or double newline between list elements. Conflicts: src/Haddock/Parser.hs test/Haddock/ParserSpec.hs
* Fix totality, unicode, examples, paragraph parsingSimon Hengel2014-01-121-174/+90
| | | | | | | | 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 inputSimon Hengel2014-01-121-52/+28
| | | | We also check that we have parsed everything with endOfInput.
* Bump versionSimon Hengel2013-11-101-1/+1
|
* Update tests.David Waern2013-08-091-4/+16
|
* Fix failing testSimon Hengel2013-07-081-2/+2
|
* Bump versionSimon Hengel2012-12-071-1/+1
|