This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Mar 12, 2016
-
-
ttuegel authored
Fixes #3157. The wrapText helper is used to format all error messages. Previously, it was only used to format IOException errors; other exceptions would be formatted incorrectly.
-
ttuegel authored
Exporting the default rendering style allows us to consistently format text without needing to write a Text instance.
-
- Mar 09, 2016
-
-
Mikhail Glushenkov authored
Fixes #3214.
-
- Mar 08, 2016
-
-
Mikhail Glushenkov authored
update -prof Check message
-
gershomb authored
The flag enable-executable-profiling warns to change it to just enable-profiling. So we'll fix that here too so we don't send people down an old path.
-
- Mar 07, 2016
-
-
Mikhail Glushenkov authored
Introduce UnresolvedSourcePackage alias
-
bardur.arantsson authored
The alias is a shorthand for 'SourcePackage UnresolvedPkgLoc' which is used all over the place.
-
- Mar 06, 2016
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Change Cabal's GHC support window to GHC 6.12 or later
-
Mikhail Glushenkov authored
Parameterize SourcePackage and ConfiguredPackage on package location
-
Mikhail Glushenkov authored
(Try to) add GHC 8.0.1 to the test-matrix
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
Currently GHC 8.0 has a slightly different error message if it can't find a `.hi` file. It's not clear yet if and how we're going to change the message before GHC 8.0 final.
-
Herbert Valerio Riedel authored
-
bardur.arantsson authored
-
bardur.arantsson authored
This is a step towards breaking the dependency from the modular solver on cabal-install.
-
- Mar 05, 2016
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Make the solver aware of pkg-config constraints
-
Mikhail Glushenkov authored
-
inaki authored
When solving, we now discard plans that would involve packages with a pkgconfig-depends constraint which is not satisfiable with the current set of installed packages (as listed by pkg-config --list-all). This fixes https://github.com/haskell/cabal/issues/3016. It is possible (in principle, although it should be basically impossible in practice) that "pkg-config --modversion pkg1 pkg2... pkgN" fails to execute for various reasons, in particular because N is too large, so the command line becomes too long for the operating system limits. If this happens, revert to the previous behavior of accepting any install plan, regardless of any pkgconfig-depends constraints.
-
Andres Löh authored
Refactor 'Explore.backjumpInfo' after code review
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Mar 04, 2016
-
-
Mikhail Glushenkov authored
[ci skip]
-
kristenk authored
-
Andres Löh authored
-
https://github.com/grayjay/cabalAndres Löh authored
Merge branch 'backjumping-space-leak' of https://github.com/grayjay/cabal into grayjay-backjumping-space-leak
-
Andres Löh authored
Fix space leaks in dependency solver logging.
-
Mikhail Glushenkov authored
-
Andres Löh authored
Previously, a setting of `--max-backjumps=-1` was reported in the debug output as `0`. But `0` has a very different meaning, and that is confusing.
-
Mikhail Glushenkov authored
(cherry picked from commit 9cd1387fcd582a6131746e6742597069d54f905a)
-
Mikhail Glushenkov authored
-
Andres Löh authored
Improve goal reorder heuristics.
-
- Mar 03, 2016
-
-
Herbert Valerio Riedel authored
In GHC 8.0 -Wall implies -Wredundant-constraints, so we have to address those warings in one way or another.
-
Herbert Valerio Riedel authored
-
Mikhail Glushenkov authored
-
Andres Löh authored
This change primarily does two things: 1. For `--reorder-goals`, we use a dedicated datatype `Degree` rather than an `Int` to compute the approximate branching degree. We map 0 and 1 to the same value. We then use a lazy ordering and a shortcutting minimum function to look for the "best" goal. The motivation here is that we do not want to spend unnecessary work. Following any goal that has 0 or 1 as degree cannot really be "wrong", so we should not look at any others and waste time. This will still not always make the use of `--reorder-goals` better than not using it, but it will reduce the overhead introduced by it. 2. We use partitioning rather than sorting for most of the other goal reordering heuristics that are active in all situations. I think this is slightly more straightforward and also slightly more efficient, whether `--reorder-goals` is used or not. I have run some preliminary performance comparisons and they seem to confirm that in both cases separately (with or without `--reorder-goals`), these changes are a relative improvement over the status quo. I will run additional tests before merging this into master.
-
Mikhail Glushenkov authored
[ci skip]
-
Andres Löh authored
-
Mikhail Glushenkov authored
Enable cabal-install integration tests in appveyor.yml
-