aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [haddock @ 2005-02-04 12:15:52 by simonmar]simonmar2005-02-042-3/+5
| | | | | | Add attribute #not-home, to indicate that the current module should not be considered to be a home module for the each entity it exports, unless there is no other module that exports the entity.
* [haddock @ 2005-02-04 12:03:31 by simonmar]simonmar2005-02-041-1/+1
| | | | | Fix bug in renameExportItems that meant links in instances weren't being renamed properly.
* [haddock @ 2005-02-03 16:17:37 by ross]ross2005-02-031-1/+1
| | | | fix typo for < 6.3
* [haddock @ 2005-02-03 13:42:19 by simonmar]simonmar2005-02-031-24/+121
| | | | | | | | | | | | - add --ignore-all-exports flag, which behaves as if every module has the ignore-exports attribute (requested by Chris Ryder). - add --hide option to hide a module on the command line. - add --use-package option to get Haddock info for a package from ghc-pkg (largely untested). - remove reexports from the .haddock file, they aren't used any more.
* [haddock @ 2005-02-02 16:23:00 by simonmar]simonmar2005-02-0210-260/+376
| | | | | | | | | | | | | | | | | | | | | | Revamp the linking strategy in Haddock. Now name resolution is done in two phases: - first resolve everything to original names, like a Haskell compiler would. - then, figure out the "home" location for every entity, and point all the links to there. The home location is the lowest non-hidden module in the import hierarchy that documents the entity. If there are multiple candidates, one is chosen at random. Also: - Haddock should not generate any HTML with dangling links any more. Unlinked references are just rendered as plain text. - Error reporting is better: if we can't find a link destination for an entity reference, we now emit a warning.
* [haddock @ 2005-01-28 23:19:39 by krasimir]krasimir2005-01-281-0/+4
| | | | import Foreign/Foreign.C are required for Windows
* [haddock @ 2005-01-18 10:02:48 by simonmar]simonmar2005-01-181-0/+13
| | | | Add a TODO
* [haddock @ 2005-01-16 15:41:21 by panne]panne2005-01-1612-109/+62
| | | | Cleaned up imports and dropped support for GHC < 5.03, it never worked, anyway.
* [haddock @ 2005-01-16 14:37:10 by panne]panne2005-01-165-34/+24
| | | | Refactored Text.PrettyPrint legacy hell into a separate module.
* [haddock @ 2005-01-16 14:22:44 by panne]panne2005-01-161-1/+1
| | | | Added the last missing "flip" to get identical HTML output as previous versions.
* [haddock @ 2005-01-16 14:14:39 by panne]panne2005-01-162-2/+2
| | | | Data.Map.unions is left-biased.
* [haddock @ 2005-01-16 12:58:03 by panne]panne2005-01-165-6/+6
| | | | | Correctly handle the new order of arguments for the combining function given to fromListWith.
* [haddock @ 2005-01-16 12:18:26 by panne]panne2005-01-161-1/+0
| | | | Trim imports
* [haddock @ 2005-01-15 18:44:45 by panne]panne2005-01-1511-150/+229
| | | | | | | | | | Make Haddock compile again after the recent base package changed. The Map/Set legacy hell has been factored out, so that all modules can simply use the new non-deprecated interfaces. Probably a lot of things can be improved by a little bit of Map/Set/List algebra, this can be done later if needed. Small note: Currently the list of instances in HTML code is reversed. This will hopefully be fixed later.
* [haddock @ 2005-01-13 14:44:24 by ross]ross2005-01-131-0/+22
| | | | Describe numeric character references.
* [haddock @ 2005-01-13 14:43:41 by ross]ross2005-01-131-1/+1
| | | | also allow uppercase X in hexadecimal character references (like SGML)
* [haddock @ 2005-01-13 11:41:33 by ross]ross2005-01-131-3/+7
| | | | | recognize SGML-style numeric character references &#ddd; or &#xhhhh; and translate them into Chars.
* [haddock @ 2005-01-11 10:44:37 by simonmar]simonmar2005-01-111-2/+2
| | | | Remove string gap
* [haddock @ 2005-01-10 19:18:22 by ross]ross2005-01-101-1/+6
| | | | | | | | | | Render non-ASCII characters using numeric character references, to simplify charset issues. There's a META tag saying the charset is UTF-8, but GHC outputs characters as raw bytes. Ideally we need an encoding on the input side too, primarily in comments, because source files containing non-ASCII characters aren't portable between locales.
* [haddock @ 2005-01-04 16:16:54 by simonmar]simonmar2005-01-041-0/+6
| | | | Add a test
* [haddock @ 2005-01-04 16:15:51 by simonmar]simonmar2005-01-041-3/+16
| | | | parser fix: allow qualified specialids.
* [haddock @ 2004-11-01 16:39:01 by panne]panne2004-11-011-5/+0
| | | | Revert previous commit: It's Network.URI which should be changed, not Haddock.
* [haddock @ 2004-10-28 16:01:51 by krasimir]krasimir2004-10-281-0/+5
| | | | update for ghc-6.3+
* [haddock @ 2004-10-23 19:54:00 by panne]panne2004-10-231-5/+6
| | | | | Improved the Cygwin/MinGW chaos a little bit. There is still confusion about host platform vs. target platform...
* [haddock @ 2004-09-30 08:21:29 by simonmar]simonmar2004-09-301-0/+5
| | | | Add a feature request
* [haddock @ 2004-09-24 07:04:38 by panne]panne2004-09-241-7/+12
| | | | | | | | Switched the default state for instances and the module hierarchy to non-collapsed. This can be reversed when we finally use cookies from JavaScript to have a more persistent state. Previously going back and forth in the documentation was simply too annoying because everything was collapsed again and therefore the documentation was not easily navigatable.
* [haddock @ 2004-09-05 19:12:32 by panne]panne2004-09-051-3/+1
| | | | | | | | | | * HTML documentation for "foo.xml" goes into directory "foo" again, not "foo-html". This is nicer and consistent with the behaviour for building the docs from SGML. * Disabled building PostScript documentation in the spec files for now, there are some strange issues with the FO->PS conversion for some files which have to be clarified first.
* [haddock @ 2004-08-31 13:09:42 by simonmar]simonmar2004-08-312-13/+18
| | | | Avoid GHC/shell versionitis and create Version.hs
* [haddock @ 2004-08-30 15:44:59 by sof]sof2004-08-301-1/+5
| | | | escape HADDOCK_VERSION double quotes on all platforms when compiling with <=6.0.x
* [haddock @ 2004-08-26 21:03:19 by panne]panne2004-08-261-1/+1
| | | | | Updated BuildRequires tags. Alas, there seems to be no real standard here, so your mileage may vary... At least the current specs should work on SuSE Linux.
* [haddock @ 2004-08-26 20:08:49 by panne]panne2004-08-263-3/+3
| | | | | | | | SGML is dead, long live DocBook XML! Note: The BuildRequires tags in the spec files are still incomplete and the documentation about the DocBook tools needs to be updated, too. Stay tuned...
* [haddock @ 2004-08-25 17:15:42 by sof]sof2004-08-251-1/+5
| | | | backquote HADDOCK_VERSION defn for <= ghc-6.0.x; believe this is only needed under mingw
* [haddock @ 2004-08-18 16:42:54 by panne]panne2004-08-181-0/+1
| | | | Re-added indices + minor fixes
* [haddock @ 2004-08-16 19:59:36 by panne]panne2004-08-162-3/+5
| | | | XMLification
* [haddock @ 2004-08-13 10:53:50 by simonmar]simonmar2004-08-131-0/+5
| | | | Test for primes in quoted links
* [haddock @ 2004-08-13 10:53:21 by simonmar]simonmar2004-08-131-2/+2
| | | | Update
* [haddock @ 2004-08-12 12:08:23 by simonmar]simonmar2004-08-122-3/+2
| | | | Avoid using string-gap tricks.
* [haddock @ 2004-08-10 14:33:45 by simonmar]simonmar2004-08-102-3/+8
| | | | Fixes to installation under Windows.
* [haddock @ 2004-08-10 14:09:57 by simonmar]simonmar2004-08-102-4/+5
| | | | Fixes for DevHelp/HtmlHelp following introduction of short module description.
* [haddock @ 2004-08-09 11:55:05 by simonmar]simonmar2004-08-099-131/+384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for a short description for each module, which is included in the contents. The short description should be given in a "Description: " field of the header. Included in this patch are changes that make the format of the header a little more flexible. From the comments: -- all fields in the header are optional and have the form -- -- [spaces1][field name][spaces] ":" -- [text]"\n" ([spaces2][space][text]"\n" | [spaces]"\n")* -- where each [spaces2] should have [spaces1] as a prefix. -- -- Thus for the key "Description", -- -- > Description : this is a -- > rather long -- > -- > description -- > -- > The module comment starts here -- -- the value will be "this is a .. description" and the rest will begin -- at "The module comment". The header fields must be in the following order: Module, Description, Copyright, License, Maintainer, Stability, Portability. Patches submitted by: George Russell <ger@informatik.uni-bremen.de>, with a few small changes be me, mostly to merge with other recent changes. ToDo: document the module header.
* [haddock @ 2004-08-09 11:03:04 by simonmar]simonmar2004-08-091-0/+69
| | | | | | Add FormatVersion Patch submitted by: George Russell <ger@informatik.uni-bremen.de>
* [haddock @ 2004-08-03 21:07:58 by panne]panne2004-08-032-7/+8
| | | | Improved spacing of dynamic module tree
* [haddock @ 2004-08-03 20:47:46 by panne]panne2004-08-031-1/+1
| | | | Fixed CSS for button style. Note that only "0" is a valid measure without a unit!
* [haddock @ 2004-08-03 19:45:30 by sof]sof2004-08-031-1/+1
| | | | ffi wibble
* [haddock @ 2004-08-03 19:45:11 by sof]sof2004-08-032-1/+7
| | | | make it compile with <= ghc-6.1
* [haddock @ 2004-08-03 19:44:03 by panne]panne2004-08-031-14/+22
| | | | | | | | | | Pacify W3C validator: * Added document encoding (currently UTF-8, not sure if this is completely correct) * Fixed syntax of `id' attributes * Added necessary `alt' attribute for +/- images Small layout improvement: * Added space after +/- images (still not perfect, but better than before)
* [haddock @ 2004-08-03 19:35:59 by panne]panne2004-08-031-4/+2
| | | | Fixed spelling of "http-equiv" attribute
* [haddock @ 2004-08-02 21:16:02 by panne]panne2004-08-021-53/+53
| | | | Removed WinDoze CRs
* [haddock @ 2004-08-02 21:12:25 by panne]panne2004-08-025-23/+27
| | | | Use pathJoin instead of low-level list-based manipulation for FilePaths
* [haddock @ 2004-08-02 20:32:28 by panne]panne2004-08-022-24/+8
| | | | Nuked dead code