1. 05 Dec, 2020 1 commit
  2. 20 Nov, 2020 2 commits
    • Bernd Schmidt's avatar
      Update scene after removing pieces from it · 923f24da
      Bernd Schmidt authored
      This may well be a Qt bug, but without this, when moving pieces into a
      holder, it often does not disappear from its current position.
      923f24da
    • Bernd Schmidt's avatar
      First pass of removing threading · 9b706bf8
      Bernd Schmidt authored
      My guess would be that this was an optimization for very slow load times,
      which I've also seen.  But the reason for these are repeated fdatasync
      calls which are completely unnecessary. By removing the threading, we can
      actually more easily optimize this in a followup patch.
      
      This is probably not a complete removal of all the threading-related cruft.
      I suspected a number of mutexes are no longer necessary now, but that can
      be left for later.
      9b706bf8
  3. 31 Dec, 2019 1 commit
  4. 02 Jul, 2019 1 commit
  5. 11 Jan, 2019 1 commit
  6. 10 Dec, 2018 1 commit
  7. 30 Nov, 2018 1 commit
  8. 14 Sep, 2018 1 commit
  9. 09 Sep, 2017 1 commit
    • Christian Ehrlicher's avatar
      Make sure that no interaction is active before clearing the scene · 39cf2883
      Christian Ehrlicher authored
      Summary:
      When the scene/views are cleared and there is still an interaction active, palapeli will crash.
      This happens to due the fact that the interactors are holding pointers to pieces which are cleared
      by Scene::clearPieces()
      BUG 336075
      
      Test Plan:
      As described in the bug description: Create a shortcut for restarting the puzzle, select a piece
      and move it around. In the meantime restart the puzzle -> no more crash
      
      Reviewers: #kde_games
      
      Subscribers: #kde_games
      
      Differential Revision: https://phabricator.kde.org/D7637
      39cf2883
  10. 27 Aug, 2017 1 commit
    • Christian Ehrlicher's avatar
      Properly show/hide preview dialog · 851870fb
      Christian Ehrlicher authored
      Summary:
      The visiblity of the preview dialog was not synced with the preview action
      in the main window. Also the preview image was not created when then same
      puzzle was opened after going back to the overview.
      Some c++11 changed (using nullptr instead 0)
      Don't leak PuzzleComponent in GamePlay::loadPreview()
      
      Test Plan:
      - make sure to have a clean environment (e.g. no saved puzzles)
                 - open a puzzle, activate preview
                 - go back to overview
                 - open another puzzle -> no preview and button state is unchecked
                 - go back to overview
                 - open first puzzle -> preview is open and button state is checked
                 - go back to overview
                 - open puzzle again -> preview does show something (instead 'Image is not available')
      
      Reviewers: #kde_games, ltoscano
      
      Reviewed By: ltoscano
      
      Subscribers: ltoscano, #kde_games
      
      Differential Revision: https://phabricator.kde.org/D7560
      851870fb
  11. 25 Aug, 2017 1 commit
    • Christian Ehrlicher's avatar
      Fix for QStandardPaths porting · 90051d7c
      Christian Ehrlicher authored
      Summary:
      Since QStandardPaths::locate() only returns a valid filename when
      the file exists, we have to make sure to not pass an empty
      filename to KConfig when trying to restore / save a puzzle
      
      Test Plan:
      1. remove ~/.local/share/palapeli (very important!)
                 2. Start a puzzle, quit palapeli
                 3. Start palapeli and proceed with the last puzzle
                    -> puzzle is loaded correctly
                 4. Try to restart puuzle (after finished or within)
                    -> all pieces are placed randomly
      
      Reviewers: #kde_games, ltoscano
      
      Reviewed By: ltoscano
      
      Subscribers: ltoscano, #kde_games
      
      Differential Revision: https://phabricator.kde.org/D7502
      90051d7c
  12. 22 Aug, 2017 1 commit
  13. 28 Oct, 2015 1 commit
  14. 27 Dec, 2014 3 commits
  15. 07 Dec, 2014 1 commit
  16. 05 Dec, 2014 1 commit
  17. 27 Jun, 2014 1 commit
  18. 06 Apr, 2014 1 commit
  19. 04 Apr, 2014 2 commits
  20. 01 Apr, 2014 1 commit
  21. 30 Mar, 2014 2 commits
  22. 25 Mar, 2014 2 commits
  23. 28 Feb, 2014 6 commits
  24. 27 Feb, 2014 4 commits
  25. 24 Feb, 2014 1 commit
  26. 23 Feb, 2014 1 commit