This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 22 Sep, 2016 1 commit
    • Herbert Valerio Riedel's avatar
      Update default-language & avoid default-extensions (#3880) · f87738df
      Herbert Valerio Riedel authored
      This upgrades the `default-language: Haskell98` to `Haskell2010`
      and removes `default-extensions: RankNTypes, FlexibleContexts`
      in favor of adding `LANGUAGE` pragmas where needed.
      
      Moroever, this also drops `LANGUAGE` pragmas which have become redundant
      due to `Haskell2010` (specifically, `EmptyDataDecls`,
      `ForeignFunctionInterface` and `PatternGuards`)
      
      Finally, an `other-extensions` specification is put in place for the
      `Cabal` library component.
      
      This helps loading up files directly in GHCi, such as e.g. `ghci Setup.hs`
      without having to specify `-X...` flags.
      f87738df
  2. 26 Jul, 2016 1 commit
  3. 30 Jan, 2016 1 commit
  4. 25 Jan, 2016 1 commit
  5. 08 Jan, 2016 1 commit
    • Edward Z. Yang's avatar
      Remove same-package import lists, fixes #2835. · 639cd007
      Edward Z. Yang authored
      
      
      Instead of qualifying, in some cases I just added an extra
      'hiding' pragma to squelch errors.  Common conflicts
      (just grep for hiding):
      
          - Flag
              - Distribution.Simple.Compiler
              - Distribution.PackageDescription
              - Distribution.Simple.Setup
          - installedComponentId
              - Distribution.Package
              - Distribution.InstalledPackageInfo
          - doesFileExist
              - Distribution.PackageDescription.Check
          - instantiatedWith
              - I renamed the field in InstalledPackageInfo.  But
                it's probably going away with Backpack bits; I
                migth just excise it soon.
          - absoluteInstallDirs and substPathTemplate
              - Distribution.Simple.InstallDirs
              - Distribution.Simple.LocalBuildInfo
      
      I fixed some shadowing errors by renaming local variables in some cases.
      Common shadowings (we should perhaps consider not using these as
      method/field names):
      
          - freeVars
          - components
          - noVersion
          - verbosity
          - get
          - description
          - name
      
      Some data structures were moved around (IPIConvert and ABIHash)
      to make it easier to handle import lists.
      
      Some functions in Utils could be turned into reexports of standard
      library functions.
      
      No explicit imports were removed from non-Cabal imports.  These
      imports help maintain warning cleanliness across versions of GHC,
      so I don't recommend removing them.
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      639cd007
  6. 01 Nov, 2015 1 commit
  7. 22 Oct, 2015 1 commit
  8. 06 Mar, 2015 1 commit
  9. 15 Feb, 2015 1 commit
  10. 07 Dec, 2014 2 commits
  11. 04 Dec, 2014 1 commit
  12. 09 Nov, 2014 1 commit
  13. 01 Aug, 2014 1 commit
  14. 14 Apr, 2014 1 commit
  15. 21 Mar, 2014 1 commit
  16. 18 Feb, 2014 1 commit
  17. 02 Feb, 2014 1 commit
  18. 22 Aug, 2013 1 commit
  19. 30 Apr, 2013 1 commit
  20. 17 Apr, 2013 1 commit
  21. 02 Nov, 2012 2 commits
  22. 16 Aug, 2012 1 commit
    • refold's avatar
      Make 'viewAsFieldDescr' a total function. · d50b2d39
      refold authored and tibbe's avatar tibbe committed
      Fixes #980 by allowing to create config fields from options with optional
      arguments. Without this change, setting the 'jobs' or 'verbose' fields in the
      config file results in a fatal error on startup.
      d50b2d39
  23. 12 Aug, 2012 1 commit
  24. 11 Aug, 2012 1 commit
    • refold's avatar
      Make 'viewAsFieldDescr' a total function. · bb388312
      refold authored
      Fixes #980 by allowing to create config fields from options with optional
      arguments. Without this change, setting the 'jobs' or 'verbose' fields in the
      config file results in a fatal error on startup.
      bb388312
  25. 09 Aug, 2012 1 commit
  26. 23 Oct, 2011 1 commit
  27. 25 Aug, 2011 1 commit
  28. 19 Jun, 2011 1 commit
  29. 05 Nov, 2010 1 commit
  30. 29 Nov, 2009 1 commit
  31. 13 Jan, 2009 2 commits
  32. 28 Sep, 2008 1 commit
  33. 28 Jun, 2008 1 commit
    • Duncan Coutts's avatar
      Update module headers · 0c993c84
      Duncan Coutts authored
      Use cabal-devel@haskell.org as the maintainer in most cases except for
      a few which were pre-existing modules copied from elsewhere or modules
      like L.H.Extension which really belong to libraries@haskell.org
      Remove the useless stability module. We have more detailed information
      on stability elsewhere (in the version number and user guide).
      Add more top level module documentation, taken from the source guide.
      0c993c84
  34. 26 Jun, 2008 1 commit
  35. 21 May, 2008 1 commit
    • Duncan Coutts's avatar
      Write out Bool config values correctly · 0bf79ca3
      Duncan Coutts authored
      Used by cabal-install when writing the default ~/.cabal/config file.
      Previously it was using show for type Maybe Bool and writing out
      "Just True" when of course it should just be "True".
      0bf79ca3
  36. 01 May, 2008 2 commits