This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Mar 29, 2016
-
-
kristenk authored
-
- Mar 21, 2016
-
-
Mikhail Glushenkov authored
Require QuickCheck >= 2.8.2 for cabal-install unit tests
-
kristenk authored
The 'ProjectConfig' tests use the Arbitrary instance for Map added in 2.8.2.
-
- Mar 20, 2016
-
-
Mikhail Glushenkov authored
More detailed docs for the PACKAGETESTS flags.
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Mar 19, 2016
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Add current pkg info to generated `cabal_macros.h` file
-
Erik de Castro Lopo authored
Add the version string macro for the package currently being built to the generated `dist/build/autogen/cabal_macros.h` file. Perviously this file only contained the version strings of all the dependent packages, but not the version string of the package itself.
-
- Mar 18, 2016
-
-
Mikhail Glushenkov authored
Add the gen-bounds command.
-
- Mar 17, 2016
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Two kinds of round-trip test: * type conversion ProjectConfig -> LegcyProjectConfig and back * ProjectConfig -> print -> parse The latter goes out to the config file format and back. These tests uncovered a number of issues in our general config code. (cherry picked from commit e36c0e7e)
-
We want to reuse the FlagAssignment printer/parser for the config files. (cherry picked from commit d0fb249e)
-
One for testing if globs are trivial, as in they're constant strings without the possibility of matching more than one thing. This can help with making better error messages. Another util for matching file globs in the rebuild monad, and automatically monitoring the glob. (cherry picked from commit 4365bcb1)
-
Getters and setters really need to match up. Detected by parse/print round trip QC tests. (cherry picked from commit a82af445)
-
This defines the new cabal.project files and introduces the notion of a project root (and the logic for finding it). Also has support for implicit projects when no cabal.project file is defined. Supports both reading and writing project files or fragments. The printing & parsing round trips correctly. QC tests to follow. This is a key part of the new nix-local-build branch approach, based around projects with clear configuration state held in a project file (or extra files). This has support for file and dirs as packages within a project, including by glob. It supports both globs that much match a target, and optional globs that are allowed to match nothing. It has partial support for local tarball, remote http tarball and remote source repo packages. (cherry picked from commit 324b3240)
-
This describes in one place the layout of the new dist dir, as used by the nix-local-build branch. Also a similar approach to describing the layout of the user-wide cabal directory. The idea is that this centralises the description and makes it easier to change and handle systematically (e.g. we have problems currently with some user-wide files not being reolocatable). (cherry picked from commit 7907a55c)
-
The existing approach has been to parse top level fields and then separately parse each top level section, and similarly for pretty printing. A better approach is to follow the pattern for fields and have a section description. Then we just parse or print fields+sections in one call. And as a bonus, secitons can have subsections (and could even do so recursively). This patch just adds the new functionality. No existing config parsing is switched over. (cherry picked from commit 2f743b6d)
-
withRepoContext keeps its current type (using GlobalFlags). Added withRepoContext' that takes all the args seprately. Better name suggestions welcome. (cherry picked from commit 7b280cdd)
-
- Mar 16, 2016
-
-
Mikhail Glushenkov authored
Fixes #3229. (cherry picked from commit 7ab167b8)
-
- Mar 12, 2016
-
-
ttuegel authored
Fix ConfigStateFileErrorMessages
-
ttuegel authored
The error messages associated with ConfigStateFileError have been reformatted and reworded for clarity.
-
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
-