aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Restore old security settings from the saved configuration. Fixes bugJeffrey Stedfast2001-07-311-0/+5
| | | | | | | | | 2001-07-30 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Restore old security settings from the saved configuration. Fixes bug #5710. svn path=/trunk/; revision=11479
* Actually add the timeout, this time in the gtk thread.Not Zed2001-07-301-0/+11
| | | | | | | | | | | | | | | 2001-07-30 Not Zed <NotZed@Ximian.com> * mail-session.c (do_register_timeout): Actually add the timeout, this time in the gtk thread. (do_remove_timeout): And same for remove. (register_timeout): (remove_timeout): Proxy the gtk calls to the main thread, and wait for them to execute synchronously. (register_timeout): Instead of return with fail for a too small timeout, just increase the timeout. svn path=/trunk/; revision=11468
* Added (unused) table with strings intended to be translated (i18n toolsChyla Zbigniew2001-07-281-0/+6
| | | | | | | | * component-factory.c (populate_folder_context_menu): Added (unused) table with strings intended to be translated (i18n tools can't extract strings from XML data inside .c file). svn path=/trunk/; revision=11458
* Don't need this anymore. (do_get_pass): Since we already have the entryJeffrey Stedfast2001-07-281-0/+6
| | | | | | | | | | 2001-07-27 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (focus_on_entry): Don't need this anymore. (do_get_pass): Since we already have the entry widget, no need to do the nasty focus_on_entry hack. svn path=/trunk/; revision=11453
* Figure out whether we're getting the password for the source or thePeter Williams2001-07-271-0/+11
| | | | | | | | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * mail-mt.c (do_get_pass): Figure out whether we're getting the password for the source or the transport, and get the toggle button accordingly. (pass_got): Same. * mail-config.c (mail_config_get_account_by_transport_url): New function. Cut + paste + search + replace of _by_source_url. * mail-config.h: Prototype here. svn path=/trunk/; revision=11446
* glade beautificationsJeffrey Stedfast2001-07-271-0/+2
| | | | svn path=/trunk/; revision=11442
* If we don't have any messages selected, break out. This fixes bug #5612.Jeffrey Stedfast2001-07-271-0/+8
| | | | | | | | | | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_get): If we don't have any messages selected, break out. This fixes bug #5612. * component-factory.c (xfer_folder): Fixed a strstr (url, "noselect=yes") brokenness. (destination_folder_handle_motion): Same. (destination_folder_handle_drop): And again here. * mail-format.c (handle_application_pgp): Implemented. (setup_mime_tables): Setup the application/pgp handler to use handle_application_pgp instead of handle_text_plain. (handle_text_plain): Remove special-case hacks for application/pgp types. svn path=/trunk/; revision=11438
* Implemented. (setup_mime_tables): Setup the application/pgp handler to useJeffrey Stedfast2001-07-271-0/+8
| | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_application_pgp): Implemented. (setup_mime_tables): Setup the application/pgp handler to use handle_application_pgp instead of handle_text_plain. (handle_text_plain): Remove special-case hacks for application/pgp types. svn path=/trunk/; revision=11434
* Use magic to make the password remembering checkbutton come after thePeter Williams2001-07-271-0/+5
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * mail-mt.c (do_get_pass): Use magic to make the password remembering checkbutton come after the entry, visually. svn path=/trunk/; revision=11432
* Respect Gtk theme colors for the fonts and calculate a new table gbcolorJeffrey Stedfast2001-07-271-6/+13
| | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Respect Gtk theme colors for the fonts and calculate a new table gbcolor based on gtk theme preferences. * mail-config.glade: Label the enabled field. svn path=/trunk/; revision=11431
* Make the date column smaller and the subject column larger, relatively.Peter Williams2001-07-271-0/+3
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * message-list.etspec: Make the date column smaller and the subject column larger, relatively. svn path=/trunk/; revision=11429
* Don't display "0 hidden".Peter Williams2001-07-271-0/+3
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_status): Don't display "0 hidden". svn path=/trunk/; revision=11427
* Make 'q' a toggle, not one-way.Peter Williams2001-07-261-0/+3
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * folder-browser.c (on_key_press): Make 'q' a toggle, not one-way. svn path=/trunk/; revision=11425
* Rename "Date" column to "Sent".Peter Williams2001-07-261-0/+4
| | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * message-list.etspec: Rename "Date" column to "Sent". svn path=/trunk/; revision=11424
* fixed a mis-spelling of "Fashion" in the mail accounts window. (See bugAnna Marie Dirks2001-07-261-0/+5
| | | | | | | | 2001-07-25 Anna Marie Dirks <anna@ximian.com> * mail-config.glade: fixed a mis-spelling of "Fashion" in the mail accounts window. (See bug 5433) svn path=/trunk/; revision=11412
* Don't make the key url:item if we have the url, just make it url. ThisJeffrey Stedfast2001-07-261-0/+1
| | | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (make_key): Don't make the key url:item if we have the url, just make it url. This fixes bug #5339. (mail_session_set_password): Removed. svn path=/trunk/; revision=11411
* Don't make the key url:item if we have the url, just make it url. ThisJeffrey Stedfast2001-07-261-5/+11
| | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (make_key): Don't make the key url:item if we have the url, just make it url. This fixes bug #5339. svn path=/trunk/; revision=11410
* Make it so Enter always opens the message in another window.Peter Williams2001-07-261-0/+5
| | | | | | | | | 2001-07-25 Peter Williams <peterw@ximian.com> * folder-browser.c (etree_key): Make it so Enter always opens the message in another window. svn path=/trunk/; revision=11409
* Now take a CamelService parameter (as passed by Camel). Allows us to havePeter Williams2001-07-261-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-25 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_get_password): Now take a CamelService parameter (as passed by Camel). Allows us to have a "remember password" checkbox that is set correctly and whose settings can be propagated back to the proper MailConfigService. (do_get_pass): Add a checkbutton allowing the user to change whether the password is remembered or not. (pass_got): Apply the setting of the "remember password" checkbutton (if not cancelled.) * mail-mt.h: Update the prototype here. * mail-config.c (mail_config_service_set_save_passwd): New function, pretty bland. * mail-config.h: Prototype our bland new function. (Get it? It's a pun!) * mail-session.c (get_password): Pass the service as well. svn path=/trunk/; revision=11408
* Now takes a check_supported gboolean argument saying whether or not toJeffrey Stedfast2001-07-261-0/+10
| | | | | | | | | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (build_auth_menu): Now takes a check_supported gboolean argument saying whether or not to disable non-supported authtypes. (source_type_changed): Update for build_auth_menu. (transport_type_changed): Same. (service_check_supported): Pass in TRUE for the disable non-supported authtypes to build_auth_menu and also disable check-supported button and the authtype menu if we get a NULL supported auth list. svn path=/trunk/; revision=11404
* Initialize `me' to NULL. (forward_attached): If we are only forwarding aJeffrey Stedfast2001-07-261-0/+7
| | | | | | | | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Initialize `me' to NULL. (forward_attached): If we are only forwarding a single message, pass the message along as the callback data, else pass NULL. (do_forward_attach): Updated for changes to forward_get_composer(). (do_forward_non_attached): Same. (forward_get_composer): Try to guess which account to forward the message from if the message passed in is non-NULL. svn path=/trunk/; revision=11401
* Initialize `me' to NULL.Jeffrey Stedfast2001-07-261-2/+6
| | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Initialize `me' to NULL. svn path=/trunk/; revision=11400
* Um, write the HTML signature settings in the right place. Whoops.Peter Williams2001-07-251-0/+5
| | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Um, write the HTML signature settings in the right place. Whoops. svn path=/trunk/; revision=11396
* If we're the last row and we're deleting, select the previous message, notJason Leach2001-07-251-0/+6
| | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * mail-callbacks.c (delete_msg): If we're the last row and we're deleting, select the previous message, not next, which actually selects nothing. Fixes #5323. svn path=/trunk/; revision=11391
* Pass the O_TRUNC flag to open so that we don't leave trailing garbage atJeffrey Stedfast2001-07-251-0/+4
| | | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_part_save): Pass the O_TRUNC flag to open so that we don't leave trailing garbage at the end of the file if the new file content is shorter than the old file content. svn path=/trunk/; revision=11373
* Fix for bug #5174.Jeffrey Stedfast2001-07-251-0/+4
| | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_view): Fix for bug #5174. svn path=/trunk/; revision=11368
* Match the prefix for the "remember_passphrase" setting with where it'sJason Leach2001-07-251-0/+7
| | | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * mail-config.c (config_read): Match the prefix for the "remember_passphrase" setting with where it's being saved to (/Mail/Prompts), so the setting gets loaded correctly. Fixes #5351. svn path=/trunk/; revision=11360
* check_specials if this is an application/pgp type as well.Jeffrey Stedfast2001-07-251-0/+3
| | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): check_specials if this is an application/pgp type as well. svn path=/trunk/; revision=11357
* When dumping the CamelURL to a string, hide all the params.Jeffrey Stedfast2001-07-251-0/+5
| | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): When dumping the CamelURL to a string, hide all the params. svn path=/trunk/; revision=11354
* Do a case-insensitive comparison. (mail_generate_reply): Only resort toJeffrey Stedfast2001-07-251-1/+18
| | | | | | | | | | | | | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (guess_me): Do a case-insensitive comparison. (mail_generate_reply): Only resort to the source account's identity if we can't find out which identity to use based on the recipients of the message first. * mail-config.c (mail_config_get_default_account): Make sure to return the 0th account if we don't have a default. We don't want to return NULL. * mail-callbacks.c (empty_trash): Use mail_tool_get_trash for the remote store trash folders. * mail-tools.c (mail_tool_get_trash): New convenience function. svn path=/trunk/; revision=11353
* get_boolean_with_default for the "Mark as read" timeout, notJason Leach2001-07-251-0/+5
| | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * mail-config.c (config_read): get_boolean_with_default for the "Mark as read" timeout, not get_long_with_default. Fixes #5176. svn path=/trunk/; revision=11352
* Don't display "(0 unsent)" if the outbox is empty.Peter Williams2001-07-251-0/+3
| | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_name): Don't display "(0 unsent)" if the outbox is empty. svn path=/trunk/; revision=11347
* Set up the local trash in the folder cache.Peter Williams2001-07-251-0/+2
| | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-local.c (init_trash): Set up the local trash in the folder cache. svn path=/trunk/; revision=11343
* Make the error reporting a little but more descriptive.Peter Williams2001-07-241-0/+5
| | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (update_idle): Make the error reporting a little but more descriptive. svn path=/trunk/; revision=11341
* Add new label widgets with a message that SSL isn't supported.Peter Williams2001-07-241-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-config.glade: Add new label widgets with a message that SSL isn't supported. * mail-account-gui.h: Add a new member to the Transport GUI struct for the 'SSL is not supported' message. * mail-account-gui.c (source_type_changed): Change logic to display a message stating that SSL isn't supported if SSL isn't supported. (transport_type_changed): Same. (mail_account_gui_new): Also load the labels for the the no-SSL message. * mail-accounts.c (construct): Fix typo. svn path=/trunk/; revision=11340
* Dont call notifyResult here if we've just launched a thread to do theNot Zed2001-07-241-0/+7
| | | | | | | | | | | 2001-07-24 Not Zed <NotZed@Ximian.com> * component-factory.c (create_folder): Dont call notifyResult here if we've just launched a thread to do the work, it calls it itself. This apparently breaks the importers, but thats a different issue. svn path=/trunk/; revision=11335
* Go back to calling mail_msg_free here. (mail_msg_destroy): Remove theNot Zed2001-07-241-0/+14
| | | | | | | | | | | | | | | | | | 2001-07-23 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msgport_replied): Go back to calling mail_msg_free here. (mail_msg_destroy): Remove the operation unregistration stuff. (mail_msg_received): And put it here, so we unregister as soon as the async part of the operation is complete. I thought about this and we should be doing this anyway so we register/unregister always in the same thread, although the camel_operation api doesn't enforce it, this *is* what it expects. * message-list.c (regen_list_regen): re-add reporting to rebuilding the message list. Basically fixes #4931 svn path=/trunk/; revision=11332
* Oops. Uncomment this code since Trow fixed GtkHTML to actually have thisJeffrey Stedfast2001-07-241-0/+3
| | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (toggled_fwd_cb): Oops. Uncomment this code since Trow fixed GtkHTML to actually have this function now. svn path=/trunk/; revision=11328
* Fixed the "Read" to be Read in the glade file per menesis' request.Jeffrey Stedfast2001-07-241-0/+11
| | | | | | | | | | | | | | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Fixed the "Read" to be Read in the glade file per menesis' request. * mail-accounts.c (construct): Give the dialog a Close button instead of an OK button. (prompt_bcc_only_toggled): New. (threaded_list_toggled): New. (show_preview_toggled): New. (construct): Add code for the bcc-only-prompt, threaded-list, and show-preview checkboxes. * mail-ops.c (transfer_messages_transfer): If the source and destination folders are the same, just mark the uids as undeleted (in case they were marked as deleted before). svn path=/trunk/; revision=11327
* If the source and destination folders are the same, just mark the uids asJeffrey Stedfast2001-07-241-2/+8
| | | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (transfer_messages_transfer): If the source and destination folders are the same, just mark the uids as undeleted (in case they were marked as deleted before). svn path=/trunk/; revision=11322
* Carefully check for NULL everywhere, and do the right thing if the messageJon Trowbridge2001-07-241-1/+7
| | | | | | | | | | 2001-07-23 Jon Trowbridge <trow@ximian.com> * mail-search.c (begin_cb): Carefully check for NULL everywhere, and do the right thing if the message we are currently looking at gets expunged. (Bug #4870) svn path=/trunk/; revision=11321
* [Bug #5225: No UI way to mark as unimportant]Jason Leach2001-07-241-0/+13
| | | | | | | | | | | | | | | | | 2001-07-23 Jason Leach <jleach@ximian.com> [Bug #5225: No UI way to mark as unimportant] * folder-browser.c (on_right_click): Do the necessary stuff to show or hide the correct "Mark Important" or "Mark as Unimportant" menu items depending on the status of messages that are selected. * folder-browser-ui.c: Add the MarkAsUnimportant verb here. * mail-callbacks.c (mark_as_unimportant): Simple function that's the callback for these new menu items. svn path=/trunk/; revision=11316
* Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-231-0/+6
| | | | | | | | the ShellComponent interface. Updated the EvolutionShellComponent GTK+ wrapper and all the component accordingly. Get the calendar to use this so it can delete both tasks and calendar folders. svn path=/trunk/; revision=11300
* Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-221-0/+5
| | | | | | | use it, so that e.g. you cannot create a folder of type "mailstorage" or "vtrash". svn path=/trunk/; revision=11298
* Change this back to the "evolution:/local/Inbox" URI.Jason Leach2001-07-211-0/+5
| | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> * mail-summary.c (generate_html_summary): Change this back to the "evolution:/local/Inbox" URI. svn path=/trunk/; revision=11276
* Don't let the user remove vtrash folders.Peter Williams2001-07-211-0/+5
| | | | | | | | | 2001-07-20 Peter Williams <peterw@ximian.com> * component-factory.c (storage_remove_folder): Don't let the user remove vtrash folders. svn path=/trunk/; revision=11267
* Fix DanW's fix. Pass the right arguments to mail_msg_destroy.Peter Williams2001-07-211-0/+15
| | | | | | | | | | | | | | | | | | | 2001-07-20 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_msgport_replied): Fix DanW's fix. Pass the right arguments to mail_msg_destroy. * component-factory.c (component_fn): Don't populate the context menu; our only action didn't even work. (populate_folder_context_menu): Removed. ChangeFolderProperties needs a FolderBrowser which we don't have. It didn't even work before. * mail-local.c (mail_local_reconfigure_folder): Bring the creation of the hash table to the beginning to prevent warnings. Complain if the mailbox is non-local. svn path=/trunk/; revision=11266
* er, unbroke changelogJeffrey Stedfast2001-07-211-1/+0
| | | | svn path=/trunk/; revision=11265
* Don't expunge the source folder if we have a cache.Jeffrey Stedfast2001-07-211-0/+6
| | | | | | | | | 2001-07-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_filter): Don't expunge the source folder if we have a cache. svn path=/trunk/; revision=11264
* Use mail_msg_destroy rather than mail_msg_free, so the cancellationDan Winship2001-07-211-0/+6
| | | | | | | | * mail-mt.c (mail_msgport_replied): Use mail_msg_destroy rather than mail_msg_free, so the cancellation operation gets unregistered and doesn't leak two file descriptors. svn path=/trunk/; revision=11263
* Update this evolution:/local/ URI to evolution:/Local Folders/ to go alongJason Leach2001-07-201-0/+6
| | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * mail-summary.c (generate_html_summary): Update this evolution:/local/ URI to evolution:/Local Folders/ to go along with today's shell changes. svn path=/trunk/; revision=11253
* Fix #4605: "Save Image as" should be "Save Image as...".Jason Leach2001-07-201-1/+6
| | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * mail-display.c: Fix #4605: "Save Image as" should be "Save Image as...". svn path=/trunk/; revision=11248
* Set the vertical scrolling policy for the mail display to AUTOMATIC, onlyJason Leach2001-07-201-0/+14
| | | | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * mail-display.c (mail_display_new): Set the vertical scrolling policy for the mail display to AUTOMATIC, only get a scrollbar if the e-mail is longer than one frame. * folder-browser.c (my_folder_browser_init): We were setting the policy twice (and to two different things). Removed this one. * message-list.c (message_list_init): Set the policy for the message list scroll frame to be horizontal=NEVER, vertical=AUTOMATIC (scrollbar only if you have >1 page of messages). svn path=/trunk/; revision=11239
* In camel:Peter Williams2001-07-201-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Peter Williams <peterw@ximian.com> Policy change: NULL url's are no longer allowed in CamelFolderInfos. They used to signify that the folder was, in IMAP jargon, NoSelect; now the same effect is achieved by adding a "noselect=yes" parameter to the end of the URL. As far as I know, IMAP is the only affected provider. * providers/imap/camel-imap-store.c (delete_folder): New function. Implement folder deletion. (camel_imap_store_class_init): Set the delete_folder class function here. (get_folder_status): New function. Utility wrapper around the STATUS command. (create_folder): If the parent folder is NoSelect but is empty, delete it and recreate it as a a subfolder-containing folder. If it is NoSelect but contains messages, set an exception. (parse_list_response_as_folder_info): Always set the FolderInfo's URL, but add a NoSelect parameter if it isn't selectable. (get_folder_info_online): Change logic of removing the namespace to reflect URL change. Same for logic of checking unread counts. (get_folder_info_online): Use get_folder_status to simplify this. * camel-store.c (camel_folder_info_build): When creating dummy parents, copy the child's URL and set the NoSelect parameter. In mail: 2001-07-19 Peter Williams <peterw@ximian.com> Track the NoSelect changes in Camel. * mail-callbacks.c (create_folders): We don't need to check if the URL is NULL or not anymore. * component-factory.c (create_noselect_control): New function. Create a dummy control for folders that can't contain messages (ie \NoSelect) (create_view): If the URI says the folder is noselect, make a dummy control. FIXME: still should merge in the global UI elements. (xfer_folder): Don't allow the operation if the destination is NoSelect. (destination_folder_handle_motion): Ditto. (destination_folder_handle_drop): Ditto. svn path=/trunk/; revision=11237
* remvoed register/start/end etc code.Not Zed2001-07-191-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Not Zed <NotZed@Ximian.com> * mail-local.c (reconfigure_folder_reconfigure): remvoed register/start/end etc code. * mail-ops.c (get_messages_desc): Add the count here. (get_messages_get): Remove the register/start code, its handled above us. (save_messages_desc): Added count. (save_messages_save): Removed register/start/end code. * mail-mt.c (mail_msg_received, mail_msg_destroy): Changed to use camel_operation rather than mail_status. (mail_msgport_received, mail_msgport_replied): Turn of the mail_status stuff, we dont need to report on stuff running in the gui thread right? (retrieve_shell_view_interface_from_control, set_view_data, mail_statusf, mail_status, mail_status_end, mail_status_start, status_timeout, do_del_status, set_status_op): removed now redundant stuff. (mail_msg_free): Removed reference to timeout_id. svn path=/trunk/; revision=11225
* partial checkin before completing the changesNot Zed2001-07-191-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-07-18 Not Zed <NotZed@Ximian.com> * mail-local.c (reconfigure_folder_reconfigure): Changed to use camel_operation rathre than mail_status. (reconfigure_folder_describe): re-enabled this function. * mail-ops.c (get_messages_get): Changed to use camel-progress for status reporting. (save_messages_save): Likewise. 2001-07-17 Not Zed <NotZed@Ximian.com> * mail-mt.c (struct _mail_msg_priv, destroy_objects, mail_msg_new, mail_msg_free, do_op_status): Changed to use an EvolutionActivityClient for progress. svn path=/trunk/; revision=11223
* Remove this prototype for a function that was removed long ago.Jason Leach2001-07-191-0/+6
| | | | | | | | | | 2001-07-18 Jason Leach <jleach@ximian.com> * mail-tools.h (mail_tool_get_local_inbox_url): Remove this prototype for a function that was removed long ago. (mail_tool_get_local_movemail_url): Ditto. svn path=/trunk/; revision=11220
* [Simplifying how default account is stored and used internally, fixesJason Leach2001-07-191-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-18 Jason Leach <jleach@ximian.com> [Simplifying how default account is stored and used internally, fixes possabilities of having multiple default accounts and things like deleting the current default account] * mail-account-gui.c (mail_account_gui_new): Update for new way of finding out the default account. (mail_account_gui_save): Ditto. * mail-accounts.c (load_accounts): Ditto. * mail-config-druid.c (make_default_account): Ditto. * mail-config.c: Added an int MailConfig::default_account, to be used instead of a 'default_account' boolean on each mail account. (mail_config_set_default_account_num): New function, facilitates things. * Mail.idl: removed the Account::default_account boolean. svn path=/trunk/; revision=11218
* Do what was suggested in #4596.Jeffrey Stedfast2001-07-191-0/+5
| | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_generate_forward_subject): Do what was suggested in #4596. svn path=/trunk/; revision=11210
* Add GTK_WIDGET to the charset picker. Reportedly prevent a craash forPeter Williams2001-07-191-0/+3
| | | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-accounts.c (construct): Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for someone... ? svn path=/trunk/; revision=11202
* Typo fix. Later: And actually fix the typo.Peter Williams2001-07-181-0/+1
| | | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-config.glade: Typo fix. Later: And actually fix the typo. svn path=/trunk/; revision=11199
* Typo fix.Peter Williams2001-07-181-0/+4
| | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-config.glade: Typo fix. svn path=/trunk/; revision=11198
* Setup the auto-receive here instead.Jeffrey Stedfast2001-07-181-0/+8
| | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_delete): Setup the auto-receive here instead. * mail-config.c (mail_config_remove_account): Don't setup the auto-recv here. svn path=/trunk/; revision=11188
* Reset the autoreceive when necessary.Iain Holmes2001-07-181-0/+6
| | | | svn path=/trunk/; revision=11181
* Fix for last change: hide the entire widget, not just the entry.Jason Leach2001-07-181-0/+5
| | | | | | | | | 2001-07-17 Jason Leach <jleach@ximian.com> * mail-account-gui.c (source_type_changed): Fix for last change: hide the entire widget, not just the entry. svn path=/trunk/; revision=11178
* Fix to correctly handle text/uri-lists that contain more than a singleJeffrey Stedfast2001-07-181-0/+10
| | | | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_recieved): Fix to correctly handle text/uri-lists that contain more than a single url. * component-factory.c (destination_folder_handle_drop): Fix to correctly handle text/uri-lists that contain more than a single url. svn path=/trunk/; revision=11174
* Make the Path: entry into a GnomeFileEntry so you get a nice "Browse..."Jason Leach2001-07-181-0/+6
| | | | | | | | | | 2001-07-17 Jason Leach <jleach@ximian.com> * mail-config.glade: Make the Path: entry into a GnomeFileEntry so you get a nice "Browse..." button that pops up a file selector to locate your mbox files. Bug #3501. svn path=/trunk/; revision=11170
* Cleaned up a bit. (handle_multipart_encrypted): Replace the encrypted partJeffrey Stedfast2001-07-181-0/+6
| | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_part_toggle_displayed): Cleaned up a bit. (handle_multipart_encrypted): Replace the encrypted part with the decrypted part. svn path=/trunk/; revision=11166
* Make a nicer delete account dialogIain Holmes2001-07-181-0/+4
| | | | svn path=/trunk/; revision=11161
* Use CAMEL_VTRASH_NAME.Jeffrey Stedfast2001-07-181-0/+10
| | | | | | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (init_trash): Use CAMEL_VTRASH_NAME. * mail-ops.c (add_vtrash_info): Use CAMEL_VTRASH_NAME. * folder-browser.c: turned off some debugging 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Disallow vtrash for now... svn path=/trunk/; revision=11159
* Use g_strcasecmp() when looking for a Trash folder - it may be lowercaseJeffrey Stedfast2001-07-171-0/+1
| | | | | | | | | | 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Use g_strcasecmp() when looking for a Trash folder - it may be lowercase or something funky. (transfer_messages_transfer): Special-case vtrash folders. svn path=/trunk/; revision=11142
* Use g_strcasecmp() when looking for a Trash folder - it may be lowercaseJeffrey Stedfast2001-07-171-0/+7
| | | | | | | | | | | | | | | | 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Use g_strcasecmp() when looking for a Trash folder - it may be lowercase or something funky. * mail-local.c (init_trash): No need to specify the vfolder expression here. This code was moved into camel-vtrash-folder.c ages ago. * component-factory.c: Let VTrash folders accept/export the same dnd types as normal folders. svn path=/trunk/; revision=11140
* Let VTrash folders accept/export the same dnd types as normal folders.Jeffrey Stedfast2001-07-171-19/+25
| | | | | | | | | 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Let VTrash folders accept/export the same dnd types as normal folders. svn path=/trunk/; revision=11134
* prototype outbox_folder so we can check if a folder is it.Peter Williams2001-07-171-0/+9
| | | | | | | | | | | | | 2001-07-16 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (outbox_folder): prototype outbox_folder so we can check if a folder is it. (make_folder_name): If the folder is the outbox, display the count of total messages as "unsent". (make_folder_status): If the folder is the outbox, display "unsent" instead of "total" svn path=/trunk/; revision=11132
* Use our own display_style member instead of the global setting.Peter Williams2001-07-171-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-16 Peter Williams <peterw@ximian.com> * mail-display.c (mail_display_redisplay): Use our own display_style member instead of the global setting. (mail_display_init): Initialize display_style. * mail-display.h: Include "mail-config.h" and add a display_style member. * mail-format.c (write_headers): Look at the MailDisplay's display_style instead of using the full_headers data. * folder-browser.c (folder_browser_set_message_display_style): Set the MailDisplay's display style as well as the global display style. (my_folder_browser_init): Don't save preference changes by default. (This is only observered wrt. the message display style but should apply to other items.) * folder-browser-factory.c (folder_browser_factory_new_control): Set this FB to save the preferences set in it. * folder-browser-ui.c (folder_browser_ui_add_message): Read our display's state instead of the global setting. svn path=/trunk/; revision=11131
* DUH. No need to update every folder if we set the folder browser to NULL.Peter Williams2001-07-161-0/+6
| | | | | | | | | | 2001-07-16 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_folder_browser): DUH. No need to update every folder if we set the folder browser to NULL. svn path=/trunk/; revision=11128
* Call mail_autoreceive_setup() so that any changes to the list of accountsJeffrey Stedfast2001-07-161-0/+6
| | | | | | | | | | 2001-07-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Call mail_autoreceive_setup() so that any changes to the list of accounts will be respected the next time mail is checked. svn path=/trunk/; revision=11127
* Merged mine and Peter's entries.Jeffrey Stedfast2001-07-141-5/+5
| | | | | | | | 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> * NEWS (Mail): Merged mine and Peter's entries. svn path=/trunk/; revision=11097
* Segfault prevention here if no uid is currently loaded.Peter Williams2001-07-141-2/+2
| | | | | | | | | 2001-07-13 Peter Williams <peterw@ximian.com> * mail-callbacks.c (expunge_folder): Segfault prevention here if no uid is currently loaded. svn path=/trunk/; revision=11093
* Segfault prevention here if we lose the race withPeter Williams2001-07-141-0/+3
| | | | | | | | | 2001-07-13 Peter Williams <peterw@ximian.com> * mail-callbacks.c (expunge_folder): Segfault prevention here if we lose the race with message_list_set_hidedeleted(). svn path=/trunk/; revision=11092
* New function. If a vfolder in our list gets finalized, NULL outPeter Williams2001-07-131-0/+7
| | | | | | | | | | | 2001-07-13 Peter Williams <peterw@ximian.com> * mail-vfolder.c (unlist_vfolder): New function. If a vfolder in our list gets finalized, NULL out info->folder (Is it wrong if this happens?) Also, locking issues? (vfolder_uri_to_folder): Hook up to the finalize event here. svn path=/trunk/; revision=11087
* Updated to reflect changes in the filter API by passing in the providedJeffrey Stedfast2001-07-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_filter): Updated to reflect changes in the filter API by passing in the provided uid cache to camel_filter_driver_filter_folder. (mail_filter_folder): Set the cache to NULL. (mail_fetch_mail): Set the cache to NULL. (fetch_mail_fetch): If a cache exists for this folder, set it. When we are finished filtering the incoming messages, the logic changes a bit. We now save the cache if keep_on_server is set *or* if there was an exception this way if the user's download gets interrupted, he won't have to download all the messages again. (fetch_mail_fetch): Oh yea, and just so if we get an exception with `delete' turned on, the next time the user checks mail and an exception *doesn't* occur, it will go back and mark all the messages for deletion. svn path=/trunk/; revision=11086
* Updated to reflect changes in the filter API by passing in the providedJeffrey Stedfast2001-07-131-2/+16
| | | | | | | | | | | | | | | | | | 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_filter): Updated to reflect changes in the filter API by passing in the provided uid cache to camel_filter_driver_filter_folder. (mail_filter_folder): Set the cache to NULL. (mail_fetch_mail): Set the cache to NULL. (fetch_mail_fetch): If a cache exists for this folder, set it. When we are finished filtering the incoming messages, the logic changes a bit. We now save the cache if keep_on_server is set *or* if there was an exception this way if the user's download gets interrupted, he won't have to download all the messages again. svn path=/trunk/; revision=11085
* Fix the importers if you try to import into an already existing directoryIain Holmes2001-07-131-0/+5
| | | | svn path=/trunk/; revision=11058
* Force-hide all deleted messages before expunging. (expunged_folder):Jeffrey Stedfast2001-07-131-15/+25
| | | | | | | | | | | 2001-07-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (expunge_folder): Force-hide all deleted messages before expunging. (expunged_folder): Restore the user's "hide deleted messages" preference. svn path=/trunk/; revision=11056
* Only blank the mail display if the message being viewed is one of those toJason Leach2001-07-131-0/+6
| | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * mail-callbacks.c (expunge_folder): Only blank the mail display if the message being viewed is one of those to be expunged. Bug #4030. svn path=/trunk/; revision=11052
* Should be saving the 'identity_html_signature' andJason Leach2001-07-131-0/+7
| | | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * mail-config.c (config_read): Should be saving the 'identity_html_signature' and 'identity_has_html_signature" keys in the /Mail/Accounts prefix (with the rest of the per-account stuff, not on it's own) svn path=/trunk/; revision=11051
* no longer need to set a my address propertyJP Rosevear2001-07-121-0/+5
| | | | | | | | | 2001-07-11 JP Rosevear <jpr@ximian.com> * mail-display.c (get_embedded_for_component): no longer need to set a my address property svn path=/trunk/; revision=11019
* Set the CLIPBOARD selection as well as the primary selection so thatFederico Mena Quintero2001-07-111-0/+7
| | | | | | | | | | | 2001-07-10 Federico Mena Quintero <federico@ximian.com> * mail-display.c (link_copy_location): Set the CLIPBOARD selection as well as the primary selection so that Edit/Paste will work in other programs (e.g. Netscape). (mail_display_new): Add the target for the CLIPBOARD selection. svn path=/trunk/; revision=10977
* [Bug #4305: Make the automatic mark-as-read timer optional]Jason Leach2001-07-111-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-07-10 Jason Leach <jleach@ximian.com> [Bug #4305: Make the automatic mark-as-read timer optional] * mail-config.glade: Necessary changes to make the Mark as "Read" label a toggle button instead. * mail-accounts.c (construct): Connect to the "toggled" on our new toggle. (timeout_toggled): New callback, called from above. * mail-config.c (mail_config_get_do_seen_timeout): New. (mail_config_set_do_seen_timeout): New. (mail_config_write_on_exit): Save the preference here. (config_read): Load it here. svn path=/trunk/; revision=10973
* OopsJP Rosevear2001-07-111-1/+2
| | | | svn path=/trunk/; revision=10970
* Cosmetic patch - replace our defines with the e-popup onesJP Rosevear2001-07-111-0/+2
| | | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * folder-browser.c: Cosmetic patch - replace our defines with the e-popup ones svn path=/trunk/; revision=10967
* TypoJP Rosevear2001-07-111-0/+4
| | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * Makefile.am: Typo svn path=/trunk/; revision=10966
* Took the logic of whether or not to make the attachment header out of thePeter Williams2001-07-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2001-07-10 Peter Williams <peterw@ximian.com> * mail-format.c (attachment_header): Took the logic of whether or not to make the attachment header out of the actual function. (mail_part_is_displayed_inline): Return if the part is being displayed inline (regardless of whether it is actually inline). (mail_part_toggle_displayed): Toggle whether it's displayed inline or not. (get_inline_flags): Determine whether the part is displayed inline and whether it is actually inline. (mail_format_mime_message): Initialize the attachment_status hash table. * mail-display.c (inline_cb): Instead of modifying the CamelMimePart, use mail_part_toggle_displayed (button_press): As above. (pixmap_press): Use mail_part_is_displayed_inline instead of mail_part_is_inline. Get the MailDisplay from the popup to do this. * mail.h: Add prototypes. svn path=/trunk/; revision=10960
* extra dist the news filesJP Rosevear2001-07-111-0/+4
| | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * Makefile.am: extra dist the news files svn path=/trunk/; revision=10959
* Use bonobo_config_set_string_wrapper. (mail_config_write): Same.Jeffrey Stedfast2001-07-111-0/+7
| | | | | | | | | | | | | 2001-07-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Use bonobo_config_set_string_wrapper. (mail_config_write): Same. (bonobo_config_set_string_wrapper): Macro wrapping bonobo_config_set_string that passes "" as the val if the val is NULL. svn path=/trunk/; revision=10955
* Make sure that the reply-to addr i non-NULL before trying to add it to theJeffrey Stedfast2001-07-111-0/+6
| | | | | | | | | | 2001-07-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Make sure that the reply-to addr i non-NULL before trying to add it to the hash table. svn path=/trunk/; revision=10953
* fix typo so it compilesJP Rosevear2001-07-101-0/+4
| | | | | | | | 2001-07-09 JP Rosevear <jpr@ximian.com> * mail-account-gui.c (get_focused_widget): fix typo so it compiles svn path=/trunk/; revision=10946
* Handle application/pgp using the text/plain handler.Jeffrey Stedfast2001-07-101-2/+2
| | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (setup_mime_tables): Handle application/pgp using the text/plain handler. * mail-account-gui.c (get_focused_widget): New function to determine which widget is focused. svn path=/trunk/; revision=10940
* Handle application/pgp using the text/plain handler.Jeffrey Stedfast2001-07-101-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (setup_mime_tables): Handle application/pgp using the text/plain handler. * mail-account-gui.c (get_sensitive_widget): New function to determine which widget is focused. * mail-account-editor.c (apply_changes): Not only flip to the notebook page that wasn't finished, but also grab the focus of the incomplete widget. * mail-config-druid.c (source_changed): Grab the focus of the incomplete widget. (transport_prepare): And here. (identity_changed): Here too. * mail-account-gui.c (mail_account_gui_identity_complete): Take an incomplete argument so we can set which widget is incomplete and then the caller can focus it or whatever. (service_complete): Same. (mail_account_gui_transport_complete): And again here. (mail_account_gui_management_complete): And here too. svn path=/trunk/; revision=10939
* Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (decode_pgp): Update to pass in the `remember' argument when creating a new pgp context. (try_inline_pgp_sig): And here... * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass in the `remember' argument when creating a new pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): And here... (mail_crypto_pgp_mime_part_decrypt): And finally here. * mail-config.c (mail_config_get_remember_pgp_passphrase): New. (mail_config_set_remember_pgp_passphrase): New. (config_read): Read in the "remember passphrase" value. (mail_config_write_on_exit): Save the remember-passphrase value. * mail-accounts.c (construct): Allow the user to set "Remember PGP Passphrase". (remember_pgp_passphrase_toggled): Set the toggle state. svn path=/trunk/; revision=10934
* Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-101-16/+35
| | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass in the `remember' argument when creating a new pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): And here... (mail_crypto_pgp_mime_part_decrypt): And finally here. * mail-config.c (mail_config_get_remember_pgp_passphrase): New. (mail_config_set_remember_pgp_passphrase): New. (config_read): Read in the "remember passphrase" value. (mail_config_write_on_exit): Save the remember-passphrase value. * mail-accounts.c (construct): Allow the user to set "Remember PGP Passphrase". (remember_pgp_passphrase_toggled): Set the toggle state. svn path=/trunk/; revision=10933
* Check for an exception and print it. Call done anyway.Peter Williams2001-07-101-0/+6
| | | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-ops.c (get_folderinfo_got): Check for an exception and print it. Call done anyway. (do_update_subfolders): Check for NULL info. svn path=/trunk/; revision=10924
* Some NULL protection for our strings: pgp_key, html_signature, smime_key.Peter Williams2001-07-101-0/+9
| | | | | | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Some NULL protection for our strings: pgp_key, html_signature, smime_key. Probably we should do this for all strings. Either that or change Bonobo Config. * message-list.c (message_list_init): Explicitly initialize search to NULL. Bug 3951 might to be due to a problem wrt this, and it can't hurt. svn path=/trunk/; revision=10919
* g_strdup the result of g_get_home_dir since this variable will get free'dDan Winship2001-07-101-0/+3
| | | | | | | * mail-display.c (save_part): g_strdup the result of g_get_home_dir since this variable will get free'd later. svn path=/trunk/; revision=10918
* Use gnome_vfs_mime_get_short_list_applications rather thanDan Winship2001-07-101-0/+14
| | | | | | | | | | | | | | | | * mail-format.c (mail_lookup_handler): Use gnome_vfs_mime_get_short_list_applications rather than gnome_vfs_mime_get_default_application. * mail-display.c (pixmap_press): Construct the EPopupMenu array on the fly, based on the number of applications available to open the MIME type. (launch_cb): Figure out which menu item was clicked, and invoke the appropriate application. Ugh, messy, because of the EPopupMenu interface. Probably should get rewritten some day. Also, make this handle apps with expects_uris set too. svn path=/trunk/; revision=10916
* Change html_signature stuff over to bonobo-config -- someone forgot to doPeter Williams2001-07-101-0/+3
| | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Change html_signature stuff over to bonobo-config -- someone forgot to do this. svn path=/trunk/; revision=10915
* Gave up and got rid of dm. Just replaced it with d(g_message()) and setPeter Williams2001-07-091-0/+5
| | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (dm): Gave up and got rid of dm. Just replaced it with d(g_message()) and set G_LOG_DOMAIN. svn path=/trunk/; revision=10911
* Deleted (as opposed to #if 0) (get_folder_info): Changed to assume it hasPeter Williams2001-07-091-0/+13
| | | | | | | | | | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_update_shellview): Deleted (as opposed to #if 0) (get_folder_info): Changed to assume it has the folder lock. (make_folder_name): Same. (make_folder_status): Same. (update_idle): Don't unlock around the make_folder_ functions. (*): Changed behavior wrt. get_folder_info. Lock before calling, but also move preconditions before -- get_folder_info can only return NULL if uri is NULL. Also add preconditions for other arguments where necessary. svn path=/trunk/; revision=10910
* Check for new_uid != NULL here before strcmping.Christopher James Lahey2001-07-081-0/+5
| | | | | | | | | 2001-07-07 Christopher James Lahey <clahey@ximian.com> * message-list.c (on_cursor_activated_cmd): Check for new_uid != NULL here before strcmping. svn path=/trunk/; revision=10889
* Only install the segv_redirect handler if SEGV's handler is not currentlyDan Winship2001-07-071-0/+6
| | | | | | | | * main.c (main): Only install the segv_redirect handler if SEGV's handler is not currently SIG_DFL. Otherwise you get an infinite SEGV loop if you run with GNOME_DISABLE_CRASH_DIALOG. svn path=/trunk/; revision=10887
* Made this handle being given a row that's outside the range better.Christopher James Lahey2001-07-071-0/+5
| | | | | | | | | 2001-07-07 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_select): Made this handle being given a row that's outside the range better. svn path=/trunk/; revision=10881
* Removed old CVS conflict marker.Jon Trowbridge2001-07-071-1/+0
| | | | svn path=/trunk/; revision=10879
* [Fix bug #1100, default account is stored strangely]Jason Leach2001-07-071-0/+12
| | | | | | | | | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> [Fix bug #1100, default account is stored strangely] * mail-config.c (mail_config_get_default_account_num): New function, returns the integer of the position of the default account, used to save which account is the default to the config db. (mail_config_write): Save the default account number here in "/Mail/Accounts/default_account". (config_read): Load in which is the default here. svn path=/trunk/; revision=10873
* add a NULL check since that is a valid return.Larry Ewing2001-07-071-0/+6
| | | | | | | | | 2001-07-06 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (composer_send_cb): add a NULL check since that is a valid return. svn path=/trunk/; revision=10866
* Prevent infinite recursion when viewing attachments that we can't /Peter Williams2001-07-071-0/+6
| | | | | | | | | | 2001-07-06 Peter Williams <peterw@ximian.com> * mail-format.c (format_mime_part): Prevent infinite recursion when viewing attachments that we can't / shouldn't display but are some form of plaintext. Cf bug #2234 svn path=/trunk/; revision=10857
* Freeze and Thaw the folder.Jeffrey Stedfast2001-07-071-0/+5
| | | | | | | | | 2001-07-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Freeze and Thaw the folder. svn path=/trunk/; revision=10855
* Mark the messages as Seen also. (folder_browser_class_init): Create anJeffrey Stedfast2001-07-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Mark the messages as Seen also. (folder_browser_class_init): Create an atom type for X-Evolution-Message selection type. (my_folder_browser_init): Add our multiple selection types, one of which is the default string type. * component-factory.c (destination_folder_handle_drop): Update to use the new X-Evolution-Message type format. * folder-browser.c (selection_get): Convert the X-Evolution-Message clipboard type to whatever format the target wants. (message_list_drag_data_get): Update because the X-Evolution-Message type changed. (folder_browser_copy): Same. (x_evolution_message_parse): And here too. svn path=/trunk/; revision=10853
* Don't free the psd here -- it will be freed on the "destroy" signal.Peter Williams2001-07-071-0/+11
| | | | | | | | | | | | | | | 2001-07-06 Peter Williams <peterw@ximian.com> * mail-callbacks.c (composer_postpone_cb): Don't free the psd here -- it will be freed on the "destroy" signal. * mail-folder-cache.c (maybe_update): Instead of an idle, use a very short timeout in hopes of reducing the number of redundant updates. * mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the cache if we successfully got it. svn path=/trunk/; revision=10852
* Select the very next message after deleting, not the next undeleted (itJason Leach2001-07-071-0/+13
| | | | | | | | | | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> * mail-callbacks.c (delete_msg): Select the very next message after deleting, not the next undeleted (it can make things jump around in annoying ways if you are deleting many messages), bug #4032. * folder-browser.c: Forgot to commit the "Mark as Important" right click menu item. * message-list.c (message_list_set_folder): Setup the strikeout column here (after we've gotten the folder) so we can disable strikeouts for vtrash folders, part of bug #2224. svn path=/trunk/; revision=10849
* Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() soDan Winship2001-07-071-0/+7
| | | | | | | | | * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() so only the selected folder gets updated, instead of "all folders that haven't yet been selected". svn path=/trunk/; revision=10846
* Change the folder right-click "Properties..." menu item handling soEttore Perazzoli2001-07-061-0/+6
| | | | | | | | | | that it only happens in the mailer (which is the only component actually using this). For some reason it still doesn't work properly (i.e. the menu item currently does nothing), but I haven't quite figured out why yet. svn path=/trunk/; revision=10840
* Add a checkbox for prompting when sending a message with an empty subject.Jeffrey Stedfast2001-07-061-0/+6
| | | | | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Add a checkbox for prompting when sending a message with an empty subject. * mail-ops.c (mail_send_message): If filtering fails, return right away. svn path=/trunk/; revision=10821
* Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): FixJeffrey Stedfast2001-07-061-8/+19
| | | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_show_preview): Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): Fix this one too. svn path=/trunk/; revision=10816
* Remove the ridiculuous relic known as test-mail. Clean up a bit.Peter Williams2001-07-061-0/+3
| | | | | | | | | 001-07-05 Peter Williams <peterw@ximian.com> * Makefile.am: Remove the ridiculuous relic known as test-mail. Clean up a bit. svn path=/trunk/; revision=10814
* Formatting fix on ChangeLog (ie I Forgot To Save The File Before Committing ↵Peter Williams2001-07-051-0/+2
| | | | | | Yet Again) svn path=/trunk/; revision=10807
* Add mail folder cache hookups.Peter Williams2001-07-051-0/+2
| | | | | | | | 2001-07-05 Peter Williams <peterw@ximian.com> * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache hookups. svn path=/trunk/; revision=10806
* Clear the shell view label if mailer loses focus.Peter Williams2001-07-051-0/+8
| | | | | | | | | | | | 2001-07-05 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Clear the shell view label if mailer loses focus. * mail-ops.c (do_update_subfolders_rec): Check for NULL url before calling folder cache functions. svn path=/trunk/; revision=10804
* set "pixname" value only if pixbuf was loaded successfully. OtherwiseGediminas Paulauskas2001-07-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-shell-component-utils.c (e_pixmaps_update): set "pixname" value only if pixbuf was loaded successfully. Otherwise component crashes if image is not found. Should be checked for sanity in bonobo_ui_component_set_prop IMHO. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * Makefile.am: install apply-filters-16.xpm 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail-message.xml: MessageApplyFilters now has an icon. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-ui.c (message_pixcache): set icon for ApplyFilters command. svn path=/trunk/; revision=10783
* Revert Sam's changes.Jeffrey Stedfast2001-07-051-1/+14
| | | | | | | | | | | | | | | | 2001-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_show_preview): Revert Sam's changes. Note: Uhm, g_hash_table_lookup_extended gives us a pointer to the original value which we can just change to update the hash table without the need to re-insert - it's already there!! Also, you don't want to g_hash_table_insert the new value with the same key without at least first removing the existing bucket. And, you certainly don't want to g_free() the key after you insert it - eek!! svn path=/trunk/; revision=10780
* Replace value in config->preview_hash when it already exists. Old codeSam Creasey2001-07-041-0/+6
| | | | | | | | | | 2001-07-03 Sam Creasey <sammy@oh.verio.com> * mail-config.c (mail_config_set_show_preview): Replace value in config->preview_hash when it already exists. Old code never re-inserted into the hash, just assigned to val -- it's an int here, not a real pointer. svn path=/trunk/; revision=10776
* Unset the message being displayed when expunging. This makes expungedJoe Shaw2001-07-041-0/+6
| | | | | | | | | | 2001-07-03 Joe Shaw <joe@ximian.com> * mail-callbacks.c (expunge_folder): Unset the message being displayed when expunging. This makes expunged messages not show in the preview pane when they're not there anymore. Fixes #3591. svn path=/trunk/; revision=10774
* If msg is NULL, fetch the message and requeue a mail_reply call. Fixes bugJoe Shaw2001-07-041-0/+6
| | | | | | | | | | 2001-07-03 Joe Shaw <joe@ximian.com> * mail-callbacks.c (mail_reply): If msg is NULL, fetch the message and requeue a mail_reply call. Fixes bug #3816. (requeue_mail_reply): Callback from mail_get_message(). svn path=/trunk/; revision=10772
* Use a better GHashTable technique that will hopefully solve some bugs andJeffrey Stedfast2001-07-041-13/+25
| | | | | | | | | | | | | | | 2001-07-03 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_show_preview): Use a better GHashTable technique that will hopefully solve some bugs and also use _with_default bonobo-config call. (mail_config_set_show_preview): No sense in removing the entry from the hash table and then re-inserting it. Just reset the value. (mail_config_get_thread_list): Use the same logic. (mail_config_set_thread_list): And again here. svn path=/trunk/; revision=10770
* Split make_string into these. (update_idle): Use (name and status) insteadPeter Williams2001-07-041-0/+7
| | | | | | | | | | | 2001-07-03 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_name, make_folder_status): Split make_string into these. (update_idle): Use (name and status) instead of (wide and thin) for the text. svn path=/trunk/; revision=10766
* Finish off #809 by committing the menu and right click thingies forJacob Leach2001-07-041-0/+4
| | | | | | marking as important. svn path=/trunk/; revision=10765
* Compile fixes. #include errno.h and gnome-dialog-utils.h.Peter Williams2001-07-041-0/+5
| | | | | | | | | 2001-07-03 Peter Williams <peterw@ximian.com> * folder-browser.c (message_list_drag_data_get): Compile fixes. #include errno.h and gnome-dialog-utils.h. s/dirname/tmpdir/ svn path=/trunk/; revision=10757
* Prevent folders from appearing to have -1 new messages. Prevent nonactivePeter Williams2001-07-041-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Peter Williams <peterw@ximian.com> Prevent folders from appearing to have -1 new messages. Prevent nonactive folders from updating the title bar. Make the title bar update when switching to an already-opened folder. * mail-folder-cache.c (update_message_counts): Ignore the value for 'unread' if it is -1. (get_mail_info_receive): Same (mail_folder_cache_note_folderinfo): Same. (get_folder_info): Initialize 'fb' to NULL. (mail_folder_info): Add 'fb' member. (mail_folder_cache_note_fb): Change note_message_list to this. (update_idle): Only update the ShellView if the active folder browser is the same as the one that the MFI references. (mail_folder_cache_set_folder_browser): New function. Use it to set the active folder browser. NULL is okay. (check_for_fb_match): Called from the above. If the MFI has the new folder browser as its view, queue an update. * mail-folder-cache.h: Fix prototypes. * mail-callbacks.c (create_folders): Check if fi->url is nonnull. * folder-browser.c (got_folder): Change to use note_fb instead of note_messge_list. * folder-browser-factory.c (control_activate): Set the folder browser (control_deactivate): Clear it here. (fb_get_svi): Kill some inappropriately cut-n-pasted code. svn path=/trunk/; revision=10755
* Rename some of the widgets in the news config to not conflict with theDan Winship2001-07-041-0/+6
| | | | | | | | * mail-config.glade: Rename some of the widgets in the news config to not conflict with the mail config stuff, so the mail config druid will work again. svn path=/trunk/; revision=10754
* Use mkdtemp if we have it, else use mktemp but make the code safer than itJeffrey Stedfast2001-07-041-0/+7
| | | | | | | | | | | | | 2001-07-03 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_get): Use mkdtemp if we have it, else use mktemp but make the code safer than it was previously. * mail-display.c (launch_cb): Free the template string if the tempdir failed to be created. svn path=/trunk/; revision=10753
* Hide the URL passwd, auth, and params. (folder_browser_copy): Same.Jeffrey Stedfast2001-07-031-0/+6
| | | | | | | | | | 2001-07-03 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_get): Hide the URL passwd, auth, and params. (folder_browser_copy): Same. svn path=/trunk/; revision=10749
* Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filteringDan Winship2001-07-031-0/+6
| | | | | | | * mail-ops.c (filter_folder_filter): Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filtering crash. svn path=/trunk/; revision=10743
* Added an MailAccountEditorNews, for NNTP configuratuion. Based onSam Creasey2001-07-031-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Sam Creasey <sammy@oh.verio.com> * mail-account-editor-news.c: Added an MailAccountEditorNews, for NNTP configuratuion. Based on MailAccountEditor, but stripped. * Makefile.am: added mail-account-editor-news.c and mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined. * mail-accounts.c (load_news): Moved this function, and fixed some slight brokenness. (news_edit): Added functional code using MailAccountEditorNews (news_add): Added functional code using news_edit after allocation. * mail-config.glade: news_editor_window widget added. Used by MailAccountEditorNews. * mail-display.c (save_data_cb): Store the pathname used when saving messages so that the next save box will default to the previous path. * message-browser.c (message_browser_new): add signal handler for size_allocate on the message browser. Thus new windows are size as they were last allocated. (message_browser_size_allocate_cb): handler to store allocations. * message-list.c (message_list_setup_etree): connect to the info_changed signals for the state of the message_list->tree. Save the folder state to disk, so that when additional message_lists are created, they are consistant. e.g. the next buttons do the same thing in the browser, and in the message viewer after changing sorting options. * subscribe-dialog.c (build_tree): freeze sc->folder model while building the tree. Not doing so takes a very long time over 40000 newsgroups. svn path=/trunk/; revision=10719
* Setup the Empty Trash On Exit widgets.Jeffrey Stedfast2001-07-031-13/+32
| | | | | | | | | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Setup the Empty Trash On Exit widgets. * mail-config.c (config_read): Option to emtpy trash on exit. (mail_config_write_on_exit): Same. (mail_config_set_empty_trash_on_exit): Set the option. (mail_config_get_empty_trash_on_exit): Get the option. * component-factory.c (owner_unset_cb): Empty the trash folders if the user set the "empty trash on exit" option. svn path=/trunk/; revision=10711
* Updated for the mail_transfer_messages API.Jeffrey Stedfast2001-07-031-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Updated for the mail_transfer_messages API. * folder-browser.c (message_list_drag_data_recieved): Update for the mail_transfer_messages API. (selection_received): Same. * mail-ops.c (mail_transfer_messages): Renamed from mail_do_transfer_messages and also added a callback/data arguments since we need it component_factory::xfer_folder. * component-factory.c (xfer_folder): Use mail_transfer_messages instead. (destination_folder_handle_drop): Update to pass in a NULL callback arg and a NULL data argument to mail_transfer_messages. svn path=/trunk/; revision=10710
* i2001-07-02 Larry Ewing <lewing@ximian.com>Larry Ewing2001-07-031-0/+12
| | | | | | | | | | | | | | | | | | * configure.in: Check for gtkhtml 0.9.99.1. 2001-07-02 Larry Ewing <lewing@ximian.com> * mail-display.c (save_part): move the saving logic out of save_cb so that we can reuse it for the image saving code. (save_cb): call save_part. (save_url): new function to resolve an save an html url. (image_save_as): save function for images and. Add it to the link_menu, and add MASK_URL and MASK_SRC to the structure so that we cans show the proper menus. (html_button_press_event): call get_src as well to find external urls references. Add popup masking. svn path=/trunk/; revision=10707
* Add a warning about how wrong this document is.Peter Williams2001-07-031-0/+4
| | | | | | | | 2001-07-02 Peter Williams <peterw@ximian.com> * README.async: Add a warning about how wrong this document is. svn path=/trunk/; revision=10695
* New file. Protoypes for the Mail Folder Cache, which provides a place forPeter Williams2001-07-031-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Peter Williams <peterw@ximian.com> * mail-folder-cache.h: New file. Protoypes for the Mail Folder Cache, which provides a place for all the disparate pieces of the mailer to save bits of information about a folder. Centralizes the information display code. * mail-folder-cache.c: New file. Implements the Mail Folder Cache. * Makefile.am (evolution_mail_SOURCES): Add the mail-folder-cache.{c,h} * folder-browser-factory.c (fb_get_svi): Copy of that absurdly long-named function in mail-display.c that gets the GNOME_Evolution_ShellView. (control_activate): Set the ShellView for the folder cache. * folder-browser.c (got_folder): Tell the folder browser about this folder. * mail-callbacks.c (create_folders): Tell the folder cache about the new folders. * mail-local.c (reconfigure_folder_reconfigure): Don't unhook our events as we no longer hook them up. (register_folder_registered): Tell the folder cache about this folder's place in the local storage. (register_folder_register): No longer hook events; the Folder Cache will do this. (local_folder_changed, local_folder_changed_proxy): Move to mail-folder-cache.c (free_local_folder): No longer unhook events. * mail-ops.c (do_update_subfolders_rec): Instead of setting the folder status ourselves, inform the Folder Cache about the changes. * mail-tools.c (mail_tool_uri_to_folder): Replace danw's cache with the new Mail Folder Cache. (cache_folder, etc): removed. svn path=/trunk/; revision=10694
* #include widgets/misc/e-charset-picker.h since it was moved there fromJeffrey Stedfast2001-07-031-0/+5
| | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: #include widgets/misc/e-charset-picker.h since it was moved there from libgal. svn path=/trunk/; revision=10689
* Kill irritating "Returning" g_warning.Peter Williams2001-07-031-0/+5
| | | | | | | | | 2001-07-02 Peter Williams <peterw@ximian.com> * importers/evolution-mbox-importer.c (mbox_factory_fn): Kill irritating "Returning" g_warning. svn path=/trunk/; revision=10685
* Implement this, based on code that used to be in mail-ops.cDan Winship2001-07-021-0/+15
| | | | | | | | | | | | | | | | | * mail-session.c (get_filter_driver): Implement this, based on code that used to be in mail-ops.c * mail-ops.c (mail_load_filter_context, setup_filter_driver): Moved into MailSession::get_filter_driver. (filter_get_folder): Moved to mail-session.c (mail_filter_folder, mail_filter_on_demand, mail_fetch_mail, mail_send_mail, mail_send_queue): Remove FilterContext args, use camel_session_get_filter_driver. * mail-send-recv.c (mail_send_receive, mail_receive_uri): Remove FilterContexts svn path=/trunk/; revision=10682
* the FolderSearch control is in a different dockitem now.Chris Toshok2001-07-021-0/+5
| | | | | | | | | 2001-07-01 Chris Toshok <toshok@ximian.com> * subscribe-dialog.c (subscribe_dialog_gui_init): the FolderSearch control is in a different dockitem now. svn path=/trunk/; revision=10669
* Ref the folder before proxying the event, in case there's only oneDan Winship2001-07-021-0/+14
| | | | | | | | | | | | | | | | * mail-tools.c (update_unread_count): Ref the folder before proxying the event, in case there's only one reference to it and it gets unreffed before the other end of the event handler runs. (update_unread_count_main): And unref it when we're done. (mail_tool_uri_to_folder): Only hold the lock around the hash table operations, not the entire function. Holding the lock the whole time can cause deadlock when resolving vfolders, and the CamelSession and CamelStore locks ensure that multiple threads calling this function will end up with the same CamelFolder object at the end anyway, so we just need to lock and re-check the cache at the end before adding the folder to the cache. svn path=/trunk/; revision=10661
* Use Tuomas' next-message, previous-message and print icons in theEttore Perazzoli2001-07-011-0/+6
| | | | | | mailer. svn path=/trunk/; revision=10647
* Changed to return the created window. (find_socket): Added. Copied fromJon Trowbridge2001-07-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-30 Jon Trowbridge <trow@ximian.com> * mail-display.c (make_popup_window): Changed to return the created window. (find_socket): Added. Copied from e-shell-view.c. The fact that I'm copying this bit of code all over isn't cool. (html_button_press_event): Properly destroy the popup window when the widget inside the control is destroyed. * mail-callbacks.c (addrbook_sender): Added. Implements the "Add sender to addressbook" right-click. (Bug #3645) (find_socket): Added. Copied from e-shell-view.c. * folder-browser.c: Added "Add sender to addressbook" to context_menu[]. * mail-display.c: (handle_embedded_address_object): Removed. (on_object_requested): Removed handling for embedded address objects. (Which was obsolete crap.) svn path=/trunk/; revision=10643
* remove redundant logic.Larry Ewing2001-06-301-0/+3
| | | | | | | | | 2001-06-29 Larry Ewing <lewing@ximian.com> * mail-display.c (html_button_press_event): remove redundant logic. svn path=/trunk/; revision=10620
* make sure we show the sig file.Larry Ewing2001-06-301-0/+5
| | | | | | | | | | | | 2001-06-29 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (create_msg_composer): make sure we show the sig file. * e-msg-composer.c (e_msg_composer_show_sig_file): remove now invalid argument in the documentation. svn path=/trunk/; revision=10616
* Turn folder syncing back on here so that IMAP folders will sync withoutJeffrey Stedfast2001-06-301-10/+16
| | | | | | | | | | 2001-06-29 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c (control_deactivate): Turn folder syncing back on here so that IMAP folders will sync without needing to hit Send & Receive. svn path=/trunk/; revision=10611
* Throw up the confirmation dialog. (composer_get_message): If the user onlyJeffrey Stedfast2001-06-301-0/+14
| | | | | | | | | | | | | | | | | | 2001-06-29 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (ask_confirm_for_only_bcc): Throw up the confirmation dialog. (composer_get_message): If the user only specified Bcc recipients, prompt him/her to make sure we should continue and risk the server adding an Apparently-To header. * mail-config.c (config_read): Read in config option for prompting when only Bcc recipients are specified. (mail_config_write_on_exit): Save the option. (mail_config_get_prompt_only_bcc): New. (mail_config_set_prompt_only_bcc): New. svn path=/trunk/; revision=10606
* Take two authtypes lists, "all", and "supported", and make the unsupportedDan Winship2001-06-291-0/+8
| | | | | | | | | | * mail-account-gui.c (build_auth_menu): Take two authtypes lists, "all", and "supported", and make the unsupported authtypes grayed out in the menu rather than missing. (source_type_changed, transport_type_changed, service_check_supported): Update build_auth_menu calls. svn path=/trunk/; revision=10600
* implemented plain savingRadek Doulik2001-06-291-0/+9
| | | | | | | | | | | | | 2001-06-29 Radek Doulik <rodo@ximian.com> * mail-account-gui.c (menu_file_save_cb): implemented plain saving 2001-06-28 Radek Doulik <rodo@ximian.com> * mail-account-gui.c (load_signature): implemented plain load (load_signature): use e_msg_composer_get_signature_html svn path=/trunk/; revision=10580
* Add a CamelMimeFilterStripHeader that removes a header from mime output. UsedPeter Williams2001-06-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by sendmail to strip the BCC from the email while still sending to the BCC recipients. camel: 2001-06-28 Peter Williams <peterw@ximian.com> * camel-mime-filter-stripheader.c: New file. Filter that strips a header from mime output. * camel-mime-filter-stripheader.h: New file. Header for the above. * providers/smtp/camel-smtp-transport.c (smtp_data): Use the stripheader filter to remove the "Bcc" header. * Makefile.am: Add the stripheader files. * tests/lib/Makefile.am (INCLUDES): Get this to compile again. * tests/mime-filter/test-stripheader.c: New file. Test suite for the CamelMimeFilterStripHeader. * tests/mime-filter/Makefile.am: New test section: mime filters. mail: 2001-06-28 Peter Williams <peterw@ximian.com> * mail-ops.c (mail_send_message): Revert fejj's Bcc header removal; this unsets the BCC recipients and so doesn't send to the Bcc'd people at all. svn path=/trunk/; revision=10576
* The e_iterator_get() returns a gconstpointer and we need a non-constJeffrey Stedfast2001-06-291-0/+10
| | | | | | | | | | | | | | 2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (free_send_data): The e_iterator_get() returns a gconstpointer and we need a non-const BonoboControl so cast it. * mail-account-gui.c (mail_account_gui_new): gui->check_html_signature is GtkToggleButton not a GtkCheckButton. * folder-info.c: Added some #include's to supress warnings. svn path=/trunk/; revision=10574
* Capitalize words in the link right-click menu to make it consistentEttore Perazzoli2001-06-291-0/+6
| | | | | | with the other menus. svn path=/trunk/; revision=10573
* Implement the "Copy link location" right-click menu item in theEttore Perazzoli2001-06-291-0/+22
| | | | | | MessageDisplay widget. svn path=/trunk/; revision=10572
* Don't bother trying to save the passwd if the url is NULL.Jeffrey Stedfast2001-06-291-0/+6
| | | | | | | | | | | | 2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Don't bother trying to save the passwd if the url is NULL. * folder-browser.c (vfolder_mlist): Strip the mlist name to fix bug #3732. svn path=/trunk/; revision=10571
* Since we have an exception variable, we might as well use it when gettingJeffrey Stedfast2001-06-291-0/+9
| | | | | | | | | | | | | 2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Since we have an exception variable, we might as well use it when getting folders too. * folder-browser.c (message_list_drag_data_recieved): Call gtk_drag_finish. svn path=/trunk/; revision=10568
* After finding a folder, attach to its "folder_changed" andDan Winship2001-06-291-0/+13
| | | | | | | | | | | | | | | * mail-tools.c (mail_tool_uri_to_folder): After finding a folder, attach to its "folder_changed" and "message_changed" signals. (update_unread_count, update_unread_count_main): Moved here from folder-browser but basically unchanged. Doing this here lets us get folder tree updates for folders that have had messages moved/copied/filtered into them, but which don't yet have a view associated with them. * folder-browser.c (update_unread_count, update_unread_count_main, etc): Moved to mail-tools.c svn path=/trunk/; revision=10567
* simplified(refactored) signature handling + better support for htmlRadek Doulik2001-06-291-0/+8
| | | | | | | | | | | | | signatures 2001-06-28 Radek Doulik <rodo@ximian.com> * mail-config.c: use new fields everywhere * mail-config.h: as below * Mail.idl: added html_signature and has_html_signature svn path=/trunk/; revision=10564
* Get the Mail Component to understand `mailto:'.Ettore Perazzoli2001-06-281-0/+8
| | | | svn path=/trunk/; revision=10555
* Add method `ShellComponent::handleExternalURI' and anEttore Perazzoli2001-06-281-0/+6
| | | | | | | | | `external_uri_schemas' attribute. Update the EvolutionShellComponent GTK+ wrapper accordingly. Update all the components to pass a NULL `external_uri_schemas' list when initializing themselves as EvolutionShellComponents. svn path=/trunk/; revision=10548
* Bump required gal version for new accessors in ETree.Peter Williams2001-06-281-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-27 Peter Williams <peterw@ximian.com> * configure.in (gal): Bump required gal version for new accessors in ETree. mail: 2001-06-27 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Uncomment EditSelectThread. Yaay! * mail-callbacks.c (select_thread): New function. Self-explanatory name. Implementation is a little hairy. * mail-callbacks.h: Prototype it here. * mail-callbacks.c (invert_selection): Here too. (select_all): Here too. * subscribe-dialog.c (subscribe_select_all): Update to use new ETree accessors. (subscribe_invert_selection): Here too. calendar: 2001-06-27 Peter Williams <peterw@ximian.com> * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir fixes. svn path=/trunk/; revision=10544
* work around an e-tree bugjacob berkman2001-06-281-0/+4
| | | | | | | | 2001-06-27 jacob berkman <jacob@ximian.com> * folder-browser.c (save_cursor_pos): work around an e-tree bug svn path=/trunk/; revision=10541
* Fixed Cut/Copy/Paste to work - it turns out I couldn't share a singleJeffrey Stedfast2001-06-281-0/+6
| | | | | | | | | | 2001-06-27 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c: Fixed Cut/Copy/Paste to work - it turns out I couldn't share a single GtkInvisible between all the FolderBrowser's after all. svn path=/trunk/; revision=10536
* Change to use more reality-based API below. Include folder-browser-ui.hPeter Williams2001-06-281-0/+17
| | | | | | | | | | | | | | | | | | | | | 2001-06-27 Peter Williams <peterw@ximian.com> * folder-browser-factory.c (control_deactivate): Change to use more reality-based API below. Include folder-browser-ui.h too. (control_activate): Remove now-unused 'int state'. * folder-browser-ui.h: Changed prototypes to match changes below. * folder-browser-ui.c (folder_browser_ui_rm_message): Commented out to reflect reality of how this stuff works (you can't actually remove the pieces). (folder_browser_ui_rm_global): Same. (folder_browser_ui_rm_list): Left because here we add the view menus. (folder_browser_ui_add_list): ... which were moved here. (folder_browser_ui_rm_all): New function, does the job of old ui_rm() svn path=/trunk/; revision=10531
* Mail:Peter Williams2001-06-271-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 001-06-26 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: New file derived from folder-browser-factory.c. Contains the Bonobo UI code, split into three groups as described in ui/ChangeLog. Also contains the GalView stuff and the hookups into the Bonobo UI stuff. * folder-browser-factory.c: Move most of the UI stuff to folder-browser-ui.c. (control_activate): Add all three kinds of UI element to this folderbrowser. (control_deactivate): Remove all three kinds. * folder-browser-ui.h: New file. Prototypes functions to add UI elements to a FolderBrowser. * Makefile.am: Add folder-browser-ui.{c,h} * message-browser.c (PARENT_TYPE): Change to BONOBO_TYPE_WINDOW (message_browser_destroy): Chain to parent destroy function. (set_bonobo_ui): New function. Add the 'message' functions from the folder browser to our UI. (message_browser_close): BonoboVerbify this. * message-browser.h: Convert to BonoboWindow. UI: 6-26 Peter Williams <peterw@ximian.com> * evolution-mail-global.xml: * evolution-mail-list.xml: * evolution-mail-message.xml: New files. These are the result of splitting evolution-mail.xml into three pieces: one for the global mailer operations, one for the operations on a messagelist, and one for the operations on one or more messages. * evolution-mail-messagedisplay: New file. UI for the standalone message browser that you get when you double-click. Very skeleton. * evolution-mail.xml: Removed. * Makefile.am: Updated to install new files. svn path=/trunk/; revision=10514
* Helps if I spell "received" correctly.Jeffrey Stedfast2001-06-271-0/+10
| | | | | | | | | | | | | | 2001-06-26 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (my_folder_browser_init): Helps if I spell "received" correctly. * mail-config.c (mail_config_set_thread_list): If the value is already in the hash table, first remove it before setting the new value so we don't leak. (mail_config_set_show_preview): Same. svn path=/trunk/; revision=10510
* Don't pop up a progress dialog to say "I already finished this a whileDan Winship2001-06-271-0/+11
| | | | | | | | | | | | | * mail-mt.c (op_status_timeout): Don't pop up a progress dialog to say "I already finished this a while ago". * component-factory.c (storage_create_folder): Pass the path prefix to folder_created so it can add it to the folder tree in the right place. * mail-callbacks.c (folder_created): Take a path prefix. svn path=/trunk/; revision=10508
* make ettore stop complaining so i can get back to workjacob berkman2001-06-271-0/+5
| | | | | | | | | 2001-06-26 jacob berkman <jacob@ximian.com> * mail-config.c (mail_config_get_show_preview): make ettore stop complaining so i can get back to work svn path=/trunk/; revision=10504
* No longer returns a gboolean and also takes a CamelException.Jeffrey Stedfast2001-06-271-0/+13
| | | | | | | | | | | | | | | | | | | 2001-06-26 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (message_rfc822_dnd): No longer returns a gboolean and also takes a CamelException. (destination_folder_handle_drop): Do better error checking. * folder-browser.c (my_folder_browser_init): Connect to the tree-drag-data-recieved signal. (message_list_drag_data_recieved): New function that handles the recieving end of the DnD event. (x_evolution_message_parse): New convenience function to parse the x-evolution-message type so that the cut/paste and DnD code can share it. (selection_received): Use x_evolution_message_parse(). svn path=/trunk/; revision=10502
* Read in the default show_preview value. (mail_config_write_on_exit): SaveJeffrey Stedfast2001-06-261-0/+8
| | | | | | | | | | | | 2001-06-26 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Read in the default show_preview value. (mail_config_write_on_exit): Save the default show_preview value as well as saving the individual settings for each URI that has been changed. svn path=/trunk/; revision=10500
* Check to make sure that clipboard_selection is non-NULL before weJoe Shaw2001-06-261-0/+5
| | | | | | | | | 2001-06-25 Joe Shaw <joe@ximian.com> * folder-browser.c (invisible_destroyed): Check to make sure that clipboard_selection is non-NULL before we g_byte_array_free() it. svn path=/trunk/; revision=10495
* sync folders after we've gotten mailjacob berkman2001-06-261-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-25 jacob berkman <jacob@ximian.com> * mail-send-recv.c (free_send_data): sync folders after we've gotten mail * folder-browser-factory.c (control_activate): set the ui component on the folder browser (control_activate): update the view preview item (control_deactivate): don't sync the folder here (control_deactivate): unset the ui component of the folder browser * mail-callbacks.c (toggle_flags): stuff from jleach to add an importance keybinding (mark_as_important): ditto (toggle_as_important): again * mail-config.c (mail_config_get_show_preview): (mail_config_set_show_preview): basically a copy of get_thread_list() but for the preview pane * folder-browser.c (folder_browser_destroy): unref the our ui component (folder_browser_set_ui_component): new function for setting the ui component (save_cursor_pos): (set_cursor_pos): try to show the selected row when the preview pane is shown (folder_browser_set_message_preview): implement (folder_browser_toggle_preview): toggle the preview (duh) (on_key_press): add keybindings for marking as important (!), and hiding the preview pane (q) (etree_key): clean up a little bit, and make enter either show the preview pane or open the message (fb_resize_cb): only save the paned size if the preview is alread shown (folder_browser_gui_init): pass ourselves to fb_resize_cb (on_message_selected): only add the timeout if the preview is shown svn path=/trunk/; revision=10491
* Unref the invisible window that we use for slections.Jeffrey Stedfast2001-06-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2001-06-25 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_destroy): Unref the invisible window that we use for slections. (folder_browser_class_init): Init the clipboard_atam type. (selection_get): New (selection_clear_event): New (selection_received): New (folder_browser_copy): New function to copy the message-list selection. (folder_browser_cut): New function to cut the message-list selection. (folder_browser_paste): New function to paste the message-list selection. (my_folder_browser_init): Initialize `invisible` if it's NULL else ref it - also set some signals on it. * folder-browser-factory.c: Added verbs for cut/copy/paste. svn path=/trunk/; revision=10489
* Fixes here for removing folders.Jason Leach2001-06-241-0/+7
| | | | | | | | | | | 2001-06-23 Jason Leach <jleach@ximian.com> * mail-local.c (local_storage_removed_folder_cb): Fixes here for removing folders. * mail-ops.c (remove_folder_get): Some fixes in here too. svn path=/trunk/; revision=10445
* Duh, we saved the charset as "default_charset", not "charset" - no wonderJeffrey Stedfast2001-06-231-0/+6
| | | | | | | | | | 2001-06-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Duh, we saved the charset as "default_charset", not "charset" - no wonder the correct charset menu item was never being set. svn path=/trunk/; revision=10399
* Temporarily remove the Bcc header before sending the message.Jeffrey Stedfast2001-06-221-0/+5
| | | | | | | | | 2001-06-21 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Temporarily remove the Bcc header before sending the message. svn path=/trunk/; revision=10385
* Remove empty "name" property setting from the popup control.Jon Trowbridge2001-06-221-0/+5
| | | | | | | | | 2001-06-21 Jon Trowbridge <trow@ximian.com> * mail-display.c (html_button_press_event): Remove empty "name" property setting from the popup control. svn path=/trunk/; revision=10373
* Allow the message to be sent even if there are no To recipients but onlyJeffrey Stedfast2001-06-221-1/+7
| | | | | | | | | | 2001-06-21 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Allow the message to be sent even if there are no To recipients but only as long as there are other recipients defined. svn path=/trunk/; revision=10363
* Fix bug #3409: Removing an EvolutionStorage from the shell's folderJacob Leach2001-06-221-0/+6
| | | | | | tree. svn path=/trunk/; revision=10362
* More than on accel key is a tad confusing.Kjartan Maraas2001-06-201-0/+5
| | | | | | | | | 2001-06-20 Kjartan Maraas <kmaraas@gnome.org> * folder-browser.c: More than on accel key is a tad confusing. svn path=/trunk/; revision=10328
* #include "folder-browser-factory.h"Jeffrey Stedfast2001-06-201-0/+11
| | | | | | | | | | | | | | | 2001-06-19 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c: #include "folder-browser-factory.h" * component-factory.c (mail_remove_storage): New function to remove an EvolutionStorage. * mail-accounts.c (mail_delete): Remove the storage from the folder-tree. (news_delete): Same. svn path=/trunk/; revision=10304
* Accept text/uri-list mime types - this allows us to drag messages fromJeffrey Stedfast2001-06-201-0/+9
| | | | | | | | | | | | | 2001-06-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Accept text/uri-list mime types - this allows us to drag messages from Nautilus into an Evolution folder. * folder-browser.c (message_list_drag_data_get): Do cleanup and better error handling. svn path=/trunk/; revision=10296
* Properly clean up the movemail files when no mail was received.Jon Trowbridge2001-06-191-0/+5
| | | | | | | | | 2001-06-19 Jon Trowbridge <trow@ximian.com> * mail-tools.c (mail_tool_do_movemail): Properly clean up the movemail files when no mail was received. svn path=/trunk/; revision=10290
* (write_field_row_begin): hmm, use just bold &nbsp; as it looksRadek Doulik2001-06-191-0/+2
| | | | | | better svn path=/trunk/; revision=10288
* add column with &nbsp; between header name and valueRadek Doulik2001-06-191-0/+5
| | | | | | | | | 2001-06-19 Radek Doulik <rodo@ximian.com> * mail-format.c (write_field_row_begin): add column with &nbsp; between header name and value svn path=/trunk/; revision=10286
* Use a nice switch statement and use the new enum values.Jeffrey Stedfast2001-06-191-0/+3
| | | | | | | | | | | | | | 2001-06-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Use a nice switch statement and use the new enum values. * mail-callbacks.c (list_add_addresses): Now takes a hash table of already-used-recipients so that we don't get duplicates. (mail_generate_reply): Pass in a rcpt_hash argument to list_add_addresses(). These changes fix bug #1639. svn path=/trunk/; revision=10282
* Now takes a hash table of already-used-recipients so that we don't getJeffrey Stedfast2001-06-191-0/+7
| | | | | | | | | | | 2001-06-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (list_add_addresses): Now takes a hash table of already-used-recipients so that we don't get duplicates. (mail_generate_reply): Pass in a rcpt_hash argument to list_add_addresses(). These changes fix bug #1639. svn path=/trunk/; revision=10278
* Remove DB3_LDADDDan Winship2001-06-191-0/+4
| | | | | | * Makefile.am (evolution_mail_LDADD): Remove DB3_LDADD svn path=/trunk/; revision=10276
* Change the drop-type "x-evolution-dnd" to "x-evolution-message" since weJeffrey Stedfast2001-06-191-0/+13
| | | | | | | | | | | | | | | | | 2001-06-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Change the drop-type "x-evolution-dnd" to "x-evolution-message" since we want to be able to DnD more than one data type ;-) * folder-browser.c: Change supported DnD drop types to disclude URI_LIST as that seems to crash Nautilus and seems overly complicated. Since I am going to be supporting message/rfc822, hopefully Nautilus can handle that or else maybe something like text/plain. (message_list_drag_data_get): Remove the code for URI_LIST. svn path=/trunk/; revision=10264
* If we have a fragment in the url, use that as the folder name, and not theNot Zed2001-06-181-0/+10
| | | | | | | | | | | | | | 2001-06-14 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): If we have a fragment in the url, use that as the folder name, and not the path component. 2001-06-13 Not Zed <NotZed@Ximian.com> * component-factory.c (mail_load_storages): Added temp hack to let spool providers show up in the list. svn path=/trunk/; revision=10263
* (mail_format_raw_message): Add padding to match the formattedDan Winship2001-06-181-0/+2
| | | | | | display. svn path=/trunk/; revision=10262
* Allow user's to "copy" drag & drop rather than just "move".Jeffrey Stedfast2001-06-171-0/+5
| | | | | | | | | 2001-06-16 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (my_folder_browser_init): Allow user's to "copy" drag & drop rather than just "move". svn path=/trunk/; revision=10258
* Implemented.Jeffrey Stedfast2001-06-161-0/+12
| | | | | | | | | | | | | | | | 2001-06-15 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Implemented. * message-list.c (message_list_construct): Don't connect to the DnD signals here. (message_list_drag_data_get): Removed. (add_uid): Removed. * folder-browser.c (my_folder_browser_init): Connect to DnD signals. (message_list_drag_data_get): Implemented. svn path=/trunk/; revision=10257
* Fixed misuse of an uninitialized variable.Jeffrey Stedfast2001-06-161-0/+13
| | | | | | | | | | | | | | | | | 2001-06-15 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Fixed misuse of an uninitialized variable. * component-factory.c (destination_folder_handle_drop): Implemented. * mail.h: Added prototype for evolution_folder_info_factory_init. * mail-ops.c (mail_do_transfer_messages): Now takes a const char* as the dest_uri. This works better all around since we strdup'd the string anyway. svn path=/trunk/; revision=10255
* We can't output "<html>" and "</html>" here because it gets calledDan Winship2001-06-161-0/+9
| | | | | | | | | | | * mail-format.c (mail_format_mime_message): We can't output "<html>" and "</html>" here because it gets called recursively to display message/rfc822 subparts. * mail-display.c (mail_display_redisplay): Move rodo's html header changes from mail_format_mime_message to here. svn path=/trunk/; revision=10252
* Updated to reflect changes to mail_config_[g,s]et_thread_list().Jeffrey Stedfast2001-06-151-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2001-06-14 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (got_folder): Updated to reflect changes to mail_config_[g,s]et_thread_list(). (folder_browser_toggle_threads): Same. * folder-browser-factory.c (control_activate): Updated to reflect changes to mail_config_[g,s]et_thread_list(). * mail-config.c (mail_config_write_on_exit): Do cleanup when we're done. (mail_config_set_thread_list): Send in a URI so we can save the state on a per-folder basis. (mail_config_get_thread_list): Send in a URI so we can retrieve the state on a per-folder basis. * component-factory.c: Setup the accepted_dnd_types. Also added skeleton code for DnD. svn path=/trunk/; revision=10240
* Add Reply-to-List bonobo verbs.Jeffrey Stedfast2001-06-151-0/+13
| | | | | | | | | | | | | | | | | 2001-06-14 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Add Reply-to-List bonobo verbs. * folder-browser.c: Add Reply-to-List menu items. * mail-callbacks.c (mail_reply): Use an enum for specifying the reply mode, becaus enow we can reply-to-list. (reply_to_list): Implement. (reply_to_sender): Use REPLY_SENDER. (reply_to_all): Use REPLY_ALL. (mail_generate_reply): Handle the different modes. svn path=/trunk/; revision=10232
* Remove folder-info.h until iain checks it inJP Rosevear2001-06-131-0/+4
| | | | | | | | 2001-06-12 JP Rosevear <jpr@ximian.com> * Makefile.am: Remove folder-info.h until iain checks it in svn path=/trunk/; revision=10201
* Setup default spool location same as for mbox mail retrieval.Not Zed2001-06-121-0/+5
| | | | | | | | | 2001-06-12 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (source_type_changed): Setup default spool location same as for mbox mail retrieval. svn path=/trunk/; revision=10199
* fix some commands to match the ui file again.Dan Winship2001-06-091-0/+5
| | | | | | | * folder-browser-factory.c: fix some commands to match the ui file again. svn path=/trunk/; revision=10165
* Committing the new My Evolution.Iain Holmes2001-06-091-0/+17
| | | | svn path=/trunk/; revision=10163
* Reattach X-Evolution-Account information to the message after sending it.Jon Trowbridge2001-06-091-0/+5
| | | | | | | | | | | 2001-06-08 Jon Trowbridge <trow@ximian.com> * mail-ops.c (mail_send_message): Reattach X-Evolution-Account information to the message after sending it. This way it can be used to set the identity properly if we later Resend the message. svn path=/trunk/; revision=10162
* If you had multiple accounts that used mboxes, and if you received mail inJon Trowbridge2001-06-091-0/+10
| | | | | | | | | | | | | | 2001-06-08 Jon Trowbridge <trow@ximian.com> * mail-tools.c (mail_tool_get_local_movemail_path): If you had multiple accounts that used mboxes, and if you received mail in N of those accounts, you would get N copies of each of your e-mail messages. This is because everything was being dumped into one big file by movemail, and the filters would run on that file N times. To work around this, each mbox account now gets its own distinct temporary movemail file. svn path=/trunk/; revision=10155
* Added an argument, so that the original source URI of the mbox can beJon Trowbridge2001-06-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-07 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_mbox): Added an argument, so that the original source URI of the mbox can be passed in. This is needed because this function is called post-movemail, so we are never reading from the original mbox anymore. Without the original mbox URI, the X-Evolution-Source tag gets set incorrectly and filter-on-source will fail to work. (camel_filter_driver_filter_message): Also take an extra arg for the original source URI. It is the original URI, not the source URI, that is used for filtering and for setting the X-Evolution-Source tag. 2001-06-07 Jon Trowbridge <trow@ximian.com> * mail-ops.c (fetch_mail_fetch): Pass the original source URI to camel_filter_driver_filter_mbox. (mail_send_message): Pass NULL as the orginal source URI to camel_filter_driver_filter_message. svn path=/trunk/; revision=10152
* Check that the chain of deferences in gui->account->source->url is safe.Jon Trowbridge2001-06-071-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jon Trowbridge <trow@ximian.com> * mail-account-gui.c (source_type_changed): Check that the chain of deferences in gui->account->source->url is safe. This was causing a segfault when adding a new account if any of the existing accounts had their sources set to "None". (i.e. gui->account->source == NULL) * mail-accounts.c (load_accounts): Check that account->source != NULL before dereferencing it. (load_accounts): The selection is cleared when the account clist is rebuilt (say after a call to add), but no unselect event is emitted. Yes, the clist is evil. We work around this by explictly calling mail_unselect, our unselect signal handler. (Otherwise, the edit and delete buttons remain sensitive and accounts_row != 0, but the user can't see which row the dialog thinks is selected.) (load_news): Check the account->source != NULL before dereferencing it. (mail_unselect): If an insensitive button in a button box has the focus, and if you hit tab, there is a segfault deep inside of gtk. This is probably a gtk bug. We work around it by having the add button (which is always sensitive) grab the focus on an unselect. svn path=/trunk/; revision=10136
* (Fix bug #3211: Should undelete when flagging a delete message asJason Leach2001-06-061-0/+6
| | | | | | | | | | | | | 2001-06-05 Jason Leach <jleach@ximian.com> (Fix bug #3211: Should undelete when flagging a delete message as important) * message-list.c (on_click): When flagging a message as important, check to see if it's flagged as deleted, if so, undelete it. svn path=/trunk/; revision=10122
* (Fix bug #314: Display URLs in statusbar on mouseover)Jason Leach2001-06-061-0/+7
| | | | | | | | | | | 2001-06-05 Jason Leach <jleach@ximian.com> (Fix bug #314: Display URLs in statusbar on mouseover) * mail-display.c (html_on_url): New function, callback for GtkHTML's "on_url" signal. svn path=/trunk/; revision=10117
* make HTML and plain mails to have the same boundaryRadek Doulik2001-06-051-0/+5
| | | | | | | | | 2001-06-05 Radek Doulik <rodo@ximian.com> * mail-format.c: make HTML and plain mails to have the same boundary svn path=/trunk/; revision=10115
* Fix linking order for `$(DB3_LDADD)'s so that we avoid pullingEttore Perazzoli2001-06-031-0/+5
| | | | | | | functions from a different Berkeley DB library when we really don't mean to. svn path=/trunk/; revision=10105
* Added fields for the GalViewMenus and GalViewCollection, since we need toFederico Mena Quintero2001-06-021-0/+15
| | | | | | | | | | | | | | | | | | | 2001-06-01 Federico Mena Quintero <federico@ximian.com> * folder-browser.h (FolderBrowser): Added fields for the GalViewMenus and GalViewCollection, since we need to keep them around while the component is active. * folder-browser-factory.c (folder_browser_setup_view_menus): Plug leaks; unref the spec and factory. Set the view collection and the view menus on the FolderBrowser object. (folder_browser_discard_view_menus): New function. (control_deactivate): Discard the menus. * folder-browser.c (folder_browser_destroy): Destroy the view collection and the view menus. svn path=/trunk/; revision=10086
* Add a bunch of missing `$(DB3_LDADD)'s.Ettore Perazzoli2001-06-021-0/+4
| | | | svn path=/trunk/; revision=10085
* Save the pgp and smime settings. (mail_account_gui_new): Setup the pgp andJeffrey Stedfast2001-06-021-0/+14
| | | | | | | | | | | | | | | | | | 2001-06-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Save the pgp and smime settings. (mail_account_gui_new): Setup the pgp and s/mime page (but disable the s/mime frame if we are not compiled with s/mime support). * mail-config.c (account_copy): Updated to save extra pgp and smime options. (account_destroy): Free draft/sent folder info and also the new pgp/smime keys. (config_read): Read in the pgp and s/mime config options. (mail_config_write): Save the account pgp and smime options. svn path=/trunk/; revision=10084
* Call build_extra_conf() here too. This is when we REALLY want to call itJeffrey Stedfast2001-06-021-0/+12
| | | | | | | | | | | | | | | | 2001-06-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (source_type_changed): Call build_extra_conf() here too. This is when we REALLY want to call it anyway, not on switch-page because then we'd lose any data on the Receive Options page if we never switch to that page before applying the changes. * mail-account-editor.c (construct): Don't connect to the switch-page event, instead just call build_extra_conf() here with the source->url. svn path=/trunk/; revision=10082
* Fix dumb misuse of g_get_charset.Dan Winship2001-06-011-0/+4
| | | | | | * mail-config.c (config_read): Fix dumb misuse of g_get_charset. svn path=/trunk/; revision=10079
* Removed the code to check for the validity of an S/MIME part. Stuff worksJeffrey Stedfast2001-06-011-0/+8
| | | | | | | | | | | | 2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Removed the code to check for the validity of an S/MIME part. Stuff works differently now. * mail-crypto.c: Rewrote how the S/MIME stuff is going to work. svn path=/trunk/; revision=10066
* Rename the "PGP" page back to "Other" and add a "default charset" optionDan Winship2001-05-311-0/+13
| | | | | | | | | | | | | | | * mail-config.glade: Rename the "PGP" page back to "Other" and add a "default charset" option menu. * mail-config.c (config_read, mail_config_write_on_exit, mail_config_get_default_charset, mail_config_set_default_charset): Handle "default charset". * mail-accounts.c (construct): Fill in the "default_charset" menu with an e_charset_picker menu. (charset_menu_deactivate): Update the default charset. svn path=/trunk/; revision=10057
* Take another argument to ignore a certain address. (mail_generate_reply):Jeffrey Stedfast2001-05-301-0/+7
| | | | | | | | | | | 2001-05-29 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (list_add_addresses): Take another argument to ignore a certain address. (mail_generate_reply): Ignore references to the reply-to address when constructing the Cc list. svn path=/trunk/; revision=10046
* one-line fix for bug #2536: File->Close in message viewer doesn't work.Jason Leach2001-05-301-0/+12
| | | | | | | | | | | | | | | | 2001-05-29 Jason Leach <jleach@ximian.com> * message-browser.c (message_browser_new): one-line fix for bug #2536: File->Close in message viewer doesn't work. (message_browser_new): Also replaced like 4 lines of code with a one-liner featuring gnome_app_create_toolbar_with_data(). 2001-05-28 Jason Leach <jleach@ximian.com> * mail-local.c (load_metainfo): Don't need to check if (foo!=NULL) before doing an xmlFreeDoc(). svn path=/trunk/; revision=10039
* Fix a bug that could cause a crash on messages with an empty subject.Dan Winship2001-05-291-0/+5
| | | | | | | * mail-format.c (write_text_header): Fix a bug that could cause a crash on messages with an empty subject. Oops. svn path=/trunk/; revision=10034
* Removed the etable spec string. (message_list_construct): Load the etableJeffrey Stedfast2001-05-281-0/+11
| | | | | | | | | | | | | | | | | | | 2001-05-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c: Removed the etable spec string. (message_list_construct): Load the etable spec from a file. * folder-browser-factory.c: Load the etable spec from the file, not a string. * Makefile.am: Add message-list.etspec to be installed. * message-list.etspec: New file containing the ETable file specification. * mail-config.h: Prototype evolution_mail_config_get_type. svn path=/trunk/; revision=10025
* Prototype evolution_mail_config_get_type.Jeffrey Stedfast2001-05-281-0/+4
| | | | | | | | 2001-05-27 Jeffrey Stedfast <fejj@ximian.com> * mail-config.h: Prototype evolution_mail_config_get_type. svn path=/trunk/; revision=10024
* #include "evolution-shell-component-utils.h" rather than "e-gui-utils.h"Dan Winship2001-05-281-0/+8
| | | | | | | | | | * folder-browser-factory.c: #include "evolution-shell-component-utils.h" rather than "e-gui-utils.h" for e_pixmaps_update. * subscribe-dialog.c: Likewise. svn path=/trunk/; revision=10019
* Fix to work properly. (handle_multipart_signed): Fixed a bug that causedJeffrey Stedfast2001-05-271-0/+3
| | | | | | | | | | | 2001-05-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (try_inline_pgp_sig): Fix to work properly. (handle_multipart_signed): Fixed a bug that caused some multipart/signed messages to be handled by the multipart_mixed handler. svn path=/trunk/; revision=10016
* Fix to work properly.Jeffrey Stedfast2001-05-271-0/+4
| | | | | | | | 2001-05-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (try_inline_pgp_sig): Fix to work properly. svn path=/trunk/; revision=10015
* Added callbacks for Next/Previous Unread and Next/Previous FlaggedJeffrey Stedfast2001-05-271-0/+8
| | | | | | | | | | | | 2001-05-25 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Added callbacks for Next/Previous Unread and Next/Previous Flagged message. * mail-callbacks.c (previous_flagged_msg): Implemented. (next_flagged_msg): Implemented. svn path=/trunk/; revision=10014
* When unreffing a folder we got ourselves (as opposed to one passed in byDan Winship2001-05-271-0/+14
| | | | | | | | | | | | | | | | * mail-ops.c (mail_send_message, transfer_messages_transfer, set_offline_do): When unreffing a folder we got ourselves (as opposed to one passed in by the caller), sync before unreffing, since we might be holding the only reference to it. (mail_refresh_folder): New op, like mail_sync_folder, but does a camel_folder_refresh_info instead. * folder-browser-factory.c (control_activate): Call mail_refresh_folder, not mail_sync_folder. (The goal is to see new messages: sync used to work with imap because imap_sync was broken, but it doesn't work for that any more.) svn path=/trunk/; revision=10011
* Reference libeshell.la instead of libeshell.a.Peter Williams2001-05-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-25 Peter Williams <peterw@ximian.com> * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * gui/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Change libeshell from a noinst_LIBRARIES to a lib_LTLIBRARIES. Install its headers in $includedir/evolution/shell. * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string in libeutil. This way libeshell doesn't have a missing symbol when programs that don't have libeutil link to it. (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g. svn path=/trunk/; revision=10007
* Disable Resend on non-Sent folder FolderBrowsers. Thanks to Wayne DavisJeffrey Stedfast2001-05-261-0/+4
| | | | | | | | | | 2001-05-25 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c (control_activate): Disable Resend on non-Sent folder FolderBrowsers. Thanks to Wayne Davis for this patch. svn path=/trunk/; revision=10000
* This code should be correct now. Still waiting on the shell to do it's jobJeffrey Stedfast2001-05-261-0/+6
| | | | | | | | | | 2001-05-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (xfer_folder): This code should be correct now. Still waiting on the shell to do it's job of creating the metadata xml file in the destination folder though. svn path=/trunk/; revision=9981
* g_strdup the uid into the ml->cursor_uid.Jeffrey Stedfast2001-05-251-0/+8
| | | | | | | | | | | | 2001-05-24 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_select_uid): g_strdup the uid into the ml->cursor_uid. * message-browser.c (message_browser_forward_msg): Use the default forward style. svn path=/trunk/; revision=9969
* If the message data is online, sniff the data for a MIME type first, andDan Winship2001-05-251-0/+9
| | | | | | | | | | | * mail-identify.c (mail_identify_mime_part): If the message data is online, sniff the data for a MIME type first, and use the filename second. Makes it more reliable, and deals with the specific case of "application/octet-stream; name=foo.vcf" which gnome-vfs will identify as vcalendar, but which can also be a vcard. svn path=/trunk/; revision=9968
* Only write the message up to (but not including) the attached signatureJeffrey Stedfast2001-05-251-0/+5
| | | | | | | | | 2001-05-24 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (try_inline_pgp_sig): Only write the message up to (but not including) the attached signature block. svn path=/trunk/; revision=9967
* Don't free the folder-info here, instead have mail_append_mail() call ourJeffrey Stedfast2001-05-241-0/+5
| | | | | | | | | | | 2001-05-23 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_postpone_cb): Don't free the folder-info here, instead have mail_append_mail() call our new function, append_mail_cleanup() which'll free the folder-info. This fixes the problem of send-later segfaulting. svn path=/trunk/; revision=9958
* Make the message-list respect the "hide deleted messages" setting. FixesJeffrey Stedfast2001-05-241-0/+3
| | | | | | | | | 2001-05-23 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_set_folder): Make the message-list respect the "hide deleted messages" setting. Fixes bug #2248. svn path=/trunk/; revision=9956
* New function that the shell component calls to copy/move a folder.Jeffrey Stedfast2001-05-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | 2001-05-23 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (xfer_folder): New function that the shell component calls to copy/move a folder. (component_fn): Set the xfer_folder_fn argument. * mail-ops.c (mail_remove_folder): New async function to remove a folder. God knows if it does what the ShellComponent needs or not yet. (mail_xfer_folder): Yet another yummy async function to move or copy a folder to a new location. * component-factory.c (storage_remove_folder): New function for removing folders. (remove_folder): New function that the shell component calls to delete a folder. (component_fn): Set the remove_folder_fn argument. svn path=/trunk/; revision=9954
* New async function to remove a folder. God knows if it does what theJeffrey Stedfast2001-05-241-0/+12
| | | | | | | | | | | | | | | | 2001-05-23 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_remove_folder): New async function to remove a folder. God knows if it does what the ShellComponent needs or not yet. * component-factory.c (storage_remove_folder): New function for removing folders. (remove_folder): New function that the shell component calls to delete a folder. (component_fn): Set the remove_folder_fn argument. svn path=/trunk/; revision=9952
* Save the message-display style. (config_read): Read the message-displayJeffrey Stedfast2001-05-231-0/+6
| | | | | | | | | | 2001-05-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Save the message-display style. (config_read): Read the message-display style. svn path=/trunk/; revision=9938
* If http mode is HTTP_SOMETIMES, use e_book_query_address_locally to checkDan Winship2001-05-231-0/+10
| | | | | | | | | | | | * mail-display.c (on_url_requested): If http mode is HTTP_SOMETIMES, use e_book_query_address_locally to check the From address and load images if it's found. * mail-config.c (config_read): Default http_mode to MAIL_CONFIG_HTTP_SOMETIMES. Fix typo to make default forward style actually work. svn path=/trunk/; revision=9936
* Use MAILER_CFLAGS and MAILER_LIBS.Jeffrey Stedfast2001-05-231-0/+2
| | | | | | | | 2001-05-22 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Use MAILER_CFLAGS and MAILER_LIBS. svn path=/trunk/; revision=9934