<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/message-file.c, branch 0.29</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.29</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.29'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2019-05-10T15:26:50Z</updated>
<entry>
<title>lib/message-file: close stream in destructor</title>
<updated>2019-05-10T15:26:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-05-10T00:23:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e19954fa188e8a2a9bb4d57a235eb11490880fb9'/>
<id>urn:sha1:e19954fa188e8a2a9bb4d57a235eb11490880fb9</id>
<content type='text'>
Without this,

$ make time-test OPTIONS=--small

leads to fatal errors from too many open files.

Thanks to st-gourichon-fid for bringing this problem to my attention in IRC.
</content>
</entry>
<entry>
<title>lib/message_file: open gzipped files</title>
<updated>2019-05-03T10:48:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-03-24T03:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=852167479f552cd396b1fdcbe9b1cb4db40e5e0a'/>
<id>urn:sha1:852167479f552cd396b1fdcbe9b1cb4db40e5e0a</id>
<content type='text'>
Rather than storing the lower level stdio FILE object, we store a
GMime stream. This allows both transparent decompression, and passing
the stream into GMime for parsing. As a side effect, we can let GMime
close the underlying OS stream (indeed, that stream isn't visible here
anymore).

This change is enough to get notmuch-{new,search} working, but there is still
some work required for notmuch-show, to be done in a following commit.
</content>
</entry>
<entry>
<title>gmime-cleanup: pass NULL as default GMimeParserOptions</title>
<updated>2019-05-03T09:58:00Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-02T13:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e9b870b6923afe767a7c9938be24f5390102031a'/>
<id>urn:sha1:e9b870b6923afe767a7c9938be24f5390102031a</id>
<content type='text'>
This is a functional change, not a straight translation, because we
are no longer directly invoking g_mime_parser_options_get_default(),
but the GMime source has indicated that the options parameter for
g_mime_parser_construct_message() is "nullable" since upstream commit
d0ebdd2ea3e6fa635a2a551c846e9bc8b6040353 (which itself precedes GMime
3.0).

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>gmime-cleanup: pass NULL arguments explicitly where GMime 3.0 expects it</title>
<updated>2019-05-03T09:57:27Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-02T13:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bbe3015b3ea503b2834811f6cdd7276f9742faa1'/>
<id>urn:sha1:bbe3015b3ea503b2834811f6cdd7276f9742faa1</id>
<content type='text'>
Several GMime 2.6 functions sprouted a change in the argument order in
GMime 3.0.  We had a compatibility layer here to be able to handle
compiling against both GMime 2.6 and 3.0.  Now that we're using 3.0
only, rip out the compatibility layer for those functions with changed
argument lists, and explicitly use the 3.0 argument lists.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>gmime-cleanup: drop unused gmime #defines and simplify g_mime_init ()</title>
<updated>2019-05-03T09:56:58Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-02T13:19:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=58ee5d1bb5492925c6025177d149d69d72704caa'/>
<id>urn:sha1:58ee5d1bb5492925c6025177d149d69d72704caa</id>
<content type='text'>
Several of these #defines were not actually used in the notmuch
codebase any longer.  And as of GMime 3.0, g_mime_init takes no
arguments, so we can also drop the bogus RFC2047 argument that we were
passing and then #defining away.

signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>gmime-cleanup: remove GMime 2.6 variant codeblocks</title>
<updated>2019-05-03T09:50:40Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-02T13:19:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=35e21bfb6f5fa4a0b61a71860e1f7f04d9e3e274'/>
<id>urn:sha1:35e21bfb6f5fa4a0b61a71860e1f7f04d9e3e274</id>
<content type='text'>
signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</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: 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: add version of _n_m_f_get_combinded_header for gmime 3.0</title>
<updated>2017-07-15T00:23:52Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-05-17T10:40:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eeb64cdeeb134bcd30c0927bde74dea8e9a7b88a'/>
<id>urn:sha1:eeb64cdeeb134bcd30c0927bde74dea8e9a7b88a</id>
<content type='text'>
The iterator is gone, so we need a new loop structure.
</content>
</entry>
<entry>
<title>lib: refactor _notmuch_messsage_file_get_combined_header</title>
<updated>2017-07-15T00:23:52Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-05-17T10:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=439c5896b6ec4306d428101bbf59c07288e96c71'/>
<id>urn:sha1:439c5896b6ec4306d428101bbf59c07288e96c71</id>
<content type='text'>
We need to rewrite the loop for gmime-3.0; move the loop body to its
own function to avoid code duplication.  Keep the common exit via
"goto DONE" to make this pure code movement.  It's important to note
that the existing exit path only deallocates the iterator.
</content>
</entry>
</feed>
