Commits on May 29, 2008
  1. Bump version number to

    And update the changelog.
    There should be no incompatible API changes or incompatible
    behaviour changes. There are a number of compatible API extensions
    and behaviour fixes. In particular this gives us a limited amount of
    forward compatabilty with Cabal-1.4, ie there are things that work
    in 1.4 that would break with but should work with
    dcoutts committed May 29, 2008
  2. Fix backport of 'Find original sources for main-is when creating sdist'

    Required an extra util function.
    dcoutts committed May 29, 2008
Commits on Apr 27, 2008
  1. MERGED: fix 'clean' bug on windows caused by leaked Handle.

    Andrea Vezzosi <>**20080318161237
     Using readFile to read dist/setup-config keeps the Handle open when we try to delete the file, causing an error. 
      So we instead read the file strictly and close the Handle early.
    igfoo committed Apr 27, 2008
Commits on Apr 23, 2008
  1. When multiple specifying list fields in the same section combine them

    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.
    dcoutts committed Apr 23, 2008
Commits on Mar 27, 2008
  1. We do not show the field value on a parse error so don't pretend we do.

    Drop the trailing ": " on the error message. We could provide the field
    value but they're often multi-line and we cannot pin-point where the
    error is exactly.
    dcoutts committed Mar 27, 2008
Commits on Mar 8, 2008
  1. Fix rejection of non-ambigious options

    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") ""]
      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.
    dcoutts committed Mar 8, 2008
Commits on Mar 7, 2008
  1. When generating default Setup.hs use defaultMain

    not defaultMainWithHooks defaultUserHooks since the latter is deprecated
    dcoutts committed Mar 7, 2008
Commits on Mar 3, 2008
  1. Fix speling.

    nominolo committed Mar 3, 2008
Commits on Feb 25, 2008
Commits on Feb 23, 2008
Commits on Feb 22, 2008
  1. Remove the old attic file

    dcoutts committed Feb 22, 2008
Commits on Feb 11, 2008
Commits on Jan 31, 2008
  1. Find original sources for main-is when creating sdist

    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.
    dcoutts committed Jan 31, 2008
  2. Use Setup.hs like everyone else does

    and note the issue about custom vs simple build-type for Cabal itself.
    dcoutts committed Jan 31, 2008
Commits on Jan 26, 2008
  1. Remove the debian/ and debianTemplate/ files since they never get upd…

    so they are almost certainly useless to the debian folks anyway.
    dcoutts committed Jan 26, 2008
  2. Simplify default Setup.hs example

    make it a .hs like everyone else uses
    dcoutts committed Jan 26, 2008
Commits on Jan 25, 2008
  1. flush stdout before running subprograms

    This is needed to separate Cabal and subprogram output if stdout is
    buffered (e.g. a file), especially if stdout and stderr are the same.
    RossPaterson committed Jan 25, 2008
Commits on Jan 24, 2008
  1. Update user guide on reporting bugs and stability of cabal interfaces

    Fixes ticket #11. Though the section could do with a bit more detail.
    It corresponds to what's on the wiki:
    dcoutts committed Jan 24, 2008
Commits on Jan 16, 2008
  1. Comment out an unused binding

    igfoo committed Jan 16, 2008
Commits on Dec 31, 2007
Commits on Dec 28, 2007
  1. Use os(windows) not os(win32) in user guide configurations example

    Spotted by Spencer Janssen
    dcoutts committed Dec 28, 2007
  2. Use getTemporaryDirectory from Distribution.Compat.Direcotry

    for compatability with ghc-6.2.2
    dcoutts committed Dec 28, 2007
Commits on Dec 27, 2007
Commits on Dec 15, 2007
  1. TAG GHC 6.8.2 release

    igfoo committed Dec 15, 2007
Commits on Dec 12, 2007
  1. TAG

    dcoutts committed Dec 12, 2007
Commits on Dec 10, 2007
Commits on Dec 9, 2007
  1. Support --hyperlink-source for Haddock >= 2.0

    David Waern committed Dec 9, 2007
Commits on Dec 8, 2007
Commits on Dec 7, 2007
  1. Fix hscolour code so it only outputs the css once per-lib or exe

    Rather than for every module in the lib. Tidy the code up a little too.
    dcoutts committed Dec 7, 2007
Commits on Dec 6, 2007
  1. Use a default HsColour CSS if available

    Supported in HsColour 1.9 and later
    dcoutts committed Dec 6, 2007
Commits on Dec 2, 2007
  1. make rawSystemStdout put its temp files in the temp dir rather than cwd

    Should fixe reported wierdness with finding program version numbers
    dcoutts committed Dec 2, 2007
Commits on Nov 29, 2007
  1. Bump version to and update the changelog

    There was one minor api addition which requires the minor version bump
    dcoutts committed Nov 29, 2007
Commits on Nov 23, 2007
  1. Workaround import bug in nhc98

    Cabal can now build using itself and nhc98
    dcoutts committed Nov 23, 2007