67
I Use This!
High Activity

Commits : Listings

Analyzed about 22 hours ago. based on code collected 1 day ago.
Apr 30, 2023 — Apr 30, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Fix a case in the new solver pruning pass It is actually possible for pruning to eliminate required packages because it's possible for it to propagate all the way up to one of the initial targets.
dcoutts
as Duncan Coutts
More... about 13 years ago
Install phase pulls in test suite dependencies when necessary. More... about 13 years ago
Refactor to avoid problems when $HOME is not set We now avoid calling getWindowsProgramFilesDir and getAppUserDataDirectory when we don't need to know their results. This means that a GHC build goes through when $HOME is unset (GHC trac #5047).
igloo
as Ian Lynagh
More... about 13 years ago
Implement Setup sdist --output-directory=dir That is, allow generating a dir tree rather than a tarball. Apart from being useful directly, this is the right approach for tools like cabal-install. cabal-install does the tar step itself and might like to do other things like zip format. Also cleaned up the sdist code a little.
dcoutts
as Duncan Coutts
More... about 13 years ago
Add command line support for installed, source and flag constraints e.g. --constraint='foo source' --constraint='baz installed' --constraint='bar +this -that'
dcoutts
as Duncan Coutts
More... about 13 years ago
Change the use of the InstalledConstraint type and enhance solver logging Now log when things get excluded due to installed and source constraints.
dcoutts
as Duncan Coutts
More... about 13 years ago
Unicode: use wide APIs on Windows and withFilePath on GHC More... about 13 years ago
Fix for test suite stanzas with conditionals. Ticket #811. This fixes a problem where Cabal would fail to detect the "type" field of a test suite when the test suite contained a conditional. Conditionals can now be used, with the restriction that the "type" field and the appropriate "main-is" or "test-module" field must be specified together in any conditional branch where they occur. More... about 13 years ago
Use catch from the Prelude in the auto generated Paths_pkgname module This enables it to be build with GHC-6.8 More... about 13 years ago
Allow Cabal to be build on ghc-6.8 More... about 13 years ago
Add support for source constraints to the solver
dcoutts
as Duncan Coutts
More... about 13 years ago
Added documentation about the auto generated version constant More... about 13 years ago
Rename the constructors of PackageConstraint to be more consistent
dcoutts
as Duncan Coutts
More... about 13 years ago
Remove a module dependency to avoid cyclic imports
dcoutts
as Duncan Coutts
More... about 13 years ago
Tweak to conflict constraint error message
dcoutts
as Duncan Coutts
More... about 13 years ago
Log package exclusions due to top level constraints
dcoutts
as Duncan Coutts
More... about 13 years ago
Prune impossible packages as a solver pre-pass There are many packages that can never be successfully configured and by pruning them early we reduce the number of choices for the solver later (which is good since the solver does no backtracking when it makes bad choices). This relies on two recent features: 1. we can now express constraints that exclude a particular source package and 2. that we can exclude packages without needing to know whether or not they will ever be needed.
dcoutts
as Duncan Coutts
More... about 13 years ago
Distinguish installed constraint error messages
dcoutts
as Duncan Coutts
More... about 13 years ago
Eliminate TaggedDependency type from solver code
dcoutts
as Duncan Coutts
More... about 13 years ago
Update the solver to use the new target tracking The constraint set ADT now needs to be told which targets we are interested in, rather than assuming anything we constrain might be a target.
dcoutts
as Duncan Coutts
More... about 13 years ago
Eliminate local definition of utility
dcoutts
as Duncan Coutts
More... about 13 years ago
Cosmetic: use PackageId rather than PackageIdentifier
dcoutts
as Duncan Coutts
More... about 13 years ago
Generalise the constraint set ADT in a couple ways We now track target packages and only require constraints on those targets to be satisfiable. This allows us to overconstrain packages that we do not care about, which is useful for excluding broken packages. We also now have a more general way of specifying constraints. Previously constraints were specified as the conjunction of a version range predicate and an optional installed constraint. This form made it impossible to express constraints such as "exclude this source package". Constraints for a package name are now specified simply by a function predicate on the package version and installed/source state.
dcoutts
as Duncan Coutts
More... about 13 years ago
Fix username prompting for cabal upload Fixes ticket #810
dcoutts
as Duncan Coutts
More... about 13 years ago
TAG 0.10.0
dcoutts
as Duncan Coutts
More... about 13 years ago
Unbreak the world target 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.
dcoutts
as Duncan Coutts
More... about 13 years ago
Change the terminology used in source code for available/source packages Rather than 'available' packages, the source now refers consistently to 'source' packages. This is a bit clearer.
dcoutts
as Duncan Coutts
More... about 13 years ago
Fix silly bug in cabal configure. Ticket #805. 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.
dcoutts
as Duncan Coutts
More... about 13 years ago
Fail gracefully when running "setup test" before "setup build". More... about 13 years ago
Remove log files before running tests by default. More... about 13 years ago