This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 29 Nov, 2016 5 commits
    • Franz Thoma's avatar
      cd2314f4
    • Franz Thoma's avatar
      Better error message · 3965d507
      Franz Thoma authored
      Output the last error message in addition to the final conflict
      set, and give a less technical description of the conflict set for the
      user message.
      
      An example for the expected output is:
      
      > cabal install --dry-run DPM CurryDB DAV DSH Digit HList MagicHaskeller bamboo
      cabal: Could not resolve dependencies:
      trying: CurryDB-0.1.1.0 (user goal)
      trying: base-4.8.0.0/installed-1b6... (dependency of CurryDB-0.1.1.0)
      trying: unix-2.7.1.0/installed-e59... (dependency of process-1.2.3.0/installed-3b1...)
      trying: directory-1.2.2.0/installed-b49... (dependency of process-1.2.3.0/installed-3b1...)
      Dependency tree exhaustively searched.
      I've had most trouble fulfilling the following goals: haskell98 (36850), base
      (26359), directory (9599), HTF (5092), bamboo (3788), DPM (3452), unix (3208),
      CurryDB (107)
      3965d507
    • Franz Thoma's avatar
      Update documentation · 1df47e71
      Franz Thoma authored
      1df47e71
    • Franz Thoma's avatar
      Print conflict counts alongside the conflicts (#3570) · e83ba105
      Franz Thoma authored
      Conflicts are sorted by conflict counts, so high-rated conflicts appear
      early in the list. Currently the raw count is printed.
      e83ba105
    • Franz Thoma's avatar
      Print final conflict set (#3570) · 67c89578
      Franz Thoma authored
      Keep information about the final conflict set and print it in case of
      exhaustive search. The original error message is not printed any more.
      67c89578
  2. 07 Aug, 2016 1 commit
    • kristenk's avatar
      Solver: Use difference lists to combine logs in 'Explore.exploreLog'. · a258aefc
      kristenk authored
      This commit adds a data structure, 'RetryLog', which is like a difference list
      for the 'Progress' type, except that it only supports efficient appends at
      failures. Since the solver continually appends logs and calls 'tryWith' while
      exploring the search tree, it is important for those operations to be efficient.
      Afterwards, the solver converts the 'RetryLog' back to a 'Progress' so that it
      can be processed with pattern matching in Log.hs and Message.hs.
      a258aefc
  3. 30 Jul, 2016 1 commit
    • kristenk's avatar
      Avoid filtering the solver log before 'showMessages'. · f2d02983
      kristenk authored
      Previously, the solver filtered out redundant backjumping messages twice, once
      in 'Log.logToProgress' and again in 'Message.showMessages. However,
      'showMessages' relied on the backjumping messages to determine where to insert
      messages about missing packages. This led to missing "unknown package" messages
      (part of issue #3617).
      
      This commit removes the filtering in 'logToProgress', because it was redundant.
      f2d02983
  4. 26 Jun, 2016 1 commit
  5. 26 Apr, 2016 1 commit
  6. 17 Apr, 2016 1 commit
    • Edsko de Vries's avatar
      Make ConflictSet abstract · 1a1f1f9b
      Edsko de Vries authored
      This commit is a pure refactoring, no semantic changes. Submitting as separate
      PR at @kosmikus request.
      
      Tihs moves `ConflictSet` and `Var` into their own modules.
      1a1f1f9b
  7. 17 Jan, 2016 2 commits
    • kristenk's avatar
      Fix space leak in solver backjumping · 8923a46d
      kristenk authored
      This commit refactors backjumping so that it uses the 'Progress' type instead of
      separate references to a node's children and the conflict set calculated from
      those children.
      8923a46d
    • kristenk's avatar
      Fix space leaks in dependency solver logging. · 37f28f23
      kristenk authored
      This commit removes references to the solver log that prevented it from being
      garbage collected.  It also forces evaluation of the current level and variable
      stack in 'Message.showMessages'.
      37f28f23
  8. 17 Dec, 2015 2 commits
  9. 14 Apr, 2015 1 commit
  10. 03 May, 2013 3 commits
  11. 06 Jun, 2012 1 commit
  12. 10 Jan, 2012 1 commit
  13. 05 Jul, 2011 1 commit
  14. 15 Jun, 2011 1 commit