<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch.h, branch 0.32.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.32.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.32.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-03-27T12:26:14Z</updated>
<entry>
<title>lib: provide notmuch_config_path</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-21T11:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f5d4349921ded021756d6754d347420e68b23111'/>
<id>urn:sha1:f5d4349921ded021756d6754d347420e68b23111</id>
<content type='text'>
Since the library searches in several locations for a config file, the
caller does not know which of these is chosen in the usual case of
passing NULL as a config file. This changes provides an API for the
caller to retrieve the name of the config file chosen. It will be
tested in a following commit.
</content>
</entry>
<entry>
<title>lib: add NOTMUCH_STATUS_NO_DATABASE</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-23T19:56:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e39ce6eb5d5e5ae2a2a4ed419190003f47e566e'/>
<id>urn:sha1:2e39ce6eb5d5e5ae2a2a4ed419190003f47e566e</id>
<content type='text'>
This will allow more precise return values from various open related functions.
</content>
</entry>
<entry>
<title>lib/config: add config_pairs iterators</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T11:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=863b2431853385441f9fcbc22b9ff4e963091440'/>
<id>urn:sha1:863b2431853385441f9fcbc22b9ff4e963091440</id>
<content type='text'>
The layer of shims here seems a bit wasteful compared to just calling
the corresponding string map functions directly, but it allows control
over the API (calling with notmuch_database_t *) and flexibility for
future changes.
</content>
</entry>
<entry>
<title>lib/config: add notmuch_config_get_values_string</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-13T17:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0c6db22930b58fcea972e71b45f7ea0e6055ed20'/>
<id>urn:sha1:0c6db22930b58fcea972e71b45f7ea0e6055ed20</id>
<content type='text'>
This is to support the less common (at least in the notmuch codebase)
case of accessing a ;-delimited list config value with an arbitrary
string key.
</content>
</entry>
<entry>
<title>lib: provide notmuch_database_load_config</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-09T23:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2fc40e24de4fb06428273e6f55ebd72faabde778'/>
<id>urn:sha1:2fc40e24de4fb06428273e6f55ebd72faabde778</id>
<content type='text'>
This is mainly targetted at notmuch-config.c, or similar applications
that don't necessarily need both a configuration file and a database
to exist.
</content>
</entry>
<entry>
<title>lib/config: add configuration variable for backup directory</title>
<updated>2021-03-20T10:51:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-17T15:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a7873df331bcd53dd1bc8da95c4279163437cc13'/>
<id>urn:sha1:a7873df331bcd53dd1bc8da95c4279163437cc13</id>
<content type='text'>
Like the hook directory, we primarily need a way to communicate this
directory between various components, but we may as well let the user
configure it.

Most of the diff is generalizing choose_hook_dir to work for both
backup and hook directories.
</content>
</entry>
<entry>
<title>lib: support splitting mail from database location.</title>
<updated>2021-03-20T10:39:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-31T22:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e823d05ae6dc920d4fc9abf774c3d2575d891d7b'/>
<id>urn:sha1:e823d05ae6dc920d4fc9abf774c3d2575d891d7b</id>
<content type='text'>
Introduce a new configuration value for the mail root, and use it to
locate mail messages in preference to the database.path (which
previously implied the mail messages were also in this location.

Initially only a subset of the CLI is tested in a split
configuration. Further changes will be needed for the remainder of the
CLI to work in split configurations.
</content>
</entry>
<entry>
<title>lib: support reopening databases for write access.</title>
<updated>2021-03-18T11:04:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-03-14T14:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=13efbd0e1c88fcbdb48b4c30c7852c5bf1fbd0b7'/>
<id>urn:sha1:13efbd0e1c88fcbdb48b4c30c7852c5bf1fbd0b7</id>
<content type='text'>
In the future Xapian will apparently support this more conveniently
for the cases other than READ_ONLY =&gt; READ_ONLY

Conceptually this function seems to fit better in lib/open.cc;
database.cc is still large enough that moving the function makes
sense.
</content>
</entry>
<entry>
<title>lib: publish API for notmuch_database_reopen</title>
<updated>2021-03-18T11:03:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-03-14T14:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1121299905e2b2684d7cc56ec35c26c3a012783e'/>
<id>urn:sha1:1121299905e2b2684d7cc56ec35c26c3a012783e</id>
<content type='text'>
Include the (currently unused) mode argument which will specify which
mode to re-open the database in. Functionality and docs to be
finalized in a followup commit.
</content>
</entry>
<entry>
<title>lib: run uncrustify</title>
<updated>2021-03-13T12:45:34Z</updated>
<author>
<name>uncrustify</name>
<email>david@tethera.net</email>
</author>
<published>2021-03-13T12:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8aeba1228ace947c1b689ae6ae08db5d53755917'/>
<id>urn:sha1:8aeba1228ace947c1b689ae6ae08db5d53755917</id>
<content type='text'>
This is the result of running

     $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h *.cc

in the lib directory
</content>
</entry>
</feed>
