This project is mirrored from Pull mirroring updated .
  1. 14 May, 2008 2 commits
  2. 13 May, 2008 1 commit
  3. 11 May, 2008 3 commits
  4. 10 May, 2008 1 commit
    • Ian Lynagh's avatar
      Fix a bug in the unlitter · 9450a27f
      Ian Lynagh authored
      If we see a birdtrack while we are in latex mode, then we stay in latex
      mode - don't change into bird mode!
  5. 09 May, 2008 1 commit
  6. 06 May, 2008 5 commits
  7. 05 May, 2008 1 commit
    • Duncan Coutts's avatar
      Cope better with ghc bug #2201, display a better error message · 87b444ce
      Duncan Coutts authored
      Otherwise it can (and does) really confuse people.
      The problem is that the command $ ghc-pkg-6.9 describe '*' --user
      returns a non-zero exit code if the user package db is empty.
      ghc-pkg intends this exit code to tell us if the query returned
      any results (one can use more complex queries as tests) but Cabal
      interprets it as failure. Indeed we cannot distinguish it from
      any other kind of failure from ghc-pkg.
  8. 04 May, 2008 3 commits
  9. 01 May, 2008 7 commits
  10. 30 Apr, 2008 1 commit
  11. 29 Apr, 2008 2 commits
    • Duncan Coutts's avatar
      Change handling of bool command line args to allow an unset state · fb993c2a
      Duncan Coutts authored
      For bool valued flags we were always producing the command line
      string corresponding to a false flag value, even if the flag was
      not set. For example we'd always get "--disable-shared".
      It is important for cabal-install to be able to take an empty set
      of flags, override a few flags and turn the flags back into
      command line strings without getting a lot of extra defaults.
      Partly this is because we have to work with older versions of the
      Cabal library command line which does not recognise the new options.
    • Duncan Coutts's avatar
      Remove the feature for highlighting the default cases in --help output · d49d15a7
      Duncan Coutts authored
      Turns out it doesn't help us much because in many cases the initial/default
      flags are actually empty so we cannot identify the default values.
  12. 28 Apr, 2008 2 commits
  13. 26 Apr, 2008 1 commit
    •'s avatar
      Fix fix for #224. · 7e69b6f4 authored
      Changing from list of Dependencies to Maps resulted in the wrong Monoid 
      instance being used.  I'd still like to be able to run a test suite on 
      this but that'd require a lot more work to do properly...
  14. 23 Apr, 2008 5 commits
    • Duncan Coutts's avatar
      When multiple specifying list fields in the same section combine them · 48c8903b
      Duncan Coutts 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.
    • Duncan Coutts's avatar
      Normalise file names in warning messages · 9d3299ad
      Duncan Coutts authored
      We already do this for error messages.
    • Duncan Coutts's avatar
      Fix the check for -XFooBar ghc-options flags to be more permissive · eb148937
      Duncan Coutts authored
      Previously we rejected all such flags but that posed the problem that older
      versions of Cabal, like 1.1.6 did not understand new extensions so we
      could not actually follow the advice and use the extenion. So now we only
      warn about -X flags if they refer to old extensions that Cabal 1.1.6 knew
      about. If the .cabal file specifies cabal-version: >= 1.2 or similar
      (anything that excludes 1.1.6) then we warn about all -X flags.
    • Duncan Coutts's avatar
      Add checks for unknown OS Arch and Compiler names · 99ec2dca
      Duncan Coutts authored
      They're ok locally but for distribution they need to be known.
    • Duncan Coutts's avatar
      Package check now take a GenericPackageDescription · 87ec8824
      Duncan Coutts authored
      Unfortunately in some cases we only have a already-configured
      PackageDescription to we have to expose a checkConfiguredPackage.
      We should refactor things so that we keep all the information
      even in a configured PackageDescription.
  15. 22 Apr, 2008 3 commits
  16. 20 Apr, 2008 2 commits
    • Duncan Coutts's avatar
      Don't nub extra-libs in unionBuildInfo · d9233d60
      Duncan Coutts authored
      It's possible that we sometimes need to list the same library
      more than once if there are circular symbol references.
    • Duncan Coutts's avatar
      Fix unionBuildInfo · fd3d86e1
      Duncan Coutts authored
      Fix ticket #264 to use nub only on the fields which are treated as sets.
      Probably we should be using the right types and mappend for each field.
      Change to construct a new value from scratch rather than overriding one
      of the two args. This helps to make sure we're updating all the field
      as we get a warning if we miss any. Turns out we were missing the ghc
      profiling and shared libs options which meant they were getting dropped.
      That had the effect of ghc-prof-options: in .cabal files being ignored.
      Thanks to 'midfield' from #haskell for spotting this.