aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup.David Waern2011-12-271-39/+12
|
* Get rid of quite unnecessary use of different lists.David Waern2011-12-271-33/+14
|
* Go back to having a doc, sub and decl map instead of one big decl map.David Waern2011-12-273-136/+124
| | | | | | | | | This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer.
* More cleanup.David Waern2011-12-032-65/+25
|
* Cleanup.David Waern2011-12-031-27/+11
|
* Slightly better behaviour on top-levels without type signatures.David Waern2011-12-031-127/+76
| | | | | | | | - Docs don't get attached to the next top-level with signature by mistake. - If there's an export list and the top-level is part of it, its doc comment shows up in the documentation.
* Cleanup.David Waern2011-11-262-121/+79
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-262-9/+27
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-262-16/+13
| | | | | | | | | | | renaming time. Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a.
* Remove #ifs for older compiler versions.David Waern2011-11-252-8/+0
|
* New kind-polymorphic coreJose Pedro Magalhaes2011-11-111-7/+20
| | | | | | | | | This big patch implements a kind-polymorphic core for GHC. The current implementation focuses on making sure that all kind-monomorphic programs still work in the new core; it is not yet guaranteed that kind-polymorphic programs (using the new -XPolyKinds flag) will work. For more information, see http://haskell.org/haskellwiki/GHC/Kinds
* Fix build.David Waern2011-11-061-1/+1
|
* Use getDeclMainBinder instead of declNames.David Waern2011-11-061-33/+4
|
* Improved declNames internal error. Added a case to handle DocD.Ryan Newton2011-11-051-3/+24
|
* Add safe haskell indication to haddock outputDavid Terei2011-10-123-14/+21
|
* Follow changes to ForeignImport/ForeignExport in GHCIan Lynagh2011-10-013-6/+6
|
* Merge branch 'no-pred-ty'Max Bolingbroke2011-09-093-28/+7
|\ | | | | | | | | Conflicts: src/Haddock/Convert.hs
| * Adapt Haddock for the ConstraintKind extension changesMax Bolingbroke2011-09-063-28/+7
| |
* | Ignore associated type defaults (just as we ignore default methods)Max Bolingbroke2011-09-091-2/+3
|/
* Fix buildIan Lynagh2011-06-171-1/+1
|
* * Merge in git patch from Michal TerepetaDavid Waern2011-06-112-26/+42
| | | | | | | | | | | | | | | | From 6fc71d067738ef4b7de159327bb6dc3d0596be29 Mon Sep 17 00:00:00 2001 From: Michal Terepeta <michal.terepeta@gmail.com> Date: Sat, 14 May 2011 19:18:22 +0200 Subject: [PATCH] Follow the change of TypeSig in GHC. This follows the change in GHC to make TypeSig take a list of names (instead of just one); GHC ticket #1595. This should also improve the Haddock output in case the user writes a type signature that refers to many names: -- | Some comment.. foo, bar :: ... will now generate the expected output with one signature for both names.
* Add git commits since switchover:David Waern2011-06-103-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | darcs format (followed by a conflict resolution): commit 6f92cdd12d1354dfbd80f8323ca333bea700896a Merge: f420cc4 28df3a1 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Thu May 19 17:54:34 2011 +0100 Merge remote branch 'origin/master' into ghc-generics commit 28df3a119f770fdfe85c687dd73d5f6712b8e7d0 Author: Max Bolingbroke <batterseapower@hotmail.com> Date: Sat May 14 22:37:02 2011 +0100 Unicode fix for getExecDir on Windows commit 89813e729be8bce26765b95419a171a7826f6d70 Merge: 6df3a04 797ab27 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 9 11:55:17 2011 +0100 Merge branch 'ghc-new-co' commit 6df3a040da3dbddee67c6e30a892f87e6b164383 Author: Ian Lynagh <igloo@earth.li> Date: Sun May 8 17:05:50 2011 +0100 Follow changes in SDoc commit f420cc48b9259f0b1afd2438b12f9a2bde57053d Author: Jose Pedro Magalhaes <jpm@cs.uu.nl> Date: Wed May 4 17:31:52 2011 +0200 Adapt haddock to the removal of HsNumTy and TypePat. commit 797ab27bdccf39c73ccad374fea265f124cb52ea Merge: 1d81436 5a91450 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 2 12:05:03 2011 +0100 Merge remote branch 'origin/master' into ghc-new-co commit 1d8143659a81cf9611668348e33fd0775c7ab1d2 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 2 12:03:46 2011 +0100 Wibbles for ghc-new-co branch commit 5a91450e2ea5a93c70bd3904b022445c9cc82488 Author: Ian Lynagh <igloo@earth.li> Date: Fri Apr 22 00:51:56 2011 +0100 Follow defaultDynFlags change in GHC
* IndentationDavid Waern2011-05-221-14/+14
|
* Fix some stylistic issues in mkExportItemsDavid Waern2011-05-221-19/+11
|
* Break out fullContentsOf, give it a better name and some documentationDavid Waern2011-05-221-22/+46
| | | | | The documentation describes how we want this function to eventually behave, once we have fixed a few problems with the current implementation.
* Fix a bugDavid Waern2011-05-221-3/+3
|
* We don't need to send DocOptions nor a flag to mkExportItemsDavid Waern2011-05-221-9/+9
|
* Improve a haddock commentDavid Waern2011-05-211-2/+2
|
* Fix build with ghc 7.0.1David Waern2011-03-101-0/+4
|
* Update Haddock to reflect change in hs_tyclds field of HsGroupsimonpj2011-01-101-7/+7
|
* Make a little more use of DoAndIfThenElseDavid Waern2010-11-161-47/+46
|
* follow changes in the GHC APISimon Marlow2010-10-271-2/+9
|
* print haddock coverage info on stdout when generating docsSimon Michael2010-09-221-2/+10
| | | | | | A module's haddockable items are its exports and the module itself. The output is lightly formatted so you can align the :'s and sort for readability.
* Get rid of GhcModule and related cruftDavid Waern2010-08-261-15/+18
| | | | We can get everything we need directly from TypecheckedModule.
* Fix a bug in attachInstancesDavid Waern2010-07-041-18/+39
| | | | | | | We didn't look for instance docs in all the interfaces of the package. This had the effect of instance docs not always showing up under a declaration. I took the opportunity to clean up the code in H.I.AttachInstances a bit as well. More cleanup is needed, however.
* Unresolved identifiers in Doc get replaced with DocMonospacedSimon Marlow2010-06-231-1/+1
| | | | rather than plain strings
* isLocalAndTypeInferenced: fix for local module names overlapping package modulesSimon Marlow2010-06-221-2/+6
|
* Position the module header the same way everywhereDavid Waern2010-05-137-9/+0
| | | | Silly, but nice with some consistency :-)
* ModuleMap -> IfaceMapDavid Waern2010-05-131-4/+4
|
* Fix #112David Waern2010-04-103-36/+40
| | | | | | | | No link was generated for 'Addr#' in a doc comment. The reason was simply that the identifier didn't parse. We were using parseIdentifier from the GHC API, with a parser state built from 'defaultDynFlags'. If we pass the dynflags of the module instead, the right options are turned on on while parsing the identifer (in this case -XMagicHash), and the parse succeeds.
* Propagate source positions from Lex.x to Parse.yDavid Waern2010-04-072-3/+5
|
* Add markup support for interactive examplessimon.hengel2010-04-022-0/+3
|
* Remove unused ifaceLocalsdavid.waern2010-02-241-2/+0
|
* Fix Haddock markup error in commentdavid.waern2010-02-221-1/+1
|
* Follow move of parser and lexerDavid Waern2010-01-221-4/+4
|
* Remove unnecessary (and inexplicable) uses of nubDavid Waern2010-01-221-2/+2
|
* Move H.Interface.Parse/Lex to H.Parse/LexDavid Waern2009-11-283-281/+4
| | | | These are not just used to build Interfaces.
* Rename HsDoc back into DocDavid Waern2009-11-286-30/+30
|
* Remove cruft due to compatibility with older GHCsDavid Waern2009-11-283-36/+2
|
* Remove Name from DocInstanceDavid Waern2009-11-282-4/+3
| | | | It's not used.