Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal.git. Pull mirroring updated .
  1. May 29, 2008
  2. Jan 31, 2008
    • Duncan Coutts's avatar
      Find original sources for main-is when creating sdist · 294cee0f
      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.
      294cee0f
  3. Apr 23, 2008
    • Duncan Coutts's avatar
      When multiple specifying list fields in the same section combine them · 9edf766e
      Duncan Coutts authored
      eg if you had:
      extensions: Foo
      extensions: Bar, Baz
      then previously we only ended up with [Bar, Baz]. Now we get them all.
      Only applies to list fields, for single fields the second value is taken
      and the first is silently discarded. This isn't good of course but the
      fix is harder since we're not in a context where we can report errors.
      Really we should just declare up front what kind of field it is and
      inherit the right behaviour automagically, either duplicates disallowed
      or allowed and combined with mappend.
      9edf766e
  4. Mar 27, 2008
  5. Mar 08, 2008
    • Duncan Coutts's avatar
      Fix rejection of non-ambigious options · 725c46f7
      Duncan Coutts authored
      This GetOpt patch was sent the the libraries list by Eelis van der Weegen
      with the explanation:
      There is a bug in System.Console.GetOpt causing it to mistakenly reject
      options as ambiguous. Example:
        optsDesc = [Option "" ["color", "colour"] (ReqArg id "color") ""]
      Output:
        option `--col' is ambiguous; could be one of:
            --color=color, --colour=color  Foreground color
            --color=color, --colour=color  Foreground color
      This error is silly, because the two alternatives listed are the same option.
      725c46f7
  6. Mar 07, 2008
  7. Mar 03, 2008
  8. Feb 25, 2008
  9. Feb 23, 2008
  10. Feb 22, 2008
  11. Feb 11, 2008
  12. Jan 31, 2008
  13. Jan 26, 2008
  14. Jan 25, 2008
  15. Jan 24, 2008
  16. Dec 31, 2007
  17. Jan 16, 2008
  18. Dec 28, 2007
  19. Dec 27, 2007
  20. Dec 08, 2007
  21. Dec 07, 2007
  22. Dec 10, 2007
  23. Dec 06, 2007
  24. Dec 02, 2007
  25. Nov 23, 2007
  26. Apr 27, 2008
  27. Dec 09, 2007
  28. Dec 15, 2007
  29. Dec 12, 2007
  30. Nov 29, 2007
  31. Nov 09, 2007
  32. Nov 23, 2007
  33. Nov 26, 2007
Loading