1. 18 May, 2005 4 commits
  2. 17 May, 2005 17 commits
  3. 16 May, 2005 10 commits
    • simonmar's avatar
      [project @ 2005-05-16 14:40:06 by simonmar] · df0ba686
      simonmar authored
      document +RTS -I
      df0ba686
    • simonmar's avatar
      [project @ 2005-05-16 14:39:54 by simonmar] · 37c4e49e
      simonmar authored
      Set BINDIST_DOC_WAYS appropriately depending on which doc-building
      tools are available.  The default is to build all of html, ps & pdf if
      possible.
      37c4e49e
    • simonmar's avatar
      [project @ 2005-05-16 14:27:07 by simonmar] · 33a84b8c
      simonmar authored
      Allow the amount of idle time which must pass before we force a major
      GC to be configured at runtime with the +RTS -I<secs> option.
      
      The idle GC only happens in the threaded RTS, and it is useful because
      it can make finalizers run more promptly, and also detect cases of
      deadlock.  Without the idle GC, Haskell computation must be taking
      place in order for finalizers to run or deadlock to be detected, and
      the only way some Haskell computation can take place is usually by
      in-calls.
      
      +RTS -I0 turns off the idle GC, the default is +RTS -I0.3.
      
      We might need to add more tuning if it turns out that the idle GC is
      problematic, for example we don't check how long the GC actually took,
      and we should probably back off if major GCs are taking too long and
      adversely affecting interactive responsiveness.
      33a84b8c
    • simonmar's avatar
      [project @ 2005-05-16 13:47:57 by simonmar] · 34c2b1b2
      simonmar authored
      Implement -x <suffix> flag to override the suffix of a filename for
      the purposes of determinig how it should be compiled.  The usage is
      similar to gcc, except that we just use a suffix rather than a name
      for the language. eg.
      
         ghc -c -x hs hello.blah
      
      will pretend hello.blah is a .hs file.  Another possible use is -x
      hspp, which skips preprocessing.
      
      This works for one-shot compilation, --make, GHCi, and ghc -e.  The
      original idea was to make it possible to use runghc on a file that
      doesn't end in .hs, so changes to runghc will follow.
      
      Also, I made it possible to specify .c files and other kinds of files
      on the --make command line; these will be compiled to objects as
      normal and linked into the final executable.
      
      GHC API change: I had to extend the Target type to include an optional
      start phase, and also GHC.guessTarget now takes a (Maybe Phase) argument.
      
      I thought this would be half an hour, in fact it took half a day, and
      I still haven't documented it.  Sigh.
      34c2b1b2
    • krasimir's avatar
      [project @ 2005-05-16 13:21:11 by krasimir] · afdca09f
      krasimir authored
      added modInfoIsExportedName & modInfoLookupName functions
      afdca09f
    • simonpj's avatar
      [project @ 2005-05-16 12:40:14 by simonpj] · 94cc5f40
      simonpj authored
      Better debug-printing for -ddump-inlinings
      94cc5f40
    • simonpj's avatar
      [project @ 2005-05-16 12:39:55 by simonpj] · 7f668158
      simonpj authored
      Dont print result type for Core case-expressions (too voluminous)
      7f668158
    • simonpj's avatar
      [project @ 2005-05-16 12:39:15 by simonpj] · 4898649c
      simonpj authored
      Add assertions (only)
      4898649c
    • simonpj's avatar
      [project @ 2005-05-16 12:38:38 by simonpj] · edaedc5b
      simonpj authored
      Newtype representation
      
      		Merge to STABLE
      
      This commit fixes a long-standing bug (simple clerical error) in mkNewTyConRep,
      which for some reason had gone un-discovered for years.
      
      tc183 tests it.
      edaedc5b
    • simonmar's avatar
      [project @ 2005-05-16 09:24:53 by simonmar] · 313797f8
      simonmar authored
      - re-initalise cap on returning from STG land, because we might now
        have a different capability.  ToDo: we should pass it back somehow,
        rather than looking it up in the hash table
      
      - export unblockOneLocked (we'll need this later)
      313797f8
  4. 15 May, 2005 2 commits
  5. 14 May, 2005 2 commits
  6. 13 May, 2005 5 commits