1. 15 Mar, 2016 1 commit
    • Fabio Bas's avatar
      Rework "paths" settings loading and card database loading · 1e3fb6c6
      Fabio Bas authored
       * main.cpp: removed path checking and db loading
       * card database: merge card loading methods into a single one
       * settings cache: take care of returning safe paths for decks,
      replays, etc..
       * main window: if db loading fails (eg. first run), propose to run
      oracle
      
      NSIS: propose to run cockatrice instead of oracle
      
      Rework card database loading
      
       * Move carddatabase-related method out of deckeditor tab
       * Load cards in another thread and render them progressively
       * Optimize database reload after enabled sets change
      
      Fix deck editor column width
      
       * removed the noCard hack.
       * getCard() no more creates cards instead of just returning existing
      ones
       * Fix the “edit tokens” dialog.
       * PictureLoader: avoid trying to download twice the same card
       * PictureLoader: correct return of card background
       * AbstractCardItem: avoid recalculating card color at every paint
      
      Use a different file to save custom tokens
      
      Misc required improvements
      
       * Use nullptr;
       * Refactor CardInfoWidget to use CardInfoPicture and CardInfoText
      instead of duplicating code;
       * Added CardInfo::getColorChar()
       * Fixed some potential crashes
       * removed dead code related to CardInfoWidget
       * Don't require a restart after adding a new custom sets file
       * Bump CMake requirements to 3.1
      1e3fb6c6
  2. 15 Jan, 2016 1 commit
  3. 14 Jan, 2016 1 commit
  4. 03 Sep, 2015 1 commit
  5. 27 Aug, 2015 3 commits
  6. 23 Aug, 2015 2 commits
  7. 08 Jul, 2015 2 commits
  8. 07 Jul, 2015 1 commit
  9. 18 Apr, 2015 1 commit
  10. 21 Feb, 2015 1 commit
  11. 13 Feb, 2015 1 commit
  12. 08 Feb, 2015 1 commit
  13. 04 Feb, 2015 3 commits
  14. 02 Feb, 2015 1 commit
    • Fabio Bas's avatar
      Oracle: support AllSets.json.zip; Fix #624 · 781f8a66
      Fabio Bas authored
      Imported unzip methods from OSDaB-Zip project;
      Adds a soft dependency on zlib to oracle; if lib if not found, oracle
      will continue to compile and work but without zip support.
      781f8a66
  15. 27 Jan, 2015 1 commit
  16. 25 Jan, 2015 1 commit
  17. 09 Nov, 2014 1 commit
  18. 15 Sep, 2014 2 commits
  19. 15 Aug, 2014 1 commit
  20. 07 Aug, 2014 2 commits
  21. 05 Aug, 2014 1 commit
  22. 31 Jul, 2014 1 commit
    • Peng Liu's avatar
      Before: If default is checked, Oracle will always save to the AppData path. · 8be4a14f
      Peng Liu authored
      If a path to cards.xml is set, Oracle will update that cards.xml.
      If Oracle is run before a path to cards.xml is set, if default is checked, cards.xml will be saved on the AppData path. Furthermore, this path will be set as the cards.xml path for both Oracle and Cockatrice.
      If Oracle is run before a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path and this path will be set as the cards.xml path for both Oracle and Cockatrice.
      If a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path but this path will NOT be set as the cards.xml path for either Oracle or Cockatrice. This allows people who already have a cards.xml (which may be customized), to still obtain clean copies of cards.xml through Oracle without overwriting their own
      8be4a14f
  23. 24 Jul, 2014 1 commit
  24. 25 Jun, 2014 1 commit
  25. 24 Jun, 2014 1 commit
  26. 21 Jun, 2014 5 commits
  27. 19 Jun, 2014 1 commit