<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch.c, branch 0.38_rc1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.38_rc1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.38_rc1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-08-01T00:03:59Z</updated>
<entry>
<title>notmuch.c: add missing trailing newlines in two error messages</title>
<updated>2022-08-01T00:03:59Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2022-07-31T17:32:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=54190d091cbceb345c489bd3f20fdca7e4b9a111'/>
<id>urn:sha1:54190d091cbceb345c489bd3f20fdca7e4b9a111</id>
<content type='text'>
Removed duplicate error check (and the message) in 3rd case where
the same error message (w/o trailing newline) was present.

In case of test/T040-setup.sh, command substitution deletes
trailing newlines, so related test there cannot be changed
(and therefore could not notice this user experience flaw).
</content>
</entry>
<entry>
<title>CLI: pass --config to external commands via NOTMUCH_CONFIG.</title>
<updated>2022-06-13T10:28:05Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-31T11:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5cbddf7e7a96a801e5ad3482b2636aff375a0821'/>
<id>urn:sha1:5cbddf7e7a96a801e5ad3482b2636aff375a0821</id>
<content type='text'>
This makes `notmuch --config foo external-subcommand` work
consistently with the built in subcommands.
</content>
</entry>
<entry>
<title>CLI: mention sexp-queries in help topics, alphabetize</title>
<updated>2022-06-13T10:18:26Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-29T18:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=82957c963296bb9d2147ce5374b940463facd9ec'/>
<id>urn:sha1:82957c963296bb9d2147ce5374b940463facd9ec</id>
<content type='text'>
There does not seem to be an easy way to automate maintaining this
list, but new topics are not added very often.
</content>
</entry>
<entry>
<title>CLI: simplify help command</title>
<updated>2022-06-13T10:17:59Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-29T18:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=52470ddfbfaeac8e5530e32d45bd6259d4326517'/>
<id>urn:sha1:52470ddfbfaeac8e5530e32d45bd6259d4326517</id>
<content type='text'>
This will allow "notmuch help" to work for arbitrary external commands
and for any added non-command topics (such as notmuch-sexp-queries).
</content>
</entry>
<entry>
<title>CLI: move indexopts variable out of shared options block</title>
<updated>2021-10-23T12:51:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-06-12T13:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2ce6c76a61c907b5d1d508e12255e83d9256937c'/>
<id>urn:sha1:2ce6c76a61c907b5d1d508e12255e83d9256937c</id>
<content type='text'>
This reduces the amount of global state.  Furthermore, index options
can be set (in principle) in several ways, not just in the one
function for processing indexing command line options.
</content>
</entry>
<entry>
<title>CLI: move query syntax to shared option</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a2e7af5b6986bca5a2bb2752f892cb86a9767b3c'/>
<id>urn:sha1:a2e7af5b6986bca5a2bb2752f892cb86a9767b3c</id>
<content type='text'>
This will allow easy addition of a query syntax option to other subcommands.
</content>
</entry>
<entry>
<title>CLI: make variable n_requested_db_uuid file scope.</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d447b694b498c3e18a22f1eb15139a798c6aab26'/>
<id>urn:sha1:d447b694b498c3e18a22f1eb15139a798c6aab26</id>
<content type='text'>
It turns out that now that we pass an open database into the
subcommands, it is easy to check any requested uuid against the
database at the same time as we process the other shared
arguments. This results in overall less boilerplate code, as well as
making a CLI scope function and variable file scope in notmuch.c.
</content>
</entry>
<entry>
<title>lib: write talloc report in notmuch_database_destroy</title>
<updated>2021-06-25T12:20:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-06-19T00:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ea301102abc55404b8b447cd50998429bfbbf9fd'/>
<id>urn:sha1:ea301102abc55404b8b447cd50998429bfbbf9fd</id>
<content type='text'>
Since most memory allocation is (ultimately) in the talloc context
defined by a notmuch_database_t pointer, this gives a more complete
view of memory still allocated at program shutdown.

We also change the talloc report in notmuch.c to mode "a" to avoid
clobbering the newly reported log.
</content>
</entry>
<entry>
<title>CLI/notmuch: make immutable tables const</title>
<updated>2021-05-14T09:44:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-13T00:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=121f9ddad3eecfb23babccbe84280381e5f5a283'/>
<id>urn:sha1:121f9ddad3eecfb23babccbe84280381e5f5a283</id>
<content type='text'>
Let the compiler enforce the immutability.
</content>
</entry>
<entry>
<title>CLI: centralize initialization in notmuch_client_init</title>
<updated>2021-05-14T09:40:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-12T23:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5a8d174f6797844580b52857a6254c25ce532d1c'/>
<id>urn:sha1:5a8d174f6797844580b52857a6254c25ce532d1c</id>
<content type='text'>
Initially make sure gmime_filter_reply initialization is
thread-safe (assuming notmuch_client_init is only called once).
For tidyness, also put talloc initialization in the new function.
</content>
</entry>
</feed>
