1. 14 Apr, 2000 21 commits
  2. 13 Apr, 2000 12 commits
    • sewardj's avatar
      [project @ 2000-04-13 23:03:12 by sewardj] · f3653fdf
      sewardj authored
      Changed NO_REGS to NO_MACHREGS to avoid inexplicable gcc warnings when
      building the rts for Hugs.
      f3653fdf
    • panne's avatar
      [project @ 2000-04-13 20:41:30 by panne] · f5262d44
      panne authored
      GHC has instance amnesia again, so a bunch of funny
      `import Ppr{Core,Type} ()? had to be added. Sorry,
      but I need a bootstrapping GHC.
      f5262d44
    • panne's avatar
      [project @ 2000-04-13 19:44:22 by panne] · 5c5e8acc
      panne authored
      Again: Addr is an abstract type in Addr, so import from PrelAddr instead.
      Told you so...
      5c5e8acc
    • panne's avatar
      [project @ 2000-04-13 19:31:05 by panne] · 8ab73b40
      panne authored
      Bootstrapping fun:
      
         * Addr is an abstract type in Addr, so import from PrelAddr instead
         * Ignore the (recently introduced) return value of hPutBuf{,BA}
      
      Probably more to come. No problem, as long as I don't run out of malt
      first... %-)
      8ab73b40
    • panne's avatar
      [project @ 2000-04-13 19:12:17 by panne] · b982e78c
      panne authored
      Ooops, forgot one -syslib => -package
      b982e78c
    • panne's avatar
      [project @ 2000-04-13 18:49:21 by panne] · c7255390
      panne authored
      HS_cbits => HSstd_cbits
      c7255390
    • panne's avatar
      [project @ 2000-04-13 15:37:11 by panne] · 4bba3f6e
      panne authored
      StgStablePtr is now void*, as required by The Happy Bit Fiddlers
      4bba3f6e
    • rrt's avatar
      [project @ 2000-04-13 15:00:49 by rrt] · e5386763
      rrt authored
      Added details of packages.
      e5386763
    • panne's avatar
      [project @ 2000-04-13 14:27:15 by panne] · 2bd8f82f
      panne authored
      Removed the useless (and hard to implement) readForeignObjOffAddr#
      2bd8f82f
    • simonmar's avatar
      [project @ 2000-04-13 14:11:00 by simonmar] · 4ade8dd3
      simonmar authored
      remove accidentally committed stuff.
      4ade8dd3
    • simonpj's avatar
      [project @ 2000-04-13 11:56:35 by simonpj] · 9579283c
      simonpj authored
      Add support for 'packages'.
      
      * A package is a group of modules.
      
      * A package has a name (e.g. std)
      
      * A package is built into a single library (Unix; e.g. libHSstd.a)
                             or a single DLL     (Windows; e.g. HSstd.dll)
      
      * The '-package-name foo' flag tells GHC that the module being compiled
        is destined for package foo.
      
      * The '-package foo' flag tells GHC to make available modules
        from package 'foo'.  It replaces '-syslib foo' which is now deprecated.
      
      * Cross-package references cost an extra indirection in Windows,
        but not Unix
      
      * GHC does not maintain detailed cross-package dependency information.
        It does remember which modules in other packages the current module
        depends on, but not which things within those imported things.
      
      
      All of this tidies up the Prelude enormously.  The Prelude and
      Standard Libraries are built into a singl package called 'std'.  (This
      is a change; the library is now called libHSstd.a instead of libHS.a)
      9579283c
    • simonmar's avatar
      [project @ 2000-04-13 08:58:27 by simonmar] · 41c2bcab
      simonmar authored
      Move block/unblockAsyncExceptions here, now that they're used in PrelHandle.
      41c2bcab
  3. 12 Apr, 2000 7 commits
    • simonmar's avatar
      [project @ 2000-04-12 17:33:16 by simonmar] · 313a61d5
      simonmar authored
      This commit fixes the trace/stderr problem, and also fixes some other
      problems with the I/O library.
      
      	- handles now contain a list of free buffers, which are
      	  guaranteed to be the same size as the primary handle buffer.
      
      	- hPutStr now doesn't evaluate any part of the input string with
      	  the handle locked.  Instead, it acquires a buffer from the handle
      	  copies characters into it, then commits the buffer.  This is
      	  better for concurrency too, because the handle is only locked
      	  while we're actually reading/writing, not while evaluating.
      
      	- there were an even number of off-by-one errors in the I/O system
      	  which compensated for each other.  This has been fixed.
      
      	- made the I/O subsystem a little more exception-safe.  It still
      	  isn't totally exception-safe, but I can't face doing that
      	  without a complete rewrite of this thing in Haskell.
      
      	- add hPutBufFull and hGetBufFull.  The compiler probably needs to
      	  be updated to use these too.
      313a61d5
    • simonmar's avatar
      [project @ 2000-04-12 17:12:23 by simonmar] · f016aea1
      simonmar authored
      add takeMaybeMVarzh_fast decl.
      f016aea1
    • simonmar's avatar
      [project @ 2000-04-12 17:11:38 by simonmar] · 076f86b3
      simonmar authored
      add takeMaybeMVarzh_fast
      076f86b3
    • simonmar's avatar
      [project @ 2000-04-12 17:08:15 by simonmar] · 3e567b65
      simonmar authored
      add takeMaybeMVar
      3e567b65
    • simonmar's avatar
      [project @ 2000-04-12 16:22:48 by simonmar] · 7e150969
      simonmar authored
      add takeMaybeMVar#
      7e150969
    • simonmar's avatar
      [project @ 2000-04-12 16:15:35 by simonmar] · c790b2ec
      simonmar authored
      hack to fix bootstrapping
      c790b2ec
    • simonmar's avatar
      [project @ 2000-04-12 15:35:18 by simonmar] · f73bc271
      simonmar authored
      Add takeMaybeMVarzh  (I'm doing this commit in bits, since my working
      sources are so full of changes I can't easily unpick them...)
      f73bc271