aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that generated xhtml is valid (close #186)Simon Hengel2012-01-123-11/+11
| | | | Thanks to Phyx.
* Minor fixes and cleanup.David Waern2011-12-282-61/+60
|
* Complete support for inferring types for top-level bindings.David Waern2011-12-271-32/+44
|
* Wibbles.David Waern2011-12-271-24/+23
|
* Cleanup.David Waern2011-12-271-39/+12
|
* Get rid of quite unnecessary use of different lists.David Waern2011-12-271-33/+14
|
* Merge ../../../haddockDavid Waern2011-12-277-349/+252
|\ | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs
| * Go back to having a doc, sub and decl map instead of one big decl map.David Waern2011-12-276-155/+149
| | | | | | | | | | | | | | | | | | 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-033-129/+94
| | | | | | | | | | | | | | | | - 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.
* | Update dependencies and binaryInterfaceVersionIan Lynagh2011-12-121-0/+4
|/
* Fix module reference bug.David Waern2011-11-263-9/+4
|
* Cleanup.David Waern2011-11-262-121/+79
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-2610-146/+212
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-269-65/+38
| | | | | | | | | | | 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-255-16/+0
|
* Add flag --interface-version.David Waern2011-11-252-1/+4
|
* Remove redundant importsSimon Peyton Jones2011-11-171-1/+1
|
* Follow changes to tuple sorts in masterJose Pedro Magalhaes2011-11-163-6/+6
|
* New kind-polymorphic coreJose Pedro Magalhaes2011-11-115-36/+58
| | | | | | | | | 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-062-40/+5
|
* Merge https://github.com/rrnewton/haddockDavid Waern2011-11-061-3/+24
|\
| * Improved declNames internal error. Added a case to handle DocD.Ryan Newton2011-11-051-3/+24
| |
* | Merge branch 'master' of http://darcs.haskell.org/haddockDavid Waern2011-11-0611-149/+132
|\|
| * Merge branch 'development'David Waern2011-10-221-7/+3
| |\
| * | Add safe haskell indication to haddock outputDavid Terei2011-10-126-16/+28
| | |
| * | Follow changes to ForeignImport/ForeignExport in GHCIan Lynagh2011-10-016-11/+11
| | |
| * | Merge branch 'master' of http://darcs.haskell.org/haddockDavid Waern2011-10-011-20/+35
| |\ \
| | * | Follow changes to BinIface Name serializationMax Bolingbroke2011-09-271-20/+35
| | | |
| * | | Merge branch 'development'David Waern2011-10-012-7/+9
| |\ \ \ | | |/ / | |/| |
| * | | Replace FactTuple with ConstraintTupleMax Bolingbroke2011-09-091-3/+3
| | | |
| * | | Merge branch 'no-pred-ty'Max Bolingbroke2011-09-098-115/+75
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/Haddock/Convert.hs
| | * | | Adapt Haddock for the ConstraintKind extension changesMax Bolingbroke2011-09-068-106/+73
| | | | |
| * | | | Ignore associated type defaults (just as we ignore default methods)Max Bolingbroke2011-09-094-10/+18
| |/ / /
| * | | Hack this to make it work with both Alex 2.x and Alex 3.x. Unicode inSimon Marlow2011-08-111-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation strings is (still) mangled. I don't think it's possible to make it so that we get the current behaviour with Alex 2.x but magic Unicode support if you use Alex 3.x. At some point we have to decide that Alex 3.x is a requirement, then we can do Unicode.
* | | | Add --print-ghc-path.David Waern2011-10-271-0/+3
| |_|/ |/| |
* | | Bump .haddock file version since the format has changed recentlyDavid Waern2011-10-221-7/+3
| | |
* | | Add safe haskell indication to haddock outputDavid Terei2011-10-126-16/+28
| | |
* | | Hack this to make it work with both Alex 2.x and Alex 3.x. Unicode inSimon Marlow2011-10-041-2/+32
| |/ |/| | | | | | | | | | | documentation strings is (still) mangled. I don't think it's possible to make it so that we get the current behaviour with Alex 2.x but magic Unicode support if you use Alex 3.x. At some point we have to decide that Alex 3.x is a requirement, then we can do Unicode.
* | Merge in darcs patch:David Waern2011-10-011-2/+5
| | | | | | | | | | | | | | | | | | | | Joachim Breitner <mail@joachim-breitner.de>**20110619201645 Ignore-this: f6c51228205b0902ad5bfad5040b989a As reported on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578301, generating the global index takes much too long if type-level (with lots of auto-generated types) is installed. The patch avoids a quadratic runtime in the subfunction getIfaceIndex of ppHtmlIndex by using a temporary set. Runtime improvement observed here from 25.36s to 2.86s.
* | Merge in darcs patch from Simon Meier:David Waern2011-10-011-5/+4
|/ | | | | | | | | | Wed Jun 1 19:41:16 CEST 2011 iridcode@gmail.com * prettier haddock coverage info The new coverage info rendering uses less horizontal space. This reduces the number of unnecessary line-wrappings. Moreover, the most important information, how much has been documented already, is now put up front. Hopefully, this makes it more likely that a library author is bothered by the low coverage of his modules and fixes that issue ;-)
* Bump GHC dep to allow 7.2Ian Lynagh2011-06-261-0/+4
|
* Fix buildIan Lynagh2011-06-178-14/+27
|
* * Merge in git patch from Michal TerepetaDavid Waern2011-06-1110-122/+194
| | | | | | | | | | | | | | | | 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-106-18/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.