1. 10 Mar, 2000 5 commits
    • sewardj's avatar
      [project @ 2000-03-10 18:28:26 by sewardj] · 37fe8f8c
      sewardj authored
      Nuke a substantial number of no-longer-supported options.
    • lewie's avatar
      [project @ 2000-03-10 17:30:36 by lewie] · 08e36f1d
      lewie authored
      First stab at reviving TREX - just fixing some header wibbles.  Also one small
      fix to get implicit parameters working (`textOf' needed to be taught that
      IPCELLs are also OK).  Moved #defines for TREX, IPARAM, etc, into options.h
      (in their previous location at the end of prelude.h, they were being defined
      too late).
    • simonmar's avatar
      [project @ 2000-03-10 15:23:40 by simonmar] · f9a0273c
      simonmar authored
      Fix h{Fill,Put}Buf(BA)?.  They now work in the presence of
      partial/blocking reads and writes, and hPutBuf now doesn't hold on to
      the handle while it's blocking.
    • simonmar's avatar
      [project @ 2000-03-10 15:20:18 by simonmar] · 2f4676b4
      simonmar authored
      Fix h{Fill,Put}Buf(BA)?.  They now work in the presence of
      partial/blocking reads and writes, and hPutBuf now doesn't hold on to
      the handle while it's blocking.
    • sewardj's avatar
      [project @ 2000-03-10 14:53:00 by sewardj] · 42d2afc5
      sewardj authored
      Compilation cleanups:
      * Add some prototypes to header files, to avoid compilation warnings.
      * Remove irrelevant #ifdeffery (#if NPLUSK, + various others)
  2. 09 Mar, 2000 14 commits
  3. 08 Mar, 2000 8 commits
    • andy's avatar
      [project @ 2000-03-08 23:55:00 by andy] · d060f70a
      andy authored
      A Prelude where IO is an abstract type, not a synonm.
      Previously, IO type errors were getting explained in terms of ST RealWorld.
    • andy's avatar
      [project @ 2000-03-08 22:05:43 by andy] · 8d264683
      andy authored
      Adding version of Makefile that looks in the new location for Prelude.hs
    • andy's avatar
      [project @ 2000-03-08 21:45:03 by andy] · 6d8af978
      andy authored
      Adding the latest version of the makefile
      Removing Prelude.hs from the lib dir
    • andy's avatar
      [project @ 2000-03-08 21:39:47 by andy] · 11a6ed09
      andy authored
      Moved Prelude.hs for STG Hugs to ghc/lib/hugs/Prelude.hs
      This means that everything in the ghc/interpreter/lib directory
      is generated. The new makefile for interpreter/lib will be added
    • simonmar's avatar
      [project @ 2000-03-08 17:48:24 by simonmar] · de896403
      simonmar authored
      - generalise the per-module initialisation stubs so that we use it
        in normal (non-profiled) code too.  The initialisation stubs are
        now called '__init_<module>' rather than '_reg<module>'.
      - Register foreign exported functions as stable pointers in the
        initialisation code for the module.  This fixes the foreign export
        problems reported by several people.
      - remove the concept of "module groups" from the profiling subsystem.
      - change the profiling semantics slightly; it should be unnecessary
        to use '-caf-all' to get reasonable profiles now.
    • simonmar's avatar
      [project @ 2000-03-08 15:58:30 by simonmar] · 54e6a4e1
      simonmar authored
      okToUnfoldInHiFile: look at args of a Con for litlits.
    • sewardj's avatar
      [project @ 2000-03-08 11:20:53 by sewardj] · b9cf3094
      sewardj authored
      Define EXTERN_SYMS_linux for Linux.
    • simonmar's avatar
      [project @ 2000-03-08 10:58:38 by simonmar] · 1d816bae
      simonmar authored
      Attempt to fix the Sparc version of StgRun.  Since
      RESERVED_STACK_SPACE increased beyond the size of a 13-bit immediate,
      the Sparc code has been broken.
      We try to fix this with some imaginative gcc inline assembly
      constraints.  If this breaks again, I'll try recoding it directly in
      While I'm here, pull in some of the comments from the old pre-4.00 RTS
      and add some new comments.
  4. 07 Mar, 2000 8 commits
  5. 06 Mar, 2000 5 commits
    • andy's avatar
      [project @ 2000-03-06 23:07:09 by andy] · 5e2c358f
      andy authored
      Adding latest version of STG Hugs libs makefile.
    • simonmar's avatar
      [project @ 2000-03-06 12:02:37 by simonmar] · 7f8f7919
      simonmar authored
      Add extra-closing-brace test.
    • simonmar's avatar
      [project @ 2000-03-06 11:58:27 by simonmar] · 656b963d
      simonmar authored
      Turn the panic in Lex.popContext into a parse error.
    • sewardj's avatar
      [project @ 2000-03-06 10:12:57 by sewardj] · 2add9208
      sewardj authored
      typeInstDefn(), the bit which invents GHC compatible instance names:
      handle multiparam type classes.  This enables Hugs standalone to deal
      multiparam type classes, but there's a fudge:
         class Foo s m where { }
         instance Foo s () where { }
      GHC calls the instance $fFoos.  But Hugs records type vars as offsets,
      and loses the name "s" in the instance head; all it knows about
      are tyvar numbers (offsets), starting from zero.  So it can never
      generate $fFoos here, only $fFoo0 (zero).  The resulting code works
      in standalone mode but will not interwork with GHC.  In general tho,
      multiparam type classes are not (yet) supported in combined mode;
      interface.c certainly can't handle them.
      It might be simplest in this case to change GHC's instance naming
      defn to be the same as Hugs'.
    • andy's avatar
      [project @ 2000-03-06 08:42:56 by andy] · a2f35a46
      andy authored
      Adding prelude changes require for the new libs, include IOExts.
      Reintroducing ptr equality into HugsSTG.