Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Create scaffolding of module for associating tokens with AST names. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+20 | |
| | ||||||
* | Add support for recognizing compiler pragmas in source parser. | Łukasz Hanuszczak | 2015-06-30 | 2 | -0/+3 | |
| | ||||||
* | Fix comment recognition in Haskell source parser. | Łukasz Hanuszczak | 2015-06-30 | 1 | -2/+3 | |
| | ||||||
* | Fix identifier recognition in Haskell source parser. | Łukasz Hanuszczak | 2015-06-30 | 1 | -2/+5 | |
| | ||||||
* | 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 | |
| | ||||||
* | Make parser module export all types and associated accessors. | Łukasz Hanuszczak | 2015-06-30 | 1 | -3/+2 | |
| | ||||||
* | Add record accessors to exports of hyperlinker parser module. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+6 | |
| | ||||||
* | Adapt source span tagging to work with current whitespace handling. | Łukasz Hanuszczak | 2015-06-30 | 1 | -4/+7 | |
| | ||||||
* | Create basic token classification method. | Łukasz Hanuszczak | 2015-06-30 | 1 | -6/+98 | |
| | ||||||
* | Implement simple string chunking based on HsColour library. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+27 | |
| | ||||||
* | Implement function for tagging parsed chunks with source spans. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+8 | |
| | ||||||
* | Create scaffolding for Haskell source parser module. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+36 | |
| | ||||||
* | Fix alignment of Source links in instance table in Firefox | Phil Ruffwind | 2015-06-12 | 1 | -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 file | jpmoresmau | 2015-06-12 | 3 | -17/+17 | |
| | | | | Fixes #383 | |||||
* | Change ModuleTree Node to carry PackageKey and SourcePackageId to resolve #385 | Murray Campbell | 2015-05-11 | 1 | -2/+2 | |
| | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit 2380f07c430c525b205ce2eae6dab23c8388d899) | |||||
* | Do not insert anchor for section headings in contents box | watashi | 2015-04-26 | 1 | -1/+4 | |
| | ||||||
* | Don't print instance safety information in Hoogle | Mateusz Kowalczyk | 2015-03-27 | 1 | -2/+11 | |
| | | | | Fixes #168 | |||||
* | Output method documentation in Hoogle backend | Mateusz Kowalczyk | 2015-03-27 | 1 | -11/+21 | |
| | | | | | | | | | One thing of note is that we no longer preserve grouping of methods and print each method on its own line. We could preserve it if no documentation is present for any methods in the group if someone asks for it though. Fixes #259 | |||||
* | Fully qualify names in Hoogle instances output | Mateusz Kowalczyk | 2015-03-27 | 1 | -4/+6 | |
| | | | | Closes #263 | |||||
* | Fix Hoogle display of constructors | Mateusz Kowalczyk | 2015-03-27 | 1 | -1/+4 | |
| | | | | Fixes #361 | |||||
* | Remove now redundant imports | Mateusz Kowalczyk | 2015-03-26 | 4 | -6/+0 | |
| | ||||||
* | Follow API changes in D538 | Alan Zimmerman | 2015-01-23 | 3 | -27/+27 | |
| | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6) | |||||
* | Links to source location of class instance definitions | jpmoresmau | 2015-01-22 | 3 | -23/+43 | |
| | ||||||
* | Only keep one Version instead of blindly appending | Mateusz Kowalczyk | 2014-12-17 | 1 | -3/+3 | |
| | ||||||
* | Various fixups and bumps for next release | Mateusz Kowalczyk | 2014-12-12 | 3 | -8/+4 | |
| | ||||||
* | For pattern synonyms, render "pattern" as a keyword | Dr. ERDI Gergo | 2014-12-12 | 1 | -1/+1 | |
| | ||||||
* | Support for PartialTypeSignatures | Thomas Winant | 2014-12-12 | 4 | -32/+46 | |
| | | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs haddock-api/src/Haddock/Interface/Create.hs | |||||
* | Follow API changes in D426 | Alan Zimmerman | 2014-12-12 | 3 | -38/+66 | |
| | | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> Conflicts: haddock-api/src/Haddock/Backends/LaTeX.hs haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs | |||||
* | Update Haddock to new pattern synonym type signature syntax | Dr. ERDI Gergo | 2014-12-12 | 2 | -70/+72 | |
| | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs | |||||
* | Remove overlapping pattern match | Austin Seipp | 2014-12-12 | 1 | -1/+0 | |
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> | |||||
* | Collapse user-defined section by default (re #335) | Herbert Valerio Riedel | 2014-12-12 | 1 | -1/+1 | |
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/DocMarkup.hs | |||||
* | Properly render package ID (not package key) in index, fixes #329. | Edward Z. Yang | 2014-12-12 | 1 | -6/+8 | |
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: haddock-api/src/Haddock/ModuleTree.hs | |||||
* | Followup changes to addition of -fwarn-context-quantification (GHC Trac #4426) | Krzysztof Gogolewski | 2014-12-12 | 3 | -2/+7 | |
| | ||||||
* | Changes due to ghc api changes in package representation | Duncan Coutts | 2014-12-12 | 1 | -2/+4 | |
| | | | | | | | | | | Also fix a bug with finding the package name and version given a module. This had become wrong due to the package key changes (it was very hacky in the first place). We now look up the package key in the package db to get the package info properly. Conflicts: haddock-api/src/Haddock.hs | |||||
* | Revert "Merge branch 'reverts'" | Mateusz Kowalczyk | 2014-12-12 | 4 | -5/+5 | |
| | | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs | |||||
* | header could contain several lines | jpmoresmau | 2014-12-10 | 1 | -1/+1 | |
| | | | | Closes #348 | |||||
* | Allow the parser to spit out meta-info | Mateusz Kowalczyk | 2014-12-10 | 5 | -45/+68 | |
| | | | | | | | | | | | | | | | Currently we only use it only for ‘since’ annotations but with these patches it should be fairly simple to add new attributes if we wish to. Closes #26. It seems to work fine but due to 7.10 rush I don't have the chance to do more exhaustive testing right now. The way the meta is output (emphasis at the end of the whole comment) is fairly arbitrary and subject to bikeshedding. Note that this makes test for Bug310 fail due to interface version bump: it can't find the docs for base with this interface version so it fails. There is not much we can do to help this because it tests for ’built-in’ identifier, not something we can provide ourselves. | |||||
* | Experimental support for collapsable headers | Mateusz Kowalczyk | 2014-10-29 | 4 | -29/+117 | |
| | | | | Closes #335 | |||||
* | Omit unnecessary foralls and fix #315 | Niklas Haas | 2014-08-24 | 1 | -21/+20 | |
| | | | | This also fixes #86. | |||||
* | Fix extra whitespace on signatures and update all test cases | Niklas Haas | 2014-08-24 | 1 | -2/+2 | |
| | | | | | This was long overdue, now running ./accept.lhs on a clean test from master will not generate a bunch of changes. | |||||
* | Move sources under haddock-api/src | Mateusz Kowalczyk | 2014-08-23 | 11 | -0/+4310 | |