Commit Graph

22 Commits

Author SHA1 Message Date
2088dd3401 set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE ---
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-mime-message.c (camel_mime_message_init):
	set the mime type to "mime/message".
	--- THIS IS NOT THE CONTENT TYPE ---

	* camel/camel-mime-body-part.c (camel_mime_body_part_init):
	set the mime type to "body-part".
	--- THIS IS NOT THE CONTENT TYPE ---

	* camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type):
	mime_type is const.
	(_set_input_stream): really set the input stream
	(_set_output_stream): really set the output stream
	various other typo fixes.

	* tests/ui-tests/message-browser.c: various typo
	fixes in the ctree construction.

svn path=/trunk/; revision=1712
2000-02-09 21:09:31 +00:00
3bd58106ef various typo fixes in the ctree construction.
2000-02-09  bertrand  <Bertrand.Guiheneuf@aful.org>

	* tests/ui-tests/message-browser.c: various typo
	fixes in the ctree construction.

	* camel/string-utils.c (string_trim): fix braindead
	trailing trim bug.

	* camel/gmime-content-field.c (gmime_content_field_construct_from_string):
	strip the leading and trailing quotes when constructing the
	content field. This should be done in a more generic
	RFC822 approach, but this fixes a bug that prevent
	matt from analysing some multipart messages.

	* camel/camel-data-wrapper.h: reorganize the
	deprecated and new methods.

	* camel/providers/mbox/camel-mbox-folder.c
	(_check_get_or_maybe_generate_summary_file):
	Use "From " as the message separating string.

	* camel/providers/mbox/camel-mbox-folder.c (_append_message):
	set the mode when creating the mbox file.

	* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
	ditto
	* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
	ditto

svn path=/trunk/; revision=1711
2000-02-09 20:35:35 +00:00
0cccd4dc23 The CamelDataWrapper can now be provided with input and output streams, so
2000-01-24  bertrand  <bertrand@helixcode.com>

	* camel/camel-data-wrapper.h:
	* camel/camel-data-wrapper.c
	(_set_input_stream):
	(_get_input_stream):
	(_set_output_stream):
	(_get_output_stream):
	The CamelDataWrapper can now be provided with input and
	output streams, so that nothing has to be kept in memory.

	* camel/camel-stream.c (camel_stream_class_init):
	added the "data_available" signal.

svn path=/trunk/; revision=1624
2000-01-25 04:02:14 +00:00
316a4c47ff Updated my e-mail address to reflect my new employment
svn path=/trunk/; revision=1533
2000-01-03 23:05:55 +00:00
331335d12c Fix copyright informations once again
svn path=/trunk/; revision=1489
1999-12-14 22:40:38 +00:00
9663037f6c More work:
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.

svn path=/trunk/; revision=1395
1999-11-17 15:35:43 +00:00
ca7044930f 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
1999-11-17 14:39:25 +00:00
b681ec2b9a Here is my initial Evolution work: message composition widget and some
installation fixes for Camel.

svn path=/trunk/; revision=1369
1999-11-05 23:06:09 +00:00
8fe1aa5f41 Copyright change
svn path=/trunk/; revision=1348
1999-10-23 15:19:51 +00:00
d938232d3c Address update
svn path=/trunk/; revision=1147
1999-08-29 22:13:34 +00:00
cac0ba57e6 merge a lot of work. Rough ChangeLog will follow
svn path=/trunk/; revision=1052
1999-08-01 13:38:28 +00:00
4a765990e5 sync before going home
svn path=/trunk/; revision=1026
1999-07-15 15:54:52 +00:00
1659afa3d3 now use CamelDataWrapper::contruct_form_stream to test message parsing
1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* tests/test2.c (main): now use
	CamelDataWrapper::contruct_form_stream to test
	message parsing

	* camel/camel-data-wrapper.c:
	* camel/camel-data-wrapper.h:
	construct_from_stream no longer has maximimum size arg.

	* camel/camel-mime-part.c (_construct_from_stream): new.
	Construct the mime_part from a stream.

svn path=/trunk/; revision=1003
1999-06-28 16:05:09 +00:00
817f237398 new field (content_type) and associated methods. (camel_mime_part_init):
1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c:
	new field (content_type) and associated methods.
	(camel_mime_part_init): initialize content_type field.
	(_parse_header_pair): now set content_type MimePart field
	instead of using DataWrapper Mime typing facility.

1999-06-28  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-data-wrapper.h:
	s/content_type/mime_type/

1

svn path=/trunk/; revision=1002
1999-06-28 14:36:11 +00:00
7f81757d52 moved all the content-type stuff here. (camel_data_wrapper_init):
1999-06-22  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-data-wrapper.c (_get_content_type):
	moved all the content-type stuff here.
	(camel_data_wrapper_init): initialize the instance
	content-type field.

	* camel/camel-mime-part.c (_parse_header_pair):
	parse Content-Type stuff in header.
	(_write_to_stream): write the content type stuff to
	the stream.

svn path=/trunk/; revision=985
1999-06-22 16:12:27 +00:00
19a118096f Commit of all Netherlands changes.
All mime stuff uses streams now, and it still works.

Bertrand

svn path=/trunk/; revision=981
1999-06-18 20:32:18 +00:00
4fcef82e38 another nederlands sync
svn path=/trunk/; revision=979
1999-06-15 11:50:48 +00:00
8050e311c1 tmp sync. Does ot even compile
svn path=/trunk/; revision=978
1999-06-14 12:50:58 +00:00
cee85091a8 disposition is now a full GMimeContentField object.
* camel/camel-mime-part.h (struct ):
	disposition is now a full GMimeContentField
	object.

	* camel/gmime-content-field.c: new file
	handle "type/subtype ;parameter=value ; parameter=value ..."
	BNF grammar elements
	(gmime_content_field_write_to_file): new func

	* camel/gmime-utils.c (gmime_write_header_pair_to_file):
	namespace change

Some work on mime stuff. Mime part can save itself into a file.
This stuff is boring.

svn path=/trunk/; revision=921
1999-05-12 19:07:54 +00:00
bdc34487d7 overload wrapper class method. (_write_to_file): start to write some text
1999-05-11  bertrand  <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-mime-part.c (_write_to_file):
	overload wrapper class method.
	(_write_to_file): start to write some text in
	file.

svn path=/trunk/; revision=904
1999-05-11 21:20:28 +00:00
fb68f5a78c method to stream data content in a buffer.
1999-05-08  bertrand <Bertrand.Guiheneuf@inria.fr>

	* camel/camel-data-wrapper.c
	(camel_data_wrapper_write_to_buffer): method to
	stream data content in a buffer.
	(camel_data_wrapper_write_to_file):
	(camel_data_wrapper_construct_from_buffer):
	(camel_data_wrapper_construct_from_file):
	new methods.

Basic data_wrapper interface. Will have to add MIME content
type and bonobo object creation from content type.

Bertrand.

svn path=/trunk/; revision=893
1999-05-08 16:31:26 +00:00
6e4afd2056 sync - Started work on messages classes.
Bertrand.

svn path=/trunk/; revision=892
1999-05-08 07:55:16 +00:00