aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
Commit message (Collapse)AuthorAgeFilesLines
* Remove LANGUAGE ForeignFunctionInterface pragmasDavid Waern2010-11-161-1/+1
|
* Style wibblesDavid Waern2010-11-161-26/+26
|
* WibbleDavid Waern2010-11-151-1/+1
|
* Just say "internal error" instead of "internal Haddock or GHC error"David Waern2010-11-151-1/+1
|
* Match all AsyncExceptions in exception handlerDavid Waern2010-11-151-3/+10
|
* Remove more ghc < 7 codeDavid Waern2010-11-151-1/+0
|
* Remove code for ghc < 7David Waern2010-11-151-2/+0
|
* Follow extension-flattening change in GHCIan Lynagh2010-10-231-6/+1
|
* Style policeDavid Waern2010-10-161-1/+1
|
* adding the option to fully qualify identifiersTobias Brandt2010-08-271-1/+2
|
* Use flattenExtensionFlags with ghc >= 6.13 onlyDavid Waern2010-08-291-1/+7
|
* Follow flattenLanguageFlags -> flattenExtensionFlags renameIan Lynagh2010-07-241-1/+1
|
* Flatten the dynflags before parsingIan Lynagh2010-07-241-1/+1
|
* Naming wibblesDavid Waern2010-08-291-9/+9
|
* Add source entity path to --read-interfaceDavid Waern2010-08-291-32/+39
| | | | | | | | | | | | | You can now use this flag like this: --read-interface=<html path>,<source entity path>,<.haddock file> By "source entity path" I mean the same thing that is specified with the --source-entity flag. The purpose of this is to be able to specify the source entity path per package, to allow source links to work in the presence of cross-package documentation. When given two arguments or less the --read-interface flag behaves as before.
* Get rid of GhcModule and related cruftDavid Waern2010-08-261-0/+2
| | | | We can get everything we need directly from TypecheckedModule.
* Follow recent API additions with some refactoringsDavid Waern2010-08-261-46/+30
| | | | | Simon Hegel's patch prompted me to do some refactorings in Main, Haddock.Documentation and Haddock.Interface.
* Add createInterfaces' (a more high-level alternative to createInterfaces) to ↵Simon Hengel2010-08-081-25/+47
| | | | Haddock API
* excisting last vestiges of the --xhtml flagMark Lentczner2010-07-241-5/+1
|
* command like processing for theme selectionMark Lentczner2010-07-231-7/+8
| | | | | | | The bulk of the change is threadnig the selected theme set through functions in Xhtml.hs so that the selected themes can be used when generating the page output. There isn't much going on in most of these changes, just passing it along. The real work is all done in Themes.hs.
* remove --html-help support - it was old, out-of-date, and mostly missingMark Lentczner2010-07-221-7/+3
|
* remove old HTML backendMark Lentczner2010-07-221-12/+3
|
* Improve function nameDavid Waern2010-07-221-3/+3
|
* Fix a bug where we allowed --hoogle, --latex, etc without input filesDavid Waern2010-07-221-0/+15
|
* Doc sections in MainDavid Waern2010-07-211-5/+5
|
* LaTeX backend (new options: --latex, --latex-style=<style>)Simon Marlow2010-06-301-0/+5
|
* Display name of prologue file when parsing it failsDavid Waern2010-06-081-1/+1
|
* 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
|