aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface
Commit message (Collapse)AuthorAgeFilesLines
...
* | Track msHsFilePath change.Edward Z. Yang2015-12-141-1/+3
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Follow changes from #6018Jan Stolarek2015-12-141-6/+28
| |
* | Replace (SourceText,FastString) with WithSourceText data typeAlan Zimmerman2015-12-141-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
* | Update after wild card renaming refactoring in D613Thomas Winant2015-12-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: * Move `Post*` type instances to `Haddock.Types` as other modules than `Haddock.Interface.Rename` will rely on these type instances. * Update after wild card renaming refactoring in D613. Reviewers: simonpj, austin Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D954 GHC Trac Issues: #10098
* | ApiAnnotations : strings in warnings do not return SourceTextAlan Zimmerman2015-12-141-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.
* | Track the new location of setRdrNameSpaceSimon Peyton Jones2015-12-141-1/+2
| |
* | Track API changes to support empty closed type familesAdam Gundry2015-12-141-1/+1
| |
* | Track changes in HsSyn for quasi-quotesSimon Peyton Jones2015-12-141-4/+0
| |
* | Eliminate instanceHead' in favour of GHC's instanceSigSimon Peyton Jones2015-12-141-15/+1
|/ | | | | This is made possible by the elimination of "silent superclass parameters" in GHC
* Add support for sugaring built-in function syntax.Łukasz Hanuszczak2015-08-211-1/+4
|
* Add basic support for sugaring infix type operators.Łukasz Hanuszczak2015-08-211-1/+7
|
* Add some documentation for instance head specializer.Łukasz Hanuszczak2015-08-211-0/+2
|
* Refactor specializer module to be independent from XHTML backend.Łukasz Hanuszczak2015-08-211-0/+396
|
* Make instance details record use new type for family declarations.Łukasz Hanuszczak2015-08-211-1/+11
|
* Attach associated types information to instance header.Łukasz Hanuszczak2015-08-211-4/+5
|
* Integrate instance specification type into class instance definition.Łukasz Hanuszczak2015-08-211-1/+4
|
* Move dummy post-family instances for `DocName` to `Types` module.Łukasz Hanuszczak2015-08-211-12/+0
|
* Refactor instance head type to record instead of a meaningless tuple.Łukasz Hanuszczak2015-08-212-8/+13
|
* Extract main hyperlinker types to separate module.Łukasz Hanuszczak2015-07-061-0/+1
|
* Implement source tokenization during interface creation process.Łukasz Hanuszczak2015-06-301-1/+29
|
* Extend module interface with rich source token stream field.Łukasz Hanuszczak2015-06-301-0/+1
|
* Attach to instance location the name that has the same location filejpmoresmau2015-06-122-7/+21
| | | | Fixes #383
* Fix haddock: internal error: spliceURL UnhelpfulSpan (#207)Bartosz Nitka2015-06-121-5/+11
| | | | | | | | Inferred type signatures don't have SrcSpans, so let's use the one from the declaration. I've tested this manually on the test-case from #207, but I got stuck at trying to run the test-suite.
* Clearly default to variables in out of scope caseMateusz Kowalczyk2015-03-271-23/+40
|
* Remove now redundant importsMateusz Kowalczyk2015-03-262-2/+0
|
* Follow API changes in D538Alan Zimmerman2015-01-232-18/+18
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6)
* Sort out some module import warningsMateusz Kowalczyk2015-01-221-2/+1
|
* Links to source location of class instance definitionsjpmoresmau2015-01-222-7/+8
|
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-8/+0
|
* Support for PartialTypeSignaturesThomas Winant2014-12-122-15/+17
| | | | | | | 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-122-26/+31
| | | | | | | | | 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-122-8/+6
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* reflect ForeignType constructore removalYuras Shumovich2014-12-121-4/+0
| | | | | | | | Reviewers: austin Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D358
* Follow changes to TypeAnnot in GHC HEADAlan Zimmerman2014-12-121-6/+21
| | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> Conflicts: haddock-api/src/Haddock/Convert.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-122-18/+30
| | | | | | | | 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-104-33/+28
| | | | | | | | | | | | | | | 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-042-4/+3
|
* Turn some uses of error into recoverable warningsMateusz Kowalczyk2014-11-042-28/+44
| | | | | | | 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-235-0/+1890