Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Fix in-tree haddock on Windows | Ian Lynagh | 2008-08-29 | 1 | -4/+39 |
| | |||||
* | Fixes for using haddock in a GHC build tree | Ian Lynagh | 2008-08-28 | 1 | -1/+8 |
| | |||||
* | Make Hoogle add documentation to a package | Neil Mitchell | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | Follow extensible exceptions changes | David Waern | 2008-08-13 | 1 | -11/+33 |
| | |||||
* | Use ghc-paths to get the lib dir | David Waern | 2008-06-26 | 1 | -3/+8 |
| | | | | | 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. | ||||
* | Be more consistent with GHC API naming in H.GHC.Utils | David Waern | 2008-06-19 | 1 | -2/+2 |
| | |||||
* | Change Hoogle to take the package name and package version separately | Neil Mitchell | 2008-06-16 | 1 | -2/+5 |
| | |||||
* | Change packageName to packageStr, as it better reflects the information ↵ | Neil Mitchell | 2008-06-16 | 1 | -6/+6 |
| | | | | stored in it | ||||
* | Rewrite the --hoogle flag support | Neil Mitchell | 2008-06-07 | 1 | -0/+2 |
| | |||||
* | Update the version message to fit in small terminals | David Waern | 2008-02-10 | 1 | -2/+2 |
| | |||||
* | Change the representation of DocNames | David Waern | 2008-02-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Don't require -B <ghc-libdir> when no argument files | David Waern | 2007-11-11 | 1 | -27/+41 |
| | | | | | | Change readInterfaceFile to take a Maybe Session, to avoid having to pass -B <ghc-libdir> to Haddock when there're no source files to process. This is nice when computing contents/index for external packages. | ||||
* | Update copyright | David Waern | 2007-11-11 | 1 | -1/+1 |
| | |||||
* | Do some refactoring in the html backend | David Waern | 2007-11-11 | 1 | -2/+0 |
| | | | | | | | | | This also merges an old patch by Augustsson: Wed Jul 12 19:54:36 CEST 2006 lennart.augustsson@credit-suisse.com * Print type definitions like signatures if given arrows. | ||||
* | FIX: contents and index should include external package modules when ↵ | David Waern | 2007-11-10 | 1 | -11/+18 |
| | | | | --gen-contents/--gen-index | ||||
* | Introduce InstalledInterface structure and add more stuff to the .haddock files | David Waern | 2007-11-10 | 1 | -10/+14 |
| | | | | | | | We introduce InstalledInterface capturing the part of Interface that is stored in the interface files. We change the ppHtmlContents and ppHtmllIndex to take this structure instead of a partial Interface. We add stuff like the doc map and exported names to the .haddock file (via InstalledInterface). | ||||
* | Wibble | David Waern | 2007-11-09 | 1 | -2/+2 |
| | |||||
* | Wibble | David Waern | 2007-11-09 | 1 | -4/+4 |
| | |||||
* | Don't exit when there are no file arguments | David Waern | 2007-11-09 | 1 | -1/+0 |
| | |||||
* | Synch loading of names from .haddock files with GHC's name cache | David Waern | 2007-11-08 | 1 | -4/+4 |
| | |||||
* | Add --ghc-version option | David Waern | 2007-10-20 | 1 | -2/+6 |
| | |||||
* | Name changes | David Waern | 2007-10-18 | 1 | -3/+2 |
| | |||||
* | Refactoring -- get rid of Haddock.Packages | David Waern | 2007-10-18 | 1 | -14/+27 |
| | |||||
* | Add support for --read-interface again | David Waern | 2007-10-18 | 1 | -6/+11 |
| | |||||
* | Add --optghc=.. style flag passing to GHC | David Waern | 2007-10-17 | 1 | -7/+3 |
| | |||||
* | Rename HaddockModule to Interface | David Waern | 2007-08-30 | 1 | -2/+2 |
| | |||||
* | Rename HaddockModule to Interface and a few more refactorings | David Waern | 2007-08-29 | 1 | -2/+2 |
| | |||||
* | Major refactoring | David Waern | 2007-08-29 | 1 | -865/+57 |
| | |||||
* | Factor out package code to Haddock.Packages | David Waern | 2007-08-17 | 1 | -138/+9 |
| | |||||
* | Factor out typechecking phase into Haddock.Typecheck | David Waern | 2007-08-17 | 1 | -187/+101 |
| | |||||
* | Small comment/layout fixes | David Waern | 2007-08-17 | 1 | -2/+1 |
| | |||||
* | Move options out of Main into Haddock.Options | David Waern | 2007-08-17 | 1 | -120/+5 |
| | |||||
* | Correct comments | David Waern | 2007-08-16 | 1 | -4/+4 |
| | |||||
* | Remove explict module imports in Main | David Waern | 2007-08-16 | 1 | -26/+23 |
| | |||||
* | Improve code layout in Main | David Waern | 2007-08-16 | 1 | -19/+90 |
| | |||||
* | Comment the HaddockPackage definition | David Waern | 2007-08-16 | 1 | -0/+2 |
| | |||||
* | Simplify some comments | David Waern | 2007-08-16 | 1 | -2/+2 |
| | |||||
* | Rename PackageData to HaddockPackage | David Waern | 2007-08-16 | 1 | -21/+14 |
| | |||||
* | Finalize support for links to other packages | David Waern | 2007-08-16 | 1 | -46/+85 |
| | |||||
* | Load all targets explicitly (checkModule doesn't chase dependencies anymore) | David Waern | 2007-08-03 | 1 | -17/+14 |
| | |||||
* | Be better at trying to load all module dependencies (debugging) | David Waern | 2007-08-02 | 1 | -20/+49 |
| | |||||
* | Wibble | David Waern | 2007-08-02 | 1 | -1/+1 |
| | |||||
* | Call parseStaticFlags before newSession | David Waern | 2007-07-12 | 1 | -9/+11 |
| |