This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 15 Apr, 2008 1 commit
  2. 13 Apr, 2008 2 commits
  3. 17 Apr, 2008 1 commit
  4. 27 Mar, 2008 1 commit
    • Duncan Coutts's avatar
      Rename various *Verbose fields to *Verbosity instead · 556b9877
      Duncan Coutts authored
      Despite appearances this is actually not completely pointless.
      For the Cabal-1.4 branch we need the *Verbose fields to have the
      same types as they did in Cabal-1.2, becuase lots of Setup.hs
      scripts use them and our change to make them all have type Flag
      makes many Setup.hs scripts fail. A solution for the 1.4 branch
      is to rename the real field and to add the old field back in.
      To keep as much similarity as possible between the HEAD and 1.4
      branches I'm applying the name change in both.
      On the plus side it's a better name anyway.
      556b9877
  5. 25 Mar, 2008 1 commit
  6. 24 Mar, 2008 2 commits
  7. 21 Mar, 2008 2 commits
  8. 19 Mar, 2008 1 commit
  9. 18 Mar, 2008 1 commit
  10. 17 Mar, 2008 1 commit
    • mnislaih's avatar
      #221: specific include and library search paths options · 6040df41
      mnislaih authored
        This patch adds two new command line options to configure,
        --extra-include-dirs and extra-lib-dirs.
        These have effect over all the buildables in a project.
      
        What is missing now is support for reading these from the .cabal/config file.
        That will be done as part of ticket #223.
      
      6040df41
  11. 12 Mar, 2008 2 commits
  12. 11 Mar, 2008 1 commit
  13. 07 Mar, 2008 2 commits
  14. 06 Mar, 2008 2 commits
  15. 05 Mar, 2008 1 commit
  16. 04 Mar, 2008 2 commits
  17. 05 Mar, 2008 1 commit
    • Duncan Coutts's avatar
      Fix configure for hugs where we don't know what packages are installed · 23e64722
      Duncan Coutts authored
      For Hugs, nhc98 and other compilers we do not know what packages are
      already installed, so we just make some up, pretend that they do exist
      and just hope for the best. We make them up based on what other package
      the package we're currently building happens to depend on.
      See inventBogusPackageId. Let's hope they really are installed... :-)
      One could see this as all rather redundant - carefully making up bogus
      information to satisfy a careful check. I prefer to see it as making
      explicit something that was previously implicit. The proper solution is
      to discover what packages are currently installed.
      23e64722
  18. 03 Mar, 2008 2 commits
    • Duncan Coutts's avatar
      Put a header in the dist/setup-config file and check it on loading · e15289e4
      Duncan Coutts authored
      This should fix ticket #120 in future which is the problem where you do
      something like "sudo runghc Setup install" and you accidentally end up
      using a different version of the compiler or of the Cabal lib and you get
      an unhelpful error message:
      > Setup.hs: error reading ./.setup-config; run "setup configure" command?
      Well now you'll get a helpful error message:
      > setup: You need to re-run the 'configure' command. The version of Cabal
      > being used has changed (was Cabal-1.3.6, now Cabal-1.3.7).
      If the compiler version being used has changed too we get the extra helpful:
      > setup: You need to re-run the 'configure' command. The version of Cabal
      > being used has changed (was Cabal-1.3.6, now Cabal-1.3.7). Additionally
      > the compiler is different (was ghc-6.8, now ghc-6.9) which is probably
      > the cause of the problem.
      Of course this does not help for older versions of Cabal but there's not a
      lot we can do about that.
      e15289e4
    • Duncan Coutts's avatar
      Extend and use the OS data type in the package description · 3108588e
      Duncan Coutts authored
      Rather than just using a string. This makes comparing OSs easier since
      we can normalise them once when we parse rather than every time we compare.
      Also makes it easy to discover when a package mentions an unknown OS since
      it's marked as Other "whatever".
      3108588e
  19. 27 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Revert some of the UTF8 changes, use UTF8 only for files we know are UTF8 · c99ac791
      Duncan Coutts authored
      So we use ordinary read/writeFile for ordinary text files. For console
      output we use ordinary putStr etc and we'll just hope that haskell
      implementations catch up and deal with that sensibly. Don't assume
      captured program output is UTF8, use the default encoding.
      So we use binary mode IO along with UTF8 encoding and decoding only for 
      file types that we specify to be UTF8, which are .cabal files and
      .hs/.lhs files only.
      c99ac791
  20. 24 Feb, 2008 1 commit
  21. 22 Feb, 2008 2 commits
  22. 21 Feb, 2008 1 commit
  23. 20 Feb, 2008 3 commits
  24. 19 Feb, 2008 2 commits
    • Duncan Coutts's avatar
      Add the InstalledPackageIndex to the LocalBuildInfo · 1880702c
      Duncan Coutts authored
      So now all the info about installed packages is available to all the
      verious build phases.
      1880702c
    • Duncan Coutts's avatar
      Detect broken and inconsistent package deps · 5115bb2b
      Duncan Coutts authored
      We now check for packages that are broken due to their dependencies having
      been unregistered. We fail and print a fairly sensible message in this case.
      We also check for inconsistent dependencies and give a warning saying which
      packages are depending on inconsistent versions of a third. This is a warning
      not an error because it does not always lead to failure. Hopefully it'll help
      people who are otherwise just running into random compile errors.
      This fixes ticket #220.
      5115bb2b
  25. 18 Feb, 2008 1 commit
  26. 15 Feb, 2008 3 commits