1. 07 Feb, 2015 2 commits
    • Bram Schoenmakers's avatar
      Eliminate possibility for multiple todos having the same id: value. · 2a9be13f
      Bram Schoenmakers authored
      When there is a todo in the list with an id: tag but no child todos,
      that value could be reused when creating a new dependency between two
      (unrelated) items.
      
      This is because the value of the dangling parent todo is not present in
      the dependency graph, but the function generating a new ID depended on
      that.
      
      Instead, simply iterate over all available todo items to check whether
      the proposed value already exists somewhere.
      2a9be13f
    • Bram Schoenmakers's avatar
      Handle absence or invalid recurrence patterns more gracefully. · e664ac52
      Bram Schoenmakers authored
      When completing a command, show a warning when a 'rec' tag has an
      invalid recurrence pattern.
      
      Fixes issue #6.
      
      Conflicts:
      	topydo/lib/DoCommand.py
      e664ac52
  2. 06 Feb, 2015 1 commit
  3. 04 Feb, 2015 10 commits
  4. 24 Jan, 2015 1 commit
    • Bram Schoenmakers's avatar
      View can use any printer, except when pretty_print() is called. · bcf68647
      Bram Schoenmakers authored
      Moreover, make print_todo of PrettyPrinter have the same signature as
      the Printer class. Clients must use add_filter to specify any additional
      filters when printing.
      
      The Command class holds a PrettyPrinter instance (rather than a generic
      printer). This means that add_filter is called, all future invocations
      of print_todo will apply these filters. This is not always desired, so
      in those cases a subcommand should instantiate its own printer (this
      happens for instance at the DoCommand).
      bcf68647
  5. 23 Jan, 2015 3 commits
  6. 21 Jan, 2015 1 commit
  7. 15 Jan, 2015 9 commits
  8. 14 Jan, 2015 3 commits
  9. 12 Jan, 2015 4 commits
  10. 11 Jan, 2015 5 commits
  11. 10 Jan, 2015 1 commit