Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace police | David Waern | 2010-05-14 | 1 | -6/+6 |
| | |||||
* | Improve comments | David Waern | 2010-05-14 | 1 | -3/+2 |
| | |||||
* | Wibble | David Waern | 2010-05-14 | 1 | -6/+2 |
| | |||||
* | Move flag evaluation code from Main to Haddock.Options | David Waern | 2010-05-14 | 1 | -48/+21 |
| | | | | | | | Determining the value of "singular" flags (by e.g. taking the last occurrence of the flag) and other flag evaluation should done in Haddock.Options which is the module that is supposed to define the command line interface. This makes Main a bit easier on the eyes as well. | ||||
* | Two newlines between declarations in Main | David Waern | 2010-05-13 | 1 | -0/+5 |
| | |||||
* | Position the module header the same way everywhere | David Waern | 2010-05-13 | 1 | -1/+0 |
| | | | | Silly, but nice with some consistency :-) | ||||
* | Rename startGhc into withGhc | David Waern | 2010-04-10 | 1 | -4/+4 |
| | |||||
* | Fix #112 | David Waern | 2010-04-10 | 1 | -1/+1 |
| | | | | | | | | No link was generated for 'Addr#' in a doc comment. The reason was simply that the identifier didn't parse. We were using parseIdentifier from the GHC API, with a parser state built from 'defaultDynFlags'. If we pass the dynflags of the module instead, the right options are turned on on while parsing the identifer (in this case -XMagicHash), and the parse succeeds. | ||||
* | Propagate source positions from Lex.x to Parse.y | David Waern | 2010-04-07 | 1 | -1/+1 |
| | |||||
* | First, experimental XHTML rendering | Mark Lentczner | 2010-03-20 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | | switch to using the xhtml package copied Html.hs to Xhtml.hs and split into sub-modules under Haddock/Backends/Xhtml and detabify moved footer into div, got ready for iface change headers converted to semantic markup contents in semantic markup summary as semantic markup description in semantic markup, info block in header fixed factored out rendering so during debug it can be readable (see renderToString) | ||||
* | Move H.Interface.Parse/Lex to H.Parse/Lex | David Waern | 2009-11-28 | 1 | -3/+3 |
| | | | | These are not just used to build Interfaces. | ||||
* | Rename HsDoc back into Doc | David Waern | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Fix error message | David Waern | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Whitespace police | David Waern | 2009-11-27 | 1 | -1/+1 |
| | |||||
* | hlint police | David Waern | 2009-11-14 | 1 | -13/+11 |
| | |||||
* | Main.hs: OldException->Exception: which eliminates warnings | Isaac Dupree | 2009-08-23 | 1 | -14/+13 |
| | |||||
* | move get*LibDir code in Main.hs, to +consistent code, -duplication | Isaac Dupree | 2009-08-23 | 1 | -23/+25 |
| | |||||
* | Main.hs: eliminate warnings (except for OldException) | Isaac Dupree | 2009-08-23 | 1 | -5/+10 |
| | |||||
* | Main.hs: remove ghc<6.9 conditionals | Isaac Dupree | 2009-08-23 | 1 | -60/+0 |
| | |||||
* | Move doc parsing/lexing into Haddock for ghc>=6.11 | Isaac Dupree | 2009-08-23 | 1 | -3/+5 |
| | |||||
* | Add --print-ghc-libdir | David Waern | 2009-08-15 | 1 | -3/+7 |
| | |||||
* | Put all the IN_GHC_TREE stuff inside getGhcLibDir | David Waern | 2009-08-15 | 1 | -19/+17 |
| | |||||
* | Switch from PatternSignatures to ScopedTypeVariables in Main | David Waern | 2009-08-13 | 1 | -1/+1 |
| | |||||
* | Use cProjectVersion directly rather than going through compilerInfo | Ian Lynagh | 2009-07-16 | 1 | -2/+2 |
| | | | | Fixes the build after changes in GHC | ||||
* | Add Haddock module headers | David Waern | 2009-06-24 | 1 | -6/+12 |
| | | | | | | | | | Add a proper Haddock module header to each module, with a more finegrained copyright. If you feel mis-accreditted, please correct any copyright notice! The maintainer field is set to haddock@projects.haskell.org. Next step is to add a brief description to each module. | ||||
* | Delete Haddock.Exception and move contents to Haddock.Types | David Waern | 2009-06-24 | 1 | -1/+0 |
| | | | | Only a few lines of code that mainly declares a type - why not just put it in Haddock.Types. | ||||
* | update for new GHC build system layout | Simon Marlow | 2009-03-24 | 1 | -0/+8 |
| | |||||
* | add unicode output | porges | 2008-12-07 | 1 | -2/+5 |
| | |||||
* | Fix whitespace and stylistic issues in Main | David Waern | 2009-04-05 | 1 | -46/+46 |
| | |||||
* | Remove Haddock.GHC and move its (small) contents to Main | David Waern | 2009-04-05 | 1 | -1/+52 |
| | |||||
* | -Wall police in Main | David Waern | 2009-03-28 | 1 | -15/+18 |
| | |||||
* | Fix conflicts | David Waern | 2009-03-27 | 1 | -2/+4 |
| | |||||
* | Add some basic "verbose" mode logging in H.Interface | David Waern | 2008-12-07 | 1 | -4/+2 |
| | |||||
* | Add verbosity flag and utils, remove "verbose" flag | David Waern | 2008-12-07 | 1 | -2/+10 |
| | |||||
* | Fix bad error handling with newer GHCs | David Waern | 2009-02-25 | 1 | -1/+7 |
| | | | | | | | | When support for GHC 6.10 was added, an error handler was installed only around the typechecking phase. This had the effect that errors thrown during dependency chasing were caught in the top-level exception handler and not printed with enough detail. With this patch we wrap the error handler around all our usage of the Ghc monad. | ||||
* | Show re-exported names from external packages again | David Waern | 2009-01-02 | 1 | -7/+4 |
| | | | | | | | This fixes GHC ticket 2746. In order to also link to the exported subordinate names of a declaration, we need to re-introduce the sub map in the .haddock files. | ||||
* | Try and find a better package name than "main" for Hoogle, goes wrong when ↵ | Neil Mitchell | 2008-12-18 | 1 | -1/+2 |
| | | | | working on an executable rather than a library | ||||
* | Store hidden modules in .haddock files | David Waern | 2008-11-15 | 1 | -13/+12 |
| | | | | | | | | | | | | | 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. | ||||
* | Do not save hidden modules in the .haddock file (also for ghc >= 6.9) | David Waern | 2008-10-21 | 1 | -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 file | David Waern | 2008-10-20 | 1 | -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. | ||||
* | no need for handleErrMsg now, we don't throw any ErrMsgs | Simon Marlow | 2008-10-10 | 1 | -4/+2 |
| | |||||
* | Make Haddock build with GHC 6.8.2 | David Waern | 2008-10-10 | 1 | -0/+19 |
| | |||||
* | Interleave typechecking with interface creation | David Waern | 2008-10-09 | 1 | -10/+6 |
| | | | | | | 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. | ||||
* | Add PatternSignatures LANGUAGE pragma to Main and Utils | David Waern | 2008-09-24 | 1 | -1/+2 |
| | |||||
* | 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 |
| |