aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adjust to new HsDocString internalsSimon Jakobi2018-05-312-11/+11
|
* Account for refactoring of LitStringBen Gamari2018-05-131-9/+1
|
* Use the response file utilities defined in `base` (#821)Chaitanya Koparkar2018-05-106-222/+5
| | | | | | Summary: The response file related modules were recently copied from `haddock` into `base`. This patch removes them from `haddock`. GHC Trac Issues: #13896
* Match changes in GHC for TTGAlan Zimmerman2018-04-2713-299/+386
|
* Bump upper bound on base to < 4.13Ryan Scott2018-04-194-6/+6
| | | | See https://ghc.haskell.org/trac/ghc/ticket/15018.
* Match GHC for TTG implemented on HsBinds, D4581Alan Zimmerman2018-04-1311-79/+86
|
* Match GHC changes for TTGAlan Zimmerman2018-04-0911-269/+343
|
* Match changes in GHC for D4199Alan Zimmerman2018-04-072-2/+3
| | | | Removing HasSourceText and SourceTextX classes.
* Updates for #13324Ryan Scott2018-03-061-1/+1
|
* Haddock: support splitted include paths. (#689)Tamar Christina2018-02-191-1/+3
|
* Use withBinaryFilealexbiehl2018-02-181-1/+1
|
* QuickJump: Mitigate encoding problems on Windowsalexbiehl2018-02-181-4/+5
| | | | (cherry picked from commit 86292c54bfee2343aee84559ec01f1fc68f52231)
* Merge remote-tracking branch 'harpocrates/fix/missing-orphan-instances' into ↵Ben Gamari2018-01-262-1/+15
|\ | | | | | | ghc-head
| * Update the GblRdrEnv when processing modulesAlec Theriault2018-01-151-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-01-061-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
| |
* | extractDecl: Extract associated types correctly (#736)Alexander Biehl2018-01-191-11/+21
| |
* | Fix #732 (#733)Ryan Scott2018-01-191-2/+2
| |
* | Constructor and pattern synonym argument docs (#709)Alec Theriault2018-01-136-353/+595
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support Haddocks on constructor arguments This is in conjunction with https://phabricator.haskell.org/D4094. Adds support for rendering Haddock's on (non-record) constructor arguments, both for regular and GADT constructors. * Support haddocks on pattern synonym arguments It appears that GHC already parsed these - we just weren't using them. In the process of doing this, I tried to deduplicate some code around handling patterns. * Update the markup guide Add some information about the new support for commenting constructor arguments, and mention pattern synonyms and GADT-style constructors. * Overhaul LaTeX support for data/pattern decls This includes at least * fixing several bugs that resulted in invalid LaTeX * fixing GADT data declaration headers * overhaul handling of record fields * overhaul handling of GADT constructors * overhaul handling of bundled patterns * add support for constructor argument docs * Support GADT record constructors This means changes what existing HTML docs look like. As for LaTeX, looks like GADT records were never even supported. Now they are. * Clean up code/comments Made code/comments consistent between the LaTeX and XHTML backend when possible. * Update changelog * Patch post-rebase regressions * Another post-rebase change We want return values to be documentable on record GADT constructors.
* Track changes to follow Trac #14529Simon Peyton Jones2017-12-078-153/+105
| | | | This tracks the refactoring of HsDecl.ConDecl.
* Update changelogAlexander Biehl2017-12-061-1/+1
|
* Bump GHC versionBen Gamari2017-12-042-2/+2
|
* 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
| |
| * Add QuickJump version to meta.json (#696)Alexander Biehl2017-10-304-5/+11
| |
| * Fix tiny typo in docs (#693)Veronika Romashkina2017-10-241-1/+1
| |