Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove PlatformOutputable | Ian Lynagh | 2012-06-13 | 33 | -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.hs | Ian Lynagh | 2012-06-13 | 1 | -306/+299 |
| | |||||
* | Make tracingDynFlags slightly more defined | Ian Lynagh | 2012-06-12 | 3 | -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 pprDefiniteTrace | Ian Lynagh | 2012-06-12 | 2 | -6/+6 |
| | |||||
* | Add DynFlags to the SDoc state | Ian Lynagh | 2012-06-12 | 4 | -40/+42 |
| | |||||
* | Use SDoc rather than Doc in the native gens | Ian Lynagh | 2012-06-12 | 9 | -279/+236 |
| | | | | This avoid lots of converting back and forth between the two types. | ||||
* | Use SDoc rather than Doc in LLVM | Ian Lynagh | 2012-06-12 | 6 | -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 pprDebugAndThen | Ian Lynagh | 2012-06-12 | 2 | -10/+10 |
| | |||||
* | Remove unused showsPrecSDoc | Ian Lynagh | 2012-06-12 | 1 | -4/+1 |
| | |||||
* | Pass DynFlags down to showSDocDumpOneLine | Ian Lynagh | 2012-06-12 | 2 | -10/+14 |
| | |||||
* | Pass DynFlags down to showSDocDebug | Ian Lynagh | 2012-06-12 | 7 | -74/+83 |
| | |||||
* | Pass DynFlags down to showSDoc | Ian Lynagh | 2012-06-12 | 48 | -320/+434 |
| | |||||
* | Remove unused showRdrName | Ian Lynagh | 2012-06-12 | 1 | -6/+0 |
| | | | | It was equivalent to showPpr anyway. | ||||
* | GhcApiError now contains a String, not an SDoc | Ian Lynagh | 2012-06-12 | 2 | -7/+10 |
| | |||||
* | Use showPpr in a few more places | Ian Lynagh | 2012-06-12 | 2 | -3/+4 |
| | |||||
* | Avoid a needless trip via SDoc when showing a Unique | Ian Lynagh | 2012-06-12 | 1 | -3/+1 |
| | |||||
* | Store short error message text as a string | Ian Lynagh | 2012-06-12 | 1 | -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_msg | Ian Lynagh | 2012-06-12 | 13 | -103/+116 |
| | |||||
* | Remove an unused Show instance | Ian Lynagh | 2012-06-12 | 1 | -3/+0 |
| | |||||
* | Don't needlessly go via SDoc in mkAutoCC | Ian Lynagh | 2012-06-12 | 1 | -3/+3 |
| | |||||
* | Redefine pprPanicFastInt in terms of panicDoc | Ian Lynagh | 2012-06-12 | 2 | -5/+5 |
| | |||||
* | Pass DynFlags down to showPpr | Ian Lynagh | 2012-06-12 | 7 | -31/+40 |
| | |||||
* | Remove the Show Var instance | Ian Lynagh | 2012-06-12 | 2 | -5/+2 |
| | |||||
* | Provide a way of 'show'int a Unique without going via SDoc | Ian Lynagh | 2012-06-12 | 1 | -20/+13 |
| | |||||
* | Remove some redundant Show instances | Ian Lynagh | 2012-06-12 | 7 | -21/+0 |
| | |||||
* | Build fixes | Ian Lynagh | 2012-06-12 | 3 | -9/+14 |
| | |||||
* | Pass DynFlags down to showSDocDump | Ian Lynagh | 2012-06-12 | 6 | -60/+98 |
| | | | | | To help with this, we now also pass DynFlags around inside the SpecM monad. | ||||
* | Fix whitespace in specialise/Specialise.lhs | Ian Lynagh | 2012-06-11 | 1 | -497/+490 |
| | |||||
* | Pass DynFlags down to showSDocUnqual | Ian Lynagh | 2012-06-11 | 1 | -2/+2 |
| | |||||
* | Pass DynFlags down to showSDocForUser | Ian Lynagh | 2012-06-11 | 1 | -2/+2 |
| | |||||
* | Pass DynFlags down to showSDocOneLine | Ian Lynagh | 2012-06-11 | 4 | -14/+21 |
| | |||||
* | Pass DynFlags to renderWithStyle | Ian Lynagh | 2012-06-11 | 2 | -3/+3 |
| | |||||
* | Make it possible to show SrcSpans without going via Doc | Ian Lynagh | 2012-06-11 | 2 | -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.lhs | Ian Lynagh | 2012-06-11 | 1 | -123/+115 |
| | |||||
* | Pass DynFlags down to printForC and printForAsm | Ian Lynagh | 2012-06-11 | 3 | -7/+9 |
| | |||||
* | Pass DynFlags down to printForUserPartWay | Ian Lynagh | 2012-06-11 | 1 | -2/+3 |
| | |||||
* | Pass DynFlags down to printForUser | Ian Lynagh | 2012-06-11 | 2 | -3/+4 |
| | |||||
* | Pass DynFlags down to hPrintDump | Ian Lynagh | 2012-06-11 | 4 | -4/+9 |
| | |||||
* | Pass DynFlags around a bit more | Ian Lynagh | 2012-06-11 | 1 | -5/+5 |
| | |||||
* | Pass DynFlags to the LogAction | Ian Lynagh | 2012-06-11 | 18 | -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 prettyPrintGhcErrors | Ian Lynagh | 2012-06-11 | 2 | -11/+12 |
| | | | | We don't use it yet | ||||
* | Make Ppr* versions of the Sorry and PgmError exceptions too | Ian Lynagh | 2012-06-11 | 3 | -7/+19 |
| | |||||
* | Change how pprPanic works | Ian Lynagh | 2012-06-11 | 5 | -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 rules | Ian Lynagh | 2012-06-08 | 2 | -3/+69 |
| | |||||
* | Merge branch 'master' of http://darcs.haskell.org/ghc | Dimitrios.Vytiniotis | 2012-06-08 | 139 | -1609/+1936 |
|\ | |||||
| * | Deprecate old -package-conf flags. | Paolo Capriotti | 2012-06-08 | 1 | -2/+6 |
| | | |||||
| * | Merge remote-tracking branch 'origin/pretty-build' | Paolo Capriotti | 2012-06-08 | 10 | -43/+64 |
| |\ | |||||
| | * | Merge remote-tracking branch 'origin/master' into pretty-build | Iavor S. Diatchki | 2012-04-27 | 76 | -659/+853 |
| | |\ | |||||
| | * | | A build-system tweak for more readable build output. | Iavor S. Diatchki | 2012-04-27 | 10 | -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 comment | Simon Peyton Jones | 2012-06-08 | 1 | -1/+1 |
| | | | |