Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | tweak error message | Simon Marlow | 2012-02-16 | 1 | -2/+1 | |
| | | ||||||
| * | oops, a Bool is a little *too* lax (#5878) | Simon Marlow | 2012-02-16 | 1 | -1/+2 | |
| | | ||||||
* | | Tidy up kind generalisation a bit | Simon Peyton Jones | 2012-02-16 | 1 | -9/+12 | |
| | | ||||||
* | | Wibbles to the ATyVar changes | Simon Peyton Jones | 2012-02-16 | 2 | -4/+8 | |
| | | ||||||
* | | Rejig Core Lint to deal better with polymorphic kinds | Simon Peyton Jones | 2012-02-16 | 1 | -281/+181 | |
| | | ||||||
* | | Tidy up the canonicaliser | Simon Peyton Jones | 2012-02-16 | 4 | -189/+260 | |
| | | | | | | | | | | | | I have forgotten what the original driver for this change was. There is quite a bit of refactoring in TcCanonical; the rest is minor. | |||||
* | | Change ATyVar to only have a *tyvar* not a *type* in it | Simon Peyton Jones | 2012-02-16 | 9 | -97/+94 | |
| | | | | | | | | This isn't really a forced change, but is a useful tidy-up | |||||
* | | Get rid of now-outdated zonkTypeCarefully | Simon Peyton Jones | 2012-02-16 | 3 | -16/+4 | |
| | | ||||||
* | | Comments only | Simon Peyton Jones | 2012-02-16 | 2 | -1/+21 | |
| | | ||||||
* | | Remove dead code | Simon Peyton Jones | 2012-02-16 | 2 | -130/+1 | |
| | | ||||||
* | | Mainly tidying up pretty printing of types | Simon Peyton Jones | 2012-02-16 | 6 | -58/+45 | |
| | | | | | | | | | | including (a) centralising Outputable.paBrackets (b) printing the quote on promoted TyCon/DataCon | |||||
* | | Refactoring around super-kinds | Simon Peyton Jones | 2012-02-16 | 12 | -77/+85 | |
|/ | | | | | And in particular we now have BOX :: BOX See Note [SuperKind (BOX)] in TysPrim | |||||
* | point to the wiki for "Setting up your system for building GHC" (#5874) | Simon Marlow | 2012-02-16 | 1 | -5/+6 | |
| | ||||||
* | Compile link .note section separately from main.c | Nathan Howell | 2012-02-16 | 1 | -26/+31 | |
| | | | | | | Fixes gas errors when -g is enabled: Error: can't resolve `.debug-ghc-link-info' {.debug-ghc-link-info section} - `.Ltext0' {.text section} | |||||
* | Be less conservative about recompiling after changes to -main-is (#5878) | Simon Marlow | 2012-02-16 | 2 | -5/+8 | |
| | ||||||
* | fix ARM StgCRun to not save and restore r11/fp register twice | Karel Gardas | 2012-02-16 | 1 | -2/+2 | |
| | ||||||
* | fix ARM's StgCRun clobbered register list for both ARM and Thumb modes | Karel Gardas | 2012-02-16 | 1 | -1/+15 | |
| | ||||||
* | fix #5534 (ghci -fobject-code strangeness) | Simon Marlow | 2012-02-16 | 3 | -4/+27 | |
| | ||||||
* | Define a quotRem CallishMachOp; fixes #5598 | Ian Lynagh | 2012-02-14 | 11 | -448/+495 | |
| | | | | | This means we no longer do a division twice when we are using quotRem (on platforms on which the op is supported; currently only amd64). | |||||
* | Add docbook-ised external-core doc; from #5844, by James H. Fisher | Ian Lynagh | 2012-02-14 | 3 | -0/+1810 | |
| | ||||||
* | Remove the old ext-core docs | Ian Lynagh | 2012-02-14 | 7 | -1045/+0 | |
| | | | | They've now been merged into the user guide. | |||||
* | Minor documentation fix | Simon Hengel | 2012-02-14 | 1 | -1/+1 | |
| | | | | Add a missing 'be' to Haddock comment of `HscTarget`. | |||||
* | Refactoring: make IIModule contain ModuleName, not Module, for consistency | Simon Marlow | 2012-02-14 | 3 | -77/+85 | |
| | ||||||
* | Refactoring, and fix a couple of SafeHaskell-related things | Simon Marlow | 2012-02-14 | 1 | -33/+58 | |
| | | | | | | | | | When -XSafe is on: - ":load M" should default to adding M to the context (rather than *M). - "import M" should do the appropriate trust check Also various refactoring and comments added, hopefully the code is easier to read now. | |||||
* | Revert "Don't add a bad import to the saved context." | Simon Marlow | 2012-02-13 | 1 | -28/+17 | |
| | | | | | | | This reverts commit e5272d9bf2a65b7da8364803fcafbd2012b7de97. Reverting to fix validate regression, and pending a redesign of the changes. | |||||
* | Revert "Have :load work under -XSafe in GHCi." | Simon Marlow | 2012-02-13 | 1 | -10/+6 | |
| | | | | | | | This reverts commit 5e9e07a33e17da01245f0cea78e6a6f8a32ac77d. Reverting to fix validate regression, and pending a redesign of the changes. | |||||
* | .cmm files need to depend on DerivedConstants.h | Simon Marlow | 2012-02-13 | 1 | -4/+4 | |
| | ||||||
* | Allocate pinned object blocks from the nursery, not the global | Simon Marlow | 2012-02-13 | 5 | -13/+94 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allocator. Prompted by a benchmark posted to parallel-haskell@haskell.org by Andreas Voellmy <andreas.voellmy@gmail.com>. This program exhibits contention for the block allocator when run with -N2 and greater without the fix: {-# LANGUAGE MagicHash, UnboxedTuples, BangPatterns #-} module Main where import Control.Monad import Control.Concurrent import System.Environment import GHC.IO import GHC.Exts import GHC.Conc main = do [m] <- fmap (fmap read) getArgs n <- getNumCapabilities ms <- replicateM n newEmptyMVar sequence [ forkIO $ busyWorkerB (m `quot` n) >> putMVar mv () | mv <- ms ] mapM takeMVar ms busyWorkerB :: Int -> IO () busyWorkerB n_loops = go 0 where go !n | n >= n_loops = return () | otherwise = do p <- (IO $ \s -> case newPinnedByteArray# 1024# s of { (# s', mbarr# #) -> (# s', () #) } ) go (n+1) | |||||
* | Minor documentation fix | Simon Hengel | 2012-02-11 | 1 | -1/+1 | |
| | | | | Add a missing 'to' to the documentation of "Safe Haskell". | |||||
* | Improve FreeBSD support in configure | Ian Lynagh | 2012-02-11 | 1 | -1/+3 | |
| | | | | Patch from Sergei Trofimovich. | |||||
* | Add dragonfly support; based on a patch from Goetz Isenmann | Ian Lynagh | 2012-02-11 | 3 | -10/+15 | |
| | ||||||
* | Fix some more sh syntax in configure.ac | Ian Lynagh | 2012-02-10 | 1 | -2/+3 | |
| | ||||||
* | Fix equality testing for test(1) on FreeBSD | Gabor Pali | 2012-02-10 | 1 | -1/+1 | |
| | ||||||
* | Have :load work under -XSafe in GHCi. | David Terei | 2012-02-10 | 1 | -6/+10 | |
| | ||||||
* | Don't add a bad import to the saved context. | David Terei | 2012-02-10 | 1 | -17/+28 | |
| | | | | | | Importing an unsafe module in GHCi under -XSafe would fail but still save that in the context so it would be retried on every subsequent import. | |||||
* | Don't allow implicit qualified imports in GHCi when -XSafe on. | David Terei | 2012-02-10 | 1 | -1/+6 | |
| | | | | | | It would be better to actually check the safety of the import but doing that requires some significant refactoring of code so punting for another day. | |||||
* | Add script for sending bug remilestoning e-mails | Ian Lynagh | 2012-02-10 | 1 | -0/+118 | |
| | ||||||
* | Merge branch 'master' of http://darcs.haskell.org/ghc | Simon Peyton Jones | 2012-02-10 | 1 | -1/+4 | |
|\ | ||||||
| * | Distinguish between normal and qualified unused imports | Trevor Elliott | 2012-02-10 | 1 | -1/+4 | |
| | | ||||||
* | | Complete fix of #5820 | Simon Peyton Jones | 2012-02-10 | 3 | -62/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two related changes in here a) Fix TcRnDriver.setInteractiveContext so that it initialises tcg_insts and tcg_fam_insts, as well as the corresponding tcg_inst_env and tcg_fam_inst_env fields. Vital! b) Fix FamInst.tcExtendLocalFamInstEnv for the GHCi case. It had a special HACK to allow family instances to be overridden in GHCi. Fair enough, but * It was only affecting the tcg_fam_inst_env, not tcg_fam_insts * It overrode home-package instances as well as ones entered at the GHCi prompt, which probably wasn't intended. I fixed both of these, and also narrowed the scope of what it does to override only *identical* instances, rather than any ones that conflict. If people yelp about this we can return to the question, but for now it narrows the range of the HACK | |||||
* | | Document -fwarn-auto-orphans | Simon Peyton Jones | 2012-02-10 | 2 | -4/+10 | |
| | | ||||||
* | | Put only local instances in the interactive context (fixes Trac #5820) | Simon Peyton Jones | 2012-02-10 | 1 | -2/+2 | |
|/ | | | | | | | | In HscMain.hscDeclsWithLocaion, we were grabbing class instances from the tcg_inst_env field of the TcGblEnv. But that's wrong: that field contains all the *home-package* instances. Instead we need the tct_insts field, which has just the instances from the module being compiled. | |||||
* | Fix the build on Windows | Ian Lynagh | 2012-02-10 | 1 | -0/+3 | |
| | | | | | WhatGccIsCalled was no longer being defined on Windows. Spotted by Niklas Larsson. | |||||
* | Fix '-distrust-all-packages' flag. | David Terei | 2012-02-08 | 2 | -2/+2 | |
| | ||||||
* | MERGE from 7.4 branch: Update dependencies | Ian Lynagh | 2012-02-08 | 3 | -6/+6 | |
| | ||||||
* | Remove a workaround for building with GHC 6.12.2 | Ian Lynagh | 2012-02-07 | 1 | -7/+0 | |
| | ||||||
* | ARM StgRun: Ensure r11 state is preserved | Ben Gamari | 2012-02-07 | 1 | -3/+3 | |
| | ||||||
* | Ignore -C when not unregisterised (reported on ghc-users) | Simon Marlow | 2012-02-07 | 1 | -2/+9 | |
| | ||||||
* | avoid 32-bit integer overflow (#5831) | Simon Marlow | 2012-02-07 | 1 | -1/+1 | |
| | ||||||
* | Check that imported modules actually exist (#5836) | Simon Marlow | 2012-02-07 | 1 | -0/+1 | |
| |