aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>1999-11-17 22:39:25 +0800
committerEttore Perazzoli <ettore@src.gnome.org>1999-11-17 22:39:25 +0800
commitca7044930f42a698fd88f914c2512a20e2eeaae9 (patch)
tree522962a77005d741097713e87de1d50353b17768 /ChangeLog
parent16de3313b700cb56ab9e829d1e9b7e7d2c81241b (diff)
downloadgsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.tar
gsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.tar.gz
gsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.tar.bz2
gsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.tar.lz
gsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.tar.xz
gsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.tar.zst
gsoc2013-evolution-ca7044930f42a698fd88f914c2512a20e2eeaae9.zip
Added streaming capability to CamelDataWrapper. This makes it possible, for
example, to build multipart messages out of files that are on disk without loading them in memory. svn path=/trunk/; revision=1394
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog67
1 files changed, 67 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c89092878..e0ed428fdb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,70 @@
+1999-11-17 Ettore Perazzoli <ettore@gnu.org>
+
+ * camel/camel-mime-message.c (_write_to_stream): Write
+ "Mime-Version: 1.0" to the stream.
+
+ * tests/test1.c: If executed with a file name parameter, attach a
+ file with with that name to the email without loading it into
+ core, thus demonstrating usage of my latest changes.
+
+ * camel/camel-mime-part.c (_set_encoding): Updated to use
+ `CamelMimePartEncodingType'.
+ (camel_mime_part_set_encoding): Likewise.
+ (_get_encoding): Likewise.
+ (camel_mime_part_get_encoding): Likewise.
+ (_write_content_to_stream): Honour the `encoding' member.
+ (_construct_from_stream): Made static.
+ (camel_mime_part_encoding_to_string): New function.
+ (_write_to_stream): Write the encoding string using it.
+ (camel_mime_part_init): Set encoding to
+ `CAMEL_MIME_PART_ENCODING_DEFAULT'.
+ (_finalize): Don't free `encoding' anymore.
+ (camel_mime_part_encoding_from_string): New function.
+ (_parse_header_pair): Use it.
+
+ * camel/camel-mime-part.h: New enum `CamelMimePartEncodingType'.
+ Member `encoding' of `struct _CamelMimePart' changed from `gchar
+ *' to `CamelMimePartEncodingType'. All the encoding-related
+ methods changed to use this type instead of `gchar *'.
+
+ * camel/gmime-base64.c (gmime_encode_base64): Got it to work.
+
+ * camel/Makefile.am (libcamel_la_SOURCES): Compile
+ `gmime-base64.c'.
+
+ * camel/gmime-base64.h: New, previously missing, header.
+
+ * camel/camel-stream-data-wrapper.c: New file implementing the
+ `CamelStreamDataWrapper' class.
+ * camel/camel-stream-data-wrapper.h: Corresponding header.
+
+ * camel/camel-simple-data-wrapper.c: Implemented the `get_stream'
+ virtual method.
+ (_get_stream): New function implementing the method.
+ (camel_simple_data_wrapper_class_init): Install it in the class
+ struct.
+ (camel_simple_data_wrapper_init): New function initializing the
+ `stream' member to NULL,
+ (camel_simple_data_wrapper_class_init): Set it as the
+ GtkObjectInitFunc.
+
+ * camel/camel-simple-data-wrapper.h: New member `stream' in
+ `struct _CamelSimpleDataWrapper'.
+
+ * camel/camel-simple-data-wrapper-stream.c: New file implementing
+ the `CamelSimpleDataWrapperStream' class.
+ * camel/camel-simple-data-wrapper-stream.h: Corresponding header.
+
+ * camel/camel-data-wrapper.c (camel_data_wrapper_get_stream): New
+ function.
+ (_get_stream): New private function, just returning NULL.
+ (camel_data_wrapper_class_init): Install it as the default
+ `get_stream' virtual method.
+
+ * camel/camel-data-wrapper.h: New virtual method `get_stream' in
+ `CamelDataWrapperClass'.
+ (camel_data_wrapper_get_stream): New function prototype.
+
1999-11-05 Ettore Perazzoli <ettore@gnu.org>
* tests/ui-tests/msg-composer-test.c: New file for testing the