1. 27 Nov, 2016 1 commit
  2. 26 Nov, 2016 4 commits
  3. 24 Nov, 2016 5 commits
  4. 21 Nov, 2016 2 commits
  5. 18 Nov, 2016 3 commits
  6. 17 Nov, 2016 6 commits
  7. 16 Nov, 2016 3 commits
  8. 09 Nov, 2016 1 commit
  9. 08 Nov, 2016 2 commits
  10. 25 Oct, 2016 1 commit
  11. 24 Oct, 2016 1 commit
  12. 23 Oct, 2016 1 commit
  13. 10 Oct, 2016 1 commit
  14. 07 Oct, 2016 1 commit
    • Jacek Sowiński's avatar
      Close temporary file after saving to it · fc265004
      Jacek Sowiński authored
      This can solve the problems with file handle being occupied by python
      while editor is trying to save user changes from `topydo edit` on some
      operating systems.
      
      Potential fix for #141
      fc265004
  15. 30 Aug, 2016 1 commit
  16. 29 Aug, 2016 1 commit
  17. 22 Aug, 2016 1 commit
  18. 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
  19. 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
  20. 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