1. 30 Aug, 2016 1 commit
  2. 29 Aug, 2016 1 commit
  3. 22 Aug, 2016 1 commit
  4. 20 Aug, 2016 1 commit
    • Jacek Sowiński's avatar
      Properly unmark items when resetting state · d8fa2d83
      Jacek Sowiński authored
      After introducing cache for TodoWidget objects, widgets highlighted with
      'mark' action were not unmarked after 'reset' action and they reappeared
      highlighted ("marked") after reverting `do` or `delete` commands.
      d8fa2d83
  5. 01 Aug, 2016 1 commit
    • Bram Schoenmakers's avatar
      Wipe the widget cache at midnight · 0774ad55
      Bram Schoenmakers authored
      This serves two purposes:
      
      * Relative dates and progress colors are shown correctly on the next day
      * Stale cached items get wiped at least once a day (for those who continiously
        run this mode)
      0774ad55
  6. 27 Jul, 2016 3 commits
    • Bram Schoenmakers's avatar
      Fix crash when a widget is cached with an old Todo object · 87bfda02
      Bram Schoenmakers authored
      When editing one or more todo items, some items may not have changed, therefore
      having the exact same source text. The EditCommand still deletes the Todo
      instance and creates a new one and puts it in the todo list. But the widget
      cache only looked at the source text, found a widget from before the edit and
      will use it. But the widget still has a reference to the old Todo instance.
      When executing an action on it (e.g. mark it as complete), the TodoList doesn't
      remember that todo item, which results in a crash.
      
      Fixed by updating the reference to the latest Todo instance when the sources
      are equal but the instances are not.
      87bfda02
    • Bram Schoenmakers's avatar
    • Bram Schoenmakers's avatar
      Cache TodoWidgets to improve performance · 772372e9
      Bram Schoenmakers authored
      Having hundreds of todo items slows down the column UI quite a lot when doing
      an update. An update basically throws away all widgets and creates them from
      scratch. That is quite a waste when only one item has changed.
      
      Instead, keep all widgets in a cache, retrievable by the todo's raw text. When
      the raw text changes, a new widget is constructed.
      772372e9
  7. 26 Jul, 2016 1 commit
  8. 25 Jul, 2016 2 commits
  9. 23 Jul, 2016 1 commit
  10. 22 Jul, 2016 6 commits
  11. 08 Jul, 2016 1 commit
  12. 03 Jun, 2016 3 commits
  13. 02 Jun, 2016 1 commit
  14. 01 Jun, 2016 1 commit
  15. 30 May, 2016 2 commits
  16. 25 May, 2016 1 commit
  17. 23 May, 2016 5 commits
  18. 22 May, 2016 5 commits
  19. 02 May, 2016 1 commit
  20. 29 Apr, 2016 2 commits