Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up code in H.I.Create a little | David Waern | 2008-10-22 | 1 | -38/+3 |
| | | | | | Remove commented out half-done type instance support, and remove DeclWithDoc synonym. | ||||
* | Remove subordinate map and its usage | David Waern | 2008-10-22 | 2 | -23/+17 |
| | | | | It is not needed now that we store subordinate names in the DeclInfo map. | ||||
* | 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 | 7 | -66/+89 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 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! | ||||
* | 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 | ||||
* | 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 | 5 | -20/+81 |
| | |||||
* | 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 | 2 | -30/+94 |
| | | | | | | 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. | ||||
* | 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 | 1 | -0/+2 |
| | |||||
* | Do not wrap __ in brackets | Neil Mitchell | 2008-09-11 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Fixes for using haddock in a GHC build tree | Ian Lynagh | 2008-08-28 | 1 | -1/+2 |
| | |||||
* | Fix some warnings | Ian Lynagh | 2008-08-27 | 6 | -72/+65 |
| | |||||
* | In the hoogle back end, markup definition lists using <i>, not <b> | Neil Mitchell | 2008-08-21 | 1 | -1/+1 |
| | |||||
* | Simplify the code by removing not-to-important use of <.> in the Hoogle back end | Neil Mitchell | 2008-08-20 | 1 | -5/+1 |
| | |||||
* | Remove Explicit top-level forall's when pretty-printing signatures | Neil Mitchell | 2008-08-18 | 1 | -1/+5 |
| | |||||
* | Use the same method to put out signatures as class methods in the Hoogle backend | Neil Mitchell | 2008-08-18 | 1 | -1/+1 |
| | |||||
* | Make Hoogle add documentation to a package | Neil Mitchell | 2008-08-13 | 1 | -2/+3 |
| | |||||
* | Generalise Hoogle.doc and add a docWith | Neil Mitchell | 2008-08-13 | 1 | -5/+11 |
| | |||||
* | Add support for type synonyms to Hoogle, was accidentally missing before ↵ | Neil Mitchell | 2008-08-12 | 1 | -0/+5 |
| | | | | (woops!) | ||||
* | Output all items, even if they are not defined in this module - ensures map ↵ | Neil Mitchell | 2008-08-12 | 1 | -8/+1 |
| | | | | comes from Prelude, not just GHC.Base | ||||
* | Follow changes to Binary in GHC 6.9 | David Waern | 2008-08-13 | 1 | -1/+78 |
| | |||||
* | Follow changes to parseDynamic- parseStaticFlags in GHC | David Waern | 2008-08-13 | 1 | -0/+4 |
| | |||||
* | Follow extensible exceptions changes | David Waern | 2008-08-13 | 1 | -8/+8 |
| | |||||
* | Follow move of package string functions from PackageConfig to Module | David Waern | 2008-08-13 | 4 | -5/+11 |
| | |||||
* | Follow changes to parseDynamic/StaticFlags | David Waern | 2008-08-12 | 1 | -1/+7 |
| | |||||
* | Hide <.> from GHC import in Hoogle only for ghc <= 6.8.3 | David Waern | 2008-08-12 | 1 | -0/+4 |
| | |||||
* | Comment out H.GHC.loadPackages - it is unused and doesn't build with ghc >= 6.9 | David Waern | 2008-08-12 | 1 | -2/+3 |
| |