1. 07 Nov, 2009 5 commits
  2. 06 Nov, 2009 3 commits
    • Ian Lynagh's avatar
      Fix the build · b88939db
      Ian Lynagh authored
      b88939db
    • Simon Marlow's avatar
      Rollback #1185 fix · c3685050
      Simon Marlow authored
      As far as I can tell, the hack I was using in rts/Linker.c won't work
      on OS X.  Back to the drawing board.
      
      rolling back:
      
      Tue Nov  3 16:05:47 GMT 2009  Simon Marlow <marlowsd@gmail.com>
        * Fix #1185 (RTS part, also needs corresponding change to libraries/base)
        GHC.Conc.ensureIOManagerIsRunning now creates an IO manager thread if
        one does not exist or has died/exited.
        
        Unfortunately this exposed a problem caused by the fact that we have
        two base packages, and hence two IO managers, in GHCi: see NOTE
        [io-manager-ghci] in rts/Linker.c.  The workaround can go away if/when
        we switch to a dynamically linked GHCi.
        
      
          M ./rts/Linker.c -6 +47
          M ./rts/Schedule.c +4
          M ./rts/package.conf.in +16
          M ./rts/posix/Signals.c -1 +7
          M ./rts/posix/Signals.h +2
      
      Wed Nov  4 10:11:03 GMT 2009  Simon Marlow <marlowsd@gmail.com>
        * hopefully fix validate breakage on OS X and Windows
      
          M ./rts/Linker.c -1 +1
      
      Wed Nov  4 16:27:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
        * fix build failure on Windows
      
          M ./rts/Linker.c -1 +1
      c3685050
    • Simon Marlow's avatar
      Accept any non-space characters in a header file (#3624) · 3035c581
      Simon Marlow authored
      The FFI spec doesn't say exactly which characters may occur in a
      header file, so to be on the safe side we'll accept anything that
      isn't a space.
      3035c581
  3. 05 Nov, 2009 11 commits
  4. 04 Nov, 2009 1 commit
  5. 05 Nov, 2009 2 commits
  6. 03 Nov, 2009 2 commits
  7. 05 Nov, 2009 2 commits
  8. 04 Nov, 2009 2 commits
    • rl@cse.unsw.edu.au's avatar
      Add builtin rule to eliminate unnecessary casts in seq · ad923917
      rl@cse.unsw.edu.au authored
      The patch adds this rule:
      
        seq (x `cast` co) y = seq x y
      
      This is subject to the usual treatment of seq rules. It also makes them
      match more often: it will rewrite
      
        seq (f x `cast` co) y = seq (f x) y
      
      and allow a seq rule for f to match.
      ad923917
    • rl@cse.unsw.edu.au's avatar
      Consider variables with conlike unfoldings interesting · c01e472e
      rl@cse.unsw.edu.au authored
      In this expression:
      
        let x = f (g e1) in e2
      
      the simplifier will inline f if it thinks that (g e1) is an interesting
      argument. Until now, this was essentially the case if g was a data constructor
      - we'd inline f in the hope that it will inspect and hence eliminate the
      constructor application. This patch extends this mechanism to CONLIKE
      functions. We consider (g e1) interesting if g is CONLIKE and inline f in the
      hope that this will allow rewrite rules to match.
      c01e472e
  9. 03 Nov, 2009 1 commit
  10. 04 Nov, 2009 8 commits
  11. 03 Nov, 2009 1 commit
    • Simon Marlow's avatar
      Fix #1185 (RTS part, also needs corresponding change to libraries/base) · 3501ac6a
      Simon Marlow authored
      GHC.Conc.ensureIOManagerIsRunning now creates an IO manager thread if
      one does not exist or has died/exited.
      
      Unfortunately this exposed a problem caused by the fact that we have
      two base packages, and hence two IO managers, in GHCi: see NOTE
      [io-manager-ghci] in rts/Linker.c.  The workaround can go away if/when
      we switch to a dynamically linked GHCi.
      3501ac6a
  12. 21 Oct, 2009 1 commit
  13. 03 Nov, 2009 1 commit
    • Ian Lynagh's avatar
      Refactor package installation · e542d75c
      Ian Lynagh authored
      There is now less makefile code duplication.
      Also, stage2 packages are registered after GHC, which is important as
      they might depend on the ghc package (as dph now does).
      e542d75c