aboutsummaryrefslogtreecommitdiffstats
path: root/camel/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* New file with new function to dot-lock an mbox file and copy it to a safeDan Winship2000-04-101-0/+5
| | | | | | | * camel-movemail.c: New file with new function to dot-lock an mbox file and copy it to a safe private directory. svn path=/trunk/; revision=2356
* pixmap_DATA isn't defined so don't use it as a variable.Christopher James Lahey2000-04-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable. * addressbook/gui/component/, addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am, addressbook/gui/component/addressbook-factory.c, addressbook/gui/component/addressbook.c, addressbook/gui/component/addressbook.gnorba, addressbook/gui/component/addressbook.h: New directory to proivde the component for contact management. Simply uses an e-minicard-view. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: New subclass of e-reflow-sorted that takes an EBook and uses it to compute the card data to display. * addressbook/gui/minicard/e-minicard.c, addressbook/gui/minicard/e-minicard.h: This now backends to a ECard instead of a ETableModel. * addressbook/gui/minicard/e-reflow.c, addressbook/gui/minicard/e-reflow.h: This now has a virtualized add method. * addressbook/gui/minicard/e-reflow-sorted.c, addressbook/gui/minicard/e-reflow-sorted.h: New subclass of e-reflow that allows the data to be sorted on the fly. * addressbook/gui/minicard/test-minicard-view.c: New test to test the new minicard view. * addressbook/gui/minicard/test-reflow.c: Uses the new ECard backend of the e-minicard. * addressbook/gui/minicard/.cvsignore, addressbook/gui/minicard/Makefile.am: Added new test. Fixed dependencies. Added new files. * addressbook/gui/, addressbook/gui/Makefile.am, addressbook/gui/.cvsignore: New directory for addressbook gui bits. Added subdirectories. Created an initial .cvsignore. * addressbook/Makefile.am (SUBDIRS): Removed demo and added gui. * addressbook/backend/pas/pas-backend-file.c: Added code to do notification on bookviews when changes in the backend are made. * addressbook/backend/pas/pas-book-view.c, addressbook/backend/pas/pas-book-view.h: Added helper functions to notify the view about the addition or modification of a single card. Fixed a mistaken extra free. * addressbook/backend/ebook/e-card-list-iterator.h: Fixed incorrect parent class. * addressbook/backend/ebook/test-client.c: Made this accept an optional parameter that specifies the vcard to add. * configure.in: Replaced widgets/e-minicard/Makefile and addressbook/demo/Makefile with addressbook/gui/minicard/Makefile and addressbook/gui/component/Makefile respectively. * widgets/Makefile.am: Removed e-minicard since it's being moved to addressbook/gui/minicard. * widgets/e-text/e-text.c: Fixed the border width around tooltips and made the main tooltip area yellow. From camel/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * providers/smtp/.cvsignore: Added a .cvsignore file. From calendar/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Removed linking with libetable and libeminicard since they weren't being used. svn path=/trunk/; revision=2343
* actually record the pid returned by fork(). Noticed by clahey.Dan Winship2000-04-091-0/+3
| | | | | | | * providers/sendmail/camel-sendmail-transport.c (_send_internal): actually record the pid returned by fork(). Noticed by clahey. svn path=/trunk/; revision=2342
* #include <sys/param.h> for MAXHOSTNAMELEN. (This is a stopgap: some of theDan Winship2000-04-091-0/+6
| | | | | | | | * providers/smtp/camel-smtp-transport.c: #include <sys/param.h> for MAXHOSTNAMELEN. (This is a stopgap: some of the uses of MAXHOSTNAMELEN are wrong anyway...) svn path=/trunk/; revision=2340
* o fixed numerous bugs in providers/smtp/camel-smtp-transport.c; should nowEDT 2000 Jeffrey Stedfast2000-04-081-0/+7
| | | | | | | | | | Fri Apr 7 16:49:42 EDT 2000 Jeffrey Stedfast <fejj@stampede.org> o fixed numerous bugs in providers/smtp/camel-smtp-transport.c; should now build correctly o readded smtp to providers/Makefile.am CVS svn path=/trunk/; revision=2332
* (pop3_connect): Remember the password after asking for it theDan Winship2000-04-081-0/+2
| | | | | | first time. svn path=/trunk/; revision=2331
* Clarify error messages. (finalize): fix a bug in camel_exception usageDan Winship2000-04-081-0/+6
| | | | | | | | * providers/pop3/camel-pop3-store.c (pop3_connect): Clarify error messages. (finalize): fix a bug in camel_exception usage svn path=/trunk/; revision=2329
* Removed smtp for now, its a long way from building. Removed file thatNotZed2000-04-071-0/+7
| | | | | | | | | | | 2000-04-07 NotZed <NotZed@HelixCode.com> * providers/Makefile.am: Removed smtp for now, its a long way from building. * providers/smtp/Makefile.in: Removed file that shouldn't have been checked in. svn path=/trunk/; revision=2324
* + * camel-folder-pt-proxy.c (_get_full_name): Remove exception paramMatthew Loper2000-04-071-0/+7
| | | | | | | | + from get_full_name() called, since get_full_name() was changed to + not have an exception in the last param (see dan's notes below). + (_get_name): same. svn path=/trunk/; revision=2316
* Reorganize the folder-fetching methods and implement a folder cache soDan Winship2000-04-071-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2000-04-06 Dan Winship <danw@helixcode.com> * camel-store.[ch]: Reorganize the folder-fetching methods and implement a folder cache so that multiple requests for the same folder will yield the same CamelFolder object (as long as it remains active). Includes some code to remove no-longer-active folders from the cache, but it doesn't get used since nothing is ever unref'ed in Camel right now... * providers/mbox/camel-mbox-store.c: * providers/pop3/camel-pop3-store.c: update for CamelStore changes. * camel-folder.[ch]: Remove the (unused) CamelException argument from camel_folder_get_name and camel_folder_get_full_name. (camel_folder_set_name): make this go away since changing a folder's name after it has been created could result in it conflicting with a separately-issued folder. svn path=/trunk/; revision=2314
* the URL RFC says the port must be numeric, so we don't want to doDan Winship2000-04-061-0/+9
| | | | | | | | | | | * g_url_new really wanted to take a CamelException. So, rename Gurl to CamelURL, g_url_* to camel_url_* (with camel_url_new taking an exception), and url-util.[ch] to camel-url.[ch]. Also force url->port to be numeric and remove camel_service_getport. (I was confused before: the URL RFC says the port must be numeric, so we don't want to do getportbyname.) svn path=/trunk/; revision=2300
* Compare mbox_file_size and mbox_modtime to the results of stat()ing theDan Winship2000-04-021-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): Compare mbox_file_size and mbox_modtime to the results of stat()ing the mbox file, not the summary file. Duh. (_close): Update the summary's mbox_file_size and mbox_modtime before writing it to disk. * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_save, camel_mbox_summary_load): Wow. I must have been tired when I wrote this code. First, the comparison bug above. Second, it was using ntohs and htons instead of ntohl and htonl. Third, I was reading the status flag byte in two different places and thus getting out of sync. Fourth, it was writing out field_length bytes of each header field after having converted field_length to network byte order, resulting in lots of random crap being appended, and the summary files being huge. (Fortunately, since the size/modtime comparison was biffed, the garbage summary read from disk was always immediately discarded.) * providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): fix an off-by-one error that caused the last-used UID to be reused if the summary file was regenerated. (That one wasn't my fault. :-) svn path=/trunk/; revision=2279
* implement unimplemented methodsDan Winship2000-04-011-0/+2
| | | | | | * camel-stream-mem.c: implement unimplemented methods svn path=/trunk/; revision=2275
* remove debugging printf()s that no longer seem usefulDan Winship2000-04-011-0/+10
| | | | svn path=/trunk/; revision=2274
* Added "convert_newlines_to_br" boolean param, to give the option of notMatthew Loper2000-04-011-0/+7
| | | | | | | | | * camel-formatter.c (text_to_html): Added "convert_newlines_to_br" boolean param, to give the option of not converting '\n's to <br> tags. This way, when we stick stuff in a <pre> tag, newlines stay newlines. svn path=/trunk/; revision=2270
* Use <pre> tag to force the use of monospaced fonts.Matthew Loper2000-03-311-0/+5
| | | | | | | * camel-formatter.c (handle_text_plain): Use <pre> tag to force the use of monospaced fonts. svn path=/trunk/; revision=2260
* Add a htons in the default_number case, and document the fact that theDan Winship2000-03-311-0/+10
| | | | | | | | | | | | * camel-service.c (camel_service_getport): Add a htons in the default_number case, and document the fact that the function returns the port in network byte order. * providers/pop3/camel-pop3-store.c (pop3_connect): Revert Miguel's change. The port number bug was actually somewhere else, and the IP address copying code was fine already. svn path=/trunk/; revision=2256
* Add htons (port), and only copy 4 bytes for the IP address to prevent aMiguel de Icaza2000-03-301-0/+6
| | | | | | | | | | 2000-03-29 Miguel de Icaza <miguel@gnu.org> * providers/pop3/camel-pop3-store.c (pop3_connect): Add htons (port), and only copy 4 bytes for the IP address to prevent a DNS attack. svn path=/trunk/; revision=2251
* make this return a CamelStream rather than a CamelSeekableSubstream,Dan Winship2000-03-291-0/+6
| | | | | | | | | | * camel-seekable-substream.c (camel_seekable_substream_new_with_seekable_stream_and_bounds): make this return a CamelStream rather than a CamelSeekableSubstream, because that's the way Gtk objects tend to work. svn path=/trunk/; revision=2218
* convenience functions to canonicalize the host and port values of aDan Winship2000-03-291-0/+5
| | | | | | | | | * camel-service.c (camel_service_gethost, camel_service_getport): convenience functions to canonicalize the host and port values of a service's URL. * providers/pop3/camel-pop3-store.c: use them svn path=/trunk/; revision=2216
* Make this work when the inbox file doesn't yet exist.Dan Winship2000-03-291-0/+6
| | | | | | | | * providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): Make this work when the inbox file doesn't yet exist. svn path=/trunk/; revision=2215
* uncomment the call to unlink the temp file: there's no way to tellDan Winship2000-03-281-0/+5
| | | | | | | | | * providers/mbox/camel-mbox-folder.c (_append_message): uncomment the call to unlink the temp file: there's no way to tell camel_stream_fs to truncate a file, so reusing the same file was resulting in junk at the ends of messages. svn path=/trunk/; revision=2206
* add delete_message_by_{number,uid}.Dan Winship2000-03-281-0/+14
| | | | | | | | | | | | | | | | * camel-folder.[ch]: add delete_message_by_{number,uid}. * providers/pop3/camel-pop3-folder.[ch]: implement delete_message_by_uid. Add a close method to do expunging of deleted messages if requested. * providers/pop3/camel-pop3-store.[ch]: support for CamelPop3Folder::close. (You have to close the connection in order to expunge the folder, thus the store may be connected in the CamelService::is_connected sense when it is not actually connected to the server.) Also some bugfixes. svn path=/trunk/; revision=2203
* Unref the output_stream when done, close doesn't do it. (_append_message):NotZed2000-03-281-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-27 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-folder.c (_append_message): Unref the output_stream when done, close doesn't do it. (_append_message): Clear all uid's from the appending messages, so they are reassigned proper unique id's. * gmime-utils.c (get_header_array_from_stream): Actually free the header, it is copied elsewhere. 2000-03-26 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): Added folder parameter to function. Fixed callers. (index_message): Index a message as it is assigned a unique id. * camel-mime-part.c (my_set_content_id): Make sure we malloc and copy the content_id, otherwise *poof* 2000-03-25 NotZed <NotZed@HelixCode.com> * camel-medium.c (_finalize): Another leak, unref the content if finished with it. * camel-recipient.c (camel_recipient_table_free): Plug another memory leak - actually free the recipient table. * camel-mime-message.c (_finalize): Plugged a memory leak with the flags table. * gmime-utils.c (_store_header_pair_from_string): A simpler, more debuggable and functionally identical header extraction function. 2000-03-24 NotZed <NotZed@HelixCode.com> * gmime-content-field.c (gmime_content_field_set_parameter): Remove the hash table entry before freeing its key and data. svn path=/trunk/; revision=2199
* keep separate input and output streams so the output doesn't end up beingDan Winship2000-03-281-0/+10
| | | | | | | | | | | | * providers/pop3/camel-pop3-store.c: keep separate input and output streams so the output doesn't end up being buffered. * providers/pop3/camel-pop3-folder.c (get_message_by_number): finish implementing this. * providers/Makefile.am (SUBDIRS): Add pop3. svn path=/trunk/; revision=2196
* fix nastiness with mime dispositions ( at least for now )Michael Meeks2000-03-281-0/+8
| | | | svn path=/trunk/; revision=2195
* new routine to free the data allocated by camel_service_query_auth_types.Dan Winship2000-03-281-0/+5
| | | | | | | | | * camel-service.c (camel_service_free_auth_types): new routine to free the data allocated by camel_service_query_auth_types. * providers/pop3/camel-pop3-store.c (free_auth_types): implement svn path=/trunk/; revision=2190
* rename camel_stream_mem_new_with_buffer to ..._with_byte_array and add aDan Winship2000-03-281-0/+4
| | | | | | | | * camel-stream-mem.c (camel_stream_mem_new_with_buffer): rename camel_stream_mem_new_with_buffer to ..._with_byte_array and add a new ..._with_buffer that takes a char * rather than a GByteArray. svn path=/trunk/; revision=2189
* Remove CamelStreamBufferedFs, since CamelStreamBuffer makes it redundant.Dan Winship2000-03-281-0/+5
| | | | | | | * Remove CamelStreamBufferedFs, since CamelStreamBuffer makes it redundant. svn path=/trunk/; revision=2188
* change the CamelFolderSummary interfaces to allow partial summary queriesDan Winship2000-03-251-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | * camel-folder-summary.[ch]: change the CamelFolderSummary interfaces to allow partial summary queries (for dealing with very large folders). Remove the "extended_fields" from CamelFolderInfo and CamelMessageInfo: this is better dealt with by subtyping. * providers/mbox/camel-mbox-summary.[ch]: Make CamelMboxSummary a subclass of CamelFolderSummary. Update interfaces for that. Remove the internal/external summary distinction. Remove the (unused) md5 checksum in the folder summary. Change the summary file format (primarily to make it no longer byte-order dependent) and add a version number to it so it will be easier to change in the future. * providers/mbox/camel-mbox-folder.[ch] * providers/mbox/camel-mbox-search.c * providers/mbox/camel-mbox-utils.c: update for summary changes * camel-exception-list.def: add CAMEL_EXCEPTION_FOLDER_SUMMARY_INVALID svn path=/trunk/; revision=2159
* Added flag to provider initialisation, to match changed structure.NotZed2000-03-241-0/+5
| | | | | | | | | 2000-03-23 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-provider.c: Added flag to provider initialisation, to match changed structure. svn path=/trunk/; revision=2158
* Added async search api.NotZed2000-03-241-0/+10
| | | | | | | | | | | | | | 2000-03-22 NotZed <NotZed@HelixCode.com> * camel-folder.[ch]: Added async search api. * providers/mbox/camel-mbox-search.c (camel_mbox_folder_search_by_expression): Changed to use an asynchronous interface. (camel_mbox_folder_search_cancel): Cancel function for async interface. svn path=/trunk/; revision=2155
* Function to read one line of any size from a stream and return it inDan Winship2000-03-241-0/+6
| | | | | | | | | | | * camel-stream-buffer.c (camel_stream_buffer_read_line): Function to read one line of any size from a stream and return it in allocated memory. Also add camel-stream-buffer.h to camel.h and CamelStreamBuffer to camel-types.h. svn path=/trunk/; revision=2152
* New function to query a service for the authentication protocols itDan Winship2000-03-231-0/+7
| | | | | | | | * camel-service.c (camel_service_query_auth_types): New function to query a service for the authentication protocols it supports. * providers/pop3/camel-pop3-store.c (query_auth_types): implement svn path=/trunk/; revision=2147
* fill this in partially make camel_pop3_command return the text afterDan Winship2000-03-231-0/+9
| | | | | | | | | | | * providers/pop3/camel-pop3-folder.c: fill this in partially * providers/pop3/camel-pop3-store.c: make camel_pop3_command return the text after "+OK"/"-ERR" and add a separate camel_pop3_get_additional_data to get the message body or whatever. Also make them take a CamelPop3Store rather than a CamelStreamBuffer. svn path=/trunk/; revision=2143
* + * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"Matthew Loper2000-03-231-0/+5
| | | | | | | | | | | | | + to gtk_main_quit, so that the shell dies when you want it to. + + * shell/e-shell-view.c (get_view): Reorganized, and added + assertions. + (e_shell_view_set_view): Added assertions. + + * camel/camel-formatter.c (debug): Disabled some useless debug + messaging. svn path=/trunk/; revision=2141
* some initial bits of the POP3 provider, to make Matt happy. Incomplete,Dan Winship2000-03-221-0/+5
| | | | | | | * providers/pop3: some initial bits of the POP3 provider, to make Matt happy. Incomplete, untested, etc. svn path=/trunk/; revision=2137
* display message sizebertrand2000-03-211-0/+11
| | | | | | | | | | | | | | | | | | | | | 2000-03-21 bertrand <bertrand@helixcode.com> * message-list.c (ml_value_at): display message size 2000-03-21 bertrand <bertrand@helixcode.com> * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_append_internal_to_external): copy the size field * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): initialize message_info to NULL * camel-folder-summary.h: added the size field. * providers/mbox/camel-mbox-summary.h: added the received_date field. svn path=/trunk/; revision=2133
* documented all functions.bertrand2000-03-211-0/+11
| | | | | | | | | 2000-03-21 bertrand <bertrand@helixcode.com> * providers/mbox/camel-mbox-summary.c: documented all functions. svn path=/trunk/; revision=2132
* cosmetic changes.bertrand2000-03-111-0/+4
| | | | | | | | 2000-03-10 bertrand <bertrand@helixcode.com> * camel-service.h: cosmetic changes. svn path=/trunk/; revision=2098
* fix the name of "Helix Code, Inc." in all the copyrightsDan Winship2000-03-101-0/+4
| | | | svn path=/trunk/; revision=2091
* plug mem leaks due to bad documentation ofbertrand2000-03-091-0/+15
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-07 bertrand <bertrand@helixcode.com> * camel-formatter.c (handle_mime_part): plug mem leaks due to bad documentation of camel_content_field_get_mime_type (print_camel_body_part): idem (handle_multipart_alternative): idem * gmime-content-field.c (gmime_content_field_get_mime_type): documentation fix. * camel-mime-part.c (my_finalize): unref the content_input_stream if any. * shell/e-shell-shortcut.c (shortcut_bar_item_selected): removed a test that prevented the standard menu to be shown. svn path=/trunk/; revision=2089
* More changes than a man can remember.Bertrand Guiheneuf2000-03-061-1/+9
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* Tons of fixes to fix thingsBertrand Guiheneuf2000-03-051-0/+5
| | | | svn path=/trunk/; revision=2057
* Ref the summary after we have got it.NotZed2000-03-051-0/+6
| | | | | | | | | | 2000-03-04 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-search.c (camel_mbox_folder_search_by_expression): Ref the summary after we have got it. svn path=/trunk/; revision=2053
* stream the raw content instead of nothing if the encoding is notbertrand2000-03-051-0/+7
| | | | | | | | | | | | | 2000-03-04 bertrand <bertrand@helixcode.com> * camel-mime-part.c (my_write_content_to_stream): stream the raw content instead of nothing if the encoding is not supported. * camel-stream-fs.c (_seek): handle eos more properly. svn path=/trunk/; revision=2047
* bonobo-goad-id is the good key to look for. (get_bonobo_tag_for_object):bertrand2000-03-041-0/+10
| | | | | | | | | | | | | | 2000-03-04 bertrand <bertrand@helixcode.com> * camel-formatter.c (get_bonobo_tag_for_object): bonobo-goad-id is the good key to look for. (get_bonobo_tag_for_object): close the <object> tag. (get_bonobo_tag_for_object): the correct syntax for the to set a parameter inside an <object> tag is : <object classid="..."> <param name="uid" value="..."> <param ...> </object> svn path=/trunk/; revision=2036
* use set_input_stream instead of construct_from_stream to feed the messagebertrand2000-03-041-0/+14
| | | | | | | | | | | | | | | | | | | | | 2000-03-03 bertrand <bertrand@helixcode.com> * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): use set_input_stream instead of construct_from_stream to feed the message object. * camel-data-wrapper.c (my_write_to_stream): reset output stream. (my_set_input_stream): unref the previous input stream. use the set_output_stream for default behaviour. (my_set_output_stream): unref previous output stream. * camel-mime-part.c (my_write_content_to_stream): reset content object output stream. mbox provider now also constructs message bodies. I should have looked here first. damn. svn path=/trunk/; revision=2030
* Make sure we open with create with a creation mask.NotZed2000-03-041-0/+20
| | | | | | | | | | | | | | | 2000-03-03 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): Make sure we open with create with a creation mask. 2000-03-01 NotZed <NotZed@HelixCode.com> * camel-mime-part-utils.c (camel_mime_part_construct_content_from_stream): DO NOT assert on content type, we have fallback code 4 lines below it ... *sigh* svn path=/trunk/; revision=2026
* in the case of images, put the content object output stream in the url.bertrand2000-03-041-0/+5
| | | | | | | | | | | 2000-03-03 bertrand <bertrand@helixcode.com> * camel-formatter.c (handle_image): in the case of images, put the content object output stream in the url. This allows the message browser to show inline images. svn path=/trunk/; revision=2021
* fixed state 0 keep value.bertrand2000-03-031-0/+5
| | | | | | | | | 2000-03-03 bertrand <bertrand@helixcode.com> * camel-stream-b64.c (my_read_encode): fixed state 0 keep value. svn path=/trunk/; revision=2019
* don't forget to set the state to 0 after 3. (my_read_encode): don't forgetbertrand2000-03-031-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-02 bertrand <bertrand@helixcode.com> * camel-stream-b64.c (my_read_encode): don't forget to set the state to 0 after 3. (my_read_encode): don't forget to encode, even in state 3. * camel-simple-data-wrapper.c: static functions are prefixed with my_ instead of _ * camel-multipart.c: static functions are prefixed with my_ instead of _ (my_write_to_stream): commented. (my_write_to_stream): warning in case the boudary is set but is a zero length string. * camel-mime-part.c (camel_mime_part_encoding_from_string): remove debug trace. * camel-mime-part.c: Replaced all static functions with name begining with _ by the same name begining with "my_" to prevent the possible conflicts with system symbols Dan warned us about. Mime mail generation works now, at least with b64 encoding. QP needs to be done now. svn path=/trunk/; revision=2016
* use CamelStreamB64 type for the input stream.bertrand2000-03-031-0/+8
| | | | | | | | | | | | | | 2000-03-02 bertrand <bertrand@helixcode.com> * camel-stream-b64.c (camel_stream_b64_write_to_stream): use CamelStreamB64 type for the input stream. * camel-mime-part.c (_get_content_object): remove debugging trace (_write_content_to_stream): implement the b64 encoding the new way (that is using camel_stream_b64) svn path=/trunk/; revision=2014
* fix implementation so that it writes properly to the output stream even.bertrand2000-03-021-0/+9
| | | | | | | | | | | | | 2000-03-02 bertrand <bertrand@helixcode.com> * camel-data-wrapper.c (my_write_to_stream): fix implementation so that it writes properly to the output stream even. * camel-stream-b64.c (camel_stream_b64_write_to_stream): fix implementation. svn path=/trunk/; revision=2013
* new utility function.bertrand2000-02-291-0/+6
| | | | | | | | | | | | 2000-02-29 bertrand <bertrand@helixcode.com> * camel-stream-b64.c (camel_stream_b64_write_to_stream): new utility function. * camel-data-wrapper.c (_write_to_stream): default implementation. svn path=/trunk/; revision=1989
* revert strange changes.bertrand2000-02-291-0/+9
| | | | | | | | | | | | | 2000-02-29 bertrand <bertrand@helixcode.com> * gmime-utils.c (_store_header_pair_from_string): revert strange changes. * camel-stream-b64.c (my_read_decode): set eos to true when we have read the whole input stream. (my_reset): set eos to FALSE. svn path=/trunk/; revision=1988
* Fix a bunch of serious small bugs.NotZed2000-02-291-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * camel-mime-part.c (_parse_header_pair): Dont free this either. * camel-medium.c (_remove_header): Ugh, dont free the header before we actually remove it. (_add_header): Ugh, dont free hashtable entries which may be duplicated (hash_insert _will_ reference that memory). * string-utils.c (string_trim): Trimming a 0-length string is not an error. * camel-mime-message.c (_parse_header_pair): Fixed very broken memory handling of header_name/value. * providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): Initialise end_of_last_message always. (camel_mbox_copy_file_chunk): Stop trying to read if we run out of data, rather than looping forever. * providers/mbox/camel-mbox-folder.c (_init): Set search cap on. (_open): Call parent class to perform open. Remove folder-open check to parent instead. (_create): open takes a creation mask, dont use umask to try and set the open mode. (_delete): Dont bother checking folder==NULL, its already been checked on the external interface (changed to an assertion, this would have to be a camel bug). (_delete_messages): Likewise. (_create): Ditto. (_init): Dont go and clear all the paths and shit that the parent open just setup for us. (_delete_messages): Get rid of more umask stuff. (_append_message): Make sure we pass file mode to open with create. (_append_message): Cleaned up some indenting to make it readable. svn path=/trunk/; revision=1985
* No, its not a fatal error to search on a non-searchable folder, you justNotZed2000-02-291-0/+10
| | | | | | | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * camel-folder.c (camel_folder_search_by_expression): No, its not a fatal error to search on a non-searchable folder, you just dont get any matches. (_open): Dont open an opened folder (i dont see why this is really a bug, but what the hell ...) * providers/mbox/camel-mbox-folder.c (_init): Set search cap on. (_open): Call parent class to perform open. Remove folder-open check to parent instead. svn path=/trunk/; revision=1984
* Fixed a typo.NotZed2000-02-291-0/+7
| | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * camel-stream-b64.c (my_read_encode): Fixed a typo. * providers/mbox/camel-mbox-search.c: Changed to use e-sexp, rather than filter-sexp. svn path=/trunk/; revision=1979
* non blocking b64 encoding is a PITABertrand Guiheneuf2000-02-281-0/+16
| | | | svn path=/trunk/; revision=1974
* add camel_session_get_transport_for_protocolDan Winship2000-02-251-0/+2
| | | | svn path=/trunk/; revision=1922
* Add CamelTransport abstract class and CamelSendmailTransportDan Winship2000-02-251-0/+8
| | | | svn path=/trunk/; revision=1921
* oops. ChangeLog entry for previousDan Winship2000-02-251-0/+9
| | | | svn path=/trunk/; revision=1920
* use CamelExceptions for run-time errors, not incorrect code. Don't botherDan Winship2000-02-251-0/+7
| | | | | | | | | * camel-folder.c: use CamelExceptions for run-time errors, not incorrect code. Don't bother validating that an object exists from inside one of its methods, since you couldn't have gotten there if it didn't. Fix some code style bugs. svn path=/trunk/; revision=1918
* Free the data in the headers hash table. (_add_header): g_strdup theDan Winship2000-02-241-0/+11
| | | | | | | | | | | | | * camel-medium.c (_finalize): Free the data in the headers hash table. (_add_header): g_strdup the header name and value when adding it. * camel-mime-part-utils.c (camel_mime_part_construct_headers_from_stream): Free the header data after calling camel_medium_add_header, since it will have g_strdup()ed it itself. svn path=/trunk/; revision=1913
* Dont compile by default.NotZed2000-02-231-1/+6
| | | | | | | | | | 2000-02-22 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-search.c: Dont compile by default. * providers/mbox/Makefile.am: Fuck off the filter code. svn path=/trunk/; revision=1907
* don't read the char if we reached the length of the output buffer. Hoursbertrand2000-02-221-0/+5
| | | | | | | | | | | 2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org> * camel-stream-b64.c (read_decode__static): don't read the char if we reached the length of the output buffer. Hours lost on this %$!@# bug : 3.5 svn path=/trunk/; revision=1903
* fix to show a sample correct implementation.bertrand2000-02-221-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org> * message-list.c (message_list_set_folder): fix to show a sample correct implementation. * camel-folder.c (camel_folder_get_subfolder): (camel_folder_create): (camel_folder_delete): (camel_folder_delete_messages): (camel_folder_list_subfolders): (camel_folder_expunge): (camel_folder_get_message_by_number): (camel_folder_get_message_count): (camel_folder_append_message): (camel_folder_copy_message_to): (camel_folder_get_summary): (camel_folder_get_message_uid): (camel_folder_get_message_by_uid): (camel_folder_get_uid_list): Check folder state (open/close) and raise an exception if it is not ok. * providers/mbox/camel-mbox-folder.c (_create): create the file and the path with two different names. * camel-folder.c (_create): handle the case when the folder name starts with '/' * camel-exception.c (camel_exception_new): use (void) instead of () in decl. * camel-exception.h: cosmetic fixes. * camel-exception.c (camel_exception_init): new routine. Fix a bug in mail/message-list.c * camel-folder.h: cosmetic changes. * camel-stream-b64.c (reset__static): added a reset method. Thanks message-browser to find so much bugs :) * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd Unicode libs. Fixes and exception handling in camel-folder. Fixes in mail/evolution-mail to make it not segfault and to demonstrate a correct implementation. svn path=/trunk/; revision=1902
* added a reset method. Thanks message-browser to find so much bugs :)bertrand2000-02-221-0/+9
| | | | | | | | | | | | | | | | | | 2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org> * camel-stream-b64.c (reset__static): added a reset method. Thanks message-browser to find so much bugs :) * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd Unicode libs. * shell/Makefile.am (evolution_LDADD): add libetext.a. Fixes. svn path=/trunk/; revision=1900
* A lot of changes in the way the parsing works. I am too lazyBertrand Guiheneuf2000-02-221-0/+17
| | | | | | | | | | to find all the changes. Important notice, I added uggly hacks to camel-formatter.c and message-browser so that I could test b64 decoding. Saving streams works. Have to implement qp now. svn path=/trunk/; revision=1893
* Uh, fixed LIBADD again. What was there was never ever going to work,NotZed2000-02-221-0/+5
| | | | | | | | | 2000-02-21 NotZed <NotZed@HelixCode.com> * providers/mbox/Makefile.am: Uh, fixed LIBADD again. What was there was never ever going to work, wasn't it tested? svn path=/trunk/; revision=1891
* Add "authenticator" to CamelSession and update things to use it.Dan Winship2000-02-221-1/+8
| | | | svn path=/trunk/; revision=1890
* add CamelExceptions to several functions. Use camel_session_new toDan Winship2000-02-221-0/+18
| | | | | | | | | | | | | | | | | | | | | | * camel-session.h: * camel-session.c: add CamelExceptions to several functions. Use camel_session_new to initialize the session and URL fields of created CamelStores as appropriate. * camel-store.h: * camel-store.c * camel-service.h: * camel-service.c: Move the session and url (and associated functions) from CamelStore to CamelService. Add url_flags to CamelService so subclasses can specify which URL components are mandatory for them. Add camel_session_new for camel_session_get_store* to use. * providers/mbox/camel-mbox-folder.c: * providers/mbox/camel-mbox-store.c: * providers/mbox/camel-mbox-store.h: Update for above changes. svn path=/trunk/; revision=1888
* Once camel is being used for real, exceptions won't be renumberable. SoDan Winship2000-02-211-0/+7
| | | | | | | | | * camel-exception-list.def: Once camel is being used for real, exceptions won't be renumberable. So renumber them now to make more room to add exceptions to the various categories later, and add a big warning message. svn path=/trunk/; revision=1887
* add libibex back to libcamelmbox_la_LIBADDDan Winship2000-02-211-0/+5
| | | | svn path=/trunk/; revision=1872
* Michael created camel/ChangeLog on 2/12 but didn't commit it until 2/18,Dan Winship2000-02-211-0/+183
| | | | | | | | | meaning his ChangeLog entries ended up there and everyone else's ended up in the top-level ChangeLog. Move the post-2/12 ChangeLog entries from ChangeLog to camel/ChangeLog so that you don't need to look in two different places for that week's worth of commits. svn path=/trunk/; revision=1868
* Added exception to call, and fixed caller.NotZed2000-02-191-0/+50
2000-02-18 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-search.h (camel_mbox_folder_search_by_expression): Added exception to call, and fixed caller. * providers/mbox/camel-mbox-search.c (camel_mbox_folder_search_by_expression): Major changes, to use the sexp evaluator from filter/filter-sexp.c to implement the searching. (func_body_contains): Changed to support multiple strings in 1 command (results or'd together) * url-util.c (g_url_new): Fixed a typo (colon == 0 isn't right), and made it so full url's are absolute pathed (Dan, this is how it has to work!). Also, always include a path part, even if it is an empty string. 2000-02-16 NotZed <NotZed@HelixCode.com> * providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Added libfilter to link line (temporarily?). Required for filter-sexp. svn path=/trunk/; revision=1855