Permalink
Commits on Apr 18, 2012
Commits on Apr 17, 2012
  1. last-minute README changes

    kosmikus committed Apr 17, 2012
Commits on Apr 16, 2012
  1. bumping version to 0.14.0

    kosmikus committed Apr 16, 2012
  2. updated changelog

    kosmikus committed Apr 16, 2012
  3. added deepseq to bootstrap.sh

    kosmikus committed Apr 16, 2012
    deepseq is a dependency of text, and not included with ghc-7.0.4.
Commits on Apr 12, 2012
  1. Update cabal-install bootstrap.sh

    tuncer committed Apr 12, 2012
Commits on Apr 8, 2012
  1. no longer pre-filter broken packages for modular solver

    kosmikus committed Apr 8, 2012
    The modular solver can now deal with broken packages in the
    index. I have, however, discovered, that broken packages were
    filtered before even passing the installed package index to
    the solver. I have made that filtering conditional on using
    the topdown solver for now.
    
    Related is the issue that we should not warn about possible
    breakage of already broken packages. So we now exclude
    already broken packages when considering whether an install
    plan contains dangerous reinstalls.
Commits on Apr 7, 2012
  1. for empty install plans, print the packages that are installed

    kosmikus committed Apr 7, 2012
    This is a fix for #623.
    
    If we ask to install a package without --reinstall that's already
    there, then we'll show the package and its version in the warning
    message and suggest the use of the --reinstall flag.
Commits on Apr 6, 2012
  1. make the reinstall check less noisy

    kosmikus committed Apr 6, 2012
    There are two aspects to this change.
    
    The uncontroversial one is that if the install plan contains
    reinstalls, we now determine if there are reverse dependencies
    of such reinstalled packages that we can see. If so, these
    are likely to be broken. If we find such packages, we list
    them and state that we can only install the plan if
    --force-reinstalls is explicitly stated.
    
    The more controversial change is that if we cannot find such
    reverse dependencies, we now merely print a warning but
    continue, even though there are situations where executing
    the build process can still break packages. The most likely
    example of this is that we're installing to the global package
    database, and user package databases on the system have
    dependencies on the replaces packages -- but we cannot see
    these user package databases.
Commits on Apr 5, 2012
  1. adding the possibility for index-disabled packages

    kosmikus committed Apr 5, 2012
    In the modular solver, it's now possible to mark packages
    as disabled in the index conversion phase. This can be used
    to mark broken packages (with missing dependencies) in such
    a way that they can still be seen by the solver and reported
    in error messages.
    
    Furthermore, the feature could be used to implement
    shadowing restrictions. Currently, there are some things
    that can go wrong if multiple installed instances of
    the same version and package exist on the system. However,
    I've not enabled the use of shadowing for now, as it's
    hard to match the restrictions exactly, and we can end up
    excluding perfectly valid cases. Enabling shadowing
    selectively by a solver flag would be an option.
Commits on Mar 31, 2012
  1. choose default solver based on compiler version

    kosmikus committed Mar 31, 2012
    GHC-6.12 has base-3 depending on base-4. This is a situation the
    topdown solver is hacked to deal with, but the new modular solver
    currently doesn't support it. We therefore switch back to the
    topdown solver if a GHC version before 7 is detected, but switch
    to the modular solver by default in all other situations.
Commits on Mar 29, 2012
  1. Bump version to 0.13.9, the 0.14.0 pre-release version

    dcoutts committed Mar 29, 2012
    And depend on the released Cabal-1.14.x
Commits on Mar 28, 2012
  1. Fix ticket #731

    dcoutts committed Mar 28, 2012
Commits on Mar 15, 2012
  1. Added a comment

    kosmikus committed Mar 15, 2012
Commits on Mar 9, 2012
  1. bootstrap with --global should still respect $PREFIX

    kosmikus committed Mar 9, 2012
    Thanks to milkypostman for providing the patch. Closes ticket #926.
Commits on Feb 19, 2012
  1. Fix 'cabal configure --enable-{tests,benchmarks}'.

    ttuegel committed Feb 19, 2012
    'cabal configure' was not adding optional stanza constraints when checking
    dependencies, causing '--enable-{tests,benchmarks}' to be silently ignored.
Commits on Feb 17, 2012
  1. added missing error message

    kosmikus committed Feb 17, 2012
    Thanks to Thomas Tuegel for spotting this.
Commits on Feb 16, 2012
Commits on Feb 13, 2012
  1. make test and bench available as user constraints

    kosmikus committed Feb 13, 2012
    Saying
    
      cabal install foo --enable-tests
    
    is now equivalent to saying
    
      cabal install foo --constraint="foo test"
    
    The constraint syntax in addition allows to enable tests and benchmarks
    for packages that are further down in the dependency chain.
Commits on Feb 12, 2012
Commits on Feb 4, 2012
  1. Automatically run test suites when invoked with 'cabal install --enab…

    ttuegel committed Feb 4, 2012
    …le-tests'. Do not install if tests fail.
Commits on Oct 25, 2011
Commits on Oct 14, 2011
  1. init: see whether source directory 'src' exists.

    Brent Yorgey committed Oct 14, 2011
  2. init: improve prompt: enclose y/n in parens

    Brent Yorgey committed Oct 14, 2011
  3. init: improve prompt: 'homepage' field is not for repos.

    Brent Yorgey committed Oct 14, 2011
Commits on Sep 25, 2011