summaryrefslogtreecommitdiff
path: root/ghc
Commit message (Collapse)AuthorAgeFilesLines
* Move wORD_SIZE into platformConstantsIan Lynagh2012-09-161-6/+8
|
* Add more modes to mkDerivedConstantsIan Lynagh2012-09-131-3/+10
| | | | We now generate a platformConstants file that we can read at runtime.
* Update dependency on directory.Paolo Capriotti2012-09-091-1/+1
|
* Deprecate lnat, and use StgWord insteadSimon Marlow2012-09-071-1/+1
| | | | | | | | | | | | lnat was originally "long unsigned int" but we were using it when we wanted a 64-bit type on a 64-bit machine. This broke on Windows x64, where long == int == 32 bits. Using types of unspecified size is bad, but what we really wanted was a type with N bits on an N-bit machine. StgWord is exactly that. lnat was mentioned in some APIs that clients might be using (e.g. StackOverflowHook()), so we leave it defined but with a comment to say that it's deprecated.
* Move ldInputs into DynFlagsIan Lynagh2012-09-031-10/+10
|
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-09-031-2/+6
|\
| * Disable the MR by default in GHCi (#3202)Paolo Capriotti2012-09-031-2/+6
| |
* | Refactor the ways code a bitIan Lynagh2012-09-031-2/+2
|/ | | | | | | | We used to use a list lookup that couldn't fail. Now we just use functions. There were 3 overlapping entries for WayPar; I've commented out the ones that were shadowed for now.
* make sure to remove the right link before calling 'ln -s' (could we use 'ln ↵Gabor Greif2012-08-301-2/+2
| | | | -sf'?)
* Fix :issafe command (#7172).David Terei2012-08-231-31/+17
|
* Improve Safe Haskell warn/error output.David Terei2012-08-231-5/+1
|
* Improve compile times by enabling +RTS -H for GHC (only when bootstrapped)Simon Marlow2012-08-211-0/+8
|
* Give suggestions for unrecognised command line argumentsJoachim Breitner2012-08-131-2/+7
|
* Respect verbosity for "flags changed" message (#7139)Paolo Capriotti2012-08-131-1/+3
| | | | Also, print that message on stdout.
* Add "Unregisterised" as a field in the settings fileIan Lynagh2012-08-071-6/+6
| | | | | | To explicitly choose whether you want an unregisterised build you now need to use the "--enable-unregisterised"/"--disable-unregisterised" configure flags.
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-07-191-0/+1
|\
| * First batch of file additions for cross-compiler:Gabor Greif2012-07-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new file: ghc/ghc-cross.wrapper new file: includes/mkDerivedConstants.cross.awk new file: includes/mkSizeMacros.cross.awk new file: rules/cross-compiling.mk These are expected to sit quietly in the tree until the rest of the machinery matures on an (upcoming) branch. Reviews will begin to make sense as soon as that has happened. Anyway, comments are welcome. See <http://www.haskell.org/pipermail/cvs-ghc/2012-July/074456.html> for background. Disclaimer: these source files are not (yet) up to the quality standards set by the rest of the tree. Cleanups, move-arounds and rewrites (i.e. .awk -> .hs), as well as additional comments and documentation will happen as soon as the basic functionality of a cross-compiler is working reliably.
* | Add a separate FastZString typeIan Lynagh2012-07-151-7/+5
|/ | | | | | | | | FastStrings are now always UTF8-encoded. There's no StringTable for FastZString, but I don't think one is needed. We only ever make a FastZString by running zEncodeFS on a FastString, and the FastStrings are shared via the FastString StringTable, so we get the same FastZString from the IORef.
* Allow 'default' declarations in GHCiPatrick Palka2012-07-111-1/+1
|
* Make a little more of the GHCi internal API configurableDavid Terei2012-07-103-32/+76
|
* prefer later defined commands (fixes #3858)Peter Hercek2012-07-041-8/+6
|
* New version of the patch for #5461.Paolo Capriotti2012-06-251-3/+5
|
* Implemented feature request on reconfigurable pretty-printing in GHCi (#5461)Vitaly Bragilesky2012-06-251-0/+15
|
* Remove sortLe usesIan Lynagh2012-06-221-7/+6
|
* Remove 'on' from UtilIan Lynagh2012-06-221-8/+9
| | | | We can now rely on it being available from Data.Function
* Fix buildIan Lynagh2012-06-191-0/+1
|
* Build fixesIan Lynagh2012-06-181-1/+1
|
* Make -ignore-dot-ghci a dynamic flagIan Lynagh2012-06-181-3/+2
|
* Fix ghc/ following -dppr-user-length changesIan Lynagh2012-06-141-2/+1
|
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-06-131-1/+1
|\ | | | | | | | | Fix conflicts in: compiler/main/DynFlags.hs
| * fix spelling: "infered" -> "inferred"Simon Marlow2012-06-111-1/+1
| |
* | Pass DynFlags down to showSDocIan Lynagh2012-06-123-23/+31
| |
* | Pass DynFlags down to showPprIan Lynagh2012-06-121-1/+1
| |
* | Build fixesIan Lynagh2012-06-123-9/+14
| |
* | Pass DynFlags to the LogActionIan Lynagh2012-06-111-1/+1
| | | | | | | | | | | | | | 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-111-1/+1
| | | | | | | | We don't use it yet
* | Change how pprPanic worksIan Lynagh2012-06-111-0/+3
|/ | | | | We now include the String and the SDoc in the exception, and don't flatten them into a String until near the top-level
* Change how macros like ASSERT are definedIan Lynagh2012-06-051-2/+1
| | | | | By using Haskell's debugIsOn rather than CPP's "#ifdef DEBUG", we don't need to kludge things to keep the warning checker happy etc.
* Replace printDump with a new SeverityIan Lynagh2012-05-291-1/+3
| | | | | | We now use log_action with severity SevDump, rather than calling printDump. This means that what happens to dumped info is now under the control of the GHC API user, rather than always going to stdout.
* Updates for haskeline-0.7's new MonadException API.Judah Jacobson2012-05-262-11/+15
|
* Use transformers directly, rather than using mtlIan Lynagh2012-05-193-3/+5
| | | | This means we no longer need mtl in a GHC tree.
* Use pprInfixName in pprInfo (#6091)Paolo Capriotti2012-05-141-1/+1
| | | | Surround a name in backticks when printing an infix declaration in GHCi.
* Build fixIan Lynagh2012-05-061-1/+1
|
* Follow changes in haskelineIan Lynagh2012-05-061-2/+1
| | | | | I'm not sure if we still need to encode the error, but validate is happy with this fix, at least.
* Fix the stage1 ghc hschooks.cIan Lynagh2012-04-301-1/+1
| | | | | The stage0 compiler might have a different idea as to what type lnat corresponds to, so cast the value to the type we want.
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-04-271-5/+39
|\
| * Catch illegal imports earlier (#6007)Simon Marlow2012-04-271-5/+39
| |
* | Build fixesIan Lynagh2012-04-261-1/+1
| |
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-04-261-6/+5
|\ \ | |/
| * make -XNoImplicitPrelude work properly in GHCiSimon Marlow2012-04-251-6/+5
| |