Commits (76)
-
anton.dessiatov authoredfbc49628
-
Mikhail Glushenkov authored
Add extra-ghci-libraries support to .cabal files
75e2ce38 -
Erik de Castro Lopo authored6b60e2ce
-
Mikhail Glushenkov authored
Document building cabal from git sources and running the tests.
3d9bcf32 -
Mikhail Glushenkov authored5779e69f
-
Mikhail Glushenkov authoredd561936d
-
Mikhail Glushenkov authored90993d34
-
Jake Wheat authored7845e1f4
-
Edward Z. Yang authored
While this doesn't let us get rid of Distribution.Client.PackageIndex, it does make InstallPlan more flexible, so we can have the same package name-package version in the install plan multiple times. We do this by synthesizing fake installed package IDs to act as placeholders prior to compilation. There is some shindig with 'FakeMap' in PackageIndex, check out the Note in that file for more details. This reverts commit a5a0f8e1959003ee702c04a23375a60d48f03f90, with a bugfix for linearizeInstallPlan. Fixes #2123
ff6c718b -
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
4856af6f -
Jake Wheat authored76c13746
-
Mikhail Glushenkov authored
'support sandboxes' in bootstrap
6b2ebe08 -
Mikhail Glushenkov authored4e92d070
-
Mikhail Glushenkov authoredaf326956
-
Erik de Castro Lopo authored
Before this, AllrightsReservered had two separate meanings; the author explicitly chose this license or not license was specified and therefore defaults to AllRightsReserved. The default license when no license is specified is now UnspecifiedLicense. Closes: #2141
1e96fac3 -
Mikhail Glushenkov authored
Add license type UnspecifiedLicense.
8d449ba3 -
Erik de Castro Lopo authored
These values can be useful for debugging cabal issues.
90319a76 -
Mikhail Glushenkov authored
Add Cabal and cabal-install version numbers when writing a new config fi...
e4abefff -
Erik de Castro Lopo authored
* The function has type 'Repo -> IO Double'. * It returns the age in days as a Double. * Places that expected the age as an Int have been updated. * Builds with ghc 7.4.2 and 7.8.3.
7517b5eb -
Erik de Castro Lopo authored26eb1c31
-
Mikhail Glushenkov authored
cabal-install/IndexUtils : Expose function getIndexFileAge.
104c6852 -
Mikhail Glushenkov authoredcac2c913
-
Mikhail Glushenkov authoredae3d6842
-
Mikhail Glushenkov authored
Workaround for GHC issue 8825.
adb527ca -
Mikhail Glushenkov authored
Fixes #2162.
7f8b96fe -
Erik de Castro Lopo authored
These functions are from Mikhail Glushenkov's cabal/ghc-options-union branch.
8e83684e -
Erik de Castro Lopo authored
A NubList is a list where all elements are unique, but are maintained in their original order. The Monoid NubList's mappend implement is just: NubList xs `mappend` NubList ys = NubList . nub $ xs ++ ys which preserves NubList's required properties (ordering and unique-ness of elements) and meets the requirements of the Monoid laws (identity, associativity and closure).
f9381a60 -
Erik de Castro Lopo authored
User config fields like 'remote-repo', 'extra-prog-path' and 'build-summary' were lists, which mean that when two SavedConfig types were concatentated the lists for these fields were concatenated, resulting in duplicate entries. Duplicated entries in these fields simply don't make sense, so we swicth to NubList for these fields. Closes: #2160
efd5543d -
Mikhail Glushenkov authored
Nublist
a256fb18 -
Mikhail Glushenkov authored
Fixes #2135.
4af1407e -
Mikhail Glushenkov authored
Fixes #2089.
b5bbf5ac -
Mikhail Glushenkov authoredde4a4f84
-
Mikhail Glushenkov authored
Some Cabal API clients apparently use `foldl mappend` on large lists of `GhcOptions` records. Fixes #2110.
ba4a6d5b -
Mikhail Glushenkov authored75e598b5
-
Mikhail Glushenkov authored
GhcOptions: use `NubListR` where appropriate.
cfda520f -
Mikhail Glushenkov authored
Fixes #2130.
40f3601e -
Duncan Coutts authored
Remove the self-upgrade check.
72aed5f4 -
Duncan Coutts authored
Remove support for Hugs and NHC98.
b11b9fe6 -
Erik de Castro Lopo authored
The 'user-config' command allows pseudo-diff-ing and updating of the user's ~/.cabal/config file. The diff is against what cabal would generated if the user config file did not exist and the update command overlays the user's existing settings over the current version of the default settings and writes it back to ~/.cabal/config. Closes: #2159
6d530dd4 -
Mikhail Glushenkov authored
Fixes #2171.
1c294686 -
Mikhail Glushenkov authored692db842
-
Mikhail Glushenkov authored
cabal-install: Add command 'cabal user-config diff'.
c1a27249 -
Mikhail Glushenkov authoredce473997
-
Bertram Felgenhauer authored
The motivation is to be able to say --constraint 'foo -none' to prevent 'foo' from being considered when installing packages. See #2092.
3a5f6ae7 -
Bertram Felgenhauer authored00ec0986
-
Mikhail Glushenkov authored
Make the default doc index file path compiler/arch/os-dependent.
b3a0e6da -
Mikhail Glushenkov authored757d14e9
-
Mikhail Glushenkov authoredeaf0d0a9
-
Mikhail Glushenkov authored
This means that if 'hyperlink-source' is set to True, but the 'HsColour' executable is not present, documentation will be still generated. Note that 'cabal hscolour' will still exit with error in this case.
455f5162 -
Mikhail Glushenkov authoredfbcac417
-
Mikhail Glushenkov authoredb8aac069
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
ec81f295 -
Mikhail Glushenkov authored22481252
-
Mikhail Glushenkov authored1929acb0
-
Mikhail Glushenkov authoredeace5e94
-
Mikhail Glushenkov authored
And should be faster.
be27e751 -
Mikhail Glushenkov authored8eee043f
-
Mikhail Glushenkov authored
Fixes #2060.
c5f51c26 -
Mikhail Glushenkov authored7ece59b3
-
thomie authored
Avoids deprecation warnings when versionTags is deprecated in GHC 7.10 (GHC ticket #2496)
b271eb87 -
Mikhail Glushenkov authored
Remove all references to Data.Version.versionTags
751e5584 -
Mikhail Glushenkov authored3c1728ce
-
Mikhail Glushenkov authored
Fixes #1863.
ee6e4784 -
Mikhail Glushenkov authored
That commit prevented 'sdist' from printing distribution quality warnings.
1f41dbf1 -
Lennart Spitzner authored
- previously, tests did not specify config file; default one in ~/.cabal/ was used. test result depended on non-repository content. - now, PackageTester has extra parameter for config-file to use. - the default procedure now is to generate a default config file in "PackageTests/cabal-config" and use that. - specific tests also are able to use non-default config.
a1692da9 -
Mikhail Glushenkov authored
Fixes #2078.
89b3da21 -
Lennart Spitzner authoredfe36cc2b
-
Lennart Spitzner authored
- add struct PackageTests.PackageTester.TestsPaths - contains absolute paths for cabal, ghc, cabal-config - refactor to consequently use this as input for all tests
96f806ae -
Mikhail Glushenkov authored
cabal-install: Fix PackageTests using user's config
be67c424 -
Mikhail Glushenkov authored
Fixes #2195.
1ed5d26e -
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
be263784 -
Mikhail Glushenkov authored
Remove build-depends from pkgDescrFieldDescrs
7207e68f -
Mikhail Glushenkov authored
Switch InstallPlan over to using IPID-indexed PackageIndex.
8cf73788 -
Mikhail Glushenkov authored
Fixes #2198.
9e71e86d -
Mikhail Glushenkov authored438220b2
-
Edward Z. Yang authored
A note first: this patch does NOT modify the user-facing experience in Cabal files; it only changes how we register information in the installed package database. This patch takes the exposed-modules and reexported-modules fields in the InstalledPackageInfo structure and consolidates them into just the exposed module fields, which now has a Maybe flag indicating if a module is reexported and, if it is, what the original module was. I've also added in a field for signatures although it is currently unused. The big benefit of this change is that it will make processing at the GHC level much more uniform when we add signatures: signatures can also be reexported and the new representation means we can share the code. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
1f8a0a20
Showing