New patches in /srv/darcs/git-mirrors/Cabal
commit 5dfa57a2c58c9cffb3cb7ac79966a6cb57eac559
Author: Duncan Coutts <[email protected]>
Date: Fri Nov 4 00:25:10 2011 +0000
Fix fallout of Num / Show class changes in ghc-7.4
commit 2ef322eb2aba294915a5a3d28240a1cb1bc7fcac
Author: Andres Loeh <[email protected]>
Date: Thu Nov 3 20:57:44 2011 +0000
change solver default to TopDown for now
commit 27fd8483868b37ab23b045a405c670afeba2e369
Author: Andres Loeh <[email protected]>
Date: Sat Oct 29 14:11:33 2011 +0000
removing dead code
commit f71491e10c1b229b11ea1ffa74fdac7dbf2bfece
Author: Andres Loeh <[email protected]>
Date: Sat Oct 29 14:00:41 2011 +0000
goal choice heuristic in modular solver: choose base as early as possible
commit 97eff49f89529c8ee1560010564d74495e4122ac
Author: Andres Loeh <[email protected]>
Date: Sat Oct 29 12:23:24 2011 +0000
bugfix: wrong flag choice was sometimes shown in goal reasons
commit 0fec5de846707111285eaaa5994909759ca380f2
Author: Andres Loeh <[email protected]>
Date: Sat Oct 29 12:15:15 2011 +0000
when printing the install plan, show non-default flag assignments
commit 51628136f42dfc728223e93c8491879b68942423
Author: Andres Loeh <[email protected]>
Date: Sat Oct 29 11:22:45 2011 +0000
remove trailing whitespace
commit 8b18305d0d790509f4b11f48b7c05c7404b73b05
Author: Andres Loeh <[email protected]>
Date: Fri Oct 28 11:23:58 2011 +0000
proper fix for default solver option handling
Suggested by Duncan.
commit d73c023ddf7e514189710d602f8cf2a2820388f2
Author: Andres Loeh <[email protected]>
Date: Fri Oct 28 11:12:31 2011 +0000
removing wrong option handling fix
commit 9f56dfba504de49fc7b7e579fd56c5397fb02ebb
Author: Andres Loeh <[email protected]>
Date: Fri Oct 28 09:17:27 2011 +0000
fixed a strange options handling bug
commit b20ac60a9c0116cb13eef5945ecd5384fe47fddc
Author: Andres Loeh <[email protected]>
Date: Fri Oct 28 07:37:29 2011 +0000
revised solver flag configuration
commit 4f4ad825bea077a8ebd995c0996879a8a02a82c6
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 21:27:05 2011 +0000
make solver configurable via command-line flag
commit 11ff0713b92ca9f510c07361ffa50e7d3afd1f6d
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 19:03:04 2011 +0000
reactivate (but not use) the top-down resolver
commit 2341ba1180fbad960c085e0a1540c6460a562ebd
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 19:01:52 2011 +0000
restore the index conversion utility function, but as a top-level function
commit 755f3289b2d3a16e1f302c41c45741c16f2b2543
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 16:11:20 2011 +0000
collapse repeated flag choices
In the build phase, we allow the same flag choice to occur multiple times.
This makes it easy to handle the situation where the same flag occurs
several times in the condition tree, and hence new goals and dependencies
might be introduced depending on the choice.
Previously, we have ensured during validation that repeated flag choices
are consistent. This behaviour has now been replaced by the new approach
to collapse repeated flag choice nodes completely during validation.
The advantage is that the tree is less deep, and that the trace output looks
less strange. Repeated flag choices are no longer seen, which I think avoids
confusion.
commit 36b5db273d196194a6d24b00837863f58ac50eea
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 16:09:44 2011 +0000
fixing warnings
commit 4013b0616e97ad81f0d93dda24cd402975015cc4
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 16:09:24 2011 +0000
adding a lookup function for PSQs
commit 5e3a110cc092ba857d6351416762851e9e0fb0f7
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 13:45:34 2011 +0000
minor clarification in naming
commit 1be2c49bc7fbdc69489ec749f9ebbd4ea0f22878
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 13:33:09 2011 +0000
removing dead code for global flag enforcement
This is all covered by the function that enforces package constraints,
as global flag constraints are translated into package-specific flag
constraints outside of the solver.
commit 1a17a840c89d1699eaa598491873f4464b62edea
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 13:31:08 2011 +0000
there may be more than one package constraint per package
commit 4bfb99879f5b2742c398f1b8e28a9cfd126ab2f6
Author: Andres Loeh <[email protected]>
Date: Thu Oct 27 13:30:21 2011 +0000
in parsing user constraints, require a space to separate the initial
package name
commit 8b990e56b9cf972b7c61a991e8bbc348d873215a
Author: Jens Petersen <[email protected]>
Date: Wed Oct 26 12:40:24 2011 +0000
add --override-reinstall-check option
This option flag overrides the new destructive reinstalls check,
allowing forcing overwriting already installed library versions.
The patch also documents this flag and other softer options
in the output of printPlanMessages, which is renamed to checkPrintPlan.
commit 24c6c70fef7fb7abb114642d21b9057a5c8e12d6
Author: Andres Loeh <[email protected]>
Date: Tue Oct 25 06:38:20 2011 +0000
treat ghc-prim like base as non-upgradeable in modular solver
commit 6c2b08c83b56b96ba97a07f77e0e3c6285f89420
Author: Andres Loeh <[email protected]>
Date: Tue Oct 25 06:36:32 2011 +0000
merging changes from HEAD into modular-solver branch
commit 7c4ae3ea2f5bce410f8c71669b5e6d818d63ded6
Author: Andres Loeh <[email protected]>
Date: Fri Oct 21 12:08:31 2011 +0000
Added a check for destructive reinstalls.
Some refactoring in Distribution.Client.Install:
* the linear representation of an install plan is now typed
* it can be checked for the presence of destructive reinstalls
Currently, Cabal will stop if destructive reinstalls are encountered.
While this should become default behaviour, there has to be a flag
that overrides it.
commit 8c12a322cc18932e562294d0fee1a6f7b4521e38
Author: Andres Loeh <[email protected]>
Date: Fri Oct 21 07:17:36 2011 +0000
merging modular solver with main branch
commit 43c87b97c8027ab484a68c5d4c2ef1fcc8db5625
Author: Andres Loeh <[email protected]>
Date: Sat Jul 9 08:35:56 2011 +0000
Added flag --independent-goals (not yet functioning correctly)
commit b2f208a0679e68736259fc5705a90be89b8a4467
Author: Andres Loeh <[email protected]>
Date: Fri Jul 8 07:47:44 2011 +0000
Fixing a few warnings.
commit 5cd645dc5796299cf1f2023023668ce215a2f902
Author: Andres Loeh <[email protected]>
Date: Thu Jul 7 09:28:54 2011 +0000
make max backjumps configurable
commit c79f3c0a3b5a80604eb515cf7a5d3f5cc9b40414
Author: Andres Loeh <[email protected]>
Date: Tue Jul 5 14:15:36 2011 +0000
introduce backjump limit, and produce error messages
commit 23939dd80643ec3555b6fec461b8df00b7ca5def
Author: Andres Loeh <[email protected]>
Date: Mon Jul 4 18:45:50 2011 +0000
Generalized the type of traversals.
commit 42d5932fdf7f883139add3a9a6c8c1588aa0ab06
Author: Andres Loeh <[email protected]>
Date: Mon Jul 4 18:45:33 2011 +0000
Added a Functor instance for search trees.
commit d5a29e14903d7327f7e0914da74facce47917ee5
Author: Andres Loeh <[email protected]>
Date: Mon Jul 4 18:29:30 2011 +0000
Rewrite traversals using a new combinator.
The hope is that sooner or later we can apply fusion.
commit d55b3302dc2d8cc7bd585c7d8e9731250ca37c22
Author: Andres Loeh <[email protected]>
Date: Mon Jul 4 17:56:31 2011 +0000
Refactoring: write traversals in a nicer way
commit b6e0acd1215f5c6def1b4d4036bf7eb0f5165dbf
Author: Andres Loeh <[email protected]>
Date: Mon Jul 4 17:35:53 2011 +0000
layout
commit 2217dc808ff5879fb80d824bb2dee544719a1b0f
Author: Andres Loeh <[email protected]>
Date: Sun Jul 3 14:36:56 2011 +0000
Added a --reorder-goals flag.
commit 91e1fcbc8e3cc16e19b13b0f0cdf11ed650d2a37
Author: Andres Loeh <[email protected]>
Date: Sun Jul 3 13:52:17 2011 +0000
switch goal reordering off by default
It surprised me somewhat, but goal reordering seems to slow things
down, even for backtracking packages. It was supposed to speed things
up, but it's possible that backjumping works so nicely that it more
than compensates for the effects. More systematic testing might be
needed.
commit 92a4214f5345d09e67e3725fe3a6167b49dc2a66
Author: Andres Loeh <[email protected]>
Date: Sun Jul 3 13:43:59 2011 +0000
switch to less precise, more efficient goal reordering
commit 6b6a982e8240bedaa680181c02c6a9aa5c8df232
Author: Andres Loeh <[email protected]>
Date: Sun Jul 3 13:20:11 2011 +0000
Refactoring: use toConflictSet
commit 6ece788c1074822a2d518d94bf376243e54673c0
Author: Andres Loeh <[email protected]>
Date: Sun Jul 3 13:14:35 2011 +0000
better conflict reporting
commit d9ecb903f48d680509b7ac3ea6c6fa695eecf0de
Author: Andres Loeh <[email protected]>
Date: Sun Jul 3 10:17:21 2011 +0000
Keep better track of goal reasons.
commit c217a3a7f86a44b38f530e8d292e7d4cc7993ee4
Author: Andres Loeh <[email protected]>
Date: Thu Jun 30 12:19:01 2011 +0000
typo
commit 7fb50d23f88e5fac0e84e1b0695bbed86c07b334
Author: Andres Loeh <[email protected]>
Date: Thu Jun 30 12:10:18 2011 +0000
Refactoring: moving goals to Dependency module
commit ffb8cad8c12830b1d97377f63af3fe7be916ae48
Author: Andres Loeh <[email protected]>
Date: Thu Jun 30 10:17:21 2011 +0000
adding a command-line flag to avoid reinstalls
commit 7f0e52eba0bda007baff9b5184b52dd7315f56bd
Author: Andres Loeh <[email protected]>
Date: Tue Jun 21 14:06:18 2011 +0000
make conflict sets slightly larger
This is slower, however seems more correct. Larger conflict sets
typically mean fewer possibilities to cut the search space. On the
other hand, cutting too much risks incompleteness. At some later
stage, we might want to try hard to think about how/if conflict sets
could be reduced in size.
commit 9ddcb0b23e23fa81189ff39e3b677837fce6ebe2
Author: Andres Loeh <[email protected]>
Date: Tue Jun 21 13:32:31 2011 +0000
more compact output for multiple subsequently rejected packages
commit 9f46b36ac349cd2246a9d848a5915dc7e1a10b0c
Author: Andres Loeh <[email protected]>
Date: Tue Jun 21 11:32:10 2011 +0000
debug output for backjumping
commit 652b610a18a1dd320e2718203e665ed7a941f5c2
Author: Andres Loeh <[email protected]>
Date: Tue Jun 21 09:45:47 2011 +0000
documentation for backjumping
commit 0a20e596d1faa7ba9baf37c0ca50a07ec4558ef4
Author: Andres Loeh <[email protected]>
Date: Tue Jun 21 07:51:36 2011 +0000
maintain chains of GoalReasons
Bugfix: conflict sets now contain the transitive closure of goal reasons,
which is required for completeness.
We now finally have sufficient info to produce good error messages, too.
At a failure site, we can trace which parts of the tree are relevant to
the failure, via the correctly generated conflict sets.
commit 05628426116e377293f1bb941df4670ccb86a2ec
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 21:33:30 2011 +0000
refactoring: conflict sets are now sets instead of lists
commit fa7b97ba85bee473ddea69b7d99063320b8e6dc3
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 17:19:57 2011 +0000
implemented a version of backjumping
commit a7260a13a6adde97a86eab0db05a1b9cd1015962
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 15:06:03 2011 +0000
annotate with goal reason throughout reordering phase
commit 702f4198d2c7ca5f39137815538c3ca75b53ce5c
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 14:49:23 2011 +0000
no annotations needed in goal choices
commit e1ea7b80b48fd8b07e904856d592d6434f61f5ea
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 14:36:41 2011 +0000
refactoring: change the way tree annotations are handled
commit e2bf99ddd03298db13471fa1e7b04c6ec7786f35
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 14:34:43 2011 +0000
build conflict sets
commit 8eaa33a81119ee07b95f86e8a73530c9c54b0b9d
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 13:04:53 2011 +0000
provide more info about conflicts
commit 436a204542a6482e51288c517cb62486884e23f5
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 10:08:52 2011 +0000
proper constraint origins also for flag-introduced dependencies
commit ef5fee5fe492ce762c1b20f487dd252aa9552d24
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 09:58:08 2011 +0000
store origin info in constrained instances
commit 5a611815a8f7681918a2b3cd84e5143f45f6caaf
Author: Andres Loeh <[email protected]>
Date: Mon Jun 20 07:31:04 2011 +0000
Ignore self-dependencies (of executables on libraries).
commit 1be3fabc1386b0a738fec5e7c241515e1aa2a090
Author: Andres Loeh <[email protected]>
Date: Sun Jun 19 16:35:20 2011 +0000
Reactivate output of changes for reinstalled pkgs in install plan
commit 94e0bf2078d02d96be61fceada692874d9b25e4c
Author: Andres Loeh <[email protected]>
Date: Sun Jun 19 15:48:41 2011 +0000
Bugfix: wrong flag name was used while adding new dependencies
commit e12093f1b3b6cb7d62c946e8c7692c8f7e5867c7
Author: Andres Loeh <[email protected]>
Date: Thu Jun 16 06:54:22 2011 +0000
Bugfix: ignore broken packages.
commit e2611a279af8f100532e6c3bfca18fb2d35d244e
Author: Andres Loeh <[email protected]>
Date: Wed Jun 15 11:42:13 2011 +0000
produce a bit more compact debugging output
commit 52a32946fb286d83b514e1999b6ade30f85ed688
Author: Andres Loeh <[email protected]>
Date: Wed Jun 15 07:36:30 2011 +0000
fix package ordering bug
commit bc2862823d7b59b62736d2a08415e26c8059354a
Author: Andres Loeh <[email protected]>
Date: Wed Jun 15 07:28:35 2011 +0000
change avoidReinstalls default, to match old Cabal solver
commit 9bad2f9fc6c2195ca599885deff525a41780cac2
Author: Andres Loeh <[email protected]>
Date: Wed Jun 15 07:07:20 2011 +0000
integrate the modular solver into cabal-install repo
commit 1eff02589d2a5d94e8288d4c3061e4facedc738a
Author: Andres Loeh <[email protected]>
Date: Wed Jun 15 07:03:43 2011 +0000
New solver now respects preferences.
commit 30a51e944672c3ed66c6d5bbfbe1759a3e2de463
Author: Andres Loeh <[email protected]>
Date: Tue Jun 14 21:30:15 2011 +0000
updated Cabal file
commit 46509d6bbc8c8b25dab15ec82cea0a36577d37aa
Author: Andres Loeh <[email protected]>
Date: Tue Jun 14 21:27:36 2011 +0000
properly translate package constraints
commit 11d6bc3c79067a4922a77f39b7f222fe5988ff9d
Author: Andres Loeh <[email protected]>
Date: Tue Jun 14 10:19:08 2011 +0000
whitespace
commit cb6c475813eb54889532425f650dc773d6da6955
Author: Andres Loeh <[email protected]>
Date: Tue Jun 14 10:18:50 2011 +0000
modular resolver now standard
commit 2ee2f83152110ccc6cfdd05769a4da13d981554a
Author: Andres Loeh <[email protected]>
Date: Tue Jun 14 10:15:25 2011 +0000
use InstalledPackageIndex throughout
commit c6390e0efefa213dfadb697bfe945fec6571ec7e
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 12:52:21 2011 +0000
started the solver interface conversion
commit 22d44600088aea4dc306b21d7f202bffcaf66a6f
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 12:42:13 2011 +0000
added a module for the interface to the new solver
commit d2d79d138a25aabbcb7ed9a5ba06b9a590433dbf
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 12:24:30 2011 +0000
integrated index conversion functions
commit e7fc5e2dfd1baf8ee4078a1215306a2473ea1005
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 11:28:09 2011 +0000
added Progress instances
commit 268643b51ad363807bf5c60d16d52403dce4dc0e
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 11:03:41 2011 +0000
reordering
commit c2e56b950c6b1949d59ec7946e8b2e6fb543d30a
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 11:00:52 2011 +0000
include the new solver in the dependency hierarchy
commit 57037fd2d0dbdcca7ee625291e688596fccb9d04
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 11:00:28 2011 +0000
moving PackagesPreferenceDefault
commit 81d45810316f7b0c9bc7bf0d7284f2dd2cd0c793
Author: Andres Loeh <[email protected]>
Date: Sun Jun 5 10:09:42 2011 +0000
updated Cabal file to include modular solver modules
commit d7384a6125b55d108cc14ab00207cbef3e15b4cd
Author: Duncan Coutts <[email protected]>
Date: Wed Oct 26 20:43:46 2011 +0000
Bump major version to 1.13
Since 1.12 got released with ghc-7.2.x
commit 52285df0a921cd9ad8de5a135e8d43d464209d88
Author: Johan Tibell <[email protected]>
Date: Wed Oct 26 00:53:09 2011 +0000
Register 'bench' command with the CLI
commit 4b4896effcae011221d9ed6a362fd598b2897f9b
Author: Johan Tibell <[email protected]>
Date: Wed Oct 26 00:27:38 2011 +0000
Briefly document 'cabal test' and 'cabal bench'
commit f40eb3d0f25597ac84e118b7795c99c42ffe8b8c
Author: Bas van Dijk <[email protected]>
Date: Tue Oct 25 18:40:55 2011 +0000
Small doc fix in Benchmarks section
commit ddb107f248a807d8f941042dcab9f2a26f4e0ed4
Author: Simon Meier <[email protected]>
Date: Tue Oct 25 18:30:32 2011 +0000
typos in benchmarks documentation/help
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc