This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 19 Feb, 2008 3 commits
    • Duncan Coutts's avatar
      Use the InstalledPackageIndex rather than calling ghc-pkg in Haddock module · 31204829
      Duncan Coutts authored
      Previously we made two calls to ghc-pkg per-dependent package which starts
      to get very slow once you have 100's of installed packages and the package
      you're building depends on several of them. Now we use the cached information
      about the installed packages. Also refactored the code to generate the haddock
      package flags so we can export it and use it elsewhere more easily.
      31204829
    • 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
  2. 18 Feb, 2008 3 commits
  3. 16 Feb, 2008 1 commit
  4. 18 Feb, 2008 1 commit
  5. 15 Feb, 2008 6 commits
  6. 13 Feb, 2008 1 commit
  7. 12 Feb, 2008 2 commits
  8. 11 Feb, 2008 7 commits
  9. 08 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Fix a bug where the destdir prefix got included in the prog prefix and suffix · c3ccc1c5
      Duncan Coutts authored
      Previously all members of InstallDirs were paths so it was safe to prefix
      them all with the destdir, but now we've also got these two non-paths, so
      we have to not apply the prefix to them. Perhaps the program prefix and suffix
      should just be PathTemplates on their own and not part of InstallDirs.
      Reported by MarcWeber while hacking on Haskell packages for Nix.
      c3ccc1c5
  10. 06 Feb, 2008 1 commit
  11. 05 Feb, 2008 1 commit
  12. 06 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Replace moduleToFilePath with findFileWithExtension · e63f1087
      Duncan Coutts authored
      moduleToFilePath encouraged bad error handling and becuase it was specific
      to module names it made it hard to treat modules and main.hs files uniformly.
      This is one step towards using the same code paths for modules and main.hs
      files so that main.hs files always work properly with pre-processors etc.
      e63f1087
  13. 05 Feb, 2008 6 commits
  14. 04 Feb, 2008 3 commits
  15. 03 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Fudge comment indentation in unliting to work with haddock · 63fbc9a6
      Duncan Coutts authored
      The rule is, if we see any bird track style code then we will indent all
      comments by two spaces so that it should line up with the code. Otherwise
      we use no indentation so that it'll work with latex style literate files.
      This makes it work for takusen (once you change the '.' lines to be blank).
      63fbc9a6
  16. 01 Feb, 2008 1 commit
  17. 31 Jan, 2008 1 commit