aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
Commit message (Collapse)AuthorAgeFilesLines
* Bump GHC version to 9.0Ben Gamari2020-07-281-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
|\|
| * Bump haddock-api-2.21.0, haddock-library-1.7.0Alec Theriault2018-09-221-5/+5
| | | | | | | | | | | | * Update CHANGELOGS * Update new versions in Cabal files * Purge references to ghc-8.4/master branches in README
| * Revert "Revert "Bump GHC version to 8.6""Simon Jakobi2018-07-201-1/+1
| | | | | | | | | | | | That commit didn't belong onto the ghc-8.6 branch. This reverts commit acbaef3b9daf1d2dea10017964bf886e77a8e967.
| * Update the ghc-8.6 branch (#889)Simon Jakobi2018-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "Bump GHC version to 8.6" This was applied to the wrong branch; there's now a `ghc-8.6` branch; ghc-head is always supposed to point to GHC HEAD, i.e. an odd major version. The next version bump to `ghc-head` is supposed to go from e.g. 8.5 to 8.7 This reverts commit 5e3cf5d8868323079ff5494a8225b0467404a5d1. * README updates (#856) * README: Remove mentions of master branch * README: Add instructions for using html-test * README: Change command to run _all_ the testsuites * README: Add project overview section (cherry picked from commit 61d6f935da97eb96685f07bf385102c2dbc2a33c) * Export more fixities for Hoogle (#871) This exports fixities for more things, including class methods and type-level operators. (cherry picked from commit 88316b972e3d47197b1019111bae0f7f87275fce) * Avoid line breaks due to line length in Hoogle (#868) * Avoid line breaks due to line length in Hoogle Hoogle operates in a line-oriented fashion, so we should avoid ever breaking due to long lines. One way of doing this non-intrusively is to modify the 'DynFlags' that are threaded through the 'Hoogle' module (note this is anyways only passed through for use in the various 'showSDoc' functions). * Amend test case (cherry picked from commit 657b1b3d519545f8d4ca048c06210d6cbf0f0da0) * tyThingToLHsDecl: Preserve type synonyms that contain a forall (#880) * tyThingToLHsDecls: Preserve type synonyms that contain a forall Fixes #879. * Add Note [Invariant: Never expand type synonyms] * Clarify Note [Invariant: Never expand type synonyms] (cherry picked from commit c3eb3f0581f69e816f9453b1747a9f2a3ba02bb9) * Fix HEAD html-test (#860) * Update tests for 'StarIsType' * Accept tests * Revert "Update tests for 'StarIsType'" This reverts commit 7f0c01383bbba6dc5af554ee82988d2cf44e407a. * Refactor handling of parens in types (#874) * Fix type parenthesization in Hoogle backend Ported the logic in the HTML and LaTeX backends for adding in parens into something top-level in 'GhcUtil'. Calling that from the Hoogle backend fixes #873. * Remove parenthesizing logic from LaTeX and XHTML backends Now, the only times that parenthesis in types are added in any backend is through the explicit 'HsParTy' constructor. Precedence is also represented as its own datatype. * List out cases explicitly vs. catch-all * Fix printing of parens for QuantifiedConstraints The priority of printing 'forall' types was just one too high. Fixes #877. * Accept HTML output for quantified contexts test * Preserve docs on type family instances (#867) * Preserve docs on type family instances The only problem was that the instance location was slightly off for type family instances. * Accept output (cherry picked from commit 133e9c2c168db19c1135479f7ab144c4e33af2a4) * Fix broken instance source links (#869) The problem manifests itself in instances that are defined in modules other than the module where the class is defined. The fix is just to thread through the 'Module' of the instance further along. Since orphan instances appear to already have been working, I didn't do anything there. (cherry picked from commit 2de7c2acf9b1ec85b09027a8bb58bf8512e91c05) * Add some more unicode related tests (#872) This has been fixed for sure ever since we switched from attoparsec to parsec. Parts of it may have been working before that, but there was a point where this would have failed (see #191). A regression test never hurt anyone. :) (cherry picked from commit 5ec7715d418bfac0f26aec6039792a99a6e89370) * Misc tests (#858) * More tests * spliced types * constructor/pattern argument docs * strictness marks on fields with argument docs * latex test cases need seperate directory * Accept tests * Additional tests for the identifier parser (#816) * Add tests for the identifier parser * docs: Clarify how to delimit identifiers (cherry picked from commit 0861affeca4d72938f05a2eceddfae2c19199071)
* | Bump GHC version to 8.7Ben Gamari2018-06-201-1/+1
| |
* | Revert "Bump GHC version to 8.6"Herbert Valerio Riedel2018-06-201-1/+1
|/ | | | | | | | This was applied to the wrong branch; there's now a `ghc-8.6` branch; ghc-head is always supposed to point to GHC HEAD, i.e. an odd major version. The next version bump to `ghc-head` is supposed to go from e.g. 8.5 to 8.7 This reverts commit 5e3cf5d8868323079ff5494a8225b0467404a5d1.
* Bump GHC version to 8.6Ben Gamari2018-06-191-1/+1
|
* Use the response file utilities defined in `base` (#821)Chaitanya Koparkar2018-06-131-17/+0
| | | | | | Summary: The response file related modules were recently copied from `haddock` into `base`. This patch removes them from `haddock`. GHC Trac Issues: #13896
* Merge branch 'ghc-head' with 'ghc-8.4'Herbert Valerio Riedel2018-05-011-3/+3
|\
| * Bump upper bound on base to < 4.13Ryan Scott2018-04-191-2/+2
| | | | | | | | See https://ghc.haskell.org/trac/ghc/ticket/15018.
| * Bump GHC versionBen Gamari2017-12-041-1/+1
| |
* | Replace 'attoparsec' with 'parsec' (#799)Alec Theriault2018-04-251-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove attoparsec with parsec and start fixing failed parses * Make tests pass * Fix encoding issues The Haddock parser no longer needs to worry about bytestrings. All the internal parsing work in haddock-library happens over 'Text'. * Remove attoparsec vendor * Fix stuff broken in 'attoparsec' -> 'parsec' * hyperlinks * codeblocks * examples Pretty much all issues are due to attoparsec's backtracking failure behaviour vs. parsec's non-backtracking failure behaviour. * Fix small TODOs * Missing quote + Haddocks * Better handle spaces before/after paragraphs * Address review comments
* | Bump haddock and haddock-api to 2.20.0alexbiehl2018-03-281-2/+2
| |
* | Haddock: Straighten out base boundalexbiehl2018-03-101-1/+1
| |
* | Bump haddock-2.19.0.1, haddock-api-2.19.0.1, haddock-library-1.5.0.1alexbiehl2018-03-101-4/+4
| |
* | hadock-2.19.0 / haddock-api-2.19.0 / haddock-library-1.5.0Alexander Biehl2018-02-011-2/+2
| |
* | Bump GHC bound to 8.4.*Ben Gamari2017-12-041-1/+1
|/
* Add autogen-modules (#706)Moritz Angermann2017-11-201-0/+4
| | | | | > Packages using 'cabal-version: >= 1.25' and the autogenerated module Paths_* must include it also on the 'autogen-modules' field besides 'exposed-modules' and 'other-modules'. This specifies that the module does not come with the package and is generated on setup. Modules built with a custom Setup.hs script also go here to ensure that commands like sdist don't fail. # Conflicts: # haddock.cabal
* Declare use of `Paths_haddock` module in other-modules (#705)Moritz Angermann2017-11-201-0/+2
| | | This was detected by `-Wmissing-home-modules`
* Merge remote-tracking branch 'origin/master' into ghc-headalexbiehl2017-10-311-1/+1
|\
| * Add QuickJump version to meta.json (#696)Alexander Biehl2017-10-301-1/+1
| |
* | Fix merge falloutalexbiehl2017-10-081-0/+1
| |
* | Merge remote-tracking branch 'origin/ghc-head' into HEADalexbiehl2017-10-081-2/+2
|\ \ | |/ |/|
| * haddock: Add Documentation.Haddock.Markup to other-modulesBen Gamari2017-08-221-0/+1
| |
| * Merge remote-tracking branch 'origin/master' into ghc-headalexbiehl2017-08-211-32/+72
| |\
| * \ Merge commit '240bc38b94ed2d0af27333b23392d03eeb615e82' into HEADBen Gamari2017-03-231-5/+5
| |\ \
| * | | Bump for GHC 8.3Ben Gamari2017-03-091-2/+2
| | | |
* | | | Write meta.json when generating html output (#676)Alexander Biehl2017-08-301-0/+1
| | | |
* | | | haddock: Add Documentation.Haddock.Markup to other-modulesBen Gamari2017-08-221-0/+1
| |_|/ |/| |
* | | Provide --show-interface option to dump interfaces (#645)Alexander Biehl2017-08-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: Provide --show-interface option to dump interfaces Like ghcs own --show-iface this flag dumps a binary interface file to stdout in a human (and machine) readable fashion. Currently it uses json as output format. * Fill all the jsonNull stubs * Rework Bifunctor instance of DocH, update changelog and documentation * replace changelog, bring DocMarkupH doc back * Update CHANGES.md * Update CHANGES.md * Move Control.Arrow up It would result in unused import if the Bifunctor instance is not generated.
* | | Bump haddock to 2.18.2, haddock-library to 1.4.5alexbiehl2017-07-271-2/+2
| | |
* | | Add cheatsheet to haddock.cabalHerbert Valerio Riedel2017-07-201-0/+2
| | |
* | | Beef up haddock description (#658)Alexander Biehl2017-07-201-2/+20
| | | | | | | | | | | | | | | | | | * Beef up haddock description * Handle empty lines