Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | H.GHC.Utils: add some functions that were removed by mistake | David Waern | 2008-02-10 | 1 | -0/+8 |
| | |||||
* | H.GHC.Utils: remove unused imports/exports | David Waern | 2008-02-09 | 1 | -40/+4 |
| | |||||
* | Change the representation of DocNames | David Waern | 2008-02-09 | 12 | -116/+141 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ross Paterson reported a bug where links would point to the defining module instead of the "best" module for an identifier (e.g Int pointing to GHC.Base instead of Data.Int). This patch fixes this problem by refactoring the way renamed names are represented. Instead of representing them by: > data DocName = Link Name | NoLink Name they are now represented as such: > data DocName = Documented Name Module | Undocumented Name and the the link-env looks like this: > type LinkEnv = Map Name Module There are several reasons for this. First of all, the bug was caused by changing the module part of Names during the renaming process, without changing the Unique field. This caused names to be overwritten during the loading of .haddock files (which caches names using the NameCache of the GHC session). So we might create new Uniques during renaming to fix this (but I'm not sure that would be problem-free). Instead, we just keep the Name and add the Module where the name is best documented, since it can be useful to keep the original Name around (for e.g. source-code location info and for users of the Haddock API). Also, the names Link/NoLink don't really make sense, since wether to use links or not is entirely up to the users of DocName. In the process of following this change into H.Backends.Html I removed the assumption that binder names are Undocumented (which was just an unnecessary assumption, the OccName is the only thing needed to render these). This will probably make it possible to get rid of the renamer and replace it with a traversal from SYB or Uniplate. Since DocName has changed, InterfaceFile has changed so this patch also increments the file-format version. No backwards-compatibility is implemented. | ||||
* | Add a comment about UNPACK bug in TODO | David Waern | 2008-02-02 | 1 | -1/+2 |
| | |||||
* | Add Hidden.html.ref to tests | David Waern | 2008-01-25 | 1 | -0/+88 |
| | |||||
* | Accept test output | David Waern | 2008-01-25 | 1 | -6/+8 |
| | |||||
* | Change Hidden.hs (test) to use OPTIONS_HADDOCK | David Waern | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | Accept test output | David Waern | 2008-01-25 | 13 | -29/+25 |
| | |||||
* | Accept test output | David Waern | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | A a bug report to TODO | David Waern | 2008-01-23 | 1 | -0/+13 |
| | |||||
* | Add a bug reported by Ross to TODO | David Waern | 2008-01-23 | 1 | -0/+3 |
| | |||||
* | Record a bug in TODO | David Waern | 2008-01-16 | 1 | -0/+2 |
| | |||||
* | Add feature-requsts from Henning Thielemann to TODO | David Waern | 2008-01-16 | 1 | -0/+18 |
| | |||||
* | Remove dep on process | David Waern | 2008-01-07 | 1 | -1/+0 |
| | |||||
* | Remove dep on Cabal | David Waern | 2008-01-07 | 1 | -1/+0 |
| | |||||
* | Export necessary stuff from Distribution.Haddock | David Waern | 2008-01-07 | 2 | -0/+6 |
| | |||||
* | Add documentation for readInterfaceFile | David Waern | 2008-01-07 | 1 | -1/+5 |
| | |||||
* | Change my email address in the cabal file | David Waern | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Change synopsis field to description | David Waern | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Wibble | David Waern | 2008-01-07 | 1 | -3/+3 |
| | |||||
* | Wibble | David Waern | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Document OPTIONS_HADDOCK | David Waern | 2008-01-07 | 1 | -10/+4 |
| | |||||
* | Remove the documenation section on derived instances | David Waern | 2008-01-07 | 1 | -32/+0 |
| | | | | The problem mentioned there doesn't exist in Haddock 2.0.0.0 | ||||
* | Document the --optghc flag | David Waern | 2008-01-07 | 1 | -0/+11 |
| | |||||
* | Update the "Using literate or pre-processed source" section | David Waern | 2008-01-07 | 1 | -23/+6 |
| | |||||
* | Remove --no-implicit-prelide flag | David Waern | 2008-01-07 | 1 | -3/+0 |
| | |||||
* | Remove --use-package, --package & --no-implicit.. flags from docs | David Waern | 2008-01-07 | 1 | -49/+0 |
| | |||||
* | Update CHANGES | David Waern | 2008-01-07 | 1 | -0/+5 |
| | |||||
* | Document -B option | David Waern | 2008-01-07 | 1 | -0/+12 |
| | |||||
* | Update docs to say that Haddock accets .lhs files and module names | David Waern | 2008-01-07 | 1 | -3/+2 |
| | |||||
* | Documentation fix | David Waern | 2008-01-07 | 1 | -3/+1 |
| | |||||
* | Update CHANGES | David Waern | 2008-01-07 | 1 | -0/+2 |
| | |||||
* | Change url to repo in documentation | David Waern | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Wibble | David Waern | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Update CHANGES for 2.0.0.0 | David Waern | 2008-01-07 | 1 | -0/+24 |
| | |||||
* | Remove the -use-package flag, we don't support it anyway | David Waern | 2008-01-07 | 1 | -3/+0 |
| | |||||
* | Manually merge over changes to CHANGES for 0.9 | David Waern | 2008-01-07 | 1 | -0/+26 |
| | |||||
* | Change version in docs and spec | David Waern | 2008-01-07 | 2 | -2/+2 |
| | |||||
* | doc updates | Simon Marlow | 2007-12-20 | 2 | -6/+2 |
| | |||||
* | update version | Simon Marlow | 2007-12-20 | 1 | -1/+1 |
| | |||||
* | update version number | Simon Marlow | 2007-12-20 | 1 | -1/+1 |
| | |||||
* | add build scripts | Simon Marlow | 2007-12-20 | 2 | -0/+52 |
| | |||||
* | Depend on ghc >= 6.8.2 && < 6.9 | David Waern | 2008-01-06 | 1 | -1/+1 |
| | |||||
* | Add missing modules to the cabal file | David Waern | 2008-01-06 | 1 | -0/+2 |
| | |||||
* | Change version to 2.0.0.0 | David Waern | 2008-01-06 | 1 | -1/+1 |
| | |||||
* | Add haskell.vim (it had been removed somehow) | David Waern | 2008-01-06 | 1 | -0/+68 |
| | |||||
* | Change stability from stable to experimental | David Waern | 2008-01-06 | 1 | -1/+1 |
| | |||||
* | Manual merge of a patch to the 0.8 branch | David Waern | 2008-01-06 | 3 | -22/+31 |
| | | | | | | | Thu Dec 6 15:00:10 CET 2007 Simon Marlow <simonmar@microsoft.com> * Source links must point to the original module, not the referring module | ||||
* | Source links must point to the original module, not the referring module | Simon Marlow | 2007-12-06 | 1 | -3/+11 |
| | |||||
* | add an item | Simon Marlow | 2007-12-20 | 1 | -0/+2 |
| |