patch applied (cabal): "Add --html for haddock command." and 6 others

Duncan Coutts duncan.coutts at
Sat Jan 29 22:00:25 CET 2011

Sat Aug 15 18:40:17 PDT 2009  Thomas Schilling <nominolo at>
  * Add --html for haddock command.
  This makes it easier to build both html documentation and a hoogle
    ./setup haddock [--html]   # build only HTML docs (default)
    ./setup haddock --hoogle   # build only Hoogle DB
    ./setup haddock --hoogle --html   # build both

    M ./Distribution/Simple/Haddock.hs -8 +17
    M ./Distribution/Simple/Setup.hs +9

View patch online:;a=darcs_commitdiff;h=20090816014017-7c5c6-a90a7c95d01f8a836ada6705212c997db3d16c61.gz

Sat Jan 29 10:26:23 PST 2011  Duncan Coutts <duncan at>
  * Relax QA check on test-suite sections to require only Cabal 1.8
  Only Cabal-1.10 and later can use test suites. Versions of Cabal prior
  to 1.8 actually barf on test-suite sections, while Cabal-1.8 will
  ignore these sections with a warning. Previously the QA check enforced
  that packages with test-suite section specify 'cabal-version: >= 1.10'
  but strictly speaking we only need to require 'cabal-version: >= 1.8'.
  This relaxation allows people to write packages using test suites such
  that people using Cabal-1.8 will be able to build and install the
  package, just not run the test suite. Clear as mud?

    M ./Distribution/PackageDescription/Check.hs -4 +6

View patch online:;a=darcs_commitdiff;h=20110129182623-5c91e-662bbcd4714462440ab060ee8035df9f32dd928a.gz

Mon Jan 10 09:42:27 PST 2011  Thomas Tuegel <ttuegel at>
  * Tracking enabled/disabled TestSuites in PackageDescription.
  This patch adds the 'testEnabled' field to TestSuite. It's 
  undesirable to track build status information in the static package 
  description, but there is no better solution at this time. This 
  patch has the side-effect of fixing several TODOs in 

    M ./Distribution/PackageDescription.hs -5 +17
    M ./Distribution/PackageDescription/Configuration.hs -5 +10
    M ./Distribution/PackageDescription/PrettyPrint.hs -2 +2
    M ./Distribution/Simple/Configure.hs -23 +8
    M ./Distribution/Simple/Test.hs -5 +19
    M ./tests/PackageTests/TestStanza/Check.hs -35 +13

View patch online:;a=darcs_commitdiff;h=20110110174227-30370-0eb82dccbf078846b805820ad82f077ee31c297a.gz

Mon Jan 10 23:30:13 PST 2011  Johan Tibell <johan.tibell at>
  * Allow name template in --test-option and --test-options
  Only $test-suite is supported for now.

    M ./Distribution/Simple/Setup.hs -5 +9
    M ./Distribution/Simple/Test.hs -1 +11

View patch online:;a=darcs_commitdiff;h=20110111073013-73595-36266ff542e0252d8f66ed0b2576c94ef27a3ffc.gz

Tue Jan 11 02:19:57 PST 2011  Johan Tibell <johan.tibell at>
  * Support more placeholders in --test-option[s] template
  Now supports $pkgid, $compiler, $os, $arch, and $test-suite.

    M ./Distribution/Simple/Setup.hs -2 +4
    M ./Distribution/Simple/Test.hs -7 +14

View patch online:;a=darcs_commitdiff;h=20110111101957-73595-71102d0b9d8e48826ca07114da1d9949bbf1ca8a.gz

Sat Jan 29 12:48:34 PST 2011  Duncan Coutts <duncan at>
  * Get the mapTreeData util from the right place
  Originally Thomas had moved them to Distribution.PackageDescription
  but I'm rather of the opinion that the functions (and the data
  structure) that they manipluate is ugly and I'd rather keep them
  hidden away in a less public module.

    M ./Distribution/Simple/Configure.hs -2 +2

View patch online:;a=darcs_commitdiff;h=20110129204834-5c91e-742bc3bd396c1409bf686056f5e6d78dd74e0494.gz

Sat Jan 29 12:51:03 PST 2011  Duncan Coutts <duncan at>
  * Export a bunch of utils for package configurations

    M ./Distribution/PackageDescription/Configuration.hs +4

View patch online:;a=darcs_commitdiff;h=20110129205103-5c91e-e27e3dceeb1639913003e47e90211940c2b4b8dc.gz

More information about the cabal-devel mailing list