aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
Commit message (Collapse)AuthorAgeFilesLines
* Preparing for publication.Yuchen Pei2022-07-221-3/+5
| | | | | | - license - cabal - readme
* Bump base upper boundBen Gamari2022-04-291-1/+1
|
* Merge remote-tracking branch 'origin/ghc-head' into ghc-9.4Ben Gamari2022-04-291-1/+1
|\
| * Bump ghc version to 9.5Ben Gamari2022-04-251-1/+1
| |
| * Merge remote-tracking branch 'upstream/ghc-9.2' into ghc-headBen Gamari2022-04-251-3/+3
| |\
| | * coot/multiple packages (ghc-9.2) (#1418)Marcin Szamotulski2021-08-081-0/+2
| | |
| | * Use GHC 9.2 in CI runner (#1378)Hécate Moonlight2021-05-281-3/+3
| | |
| | * Bump GHC version to 9.2Ben Gamari2021-03-221-1/+1
| | |
* | | Update for GHC 9.4Ben Gamari2022-04-231-1/+1
|/ /
* | coot/multiple package (ghc-head) (#1419)Marcin Szamotulski2021-08-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ".".
* | Bump GHC version to 9.3Ben Gamari2021-04-101-1/+1
|/
* Merge remote-tracking branch 'origin/ghc-head' into wip/ghc-head-mergeBen Gamari2021-02-061-1/+2
|\
| * Add missing dependency for mtlAlex Biehl2021-01-091-1/+2
| |
* | Merge remote-tracking branch 'origin/ghc-9.0' into ghc-headBen Gamari2021-01-131-11/+14
|\ \ | |/ |/|
| * Merge remote-tracking branch 'origin/ghc-8.10' into ghc-9.0Ben Gamari2021-01-051-12/+15
| |\
| | * Enable two warnings (#1245)tomjaguarpaw2020-12-081-1/+1
| | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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)
| | * Tentative 2.24 releaseAlec Theriault2020-03-221-2/+2
| | | | | | | | | | | | | | | Adjusted changelogs and versions in `.cabal` files in preparation for the upcoming release bundled with GHC 8.10.
| | * Clean up warningsAlec Theriault2020-03-221-0/+1
| | | | | | | | | | | | | | | | | | * unused imports * imports of `Data.List` without import lists * missing `CompatPrelude` file in `.cabal`
| | * Merge branch 'ghc-8.8' into ghc-8.10Alec Theriault2020-03-201-11/+13
| | |\
| | | * Add a regression test for #1091Alec Theriault2019-10-071-0/+1
| | | | | | | | | | | | | | | | Previously, this input would crash Haddock.
| | | * Fix Travis CI, loosen .cabal bounds (#1089)Alec Theriault2019-09-201-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+5
| | | | | | | | | | | | | | | | | | | | 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-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+1
| | | |
| | | * Better identifier parsingAlec Theriault2019-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '(<|>)' and '`elem`' now get parsed and rendered properly as links * 'DbModule'/'DbUnitId' now properly get split apart into two links * tuple names now get parsed properly * some more small niceties... The identifier parsing code is more precise and more efficient (although to be fair: it is also longer and in its own module). On the rendering side, we need to pipe through information about backticks/parens/neither all the way through from renaming to the backends. In terms of impact: a total of 35 modules in the entirety of the bootlib + ghc lib docs change. The only "regression" is things like '\0'. These should be changed to @\\0@ (the path by which this previously worked seems accidental).
| | * | Bump to GHC 8.10Ben Gamari2019-11-101-3/+2
| | | |
| * | | Bump GHC version to 9.0Ben Gamari2020-07-281-2/+2
| | | |
* | | | Enable two warnings (#1245) (#1268)tomjaguarpaw2020-12-191-1/+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 Gamari2020-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | As this does not build on GHC `master`. This reverts commit 7936692badfe38f23ae95b51fb7bd7c2ff7e9bce.
* | | | Enable two warnings (#1245) (#1268)tomjaguarpaw2020-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | 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-2/+2
|/ / /
* | | 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-1/+1
| | |
* | | Fix build of haddock in stage1Cale Gibbard2020-02-101-1/+1
| | | | | | | | | | | | We have to use the correct version of the GHC API, but the version of the compiler itself doesn't matter.
* | | Drop support for base 4.13Ben Gamari2019-11-161-2/+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
| |
* | 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-1/+0
|/ | | | | | | | | | | | 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`
* Tentatively declare support for unreleased base-4.13/ghc-8.8Herbert Valerio Riedel2019-02-021-1/+2
|
* Use `.hie` files for the Hyperlinker backend (#977)Alec Theriault2019-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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-2/+2
|\
| * Release `haddock{,-api}-2.22.0`Alec Theriault2018-10-161-2/+2
| | | | | | | | This version will accompany ghc-8.6.2
* | Merge branch 'ghc-8.6' into ghc-headAlec Theriault2018-10-161-5/+5
|\|