Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Filter RTS arguments from 'ghc-options' arguments (#725) | Alec Theriault | 2018-02-01 | 1 | -2/+15 |
| | | | This fixes #666. | ||||
* | Use the GHC lexer for the Hyperlinker backend (#714) | Alec Theriault | 2018-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Merge remote-tracking branch 'origin/master' into ghc-head | alexbiehl | 2017-10-31 | 1 | -7/+30 |
|\ | |||||
| * | Reexported modules: Report warnings if argument cannot be parsed or | alexbiehl | 2017-10-31 | 1 | -7/+10 |
| | | | | | | | | ... module cannot be found | ||||
| * | Supported reexported-modules via --reexport flag. | Edward Z. Yang | 2017-10-31 | 1 | -1/+19 |
| | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> | ||||
| * | Put Quickjump behind --quickjump flag (#697) | Alexander Biehl | 2017-10-30 | 1 | -5/+7 |
| | | |||||
| * | Add QuickJump version to meta.json (#696) | Alexander Biehl | 2017-10-30 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/ghc-head' into HEAD | alexbiehl | 2017-10-08 | 1 | -4/+17 |
|\ \ | |/ |/| | |||||
| * | Merge remote-tracking branch 'origin/master' into ghc-head | alexbiehl | 2017-08-21 | 1 | -18/+29 |
| |\ | |||||
| * | | Disable pattern match warnings (#628) | Doug Wilson | 2017-06-03 | 1 | -3/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This disables the pattern match checker which can be very expensive in some cases. The disabled warnings include: * Opt_WarnIncompletePatterns * Opt_WarnIncompleteUniPatterns * Opt_WarnIncompletePatternsRecUpd * Opt_WarnOverlappingPatterns | ||||
| * | | Haddock: Fix broken lazy IO in prologue reading (#615) | Ben Gamari | 2017-05-12 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | We previously used withFile in conjunction with hGetContents. The list returned by the latter wasn't completely forced by the time we left the withFile block, meaning that we would try to read from a closed handle. | ||||
| * | | Merge pull request #568 from awson/ghc-head | Alex Biehl | 2017-03-23 | 1 | -1/+1 |
| |\ \ | | | | | | | | | Prevent GHC API from doing optimization passes. | ||||
| | * | | Prevent GHC API from doing optimization passes. | Kyrill Briantsev | 2017-01-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge commit '240bc38b94ed2d0af27333b23392d03eeb615e82' into HEAD | Ben Gamari | 2017-03-23 | 1 | -1/+1 |
| |\ \ \ | |||||
* | | | | | Write meta.json when generating html output (#676) | Alexander Biehl | 2017-08-30 | 1 | -2/+4 |
| |_|_|/ |/| | | | |||||
* | | | | Provide --show-interface option to dump interfaces (#645) | Alexander Biehl | 2017-08-06 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: Provide --show-interface option to dump interfaces Like ghcs own --show-iface this flag dumps a binary interface file to stdout in a human (and machine) readable fashion. Currently it uses json as output format. * Fill all the jsonNull stubs * Rework Bifunctor instance of DocH, update changelog and documentation * replace changelog, bring DocMarkupH doc back * Update CHANGES.md * Update CHANGES.md * Move Control.Arrow up It would result in unused import if the Bifunctor instance is not generated. | ||||
* | | | | Make haddock-library and haddock-api warning free (#626) | Alex Biehl | 2017-05-30 | 1 | -6/+6 |
| | | | | |||||
* | | | | Haddock: Fix broken lazy IO in prologue reading (#615) | Alex Biehl | 2017-05-12 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | We previously used withFile in conjunction with hGetContents. The list returned by the latter wasn't completely forced by the time we left the withFile block, meaning that we would try to read from a closed handle. | ||||
* | | | | Improve error message | Sergey Vinokurov | 2017-04-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Travis: Use ghc-8.2.1 on master | alexbiehl | 2017-04-25 | 1 | -9/+16 |
| | | | | |||||
* | | | | Prevent GHC API from doing optimization passes. | Kyrill Briantsev | 2017-04-11 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'ghc-head' | Ben Gamari | 2017-03-10 | 1 | -13/+11 |
|\| | | | |/ / |/| | | |||||
| * | | Kill remaining static flags | Ben Gamari | 2017-02-02 | 1 | -12/+2 |
| |/ | |||||
| * | haddock-api: Don't use stdcall calling convention on 64-bit Windows | Ben Gamari | 2016-12-09 | 1 | -1/+9 |
| | | | | | | | | See GHC #12890. | ||||
* | | do not create empty src directory | Sebastian Meric de Bellefon | 2016-06-22 | 1 | -1/+1 |
|/ | | | | Fix #536. | ||||
* | Use -fprint-unicode-syntax when --use-unicode is enabled | Ben Gamari | 2016-02-08 | 1 | -4/+7 |
| | | | | | This allows GHC to render `*` as its Unicode representation, among other things. | ||||
* | Make sure --mathjax affects all written HTML files | Joachim Breitner | 2016-01-19 | 1 | -1/+1 |
| | | | | This fixes #475. | ||||
* | Fix the documentation for haddock itself. | Dominic Steinitz | 2015-12-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | Change notation and add support for inline math. Allow newlines in display math. Add a command line option for the mathjax url (you might want to use a locally installed version). Rebase tests because of extra url and version change. Respond to (some of the) comments. Fix warnings in InterfaceFile.hs | ||||
* | Changes to compile with 8.0 | Matthew Pickering | 2015-12-14 | 1 | -1/+1 |
| | |||||
* | s/PackageKey/UnitId/g and s/packageKey/unitId/g | Edward Z. Yang | 2015-12-14 | 1 | -3/+3 |
| | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> | ||||
* | Create Process: removed PhaseFailed | Tamar Christina | 2015-12-14 | 1 | -5/+2 |
| | |||||
* | Override source line flags when source hyperlinker is enabled. | Łukasz Hanuszczak | 2015-08-02 | 1 | -2/+7 |
| | |||||
* | Add support for hyperlinking modules in import lists. | Łukasz Hanuszczak | 2015-07-06 | 1 | -1/+1 |
| | |||||
* | Fix bug where not all module interfaces were added to source mapping. | Łukasz Hanuszczak | 2015-07-05 | 1 | -2/+4 |
| | |||||
* | Refactor source path mapping to use modules as indices. | Łukasz Hanuszczak | 2015-07-05 | 1 | -10/+17 |
| | |||||
* | Make Haddock generate warnings about potential misuse of hyperlinker. | Łukasz Hanuszczak | 2015-07-04 | 1 | -0/+30 |
| | |||||
* | Make hyperlinker respect pretty-printer flag and add documentation. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | Make Haddock generate source for all interfaces (also hidden ones). | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | Add basic support for cross-package hyperlink generation. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | Rewrite source generation to fixed links and directory structure. | Łukasz Hanuszczak | 2015-06-30 | 1 | -6/+5 |
| | |||||
* | Make external hyperlinks point to locations specified by source URLs. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+6 |
| | |||||
* | Make source hyperlinker generate output in apropriate directory. | Łukasz Hanuszczak | 2015-06-30 | 1 | -2/+8 |
| | |||||
* | Add support for providing custom CSS files for hyperlinked source. | Łukasz Hanuszczak | 2015-06-30 | 1 | -1/+2 |
| | |||||
* | Create hyperlinker module and plug it into the Haddock pipeline. | Łukasz Hanuszczak | 2015-06-30 | 1 | -0/+4 |
| | |||||
* | Make the error encountered when a package can't be found more | Ben Gamari | 2015-03-25 | 1 | -12/+21 |
| | | | | | | user-friendly Closes #369 | ||||
* | --package-name and --package-version flags | Mateusz Kowalczyk | 2015-01-22 | 1 | -3/+24 |
| | | | | | | 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. | ||||
* | Add missing import for standalone haddock-api package | Luite Stegeman | 2014-12-22 | 1 | -0/+1 |
| | |||||
* | hide projectVersion from DynFlags since it clashes with ↵ | Luite Stegeman | 2014-12-19 | 1 | -1/+1 |
| | | | | Haddock.Version.projectVersion | ||||
* | Properly render package ID (not package key) in index, fixes #329. | Edward Z. Yang | 2014-12-12 | 1 | -2/+2 |
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: haddock-api/src/Haddock/ModuleTree.hs | ||||
* | Changes due to ghc api changes in package representation | Duncan Coutts | 2014-12-12 | 1 | -5/+8 |
| | | | | | | | | | | 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 |