aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite source generation to fixed links and directory structure.Łukasz Hanuszczak2015-06-306-77/+85
|
* Make external hyperlinks point to locations specified by source URLs.Łukasz Hanuszczak2015-06-304-28/+44
|
* Create module with hyperlinker utility functions.Łukasz Hanuszczak2015-06-301-0/+18
|
* Make source hyperlinker generate output in apropriate directory.Łukasz Hanuszczak2015-06-303-18/+38
|
* Add support for fancy highlighting upon hovering over identifier.Łukasz Hanuszczak2015-06-302-10/+23
|
* Add support for providing custom CSS files for hyperlinked source.Łukasz Hanuszczak2015-06-303-7/+28
|
* Create hyperlinker module and plug it into the Haddock pipeline.Łukasz Hanuszczak2015-06-302-0/+29
|
* Implement source tokenization during interface creation process.Łukasz Hanuszczak2015-06-301-1/+29
|
* Extend module interface with rich source token stream field.Łukasz Hanuszczak2015-06-302-0/+6
|
* Add command line option for generating hyperlinked source.Łukasz Hanuszczak2015-06-301-0/+3
|
* 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
|
* Fix external anchors to contain HTML file extension.Łukasz Hanuszczak2015-06-301-1/+1
|
* Add support for top-level function declaration anchors.Łukasz Hanuszczak2015-06-301-1/+6
|
* Add support for type declaration anchors.Łukasz Hanuszczak2015-06-302-8/+27
|
* Fix weird hyperlinking of parenthesized operators.Łukasz Hanuszczak2015-06-302-1/+7
|
* Fix span matching to allow parenthesized operators hyperlinking.Łukasz Hanuszczak2015-06-301-5/+5
|
* Implement module export- and import-list item hyperlinking.Łukasz Hanuszczak2015-06-301-1/+19
|
* Implement go-to-definition mechanism for local bindings.Łukasz Hanuszczak2015-06-301-7/+23
|
* Add support for binding token recognition.Łukasz Hanuszczak2015-06-302-1/+20
|
* Add support for type token recognition.Łukasz Hanuszczak2015-06-302-31/+68
|
* Constrain elements exported by hyperlinker modules.Łukasz Hanuszczak2015-06-302-2/+5
|
* Fix span matcher bug causing wrong items being hyperlinked.Łukasz Hanuszczak2015-06-301-1/+1
|
* Add dummy support for hyperlinking named tokens.Łukasz Hanuszczak2015-06-301-3/+20
|
* Create simple mechanism for associating tokens with AST names.Łukasz Hanuszczak2015-06-301-7/+23
|
* Implement utility method for extracting variable identifiers from AST.Łukasz Hanuszczak2015-06-301-0/+16
|
* Create scaffolding of module for associating tokens with AST names.Łukasz Hanuszczak2015-06-301-0/+20
|
* Add support for recognizing compiler pragmas in source parser.Łukasz Hanuszczak2015-06-302-0/+3
|
* Fix comment recognition in Haskell source parser.Łukasz Hanuszczak2015-06-301-2/+3
|
* Fix identifier recognition in Haskell source parser.Łukasz Hanuszczak2015-06-301-2/+5
|
* Add support for specifying the CSS file path in HTML source renderer.Łukasz Hanuszczak2015-06-301-15/+30
|
* Create simple HTML renderer for parsed source file.Łukasz Hanuszczak2015-06-301-0/+26
|
* Make parser module export all types and associated accessors.Łukasz Hanuszczak2015-06-301-3/+2
|
* Add record accessors to exports of hyperlinker parser module.Łukasz Hanuszczak2015-06-301-1/+6
|
* Adapt source span tagging to work with current whitespace handling.Łukasz Hanuszczak2015-06-301-4/+7
|
* Create basic token classification method.Łukasz Hanuszczak2015-06-301-6/+98
|
* Implement simple string chunking based on HsColour library.Łukasz Hanuszczak2015-06-301-1/+27
|
* Implement function for tagging parsed chunks with source spans.Łukasz Hanuszczak2015-06-301-1/+8
|
* Create scaffolding for Haskell source parser module.Łukasz Hanuszczak2015-06-301-0/+36
|
* Fix alignment of Source links in instance table in FirefoxPhil Ruffwind2015-06-121-2/+3
| | | | | | | | | | | | | | | | | | | Due to a Firefox bug [1], a combination of 'whitespace: nowrap' on the parent element with 'float: right' on the inner element can cause the floated element to be displaced downwards for no apparent reason. To work around this, the left side is wrapped in its own <span> and set to 'float: left'. As a precautionary measure to prevent the parent element from collapsing entirely, we also add the classic "clearfix" hack. The latter is not strictly needed but it helps prevent bugs if the layout is altered again in the future. Fixes #384. Remark: line 159 of src/Haddock/Backends/Xhtml/Layout.hs was indented to prevent confusion over the operator precedence of (<+>) vs (<<). [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=488725
* Attach to instance location the name that has the same location filejpmoresmau2015-06-126-25/+39
| | | | Fixes #383
* Fix haddock: internal error: spliceURL UnhelpfulSpan (#207)Bartosz Nitka2015-06-121-5/+11
| | | | | | | | Inferred type signatures don't have SrcSpans, so let's use the one from the declaration. I've tested this manually on the test-case from #207, but I got stuck at trying to run the test-suite.
* Change ModuleTree Node to carry PackageKey and SourcePackageId to resolve #385Murray Campbell2015-05-112-21/+24
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit 2380f07c430c525b205ce2eae6dab23c8388d899)
* Do not insert anchor for section headings in contents boxwatashi2015-04-261-1/+4
|