aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite much of the index searching code, previously was too slow to execute ↵Neil Mitchell2007-01-121-3/+13
| | | | on the base library with IE, the new version guarantees less than O(log n) operations be performed, where n is the number in the list (before was always O(n))
* Change from tabs to spaces in the ppHtmlIndex functionNeil Mitchell2007-01-111-19/+25
|
* Don't require -B <ghc-libdir> when no argument filesDavid Waern2007-11-112-35/+59
| | | | | | Change readInterfaceFile to take a Maybe Session, to avoid having to pass -B <ghc-libdir> to Haddock when there're no source files to process. This is nice when computing contents/index for external packages.
* Fix a bug that made haddock loopDavid Waern2007-11-111-1/+1
|
* Manual merge of an old patch:David Waern2007-11-111-1/+4
| | | | | | | | | | Thu Apr 19 20:23:40 CEST 2007 Wolfgang Jeltsch <g9ks157k@acme.softbase.org> * bug fix When Haddock was invoked with the --ignore-all-exports flag but the ignore-exports module attribute wasn't used, hyperlinks weren't created for non-exported names. This fix might not be as clean as one would wish (since --ignore-all-exports now results in ignore_all_exports = True *and* an additional OptIgnoreExports option for every module) but at least the bug seems to be resolved now.
* Manual merge of old patch:David Waern2007-11-112-8/+17
| | | | | | Sat Apr 21 04:36:43 CEST 2007 Roberto Zunino <zunrob@users.sf.net> * URL expansion for %%, %L, %{LINE}
* added substitution %{FILE///c}Conal Elliott2007-02-141-0/+3
|
* Fix conflictsDavid Waern2007-11-111-30/+21
|
* Do not create empty tables for data declarations which don't have any ↵Neil Mitchell2007-02-061-9/+23
| | | | constructors, instances or comments. Gets better HTML 4.01 compliance
* Make the index be in case-insensitive alphabetic orderNeil Mitchell2007-01-111-1/+1
|
* Fix conflictsDavid Waern2007-11-111-4/+2
|
* Delete more stuff that is no longer requiredNeil Mitchell2007-01-111-2/+2
|
* Delete dead code, now there is only one index pageNeil Mitchell2007-01-111-26/+0
|
* Add searching on the index pageNeil Mitchell2007-01-111-3/+11
|
* Never do spliting index files into manyNeil Mitchell2007-01-111-12/+1
|
* Rename haddock.js to haddock-util.jsSimon Marlow2006-10-111-1/+1
| | | | | | haddock.js will be run automatically by Windows when you type 'haddock' if it is found on the PATH, so rename to avoid confusion. Spotted by Adrian Hey.
* Fix conflictsDavid Waern2007-11-111-2/+4
|
* Do not generate an empty table if there are no exports, this fixes a ↵Neil Mitchell2006-09-291-6/+6
| | | | <table></table> tag being generated, which is not valid HTML 4.01
* Manual merge of a patch from Duncan Coutts that removes the dependency on mtl David Waern2007-11-114-6/+14
|
* Fix conflictsDavid Waern2007-11-111-3/+7
|
* Eliminate dep on network by doing a little cut'n'pasteDuncan Coutts2006-09-081-10/+31
| | | | | haddock depending on the network causes a circular dependency at least if you want to build the network lib with haddock docs.
* Update copyrightDavid Waern2007-11-111-1/+1
|
* Do some refactoring in the html backendDavid Waern2007-11-113-54/+66
| | | | | | | | | This also merges an old patch by Augustsson: Wed Jul 12 19:54:36 CEST 2006 lennart.augustsson@credit-suisse.com * Print type definitions like signatures if given arrows.
* Remove lDocLinkName and its use in Html backendDavid Waern2007-11-111-5/+1
|
* FIX: contents and index should include external package modules when ↵David Waern2007-11-103-15/+22
| | | | --gen-contents/--gen-index
* Introduce InstalledInterface structure and add more stuff to the .haddock filesDavid Waern2007-11-105-48/+246
| | | | | | | We introduce InstalledInterface capturing the part of Interface that is stored in the interface files. We change the ppHtmlContents and ppHtmllIndex to take this structure instead of a partial Interface. We add stuff like the doc map and exported names to the .haddock file (via InstalledInterface).
* WibbleDavid Waern2007-11-091-2/+2
|
* WibbleDavid Waern2007-11-091-4/+4
|
* Don't exit when there are no file argumentsDavid Waern2007-11-091-1/+0
|
* Complain if we can't link to wired-in namesDavid Waern2007-11-081-1/+1
|
* Remove OrdName stuffDavid Waern2007-11-081-24/+1
|
* Small bugfix and cleanup in getDeclFromTyClsDavid Waern2007-11-081-5/+6
|
* Remove commented-out codeDavid Waern2007-11-081-14/+1
|
* Synch loading of names from .haddock files with GHC's name cacheDavid Waern2007-11-082-12/+16
|
* Filter out all non-vanilla type sigsDavid Waern2007-11-081-10/+13
|
* WibbleDavid Waern2007-11-061-1/+1
|
* Filter out instances with TyCons that are not exportedDavid Waern2007-11-062-10/+23
|
* Don't warn about not being able to link to wired/system/builtin-namesDavid Waern2007-11-051-2/+3
|
* Do full compilation of modules -- temporary fix for GHC API problemDavid Waern2007-11-051-1/+1
|
* Go back to loading only targets (seems to work now)David Waern2007-11-041-39/+14
|
* Don't set boot modules as targetsDavid Waern2007-10-251-4/+7
|
* Make it possible to run haddock on itselfDavid Waern2007-10-242-18/+18
|
* WibbleDavid Waern2007-10-211-0/+6
|
* FIX: Ord for OrdName was not comparing modulesDavid Waern2007-10-211-5/+14
|
* Add some Outputable utilsDavid Waern2007-10-211-0/+11
|
* Add --ghc-version optionDavid Waern2007-10-202-3/+10
|
* Name changesDavid Waern2007-10-182-9/+8
|
* Refactoring -- get rid of Haddock.PackagesDavid Waern2007-10-184-187/+66
|
* Add support for --read-interface againDavid Waern2007-10-184-16/+60
|
* Add --optghc=.. style flag passing to GHCDavid Waern2007-10-173-38/+27
|