aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Hyperlinker
Commit message (Collapse)AuthorAgeFilesLines
* Hyperlinker: Avoid linear lookup in enrichToken (#669)Alexander Biehl2017-08-192-41/+53
| | | | | | * Make Span strict in Position * Hyperlinker: Use a proper map to enrich tokens
* Improve Syb code (#621)Doug Wilson2017-05-271-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.
* Changes to match #13163 in GHCAlan Zimmerman2017-01-261-4/+4
|
* Matching changes for GHC wip/T12942Alan Zimmerman2016-12-121-1/+1
|
* Match changes in GHC wip/T3384 branchAlan Zimmerman2016-12-071-1/+1
|
* Change Hyperlinked lexer to know about DataKinds ticksOleg Grenrus2016-05-242-1/+14
|
* Changes due to fix for GHC#11648.Richard Eisenberg2016-03-151-1/+1
| | | | (cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1)
* Fix HyperlinkerBen Gamari2015-12-161-1/+1
| | | | GHC.con_names is now GHC.getConNames
* WarningsMatthew Pickering2015-12-141-1/+0
|
* Changes to compile with 8.0Matthew Pickering2015-12-141-10/+14
|
* Move SYB utilities to standalone module.Łukasz Hanuszczak2015-08-211-14/+1
|
* Make hyperlinked source renderer generate line anchors.Łukasz Hanuszczak2015-08-021-3/+23
|
* Add some utility definitions for generating line anchors.Łukasz Hanuszczak2015-08-021-2/+23
|
* Fix bug with module name being hyperlinked to `Prelude`.Łukasz Hanuszczak2015-07-061-3/+4
|
* Add short documentation for hyperlinker source map type.Łukasz Hanuszczak2015-07-061-0/+9
|
* Add support for hyperlinking modules in import lists.Łukasz Hanuszczak2015-07-062-15/+16
|
* Move source paths types to hyperlinker types module.Łukasz Hanuszczak2015-07-062-1/+13
|
* Extract main hyperlinker types to separate module.Łukasz Hanuszczak2015-07-065-62/+69
|
* Refactor source path mapping to use modules as indices.Łukasz Hanuszczak2015-07-051-19/+17
|
* Remove potentially dangerous record access in hyperlinker AST module.Łukasz Hanuszczak2015-07-041-1/+1
|
* Make hyperlinker generate anchors only to top-level value bindings.Łukasz Hanuszczak2015-07-021-1/+2
|
* Add support for anchoring signatures in type class declarations.Łukasz Hanuszczak2015-07-021-0/+5
|
* Fix issue with operators being recognized as preprocessor directives.Łukasz Hanuszczak2015-07-021-3/+3
|
* Improve support for hyperlinking type families.Łukasz Hanuszczak2015-07-022-1/+8
|
* Add support for anchoring data family constructor declarations.Łukasz Hanuszczak2015-07-021-5/+6
|
* Fix crash happening when hyperlinking type family declarations.Łukasz Hanuszczak2015-07-021-0/+1
|
* Make hyperlinker render qualified names as one entity.Łukasz Hanuszczak2015-07-012-5/+46
|
* Add support for hyperlinking universally quantified type variables.Łukasz Hanuszczak2015-07-011-1/+7
|
* Add support for hyperlinking synonyms in patterns.Łukasz Hanuszczak2015-07-011-0/+2
|
* Add basic tests related to comment parsing.Łukasz Hanuszczak2015-06-301-1/+1
|
* Add support for hyperlinking field names in record expressions.Łukasz Hanuszczak2015-06-301-1/+7
|
* Add support for hyperlinking field names in record patterns.Łukasz Hanuszczak2015-06-301-1/+5
|
* Add support for hyperlinking constructor names in patters.Łukasz Hanuszczak2015-06-301-0/+2
|
* Make hyperlinker generate anchors for record field declarations.Łukasz Hanuszczak2015-06-301-7/+9
|
* Make hyperlinker generate correct anchors for data constructors.Łukasz Hanuszczak2015-06-301-4/+9
|
* Prevent source parser from throwing exception when lexing fails.Łukasz Hanuszczak2015-06-301-1/+3
|
* Disable generating hyperlinks for module references.Łukasz Hanuszczak2015-06-301-2/+9
|
* Add basic support for cross-package hyperlink generation.Łukasz Hanuszczak2015-06-301-16/+26
|
* Rewrite source generation to fixed links and directory structure.Łukasz Hanuszczak2015-06-302-41/+59
|
* Make external hyperlinks point to locations specified by source URLs.Łukasz Hanuszczak2015-06-301-21/+31
|
* Create module with hyperlinker utility functions.Łukasz Hanuszczak2015-06-301-0/+18
|
* Add support for fancy highlighting upon hovering over identifier.Łukasz Hanuszczak2015-06-301-8/+15
|
* Add some documentation for AST module of source hyperlinker.Łukasz Hanuszczak2015-06-301-10/+46
|
* Add some documentation for parser module of source hyperlinker.Łukasz Hanuszczak2015-06-301-0/+39
|
* Add support for parsing C preprocessor macros.Łukasz Hanuszczak2015-06-301-4/+16
|
* Fix issues with escaped newlines in comments.Łukasz Hanuszczak2015-06-301-8/+5
|
* Fix bug with improper newline handling.Łukasz Hanuszczak2015-06-301-1/+1
|
* Fix parsing of single line comments with broken up newlines.Łukasz Hanuszczak2015-06-301-1/+11
|
* Implement hyperlinking of imported module names.Łukasz Hanuszczak2015-06-302-18/+29
|
* Refactor the way AST names are handled within detailed tokens.Łukasz Hanuszczak2015-06-302-25/+29
|