| 1 | 2 patches for repository /home/ttuegel/repos/cabal-head: |
|---|
| 2 | |
|---|
| 3 | Sat May 21 17:30:29 CDT 2011 Thomas Tuegel <ttuegel@gmail.com> |
|---|
| 4 | * Fix use of multiple test options. |
|---|
| 5 | |
|---|
| 6 | Sat May 21 18:20:47 CDT 2011 Thomas Tuegel <ttuegel@gmail.com> |
|---|
| 7 | * Stop cabal-install from duplicating test options. |
|---|
| 8 | |
|---|
| 9 | New patches: |
|---|
| 10 | |
|---|
| 11 | [Fix use of multiple test options. |
|---|
| 12 | Thomas Tuegel <ttuegel@gmail.com>**20110521223029 |
|---|
| 13 | Ignore-this: c694ad21faab23abb7157ccec700ccf2 |
|---|
| 14 | ] { |
|---|
| 15 | hunk ./Distribution/Simple/Setup.hs 1268 |
|---|
| 16 | --TODO: eliminate the test list and pass it directly as positional args to the testHook |
|---|
| 17 | testList :: Flag [String], |
|---|
| 18 | -- TODO: think about if/how options are passed to test exes |
|---|
| 19 | - testOptions :: Flag [PathTemplate] |
|---|
| 20 | + testOptions :: [PathTemplate] |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | defaultTestFlags :: TestFlags |
|---|
| 24 | hunk ./Distribution/Simple/Setup.hs 1280 |
|---|
| 25 | testShowDetails = toFlag Failures, |
|---|
| 26 | testKeepTix = toFlag False, |
|---|
| 27 | testList = Flag [], |
|---|
| 28 | - testOptions = Flag [] |
|---|
| 29 | + testOptions = [] |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | testCommand :: CommandUI TestFlags |
|---|
| 33 | hunk ./Distribution/Simple/Setup.hs 1328 |
|---|
| 34 | ++ "(name templates can use $pkgid, $compiler, " |
|---|
| 35 | ++ "$os, $arch, $test-suite)") |
|---|
| 36 | testOptions (\v flags -> flags { testOptions = v }) |
|---|
| 37 | - (reqArg' "TEMPLATES" (toFlag . map toPathTemplate . splitArgs) |
|---|
| 38 | - (map fromPathTemplate . fromFlagOrDefault [])) |
|---|
| 39 | + (reqArg' "TEMPLATES" (map toPathTemplate . splitArgs) |
|---|
| 40 | + (map fromPathTemplate)) |
|---|
| 41 | , option [] ["test-option"] |
|---|
| 42 | ("give extra option to test executables " |
|---|
| 43 | ++ "(no need to quote options containing spaces, " |
|---|
| 44 | hunk ./Distribution/Simple/Setup.hs 1336 |
|---|
| 45 | ++ "name template can use $pkgid, $compiler, " |
|---|
| 46 | ++ "$os, $arch, $test-suite)") |
|---|
| 47 | testOptions (\v flags -> flags { testOptions = v }) |
|---|
| 48 | - (reqArg' "TEMPLATE" (\x -> toFlag [toPathTemplate x]) |
|---|
| 49 | - (map fromPathTemplate . fromFlagOrDefault [])) |
|---|
| 50 | + (reqArg' "TEMPLATE" (\x -> [toPathTemplate x]) |
|---|
| 51 | + (map fromPathTemplate)) |
|---|
| 52 | ] |
|---|
| 53 | |
|---|
| 54 | emptyTestFlags :: TestFlags |
|---|
| 55 | hunk ./Distribution/Simple/Test.hs 171 |
|---|
| 56 | let distPref = fromFlag $ testDistPref flags |
|---|
| 57 | verbosity = fromFlag $ testVerbosity flags |
|---|
| 58 | testLogDir = distPref </> "test" |
|---|
| 59 | - optionTemplates = fromFlag $ testOptions flags |
|---|
| 60 | - options = map (testOption pkg_descr lbi suite) optionTemplates |
|---|
| 61 | + options = map (testOption pkg_descr lbi suite) $ testOptions flags |
|---|
| 62 | |
|---|
| 63 | pwd <- getCurrentDirectory |
|---|
| 64 | existingEnv <- getEnvironment |
|---|
| 65 | } |
|---|
| 66 | [Stop cabal-install from duplicating test options. |
|---|
| 67 | Thomas Tuegel <ttuegel@gmail.com>**20110521232047 |
|---|
| 68 | Ignore-this: 55b98ab47306178e355cacedc7a5a6d2 |
|---|
| 69 | ] hunk ./Distribution/Simple/Setup.hs 1329 |
|---|
| 70 | ++ "$os, $arch, $test-suite)") |
|---|
| 71 | testOptions (\v flags -> flags { testOptions = v }) |
|---|
| 72 | (reqArg' "TEMPLATES" (map toPathTemplate . splitArgs) |
|---|
| 73 | - (map fromPathTemplate)) |
|---|
| 74 | + (const [])) |
|---|
| 75 | , option [] ["test-option"] |
|---|
| 76 | ("give extra option to test executables " |
|---|
| 77 | ++ "(no need to quote options containing spaces, " |
|---|
| 78 | |
|---|
| 79 | Context: |
|---|
| 80 | |
|---|
| 81 | [Filter out unbuildable test-suites |
|---|
| 82 | Duncan Coutts <duncan@community.haskell.org>**20110516153801 |
|---|
| 83 | Ignore-this: 44b647440f1d175569f24fb39141f3a5 |
|---|
| 84 | ] |
|---|
| 85 | [Reimplement createDirectoryIfMissingVerbose to use sensible file permissions |
|---|
| 86 | Duncan Coutts <duncan@community.haskell.org>**20110517112344 |
|---|
| 87 | Ignore-this: c7262f6697bd31c92d2172372c2ea979 |
|---|
| 88 | Hopefully should fix ghc ticket #4982. |
|---|
| 89 | The problem was permissions on directories: previously we used ordinary |
|---|
| 90 | createDirectory and on unix this creates dirs using the current user's |
|---|
| 91 | umask. If the root user has a silly umask then someone doing sudo |
|---|
| 92 | install will end up with dirs that are not readable by non-root users. |
|---|
| 93 | |
|---|
| 94 | So the solution is to do the same as we do with files: override the |
|---|
| 95 | umask and explicitly set the file permissions based on the kind of |
|---|
| 96 | file: ordinary file, executable file and now also directory. |
|---|
| 97 | |
|---|
| 98 | Sadly we also had to re-implement createDirectoryIfMissing to use our |
|---|
| 99 | new createDirectory wrapper function. |
|---|
| 100 | ] |
|---|
| 101 | [Do not include disabled tests into the component build graph |
|---|
| 102 | Duncan Coutts <duncan@community.haskell.org>**20110508190944 |
|---|
| 103 | Ignore-this: 62e75ea8babed6a70aca5c4e35ac53c4 |
|---|
| 104 | ] |
|---|
| 105 | [intrapackage-deps-and-per-component-preprocessing |
|---|
| 106 | intractable@gmail.com**20110505014144 |
|---|
| 107 | Ignore-this: 5edd88b6d7abd19029186b8e006519ba |
|---|
| 108 | This patch adds intrapackage dependency resolution so that components |
|---|
| 109 | (libraries, exes, test suites) are build in the correct order. This mean it's |
|---|
| 110 | now possible to have, e.g., executables that depend on other executables defined |
|---|
| 111 | in the same package description: the build-tools namespace has been extended |
|---|
| 112 | accordingly. |
|---|
| 113 | |
|---|
| 114 | Related to this change is the refactoring of the do-it-all preprocessSources |
|---|
| 115 | function, formerly invoked by initialBuildSteps, into a a function |
|---|
| 116 | preprocessComponent that is invoked when a component is being built. This lets |
|---|
| 117 | us use executables defined in a package to be used as a custom preprocessor when |
|---|
| 118 | building other components. |
|---|
| 119 | |
|---|
| 120 | Finally, a number of functions now operate on values of the sum type |
|---|
| 121 | PackageDescription.Component rather than specifically operating on Library or |
|---|
| 122 | Executable and so forth. |
|---|
| 123 | ] |
|---|
| 124 | [build-tools-extend-namespace |
|---|
| 125 | intractable@gmail.com**20091006055831 |
|---|
| 126 | Ignore-this: 22d38652ae859d4273475bc9c94ca79f |
|---|
| 127 | ] |
|---|
| 128 | [Implement Setup sdist --output-directory=dir |
|---|
| 129 | Duncan Coutts <duncan@community.haskell.org>**20110415040414 |
|---|
| 130 | Ignore-this: 6a5737b96341ed99384898b853f00525 |
|---|
| 131 | That is, allow generating a dir tree rather than a tarball. |
|---|
| 132 | Apart from being useful directly, this is the right approach for |
|---|
| 133 | tools like cabal-install. cabal-install does the tar step itself |
|---|
| 134 | and might like to do other things like zip format. |
|---|
| 135 | Also cleaned up the sdist code a little. |
|---|
| 136 | ] |
|---|
| 137 | [Add a type signature for getPrefixDirRel on Windows |
|---|
| 138 | Ian Lynagh <igloo@earth.li>**20110427145835 |
|---|
| 139 | Ignore-this: dbbc9f9cca1d28a657afff0f22b73cba |
|---|
| 140 | ] |
|---|
| 141 | [Fix the GHC HEAD build: Don't use deprecated catch function |
|---|
| 142 | Ian Lynagh <igloo@earth.li>**20110426232015 |
|---|
| 143 | Ignore-this: 798c9bbd4f4f458a7472b356782f3de8 |
|---|
| 144 | We could make this conditional, to support old GHC versions, but I |
|---|
| 145 | don't think it is worth the cost to support 6.8. By the time this Cabal |
|---|
| 146 | is released, you will need at least 6.12 (if not higher) to build the |
|---|
| 147 | GHC it comes with. |
|---|
| 148 | ] |
|---|
| 149 | [Tell hsc2hs where to find cabal_macros.h |
|---|
| 150 | Ian Lynagh <igloo@earth.li>**20110426210549 |
|---|
| 151 | Ignore-this: 7010d47a062de9400518dc2c29f1b635 |
|---|
| 152 | ] |
|---|
| 153 | [Added documentation about the auto generated version constant |
|---|
| 154 | Bas van Dijk <v.dijk.bas@gmail.com>**20110328223503 |
|---|
| 155 | Ignore-this: 2008273ee7814cd42956608fd3c3b655 |
|---|
| 156 | ] |
|---|
| 157 | [Use catch from the Prelude in the auto generated Paths_pkgname module |
|---|
| 158 | Bas van Dijk <v.dijk.bas@gmail.com>**20110330134005 |
|---|
| 159 | Ignore-this: 1135678a83cee52ad85edba161da14cb |
|---|
| 160 | This enables it to be build with GHC-6.8 |
|---|
| 161 | ] |
|---|
| 162 | [Allow Cabal to be build on ghc-6.8 |
|---|
| 163 | Bas van Dijk <v.dijk.bas@gmail.com>**20110330102036 |
|---|
| 164 | Ignore-this: 78657bda84019176c8c0425b2d854624 |
|---|
| 165 | ] |
|---|
| 166 | [Unicode: use wide APIs on Windows and withFilePath on GHC |
|---|
| 167 | Max Bolingbroke <batterseapower@hotmail.com>**20110411210758 |
|---|
| 168 | Ignore-this: f62d2a95c018f7288374db627d5bf5fd |
|---|
| 169 | ] |
|---|
| 170 | [Fix for test suite stanzas with conditionals. |
|---|
| 171 | Thomas Tuegel <ttuegel@gmail.com>**20110401192113 |
|---|
| 172 | Ignore-this: d1160b98be4aedc3c084d37a25a729da |
|---|
| 173 | Ticket #811. This fixes a problem where Cabal would fail to detect the "type" |
|---|
| 174 | field of a test suite when the test suite contained a conditional. Conditionals |
|---|
| 175 | can now be used, with the restriction that the "type" field and the appropriate |
|---|
| 176 | "main-is" or "test-module" field must be specified together in any conditional |
|---|
| 177 | branch where they occur. |
|---|
| 178 | ] |
|---|
| 179 | [Remove log files before running tests by default. |
|---|
| 180 | Thomas Tuegel <ttuegel@gmail.com>**20110303041840 |
|---|
| 181 | Ignore-this: 9007c1adc908897843ea29591decea3c |
|---|
| 182 | ] |
|---|
| 183 | [Including test suites in product of 'setup sdist'. |
|---|
| 184 | Thomas Tuegel <ttuegel@gmail.com>**20110119153404 |
|---|
| 185 | Ignore-this: a7fcc71333e13c763547561aced2375c |
|---|
| 186 | See ticket #792. |
|---|
| 187 | ] |
|---|
| 188 | [Refactor to avoid problems when $HOME is not set |
|---|
| 189 | Ian Lynagh <igloo@earth.li>**20110417154135 |
|---|
| 190 | Ignore-this: 75c06dea58512d01c9d28e7de4881222 |
|---|
| 191 | We now avoid calling getWindowsProgramFilesDir and |
|---|
| 192 | getAppUserDataDirectory when we don't need to know their results. |
|---|
| 193 | This means that a GHC build goes through when $HOME is unset |
|---|
| 194 | (GHC trac #5047). |
|---|
| 195 | ] |
|---|
| 196 | [Update release script for recent haskell.org server changes |
|---|
| 197 | Duncan Coutts <duncan@community.haskell.org>**20110227171445 |
|---|
| 198 | Ignore-this: 3243990fca0f6e619dbaca47615bd009 |
|---|
| 199 | ] |
|---|
| 200 | [Fix release date in changelog |
|---|
| 201 | Duncan Coutts <duncan@community.haskell.org>**20110227150619 |
|---|
| 202 | Ignore-this: 2cc2858ea00e5005364f369178a944e3 |
|---|
| 203 | ] |
|---|
| 204 | [Always use verbosity slient when calling hc-pkg dump |
|---|
| 205 | Duncan Coutts <duncan@community.haskell.org>**20110210200603 |
|---|
| 206 | Ignore-this: d2c50f0bde7987559d859579f6ff1fcf |
|---|
| 207 | We don't want to contaminate the hc-pkg output with info/debug messages. |
|---|
| 208 | Coincidentally the messages that current ghc-pkg versions produce at |
|---|
| 209 | -v2 verbosity level do not cause a problem. There's no reason to expect |
|---|
| 210 | future versions to work that way however. |
|---|
| 211 | ] |
|---|
| 212 | [Fix HcPkg.dump for the case of an empty database |
|---|
| 213 | Duncan Coutts <duncan@community.haskell.org>**20110210200111 |
|---|
| 214 | Ignore-this: bb604d49d2d6be488ffba50378fed858 |
|---|
| 215 | Previously it returned the value [emptyInstalledPackageInfo] |
|---|
| 216 | ] |
|---|
| 217 | [add --enable-executable-dynamic option for dynamic linking of executables |
|---|
| 218 | Jens Petersen <juhp@community.haskell.org>**20110130110206 |
|---|
| 219 | Ignore-this: f336897c2ad0ea6560247576d358231f |
|---|
| 220 | ] |
|---|
| 221 | [Update copyright year |
|---|
| 222 | Duncan Coutts <duncan@community.haskell.org>**20110131145403 |
|---|
| 223 | Ignore-this: 367addece3538851282fa35dc59a772f |
|---|
| 224 | ] |
|---|
| 225 | [Add changelog entry for version 1.10.1.0 |
|---|
| 226 | Duncan Coutts <duncan@community.haskell.org>**20110131145428 |
|---|
| 227 | Ignore-this: 7dd98797de68db6c8d1ffc2dc2b5b78b |
|---|
| 228 | ] |
|---|
| 229 | [Add synopsis field to the installed package info |
|---|
| 230 | Duncan Coutts <duncan@community.haskell.org>**20110131003635 |
|---|
| 231 | Ignore-this: b94db22dcd5a7753056da9a44fe8c23e |
|---|
| 232 | The description is already included. The one-line synopsis should be |
|---|
| 233 | there too. Note that this is an API change that will affect compilers. |
|---|
| 234 | ] |
|---|
| 235 | [Rewrite intro to user guide and split into multiple files |
|---|
| 236 | Duncan Coutts <duncan@community.haskell.org>**20110130220047 |
|---|
| 237 | Ignore-this: f353d514c4c46f241471e6aad485bce9 |
|---|
| 238 | The chapter on installing packages still needs to be rewritten |
|---|
| 239 | to describe the cabal tool, rather than runhaskell Setup.hs |
|---|
| 240 | ] |
|---|
| 241 | [Added unit test for exitcode-stdio-1.0 test suite with and without HPC. |
|---|
| 242 | Thomas Tuegel <ttuegel@gmail.com>**20110114165132 |
|---|
| 243 | Ignore-this: e69128c5cf06923d4b961753ffaa2ff4 |
|---|
| 244 | ] |
|---|
| 245 | [Fixes for running test suite with HPC. |
|---|
| 246 | Thomas Tuegel <ttuegel@gmail.com>**20110113114354 |
|---|
| 247 | Ignore-this: 84bf3cb6a47188db0b6fcde5ce1d4eda |
|---|
| 248 | ] |
|---|
| 249 | [Add a couple TODOs relating to the hpc feature |
|---|
| 250 | Duncan Coutts <duncan@haskell.org>**20110131001517 |
|---|
| 251 | Ignore-this: c78bbf1d75948431d9740648089eabb6 |
|---|
| 252 | ] |
|---|
| 253 | [Support building libraries and test suites with HPC; automatic report generation. |
|---|
| 254 | Thomas Tuegel <ttuegel@gmail.com>**20110130173451 |
|---|
| 255 | Ignore-this: cbffdc7d0fb03bd7d6745aa64625cc3c |
|---|
| 256 | ] |
|---|
| 257 | [Export a bunch of utils for package configurations |
|---|
| 258 | Duncan Coutts <duncan@community.haskell.org>**20110129205103 |
|---|
| 259 | Ignore-this: b0654528a073185e0c9e9e84330da517 |
|---|
| 260 | ] |
|---|
| 261 | [Get the mapTreeData util from the right place |
|---|
| 262 | Duncan Coutts <duncan@community.haskell.org>**20110129204834 |
|---|
| 263 | Ignore-this: 9cc5712b72583e94c43a7bab448942e7 |
|---|
| 264 | Originally Thomas had moved them to Distribution.PackageDescription |
|---|
| 265 | but I'm rather of the opinion that the functions (and the data |
|---|
| 266 | structure) that they manipluate is ugly and I'd rather keep them |
|---|
| 267 | hidden away in a less public module. |
|---|
| 268 | ] |
|---|
| 269 | [Support more placeholders in --test-option[s] template |
|---|
| 270 | Johan Tibell <johan.tibell@gmail.com>**20110111101957 |
|---|
| 271 | Ignore-this: 4a58dba3d8fc411aca1fa7c6c0062398 |
|---|
| 272 | |
|---|
| 273 | Now supports $pkgid, $compiler, $os, $arch, and $test-suite. |
|---|
| 274 | ] |
|---|
| 275 | [Allow name template in --test-option and --test-options |
|---|
| 276 | Johan Tibell <johan.tibell@gmail.com>**20110111073013 |
|---|
| 277 | Ignore-this: 82ec6b757182c0b3372b50dd1dd9367b |
|---|
| 278 | |
|---|
| 279 | Only $test-suite is supported for now. |
|---|
| 280 | ] |
|---|
| 281 | [Tracking enabled/disabled TestSuites in PackageDescription. |
|---|
| 282 | Thomas Tuegel <ttuegel@gmail.com>**20110110174227 |
|---|
| 283 | Ignore-this: 412a5fdbef2dc7fbc7dc698c86917e5e |
|---|
| 284 | This patch adds the 'testEnabled' field to TestSuite. It's |
|---|
| 285 | undesirable to track build status information in the static package |
|---|
| 286 | description, but there is no better solution at this time. This |
|---|
| 287 | patch has the side-effect of fixing several TODOs in |
|---|
| 288 | Distribution.Simple.Configure. |
|---|
| 289 | ] |
|---|
| 290 | [Relax QA check on test-suite sections to require only Cabal 1.8 |
|---|
| 291 | Duncan Coutts <duncan@community.haskell.org>**20110129182623 |
|---|
| 292 | Ignore-this: 8d960e7720c5b9c0a23879980a8b3f53 |
|---|
| 293 | Only Cabal-1.10 and later can use test suites. Versions of Cabal prior |
|---|
| 294 | to 1.8 actually barf on test-suite sections, while Cabal-1.8 will |
|---|
| 295 | ignore these sections with a warning. Previously the QA check enforced |
|---|
| 296 | that packages with test-suite section specify 'cabal-version: >= 1.10' |
|---|
| 297 | but strictly speaking we only need to require 'cabal-version: >= 1.8'. |
|---|
| 298 | This relaxation allows people to write packages using test suites such |
|---|
| 299 | that people using Cabal-1.8 will be able to build and install the |
|---|
| 300 | package, just not run the test suite. Clear as mud? |
|---|
| 301 | ] |
|---|
| 302 | [Add --html for haddock command. |
|---|
| 303 | Thomas Schilling <nominolo@googlemail.com>**20090816014017 |
|---|
| 304 | |
|---|
| 305 | This makes it easier to build both html documentation and a hoogle |
|---|
| 306 | database: |
|---|
| 307 | |
|---|
| 308 | ./setup haddock [--html] # build only HTML docs (default) |
|---|
| 309 | ./setup haddock --hoogle # build only Hoogle DB |
|---|
| 310 | ./setup haddock --hoogle --html # build both |
|---|
| 311 | ] |
|---|
| 312 | [Look for hsc2hs in the same place as ghc |
|---|
| 313 | Ian Lynagh <igloo@earth.li>**20110125200353 |
|---|
| 314 | This is particularly important on OS X, where there may be both 32 |
|---|
| 315 | and 64bit versions around. |
|---|
| 316 | ] |
|---|
| 317 | [Follow changes in GHC's linker flag handling |
|---|
| 318 | Ian Lynagh <igloo@earth.li>**20110124231819] |
|---|
| 319 | [Add NondecreasingIndentation support for old GHCs |
|---|
| 320 | Ian Lynagh <igloo@earth.li>**20110121233655 |
|---|
| 321 | Ignore-this: 18b866cd7806e90c13c70e5c9065ea14 |
|---|
| 322 | ] |
|---|
| 323 | [reexport setFileOrdinary/Executable functions from Utils module |
|---|
| 324 | Duncan Coutts <duncan@community.haskell.org>**20110117150104 |
|---|
| 325 | Ignore-this: 5edb64c3c69ae247ce25ff72dc655baf |
|---|
| 326 | ] |
|---|
| 327 | [Preserve executable bit during in sdist for extra-source-files |
|---|
| 328 | Duncan Coutts <duncan@community.haskell.org>**20110117144243 |
|---|
| 329 | Ignore-this: d419dc5d8050d3236a4c78fcad5f7d6b |
|---|
| 330 | ] |
|---|
| 331 | [Fix a documentation reference to ghc 6.14 |
|---|
| 332 | Duncan Coutts <duncan@haskell.org>**20101027134319 |
|---|
| 333 | Ignore-this: cc05b5066884008491a9c60d6c64782d |
|---|
| 334 | ] |
|---|
| 335 | [Fix import warnings |
|---|
| 336 | Ian Lynagh <igloo@earth.li>**20110115005030 |
|---|
| 337 | Ignore-this: 4bc4d971238ed7ef331690bb9b1cbfa3 |
|---|
| 338 | ] |
|---|
| 339 | [Pass gcc/ld locations and flags to configure scripts |
|---|
| 340 | Ian Lynagh <igloo@earth.li>**20110115004346 |
|---|
| 341 | Flags are passed through the CFLAGS and LDFLAGS variables |
|---|
| 342 | ] |
|---|
| 343 | [Get extra gcc and ld flags from GHC |
|---|
| 344 | Ian Lynagh <igloo@earth.li>**20101220173544] |
|---|
| 345 | [Change my email address |
|---|
| 346 | Duncan Coutts <duncan@community.haskell.org>**20110114173347 |
|---|
| 347 | Ignore-this: 5ce93c85c0d8e3100c669d363447648a |
|---|
| 348 | ] |
|---|
| 349 | [Use the standard names for file copy functions rather than a local rename |
|---|
| 350 | Duncan Coutts <duncan@haskell.org>**20110114173219 |
|---|
| 351 | Ignore-this: 140a927eae404fa4fa96ec86d6fb5682 |
|---|
| 352 | ] |
|---|
| 353 | [sdist perms fix |
|---|
| 354 | ramsdell@mitre.org**20101220181308 |
|---|
| 355 | Ignore-this: ca0ff71dc7318d12c4f64134c636a08e |
|---|
| 356 | ] |
|---|
| 357 | [Clarify docs about LocalBuildInfo installedPkgs field |
|---|
| 358 | Duncan Coutts <duncan@haskell.org>**20110111005941 |
|---|
| 359 | Ignore-this: 73c6ac8cb2b5e0fbd912dfad6a6f9d5f |
|---|
| 360 | Only deps of current package, not all installed packages. |
|---|
| 361 | Confusion reported by quuuux on #haskell. |
|---|
| 362 | ] |
|---|
| 363 | [Removed documentation for obsolete options to 'setup test' from the User Guide. |
|---|
| 364 | Thomas Tuegel <ttuegel@gmail.com>**20110109180811 |
|---|
| 365 | Ignore-this: ce7298400abd573023e5c3c1abbef10 |
|---|
| 366 | ] |
|---|
| 367 | [Document the '--{en,dis}able-tests' options in the User Guide |
|---|
| 368 | Thomas Tuegel <ttuegel@gmail.com>**20101204164404 |
|---|
| 369 | Ignore-this: 28972ba6e70a3e91754dd42bfe9c2a5e |
|---|
| 370 | ] |
|---|
| 371 | [Update the changelog for 1.8.0.4, 1.8.0.6 and 1.10.0.0 |
|---|
| 372 | Duncan Coutts <duncan@haskell.org>**20101118203701 |
|---|
| 373 | Ignore-this: 2b1693427bd29b84432b1b35a2f627c6 |
|---|
| 374 | ] |
|---|
| 375 | [Replace uses of the old try function with the new one |
|---|
| 376 | Ian Lynagh <igloo@earth.li>**20101218230920 |
|---|
| 377 | Ignore-this: e0a9db2f97bc3f90ceb5772944f4e25b |
|---|
| 378 | ] |
|---|
| 379 | [Replace uses of the old catch function with the new one |
|---|
| 380 | Ian Lynagh <igloo@earth.li>**20101218213608] |
|---|
| 381 | [Add GADTSyntax to extension list |
|---|
| 382 | Ian Lynagh <igloo@earth.li>**20101218150259] |
|---|
| 383 | [Allow CABAL_VERSION to be defined when bootstrapping |
|---|
| 384 | Ian Lynagh <igloo@earth.li>**20101212213359 |
|---|
| 385 | Needed for the GHC build system |
|---|
| 386 | ] |
|---|
| 387 | [Add NondecreasingIndentation to Language.Haskell.Extension |
|---|
| 388 | Ian Lynagh <igloo@earth.li>**20101124223953 |
|---|
| 389 | Ignore-this: 2d072a45d76770cf97553b0e5df9e998 |
|---|
| 390 | ] |
|---|
| 391 | [Export commandParseArgs |
|---|
| 392 | Duncan Coutts <duncan@haskell.org>**20101105140655 |
|---|
| 393 | Ignore-this: f452f13b130e886ecd8262c6f24a0c52 |
|---|
| 394 | ] |
|---|
| 395 | [Add some more extensions that GHC knows about |
|---|
| 396 | Ian Lynagh <igloo@earth.li>**20101026220409 |
|---|
| 397 | Ignore-this: 92bbbb269985fe576798cd2cdba4ceca |
|---|
| 398 | ] |
|---|
| 399 | [Whitespace only |
|---|
| 400 | Ian Lynagh <igloo@earth.li>**20101026220403 |
|---|
| 401 | Ignore-this: 8746b070884de3ed45db486a0a49db3e |
|---|
| 402 | ] |
|---|
| 403 | [Fix parsing of empty default-language fields |
|---|
| 404 | Ian Lynagh <igloo@earth.li>**20101026220312 |
|---|
| 405 | Ignore-this: 99011d6c9af431e7c8d90c3cee364606 |
|---|
| 406 | ] |
|---|
| 407 | [Add support for general extension en/disabling |
|---|
| 408 | Ian Lynagh <igloo@earth.li>**20101026145503] |
|---|
| 409 | [Tweak a couple of types |
|---|
| 410 | Ian Lynagh <igloo@earth.li>**20101026131250] |
|---|
| 411 | [Generalise deprecatedExtensions |
|---|
| 412 | Ian Lynagh <igloo@earth.li>**20101026131121 |
|---|
| 413 | It now works with Extensions rather than KnownExtensions |
|---|
| 414 | ] |
|---|
| 415 | [Split known-extensions off into their own type, and remove knownExtensions |
|---|
| 416 | Ian Lynagh <igloo@earth.li>**20101025232624 |
|---|
| 417 | The knownExtensions list had already got out of sync with the datatype. |
|---|
| 418 | Now we use an Enum instance to get the list of constructors. |
|---|
| 419 | Also, having the actual extensions in a separate type than UnknownExtension |
|---|
| 420 | and EnableExtension makes it easier to add extension disabling support |
|---|
| 421 | later. |
|---|
| 422 | ] |
|---|
| 423 | [Add a test program to look for ghc extensions that are not registered |
|---|
| 424 | Duncan Coutts <duncan@haskell.org>**20101025163536 |
|---|
| 425 | Ignore-this: cf38e2434eba386b83b818a29fd5ac14 |
|---|
| 426 | Should live in the ghc testsuite but no harm having it here too. |
|---|
| 427 | ] |
|---|
| 428 | [Make the .cabal file fully 1.10-compliant |
|---|
| 429 | Ian Lynagh <igloo@earth.li>**20101020133037 |
|---|
| 430 | Ignore-this: 66409062c8d4b698f69aa58a83b85ef1 |
|---|
| 431 | Add Default-Language field, and change Extensions to Default-Extensions. |
|---|
| 432 | ] |
|---|
| 433 | [Require "cabal-version: >= 1.10" as we use the new testsuite syntax |
|---|
| 434 | Ian Lynagh <igloo@earth.li>**20101020131829 |
|---|
| 435 | Ignore-this: 6aecdd77f78234f0359af0509f1ba636 |
|---|
| 436 | ] |
|---|
| 437 | [Fix warnings: Remove duplicate imports |
|---|
| 438 | Ian Lynagh <igloo@earth.li>**20101020125710 |
|---|
| 439 | Ignore-this: dea9d889078c729459e1ab92a8e54c08 |
|---|
| 440 | ] |
|---|
| 441 | [Merge conflicts |
|---|
| 442 | Ian Lynagh <igloo@earth.li>**20101020112200 |
|---|
| 443 | Ignore-this: d96cab403511f914d9d8df1a29ca58ee |
|---|
| 444 | ] |
|---|
| 445 | [Add final newline |
|---|
| 446 | Simon Marlow <marlowsd@gmail.com>**20101013125337 |
|---|
| 447 | Ignore-this: 99e055c7186219369902a63c63c3fd76 |
|---|
| 448 | Something in the Windows build was complaining about the lack of a |
|---|
| 449 | final newline. |
|---|
| 450 | ] |
|---|
| 451 | [Update the pretty printer to the current testsuite interface |
|---|
| 452 | Duncan Coutts <duncan@haskell.org>**20101020120506 |
|---|
| 453 | Ignore-this: 480a349e93be8228f81f93632cabe2c7 |
|---|
| 454 | ] |
|---|
| 455 | [Improve error messages about programs not being found |
|---|
| 456 | Duncan Coutts <duncan@haskell.org>**20101019074436 |
|---|
| 457 | Ignore-this: 9b4daf9a09179482049146669af59f76 |
|---|
| 458 | Make it clear it is a program we are talking about, not a library. |
|---|
| 459 | ] |
|---|
| 460 | [Add a note about the remaining issue with runhugs scripts |
|---|
| 461 | Duncan Coutts <duncan@haskell.org>**20101018232248 |
|---|
| 462 | Ignore-this: 3e83a3238d08cdb3ad9e353d43fbf7fa |
|---|
| 463 | ] |
|---|
| 464 | [Add package QA checks for the new language and extensions fields |
|---|
| 465 | Duncan Coutts <duncan@haskell.org>**20101018180343 |
|---|
| 466 | Ignore-this: a063fd21e86e4e19b8152258c5a0711f |
|---|
| 467 | ] |
|---|
| 468 | [Check at configure time that languages are supported by the compiler |
|---|
| 469 | Duncan Coutts <duncan@haskell.org>**20101018180300 |
|---|
| 470 | Ignore-this: e3988c2eff46129b1f2732cd9647c935 |
|---|
| 471 | ] |
|---|
| 472 | [Add compiler support for using the new languages and extensions fields |
|---|
| 473 | Duncan Coutts <duncan@haskell.org>**20101018180151 |
|---|
| 474 | Ignore-this: ec1b61767d492dcd2dfa6a07ace3b982 |
|---|
| 475 | ] |
|---|
| 476 | [Add hugs support for the languages and extensions fields |
|---|
| 477 | Duncan Coutts <duncan@haskell.org>**20101018175647 |
|---|
| 478 | Ignore-this: 9b39c392119aebbbad22a64dcf992f88 |
|---|
| 479 | Incidentally, should fixe ticket #43. |
|---|
| 480 | ] |
|---|
| 481 | [Add parsing for the new language and extensions fields |
|---|
| 482 | Duncan Coutts <duncan@haskell.org>**20101018091918 |
|---|
| 483 | Ignore-this: c59c8ef96c83f35e293c8f495b89fda6 |
|---|
| 484 | ] |
|---|
| 485 | [Add new language and extensions fields (internal data structures) |
|---|
| 486 | Duncan Coutts <duncan@haskell.org>**20101018090620 |
|---|
| 487 | Ignore-this: f49dd9278b0053bc441a37beeb2f6145 |
|---|
| 488 | New fields default-language and other-languages for specifying the |
|---|
| 489 | base languages for the package, e.g. Haskell98, Haskell2010 |
|---|
| 490 | New fields default-extensions and other-extensions for the language |
|---|
| 491 | extensions. Separate from the old extensions field. |
|---|
| 492 | The separation lets us express the difference between declaring to |
|---|
| 493 | the outside world that a package uses certain languages or extensions |
|---|
| 494 | and whether certain languages or extensions should be applied to |
|---|
| 495 | all modules in the package component. |
|---|
| 496 | ] |
|---|
| 497 | [Extend the Compiler interface to list the supported languages |
|---|
| 498 | Duncan Coutts <duncan@haskell.org>**20101018082608 |
|---|
| 499 | Ignore-this: 8b1ab7cc14f35dd6604c2a85173ad48 |
|---|
| 500 | ] |
|---|
| 501 | [Add a Language type, starting with Haskell98 and Haskell2010 |
|---|
| 502 | Duncan Coutts <duncan@haskell.org>**20101018082208 |
|---|
| 503 | Ignore-this: de80df5317b5d44900e30c947a86364b |
|---|
| 504 | ] |
|---|
| 505 | [Merge and tweaks following pretty printer changes |
|---|
| 506 | Duncan Coutts <duncan@haskell.org>**20101018195344 |
|---|
| 507 | Ignore-this: 513a2b0ce02fed98f5beba0dd893eb16 |
|---|
| 508 | ] |
|---|
| 509 | [pretty printer fixes (FreeText starting with ., version tags, version range parens, option order). |
|---|
| 510 | jnf@arcor.de**20101011094517 |
|---|
| 511 | Ignore-this: 400ac5be014f1529632bd16ffd878a92 |
|---|
| 512 | ] |
|---|
| 513 | [reentered accidentally lost exports |
|---|
| 514 | jnf@arcor.de**20100929105852 |
|---|
| 515 | Ignore-this: 2ad4ecfac6feba4c2a59a131c05c8a40 |
|---|
| 516 | ] |
|---|
| 517 | [new cabal pretty printer. |
|---|
| 518 | jnf@arcor.de**20100929103653 |
|---|
| 519 | Ignore-this: 43f954ec31373e327f2c29fcbf3f0865 |
|---|
| 520 | ] |
|---|
| 521 | [Fix old doc links |
|---|
| 522 | Duncan Coutts <duncan@haskell.org>**20100727012425 |
|---|
| 523 | Ignore-this: 9e9d0f2045adebe7bb38b5d1a7d2d71a |
|---|
| 524 | ] |
|---|
| 525 | [Add note about ticket #689 about deprecated extensions |
|---|
| 526 | Duncan Coutts <duncan@haskell.org>**20100622151328 |
|---|
| 527 | Ignore-this: 56cf0027a4c10f4c07045e2ccdbb819c |
|---|
| 528 | ] |
|---|
| 529 | [Head version needs cabal-version: >=1.8 due to test stanza |
|---|
| 530 | Duncan Coutts <duncan@haskell.org>**20101017155521 |
|---|
| 531 | Ignore-this: 6652a529071ccb2eb1cdeda3451aac30 |
|---|
| 532 | ] |
|---|
| 533 | [Remove unused cpp version definition |
|---|
| 534 | Duncan Coutts <duncan@haskell.org>**20101017155218 |
|---|
| 535 | Ignore-this: 8dc3425bd811d60d28c2eaf365ec1e66 |
|---|
| 536 | ] |
|---|
| 537 | [Change the way we handle the version number during bootstrapping |
|---|
| 538 | Duncan Coutts <duncan@haskell.org>**20101016191252 |
|---|
| 539 | Ignore-this: e21559acc28b7bd811dc4fe147e645b2 |
|---|
| 540 | Means we only need to have the version in one place now. Yay. |
|---|
| 541 | ] |
|---|
| 542 | [Restore compatability with ghc-6.8 and 6.6 but drop support for ghc-6.4 |
|---|
| 543 | Duncan Coutts <duncan@haskell.org>**20101016182714 |
|---|
| 544 | Ignore-this: 6aef933e4bfb4a9c47021d17370805ea |
|---|
| 545 | ] |
|---|
| 546 | [Add the Cabal unit tests as a test-suite stanza |
|---|
| 547 | Duncan Coutts <duncan@haskell.org>**20101016165656 |
|---|
| 548 | Ignore-this: b9abbfe867754b8bf5b02919c1f25509 |
|---|
| 549 | Still some other tests that need hooking up to this mechanism |
|---|
| 550 | ] |
|---|
| 551 | [Update the unit tests of the testsuite feature |
|---|
| 552 | Duncan Coutts <duncan@haskell.org>**20101016165615 |
|---|
| 553 | Ignore-this: bc08d2a8609943f40e901c42916072c2 |
|---|
| 554 | ] |
|---|
| 555 | [Rename test --human-log to just --log |
|---|
| 556 | Duncan Coutts <duncan@haskell.org>**20101016153441 |
|---|
| 557 | Ignore-this: a2ccb95759a67ae2888a2db2d2ba678d |
|---|
| 558 | Still have --machine-log as a separate flag |
|---|
| 559 | ] |
|---|
| 560 | [Remove the test --append-human-log and --replay features |
|---|
| 561 | Duncan Coutts <duncan@haskell.org>**20101016153235 |
|---|
| 562 | Ignore-this: 23d9c6431f929cd4078c54e03928cef2 |
|---|
| 563 | ] |
|---|
| 564 | [Add instance Text TestShowDetails parsing and use it for --show-details flag |
|---|
| 565 | Duncan Coutts <duncan@haskell.org>**20101016153015 |
|---|
| 566 | Ignore-this: 1018e874b8acbf51bd7081df1210285 |
|---|
| 567 | Rather than Read/Show |
|---|
| 568 | ] |
|---|
| 569 | [Fix a cabal-version check so it accepts the field missing entirely |
|---|
| 570 | Duncan Coutts <duncan@haskell.org>**20101016151929 |
|---|
| 571 | Ignore-this: e30f6fe6e7f54cc5c791a3b6761e93de |
|---|
| 572 | ] |
|---|
| 573 | [Add testsuites to the allBuildInfo function, used mainly in checks |
|---|
| 574 | Duncan Coutts <duncan@haskell.org>**20101013172229 |
|---|
| 575 | Ignore-this: be876b609bf1266f3928f25e94f87703 |
|---|
| 576 | ] |
|---|
| 577 | [Update the message for a package check |
|---|
| 578 | Duncan Coutts <duncan@haskell.org>**20101013172206 |
|---|
| 579 | Ignore-this: 875cc7c6a763321f2e3251195c9dfb1e |
|---|
| 580 | ] |
|---|
| 581 | [Add a few TODOs about package checks |
|---|
| 582 | Duncan Coutts <duncan@haskell.org>**20101013172128 |
|---|
| 583 | Ignore-this: 837bda043d740f0b92549f3379d43909 |
|---|
| 584 | ] |
|---|
| 585 | [Check test-suite sections even when they have been disabled at configure time |
|---|
| 586 | Duncan Coutts <duncan@haskell.org>**20101013171851 |
|---|
| 587 | Ignore-this: 938113ec297b2e5c511a72c5ac8a86d |
|---|
| 588 | ] |
|---|
| 589 | [Default to Haskell98 for GHC 7.x |
|---|
| 590 | Duncan Coutts <duncan@haskell.org>**20101013022258 |
|---|
| 591 | Ignore-this: c34b946f55e5ec054cc842914f58b5a5 |
|---|
| 592 | GHC 7 defaults to Haskell2010, we stick with 98 for the moment. |
|---|
| 593 | We will later introduce a new language field to control this. |
|---|
| 594 | ] |
|---|
| 595 | [Change the syntax and behaviour of the cabal-version field |
|---|
| 596 | Duncan Coutts <duncan@haskell.org>**20101013014933 |
|---|
| 597 | Ignore-this: c4cb33360d623ff312b5c3f2d78f730c |
|---|
| 598 | For historical reasons the cabal-version is specified with a version range, |
|---|
| 599 | to indicate the range of versions of tools that the package will work with. |
|---|
| 600 | We now think it makes more sense to specify the version of the Cabal spec |
|---|
| 601 | that the package follows. Old Cabal versions will not be able to parse simple |
|---|
| 602 | versions in this field. So we initially make the parser allow plain versions |
|---|
| 603 | but then we add a check to warn about using it prior to Cabal-1.12 at which |
|---|
| 604 | point it will be allowed. |
|---|
| 605 | Added a check about using version ranges that are not of the form '>= x.y'. |
|---|
| 606 | Also change behaviour to ignore upper bounds in the given version range. |
|---|
| 607 | ] |
|---|
| 608 | [Fix duplicate import warnings |
|---|
| 609 | Ian Lynagh <igloo@earth.li>**20101012131227 |
|---|
| 610 | Ignore-this: a9b51a864f95206f4d972f1e7506be55 |
|---|
| 611 | ] |
|---|
| 612 | [Remove the ghc Makefile stuff for the old docbook xml |
|---|
| 613 | Duncan Coutts <duncan@haskell.org>**20101010210026 |
|---|
| 614 | Ignore-this: 6c714ba98b60e15e44577b64d2de3e1c |
|---|
| 615 | Not woth keeping it, none of it can sensibly be reused. The GHC |
|---|
| 616 | devs will need to add something new for the markdown user guide. |
|---|
| 617 | ] |
|---|
| 618 | [Update Makefile for new markdown user guide |
|---|
| 619 | Duncan Coutts <duncan@haskell.org>**20101010205938 |
|---|
| 620 | Ignore-this: dcb5bd072c619516e23329f170458d72 |
|---|
| 621 | ] |
|---|
| 622 | [Add a FIXME about parsing cabal files |
|---|
| 623 | Duncan Coutts <duncan@haskell.org>**20101010203421 |
|---|
| 624 | Ignore-this: 12804d54e81b5ea5878e52628717bc1d |
|---|
| 625 | ] |
|---|
| 626 | [Refactor the missing VCS info QA check |
|---|
| 627 | Duncan Coutts <duncan@haskell.org>**20101010192346 |
|---|
| 628 | Ignore-this: fa6a50a9bd43cf9069e7cd16e23a2b4e |
|---|
| 629 | Starting with Marc Weber's code and just moving |
|---|
| 630 | it about and making it fit in a bit nicer. |
|---|
| 631 | ] |
|---|
| 632 | [Remove redundant import |
|---|
| 633 | Duncan Coutts <duncan@haskell.org>**20101010190724 |
|---|
| 634 | Ignore-this: a978a6a257a31a57d07d57471f04af49 |
|---|
| 635 | ] |
|---|
| 636 | [Rename LocalBuildInfo extraArgs to extraConfigArgs to avoid name clashes |
|---|
| 637 | Duncan Coutts <duncan@haskell.org>**20101010190036 |
|---|
| 638 | Ignore-this: 817061002399a51cbf31da2ba002737b |
|---|
| 639 | ] |
|---|
| 640 | [Add a bunch of TODOs about the test feature |
|---|
| 641 | Duncan Coutts <duncan@haskell.org>**20101010173245 |
|---|
| 642 | Ignore-this: f2acc005fef4996a2c5260356eaf219f |
|---|
| 643 | ] |
|---|
| 644 | [Change how the test suite interfaces are represented, parsed and used |
|---|
| 645 | Duncan Coutts <duncan@haskell.org>**20101010162526 |
|---|
| 646 | Ignore-this: 8773e7756fc23bc04c9e5b2b14031512 |
|---|
| 647 | Also, stick to version 0.9 of the "detailed" test interface, since it's |
|---|
| 648 | not quite finalised yet. Misc other minor code cleanups. |
|---|
| 649 | ] |
|---|
| 650 | [Added test suites to Cabal User Guide |
|---|
| 651 | Thomas Tuegel <ttuegel@gmail.com>**20100811141332 |
|---|
| 652 | Ignore-this: 3975acc803fdba809ca1c8abeef21677 |
|---|
| 653 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 654 | ] |
|---|
| 655 | [Removed "$stdio" from acceptable template variables |
|---|
| 656 | Thomas Tuegel <ttuegel@gmail.com>**20100810201828 |
|---|
| 657 | Ignore-this: c50e05e9a73c726567eff0a364f29750 |
|---|
| 658 | Ticket #215 (Overhaul support for packages' tests). In the usage message, the |
|---|
| 659 | template variable "$stdio" was incorrectly listed as being available in the |
|---|
| 660 | "--human-log" and "--machine-log" flags. The variable has been removed. |
|---|
| 661 | ] |
|---|
| 662 | [Added --test-option(s) flags |
|---|
| 663 | Thomas Tuegel <ttuegel@gmail.com>**20100809161341 |
|---|
| 664 | Ignore-this: cea82267bbc0b16d5f21bfc086285905 |
|---|
| 665 | Ticket #215 (Overhaul support for packages' tests). This patch adds the |
|---|
| 666 | --test-option(s) flags for passing command-line options to test executables. |
|---|
| 667 | ] |
|---|
| 668 | [Respect verbosity flag when outputting test log |
|---|
| 669 | Thomas Tuegel <ttuegel@gmail.com>**20100809151517 |
|---|
| 670 | Ignore-this: 73668e49eeea216c27b5233c7e3fe2cb |
|---|
| 671 | Ticket #215 (Overhaul support for packages' tests). This patch corrects the |
|---|
| 672 | printing of the human-readable test log to the terminal so the setting of the |
|---|
| 673 | verbosity flag is respected. |
|---|
| 674 | ] |
|---|
| 675 | [Added --replay option to cabal test |
|---|
| 676 | Thomas Tuegel <ttuegel@gmail.com>**20100803164932 |
|---|
| 677 | Ignore-this: c97d70e21d3847aa4d889304a7e94451 |
|---|
| 678 | Ticket #215 (Overhaul support for packages' tests). This patch adds support for |
|---|
| 679 | using machine logs from previous runs to replay tests with the same options. |
|---|
| 680 | When using --replay, Cabal will replay all test suites listed in the machine log |
|---|
| 681 | specified; test suite names specified on the command line are ignored. |
|---|
| 682 | ] |
|---|
| 683 | [Renamed "library" test suite type to "detailed" |
|---|
| 684 | Thomas Tuegel <ttuegel@gmail.com>**20100803141125 |
|---|
| 685 | Ignore-this: 457c1a155020303962ae55b2bcd8415c |
|---|
| 686 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 687 | ] |
|---|
| 688 | [Fixed human test log output for failing tests |
|---|
| 689 | Thomas Tuegel <ttuegel@gmail.com>**20100803030246 |
|---|
| 690 | Ignore-this: f9d3ef127cdb849762af79f31a0c80c9 |
|---|
| 691 | Ticket #215 (Overhaul support for packages' tests). This patch corrects the bug |
|---|
| 692 | in the human test log output to terminal where the line wrapping code in Cabal |
|---|
| 693 | caused terminal control codes output by the test framework to be placed |
|---|
| 694 | incorrectly. Line wrapping is no longer performed. |
|---|
| 695 | ] |
|---|
| 696 | [Displaying human-readable test log when requested |
|---|
| 697 | Thomas Tuegel <ttuegel@gmail.com>**20100730151818 |
|---|
| 698 | Ignore-this: 98f0adb8e47a52a59ccb3581982157ed |
|---|
| 699 | Ticket #215 (Overhaul support for packages' tests). This patch causes Cabal to |
|---|
| 700 | display the contents of the human-readable log file on the terminal when run |
|---|
| 701 | with --show-details=always or when run with --show-details=failures and a |
|---|
| 702 | failure is detected. The structure of the test logging code has been changed |
|---|
| 703 | for clarity to debug a problem where test executables that write to their stderr |
|---|
| 704 | channel disrupt terminal output. |
|---|
| 705 | ] |
|---|
| 706 | [Added debugging output to test summary |
|---|
| 707 | Thomas Tuegel <ttuegel@gmail.com>**20100730134008 |
|---|
| 708 | Ignore-this: 826d20639f17ae0650d1c9b8a56b43a7 |
|---|
| 709 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 710 | ] |
|---|
| 711 | [Using correct name of log file in human-readable log |
|---|
| 712 | Thomas Tuegel <ttuegel@gmail.com>**20100730041720 |
|---|
| 713 | Ignore-this: 3c6df44f5d6414ce1fe2b58c50590726 |
|---|
| 714 | Ticket #215 (Overhaul support for packages' tests). Previously, human-readable |
|---|
| 715 | logs listed the name of the temporary file where test suite output is |
|---|
| 716 | initially logged. |
|---|
| 717 | ] |
|---|
| 718 | [Renamed option '--test-filter' to '--show-details' |
|---|
| 719 | Thomas Tuegel <ttuegel@gmail.com>**20100730023026 |
|---|
| 720 | Ignore-this: 8b78eed5ccf9cb7ed6a55b86d886e5cc |
|---|
| 721 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 722 | ] |
|---|
| 723 | [Displaying location of test suite log on terminal |
|---|
| 724 | Thomas Tuegel <ttuegel@gmail.com>**20100729141159 |
|---|
| 725 | Ignore-this: e98a67180c6ff1511b86e442f9acf3c1 |
|---|
| 726 | Ticket #215 (Overhaul support for packages' tests). It was decided that |
|---|
| 727 | indicating the location of the human-readable test suite log made Cabal's test |
|---|
| 728 | runner easier to use. |
|---|
| 729 | ] |
|---|
| 730 | [Passing names of test suites to run to test stage |
|---|
| 731 | Thomas Tuegel <ttuegel@gmail.com>**20100726150811 |
|---|
| 732 | Ignore-this: bf556a0a06fe26b132f1eb5caec21805 |
|---|
| 733 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 734 | ] |
|---|
| 735 | [Fixed deprecation warning in Distribution.TestSuite |
|---|
| 736 | Thomas Tuegel <ttuegel@gmail.com>**20100726141448 |
|---|
| 737 | Ignore-this: 64cd6a5a936efd6b0ee0f50564440a9d |
|---|
| 738 | Ticket #215 (Overhaul support for packages' tests). Warning resulted from use |
|---|
| 739 | of Control.OldException. |
|---|
| 740 | ] |
|---|
| 741 | [Fixed help message for machine-log path template |
|---|
| 742 | Thomas Tuegel <ttuegel@gmail.com>**20100724164652 |
|---|
| 743 | Ignore-this: 52205830166a307eedce807e908f7a0a |
|---|
| 744 | Ticket #215 (Overhaul support for packages' tests). The message previously |
|---|
| 745 | indicated that $test-suite is acceptable in the machine log path template, |
|---|
| 746 | which is not true. |
|---|
| 747 | ] |
|---|
| 748 | [Catching exceptions when lifting pure tests to IO |
|---|
| 749 | Thomas Tuegel <ttuegel@gmail.com>**20100724134336 |
|---|
| 750 | Ignore-this: 89a2265a94ee0082935d236dd64c12d4 |
|---|
| 751 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 752 | ] |
|---|
| 753 | [Using common function to name path environment variables in PathsModule and Test |
|---|
| 754 | Thomas Tuegel <ttuegel@gmail.com>**20100722145840 |
|---|
| 755 | Ignore-this: 5cea1a3e77acb84a162de3d1c85a3fe6 |
|---|
| 756 | Ticket #215 (Overhaul support for packages' tests). The names of environment |
|---|
| 757 | variables used to set package paths at runtime were previously hard-coded into |
|---|
| 758 | the function that generates the paths module. A function generating the |
|---|
| 759 | variable names is now exported from Distribution.Simple.Build.PathsModule and |
|---|
| 760 | used to set the datadir in Distribution.Simple.Test to prevent breakage if the |
|---|
| 761 | naming scheme changes. |
|---|
| 762 | ] |
|---|
| 763 | [Added documentation for machine-readable test log types |
|---|
| 764 | Thomas Tuegel <ttuegel@gmail.com>**20100722140017 |
|---|
| 765 | Ignore-this: 60f934e11b1c3ee4df9f48677528af47 |
|---|
| 766 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 767 | ] |
|---|
| 768 | [Improved documentation for Distribution.TestSuite |
|---|
| 769 | Thomas Tuegel <ttuegel@gmail.com>**20100722124239 |
|---|
| 770 | Ignore-this: f7b1261270c4815b0691ce33c664908c |
|---|
| 771 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 772 | ] |
|---|
| 773 | [Fixed documentation errors in Distribution.Simple.Test |
|---|
| 774 | Thomas Tuegel <ttuegel@gmail.com>**20100721221844 |
|---|
| 775 | Ignore-this: b111e727b4a556b17c2a1eb4dfd6971b |
|---|
| 776 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 777 | ] |
|---|
| 778 | [Renamed Distribution.TestSuite.optionLookup to lookupOption |
|---|
| 779 | Thomas Tuegel <ttuegel@gmail.com>**20100721170724 |
|---|
| 780 | Ignore-this: 3a5e79fd0a14d974e664a74af5cb83d1 |
|---|
| 781 | Ticket #215 (Overhaul support for packages' tests.) |
|---|
| 782 | ] |
|---|
| 783 | [Added console-style test summary information to human-readable logs |
|---|
| 784 | Thomas Tuegel <ttuegel@gmail.com>**20100721163516 |
|---|
| 785 | Ignore-this: 494c2220285ef4bda036ecdfd7242adf |
|---|
| 786 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 787 | ] |
|---|
| 788 | [Added flag allowing human-readable test logs to be appended instead of overwritten |
|---|
| 789 | Thomas Tuegel <ttuegel@gmail.com>**20100721160421 |
|---|
| 790 | Ignore-this: f157a4830f82a4a978c1cfb1931a0258 |
|---|
| 791 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 792 | ] |
|---|
| 793 | [Added clarifying comments to Distribution.Simple.Test |
|---|
| 794 | Thomas Tuegel <ttuegel@gmail.com>**20100721160417 |
|---|
| 795 | Ignore-this: 100000890351a75557a6dfa0f71c419f |
|---|
| 796 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 797 | ] |
|---|
| 798 | [Using a separate PathTemplateEnv for machine test logs |
|---|
| 799 | Thomas Tuegel <ttuegel@gmail.com>**20100720204724 |
|---|
| 800 | Ignore-this: 4920c6e88b8d3d3d788ba42d6b5268af |
|---|
| 801 | Ticket #215 (Overhaul support for packages' tests). Previously, the use of a |
|---|
| 802 | dummy test suite name would lead to unintuitive expansions of the PathTemplate |
|---|
| 803 | governing the location of the machine-readable package test log. |
|---|
| 804 | ] |
|---|
| 805 | [Exporting machine log types from Distribution.Simple.Test |
|---|
| 806 | Thomas Tuegel <ttuegel@gmail.com>**20100720204558 |
|---|
| 807 | Ignore-this: 6920621dbabf471cef7d688904b9b1b8 |
|---|
| 808 | Ticket #215 (Overhaul support for packages' tests). These types were exported |
|---|
| 809 | to enable parsing of test logs by external utilities. |
|---|
| 810 | ] |
|---|
| 811 | [Added 'check' and 'optionLookup' to Distribution.TestSuite |
|---|
| 812 | Thomas Tuegel <ttuegel@gmail.com>**20100720134707 |
|---|
| 813 | Ignore-this: 21ef44dc0087ff8333b1722309f8fbdd |
|---|
| 814 | Ticket #215 (Overhaul support for packages' tests). These functions were added |
|---|
| 815 | for the benefit of test runner authors. |
|---|
| 816 | ] |
|---|
| 817 | [Saving Options from test runs for reproducability |
|---|
| 818 | Thomas Tuegel <ttuegel@gmail.com>**20100715180003 |
|---|
| 819 | Ignore-this: 858c387d83e93e193f7c66df3901f6e3 |
|---|
| 820 | Ticket #215 (Overhaul support for packages' tests). Saving the Options used |
|---|
| 821 | required changes to the TestSuite interface, with the Option values now being |
|---|
| 822 | specified as Strings and not Dynamics. This was necessary because the lack of |
|---|
| 823 | a Read instance for Dynamic. |
|---|
| 824 | ] |
|---|
| 825 | [Improvements to test suite logging |
|---|
| 826 | Thomas Tuegel <ttuegel@gmail.com>**20100715020549 |
|---|
| 827 | Ignore-this: b47f4358302b283e93ccaff81db123f2 |
|---|
| 828 | Ticket #215 (Overhaul support for packages' tests). This patch includes proper |
|---|
| 829 | support for both machine- and human-readable logs. |
|---|
| 830 | ] |
|---|
| 831 | [Removed duplicate code for test suite interface version checks |
|---|
| 832 | Thomas Tuegel <ttuegel@gmail.com>**20100713144835 |
|---|
| 833 | Ignore-this: e06c264351013480a66c013ca398db4b |
|---|
| 834 | Ticket #215 (Overhaul support for packages' tests). Duplicate code for checking |
|---|
| 835 | the test suite interface version was replaced with a single function |
|---|
| 836 | 'testVersion1 :: Version -> Bool' exported from Distribution.PackageDescription. |
|---|
| 837 | ] |
|---|
| 838 | [Added QA checks for test suite name conflicts |
|---|
| 839 | Thomas Tuegel <ttuegel@gmail.com>**20100712154401 |
|---|
| 840 | Ignore-this: df13e2f16cf4e879f5d5f6538c6e7db8 |
|---|
| 841 | Ticket #215 (Overhaul suppport for packages' tests). |
|---|
| 842 | ] |
|---|
| 843 | [New test suite log format |
|---|
| 844 | Thomas Tuegel <ttuegel@gmail.com>**20100708132650 |
|---|
| 845 | Ignore-this: 96a300e6acedd0de63757713fbb1d832 |
|---|
| 846 | Ticket #215 (Overhaul support for package's tests). This patch adds a new test |
|---|
| 847 | log file format based on the TestSuiteLog data structure. The interface between |
|---|
| 848 | Cabal and the library test suite runner has consequently changed. |
|---|
| 849 | ] |
|---|
| 850 | [Inheriting existing environment for test suite executables |
|---|
| 851 | Thomas Tuegel <ttuegel@gmail.com>**20100707222244 |
|---|
| 852 | Ignore-this: 6f08245c83817a85c7da5a05f810abd6 |
|---|
| 853 | Ticket #215 (Overhaul support for packages' tests). Previously, the test |
|---|
| 854 | runner replaced the environment for test suite executables with one containing |
|---|
| 855 | only the datadir path for package data files. For test suites invoking other |
|---|
| 856 | programs, it is necessary to preserve the system paths, so the datadir path |
|---|
| 857 | variable is appended to the inherited environment. |
|---|
| 858 | ] |
|---|
| 859 | [Improvements to library test suite runner, including documentation |
|---|
| 860 | Thomas Tuegel <ttuegel@gmail.com>**20100624181304 |
|---|
| 861 | Ignore-this: 45baa7905de5423e91707f52e590bbad |
|---|
| 862 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 863 | ] |
|---|
| 864 | [Renamed 'result' and 'getResult' to 'run' and 'runM' |
|---|
| 865 | Thomas Tuegel <ttuegel@gmail.com>**20100623184640 |
|---|
| 866 | Ignore-this: 7bb6dd598eaa135fcbf73e82ab0d2ce2 |
|---|
| 867 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 868 | ] |
|---|
| 869 | [Setting datadir environment variables when running tests |
|---|
| 870 | Thomas Tuegel <ttuegel@gmail.com>**20100623183201 |
|---|
| 871 | Ignore-this: 7a9e26c684417871609847f6e4d4883e |
|---|
| 872 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 873 | ] |
|---|
| 874 | [Added convenience functions and default instances making export of 'Test' constructors unnecessary |
|---|
| 875 | Thomas Tuegel <ttuegel@gmail.com>**20100623151934 |
|---|
| 876 | Ignore-this: 1979265e345e268787b5b6fe49bdfd64 |
|---|
| 877 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 878 | ] |
|---|
| 879 | [Added support for running the default stub executables Cabal creates for library test suites |
|---|
| 880 | Thomas Tuegel <ttuegel@gmail.com>**20100623151903 |
|---|
| 881 | Ignore-this: 2be1bbfb07a7fc0e3a0d2c9e5bdf2252 |
|---|
| 882 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 883 | ] |
|---|
| 884 | [Removed dependency on extensible-exceptions from detailed test suite interface |
|---|
| 885 | Thomas Tuegel <ttuegel@gmail.com>**20100623150227 |
|---|
| 886 | Ignore-this: 50ad3ee8c2dc5f62b48aa84d0318c3e6 |
|---|
| 887 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 888 | ] |
|---|
| 889 | [Added support for building detailed library test suites |
|---|
| 890 | Thomas Tuegel <ttuegel@gmail.com>**20100623150222 |
|---|
| 891 | Ignore-this: 1f2a6034af9adf493088265cc8481df5 |
|---|
| 892 | Ticket #215 (Overhaul support for packages' tests). This patch preprocesses |
|---|
| 893 | and builds library test suites. The fake packages are created for each test |
|---|
| 894 | suite, where the fake package and test suite share the same name; the packages |
|---|
| 895 | and libraries are registered in the inplace package database so that test |
|---|
| 896 | agents can build stub executables against them. |
|---|
| 897 | ] |
|---|
| 898 | [Improved security of test log file creation |
|---|
| 899 | Thomas Tuegel <ttuegel@gmail.com>**20100621114726 |
|---|
| 900 | Ignore-this: 6fed3aa4ebcb587b48bb2a256fcbc61b |
|---|
| 901 | Ticket #215 (Overhaul support for packages' tests). The algorithm previously |
|---|
| 902 | used to name the log files for test output suffers from a known vulnerability |
|---|
| 903 | due to the predictability of chosen names. |
|---|
| 904 | ] |
|---|
| 905 | [Added detailed test interface |
|---|
| 906 | Thomas Tuegel <ttuegel@gmail.com>**20100617210631 |
|---|
| 907 | Ignore-this: 161624662d6ec7946a33415ddbff4445 |
|---|
| 908 | Ticket #215 (Overhaul support for packages' tests). This patch provides the |
|---|
| 909 | detailed test interface for exposing individual tests to Cabal and other test |
|---|
| 910 | agents. It also provides the simple function Cabal will provide as the default |
|---|
| 911 | test runner. |
|---|
| 912 | ] |
|---|
| 913 | [Fixed test suite breakage due to TestSuite API changes |
|---|
| 914 | Thomas Tuegel <ttuegel@gmail.com>**20100629212935 |
|---|
| 915 | Ignore-this: 8de228836efb206e1adb833c841ae757 |
|---|
| 916 | Ticket #215 (Overhaul support for packages' tests). The update to the |
|---|
| 917 | TestSuite parser which stopped disallowed configurations during parsing also |
|---|
| 918 | broke the existing test suite with API changes. |
|---|
| 919 | ] |
|---|
| 920 | [Added --test-filter flag |
|---|
| 921 | Thomas Tuegel <ttuegel@gmail.com>**20100624175917 |
|---|
| 922 | Ignore-this: e8fcaddf34a42326d0f3a1081aafb724 |
|---|
| 923 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 924 | ] |
|---|
| 925 | [Qualified import of Distribution.Simple.Setup in Distribution.Simple.Haddock |
|---|
| 926 | Thomas Tuegel <ttuegel@gmail.com>**20100623193755 |
|---|
| 927 | Ignore-this: ec5750f56b22f67e5862036fcdd8ecee |
|---|
| 928 | ] |
|---|
| 929 | [Using path templates to name test log files |
|---|
| 930 | Thomas Tuegel <ttuegel@gmail.com>**20100622162317 |
|---|
| 931 | Ignore-this: af6564bf6154e29e363ee343c9fc5806 |
|---|
| 932 | Ticket #215 (Overhaul support for packages' tests). |
|---|
| 933 | ] |
|---|
| 934 | [More docs about the meaning of the cabal-version field |
|---|
| 935 | Duncan Coutts <duncan@haskell.org>**20101010154251 |
|---|
| 936 | Ignore-this: 381ede9227f7a9db78f1007364660648 |
|---|
| 937 | ] |
|---|
| 938 | [Document how Cabal-Version affects behaviour of build-depends |
|---|
| 939 | Ben Millwood <haskell@benmachine.co.uk>**20100926025550 |
|---|
| 940 | Ignore-this: ba6367db93c15906331457a0468db436 |
|---|
| 941 | ] |
|---|
| 942 | [initial support for building executables with UHC |
|---|
| 943 | Atze Dijkstra <atze@cs.uu.nl>**20100923214130 |
|---|
| 944 | Ignore-this: bbbf1adcec2fcfe87ce1db18c804f21a |
|---|
| 945 | ] |
|---|
| 946 | [Added flags related to UHC, uhcbase package |
|---|
| 947 | Atze Dijkstra <atze@cs.uu.nl>**20100706115341 |
|---|
| 948 | Ignore-this: f7dd2b14e3146f8844635ddcb70ac3b9 |
|---|
| 949 | ] |
|---|
| 950 | [Minor changes to the auto-reconfiguration feature. |
|---|
| 951 | Duncan Coutts <duncan@haskell.org>**20101010144111 |
|---|
| 952 | Ignore-this: 944f595482ea42eb1907fb1150d6d4c0 |
|---|
| 953 | Change the messages slightly. Make configure return the |
|---|
| 954 | new lbi, rather than having to re-read the lbi from file |
|---|
| 955 | (avoiding potential infinite loop if the IO failed). |
|---|
| 956 | ] |
|---|
| 957 | [Auto-reconfiguration when .cabal is newer than setup-config |
|---|
| 958 | Dmitry Astapov <dastapov@gmail.com>**20100825131106 |
|---|
| 959 | Ignore-this: 22ab2b6de0251f6cf1da7c2538544d4 |
|---|
| 960 | |
|---|
| 961 | This patch adds "ConfigFlags" to the "LocalBuildInfo" and reuses them to |
|---|
| 962 | perform "configureAction" when .cabal file is changed. This has |
|---|
| 963 | the same effect as re-running "configure" with the most recent used |
|---|
| 964 | set of options, which should be the sensible thing to do. |
|---|
| 965 | |
|---|
| 966 | Closes #294, #477, #309 and #518. |
|---|
| 967 | ] |
|---|
| 968 | [Fix processing of ghc-shared-options |
|---|
| 969 | Duncan Coutts <duncan@haskell.org>**20101009204809 |
|---|
| 970 | Ignore-this: 571b3d70fbc705282b9fdfdafdc2f009 |
|---|
| 971 | Original patch was: |
|---|
| 972 | Sun Oct 7 13:41:53 BST 2007 Thorkil Naur <naur@post11.tele.dk> |
|---|
| 973 | * Fix processing of shared options |
|---|
| 974 | Re-recorded due to code churn |
|---|
| 975 | ] |
|---|
| 976 | [Correct spelling of 'transative' |
|---|
| 977 | Duncan Coutts <duncan@haskell.org>**20101009202836 |
|---|
| 978 | Ignore-this: fe7ec5ae621135024403ae0aa42094c2 |
|---|
| 979 | Original patch by: |
|---|
| 980 | Thu Aug 21 21:19:51 MDT 2008 dbueno@gmail.com |
|---|
| 981 | * Correct spelling of 'transative'. |
|---|
| 982 | Re-recorded due to conflict. |
|---|
| 983 | ] |
|---|
| 984 | [print a warning if repository location isn't specified and the cabal project looks like being tracked by a version control system |
|---|
| 985 | marco-oweber@gmx.de**20091129192013 |
|---|
| 986 | Ignore-this: 5ce5073f1793193e437353490eff0276 |
|---|
| 987 | ] |
|---|
| 988 | [Bump Cabal HEAD version to 1.11.0 |
|---|
| 989 | Duncan Coutts <duncan@haskell.org>**20101010154518 |
|---|
| 990 | Ignore-this: 407e2b1c0de8c10f399841b3fbea1dd3 |
|---|
| 991 | ] |
|---|
| 992 | [TAG 1.10 branch forked |
|---|
| 993 | Duncan Coutts <duncan@haskell.org>**20101010155050 |
|---|
| 994 | Ignore-this: 7b0241166f919e2a374a2a69669b2e6b |
|---|
| 995 | ] |
|---|
| 996 | Patch bundle hash: |
|---|
| 997 | ba67b7f8b2f2610cbbac97878246845756fc1546 |
|---|