aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
Commit message (Collapse)AuthorAgeFilesLines
* 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
* StrictData: changes in HsBang typeAdam Sandberg Eriksson2015-07-083-14/+14
|
* StrictData: print correct strictness marksAdam Sandberg Eriksson2015-07-073-9/+14
|
* Update after wild card renaming refactoring in D613Thomas Winant2015-06-084-25/+37
| | | | | | | | | | | | | | | 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-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.
* Track the new location of setRdrNameSpaceSimon Peyton Jones2015-05-131-1/+2
|
* Change ModuleTree Node to carry PackageKey and SourcePackageId to resolve #385Murray Campbell2015-05-112-21/+24
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Track API changes to support empty closed type familesAdam Gundry2015-05-043-9/+13
|
* Track change in API of TyConSimon Peyton Jones2015-05-011-2/+3
|
* --package-name and --package-version flagsMateusz Kowalczyk2015-03-153-25/+53
| | | | | | | | Used for --hoogle amongst other things. Now we need to teach cabal to use it. The situation is still a bit sub-par because if the flags aren't passed in, the crash will occur. Closes #353. (cherry picked from commit 8e06728afb0784128ab2df0be7a5d7a191d30ff4)
* Track changes in HsSyn for quasi-quotesSimon Peyton Jones2015-02-103-6/+0
|
* Follow API changes in D538Alan Zimmerman2015-01-168-69/+61
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Track naming change in DataConSimon Peyton Jones2015-01-081-3/+3
|
* Remove redundant constraints from haddock, discovered by ↵Simon Peyton Jones2015-01-061-1/+1
| | | | -fwarn-redundant-constraints
* Eliminate instanceHead' in favour of GHC's instanceSigSimon Peyton Jones2014-12-231-15/+1
| | | | | This is made possible by the elimination of "silent superclass parameters" in GHC
* Bump versions for ghc-7.11Herbert Valerio Riedel2014-12-221-1/+1
|
* Add missing import for standalone haddock-api packageLuite Stegeman2014-12-221-0/+1
|
* hide projectVersion from DynFlags since it clashes with ↵Luite Stegeman2014-12-191-1/+1
| | | | Haddock.Version.projectVersion
* Print missing docs by defaultMateusz Kowalczyk2014-12-182-4/+4
| | | | Adds --no-print-missing-docs
* Fix dependency versionMateusz Kowalczyk2014-12-181-1/+1
|
* Only keep one Version instead of blindly appendingMateusz Kowalczyk2014-12-171-3/+3
|
* 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
* Remove redundant wild-card pattern matchHerbert Valerio Riedel2014-12-141-1/+0
| | | | (this would otherwise cause a build-failure with `-Werror`)
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-126-21/+9
|
* For pattern synonyms, render "pattern" as a keywordDr. ERDI Gergo2014-12-121-1/+1
|
* Support for PartialTypeSignaturesThomas Winant2014-12-128-55/+72
| | | | | | | 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-128-88/+120
| | | | | | | | | 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
* Changes to reflect refactoring in GHC as part of #7484Richard Eisenberg2014-12-121-0/+1
|
* Follow changes from #9812Jan Stolarek2014-12-121-11/+8
| | | | | Conflicts: haddock-api/src/Haddock/Convert.hs
* Update Haddock to new pattern synonym type signature syntaxDr. ERDI Gergo2014-12-125-92/+85
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* Make compatible with `deepseq-1.4.0.0`Herbert Valerio Riedel2014-12-121-3/+3
| | | | ...by not relying on the default method implementation of `rnf`
* Remove overlapping pattern matchAustin Seipp2014-12-121-1/+0
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* reflect ForeignType constructore removalYuras Shumovich2014-12-121-4/+0
| | | | | | | | Reviewers: austin Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D358
* Collapse user-defined section by default (re #335)Herbert Valerio Riedel2014-12-121-1/+1
| | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/DocMarkup.hs
* Properly render package ID (not package key) in index, fixes #329.Edward Z. Yang2014-12-123-13/+18
| | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: haddock-api/src/Haddock/ModuleTree.hs
* Followup changes to addition of -fwarn-context-quantification (GHC Trac #4426)Krzysztof Gogolewski2014-12-123-2/+7
|
* Bump ‘base’ constraintMateusz Kowalczyk2014-12-121-1/+1
| | | | Follows the similar commit made on ghc-head branch
* Follow changes to TypeAnnot in GHC HEADAlan Zimmerman2014-12-122-11/+26
| | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> Conflicts: haddock-api/src/Haddock/Convert.hs
* Changes due to ghc api changes in package representationDuncan Coutts2014-12-123-27/+17
| | | | | | | | | | Also fix a bug with finding the package name and version given a module. This had become wrong due to the package key changes (it was very hacky in the first place). We now look up the package key in the package db to get the package info properly. Conflicts: haddock-api/src/Haddock.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-1213-57/+65
| | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs
* header could contain several linesjpmoresmau2014-12-101-1/+1
| | | | Closes #348
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-1016-102/+144
| | | | | | | | | | | | | | | 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-043-6/+4
|
* Turn some uses of error into recoverable warningsMateusz Kowalczyk2014-11-043-106/+141
| | | | | | | 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.
* Fix re-exports of built-in type familiesMateusz Kowalczyk2014-11-041-4/+7
| | | | Fixes #310
* whitespace onlyMateusz Kowalczyk2014-11-041-9/+9
|
* Experimental support for collapsable headersMateusz Kowalczyk2014-10-295-30/+118
| | | | Closes #335
* Fix improper lazy IO usetreeowl2014-10-091-1/+1
| | | Make `getPrologue` force `parseParas dflags str` before returning. Without this, it will attempt to read from the file after it is closed, with unspecified and generally bad results.
* Bump haddock-library versionMateusz Kowalczyk2014-08-311-1/+1
|
* Omit unnecessary foralls and fix #315Niklas Haas2014-08-241-21/+20
| | | | This also fixes #86.