aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-03 18:19:39 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-03 18:19:39 +0800
commite9c6d8921cce940e590f763a881794323a9e6703 (patch)
treed8e989d8119fe6d8c825364c0b7dd16c6c2179be /tests
parentbba2b0a352933d8aa8894fe1b7a8a5185378990f (diff)
downloadgsoc2013-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.c6
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");
FLAVORSdbn2018-01-111-3/+3 * Update MASTER_SITES and WWWsunpoet2017-12-282-2/+2 * Update to 6.2sunpoet2017-12-082-4/+4 * Upgrade HDF5 to 1.8.20.thierry2017-12-032-4/+5 * Securityupdate to 4.9.1:joneum2017-12-022-6/+6 * Convert Python ports to FLAVORS.mat2017-11-302-2/+2 * Update to 4.9joneum2017-11-252-4/+4 * Upgrade - endly! - to Code_Aster 13.4.0-3.thierry2017-11-1524-2745/+8168 * Update to 5.3.7.jkim2017-11-031-5/+5 * */wordpress: update to 4.8.3joneum2017-11-022-4/+4 * evel/eric6: update to 17.10dbn2017-10-271-3/+3 * - Update to 4.8.2joneum2017-09-282-4/+4 * Update to 6.1sunpoet2017-09-272-6/+6 * Fix kde4-l10n packages after sysutils/filelight's updatetcberner2017-09-172-5/+1 * Bump PORTREVISION for ports depending on the canonical version of GCCgerald2017-09-113-3/+3 * Update to 5.3.6.jkim2017-09-061-5/+5 * - french/wordpress: Update from 4.8 to 4.8.1joneum2017-08-042-7/+5 * Update to 5.3.5.jkim2017-08-041-5/+5 * Mark BROKEN: size and checksum mismatchantoine2017-07-021-0/+2 * Update to 5.3.4.jkim2017-06-221-5/+5 * Update the Calligra ports to 3.0.1.rakuco2017-06-175-123/+0 * Upgrade science/hdf5-18 to 1.8.19.thierry2017-06-172-2/+2 * - Update 4 wordpress Ports to version 4.8joneum2017-06-122-4/+4 * - Update the Wordpress ports to 4.7.5joneum2017-05-222-4/+4 * Update to 5.3.3.jkim2017-05-201-5/+5 * - Update maintainer addressjoneum2017-05-161-1/+1 * Update to 5.2.7.jkim2017-05-051-5/+5 * Chase ffmpeg 3.3 update (ABI changes)riggs2017-04-252-1/+2 * - Revert the php7 switch, we can't force users to switch to php7 yet.miwi2017-04-251-1/+0 * - Update to 4.7.4miwi2017-04-252-4/+5 * - Fix sanity check by adding correct categorymiwi2017-04-211-1/+1 * - Repocopy www/wordpress -> french/wordpressmiwi2017-04-215-0/+72 * Rename the magic DISTVERSION into SPELLVERSION for the aspell ports.mat2017-04-121-1/+1 * Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-013-3/+3 * Update to 5.2.6.jkim2017-03-281-5/+5 * Update to 5.2.5.jkim2017-02-011-5/+5 * Unbreak after the upgrade of Gcc to 4.9.thierry2017-01-233-2/+11 * Shebangfix only the target of the symlink, not the symlinkantoine2017-01-201-1/+1 * Update to 5.2.4.jkim2017-01-021-5/+5 * Remove BROKEN_FreeBSD_9sunpoet2017-01-011-1/+0 * - Mark BROKEN on 9.x and 12.x:amdmi32016-12-251-0/+3 * Update to 0.1.44: fixes to the *croitre verbs; options --mode andnaddy2016-12-102-3/+4 * Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-12-072-0/+2 * - Update to 5.7sunpoet2016-11-212-3/+4 * Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-11-201-0/+1 * devel/eric6: update to 6.1.11dbn2016-11-191-3/+3 * Upgrade Code_Aster to 12.0.6-4.thierry2016-11-1322-9591/+11195 * Update libreoffice to 5.2.3 and liborcus to 0.11.2bapt2016-11-121-4/+5 * ${RM} already has -f.mat2016-10-211-2/+2 * devel/eric6: update to 6.1.10.dbn2016-10-101-3/+3 * Revert recent strfile changes, strfile is already in baseantoine2016-09-151-5/+9