aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Convert: Correct pass typeAlexander Biehl2018-02-011-2/+1
| |
| * Specialize: Add missing IdP annotationsAlexander Biehl2018-02-011-2/+2
| |
| * Hyperlinker: Adjust parser to new PFailed constructorAlexander Biehl2018-02-011-8/+8
| |
| * Quickjump Scrollable overlayAlexander Biehl2018-02-011-2/+2
| |
| * Filter RTS arguments from 'ghc-options' arguments (#725)Alec Theriault2018-02-011-2/+15
| | | | | | This fixes #666.
| * Fix infinite loop when specializing instance heads (#723)Alec Theriault2018-02-013-10/+230
| | | | | | | | | | | | | | | | | | * Fix infinite loop when specializing instance heads The bug can only be triggered from TH, hence why it went un-noticed for so long. * Add test for #679 and #710
| * Add grid table example to cheatsheetAlexander Biehl2018-02-011-0/+17
| | | | | | (pdf and svg need to be regenerated thought)
| * Grid Tables (#718)Oleg Grenrus2018-02-0129-7/+996
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add table examples * Add table types and adopt simple parser Simple parser is done by Giovanni Cappellotto (@potomak) in https://github.com/haskell/haddock/pull/577 It seems to support single fine full tables, so far from full RST-grid tables, but it's good start. Table type support row- and colspans, but obviously parser is lacking. Still TODO: - Latex backend. Should we use multirow package https://ctan.org/pkg/multirow?lang=en? - Hoogle backend: ? * Implement grid-tables * Refactor table parser * Add two ill-examples * Update CHANGES.md * Basic documentation for tables * Fix documentation example
| * Include secondary LICENSE file in source distHerbert Valerio Riedel2018-02-011-1/+2
| |
| * Patch flaky parser test (#720)Alec Theriault2018-02-011-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | * Patch flaky parser test This test was a great idea, but it doesn't port over too well to using the GHC lexer. GHC rewrites its input a bit - nothing surprising, but we need to guard against those cases for the test. * Change instance head * Change use site
| * Add simple framework for running parser fixtures (#668)Oleg Grenrus2018-02-0110-0/+190
| | | | | | | | | | | | | | | | | | | | | | * Add simple framework for running parser fixtures * Compatible with tree-diff-0.0.0.1 * Use parseParas to parse fixtures This allows to test all syntactic constructs available in haddock markup.
| * Take until line feedalexbiehl2018-02-011-1/+1
| |
| * Remove scanner, takeWhile1_ already takes care of escapingalexbiehl2018-02-011-14/+1
| |
| * Treat escaped \] better in definition lists (#717)Alexander Biehl2018-02-013-1/+342
| | | | | | This fixes #546.
| * Quickjump: Matches on function names weight more than matches in ...alexbiehl2018-02-013-3/+11
| | | | | | | | module names.
| * Clickable anchors for headings (#716)Alec Theriault2018-02-016-59/+110
| | | | | | | | See #579. This just adds an <a> tag around the heading, pointing to the heading itself.
| * Use the GHC lexer for the Hyperlinker backend (#714)Alec Theriault2018-02-0110-312/+522
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Fix #548 by rendering datatype kinds more carefully (#702)Ryan Scott2018-02-014-3/+629
| |
| * Update the GblRdrEnv when processing modulesAlec Theriault2018-02-011-0/+14
| | | | | | | | | | Without a complete environment, we will miss some instances that were encountered during typechecking.
| * Pass to GHC visible modules for instance filteringAlec Theriault2018-02-011-1/+1
| | | | | | | | | | | | | | | | | | The GHC-side `getNameToInstancesIndex` filters out incorrectly some instances because it is not aware of what modules are visible. On the Haddock side, we need to pass in the modules we are processing. On the GHC side, we need to check against _those_ modules when checking if an instance is visible.
| * Fix duplicate declarations and TypeFamilies specificsalexbiehl2018-01-201-17/+29
| |
| * haddock-api: bump ghc to ^>= 8.4alexbiehl2018-01-201-2/+2
| |
| * extractDecl: Extract associated types correctly (#736)Alexander Biehl2018-01-191-11/+21
| |
| * Bump GHC bound to 8.4.*Ben Gamari2017-12-041-1/+1
|/
* Revert "Match changes for Trees that Grow in GHC"Ben Gamari2017-11-2111-300/+262
| | | | This reverts commit 01eeeb048acd2dd05ff6471ae148a97cf0720547.
* Revert "Match Trees That Grow"Ben Gamari2017-11-213-7/+5
| | | | This reverts commit 73a26af844ac50b8bec39de11d64452a6286b00c.
* Revert "Match Trees that Grow in GHC for HsExpr"Ben Gamari2017-11-211-2/+2
| | | | This reverts commit 9f054dc365379c66668de6719840918190ae6e44.
* Revert "Clean up use of PlaceHolder, to match TTG"Ben Gamari2017-11-218-49/+46
| | | | This reverts commit 134a7bb054ea730b13c8629a76232d73e3ace049.
* Add autogen-modules (#706)Moritz Angermann2017-11-201-0/+4
| | | | | > Packages using 'cabal-version: >= 1.25' and the autogenerated module Paths_* must include it also on the 'autogen-modules' field besides 'exposed-modules' and 'other-modules'. This specifies that the module does not come with the package and is generated on setup. Modules built with a custom Setup.hs script also go here to ensure that commands like sdist don't fail. # Conflicts: # haddock.cabal
* Drop Paths_haddock from ghc.mk (#707)Moritz Angermann2017-11-201-2/+0
| | | | | With #705 and #706, the custom addition should not be necessary any more. # Conflicts: # ghc.mk
* Declare use of `Paths_haddock` module in other-modules (#705)Moritz Angermann2017-11-201-0/+2
| | | This was detected by `-Wmissing-home-modules`
* Clean up use of PlaceHolder, to match TTGAlan Zimmerman2017-11-148-46/+49
|
* Actually render infix type operators as infix (#703)Ryan Scott2017-11-141-6/+17
| | | | | | * Actually render infix type operators as infix * Account for things like `(f :*: g) p`, too
* Match Trees that Grow in GHC for HsExprAlan Zimmerman2017-11-111-2/+2
|
* Match Trees That GrowAlan Zimmerman2017-11-083-5/+7
|
* Match changes for Trees that Grow in GHCAlan Zimmerman2017-11-0711-258/+296
|
* Always return documentation for exported subordinatesalexbiehl2017-11-021-12/+17
| | | | | | | ... event if they have no documentation (e.g. noDocForDecl) By using the information in the AvailInfo we don't need additional export checks.
* Make better use of AvailInfoalexbiehl2017-11-011-57/+72
|
* Remove excessive use of list comprehensionsalexbiehl2017-10-311-12/+7
|
* fullModuleContents traverses exports in declaration orderalexbiehl2017-10-311-6/+11
|
* Merge remote-tracking branch 'origin/master' into ghc-headalexbiehl2017-10-3189-2619/+3079
|\
| * Remote tabalexbiehl2017-10-311-2/+1
| |
| * More general type for nameCacheFromGhc. (#539)Carlo Hamalainen2017-10-311-1/+1
| |
| * Reexported modules: Report warnings if argument cannot be parsed oralexbiehl2017-10-311-7/+10
| | | | | | | | ... module cannot be found
| * Copy quickjump.css for nicer error messagesalexbiehl2017-10-311-3/+3
| |
| * Correct missing title in changelogalexbiehl2017-10-311-1/+1
| |
| * Supported reexported-modules via --reexport flag.Edward Z. Yang2017-10-315-30/+57
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
| * Decrease threshold for fuzzy matchingalexbiehl2017-10-303-3/+3
| |
| * Add build command to package.jsonalexbiehl2017-10-301-1/+2
| |
| * Put Quickjump behind --quickjump flag (#697)Alexander Biehl2017-10-304-20/+28
| |