aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Render type family declarations (untested)David Waern2008-07-021-6/+80
|
* Remove the TODO file now that we have a tracDavid Waern2008-06-301-160/+0
|
* Rename associated typesDavid Waern2008-06-301-5/+7
|
* Rename type patternsDavid Waern2008-06-301-5/+9
|
* Rename TyFamilyDavid Waern2008-06-301-3/+8
|
* Rename ForeignTypeDavid Waern2008-06-301-4/+3
|
* Improve wording in the help messageDavid Waern2008-06-261-2/+2
|
* Update READMEDavid Waern2008-06-261-1/+2
|
* Update CHANGESDavid Waern2008-06-261-0/+4
|
* Use ghc-paths to get the lib dirDavid Waern2008-06-264-10/+13
| | | | | The path can still be overridden using the -B flag. It's not longer required to pass the lib dir to the program that runs the test suite.
* Update test outputDavid Waern2008-06-191-68/+68
|
* Be more consistent with GHC API naming in H.GHC.UtilsDavid Waern2008-06-193-9/+9
|
* In Hoogle do not list things that are not local to this moduleNeil Mitchell2008-06-181-1/+6
|
* Change Hoogle to take the package name and package version separatelyNeil Mitchell2008-06-162-10/+17
|
* Add modulePkgInfo to Haddock.GHC.Utils, which gives back package name and ↵Neil Mitchell2008-06-161-0/+9
| | | | version info
* Change packageName to packageStr, as it better reflects the information ↵Neil Mitchell2008-06-161-6/+6
| | | | stored in it
* Default to "main" if there is no package, otherwise will clobber hoogle's ↵Neil Mitchell2008-06-161-1/+1
| | | | hoogle info
* Remove <document comment> from the Hoogle outputNeil Mitchell2008-06-141-1/+5
|
* Add initial structure for outputting documentation as well, but does not yet ↵Neil Mitchell2008-06-141-5/+21
| | | | output anything
* Simplify the newtype/data outputting in Hoogle, as haddock does it automaticallyNeil Mitchell2008-06-141-6/+2
|
* Rewrite the --hoogle flag supportNeil Mitchell2008-06-072-137/+64
|
* Add hide options to some source filesDavid Waern2008-05-013-0/+9
|
* Export DocName in the APIDavid Waern2008-05-011-1/+3
|
* Add extensions to cabal fileDavid Waern2008-05-011-2/+4
|
* Add LANGUAGE pragmas to source filesDavid Waern2008-05-013-0/+10
|
* Remove -fglasgow-exts and -fasmDavid Waern2008-05-011-2/+1
|
* Add Haddock.DocName to the cabal fileDavid Waern2008-05-011-0/+1
|
* Add a synopsisDavid Waern2008-05-011-0/+1
|
* Update CHANGESDavid Waern2008-05-011-0/+13
|
* Remove claim of backwards compatibility from docs for readInterfaceFileDavid Waern2008-05-011-2/+0
|
* Update version number in spec and docsDavid Waern2008-05-012-2/+2
|
* Update test READMEDavid Waern2008-04-121-3/+8
|
* Remove two fixed bugs from TODODavid Waern2008-04-121-8/+0
|
* Add a script for copying test output to "expected" outputDavid Waern2008-04-121-0/+23
|
* Simplify test suite and add testsDavid Waern2008-04-1265-45/+12816
| | | | | I move all tests into one single directory to simplify things, and add a test for the last bug that was fixed.
* Fix missing parenthesis in constructor args bugDavid Waern2008-04-121-4/+4
|
* Fix printing of data bindersDavid Waern2008-04-122-3/+9
|
* Add a flag for turning off all warningsDavid Waern2008-04-114-9/+12
|
* Turn off GHC warnings when running testsDavid Waern2008-04-111-1/+1
|
* Use the in-place haddock when running testsDavid Waern2008-04-111-1/+1
|
* Add a bug to TODODavid Waern2008-04-111-0/+5
|
* Bump the version number to 2.1.0David Waern2008-02-111-1/+1
| | | | | | | Since the exported datatype DocName has changed, we need to bump the major version number. Let's also drop the fourth version component, it's not that useful.
* Remove yet another item from TODO that was not an actual bugDavid Waern2008-02-101-3/+0
|
* Remove bugs from TODO that weren't actual bugsDavid Waern2008-02-101-12/+2
|
* Remove bugs from TODO that don't apply anymore since the portDavid Waern2008-02-101-11/+0
|
* Update the version message to fit in small terminalsDavid Waern2008-02-101-2/+2
|
* Fix some trivial warnings in H.InterfaceFileDavid Waern2008-02-101-4/+7
|
* H.GHC.Utils: add some functions that were removed by mistakeDavid Waern2008-02-101-0/+8
|
* H.GHC.Utils: remove unused imports/exportsDavid Waern2008-02-091-40/+4
|
* Change the representation of DocNamesDavid Waern2008-02-0912-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.