This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 14 Oct, 2013 1 commit
  2. 12 Oct, 2013 2 commits
  3. 07 Oct, 2013 1 commit
  4. 25 Aug, 2013 1 commit
  5. 10 Aug, 2013 1 commit
    • Duncan Coutts's avatar
      Flesh out the Program run code to cover all cases · 50af0d77
      Duncan Coutts authored
      Previously the runProgramInvocation impl only covered the common special
      cases that we currently use. In particular it did not support env vars
      or changing the workind directory.
      
      Also change the ProgramInvocation { progInvokeEnv } to allow unsetting
      env vars, not just setting them to new values.
      
      This stuff would be better if we could use createProcess for all cases
      but that doesn't yet support running programs in the foreground with
      proper ctl-C handling (only rawSystem currently supports that).
      50af0d77
  6. 17 Jul, 2013 1 commit
  7. 06 Jul, 2013 1 commit
  8. 27 Jun, 2013 2 commits
    • Ben Millwood's avatar
      Remove more exception compatibility code · 60c08b86
      Ben Millwood authored
      This one removes Cabal's throwIOIO in favour of
      Control.Exception.throwIO.
      
      Note that throwIO is more polymorphic than throwIOIO, but in all current
      use cases the same type is inferred anyway.
      60c08b86
    • 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
  9. 13 May, 2013 1 commit
  10. 02 May, 2013 1 commit
  11. 20 Mar, 2013 1 commit
  12. 04 Jan, 2013 1 commit
  13. 10 Dec, 2012 1 commit
  14. 09 Dec, 2012 1 commit
  15. 15 Nov, 2012 2 commits
  16. 08 Nov, 2012 2 commits
  17. 03 Nov, 2012 1 commit
  18. 31 Oct, 2012 1 commit
  19. 26 Sep, 2012 1 commit
  20. 20 Sep, 2012 1 commit
  21. 11 Aug, 2012 1 commit
  22. 13 Oct, 2011 1 commit
    • tibbe's avatar
      Implement 'cabal bench' command · a2cfed4c
      tibbe authored
      The only implement benchmark interface so far is exitcode-stdio-1.0,
      which forwards the output of the benchmark executable being run to the
      parent process' stdout/stderr.
      a2cfed4c
  23. 23 Oct, 2011 1 commit
  24. 08 May, 2011 1 commit
  25. 19 Jun, 2011 1 commit
  26. 24 May, 2011 1 commit
  27. 17 May, 2011 1 commit
    • Duncan Coutts's avatar
      Reimplement createDirectoryIfMissingVerbose to use sensible file permissions · 237cfe10
      Duncan Coutts authored
      Hopefully should fix ghc ticket #4982.
      The problem was permissions on directories: previously we used ordinary
      createDirectory and on unix this creates dirs using the current user's
      umask. If the root user has a silly umask then someone doing sudo
      install will end up with dirs that are not readable by non-root users.
      
      So the solution is to do the same as we do with files: override the
      umask and explicitly set the file permissions based on the kind of
      file: ordinary file, executable file and now also directory.
      
      Sadly we also had to re-implement createDirectoryIfMissing to use our
      new createDirectory wrapper function.
      237cfe10
  28. 05 May, 2011 1 commit
    • intractable's avatar
      intrapackage-deps-and-per-component-preprocessing · 2e348126
      intractable authored
      This patch adds intrapackage dependency resolution so that components
      (libraries, exes, test suites) are build in the correct order.  This mean it's
      now possible to have, e.g., executables that depend on other executables defined
      in the same package description: the build-tools namespace has been extended
      accordingly.
        
      Related to this change is the refactoring of the do-it-all preprocessSources
      function, formerly invoked by initialBuildSteps, into a a function
      preprocessComponent that is invoked when a component is being built.  This lets
      us use executables defined in a package to be used as a custom preprocessor when
      building other components.
        
      Finally, a number of functions now operate on values of the sum type
      PackageDescription.Component rather than specifically operating on Library or
      Executable and so forth.
      2e348126
  29. 17 Jan, 2011 1 commit
  30. 15 Jan, 2011 1 commit
  31. 18 Dec, 2010 1 commit
  32. 12 Dec, 2010 1 commit
  33. 16 Oct, 2010 1 commit
  34. 23 Dec, 2009 1 commit
  35. 02 Dec, 2009 1 commit
  36. 29 Nov, 2009 1 commit