aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
Commit message (Collapse)AuthorAgeFilesLines
* merge a lot of work. Rough ChangeLog will followBertrand Guiheneuf1999-08-011-139/+121
| | | | svn path=/trunk/; revision=1052
* Implemented base64 encoder based on CamelStreams. Should theMiguel de Icaza1999-07-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Various patches from Ulrich Drepper <drepper at cygnus.com>bertrand1999-06-251-1/+2
| | | | | | | | | | | | | | | | | | | 1999-06-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (_write_one_recipient_to_stream): includes gmime-utils header. patch from Ulrich Drepper <drepper at cygnus.com> set separator string in write_header_with_glist_to_stream() * camel/camel-log.c (camel_log): patch from Ulrich Drepper <drepper at cygnus.com> Do not use stderr in initialization of logfile descriptor. * camel/camel-stream-fs.c (camel_stream_fs_new_with_name): patch from Ulrich Drepper <drepper at cygnus.com> initialize mode field in open(). svn path=/trunk/; revision=994
* syncBertrand Guiheneuf1999-06-221-1/+1
| | | | svn path=/trunk/; revision=983
* Commit of all Netherlands changes.Bertrand Guiheneuf1999-06-191-18/+23
| | | | | | | | All mime stuff uses streams now, and it still works. Bertrand svn path=/trunk/; revision=981
* remove leading and trailing spaces in recipient addresses.Bertrand Guiheneuf1999-05-301-1/+1
| | | | | | | | | | | | | | | | | * camel/camel-mime-message.c (_set_recipient_list_from_string): remove leading and trailing spaces in recipient addresses. * camel/gmime-utils.c (_store_header_pair_from_gstring): remove leading and trailing spaces from header values. * camel/gstring-util.c (g_string_trim): new func: remove leading or trailng chars from a specified char set. (g_string_split): allow trimming of substrings. * tests/test1.c (main): remove gtk_main call svn path=/trunk/; revision=958
* rewrite message obtained via parsing into a file. Actually, it worksBertrand Guiheneuf1999-05-281-6/+79
| | | | | | | | | | | | | | | | | | | | | | | | * tests/test2.c (main): rewrite message obtained via parsing into a file. Actually, it works pretty well :)) * camel/camel-mime-message.c (_set_recipient_list_from_string): create recipient list form a comma separated string. (_parse_header_pair): added recipient lists parsing. * camel/camel-mime-part.c (_parse_header_pair): new (protected) method. Parse a head pair and decides what to do with it. (_add_header): Call in _parse_header_pair * camel/camel-mime-message.c (_parse_header_pair): overload header parsing MimePart mthod. * camel/gstring-util.c (g_string_split): new func: split a gstring into a GList of substring. svn path=/trunk/; revision=950
* syncBertrand Guiheneuf1999-05-281-0/+46
| | | | svn path=/trunk/; revision=949
* new func. Parses message header zone and returns a Glist of all headerbertrand1999-05-271-21/+3
| | | | | | | | | | | | | | | 1999-05-26 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/gmime-utils.c (get_header_lines_from_file): new func. Parses message header zone and returns a Glist of all header lines. * tests/test2.c: tests message parsing * camel/gmime-utils.c (write_header_table_to_file): new func to write a table of headers. svn path=/trunk/; revision=948
* recipient list printingBertrand Guiheneuf1999-05-211-4/+33
| | | | | | | | | * camel/camel-mime-message.c (_write_to_file): recipient list printing * tests/test1.c (main): more tests. svn path=/trunk/; revision=936
* syncBertrand Guiheneuf1999-05-211-2/+9
| | | | svn path=/trunk/; revision=935
* test if content exists before calling its write_to method.bertrand1999-05-201-16/+18
| | | | | | | | | | | | | 1999-05-19 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.c (_write_to_file): test if content exists before calling its write_to method. * camel/camel-mime-message.c (_write_to_file): bugs fix. First test of mime_message framework. svn path=/trunk/; revision=934
* syncBertrand Guiheneuf1999-05-201-0/+11
| | | | svn path=/trunk/; revision=933
* testsBertrand Guiheneuf1999-05-191-1/+28
| | | | | | | | | * tests/test1.c (main): tests * camel/camel-mime-message.c (_write_to_file): started write_to framework for mime_messages svn path=/trunk/; revision=931
* message number funcs.bertrand1999-05-181-1/+1
| | | | | | | | | 1999-05-18 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (*_message_number): message number funcs. svn path=/trunk/; revision=930
* syncBertrand Guiheneuf1999-05-171-0/+20
| | | | svn path=/trunk/; revision=927
* flags handling methodsbertrand1999-05-151-5/+96
| | | | | | | | | | | | | | 1999-05-15 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (*_flag): flags handling methods 1999-05-14 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (camel_mime_message_class_init): added recipient handling class funcs. svn path=/trunk/; revision=926
* added recipient handling class funcs.Bertrand Guiheneuf1999-05-141-0/+7
| | | | | | | * camel/camel-mime-message.c (camel_mime_message_class_init): added recipient handling class funcs. svn path=/trunk/; revision=925
* create recipients hash table (_remove_recipient): (_add_recipient):Bertrand Guiheneuf1999-05-141-1/+89
| | | | | | | | | | | | | | | * camel/camel-mime-message.c (camel_mime_message_init): create recipients hash table (_remove_recipient): (_add_recipient): (_get_recipients): new funcs. Internal Recipients data structure is a bit complicated though. * camel/camel-mime-part.c (camel_mime_part_init): create headers hash table svn path=/trunk/; revision=924
* a bunch of get/set header field method done. Does nothing yet though.Bertrand Guiheneuf1999-05-141-4/+185
| | | | | | | | | | | * 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
* Mime message ...Bertrand Guiheneuf1999-05-131-0/+78
svn path=/trunk/; revision=922