<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/tag-util.c, branch 0.25</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.25</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.25'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-06-25T12:38:22Z</updated>
<entry>
<title>remove ineffective assignments</title>
<updated>2017-06-25T12:38:22Z</updated>
<author>
<name>Piotr Trojanek</name>
<email>piotr.trojanek@gmail.com</email>
</author>
<published>2017-06-16T22:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=410b96080ceec15ced70e684115f604380c5b4f6'/>
<id>urn:sha1:410b96080ceec15ced70e684115f604380c5b4f6</id>
<content type='text'>
Detected by cppcheck.
</content>
</entry>
<entry>
<title>fix leaks due to missing invocations of va_end</title>
<updated>2017-06-25T12:35:23Z</updated>
<author>
<name>Piotr Trojanek</name>
<email>piotr.trojanek@gmail.com</email>
</author>
<published>2017-06-16T22:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e9d73f90a6d3945b7ebda9d95ec719e0ba0c9756'/>
<id>urn:sha1:e9d73f90a6d3945b7ebda9d95ec719e0ba0c9756</id>
<content type='text'>
As the Linux man page states: "Each invocation of va_start() must be
matched by a corresponding invocation of va_end() in the same
function." Detected by cppcheck.
</content>
</entry>
<entry>
<title>minor whitespace cleanups</title>
<updated>2017-06-25T12:32:08Z</updated>
<author>
<name>Piotr Trojanek</name>
<email>piotr.trojanek@gmail.com</email>
</author>
<published>2017-06-16T22:50:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a17eb162ee15e41366ca327250c3935da2df80ed'/>
<id>urn:sha1:a17eb162ee15e41366ca327250c3935da2df80ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cli: add missing \n in error message</title>
<updated>2014-03-06T11:46:27Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-03-04T16:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=735cbb8719068c4741ed0a4f5ea68f2ed31b7009'/>
<id>urn:sha1:735cbb8719068c4741ed0a4f5ea68f2ed31b7009</id>
<content type='text'>
The error messages returned by illegal_tag() don't contain newlines.
</content>
</entry>
<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>tag-util: move out 'tag' command-line check</title>
<updated>2013-06-29T17:36:07Z</updated>
<author>
<name>Peter Wang</name>
<email>novalazy@gmail.com</email>
</author>
<published>2013-06-23T04:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e8efa11da90fa47adcbc489638320d61ac98391a'/>
<id>urn:sha1:e8efa11da90fa47adcbc489638320d61ac98391a</id>
<content type='text'>
Move an error condition specific to the 'tag' command out of
parse_tag_command_line so that parse_tag_command_line can be used for
the forthcoming 'insert' command.
</content>
</entry>
<entry>
<title>cli: make caller check tag count in parse_tag_command_line</title>
<updated>2013-03-30T22:33:40Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-03-09T14:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a6822eccaca773aa03473bca490618e30dac24ca'/>
<id>urn:sha1:a6822eccaca773aa03473bca490618e30dac24ca</id>
<content type='text'>
</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-util: factor out rules for illegal tags, use in parse_tag_line</title>
<updated>2013-01-07T02:57:41Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-25T19:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e13e2591470f849c86d410f50ec8103d2a5daf5b'/>
<id>urn:sha1:e13e2591470f849c86d410f50ec8103d2a5daf5b</id>
<content type='text'>
This will allow us to be consistent between batch tagging and command
line tagging as far as what is an illegal tag.
</content>
</entry>
</feed>
