Multipart Mime message parsing works with plain text parts. Woohooo :))))
authorbertrand <Bertrand.Guiheneuf@aful.org>
Tue, 3 Aug 1999 10:19:38 +0000 (10:19 +0000)
committerBertrand Guiheneuf <bertrand@src.gnome.org>
Tue, 3 Aug 1999 10:19:38 +0000 (10:19 +0000)
commit06a4357f0f451d8c9208ef084f6003fa2298c1bd
tree196fad864a2e8c96039cd110cd9adb7e4acead64
parenta72807d0f74197b3836d79fbd4d24e65f90c51a7
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.
camel/camel-mime-part.c
camel/camel-multipart.c
camel/camel-simple-data-wrapper.c
camel/camel-stream-mem.c
camel/data-wrapper-repository.c
camel/data-wrapper-repository.h
camel/gmime-utils.c