Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: cabal-1.2
Commits on Jun 18, 2008
  1. @igfoo


    igfoo authored
Commits on May 29, 2008
  1. @dcoutts

    Bump version number to

    dcoutts authored
    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
  2. @dcoutts

    Fix backport of 'Find original sources for main-is when creating sdist'

    dcoutts authored
    Required an extra util function.
Commits on Apr 27, 2008
  1. @igfoo

    MERGED: fix 'clean' bug on windows caused by leaked Handle.

    igfoo authored
    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.
Commits on Apr 23, 2008
  1. @dcoutts

    When multiple specifying list fields in the same section combine them

    dcoutts 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.
Commits on Mar 27, 2008
  1. @dcoutts

    We do not show the field value on a parse error so don't pretend we do.

    dcoutts authored
    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.
Commits on Mar 8, 2008
  1. @dcoutts

    Fix rejection of non-ambigious options

    dcoutts 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") ""]
      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.
Commits on Mar 7, 2008
  1. @dcoutts

    When generating default Setup.hs use defaultMain

    dcoutts authored
    not defaultMainWithHooks defaultUserHooks since the latter is deprecated
Commits on Mar 3, 2008
  1. @nominolo

    Fix speling.

    nominolo authored
  2. @nominolo
Commits on Feb 25, 2008
  1. @dcoutts
Commits on Feb 23, 2008
  1. @dcoutts
Commits on Feb 22, 2008
  1. @dcoutts

    Remove the old attic file

    dcoutts authored
Commits on Feb 11, 2008
  1. @dcoutts
Commits on Jan 31, 2008
  1. @dcoutts

    Find original sources for main-is when creating sdist

    dcoutts 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.
  2. @dcoutts

    Use Setup.hs like everyone else does

    dcoutts authored
    and note the issue about custom vs simple build-type for Cabal itself.
Commits on Jan 26, 2008
  1. @dcoutts

    Remove the debian/ and debianTemplate/ files since they never get upd…

    dcoutts authored
    so they are almost certainly useless to the debian folks anyway.
  2. @dcoutts

    Simplify default Setup.hs example

    dcoutts authored
    make it a .hs like everyone else uses
  3. @dcoutts
Commits on Jan 25, 2008
  1. @RossPaterson

    flush stdout before running subprograms

    RossPaterson authored
    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.
Commits on Jan 24, 2008
  1. @dcoutts

    Update user guide on reporting bugs and stability of cabal interfaces

    dcoutts authored
    Fixes ticket #11. Though the section could do with a bit more detail.
    It corresponds to what's on the wiki:
Commits on Jan 16, 2008
  1. @igfoo

    Comment out an unused binding

    igfoo authored
Commits on Dec 31, 2007
  1. @agl
Commits on Dec 28, 2007
  1. @dcoutts

    Use os(windows) not os(win32) in user guide configurations example

    dcoutts authored
    Spotted by Spencer Janssen
  2. @dcoutts

    Use getTemporaryDirectory from Distribution.Compat.Direcotry

    dcoutts authored
    for compatability with ghc-6.2.2
Commits on Dec 27, 2007
  1. @clefru
Commits on Dec 15, 2007
  1. @igfoo

    TAG GHC 6.8.2 release

    igfoo authored
Commits on Dec 12, 2007
  1. @dcoutts


    dcoutts authored
Commits on Dec 10, 2007
  1. @judah
Commits on Dec 9, 2007
  1. Support --hyperlink-source for Haddock >= 2.0

    David Waern authored
Commits on Dec 8, 2007
  1. @dcoutts
Commits on Dec 7, 2007
  1. @dcoutts

    Fix hscolour code so it only outputs the css once per-lib or exe

    dcoutts authored
    Rather than for every module in the lib. Tidy the code up a little too.
Commits on Dec 6, 2007
  1. @dcoutts

    Use a default HsColour CSS if available

    dcoutts authored
    Supported in HsColour 1.9 and later
Commits on Dec 2, 2007
  1. @dcoutts

    make rawSystemStdout put its temp files in the temp dir rather than cwd

    dcoutts authored
    Should fixe reported wierdness with finding program version numbers
Commits on Nov 23, 2007
  1. @dcoutts

    Workaround import bug in nhc98

    dcoutts authored
    Cabal can now build using itself and nhc98
Something went wrong with that request. Please try again.