aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends
Commit message (Collapse)AuthorAgeFilesLines
* abbreviated qualification: use Packages.lookupModuleInAllPackages for ↵Henning Thielemann2012-04-021-1/+1
| | | | finding the package that a module belongs to
* 'abbreviate' qualification style - basic supportHenning Thielemann2012-04-012-7/+18
| | | | | Currently we ignore the package a module is imported from. This means that a module import would shadow another one with the same module name from a different package.
* add QualOption type for distinction between qualification argument given by ↵Henning Thielemann2012-04-012-15/+7
| | | | | the user and the actual qualification for a concrete module
* Fix crash when using --qual. Naughty GHC API!David Waern2012-04-011-1/+4
|
* Mostly hlint-inspired cleanup.David Waern2012-02-044-41/+38
|
* Remove code for older ghc versions.David Waern2012-02-041-4/+0
|
* Style police.David Waern2012-02-041-2/+2
|
* Merge branch 'fix-for-186' of https://github.com/sol/haddock into ghc-7.4David Waern2012-02-043-11/+11
|\
| * Make sure that generated xhtml is valid (close #186)Simon Hengel2012-01-123-11/+11
| | | | | | | | Thanks to Phyx.
* | Remove obsolete TODOSimon Hengel2012-02-041-1/+0
| |
* | Add DocWarning to DocSimon Hengel2012-02-043-0/+3
|/ | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis.
* Fix module reference bug.David Waern2011-11-262-5/+4
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-265-80/+95
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-263-39/+14
| | | | | | | | | | | 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.
* Follow changes to tuple sorts in masterJose Pedro Magalhaes2011-11-162-4/+4
|
* New kind-polymorphic coreJose Pedro Magalhaes2011-11-113-22/+29
| | | | | | | | | 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
* Add safe haskell indication to haddock outputDavid Terei2011-10-121-1/+2
|
* Follow changes to ForeignImport/ForeignExport in GHCIan Lynagh2011-10-012-3/+3
|
* Merge branch 'development'David Waern2011-10-011-2/+5
|\
| * 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 branch 'no-pred-ty'Max Bolingbroke2011-09-093-37/+30
|\ \ | | | | | | | | | | | | Conflicts: src/Haddock/Convert.hs
| * | Adapt Haddock for the ConstraintKind extension changesMax Bolingbroke2011-09-063-37/+30
| |/
* / Ignore associated type defaults (just as we ignore default methods)Max Bolingbroke2011-09-092-5/+5
|/
* Fix buildIan Lynagh2011-06-174-5/+12
|
* * Merge in git patch from Michal TerepetaDavid Waern2011-06-115-82/+103
| | | | | | | | | | | | | | | | 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-102-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Put title outside doc div when HTML:fying title+prologueDavid Waern2011-01-221-1/+1
| | | | | Avoids indenting the title, and makes more sense since the title is not a doc string anyway.
* Write hoogle output in utf8; fixes GHC build on WindowsIan Lynagh2011-01-051-3/+5
|
* Haddockify ppHtml commentsDavid Waern2010-12-061-11/+11
|
* Add a flag --pretty-html for rendering indented html with newlinesDavid Waern2010-12-062-23/+28
|
* Re-order functionsDavid Waern2010-11-201-8/+8
|
* Re-structure qualification code a littleDavid Waern2010-11-201-20/+19
|
* add full qualification for undocumented namestob.brandt2010-11-201-3/+2
|
* hlint policeDavid Waern2010-11-166-20/+20
|
* hlint policeDavid Waern2010-11-161-19/+17
|
* Remove docNameOcc under the motto "don't name compositions"David Waern2010-11-153-17/+17
|
* Fix bad mergeDavid Waern2010-11-151-1/+1
|
* Remove code for ghc < 7David Waern2010-11-152-25/+0
|
* Solve conflictDavid Waern2010-11-141-1/+2
|
* Adapt to minor changes in internal GHC functionssimonpj2010-09-132-1/+2
|
* Change to index pages: include an 'All' option even when subdividing A-Z.rrnewton2010-10-241-5/+10
|
* Style policeDavid Waern2010-10-161-0/+4
|
* Use "qual" as an abbreviation for qualification instead of "quali" for ↵David Waern2010-10-165-197/+197
| | | | consistency
* Solve conflictsDavid Waern2010-10-162-14/+17
|
* adding support for local and relative name qualificationTobias Brandt2010-08-272-8/+37
|
* adding the option to fully qualify identifiersTobias Brandt2010-08-275-251/+283
|
* make TOC group header identifiers validateMark Lentczner2010-09-042-2/+10
|
* Replace ghci> with >>> in example syntaxDavid Waern2010-09-011-1/+1
|
* make portability block be a table - solves layout issuesMark Lentczner2010-08-291-4/+5
|
* Add source entity path to --read-interfaceDavid Waern2010-08-292-5/+11
| | | | | | | | | | | | | You can now use this flag like this: --read-interface=<html path>,<source entity path>,<.haddock file> By "source entity path" I mean the same thing that is specified with the --source-entity flag. The purpose of this is to be able to specify the source entity path per package, to allow source links to work in the presence of cross-package documentation. When given two arguments or less the --read-interface flag behaves as before.