<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch-private.h, branch 0.27</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.27</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.27'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2018-05-26T14:30:32Z</updated>
<entry>
<title>lib: expose notmuch_message_get_database()</title>
<updated>2018-05-26T14:30:32Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-05-11T06:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9088db76d89264b733f6b45e776d8952da237921'/>
<id>urn:sha1:9088db76d89264b733f6b45e776d8952da237921</id>
<content type='text'>
We've had _notmuch_message_database() internally for a while, and it's
useful.  It turns out to be useful on the other side of the library
interface as well (i'll use it later in this series for "notmuch
show"), so we expose it publicly now.
</content>
</entry>
<entry>
<title>lib: define specialized get_thread_id for use in thread subquery</title>
<updated>2018-05-07T11:42:53Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2018-01-28T02:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f0131af6c59704e29d58eb74ed5e4bc298455272'/>
<id>urn:sha1:f0131af6c59704e29d58eb74ed5e4bc298455272</id>
<content type='text'>
The observation is that we are only using the messages to get there
thread_id, which is kindof a pessimal access pattern for the current
notmuch_message_get_thread_id
</content>
</entry>
<entry>
<title>crypto: index encrypted parts when indexopts try_decrypt is set.</title>
<updated>2017-10-21T22:53:19Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-21T02:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4dfcc8c9b2e1dbb965f69283dca50c7581c88050'/>
<id>urn:sha1:4dfcc8c9b2e1dbb965f69283dca50c7581c88050</id>
<content type='text'>
If we see index options that ask us to decrypt when indexing a
message, and we encounter an encrypted part, we'll try to descend into
it.

If we can decrypt, we add the property index.decryption=success.

If we can't decrypt (or recognize the encrypted type of mail), we add
the property index.decryption=failure.

Note that a single message may have both values of the
"index.decryption" property: "success" and "failure".  For example,
consider a message that includes multiple layers of encryption.  If we
manage to decrypt the outer layer ("index.decryption=success"), but
fail on the inner layer ("index.decryption=failure").

Because of the property name, this will be automatically cleared (and
possibly re-set) during re-indexing.  This means it will subsequently
correspond to the actual semantics of the stored index.
</content>
</entry>
<entry>
<title>index: implement notmuch_indexopts_t with try_decrypt</title>
<updated>2017-10-21T22:52:47Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-21T02:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=20ff9de24de47e591dd45e7dde0ac10948d6cbf6'/>
<id>urn:sha1:20ff9de24de47e591dd45e7dde0ac10948d6cbf6</id>
<content type='text'>
This is currently mostly a wrapper around _notmuch_crypto_t that keeps
its internals private and doesn't expose any of the GMime API.
However, non-crypto indexing options might also be added later
(e.g. filters or other transformations).
</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_message_reindex</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-06-04T12:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5b93fa6e70c905e3c5f2a8109683db29ccfd5bcf'/>
<id>urn:sha1:5b93fa6e70c905e3c5f2a8109683db29ccfd5bcf</id>
<content type='text'>
This new function asks the database to reindex a given message.
The parameter `indexopts` is currently ignored, but is intended to
provide an extensible API to support e.g. changing the encryption or
filtering status (e.g. whether and how certain non-plaintext parts are
indexed).
</content>
</entry>
<entry>
<title>lib: add _notmuch_message_remove_indexed_terms</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-06-04T12:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=34d77539925f8e743830a2c8df0a079956ae8be3'/>
<id>urn:sha1:34d77539925f8e743830a2c8df0a079956ae8be3</id>
<content type='text'>
Testing will be provided via use in notmuch_message_reindex
</content>
</entry>
<entry>
<title>lib: add notmuch_message_count_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:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8a8e2b11c208050aa1d719ec0933f58d51628fdd'/>
<id>urn:sha1:8a8e2b11c208050aa1d719ec0933f58d51628fdd</id>
<content type='text'>
This operation is relatively inexpensive, as the needed metadata is
already computed by our lazy metadata fetching. The goal is to support
better UI for messages with multipile files.
</content>
</entry>
<entry>
<title>lib: refactor notmuch_database_add_message header parsing</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-06-04T12:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4fdabd636e1b0417bb40c71bdce64e18f0f347e2'/>
<id>urn:sha1:4fdabd636e1b0417bb40c71bdce64e18f0f347e2</id>
<content type='text'>
This function is large and hard to understand and modify. Start to
break it down into meaningful pieces.
</content>
</entry>
<entry>
<title>lib: factor out message-id parsing to separate file.</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-06-04T12:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2f94b3090c03bb56b43c4adfb94f7eeb28a6bf18'/>
<id>urn:sha1:2f94b3090c03bb56b43c4adfb94f7eeb28a6bf18</id>
<content type='text'>
This is really pure C string parsing, and doesn't need to be mixed in
with the Xapian/C++ layer. Although not strictly necessary, it also
makes it a bit more natural to call _parse_message_id from multiple
compilation units.
</content>
</entry>
</feed>
