<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch.h, branch 0.37</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.37</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.37'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-06-25T19:06:18Z</updated>
<entry>
<title>lib: add NOTMUCH_STATUS_CLOSED_DATABASE, use in _n_d_ensure_writable</title>
<updated>2022-06-25T19:06:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3f27cce71f9f154cb0c2134c32d41c31eb62a239'/>
<id>urn:sha1:3f27cce71f9f154cb0c2134c32d41c31eb62a239</id>
<content type='text'>
In order for a database to actually be writeable, it must be the case that it
is open, not just the correct type of Xapian object. By explicitely
checking, we are able to provide better error reporting, in particular
for the previously broken test in T566-lib-message.
</content>
</entry>
<entry>
<title>lib/tag: handle NULL argument to notmuch_tags_valid</title>
<updated>2022-06-25T19:05:45Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e70df920851c6c00000b7707e3b61650548fbce7'/>
<id>urn:sha1:e70df920851c6c00000b7707e3b61650548fbce7</id>
<content type='text'>
Make the behaviour when passed NULL consistent with
notmuch_filenames_valid. The library already passes the result of
notmuch_message_get_tags without checking for NULL, so it should be
handled.
</content>
</entry>
<entry>
<title>lib: bump minor version to 6.</title>
<updated>2022-01-29T22:13:26Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-29T22:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7f8af14bdc53a4a793143651e708a44e29bb9522'/>
<id>urn:sha1:7f8af14bdc53a4a793143651e708a44e29bb9522</id>
<content type='text'>
One new status value and one configuration value added.
</content>
</entry>
<entry>
<title>lib/config: add known config key "show.extra_headers"</title>
<updated>2022-01-18T12:09:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-01T12:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=79936ac93e486d8ff82729840154bf8c2212ebb6'/>
<id>urn:sha1:79936ac93e486d8ff82729840154bf8c2212ebb6</id>
<content type='text'>
Used in a following commit to enable including extra headers beyond
the default in structured output.
</content>
</entry>
<entry>
<title>lib/open: no default mail root in split configurations</title>
<updated>2022-01-15T19:59:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fad2e7540bf9309bfb335650ded753e9ed085eff'/>
<id>urn:sha1:fad2e7540bf9309bfb335650ded753e9ed085eff</id>
<content type='text'>
If we know the configuration is split, but there is no mail root
defined, this indicates a (lack of) configuration error. Currently
this can only arise in XDG configurations.
</content>
</entry>
<entry>
<title>Merge branch 'release'</title>
<updated>2021-10-30T18:01:01Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-30T18:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e7bb7919a2484e12cd5a672eaa21b695b7464acf'/>
<id>urn:sha1:e7bb7919a2484e12cd5a672eaa21b695b7464acf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/load_config: document expectations for db on error, add tests</title>
<updated>2021-10-30T16:49:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-23T13:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8f0b84789d4fda0182e073b68b73160c9b94a4b7'/>
<id>urn:sha1:8f0b84789d4fda0182e073b68b73160c9b94a4b7</id>
<content type='text'>
This is a bit different than n_d_{open,create}_with_config, since
there are several non-zero status codes where we do want to return a
non-NULL database structure.
</content>
</entry>
<entry>
<title>lib/create: document expectations for db on error, add tests</title>
<updated>2021-10-30T16:45:40Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-23T13:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f3fcdd2ddac2384c0c1daeffa495ad3ec01bc1af'/>
<id>urn:sha1:f3fcdd2ddac2384c0c1daeffa495ad3ec01bc1af</id>
<content type='text'>
It seems sensible to harmonize the behaviour with
n_d_open_with_config. In this commit we just assert the desired
behaviour.
</content>
</entry>
<entry>
<title>lib: document n_o_w_config can return NOTMUCH_STATUS_NO_CONFIG</title>
<updated>2021-10-30T16:41:57Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-21T14:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fb02817943e8cd646641d7f1fe914ce8adb3ecb2'/>
<id>urn:sha1:fb02817943e8cd646641d7f1fe914ce8adb3ecb2</id>
<content type='text'>
This should be treated as fatal by callers, since we didn't succeed in
opening a Xapian database.
</content>
</entry>
<entry>
<title>lib: remove enum names from typedefs</title>
<updated>2021-10-23T11:38:53Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2021-10-13T14:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6987286a5b562709c1de583db66673c202fd926c'/>
<id>urn:sha1:6987286a5b562709c1de583db66673c202fd926c</id>
<content type='text'>
There are some enum typedefs with the enum name:

    typedef enum _name_t { ... } name_t;

We don't need or use the enum names _name_t for anything, and not all
of the enum typedefs have them. We have the typedefs specifically to
use the typedef name.

Use the anonymous enum in the typedefs:

    typedef enum { ... } name_t;
</content>
</entry>
</feed>
