Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make renamer consistent | David Waern | 2008-10-20 | 1 | -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 Schilling | 2008-10-20 | 1 | -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 layout | David Waern | 2008-10-16 | 1 | -5/+4 |
| | |||||
* | Fix #61 | David Waern | 2008-10-16 | 11 | -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. | ||||
* | Wibble | David Waern | 2008-10-16 | 1 | -3/+2 |
| | |||||
* | Add subordinates with docs to the declaration map | David Waern | 2008-10-15 | 3 | -12/+14 |
| | | | | | | | | | | | The only place in the code where we want the subordinates for a declaration is right after having looked up the declaration in the map. And since we include subordinates in the map, we might as well take the opportunity to store those subordinates that belong to a particular declaration together with that declaration. We also store the documentation for each subordinate. | ||||
* | Add DeclInfo to H.Types | David Waern | 2008-10-15 | 2 | -1/+6 |
| | |||||
* | Move convenient type synonym to H.Types | David Waern | 2008-10-15 | 2 | -5/+5 |
| | |||||
* | Wibble | David Waern | 2008-10-15 | 1 | -5/+2 |
| | |||||
* | Comment out unused type family stuff completely | David Waern | 2008-10-15 | 1 | -7/+6 |
| | |||||
* | Use type synonyms for declarations and docs in H.I.Create | David Waern | 2008-10-15 | 1 | -13/+19 |
| | |||||
* | Wibble | David Waern | 2008-10-15 | 1 | -1/+1 |
| | |||||
* | Remove interface from LinksInfo | David Waern | 2008-10-11 | 1 | -49/+49 |
| | | | | | It was there to know the documentation home module when creating a wiki link, but we already know this since we have the DocName. | ||||
* | Compile with wrapper but remove it for dist-install | Clemens Fruhwirth | 2008-10-10 | 1 | -1/+8 |
| | |||||
* | no need for handleErrMsg now, we don't throw any ErrMsgs | Simon Marlow | 2008-10-10 | 1 | -4/+2 |
| | |||||
* | Update tests | David Waern | 2008-10-10 | 45 | -45/+45 |
| | |||||
* | Add support for DocPic | David Waern | 2008-10-10 | 5 | -3/+9 |
| | | | | | | The support for DocPic was merged into the GHC source long ago, but the support in Haddock was forgotten. Thanks Peter Gavin for submitting this fix! | ||||
* | Bump version number to 2.3.0 | David Waern | 2008-10-10 | 3 | -3/+3 |
| | |||||
* | Add back .haddock file versioning based on GHC version | David Waern | 2008-10-10 | 1 | -0/+9 |
| | | | | It was accidentally removed in the patch for GHC 6.8.2 compatibility | ||||
* | Hide H.Utils in library | David Waern | 2008-10-10 | 1 | -0/+1 |
| | |||||
* | Fix documentation for createInterfaces | David Waern | 2008-10-10 | 1 | -1/+1 |
| | |||||
* | Make Haddock build with GHC 6.8.2 | David Waern | 2008-10-10 | 6 | -20/+100 |
| | |||||
* | Remove typecheckFiles and MonadUtils import from H.GHC.Typeccheck | David Waern | 2008-10-10 | 1 | -31/+0 |
| | |||||
* | Add some strictness annotations in Interface | David Waern | 2008-10-09 | 1 | -9/+9 |
| | | | | | We add some strictness annotations to the fields of Interface, so that less GHC data is hold on to during processing. | ||||
* | Interleave typechecking with interface creation | David Waern | 2008-10-09 | 3 | -40/+100 |
| | | | | | | At the same time, we fix a bug where the list of interfaces were processed in the wrong order, when building the links and renaming the interfaces. | ||||
* | Only load modules once when typechecking with GHC. | Thomas Schilling | 2008-10-08 | 1 | -33/+27 |
| | | | | | | This still doesn't fix the memory leak since the typechecked source is retained and then processed separately. To fix the leak, modules must be processed directly after typechecking. | ||||
* | TAG 2008-10-03 | Ian Lynagh | 2008-10-03 | 0 | -0/+0 |
| | |||||
* | Follow GHC API change of parseModule. | Thomas Schilling | 2008-10-03 | 1 | -1/+1 |
| | |||||
* | Write a comment about source links for type instance declarations | David Waern | 2008-10-02 | 1 | -0/+3 |
| | |||||
* | Remove ifaceEnv from Interface - it's no longer used | David Waern | 2008-10-02 | 2 | -5/+0 |
| | |||||
* | For source links, get original module from declaration name instead of ↵ | David Waern | 2008-10-02 | 1 | -7/+3 |
| | | | | | | | environment. Getting it from the environment must have been a remnant from the times when we were using unqualified names (versions 0.x). | ||||
* | Add PatternSignatures LANGUAGE pragma to Main and Utils | David Waern | 2008-09-24 | 2 | -1/+4 |
| | |||||
* | Fix building haddock when GhcProfiled=YES | Ian Lynagh | 2008-09-28 | 1 | -1/+10 |
| | |||||
* | Do not wrap __ in brackets | Neil Mitchell | 2008-09-11 | 1 | -1/+1 |
| | |||||
* | Increase the GHC upper bound from 6.11 to 6.13 | Ian Lynagh | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Fix the in-tree haddock on Windows | Ian Lynagh | 2008-09-21 | 1 | -1/+7 |
| | |||||
* | Fix paths used on Windows frmo a GHC tree: There is no whare directory | Ian Lynagh | 2008-09-21 | 1 | -1/+1 |
| | |||||
* | Port Main to new GHC API. | Thomas Schilling | 2008-09-15 | 1 | -20/+24 |
| | |||||
* | Port Haddock.GHC to new GHC API. | Thomas Schilling | 2008-09-15 | 1 | -13/+13 |
| | |||||
* | Port Haddock.GHC.Typecheck to new GHC API. | Thomas Schilling | 2008-09-15 | 1 | -11/+17 |
| | |||||
* | Reflect GHC API changes. | Thomas Schilling | 2008-09-15 | 1 | -1/+1 |
| | |||||
* | Port Haddock.Interface to new GHC API. | Thomas Schilling | 2008-09-15 | 1 | -42/+60 |
| | | | | | | | | | | | | | | | | This required one bigger change: 'readInterfaceFile' used to take an optional 'Session' argument. This was used to optionally update the name cache of an existing GHC session. This does not work with the new GHC API, because an active session requires the function to return a 'GhcMonad' action, but this is not possible if no session is provided. The solution is to use an argument of functions for reading and updating the name cache and to make the function work for any monad that embeds IO, so it's result type can adapt to the calling context. While refactoring, I tried to make the code a little more self-documenting, mostly turning comments into function names. | ||||
* | Use "exec" when calling haddock in the wrapper | Ian Lynagh | 2008-09-15 | 1 | -1/+1 |
| | |||||
* | Add a "#!/bin/sh" to haddock.wrapper | Ian Lynagh | 2008-09-14 | 1 | -0/+1 |
| | |||||
* | Wibble imports | Ian Lynagh | 2008-09-12 | 1 | -2/+5 |
| | |||||
* | Add a LANGUAGE ForeignFunctionInterface pragma | Ian Lynagh | 2008-09-12 | 1 | -0/+1 |
| | |||||
* | Import GHC.Paths if not IN_GHC_TREE, seems to match the use of GHC.Paths ↵ | Neil Mitchell | 2008-09-11 | 1 | -3/+2 |
| | | | | functions much better | ||||
* | Fix installed haddock on Windows | Ian Lynagh | 2008-09-10 | 1 | -5/+8 |
| | |||||
* | Fix haddock inplace on Windows | Ian Lynagh | 2008-09-10 | 1 | -3/+1 |
| | |||||
* | We need to tell haddock that its datasubdir is . or it can't find package.conf | Ian Lynagh | 2008-09-10 | 1 | -0/+1 |
| |