1. 12 Aug, 2004 2 commits
    • simonmar's avatar
      [project @ 2004-08-12 11:19:39 by simonmar] · 6c06a48b
      simonmar authored
      Take the timestamp of an interpreted linkable from the timestamp of
      the source file.  This works better when the local clock is out of
      sync with the filesystem, and it's just as accurate.
    • simonmar's avatar
      [project @ 2004-08-12 10:45:51 by simonmar] · af621730
      simonmar authored
      Finally fix this problem:
      make: *** No rule to make target `Text/Regex/Posix_hsc_make.c', needed by `depend'.  Stop.
      caused by temporary droppings from hsc2hs.
  2. 10 Aug, 2004 3 commits
    • simonmar's avatar
      [project @ 2004-08-10 14:36:25 by simonmar] · 85511088
      simonmar authored
      Windows fixes.  There were some strange things going on with Windows
      installation directories - I'm sure I've mucked up whatever was
      happening with 'make install' for GHC on Windows, but there were
      defintitely some bugs in here.  eg. we shouldn't have been setting
      datadir to $(prefix)/imports unconditionally on Windows.
      Make install now works for Happy, Alex and Haddock.  GHC probably
      needs a bit of tweaking to get it working again.
    • simonmar's avatar
      [project @ 2004-08-10 13:51:25 by simonmar] · cc33dd28
      simonmar authored
      Add $(Windows), which is "YES" if the host platform is a Windows
      platform (mingw32 or cygwin32), and "NO" otherwise.
    • simonmar's avatar
      [project @ 2004-08-10 09:02:36 by simonmar] · c9a32c38
      simonmar authored
      Fix problem with inline foreign-call changes yesterday.  Foreign call
      args sometimes have to be modified using shimFCallArg - nowadays this
      is done at code generation time, whereas it used to be done at
      pretty-printing time.
  3. 09 Aug, 2004 4 commits
    • simonmar's avatar
      [project @ 2004-08-09 14:27:53 by simonmar] · 05881eca
      simonmar authored
      Two changes:
        - newly created or unblocked threads go to the back of the run
          queue.  This is fairer because it avoids possible starvation.
          Fixes problem with conc004 test going much slower with optimisation.
        - The context switch flag is only reset after a yield.  Previously,
          it was being reset before we ran a thread, which meant that a tick
          that arrived during GC would be lost, and a thread doing lots of
          GC could hog the CPU.  Now, GC is effectively counted as part of
          the last running thread's timeslice.
    • simonmar's avatar
      [project @ 2004-08-09 13:19:29 by simonmar] · 46d88d87
      simonmar authored
      Allow case-of-unsafe-ccall to compile to straight-line code, like it
      used to.  This has already been fixed on the backend-hacking-branch,
      but I'm doing it here so that it can be merged into the STABLE branch,
      where it will help to work around a bug.
      The bug is in CgExpr.lhs:primRetUnboxedTuple, which picks temporaries
      to assign the result of a ccall to.  The Cg monad doesn't have a uniq
      supply (in the HEAD), so we always pick the same temporaries.  This
      leads to clashes in complex function with multiple ccalls.  Again,
      this is already fixed in the backend-hacking-branch.  I don't see an
      easy fix for this bug.
      The compilation of case-of-unsafe-ccall doesn't suffer from this
      problem, and it will help work around some cases of the bug, so I'm
      going to merge this onto the STABLE branch after some testing.
    • simonmar's avatar
      [project @ 2004-08-09 12:35:02 by simonmar] · a8601d0e
      simonmar authored
      Fix scoped type variable example.
    • simonmar's avatar
      [project @ 2004-08-09 12:15:09 by simonmar] · dfd0efbe
      simonmar authored
      Put a "-- " before the location info, since the rest of the output
      looks like Haskell source.
  4. 08 Aug, 2004 2 commits
  5. 06 Aug, 2004 1 commit
  6. 05 Aug, 2004 1 commit
  7. 02 Aug, 2004 1 commit
  8. 30 Jul, 2004 2 commits
  9. 28 Jul, 2004 2 commits
  10. 23 Jul, 2004 1 commit
  11. 21 Jul, 2004 4 commits
  12. 19 Jul, 2004 3 commits
  13. 15 Jul, 2004 2 commits
  14. 12 Jul, 2004 1 commit
  15. 09 Jul, 2004 2 commits
  16. 29 Jun, 2004 1 commit
    • panne's avatar
      [project @ 2004-06-29 17:14:01 by panne] · b1d4bb55
      panne authored
      Workaround for hbc: It compiles matching against 0-ary constructors in
      list comprehensions into wrong code, e.g.
         [ () | True <- [False] ]
      results in something like
         Error: No match in I4680Pinteractive
      when issued in hbi.
  17. 28 Jun, 2004 1 commit
  18. 27 Jun, 2004 1 commit
  19. 24 Jun, 2004 4 commits
  20. 23 Jun, 2004 2 commits
    • ross's avatar
      [project @ 2004-06-23 22:43:20 by ross] · 8000acbf
      ross authored
      arrow notation fixes (problems reported bu John Hughes):
      * allow an infixexp (exp0) to the left of -<.  This adds 4 more
        shift/reduce conflicts, because it makes if/lambda/let/case/proc
        before -< ambiguous.  This is the same sort of thing as
        "if x then y else z + 1", and as there shifting does the right thing.
      * described the grammar more precisely
      * fixed an example
      merge to STABLE
    • ross's avatar
      [project @ 2004-06-23 10:31:02 by ross] · eb4e9631
      ross authored
      rearrange documentation of SPECIALIZE.