Skip to content
Commits on May 25, 2011
  1. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  2. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  3. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  4. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  5. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  6. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  7. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  8. @igfoo

    More DynFlags + SDoc

    igfoo committed May 25, 2011
  9. @igfoo
  10. @igfoo

    Remove unused ghci/ByteCodeFFI.lhs

    igfoo committed May 25, 2011
  11. @dcoutts
  12. @dcoutts

    Provide the pkgroot value in ghc-pkg dump & describe when necessary

    Tools handling installed packages need to be able to interpret the
    paths which are relative to the ${pkgroot} which means they need to
    know the value of ${pkgroot}. With ghc-pkg this is not always obvious
    since ghc-pkg does not currently have any way machine interface for
    reporting the location of its package dbs (global, user). The solution
    we have arrived at is simply to emit the pkgroot as an extra field
    when it is needed.
    
    There are two cases:
     * --no-expand-pkgroot: ghc-pkg dump/describe will not expand the
       ${pkgroot} var, so it will appear literally in the output and the
       pkgroot field will be generated so that tools know what value to
       use for the ${pkgroot}.
     * --expand-pkgroot: ghc-pkg dump/describe will expand the ${pkgroot}
       and ${pkgrooturl} vars and will not generate the pkgroot field.
    
    The defaults are:
     * ghc-pkg dump/describe --no-expand-pkgroot
     * ghc-pkg field --expand-pkgroot
    dcoutts committed May 25, 2011
  13. @simonmar

    sizeExpr: multiply all the sizes by 10, except for primops. This

    makes primops look cheap (but not free), and improves the Repro4.hs
    example from #4978.
    
    While I was making this change I accidentally discovered that
    increasing the discount for scrutinised constructors was an
    unambiguous win, so I did that too.
    simonmar committed May 25, 2011
  14. @simonmar

    prog_argv and rts_argv now contain *copies* of the args passed to

    setupRtsFlags(), rather than sharing the memory.  Previously if the
    caller of hs_init() passed in dynamically-allocated memory and then
    freed it, random crashes could happen later (#5177).
    simonmar committed May 25, 2011
  15. @dcoutts

    Add stricter ghc-pkg checks on package file/dir/url fields

    The haddock-html and haddock-interface fields are now checked
    as well. Had to fix up ghc-cabal as it used relative paths for
    the inplace package's haddock-html. It turns out that these
    were never used so it could simply be omitted.
    dcoutts committed May 24, 2011
  16. @dcoutts

    Implement ${pkgroot} spec, allows relocatable registered packages

    Historically ghc implemented relocatable packages by allowing
    "$topdir" in the package registration info and having ghc expand
    this with its notion of $topdir. The topdir refers to where ghc
    itself is installed (specifically the libdir).
    
    The ${pkgroot} spec takes this idea and makes it portable.
    (http://www.haskell.org/pipermail/libraries/2009-May/011772.html)
    Instead of paths relative to where ghc is installed, they can be
    relative to the package database itself. Thus it is no longer a
    ghc-specific idea and can work for package collections other than
    the global package db.
    dcoutts committed May 23, 2011
  17. @dcoutts

    Deprecate the ghc-pkg --auto-ghci-libs flag

    It was never a universal solution. It only worked with the GNU linker.
    It has not been used by Cabal for ages. GHCi can now load .a files so
    it will not be needed in future.
    dcoutts committed May 23, 2011
  18. @dcoutts

    ghc-pkg: don't expand ${name}-style env vars by default

    For shell-based build systems the feature is still available as:
      ghc-pkg register --expand-env-vars
    
    Historically, ghc-pkg allowed environment variables to appear in the
    input files for ghc-pkg register. They are not stored in the package
    database but are expanded upon registration. This feature helped for
    build systems based on makefiles and shell scripts. These days the
    vast majority of such files are generated by Cabal and we don't want
    any ${name} strings (e.g. perhaps in a package description) getting
    accidentally interpreted as an environment variable.
    dcoutts committed May 23, 2011
  19. @simonmar

    deprecate the -n option (#5180)

    simonmar committed May 24, 2011
  20. @simonmar
Commits on May 24, 2011
  1. @igfoo

    Disable DatatypeContexts by default

    The Haskell' committee decided to remove datatype contexts from the language:
    http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html
    igfoo committed May 24, 2011
  2. @simonmar
  3. @simonmar

    fix warning

    simonmar committed May 24, 2011
  4. @simonmar

    Install the mtl package into the bindist when validating. This allows

    some more tests to run (those with reqlib('mtl')) and serves as an
    extra sanity check on Cabal and the bindist.
    simonmar committed May 24, 2011
  5. @simonmar

    fix warnings

    simonmar committed May 24, 2011
  6. @simonmar

    make the change to go_pap suggested in #4978. According to nofib, one

    program is improved quite dramatically (fft2 30% less allocation), and
    everything else was unchanged.
    simonmar committed May 24, 2011
  7. @simonmar

    Assign more accurate code sizes to primops, so that the inlining

    heuristics work better.  Also removed the old unused "needs_wrapper"
    predicate for primops.  This helps with #4978.
    simonmar committed May 24, 2011
  8. @simonmar

    Tweak sizing heurstics for case expressions (see comments).

    This improves the code generated for the examples in #4978, and
    appears to make very little difference to nofib.
    simonmar committed May 24, 2011
Commits on May 23, 2011
  1. @simonmar

    Merge branch 'master' of /home/simonmar/ghc-git/.

    * 'master' of /home/simonmar/ghc-git/.:
      Revert "Add capability sets to the event system. Contains code from Duncan Coutts."
    simonmar committed May 23, 2011
Commits on May 22, 2011
  1. @dcoutts

    Revert "Add capability sets to the event system. Contains code from D…

    …uncan Coutts."
    
    This reverts commit 58532eb.
    Turns out it didn't work on Windows and it'll need some non-trivial changes
    to make it work on Windows. We'll get it in later once that's sorted out.
    dcoutts committed May 23, 2011
  2. @dmpots

    Added utility to uniquely identify ghc repo states

    This commit adds fingerprint.py python script that can be used to
    create and restore "fingerprints" of a ghc repo configuration. A
    fingerprint is a list of (sub-repo, commit) pairs. It can be used in
    place of git submodules to record and reinstate the entire commit
    state of the git repos used by ghc.
    dmpots committed May 22, 2011
Commits on May 21, 2011
  1. Fix small type in user guide.

    David Terei committed May 20, 2011
Commits on May 19, 2011
  1. @tibbe @simonmar

    Make array copy primops inline

    tibbe committed with simonmar Apr 15, 2011
  2. @copumpkin @simonmar

    Add array copy/clone primops

    copumpkin committed with simonmar Apr 12, 2011
  3. @dimitriv
Something went wrong with that request. Please try again.