1. 05 Aug, 2003 3 commits
  2. 04 Aug, 2003 2 commits
  3. 01 Aug, 2003 4 commits
  4. 31 Jul, 2003 3 commits
  5. 30 Jul, 2003 5 commits
    • simonmar's avatar
      [project @ 2003-07-30 17:09:12 by simonmar] · 77f7f386
      simonmar authored
      Fix problem with MARK.
      
      Patch submitted by Nicholas Nethercote <njn25@cam.ac.uk>.
      77f7f386
    • simonmar's avatar
      [project @ 2003-07-30 10:38:42 by simonmar] · 59940493
      simonmar authored
      TEXT_BEFORE_HEAP is not used any more.
      59940493
    • simonmar's avatar
      [project @ 2003-07-30 10:01:46 by simonmar] · e66106a5
      simonmar authored
      Throw away an SCC on a single variable.  This seems to be justified:
      there can be no work to attribute to the current cost centre when
      evaluating a lone variable, other than the act of entering the
      closure, and possibly returning immediately if it is a variable.
      
      This also fixes a bug in profiling, which showed up as incorrect
      transformations made by the simplifier resulting in extra strictness.
      The simplifier assumes (in Simplify.simplLazyBind) that (let x = e in
      x) will have been turned into x, but this isn't true if there's an SCC
      around the x.
      e66106a5
    • wolfgang's avatar
      [project @ 2003-07-30 09:21:12 by wolfgang] · 31d1bcbe
      wolfgang authored
      OpenGL support for Mac OS X:
      
      In FPTOOLS_CHECK_HTYPE, be ready to include Apple's non-standard
      <OpenGL/gl.h>
      instead of the usual <GL/gl.h>.
      31d1bcbe
    • wolfgang's avatar
      [project @ 2003-07-30 09:20:41 by wolfgang] · 5ca28d19
      wolfgang authored
      OpenGL support for Mac OS X:
      
      "./configure --enable-hopengl" on Mac OS X now uses the OpenGL libs that come
      with Apple's "Quartz" display system.
      "./configure --enable-hopengl=x11" looks for an X11 implementation of OpenGL
      (which is an optional install on Mac OS X).
      
      Added a corresponding "USE_QUARTZ_OPENGL" flag to config.h
      5ca28d19
  6. 29 Jul, 2003 4 commits
  7. 28 Jul, 2003 8 commits
    • moran's avatar
      [project @ 2003-07-28 16:16:07 by moran] · 09a17f7a
      moran authored
      Fix multi-slurp protection (#define was missing).  (No I don't go around
      looking at header files for minor problems like this; I was actually trying to
      remind myself how to do it, and this was the first place I looked :-)
      09a17f7a
    • simonmar's avatar
      [project @ 2003-07-28 16:05:30 by simonmar] · 387a411e
      simonmar authored
      Disable update-in-place.  In its current form, it has a serious bug:
      if the thunk being updated happens to have turned into a BLACKHOLE_BQ,
      then the mutable list will be corrupted by the update.
      
      Disabling update-in-place has some performance implications: many
      programs are not affected, but one program in nofib (nucleic2) goes
      about 20% slower.  However, I can get it to go 300% faster by adding a
      few strictness annotations and compiling with -funbox-strict-fields.
      387a411e
    • simonmar's avatar
      [project @ 2003-07-28 15:59:09 by simonmar] · cc19a5c8
      simonmar authored
      Comments only: the TICK_UPD_*_IN_PLACE aren't relevant any more.
      cc19a5c8
    • simonmar's avatar
      [project @ 2003-07-28 15:57:40 by simonmar] · 8480d768
      simonmar authored
      TICK_UPD_CON_IN_NEW() in the update code is wrong now, because it
      could be a PAP, not just a CON.
      8480d768
    • simonpj's avatar
      [project @ 2003-07-28 13:31:37 by simonpj] · ce136f8b
      simonpj authored
      Reorganise the type-system-extension part of GlaExts docs
      ce136f8b
    • simonpj's avatar
      [project @ 2003-07-28 12:04:27 by simonpj] · ea067762
      simonpj authored
      --------------------------
        Fix an obscure but long-standing bug in Type.applyTys
      	   --------------------------
      
      The interesting case, which previously killed GHC 6.0, is this
      	applyTys (forall a.a) [forall b.b, Int]
      This really can happen, via dressing up polymorphic types with newtype
      clothing.  Here's an example:
      	newtype R = R (forall a. a->a)
      	foo = case undefined :: R of
      
      Test simplCore/should_compile/simpl0009 uses this as a test case.
      ea067762
    • simonpj's avatar
      [project @ 2003-07-28 10:22:58 by simonpj] · eef96a79
      simonpj authored
      Comments only
      eef96a79
    • simonmar's avatar
      [project @ 2003-07-28 09:01:58 by simonmar] · b3e58b41
      simonmar authored
      Fix previous patch (backslashes required in multi-line macro defns).
      b3e58b41
  8. 25 Jul, 2003 3 commits
  9. 24 Jul, 2003 8 commits
    • simonmar's avatar
      [project @ 2003-07-24 16:31:42 by simonmar] · 259ec5e8
      simonmar authored
      Build genapply when BootingFromHc too - it'll help when compiling the
      RTS in the second stage (after turning off BootingFromHc).
      259ec5e8
    • simonpj's avatar
      [project @ 2003-07-24 15:27:27 by simonpj] · 963fe033
      simonpj authored
      Wibbles
      963fe033
    • simonmar's avatar
      [project @ 2003-07-24 15:12:35 by simonmar] · 135045b2
      simonmar authored
      Getting closer for GHC 6.x: now gets as far as building a working
      compiler from unregisterised HC files.
      135045b2
    • simonmar's avatar
      [project @ 2003-07-24 15:04:41 by simonmar] · d1d6d84f
      simonmar authored
      Fix for building _stub.c files in BootingFromHc mode.
      d1d6d84f
    • simonpj's avatar
      [project @ 2003-07-24 14:41:48 by simonpj] · 52bd2cc7
      simonpj authored
      Sync deriving( Data ) with the new Data class
      52bd2cc7
    • simonmar's avatar
      [project @ 2003-07-24 13:57:20 by simonmar] · 425008f9
      simonmar authored
      Let's build genprimopcode when bootstrapping too.  There doesn't seem
      to be an easy way around this.
      425008f9
    • simonmar's avatar
      [project @ 2003-07-24 13:40:05 by simonmar] · b8a3d34e
      simonmar authored
      Fix for unregisterised bootstrapping
      b8a3d34e
    • ralf's avatar
      [project @ 2003-07-24 12:19:56 by ralf] · ba2843ab
      ralf authored
      Major refactoring of Data/Generics.
      This also affects the compiler (because of deriving issues).
      This is an intermediate commit.
      The library is supposed to compile fine.
      But the deriving stuff for Data needs to be revised.
      The testsuite for Data/Generics will not pass.
      gread is broken at the moment.
      So it is strongly recommended not to cvs upd for a few hours or a day.
      
      Detailed description of changes:
      - Split up Data/Dynamic into Data/Typeable and Data/Dynamic.
        (This makes clear what part is about TypeReps and cast vs.
         dynamics. The latter is not needed by Data/Generics.)
      - Renamed Data/include/Dynamic.h -> Typeable.h to end confusion.
      - Split up Data/Generics.hs in a set of modules.
      - Revised class Data:
        - Got rid of gunfold but added fromConstr as more primtive one
        - Revised representations of constructors
        - Revised treatment of primitive types
      - Revised type of gmapQ; preserved old gmapQ as gmapL
      - Added a module Data/Types.hs for treatment of types as values.
      
      This is going somewhere.
      ba2843ab