aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix printing of pattern synonym typesRik Steenkamp2016-04-041-3/+22
| | | | | | | | | | | | | Removes the call to `patSynType :: PatSyn -> Type` in `Convert.hs` as this function will be removed from GHC. Instead, we use the function `patSynSig` and build the `HsDecl` manually. This also fixes the printing of the two contexts and the quantified type variables in a pattern synonym type. Reviewers: goldfire, bgamari, mpickering Differential Revision: https://phabricator.haskell.org/D2048 (cherry picked from commit 3ddcbd6b8e6884bd95028381176eb33bee6896fb)
* Changes due to fix for GHC#11648.Richard Eisenberg2016-03-156-11/+17
| | | | (cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1)
* Follow-on changes to support RuntimeRepRichard Eisenberg2016-03-131-5/+4
| | | | (cherry picked from commit ab954263a793d8ced734459d6194a5d89214b66c)
* Merge pull request #483 from bgamari/T11588Ben Gamari2016-02-181-9/+22
|\ | | | | | | | | | | | | | | | | Fix GHC #11588 This fixes GHC #11588: * Show where ... after closed type families * Show kind signatures on type family type variables
| * Xhtml.Decl: Show 'where ...' after closed type familyBen Gamari2016-02-181-0/+5
| | | | | | | | | | Seems like we should ideally show the actual equations as well but that seems like it would be a fair amount of work
| * Xhtml.Decl: Show kind signatures for type family variablesBen Gamari2016-02-181-4/+11
| | | | | | | | Addresses GHC #11588.
| * Xhtml.Decl: Various cleanupsBen Gamari2016-02-181-5/+6
|/
* Merge pull request #480 from bgamari/sphinxBen Gamari2016-02-1115-2721/+1617
|\ | | | | Move documentation to ReStructuredText
| * Document --use-unicode flagBen Gamari2016-02-081-0/+4
| |
| * doc: Switch to SphinxBen Gamari2016-02-0815-2721/+1613
| |
* | Use -fprint-unicode-syntax when --use-unicode is enabledBen Gamari2016-02-081-4/+7
| | | | | | | | | | This allows GHC to render `*` as its Unicode representation, among other things.
* | Merge branch 'anchors-redux'Ben Gamari2016-02-0884-662/+1601
|\ \
| * | Update tests for previous commitPhil Ruffwind2016-02-0880-645/+1586
| | |
| * | Move the permalinks to "#" on the right sidePhil Ruffwind2016-02-084-17/+15
|/ / | | | | | | | | | | | | | | | | Since pull request #407, the identifiers have been permalinked to themselves, but this makes it difficult to copy the identifier by double-clicking. To work around this usability problem, the permalinks are now placed on the far right adjacent to "Source", indicated by "#". Also, 'namedAnchor' now uses 'id' instead of 'name' (which is obsolete).
* | Merge branch 'fix-up-testsuite'Ben Gamari2016-02-0899-3273/+6987
|\ \ | |/ |/|
| * hypsrc-test: Accept test outputBen Gamari2016-02-089-381/+2374
| | | | | | | | And fix impredicative Polymorphism testcase.
| * html-test: Accept test outputBen Gamari2016-02-0881-2873/+4556
| |
| * test: Compare on dumpBen Gamari2016-02-082-2/+4
| | | | | | | | | | For reasons I don't understand the Xml representations differ despite their textual representations being identical.
| * testsuite: Rework handling of output sanitizationBen Gamari2016-02-087-12/+48
| | | | | | | | | | | | | | | | | | 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.
| * Fix GHC and haddock-library dependency boundsBen Gamari2016-02-082-5/+5
|/
* Merge pull request #477 from haskell/issue-475Ben Gamari2016-02-072-16/+17
|\ | | | | Make sure --mathjax affects all written HTML files
| * Make sure --mathjax affects all written HTML filesJoachim Breitner2016-01-192-16/+17
| | | | | | | | This fixes #475.
* | Render */# instead of TYPE 'Lifted/TYPE 'Unlifted (fixes #473)RyanGlScott2016-02-071-3/+14
|/
* deal with un-wiring of IP classEric Seidel2016-01-181-3/+3
| | | | (cherry picked from commit 17388b0f0029d969d79353be7737eb01c7b8dc5f)
* Update to match wip/T11430 in GHCAlan Zimmerman2016-01-161-1/+1
|
* Add ResponseFile to OtherModulesBen Gamari2016-01-061-0/+2
|
* Merge remote-tracking branch 'randen/bug468'Ben Gamari2016-01-065-22/+210
|\
| * The Haddock part for fully gcc-like response filesranden2016-01-015-22/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | " driver/Main.hs * Moved the response file handling into ResponseFile.hs, updating import section as appropriate. * driver/ResponseFile.hs * New file. In anticipation that maybe some day this could be provided by another library, and to make it possible to unit test, this functionality is pulled out of the Main.hs module, and expanded to support the style/format of response files which gcc uses. * The specification for the format of response files which gcc generates and consumes, seems to be best derived from the gcc code itself (libiberty/argv.c), so that is what has been done here. * This is intended to fix haskell/haddock#379 * driver-test/Main.hs * New file for testing code in the driver source tree * driver-test/ResponseFileSpec.hs * Tests, adapted/adopted from the same gcc code where the escaping/unescaping is from, in the hspec style of unit tests * haddock.cabal * Add the driver-test test-suite. Introduces a new library dependency (upon hspec) for the haddock driver target in the haddock.cabal file, but practically, this should not be a problem as the haddock-api tests already depend on hspec.
* | Version bumps and changelogBen Gamari2016-01-065-4/+16
| |
* | travis: Use Travis containersBen Gamari2015-12-261-14/+11
| |
* | Add missing importBen Gamari2015-12-261-0/+1
| |
* | Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-2570-15/+342
|\ \
| * | Fix the documentation for haddock itself.Dominic Steinitz2015-12-2170-28/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2112-1/+147
| | |
| * | Merge pull request #1 from haskell/ghc-headidontgetoutmuch2015-12-20169-2544/+12851
| |\ \ | | | | | | | | Ghc head
* | | | OrphanInstances: Accept test outputBen Gamari2015-12-244-1/+281
| | | |
* | | | hoogle-test/AssocTypes: Allow AmbiguousTypesBen Gamari2015-12-241-0/+1
| | | | | | | | | | | | | | | | GHC 8.0 complains otherwise
* | | | Merge remote-tracking branch 'origin/ghc-head' into ghc-headBen Gamari2015-12-236-12/+6
|\ \ \ \
| * | | | Follow removal of NamedWildCard from HsTypeSimon Peyton Jones2015-12-223-6/+0
| | | | |
| * | | | Fix-up left-over assumptions of GHC 7.12 into GHC 8.0Herbert Valerio Riedel2015-12-212-2/+2
| | | | |
| * | | | Update for GHC trac#11258Alan Zimmerman2015-12-203-4/+4
| | |/ / | |/| | | | | | | | | | Adding locations to RdrName in FieldOcc and AmbiguousFieldOcc
* | | | 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
| | | |
* | | | Merge remote-tracking branch 'phadej/orphans' into ghc-headBen Gamari2015-12-208-27/+90
|\ \ \ \
| * | | | Fix orphan instance collapsingOleg Grenrus2015-09-281-7/+11
| | | | |
| * | | | Add orphan instances link to contents boxOleg Grenrus2015-09-281-6/+12
| | | | |
| * | | | Print orphan instances header only if requiredOleg Grenrus2015-09-282-2/+3
| | | | |
| * | | | Have source links for orphan instancesOleg Grenrus2015-09-282-13/+9
| | | | |
| * | | | Generate docs for orphan instancesOleg Grenrus2015-09-277-21/+76
| | |_|/ | |/| |
* | | | test: Compatibility with Cabal 1.23Ben Gamari2015-12-201-2/+6
| | | |