This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 12 Dec, 2014 2 commits
  2. 10 Dec, 2014 1 commit
    • Luite Stegeman's avatar
      use CompilerInfo rather than CompilerId for resolving flags and · 7d91b773
      Luite Stegeman authored
      path templates.
      
      CompilerInfo contains more information about the compiler than
      CompilerId, which just stores the flavour and version. In particular,
      CompilerInfo knows an AbiTag, which can be used to tell binary
      incompatible results from the same compiler apart, and detailed
      information about supported languages and extensions.
      
      Some fields in CompilerInfo may be left unknown (Nothing). This can
      be used in the future to allow partially resolving configurations
      based on supported languages or extensions.
      7d91b773
  3. 04 Dec, 2014 1 commit
  4. 26 Nov, 2014 1 commit
    • Edward Z. Yang's avatar
      Preliminary support for compiling signature files, using --instantiate-with. · 0ef39071
      Edward Z. Yang authored
      
      
      There's no chrome here, but some of the guts for Cabal supporting compiling
      signatures.  The key UI is a new --instantiate-with flag for ./Setup (no support
      cabal-install side!) which properly modifies the package key, calculates extra
      hole dependencies for a package, and ensures an appropriately
      translated -sig-of is passed to GHC.  The UI here is supremely user-unfriendly:
      the intent is that users will use cabal-install to calculate these parameters
      for them.
      
      ToDo: Cabal's inconsistency check in ./Setup needs to be adjusted to be
      less zealous.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      0ef39071
  5. 18 Nov, 2014 1 commit
  6. 16 Nov, 2014 1 commit
  7. 11 Nov, 2014 2 commits
  8. 08 Nov, 2014 1 commit
  9. 07 Nov, 2014 1 commit
  10. 06 Nov, 2014 1 commit
  11. 05 Nov, 2014 1 commit
  12. 04 Nov, 2014 1 commit
    • Edward Z. Yang's avatar
      Consolidate exposed-modules and reexported-modules in InstalledPackageInfo. · 1f8a0a20
      Edward Z. Yang authored
      
      
      A note first: this patch does NOT modify the user-facing experience in Cabal
      files; it only changes how we register information in the installed package
      database.
      
      This patch takes the exposed-modules and reexported-modules fields in
      the InstalledPackageInfo structure and consolidates them into just the
      exposed module fields, which now has a Maybe flag indicating if a
      module is reexported and, if it is, what the original module was.  I've
      also added in a field for signatures although it is currently unused.
      
      The big benefit of this change is that it will make processing at the GHC level
      much more uniform when we add signatures: signatures can also be reexported
      and the new representation means we can share the code.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      1f8a0a20
  13. 30 Oct, 2014 3 commits
  14. 29 Oct, 2014 1 commit
  15. 24 Oct, 2014 4 commits
  16. 20 Oct, 2014 1 commit
    • Erik de Castro Lopo's avatar
      cabal-install : Add a 'user-config' command. · 6d530dd4
      Erik de Castro Lopo authored
      The 'user-config' command allows pseudo-diff-ing and updating of the
      user's ~/.cabal/config file. The diff is against what cabal would
      generated if the user config file did not exist and the update
      command overlays the user's existing settings over the current
      version of the default settings and writes it back to ~/.cabal/config.
      
      Closes: #2159
      6d530dd4
  17. 19 Oct, 2014 4 commits
  18. 16 Oct, 2014 1 commit
  19. 11 Oct, 2014 2 commits
  20. 09 Oct, 2014 1 commit
  21. 03 Oct, 2014 3 commits
  22. 27 Sep, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Re-allow `configure-option` in config file (re #2122) · 07030ef3
      Herbert Valerio Riedel authored
      A couple of settings were filtered out since
      74cb2909 including
      `configure-option`. However, it turns out you may want to
      persist some options to `configure`, such as e.g.
      
        --configure-option=--build=x86_64-w64-mingw32
      
      when working in a Cygwin host environment, but using a Mingw
      toolchain (such as the one bundled with the Windows GHC bindist).
      
      Approved by @dcoutts
      07030ef3
  23. 26 Sep, 2014 2 commits
  24. 25 Sep, 2014 2 commits
  25. 24 Sep, 2014 1 commit