Permalink
Switch branches/tags
Commits on Jun 12, 2007
  1. Tweak banner printing

    igfoo committed Jun 12, 2007
    * -{short,long}-ghci-banner are now dynamic options, so you can put
      ":set -short-ghci-banner" in .ghci
    * The -v2 banner information now always tells you what compiler booted GHC,
      and what stage the compiler is. Thus we no longer assume that stage > 1
      iff GHCI is defined.
  2. Adding new ffi calls into the Hpc rts subsystem

    andy@galois.com
    andy@galois.com committed Jun 12, 2007
    foreign import ccall unsafe hs_hpc_write :: CString -> IO ()
    foreign import ccall unsafe hs_hpc_read  :: CString -> IO ()
    
    These write a Hpc description of the state of the world to a file, 
    or read a description into the current Hpc tickbox subsystem.
  3. fix compile error in the !GHCI_TABLES_NEXT_TO_CODE case

    Simon Marlow
    Simon Marlow committed Jun 12, 2007
Commits on Jun 9, 2007
  1. Windows bindist tweaking

    igfoo committed Jun 9, 2007
  2. Fix up whitespace

    igfoo committed Jun 9, 2007
  3. Fix bindists on Windows

    igfoo committed Jun 9, 2007
  4. Using blacklist of places not to cover, rather than reverse-engineer …

    andy@galois.com
    andy@galois.com committed Jun 9, 2007
    …deriving.
Commits on Jun 8, 2007
  1. Not adding ticks to compiler generated derived code.

    andy@galois.com
    andy@galois.com committed Jun 8, 2007
  2. Fix worker/wrapper ids for newtype instances

    mchakravarty committed Jun 8, 2007
    - mkDataConIds forced an algebraic worker/wrapper on newtype instances (not
      on vanilla newtypes).  I am not sure where this came from (from code I
      wrote or from the recent restructuring of MkIds), but its not the right
      thing to do.  In particular, it requires newtype instances to have con_info
      labels in the generated code, which makes no sense.
    - Worker construction for newtypes is smart enough that it will construct the
      right signature for newtype instances (ie, one that mentions the family
      type constructor, not the instance tycon).
  3. Fix deriving of indexed data types

    mchakravarty committed Jun 8, 2007
    - Fix typo introduced when moving deriving-specific code from TcEnv to TcDeriv
    - Thanks to Roman for the bug report
Commits on Jun 7, 2007
Commits on Jun 6, 2007
  1. Don't suggest -fno-monomorphism-restriction if it's already set

    simonpj@microsoft.com
    simonpj@microsoft.com committed Jun 6, 2007
    This patch implements the suggestion in Trac #1398.  It's obviously
    stupid to suggest -fno-monomorphism-restriction if the user is already
    using it.  
    
    (Maybe another suggestion would be good, but this one clearly bogus.)
  2. Remove unnecessary free-variables from renamer

    simonpj@microsoft.com
    simonpj@microsoft.com committed Jun 6, 2007
    The renamer used to be responsible for making sure that all interfaces
    with instance decls (other than orphans) were loaded.  But TH makes that
    impossible, so the typechecker does it, via checkWiredInTyCon.
    
    This patch simply removes redundant additions to the free-variable set
    in the renamer, which were there, I believe, solely to ensure that the 
    instances came in.  Removing them should change nothing, but it's a 
    useful clean up.
  3. FIX #1385: make sure tuple instances are loaded

    simonpj@microsoft.com
    simonpj@microsoft.com committed Jun 6, 2007
    Typechecking of explicit tuples is done "by hand" (rather than using
    boxySplitTyConApp) so that rigidity is maintained.  In making that change
    I'd forgotten to retain the call to checkWiredInTyCon, which is important
    to make sure instances are brought into scope.
    
    Test is tc227.
Commits on Jun 5, 2007
  1. Typo in comments

    simonpj@microsoft.com
    simonpj@microsoft.com committed Jun 5, 2007
  2. remove #if branches for pre-ghc-6.0

    Isaac Dupree
    Isaac Dupree committed Jun 5, 2007
    I skipped utils/hsc2hs/Main.hs since its ifs also involved
    checking for old versions of nhc98 (I don't want to figure that out),
    but removed everything else I found relating to building with pre-6.0
Commits on Jun 4, 2007
Commits on Jun 2, 2007
  1. Remove now-unused files

    igfoo committed Jun 2, 2007
  2. Fix ghcii.sh creation

    igfoo committed Jun 2, 2007
  3. Explicitly set datadir

    igfoo committed Jun 2, 2007
    Cabal defaults to the value we want on Linux, but uses
    "C:\\Program Files\\Common Files" on Windows.
Commits on Jun 1, 2007
  1. FIX #1378 Add option for a shorter banner on GHCi startup

    cdsmith@twu.net
    cdsmith@twu.net committed Jun 1, 2007
    Add -short-ghci-banner and -long-ghci-banner.  The default is long, which is
    the current behavior.  The short banner prints a one-line introduction with
    only the version, web site, and ":? for help" message.
  2. Fix bindist creation

    igfoo committed Jun 1, 2007
    Bindists should now work again, when doing "make install" at least.
    "make in-place" is probably still broken.
Commits on May 31, 2007
  1. Rework the build system a bit

    igfoo committed May 31, 2007
    Key changes:
    * Always build as if BIN_DIST is 1. BIN_DIST is thus removed.
    * Libraries are configured with prefix set to $$topdir rather than $(prefix)
Commits on May 30, 2007
Commits on May 18, 2007
  1. Fix PPC Mac OS X memory access problem in SMP.h (#1362)

    Thorkil Naur
    Thorkil Naur committed May 18, 2007