This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Jul 06, 2015
-
-
Duncan Coutts authored
New flags: --profiling-detail and --library-profiling-detail. When profiling is enabled (by the existing flags) then these flags are taken into account to set the profiling detail level. The levels are: none default exported-functions toplevel-functions all-functions The default value for ghc for libraries is exported-functions and for exes is toplevel-functions. On GHC these levels correspond to the -fprof-auto* flags. The ghc-prof-options will override this (just because it's passed to ghc at the end).
-
- Jul 02, 2015
-
-
Duncan Coutts authored
And add backwards compat support for ghc-7.2 and older that used the -auto and -auto-all flags. Simplifies the code in D.S.GHC where we're deciding the options to use.
-
Conflicts: Cabal/changelog
-
-
-
Duncan Coutts authored
Merge https support
-
- Jun 29, 2015
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
e.g. cabal install https://example.com/foo-1.0.tar.gz
-
Duncan Coutts authored
The initial patch would always try to use HTTPS, even when the repo specified to use HTTP. This works for the central community hackage but obviously does not work in general. The new logic is that we always follow what is specified for the remote repo in the config, except for built-in known repos (currently just the central community hackage) where we mark them as also supporting https. For upload when uploading to such a marked repo then we will try https and will complain if the plain-http impl was selected automatically (but it's ok if selected manually). This patch also changes things so that for http urls on download, we stick to the builtin http impl by default, and only use the external ones if https support is required (i.e. because the repo was configured to use an https url)
-
Duncan Coutts authored
Move utils into other Util modules. Reformat all code to 80 cols. Reorder code and add more comments. Use long form style program args, e.g. --silent rather than -s Finish implementation of form upload with wget Fix reporting of server error messages for upload (curl & builtin) Implement collecting of ETags for curl and wget. Fix wget for case of 304 not modified response (wget uses exit code 8). Rework transport configuration phase.
-
Supports both uploading and downloading. Basic built-in HTTP is still supported.
-
ttuegel authored
Get 'builddir' from cabal.config or CABAL_BUILDDIR
-
ttuegel authored
-
ttuegel authored
-
Duncan Coutts authored
This will be useful for adding crypto credentials without people having to update their config files. Also useful point to add any other special casing for known repos.
-
Duncan Coutts authored
Will need a later check to validate the repo info, e.g. that it's a supported url scheme and is an absolute URI.
-
- Jun 28, 2015
-
-
Mikhail Glushenkov authored
Add test dependencies to stack.yaml
-
Dan Burton authored
-
- Jun 27, 2015
-
-
Duncan Coutts authored
Support new section syntax for remote-repo.
-
ttuegel authored
-
ttuegel authored
-
ttuegel authored
Fixes #2484. The 'builddir' option may now be specified in cabal.config as well. It will also be read from the CABAL_BUILDDIR environment variable, if set. The order of precedence (highest to lowest) is: 1. --builddir command line option 2. CABAL_BUILDDIR environment variable 3. cabal.config setting
-
- Jun 24, 2015
-
-
Duncan Coutts authored
Drop pkgna_ prefix from package keys, c.f. http://ghc.haskell.org/tra…
-
Mikhail Glushenkov authored
HACKING.md: Add quotation to sed command
-
bardur.arantsson authored
The command line given to get the sandbox package database path is missing quotation which may make it fail in some shells (given certain globbing options). This adds single quotation marks to avoid such potential issues.
-
- Jun 23, 2015
-
-
Mikhail Glushenkov authored
Add a stack.yaml file
-
Michael Snoyman authored
I needed this when building cabal.exe for MinGHC (see: https://github.com/fpco/minghc/issues/69). I thought others might find this useful, especially for the use case of bootstrapping cabal development. I went the direction of no curation and explicit packages in the extra-deps, as I thought that would make more sense for a project low on the dependency chain, but this could certainly be tweaked to use LTS Haskell or Stackage Nightly instead.
-
- Jun 22, 2015
-
-
http://ghc.haskell.org/trac/ghc/ticket/10550Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Jun 20, 2015
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Mikhail Glushenkov authored
Allow cabal freeze tests to run on Windows
-
kristenk authored
The tests now read cabal.config strictly so that the file is closed by the time it is deleted for the next test.
-
- Jun 19, 2015
-
-
Duncan Coutts authored
Fix #367. Find module files in all source directories.
-
Mikhail Glushenkov authored
Test cabal exec error message in a more portable way
-
Mikhail Glushenkov authored
Compare file paths with equalFilePath for portability
-
kristenk authored
Without this change, differences in filename capitalization caused "cabal sandbox delete" to fail with this error message when used with a default sandbox on Windows: cabal.exe: Non-default sandbox location used: 'C:\folder\.cabal-sandbox'. Assuming a shared sandbox. Please delete 'C:\folder\.cabal-sandbox' manually. This commit also allows the cabal-install package tests that delete sandboxes to run on Windows.
-
kristenk authored
This change allows the tests "can run executables installed in the sandbox" and "adds the sandbox bin directory to the PATH" to run on Windows by removing the executable name from the required error message.
-
- Jun 18, 2015
-
-
Duncan Coutts authored
Automatically run `configure` before `haddock`
-
Duncan Coutts authored
Parse C compiler flags from GHC correctly
-
- Jun 17, 2015
-
-
Mikhail Glushenkov authored
Instead of: C:\Users\Ganesh\AppData\Local\Temp\data-default-instances-old-locale-0.0.1-11924\data-default-instances-old-locale-0.0.1 (which was the case before @ezyang's patch) we now get: C:\Users\Ganesh\AppData\Local\Temp\cabal-tmp-11924\data-default-instances-old-locale-0.0.1 Fixes #2658.
-