summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * tweak error messageSimon Marlow2012-02-161-2/+1
| |
| * oops, a Bool is a little *too* lax (#5878)Simon Marlow2012-02-161-1/+2
| |
* | Tidy up kind generalisation a bitSimon Peyton Jones2012-02-161-9/+12
| |
* | Wibbles to the ATyVar changesSimon Peyton Jones2012-02-162-4/+8
| |
* | Rejig Core Lint to deal better with polymorphic kindsSimon Peyton Jones2012-02-161-281/+181
| |
* | Tidy up the canonicaliserSimon Peyton Jones2012-02-164-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 itSimon Peyton Jones2012-02-169-97/+94
| | | | | | | | This isn't really a forced change, but is a useful tidy-up
* | Get rid of now-outdated zonkTypeCarefullySimon Peyton Jones2012-02-163-16/+4
| |
* | Comments onlySimon Peyton Jones2012-02-162-1/+21
| |
* | Remove dead codeSimon Peyton Jones2012-02-162-130/+1
| |
* | Mainly tidying up pretty printing of typesSimon Peyton Jones2012-02-166-58/+45
| | | | | | | | | | including (a) centralising Outputable.paBrackets (b) printing the quote on promoted TyCon/DataCon
* | Refactoring around super-kindsSimon Peyton Jones2012-02-1612-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 Marlow2012-02-161-5/+6
|
* Compile link .note section separately from main.cNathan Howell2012-02-161-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 Marlow2012-02-162-5/+8
|
* fix ARM StgCRun to not save and restore r11/fp register twiceKarel Gardas2012-02-161-2/+2
|
* fix ARM's StgCRun clobbered register list for both ARM and Thumb modesKarel Gardas2012-02-161-1/+15
|
* fix #5534 (ghci -fobject-code strangeness)Simon Marlow2012-02-163-4/+27
|
* Define a quotRem CallishMachOp; fixes #5598Ian Lynagh2012-02-1411-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. FisherIan Lynagh2012-02-143-0/+1810
|
* Remove the old ext-core docsIan Lynagh2012-02-147-1045/+0
| | | | They've now been merged into the user guide.
* Minor documentation fixSimon Hengel2012-02-141-1/+1
| | | | Add a missing 'be' to Haddock comment of `HscTarget`.
* Refactoring: make IIModule contain ModuleName, not Module, for consistencySimon Marlow2012-02-143-77/+85
|
* Refactoring, and fix a couple of SafeHaskell-related thingsSimon Marlow2012-02-141-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 Marlow2012-02-131-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 Marlow2012-02-131-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.hSimon Marlow2012-02-131-4/+4
|
* Allocate pinned object blocks from the nursery, not the globalSimon Marlow2012-02-135-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 fixSimon Hengel2012-02-111-1/+1
| | | | Add a missing 'to' to the documentation of "Safe Haskell".
* Improve FreeBSD support in configureIan Lynagh2012-02-111-1/+3
| | | | Patch from Sergei Trofimovich.
* Add dragonfly support; based on a patch from Goetz IsenmannIan Lynagh2012-02-113-10/+15
|
* Fix some more sh syntax in configure.acIan Lynagh2012-02-101-2/+3
|
* Fix equality testing for test(1) on FreeBSDGabor Pali2012-02-101-1/+1
|
* Have :load work under -XSafe in GHCi.David Terei2012-02-101-6/+10
|
* Don't add a bad import to the saved context.David Terei2012-02-101-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 Terei2012-02-101-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-mailsIan Lynagh2012-02-101-0/+118
|
* Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2012-02-101-1/+4
|\
| * Distinguish between normal and qualified unused importsTrevor Elliott2012-02-101-1/+4
| |
* | Complete fix of #5820Simon Peyton Jones2012-02-103-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-orphansSimon Peyton Jones2012-02-102-4/+10
| |
* | Put only local instances in the interactive context (fixes Trac #5820)Simon Peyton Jones2012-02-101-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 WindowsIan Lynagh2012-02-101-0/+3
| | | | | WhatGccIsCalled was no longer being defined on Windows. Spotted by Niklas Larsson.
* Fix '-distrust-all-packages' flag.David Terei2012-02-082-2/+2
|
* MERGE from 7.4 branch: Update dependenciesIan Lynagh2012-02-083-6/+6
|
* Remove a workaround for building with GHC 6.12.2Ian Lynagh2012-02-071-7/+0
|
* ARM StgRun: Ensure r11 state is preservedBen Gamari2012-02-071-3/+3
|
* Ignore -C when not unregisterised (reported on ghc-users)Simon Marlow2012-02-071-2/+9
|
* avoid 32-bit integer overflow (#5831)Simon Marlow2012-02-071-1/+1
|
* Check that imported modules actually exist (#5836)Simon Marlow2012-02-071-0/+1
|