aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/haddock-api.cabal
Commit message (Collapse)AuthorAgeFilesLines
* Preparing for publication.Yuchen Pei2022-07-211-216/+0
| | | | | | - license - cabal - readme
* Adding org backend.Yuchen Pei2022-07-211-0/+3
|
* Merge remote-tracking branch 'upstream/ghc-9.2' into ghc-headBen Gamari2022-04-251-5/+6
|\
| * fix CI for 9.2 (#1436)Artem Pelenitsyn2021-11-271-2/+2
| |
| * coot/multiple packages (ghc-9.2) (#1418)Marcin Szamotulski2021-08-081-0/+6
| |
| * Use GHC 9.2 in CI runner (#1378)Hécate Moonlight2021-05-281-6/+7
| |
* | coot/multiple package (ghc-head) (#1419)Marcin Szamotulski2021-08-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * FromJSON class Aeson style FromJSON class with Parsec based json parser. * doc-index.json file for multiple packages When creating haddock summary page for multiple packages render doc-index.json file using contents of all found 'doc-index.json' files. * Render doc-index.json When rendering html, render doc-index.json file independently of maybe_index_url option. doc-index.json file is useful now even if maybe_index_url is not `Nothing`. * base url option New `Flag_BaseURL` which configures from where static files are loaded (--base-url). If given and not equal "." static files are not coppied, as this indicates that they are not read from the the directory where we'd copy them. The default value is ".".
* | CI configuration for ghc-head (#1395)Ben Simms2021-05-281-1/+1
|/
* Match changes in GHC AST for in-tree API AnnotationsAlan Zimmerman2021-03-151-0/+1
| | | | As landed via https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2418
* Add import list to Data.List in Haddock.Interface.CreateOleg Grenrus2021-02-141-0/+1
|
* Merge branch 'ghc-head' into ghc-9.0alexbiehl-gc2021-02-071-3/+4
|\
| * Merge remote-tracking branch 'origin/ghc-head' into wip/ghc-head-mergeBen Gamari2021-02-061-1/+2
| |\
| | * Abstract Monad for interface creationAlex Biehl2021-01-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I found that when running as a plugin the lookupName function (which runs in Ghc monad) does not work correctly from the typeCheckResultAction hook. Instead, we abstracted the monad used when creating interfaces, so that access to GHC session specific parts is explicit and so that the TcM can provide their (correct) implementation of lookupName.
| * | Merge remote-tracking branch 'origin/ghc-9.0' into ghc-headBen Gamari2021-01-131-18/+21
| |\ \ | | |/ | |/|
| * | Enable two warnings (#1245) (#1268)tomjaguarpaw2020-12-191-1/+2
| | | | | | | | | | | | | | | | | | 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 Gamari2020-12-151-2/+1
| | | | | | | | | | | | | | | | | | As this does not build on GHC `master`. This reverts commit 7936692badfe38f23ae95b51fb7bd7c2ff7e9bce.
| * | Enable two warnings (#1245) (#1268)tomjaguarpaw2020-12-101-1/+2
| | | | | | | | | | | | | | | because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656
| * | Bump base upper bound to 4.16Vladislav Zavialov2020-09-181-1/+1
| | |
| * | Bump GHC version to 9.1Ben Gamari2020-09-141-1/+1
| | |
* | | Move CI to ghc-9.0Hécate Moonlight2021-02-051-0/+1
| |/ |/|
* | Merge remote-tracking branch 'origin/ghc-8.10' into ghc-9.0Ben Gamari2021-01-051-17/+21
|\ \
| * | Move to GitHub CI (#1266)Alexander Biehl2020-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial version of ci.yml This is a straight copy from Dmitrii Kovanikov's blog post at https://kodimensional.dev/github-actions. Will adapt to haddock in successive commits. * Delete .travis.yml * Modify to only test on ghc-8.10.{1,2} * Use actions/setup-haskell@v1.1.4 * Relax QuickCheck bound on haddock-api * Remove stack matrix for now * Nail down to ghc-8.10 branch for now * Pin index state to 2020-12-08T20:13:44Z for now * Disable macOS and Windows tests for now for speed up
| * | Enable two warnings (#1245)tomjaguarpaw2020-12-081-0/+2
| | | | | | | | | | | | | | | because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656
| * | Cleanup up GHC flags in `.cabal` filesAlec Theriault2020-03-281-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | * enable more useful warning flags in `haddock-api`, handle the new warnings generated * remove `-fwarn-tabs` (now we'd use `-Wtabs`, but this has been in `-Wall` for a while now)
| * | Update `.travis.yml` to work with GHC 8.10.1Alec Theriault2020-03-261-0/+1
| | | | | | | | | | | | | | | | | | * Regenerated the Travis file with `haskell-ci` * Beef up `.cabal` files with more `tested-with` information
| * | Tentative 2.24 releaseAlec Theriault2020-03-221-3/+3
| | | | | | | | | | | | | | | Adjusted changelogs and versions in `.cabal` files in preparation for the upcoming release bundled with GHC 8.10.
| * | Merge branch 'ghc-8.8' into ghc-8.10Alec Theriault2020-03-201-12/+10
| |\ \
| | * | Fix Travis CI, loosen .cabal bounds (#1089)Alec Theriault2019-09-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tentatively for the 2.23 release: * updated Travis CI to work again * tweaked bounds in the `.cabal` files * adjusted `extra-source-files` to properly identify test files
| | * | Release haddock-2.23, haddock-library-1.8.0Alec Theriault2019-05-261-3/+3
| | | | | | | | | | | | | | | | | | | | Tentatively adjust bounds and changelogs for the release to be bundled with GHC 8.8.1.
| | * | Remove Haddock's dependency on `Cabal`Alec Theriault2019-05-261-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At this point, Haddock depended on Cabal-the-library solely for a verbosity parser (which misleadingly accepts all sorts of verbosity options that Haddock never uses). Now, the only dependency on Cabal is for `haddock-test` (which uses Cabal to locate the Haddock interface files of a couple boot libraries).
| | * | Bump GHC to 8.8Ben Gamari2019-03-291-2/+2
| | | |
| | * | Remove workaround for now-fixed Clang CPP bug (#1028)Alec Theriault2019-03-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | * | Merge branch 'ghc-8.6' into ghc-8.8Alec Theriault2019-03-031-5/+5
| | |\ \
| | | * | Loosen 'QuickCheck' and 'hspec' boundsAlec Theriault2019-01-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | It looks like the new versions don't cause any breakage and loosening the bounds helps deps fit in one stack resolver.
| | | * | Rename 'NewOcean' theme to 'Linuwial'Alec Theriault2018-11-111-2/+2
| | | | |
| * | | | Bump to GHC 8.10Ben Gamari2019-11-101-1/+1
| | | | |
* | | | | Bump GHC version to 9.0Ben Gamari2020-07-281-1/+1
| |_|_|/ |/| | |
* | | | haddock: Bounds bumps for GHC 8.12Ben Gamari2020-06-131-2/+2
| | | |
* | | | add dependency on exceptions because GHC.Exception was boiled down (ghc #18075)Artem Pelenitsyn2020-05-031-0/+1
| | | |
* | | | Noramlize `tested-with` fields in cabal filesJohn Ericson2020-02-101-0/+1
| | | |
* | | | Bump ghc version to 8.11Ben Gamari2019-11-161-1/+1
| | | |
* | | | Bump to GHC 8.10Ben Gamari2019-11-151-1/+1
| | | |
* | | | Version bumps for GHC 8.11Ben Gamari2019-11-141-1/+1
|/ / /
* | | Bump ghc version to 8.9Ryan Scott2019-02-181-2/+2
| | |
* | | Remove workaround for now-fixed Clang CPP bug (#1028)Alec Theriault2019-02-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | Merge pull request #1014 from hvr/pr/bsd2-normaliseSimon Marlow2019-02-061-1/+1
|\ \ \ | |/ / |/| | Normalise LICENSE text w/ cabal's BSD2 template
| * | Normalise LICENSE text w/ cabal's BSD2 templateHerbert Valerio Riedel2019-02-021-1/+1
| | | | | | | | | | | | | | | Also, correct the `.cabal` files to advertise `BSD2` instead of the incorrect `BSD3` license.
* | | Remove `Documentation.Haddock.Utf8`Alec Theriault2019-02-031-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | The circumstances under which this module appeared are completely gone. The Hyperlinker backend no longer needs this module (it uses the more efficient `Encoding` module from `ghc`). Why no deprecation? Because this module really shouldn't exist! - It isn't used in `haddock-library`/`haddock-api` anymore - It was copy pasted directly from `utf8-string` - Folks seeking a boot-lib only solution can use `ghc`'s `Encoding`
* | Use `.hie` files for the Hyperlinker backend (#977)Alec Theriault2019-01-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Summary This is a large architectural change to the Hyperlinker. * extract link (and now also type) information from `.hie` instead of doing ad-hoc SYB traversals of the `RenamedSource`. Also adds a superb type-on-hover feature (#715). * re-engineer the lexer to avoid needless string conversions. By going directly through GHC's `P` monad and taking bytestring slices, we avoid a ton of allocation and have better handling of position pragmas and CPP. In terms of performance, the Haddock side of things has gotten _much_ more efficient. Unfortunately, much of this is cancelled out by the increased GHC workload for generating `.hie` files. For the full set of boot libs (including `ghc`-the-library) * the sum of total time went down by 9-10% overall * the sum of total allocations went down by 6-7% # Motivation Haddock is moving towards working entirely over `.hi` and `.hie` files. This change means we no longer need the `RenamedSource` from `TypecheckedModule` (something which is _not_ in `.hi` files). # Details Along the way a bunch of things were fixed: * Cross package (and other) links are now more reliable (#496) * The lexer tries to recover from errors on every line (instead of at CPP boundaries) * `LINE`/`COLUMN` pragmas are taken into account * filter out zero length tokens before rendering * avoid recomputing the `ModuleName`-based `SrcMap` * remove the last use of `Documentation.Haddock.Utf8` (see #998) * restructure temporary folder logic for `.hi`/`.hie` model
* | Merge branch 'ghc-8.6' into ghc-headAlec Theriault2018-11-101-6/+8
|\|