1. 01 Jun, 2001 2 commits
    • sewardj's avatar
      [project @ 2001-06-01 13:07:35 by sewardj] · 30a35f3d
      sewardj authored
      Track recent changes to lib/std for mingw.  Mostly, make all seeked-on
      file handles be in binary mode.
      30a35f3d
    • sewardj's avatar
      [project @ 2001-06-01 13:06:01 by sewardj] · 4f3c6654
      sewardj authored
      More fixups to make the new IO lib work on mingw.
      * Outlaw changing the file position on a text-mode file.  After
        consideration of the mingw translation semantics I cannot see
        how to make a correct implementation.
      * Add a field to Handle__ to say whether or not the handle is in
        binary mode.
      * Restrict seek operations on Handles to those in binary mode.
      * Export hSetBinaryMode from IO.lhs.
      4f3c6654
  2. 31 May, 2001 18 commits
  3. 30 May, 2001 4 commits
  4. 29 May, 2001 5 commits
  5. 28 May, 2001 8 commits
    • qrczak's avatar
      [project @ 2001-05-28 17:34:24 by qrczak] · 15a7e6ba
      qrczak authored
      Fix removing temporary files.
      15a7e6ba
    • simonmar's avatar
      [project @ 2001-05-28 13:57:19 by simonmar] · 2e63bea6
      simonmar authored
      When we auto-load a module because the user typed a qualified name at
      the prompt, we better not auto-load a home interface (because we won't
      have the code to go with it).
      
      So, introduce a new constructor in the WhereFrom datatype, namely
      ImportByCmdLine for these auto-imports, and make findAndReadIface fail
      if it tries to load a home interface by this route.
      
      ToDo: GHCi should *never* demand-load a home interface under any
      circumstances, but we don't have an ASSERT for this yet.
      2e63bea6
    • simonmar's avatar
      [project @ 2001-05-28 12:56:35 by simonmar] · 15cf6d3b
      simonmar authored
      Change the GHCi monad from type
      
      	GHCiState -> IO (GHCiState, a)
      to
      	IORef GHCiState -> IO a
      
      to avoid losing recent changes to the state when we receive an
      exception (which would normally be harmless, except that the state
      isn't purely functional: it must match some state kept by the RTS's
      dynamic linker).  Asynchonous exceptions could still cause us some
      difficulty.
      15cf6d3b
    • simonpj's avatar
      [project @ 2001-05-28 11:42:56 by simonpj] · 5a023eed
      simonpj authored
      Wibble for scoped type variables
      5a023eed
    • sof's avatar
      [project @ 2001-05-28 07:13:54 by sof] · 63ae274a
      sof authored
      get rid of some more cpp warnings
      63ae274a
    • sof's avatar
      [project @ 2001-05-28 05:52:55 by sof] · d08fd403
      sof authored
      de-ramble previous commit
      d08fd403
    • sof's avatar
      [project @ 2001-05-28 03:31:19 by sof] · 4cef3202
      sof authored
      Misc minor changes to integrate GHC a little bit better on Win32 platforms.
      Specifically, the commit does the following (assuming you've configured
      fptools/ with the option --enable-minimal-unix-deps on a mingw platform):
      
       * when GHC uses System.system, it expects an MSDOS command processor to
         interpret the command. This implies that 'normal' UNIX shell utils will
         no longer be used, but substituted with MSDOS equivalents.
       * the GHC backend relies on gcc and perl to handle .s/.hc/.o/.a files. GHC
         will now assume that these all live in one 'tool directory', making it
         easier to bundle these backend tools with GHC.
      
      The upshot of these changes is that it is now possible for the user not to
      have to install cygwin prior to installing GHC (as the upcoming ghc-win32
      binary release will prove).
      4cef3202
    • sof's avatar
      [project @ 2001-05-28 03:17:03 by sof] · 8bbf522b
      sof authored
      Avoid the use of Posix when compiling for target i386-unknown-mingw32
      8bbf522b
  6. 27 May, 2001 3 commits