This obsoletes [1]. Since that series, a bit of the actual port to
gmime-3.0 has crept in, in order to be able to mark tests as broken
with respect a particular gmime version.
The series in progress [2] has grown to 21 patches, and this is
roughly the first half. Currently there about 7 failing
We want to have the bodies of the multipart available in a file on
their own for planned modifications to tests.
---
test/T190-multipart.sh | 40 +---
1 file changed, 25 insertions(+), 15 deletions(-)
diff --git a/test/T190-multipart.sh
Interleaving printfs with writes to the gmime stream worked when the
gmime stream was backed by the FILE *stdout, but that is no longer the
case. Create one stream and pass it into the two functions where
needed, as well well as replacing printfs with g_mime_stream_printf.
---
notmuch-client.h |
This is again motivated by the need to transition away from
GMimeStreamFile for output to stdout.
format_part_mbox is left alone for now, as this cannot be mixed in
with output using gmime object output.
---
notmuch-client.h | 1 +
notmuch-show.c | 70
It turns out that our use of GMimeStreamPipe has only succeeded
because gmime has been ignoring some seek failures; this will no
longer be the case in gmime 3.0, so we use a GMimeStreamPipe, which
does not assume seekability, wrapped in a buffering stream.
---
util/Makefile.local | 2 +-
We have some tests where the gmime 3 behaviour seems like a bug fix,
others where it's less clear, so we allow both possibilities.
---
configure| 5 +
test/test-lib.sh | 16
2 files changed, 21 insertions(+)
diff --git a/configure b/configure
index
Currently I'm not sure what the intent of this test is, so it's not
clear if the new answer is better or worse than the old one.
---
test/T310-emacs.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh
index ef599849..2ef43925 100755
---
The output of headers here reflects an underlying bug / quirk of
gmime-2.6.
---
test/T190-multipart.sh | 28
1 file changed, 4 insertions(+), 24 deletions(-)
diff --git a/test/T190-multipart.sh b/test/T190-multipart.sh
index 91a632c6..94bb0570 100755
---
internet_address_list_to_string returns an allocated string, which
needs to be freed with g_free. g_free can handle a NULL argument, so
we follow the usage elsewhere of calling it unconditionally.
The third leak we leave as it would require restructuring of
add_recipients_from_message, and is
This is another case where the behaviour of gmime-2.6 and gmime-3.0
seems to differ. It may be that we prefer the more lax parsing of the
previous version, but that should be tested seperately.
---
test/T200-thread-naming.sh | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff
This is only the changes to make configure work; it won't compile with
gmime-3.0 yet.
---
configure | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index ed7c2280..91aeba51 100755
--- a/configure
+++ b/configure
@@ -484,8 +484,13 @@ fi
11 matches
Mail list logo