Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Remove matching on NoteTy in AttachInstances, it has been removed | David Waern | 2008-08-12 | 1 | -3/+1 | |
| | ||||||
* | Make our .haddock file version number depend on the GHC version | David Waern | 2008-08-12 | 1 | -1/+17 | |
| | | | | | | We need to do this, since our .haddock format can potentially change whenever GHC's version changes (even when only the patchlevel changes). | |||||
* | Import Control.OldException instead of C.Exception when using ghc >= 6.9 | David Waern | 2008-08-11 | 1 | -0/+7 | |
| | | | | | We should really test for base version instead, but I don't currently know which version to test for. | |||||
* | Make H.GHC.Utils build with GHC HEAD | David Waern | 2008-08-10 | 1 | -1/+10 | |
| | ||||||
* | Filter out separately exported ATs (take two) | David Waern | 2008-08-03 | 2 | -2/+9 | |
| | ||||||
* | Do not filter out doc declarations | David Waern | 2008-08-03 | 1 | -0/+2 | |
| | ||||||
* | Move some utility functions from H.I.Create to H.GHC.Utils | David Waern | 2008-08-03 | 2 | -22/+21 | |
| | ||||||
* | Fix layout | David Waern | 2008-08-03 | 1 | -9/+9 | |
| | ||||||
* | Filter out more declarations and keep only vanilla type sigs in classes | David Waern | 2008-08-03 | 1 | -5/+18 | |
| | ||||||
* | Filter out separately exported ATs | David Waern | 2008-08-03 | 1 | -1/+13 | |
| | | | | | This is a quick and dirty hack to get rid of separately exported ATs. We haven't decided how to handle them yet. No warning message is given. | |||||
* | Use isVanillaLSig from GHC API instead of home brewn function | David Waern | 2008-08-03 | 1 | -6/+1 | |
| | ||||||
* | Move reL to H.GHC.Utils so we can use it everywhere | David Waern | 2008-08-03 | 2 | -2/+4 | |
| | ||||||
* | Filter out more declarations | David Waern | 2008-08-03 | 1 | -14/+25 | |
| | | | | | | The previous refactorings in H.I.Create introduced a few bugs. Filtering of some types of declarations that we don't handle was removed. This patch fixes this. | |||||
* | Filter out ForeignExports | David Waern | 2008-08-03 | 1 | -4/+15 | |
| | ||||||
* | Do not export ATs when not in list of subitems | David Waern | 2008-07-29 | 1 | -1/+8 | |
| | ||||||
* | Move unL from H.B.Hoogle to H.GHC.Utils | David Waern | 2008-07-29 | 2 | -1/+4 | |
| | | | | I like Neil's shorter unL better than unLoc from the GHC API. | |||||
* | Support type equality predicates | David Waern | 2008-07-28 | 1 | -0/+1 | |
| | ||||||
* | Warning messages | David Waern | 2008-07-25 | 1 | -7/+34 | |
| | | | | | | Output a warning when filtering out data/type instances and associated types in instances. We don't show these in the documentation yet, and we need to let the user know. | |||||
* | Simplify definition of pretty and trace_ppr | David Waern | 2008-07-25 | 1 | -2/+2 | |
| | ||||||
* | Print parenthesis around non-atomic banged types | David Waern | 2008-07-24 | 1 | -1/+1 | |
| | | | | Fixes half of #44 | |||||
* | Drop unnecessary parenthesis in types, put in by the user | David Waern | 2008-07-24 | 1 | -9/+9 | |
| | | | | | | | | | | | | | We were putting in parenthesis were the user did. Let's remove this since it just clutters up the types. The types are readable anyway since we print parens around infix operators and do not rely on fixity levels. When doing this I discovered that we were relying on user parenthesis when printin types like (a `O` b) c. This patchs fixes this problem so that parenthesis are always inserted around an infix op application in case it is applied to further arguments, or if it's an arguments to a type constructor. Tests are updated. | |||||
* | FIX #44: Propagate parenthesis level when printing documented types | David Waern | 2008-07-24 | 1 | -1/+1 | |
| | ||||||
* | Be compatible with GHC 6.8.3 | David Waern | 2008-07-23 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | The cabal file is converted to use the "new" syntax with explicit Library and Executable sections. We define the __GHC_PATCHLEVEL__ symbol using a conditinal cpp-options field in the cabal file. (Ideally, Cabal would define the symbol for us, like it does for __GLASGOW_HASKELL__). We use these symbols to #ifdef around a small difference between 6.8.2 and 6.8.3. Previously, we only supported GHC 6.8.2 officially but the dependencies field said "ghc <= 6.9". This was just for convenience when testing against the (then compatible) HEAD version of GHC, and was left in the release by mistake. Now, we support both GHC 6.8.2 and 6.8.3 and the dependencies field correctly reflects this. | |||||
* | Resolve conflicts in H.B.Hoogle | David Waern | 2008-07-20 | 1 | -0/+3 | |
| | ||||||
* | Print type signatures with brackets around the name | Neil Mitchell | 2008-07-10 | 1 | -3/+9 | |
| |