<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/tag-util.h, branch 0.19</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.19</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.19'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-03-06T11:41:38Z</updated>
<entry>
<title>cli: export function for illegal tag checking</title>
<updated>2014-03-06T11:41:38Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-02-23T16:55:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=07dd9d53cb7d92dc42ef697edb65e4c491b65928'/>
<id>urn:sha1:07dd9d53cb7d92dc42ef697edb65e4c491b65928</id>
<content type='text'>
This lets us check for forbidden tags consistently across the cli. No
functional changes.
</content>
</entry>
<entry>
<title>tag-util: do not reset list in parse_tag_command_line</title>
<updated>2013-06-29T17:36:23Z</updated>
<author>
<name>Peter Wang</name>
<email>novalazy@gmail.com</email>
</author>
<published>2013-06-23T04:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f00c925bd10c024d5b9f88d8903c7a0d14e9cc6a'/>
<id>urn:sha1:f00c925bd10c024d5b9f88d8903c7a0d14e9cc6a</id>
<content type='text'>
The 'insert' command will be better served if parse_tag_command_line
modifies a pre-populated list (of new.tags) instead of clobbering the
list outright.  The sole existing caller, notmuch_tag_command, is
unaffected by this change.
</content>
</entry>
<entry>
<title>notmuch-tag.c: convert to use tag-util</title>
<updated>2013-01-08T00:42:21Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-25T19:42:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e9b6e464745fdebd4c6367dfc731859fe390b531'/>
<id>urn:sha1:e9b6e464745fdebd4c6367dfc731859fe390b531</id>
<content type='text'>
Command line parsing is factored out into a function
parse_tag_command_line in tag-util.c.

There is some duplicated code eliminated in tag_query, and a bunch of
translation from using the bare tag_op structs to using that tag-utils
API.
</content>
</entry>
<entry>
<title>tag-utils: use the tag_opt_list_t as talloc context, if possible.</title>
<updated>2012-12-23T03:13:15Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-16T19:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ba4e8565294fc0a197b4c08082ad912c31888008'/>
<id>urn:sha1:ba4e8565294fc0a197b4c08082ad912c31888008</id>
<content type='text'>
The memory usage discipline of tag_op_list_t is never to free the
internal array of tag operations before freeing the whole list, so it
makes sense to take advantage of hierarchical de-allocation by talloc.

By not relying on the context passed into tag_parse_line, we can allow
tag_op_list_t structures to live longer than that context.
</content>
</entry>
<entry>
<title>tag-util.[ch]: New files for common tagging routines</title>
<updated>2012-12-09T17:33:34Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-11-13T01:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fb50cc41fe6f508118697d65a44e8f742a466ca0'/>
<id>urn:sha1:fb50cc41fe6f508118697d65a44e8f742a466ca0</id>
<content type='text'>
These are meant to be shared between notmuch-tag and notmuch-restore.

The bulk of the routines implement a "tag operation list" abstract
data type act as a structured representation of a set of tag
operations (typically coming from a single tag command or line of
input).
</content>
</entry>
</feed>
