Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Useful cost centres, timers and allocation counters (#785) | Alexander Biehl | 2018-03-23 | 2 | -27/+53 | |
| | | | | | | | | | | | | | | | | | | * Add some useful cost-centres for profiling * Add withTiming for each haddock phase Invoking haddock with `--optghc=-ddump-timings` now shows the amount of time spent and the number of allocated bytes for each phase. | |||||
* | | Prepare changelog for next release | alexbiehl | 2018-03-21 | 1 | -0/+4 | |
| | | ||||||
* | | Show where instances are defined (#748) | Alec Theriault | 2018-03-21 | 24 | -112/+530 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Indicate source module of instances Above instance, we now also display a link to the module where the instance was defined. This is sometimes helpful in figuring out what to import. * Source module for type/data families too * Remove parens * Accept tests | |||||
* | | Make a proper definition for the <link> parser | Simon Jakobi | 2018-03-14 | 1 | -4/+6 | |
| | | ||||||
* | | haddock-library.cabal: Clean up GHC options | Simon Jakobi | 2018-03-14 | 1 | -6/+3 | |
| | | ||||||
* | | fixtures: Prevent stdout buffering | Simon Jakobi | 2018-03-14 | 1 | -1/+4 | |
| | | ||||||
* | | fixtures: Slightly unmangle output | Simon Jakobi | 2018-03-14 | 1 | -1/+1 | |
| | | ||||||
* | | Add fixture test for inline links | Simon Jakobi | 2018-03-14 | 2 | -0/+7 | |
| | | ||||||
* | | Add fixture test for links | Simon Jakobi | 2018-03-14 | 2 | -0/+6 | |
| | | ||||||
* | | Add fixture test for definition lists | Simon Jakobi | 2018-03-14 | 2 | -0/+2 | |
| | | ||||||
* | | Readme: Update GHC version (#778) | Simon Jakobi | 2018-03-14 | 1 | -2/+2 | |
| | | ||||||
* | | extractDecl: Extract constructor patterns from data family instances (#776) | Alexander Biehl | 2018-03-13 | 1 | -13/+26 | |
| | | | | | | | | | | | | * extractDecl: Allow extraction of data family instance constructors * extractDecl: extract data family instance constructors | |||||
* | | Haddock: Straighten out base bound | alexbiehl | 2018-03-10 | 1 | -1/+1 | |
| | | ||||||
* | | Bump lower bound for haddock-library | alexbiehl | 2018-03-10 | 1 | -1/+1 | |
| | | ||||||
* | | Restore backward-compat with base-4.5 through base-4.8 | Herbert Valerio Riedel | 2018-03-10 | 2 | -2/+28 | |
| | | ||||||
* | | Update to QC 2.11 | Herbert Valerio Riedel | 2018-03-10 | 2 | -2/+2 | |
| | | ||||||
* | | Update changelogs for haddock-2.19.0.1 and haddock-library-1.5.0.1 | alexbiehl | 2018-03-10 | 2 | -0/+10 | |
| | | ||||||
* | | Bump haddock-2.19.0.1, haddock-api-2.19.0.1, haddock-library-1.5.0.1 | alexbiehl | 2018-03-10 | 3 | -9/+9 | |
| | | ||||||
* | | Hyperlinker: Links for TyOps, class methods and associated types | alexbiehl | 2018-03-05 | 2 | -11/+44 | |
| | | ||||||
* | | Fix Bug548 for real | alexbiehl | 2018-03-02 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "fix test" | alexbiehl | 2018-03-02 | 1 | -1/+5 | |
| | | | | | | | | This reverts commit 1ac2f9569242f6cb074ba6e577285a4c33ae1197. | |||||
* | | haddock-test: Be more explicit which packages to pass | alexbiehl | 2018-03-02 | 4 | -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 test | alexbiehl | 2018-03-02 | 1 | -5/+1 | |
| | | ||||||
* | | Remove bang pattern | Alec Theriault | 2018-03-02 | 1 | -3/+3 | |
| | | ||||||
* | | Support unicode operators, proper modules | Alec Theriault | 2018-03-02 | 5 | -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 Biehl | 2018-03-02 | 74 | -1536/+1687 | |
| | | ||||||
* | | Enable running test suite with stock haddock and ghc using | alexbiehl | 2018-03-02 | 1 | -2/+10 | |
| | | | | | | | | | | | | ``` $ cabal new-run -- html-test --haddock-path=$(which haddock) --ghc-path=$(which ghc) ``` | |||||
* | | Fix file handle leak (#763) (#764) | Alec Theriault | 2018-02-25 | 1 | -3/+6 | |
| | | | | | | | | Brought back some mistakenly deleted code for handling encoding and eager reading of files from e0ada1743cb722d2f82498a95b201f3ffb303137. | |||||
* | | Hoogle/Latex: Remove use of partial function | Alexander Biehl | 2018-02-19 | 2 | -7/+5 | |
| | | ||||||
* | | Teach the HTML backend how to render methods with multiple names | alexbiehl | 2018-02-19 | 2 | -31/+7 | |
| | | ||||||
* | | Add 'show' option to complement 'hide' (#752) | Alec Theriault | 2018-02-11 | 2 | -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 Theriault | 2018-02-11 | 1 | -3/+5 | |
| | | | | | | No more clicking to figure out whether your bytestring is strict or lazy! | |||||
* | | Expand SigD in a better place | alexbiehl | 2018-02-09 | 1 | -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 arguments | alexbiehl | 2018-02-06 | 1 | -2/+5 | |
| | | ||||||
* | | fullModuleContents: support named docs | alexbiehl | 2018-02-06 | 1 | -16/+24 | |
| | | ||||||
* | | Expand SigDs | alexbiehl | 2018-02-06 | 1 | -2/+26 | |
| | | ||||||
* | | Rename: renameHsSpliceTy ttg | alexbiehl | 2018-02-06 | 1 | -1/+1 | |
| | | ||||||
* | | Don't barf on 'HsSpliceTy' (#745) | Alec Theriault | 2018-02-06 | 1 | -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 Theriault | 2018-02-06 | 1 | -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 Theriault | 2018-02-05 | 1 | -4/+10 | |
| | | | | | | | | | | | | Links to pattern synonyms are now generated, as well as links from modules in import lists. Fixes #731. | |||||
* | | Make test-suite SMP compatible | Herbert Valerio Riedel | 2018-02-05 | 1 | -0/+2 | |
| | | ||||||
* | | Add `SPDX-License-Identifier` as alised for "license" module header tokens | Herbert Valerio Riedel | 2018-02-05 | 2 | -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.1 | Herbert Valerio Riedel | 2018-02-05 | 1 | -5/+5 | |
| | | ||||||
* | | Try GHC 8.4.1 for Travis CI job | Herbert Valerio Riedel | 2018-02-05 | 1 | -2/+2 | |
| | | ||||||
* | | Use withBinaryFile | alexbiehl | 2018-02-04 | 1 | -1/+1 | |
| | | ||||||
* | | QuickJump: Mitigate encoding problems on Windows | alexbiehl | 2018-02-03 | 1 | -4/+5 | |
| | | ||||||
* | | Support the new 'ITcolumn_prag' token | Alec Theriault | 2018-02-02 | 1 | -0/+2 | |
| | | ||||||
* | | Properly color pragma contents in hyperlinker | Alec Theriault | 2018-02-02 | 1 | -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 changes | Alexander Biehl | 2018-02-01 | 1 | -0/+3 | |
| | | ||||||
* | | Adjust changelogs | Alexander Biehl | 2018-02-01 | 2 | -6/+7 | |
| | |