1. 03 Jun, 2016 3 commits
  2. 02 Jun, 2016 1 commit
  3. 01 Jun, 2016 1 commit
  4. 30 May, 2016 2 commits
  5. 25 May, 2016 1 commit
  6. 23 May, 2016 5 commits
  7. 22 May, 2016 5 commits
  8. 02 May, 2016 1 commit
  9. 29 Apr, 2016 4 commits
  10. 28 Apr, 2016 1 commit
    • Bram Schoenmakers's avatar
      Fix crash when completing/deleting items after an edit. · c3ef22af
      Bram Schoenmakers authored
      The crash occurs when using text-based identifiers and performing an edit on
      selected items (instead of the whole todo.txt file).
      
      If you edit the text of a child item (having a p tag), then the item is deleted
      using the TodoListBase.delete() instead of TodoList.delete(). But
      this messes up the dependency administration, still thinking that the removed
      todo item is still in the list. When you call the children of any todo item
      (part of the deletion/completion step), it will return a stale Todo item, whose
      number() can not be found anymore in the TodoListBase. That makes it crash.
      c3ef22af
  11. 25 Apr, 2016 4 commits
  12. 22 Apr, 2016 1 commit
  13. 21 Apr, 2016 2 commits
  14. 19 Apr, 2016 3 commits
  15. 18 Apr, 2016 1 commit
  16. 15 Apr, 2016 5 commits
    • Bram Schoenmakers's avatar
      Fix typo · 739a0631
      Bram Schoenmakers authored
      739a0631
    • Bram Schoenmakers's avatar
      899fa9b2
    • Bram Schoenmakers's avatar
      Show colors in the console · ad781585
      Bram Schoenmakers authored
      This is achieved using abstract colors for projects, contexts, etc.. The
      Color filter for the pretty printer has no knowledge of colors, it just
      marks a certain text as 'project color'. All this information is stored
      in the TopydoString. The CLI will convert the colored parts in the
      string with the corresponding ANSI codes, the column UI will convert the
      string to an appropriate markup for the Text widget.
      
      Also, palette items are now specified using an enum-like class
      (PaletteItem) to reduce hidden dependencies of the palette item names.
      
      Moreover, ConsoleWidget is now a urwid.Pile with Text widgets, instead
      of one single Text widget with all text. This also allows for doing
      operations on lines in the output in the future (mark a line and hit
      complete, for instance).
      ad781585
    • Bram Schoenmakers's avatar
      Let PrettyPrinter return a list of TopydoStrings · ddec35c2
      Bram Schoenmakers authored
      PrettyPrinter no longer outputs a string, but a TopydoString in case of a
      single todo item, or a list of TopydoStrings that may contain color
      information. Those who read the PrettyPrinter output should convert it to a
      string that can be displayed.
      ddec35c2
    • Bram Schoenmakers's avatar
      Embed colors in strings · 7e9f954c
      Bram Schoenmakers authored
      TopydoString is a string descendent that maintains information where
      colors should be applied in a string. A user interface can pass a
      function that transforms a color to a color representation that is
      relevant there. That way, the topydo library does not make any
      assumptions anymore on where colors should be applied.
      7e9f954c