summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove PlatformOutputableIan Lynagh2012-06-1333-328/+285
| | | | | We can now get the Platform from the DynFlags inside an SDoc, so we no longer need to pass the Platform in.
* Whitespace only in nativeGen/RegAlloc/Graph/Main.hsIan Lynagh2012-06-131-306/+299
|
* Make tracingDynFlags slightly more definedIan Lynagh2012-06-123-11/+18
| | | | | In particular, fields like 'flags' are now set to the default, so at least they will work to some extent.
* Pass DynFlags down to pprDefiniteTraceIan Lynagh2012-06-122-6/+6
|
* Add DynFlags to the SDoc stateIan Lynagh2012-06-124-40/+42
|
* Use SDoc rather than Doc in the native gensIan Lynagh2012-06-129-279/+236
| | | | This avoid lots of converting back and forth between the two types.
* Use SDoc rather than Doc in LLVMIan Lynagh2012-06-126-74/+72
| | | | | In particular, this makes life simpler when we want to use a general GHC SDoc in the middle of some LLVM.
* Pass DynFlags down to pprDebugAndThenIan Lynagh2012-06-122-10/+10
|
* Remove unused showsPrecSDocIan Lynagh2012-06-121-4/+1
|
* Pass DynFlags down to showSDocDumpOneLineIan Lynagh2012-06-122-10/+14
|
* Pass DynFlags down to showSDocDebugIan Lynagh2012-06-127-74/+83
|
* Pass DynFlags down to showSDocIan Lynagh2012-06-1248-320/+434
|
* Remove unused showRdrNameIan Lynagh2012-06-121-6/+0
| | | | It was equivalent to showPpr anyway.
* GhcApiError now contains a String, not an SDocIan Lynagh2012-06-122-7/+10
|
* Use showPpr in a few more placesIan Lynagh2012-06-122-3/+4
|
* Avoid a needless trip via SDoc when showing a UniqueIan Lynagh2012-06-121-3/+1
|
* Store short error message text as a stringIan Lynagh2012-06-121-3/+5
| | | | | | | We also store the Doc still, although we don't have to; we could just convert back again, at the cost of some inefficiency. But we do need the String, so that we can print it in the Show instance.
* Pass DynFlags down to mk_err_msgIan Lynagh2012-06-1213-103/+116
|
* Remove an unused Show instanceIan Lynagh2012-06-121-3/+0
|
* Don't needlessly go via SDoc in mkAutoCCIan Lynagh2012-06-121-3/+3
|
* Redefine pprPanicFastInt in terms of panicDocIan Lynagh2012-06-122-5/+5
|
* Pass DynFlags down to showPprIan Lynagh2012-06-127-31/+40
|
* Remove the Show Var instanceIan Lynagh2012-06-122-5/+2
|
* Provide a way of 'show'int a Unique without going via SDocIan Lynagh2012-06-121-20/+13
|
* Remove some redundant Show instancesIan Lynagh2012-06-127-21/+0
|
* Build fixesIan Lynagh2012-06-123-9/+14
|
* Pass DynFlags down to showSDocDumpIan Lynagh2012-06-126-60/+98
| | | | | To help with this, we now also pass DynFlags around inside the SpecM monad.
* Fix whitespace in specialise/Specialise.lhsIan Lynagh2012-06-111-497/+490
|
* Pass DynFlags down to showSDocUnqualIan Lynagh2012-06-111-2/+2
|
* Pass DynFlags down to showSDocForUserIan Lynagh2012-06-111-2/+2
|
* Pass DynFlags down to showSDocOneLineIan Lynagh2012-06-114-14/+21
|
* Pass DynFlags to renderWithStyleIan Lynagh2012-06-112-3/+3
|
* Make it possible to show SrcSpans without going via DocIan Lynagh2012-06-112-23/+24
| | | | | | | | This shouldn't be any slower; the FilePaths were already going via String so that we could normalise them. This means that very early on, when printing flag parsing errors, we can do so without having a DynFlags yet.
* Fix whitespace in basicTypes/SrcLoc.lhsIan Lynagh2012-06-111-123/+115
|
* Pass DynFlags down to printForC and printForAsmIan Lynagh2012-06-113-7/+9
|
* Pass DynFlags down to printForUserPartWayIan Lynagh2012-06-111-2/+3
|
* Pass DynFlags down to printForUserIan Lynagh2012-06-112-3/+4
|
* Pass DynFlags down to hPrintDumpIan Lynagh2012-06-114-4/+9
|
* Pass DynFlags around a bit moreIan Lynagh2012-06-111-5/+5
|
* Pass DynFlags to the LogActionIan Lynagh2012-06-1118-44/+52
| | | | | | | A side-effect is that we can no longer use the LogAction in defaultErrorHandler, as we don't have DynFlags at that point. But all that defaultErrorHandler did is to print Strings as SevFatal, so now it takes a 'FatalMessager' instead.
* Pass DynFlags to prettyPrintGhcErrorsIan Lynagh2012-06-112-11/+12
| | | | We don't use it yet
* Make Ppr* versions of the Sorry and PgmError exceptions tooIan Lynagh2012-06-113-7/+19
|
* Change how pprPanic worksIan Lynagh2012-06-115-3/+29
| | | | | We now include the String and the SDoc in the exception, and don't flatten them into a String until near the top-level
* Add some more Integer rulesIan Lynagh2012-06-082-3/+69
|
* Merge branch 'master' of http://darcs.haskell.org/ghcDimitrios.Vytiniotis2012-06-08139-1609/+1936
|\
| * Deprecate old -package-conf flags.Paolo Capriotti2012-06-081-2/+6
| |
| * Merge remote-tracking branch 'origin/pretty-build'Paolo Capriotti2012-06-0810-43/+64
| |\
| | * Merge remote-tracking branch 'origin/master' into pretty-buildIavor S. Diatchki2012-04-2776-659/+853
| | |\
| | * | A build-system tweak for more readable build output.Iavor S. Diatchki2012-04-2710-43/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change reduces the (default) verbosity of the build system. This makes it easier to spot warnings in the output and, also, it makes it easier to estimate how far along are we in the build process by just glancing at the output. To get the traditional fully verbose output, set V=1, like this: make V=1
| * | | Typo in commentSimon Peyton Jones2012-06-081-1/+1
| | | |