1. 06 Jan, 2021 1 commit
  2. 05 Jan, 2021 1 commit
  3. 02 Jan, 2021 1 commit
  4. 13 Dec, 2020 1 commit
    • Nicolas Fella's avatar
      Port slicer plugin loading to KPluginLoader · 4404144f
      Nicolas Fella authored
      Loading plugins via KServiceTypeTrader is deprecated. Instead the
      plugins should embed their metadata, be installed in a well-known
      subdirectory of the plugin dir and loaded via
      KPluginLoader/KPluginMetaData.
      
      Any existing out-of-tree plugin would need to be adapted, otherwise it
      will not be loaded. The adjustment is easy however and I doubt there are
      actually any out-of-tree plugins.
      4404144f
  5. 05 Dec, 2020 1 commit
  6. 02 Dec, 2020 1 commit
  7. 20 Nov, 2020 7 commits
    • Bernd Schmidt's avatar
      Remove unused setMainComponent · 786c659b
      Bernd Schmidt authored
      786c659b
    • Bernd Schmidt's avatar
      f1164fbf
    • 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
      Sync the config once after loading · fc90d0f5
      Bernd Schmidt authored
      Previously this could potentially call fdatasync once per puzzle, which
      was pretty bad for loading times. That was exacerbated by the previous
      date comparison bug that caused the config to be regenerated at every
      start.
      fc90d0f5
    • 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
    • Bernd Schmidt's avatar
      Make the cache work · 6fc25040
      Bernd Schmidt authored
      There were two problems here: the QDateTime comparisons didn't return
      true for files with unchanged mtime.  Using the same conversion on both
      sides of the comparison fixes that.  As a result, startup now becomes
      much faster since we're not rebuilding the cache each time.  Since
      the format of the date has changed on-disk, this should be backwards
      compatible, causing a one-time rebuild.
      
      That exposed another problem that I was half-observing already before,
      which is that the PNG thumbnails weren't being restored properly.
      Converting the raw data to base64 when saving fixes that as well.
      6fc25040
    • Bernd Schmidt's avatar
      Merge only pieces with the same owner · 4a300fc4
      Bernd Schmidt authored
      This seems to solve a crash that sometimes occured when using piece holders.
      One of the symptoms was that when trying to call removeAll on one of the
      pieces to be removed, the return value from removeAll was zero, indicating that
      no piece was removed from the list - so it must have been in a different list.
      The code for merging pieces seems to have been unaware of the existence of
      multiple scenes.
      4a300fc4
  8. 08 Nov, 2020 1 commit
  9. 31 Oct, 2020 1 commit
  10. 23 Oct, 2020 1 commit
  11. 03 Oct, 2020 1 commit
  12. 19 Sep, 2020 1 commit
  13. 09 Sep, 2020 1 commit
  14. 01 Sep, 2020 1 commit
  15. 31 Aug, 2020 2 commits
  16. 05 Aug, 2020 1 commit
  17. 31 Jul, 2020 2 commits
  18. 23 Jul, 2020 1 commit
  19. 11 Jul, 2020 1 commit
  20. 10 Jul, 2020 1 commit
  21. 03 Jul, 2020 1 commit
  22. 28 Jun, 2020 1 commit
  23. 18 Jun, 2020 2 commits
  24. 17 Jun, 2020 2 commits
  25. 09 Jun, 2020 1 commit
  26. 08 Jun, 2020 1 commit
  27. 20 May, 2020 2 commits
  28. 11 May, 2020 2 commits