Permalink
Commits on Mar 8, 2011
  1. Bump to 0.10.2

    dcoutts committed Mar 8, 2011
    Release with these fixes needed for the HP release
  2. TAG 0.10.0

    dcoutts committed Mar 8, 2011
Commits on Mar 4, 2011
  1. 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.
  2. 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. Bump version to 0.10.0

    dcoutts committed Feb 27, 2011
  3. Require Cabal >= 1.10.1

    dcoutts committed Feb 27, 2011
    It contains an important bug fix for some platforms, notably OSX
  4. Update dependencies in bootstrap script

    dcoutts committed Feb 27, 2011
    Works with ghc-6.12 and ghc-7.0
  5. Minor tweaks to bootstrap script

    dcoutts committed Feb 27, 2011
    When using curl, fail better on HTTP errors.
    Also remove some dead code.
  6. Add support for BSD fetch to bootstrap script

    dcoutts committed Feb 27, 2011
    On FreeBSD fetch is installed by default, unlike wget or curl.
  7. Update versions in README

    dcoutts committed Feb 27, 2011
  8. Update copyright date

    dcoutts committed Feb 27, 2011
  9. Partial fix for handling multiple installed instances of same package…

    dcoutts committed Feb 27, 2011
    … version
    
    Previously when multiple instances of the same package are installed,
    e.g. in global and user dbs, we would often end up selecting the wrong
    instance. Now we select the user one consistently which will solve the
    problem in most (but not all) cases.
Commits on Feb 14, 2011
  1. Bump version to 0.9.6

    dcoutts committed Feb 14, 2011
Commits on Feb 13, 2011
  1. Adjust the amount of output for the -v verbosity level in a few places

    dcoutts committed Feb 13, 2011
    For several commands, including install the -v verbosity level had
    far too much useless internall stuff in it. Reduced the amount of
    output from configuring the compiler, getting installed package and
    the dependency planner. The extra detail is still available via -v3.
  2. Remove now-unused utilities from World module

    dcoutts committed Feb 13, 2011
    No longer needed now that the world target is handled via UserTarget.
  3. Use the new modular dep resolver interface in the various commands

    dcoutts committed Feb 13, 2011
    Also minor tweak to InstallPlan.remove
  4. Insert a separate fetch stage to the install process

    dcoutts committed Feb 13, 2011
    Helps to clarify things now that different kinds of packages
    are fetched in different ways.
  5. New interface to the dep resolver that allows modular policy construc…

    dcoutts committed Feb 13, 2011
    …tion
    
    Allows shorter and clearer code for the various ways the resolver is used.
  6. Partial rewrite of cabal list and info commands

    dcoutts committed Feb 13, 2011
    The new user target system requires a change in how cabal info works.
    Instead of just giving package names and looking them up in the
    available package index, we can now specify names with versions or
    version constraints which means we want the info to be about that
    version in particular. We now list many installed and available
    versions and mark which ones are preferred or not. Also fix a bug
    for packages that are only installed, not available.
  7. Add a new module for handling user targets

    dcoutts committed Feb 13, 2011
    This will allow us to increase the range of targets that cabal
    commands can support. The new ones are local directory targets,
    local cabal files, local tarballs and remote tarballs by URL.
    Also a better way of doing the special "world" target.
  8. Add a fetchPackage utility

    dcoutts committed Feb 13, 2011
    Works for any package identified by PackageLocation
    rather than just for repo packages.
  9. Add a local path and type param to PackageLocation

    dcoutts committed Feb 13, 2011
    So we can now use PackageLocation FilePath or Maybe FilePath to
    describe what we know about the fetch status of package tarballs.
  10. Separate WorldPkgInfo type from UnresolvedDependency type

    dcoutts committed Feb 13, 2011
    Currently just a renamed copy of UnresolvedDependency but called
    WorldPkgInfo and defined in the World module. This is in preparation
    to remove all other uses of the UnresolvedDependency type.
  11. Rename AvailablePackageSource to PackageLocation

    dcoutts committed Feb 13, 2011
    And remove import list for Types module, just import it all
  12. Split out a FetchUtils module

    dcoutts committed Feb 13, 2011
    And rename fetchPackage function to the more accurate fetchRepoTarball
  13. Remove unnecessary Maybe from LocalUnpackedPackage dir filepath

    dcoutts committed Feb 13, 2011
    We can just use "." instead of Nothing