aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* ackJeffrey Stedfast2001-03-161-1/+1
| | | | svn path=/trunk/; revision=8742
* We don't care about SSL, yea baby... (apply_changes): Don't care aboutJeffrey Stedfast2001-03-166-77/+39
| | | | | | | | | | | | | | | | | | | | 2001-03-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): We don't care about SSL, yea baby... (apply_changes): Don't care about SSL, no baby... (construct): Yea, I said we don't care 'bout SSL, baby (construct): That's exactly what I said, uh huh... (transport_auth_type_changed): Set the sensitivity of the user/passwd entries. (transport_type_changed): If the hostname hasn't been set yet, just use "localhost" as it doesn't really matter, since all we need is a valid URL object. * mail-config.c: We no longer need `use_ssl' for sources and transports. svn path=/trunk/; revision=8741
* Remove a stray camel_object_ref that was causing messages to never beDan Winship2001-03-152-1/+7
| | | | | | | | | * mail-display.c (mail_display_redisplay): Remove a stray camel_object_ref that was causing messages to never be finalized if they got redisplayed (because of attachments, delayed-loading IMAP parts, etc) svn path=/trunk/; revision=8737
* Added edit item to search-bar menu.Not Zed2001-03-154-3/+19
| | | | | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * folder-browser.c: Added edit item to search-bar menu. * mail-callbacks.c (filter_edit): Changed for filter_editor_new() api addition/change. * mail-vfolder.c (vfolder_edit): Use vfolder_editor_new intead. svn path=/trunk/; revision=8731
* Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-151-157/+0
| | | | | | | | | | | | 2001-03-15 Gediminas Paulauskas <menesis@delfi.lt> Removed .oafinfo files -- they are obsolete. Moved pixmaps from calendar/gui/ to art/ Moved evolution.png to art/ Moved evolution.desktop.in to data/ Generate doc/devel/executive-summary/Makefile svn path=/trunk/; revision=8727
* Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminateJeffrey Stedfast2001-03-153-1/+5
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons and show the label. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8721
* Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminateJeffrey Stedfast2001-03-153-2/+8
| | | | | | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8719
* Tell camel to init NSS.Jeffrey Stedfast2001-03-152-1/+5
| | | | | | | | 2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. svn path=/trunk/; revision=8717
* builddir != srcdir fixes. Yay!Ettore Perazzoli2001-03-142-0/+7
| | | | svn path=/trunk/; revision=8706
* Call gtk_html_end() on the stream so things happen. Fixes a problem withDan Winship2001-03-143-0/+22
| | | | | | | | | | * mail-display.c (on_url_requested): Call gtk_html_end() on the stream so things happen. Fixes a problem with some inline images (just very small ones maybe?) * importers/.cvsignore: create svn path=/trunk/; revision=8691
* Call camel_init with the evolution directory passed in. Also, abort ifJeffrey Stedfast2001-03-143-10/+24
| | | | | | | | | | | | 2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Call camel_init with the evolution directory passed in. Also, abort if camel cannot be initialized. * main.c (main): Shutdown camel. svn path=/trunk/; revision=8689
* impl. (update_pixmaps): accelerate with cache.Michael Meeks2001-03-132-33/+61
| | | | | | | | | 2001-03-04 Michael Meeks <michael@ximian.com> * folder-browser-factory.c (free_pixmaps): impl. (update_pixmaps): accelerate with cache. svn path=/trunk/; revision=8663
* All my changes to get the folder creation working, and the magic NetscapeIain Holmes2001-03-1314-361/+1260
| | | | | | importer. svn path=/trunk/; revision=8661
* Make the transport save whether or not it's supposed to use SSL as well.Jeffrey Stedfast2001-03-132-0/+19
| | | | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write): Make the transport save whether or not it's supposed to use SSL as well. (config_read): Read in whether or not we should remember the transport password (for those that support SASL). (mail_config_write): Save whether or not to save transport passwords (needed for SASL enabled transports). svn path=/trunk/; revision=8649
* Instead of always creating a new vTrash folder, if the store already has aJeffrey Stedfast2001-03-132-10/+28
| | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Instead of always creating a new vTrash folder, if the store already has a Trash folder, replace it with the vTrash. Also, name the folder "Trash" instead of "vTrash" and i18nify the name. svn path=/trunk/; revision=8644
* Added protection.Jeffrey Stedfast2001-03-125-51/+154
| | | | | | | | | | | | | | | 2001-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.h: Added protection. * folder-browser-factory.c: Add ActionsEmptyTrash. By the way - should we rename the bonobo verbs now that our menu structure has changed? * mail-callbacks.c (empty_trash): New callback to empty ALL of the trash folders. svn path=/trunk/; revision=8633
* Remove our X-Evolution header before we send. Also don't send messagesJeffrey Stedfast2001-03-123-14/+19
| | | | | | | | | | 2001-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_queue_send): Remove our X-Evolution header before we send. Also don't send messages that are marked for deletion. svn path=/trunk/; revision=8630
* Remove our X-Evolution header before we send.Jeffrey Stedfast2001-03-112-35/+44
| | | | | | | | | 2001-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_queue_send): Remove our X-Evolution header before we send. svn path=/trunk/; revision=8625
* New async function that will be used for SSL certs later.Jeffrey Stedfast2001-03-105-21/+163
| | | | | | | | | | | | | 2001-03-09 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (mail_get_accept): New async function that will be used for SSL certs later. * session.c (auth_callback): Changed to return a gpointer value. (mail_session_accept_dialog): New function to handle the new _ACCEPT authenticator mode. svn path=/trunk/; revision=8622
* Set the Forward->Quoted callback. Also set the forward->AttachmentJeffrey Stedfast2001-03-097-38/+167
| | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Set the Forward->Quoted callback. Also set the forward->Attachment callback. * mail-view.c (view_forward_msg): Specify FORWARD_ATTACHED. * mail-callbacks.c (forward_attached): Don't call forward_messages() anymore...never really needed to. Just handle it directly. (forward_inlined): Specify FORWARD_INLINE as the flag argument. (forward_quoted): New function sorta like forward_inlined except this forwards the message quoted. * mail-tools.c (mail_tool_forward_message): New function to prepare a message to be forwarded. svn path=/trunk/; revision=8611
* Switched to use e_contact_quick_add_free_form. Removed debugging code,Jon Trowbridge2001-03-093-12/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-popup.c (quick_add_cb): Switched to use e_contact_quick_add_free_form. Removed debugging code, hopefully without introducing any bugs in the process. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix bug with commas inside of name/address combos. As long as the comma is inside of quotes, it will be treated as part of the name rather than as a break between addresses. * gui/component/select-names/e-select-names-completion.c (match_nickname): Use e_card_name_to_string for nickname match strings. (match_email): Use e_card_name_to_string for email match strings. (e_select_names_completion_begin): Strip quotes out of query text, so we don't produce malformed sexps. Added William Blake quote easter egg. * contact-editor/e-contact-quick-add.c: Further attempts to fix... mostly unsuccessful. (e_contact_quick_add_free_form): Added. Takes a single string and tries to parse out (using some simple, loose rules) the name and e-mail -- then calls e_contact_quick_add. An attempt to get the computer to automatically Do The Right Thing. * backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm anal. * gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server info for EAddressWidget. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server info for EAddressWidget. * gui/component/addressbook-factory.c (main): Add call to e_address_widget_factory_init. * gui/component/e-address-widget.h: * gui/component/e-address-widget.c: Added. A little widget (and a Bonobo control, BTW) for displaying addresses, with a left-click menu. Used to display addresses in the mail viewer (as embedded GtkHTML objects, replacing the text previously used). Still quite incomplete. 2001-03-08 Jon Trowbridge <trow@ximian.com> * mail-format.c (write_field_row_begin): Added. Table row HTML broken out into its own function. (write_subject): Added. Emits the proper HTML for the subject line. (write_field_to_stream): #ifdef-ed out of existence. (write_address): Take a CamelInternetAddress and spit out an <object> tag with the appropriate <param>s. * mail-display.c (on_object_requested): Check for an "address" object. If found, call... (handle_embedded_address_object): ...this function, which creates an AddressWidget bonobo control and passes in the necessary info. I never really realized just quite how much GtkHTML kicks ass until I figured out how to make this work. svn path=/trunk/; revision=8607
* Removed from cvsJeffrey Stedfast2001-03-095-218/+6
| | | | | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * mail-vtrash.[c,h]: Removed from cvs * Makefile.am: Removed mail-vtrash.[c,h] * main.c: Don't #include "mail-vtrash" anymore. * component-factory.c: Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge around the vtrash type. (owner_set_cb): Don't create the vTrash folder here anymore... * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8604
* Add "vtrash" as a folder type we support. (create_view): Kludgy-kludgeJeffrey Stedfast2001-03-092-3/+7
| | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge around the vtrash type. (owner_set_cb): Don't create the vTrash folder here anymore... svn path=/trunk/; revision=8603
* Call open_msg here so that it does the Right Thing (tm).Jeffrey Stedfast2001-03-093-5/+10
| | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8600
* Override the default init_trash() with the our custom one (sinceJeffrey Stedfast2001-03-092-15/+70
| | | | | | | | | | | | | | | | 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_store_class_init): Override the default init_trash() with the our custom one (since MailLocalStore doesn't let the CamelStore keep a hash of opened folders and instead keepts track of them itself). (init_trash): custom implementation of the init_trash method for MailLocalStores (get_folder): i18nize. (register_folder_registered): Don't add the folder to the vtrash here. svn path=/trunk/; revision=8596
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-082-1/+7
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Add an action-part widget. (filter_rule_from_mlist): Same here. ThisJeffrey Stedfast2001-03-082-4/+16
| | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-autofilter.c (filter_rule_from_message): Add an action-part widget. (filter_rule_from_mlist): Same here. This should get rid of the problem where people go to create a rule based on a message and forget to fill-in the action part. svn path=/trunk/; revision=8586
* New function to decide if a mime part is an S/MIME v3 signed part.Jeffrey Stedfast2001-03-073-21/+107
| | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_is_smime_v3_signed): New function to decide if a mime part is an S/MIME v3 signed part. (mail_crypto_is_pkcs7_mime): New function to decide if a mime part is an application/pkcs7-mime part (or an application/octet-stream part with application/pkcs7-mime data). svn path=/trunk/; revision=8578
* Move the signal emittion to after the set_menu call so that it actuallyJeffrey Stedfast2001-03-074-1399/+1332
| | | | | | | | | | | | | | | 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (source_auth_init): Move the signal emittion to after the set_menu call so that it actually works. (transport_type_changed): Updated to manipulate the user/passwd fields for the transport. (construct): Updated to init the user/passwd fields for the transport. (transport_auth_init): Renamed. Also fill in the user/passwd fields if available. svn path=/trunk/; revision=8577
* uh, emacs said it didn't save thisJeffrey Stedfast2001-03-071-1/+1
| | | | svn path=/trunk/; revision=8576
* Disable the NNTP code if NNTP is not enabled. This prevents some runtimeJeffrey Stedfast2001-03-072-1/+6
| | | | | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Disable the NNTP code if NNTP is not enabled. This prevents some runtime warnings... * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8575
* Updated to have a transport auth page.Jeffrey Stedfast2001-03-074-92/+554
| | | | | | | | 2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8574
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-076-86/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* If the folderinfo has no URL (ie, can't contain messages), don't add it asDan Winship2001-03-072-4/+7
| | | | | | | * mail-ops.c (get_folderinfo_got): If the folderinfo has no URL (ie, can't contain messages), don't add it as a vtrash source. svn path=/trunk/; revision=8569
* Don't access the `active` data member of a GtkToggleButton directly - badJeffrey Stedfast2001-03-066-157/+37
| | | | | | | | | | | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Don't access the `active` data member of a GtkToggleButton directly - bad programming, shame on me. * mail-account-editor.c: Same here. * mail-accounts.c: And here too. * mail-callbacks.c (empty_subject_destroyed): And finally here. * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8560
* Correcty set the mime type for the multipart. Hmmm, still doesn't wrapJeffrey Stedfast2001-03-062-8/+19
| | | | | | | | | | | 2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8559
* Remove very old camel lock stuff.Not Zed2001-03-036-12/+121
| | | | | | | | | | | | | | | | | | | | | 2001-03-03 Not Zed <NotZed@Ximian.com> * mail-tools.c: Remove very old camel lock stuff. * mail-local.c (register_folder_registered): Add the local folder as a potential vfolder source. * folder-browser.c (got_folder): When we have a new folder, register it as a potential vfolder source. * mail-vfolder.c: Added the source rule to the vfolder_info. (vfolder_refresh): Store the rule in the vfolder info, etc. (vfolder_register_source): Function to register a newly opened folder with us. (vfolder_uri_to_folder): Save the folder in the vfolder_info too. (source_finalise): Handle clenaup when the folder dies. svn path=/trunk/; revision=8534
* Check the container is not NIL before trying to set thje prop.Not Zed2001-03-022-0/+7
| | | | | | | | | 2001-03-02 Not Zed <NotZed@Ximian.com> * mail-mt.c (set_stop): Check the container is not NIL before trying to set thje prop. svn path=/trunk/; revision=8449
* Fixes for changes to search bar. (search_save): Removed. (search_full):Not Zed2001-03-018-290/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_search_menu_activated): Fixes for changes to search bar. (search_save): Removed. (search_full): Removed. (search_full_clicked): Removed. (folder_browser_search_option_items[]): Removed. (folder_browser_search_query_changed): Changed for search bar changes. (folder_browser_clear_search): Removed. * mail-vfolder.c (vfolder_clone_rule): New function to clone a filter/search rule into a matching vfolder rule. * mail-send-recv.c (mail_receive_uri): Setup a timeout for status updates. (build_dialogue): Setup timeout id for status updates. (operation_status_timeout): New function to set the status via a timeout. (receive_done): Remove the timeout handler if we need to. (operation_status): (receive_status): Just update the info, and let the timeout handler update the gui. (do_free_status): (do_show_status): Removed gui thread status message processing. 2001-02-28 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): New function to configure the FilterRule for the search mechanism. 2001-02-27 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): Setup the search bar as a filterbar. (got_folder): Set the whole search bar sensitive or not based on the search capability of the folder. * folder-browser.h: Changed to use efilterbar instead of esearchbar. svn path=/trunk/; revision=8438
* Return TRUE if the user configured his/her settings, else return FALSE.Jeffrey Stedfast2001-02-282-11/+21
| | | | | | | | | | | | 2001-02-27 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (configure_mail): Return TRUE if the user configured his/her settings, else return FALSE. (check_send_configuration): If configure_mail() returns TRUE, then continue otherwise quit. (send_receive_mail): Same. svn path=/trunk/; revision=8407
* Set a "References" header no matter what if we are able to get aJeffrey Stedfast2001-02-272-10/+16
| | | | | | | | | | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Set a "References" header no matter what if we are able to get a Message-Id. Fixes bug #1583. * mail-accounts.c (mail_delete): Confirm that the user REALLY wants to delete this account. (news_delete): Same. * mail-ops.c (mail_send_message): Changed the product string - will change it to use User-Agent once I get the RFC/DRUMS draft or whatever. Until then I'll stick with User-Agent. svn path=/trunk/; revision=8399
* Confirm thatt he user REALLY wants to delete this account. (news_delete):Jeffrey Stedfast2001-02-272-4/+42
| | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_delete): Confirm thatt he user REALLY wants to delete this account. (news_delete): Same. svn path=/trunk/; revision=8398
* Changed the product string - will change it to use User-Agent once I getJeffrey Stedfast2001-02-272-2/+8
| | | | | | | | | | 2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Changed the product string - will change it to use User-Agent once I get the RFC/DRUMS draft or whatever. Until then I'll stick with User-Agent. svn path=/trunk/; revision=8395
* Mark deleted messages as "seen" as well so they don't count towards theDan Winship2001-02-273-2/+9
| | | | | | | | | * mail-callbacks.c (delete_msg): Mark deleted messages as "seen" as well so they don't count towards the unread count. * mail-view.c (view_delete_msg): ditto svn path=/trunk/; revision=8392
* Re-add the mail_vtrash_create() hack back in for LocalStores since there'sJeffrey Stedfast2001-02-274-6/+50
| | | | | | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Re-add the mail_vtrash_create() hack back in for LocalStores since there's no better way to register a vTrash folder on the Local Storage yet. * mail-local.c (register_folder_registered): Add folders to the vTrash folder here since the LocalStore does not let the parent CamelStore class keep it's own hash of the folders. svn path=/trunk/; revision=8391
* New function to force the removal of a given password.Jeffrey Stedfast2001-02-264-39/+82
| | | | | | | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_forget_password): New function to force the removal of a given password. * openpgp-utils.c (openpgp_decrypt): On failure, forget the passphrase. (openpgp_encrypt): Here too. (cleaned this up a bit too) (openpgp_clearsign): And here. (openpgp_sign): Again... svn path=/trunk/; revision=8390
* Abort if the message is NULL (which is valid if an error occured).Jeffrey Stedfast2001-02-262-0/+10
| | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_postpone_cb): Abort if the message is NULL (which is valid if an error occured). (composer_send_cb): Same. svn path=/trunk/; revision=8389
* Toss the mail_tool_camel_lock* stuff. Same. Here too.Jeffrey Stedfast2001-02-256-118/+14
| | | | | | | | | | | | | | | | 2001-02-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c: Toss the mail_tool_camel_lock* stuff. * mail-ops.c: Same. * mail-summary.c: Here too. * mail-tools.c (mail_tool_uri_to_folder_noex): Blown away! (mail_tool_filter_get_folder_func): *kapoosh* (mail_tool_camel_lock_up): Same. (mail_tool_camel_lock_down): Same. (mail_tool_set_uid_flags): Don't need this rubbish anymore either. svn path=/trunk/; revision=8384
* This is a text file containing C source code that will eventually be an ↵Iain Holmes2001-02-251-0/+277
| | | | | | | | intelligent netscape importer. Work in Progress. Nothing to see here. svn path=/trunk/; revision=8383
* No longer need to construct the vTrash here. (owner_set_cb): Don't makeJeffrey Stedfast2001-02-253-7/+46
| | | | | | | | | | | | | | 2001-02-24 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): No longer need to construct the vTrash here. (owner_set_cb): Don't make the vTrash for the local store here. * mail-ops.c (add_vtrash_info): New function to add a vTrash folder info to a pre-constructed CamelFolderInfo for use in the get_folder_info async function. svn path=/trunk/; revision=8381
* No longer need to do a vtrash_cleanup() (it also doesn't exist anymore).Jeffrey Stedfast2001-02-247-211/+59
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-23 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): No longer need to do a vtrash_cleanup() (it also doesn't exist anymore). * component-factory.c (mail_load_storages): Updated to use the new vtrash code. (owner_set_cb): Same. * mail-tools.c (mail_tool_uri_to_folder): Update to handle the "vtrash:" url prefix so that we can extract the REAL uri and know to get the trash folder. * mail-vtrash.c (mail_vtrash_add): Add the vTrash folder to the EvolutionStorage. (mail_vtrash_create): Get the store based on the uri (async) and then call mail_trash_add. (vtrash_cleanup): Removed. (vtrash_uri_to_folder): Removed. (vtrash_create): Replaced by mail_vtrash_create() svn path=/trunk/; revision=8367
* New stuff for the importer to create a new folderIain Holmes2001-02-235-6/+55
| | | | svn path=/trunk/; revision=8365
* Come up with a unique store uri for each vtrash (using %p and theJeffrey Stedfast2001-02-232-11/+15
| | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-vtrash.c (create_trash_vfolder): Come up with a unique store uri for each vtrash (using %p and the CamelStore we're gonna place it on). (get_trash_get): Pass in the store so we can use it for %p. svn path=/trunk/; revision=8363
* vfolder/filter on mailing list. Doesn't acutally work right yet.Michael Zucci2001-02-237-57/+114
| | | | | | | | | | | | | | | | | | | | * mail-vfolder.c (vfolder_gui_add_from_mlist): Rule to add mlist vfolder. * mail-autofilter.c (filter_gui_add_for_mailing_list): Removed. (rule_from_mlist): Build a generic match rule from an mlist. (vfolder_rule_from_mlist): Setup the vfolder rule for an mlist. (filter_rule_from_mlist): Setup a filter rule fro an mlist. (filter_gui_add_from_mlist): GUI thingy to do the work. * folder-browser.c (on_right_click): Added vfolder on mailing list to filter menu. (on_right_click): Use header_raw_check_mailign_list instead of mlist magic to get the mailing list name. (filter_mlist): Changed to use new add_from_mlist() call. (vfolder_mlist): New function for vfolder from mlist. svn path=/trunk/; revision=8358
* Only allow downloading if the source is enabled at this time.Not Zed2001-02-233-7/+24
| | | | | | | | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): Only allow downloading if the source is enabled at this time. (mail_autoreceive_setup): Check for enabled sources before setting up autodownload. * mail-vtrash.c (get_trash_free): Free store if we have it. (get_trash_got): Move vtrash add into here, so we execute in the right thread. svn path=/trunk/; revision=8354
* Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try toJeffrey Stedfast2001-02-234-2/+93
| | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try to auto-detect which PGP type the binary file is based on the basename (yuck). svn path=/trunk/; revision=8353
* Make op cancellable/report internals. (get_folder_get):Not Zed2001-02-237-31/+267
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * mail-ops.c (create_folder_get): Make op cancellable/report internals. (get_folder_get): (sync_folder_sync): (get_folderinfo_get): Make op cancellable/report internals. * mail-vtrash.c (get_trash_get): Setup the operation registration, and create a pseudo "start/stop" operation. * component-factory.c (owner_set_cb): Make trash creation async. * mail-local.c (register_folder_desc): A description of what we're doing. * mail-mt.c (mail_msg_new): Set status callback to operation_new. (mail_operation_status): Operation status function, proxy messages to main thread, and attempt to present a meaningful ui experience for operations. svn path=/trunk/; revision=8351
* Fixed memory corruption bug.Jeffrey Stedfast2001-02-2311-41/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Fixed memory corruption bug. * mail-format.c (try_inline_pgp_sig): Check to make sure the validity isn't NULL. (handle_multipart_signed): Check for NULL validities. 2001-02-21 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Protect against NULL uri's. * mail-vtrash.c: Do mutex locking on the global hash table - this should clear up some segfaults ;-) * mail-config-druid.c (druid_finish): Set the 'enabled' member of the source to TRUE if the URL exists else set to FALSE. (incoming_type_changed): If the provider chosen is "None" then gray-out the auto-check widgets and the check-settings, otherwise sensitize them. * mail-account-editor.c (construct): Added a few more settings. (apply_changes): Save the new settings. * mail-config.c (service_copy): Updated. (config_read): Read in whether or not the account is enabled. (mail_config_write): Save if the account is enabled or not. svn path=/trunk/; revision=8349
* Updated to reflect changes to the filter-driver code.Jeffrey Stedfast2001-02-232-1/+7
| | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Updated to reflect changes to the filter-driver code. svn path=/trunk/; revision=8347
* Removed, no longer link with libcamelvee. (evolution_mail_LDADD): Ditto.Not Zed2001-02-224-7/+10
| | | | | | | | | | | | | | 2001-02-22 Not Zed <NotZed@Ximian.com> * Makefile.am (CAMEL_OBJS_EXTRA): Removed, no longer link with libcamelvee. (evolution_mail_LDADD): Ditto. * mail-vtrash.c: Moved camel-vee-store header ot camel levle. * mail-tools.c: Moved camel-vee-folder header to camel. svn path=/trunk/; revision=8341
* started hack for progress reporting, which is currently to the console.Not Zed2001-02-224-1/+104
| | | | | | | | | | | | | | | | 2001-02-22 Not Zed <NotZed@Ximian.com> * mail-local.c (local_storage_new_folder_cb): started hack for progress reporting, which is currently to the console. * mail-mt.c (set_stop): Set the stop button sensitivity. (mail_msg_received): enable/disable stop button while we're processing stuff in another thread. * message-list.c (ml_tree_value_at): If our uid entry vanishes before w'ere ready, then make a fake. svn path=/trunk/; revision=8338
* Changed to use PgpValidity.Jeffrey Stedfast2001-02-226-32/+176
| | | | | | | | | | | | | | | | | 2001-02-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_verify): Changed to use PgpValidity. * openpgp-utils.c (openpgp_verify): Return a PgpValidity and set the description as UTF-8 for later use in mail-format.c when writing to GtkHTML. * mail-format.c (try_inline_pgp_sig): Updated to use the new PgpValidity code. (handle_multipart_signed): Updated. svn path=/trunk/; revision=8320
* Fix for api changes to append_mail.Not Zed2001-02-2114-1825/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (composer_postpone_cb): Fix for api changes to append_mail. * Makefile.am (evolution_mail_SOURCES): Removed mail-threads.[ch]. * mail-threads.[ch]: Removed. * subscribe-dialog.c (subscribe_do_get_store): Chagned to use new thread stuff. This is really getting boring. (subscribe_do_subscribe_folder): Changed to use new thread stuff. Last one at last, phew. * session.c (register_callback): Changed to use new thread stuff. YUCK. I dropped some functionality, now the timeout callback return is ignored, so basically it keeps running till finished. * mail-ops.c (mail_operation_run): Removed, no longer used/needed. (mail_do_append_mail): Changed to use new thread stuff. (mail_do_transfer_messages): ditto. * mail-local.c (local_storage_new_folder_cb): Use new thread stuff, also only run synchronous for this operation. (mail_local_reconfigure_folder): (reconfigure_clicked): Changed to use new mail thread stuff. * mail-config.c (mail_config_check_service): Changed to use new thread stuff. svn path=/trunk/; revision=8314
* Pass NULL, not "/" for @top.Dan Winship2001-02-213-8/+17
| | | | | | | | | | * mail-vtrash.c (get_trash_get): Pass NULL, not "/" for @top. * mail-callbacks.c (create_folders): Make this work with CamelStores where the separator character isn't /. folder_created and folder_deleted are still broken. svn path=/trunk/; revision=8306
* Include the camel-vee-store.h header from the uninstalled copy.Not Zed2001-02-202-1/+6
| | | | | | | | | 2001-02-20 Not Zed <NotZed@Ximian.com> * mail-vtrash.c: Include the camel-vee-store.h header from the uninstalled copy. svn path=/trunk/; revision=8301
* Create vTrash folders for all remote stores as well.Jeffrey Stedfast2001-02-202-0/+8
| | | | | | | | | 2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Create vTrash folders for all remote stores as well. svn path=/trunk/; revision=8300
* Add the auto-update flag to the folder open flags.Not Zed2001-02-202-1/+7
| | | | | | | | | 2001-02-20 Not Zed <NotZed@Ximian.com> * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag to the folder open flags. svn path=/trunk/; revision=8297
* New handy dandy function to ref and return the vfolder storage (willJeffrey Stedfast2001-02-2012-332/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (mail_vfolder_get_vfolder_storage): New handy dandy function to ref and return the vfolder storage (will probably be disavowed once I figure out how to get the vTrash folder to show up in the EvolutionLocalStorage). * main.c (main): Call vtrash_cleanup(). * mail-vtrash.c: New file. (vtrash_uri_to_folder): vtrash: URI handler (vtrash_create): Replacement async vtrash function for the old one in mail-ops.c (vtrash_cleanup): Cleanup code - unrefs the cached vtrash folders and free's the hashtable. * Makefile.am: Added mail-vtrash.[c,h]. * mail-tools.c (mail_tool_uri_to_folder): If we have a vtrash: URI, call the vtrash URI handler function rather than continuing on. Yes, I know this is a hack and it needs to be fixed. * mail-ops.c (mail_do_setup_trash): Removed. (mail_trash_get): Removed. * component-factory.c (owner_set_cb): Create the vTrash folder for the LocalStore here. * mail-local.c (get_folder_info): Implement. svn path=/trunk/; revision=8288
* Unref the driver here, in the subthread, so we dont block the gui while itNot Zed2001-02-202-5/+13
| | | | | | | | | | | 2001-02-20 Not Zed <NotZed@Ximian.com> * mail-ops.c (fetch_mail_fetch): Unref the driver here, in the subthread, so we dont block the gui while it sync's all the folders. (fetch_mail_fetched): Rewmoved above code from here. svn path=/trunk/; revision=8278
* Dont do the thaw/freeze set here. (update_folders): "Not Zed2001-02-203-31/+59
| | | | | | | | | | | | | | 2001-02-16 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_status): Dont do the thaw/freeze set here. (update_folders): " * mail-vfolder.c (vfolder_refresh): Setup the virtual 'unmatched' folder by default. (vfolder_uri_to_folder): HAndle UNMATCHED folder specially, it has no explicit sources. svn path=/trunk/; revision=8277
* Not sure it makes any difference, but lets ref the folder while the hashJeffrey Stedfast2001-02-172-6/+14
| | | | | | | | | | 2001-02-16 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (receive_get_folder): Not sure it makes any difference, but lets ref the folder while the hash table is locked rather than after we unlock it. svn path=/trunk/; revision=8260
* Reverse the changes I made yesterday.Jeffrey Stedfast2001-02-173-5/+10
| | | | | | | | | 2001-02-16 Jeffrey Stedfast <fejj@ximian.com> * main.c: * component-factory.c: Reverse the changes I made yesterday. svn path=/trunk/; revision=8256
* Have the mail-config and openpgp initialize here instead.Jeffrey Stedfast2001-02-163-4/+13
| | | | | | | | | | | | 2001-02-15 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): Have the mail-config and openpgp initialize here instead. * component-factory.c (owner_set_cb): No need to have mail-config and openpgp init here. svn path=/trunk/; revision=8250
* reverse the order of some command-line flags for verifyJeffrey Stedfast2001-02-161-5/+5
| | | | svn path=/trunk/; revision=8248
* Use mail_storage_create_folderJeffrey Stedfast2001-02-166-34/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_scan_subfolders): Use mail_storage_create_folder * mail-callbacks.c (mail_storage_create_folder): Convenience function so we can keep all the evolution_storage_add_new_folder() code in one place as much as possible. * subscribe-dialog.c (recursive_add_folder): Use 'name' rather than the no-description bs since that's what all the other places do. * mail-callbacks.c (folder_created): New callback to handle the "folder_created" signal - handles CamelFolderInfo's recursively. (folder_deleted): Same but for "folder_deleted". * component-factory.c (storage_create_folder): Instead of doing the evolution_storage_new_folder() stuff by hand, pass it off to the new callback: folder_created(). At some point this will be unecessary as we'll attach this callback to the "folder_created" signal. svn path=/trunk/; revision=8247
* Wrapped the address compare functions in a #ifdef (address_compare):Jeffrey Stedfast2001-02-162-0/+17
| | | | | | | | | | | 2001-02-15 Jeffrey Stedfast <fejj@ximian.com> * message-list.c: Wrapped the address compare functions in a #ifdef (address_compare): #ifdef the use of the smart address sorting code and provide a #else for using g_strcasecmp(). svn path=/trunk/; revision=8242
* Add the --no-tty flag.Jeffrey Stedfast2001-02-152-0/+5
| | | | | | | | 2001-02-14 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Add the --no-tty flag. svn path=/trunk/; revision=8239
* Ignore generated .oaf filesDan Winship2001-02-151-0/+1
| | | | | | * various .cvsignore files: Ignore generated .oaf files svn path=/trunk/; revision=8237
* Rewrite explanatory comments to use normal regexps rather than procmailDan Winship2001-02-152-52/+68
| | | | | | | | | | | * mail-mlist-magic.c: Rewrite explanatory comments to use normal regexps rather than procmail weirdness. (check_sender): match "foo-owner" as well as "owner-foo". (check_list_post): (New) Check for "List-Post: <mailto:..." (mail_mlist_magic_detect_list): Iterate through an array of function pointers rather than calling each checker explicitly. svn path=/trunk/; revision=8236
* Connect to the "create_folder" signal on the storage.Dan Winship2001-02-152-0/+60
| | | | | | | | * component-factory.c (add_storage): Connect to the "create_folder" signal on the storage. (storage_create_folder): Do folder creation. svn path=/trunk/; revision=8232
* Setup the Trash folder.Jeffrey Stedfast2001-02-155-43/+261
| | | | | | | | | | | | | | | | | | | 2001-02-14 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Setup the Trash folder. * mail-ops.c (create_trash_vfolder): Do better error handling. (populate_folder_urls): Oops, helps to strdup the url into the array if we plan on freeing the data. (mail_get_trash): New async function that may eventually replace mail_do_setup_trash(). (do_setup_trash): Do better error handling. * mail-local.c (mail_local_store_class_init): Override get_folder_info. (get_folder_info): Implement. svn path=/trunk/; revision=8228
* Fix some uninitialized variables.Christopher James Lahey2001-02-142-4/+10
| | | | | | | | | 2001-02-13 Christopher James Lahey <clahey@ximian.com> * mail-local.c (do_reconfigure_folder): Fix some uninitialized variables. svn path=/trunk/; revision=8206
* if doing a full update, save the cursor pos and restore it afterwards.Not Zed2001-02-133-5/+64
| | | | | | | | | | | | | | | 2001-02-12 Not Zed <NotZed@Ximian.com> * message-list.c (build_tree): if doing a full update, save the cursor pos and restore it afterwards. (on_cursor_activated_cmd): Copy the current_uid to a new string. I dont know why this is required, but it is. (message_list_destroy): Free the cursor_uid as we're done with it. (build_flat): IF the current uid disappeared from the list, then unset the message. (build_tree): Likewise. svn path=/trunk/; revision=8199
* Clean out the cruft in the Accounts section before writing the currentJeffrey Stedfast2001-02-132-0/+5
| | | | | | | | | | 2001-02-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write): Clean out the cruft in the Accounts section before writing the current accounts out to the config file. svn path=/trunk/; revision=8196
* Strip the leading "/" from the Namespace/Path entry if the providerJeffrey Stedfast2001-02-132-1/+38
| | | | | | | | | | 2001-02-12 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Strip the leading "/" from the Namespace/Path entry if the provider doesn't require absolute pathnames. svn path=/trunk/; revision=8194
* xml-i18n-tools setup. Mark strings for translation.Kjartan Maraas2001-02-133-14/+23
| | | | | | | | | 2001-02-12 Kjartan Maraas <kmaraas@gnome.org> * Makefile.am: xml-i18n-tools setup. * GNOME_Evolution_Mail.oaf.in: Mark strings for translation. svn path=/trunk/; revision=8187
* Re-add non-static forward_messages. mail-view.c needs it.Dan Winship2001-02-123-1/+7
| | | | | | | * mail-callbacks.[ch]: Re-add non-static forward_messages. mail-view.c needs it. svn path=/trunk/; revision=8175
* ackJeffrey Stedfast2001-02-111-0/+1
| | | | svn path=/trunk/; revision=8173
* Don't leak memory. (forward_messages): change doinline to be a gbooleanJeffrey Stedfast2001-02-114-11/+19
| | | | | | | | | 2001-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_inlined): Don't leak memory. (forward_messages): change doinline to be a gboolean argument. svn path=/trunk/; revision=8172
* Check the full list of IDs instead of just the default id and if we findJeffrey Stedfast2001-02-112-19/+96
| | | | | | | | | | | | | | | 2001-02-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (list_add_addresses): Check the full list of IDs instead of just the default id and if we find an address matching one of the user's ids, then save it. (mail_generate_reply): Try to guess which account to use based upon the list of To and Cc addresses and pass that as the 'From' address to e_msg_composer_set_headers(). (forward_get_composer): Updated to reflect changes to e-msg-composer. svn path=/trunk/; revision=8166
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-116-126/+7
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* Updates for CamelStore changes, small memory leak fixes. (lookup_folder):Dan Winship2001-02-1012-566/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-local.c: Updates for CamelStore changes, small memory leak fixes. (lookup_folder): Removed (and moved into the reconfigure code) since this method no longer exists in CamelStore. (do_reconfigure_folder, etc): Update the info in the MailLocalStore after reconfiguring. (mail_local_lookup_folder): Removed * local-config.glade: fix padding of the label_format * message-list.c (ml_tree_value_at): Don't keep message infos reffed across calls, since this can cause badness after a reconfigure. Instead, just strdup the needed values and free those on the next call. * mail-tools.c (mail_tool_get_root_of_store): Unused, remove. (mail_tool_get_inbox): use camel_store_get_inbox. * evolution-outlook-importer.c (load_file_fn): * evolution-mbox-importer.c (load_file_fn): Use mail_tool_get_local_inbox() instead of mail_importer_get_folder() * mail-importer.c (mail_importer_get_folder): Removed svn path=/trunk/; revision=8147
* New location for this function.Jeffrey Stedfast2001-02-094-148/+148
| | | | | | | | | | | | | | | | | | 2001-02-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): New location for this function. * mail-format.c: Removed mail_generate_reply as it's ONLY ever used in mail-callbacks.c. * mail-ops.c (fetch_mail_fetch): Reworked some keep-mail-on-server logic so that we ALWAYS look for a cached array of UIDs that we may have downloaded previously so as not to download them again even if we will be deleting them off the server. This fixes bug #1344. svn path=/trunk/; revision=8137
* Reworked some keep-mail-on-server logic so that we ALWAYS look for aJeffrey Stedfast2001-02-093-28/+38
| | | | | | | | | | | | 2001-02-08 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (fetch_mail_fetch): Reworked some keep-mail-on-server logic so that we ALWAYS look for a cached array of UIDs that we may have downloaded previously so as not to download them again even if we will be deleting them off the server. This fixes bug #1344. svn path=/trunk/; revision=8135
* only free driver, if set. (fetch_mail_fetched): Unref the driver here, soNot Zed2001-02-095-89/+239
| | | | | | | | | | | | | | | | | | | | 2001-02-09 Not Zed <NotZed@Ximian.com> * mail-ops.c (filter_folder_free): only free driver, if set. (fetch_mail_fetched): Unref the driver here, so it can cleanup before we call the 'done' callback. * component-factory.c (owner_set_cb): Add setup for mail autoreceive stuff. * mail-send-recv.c (free_info_data): Free the send info's from teh active hash, not the running list. (receive_done): As we finish downloads, remove them and clean them up, and also close the window. (mail_autoreceive_setup): New function to setup & maintain automatic download stuff. svn path=/trunk/; revision=8134
* Set the sensitivity of the spin button based on the state of the checkbox.Jeffrey Stedfast2001-02-092-0/+5
| | | | | | | | | 2001-02-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (construct): Set the sensitivity of the spin button based on the state of the checkbox. svn path=/trunk/; revision=8130
* more reasonable default for the auto-check minutes spin boxJeffrey Stedfast2001-02-091-1/+1
| | | | svn path=/trunk/; revision=8129
* Properly do defaults here. (mail_config_write): Removed some of theJeffrey Stedfast2001-02-092-40/+58
| | | | | | | | | | | 2001-02-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Properly do defaults here. (mail_config_write): Removed some of the settings being saved here. (mail_config_write_on_exit): Save those settings here instead. svn path=/trunk/; revision=8128
* Cast the CamelMedium to a CamelMimePart before performing actions on it asJeffrey Stedfast2001-02-098-1/+139
| | | | | | | | | | | | | | | | | | | 2001-02-08 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_object_requested): Cast the CamelMedium to a CamelMimePart before performing actions on it as if it were a CamelMimePart. * mail-config-druid.c (druid_finish): Save the auto-check settings. (construct): Initialize auto-check widgets. (mail_config_druid_get_auto_check): New function (mail_config_druid_get_auto_check_minutes): New functions * mail-config.c (config_read): Read in whether or not to check every x minutes. (mail_config_write): Save auto-check config data and SSL. svn path=/trunk/; revision=8126
* Use "contains" because the subject might be broken into subparts and usingJeffrey Stedfast2001-02-082-1/+7
| | | | | | | | | | 2001-02-07 Jeffrey Stedfast <fejj@ximian.com> * mail-autofilter.c (rule_add_subject): Use "contains" because the subject might be broken into subparts and using the "is" rule will then fail ;-) svn path=/trunk/; revision=8101
* Init active_downloads hash if it hasn't been yet.Not Zed2001-02-082-0/+11
| | | | | | | | | 2001-02-08 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_send_receive): (mail_receive_uri): Init active_downloads hash if it hasn't been yet. svn path=/trunk/; revision=8098
* Handle internal camel status return. (receive_done): Remove activeNot Zed2001-02-087-58/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-07 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (operation_status): Handle internal camel status return. (receive_done): Remove active download when done. (mail_receive_uri): Initiate download of a single source, with no gui. (build_dialogue): Mark any new items as real active downloads. (do_show_status): Make the progress bar optional. 2001-02-06 Not Zed <NotZed@Ximian.com> * mail-send-recv.c: camel_cancel->camel_operation. * mail-ops.old.c: camel_cancel->camel_operation. * mail-ops.c: camel_cancel->camel_operation. * mail-mt.c: camel_cancel->camel_operation. * mail-callbacks.c (stop_threads): camel_cancel->camel_operation. * mail-mt.h: CamelCancel->CamelOperation. svn path=/trunk/; revision=8096
* Check current_message for NULL - this fixes a bug running under SunOS (notJeffrey Stedfast2001-02-082-1/+7
| | | | | | | | | | 2001-02-07 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (set_view_data): Check current_message for NULL - this fixes a bug running under SunOS (not a major deal tho as it's in a debug printf). svn path=/trunk/; revision=8093
* Oops, save the seen_timeout variable.Jeffrey Stedfast2001-02-072-0/+11
| | | | | | | | | 2001-02-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Oops, save the seen_timeout variable. svn path=/trunk/; revision=8046
* Added libmenus.la.Christopher James Lahey2001-02-075-2/+69
| | | | | | | | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * Makefile.am (evolution_mail_LDADD): Added libmenus.la. * folder-browser-factory.c (control_activate): Added GalView menus here. * message-list.c, message-list.h (message_list_get_layout): Made message_list_get_layout export. svn path=/trunk/; revision=8041
* Change how the attachments are displayed.Iain Holmes2001-02-073-5/+92
| | | | | | Fix a minor memory leak in message-list.c svn path=/trunk/; revision=8039
* Updated to checkfor "(none)".Jeffrey Stedfast2001-02-073-5/+68
| | | | | | | | | | | | | | | | | 2001-02-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (set_defaults): Updated to checkfor "(none)". * mail-account-editor.c (entry_changed): Make sure the email address is valid. * mail-config-druid.c (identity_check): Check to make sure we have a valid email address. (is_email): New function to check a string to see if it's a valid email address. svn path=/trunk/; revision=8034
* added mail-send-recv.hJeffrey Stedfast2001-02-071-0/+1
| | | | svn path=/trunk/; revision=8030
* We are now going to use a file descriptor and a CamelMimeParser ratherJeffrey Stedfast2001-02-062-123/+110
| | | | | | | | | | | | | | | | | 2001-02-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-importer.c: We are now going to use a file descriptor and a CamelMimeParser rather than a FILE pointer. (load_file_fn): Open the file descriptor and initialize the CamelMimeParser. (importer_destroy_cb): Unref the mime parser. (support_format_fn): Use an fd and use a case-insensitive comparison as well as elimate a buffer overrun. (process_item_fn): Process 1 CamelMimeMessage per invocation so as to not lock up Iain's GUI and to work similar to the way Iain originally coded it. svn path=/trunk/; revision=8006
* oops, forgot to add this fileJeffrey Stedfast2001-02-061-0/+39
| | | | svn path=/trunk/; revision=8004
* Moved bonobo includes from the .c to the .h. IncludeChristopher James Lahey2001-02-0610-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@ximian.com> * evolution-mbox-importer.c, evolution-mbox-importer.h: Moved bonobo includes from the .c to the .h. Include evolution-mbox-importer.h in evolution-mbox-importer.c. * evolution-outlook-importer.c, evolution-outlook-importer.h: Moved bonobo includes from the .c to the .h. Include evolution-outlook-importer.h in evolution-outlook-importer.c. * mail-callbacks.c: Include mail-send-recv.h. * mail-local.c (mail_local_lookup_folder): Cast local_store to CAMEL_STORE. * mail-mt.c (mail_msg_cleanup): Make this function static. * mail-send-recv.c, mail-send-recv.h: Created mail_send_recv.h. Included it in mail-send-recv.c. Added a #include <libgnomeui/gnome-window-icon.h>. (mail_send_receive): Added a cast. * mail-summary.c (new_folder_cb, removed_folder_cb, create_summary_view): Cast the source func in calling g_idle_add. svn path=/trunk/; revision=8002
* fixed up the display a bitJeffrey Stedfast2001-02-061-3/+5
| | | | svn path=/trunk/; revision=8001
* New function to handle inline pgp-signatures.Jeffrey Stedfast2001-02-062-8/+58
| | | | | | | | | 2001-02-05 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (try_inline_pgp_sig): New function to handle inline pgp-signatures. svn path=/trunk/; revision=7996
* Keep track of the CheckSettings check boxes. (transport_next): Connect ifJeffrey Stedfast2001-02-065-43/+57
| | | | | | | | | | | | 2001-02-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (construct): Keep track of the CheckSettings check boxes. (transport_next): Connect if the user says so. (incoming_next): Same. Also, don't jump to the next page if test-settings fails. svn path=/trunk/; revision=7984
* Updated to not connect when getting a list of authtypes. (transport_next):Jeffrey Stedfast2001-02-065-15/+50
| | | | | | | | | | | | | | | | | | | | | 2001-02-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (incoming_next): Updated to not connect when getting a list of authtypes. (transport_next): No longer connects - again, this is useless. Read the apply_changes argument for the reason why. * mail-account-editor.c (apply_changes): Updated. Set the 'connect' argument to FALSE for now, this basically means that the call is worthless tho so it may be best to either get rid of the checks altogether or else make it connect. (source_auth_init): Don't connect here, it's just plain annoying. (transport_construct_authmenu): Same here. * mail-config.c (mail_config_check_service): Now takes a connect argument. svn path=/trunk/; revision=7981
* Fix dodgy libxml allocation pollution, and potential faults on NULLMichael Meeks2001-02-042-3/+15
| | | | | | | | | 2001-02-03 Michael Meeks <michael@helixcode.com> * mail-local.c (load_metainfo): Fix dodgy libxml allocation pollution, and potential faults on NULL attributes. svn path=/trunk/; revision=7949
* Cleaned up so we dont add an unecessary level of indenting.Not Zed2001-02-023-65/+115
| | | | | | | | | | | | | | | | | | 2001-02-02 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_send_receive): Cleaned up so we dont add an unecessary level of indenting. * message-list.c (ml_tree_value_at): For collapsed tree nodes, scan the collapses nodes for the unread and status information. Since we dont really have fake nodes anymore. 2001-01-30 Ian Campbell <ijc25@cam.ac.uk> * message-list.c: Add support for new icons for being read/unread for fake root messages on threads. svn path=/trunk/; revision=7942
* Fix bug in autodetected mboxesIain Holmes2001-01-313-44/+65
| | | | | | Only allow one send and recv dialog at once. svn path=/trunk/; revision=7917
* Fix typo.Kjartan Maraas2001-01-302-1/+5
| | | | | | | | 2001-01-30 Kjartan Maraas <kmaraas@gnome.org> * folder-browser.c: Fix typo. svn path=/trunk/; revision=7913
* Cast the camel_stream_mem_new() to a CamelStreamMem.Jeffrey Stedfast2001-01-303-2/+7
| | | | | | | | | 2001-01-29 Jeffrey Stedfast <fejj@helixcode.com> * mail-importer.c (mail_importer_add_line): Cast the camel_stream_mem_new() to a CamelStreamMem. svn path=/trunk/; revision=7905
* Return efence ifdefs to 0 for solaris buildJP Rosevear2001-01-302-2/+6
| | | | | | | | 2001-01-29 JP Rosevear <jpr@ximian.com> * main.c: Return efence ifdefs to 0 for solaris build svn path=/trunk/; revision=7895
* (build_tree): Oops, turn on BROKEN_ETREE again.Michael Zucci2001-01-292-3/+6
| | | | svn path=/trunk/; revision=7888
* Debug function to compare the tree we think we have, after an incrementalNot Zed2001-01-297-25/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-29 Not Zed <NotZed@Ximian.com> * message-list.c (tree_equal): Debug function to compare the tree we think we have, after an incremental update. (build_tree): Check the tree after we've built it. * mail-mt.c (mail_get_password): If we are being called from the main gui thread, then just call the dialogue directly. Ideally we dont want this anyway but lets handle the case nicely. (mail_get_password): Try locking around the password request, to single-queue any password requests. (mail_msg_init): Push an exit handler to clean it up on completion. * mail-send-recv.c (receive_update_got_store): New function called when the store has been retrieved asynchronously. (mail_send_receive): Get the store asynchronously. This was causing problems where the password dialogue would try and be called from the main thread via a message. * mail-ops.c (mail_get_store): New function to get a store (a)synchronously. More or less taken from subscribe-dialog, which i will remove later. (mail_scan_subfolders): Try running the scan subfolder thing asynchronously, to help startup time. Not sure if this will work, but presumably the shell can handle the folders appearing later ok. svn path=/trunk/; revision=7886
* Turns out that I was wrong about the g_get_real_name mem leak, god damnJeffrey Stedfast2001-01-292-3/+7
| | | | | | | | | | 2001-01-28 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (set_defaults): Turns out that I was wrong about the g_get_real_name mem leak, god damn glib for not following the const char* standard. svn path=/trunk/; revision=7882
* Use UTF-8. (set_defaults): Use UTF-8 and also fixed a memory leak byJeffrey Stedfast2001-01-293-20/+41
| | | | | | | | | | | | | | | | | | | 2001-01-28 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (management_prepare): Use UTF-8. (set_defaults): Use UTF-8 and also fixed a memory leak by freeing the string returned by g_get_real_name(). (mail_config_druid_get_account_name): Use UTF-8. (mail_config_druid_get_full_name): Same. (mail_config_druid_get_email_address): Same. (mail_config_druid_get_organization): Same. * mail-account-editor.c (apply_changes): Save UTF-8 strings rather than gtk strings. (construct): Use the UTF-8 convenience functions to set the gtk entries for the ID fields. svn path=/trunk/; revision=7881
* Update copyrights.Ettore Perazzoli2001-01-282-2/+2
| | | | svn path=/trunk/; revision=7879
* Make the advanced search dialog use stock buttons. Make the OK buttonEttore Perazzoli2001-01-283-1/+17
| | | | | | the default button in the advanced search and vfolder dialogs. svn path=/trunk/; revision=7878
* Make the vfolder and "advanced search" dialogs a bit larger for betterEttore Perazzoli2001-01-283-0/+10
| | | | | | usability. svn path=/trunk/; revision=7871
* Changed to use mail_save_part to save the data in another thread.Not Zed2001-01-284-57/+135
| | | | | | | | | | | | | | 2001-01-28 Not Zed <NotZed@Ximian.com> * mail-display.c (write_data_to_file): Changed to use mail_save_part to save the data in another thread. (save_data_cb): Hide the fileselector once we have a button press, and are saving stuff. * mail-ops.c (mail_save_part): New function to save a part content asynchronously. svn path=/trunk/; revision=7867
* Don't handle home and end keys since %ETable deals with them now.Christopher James Lahey2001-01-282-10/+5
| | | | | | | | | 2001-01-27 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c (etable_key): Don't handle home and end keys since %ETable deals with them now. svn path=/trunk/; revision=7865
* Protect against NULL address pointers. (subject_compare): Same but forJeffrey Stedfast2001-01-282-0/+12
| | | | | | | | | | 2001-01-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (address_compare): Protect against NULL address pointers. (subject_compare): Same but for subject pointers. svn path=/trunk/; revision=7863
* warnings go byebyeIain Holmes2001-01-272-3/+11
| | | | svn path=/trunk/; revision=7856
* Try a control before an embeddable instead of an embeddable before aEttore Perazzoli2001-01-272-15/+25
| | | | | | control when embedding something in the mail display. svn path=/trunk/; revision=7845
* Check for a NULL service->url as we obviously can't subscribe to foldersJeffrey Stedfast2001-01-273-21/+46
| | | | | | | | | | | | | 2001-01-26 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (populate_store_foreach): Check for a NULL service->url as we obviously can't subscribe to folders on a non-existant mail source :-) (subscribe_do_get_store): Check for a NULL url here too, not that we should need it anymore (due to the above fix) but it doesn't hurt. Also, should we wait on the thread? Probably doesn't matter. svn path=/trunk/; revision=7844
* Fix some compile problems and stop the blank mail appearing with the mboxIain Holmes2001-01-274-8/+53
| | | | | | importer svn path=/trunk/; revision=7843
* Fix an uninitialized variable use.Dan Winship2001-01-272-4/+8
| | | | | | | * mail-identify.c (mail_identify_mime_part): Fix an uninitialized variable use. svn path=/trunk/; revision=7838
* (Fixing an old FIXME)Jason Leach2001-01-262-12/+10
| | | | | | | | | | | | 2001-01-26 Jason Leach <jasonleach@usa.net> (Fixing an old FIXME) * component-factory.c (create_vfolder_storage): removing create_vfolder_storage, replacing call to it with vfolder_create_storage. svn path=/trunk/; revision=7837
* Define BROKEN_ETREE again, till we get this stuff fixed better.Not Zed2001-01-263-9/+24
| | | | | | | | | | | | | | | | | | | 2001-01-26 Not Zed <NotZed@Ximian.com> * message-list.c (build_tree): Define BROKEN_ETREE again, till we get this stuff fixed better. 2001-01-25 Not Zed <NotZed@Ximian.com> * folder-browser.c: Moved teh "sender contains" item to the end of the list, so the gui doesn't suddenly change on everyone. Fixed the sender-contains search string to be a valid s-exp (ha, didn't test it even once eh ettore?!) (search_save): Dont have the sender contains as the default case (which well, never gets called anyway), oops i guess i should've reviewed the patch a little more. svn path=/trunk/; revision=7835
* Fix the "sender contain" quicksearch rule by adding a missingEttore Perazzoli2001-01-262-3/+9
| | | | | | | parenthesis; also make it the last item on the OptionMenu instead of the first one. svn path=/trunk/; revision=7834
* Yes, some more screw ups...Iain Holmes2001-01-262-16/+7
| | | | | | This cvs thing, I don't get it, I wrap my hand in plastic to try to look through it. svn path=/trunk/; revision=7833
* Yes, I screwed up.Iain Holmes2001-01-261-2/+1
| | | | svn path=/trunk/; revision=7832
* GNOME_Evolution_Mail.oafinfoIain Holmes2001-01-266-10/+72
| | | | svn path=/trunk/; revision=7831
* ForgotIain Holmes2001-01-261-1/+21
| | | | svn path=/trunk/; revision=7829
* Neater importer stuff.Iain Holmes2001-01-2610-87/+578
| | | | svn path=/trunk/; revision=7828
* The following fixes seem to clear up the problem of new mail not beingJeffrey Stedfast2001-01-262-1/+17
| | | | | | | | | | | | | | | 2001-01-25 Jeffrey Stedfast <fejj@ximian.com> The following fixes seem to clear up the problem of new mail not being shown in the Inbox and/or other folders where mail had been delivered. * mail-send-recv.c (build_dialogue): Freeze the inbox. (receive_get_folder): Freeze folders before dumping them into the hash table. (free_folder_info): Thaw the folder. (free_info_data): Thaw the Inbox. svn path=/trunk/; revision=7824
* (Don't prompt about unsaved changes for replies/forwards that have notJason Leach2001-01-262-3/+16
| | | | | | | | | | | | | | 2001-01-25 Jason Leach <jasonleach@usa.net> (Don't prompt about unsaved changes for replies/forwards that have not actually been modified) * mail-callbacks.c (do_forward_inline): Unset the has_changed for the message composer. (do_forward_attach): Same here. (mail_reply): And here. svn path=/trunk/; revision=7819
* Check if a message part's content is available, and if it's not, queue aDan Winship2001-01-266-70/+167
| | | | | | | | | | | | | | | | | | | | | | | | * mail-format.c (mail_content_loaded): Check if a message part's content is available, and if it's not, queue a thread that will load it and then queue an idle-handler redisplay of the message. (call_handler_function): Call mail_content_loaded() on the part and don't try to display it if it's currently offline. (get_data_wrapper_text): Simplify a bit * mail-display.c (mail_display_queue_redisplay): rename and make non-static. (mail_display_redisplay): Use a "new and improved" way of preserving the GtkHTML scroll location. ("new and improved" is code for "gross and hackish", but there should be a real interface for this eventually.) (on_url_requested): Use mail_content_loaded() and don't write out offline cid: URLs * mail-identify.c (mail_identify_mime_part): Use mail_content_loaded and don't try to identify the data if it's offline. svn path=/trunk/; revision=7813
* Made the message list pay attention to the "cursor_activated" signalChristopher James Lahey2001-01-262-6/+11
| | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Made the message list pay attention to the "cursor_activated" signal instead of the "cursor_change" signal. svn path=/trunk/; revision=7812
* More happy icons for the mailer.Ettore Perazzoli2001-01-252-1/+23
| | | | svn path=/trunk/; revision=7807
* Get the mailer to use the new menu icons.Ettore Perazzoli2001-01-252-8/+19
| | | | svn path=/trunk/; revision=7805
* Fix the subject match expression, which was missing a closing ).Not Zed2001-01-253-7/+23
| | | | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * folder-browser.c (search_string[]): Fix the subject match expression, which was missing a closing ). * mail-send-recv.c (do_show_status): Escape any % signs in the string before setting the format string. svn path=/trunk/; revision=7797
* Added a 3rd page to the account editor to allow users to set their HTMLJeffrey Stedfast2001-01-255-0/+151
| | | | | | | | | | | | | 2001-01-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Added a 3rd page to the account editor to allow users to set their HTML sending preference and also allow them to change their message status timeout. * mail-accounts.c (construct): Added handlers for the send-html checkbox and for the mark-message-as timeout spinbutton. svn path=/trunk/; revision=7789
* Save the source and transport changes whether the user can connect to theJeffrey Stedfast2001-01-242-19/+15
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): Save the source and transport changes whether the user can connect to the host or not. svn path=/trunk/; revision=7772
* Patch from Tuomas to have a "Sender contains" rule in the quicksearchEttore Perazzoli2001-01-242-0/+25
| | | | | | bar. svn path=/trunk/; revision=7764
* Fix spelling.Dan Winship2001-01-244-3/+8
| | | | | | | * folder-browser-factory.c: * mail-callbacks.c (send_receive_mail): Fix spelling. svn path=/trunk/; revision=7760
* Set the default folder when copying to mbox. This is a quick fix, i mightNot Zed2001-01-242-5/+14
| | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * mail-ops.c (fetch_mail_fetch): Set the default folder when copying to mbox. This is a quick fix, i might need to do a slight redesign to clean it up. svn path=/trunk/; revision=7759
* Make sure the source->url is not NULL (which is perfectly valid).Jeffrey Stedfast2001-01-242-1/+9
| | | | | | | | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Make sure the source->url is not NULL (which is perfectly valid). (mail_send_receive): Where oh where should my prototype be? (receive_get_folder): Make sure to ref the folder before you add it to the hash table. * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7757
* Make sure the source->url is not NULL (which is perfectly valid).Jeffrey Stedfast2001-01-242-1/+30
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Make sure the source->url is not NULL (which is perfectly valid). svn path=/trunk/; revision=7756
* A few minor tweaks.Jeffrey Stedfast2001-01-243-14/+24
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7755
* Try turning off the BROKEN_ETREE thing. It seems to work ok (better?) now,Not Zed2001-01-232-3/+9
| | | | | | | | | | 2001-01-23 Not Zed <NotZed@Ximian.com> * message-list.c (build_tree): Try turning off the BROKEN_ETREE thing. It seems to work ok (better?) now, but if its still broken i'll remove it again for the next release. svn path=/trunk/; revision=7740
* Automagically fill in the user's default transport if he/she has setupJeffrey Stedfast2001-01-232-0/+32
| | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (set_defaults): Automagically fill in the user's default transport if he/she has setup previous accounts. svn path=/trunk/; revision=7736
* Just wrote a temp way of reporting success/fail of PGP/MIME signatureJeffrey Stedfast2001-01-232-8/+18
| | | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Just wrote a temp way of reporting success/fail of PGP/MIME signature verification status. svn path=/trunk/; revision=7735
* Add the Outlook importer.Iain Holmes2001-01-234-0/+367
| | | | svn path=/trunk/; revision=7731
* make mail_gui_thread non-static.Dan Winship2001-01-234-4/+41
| | | | | | | | | | | * mail-mt.[ch]: make mail_gui_thread non-static. * main.c (main): Set up signal handler for SEGV, BUS, FPE (segv_redirect): if a gnome-segv'ing signal is received in a thread other than mail_gui_thread, re-deliver it to that thread to work around a problem with the gnome segv handler. svn path=/trunk/; revision=7728
* Fixed to display subparts (other than the signature part) and started toJeffrey Stedfast2001-01-232-7/+47
| | | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Fixed to display subparts (other than the signature part) and started to write a pretty way to show if the signature verified or not. svn path=/trunk/; revision=7724
* Fix a double-free problem.Not Zed2001-01-232-19/+16
| | | | | | | | 2001-01-23 Not Zed <NotZed@Ximian.com> * mail-crypto.c (pgp_mime_part_verify): Fix a double-free problem. svn path=/trunk/; revision=7722
* Oops, danw didn't know 'provider' could be NULL :-)Jeffrey Stedfast2001-01-232-2/+7
| | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (incoming_type_changed): Oops, danw didn't know 'provider' could be NULL :-) svn path=/trunk/; revision=7721
* Change "Path:" label to "Namespace:" for IMAP. Use $MAILDIR rather thanDan Winship2001-01-232-2/+20
| | | | | | | | * mail-config-druid.c (incoming_type_changed): Change "Path:" label to "Namespace:" for IMAP. Use $MAILDIR rather than $MAIL for Maildir. If $MAIL isn't set, guess. svn path=/trunk/; revision=7714
* Function to add a store/storage mapping. (add_storage): Use it.Dan Winship2001-01-234-4/+32
| | | | | | | | | | | | | | | | | | | * component-factory.c (mail_hash_storage): Function to add a store/storage mapping. (add_storage): Use it. * mail-vfolder.c (vfolder_uri_to_folder): Use the vfolder name rather than the string "mbox" (which wasn't ever used for anything) in the vfolder URL. (Combined with the CamelVeeFolder change, this makes camel_folder_get_name() return a pretty name for vfolders now.) Call mail_hash_storage() to record the CamelVeeStore/vfolder_storage mapping. (Ideally, there'd only be a single CamelVeeStore... this is just a quick hack.) vfolders now display their unread count once you've looked at them once. svn path=/trunk/; revision=7712
* s/filter-driver.h/camel-filter-driver.h/ and update first arg ofDan Winship2001-01-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | * mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and update first arg of mail_too_filter_get_folder_func * mail-tools.c (mail_tool_filter_get_folder_func): Update first arg to CamelFilterDriver * * mail-send-recv.c (receive_status): * mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/ * mail-callbacks.c: Remove filter-driver.h include * mail-accounts.c: Put the news functions inside #ifdef ENABLE_NNTP to prevent warnings about unused statis functions. * subscribe-dialog.c (subscribe_folders, unsubscribe_folders, subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB. (populate_store_list): add a de-constifying cast svn path=/trunk/; revision=7711
* s/filter-driver.h/camel-filter-driver.h/ and update first arg ofDan Winship2001-01-237-14/+14
| | | | | | | | | | | | | | | | | | | | | | * mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and update first arg of mail_too_filter_get_folder_func * mail-tools.c (mail_tool_filter_get_folder_func): Update first arg to CamelFilterDriver * * mail-send-recv.c (receive_status): * mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/ * mail-callbacks.c: Remove filter-driver.h include * mail-accounts.c: Put the news functions inside #ifdef ENABLE_NNTP to prevent warnings about unused statis functions. * subscribe-dialog.c (subscribe_folders, unsubscribe_folders, subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB. (populate_store_list): add a de-constifying cast svn path=/trunk/; revision=7708
* Added temp profiling files.Not Zed2001-01-222-1/+7
| | | | | | | | 2001-01-22 Not Zed <NotZed@Ximian.com> * .cvsignore: Added temp profiling files. svn path=/trunk/; revision=7706
* remove a warning with conditional news compilation.Not Zed2001-01-2211-1497/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-22 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_set_cb): remove a warning with conditional news compilation. * mail-ops.h: Cleaned up the header list. * folder-browser-factory.c: Replace the old get_send mail with the new one (button). * mail-ops.c (set_x_mailer): (mail_load_evolution_rule_context): (mail_do_fetch_mail): (mail_do_filter_ondemand): (mail_send_mail_old): (mail_do_send_queue): All removed, (for) now lives in mail-send-recv.c. (load_context): (setup_filter_driver): (filter_get_folder): (mail_filter_folder): (mail_fetch_mail): (mail_update_subfolders): (mail_send_mail): (mail_send_queue): New equivalents of all these fundtions, moved from mail-send-recv.c ... (mail_filter_on_demand): Moved here too. (mail_load_filter_context): Export this. * mail-callbacks.c (apply_filters): Use the new mail_filter_on_demand() call. (send_receieve_mail): Use mail_send_receive to do the work. Add a little error handling here that used to be elsewhere. (send_queued_mail): Removed. (fetch_mail): Removed. (select_first_unread): #ifdef'd this out. Not sure if this still makes sense, but it doesn't get run right now anyway. (composer_postpone_cb): Fix the setting of message flags. You dont need to get them first, ever. * mail-send-recv.c (mail_send_message): Dont use mail_tool_send_via_transport anymore (it does nothing useful). * mail-tools.c (mail_tool_camel_lock_up): Turned into a noop. (mail_tool_camel_lock_down): And here too. (mail_tool_move_folder_contents): Removed from the code (hasn't bene used for ages). (mail_tool_send_via_transport): Removed, it doesn't save anything. svn path=/trunk/; revision=7702
* Helps if I spell stuff correctly so it can pass the tests ;-)Jeffrey Stedfast2001-01-223-4/+10
| | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_is_rfc2015_signed): Helps if I spell stuff correctly so it can pass the tests ;-) svn path=/trunk/; revision=7697
* Initialize OpenPGP.Jeffrey Stedfast2001-01-224-20/+25
| | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Initialize OpenPGP. * openpgp-utils.c (openpgp_init): No longer takes a passphrase callback, we'll just use the mail-session one. Makes life simpler. (pgp_get_passphrase): Use mail_session_request_dialog(). svn path=/trunk/; revision=7694
* Remove the X-Evolution header before we send.Jeffrey Stedfast2001-01-222-3/+9
| | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_send_queue): Remove the X-Evolution header before we send. svn path=/trunk/; revision=7689
* Don't forget to unref the filters. (pgp_mime_part_verify): Same.Jeffrey Stedfast2001-01-222-27/+32
| | | | | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign): Don't forget to unref the filters. (pgp_mime_part_verify): Same. (pgp_mime_part_encrypt): Same. (pgp_mime_part_decrypt): Take NotZed's advice and use camel_stream_mem_new_with_buffer instead of writing to a new stream_mem. Also use camel_data_wrapper_construct_from_stream instead of creating a parser and using that. svn path=/trunk/; revision=7687
* Updated header comment and fixed some ref/unref count problems in theJeffrey Stedfast2001-01-212-6/+12
| | | | | | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c: Updated header comment and fixed some ref/unref count problems in the various functions. Also fixed some other little things. (pgp_mime_part_encrypt): Do some canonical CRLF action before encrypting. (pgp_mime_part_sign): Make sure we are the owners of the byte array. (pgp_mime_part_verify): Same. (pgp_mime_part_encrypt): Same. (pgp_mime_part_decrypt): Same. svn path=/trunk/; revision=7682
* Updated header comment and fixed some ref/unref count problems in theJeffrey Stedfast2001-01-212-25/+33
| | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c: Updated header comment and fixed some ref/unref count problems in the various functions. Also fixed some other little things. (pgp_mime_part_encrypt): Do some canonical CRLF action before encrypting. svn path=/trunk/; revision=7680
* Added draw-focus="true" and selection-mode="browse" attributes to theChristopher James Lahey2001-01-212-4/+9
| | | | | | | | | | | | 2001-01-21 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_get_layout): Added draw-focus="true" and selection-mode="browse" attributes to the ETableSpecification. (message_list_construct): Removed setting the "draw_focus" argument since it doesn't exist any more. svn path=/trunk/; revision=7674
* Init a cancel field in the message. (mail_msg_free): Free it.Not Zed2001-01-216-113/+722
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-21 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_new): Init a cancel field in the message. (mail_msg_free): Free it. (mail_msg_cancel): New function to attempt to cancel an operation by id. Impelementation functions can still be uncancellable by not registering for cancellation, etc, or do it themselves as well. * mail-send-recv.c (fetch_mail_filter_folder): set folder_uid's properly, so we can save it later. (filter_folder_filter): Renamed from fetch_mail_filter_folder, since its going to be used for all filtering. (mail_fetch_mail): Changed from mail_filter_mail. (mail_filter_folder): New function, replaces mail_do_filter_ondemand functionality. (mail_filter_on_demand): New function, actually replaces mail_do_filter_ondemand. (receive_get_folder): Added an exception arg. (mail_send_message): New function to just send a message. (send_mail_send): Use mail_send_message. (send_queue_send): New send qeue code, use mail_send_message, and clean up some stuff. (mail_send_receive): Changed from mail_receive. (build_dialogue): Setup the sending data, as well. (mail_update_subfolders): New function to update folder info. (send_mail_send): hook into cancellation if we want. svn path=/trunk/; revision=7672
* Strip leading space from the transport url gotten from the message.Jeffrey Stedfast2001-01-212-2/+10
| | | | | | | | | 2001-01-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_send_queue): Strip leading space from the transport url gotten from the message. svn path=/trunk/; revision=7670
* If the name is empty string, use the address.Jeffrey Stedfast2001-01-202-1/+7
| | | | | | | | | 2001-01-19 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_generate_reply): If the name is empty string, use the address. svn path=/trunk/; revision=7663
* Update for e_popup_menu_run change.Dan Winship2001-01-203-2/+13
| | | | | | | | | | | * mail-display.c (pixmap_press): Update for e_popup_menu_run change. * folder-browser.c (etable_key): On GDK_Menu (the menu key on 105-key keyboards), pop up the right-click menu. (on_right_click): update for e_popup_menu_run change. svn path=/trunk/; revision=7662
* New function to add a folder and any parents of it that don't yet exist.Dan Winship2001-01-202-6/+34
| | | | | | | | * subscribe-dialog.c (recursive_add_folder): New function to add a folder and any parents of it that don't yet exist. Fixes bugzilla #1028. svn path=/trunk/; revision=7658
* New swanky send/recieve thingy, well it so far only receives (pop/mbox).Not Zed2001-01-194-0/+617
| | | | | | | | | | 2001-01-19 Not Zed <NotZed@Ximian.com> * mail-send-recv.c: New swanky send/recieve thingy, well it so far only receives (pop/mbox). Ignore all the warnings for now, and the ugly 'button' to run it. svn path=/trunk/; revision=7636
* Added the next/previous toolbar buttons.Jeffrey Stedfast2001-01-194-0/+37
| | | | | | | | | | | | | 2001-01-18 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Added the next/previous toolbar buttons. * mail-callbacks.c (next_msg): New callback so we can have a next toolbar button. (previous_msg): Same but for previous. svn path=/trunk/; revision=7630
* Use static libcomposer.a here instead of the libtoolized one.Miguel de Icaza2001-01-181-1/+1
| | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@gnu.org> * Makefile.am (evolution_mail_LDADD): Use static libcomposer.a here instead of the libtoolized one. svn path=/trunk/; revision=7613
* oops, don't xexpand, that makes the dialog too wide.Jeffrey Stedfast2001-01-182-104/+104
| | | | svn path=/trunk/; revision=7607
* backed out Anna's dialog, no one likes it!Jeffrey Stedfast2001-01-182-1190/+1263
| | | | svn path=/trunk/; revision=7606
* get rid of some gtk warnings.Jeffrey Stedfast2001-01-181-6/+10
| | | | | | ugh svn path=/trunk/; revision=7602
* Anna's dialog now supports SSL so we can get rid of the ssl-supportJeffrey Stedfast2001-01-185-1283/+1250
| | | | | | | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Anna's dialog now supports SSL so we can get rid of the ssl-support checks. Also work around the fact that Anna's dialog doesn't have an optionmenu for the transport type, it's a label instead. (transport_type_init): Cast the transport_type widget to a GtkOptionMenu where appropriate as the widget that stores it is now generic. (apply_changes): Modify code to work with anna's dialog...*sigh* (ok_clicked): Alert the user that one or more servers failed to validate and allow him to continue anyway. svn path=/trunk/; revision=7601
* New config function to set the path to the pgp binary.Jeffrey Stedfast2001-01-183-0/+64
| | | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_pgp_path): New config function to set the path to the pgp binary. (mail_config_get_pgp_path): Gee I wonder... (mail_config_set_pgp_type): This one sets the type (ie PGP5, PGP2, or GnuPG - see openpgp-utils.h for values) (mail_config_get_pgp_type): Der. svn path=/trunk/; revision=7596
* Handle NULL source and, while we're at it, transport URLs. ApparentlyJeffrey Stedfast2001-01-184-8/+35
| | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Handle NULL source and, while we're at it, transport URLs. Apparently camel_url_new() and/or camel-url_free() don't handle NULL input well. * mail-accounts.c (load_accounts): Handle NULL source URLs. svn path=/trunk/; revision=7595
* Oops. "url && url->host" doesn't do much without the '?' and ':' ;-)Jeffrey Stedfast2001-01-182-3/+6
| | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Oops. "url && url->host" doesn't do much without the '?' and ':' ;-) svn path=/trunk/; revision=7586
* Replace `--with-x-mailer' with a more generic `--with-sub-version'.Ettore Perazzoli2001-01-182-6/+30
| | | | | | | | | The value you provide is now also displayed in the shell title bar. And while I was at it, I changed the title bar so that it displays the name of the folder first (instead of "Evolution - Inbox" it says "Inbox - Evolution 0.8 [yaddayadda]"). svn path=/trunk/; revision=7585
* Changed the word entry to enter, which is the correct word to use.Martin Norbäck2001-01-172-2/+7
| | | | | | | | | 2001-01-17 Martin Norbäck <d95mback@dtek.chalmers.se> * openpgp-utils.c (pgp_get_passphrase): Changed the word entry to enter, which is the correct word to use. svn path=/trunk/; revision=7569
* Update to use EMessageBox and to record if the user doesn't want to everJeffrey Stedfast2001-01-174-6/+71
| | | | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (ask_confirm_for_empty_subject): Update to use EMessageBox and to record if the user doesn't want to ever see this dialog again. * mail-config.c (mail_config_get_prompt_empty_subject): New config function. (mail_config_set_prompt_empty_subject): Another new one. svn path=/trunk/; revision=7567
* Modify to be able to handle a NULL source_url. (source_auth_init): AllowJeffrey Stedfast2001-01-174-90/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): Modify to be able to handle a NULL source_url. (source_auth_init): Allow for a NULL source url. (source_check): Same. * mail-config.c (mail_config_write): Allow for NULL source URLs. And while we're at it, NULL transport URLs as well. Might as well save the use_ssl variable too. (config_read): Same. * mail-config-druid.c (druid_finish): Modify to allow a NULL source url. (incoming_next): Modify to check for a NULL source and jump to the transport page if one is encountered (this means the user decided not to config a source). (incoming_type_changed): Modify to set all widgets insensitive if the user selected the "None" source menu item (aka NULL provider). (incoming_check): Modify to allow the user to go to the next page when he/she has chosen "None" for their source type. (mail_config_druid_get_source_url): Return NULL if the provider is NULL. (mail_config_druid_get_transport_url): Same. svn path=/trunk/; revision=7561
* Don't do thumbnails for offline imagesDan Winship2001-01-172-5/+13
| | | | | | | * mail-display.c (on_object_requested): Don't do thumbnails for offline images svn path=/trunk/; revision=7558
* If the user hits "No", then don't destroy the filesel window.Jeffrey Stedfast2001-01-173-3/+10
| | | | | | | | | | | | 2001-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (save_msg_ok): If the user hits "No", then don't destroy the filesel window. * mail-ops.c (save_messages_save): Open with mode 0666 as danw suggests. svn path=/trunk/; revision=7553
* only load the news storage if ENABLE_NNTP.Chris Toshok2001-01-173-0/+15
| | | | | | | | | | | | 2001-01-16 Chris Toshok <toshok@helixcode.com> * component-factory.c (owner_set_cb): only load the news storage if ENABLE_NNTP. * mail-accounts.c (construct): if !ENABLE_NNTP, remove the news page from the dialog. svn path=/trunk/; revision=7550
* use e_msg_composer_mark_text_origRadek Doulik2001-01-172-0/+6
| | | | | | | | | 2001-01-16 Radek Doulik <rodo@helixcode.com> * mail-format.c (mail_generate_reply): use e_msg_composer_mark_text_orig svn path=/trunk/; revision=7544
* Update the X-Mailer header to use the string specified by configure.Dan Winship2001-01-172-8/+7
| | | | | | | * mail-ops.c (send_mail_send, do_send_queue): Update the X-Mailer header to use the string specified by configure. svn path=/trunk/; revision=7540
* Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-173-2/+5
| | | | | | | Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home. Bug #1060. svn path=/trunk/; revision=7536
* Fix a string causing translation problems. Bug #1147.Jason Leach2001-01-162-4/+13
| | | | | | | | | 2001-01-16 Jason Leach <jasonleach@usa.net> * openpgp-utils.c (pgp_get_passphrase): Fix a string causing translation problems. Bug #1147. svn path=/trunk/; revision=7534
* Comment about how sensitive doesn't work for bonobo set propMichael Zucci2001-01-161-0/+1
| | | | svn path=/trunk/; revision=7529
* Setup a cancellation handle. (do_fetch_mail): REgister for cancellationNot Zed2001-01-166-15/+43
| | | | | | | | | | | | | | | | | | | | 2001-01-16 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_do_fetch_mail): Setup a cancellation handle. (do_fetch_mail): REgister for cancellation here. (cleanup_fetch_mail): And unregister for cancellation here. (mail_get_message): Add a cancel handle. (get_message_get): Register/deregister for cancel. (get_message_free): & clean up. * mail-mt.c (mail_msg_received): Removed debuggng. * mail-callbacks.c (stop_threads): Callback for stopping. * folder-browser-factory.c: Add a stop button verb thingy. (control_activate): Disable the stop button by default. svn path=/trunk/; revision=7527
* Change from using filters for date and size to using e_cell_date andChristopher James Lahey2001-01-163-16/+20
| | | | | | | | | | 2001-01-15 Christopher James Lahey <clahey@ximian.com> * message-list.c, message-list.h: Change from using filters for date and size to using e_cell_date and e_cell_size. Moved a bunch of includes from the message-list.h to the message-list.c. svn path=/trunk/; revision=7524
* changed the signature of the property_bag get/set functionsDietmar Maurer2001-01-151-0/+1
| | | | svn path=/trunk/; revision=7499
* Set the default button to `Yes' here.Miguel de Icaza2001-01-153-1/+12
| | | | | | | | | 2001-01-15 Miguel de Icaza <miguel@ximian.com> * mail-callbacks.c (configure_mail): Set the default button to `Yes' here. svn path=/trunk/; revision=7498
* If the preferred authmech isn't found, default to the first one in theJeffrey Stedfast2001-01-142-63/+76
| | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (source_auth_init): If the preferred authmech isn't found, default to the first one in the list. (transport_construct_authmenu): This function already did the above but I made it simpler. (apply_changes): A number of cleanups. svn path=/trunk/; revision=7479
* Fixed mail_load_storages to make a mini GSList of the account, not theJeffrey Stedfast2001-01-135-7/+35
| | | | | | | | | | | | | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (druid_finish): Fixed mail_load_storages to make a mini GSList of the account, not the account->source. Oops. * mail-accounts.c (news_delete): Updated to use the remove_news() function. * mail-config.c (mail_config_remove_news): New convenience function for removing news accounts. (mail_config_remove_account): Pretty much the same thing. * mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL and use that if it exists, else fall back on the default transport. * mail-callbacks.c (composer_postpone_cb): Set an X-Evolution-Transport header. svn path=/trunk/; revision=7477
* Get the X-Evolution-Transport URL and use that if it exists, else fallJeffrey Stedfast2001-01-133-3/+26
| | | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL and use that if it exists, else fall back on the default transport. * mail-callbacks.c (composer_postpone_cb): Set an X-Evolution-Transport header. svn path=/trunk/; revision=7474
* don't make the window so wide...Jeffrey Stedfast2001-01-131-23/+23
| | | | svn path=/trunk/; revision=7473
* Removed GPG_* variables.Jeffrey Stedfast2001-01-132-3/+3
| | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed GPG_* variables. svn path=/trunk/; revision=7472
* Now takes a 'is_account_data' variable to specify whether the sources is aJeffrey Stedfast2001-01-134-31/+54
| | | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Now takes a 'is_account_data' variable to specify whether the sources is a list of accounts of a list of services. Basically, the only time you should pass in FALSE is when you are setting up NNTP storages. (add_storage): Now takes a 'name' argument that specifies the name to use in the storage. (owner_set_cb): Updated to pass TRUE for accounts and FALSE for news servers into mail_load_storages. svn path=/trunk/; revision=7469
* Changed filter_date and filter_size to match the changes in gal.Christopher James Lahey2001-01-132-8/+14
| | | | | | | | | 2001-01-12 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed filter_date and filter_size to match the changes in gal. svn path=/trunk/; revision=7466
* back to the dialogs I madeJeffrey Stedfast2001-01-132-1066/+1264
| | | | svn path=/trunk/; revision=7464
* oops, actually delete mail_config_get_account_by_addressJeffrey Stedfast2001-01-131-19/+0
| | | | svn path=/trunk/; revision=7462
* Anna's dialogs.Jeffrey Stedfast2001-01-138-1284/+1128
| | | | | | | | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Anna's dialogs. * mail-config.c (mail_config_get_account_by_address): Removed. Danw and I decided on setting a X-Evolution-Transport header on messages going to the Outbox so we can later guess which transport to use when sending it. * mail-account-editor.c (apply_changes): Update to some day be able to support SSL. (construct): Update for Anna's dialogs... * subscribe-dialog.c (populate_store_list): Updated to reflect past changes to the mail-config API. svn path=/trunk/; revision=7461
* Get the account by using the new e_msg_composer_get_preferred_account()Jeffrey Stedfast2001-01-134-5/+50
| | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Get the account by using the new e_msg_composer_get_preferred_account() function. Also check to make sure everything is configured (in case they deleted their accounts while composing mail?). * mail-config.c (mail_config_get_account_by_address): New convenience function. svn path=/trunk/; revision=7459
* Add an ::asyncCopyFolder method to the ShellComponent interface. MoveEttore Perazzoli2001-01-133-36/+15
| | | | | | all the message hiding options to the View menu. svn path=/trunk/; revision=7456
* Add strings for localizationMiguel de Icaza2001-01-123-0/+17
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * message-list.c: Add strings for localization svn path=/trunk/; revision=7447
* Rename "Save" to "Store search as vFolder".Miguel de Icaza2001-01-122-7/+11
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * folder-browser.c: Rename "Save" to "Store search as vFolder". svn path=/trunk/; revision=7439
* Unref the property bag when we are done with it.Miguel de Icaza2001-01-122-49/+74
| | | | | | | | | | | 2001-01-11 Miguel de Icaza <miguel@gnu.org> * mail-display.c (on_object_requested): Unref the property bag when we are done with it. (get_embedded_for_component): Moved the code to request the embeddable/control to a separate function. svn path=/trunk/; revision=7436
* New convenience function that I will need later when I redo the composerJeffrey Stedfast2001-01-123-0/+25
| | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_account_by_name): New convenience function that I will need later when I redo the composer From field. svn path=/trunk/; revision=7435
* Update to reflect past changes to the mail-config API.Jeffrey Stedfast2001-01-122-1/+4
| | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_object_requested): Update to reflect past changes to the mail-config API. svn path=/trunk/; revision=7434
* strdup() the key.Jeffrey Stedfast2001-01-122-1/+3
| | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_set_password): strdup() the key. svn path=/trunk/; revision=7433
* We don't want to be able to set the reply-to in the config druid.Jeffrey Stedfast2001-01-122-6/+5
| | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. (mail_config_druid_finalise): Don't unref the providers. * mail-config.glade: Took out the Reply-To field in the druid. svn path=/trunk/; revision=7432
* We don't want to be able to set the reply-to in the config druid.Jeffrey Stedfast2001-01-124-79/+16
| | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. (mail_config_druid_finalise): Don't unref the providers. * mail-config.glade: Took out the Reply-To field in the druid. svn path=/trunk/; revision=7431
* Guess the default MAIL value for MBOX and Maildir files.Miguel de Icaza2001-01-122-0/+11
| | | | | | | | | 2001-01-11 Miguel de Icaza <miguel@gnu.org> * mail-config-druid.c (incoming_type_changed): Guess the default MAIL value for MBOX and Maildir files. svn path=/trunk/; revision=7430
* Force finalization of the function before returning fixing the FIXME thatMiguel de Icaza2001-01-122-10/+28
| | | | | | | | | 2001-01-11 Miguel de Icaza <miguel@gnu.org> * mail-callbacks.c (configure_mail): Force finalization of the function before returning fixing the FIXME that was there. svn path=/trunk/; revision=7429
* If the service_check fails, pop-up a warning dialog letting the user knowJeffrey Stedfast2001-01-122-5/+40
| | | | | | | | | | | | 2001-01-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (transport_next): If the service_check fails, pop-up a warning dialog letting the user know he or she may have problems and then let them continue on with their lives. (incoming_next): Same (+ jump them over the auth page to the transport page). svn path=/trunk/; revision=7428
* Eek! Don't destroy the account if the connection fails, duh. This is whatJeffrey Stedfast2001-01-122-12/+12
| | | | | | | | | | 2001-01-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (apply_changes): Eek! Don't destroy the account if the connection fails, duh. This is what is causing the segfaults. svn path=/trunk/; revision=7421
* Connect to folder_changed as well as message_changed for updating unreadDan Winship2001-01-122-0/+7
| | | | | | | * folder-browser.c (got_folder): Connect to folder_changed as well as message_changed for updating unread count svn path=/trunk/; revision=7420
* Add Bonobo/ItemContainer as the set of supported interfaces inMiguel de Icaza2001-01-123-0/+8
| | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * GNOME_Evolution_Mail.oafinfo: Add Bonobo/ItemContainer as the set of supported interfaces in GNOME_Evolution_Mail_Composer component. svn path=/trunk/; revision=7413
* add missing e-unicode.h includeDan Winship2001-01-121-0/+1
| | | | svn path=/trunk/; revision=7408
* Translate the header name to UTF8.Dan Winship2001-01-122-11/+13
| | | | | | | * mail-format.c (write_field_to_stream): Translate the header name to UTF8. svn path=/trunk/; revision=7403
* added a 4-pixel padding between entry boxesJeffrey Stedfast2001-01-111-90/+90
| | | | svn path=/trunk/; revision=7381
* New function that explains to the user why he can't do the action heJeffrey Stedfast2001-01-113-40/+38
| | | | | | | | | | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (configure_mail): New function that explains to the user why he can't do the action he requested and then procedes to ask if he'd like to configure his accounts now. (check_send_configuration): If the user doesn't have configured accounts, don't let him continue and call configure_mail(). (fetch_mail): Same. (send_queued_mail): Same. (send_receieve_mail): Same. * mail-config.c (mail_config_write): Don't save a "is_configured" variable. Instead we'll just check to see if we have accounts - if yes, then configured == TRUE. (mail_config_is_configured): return accounts != NULL. (mail_config_get_default_account): Mark the first account as the default if none are marked. svn path=/trunk/; revision=7377
* Set the sensitivity of the Password label too.Jeffrey Stedfast2001-01-112-0/+6
| | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (source_auth_type_changed): Set the sensitivity of the Password label too. svn path=/trunk/; revision=7376
* New callback to handle when the user hits the "back" button when on theJeffrey Stedfast2001-01-113-1/+34
| | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (transport_back): New callback to handle when the user hits the "back" button when on the transport page. This is needed to handle the case where we don't want to show the user the auth page (due to there being no auth choices). (incoming_next): If we are going to skip over the auth page, set the 'have_auth_page' variable to FALSE. (construct): Initialize the have_auth_page to TRUE. svn path=/trunk/; revision=7375
* Grab the focus of the first widget that is sensitive.Jeffrey Stedfast2001-01-112-1/+19
| | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (incoming_type_changed): Grab the focus of the first widget that is sensitive. (transport_type_changed): Same. (identity_prepare): Grab the focus of the name entry. * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. svn path=/trunk/; revision=7374
* Prevent Federico's segfault.Jeffrey Stedfast2001-01-112-1/+5
| | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. svn path=/trunk/; revision=7372
* Clear the password entry if it's not allowed. (transport_type_changed):Jeffrey Stedfast2001-01-113-5/+35
| | | | | | | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (auth_type_changed): Clear the password entry if it's not allowed. (transport_type_changed): Clear the hostname if it is not allowed by the provider type. * mail-account-editor.c (transport_type_changed): If the hostname is allowed, clear it. * mail-config-druid.c (incoming_type_changed): Clear the contents of the entry boxes that are not to be used. (mail_config_druid_get_source_url): If the text in the entry is emptry string, don't set it' contents in the url. svn path=/trunk/; revision=7369
* Remove a debug printf (that crashes Solaris because it usually triesDan Winship2001-01-111-1/+0
| | | | | | to printf NULL) svn path=/trunk/; revision=7364
* Fix proto. (print_preview_msg): Fix proto.Miguel de Icaza2001-01-102-6/+13
| | | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * mail-callbacks.c (print_msg): Fix proto. (print_preview_msg): Fix proto. * subscribe-dialog.c: Remove more UNSAFE macros. svn path=/trunk/; revision=7360
* Bugfix for #1077: scrollwheel doesn't work while hovering over anJason Leach2001-01-102-7/+15
| | | | | | | | | 2001-01-09 Jason Leach <jasonleach@usa.net> * mail-display.c (pixmap_press): Bugfix for #1077: scrollwheel doesn't work while hovering over an attachment icon. svn path=/trunk/; revision=7354
* removed old mail-config-gui.* files that are no longer used or needed.Jeffrey Stedfast2001-01-102-2440/+0
| | | | svn path=/trunk/; revision=7353