<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib, branch 0.5</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.5</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.5'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-11-12T04:54:41Z</updated>
<entry>
<title>lib: Fix missing initialization of status field.</title>
<updated>2010-11-12T04:54:41Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T04:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7278383005de3a0d61ac3471162e7ef633d45076'/>
<id>urn:sha1:7278383005de3a0d61ac3471162e7ef633d45076</id>
<content type='text'>
This could have been a problematic bug. Fortuinately "gcc -O2" warns
about it.
</content>
</entry>
<entry>
<title>lib: Add two missing static qualifiers</title>
<updated>2010-11-12T04:53:21Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T04:53:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fe8eeaf4a576b4cad2ec4faee8d5e373118771f8'/>
<id>urn:sha1:fe8eeaf4a576b4cad2ec4faee8d5e373118771f8</id>
<content type='text'>
The debian packaging is nice enough to notice when we accidentally
leak private symbols to the public interface.
</content>
</entry>
<entry>
<title>Increment library version to 1.3.0</title>
<updated>2010-11-12T04:42:45Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T04:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d33dee5389e5d4a88c8504b1c94d2c9cb432fe52'/>
<id>urn:sha1:d33dee5389e5d4a88c8504b1c94d2c9cb432fe52</id>
<content type='text'>
For the addition of three functions:

	notmuch_message_get_filenames
	notmuch_message_tags_to_maildir_flags
	notmuch_message_maildir_flags_to_tags
</content>
</entry>
<entry>
<title>tags_to_maildir_flags: Fix to preserve existing, unsupported flags</title>
<updated>2010-11-12T00:36:02Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T00:36:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=96d99c383785dec67443ff1b45e2d2f8437398fa'/>
<id>urn:sha1:96d99c383785dec67443ff1b45e2d2f8437398fa</id>
<content type='text'>
This is to prevent notmuch from destroying any information the user
has encoded as flags in the maildir filename. Tests are also added to
the test suite to verify the documented behavior.
</content>
</entry>
<entry>
<title>notmuch_message_tags_to_maildir_flags: Do nothing outside of "new" and "cur"</title>
<updated>2010-11-11T22:32:17Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T22:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=95dd5fe5d7e9cd8169a6e3174ea27376acd92870'/>
<id>urn:sha1:95dd5fe5d7e9cd8169a6e3174ea27376acd92870</id>
<content type='text'>
Some people use notmuch with non-maildir files, (for example, email
messages in MH format, or else cool things like using sluk[*] to suck
down feeds into a format that notmuch can index).

To better support uses like that, don't do any renaming for files that
are not in a directory named either "new" or "cur".

[*] https://github.com/krl/sluk/
</content>
</entry>
<entry>
<title>lib: Be honest in the documentation of the maildir functions</title>
<updated>2010-11-11T12:51:55Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1ea0b8bfe164a0f7a3e750236b8aef9b5ab8917e'/>
<id>urn:sha1:1ea0b8bfe164a0f7a3e750236b8aef9b5ab8917e</id>
<content type='text'>
I had originally hoped for better semantics, such as doing nothing in
non-maildir directories, and preserving unknown maildir flags that
happen to be present.

We could still do those things, of course, but for now, remove them
from the documentation since the implementation does not do these
things yet.
</content>
</entry>
<entry>
<title>notmuch_message_tags_to_maildir_flags: Don't exit on failure to rename.</title>
<updated>2010-11-11T11:50:42Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T11:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=37a8096fdc0584567aab43a8bede7b32860a3517'/>
<id>urn:sha1:37a8096fdc0584567aab43a8bede7b32860a3517</id>
<content type='text'>
It is totally legitimate for a non-maildir directory to be named "new"
(and not have a directory next to it named "cur"). To support this
case at least, be silent about any rename failure.
</content>
</entry>
<entry>
<title>notmuch_message_tags_to_maildir_flags: Fix to rename multiple files</title>
<updated>2010-11-11T11:47:11Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T11:41:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=71a3201885d508f10ecd24a0887337e1624ffbf1'/>
<id>urn:sha1:71a3201885d508f10ecd24a0887337e1624ffbf1</id>
<content type='text'>
This function was documented as modifying every filename associated
with the message. Fix it to actually do that.
</content>
</entry>
<entry>
<title>notmuch_filenames_create: Take a reference to underlying filename list</title>
<updated>2010-11-11T11:40:19Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T11:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8480a0a00370f997a29ebf98560a799ece43d3f4'/>
<id>urn:sha1:8480a0a00370f997a29ebf98560a799ece43d3f4</id>
<content type='text'>
The notmuch_filenames_t object might easily outlive the original object
owning the filename list. So take a talloc reference to keep things safe.
</content>
</entry>
<entry>
<title>maildir_flags_to_tags: Avoid interpreting "no info" as "no flags set".</title>
<updated>2010-11-11T11:40:19Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T10:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=404db1de90f6e5a66c34077b38b18a39c955ece2'/>
<id>urn:sha1:404db1de90f6e5a66c34077b38b18a39c955ece2</id>
<content type='text'>
If a filename has no maildir info at all, (that is, it does not
contain the sequence ":2,"), we consider this distinct from a filename
with an empty maildir info, (the ":2," separator is present, but no
flags characters follow).

Specifically, we regard a missing info field as providing no
information, so tags will remain unchanged. On the other hand, an info
field that is present but has no flags set will cause various tags to
be cleared, (or in the case of "unread", added).

This fixes the "remove info" case of the maildir-sync tests in the
test suite.
</content>
</entry>
</feed>
