1. 23 May, 2016 3 commits
    • Bram Schoenmakers's avatar
      Fix crash when completing a child item after a 'dep add' · 5d144d10
      Bram Schoenmakers authored
      When doing a 'dep add' command, the parent lookup dictionary was not kept up to
      date. Therefore there was an edge in the dependengy graph that did not exist in
      the parent dict. When the child item is completed, then its dependency ID is
      looked up, but it doesn't exist, resulting in a crash.
      
      By adding the _add_edge method, it should be easier to keep the edges of the
      graph and the content of the dictionary in sync.
      5d144d10
    • Bram Schoenmakers's avatar
      Merge pull request #129 from rameshg87/append_processing · 6ee462b6
      Bram Schoenmakers authored
      Relative dates and dependencies in append cmd
      6ee462b6
    • Ramakrishnan G's avatar
      Relative dates and dependencies in append cmd · a84eb7ea
      Ramakrishnan G authored
      This commit adds support for relative dates and
      dependencies in the append command. Relative dates
      in due and start dates will be automatically converted
      and dependenices will be recomputed.
      
      When appending due/start dates, if the command already
      has due or start dates, it will be replaced.
      a84eb7ea
  2. 22 May, 2016 5 commits
  3. 02 May, 2016 1 commit
  4. 29 Apr, 2016 4 commits
  5. 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
  6. 25 Apr, 2016 4 commits
  7. 22 Apr, 2016 1 commit
  8. 21 Apr, 2016 2 commits
  9. 19 Apr, 2016 3 commits
  10. 18 Apr, 2016 1 commit
  11. 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
  12. 13 Apr, 2016 2 commits
  13. 12 Apr, 2016 3 commits
  14. 11 Apr, 2016 2 commits
  15. 10 Apr, 2016 1 commit
  16. 10 Mar, 2016 2 commits