Skip to content
Commits on May 17, 2016
  1. Changelog update.

    [ci skip]
    committed May 18, 2016
  2. @tuncer
  3. @ezyang

    Test importing reexported modules.

    Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
    ezyang committed May 16, 2016
  4. @dcoutts

    Merge pull request #3431 from dcoutts/smaller-windows-hashes

    Try using smaller package ids on Windows (see #3430)
    dcoutts committed May 17, 2016
Commits on May 15, 2016
  1. @dcoutts

    Merge pull request #3432 from dcoutts/issue-3324

    Add a regression test for issue #3324
    dcoutts committed May 15, 2016
  2. @dcoutts

    Fix IntegrationTest2 on ghc-7.10+

    Use base not haskell2010 package.
    dcoutts committed May 15, 2016
  3. @dcoutts
Commits on May 14, 2016
  1. @dcoutts

    Try using smaller package ids on Windows

    On Windows we have serious problems with path lengths. Windows imposes a
    maximum path length of 260 chars, and even if we can use the windows
    long path APIs ourselves, we cannot guarantee that ghc, gcc, ld, ar, etc
    etc all do so too.
    
    So our only choice is to limit the lengths of the paths, and the only
    real way to do that is to limit the size of the 'InstalledPackageId's
    that we generate. We do this by truncating the package names and
    versions and also by truncating the hash sizes.
    
    Truncating the package names and versions is technically ok because they
    are just included for human convenience, the full source package id is
    included in the hash.
    
    Truncating the hash size is disappointing but also technically ok. We
    rely on the hash primarily for collision avoidance not for any securty
    properties (at least for now).
    dcoutts committed May 14, 2016
  2. @dcoutts

    Merge pull request #3416 from dcoutts/new-build-exception-handling

    New build exception handling
    dcoutts committed May 14, 2016
  3. @dcoutts

    Add new integration tests, initially covering build exceptions

    These integration tests, unlike the existing ones, don't call cabal as
    an external processes. Instead they use the cabal code directly. This
    makes it possible to conveniently test catching exceptions.
    
    Add a couple tests for exceptions in finding projects. There should be a
    lot more for the various phases of planning.
    
    Also add a couple tests for exceptions in the configure and build
    phases. These test the previous patch that improves the exception
    handling so that failures are added into the residual plan rather than
    just propagating immediately.
    dcoutts committed May 9, 2016
  4. @dcoutts

    Update the extra-source-files script and list

    Include cabal.project files too.
    dcoutts committed May 14, 2016
  5. appveyor.yml: Use a newer 'cabal-install' binary.

    [ci skip]
    committed May 14, 2016
Commits on May 13, 2016
  1. Make 'haddock --for-hackage' more visible.

    Fixes #3414.
    committed May 14, 2016
  2. Changelog update.

    committed May 14, 2016
  3. Merge pull request #3429 from bennofs/http-transport-fixes

    Fix various behavior differences between the transports
    committed May 14, 2016
  4. @bennofs
  5. @bennofs

    HttpUtils: wget: fix PUT/POST response parsing

    Previously, the wget transport would never return the text of the response
    that we receive from the server. For example, when uploading a package candidate,
    the server normally responds with a list of warnings that affect the package. But
    if you used the wget transport, it only returned a response like "OK". This commit
    uses the wget option `--output-document` to capture the server response and return
    a correct response.
    bennofs committed May 13, 2016
  6. @bennofs

    HttpUtils: wget: set text/plain Accept header

    Again, all the other transports already set an Accept header, so
    the wget transport should also set it.
    bennofs committed May 13, 2016
  7. @bennofs

    HttpUtils: curl: follow redirects

    All the other transports already do follow redirects, so we
    should do the same for the curl transport for consistency.
    
    Fixes #3426
    bennofs committed May 13, 2016
Commits on May 12, 2016
  1. Update .mailmap.

    [ci skip]
    committed May 12, 2016
  2. Update .mailmap.

    committed May 12, 2016
  3. Merge pull request #3423 from bennofs/upload-candidate-fix

    upload: don't allow 'publish' in cabal.config
    committed May 12, 2016
  4. @bennofs

    upload: don't allow 'publish' in cabal.config

    This hides the "publish" flag, so it is not possible to set publish from
    cabal.config. Previously, cabal would successfully accept a line "publish: publish"
    in cabal.config, but it wouldn't change anything. Now, setting this
    field is no longer allowed.
    
    We could have instead allowed setting a default behaviour for publishing packages
    in the config file, but it would make the user interface more difficult, since
    cabal upload would then have to support three options for setting IsCandidate:
    use from config (default), publish (override config), candidate (override config).
    bennofs committed May 12, 2016
  5. 80-col violations.

    committed May 12, 2016
Commits on May 11, 2016
  1. Merge pull request #3421 from 23Skidoo/remove-upload-check

    Remove 'upload --check'.
    committed May 12, 2016
  2. Comment.

    [ci skip]
    committed May 12, 2016
  3. Remove 'upload --check'.

    Fixes #1823.
    committed May 12, 2016
  4. Comment.

    committed May 12, 2016
  5. 80-col violations.

    committed May 12, 2016
  6. Changelog update.

    committed May 12, 2016
Something went wrong with that request. Please try again.