diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-03 18:19:39 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-03 18:19:39 +0800 |
commit | e9c6d8921cce940e590f763a881794323a9e6703 (patch) | |
tree | d8e989d8119fe6d8c825364c0b7dd16c6c2179be /tests | |
parent | bba2b0a352933d8aa8894fe1b7a8a5185378990f (diff) | |
download | gsoc2013-evolution-e9c6d8921cce940e590f763a881794323a9e6703.tar.gz gsoc2013-evolution-e9c6d8921cce940e590f763a881794323a9e6703.tar.zst gsoc2013-evolution-e9c6d8921cce940e590f763a881794323a9e6703.zip |
Multipart Mime message parsing works with plain text parts. Woohooo :))))
Making it work with other types is now just a matter of writing
the various data wrappers. And display them will just be a matter of writing
the good bonobo components.
1999-08-03 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-simple-data-wrapper.c (_construct_from_stream):
more debugging output + nb_bytes_read is now a signed int
to avoid bug when eos is encountered.
* camel/camel-mime-part.c (_construct_from_stream):
sync to data_wrapper_repository function name changes.
Use default "text/plain" type when conten-type field
is not found. (following RFC 2046 spec).
* camel/data-wrapper-repository.c (data_wrapper_repository_set_data_wrapper_type):
(data_wrapper_repository_get_data_wrapper_type):
change function name prefix (s/data_wrapper/data_wrapper_repository/)
* camel/camel-multipart.c (_read_part):
add `\n` at eol but not before boundary.
* camel/gmime-utils.c (get_header_table_from_stream):
correct implementation of end of stream detection.
svn path=/trunk/; revision=1070
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test3.c b/tests/test3.c index a210ea3723..b036c190f5 100644 --- a/tests/test3.c +++ b/tests/test3.c @@ -12,15 +12,15 @@ main (int argc, char**argv) printf ("Test 3 : data wrapper repository\n"); printf ("\nMime type : \"multipart\"\n"); - type = data_wrapper_get_data_wrapper_type ("multipart"); + type = data_wrapper_repository_get_data_wrapper_type ("multipart"); printf ("Type found %s\n", gtk_type_name (type) ); printf ("\nMime type : \"multipart/alternative\"\n"); - type = data_wrapper_get_data_wrapper_type ("multipart/alternative"); + type = data_wrapper_repository_get_data_wrapper_type ("multipart/alternative"); printf ("Type found %s\n", gtk_type_name (type) ); printf ("\nMime type : \"toto/titi\"\n"); - type = data_wrapper_get_data_wrapper_type ("toto/titi"); + type = data_wrapper_repository_get_data_wrapper_type ("toto/titi"); printf ("Type found %s\n", gtk_type_name (type) ); printf ("Test3 finished\n"); |