1. 03 Apr, 2016 1 commit
  2. 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
  3. 28 Dec, 2015 1 commit
  4. 13 Jun, 2015 1 commit
  5. 01 May, 2015 1 commit
    • Matt Lowe's avatar
      Reverted back to full punctuation · 95104df5
      Matt Lowe authored
      Reverted back. Right now it feels strange to only have simple search.
      Really you would want both simple search AND accurate search on, though
      this requires twice the checks for each result.
      95104df5
  6. 18 Apr, 2015 1 commit
  7. 15 Apr, 2015 2 commits
    • Fabio Bas's avatar
      Speed up deck editor filtering · eb6d067a
      Fabio Bas authored
       * card: cache simpleName for each card
       * deck editor: remove double comparation of searched term with card
      name when sorting
      eb6d067a
    • Matt Lowe's avatar
      Removed check · 2e5ecd84
      Matt Lowe authored
      When searching for a card the line edit will not be empty, so this check
      is not needed. The performance when the line edit IS empty will take a
      slight hit, but you really want additional performance when searching,
      not when the line edit is empty.
      
      Removing will increase performance.
      2e5ecd84
  8. 14 Apr, 2015 1 commit
    • Matt Lowe's avatar
      Simple name searching on by default · 778ad8de
      Matt Lowe authored
      Previously would try to match the card name, if nothing is found, then
      we would try again with the simple name.
      
      I have now made it only the simple name version. We do not need to
      perform the first check. Should help a little with performance.
      778ad8de
  9. 12 Apr, 2015 3 commits
  10. 09 Apr, 2015 1 commit
  11. 08 Apr, 2015 1 commit
    • Matt Lowe's avatar
      Ignore punctuation in card search · b27854e4
      Matt Lowe authored
      It is awkward to have to use precise punctuation when searching for
      cards. Planeswalkers and legendary creatures often have "," in the name
      and you have to enter it.
      
      This commit means you no longer need to do that.
      
      + Can use " " in place of "-" (example: Wilt-Leaf Liege)
      + Can use "" in place of non word chars (Example: Hero's Downfall and
      Ajani, Caller of the Pride)
      b27854e4
  12. 30 Mar, 2015 1 commit
  13. 10 Mar, 2015 1 commit
    • Matt Lowe's avatar
      Re-added some search and filter code · b91bab83
      Matt Lowe authored
      I had previously removed some filtering code that would allow users to
      filter cards using our filtering tools. This functionality has now been
      re-added.
      b91bab83
  14. 03 Mar, 2015 2 commits
    • poixen's avatar
      Removed comments · cc6b826c
      poixen authored
      cc6b826c
    • Matt Lowe's avatar
      Fixed card search · b5dd7a42
      Matt Lowe authored
      Card search will now order the following way:
      
      1. Exact match at top
      2. Exact match with preceding values sorted lexically.
      3. Match contained in word sorted lexically
      b5dd7a42
  15. 25 Jun, 2014 1 commit
  16. 24 Jun, 2014 1 commit
  17. 25 Mar, 2014 1 commit
  18. 11 Feb, 2014 1 commit
  19. 26 Jan, 2014 1 commit
    • sylvanbasilisk's avatar
      reverted back to original deck editor layout but including filtertree · c786e180
      sylvanbasilisk authored
      the original layout is actually more space efficient if using CardFrame
      instead of CardInfoWidget and reducing the size of the deck editor
      toolbar.
      
      this commit also removes the old search feature by removing the search
      button and the clear search button. the clear search menu item is left
      in place, however it now clears the filtertree.
      
      finally, the stretch factor for the right frame in the main layout was
      reduced to zero so that the card database gets priority for extra space.
      this makes more sense because the deck editor does not actually need
      very much horizontal space.
      c786e180
  20. 22 Jan, 2014 1 commit
  21. 21 Jan, 2014 1 commit
  22. 07 Feb, 2013 1 commit
  23. 17 May, 2012 1 commit
  24. 06 Apr, 2012 1 commit
  25. 05 Apr, 2012 1 commit
  26. 28 Feb, 2011 1 commit
  27. 27 Aug, 2010 1 commit
  28. 20 Dec, 2009 2 commits
  29. 17 Oct, 2009 1 commit
  30. 12 Oct, 2009 1 commit
  31. 11 Jul, 2009 1 commit
  32. 19 Jun, 2009 1 commit
  33. 02 Jun, 2009 1 commit
  34. 07 Apr, 2009 1 commit
  35. 04 Apr, 2009 1 commit