1. 27 Aug, 2017 1 commit
    • Heiko Becker's avatar
      Fix includes · ce444b1f
      Heiko Becker authored
      - Remove duplicate KImageCache include
      - Don't include the module with Qt includes
      ce444b1f
  2. 25 Jan, 2011 1 commit
  3. 30 May, 2010 1 commit
    • Parker Coates's avatar
      Significant clean up of the hint handling code. · fc60c7d1
      Parker Coates authored
       * Make all MoveHint code value-based instead of pointer-based. MoveHint
         objects aren't that big. I don't think we gain much by passing around
         pointers and using values means we don't have to worry about cleanup.
       * Add a default contructor and an isValid() method to MoveHint. These
         replace the use of null pointers to represent invalid MoveHints.
       * Add an operator< to MoveHint to allow sorting by priority.
       * Remove DealerScenePrivate::hints as it made the hint code was overly
         complex. One always had to be mindful of the contents of d->hints and
         and be sure to clear it before adding to it. By making getHints()
         actually return the list of hints rather than modify d->hints, things
         get much simpler. As a result, we can get rid of hints(), newHint()
         and clearHints().
       * Fix an bug in how the next move is selected from the list of hints if
         we don't have a solution to the current game.
      
      svn path=/trunk/KDE/kdegames/kpat/; revision=1132424
      fc60c7d1
  4. 04 May, 2010 1 commit
  5. 27 Apr, 2010 1 commit
    • Parker Coates's avatar
      Move "taken-down" detection to DealerScene:moveCardsToPile. · d6840470
      Parker Coates authored
      I'm glad to have this ugliness out of PatPile. It's still ugly, but not
      quite so bad and no longer in the public DealerScene API. Also converted
      some uses of PatPile to KCardPile where suitable.
      
      svn path=/trunk/KDE/kdegames/kpat/; revision=1119431
      d6840470
  6. 18 Jan, 2010 1 commit
  7. 12 Nov, 2009 1 commit
    • Parker Coates's avatar
      Add a mutex around Solver::endTurn. · 3797aa6f
      Parker Coates authored
      This bool was being written to and read from two different threads
      causing helgrind to report a race condition.
      
      svn path=/trunk/KDE/kdegames/kpat/; revision=1048206
      3797aa6f
  8. 21 Aug, 2009 1 commit
    • Parker Coates's avatar
      Added GPLv2+ headers to everything in patsolve. · e98d3128
      Parker Coates authored
      Got permission from Tom Holroyd to use the "or later version" clause.
      Added copyright headers for Stephan and Tom (with a bit of guesswork).
      
      svn path=/trunk/KDE/kdegames/kpat/; revision=1014185
      e98d3128
  9. 13 Aug, 2009 1 commit
  10. 22 May, 2009 1 commit
    • Parker Coates's avatar
      Major KPat-wide #include cleanup. · e42835cc
      Parker Coates authored
      - Removed a lot of unused headers.
      - Include ordering should now be consistent in all files:
      1. This file's header
      2. KPat headers
      3. LibKDEGames headers
      4. KDELibs headers
      5. Qt headers
      6. Standard C++ headers
      - Within each group includes are listed alphabetically with files in other folders being listed last.
      - Qt headers are in the Module/ClassName format.
      - KDE headers are in the ClassName format.
      - Uses of cassert replaced with Q_ASSERT.
      
      svn path=/trunk/KDE/kdegames/kpat/; revision=971585
      e42835cc
  11. 10 Dec, 2008 1 commit
  12. 28 Jun, 2008 1 commit
  13. 03 Jun, 2007 1 commit
  14. 16 Nov, 2006 1 commit
  15. 13 Nov, 2006 1 commit
  16. 10 Nov, 2006 3 commits
  17. 09 Nov, 2006 2 commits
  18. 08 Nov, 2006 2 commits
  19. 05 Nov, 2006 4 commits
  20. 04 Nov, 2006 6 commits
  21. 03 Nov, 2006 1 commit