aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Restore backward-compat with base-4.5 through base-4.8Herbert Valerio Riedel2018-03-102-2/+28
|
* Update to QC 2.11Herbert Valerio Riedel2018-03-102-2/+2
|
* Update changelogs for haddock-2.19.0.1 and haddock-library-1.5.0.1alexbiehl2018-03-102-0/+10
|
* Bump haddock-2.19.0.1, haddock-api-2.19.0.1, haddock-library-1.5.0.1alexbiehl2018-03-103-9/+9
|
* Hyperlinker: Links for TyOps, class methods and associated typesalexbiehl2018-03-052-11/+44
|
* Fix Bug548 for realalexbiehl2018-03-021-1/+1
|
* Revert "fix test"alexbiehl2018-03-021-1/+5
| | | | This reverts commit 1ac2f9569242f6cb074ba6e577285a4c33ae1197.
* haddock-test: Be more explicit which packages to passalexbiehl2018-03-024-7/+34
| | | | | | We now pass `-hide-all-packages` to haddock when invoking the testsuite. This ensures we don't accidentally pick up any dependencies up through ghc.env files.
* fix testalexbiehl2018-03-021-5/+1
|
* Remove bang patternAlec Theriault2018-03-021-3/+3
|
* Support unicode operators, proper modulesAlec Theriault2018-03-025-25/+122
| | | | | | | | Unicode operators are a pretty big thing in Haskell, so supporting linking them seems like it outweighs the cost of the extra machinery to force Attoparsec to look for unicode. Fixes #458.
* Make testsuite work with haddock-1.19.0 release (#766)Alexander Biehl2018-03-0274-1536/+1687
|
* Enable running test suite with stock haddock and ghc usingalexbiehl2018-03-021-2/+10
| | | | | | ``` $ cabal new-run -- html-test --haddock-path=$(which haddock) --ghc-path=$(which ghc) ```
* Fix file handle leak (#763) (#764)Alec Theriault2018-02-251-3/+6
| | | | Brought back some mistakenly deleted code for handling encoding and eager reading of files from e0ada1743cb722d2f82498a95b201f3ffb303137.
* Hoogle/Latex: Remove use of partial functionAlexander Biehl2018-02-192-7/+5
|
* Teach the HTML backend how to render methods with multiple namesalexbiehl2018-02-192-31/+7
|
* Add 'show' option to complement 'hide' (#752)Alec Theriault2018-02-112-10/+17
| | | | | | | | | | | | * Add 'show' option to complement 'hide' The behaviour is for flags passed in the command line to override flags in file headers. In the command line, later flags override earlier ones. Fixes #751 and #266. * Add a '--show-all' option
* Add module tooltips to linked identifiers (#753)Alec Theriault2018-02-111-3/+5
| | | No more clicking to figure out whether your bytestring is strict or lazy!
* Expand SigD in a better placealexbiehl2018-02-091-2/+2
| | | | | | | | In https://github.com/haskell/haddock/issues/287 we found that haddock-2.19.0 would miss documentation on class methods with multiples names. This patch uses expandSigDecls in a more sensible place.
* Hyperlinker: Also link pattern synonym argumentsalexbiehl2018-02-061-2/+5
|
* fullModuleContents: support named docsalexbiehl2018-02-061-16/+24
|
* Expand SigDsalexbiehl2018-02-061-2/+26
|
* Rename: renameHsSpliceTy ttgalexbiehl2018-02-061-1/+1
|
* Don't barf on 'HsSpliceTy' (#745)Alec Theriault2018-02-061-1/+12
| | | | | | | | This handles 'HsSpliceTy's by replacing them with what they expand to. IIUC everything that is happening, 'renameHsSpliceTy' should not be able to fail for the inputs we feed it from GHC. This fixes #574.
* Don't warn about missing '~' (#746)Alec Theriault2018-02-061-5/+14
| | | | | | | This manually filters out '~' from the list of things to warn about. It truly makes no sense to warn on this since '~' has nothing it could link to - it is magical. This fixes #532.
* Hyperlink pattern synonyms and 'module' imports (#744)Alec Theriault2018-02-051-4/+10
| | | | | | Links to pattern synonyms are now generated, as well as links from modules in import lists. Fixes #731.
* Make test-suite SMP compatibleHerbert Valerio Riedel2018-02-051-0/+2
|
* Add `SPDX-License-Identifier` as alised for "license" module header tokensHerbert Valerio Riedel2018-02-052-5/+9
| | | | | | | | | | | C.f. SPDX 2.1 - Appendix V https://spdx.org/spdx-specification-21-web-version#h.twlc0ztnng3b The tag should appear on its own line in the source file, generally as part of a comment. SPDX-License-Identifier: <SPDX License Expression> Cherry-picked from #743
* try harder to build w/ GHC 8.4.1Herbert Valerio Riedel2018-02-051-5/+5
|
* Try GHC 8.4.1 for Travis CI jobHerbert Valerio Riedel2018-02-051-2/+2
|
* Use withBinaryFilealexbiehl2018-02-041-1/+1
|
* QuickJump: Mitigate encoding problems on Windowsalexbiehl2018-02-031-4/+5
|
* Support the new 'ITcolumn_prag' tokenAlec Theriault2018-02-021-0/+2
|
* Properly color pragma contents in hyperlinkerAlec Theriault2018-02-021-13/+65
| | | | | | The hyperlinker backend now classifies the content of pragmas as 'TkPragma'. That means that in something like '{-# INLINE foo #-}', 'foo' still gets classified as a pragma token.
* haddock-library: Info about breaking changesAlexander Biehl2018-02-011-0/+3
|
* Adjust changelogsAlexander Biehl2018-02-012-6/+7
|
* hadock-2.19.0 / haddock-api-2.19.0 / haddock-library-1.5.0Alexander Biehl2018-02-013-6/+6
|
* Warning free compilationAlexander Biehl2018-02-014-4/+1
|
* Convert: Correct pass typeAlexander Biehl2018-02-011-2/+1
|
* Specialize: Add missing IdP annotationsAlexander Biehl2018-02-011-2/+2
|
* Hyperlinker: Adjust parser to new PFailed constructorAlexander Biehl2018-02-011-8/+8
|
* Quickjump Scrollable overlayAlexander Biehl2018-02-011-2/+2
|
* Filter RTS arguments from 'ghc-options' arguments (#725)Alec Theriault2018-02-011-2/+15
| | | This fixes #666.
* Fix infinite loop when specializing instance heads (#723)Alec Theriault2018-02-013-10/+230
| | | | | | | | | * Fix infinite loop when specializing instance heads The bug can only be triggered from TH, hence why it went un-noticed for so long. * Add test for #679 and #710
* Add grid table example to cheatsheetAlexander Biehl2018-02-011-0/+17
| | | (pdf and svg need to be regenerated thought)
* Grid Tables (#718)Oleg Grenrus2018-02-0129-7/+996
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add table examples * Add table types and adopt simple parser Simple parser is done by Giovanni Cappellotto (@potomak) in https://github.com/haskell/haddock/pull/577 It seems to support single fine full tables, so far from full RST-grid tables, but it's good start. Table type support row- and colspans, but obviously parser is lacking. Still TODO: - Latex backend. Should we use multirow package https://ctan.org/pkg/multirow?lang=en? - Hoogle backend: ? * Implement grid-tables * Refactor table parser * Add two ill-examples * Update CHANGES.md * Basic documentation for tables * Fix documentation example
* Include secondary LICENSE file in source distHerbert Valerio Riedel2018-02-011-1/+2
|
* Patch flaky parser test (#720)Alec Theriault2018-02-011-11/+22
| | | | | | | | | | | | * Patch flaky parser test This test was a great idea, but it doesn't port over too well to using the GHC lexer. GHC rewrites its input a bit - nothing surprising, but we need to guard against those cases for the test. * Change instance head * Change use site
* Add simple framework for running parser fixtures (#668)Oleg Grenrus2018-02-0110-0/+190
| | | | | | | | | | | * Add simple framework for running parser fixtures * Compatible with tree-diff-0.0.0.1 * Use parseParas to parse fixtures This allows to test all syntactic constructs available in haddock markup.
* Take until line feedalexbiehl2018-02-011-1/+1
|