Permalink
Commits on Jan 19, 2006
  1. [project @ 2006-01-19 16:15:58 by simonmar]

    simonmar committed Jan 19, 2006
    omit the Main module from libHSghc.a
  2. [project @ 2006-01-19 16:11:04 by simonmar]

    simonmar committed Jan 19, 2006
    exposed-modules should include Config
  3. [project @ 2006-01-19 02:15:38 by sof]

    sof committed Jan 19, 2006
    tryPutMVarzh_fast: make it work in the non-full case.
    
    Merge to STABLE.
  4. test

    Simon Marlow committed Jan 19, 2006
  5. respect the -q switch in this script

    Simon Marlow committed Jan 19, 2006
Commits on Jan 18, 2006
  1. [project @ 2006-01-18 12:16:06 by simonpj]

    simonpj committed Jan 18, 2006
    Check for constructors in type signatures
  2. [project @ 2006-01-18 12:15:37 by simonpj]

    simonpj committed Jan 18, 2006
    Expunge all mention of CCallable/CReturnable
  3. [project @ 2006-01-18 11:13:06 by simonpj]

    simonpj committed Jan 18, 2006
    Ghci wibble; weaken assert
  4. [project @ 2006-01-18 11:00:35 by simonmar]

    simonmar committed Jan 18, 2006
    Remove dead code
  5. [project @ 2006-01-18 10:59:54 by simonmar]

    simonmar committed Jan 18, 2006
    Remove dead panic
  6. [project @ 2006-01-18 10:58:15 by simonmar]

    simonmar committed Jan 18, 2006
    Remove dead error
    
    (darcs patch from Ian Lynagh)
  7. [project @ 2006-01-18 10:49:32 by simonmar]

    simonmar committed Jan 18, 2006
    Implement :main (see ticket #662)
    
    Patch from Volker Stolz, minor mods by me
    
    When matching commands, we now look for (a) an exact match, and (b)
    the first prefix match we find in the list.  This is so that :module
    can still be abbreviated by :m, to avoid surprise.
    
    Docs still to do.
  8. [project @ 2006-01-18 10:40:46 by simonmar]

    simonmar committed Jan 18, 2006
    add a couple of missing symbols
  9. [project @ 2006-01-18 10:31:50 by simonmar]

    simonmar committed Jan 18, 2006
    - fix a mixup in Capability.c regarding signals: signals_pending() is not
      used in THREADED_RTS
    
    - some cleanups and warning removal while I'm here
  10. [project @ 2006-01-18 10:06:36 by simonmar]

    simonmar committed Jan 18, 2006
    Fix build on 5.04.x again
Commits on Jan 17, 2006
  1. [project @ 2006-01-17 16:13:18 by simonmar]

    simonmar committed Jan 17, 2006
    Improve the GC behaviour of IORefs (see Ticket #650).
    
    This is a small change to the way IORefs interact with the GC, which
    should improve GC performance for programs with plenty of IORefs.
    
    Previously we had a single closure type for mutable variables,
    MUT_VAR.  Mutable variables were *always* on the mutable list in older
    generations, and always traversed on every GC.
    
    Now, we have two closure types: MUT_VAR_CLEAN and MUT_VAR_DIRTY.  The
    latter is on the mutable list, but the former is not.  (NB. this
    differs from MUT_ARR_PTRS_CLEAN and MUT_ARR_PTRS_DIRTY, both of which
    are on the mutable list).  writeMutVar# now implements a write
    barrier, by calling dirty_MUT_VAR() in the runtime, that does the
    necessary modification of MUT_VAR_CLEAN into MUT_VAR_DIRY, and adding
    to the mutable list if necessary.
    
    This results in some pretty dramatic speedups for GHC itself.  I've
    just measureed a 30% overall speedup compiling a 31-module program
    (anna) with the default heap settings :-D
  2. [project @ 2006-01-17 16:03:47 by simonmar]

    simonmar committed Jan 17, 2006
    Improve the GC behaviour of IOArrays/STArrays
    
    See Ticket #650
    
    This is a small change to the way mutable arrays interact with the GC,
    that can have a dramatic effect on performance, and make tricks with
    unsafeThaw/unsafeFreeze redundant.  Data.HashTable should be faster
    now (I haven't measured it yet).
    
    We now have two mutable array closure types, MUT_ARR_PTRS_CLEAN and
    MUT_ARR_PTRS_DIRTY.  Both are on the mutable list if the array is in
    an old generation.  writeArray# sets the type to MUT_ARR_PTRS_DIRTY.
    The garbage collector can set the type to MUT_ARR_PTRS_CLEAN if it
    finds that no element of the array points into a younger generation
    (discovering this required a small addition to evacuate(), but rough
    tests indicate that it doesn't measurably affect performance).
    
    NOTE: none of this affects unboxed arrays (IOUArray/STUArray), only
    boxed arrays (IOArray/STArray).
    
    We could go further and extend the DIRTY bit to be per-block rather
    than for the whole array, but for now this is an easy improvement.
  3. [project @ 2006-01-17 13:50:06 by simonmar]

    simonmar committed Jan 17, 2006
    statDescribeGens: count large blocks in the "live" figure
  4. [project @ 2006-01-17 13:28:01 by simonmar]

    simonmar committed Jan 17, 2006
    take into account unscavenged copied words in +RTS -t stats.
  5. [project @ 2006-01-17 02:13:16 by wolfgang]

    wolfgang committed Jan 17, 2006
    Linux/PPC64: remove some dead code that accidentally slipped in.
    
    MERGE TO STABLE
  6. [project @ 2006-01-17 01:51:56 by wolfgang]

    wolfgang committed Jan 17, 2006
    Darwin/PPC:
    Make StgRunIsImplementedInAssembler non-static; gcc has recently acquired
    a habit of dead-stripping it.
    
    MERGE TO STABLE
Commits on Jan 16, 2006
  1. [project @ 2006-01-16 16:38:24 by simonmar]

    simonmar committed Jan 16, 2006
    Default signal handlers weren't being installed; amazing that this has
    been broken ever since I rearranged the signal handling code.
Commits on Jan 13, 2006
  1. improvements to darcs-all

    Simon Marlow committed Jan 13, 2006
    - get from the same repo as the main GHC repo, if that was a local filesystem
    - allow darcs whatsnew
    - use --repodir if possible
  2. Add infrastructure for multiple library packages

    Simon Marlow committed Jan 13, 2006
    The ./darcs-all script at the top level is an easier way to do darcs
    pull/push/get on the whole tree (it should probably allow more
    commands; I'll fix that later).
    
    libraries/default-packages is a list of darcs repositories with which
    to populate the libraries tree.
  3. Add a skeleton libraries directory

    Simon Marlow committed Jan 13, 2006
    Adding files from libraries that aren't in the other
    packages sub-repos.  I haven't bothered to try to keep
    history for these files, for history go back to the CVS
    repo.
Commits on Jan 12, 2006
  1. [project @ 2006-01-12 16:16:28 by simonmar]

    simonmar committed Jan 12, 2006
    GHC.runStmt: run the statement in a new thread to insulate the
    environment from bad things that the user code might do, such as fork
    a thread to send an exception back at a later time.  In order to do
    this, we had to keep track of which thread the ^C exception should go
    to in a global variable.
    
    Also, bullet-proof the top-level exception handler in GHCi a bit;
    there was a small window where an exception could get through, so if
    you lean on ^C for a while then press enter you could cause GHCi to
    exit.
  2. [project @ 2006-01-12 14:42:25 by simonmar]

    simonmar committed Jan 12, 2006
    +RTS -S: replace "collected" with "copied", which is more useful.
    +RTS -Dg: print size of mutable list, and breakdown by type of closure
    (MUT_VAR, MUT_ARR, others).
  3. [project @ 2006-01-12 13:49:24 by simonmar]

    simonmar committed Jan 12, 2006
    fix calculation of copied bytes, we had a words/bytes mismatch when
    adding the size of the mutable list
  4. [project @ 2006-01-12 12:41:03 by simonmar]

    simonmar committed Jan 12, 2006
    time_str:
      - use ctime_r if available
      - avoid use of strcpy on overlapping regions
    
    Ticket #480 (patch modified by me)
  5. [project @ 2006-01-12 12:40:01 by simonmar]

    simonmar committed Jan 12, 2006
    check for ctime_r
  6. [project @ 2006-01-12 10:04:36 by simonmar]

    simonmar committed Jan 12, 2006
    Document that source files are ASCII or UTF-8
  7. [project @ 2006-01-12 09:33:16 by simonmar]

    simonmar committed Jan 12, 2006
    put unicode keywords under -fglasgow-exts, they aren't Hasell98
Commits on Jan 11, 2006
  1. [project @ 2006-01-11 16:58:53 by simonmar]

    simonmar committed Jan 11, 2006
    MAYBE_GC: we should check alloc_blocks in addition to CurrentNursery,
    since some allocateLocal calls don't allocate from the nursery.