This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 21 Dec, 2013 2 commits
  2. 19 Dec, 2013 2 commits
  3. 31 Oct, 2013 1 commit
  4. 26 Oct, 2013 1 commit
  5. 05 Sep, 2013 1 commit
  6. 30 Aug, 2013 4 commits
  7. 23 Aug, 2013 2 commits
    • Mikhail Glushenkov's avatar
      Backwards compatibility patch for cross-compilation changes. · b57b1158
      Mikhail Glushenkov authored
      Changes back the types of 'configCompiler' and 'configCompilerEx', but marks
      them as deprecated. Adds new functions 'configCompilerEx' and
      'configCompilerAuxEx'.
      
      The remaining functions that changed type after the cross-compilation changes
      shouldn't matter from the backwards compatibility standpoint:
      
          * InstallDirs.{absoluteInstallDirs, prefixRelativeInstallDirs,
            initialPathTemplateEnv} - the versions in D.S.LocalBuildInfo retain their
            old types and are usually used instead. In any case, removing the Platform
            parameter from here is problematic because the default install dirs now
            include $arch and $os vars.
      
          * D.S.Configure.configure - shouldn't be used by the setup scripts.
      
      See #1214 for the original (backwards-incompatible) patches.
      b57b1158
    • Mikhail Glushenkov's avatar
      Rename 'Distribution.Compat.*' to 'Distribution.Client.Compat.*'. · af5d1345
      Mikhail Glushenkov authored
      Helps to disambiguate Cabal's compat modules from cabal-install's.
      af5d1345
  8. 27 Jul, 2013 1 commit
  9. 24 Jul, 2013 1 commit
  10. 10 Jun, 2013 1 commit
  11. 09 Jun, 2013 1 commit
  12. 08 Jun, 2013 1 commit
  13. 07 Jun, 2013 1 commit
  14. 05 Jun, 2013 1 commit
  15. 04 Jun, 2013 2 commits
  16. 03 Jun, 2013 1 commit
  17. 29 May, 2013 1 commit
  18. 17 May, 2013 3 commits
    • Mikhail Glushenkov's avatar
      Don't update 'cabal.sandbox.config' after 'configure -w'. · 077df38f
      Mikhail Glushenkov authored
      Use the values from 'ConfigFlags' that were read from 'dist/setup-config'
      instead.
      
      This way 'reinstallAddSourceDeps' won't reinstall deps for the wrong compiler,
      but the user will be forced to use 'install -w' when installing inside a
      sandbox. This is consistent with the normal mode of operation.
      
      Fixes #1333, in a way.
      077df38f
    • 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
  19. 16 May, 2013 1 commit
    • Mikhail Glushenkov's avatar
      Instead of pruning, make an install plan for the whole environment. · 99dc4056
      Mikhail Glushenkov authored
      Previously, we used a hack for reinstalling reverse dependencies: we created an
      install plan for the sandboxed package and the modified add-source deps and then
      pruned the sandboxed package from it. This missed those revdeps that the
      sandboxed package didn't depend on and also broke the sandboxed package if it
      was installed in the sandboxed package DB (see #1229).
      
      This commit replaces that hack with a more principled approach: we create a plan
      for the whole environment (all packages installed in the sandbox), constraining
      the modified add-source deps to be reinstalled and the already installed
      packages to be preferably not.
      
      Fixes #1229.
      99dc4056
  20. 15 May, 2013 1 commit
  21. 13 May, 2013 2 commits
  22. 09 May, 2013 1 commit
  23. 06 May, 2013 1 commit
  24. 05 May, 2013 1 commit
  25. 04 May, 2013 1 commit
  26. 03 May, 2013 1 commit
  27. 02 May, 2013 3 commits
  28. 30 Apr, 2013 1 commit