Permalink
Switch branches/tags
Nothing to show
Commits on Aug 19, 2010
  1. Add missing '@' tag marker in serialization code.

    brandenburg committed Aug 19, 2010
    The '@' sign was missing if a tag had a parameter.
Commits on Jul 28, 2010
  1. Support formatting only a subset of the items.

    brandenburg committed Jul 28, 2010
    Combine a select query with rendering the TaskPaper object to a string.
    
    For example, consider the following example:
    
        td = TaskPaper.parse(open('/path/to/my/todo-list')
        print td.format(lambda nd: 'today' in nd.tags)
    
    This will show all items tagged with @today _and their parents_,
    just like the TaskPaper GUI will do when filtering by a tag.
  2. Rewrite library.

    brandenburg committed Jul 28, 2010
    Improvements:
    - shorter; less code duplication
    - unicode clean
    - simpler interface
    - flexible iteration interface
    - less chance to create an inconsistent data structure
      (e.g., have a note that ends with a ':')
  3. Add a convenience delete() method to Node

    brandenburg committed Jul 28, 2010
    This can be used together with select:
    
    for node in todos['done']:
    	node.delete()
  4. Add generic 'search-by' method.

    brandenburg committed Jul 28, 2010
    Useful to find nodes based on arbitrary constraints.
  5. add drop_tag() to remove tags

    brandenburg committed Jul 28, 2010
    Implement a safe delete that works even if a given
    tag is not present.
  6. bugfix: don't crash in add_tag

    brandenburg committed Jul 28, 2010
    The tags are stored in a dict now, which does not
    have .append().
Commits on Apr 21, 2010
  1. fixed parsing strings

    Greg Allen
    Greg Allen committed Apr 21, 2010
  2. added __init__.py

    Greg Allen
    Greg Allen committed Apr 21, 2010
Commits on Apr 5, 2010
  1. verified changing tag

    Greg Allen
    Greg Allen committed Apr 5, 2010
  2. better print for each node type

    Greg Allen
    Greg Allen committed Apr 5, 2010
  3. filter by tag, changed tag to be dictionary with name and value, adde…

    Greg Allen
    Greg Allen committed Apr 5, 2010
    …d doctests
Commits on Mar 29, 2010
  1. added write_tree to output TaskPaper to file

    Greg Allen
    Greg Allen committed Mar 29, 2010
  2. cleaned up whitespace

    Greg Allen
    Greg Allen committed Mar 29, 2010
Commits on Aug 29, 2009
  1. Fixed print_tree to print the node and its descendents.

    mattd committed Aug 29, 2009
    Previously, print_tree only printed the descendents, which was less
    useful and not intuitive. Also, TaskPaper objects are now counted as a
    node and may be passed to print_tree as an argument. This is a first
    step towards enabling parsing of directories containing multiple
    taskpaper documents in future releases.
Commits on Aug 26, 2009
  1. first commit

    mattd committed Aug 26, 2009