| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=1489
|
|
|
|
|
|
|
| |
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.
svn path=/trunk/; revision=1395
|
|
|
|
|
|
|
| |
example, to build multipart messages out of files that are on disk without
loading them in memory.
svn path=/trunk/; revision=1394
|
|
|
|
| |
svn path=/trunk/; revision=1348
|
|
|
|
| |
svn path=/trunk/; revision=1147
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-08-28 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-part.c (camel_mime_part_set_text):
text parameter declared const
* camel/camel-mime-part-utils.c (camel_mime_part_store_stream_in_buffer):
actually test correctly nb_bytes_read_chunk is >0
* camel/gstring-util.c:
* camel/gmime-content-field.c:
* camel/providers/MH/camel-mh-folder.c:
* camel/camel-stream-fs.c:
include string.h
* camel/camel-stream-mem.c (_write): return
the numver of written bytes.
* camel/camel-stream-buffered-fs.c (_eos):
return sthg
* camel/camel-stream.c (default_camel_seek):
return something.
* Started to work on new recipient code.
* fixed various leaks.
svn path=/trunk/; revision=1146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-08-26 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-part.c (_get_content_object):
contruct the content from the buffer before calling
CamelMedium implementation.
(_construct_from_stream): Do not construct the content
by default, just store the content bytes in
a temporary buffer. Content will be constructed only
at caller request (when calling CamelMedium::get_content_object)
Providers with better access to the messages (mbox/MH ...)
will have to provider lighter implementation, that is
shall not read content at all unless the caller asks
for it (again with get_content).
* camel/camel-mime-part-utils.c: new file, groups
mime-part related utils. Meant to be used by providers
subclassing MimeMessage.
(camel_mime_part_construct_headers_from_stream):
(camel_mime_part_construct_content_from_stream):
no more useless temporary hash table.
* camel/camel-mime-part.c (_construct_from_stream): calls
mime-part-utils functions now.
* camel/gmime-utils.c (_store_header_pair_from_string):
do not use hash table to store header, use an array instead.
svn path=/trunk/; revision=1145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-08-26 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-part-utils.c: new file, groups
mime-part related utils. Meant to be used by providers
subclassing MimeMessage.
(camel_mime_part_construct_headers_from_stream):
(camel_mime_part_construct_content_from_stream):
no more useless temporary hash table.
* camel/camel-mime-part.c (_construct_from_stream): calls
mime-part-utils functions now.
* camel/gmime-utils.c (_store_header_pair_from_string):
do not use hash table to store header, use an array instead.
* MimePart cleanup. Not complete yet. Content must not be
parsed when constructing but only when content object is requested.
Default implementation will keep content in a stream.
svn path=/trunk/; revision=1144
|
|
|
|
|
|
|
|
|
|
|
| |
1999-08-25 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-part.c: now descend from CamelMedium.
* tests/test1.c (main): all headers must be strdup'ed
(main): unref created objects
svn path=/trunk/; revision=1143
|
|
|
|
|
|
| |
Luxe, calme et voluptee.
svn path=/trunk/; revision=1142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-08-24 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-medium.c (camel_medium_class_init):
new class. Will handle all sort of information media
(Mime mail messages, Lotus Notes mail messages,
postit notes, faxes, who knows .... :)
CamelMimePart will inherit from it.
* camel/camel-mime-part.c (_set_disposition):
(_set_description):
description and disposition parameters are now const.
* camel/gmime-content-field.c (gmime_content_field_free): added
assertion code.
* camel/providers/MH/camel-mh-folder.c (_get_message):
uses buffered stream.
* camel/camel-stream-buffered-fs.c:
new stream to accelerate file ops.
Thanks to jwz, I've decided to add a level of abstraction to Camel.
In the future, it should be able to handle other mail systems, but
also non-mail information vehicles.
Enough for today. Roller time!
svn path=/trunk/; revision=1140
|
|
|
|
| |
svn path=/trunk/; revision=1052
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-07-13 Miguel de Icaza <miguel@gnu.org>
* camel/gmime-base64.c (gmime_encode_base64): Implemented base64
encoder based on CamelStreams. Should the encoder/decoder be a
Stream itself?
* camel/gmime-utils.c: include config.h here.
* camel/url-util.c: ditto.
* camel/gstring-util.c: ditto.
* camel/gmime-content-field.c: ditto.
* camel/camel-stream.c: ditto.
* camel/camel-stream-fs.c: ditto.
* camel/camel-store.c: ditto.
* camel/camel-simple-data-wrapper.c: ditto.
* camel/camel-session.c: ditto.
* camel/camel-service.c: ditto.
* camel/camel-mime-part.c: ditto.
* camel/camel-mime-message.c: ditto.
* camel/camel-log.c: ditto.
* camel/camel-data-wrapper.c: ditto
* camel/camel-folder.c: ditto.
* camel/camel-stream.c (camel_stream_write): Moved api
documentation to the places that they document.
(camel_stream_class_init): Virtual classes do not need to have a
default implementation. So null them all.
(camel_stream_write): Return value from write.
(camel_stream_available): implement.
(camel_stream_write_strings): documented.
* devel-docs/query/virtual-folder-in-depth.sgml: Small
reformatting
1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr>
* tests/test2.c (main): now use
CamelDataWrapper::contruct_form_stream to test
svn path=/trunk/; revision=1024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel/gmime-content-field.c (gmime_content_field_get_mime_type):
new function, returns "type/subtype" mime type string.
(gmime_content_field_construct_from_string):
new function, construbt a content_field object
form a string. be used to set the mime_type from a
string.
* camel/camel-mime-part.c (_set_content_type):
(camel_mime_part_set_content_type):
(_get_content_type):
(_get_content_type):
new methods.
1999-06-21 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/gmime-utils.c (get_header_table_from_stream):
replace CR/LF+'\t' with ' '
* camel/camel-mime-message.c (_set_recipient_list_from_string):
trim \t when splitting
* camel/gmime-utils.c (get_header_table_from_file):
corrected bug in scanning tabulations ('t' -> '\t')
* tests/test2.c (main): read mail.test instead
of mail1.test
* camel/camel-mime-part.c (_add_header):
added comments
svn path=/trunk/; revision=984
|
|
|
|
|
|
|
|
| |
All mime stuff uses streams now, and it still works.
Bertrand
svn path=/trunk/; revision=981
|
|
|
|
| |
svn path=/trunk/; revision=949
|
|
|
|
|
|
|
|
|
|
|
| |
* camel/camel-mime-message.h:
a bunch of get/set header field
method done. Does nothing yet though.
* camel/camel-mime-message.[ch] :
new file.
svn path=/trunk/; revision=923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-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 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-store.c:
* camel/camel-service.c:
* camel/camel-folder.c:
* camel/camel-data-wrapper.c:
* camel/camel-mime-part.c:
static functions naming follows gnome
coding style guide.
svn path=/trunk/; revision=902
|
|
|
|
|
|
|
|
| |
1999-05-11 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr>
* camel/camel-mime-part.h: implemented public interfaces
svn path=/trunk/; revision=901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-05-10 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr>
* camel/camel-mime-part.c (__camel_mime_part_get_header_lines):
(__camel_mime_part_set_header_lines):
(__camel_mime_part_get_content_languages):
(__camel_mime_part_set_content_languages):
(__camel_mime_part_get_encoding):
(__camel_mime_part_set_encoding):
(__camel_mime_part_get_content_MD5):
(__camel_mime_part_set_content_MD5):
(__camel_mime_part_get_content_id):
(__camel_mime_part_set_content_id):
A bunch of new set/get func.
* camel/gstring-util.c (g_string_list_free):
convenience function for string list
complete deallocation.
svn path=/trunk/; revision=900
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-05-09 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-mime-part.c (__camel_mime_part_add_header):
new method
* camel/camel-mime-part.h (struct CamelMimePart):
added core fields.
svn path=/trunk/; revision=899
|
|
1999-05-08 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-mime-part.[ch]:
new class. models a mime mail part.
svn path=/trunk/; revision=894
|