<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings, branch 0.6</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.6</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.6'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-06-30T10:26:16Z</updated>
<entry>
<title>python: Do not implicitely call maildir_flags_to_tags etc</title>
<updated>2011-06-30T10:26:16Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-24T06:44:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=76399e5f7340e2fefccbd294227976b06ae36e17'/>
<id>urn:sha1:76399e5f7340e2fefccbd294227976b06ae36e17</id>
<content type='text'>
In order to remain consistent with the underlying C API, we do not
automatically synchronize notmuch tags and maildir flags anymore.

The underlying functions Message.maildir_flags_to_tags and
Message.tags_to_maildir_flags still exist and are available to the user.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
(cherry picked from commit e59eaa5ddd2c23742c95e2acd34673b58ea34d2d)
</content>
</entry>
<entry>
<title>Do not import notmuch in setup.py.</title>
<updated>2011-06-20T07:45:43Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-06-19T19:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c39b492c19ae667b2db2205b113d8378ddcb9093'/>
<id>urn:sha1:c39b492c19ae667b2db2205b113d8378ddcb9093</id>
<content type='text'>
Importing notmuch loads the notmuch shared library. When building
without a system install of notmuch, this requires e.g. setting
LD_LIBRARY_PATH for building and fails completely for cleaning.
</content>
</entry>
<entry>
<title>Simplify (&amp; fix) Message().__str__()</title>
<updated>2011-06-16T15:33:47Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-16T15:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=12d6f90e77d975be721b6878bf6bbf914d65a369'/>
<id>urn:sha1:12d6f90e77d975be721b6878bf6bbf914d65a369</id>
<content type='text'>
We were still using len(self.get_replies()) for the __str__ summary of a
mail, but 1) len(Messages()) has just gone away 2) the number of replies
can not be retrieved when we got the message via search_messages()
anyway, and 3) it is likely quite expensive to pull all replies for all
messages that we display a summary of.

So we fix this by simplifying str(Message()) to omit the number of replies.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>python: Bulletproof Database() path parameter</title>
<updated>2011-06-16T13:51:13Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-16T13:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=995303c21bb5012b7eeaa1fe5fd15ae175bfa1e6'/>
<id>urn:sha1:995303c21bb5012b7eeaa1fe5fd15ae175bfa1e6</id>
<content type='text'>
libnotmuch (and python) crashed when I accidently passed in an invalid
value as path argument to the Database() instantiation.

Therefore, we now check via assert that the handed in path is actually a
real string (or None).

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>python: Improve API documentation</title>
<updated>2011-06-16T13:41:48Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-16T13:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0817f0e168c8212200fc6624aeaac77318a9bc35'/>
<id>urn:sha1:0817f0e168c8212200fc6624aeaac77318a9bc35</id>
<content type='text'>
Various API doc cleanups and improvements. No code change.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>Implement Message.tags_to_maildir_flags</title>
<updated>2011-06-16T12:41:02Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-16T12:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d8c0e0c72dd19b50d51f07c70b880f21d69c2590'/>
<id>urn:sha1:d8c0e0c72dd19b50d51f07c70b880f21d69c2590</id>
<content type='text'>
and also maildir_flags_to_tags. The methods will be invoked by
db.add_message() and also (if not overridden via function parameter) by
add|remove_tag and remove_all_tags. Documentation on the usage has been
updated.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>python: Improve documentation</title>
<updated>2011-06-15T19:36:26Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-15T19:36:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b4049316cc3bc933453268ed8d3e89b1ee0098a1'/>
<id>urn:sha1:b4049316cc3bc933453268ed8d3e89b1ee0098a1</id>
<content type='text'>
Improve the documentation with regard to the new __cmp__ and __hash__
methods and the implications of doing set arithmetic with Messages()
objects.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>python: Implement Message.__cmp__ and __hash__</title>
<updated>2011-06-15T13:05:47Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-15T13:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4557af30649e7fdf11b8194e405cb272f13887da'/>
<id>urn:sha1:4557af30649e7fdf11b8194e405cb272f13887da</id>
<content type='text'>
We can now do: if msg1 == msg2, and we can use set arithmetic on
Messages():
  s1, s2= msgs1, msgs2
  s1.union(s2)
  s2 -= s1

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>python: Remove Messages().__len__</title>
<updated>2011-06-15T12:25:33Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-15T12:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8866a89e3cff46dbd791a1385ca5c800a5c9091e'/>
<id>urn:sha1:8866a89e3cff46dbd791a1385ca5c800a5c9091e</id>
<content type='text'>
Messages.__len__() exhausted the iterator and list() inherently calls
len(), so we could not invoke list(msgs) without getting errors. Fix
this by implementing __nonzero__ but removing __len__ on Messages.

Use Query.count_messages() or len(list(msgs)) if you need to know the
number.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
<entry>
<title>bindings/python: Bump bindings version to 0.6</title>
<updated>2011-06-02T15:44:23Z</updated>
<author>
<name>Sebastian Spaeth</name>
<email>Sebastian@SSpaeth.de</email>
</author>
<published>2011-06-02T15:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ae4e7d88be66ab7b24d96b7091ed56aa7e97ccc'/>
<id>urn:sha1:6ae4e7d88be66ab7b24d96b7091ed56aa7e97ccc</id>
<content type='text'>
To match the upcoming release, and with the updated API to match the
current libnotmuch, bump the python version number (notmuch.__VERSION__)
to 0.6.

Signed-off-by: Sebastian Spaeth &lt;Sebastian@SSpaeth.de&gt;
</content>
</entry>
</feed>
