<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch-private.h, branch 0.26_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.26_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.26_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-10-21T22:53:19Z</updated>
<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>
<entry>
<title>lib/cli: replace use of g_mime_message_get_sender</title>
<updated>2017-07-14T20:58:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-05-06T02:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cbb2d5608ef6dd54d6e9e19b2bb570d3fe54b28b'/>
<id>urn:sha1:cbb2d5608ef6dd54d6e9e19b2bb570d3fe54b28b</id>
<content type='text'>
This function changes semantics in gmime-3.0 so make a new function
that provides the same functionality in both
</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>
</feed>
