Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 15, 2011
  1. @igfoo

    Bump version number

    igfoo authored
Commits on Jul 8, 2011
  1. @dcoutts
  2. @dcoutts

    Bump cabal-install version

    dcoutts authored
  3. @dcoutts

    Bump Cabal lib version

    dcoutts authored
  4. @dcoutts
  5. @dcoutts

    Fix withComponentsLBI and move Components to LocalBuildInfo module

    dcoutts authored
    An annoyance of the current Simple build system is that each phase
    (build, install, etc) can be passed additional HookedBuildInfo which
    gets merged into the PackageDescription. This means that we cannot
    process the PackageDescription up front at configure time and just
    store and reuse it later, we have to work from it each time afresh.
    
    The recent addition of Components (libs, exes, test suites) and a
    topoligical sort of the components in the LocalBuildInfo fell foul
    of this annoyance. The LocalBuildInfo stored the entire component
    which meant they were not updated with the HookedBuildInfo. This
    broke packages with custom Setup.hs scripts that took advantage of
    the HookedBuildInfo feature, including those with configure scripts.
    
    The solution is to store not the list of whole components but the
    list of component names. Then withComponentsLBI retrieves the actual
    components from the PackageDescription which thus includes the
    HookedBuildInfo.
    
    Also moved the Components into an internal module because (for the
    moment at least) it is part of the Simple build system, not part of
    the package description.
Commits on Jul 6, 2011
  1. @igfoo

    Relax some dependencies

    igfoo authored
Commits on Jun 24, 2011
  1. @igfoo
Commits on Jun 19, 2011
  1. @dcoutts

    Add a short top-level README

    dcoutts authored
  2. @dcoutts

    Move the Cabal library into a subdir

    dcoutts authored
    At the top level we now have cabal/ and cabal-install/
Commits on Jun 18, 2011
  1. @dcoutts

    Update changelog for 1.10.2.0

    dcoutts authored
Commits on May 21, 2011
  1. @dcoutts

    cabal init: various UI tweaks and changes to the generated .cabal files

    dcoutts authored
    - Add a default "(none)" option for license and category. There are now no
      questions with no default except for the lib/exe question. For throwaway
      packages user can just keep hitting enter and get something sensible.
    - Prune the list of suggested licenses (remove unversioned GPL, LGPL)
    - Don't include extra-source-files or build-tools when they would be empty
    - Improve the wording of the generated documentation for lib/exe fields
Commits on May 19, 2011
  1. @juhp
Commits on May 17, 2011
  1. @dcoutts

    Adjust the initial comment in cabal files generated by cabal init

    dcoutts authored
    Use slightly longer lines and a somewhat more terse comment.
    Also use a new shorter and hopefully stable URL for the user guide.
  2. @dcoutts
  3. @dcoutts

    Add a cabal init question about whether to generate comments

    dcoutts authored
    Users will typically only want this the first time they use cabal init.
Commits on May 16, 2011
  1. @dcoutts
Commits on May 15, 2011
  1. @dcoutts
Commits on May 3, 2011
  1. @dcoutts

    Fix bug where contraints where lost for case insensitive package matches

    dcoutts authored
    E.g. cabal install cabal-1.8.0.6 would actually install the latest version
    instead, because when 'cabal' got corrected to 'Cabal' the associated
    constraint 'cabal == 1.8.0.6' was not converted to 'Cabal == 1.8.0.6'.
Commits on Apr 30, 2011
  1. @bmillwood
Commits on Apr 18, 2011
  1. @dcoutts

    Distinguish the various impossible errors in the solver

    dcoutts authored
    Will make tracking down problems easier in future.
  2. @dcoutts

    Fix a case in the new solver pruning pass

    dcoutts authored
    It is actually possible for pruning to eliminate required packages
    because it's possible for it to propagate all the way up to one of
    the initial targets.
  3. @ttuegel
Commits on Apr 14, 2011
  1. @dcoutts

    Add command line support for installed, source and flag constraints

    dcoutts authored
    e.g. --constraint='foo source'
         --constraint='baz installed'
         --constraint='bar +this -that'
  2. @dcoutts

    Change the use of the InstalledConstraint type and enhance solver log…

    dcoutts authored
    …ging
    
    Now log when things get excluded due to installed and source constraints.
Commits on Mar 29, 2011
  1. @dcoutts
Commits on Mar 27, 2011
  1. @dcoutts
  2. @dcoutts
  3. @dcoutts
  4. @dcoutts
  5. @dcoutts

    Prune impossible packages as a solver pre-pass

    dcoutts authored
    There are many packages that can never be successfully configured
    and by pruning them early we reduce the number of choices for the
    solver later (which is good since the solver does no backtracking
    when it makes bad choices). This relies on two recent features:
    1. we can now express constraints that exclude a particular source
    package and 2. that we can exclude packages without needing to know
    whether or not they will ever be needed.
  6. @dcoutts
  7. @dcoutts
  8. @dcoutts

    Update the solver to use the new target tracking

    dcoutts authored
    The constraint set ADT now needs to be told which targets we are
    interested in, rather than assuming anything we constrain might
    be a target.
Commits on Mar 26, 2011
  1. @dcoutts

    Generalise the constraint set ADT in a couple ways

    dcoutts authored
    We now track target packages and only require constraints on those
    targets to be satisfiable. This allows us to overconstrain packages
    that we do not care about, which is useful for excluding broken
    packages.
    We also now have a more general way of specifying constraints.
    Previously constraints were specified as the conjunction of a version
    range predicate and an optional installed constraint. This form made
    it impossible to express constraints such as "exclude this source
    package". Constraints for a package name are now specified simply by
    a function predicate on the package version and installed/source state.
Something went wrong with that request. Please try again.