Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 1, 2013
  1. Add syntax for setting an OptArg option to the default value.

    authored
    Makes it possible to write 'jobs: $DEFAULT' in the config file, which is
    equivalent to running 'cabal install -j' from the command line (the number of
    working threads is set to the number of processors).
  2. Thomas Tuegel

    Merge pull request #1155 from benmachine/hpcmsg

    ttuegel authored
    Improve warning for old versions of HPC
  3. Brent Yorgey

    Merge pull request #1162 from 23Skidoo/split-cabal-install

    byorgey authored
    Split cabal-install into library and executable components.
Commits on Dec 31, 2012
  1. Split cabal-install into library and executable components.

    authored
    Makes it possible to write unit tests for code under Distribution.Client.*.
Commits on Dec 29, 2012
  1. Brent Yorgey

    Merge pull request #1161 from dagit/patch-1

    byorgey authored
    Fix path (mis)handling when scanning for modules (fixes #1160)
Commits on Dec 28, 2012
  1. Jason Dagit
Commits on Dec 22, 2012
  1. Ben Millwood

    Improve warning for old versions of HPC

    bmillwood authored
    Now the warning message includes mention of the input data that is being
    ignored because hpc can't deal with it.
    
    This involves a change of behaviour: when the HPC version cannot be
    determined, this is now a fatal error, rather than just assuming an old
    version.
Commits on Dec 17, 2012
  1. Ben Millwood

    Fix build with GHC 6.12

    bmillwood authored
Commits on Dec 14, 2012
  1. Merge pull request #1151 from tuncer/sync-2012.4.0.0

    authored
    Sync bootstrap.sh with platform 2012.4.0.0
  2. Tuncer Ayaz
Commits on Dec 13, 2012
  1. Duncan Coutts

    Add a default value for the --jobs flag

    dcoutts authored
    This will allow it to be set in config files too.
  2. Ben Millwood
Commits on Dec 10, 2012
  1. Johan Tibell
  2. Add TODOs.

    authored
  3. Duncan Coutts

    Merge pull request #1140 from byorgey/master

    dcoutts authored
    cabal init: parse module names with simpleParse instead of fromString
  4. Duncan Coutts

    Adjust the error text wrapping so it preserves blank lines

    dcoutts authored
    This lets us use it for the package check in configure.
  5. Duncan Coutts

    Add a check for main-is C files, only ok with cabal-version >= 1.18

    dcoutts authored
    For compatability, we need to make sure people using C files for the
    main-is field, also have to specify the right cabal version.
  6. Duncan Coutts

    Support for C/C++/Obj-C as main

    dcoutts authored
    This allows specifying the main-is field as a C file.
    
    This is closely based on patches by Edward Z. Yang, who in turn credits
    and earlier set of patches by Irene Knapp. The slight difference in
    this version of the patch is that it is adjusted to work with the new
    approach where we have separate hs compile; c compile; and link phases.
Commits on Dec 9, 2012
  1. Rebuild source directories added to sandbox.

    authored
    Implemented by creating an install plan for ["add-source-dep-1", ...,
    "add-source-dep-N", "."], pruning "." from this plan and then doing all
    remaining installs in the plan before building the current package. This way,
    all reverse dependencies of add-source packages needed to install the current
    package are also reinstalled.
  2. Add an alternative interface for 'D.C.Install.install'.

    authored
    Splits 'D.C.Install.install' into three parts:
    
        * makeInstallContext - load common data
        * makeInstallPlan    - produce the install plan
        * processInstallPlan - actually perform the installations
    
    This allows to manipulate the install plan produced with 'makeInstallPlan'
    before performing the installations with 'processInstallPlan'. The high-level
    'install' action is still present; most clients should use it instead.
  3. Rename 'InstallContext' to 'InstallArgs'.

    authored
    The name 'InstallContext' will be used for common data shared between
    lower-level install functions.
  4. Duncan Coutts

    Separate compiling and linking phases for bulding exes with ghc

    dcoutts authored
    And move compiling of C files after the compile of Haskell modules,
    just like we do for libraries. Reversing the order is important because
    C files can depend on headers generated for Haskell FFI exports.
    
    This is based on a patch by Edward Z. Yang <ezyang@mit.edu>
  5. 80-col violations.

    authored
Commits on Dec 8, 2012
  1. Remove some duplication.

    authored
Commits on Dec 5, 2012
  1. Use userInstallDirs as the sandbox location.

    authored
    We set both globalInstallDirs and userInstallDirs to the same value, but using
    '--global' makes cabal-install want to do unnecessary things like invoking
    itself with 'sudo'.
Commits on Nov 30, 2012
  1. Johan Tibell
Commits on Nov 29, 2012
  1. Johan Tibell
Commits on Nov 27, 2012
  1. Duncan Coutts

    Fix mistake about which set of components to build

    dcoutts authored
    Was accidentally using the targets rather than the dependencies
    and the targets.
Commits on Nov 26, 2012
  1. Unbreak the build.

    authored
  2. Don't pass unsupported flags to setups built with old Cabal versions.

    authored
    We must not pass '--disable-benchmarks' to setup scripts built with Cabal <
    1.14; the same is also true for '--disable-tests' and Cabal < 1.10.
    
    Fixes #932 and #1004.
    
    Without this patch:
    
        $ cabal install -w /path/to/ghc-7.2.1/bin/ghc syb
        [...]
        unrecognized option `--disable-benchmarks'
        Failed to install syb-0.3.7
    
    With this patch:
    
        $ cabal install -w /path/to/ghc-7.2.1/bin/ghc syb
        [...]
        Registering syb-0.3.7...
        Installed syb-0.3.7
Something went wrong with that request. Please try again.