1. 04 Nov, 2005 1 commit
  2. 03 Nov, 2005 13 commits
  3. 02 Nov, 2005 9 commits
    • simonpj's avatar
      [project @ 2005-11-02 17:41:00 by simonpj] · d068f518
      simonpj authored
      Second correction to the TH fix of Oct 26, involving thFAKE
      
      Original message
        1) A bug in the renaming of [d| brackets |]. The problem was
        that when we renamed the bracket we messed up the name cache, because
        the module was still that of the parent module. Now we set a fake
        module before renaming it.
      
      This commit fixes the typecheker problem in a different way,
      in tcLookupGlobal.
      d068f518
    • simonpj's avatar
      [project @ 2005-11-02 17:39:57 by simonpj] · acc7346e
      simonpj authored
      Trace output only
      acc7346e
    • simonmar's avatar
      [project @ 2005-11-02 13:05:30 by simonmar] · 709d58c0
      simonmar authored
      release/acquire the SM lock around scheduleFinalizers(), because we
      need to call allocateLocal() in there, which acquires the SM lock.
      709d58c0
    • simonmar's avatar
      [project @ 2005-11-02 13:04:55 by simonmar] · db2468da
      simonmar authored
      when shutting down, don't allow a worker to exit until the run queue
      is empty, because the thread in exitScheduler() is waiting for this.
      db2468da
    • simonmar's avatar
      [project @ 2005-11-02 12:26:21 by simonmar] · d9dfeb2a
      simonmar authored
      scheduleHandleStackOverflow: fix bug in non-threaded RTS - if
      (task->tso != NULL), then (task->tso) is not necessarily the TSO we
      are running (in the threaded RTS it is).
      
      Also fix a few non-threaded warnings while I'm here.
      d9dfeb2a
    • simonmar's avatar
      [project @ 2005-11-02 12:23:58 by simonmar] · e30a37bc
      simonmar authored
      add an ASSERT
      e30a37bc
    • simonmar's avatar
      [project @ 2005-11-02 11:56:56 by simonmar] · 3348660b
      simonmar authored
      Fix warnings when assigning the result of a foreign call to BaseReg
      (as now happens in SMP mode with resumeThread()).
      3348660b
    • simonpj's avatar
      [project @ 2005-11-02 09:57:45 by simonpj] · f7e8044f
      simonpj authored
      Correct the TH fix of Oct 26, involving thFAKE
      		MERGE TO STABLE
      
      Original message
        1) A bug in the renaming of [d| brackets |]. The problem was
        that when we renamed the bracket we messed up the name cache, because
        the module was still that of the parent module. Now we set a fake
        module before renaming it.
      
      But we have to tell the *typechecker* too, not just the renamer.
      See comments with TcSplice.tc_bracket (DecBr case).
      
      Should fix TH failures in the STABLE branch
      f7e8044f
    • simonpj's avatar
      [project @ 2005-11-02 09:53:18 by simonpj] · ca49225c
      simonpj authored
      Export lists
      ca49225c
  4. 31 Oct, 2005 5 commits
  5. 30 Oct, 2005 1 commit
    • krasimir's avatar
      [project @ 2005-10-30 19:12:31 by krasimir] · 6e64c691
      krasimir authored
      Change the way in which the .exe suffix to the output file is added. The reason
      is that "-o main" will generate main.exe on Windows while the doesFileExists "main"
      in DriverPipeline.link will return False.
      6e64c691
  6. 29 Oct, 2005 3 commits
    • krasimir's avatar
      [project @ 2005-10-29 18:13:52 by krasimir] · 57d26da8
      krasimir authored
      The guessed output file should have ".exe" extension on Windows. ld tends to
      add .exe automatically if the output file doesn't have extension but if
      we don't add the extension explicitly then the doesFileExists check in
      DriverPipeline.link will fail.
      57d26da8
    • panne's avatar
      [project @ 2005-10-29 14:19:59 by panne] · 26f300ce
      panne authored
      Fixed the last commit, which broke the nightly builds. I'm not sure if
      this is really a fix or a workaround only, though...
      26f300ce
    • krasimir's avatar
      [project @ 2005-10-29 05:17:57 by krasimir] · 9decae3f
      krasimir authored
      The mut_lists array was allocated but never initialized. This was causing SegFault.
      9decae3f
  7. 28 Oct, 2005 6 commits
    • simonmar's avatar
      [project @ 2005-10-28 15:51:15 by simonmar] · dde80d73
      simonmar authored
      document -stubdir
      dde80d73
    • simonmar's avatar
      [project @ 2005-10-28 15:22:39 by simonmar] · f2e730f3
      simonmar authored
      Add -stubdir option to control location of generated stub files.  Also
      do some clean up while I'm here - remove hscStubCOut/hscStubHOut from
      DynFlags, and add
      
        mkStubPaths :: DynFlags -> Module -> ModLocation -> (FilePath,FilePath)
      
      to Finder.  (this seemed better than caching the stub paths in every
      ModLocation, because they are rarely needed and only present in home
      modules, and are easily calculated from other available information).
      
      -stubdir behaves in exactly the same way as -odir and -hidir.
      f2e730f3
    • simonmar's avatar
      [project @ 2005-10-28 11:35:35 by simonmar] · 55495951
      simonmar authored
      Change the default executable name to match the basename of the source
      file containing the Main module (or the module specified by -main-is),
      if there is one.  On Windows, the .exe extension is added.
      
      As requested on the ghc-users list, and as implemented by Tomasz
      Zielonka <tomasz.zielonka at gmail.com>, with modifications by me.
      
      I changed the type of the mainModIs field of DynFlags from Maybe
      String to Module, which removed some duplicate code.
      55495951
    • simonmar's avatar
      [project @ 2005-10-28 11:29:19 by simonmar] · d8afca91
      simonmar authored
      Fix double "Linking ..." message, and mention the name of the
      executable in the message.
      d8afca91
    • simonmar's avatar
      [project @ 2005-10-28 08:16:54 by simonmar] · bbf874f7
      simonmar authored
      Fix links to library doc for Haddock 0.7.
      bbf874f7
    • simonmar's avatar
      [project @ 2005-10-28 08:10:09 by simonmar] · 82460c32
      simonmar authored
      Fix recent breakage on non-Windows systems
      82460c32
  8. 27 Oct, 2005 2 commits
    • simonmar's avatar
      [project @ 2005-10-27 15:26:06 by simonmar] · 677c6345
      simonmar authored
      - Very simple work-sharing amongst Capabilities: whenever a Capability
        detects that it has more than 1 thread in its run queue, it runs
        around looking for empty Capabilities, and shares the threads on its
        run queue equally with the free Capabilities it finds.
      
      - unlock the garbage collector's mutable lists, by having private
        mutable lists per capability (and per generation).  The private
        mutable lists are moved onto the main mutable lists at each GC.
        This pulls the old-generation update code out of the storage manager
        mutex, which is one of the last remaining causes of (alleged) contention.
      
      - Fix some problems with synchronising when a GC is required.  We should
        synchronise quicker now.
      677c6345
    • simonpj's avatar
      [project @ 2005-10-27 15:21:05 by simonpj] · f9f5235f
      simonpj authored
      Improve warning a little (suggested by Benjamin Pierce)
      f9f5235f