<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/thread.cc, branch 0.27_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.27_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.27_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2018-04-24T02:00:20Z</updated>
<entry>
<title>lib: choose oldest message when breaking reference loops</title>
<updated>2018-04-24T02:00:20Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2018-04-20T14:59:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=491b1f4b4082bee18418942846ec6508856be7b4'/>
<id>urn:sha1:491b1f4b4082bee18418942846ec6508856be7b4</id>
<content type='text'>
This preserves a sensible thread order
</content>
</entry>
<entry>
<title>lib: break reference loop by choosing arbitrary top level msg</title>
<updated>2018-04-20T14:23:31Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2018-04-14T01:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9293d6da27494d7b607c945c6678bc890749b94f'/>
<id>urn:sha1:9293d6da27494d7b607c945c6678bc890749b94f</id>
<content type='text'>
Other parts of notmuch (e.g. notmuch show) expect each thread to
contain at least one top level message, and crash if this expectation
is not met.
</content>
</entry>
<entry>
<title>lib: return "" rather than NULL from notmuch_thread_get_authors</title>
<updated>2017-12-21T13:22:30Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-12-15T02:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7cfa1c69610bcf15fb47868131d3d9102f899225'/>
<id>urn:sha1:7cfa1c69610bcf15fb47868131d3d9102f899225</id>
<content type='text'>
The current behaviour is at best under-documented. The modified test in
T470-missing-headers.sh previously relied on printf doing the right
thing with NULL, which seems icky.

The use of talloc_strdup here is probably overkill, but it avoids
having to enforce that thread-&gt;authors is never mutated outside
_resolve_thread_authors_string.
</content>
</entry>
<entry>
<title>lib: convert notmuch_bool_t to stdbool internally</title>
<updated>2017-10-10T01:27:16Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-10-07T08:44:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=008a5e92eb157e2bb8622cb2fbf644deba5ba4b4'/>
<id>urn:sha1:008a5e92eb157e2bb8622cb2fbf644deba5ba4b4</id>
<content type='text'>
C99 stdbool turned 18 this year. There really is no reason to use our
own, except in the library interface for backward
compatibility. Convert the lib internally to stdbool.
</content>
</entry>
<entry>
<title>lib: add notmuch_thread_get_total_files</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-06-04T12:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=50340bcb78586dc63b5e0914563665b30e8f88d0'/>
<id>urn:sha1:50340bcb78586dc63b5e0914563665b30e8f88d0</id>
<content type='text'>
This is relatively inexpensive in terms of run time and implementation
cost as we are already traversing the list of messages in a thread.
</content>
</entry>
<entry>
<title>build: visibility=default for library structs is no longer needed</title>
<updated>2017-05-13T11:38:18Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-05-10T19:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=30c475c1ef3d6823ed9ab0affc30328726c5240f'/>
<id>urn:sha1:30c475c1ef3d6823ed9ab0affc30328726c5240f</id>
<content type='text'>
Commit d5523ead90b6 ("Mark some structures in the library interface
with visibility=default attribute.") fixed some mixed visibility
issues with structs. With the symbol default visibility reversed, this
is no longer a problem.
</content>
</entry>
<entry>
<title>lib: replace deprecated n_q_search_messages with status returning version</title>
<updated>2017-03-22T11:35:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T21:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=86cbd215eb67d7b996c977352a50e70c101cb641'/>
<id>urn:sha1:86cbd215eb67d7b996c977352a50e70c101cb641</id>
<content type='text'>
This function was deprecated in notmuch 0.21.  We re-use the name for
a status returning version, and deprecate the _st name.
</content>
</entry>
<entry>
<title>Use https instead of http where possible</title>
<updated>2016-06-05T11:32:17Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-06-02T16:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a833a6e83865f6999707cc30768d07e1351c2cb'/>
<id>urn:sha1:6a833a6e83865f6999707cc30768d07e1351c2cb</id>
<content type='text'>
Many of the external links found in the notmuch source can be resolved
using https instead of http.  This changeset addresses as many as i
could find, without touching the e-mail corpus or expected outputs
found in tests.
</content>
</entry>
<entry>
<title>lib: migrate thread.cc to new query_search API</title>
<updated>2015-10-05T22:53:53Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-09-27T15:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=378ba492a634db5b841f2454991239a897f830b2'/>
<id>urn:sha1:378ba492a634db5b841f2454991239a897f830b2</id>
<content type='text'>
here we rely on thread_id_query being attached to the local talloc
context, so no new cleanup code is needed.
</content>
</entry>
<entry>
<title>lib: note remaining uses of deprecated message search API</title>
<updated>2015-09-04T11:08:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-06-07T15:01:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=110694b00b79793b3c09a0349c0ff7608df551d6'/>
<id>urn:sha1:110694b00b79793b3c09a0349c0ff7608df551d6</id>
<content type='text'>
The two remaining cases in the lib seem to require more than a simple
replacement of the old call, with the new call plus a check of the
return value.
</content>
</entry>
</feed>
