This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 06 Jun, 2018 1 commit
  2. 08 Feb, 2018 2 commits
  3. 19 Jan, 2018 2 commits
  4. 12 Jan, 2018 1 commit
  5. 08 Jan, 2018 1 commit
  6. 11 Dec, 2017 1 commit
  7. 29 Nov, 2017 1 commit
  8. 28 Nov, 2017 1 commit
  9. 22 Nov, 2017 1 commit
    • Ben Gamari's avatar
      Split sections support for GHC · 450d6bc4
      Ben Gamari authored
      Add --enable-split-sections flag and pipe it through to the GHC backend. Note
      that some of the implementation here could be made a bit more precise:
      -split-sections and -split-objs are mutually exlusive yet the types don't
      currently reflect this.
      
      Fixes #4819.
      450d6bc4
  10. 22 Oct, 2017 1 commit
    • Moritz Angermann's avatar
      Adds `new-update` · b3af0bab
      Moritz Angermann authored
      new-update uses the new-style logic to update the repositories.  As such it
      respects `repository` fields in the `cabal.project(.local)` file and updates
      them as well.  This is essential when working with hackage overlays, where
      the overlay repositories are specified as `repository` fields in the
      `cabal.project(.local)` file.
      b3af0bab
  11. 10 Sep, 2017 1 commit
  12. 09 Aug, 2017 1 commit
    • Herbert Valerio Riedel's avatar
      Refactor 'RelaxDeps' to avoid semantic ambiguity of mempty value · 4066ea7a
      Herbert Valerio Riedel authored
      This removes the redundancy between `RelaxDepsNone` and
      `RelaxDepsSome []` by removing `RelaxDepsNone`.
      
      This way we avoid the risk of subtle bugs that can occur if the same
      semantic value can be expressed in a non-unique way.
      
      A further step to normalise the type would be to turn `[RelaxedDep]`
      into `Set RelaxedDep`, but there is no operation that would
      significantly benefit from that yet.
      4066ea7a
  13. 02 Aug, 2017 2 commits
  14. 01 Aug, 2017 1 commit
  15. 19 May, 2017 1 commit
  16. 18 May, 2017 1 commit
    • Herbert Valerio Riedel's avatar
      Remove --allow-{newer,older} support from Cabal · a95b8f4e
      Herbert Valerio Riedel authored
      This is a preparatory refactoring needed for future work such as #4203.
      
      I've refrained from doing additional cleanups in order to keep this a
      refactoring that mostly moves around blocks of code mostly
      unchanged (except for whitespace), and make it easier to review.
      
      This feature was originally implemented because its lack was complained
      about by Stack/Stackage developers. However, after it got implemented it
      was never really being used; what's more, it's causing us overhead for
      no benefit as well as blocking us improving the implementation via the
      likes of #4203.
      
      Closes #3581
      a95b8f4e
  17. 05 May, 2017 1 commit
  18. 03 May, 2017 1 commit
  19. 01 May, 2017 1 commit
    • kristenk's avatar
      Uncomment --independent-goals flag. · 4ee0df39
      kristenk authored
      --independent-goals could be useful for using local packages as setup or
      build-tool dependencies in new-build.  See #4295 for an example of a dependency
      problem that requires --independent-goals.  The flag is off by default.
      4ee0df39
  20. 29 Apr, 2017 1 commit
    • Moritz Angermann's avatar
      Add `doctest’ command. · 435fd96e
      Moritz Angermann authored
      This adds the `doctest` command to cabal.  It does however not yet work as the driver
      is baiscally a stub.
      
      This is therfore only the first step towards #2327.
      435fd96e
  21. 23 Mar, 2017 1 commit
  22. 11 Mar, 2017 1 commit
  23. 27 Feb, 2017 3 commits
  24. 24 Feb, 2017 2 commits
    • Daniel Wagner's avatar
      bare-bones new-exec support · 585fe3a4
      Daniel Wagner authored
      This implements a bare-bones skeleton for cabal new-exec.
      
      The old cabal exec gave programs access to a sandbox's package database.
      By analogy, cabal new-exec should give programs access to the store's
      package database; however, this database will be cluttered with many
      non-project-related packages that may confuse issues. Therefore new-exec
      selects just the packages that are in the current project's dependency
      tree and makes them available to compiler tools. Currently only very new
      GHCs are supported, via the GHC_ENVIRONMENT mechanism for selecting a
      subset of some package databases.
      
      Eventually we should probably also modify the PATH so that dependencies'
      executables are available.
      585fe3a4
    • Edward Z. Yang's avatar
      Support cabal update --index-state. · 8abf69ea
      Edward Z. Yang authored
      The strategy is to save an 01-index.timestamp file that remembers
      what --index-state the user requested during cabal update.
      Subsequently, we use that index state if no more precise
      index state was specified (via the flag or a project config.)
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      8abf69ea
  25. 19 Feb, 2017 2 commits
  26. 19 Jan, 2017 2 commits
  27. 17 Jan, 2017 4 commits
  28. 16 Jan, 2017 1 commit
  29. 12 Jan, 2017 1 commit