Permalink
Commits on Jun 19, 2011
  1. Add a short top-level README

    dcoutts committed Jun 19, 2011
  2. Move the Cabal library into a subdir

    dcoutts committed Jun 19, 2011
    At the top level we now have cabal/ and cabal-install/
Commits on May 21, 2011
  1. cabal init: various UI tweaks and changes to the generated .cabal files

    dcoutts committed May 21, 2011
    - 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 17, 2011
  1. Adjust the initial comment in cabal files generated by cabal init

    dcoutts committed May 17, 2011
    Use slightly longer lines and a somewhat more terse comment.
    Also use a new shorter and hopefully stable URL for the user guide.
  2. Add a cabal init question about whether to generate comments

    dcoutts committed May 17, 2011
    Users will typically only want this the first time they use cabal init.
Commits on May 16, 2011
Commits on May 15, 2011
Commits on May 3, 2011
  1. Fix bug where contraints where lost for case insensitive package matches

    dcoutts committed May 3, 2011
    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
Commits on Apr 18, 2011
  1. Distinguish the various impossible errors in the solver

    dcoutts committed Apr 18, 2011
    Will make tracking down problems easier in future.
  2. Fix a case in the new solver pruning pass

    dcoutts committed Apr 18, 2011
    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.
Commits on Apr 14, 2011
  1. Add command line support for installed, source and flag constraints

    dcoutts committed Apr 14, 2011
    e.g. --constraint='foo source'
         --constraint='baz installed'
         --constraint='bar +this -that'
  2. Change the use of the InstalledConstraint type and enhance solver log…

    dcoutts committed Apr 14, 2011
    …ging
    
    Now log when things get excluded due to installed and source constraints.
Commits on Mar 29, 2011
Commits on Mar 27, 2011
  1. Prune impossible packages as a solver pre-pass

    dcoutts committed Mar 27, 2011
    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.
  2. Update the solver to use the new target tracking

    dcoutts committed Mar 27, 2011
    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. Generalise the constraint set ADT in a couple ways

    dcoutts committed Mar 26, 2011
    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.
Commits on Mar 15, 2011
  1. Fix username prompting for cabal upload

    dcoutts committed Mar 15, 2011
    Fixes ticket #810
Commits on Mar 8, 2011
  1. TAG 0.10.0

    dcoutts committed Mar 8, 2011
Commits on Mar 4, 2011
  1. Change the terminology used in source code for available/source packages

    dcoutts committed Mar 4, 2011
    Rather than 'available' packages, the source now refers consistently to
    'source' packages. This is a bit clearer.
  2. Unbreak the world target

    dcoutts committed Mar 4, 2011
    I'd accidentally left out the world target from the parsing phase
    of the new user target handling system, so cabal install world did
    not work. Now added to the target parser.
  3. Fix silly bug in cabal configure. Ticket #805.

    dcoutts committed Mar 4, 2011
    I made a mistake during the recent refactoring work and was using
    the dependency planner in the wrong way. The planner was being
    given the available source packages and duely picking them to
    satisfy dependencies, but for configure we're supposed to assume
    that all dependencies are installed already.
Commits on Feb 27, 2011
  1. In bootstrap script, do Cabal before other deps

    dcoutts committed Feb 27, 2011
    So that the others can use the new Cabal for their Setup.hs
  2. Add source-repository this entry

    dcoutts committed Feb 27, 2011
  3. Bump version to 0.10.0

    dcoutts committed Feb 27, 2011