1. 09 Nov, 2004 5 commits
  2. 08 Nov, 2004 1 commit
  3. 07 Nov, 2004 1 commit
  4. 06 Nov, 2004 2 commits
  5. 04 Nov, 2004 1 commit
  6. 03 Nov, 2004 2 commits
  7. 27 Oct, 2004 1 commit
  8. 26 Oct, 2004 1 commit
  9. 25 Oct, 2004 1 commit
  10. 24 Oct, 2004 1 commit
  11. 23 Oct, 2004 2 commits
  12. 20 Oct, 2004 3 commits
    • simonmar's avatar
      [project @ 2004-10-20 14:25:34 by simonmar] · 57c61612
      simonmar authored
      compile: temporarily add the directory containing the .hs file to the
      include path.  This matches what compiling in one-shot mode does, and
      fixes a bug whereby the _stub.h file couldn't be found when compiling
      with --make.
      57c61612
    • simonpj's avatar
      [project @ 2004-10-20 13:34:04 by simonpj] · f4c9d2b2
      simonpj authored
      ---------------------------------
      	Fix a bug in usage recording
      	---------------------------------
      
      As a result of the new stuff on hi-boot-file consistency checking, I
      accidentally caused Foo.hi to record a usage line for module Foo, and
      this in turn caused rather nasty bad things to happen.  In particular,
      there were occasional crashes of form
      
      ghc-6.3: panic! (the `impossible' happened, GHC version 6.3.20041017):
              forkM Constructor Var.TcTyVar{d r1B9}
      
      At least I think that's why the crash happened.
      
      Anyway, it was certainly a bug, and this commit fixes it.  The main
      payload of this fix is in Desugar.lhs;  the rest is comments and
      tidying.
      f4c9d2b2
    • simonmar's avatar
      [project @ 2004-10-20 11:16:08 by simonmar] · ca23a049
      simonmar authored
      Fix braino in pprAsmCLbl
      ca23a049
  13. 19 Oct, 2004 1 commit
  14. 18 Oct, 2004 9 commits
  15. 15 Oct, 2004 2 commits
  16. 14 Oct, 2004 1 commit
    • simonmar's avatar
      [project @ 2004-10-14 14:58:37 by simonmar] · bb01a96b
      simonmar authored
      Threaded RTS improvements:
      
       - Unix only: implement waitRead#, waitWrite# and delay# in Haskell,
         by having a single Haskell thread (the IO manager) performing a blocking
         select() operation.  Threads communicate with the IO manager
         via channels.  This is faster than doing the select() in the RTS,
         because we only restart the select() when a new request arrives,
         rather than each time around the scheduler.
      
         On Windows we just make blocking IO calls, we don't have a fancy IO
         manager (yet).
      
       - Simplify the scheduler for the threaded RTS, now that we don't have
         to wait for IO in the scheduler loop.
      
       - Remove detectBlackHoles(), which isn't used now (not sure how long
         this has been unused for... perhaps it was needed back when main threads
         used to be GC roots, so we had to check for blackholes manually rather
         than relying on the GC.)
      
      Signals aren't quite right in the threaded RTS.  In fact, they're
      slightly worse than before, because the thread receiving signals might
      be blocked in a C call - previously there always be another thread
      stuck in awaitEvent() that would notice the signal, but that's not
      true now.  I can't see an easy fix yet.
      bb01a96b
  17. 13 Oct, 2004 1 commit
  18. 12 Oct, 2004 1 commit
  19. 11 Oct, 2004 4 commits
    • simonpj's avatar
      [project @ 2004-10-11 16:16:20 by simonpj] · 6a4854ea
      simonpj authored
      ---------------------------------
      	Add lists to valid derivable methods
      	---------------------------------
      
      	(It'd be nice to merge this into the stable
      	branch. It is an increase in functionality, but
      	it's quite separate from everything else.)
      
      Lists are useful in derivable type classes.  E.g. methods like
      
      	class Shrinkable a where
      	  op :: a -> [a]
      
      This commit adds them, to join functions and tuples.
      6a4854ea
    • simonpj's avatar
      [project @ 2004-10-11 16:13:31 by simonpj] · 92342d89
      simonpj authored
      Remove dead code tcSplitMethodTy
      92342d89
    • simonpj's avatar
      [project @ 2004-10-11 16:12:58 by simonpj] · 041ca5cc
      simonpj authored
      ---------------------------------
      	Fix bug in derivable type classes
      	---------------------------------
      
      		MERGE TO STABLE (if poss)
      
      The test for not-supported method types for derivable type classes
      was broken. This fixes it.
      041ca5cc
    • simonmar's avatar
      [project @ 2004-10-11 14:44:36 by simonmar] · 3fc8c5b2
      simonmar authored
      Fixes to readline detection and use.
      VS: ----------------------------------------------------------------------
      3fc8c5b2