aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
Commit message (Collapse)AuthorAgeFilesLines
* Interrupted disappeared in GHC 6.13 (GHC ticket #4100)Simon Marlow2010-06-021-0/+2
|
* WibbleDavid Waern2010-05-181-1/+1
|
* HLint policeDavid Waern2010-05-181-2/+2
|
* Comment fixesDavid Waern2010-05-141-2/+2
|
* Spelling in commentDavid Waern2010-05-141-1/+1
|
* Make renderStep a top-level function in MainDavid Waern2010-05-141-9/+10
|
* Move some more flag functions to Haddock.OptionsDavid Waern2010-05-141-21/+9
|
* Wibbles to commentsDavid Waern2010-05-141-9/+7
|
* Whitespace policeDavid Waern2010-05-141-6/+6
|
* Improve commentsDavid Waern2010-05-141-3/+2
|
* WibbleDavid Waern2010-05-141-6/+2
|
* Move flag evaluation code from Main to Haddock.OptionsDavid Waern2010-05-141-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 MainDavid Waern2010-05-131-0/+5
|
* Position the module header the same way everywhereDavid Waern2010-05-131-1/+0
| | | | Silly, but nice with some consistency :-)
* Rename startGhc into withGhcDavid Waern2010-04-101-4/+4
|
* Fix #112David Waern2010-04-101-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.yDavid Waern2010-04-071-1/+1
|
* First, experimental XHTML renderingMark Lentczner2010-03-201-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/LexDavid Waern2009-11-281-3/+3
| | | | These are not just used to build Interfaces.
* Rename HsDoc back into DocDavid Waern2009-11-281-1/+1
|
* Fix error messageDavid Waern2009-11-281-1/+1
|
* Whitespace policeDavid Waern2009-11-271-1/+1
|
* hlint policeDavid Waern2009-11-141-13/+11
|
* Main.hs: OldException->Exception: which eliminates warningsIsaac Dupree2009-08-231-14/+13
|
* move get*LibDir code in Main.hs, to +consistent code, -duplicationIsaac Dupree2009-08-231-23/+25
|
* Main.hs: eliminate warnings (except for OldException)Isaac Dupree2009-08-231-5/+10
|
* Main.hs: remove ghc<6.9 conditionalsIsaac Dupree2009-08-231-60/+0
|
* Move doc parsing/lexing into Haddock for ghc>=6.11Isaac Dupree2009-08-231-3/+5
|
* Add --print-ghc-libdirDavid Waern2009-08-151-3/+7
|
* Put all the IN_GHC_TREE stuff inside getGhcLibDirDavid Waern2009-08-151-19/+17
|
* Switch from PatternSignatures to ScopedTypeVariables in MainDavid Waern2009-08-131-1/+1
|
* Use cProjectVersion directly rather than going through compilerInfoIan Lynagh2009-07-161-2/+2
| | | | Fixes the build after changes in GHC
* Add Haddock module headersDavid Waern2009-06-241-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.TypesDavid Waern2009-06-241-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 layoutSimon Marlow2009-03-241-0/+8
|
* add unicode outputporges2008-12-071-2/+5
|
* Fix whitespace and stylistic issues in MainDavid Waern2009-04-051-46/+46
|
* Remove Haddock.GHC and move its (small) contents to MainDavid Waern2009-04-051-1/+52
|
* -Wall police in MainDavid Waern2009-03-281-15/+18
|
* Fix conflictsDavid Waern2009-03-271-2/+4
|
* Add some basic "verbose" mode logging in H.InterfaceDavid Waern2008-12-071-4/+2
|
* Add verbosity flag and utils, remove "verbose" flagDavid Waern2008-12-071-2/+10
|
* Fix bad error handling with newer GHCsDavid Waern2009-02-251-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 againDavid Waern2009-01-021-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 Mitchell2008-12-181-1/+2
| | | | working on an executable rather than a library
* Store hidden modules in .haddock filesDavid Waern2008-11-151-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 Waern2008-10-211-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 fileDavid Waern2008-10-201-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 ErrMsgsSimon Marlow2008-10-101-4/+2
|
* Make Haddock build with GHC 6.8.2David Waern2008-10-101-0/+19
|