This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 20 Feb, 2008 1 commit
  2. 19 Feb, 2008 4 commits
    • Duncan Coutts's avatar
      Fix haddock markup · d8b2d8ae
      Duncan Coutts authored
      d8b2d8ae
    • 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
  3. 18 Feb, 2008 3 commits
  4. 16 Feb, 2008 1 commit
  5. 18 Feb, 2008 1 commit
  6. 15 Feb, 2008 4 commits
  7. 13 Feb, 2008 1 commit
  8. 12 Feb, 2008 2 commits
  9. 11 Feb, 2008 5 commits
  10. 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
  11. 06 Feb, 2008 1 commit
  12. 05 Feb, 2008 1 commit
  13. 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
  14. 05 Feb, 2008 5 commits
  15. 04 Feb, 2008 2 commits
  16. 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
  17. 01 Feb, 2008 1 commit
  18. 31 Jan, 2008 5 commits
    • Duncan Coutts's avatar
      Fix haddock markup · 9ed51d3b
      Duncan Coutts authored
      9ed51d3b
    • Duncan Coutts's avatar
      Improve wording of -O and -O2 QA tests. · 8118f0dd
      Duncan Coutts authored
      Including a typo noted by Johan Tibell.
      8118f0dd
    • Duncan Coutts's avatar
      Adjust unlit's behaviour on continuing comments · 6174d0de
      Duncan Coutts authored
      This behaviour is not set in stone, there is not full agreement yet.
      The previous code was deciding wether to continue a comment based on wether
      the intervenienting lines were completely blank or had at least one space in.
      The other suggestion was to use a '.' to continue a comment line.
      Instead, this change uses a single blank line between comments to continue
      a comment and anything else terminates it with a blank line.
      6174d0de
    • Duncan Coutts's avatar
      Improve the QA messages a bit, use the same style as the sanity check messages · ee8eedbe
      Duncan Coutts authored
      Slightly more like full sentances and using '' quotes for field names etc.
      ee8eedbe
    • Duncan Coutts's avatar
      Find original sources for main-is when creating sdist · b61cb051
      Duncan Coutts authored
      Also add a package sanity check that main-is must specify a .hs or .lhs file.
      So the bahaviour is now that main-is specifies the main source file, even if
      that is generated by a pre-processor. This isn't really a change in behaviour
      since previously if you specified main-is: main.hsc then it would try to
      pass the .hsc file to ghc dirctly which would not work. For ticket #14 things
      were fixed to that it would look for main.hsc if you used main-is: main.hs an
      that file did not exist directy. This completes the other half, of actually
      being able to make a src distribution. So this should fix bug #217.
      Note that this still needs some work, we do not run platform-independent
      preprocessors and put the result into the tarball for main-is files.
      Generally, main-is has been the second class citizen compared to normal
      modules. We should try and refactor so both use the same code paths.
      b61cb051