This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 11 Feb, 2008 3 commits
  2. 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
  3. 06 Feb, 2008 1 commit
  4. 05 Feb, 2008 1 commit
  5. 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
  6. 05 Feb, 2008 6 commits
  7. 04 Feb, 2008 3 commits
  8. 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
  9. 01 Feb, 2008 1 commit
  10. 31 Jan, 2008 9 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
      Use Setup.hs like everyone else does · 08cc3c88
      Duncan Coutts authored
      and note the issue about custom vs simple build-type for Cabal itself.
      08cc3c88
    • 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
    • Duncan Coutts's avatar
      Eliminate now-redundant Bool flag on smartCopySources · 58c9693a
      Duncan Coutts authored
      and simplfy the implementation to be a simple composition of
      findFileWithExtension' and copyFiles with some additonal error checking.
      58c9693a
    • Duncan Coutts's avatar
      Stop using smartCopySources in SrcDist · 2edfa269
      Duncan Coutts authored
      This was the old module using it in with preserveDirs = True.
      Anyway, we should be using smartCopySources for each lib and exe, we should be
      collecting all the files to copy together into one list, then eliminating
      duplicates and doing a single copyFiles operation. Yes, there can be
      duplicates because for example exes can specify the libbrary's modules or 
      even the other exe's main module as other-modules.
      2edfa269
    • Duncan Coutts's avatar
      findPackageDesc has to return a relative path for SrcDist · 1bee68ef
      Duncan Coutts authored
      otherwise we fail to copy the .cabal file when into the src tree
      1bee68ef
  11. 30 Jan, 2008 4 commits
  12. 29 Jan, 2008 1 commit
  13. 30 Dec, 2007 3 commits
  14. 04 Dec, 2007 2 commits
  15. 30 Jan, 2008 1 commit
  16. 29 Jan, 2008 1 commit
  17. 27 Jan, 2008 1 commit