Fix use of multiple test options. |
|
More...
|
almost 13 years ago
|
Added unit test for test options. |
|
More...
|
almost 13 years ago
|
Add a dash separator for pid in createTempDirectory and openBinaryTempFile too |
|
More...
|
almost 13 years ago
|
Do a sanity check on the HookedBuildInfo Fixes ticket #844. Previously the function that merged the HookedBuildInfo into the PackageDescription would add a library section even if none previously existed. |
|
More...
|
almost 13 years ago
|
Fixed crash on Windows due to file handle leak. Ticket #843. Cabal test crashed when trying to delete a temporary log file because 'readFile' reads unnecessarily lazily and was keeping a file handle open during attempted deletion. This patch forces the entire file to be read so the handle will be closed. |
|
More...
|
almost 13 years ago
|
Add a deprecated knownExtensions for better backwards compatability As suggested by Hamish Mackenzie |
|
More...
|
almost 13 years ago
|
Reimplement createDirectoryIfMissingVerbose to use sensible file permissions Hopefully should fix ghc ticket #4982. The problem was permissions on directories: previously we used ordinary createDirectory and on unix this creates dirs using the current user's umask. If the root user has a silly umask then someone doing sudo install will end up with dirs that are not readable by non-root users. |
|
More...
|
almost 13 years ago
|
Adjust the initial comment in cabal files generated by cabal init Use slightly longer lines and a somewhat more terse comment. Also use a new shorter and hopefully stable URL for the user guide. |
|
More...
|
almost 13 years ago
|
Adjust the cabal init interactive prompt string |
|
More...
|
almost 13 years ago
|
Add a cabal init question about whether to generate comments Users will typically only want this the first time they use cabal init. |
|
More...
|
almost 13 years ago
|
Filter out unbuildable test-suites |
|
More...
|
almost 13 years ago
|
Generate lower case field names in cabal init |
|
More...
|
almost 13 years ago
|
Fix formatting of cabal init BSD copyright declaration |
|
More...
|
almost 13 years ago
|
Improve the error message emitted when multiple .cabal files are found |
|
More...
|
almost 13 years ago
|
Do not include disabled tests into the component build graph |
|
More...
|
almost 13 years ago
|
intrapackage-deps-and-per-component-preprocessing This patch adds intrapackage dependency resolution so that components (libraries, exes, test suites) are build in the correct order. This mean it's now possible to have, e.g., executables that depend on other executables defined in the same package description: the build-tools namespace has been extended accordingly. |
|
More...
|
almost 13 years ago
|
Fix bug where contraints where lost for case insensitive package matches E.g. cabal install cabal-1.8.0.6 would actually install the latest version instead, because when 'cabal' got corrected to 'Cabal' the associated constraint 'cabal == 1.8.0.6' was not converted to 'Cabal == 1.8.0.6'. |
|
More...
|
almost 13 years ago
|
Correct spelling surpress -> suppress |
|
More...
|
almost 13 years ago
|
Add a type signature for getPrefixDirRel on Windows |
|
More...
|
almost 13 years ago
|
Fix the GHC HEAD build: Don't use deprecated catch function We could make this conditional, to support old GHC versions, but I don't think it is worth the cost to support 6.8. By the time this Cabal is released, you will need at least 6.12 (if not higher) to build the GHC it comes with. |
|
More...
|
almost 13 years ago
|
Tell hsc2hs where to find cabal_macros.h |
|
More...
|
almost 13 years ago
|
Distinguish the various impossible errors in the solver Will make tracking down problems easier in future. |
|
More...
|
almost 13 years ago
|
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. |
|
More...
|
almost 13 years ago
|
Install phase pulls in test suite dependencies when necessary. |
|
More...
|
almost 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). |
|
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. |
|
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' |
|
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. |
|
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
|