aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
Commit message (Collapse)AuthorAgeFilesLines
* 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-302-0/+21
|
* 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-302-1/+28
|
* 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-302-0/+37
|
* Fix alignment of Source links in instance table in FirefoxPhil Ruffwind2015-06-122-2/+16
| | | | | | | | | | | | | | | | | | | 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
|
* Loosen bounds on haddock-*Mateusz Kowalczyk2015-03-281-1/+1
|
* Post-release version bumps and changelogMateusz Kowalczyk2015-03-281-1/+1
|
* Don't print instance safety information in HoogleMateusz Kowalczyk2015-03-271-2/+11
| | | | Fixes #168
* Output method documentation in Hoogle backendMateusz Kowalczyk2015-03-271-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 outputMateusz Kowalczyk2015-03-271-4/+6
| | | | Closes #263
* Fix Hoogle display of constructorsMateusz Kowalczyk2015-03-271-1/+4
| | | | Fixes #361
* Clearly default to variables in out of scope caseMateusz Kowalczyk2015-03-271-23/+40
|
* Remove now redundant importsMateusz Kowalczyk2015-03-268-10/+0
|
* Make the error encountered when a package can't be found moreBen Gamari2015-03-251-12/+21
| | | | | | user-friendly Closes #369
* Prevent Synopsis from using up too much horizontal spacePhil Ruffwind2015-03-161-0/+1
| | | | | | When long type signatures occur in the Synopsis, the element is stretched beyond the width of the window. Scrollbars don't appear, so it's impossible to read anything when this happens.
* Follow API changes in D538Alan Zimmerman2015-01-238-69/+61
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6)
* Track naming change in DataConSimon Peyton Jones2015-01-231-3/+3
| | | | (cherry picked from commit 04cf63d0195837ed52075ed7d2676e71831e8a0b)
* Sort out some module import warningsMateusz Kowalczyk2015-01-223-4/+1
|
* --package-name and --package-version flagsMateusz Kowalczyk2015-01-223-25/+53
| | | | | | Used for --hoogle amongst other things. Now we need to teach cabal to use it. The situation is still a bit sub-par because if the flags aren't passed in, the crash will occur. Closes #353.
* Links to source location of class instance definitionsjpmoresmau2015-01-227-32/+62
|
* bump haddock-api ghc dependency to allow release candidate and first releaseLuite Stegeman2015-01-051-1/+1
|
* Add missing import for standalone haddock-api packageLuite Stegeman2014-12-221-0/+1
|
* hide projectVersion from DynFlags since it clashes with ↵Luite Stegeman2014-12-191-1/+1
| | | | Haddock.Version.projectVersion
* Print missing docs by defaultMateusz Kowalczyk2014-12-182-4/+4
| | | | Adds --no-print-missing-docs
* Fix dependency versionMateusz Kowalczyk2014-12-181-1/+1
|
* Only keep one Version instead of blindly appendingMateusz Kowalczyk2014-12-171-3/+3
|
* Treat GHC 7.10 the same as GHC 7.9Herbert Valerio Riedel2014-12-141-1/+1
| | | | ...since the current GHC 7.9 is going to become GHC 7.10 real-soon-now anyway
* Remove redundant wild-card pattern matchHerbert Valerio Riedel2014-12-141-1/+0
| | | | (this would otherwise cause a build-failure with `-Werror`)
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-126-21/+9
|
* For pattern synonyms, render "pattern" as a keywordDr. ERDI Gergo2014-12-121-1/+1
|