aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface/Create.hs
Commit message (Collapse)AuthorAgeFilesLines
* Merge with origin/headSimon Peyton Jones2015-11-131-3/+3
|\
| * Change for IEThingWithMatthew Pickering2015-11-061-1/+1
| |
| * Matching change GHC #11017 BooleanFormula locatedAlan Zimmerman2015-11-011-2/+2
| |
* | Follow changes to HsTYpeSimon Peyton Jones2015-10-271-34/+14
|/ | | | Not yet complete (but on a wip/ branch)
* Roughly fix up haddock for DuplicateRecordFields changesAdam Gundry2015-10-161-7/+10
| | | | | This compiles, but will probably need more work to produce good documentation when the DuplicateRecordFields extension is used.
* s/PackageKey/UnitId/g and s/packageKey/unitId/gEdward Z. Yang2015-10-111-5/+5
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Track msHsFilePath change.Edward Z. Yang2015-09-211-1/+3
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Replace (SourceText,FastString) with WithSourceText data typeAlan Zimmerman2015-07-311-3/+4
| | | | | | | | | | | | | Phab:D907 introduced SourceText for a number of data types, by replacing FastString with (SourceText,FastString). Since this has an Outputable instance, no warnings are generated when ppr is called on it, but unexpected output is generated. See Phab:D1096 for an example of this. Replace the (SourceText,FastString) tuples with a new data type data WithSourceText = WithSourceText SourceText FastString Trac ticket: #10692
* ApiAnnotations : strings in warnings do not return SourceTextAlan Zimmerman2015-05-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strings used in a WARNING pragma are captured via strings :: { Located ([AddAnn],[Located FastString]) } : STRING { sL1 $1 ([],[L (gl $1) (getSTRING $1)]) } .. The STRING token has a method getSTRINGs that returns the original source text for a string. A warning of the form {-# WARNING Logic , mkSolver , mkSimpleSolver , mkSolverForLogic , solverSetParams , solverPush , solverPop , solverReset , solverGetNumScopes , solverAssertCnstr , solverAssertAndTrack , solverCheck , solverCheckAndGetModel , solverGetReasonUnknown "New Z3 API support is still incomplete and fragile: \ \you may experience segmentation faults!" #-} returns the concatenated warning string rather than the original source.
* Follow API changes in D538Alan Zimmerman2015-01-161-9/+9
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-8/+0
|
* Support for PartialTypeSignaturesThomas Winant2014-12-121-9/+9
| | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs haddock-api/src/Haddock/Interface/Create.hs
* Follow API changes in D426Alan Zimmerman2014-12-121-14/+17
| | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> Conflicts: haddock-api/src/Haddock/Backends/LaTeX.hs haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* Update Haddock to new pattern synonym type signature syntaxDr. ERDI Gergo2014-12-121-2/+2
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-121-9/+7
| | | | | | | | 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-9/+10
| | | | | | | | | | | | | | | 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 warningsMateusz Kowalczyk2014-11-041-2/+2
|
* Turn some uses of error into recoverable warningsMateusz Kowalczyk2014-11-041-3/+10
| | | | | | | This should at the very least not abort when something weird happens. It does feel like we should have a type that carries these errors until the end however as the user might not see them unless they are printed at the end.
* Move sources under haddock-api/srcMateusz Kowalczyk2014-08-231-0/+867