This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 04 Feb, 2008 2 commits
  2. 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
  3. 01 Feb, 2008 1 commit
  4. 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
  5. 30 Jan, 2008 4 commits
  6. 29 Jan, 2008 1 commit
  7. 30 Dec, 2007 3 commits
  8. 04 Dec, 2007 2 commits
  9. 30 Jan, 2008 1 commit
  10. 29 Jan, 2008 1 commit
  11. 27 Jan, 2008 2 commits
  12. 13 Jan, 2008 1 commit
  13. 29 Jan, 2008 1 commit
  14. 28 Jan, 2008 1 commit
  15. 27 Jan, 2008 2 commits
  16. 26 Jan, 2008 1 commit
  17. 27 Jan, 2008 1 commit
  18. 26 Jan, 2008 6 commits