Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Hyperlinker: Links for TyOps, class methods and associated types | alexbiehl | 2018-03-05 | 1 | -1/+14 |
| | |||||
* | Hyperlinker: Also link pattern synonym arguments | alexbiehl | 2018-02-06 | 1 | -2/+5 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | Warning free compilation | Alexander Biehl | 2018-02-01 | 1 | -1/+0 |
| | |||||
* | Hyperlinker: Adjust parser to new PFailed constructor | Alexander Biehl | 2018-02-01 | 1 | -8/+8 |
| | |||||
* | Use the GHC lexer for the Hyperlinker backend (#714) | Alec Theriault | 2018-02-01 | 4 | -238/+362 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start changing to use GHC lexer * better cpp * Change SrcSpan to RealSrcSpan * Remove error * Try to stop too many open files * wip * wip * Revert "wip" This reverts commit b605510a195f26315e3d8ca90e6d95a6737553e1. Conflicts: haddock-api/haddock-api.cabal haddock-api/src/Haddock/Interface.hs * Remove pointless 'caching' * Use dlist rather than lists when finding vars * Use a map rather than list * Delete bogus comment * Rebase followup Things now run using the GHC lexer. There are still - stray debug statements - unnecessary changes w.r.t. master * Cleaned up differences w.r.t. current Haddock HEAD Things are looking good. quasiquotes in particular look beautiful: the TH ones (with Haskell source inside) colour/link their contents too! Haven't yet begun to check for possible performance problems. * Support CPP and top-level pragmas The support for these is hackier - but no more hacky than the existing support. * Tests pass, CPP is better recognized The tests were in some cases altered: I consider the new output to be more correct than the old one.... * Fix shrinking of source without tabs in test * Replace 'Position'/'Span' with GHC counterparts Replaces 'Position' -> 'GHC.RealSrcLoc' and 'Span' -> 'GHC.RealSrcSpan'. * Nits * Forgot entry in .cabal * Update changelog | ||||
* | Revert "Match changes for Trees that Grow in GHC" | Ben Gamari | 2017-11-21 | 1 | -6/+6 |
| | | | | This reverts commit 01eeeb048acd2dd05ff6471ae148a97cf0720547. | ||||
* | Revert "Match Trees that Grow in GHC for HsExpr" | Ben Gamari | 2017-11-21 | 1 | -2/+2 |
| | | | | This reverts commit 9f054dc365379c66668de6719840918190ae6e44. | ||||
* | Match Trees that Grow in GHC for HsExpr | Alan Zimmerman | 2017-11-11 | 1 | -2/+2 |
| | |||||
* | Match changes for Trees that Grow in GHC | Alan Zimmerman | 2017-11-07 | 1 | -6/+6 |
| | |||||
* | Update for #14131 | Ryan Scott | 2017-08-23 | 1 | -4/+5 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into ghc-head | alexbiehl | 2017-08-21 | 2 | -53/+69 |
|\ | |||||
| * | Hyperlinker: Avoid linear lookup in enrichToken (#669) | Alexander Biehl | 2017-08-19 | 2 | -41/+53 |
| | | | | | | | | | | | | * Make Span strict in Position * Hyperlinker: Use a proper map to enrich tokens | ||||
| * | Improve Syb code (#621) | Doug Wilson | 2017-05-27 | 1 | -12/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | Specialize.hs and Ast.hs are modified to have their Syb code not recurse into Name or Id in HsSyn types. Specialize.hs is refactored to have fewer calls to Syb functions. Syb.hs has some foldl calls replaced with foldl' calls. There is still a lot of performance on the floor of Ast.hs. The RenamedSource is traversed many times, and lookupBySpan is very inefficient. everywhereBut and lookupBySpan dominate the runtime whenever --hyperlinked-source is passed. | ||||
* | | Rename extension index tags | Alan Zimmerman | 2017-06-05 | 1 | -12/+12 |
| | | |||||
* | | Match new AST as per GHC wip/new-tree-one-param | Alan Zimmerman | 2017-06-05 | 1 | -12/+13 |
|/ | | | | See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow | ||||
* | Changes to match #13163 in GHC | Alan Zimmerman | 2017-01-26 | 1 | -4/+4 |
| | |||||
* | Matching changes for GHC wip/T12942 | Alan Zimmerman | 2016-12-12 | 1 | -1/+1 |
| | |||||
* | Match changes in GHC wip/T3384 branch | Alan Zimmerman | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | Change Hyperlinked lexer to know about DataKinds ticks | Oleg Grenrus | 2016-05-24 | 2 | -1/+14 |
| | |||||
* | Changes due to fix for GHC#11648. | Richard Eisenberg | 2016-03-15 | 1 | -1/+1 |
| | | | | (cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1) | ||||
* | Fix Hyperlinker | Ben Gamari | 2015-12-16 | 1 | -1/+1 |
| | | | | GHC.con_names is now GHC.getConNames | ||||
* | Warnings | Matthew Pickering | 2015-12-14 | 1 | -1/+0 |
| | |||||
* | Changes to compile with 8.0 | Matthew Pickering | 2015-12-14 | 1 | -10/+14 |
| | |||||
* | Move SYB utilities to standalone module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -14/+1 |
| | |||||
* | Make hyperlinked source renderer generate line anchors. | Łukasz Hanuszczak | 2015-08-02 | 1 | -3/+23 |
| | |||||
* | Add some utility definitions for generating line anchors. | Łukasz Hanuszczak | 2015-08-02 | 1 | -2/+23 |
| | |||||
* | Fix bug with module name being hyperlinked to `Prelude`. | Łukasz Hanuszczak | 2015-07-06 | 1 | -3/+4 |
| | |||||
* | Add short documentation for hyperlinker source map type. | Łukasz Hanuszczak | 2015-07-06 | 1 | -0/+9 |
| | |||||
* | Add support for hyperlinking modules in import lists. | Łukasz Hanuszczak | 2015-07-06 | 2 | -15/+16 |
| | |||||
* | Move source paths types to hyperlinker types module. | Łukasz Hanuszczak | 2015-07-06 | 2 | -1/+13 |
| | |||||
* | Extract main hyperlinker types to separate module. | Łukasz Hanuszczak | 2015-07-06 | 5 | -62/+69 |
| | |||||
* | Refactor source path mapping to use modules as indices. | Łukasz Hanuszczak | 2015-07-05 | 1 | -19/+17 |
| | |||||
* | Remove potentially dangerous record access in hyperlinker AST module. | Łukasz Hanuszczak | 2015-07-04 | 1 | -1/+1 |
| | |||||
* | Make hyperlinker generate anchors only to top-level value bindings. | Łukasz Hanuszczak | 2015-07-02 | 1 | -1/+2 |
| | |||||
* | Add support for anchoring signatures in type class declarations. | Łukasz Hanuszczak | 2015-07-02 | 1 | -0/+5 |
| | |||||
* | Fix issue with operators being recognized as preprocessor directives. | Łukasz Hanuszczak | 2015-07-02 | 1 | -3/+3 |
| | |||||
* | Improve support for hyperlinking type families. | Łukasz Hanuszczak | 2015-07-02 | 2 | -1/+8 |
| | |||||
* | Add support for anchoring data family constructor declarations. | Łukasz Hanuszczak | 2015-07-02 | 1 | -5/+6 |
| | |||||
* | Fix crash happening when hyperlinking type family declarations. | Łukasz Hanuszczak | 2015-07-02 | 1 | -0/+1 |
| | |||||
* | Make hyperlinker render qualified names as one entity. | Łukasz Hanuszczak | 2015-07-01 | 2 | -5/+46 |
| | |||||
* | Add support for hyperlinking universally quantified type variables. | Łukasz Hanuszczak | 2015-07-01 | 1 | -1/+7 |
| | |||||
* | Add support for hyperlinking synonyms in patterns. | Łukasz Hanuszczak | 2015-07-01 | 1 | -0/+2 |
| | |||||
* | Add basic tests related to comment parsing. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | Add support for hyperlinking field names in record expressions. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+7 |
| | |||||
* | Add support for hyperlinking field names in record patterns. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+5 |
| | |||||
* | Add support for hyperlinking constructor names in patters. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+2 |
| | |||||
* | Make hyperlinker generate anchors for record field declarations. | Łukasz Hanuszczak | 2015-06-30 | 1 | -7/+9 |
| |