Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Warning free compilation | Alexander Biehl | 2018-02-01 | 1 | -1/+0 |
| | |||||
* | Use the GHC lexer for the Hyperlinker backend (#714) | Alec Theriault | 2018-02-01 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Make hyperlinked source renderer generate line anchors. | Łukasz Hanuszczak | 2015-08-02 | 1 | -3/+23 |
| | |||||
* | Add support for hyperlinking modules in import lists. | Łukasz Hanuszczak | 2015-07-06 | 1 | -12/+9 |
| | |||||
* | Move source paths types to hyperlinker types module. | Łukasz Hanuszczak | 2015-07-06 | 1 | -1/+0 |
| | |||||
* | Extract main hyperlinker types to separate module. | Łukasz Hanuszczak | 2015-07-06 | 1 | -2/+2 |
| | |||||
* | Refactor source path mapping to use modules as indices. | Łukasz Hanuszczak | 2015-07-05 | 1 | -19/+17 |
| | |||||
* | Make hyperlinker render qualified names as one entity. | Łukasz Hanuszczak | 2015-07-01 | 1 | -5/+45 |
| | |||||
* | Disable generating hyperlinks for module references. | Łukasz Hanuszczak | 2015-06-30 | 1 | -2/+9 |
| | |||||
* | Add basic support for cross-package hyperlink generation. | Łukasz Hanuszczak | 2015-06-30 | 1 | -16/+26 |
| | |||||
* | Rewrite source generation to fixed links and directory structure. | Łukasz Hanuszczak | 2015-06-30 | 1 | -31/+21 |
| | |||||
* | Make external hyperlinks point to locations specified by source URLs. | Łukasz Hanuszczak | 2015-06-30 | 1 | -21/+31 |
| | |||||
* | Add support for fancy highlighting upon hovering over identifier. | Łukasz Hanuszczak | 2015-06-30 | 1 | -8/+15 |
| | |||||
* | Implement hyperlinking of imported module names. | Łukasz Hanuszczak | 2015-06-30 | 1 | -11/+17 |
| | |||||
* | Refactor the way AST names are handled within detailed tokens. | Łukasz Hanuszczak | 2015-06-30 | 1 | -7/+10 |
| | |||||
* | Fix external anchors to contain HTML file extension. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | Add support for type declaration anchors. | Łukasz Hanuszczak | 2015-06-30 | 1 | -3/+11 |
| | |||||
* | Implement go-to-definition mechanism for local bindings. | Łukasz Hanuszczak | 2015-06-30 | 1 | -7/+23 |
| | |||||
* | Add support for binding token recognition. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+1 |
| | |||||
* | Add support for type token recognition. | Łukasz Hanuszczak | 2015-06-30 | 1 | -23/+41 |
| | |||||
* | Constrain elements exported by hyperlinker modules. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | Add dummy support for hyperlinking named tokens. | Łukasz Hanuszczak | 2015-06-30 | 1 | -3/+20 |
| | |||||
* | Add support for recognizing compiler pragmas in source parser. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+1 |
| | |||||
* | Add support for specifying the CSS file path in HTML source renderer. | Łukasz Hanuszczak | 2015-06-30 | 1 | -15/+30 |
| | |||||
* | Create simple HTML renderer for parsed source file. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+26 |