<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/message.cc, branch 0.31.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.31.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.31.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2020-07-28T11:47:58Z</updated>
<entry>
<title>lib: replace use of static_cast for writable databases</title>
<updated>2020-07-28T11:47:58Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-26T23:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a09293793f43b93b7008dd361b192199ad528fca'/>
<id>urn:sha1:a09293793f43b93b7008dd361b192199ad528fca</id>
<content type='text'>
static_cast is a bit tricky to understand and error prone, so add a
second pointer to (potentially the same) Xapian database object that
we know has the right subclass.
</content>
</entry>
<entry>
<title>lib: encapsulate the use of notmuch_database_t field 'mode'</title>
<updated>2020-07-28T11:47:58Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-26T23:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d7d4c729ab3b74eaaebe64cb8c7383b0ea06cec0'/>
<id>urn:sha1:d7d4c729ab3b74eaaebe64cb8c7383b0ea06cec0</id>
<content type='text'>
The plan is to change the underlying representation.
</content>
</entry>
<entry>
<title>lib: fix exception messages for n_m_message_*</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-22T11:19:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e9867b818b75216427c7190f67354959dfb914db'/>
<id>urn:sha1:e9867b818b75216427c7190f67354959dfb914db</id>
<content type='text'>
The original generic handler had an extra '%s' in the format
string. Update tests that failed to catch this because the template to
print status strings checked 'stat', which was not set.
</content>
</entry>
<entry>
<title>lib: fix return value for n_m_reindex</title>
<updated>2020-07-20T11:54:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-09T00:17:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=765ca7bc08f83a3c0f9ebffe58dab03634e45f37'/>
<id>urn:sha1:765ca7bc08f83a3c0f9ebffe58dab03634e45f37</id>
<content type='text'>
Also update the documentation for the behaviour of n_m_get_thread_id
that this fix relies on.
</content>
</entry>
<entry>
<title>lib: handle xapian exception in n_m_remove_all_tags</title>
<updated>2020-07-20T11:54:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-09T00:17:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a2b90dc084c0224e56c1e63773048545788c7ad4'/>
<id>urn:sha1:a2b90dc084c0224e56c1e63773048545788c7ad4</id>
<content type='text'>
At least the exception we already catch should be reported properly.
</content>
</entry>
<entry>
<title>lib: add notmuch_message_has_maildir_flag_st</title>
<updated>2020-07-20T11:54:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-09T00:17:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b7572ceb143773a988a4852ac3b7c85254009d0e'/>
<id>urn:sha1:b7572ceb143773a988a4852ac3b7c85254009d0e</id>
<content type='text'>
Initially the new function is mainly tested indirectly via the
wrapper.
</content>
</entry>
<entry>
<title>test: add regression test for notmuch_message_has_maildir_flag</title>
<updated>2020-07-20T11:45:15Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-09T00:17:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b21f0fcb6abc4cf399c708c45e2e33a39a820a9e'/>
<id>urn:sha1:b21f0fcb6abc4cf399c708c45e2e33a39a820a9e</id>
<content type='text'>
This passes the NULL return inside _ensure_maildir_flags does not
break anything. Probably this should be handled more explicitely.
</content>
</entry>
<entry>
<title>lib: catch exceptions in n_m_get_flag, provide n_m_get_flag_st</title>
<updated>2020-07-18T12:52:27Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-04T15:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2d04ed263121d970cd24a8c26ac924425a7ae3d2'/>
<id>urn:sha1:2d04ed263121d970cd24a8c26ac924425a7ae3d2</id>
<content type='text'>
It's not very nice to return FALSE for an error, so provide
notmuch_message_get_flag_st as a migration path.

Bump LIBNOTMUCH_MINOR_VERSION because the API is extended.
</content>
</entry>
<entry>
<title>lib: use COERCE_STATUS in n_m_{add,remove}_tag</title>
<updated>2020-07-14T10:31:45Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-05T13:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=78e9b3467d9f09228a444bb2eec93e4c765b7e9b'/>
<id>urn:sha1:78e9b3467d9f09228a444bb2eec93e4c765b7e9b</id>
<content type='text'>
Currently I don't know of a good way of testing this, but at least in
principle a Xapian exception in _notmuch_message_{add,remove}_term
would cause an abort in the library.
</content>
</entry>
<entry>
<title>lib: catch Xapian exceptions in n_m_remove_tag</title>
<updated>2020-07-14T10:31:45Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-05T13:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=aa8e3f4487897f0c650dc37d99153099c3d3df5e'/>
<id>urn:sha1:aa8e3f4487897f0c650dc37d99153099c3d3df5e</id>
<content type='text'>
The churn here is again mainly re-indentation.
</content>
</entry>
</feed>
