This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 17 Sep, 2010 1 commit
-
-
Ian Lynagh authored
-
- 23 Aug, 2010 1 commit
-
-
Jens Petersen authored
Currently Cabal just appends the pid to the package name-version which makes it hard to see the actual package version number. This patch just inserts a '-' between name-version and pid.
-
- 11 Jun, 2010 1 commit
-
-
Edward Z. Yang authored
-
- 16 May, 2010 1 commit
-
-
kili authored
While here, simplify the argument list construction in invocationAsShellScript a little bit.
-
- 03 Sep, 2010 1 commit
-
-
Simon Marlow authored
-
- 20 Aug, 2010 2 commits
-
-
Duncan Coutts authored
We previously checked during preprocessing that there is some source file for every module and produce a nice error message if not (rather than having ghc --make fail later). We only looked for source files in the source directories, ie not the target/output build dir, since the build dir is where pre-processed files go, not original source files. Igloo's change should allow builds where there is no original source file at all, so long as there is some generated file in the build dir. In particular this allows custom Setup.hs files to generate modules out of thin air and for things to mostly work, even though the rest of the build system is unaware about how the file got built.
-
Ian Lynagh authored
Fixes hscolour'ing Config.hs in GHC
-
- 16 Aug, 2010 1 commit
-
-
simonpj authored
-
- 05 Aug, 2010 1 commit
-
-
Ian Lynagh authored
We were generating things like #define VERSION_ghc_prim"0.2.0.0" rather than #define VERSION_ghc_prim "0.2.0.0"
-
- 28 Jul, 2010 1 commit
-
-
simonpj authored
I'm adding these type signatures to satisfy the "do not generalise local let/where" rule that GHC is taking on. The signatures are clearly correct, but I was surprised at the polymorphism needed. For example parseOptVersion :: ReadP r Version parseOptVersion = parseQuoted ver <++ ver where ver :: ReadP r Version ver = parse <++ return noVersion noVersion = Version{ versionBranch=[], versionTags=[] } Note that 'ver' really is called at two different types! That in turn is because of the type of (<++) (<++) :: ReadP a a -> ReadP r a -> ReadP r a (+++) :: ReadP r a -> ReadP r a -> ReadP r a Note the "a a" in the first arg, which is very unusual. For example, compare the type of (+++). Changing it to match the type of (+++) makes ReadP fail to compile, though, so I assume it's right as it stands. But surely this deserves a comment?!
-
- 20 Jun, 2010 1 commit
-
-
Ian Lynagh authored
-
- 16 Jun, 2010 2 commits
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). Previously, the test-suite stanza was allowed to contain a test-suite field, such as the executable stanza parser allows. This was removed because it is only required by legacy support for executables and no legacy support is required for test suites.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests).
-
- 15 Jun, 2010 2 commits
- 08 Jun, 2010 1 commit
-
-
Vo Minh Thu authored
The --help option output now prints only the first (if any) long option. Because of this, --{enable,disable}-optimisation (british spelling) is simply added to the list of options without testing showOrParseArgs. --hyperlink-sources is now also accepted for the haddock command.
-
- 16 Jun, 2010 1 commit
-
-
Duncan Coutts authored
The executable field is only for the legacy pre-Cabal-1.2 stanza syntax.
-
- 09 Jun, 2010 2 commits
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). By parsing the test suite stanza through an intermediate data structure, we can isolate errors due to missing required fields in the parsing stage and avoid having error handlers througout the code.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests).
-
- 08 Jun, 2010 4 commits
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests).
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). The previous output format made it difficult to distinguish successful test suites from failed test suites.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). The use of the old interface also makes it possible to log stdout and stderr without separating the two.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). Using a new format for the test-suite stanza in the .cabal file, similar to the source-repository stanza.
-
- 07 Jun, 2010 1 commit
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests).
-
- 15 Jun, 2010 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
Works around: libraries/Cabal/Distribution/Simple.hs:78:0: Warning: In the use of `runTests' (imported from Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!"
-
- 12 Jun, 2010 1 commit
-
-
Duncan Coutts authored
-
- 01 Oct, 2009 1 commit
-
-
Stephen Blackheath authored
-
- 04 Jun, 2010 1 commit
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). Deprecated 'runTests' UserHook to maintain compatibility with old packages, but encourage authors to update to the new interface.
-
- 03 Jun, 2010 2 commits
- 02 Jun, 2010 1 commit
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests).
-
- 01 Jun, 2010 2 commits
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). The 'test' command runs all executable tests listed in the package description when the package is configured with tests enabled. The exit codes and standard output/error are collected and reported.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). Replaced generic error message about unsupported test types with specific error messages for each stage of the build/test process. This required changing the type of 'withTest' to better match 'withExe' and 'withLib'.
-
- 27 May, 2010 2 commits
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). Check for duplicate testsuite name or modules during 'cabal check'.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). During package configuration, check for testsuites with the same name as other testsuites or executables.
-
- 26 May, 2010 3 commits
-
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). The "--enable-tests" and "--disable-tests" command-line flags are introduced, with "--disable-tests" being the default. If tests are disabled, the testsuites are stripped from the GenericPackageDescription during the configure stage, before dependencies are resolved.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' tests). Parse and finalize a simple, dummy .cabal file containing a Test stanza. Compare with the PackageDescription it which should result from parsing.
-
ttuegel authored
Ticket #215 (Overhaul support for packages' test). During the build stage, executable testsuites are handled analogously to ordinary executables. This means their sources are preprocessed and compiled. To actually compile, the build stage actions are performed on a dummy Executable.
-