aboutsummaryrefslogtreecommitdiff
path: root/html-test
Commit message (Collapse)AuthorAgeFilesLines
...
* fix testalexbiehl2018-03-021-5/+1
|
* Support unicode operators, proper modulesAlec Theriault2018-03-022-0/+86
| | | | | | | | Unicode operators are a pretty big thing in Haskell, so supporting linking them seems like it outweighs the cost of the extra machinery to force Attoparsec to look for unicode. Fixes #458.
* Make testsuite work with haddock-1.19.0 release (#766)Alexander Biehl2018-03-0274-1536/+1687
|
* Fix infinite loop when specializing instance heads (#723)Alec Theriault2018-02-012-0/+220
| | | | | | | | | * Fix infinite loop when specializing instance heads The bug can only be triggered from TH, hence why it went un-noticed for so long. * Add test for #679 and #710
* Grid Tables (#718)Oleg Grenrus2018-02-012-0/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add table examples * Add table types and adopt simple parser Simple parser is done by Giovanni Cappellotto (@potomak) in https://github.com/haskell/haddock/pull/577 It seems to support single fine full tables, so far from full RST-grid tables, but it's good start. Table type support row- and colspans, but obviously parser is lacking. Still TODO: - Latex backend. Should we use multirow package https://ctan.org/pkg/multirow?lang=en? - Hoogle backend: ? * Implement grid-tables * Refactor table parser * Add two ill-examples * Update CHANGES.md * Basic documentation for tables * Fix documentation example
* Treat escaped \] better in definition lists (#717)Alexander Biehl2018-02-012-0/+328
| | | This fixes #546.
* Clickable anchors for headings (#716)Alec Theriault2018-02-015-58/+108
| | | | See #579. This just adds an <a> tag around the heading, pointing to the heading itself.
* Fix #548 by rendering datatype kinds more carefully (#702)Ryan Scott2018-02-012-0/+603
|
* Use <details> element for collapsibles (#690)Tim Baumann2017-10-0965-2424/+2728
| | | | | | | | | | | * 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-2390-1530/+180
| | | | | | | | | | | | | | | | | | * 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-2990-0/+450
|
* Accept testsalexbiehl2017-08-2890-540/+540
|
* Fix tests for content searchalexbiehl2017-08-2890-21/+641
|
* Fix: Generate pattern signatures for constructors exported as patterns (#663)Tim Baumann2017-08-064-1/+233
| | | | | | | | | | | | | | | | | | | | | | | | * Fix pretty-printing of pattern signatures Pattern synonyms can have up to two contexts, both having a different semantic meaning: The first holds the constraints required to perform the matching, the second contains the constraints provided by a successful pattern match. When the first context is empty but the second is not it is necessary to render the first, empty context. * Generate pattern synonym signatures for ctors exported as patterns This fixes #653. * Simplify extractPatternSyn It is not necessary to generate the simplest type signature since it will be simplified when pretty-printed. * Add changelog entries for PR #663 * Fix extractPatternSyn error message
* Fix renaming after instance signature specializing (#660)Moritz Drexl2017-08-053-89/+365
| | | | | | | | | | * rework rename * Add regression test for Bug 613 * update tests * update changelog
* Document record fields when DuplicateRecordFields is enabled (#649)Alex Biehl2017-07-032-0/+185
|
* Make per-argument docs for class methods work again (#648)Alex Biehl2017-06-292-0/+120
| | | | | | * Make per-argument docs for class methods work again * Test case
* Don't include names with empty subordinates in maps (#644)Alex Biehl2017-06-233-0/+90
| | | These are unecessary anyway and just blow up interface size
* Haddock support for bundled pattern synonyms (#627)Christiaan Baaij2017-06-094-0/+1066
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Haddock support for bundled pattern synonyms * Add fixities to bundled pattern synonyms * Add bundled pattern synonyms to the synopsis * Store bundled pattern fixities in expItemFixities * Add test for bundled pattern synonyms * Stop threading fixities * Include bundled pattern synonyms for re-exported data types Sadly, fixity information isn't found for re-exported data types * Support for pattern synonyms * Modify tests after #631 * Test some reexport variations * Also lookup bundled pattern synonyms from `InstalledInterface`s * Check isExported for bundled pattern synonyms * Pattern synonym is exported check * Always look for pattern synonyms in the current module Another overlooked cornercase * Account for types named twice in export lists Also introduce a fast function for nubbing on a `Name` and use it throughout the code base. * correct fixities for reexported pattern synonyms * Fuse concatMap and map * Remove obsolete import * Add pattern synonyms to visible exports * Fix test * Remove corner case
* Allow user defined signatures for pattern synonyms (#631)Alex Biehl2017-06-032-0/+34
|
* Improve error messageSergey Vinokurov2017-04-292-3/+3
|
* Remove anything related to obsolete frames modealexbiehl2017-04-2683-296/+165
|
* `html-test --accept` deltas to reference samplesHerbert Valerio Riedel2017-04-258-115/+183
|
* Use new MathJax URL in html-testalexbiehl2017-04-25136-217/+217
| | | | | 18ed871afb82560d5433b2f53e31b4db9353a74e switched to a new MathJax URL but didn't update the tests.
* Update test suite to expect kind annotations on type parameters.Brian Huffman2017-03-232-5/+9
|
* Copyright holders shown on several lines. Fix #279Sebastian Meric de Bellefon2016-06-162-5/+5
|
* Merge pull request #504 from Helkafen/issue-280Sebastian Méric de Bellefon2016-05-282-0/+92
|\ | | | | Fix #280. Parsing of module header
| * Fix #280. Parsing of module headerSebastian Meric de Bellefon2016-05-152-0/+92
| | | | | | | | The initial newlines were counted as indentation spaces, thus disturbing the parsing of next lines
* | remove framed view of the HTML documentation (see #114 and #274)Sebastian Meric de Bellefon2016-05-242-58/+0
| | | | | | | | | | Frames are a bit broken, ignored by Hackage, and considered obsolete in general. This patch disables frames generation. The mini_*.html files are still used in the synopsis.
* | Fix #303. Hide footer when printingSebastian Meric de Bellefon2016-05-141-0/+3
|/ | | | | The "Produced by Haddock" footer was overlapping the page's body when printing. This patch hides the footer with a css media rule.
* html-test: Update reference outputBen Gamari2016-05-107-240/+820
|
* Update tests for previous commitPhil Ruffwind2016-02-0880-645/+1586
|
* html-test: Accept test outputBen Gamari2016-02-0881-2873/+4556
|
* test: Compare on dumpBen Gamari2016-02-081-1/+2
| | | | | For reasons I don't understand the Xml representations differ despite their textual representations being identical.
* testsuite: Rework handling of output sanitizationBen Gamari2016-02-081-1/+2
| | | | | | | | | Previously un-cleaned artifacts were kept as reference output, making it difficult to tell what has changed and causing spurious changes in the version control history. Here we rework this, cleaning the output during acceptance. To accomplish this it was necessary to move to strict I/O to ensure the reference handle was closed before accept attempts to open the reference file.
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-2557-0/+258
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-2157-2/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change notation and add support for inline math. Allow newlines in display math. Add a command line option for the mathjax url (you might want to use a locally installed version). Rebase tests because of extra url and version change. Respond to (some of the) comments. Fix warnings in InterfaceFile.hs
| * Handle inline math with mathjax.Dominic Steinitz2015-12-213-0/+118
| |
* | OrphanInstances: Accept test outputBen Gamari2015-12-244-1/+281
| |
* | html-test/Operators: Clear up ambiguous typesBen Gamari2015-12-231-1/+5
| | | | | | | | | | | | For reasons that aren't entirely clear a class with ambiguous types was accepted by GHC <8.0. I've added a functional dependency to clear up this ambiguity.
* | Add html-test for orphan instances outputBen Gamari2015-12-203-0/+14
| |
* | Get rid of obsolete testing utilities.Łukasz Hanuszczak2015-08-243-267/+0
| |
* | Improve portability of test runner scripts.Łukasz Hanuszczak2015-08-221-2/+3
| |
* | Refactor existing code to use XHTML printer instead of XML one.Łukasz Hanuszczak2015-08-221-4/+4
| |
* | Fix bug with test runner invoking Haddock in incorrect mode.Łukasz Hanuszczak2015-08-221-1/+5
| |
* | Adapt HTML test runner to use new ignoring functionality.Łukasz Hanuszczak2015-08-221-1/+10
| |
* | Create convenience script for running specific HTML tests.Łukasz Hanuszczak2015-08-222-0/+5
| |
* | Fix typo in link stripper of HTML test suite runner.Łukasz Hanuszczak2015-08-221-1/+1
| |
* | Refactor and simplify XHTML helper module of test package.Łukasz Hanuszczak2015-08-221-7/+10
| |
* | Create convenience wrappers to simplify in test entry points.Łukasz Hanuszczak2015-08-221-4/+1
| |