aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* HADDOCK_DATA_DIR changed to haddock_datadirDavid Waern2008-11-231-3/+3
|
* Update tests to account for version number bumpDavid Waern2008-11-2333-33/+33
|
* Bump major version number due to .haddock file format changeDavid Waern2008-11-163-3/+3
|
* Store hidden modules in .haddock filesDavid Waern2008-11-153-20/+23
| | | | | | | | | | | | | We store documentation for an entity in the 'InstalledInterface' of the definition site module, and never in the same structure for a module which re-exports the entity. So when a client of the Haddock library wants to look up some documentation, he/she might need to access a hidden module. But we currently don't store hidden modules in the .haddock files. So we add the hidden modules and the Haddock options to the .haddock files. The options will be used to filter the module list to obtain the visible modules only, which is necessary for generating the contents and index for installed packages.
* Update testsDavid Waern2008-11-152-2/+2
| | | | For unknown reasons, test output for Bug1 and Test has changed for the better.
* Reflect version bump in test suiteDavid Waern2008-11-1533-33/+33
|
* Make DocName an instance of NamedThingDavid Waern2008-11-101-0/+7
|
* Export H.DocName in the libraryDavid Waern2008-11-101-1/+1
|
* Document the functions in H.DocNameDavid Waern2008-11-101-0/+2
|
* Export DocName in the libraryDavid Waern2008-11-102-1/+2
|
* Add Haddock.GHC.Utils to other-modules in libraryDavid Waern2008-11-091-0/+1
|
* Re-export NameCache and friends from Distribution.HaddockDavid Waern2008-11-091-0/+3
|
* Set HscTarget to HscNothing instead of HscAsmDavid Waern2008-11-081-1/+1
| | | | | There used to be a bug in the GHC API that prevented us from setting this value.
* Fix warnings in H.GHC.TypecheckDavid Waern2008-11-061-10/+4
|
* Fix warnings in H.InterfaceFile and H.OptionsDavid Waern2008-11-062-3/+4
|
* Fix warnings in Haddock.VersionDavid Waern2008-11-061-0/+1
|
* Fix warnings in Haddock.ModuleTreeDavid Waern2008-11-061-8/+7
|
* Fix warnings in H.B.HH and H.B.HH2David Waern2008-11-062-0/+2
|
* Depend on base 4.0.* instead of 4.*David Waern2008-11-061-1/+1
|
* Bump version to 2.4.1 and update CHANGESDavid Waern2008-11-064-3/+9
|
* Depend on base 4.* when using GHC >= 6.9, otherwise 3.*David Waern2008-11-061-1/+3
|
* WibbleDavid Waern2008-11-051-3/+1
|
* Update ANNOUNCEDavid Waern2008-11-051-6/+22
|
* Add ANNOUNCE messageDavid Waern2008-11-051-0/+73
|
* Output version info before running testsDavid Waern2008-11-041-0/+2
|
* Remove .ref files from tests/output/David Waern2008-11-0417-5805/+2
|
* Update CHANGESDavid Waern2008-11-041-4/+4
|
* Bump version numberDavid Waern2008-11-0436-36/+36
|
* Update CHANGESDavid Waern2008-11-041-0/+14
|
* Follow change to ExportDecl in frames codeDavid Waern2008-11-0450-16/+95
|
* Enable framed view of the HTML documentation.Thomas Schilling2008-10-246-9/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces: - A page that displays the documentation in a framed view. The left side will show a full module index. Clicking a module name will show it in the right frame. If Javascript is enabled, the left side is split again to show the modules at the top and a very short synopsis for the module currently displayed on the right. - Code to generate the mini-synopsis for each module and the mini module index ("index-frames.html"). - CSS rules for the mini-synopsis. - A very small amount of javascript to update the mini-synopsis (but only if inside a frame.) Some perhaps controversial things: - Sharing code was very difficult, so there is a small amount of code duplication. - The amount of generated pages has been doubled, since every module now also gets a mini-synopsis. The overhead should not be too much, but I haven't checked. Alternatively, the mini-synopsis could also be generated using Javascript if we properly annotate the actual synopsis.
* TAG 2.3.0David Waern2008-11-040-0/+0
|
* Add tests/TH.hsDavid Waern2008-11-041-0/+8
|
* Add failing test for template haskell crashDavid Waern2008-11-031-0/+7
|
* Update CHANGESdavid.waern2008-11-021-0/+14
|
* Add HCAR entryDavid Waern2008-11-021-0/+61
|
* Make named doc comments into ExportDoc instead of ExportDeclDavid Waern2008-10-273-0/+104
| | | | | Fixes a crash when processing modules without export lists containing named docs.
* WibbleDavid Waern2008-10-221-0/+1
|
* Fix warnings in H.UtilsDavid Waern2008-10-221-12/+10
|
* Fix warnings in H.GHC.UtilsDavid Waern2008-10-221-0/+5
|
* Tidy up code in H.I.Create a littleDavid Waern2008-10-221-38/+3
| | | | | Remove commented out half-done type instance support, and remove DeclWithDoc synonym.
* Remove subordinate map and its usageDavid Waern2008-10-222-23/+17
| | | | It is not needed now that we store subordinate names in the DeclInfo map.
* Do not save hidden modules in the .haddock file (also for ghc >= 6.9)David Waern2008-10-211-2/+4
| | | | | When writing the first patch, I forgot to do the fix in both branches of an #if macro.
* Do not save hidden modules in the .haddock fileDavid Waern2008-10-201-6/+5
| | | | | | | | | We were saving interfaces of all processed modules including those hidden using {-# OPTIONS_HADDOCK hide #-} in the .haddock file. This caused broken links when generating the index for the libraries that come with GHC. This patch excludes modules with hidden documentation when writing .haddock files. It should fix the above problem.
* TAG GHC 6.10 forkIan Lynagh2008-09-190-0/+0
|
* Make renamer consistentDavid Waern2008-10-201-9/+12
| | | | | Instead of explicitly making some binders Undocumented, treat all names the same way (that is, try to find a Documented name).
* Force interface more aggressively.Thomas Schilling2008-10-201-0/+2
| | | | | | | For running Haddock on GHC this reduces memory usage by about 50 MB on a 32 bit system. A heap profile shows total memory usage peak at about 100 MB, but actual usage is at around 300 MB even with compacting GC (+RTS -c).
* Document function and improve its layoutDavid Waern2008-10-161-5/+4
|
* Fix #61David Waern2008-10-1611-66/+226
| | | | | | | | | | | | | | | | | | | We were not getting docs for re-exported class methods. This was because we were looking up the docs in a map made from the declarations in the current module being rendered. Obviously, re-exported class methods come from another module. Class methods and ATs were the only thing we were looking up using the doc map, everything else we found in the ExporItems. So now I've put subordinate docs in the ExportItem's directly, to make things a bit more consistent. To do this, I added subordinates to the the declarations in the declaration map. This was easy since we were computing subordinates anyway, to store stand-alone in the map. I added a new type synonym 'DeclInfo', which is what we call what is now stored in the map. This little refactoring removes duplicate code to retrieve subordinates and documentation from the HsGroup.
* WibbleDavid Waern2008-10-161-3/+2
|