New patches in /srv/darcs/git-mirrors/Cabal
commit 52a01b26e141b65a1c61b9ed0427c9cbb072fcf3
Author: Andres Loeh <[email protected]>
Date: Mon Apr 16 17:15:58 2012 +0000
updated copyright year for Duncan
commit 77b24bfda84793b12100bcb970d299e890cebfe9
Author: Andres Loeh <[email protected]>
Date: Mon Apr 16 17:12:56 2012 +0000
updated changelog
commit ca28b3df090a3ea6e246644ea45f549845abd85d
Author: Andres Loeh <[email protected]>
Date: Mon Apr 16 17:04:48 2012 +0000
added deepseq to bootstrap.sh
deepseq is a dependency of text, and not included with ghc-7.0.4.
commit 86fb0f163e16e2710815e552e00f5691854f7582
Author: Andres Loeh <[email protected]>
Date: Mon Apr 16 12:30:24 2012 +0000
handling the solver options properly in config file
commit ae350038e311eb81548200368110855fd3b18947
Author: Andres Loeh <[email protected]>
Date: Mon Apr 16 12:29:03 2012 +0000
handling the "optimization" option properly in config file
commit 43964d9e66f383f9e014d3e58ce980723507964f
Author: Tuncer Ayaz <[email protected]>
Date: Thu Apr 12 21:24:59 2012 +0000
Update cabal-install bootstrap.sh
commit 40252044a3fec74ec80dd0c849e9435f43091301
Author: Andres Loeh <[email protected]>
Date: Mon Apr 16 07:03:02 2012 +0000
treat packages that are unknown no longer as an "internal error" in modular
solver
commit db604ed9b567124ff845d31a0e3e9f10ea682916
Author: Andres Loeh <[email protected]>
Date: Sun Apr 8 17:18:52 2012 +0000
minor wording change when printing install plans
commit 5114b7833c86e7bc373c9b6714319b22dfe15733
Author: Andres Loeh <[email protected]>
Date: Sun Apr 8 17:14:23 2012 +0000
no longer pre-filter broken packages for modular solver
The modular solver can now deal with broken packages in the
index. I have, however, discovered, that broken packages were
filtered before even passing the installed package index to
the solver. I have made that filtering conditional on using
the topdown solver for now.
Related is the issue that we should not warn about possible
breakage of already broken packages. So we now exclude
already broken packages when considering whether an install
plan contains dangerous reinstalls.
commit 925ff7373974d246de0aa1193c15144985a5d34e
Author: Andres Loeh <[email protected]>
Date: Sat Apr 7 09:28:29 2012 +0000
for empty install plans, print the packages that are installed
This is a fix for #623.
If we ask to install a package without --reinstall that's already
there, then we'll show the package and its version in the warning
message and suggest the use of the --reinstall flag.
commit 3e175587eb8472b573d6f37a6809ba37137ad7f0
Author: Andres Loeh <[email protected]>
Date: Fri Apr 6 17:24:35 2012 +0000
make the reinstall check less noisy
There are two aspects to this change.
The uncontroversial one is that if the install plan contains
reinstalls, we now determine if there are reverse dependencies
of such reinstalled packages that we can see. If so, these
are likely to be broken. If we find such packages, we list
them and state that we can only install the plan if
--force-reinstalls is explicitly stated.
The more controversial change is that if we cannot find such
reverse dependencies, we now merely print a warning but
continue, even though there are situations where executing
the build process can still break packages. The most likely
example of this is that we're installing to the global package
database, and user package databases on the system have
dependencies on the replaces packages -- but we cannot see
these user package databases.
commit f5d59b9a1570bd1cbd9d8bb3d287adfcd945eb53
Author: Andres Loeh <[email protected]>
Date: Fri Apr 6 17:24:03 2012 +0000
disable line-wrapping for solver debug output
commit eb1bce6765b7290c39d6db64fc5baedcdf1a7e27
Author: Andres Loeh <[email protected]>
Date: Fri Apr 6 10:34:35 2012 +0000
adding a solver flag for shadowing of installed packages
commit 014cbab2ca303d356a7cc1aa91d5d19ca03156fa
Author: Andres Loeh <[email protected]>
Date: Thu Apr 5 15:33:15 2012 +0000
adding the possibility for index-disabled packages
In the modular solver, it's now possible to mark packages
as disabled in the index conversion phase. This can be used
to mark broken packages (with missing dependencies) in such
a way that they can still be seen by the solver and reported
in error messages.
Furthermore, the feature could be used to implement
shadowing restrictions. Currently, there are some things
that can go wrong if multiple installed instances of
the same version and package exist on the system. However,
I've not enabled the use of shadowing for now, as it's
hard to match the restrictions exactly, and we can end up
excluding perfectly valid cases. Enabling shadowing
selectively by a solver flag would be an option.
commit 7139cf3a07671317feceb5e3b08937ca6ebad87e
Author: Andres Loeh <[email protected]>
Date: Sat Mar 31 13:42:11 2012 +0000
choose default solver based on compiler version
GHC-6.12 has base-3 depending on base-4. This is a situation the
topdown solver is hacked to deal with, but the new modular solver
currently doesn't support it. We therefore switch back to the
topdown solver if a GHC version before 7 is detected, but switch
to the modular solver by default in all other situations.
commit c27994e48c4bf61e62e6843b75c5306626b4b76d
Author: Andres Loeh <[email protected]>
Date: Thu Mar 15 18:16:26 2012 +0000
Added a comment
commit 1f9fe7edd57edddfb98adcedc6b209b4b651d1bb
Author: Duncan Coutts <[email protected]>
Date: Thu Mar 29 02:07:52 2012 +0000
Use the new --package-db flag stuff in cabal-install
commit c7382db8108f90d7ccf7d507a5b665bab74c3a09
Author: Duncan Coutts <[email protected]>
Date: Thu Mar 29 02:07:20 2012 +0000
Extend the --package-db= feature to allow multiple dbs and start from empty
Previously only one --package-db flag was used (later ones overrode
earlier).
Internally we can handle stacks of package dbs, now we expose that fully in
the user interface.
--global sets the initial db stack to [GlobalPackageDB]
--user sets the initial db stack to [GlobalPackageDB, UserPackageDB]
--package-db=clear clears the db stack to []
--package-db=global pushes GlobalPackageDB on the top of the stack
--package-db=user pushes UserPackageDB on the top of the stack
--package-db=${file} pushes SpecificPackageDB ${file} on the top of the
stack
So --global and --user just affect the initial db stack, and this can be
extended by the --package-db flag, or reset using --package-db=clear.
Note that although this lets users tell cabal to avoid using the global
package db, we cannot yet stop ghc from looking at the global package db.
See http://hackage.haskell.org/trac/ghc/ticket/5977
Fixes feature request #437.
commit d812027380ac17a3175a6ba81f602b139f07522f
Author: Duncan Coutts <[email protected]>
Date: Thu Mar 29 01:46:53 2012 +0000
head cabal-install requires head Cabal
commit d0f67b4a8797906547dda120027e1bff9ef73af4
Author: Duncan Coutts <[email protected]>
Date: Thu Mar 29 01:08:37 2012 +0000
Add back deprecated ghcVerbosityOptions and ghcPackageDbOptions
commit 75b7b8d747cef439cd1dba11db456eef2872ab31
Author: Duncan Coutts <[email protected]>
Date: Wed Mar 28 22:05:56 2012 +0000
Fix ticket #731
commit 40acf80fea3c6b3555cfba9fa864006166cd20d4
Author: Duncan Coutts <[email protected]>
Date: Wed Mar 28 21:45:22 2012 +0000
Check for the env var GHC_PACKAGE_PATH
Based on the patch by Keegan McAllister <[email protected]>
Fixes ticket #335
commit f3bbe9c708ecfd21345f53cda6abac9bb1c059e6
Author: Duncan Coutts <[email protected]>
Date: Tue Mar 27 23:32:03 2012 +0000
Break up the component build code a bit
This will make it easier to allow building individual components
commit 7bb65583935d55acac63ec16bc769abe08b6cd50
Author: Duncan Coutts <[email protected]>
Date: Tue Mar 27 22:52:05 2012 +0000
Convert ghc option construction to use an options record
Using a structured representation of the ghc options rather
than [String] makes it easier to share and reuse the code
for building sets of ghc options, which makes it easier to
add code for calling ghci.
This is based on Sam Anklesaria's GSoC work on "cabal repl"
commit e02a82ff63b84836999e38ef2658cbc47cfc993e
Author: Duncan Coutts <[email protected]>
Date: Sun Sep 25 05:18:15 2011 +0000
Add brief description of PVP to cabal init generated .cabal files
commit 97376d4fcc75a2530e0d32402e57ea571560f527
Author: Duncan Coutts <[email protected]>
Date: Thu Mar 29 01:29:52 2012 +0000
Bump versions to 1.15 and 0.15
This is the head branch, the 1.14.x and 0.14.x are in the 1.14 branch.
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc