This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 19 Dec, 2013 1 commit
  2. 17 Dec, 2013 2 commits
  3. 06 Dec, 2013 2 commits
  4. 05 Dec, 2013 3 commits
    • Mikhail Glushenkov's avatar
      Whitespace, formatting. · 270e771d
      Mikhail Glushenkov authored
      270e771d
    • Mikhail Glushenkov's avatar
    • Mikhail Glushenkov's avatar
      Solver support for '--allow-newer'. · d5ea0dfc
      Mikhail Glushenkov authored
      Implemented by going through all packages in the 'depResolverSourcePkgIndex' and
      applying 'relaxUpperBound' to the dependencies listed in 'build-depends'.
      
      Known issue:
      'build-depends: a < 3 && >= 2; if (someFlag): build-depends: a >= 5 && < 6'
      gets converted to
      'build-depends: >= 2; if (someFlag): build-depends: a >= 5'
      (4 is now allowed where it previously wasn't).
      
      Example:
      
          $ cabal install --dry-run ./tst
          Resolving dependencies...
          In order, the following would be installed (use -v for more details):
          array-0.3.0.3 (latest: 0.5.0.0)
          tst-0.1.0.0 (latest: 0.1.1)
      
          $ cabal install --dry-run --allow-newer=array ./tst
          Resolving dependencies...
          In order, the following would be installed (use -v for more details):
          tst-0.1.0.0 (latest: 0.1.1)
      d5ea0dfc
  5. 04 Dec, 2013 1 commit
    • Mikhail Glushenkov's avatar
      Refactoring: change the return type of 'InstallPlan.ready'. · 2a75a448
      Mikhail Glushenkov authored
      Introduce a new type 'ReadyPackage' to represent packages that have all
      dependencies already installed. Make 'InstallPlan.ready' return '[ReadyPackage]'
      instead of '[(ConfiguredPackage, InstalledPackageInfo)]'.
      
      Also fix a bug where 'cabal configure' didn't pass '--dependency' options to
      'setup configure'.
      2a75a448
  6. 02 Dec, 2013 1 commit
  7. 22 Nov, 2013 1 commit
  8. 31 Oct, 2013 4 commits
  9. 29 Oct, 2013 1 commit
  10. 26 Oct, 2013 3 commits
  11. 25 Oct, 2013 3 commits
  12. 24 Oct, 2013 1 commit
    • Duncan Coutts's avatar
      Only report not using latest versions when using < latest · 0f00536c
      Duncan Coutts authored
      Rather than when /= latest. So we'll no longer report things like:
      
        hdevtools-0.1.0.6 (latest: 0.1.0.5) (new package)
      
      We don't need to tell people they're not using the latest version when
      they're actually using a later version than the one available (e.g.
      it's installed locally and not available from the remote server).
      
      Reported by bennofs
      0f00536c
  13. 12 Oct, 2013 1 commit
  14. 07 Oct, 2013 1 commit
  15. 10 Sep, 2013 1 commit
  16. 31 Aug, 2013 2 commits
  17. 23 Aug, 2013 2 commits
  18. 24 Jul, 2013 1 commit
  19. 20 Jul, 2013 1 commit
  20. 18 Jul, 2013 1 commit
  21. 17 Jul, 2013 1 commit
  22. 27 Jun, 2013 1 commit
    • Ben Millwood's avatar
      Slim down exception compatibility modules · 80a2226a
      Ben Millwood authored
      handleIO and throwIOIO in the cabal-install compat module were
      completely unused, so they're just binned.
      
      IOException, SomeException and onException are now just used from
      Control.Exception, since these days it's available on all supported
      build configurations.
      
      There are some more functions which can be removed, but these are the
      easiest and least invasive.
      80a2226a
  23. 05 Jun, 2013 1 commit
  24. 29 May, 2013 2 commits
  25. 17 May, 2013 2 commits
    • Mikhail Glushenkov's avatar
      Make newly-added add-source deps override previously installed versions. · e8742a5c
      Mikhail Glushenkov authored
      Fixes #1197.
      
      This patch is a bit large because it includes several related changes:
      
      1) Remove 'installUseSandbox' from 'InstallFlags' and pass 'useSandbox' as an
      additional argument instead.
      
      2) Instead of calling 'reinstallAddSourceDeps' from 'installAction', always pass
      'SandboxPackageInfo' to 'install'.
      
      3) Set the timestamps of newly-added add-source deps to 0 in the timestamp file.
      
      4) Move the timestamp file update to 'postInstallActions' from
      'withModifiedDeps'. This way, the timestamps are updated even when the user runs
      'install --only-dependencies' or 'install some-add-source-dep-package-id'.
      e8742a5c
    • Mikhail Glushenkov's avatar
      Apply 'sandboxInstallPolicy' after 'reinstallTargets'. · 35b6bda9
      Mikhail Glushenkov authored
      Otherwise 'install --reinstall' in a sandbox reinstall the contents of the whole
      sandbox.
      35b6bda9