aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/InterfaceFile.hs
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into ghc-headalexbiehl2017-08-211-7/+7
|\
| * Haddock support for bundled pattern synonyms (#627)Christiaan Baaij2017-06-091-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Fix Binary instance for InstalledInterface (#611)Alex Biehl2017-05-011-2/+0
| | | | | | | | (#610) introduced lazy decoding for docs from InstalledInterface but forgot to remove the original calls to get and put_
| * Lazily decode docMap and argMap (#610)Alex Biehl2017-05-011-3/+3
| | | | | | | | These are only used in case of a doc reexport so most of the time decoding these is wasted work.
| * Add a field marking if interface is a signature or not.Edward Z. Yang2017-03-231-2/+4
| | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 930cfbe58e2e87f5a4d431d89a3c204934e6e858)
| * Bump for GHC 8.2Ben Gamari2017-03-091-2/+2
| |
* | Add a field marking if interface is a signature or not.Edward Z. Yang2017-03-151-2/+4
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Bump for GHC 8.3Ben Gamari2017-03-091-2/+2
|/
* Update for refactoring of NameCacheBen Gamari2016-10-131-0/+2
|
* Merge branch 'master' into ghc-headBen Gamari2016-01-061-1/+1
|\
| * Version bumps and changelogBen Gamari2016-01-061-1/+1
| |
* | tweak version bounds for GHC-8.1Herbert Valerio Riedel2015-12-301-1/+1
|/
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-251-1/+12
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-211-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix-up left-over assumptions of GHC 7.12 into GHC 8.0Herbert Valerio Riedel2015-12-211-1/+1
|/
* s/PackageKey/UnitId/g and s/packageKey/unitId/gEdward Z. Yang2015-12-141-5/+8
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Bump versions for ghc-7.11Herbert Valerio Riedel2015-12-141-1/+1
|
* Refactor source path mapping to use modules as indices.Łukasz Hanuszczak2015-07-051-4/+7
|
* Remove now redundant importsMateusz Kowalczyk2015-03-261-1/+0
|
* Treat GHC 7.10 the same as GHC 7.9Herbert Valerio Riedel2014-12-141-1/+1
| | | | ...since the current GHC 7.9 is going to become GHC 7.10 real-soon-now anyway
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-2/+2
|
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-121-6/+6
| | | | | | | | 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-101-1/+14
| | | | | | | | | | | | | | | 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.
* Move sources under haddock-api/srcMateusz Kowalczyk2014-08-231-0/+636