Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 29, 2015
  1. @23Skidoo

    Changelog update.

    23Skidoo authored
  2. @23Skidoo

    Revert "Merge pull request #2739 from bgamari/osx-frameworks"

    23Skidoo authored
    This reverts commit bd7bbd7, reversing
    changes made to d8fa461.
Commits on Jul 27, 2015
  1. @23Skidoo

    Merge pull request #2739 from bgamari/osx-frameworks

    23Skidoo authored
    Ensure that OS X framework headers are in include path
  2. @bgamari

    Ensure that OS X framework headers are in include path

    bgamari authored
    This fixes #2689.
Commits on Jul 25, 2015
  1. @ezyang

    Properly use test name for test libraries, with updated test.

    ezyang authored
    Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
  2. @dcoutts

    Merge pull request #2729 from byorgey/issue-2380

    dcoutts authored
    cabal init: generate less for PublicDomain
Commits on Jul 24, 2015
  1. @23Skidoo

    Comments.

    23Skidoo authored
Commits on Jul 21, 2015
  1. @ezyang

    Refactor Cabal around the idea of "library names".

    ezyang authored
    In GHC 7.10, Cabal always generate package keys, including in
    cases where Backpack was involved (e.g. --instantiated-with).
    In fact, in these case, GHC needs to be able to generate the
    package key (because it will often make a substitution on the
    instantiation, and needs to know if this identity coincides with
    anything else we've seen previously).
    
    Thus, we introduce a new notion, the 'LibraryName', which
    is JUST the non-Backpack portion of a package key.  For ordinary
    packages that are definite, a 'LibraryName' is simply
    the 'PackageId' plus 'PackageKey'; for indefinite Backpack packages,
    when a package gets instantiatied, it may end up with different
    'PackageKey's even though the 'LibraryName' stays the same.
    'LibraryName's can be computed purely by Cabal.
    
    This patch:
    
        - Defines library name, which are the source package ID plus
          a hash of all the source package ID and the library names of external,
          textual dependencies,
    
        - Redefines the package key to be JUST the hash portion of a
          library name, in the case that Backpack is not used,
    
        - Records the library name in InstalledPackageInfo.
    
    Note: the source package ID is included both externally (so the library
    name is a useful handle to refer to package) and internally (so the
    hash can stand alone as the package key.)
    
    A major refactoring which is part of this commit is moving package keys/library
    names from LocalBuildInfo to LibComponentBuildInfo.  If you have an LBI, you can
    still extract a package key/library name using the new
    localPackageKey/localLibraryName function (which looks through the
    ComponentBuildInfos of a LocalBuildInfo for the library in question).  This is
    conceptually cleaner for two reasons:
    
        1. Only dependencies of the *library* are counted as part
        of the library name, as opposed to *all* dependencies which
        we previously used.
    
        2. A library name doesn't really mean much for an executable,
        or a test suite, since no one else will have to link against
        them.  So we can fall back on something simpler.
    
    A more minor refactoring is the 'LibraryName' type, which was
    previously defined by LocalBuildInfo and generally looked something
    like "HSprocess-0.1-XXXX".  We change the meaning of 'LibraryName'
    to be "process-0.1-XXXX" (thus we have to insert some HS additions
    in the code) and eliminate componentLibraries, thus assuming that
    there is only ONE Haskell library (which was the case.)  So
    we remove a little bit of generality and in return get code
    that is much easier to read.  (The only downside is GHC's hack
    to split DLLs into multiples has to be adjusted slightly, but
    this is not a big price to pay.)
    
    Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Commits on Jul 20, 2015
  1. @byorgey
Commits on Jul 15, 2015
  1. @23Skidoo

    Merge pull request #2721 from BardurArantsson/patch-1

    23Skidoo authored
    Update HACKING.md
  2. @BardurArantsson

    Update HACKING.md

    BardurArantsson authored
    Add `--enable-tests` for cabal-install setup instructions
Commits on Jul 7, 2015
  1. @dcoutts

    Merge pull request #2680 from BardurArantsson/sandbox-config-does-not…

    dcoutts authored
    …-exist
    
    Exit with an error if $CABAL_SANDBOX_CONFIG does not point to extant file
  2. @dcoutts
  3. @dcoutts

    Merge pull request #2695 from dcoutts/ttuegel-prof

    dcoutts authored
    Add support for automatic profiling detail levels, with reasonable defaults
Commits on Jul 6, 2015
  1. @dcoutts

    Merge pull request #2699 from grayjay/pure-test-packages

    dcoutts authored
    Support pure test packages (issue #1186)
  2. @dcoutts
  3. @dcoutts

    Make the profiling detail level configurable with a flag

    dcoutts authored
    New flags: --profiling-detail and --library-profiling-detail.
    When profiling is enabled (by the existing flags) then these flags
    are taken into account to set the profiling detail level.
    
    The levels are:
     none
     default
     exported-functions
     toplevel-functions
     all-functions
    
    The default value for ghc for libraries is exported-functions and
    for exes is toplevel-functions.
    
    On GHC these levels correspond to the -fprof-auto* flags. The
    ghc-prof-options will override this (just because it's passed to
    ghc at the end).
  4. @23Skidoo

    Merge pull request #2708 from phadej/issue-2704-followup

    23Skidoo authored
    maybeDecompress: bail on all errors at the beginning of the stream with zlib < 0.6
  5. @phadej
Commits on Jul 5, 2015
  1. @23Skidoo
  2. @phadej

    Fix #2704

    phadej authored
    Code branch with zlib <0.6 cannot recognise the uncompressed input.
Commits on Jul 4, 2015
  1. @erikd

    Merge pull request #2700 from erikd/master

    erikd authored
    Add missing test modules
  2. @erikd
  3. @erikd
  4. @grayjay

    Support pure test packages (issue #1186)

    grayjay authored
    This commit relaxes D.PackageDescription.Check.checkConfiguredPackage so that it
    only warns when a package declares no executables, libraries, tests, or
    benchmarks.  Similarly, it relaxes the check during build to only require one
    component that is buildable and enabled.  Install now requires an executable or
    library.
Commits on Jul 3, 2015
  1. @dcoutts

    Merge pull request #2696 from dcoutts/master

    dcoutts authored
    Use the version macros when building Setup.hs
  2. @dcoutts

    Use the version macros when building Setup.hs

    dcoutts authored
    The design called for allowing deps to be specified, and for the
    Setup.hs to be able to use the same version macros as in other code.
    This patch completes that second part.
  3. @dcoutts
  4. @phadej @dcoutts

    Correct maybeDecompress

    phadej authored dcoutts committed
  5. @fisx @dcoutts

    Upgrade to zlib >=0.6.

    fisx authored dcoutts committed
    Fix: 7.4.2 compat.
    
    PVP compliance: upper version bound.
    
    Revert noise and relax zlib min version back to 0.5.3 (part 1/2).
    
    Revert noise and relax zlib min version back to 0.5.3 (part 2/2).
    
    Test cases for maybeDecompress.
    
    Use edsko's implementation of maybeDecompress; add test case.
    
    Fixup.
    
    maybeDecompress: test suite work-around.
    
    Cleanup.
    
    Relax zlib upper bound.
    
    maybeDecompress: add mysteriously failing test cases.
    
    7.4 compat for test cases.
  6. @dcoutts

    Merge pull request #2692 from BardurArantsson/ghc-package-path

    dcoutts authored
    Warn if GHC{,JS}_PACKAGE_PATH points to non-directory
  7. @BardurArantsson
Commits on Jul 2, 2015
  1. @dcoutts

    Make the -fprof-auto* flags into structured GhcOptions

    dcoutts authored
    And add backwards compat support for ghc-7.2 and older that used
    the -auto and -auto-all flags.
    
    Simplifies the code in D.S.GHC where we're deciding the options to use.
  2. @ttuegel @dcoutts

    Cabal/changelog: document new default ghc-prof-options

    ttuegel authored dcoutts committed
    Conflicts:
    	Cabal/changelog
  3. @ttuegel @dcoutts

    document default ghc-prof-options settings

    ttuegel authored dcoutts committed
Something went wrong with that request. Please try again.