1. 31 Jul, 2002 1 commit
  2. 29 Jul, 2002 3 commits
  3. 24 Jul, 2002 1 commit
  4. 23 Jul, 2002 6 commits
  5. 22 Jul, 2002 1 commit
  6. 19 Jul, 2002 2 commits
  7. 16 Jul, 2002 1 commit
  8. 15 Jul, 2002 2 commits
    • simonmar's avatar
      [project @ 2002-07-15 15:26:44 by simonmar] · ede13993
      simonmar authored
      Turns out that we *did* have a test that would have shown up the
      DsForeign bug (rev. 1.70 of ghc/compiler/deSugar/DsForeign.lhs) but it
      was disabled because it didn't quite work with the current test
      framework.
      
      I've hacked the framework a bit and hopefully knocked the test into
      shape so we shouldn't get the same problem again.
      
      MERGE TO STABLE after testing in HEAD
      ede13993
    • simonmar's avatar
      [project @ 2002-07-15 15:23:14 by simonmar] · d3c5f6e5
      simonmar authored
      Put the source file *before* any extra options for this test on the
      command line.  That way we can compile extra files that depend on
      things created by compiling the original source (eg. _stub files for
      multi-file FFI tests).
      d3c5f6e5
  9. 12 Jul, 2002 1 commit
  10. 10 Jul, 2002 2 commits
  11. 08 Jul, 2002 3 commits
  12. 02 Jul, 2002 1 commit
  13. 28 Jun, 2002 1 commit
  14. 27 Jun, 2002 2 commits
    • ken's avatar
      [project @ 2002-06-27 21:22:06 by ken] · 2acd17c0
      ken authored
      Fix 32-bit assumption: Int is not CInt
      2acd17c0
    • simonmar's avatar
      [project @ 2002-06-27 15:38:58 by simonmar] · d3a2dc1e
      simonmar authored
      Finally fix foreign export and foreign import "wrapper" so that
      exceptions raised during the call are handled properly rather than
      causing the RTS to bomb out.
      
      In particular, calling System.exitWith in a foreign export will cause
      the program to terminate cleanly with the desired exit code.  All
      other exceptions are printed on stderr (and the program is
      terminated).
      
      Details:
      
      GHC.TopHandler.runMain is now called runIO, and has type IO a -> IO a
      (previously it had type IO a -> IO (), but that's not general enough
      for a foreign export).  The stubs for foreign export and forein import
      "wrapper" now automatically wrap the computation in runIO or its dual,
      runNonIO.  It turned out to be simpler to do it this way than to do
      the wrapping in Haskell land (plain foreign exports don't have
      wrappers in Haskell).
      d3a2dc1e
  15. 21 Jun, 2002 5 commits
  16. 20 Jun, 2002 1 commit
  17. 19 Jun, 2002 4 commits
  18. 18 Jun, 2002 3 commits