aboutsummaryrefslogtreecommitdiffstats
path: root/camel
Commit message (Collapse)AuthorAgeFilesLines
* use new stream code instead of raw file * stuff.bertrand1999-05-317-13/+350
| | | | | | | | | | | | | | | | | | 1999-05-31 bertrand <Bertrand.Guiheneuf@inria.fr> * tests/test2.c (main): use new stream code instead of raw file * stuff. * camel/gmime-utils.c (get_header_table_from_stream): new func. Will replace get_header_table_from_file and will be used to parse headers from files as well as from memory buffers. * camel/camel-stream-fs.c: CamelStream Subclass. File system based stream. svn path=/trunk/; revision=961
* new class. Represents an abstract stream object.bertrand1999-05-313-0/+255
| | | | | | | | | 1999-05-30 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-stream.h: new class. Represents an abstract stream object. svn path=/trunk/; revision=960
* syncBertrand Guiheneuf1999-05-302-0/+59
| | | | svn path=/trunk/; revision=959
* remove leading and trailing spaces in recipient addresses.Bertrand Guiheneuf1999-05-305-16/+63
| | | | | | | | | | | | | | | | | * 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
* More header parsing code.bertrand1999-05-291-5/+59
| | | | | | | | | | | 1999-05-28 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.c (_parse_header_pair): (_init_header_name_table): More header parsing code. svn path=/trunk/; revision=953
* rewrite message obtained via parsing into a file. Actually, it worksBertrand Guiheneuf1999-05-284-6/+127
| | | | | | | | | | | | | | | | | | | | | | | | * 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-289-32/+165
| | | | svn path=/trunk/; revision=949
* new func. Parses message header zone and returns a Glist of all headerbertrand1999-05-274-25/+126
| | | | | | | | | | | | | | | 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-214-5/+45
| | | | | | | | | * 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-204-36/+37
| | | | | | | | | | | | | 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-202-0/+12
| | | | svn path=/trunk/; revision=933
* testsBertrand Guiheneuf1999-05-192-2/+30
| | | | | | | | | * 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-183-1/+7
| | | | | | | | | 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-172-0/+22
| | | | svn path=/trunk/; revision=927
* flags handling methodsbertrand1999-05-152-6/+105
| | | | | | | | | | | | | | 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-142-0/+23
| | | | | | | * 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-142-2/+97
| | | | | | | | | | | | | | | * 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-143-6/+220
| | | | | | | | | | | * 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-133-0/+151
| | | | svn path=/trunk/; revision=922
* disposition is now a full GMimeContentField object.Bertrand Guiheneuf1999-05-138-16/+200
| | | | | | | | | | | | | | | | | | | * 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
* mime utils namespace changeBertrand Guiheneuf1999-05-122-0/+0
| | | | svn path=/trunk/; revision=920
* overload wrapper class method. (_write_to_file): start to write some textbertrand1999-05-126-1/+122
| | | | | | | | | | | 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
* typo fix.bertrand1999-05-121-4/+4
| | | | | | | | 1999-05-11 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-store.c: typo fix. svn path=/trunk/; revision=903
* static functions naming follows gnome coding style guide.bertrand1999-05-126-186/+188
| | | | | | | | | | | | | | 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
* implemented public interfacesBertrand Guiheneuf1999-05-112-1/+191
| | | | | | | | 1999-05-11 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.h: implemented public interfaces svn path=/trunk/; revision=901
* A bunch of new set/get func.Bertrand Guiheneuf1999-05-114-3/+202
| | | | | | | | | | | | | | | | | | | | | | 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
* new methodbertrand1999-05-104-0/+59
| | | | | | | | | | | | 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
* new class. models a mime mail part.bertrand1999-05-093-0/+149
| | | | | | | | | 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
* method to stream data content in a buffer.bertrand1999-05-092-4/+115
| | | | | | | | | | | | | | | | | | | 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
* sync - Started work on messages classes.Bertrand Guiheneuf1999-05-083-1/+147
| | | | | | Bertrand. svn path=/trunk/; revision=892
* admin cvs workBertrand Guiheneuf1999-05-072-0/+8
| | | | svn path=/trunk/; revision=891
* new method.bertrand1999-05-054-31/+158
| | | | | | | | | | | | | | | | | 1999-05-04 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-service.c (camel_service_get_url): new method. * devel-docs/camel/camel-sections.txt: added function doc references * camel/camel-folder.c (__camel_folder_close): fixed indentation. (camel_folder_expunge): new method. (__camel_folder_close): used expunge flag svn path=/trunk/; revision=890
* typo fixbertrand1999-05-033-6/+45
| | | | | | | | | | | | | | | | | | 1999-05-03 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (camel_folder_get_mode): typo fix * camel/camel-folder.c (__camel_folder_list_subfolders): new func. * some doc stuffs Finishing storage layer, will start message classes soon. Bertrand svn path=/trunk/; revision=889
* new methodsbertrand1999-05-014-70/+195
| | | | | | | | | | | | | | | | | | 1999-05-01 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (__camel_folder_get_mode): (camel_folder_get_mode): (camel_folder_get_parent_store): (__camel_folder_get_parent_store): (camel_folder_get_parent_folder): (__camel_folder_get_parent_folder): new methods * camel/camel-service.c: put __ prefix before private virtual funcs. svn path=/trunk/; revision=886
* new methods.bertrand1999-05-012-53/+176
| | | | | | | | | | 1999-05-01 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (camel_folder_delete): (camel_folder_delete_messages): new methods. svn path=/trunk/; revision=885
* some more commentsbertrand1999-05-011-4/+7
| | | | | | | | | | | | | | 1999-05-01 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.c (g_url_new): some more comments 1999-04-27 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (camel_folder_create): new public function. svn path=/trunk/; revision=884
* syncBertrand Guiheneuf1999-05-012-23/+61
| | | | svn path=/trunk/; revision=883
* initialize folder object.bertrand1999-04-265-24/+51
| | | | | | | | | | | | | | | 1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-session.c (camel_session_get_store_from_provider): initialize folder object. * camel/camel-store.c (init): new method. called by session object at instantiation time. * camel/camel-store.h (struct _CamelStore): new fields : session and url_name svn path=/trunk/; revision=879
* new method to set the default provider for a protocol.bertrand1999-04-253-7/+71
| | | | | | | | | | | | | | 1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-session.c (camel_session_set_provider): new method to set the default provider for a protocol. (camel_session_get_store_from_provider): new method to instantiate a folder from a provider. * camel/camel-provider.h: s/GString/gchar/g + typo fix. svn path=/trunk/; revision=878
* start session objectBertrand Guiheneuf1999-04-252-0/+146
| | | | svn path=/trunk/; revision=877
* basic provider structure. Have to write the code for dynamic loading.bertrand1999-04-256-0/+115
| | | | | | | | | | 1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-provider.[ch]: basic provider structure. Have to write the code for dynamic loading. svn path=/trunk/; revision=876
* s/new_g_url/g_url_newbertrand1999-04-242-2/+2
| | | | | | | | 1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.[ch]: s/new_g_url/g_url_new svn path=/trunk/; revision=875
* URL rewritten completely. Error handling not implemented in publicbertrand1999-04-242-52/+242
| | | | | | | | | | | 1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.c (new_g_url): URL rewritten completely. Error handling not implemented in public functions. But URL scan works pretty well :))) svn path=/trunk/; revision=874
* I needed the url functions to use GString, and I wanted a more generalbertrand1999-04-242-269/+150
| | | | | | | | | | | | 1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.[ch]: I needed the url functions to use GString, and I wanted a more general scheme so I finally started rewriting the whole thing from scratch. No more code from gzilla :( svn path=/trunk/; revision=872
* Utility functions to parse URLs. Stolen shamelessly from gzillabertrand1999-04-233-2/+385
| | | | | | | | | | | | | | 1999-04-23 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.[ch]: Utility functions to parse URLs. Stolen shamelessly from gzilla (www.gzilla.com) written by Raph Levien <raph@acm.org> * camel/Makefile.am: added url-util.[ch] compilation. svn path=/trunk/; revision=871
* removed devel-docs until I come up with a correct Makefile.ambertrand1999-04-232-20/+6
| | | | | | | | | | | | | 1999-04-23 bertrand <Bertrand.Guiheneuf@inria.fr> * Makefile.am (SUBDIRS): removed devel-docs until I come up with a correct Makefile.am * camel/camel-store.h: * camel/camel-folder.h: correct declarations of structs svn path=/trunk/; revision=870
* more test implementation.bertrand1999-04-229-33/+261
| | | | | | | | | | | | | 1999-04-22 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/providers/MH/camel-mh-store.c: more test implementation. * camel/camel-store.c (camel_store_get_type): typo fix A lot of small adds and corrections. svn path=/trunk/; revision=867
* start test provider.bertrand1999-04-225-1/+168
| | | | | | | | | 1999-04-21 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/providers/MH/camel-mh-folder.c (camel_mh_folder_get_type): start test provider. svn path=/trunk/; revision=864
* A first attempt at setting up the documentation system.Bertrand Guiheneuf1999-04-215-10/+15
| | | | svn path=/trunk/; revision=862
* now CamelStore inherits from CamelService.bertrand1999-04-215-8/+28
| | | | | | | | | 1999-04-20 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-store.h: now CamelStore inherits from CamelService. svn path=/trunk/; revision=861
* basic abstract service class.bertrand1999-04-213-3/+116
| | | | | | | | | 1999-04-20 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-service.c (camel_service_class_init): basic abstract service class. svn path=/trunk/; revision=860
* simple service class addedBertrand Guiheneuf1999-04-213-0/+136
| | | | svn path=/trunk/; revision=859
* silence...Bertrand Guiheneuf1999-04-191-1/+4
| | | | svn path=/trunk/; revision=857
* Added some slight explanations.Bertrand Guiheneuf1999-04-191-0/+57
| | | | svn path=/trunk/; revision=856
* missing files.Bertrand Guiheneuf1999-04-192-0/+247
| | | | svn path=/trunk/; revision=855
* started implementation typo uncommented the store related code.bertrand1999-04-194-11/+29
| | | | | | | | | | | | | | | 1999-04-18 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-store.[ch]: started implementation * camel/camel-folder.c (camel_folder_get_type): typo uncommented the store related code. (camel_folder_create): enable som store relted code. Not finished. Have to define public methods first. * camel/camel-log.h: some explanation about the log system svn path=/trunk/; revision=854
* implemented (partially) have to write CamelStore before finishing it.bertrand1999-04-194-6/+115
| | | | | | | | | | | | | | | 1999-04-18 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c: (camel_folder_create): implemented (partially) have to write CamelStore before finishing it. * camel/camel-folder.h (CamelFolder): added full_name field (CamelFolderClass): added set/get_full_name methods Some more work svn path=/trunk/; revision=853
* chut...Bertrand Guiheneuf1999-04-181-0/+4
| | | | svn path=/trunk/; revision=852
* some work log system for camel some utilities for GString objectsbertrand1999-04-187-4/+388
| | | | | | | | | | | | | | | 1999-04-18 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c: some work * camel/camel-log.c: log system for camel * camel/gstring-util.c: some utilities for GString objects Work on obmail translation. Bertrand svn path=/trunk/; revision=851
* Initial revisionBertrand Guiheneuf1999-04-183-0/+255
svn path=/trunk/; revision=846