aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
Commit message (Collapse)AuthorAgeFilesLines
* Add git commits since switchover:David Waern2011-06-101-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | darcs format (followed by a conflict resolution): commit 6f92cdd12d1354dfbd80f8323ca333bea700896a Merge: f420cc4 28df3a1 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Thu May 19 17:54:34 2011 +0100 Merge remote branch 'origin/master' into ghc-generics commit 28df3a119f770fdfe85c687dd73d5f6712b8e7d0 Author: Max Bolingbroke <batterseapower@hotmail.com> Date: Sat May 14 22:37:02 2011 +0100 Unicode fix for getExecDir on Windows commit 89813e729be8bce26765b95419a171a7826f6d70 Merge: 6df3a04 797ab27 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 9 11:55:17 2011 +0100 Merge branch 'ghc-new-co' commit 6df3a040da3dbddee67c6e30a892f87e6b164383 Author: Ian Lynagh <igloo@earth.li> Date: Sun May 8 17:05:50 2011 +0100 Follow changes in SDoc commit f420cc48b9259f0b1afd2438b12f9a2bde57053d Author: Jose Pedro Magalhaes <jpm@cs.uu.nl> Date: Wed May 4 17:31:52 2011 +0200 Adapt haddock to the removal of HsNumTy and TypePat. commit 797ab27bdccf39c73ccad374fea265f124cb52ea Merge: 1d81436 5a91450 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 2 12:05:03 2011 +0100 Merge remote branch 'origin/master' into ghc-new-co commit 1d8143659a81cf9611668348e33fd0775c7ab1d2 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 2 12:03:46 2011 +0100 Wibbles for ghc-new-co branch commit 5a91450e2ea5a93c70bd3904b022445c9cc82488 Author: Ian Lynagh <igloo@earth.li> Date: Fri Apr 22 00:51:56 2011 +0100 Follow defaultDynFlags change in GHC
* Fix indentation problemDavid Waern2010-12-111-6/+6
|
* WibbleDavid Waern2010-12-061-0/+1
|
* Add a flag --pretty-html for rendering indented html with newlinesDavid Waern2010-12-061-3/+5
|
* 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.