<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T750-gzip.sh, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-01-27T11:48:27Z</updated>
<entry>
<title>test: sanitize generated message files names</title>
<updated>2022-01-27T11:48:27Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-21T23:38:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0756105832612ad12661d1dd61b7e7b5bfe99c6c'/>
<id>urn:sha1:0756105832612ad12661d1dd61b7e7b5bfe99c6c</id>
<content type='text'>
It is fragile to encode the generated names into tests, as it makes
tests break when e.g. new tests are added.  There is a possibility
that this will hide certain failures; in that case meaningful filenames
should be chosen for the generated messages.
</content>
</entry>
<entry>
<title>test: clean up some extra whitespace.</title>
<updated>2021-03-12T11:19:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-16T01:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=97fadd0645e908ff8322577a983dc710bfda33d6'/>
<id>urn:sha1:97fadd0645e908ff8322577a983dc710bfda33d6</id>
<content type='text'>
The extra space is mainly just untidy.
</content>
</entry>
<entry>
<title>test/T750-gzip: don't compress the xapian database</title>
<updated>2021-01-15T11:43:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-03T23:35:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=003fdba7a4d109581064c5bf12748bc13fd7cf47'/>
<id>urn:sha1:003fdba7a4d109581064c5bf12748bc13fd7cf47</id>
<content type='text'>
This causes mysterious failures in trying to detect if a database
exists.
</content>
</entry>
<entry>
<title>util: unreference objects referenced by the returned stream obj</title>
<updated>2019-10-12T11:45:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-09-22T22:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4c5b17b10b786994255641fee8df4733c3586f3e'/>
<id>urn:sha1:4c5b17b10b786994255641fee8df4733c3586f3e</id>
<content type='text'>
We want freeing the returned stream to also free these underlying
objects. Compare tests/test-filters.c in the gmime 3.2.x source, which
uses this same idiom.

Thanks to James Troup for the report and the fix.
</content>
</entry>
<entry>
<title>test: known broken test file descriptor leak in gzip file open</title>
<updated>2019-10-12T11:43:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-09-22T22:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2cf38f8e1c1d3b50ac41b002308de5eea9efc61d'/>
<id>urn:sha1:2cf38f8e1c1d3b50ac41b002308de5eea9efc61d</id>
<content type='text'>
James Troup reported this bug in id:87pnjsf9q5.fsf@canonical.com
</content>
</entry>
<entry>
<title>cli/notmuch-show: support 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:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=103c11822ee0b7645fda6397fb40f8ac7ed9b49b'/>
<id>urn:sha1:103c11822ee0b7645fda6397fb40f8ac7ed9b49b</id>
<content type='text'>
This drops "file" from mime_node_context and just uses a local
variable. It also uses the new gzip aware utility routines recently
added to util/gmime-extra.c. The use of gzopen / gzfile in addition is
a bit icky, but the choice is between that, and providing yet another
readline implimentation that understands GMime streams.
</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>
</feed>
