unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* gmime 3.0 related preliminaries
@ 2017-05-21 12:48 David Bremner
  2017-05-21 12:48 ` [PATCH 1/5] util: convenience function to create gmime stream for stdout David Bremner
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: David Bremner @ 2017-05-21 12:48 UTC (permalink / raw)
  To: notmuch, notmuch

I've been working away on porting to gmime 3.0 [1]; currently more
than 50 tests fail, at least some of which due to [2].

I've also found a few bugs in notmuch:

We currently use GmimeFileStream to output to stdout, but this assumes
the underlying file descriptor is seekable; the seek errors are masked
in gmime 2.6 but not in gmime 3.0

[PATCH 1/5] util: convenience function to create gmime stream for
[PATCH 2/5] cli/reply: direct all output for text format to gmime
[PATCH 3/5] cli/show: use single stream for printf / gmime object

There is also memory leak in notmuch reply; because notmuch-reply
doesn't run for a long time, the practical impact is low. The first
patch is just so we have some way of verifying the fix. It seems a bit
heavy to start using valgrind in the main test suite.


[1]: http://pivot.cs.unb.ca/git?p=notmuch.git;a=shortlog;h=refs/heads/gmime-3.0
[2]: https://bugzilla.gnome.org/show_bug.cgi?id=782915

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-05-21 15:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-21 12:48 gmime 3.0 related preliminaries David Bremner
2017-05-21 12:48 ` [PATCH 1/5] util: convenience function to create gmime stream for stdout David Bremner
2017-05-21 13:28   ` David Bremner
2017-05-21 15:34     ` David Bremner
2017-05-21 12:48 ` [PATCH 2/5] cli/reply: direct all output for text format to gmime stream David Bremner
2017-05-21 12:48 ` [PATCH 3/5] cli/show: use single stream for printf / gmime object output David Bremner
2017-05-21 12:48 ` [PATCH 4/5] perf-test: add memory test for reply David Bremner
2017-05-21 12:48 ` [PATCH 5/5] cli/reply: fix memory leak David Bremner
2017-05-21 13:17   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).