Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix hyperlinks to external items and modules (#1482) | Jade Lovelace | 2022-07-29 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1481. There were two bugs in this: * We were assuming that we were always getting a relative path to the module in question, while Nix gives us file:// URLs sometimes. This change checks for those and stops prepending `..` to them. * We were not linking to the file under the module. This seems to have been a regression introduced by #977. That is, the URLs were going to something like file:///nix/store/3bwbsy0llxxn1pixx3ll02alln56ivxy-ghc-9.0.2-doc/share/doc/ghc/html/libraries/base-4.15.1.0/src which does not have the appropriate HTML file or fragment for the item in question at the end. There is a remaining instance of the latter bug, but not in the hyperlinker: the source links to items reexported from other modules are also not including the correct file name. e.g. the reexport of Entity in esqueleto, from persistent. NOTE: This needs to get tested with relative-path located modules. It seems correct for Nix based on my testing. Testing strategy: ``` nix-shell '<nixpkgs>' --pure -A haskell.packages.ghc922.aeson mkdir /tmp/aesonbuild && cd /tmp/aesonbuild export out=/tmp/aesonbuild/out genericBuild ln -sf $HOME/co/haddock/haddock-api/resources . ./Setup haddock --with-haddock=$HOME/path/to/haddock/exec --hyperlink-source ``` (cherry picked from commit ab53ccf089ea703b767581ac14be0f6c78a7678a) | ||||
* | Add support for \cases | Jakob Brünker | 2022-04-01 | 1 | -0/+1 |
| | | | See merge request ghc/ghc!7873 | ||||
* | Merge branch 'wip/opaque_pragma' into 'ghc-head' | Matthew Pickering | 2022-03-24 | 1 | -0/+2 |
|\ | | | | | | | | | Add Haddock support for the OPAQUE pragma See merge request ghc/haddock!2 | ||||
| * | Add Haddock support for the OPAQUE pragma | Christiaan Baaij | 2022-03-16 | 1 | -0/+2 |
| | | |||||
* | | Minimum changes needed for compilation with hi-haddock | Matthew Pickering | 2022-03-22 | 1 | -4/+1 |
|/ | | | | | | With hi-haddock, of course there is a much large refactoring of haddock which could be achieved but that is left for a future patch which can implemented at any time independently of GHC. | ||||
* | Rename getErrorMessages Lexer import | Alfredo Di Napoli | 2021-07-05 | 1 | -2/+2 |
| | | | | | | This commit renames the Lexer import in `Hyperlinker.Parser` from `getErrorMessages` to `getPsErrorMessages` to eliminate the ambiguity with the `getErrorMessages` function defined in `GHC.Types.Error`. | ||||
* | Fix mkParserOpts (#1411) | Sylvain Henry | 2021-06-28 | 1 | -4/+4 |
| | |||||
* | Adapt Haddock to Logger and Parser changes (#1399) | Sylvain Henry | 2021-06-01 | 1 | -0/+3 |
| | |||||
* | Revert "Add Haddock support for the OPAQUE pragma (#1380)" | Ben Gamari | 2021-05-24 | 1 | -2/+0 |
| | | | | | | This reverts commit a1337c599ef7720b0482a25c55f11794112496dc. The GHC patch associated with this change is not yet ready to be merged. | ||||
* | Merge pull request #1394 from adinapoli/wip/adinapoli-align-ps-messages | Ben Gamari | 2021-05-24 | 1 | -3/+5 |
|\ | | | | | Align Haddock to use the new Parser diagnostics interface | ||||
| * | New Parser diagnostics interface | Alfredo Di Napoli | 2021-05-24 | 1 | -3/+5 |
| | | |||||
* | | Add Haddock support for the OPAQUE pragma (#1380) | Christiaan Baaij | 2021-05-13 | 1 | -0/+2 |
|/ | |||||
* | pprError changed name in GHC | Alfredo Di Napoli | 2021-03-29 | 1 | -2/+2 |
| | |||||
* | Match changes in GHC AST for in-tree API Annotations | Alan Zimmerman | 2021-03-15 | 1 | -1/+1 |
| | | | | As landed via https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2418 | ||||
* | Add ITproj to parser | Shayne Fletcher | 2021-03-06 | 1 | -0/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/ghc-head' into wip/ghc-head-merge | Ben Gamari | 2021-02-06 | 1 | -2/+2 |
|\ | |||||
* \ | Merge remote-tracking branch 'origin/ghc-9.0' into ghc-head | Ben Gamari | 2021-01-13 | 2 | -4/+3 |
|\ \ | |/ |/| | |||||
| * | Merge remote-tracking branch 'origin/ghc-8.10' into ghc-9.0 | Ben Gamari | 2021-01-05 | 2 | -3/+4 |
| |\ | |||||
| | * | Adapt Haddock for QualifiedDo | Matthías Páll Gissurarson | 2020-12-08 | 1 | -2/+2 |
| | | | |||||
| | * | Enable two warnings (#1245) | tomjaguarpaw | 2020-12-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656 | ||||
| | * | Merge branch 'ghc-8.8' into ghc-8.10 | Alec Theriault | 2020-03-20 | 2 | -2/+2 |
| | |\ | |||||
| | | * | Prefer un-hyperlinked sources to no sources | Alec Theriault | 2019-10-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | It is possible to fail to extract an HIE ast. This is however not a reason to produce _no_ output - we should still make a colorized HTML page. | ||||
| | | * | Remove workaround for now-fixed Clang CPP bug (#1028) | Alec Theriault | 2019-03-29 | 1 | -45/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before LLVM 6.0.1 (or 10.0 on Apple LLVM), there was a bug where lines that started with an octothorpe but turned out not to lex like pragmas would have an extra line added after them. Since this bug has been fixed upstream and that it doesn't have dire consequences anyways, the workaround is not really worth it anymore - we can just tell people to update their clang version (or re-structure their pragma code). | ||||
| * | | | Updates for the new linear types syntax: a %p -> b | Vladislav Zavialov | 2020-09-30 | 1 | -0/+1 |
| | | | | |||||
* | | | | Enable two warnings (#1245) (#1268) | tomjaguarpaw | 2020-12-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656 | ||||
* | | | | Revert "Enable two warnings (#1245) (#1268)" | Ben Gamari | 2020-12-15 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | As this does not build on GHC `master`. This reverts commit 7936692badfe38f23ae95b51fb7bd7c2ff7e9bce. | ||||
* | | | | Enable two warnings (#1245) (#1268) | tomjaguarpaw | 2020-12-10 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656 | ||||
* | | | | GHC.Driver.Types refactoring (#1242) | Sylvain Henry | 2020-10-26 | 1 | -1/+1 |
| | | | | |||||
* | | | | Don't pass the HomeUnitId (#1239) | Sylvain Henry | 2020-10-12 | 1 | -1/+0 |
| | | | | |||||
* | | | | Adapt to GHC parser changes | Sylvain Henry | 2020-09-30 | 1 | -1/+2 |
| | | | | |||||
* | | | | Update for parser (#1234) | Sylvain Henry | 2020-09-29 | 1 | -3/+3 |
| | | | | |||||
* | | | | Updates for the new linear types syntax: a %p -> b | Vladislav Zavialov | 2020-09-26 | 1 | -0/+1 |
| | | | | |||||
* | | | | Match GHC for #18639, remove GENERATED pragma | Alan Zimmerman | 2020-09-07 | 1 | -2/+0 |
| | | | | |||||
* | | | | Fix after HomeUnit | Sylvain Henry | 2020-08-12 | 1 | -1/+2 |
| | | | | |||||
* | | | | Fix after Outputable refactoring | Sylvain Henry | 2020-08-05 | 2 | -2/+4 |
|/ / / | |||||
* | | | Sync with GHC removing {-# CORE #-} pragma | Krzysztof Gogolewski | 2020-07-12 | 1 | -2/+0 |
| | | | | | | | | | | | | See ghc ticket #18048 | ||||
* | | | Handle LexicalNegation's ITprefixminus | Vladislav Zavialov | 2020-06-28 | 1 | -0/+1 |
| | | | |||||
* | | | Adapt Haddock for QualifiedDo | Matthías Páll Gissurarson | 2020-06-26 | 1 | -2/+2 |
| | | | |||||
* | | | Adapt Haddock to LinearTypes | Krzysztof Gogolewski | 2020-06-17 | 2 | -2/+3 |
| | | | | | | | | | | | | See ghc/ghc!852. | ||||
* | | | Fix after unit refactoring | Sylvain Henry | 2020-06-08 | 1 | -1/+1 |
| | | | |||||
* | | | update for hiefile-typeclass-info | Zubin Duggal | 2020-05-24 | 1 | -14/+20 |
| | | | |||||
* | | | Fix for GHC.Unit.* modules | Sylvain Henry | 2020-04-27 | 1 | -1/+1 |
| | | | |||||
* | | | Module structure | Sylvain Henry | 2020-04-24 | 3 | -7/+7 |
| | | | |||||
* | | | Module renaming | Sylvain Henry | 2020-04-10 | 1 | -3/+4 |
| | | | |||||
* | | | Modules: Types | Sylvain Henry | 2020-03-18 | 3 | -9/+9 |
| | | | |||||
* | | | Ignore the BufLoc/BufSpan added in GHC's !2516 | Vladislav Zavialov | 2020-02-28 | 1 | -6/+8 |
| | | | |||||
* | | | Modules: Driver (#13009) | Sylvain Henry | 2020-02-19 | 1 | -1/+1 |
| | | | |||||
* | | | No MonadFail/Alternative for P | Vladislav Zavialov | 2020-02-16 | 1 | -26/+28 |
| | | | |||||
* | | | Fix after Iface modules renaming | Sylvain Henry | 2020-01-02 | 2 | -5/+5 |
| | | | |||||
* | | | Update Hyperlinker.Parser.classify to use ITdollar | Vladislav Zavialov | 2019-11-24 | 1 | -4/+2 |
|/ / |