aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* for now #ifdef PGP_PROGRAM falling back to handle_multipart_mixed.Chris Toshok2000-12-192-0/+14
| | | | | | | | | | 2000-12-18 Chris Toshok <toshok@helixcode.com> * mail-format.c (handle_multipart_encrypted): for now #ifdef PGP_PROGRAM falling back to handle_multipart_mixed. (handle_multipart_signed): same. svn path=/trunk/; revision=7074
* Unlock camel when done to prevent a hang later.Dan Winship2000-12-192-0/+6
| | | | | | | * message-list.c (hide_save_state): Unlock camel when done to prevent a hang later. svn path=/trunk/; revision=7072
* Only update display every 2 seconds.Miguel de Icaza2000-12-184-7/+35
| | | | | | | | | | | 2000-12-18 Miguel de Icaza <miguel@helixcode.com> * mail-tools.c (mail_tool_move_folder_contents): Only update display every 2 seconds. * mail-ops.c (do_view_messages): Only update display every 2 seconds. svn path=/trunk/; revision=7066
* Always use the slow (full-update) version of the tree update code, to getNot Zed2000-12-166-27/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-16 Not Zed <NotZed@HelixCode.com> * message-list.c (build_tree): Always use the slow (full-update) version of the tree update code, to get around a bug(?) in etree. (build_flat): Likewise. 2000-12-15 Not Zed <NotZed@HelixCode.com> * mail-display.c (write_data_to_file): Dont blindly convert all parts to utf8, e.g. image/jpg. We only convert text/* parts, and only then if required. 2000-12-14 Not Zed <NotZed@HelixCode.com> * component-factory.c (create_view): cast over a warning. * folder-browser-factory.c: Add verbs for hide functions. * message-list.c (message_list_hide_clear): (message_list_hide_uids): (message_list_hide_add): Some api renaming. (message_list_hide_add): Allow ML_HIDE_SAME to be passed to mean not to change the upper/lower range at all. (hide_save_state): Save the state of the hide list to stable storage. (hide_load_state): Load the state of hte hide list. (message_list_set_folder): Load/save the state of the folder if it is changed/set. (message_list_destroy): Save the state of the folder hide list when done. (save_tree_state): If we wrote out an empty state file, simply remove it instead. * folder-browser.c (on_right_click): Add some hide menus. (hide_read): Hide read messages. (hide_deleted): Hide deleted messages. (hide_selected): Hide selected/current message. (hide_none): Show all hidden messages. (on_right_click): Lock around accesses to the message (inside mlist_detect_magic). (on_right_click): Free the mailing list name. 2000-12-13 Not Zed <NotZed@HelixCode.com> * folder-browser.c (on_right_click): Add camel locking since we call it directly. Whoever heard of a lock you 'down' to unlock? * message-list.c (mail_do_regenerate_messagelist): Added hide expression, messages to hide. Fixed all callers. (do_regenerate_messagelist): IF we have a hide expression, search and remove those from the uid list. If we have a hide range, apply that afterwards. (cleanup_regenerate_messagelist): Handle freeing the hide uid temporary data, if required. (message_list_destroy): Free hide data, also lock around all camel object stuff. (message_list_length): New function to get the number of messages avaialble to be hidden by range. (message_list_set_hide): Set the hide expression and range. Issue: Should hiding be remembered? (message_list_unhide_all): Turn off all hiding. (message_list_hide_uids): Hide a list of uid's. svn path=/trunk/; revision=7061
* Update this for the new signal handler prototype. Fixes the crash onDan Winship2000-12-162-6/+7
| | | | | | | * subscribe-dialog.c (folder_toggle_cb): Update this for the new signal handler prototype. Fixes the crash on double-click. svn path=/trunk/; revision=7059
* New callback to handle multipart/signed parts. (decode_pgp): Update toJeffrey Stedfast2000-12-164-93/+766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-15 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (handle_multipart_signed): New callback to handle multipart/signed parts. (decode_pgp): Update to account for the cipherlen argument needed for openpgp_decrypt. (is_rfc2015): Removed as we now have a better version in mail-crypto. (handle_multipart_encrypted): Updated to use the PGP/MIME utility functions. * mail-crypto.c (mail_crypto_openpgp_decrypt): Don't check (!*plaintext) as it could be a binary stream. Now also takes a cipherlen argument. (mail_crypto_openpgp_sign): New function. (pgp_mime_part_sign): New function to replace a mime part with the pgp signed equivalent. (pgp_mime_part_encrypt): New function to replace a mime part with the pgp encrypted equivalent. (pgp_mime_part_decrypt): New function to decrypt a pgp encrypted mime part (like from pgp_mime_part_encrypt) and replace it. (is_rfc2015_signed): New function to determine if a mime part is an rfc2015 signed part. (is_rfc2015_encrypted): New function to determine if a mime part is an rfc2015 encrypted part. (mail_crypto_openpgp_verify): New openpgp function to verify a signature. svn path=/trunk/; revision=7056
* Dont blindly convert all parts to utf8, e.g. image/jpg. We only convertNot Zed2000-12-151-26/+31
| | | | | | | | | | 2000-12-15 Not Zed <NotZed@HelixCode.com> * mail-display.c (write_data_to_file): Dont blindly convert all parts to utf8, e.g. image/jpg. We only convert text/* parts, and only then if required. svn path=/trunk/; revision=7035
* Unref the iterator when we're done with it.Christopher James Lahey2000-12-152-0/+6
| | | | | | | | | 2000-12-14 Christopher James Lahey <clahey@helixcode.com> * mail-threads.c (update_active_views): Unref the iterator when we're done with it. svn path=/trunk/; revision=7029
* call gtk_html_set_default_content_type to make gkthtml default to utf-8Larry Ewing2000-12-152-0/+9
| | | | | | | | | | 2000-12-14 Larry Ewing <lewing@helixcode.com> * mail-display.c (mail_display_new): call gtk_html_set_default_content_type to make gkthtml default to utf-8 when parsing. This requires gtkhtml >= the released 0.8. svn path=/trunk/; revision=7022
* Fix a slight race condition that could cause the busy indicator not toEttore Perazzoli2000-12-152-7/+14
| | | | | | go off after switching folder views. svn path=/trunk/; revision=7021
* Made the vertical scrollbar always be there.Christopher James Lahey2000-12-143-2/+14
| | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c (my_folder_browser_init): Made the vertical scrollbar always be there. * message-list.c (message_list_get_layout): Changed the minimum width of some of the pixmap column headers. svn path=/trunk/; revision=6983
* Small ChangeLog mistake.Chris Lahey2000-12-131-2/+2
| | | | svn path=/trunk/; revision=6957
* Added a cast.Christopher James Lahey2000-12-134-7/+24
| | | | | | | | | | | | | | | | | 2000-12-12 Christopher James Lahey <clahey@helixcode.com> * component-factory.c (create_view): Added a cast. * mail-summary.c: Added #include "mail-summary.h". Commented out folder_free, summary_free, and view_destroy_cb since they're not used. (do_changed): Added a cast. (create_summary_view): Changed some types so that casting would be easier. * session.c (mail_session_remember_password): Added a cast. svn path=/trunk/; revision=6956
* Fix to use the right .h instead of the deprecated one.Dan Winship2000-12-132-1/+6
| | | | | | | * mail-summary.h: Fix to use the right .h instead of the deprecated one. svn path=/trunk/; revision=6952
* Attach a signature when forwarding, fixes bug #826.Jeffrey Stedfast2000-12-132-1/+15
| | | | | | | | | 2000-12-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (forward_message): Attach a signature when forwarding, fixes bug #826. svn path=/trunk/; revision=6944
* New function to tell the code that it's ok (or not) to interact with theDan Winship2000-12-124-1/+28
| | | | | | | | | | | | | | | * session.c (mail_session_enable_interaction): New function to tell the code that it's ok (or not) to interact with the user when trying to authenticate to a service. Starts out turned off. (mail_session_request_dialog): If interaction is disabled, fail if the password isn't in the cache. * component-factory.c (owner_set_cb): Call mail_session_enable_interaction() after everything else. (This means that the IMAP password dialog will no longer pop up [under the splash screen] at startup.) svn path=/trunk/; revision=6924
* Deal with "mailstorage" type views (top-level mail storages) by trying toDan Winship2000-12-123-6/+44
| | | | | | | | | | | | | * component-factory.c (create_view): Deal with "mailstorage" type views (top-level mail storages) by trying to fill the storage's folder tree again if we failed before. (add_storage): Create new storages with a URI and type "mailstorage". * mail-ops.c (cleanup_scan_subfolders): On success, mark the storage as having been loaded, so create_view won't try again. svn path=/trunk/; revision=6923
* Updated to reflect arguments to the openpgp functions - now also takes anJeffrey Stedfast2000-12-124-89/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (decode_pgp): Updated to reflect arguments to the openpgp functions - now also takes an outlen argument. (try_inline_pgp): Updated. (handle_multipart_encrypted): Updated here too. * mail-crypto.c (crypto_exec_with_passwd): Updated to handle binary streams and such. (mail_crypto_openpgp_encrypt): Always initialize the passwd_fds even if we don't plan on signing. Added an 'inlen' to specify the length of the input data (as it could be binary). Also added a 'userid' argument for cases when we want to sign as well as encrypt. (mail_crypto_openpgp_decrypt): Updated to take an outlen argument in case the ciphertext is encrypted binary data. (mail_crypto_openpgp_clearsign): Added a 'hash' and 'detach' arguments. 'hash' allows the program to specify the preferred hash function (which will come in handy when generating PGP/MIME). 'detach' allows the program to specify whether it wants a detached signature or the entire signed text. svn path=/trunk/; revision=6921
* Ignore double-clicks on "active" columns (the ones where clicking doesDan Winship2000-12-123-1/+12
| | | | | | | | * folder-browser.c (on_double_click): Ignore double-clicks on "active" columns (the ones where clicking does something beyond "select"), fixing bug #811 svn path=/trunk/; revision=6910
* Remove the never-once-used BonoboObject stuff and make MessageList be aDan Winship2000-12-127-199/+129
| | | | | | | | | | | | | | | | | | | | | | | | | * message-list.c: Remove the never-once-used BonoboObject stuff and make MessageList be a GtkWidget instead. Also, keep track of the ETable directly rather than repeatedly calling e_table_scrolled_get_table. * folder-browser.c (folder_browser_destroy): Use gtk methods rather than bonobo methods to destroy the message list. (on_right_click, on_double_click): These are being attached to the ETable directly now, so fix the first argument (which isn't being used anyway, but...) (folder_browser_gui_init): simplify now that MessageList itself is a widget. Also use message_list->table rather than e_table_scrolled_get_table. * mail-local.c (mail_local_reconfigure_folder): Add "mail_" to the beginning of this function name to match its prototype and the other vague namespace conventions in the mailer. * mail-callbacks.c (select_all, invert_selection): Use ml->table. (configure_folder): s/local_reconfigure_folder/mail_&/ svn path=/trunk/; revision=6908
* Remove an unused variable.Dan Winship2000-12-121-1/+0
| | | | | | | * mail-tools.c (mail_tool_quote_message): Remove an unused variable. svn path=/trunk/; revision=6907
* clean up the cleanup a bitDan Winship2000-12-121-6/+3
| | | | | | * mail-ops.c (do_flag_messages): clean up the cleanup a bit svn path=/trunk/; revision=6906
* Just added a little todo comment about some design issues.Michael Zucci2000-12-111-0/+8
| | | | svn path=/trunk/; revision=6901
* oops again, another insignificatn debug printf removed.Michael Zucci2000-12-111-1/+0
| | | | svn path=/trunk/; revision=6900
* Left debug on, turned off.Michael Zucci2000-12-112-1/+2
| | | | svn path=/trunk/; revision=6899
* reordered the options and added maildir, mbox, maildir, mh, in that order.Not Zed2000-12-113-49/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Not Zed <NotZed@HelixCode.com> * local-config.glade: reordered the options and added maildir, mbox, maildir, mh, in that order. * mail-local.c (reconfigure_clicked): Added maildir, re-ordered to match the changed xml file too. (do_reconfigure_folder): WHoever 'threaded' this code forgot to check that folder_browser functions shouldn't be called here. (cleanup_reconfigure_folder): Call it here instead. (lookup_folder): Blah blah, we have to lookup the folder and verify its still the same format, joy. Becaause someone thought it would be wise to make the code 5x more complicated for no reason, and totally break 'mail reconfigure' in the process. i'm really happy about that one. (cleanup_register_folder): Uh, yeah, so like, the local_store->folders hashtable is supposed to point to like, LocalFolders, not CamelFolders. (free_local_folder): Free the localfolder struct properly. (free_folder): Call above to free data properly. (get_folder): Fix for fixing folders hashtable. (local_storage_removed_folder_cb): Same here. (local_storage_new_folder_cb): Ref the local_store when putting it in the local_folder. (cleanup_register_folder): Properly free the local_folder if the op failed. (free_local_folder): Unhook events also. svn path=/trunk/; revision=6898
* Change the "drawfocus" argument on e_table_scrolled_get_table(etable)Christopher James Lahey2000-12-102-1/+7
| | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_init): Change the "drawfocus" argument on e_table_scrolled_get_table(etable) instead of on etable (etable is an ETableScrolled.) svn path=/trunk/; revision=6893
* Check to see if the file already exists, if it does prompt the user to forJeffrey Stedfast2000-12-093-24/+121
| | | | | | | | | | | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (save_msg_ok): Check to see if the file already exists, if it does prompt the user to for permission to overwrite the file. (forward_message): g_strdup the cursor_uid if there is only a single message to be forwarded or we'll segfault later. * mail-ops.c (do_save_messages): Rewrote yet again. I'm back to almost an identical implementation as the first time I wrote this except now we write the From line which I had forgotten last time. This means that we no longer have to unlink the .ev-summary file created and we also use fewer resources (no need to create a CamelMboxFolder object). svn path=/trunk/; revision=6882
* the e-table double-click signal now has extra paramsJP Rosevear2000-12-092-1/+6
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * folder-browser.c (on_double_click): the e-table double-click signal now has extra params svn path=/trunk/; revision=6880
* Complete the code to associate a URI and a folder type to the toplevelEttore Perazzoli2000-12-093-2/+9
| | | | | | | node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
* a slight mixup in order causes "1.33 M" to be displayed as the subject...uh ↵Jeffrey Stedfast2000-12-091-4/+4
| | | | | | huh, yea... svn path=/trunk/; revision=6877
* Set the "Size" field to sort using integer comparison instead of string.Jeffrey Stedfast2000-12-092-21/+54
| | | | | | | | | | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_get_layout): Set the "Size" field to sort using integer comparison instead of string. (filter_size): New function to transform a integer size into a more readable form. (ml_value_to_string): Use filter_size. (ml_value_is_empty): COL_SIZE is no longer a string, so handle this as an integer. (ml_initialize_value): Here too. (ml_free_value): And here. (ml_duplicate_value): And here too. (message_list_create_extras): Setup the size etable cell. svn path=/trunk/; revision=6876
* Connect to signals on the ETable instead of the ETableScrolled.Christopher James Lahey2000-12-093-7/+15
| | | | | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Connect to signals on the ETable instead of the ETableScrolled. * subscribe-dialog.c: Used the e_table_scrolled_get_table function instead of accessing the variable directly. svn path=/trunk/; revision=6873
* Connect to signals on the ETable instead of the ETableScrolled.Christopher James Lahey2000-12-092-4/+9
| | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Connect to signals on the ETable instead of the ETableScrolled. svn path=/trunk/; revision=6871
* Got rid of code referencing the ETableScrolled proxy functions. ChangedChristopher James Lahey2000-12-082-9/+15
| | | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Got rid of code referencing the ETableScrolled proxy functions. Changed the call to e_table_set_cursor_row to send a model row instead of a view row. svn path=/trunk/; revision=6852
* Only do a message_list_foreach if we plan on attaching messages, otherwiseJeffrey Stedfast2000-12-083-8/+47
| | | | | | | | | | | | | | 2000-12-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (forward_message): Only do a message_list_foreach if we plan on attaching messages, otherwise just use ml->cursor_uid. * mail-ops.c (cleanup_forward_messages): If attaching multiple forwarded message, wrap them in a multipart/digest otherwise just attach the single message as a message/rfc822. svn path=/trunk/; revision=6851
* Make the iTip hack spew a g_warning and not crash if you have no identityDan Winship2000-12-082-3/+7
| | | | | | | | * mail-display.c (on_object_requested): Make the iTip hack spew a g_warning and not crash if you have no identity configured. To be revisited. svn path=/trunk/; revision=6845
* Add some g_return_if_fail()s to protect from crashes until the code toDan Winship2000-12-085-8/+22
| | | | | | | | | | | | * mail-callbacks.c: (various) * folder-browser.c (filter_mlist): * mail-autofilter.c (filter_gui_add_from_message): * mail-vfolder.c (vfolder_gui_add_from_message): Add some g_return_if_fail()s to protect from crashes until the code to enable/disable commands based on how many messages are selected is done. svn path=/trunk/; revision=6840
* Make the vfolder editor resize correctly. Fixes bug #835.Jeffrey Stedfast2000-12-072-1/+6
| | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-vfolder.c (vfolder_gui_add_rule): Make the vfolder editor resize correctly. Fixes bug #835. svn path=/trunk/; revision=6835
* Fix up shutdown so that things that should be destroyed getDan Winship2000-12-075-89/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | destroyed. Among other things, this fixes the bug where IMAP stores weren't disconnected at shutdown. * mail-threads.c (update_active_views): Update for folder_browser_factory_get_control_list change to EList. * folder-browser-factory.c: Turn control_list into an EList so that we can safely remove items from it while it's being iterated (which will happen as FolderBrowsers are destroyed at shutdown while the thread code is trying to update the status bars). (control_destroy_cb): Just destroy the folder_browser. (browser_destroy_cb): New callback for FolderBrowser destroy. Remove the control from control_list here instead of control_destroy_cb, because the controls don't seem to get destroyed reliably... * component-factory.c: Clean up stuff. (factory_destroy): Get rid of this. (owner_unset_cb): Schedule an idle handler to quit. (idle_quit): Wait for all of the FolderBrowsers to be destroyed and then destroy the storages and quit. svn path=/trunk/; revision=6830
* Fix prototypeDan Winship2000-12-071-3/+2
| | | | | | * mail-summary.h (create_summary_view): Fix prototype svn path=/trunk/; revision=6829
* Use e_filename_make_safe (which used to be e_str_make_safe).Jeffrey Stedfast2000-12-074-5/+12
| | | | | | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_folder_to_cachename): Use e_filename_make_safe (which used to be e_str_make_safe). * mail-display.c (make_safe_filename): And here. * message-list.c (message_list_drag_data_get): Here too. svn path=/trunk/; revision=6827
* Run the folder_changed code on message_changed as well, so the unreadDan Winship2000-12-072-4/+10
| | | | | | | | * mail-local.c (cleanup_register_folder): Run the folder_changed code on message_changed as well, so the unread message counts update as messages are read. svn path=/trunk/; revision=6813
* Remove bits of filter-on-demand and toolbar bug workaround cruft thatDan Winship2000-12-074-29/+9
| | | | | | | | | | * folder-browser.c: Remove bits of filter-on-demand and toolbar bug workaround cruft that don't do anything useful any more. * mail-ops.c (cleanup_load_folder): unref the ref we added in setup_load_folder. svn path=/trunk/; revision=6812
* Use a charset filter to make sure the data is written out in the charsetJeffrey Stedfast2000-12-062-8/+40
| | | | | | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c (write_data_to_file): Use a charset filter to make sure the data is written out in the charset it was meant to be in instead of UTF-8. * mail-format.c (mail_format_raw_message): Don't use the raw message body as the format argument, use "%s" instead. If the raw message contains %'s then it will segfault otherwise. svn path=/trunk/; revision=6803
* Don't use the raw message body as the format argument, use "%s" instead.Jeffrey Stedfast2000-12-062-2/+7
| | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_format_raw_message): Don't use the raw message body as the format argument, use "%s" instead. If the raw message contains %'s then it will segfault otherwise. svn path=/trunk/; revision=6798
* Fix a typo so that toggling the "remember password" checkbox will activateDan Winship2000-12-062-1/+7
| | | | | | | | * mail-config-gui.c (service_page_item_new): Fix a typo so that toggling the "remember password" checkbox will activate the "OK" button if it was inactive. svn path=/trunk/; revision=6796
* Update the calls to `evolution_storage_new()' according to the newEttore Perazzoli2000-12-053-2/+10
| | | | | | | | API in `libeshell'. Sorry for breaking the build. :-( svn path=/trunk/; revision=6788
* Use info->full_name rather than info->name so that we get the namespaceJeffrey Stedfast2000-12-052-1/+7
| | | | | | | | | | 2000-12-04 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.c (setup_subscribe_folder): Use info->full_name rather than info->name so that we get the namespace part of the folder path as well. svn path=/trunk/; revision=6783
* return NULL if we can't create a view.Michael Meeks2000-12-056-133/+28
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* Make inline forwarding not be the default anymore.Ettore Perazzoli2000-12-045-8/+21
| | | | svn path=/trunk/; revision=6771
* Writes out passwords (to .gnome_private) in our patented proprietary "BestDan Winship2000-12-026-8/+136
| | | | | | | | | | | | | | | | | | | | * session.c (mail_session_remember_password): Writes out passwords (to .gnome_private) in our patented proprietary "Best Awesome Super Encryption 64" ("BASE64") format which could not possibly ever be cracked by even the most cryptographically knowledgeable five-year-olds. (mail_session_init): Load remembered passwords at startup. (mail_session_forget_passwords): Erase them from disk as well as memory. * mail-config.c: Add "remember_password" field to MailConfigService. (mail_config_write_on_exit): Call mail_session_remember_password for services with "remember_password" set. * mail-config-gui.c: Add "remember password" checkbox to the dialogs, and make it appear and disappear as appropriate. svn path=/trunk/; revision=6760
* Unref the store regardless of whether or not we're using it, so we don'tDan Winship2000-12-021-1/+2
| | | | | | | | * component-factory.c (mail_load_storages): Unref the store regardless of whether or not we're using it, so we don't leak references to non-storage stores. svn path=/trunk/; revision=6759
* Perform better error-handling.Jeffrey Stedfast2000-12-022-2/+10
| | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_new): Perform better error-handling. svn path=/trunk/; revision=6758
* use mail_op_set_message_plainRadek Doulik2000-12-014-5/+41
| | | | | | | | | | | | | | 2000-12-01 Radek Doulik <rodo@helixcode.com> * mail-ops.c (mail_op_report_status): use mail_op_set_message_plain * mail-threads.c (mail_op_set_message_plain): plain version of mail_op_set_message, doesn't use printf, passes message untouched, use set_message (mail_op_set_message): set_message (set_message): helper function svn path=/trunk/; revision=6753
* Don't display a dialog, instead inform the user that there was no new mailJeffrey Stedfast2000-12-015-28/+47
| | | | | | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (cleanup_fetch_mail): Don't display a dialog, instead inform the user that there was no new mail by setting a status message. * message-list.c (message_list_drag_data_get): Use the new e_str_make_safe function. * mail-display.c (make_safe_filename): And here. * mail-config.c (mail_config_folder_to_cachename): Here too. svn path=/trunk/; revision=6745
* Set threaded view before setting the folder (cleanup some flash onsNot Zed2000-11-304-101/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * mail-ops.c (cleanup_load_folder): Set threaded view before setting the folder (cleanup some flash ons tartup). * message-list.c (message_list_init): Initialise a mempool for uid string storage. (new_id_from_uid): Added messagelist arg, allocate strings from uid_pool. (new_id_from_subject): Same. Fixed all callers. (remove_node_diff): Dont free uid here. (build_flat_diff): Nor here. (clear_tree): Flush the mempool, rather than freeing the id's directly. (free_tree_ids): Removed, no longer required. (free_tree_ids): Likewise. (message_list_init): Dont connect to the table destroy signal anymore to free the uid table. (message_list_destroy): Free the uid pool here. (*): Use accessors for messageid stuff. (content_is_attachment): Removed, no longer required. (ml_tree_value_at): Get the attachment flag directly from the summary. (ml_tree_value_at): For 'fake' nodes, try and do something better than "?" for from, to, and size. (subtree_size): New function, add up the total size of a subtree. (subtree_earliest): Get the earliest date from a subtree. (ml_tree_value_at): Return earliest date sent/received for fake nodes. (ml_tree_value_at): Return something to mark a fake subject line as a fake subject, although i dont know, i guess this buggers up sorting ... (subtree_size): Check the info node is still there. (subtree_earliest): Same here. (subtree_unread): And here. The info node might vanish if the folder has changed/is changing and we try and redraw stuff while its doing it. (message_list_drag_data_get): Use accessors. svn path=/trunk/; revision=6732
* Implement. (message_list_init): Connect the d&d signal.Jeffrey Stedfast2000-11-302-22/+14
| | | | | | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_drag_data_get): Implement. (message_list_init): Connect the d&d signal. * mail-ops.c (do_save_messages): Use camel a bit more to help us out. Don't create the file ourselves, treat it as a CamelFolder so we don't have to worry about formatting. svn path=/trunk/; revision=6728
* removed #ifdef ENABLE_NLS/#endif on Miguel's request.Gediminas Paulauskas2000-11-301-2/+0
| | | | | | | | 2000-11-30 Gediminas Paulauskas <menesis@delfi.lt> removed #ifdef ENABLE_NLS/#endif on Miguel's request. svn path=/trunk/; revision=6727
* Use camel a bit more to help us out. Don't create the file ourselves,Jeffrey Stedfast2000-11-302-15/+40
| | | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_save_messages): Use camel a bit more to help us out. Don't create the file ourselves, treat it as a CamelFolder so we don't have to worry about formatting. svn path=/trunk/; revision=6724
* Remove no-longer-needed e_unicode_init.Dan Winship2000-11-302-2/+2
| | | | | | * main.c (main): Remove no-longer-needed e_unicode_init. svn path=/trunk/; revision=6723
* Fix the allocation here (again) and put a comment explaining it. (Fixes aDan Winship2000-11-302-1/+14
| | | | | | | | * mail-tools.c (mail_tool_quote_message): Fix the allocation here (again) and put a comment explaining it. (Fixes a crash when replying.) svn path=/trunk/; revision=6717
* Wait until after setting up the local storage to find theDan Winship2000-11-293-11/+16
| | | | | | | | | | * component-factory.c (owner_set_cb): Wait until after setting up the local storage to find the Drafts/Outbox/Sent folders. * mail-ops.c (do_setup_folder): Use the file: store rather than mbox:. svn path=/trunk/; revision=6704
* Added the SaveAs bonobo menu verb thingy.Jeffrey Stedfast2000-11-296-38/+94
| | | | | | | | | | | | | | | | | 2000-11-28 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added the SaveAs bonobo menu verb thingy. * mail-callbacks.c (save_msg): New callback for saving messages. (save_msg_ok): * folder-browser.c (on_right_click): Add a Save Ass menu item. * mail-ops.c (cleanup_save_messages): Save all emails to the path given. svn path=/trunk/; revision=6699
* Fix the initial unread counts after the last patch.Dan Winship2000-11-292-1/+9
| | | | | | | * mail-local.c (cleanup_register_folder): Fix the initial unread counts after the last patch. svn path=/trunk/; revision=6697
* This needs to run from the main thread, not the camel thread, so add aDan Winship2000-11-282-5/+22
| | | | | | | | * mail-local.c (local_folder_changed): This needs to run from the main thread, not the camel thread, so add a proxy signal handler to call mail_op_forward_event. Fixes hangs (eg bugzilla #909). svn path=/trunk/; revision=6687
* Removed some unecessary debugging printf'sJeffrey Stedfast2000-11-282-2/+4
| | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c: Removed some unecessary debugging printf's svn path=/trunk/; revision=6682
* Revert the new druid for now, until the corresponding code is done, soDan Winship2000-11-283-2842/+53
| | | | | | | * mail-config-druid.glade: Revert the new druid for now, until the corresponding code is done, so that the druid will work again. svn path=/trunk/; revision=6679
* Big patch. Evolution-services rewrite, services updated for new system,Iain Holmes2000-11-228-34/+103
| | | | | | | | Big patch. Evolution-services rewrite, services updated for new system, Fixes to Executive Summary and other things. See some changelogs svn path=/trunk/; revision=6644
* add GPGME_CFLAGS and GPGME_LIBSDan Winship2000-11-222-3/+9
| | | | | | * Makefile.am: add GPGME_CFLAGS and GPGME_LIBS svn path=/trunk/; revision=6642
* New function to return if user wants to view message source.Jeffrey Stedfast2000-11-2213-163/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_view_source): New function to return if user wants to view message source. (mail_config_set_view_source): New function to set whether the view wants to view source. * mail-ops.c (mail_do_view_message_sources): Removed. We're not gonna view-source this way anymore. * folder-browser-factory.c: Removed the ViewSource bonobo verb from the Message menu. (control_activate): Added ViewSource. * folder-browser.c (on_right_click): Removed Message menu item to view message source. (folder_browser_toggle_view_source): New callback to set whether or not the MailDisplay shows the raw message or the pretty-ified message. * mail-callbacks.c: Removed view_source. * mail-display.c (redisplay): If toggle_raw is set then display the raw message else display the pretty formatted message. (mail_display_redisplay): New function to force the redisplay of a message. * mail-format.c (mail_format_raw_message): New function to write the raw message data. svn path=/trunk/; revision=6639
* IF we dont find a source, clear the exception and ignore it silently. forNot Zed2000-11-213-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * mail-vfolder.c (vfolder_uri_to_folder): IF we dont find a source, clear the exception and ignore it silently. for e.g. if the user reconfigured their mailboxes and one of them no longer exists. * message-list.c: (message_list_set_folder): If we get set a new folder, unhook any events before unrefing the folder too (the folder is never reset currently, but this would cause problems). (subtree_unread): Check for uid null, wont crash, but its a bug. (ml_tree_value_at): If the uid is null, then fake an obviously bad line. (build_subtree): Yeah well, we can't like freeze/thaw here, because this is called recursive, and freeze/thaw isn't recursive, like pre model and post model change was. (build_tree): Maybe we can try it here, although i dont think it'll help much. (build_flat): And this is also a tree. yes a tree. (build_tree): Added changes arg. If set, then try the 'diff' approach, unless the tree is already empty. (message_list_set_threaded): Dont clear the tree here. (message_list_set_search): Or here. svn path=/trunk/; revision=6629
* #include <gtkhtml/gtkhtml-embedded.h>Radek Doulik2000-11-212-0/+5
| | | | | | | | 2000-11-21 Radek Doulik <rodo@helixcode.com> * mail-display.c: #include <gtkhtml/gtkhtml-embedded.h> svn path=/trunk/; revision=6627
* Removed. No longer serves a purpose.Not Zed2000-11-215-794/+25
| | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * message-thread.[ch]: Removed. No longer serves a purpose. * Makefile.am (evolution_mail_SOURCES): Removed message-thread.[ch]. * message-list.c (build_subtree): (node_equal): (add_node_diff): (build_subtree_diff): (do_regenerate_messagelist): (cleanup_regenerate_messagelist): Changed to use camel-folder-thread. svn path=/trunk/; revision=6625
* Fix IMAP get-mail to work; CORBA calls in the dispatch thread are a no-no.Peter Williams2000-11-212-13/+62
| | | | svn path=/trunk/; revision=6620
* Save out the md5 hash of the messageid as hex, since thats all we have forNot Zed2000-11-213-43/+64
| | | | | | | | | | | | | | | | | 2000-11-20 Not Zed <NotZed@HelixCode.com> * message-list.c (save_node_state): Save out the md5 hash of the messageid as hex, since thats all we have for those nodes. (build_subtree): Expand the messageid to a hex string first, then check it. (add_node_diff): And the same here. * message-thread.c (thread_messages): Changed for changes to messageid/references items. (id_hash, id_equal): New functions to hash on the binary message id hash. (thread_messages): removed some more no longer used dead code. svn path=/trunk/; revision=6617
* New comparison function that will replace address_compare if/when we everJeffrey Stedfast2000-11-211-0/+1
| | | | | | | | | | | | | | 2000-11-20 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_compare): New comparison function that will replace address_compare if/when we ever go to save the preparsed addresses in the ETable rather than parsing them each time. Also fixed it so that we should get better sorting when addresses don't contain name parts (I was checking for NULL but not '\0'). (address_compare): Use e_mail_address_compare. svn path=/trunk/; revision=6616
* New comparison function that will replace address_compare if/when we everJeffrey Stedfast2000-11-212-69/+110
| | | | | | | | | | | | | 2000-11-20 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_compare): New comparison function that will replace address_compare if/when we ever go to save the preparsed addresses in the ETable rather than parsing them each time. Also fixed it so that we should get better sorting when addresses don't contain name parts (I was checking for NULL but not '\0'). svn path=/trunk/; revision=6615
* Use the new quote_message function and make it start with "On %s, %sJeffrey Stedfast2000-11-185-105/+123
| | | | | | | | | | | | | | | | | 2000-11-17 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Use the new quote_message function and make it start with "On %s, %s wrote:" since people seem to want that. * mail-ops.c (cleanup_forward_messages): Use the new quote_message function. * mail-tools.c (mail_tool_quote_message): New convenience function to quote a message body (since both the reply and forward code do similar quoting) svn path=/trunk/; revision=6605
* Before we destroy ourselves, unhook ourselves from the folder updateNot Zed2000-11-172-1/+15
| | | | | | | | | | 2000-11-17 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_destroy): Before we destroy ourselves, unhook ourselves from the folder update events. Should fix a common crash on exit case. svn path=/trunk/; revision=6598
* Added the MessageViewSource bonobo menu verb.Jeffrey Stedfast2000-11-175-0/+134
| | | | | | | | | | | | 2000-11-16 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added the MessageViewSource bonobo menu verb. * mail-ops.c (mail_do_save_messages): New async function to save messages as individual files in a given path. svn path=/trunk/; revision=6596
* Added a new Forward as Attachment bonobo menu item verb.Jeffrey Stedfast2000-11-168-76/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-15 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added a new Forward as Attachment bonobo menu item verb. * mail-view.c (view_forward_msg): Updated to reflect changes to mail_do_forward_message(). It now forwards the message without attaching it - is this what we want? * mail-ops.c (mail_do_view_message_sources): New async function to display message source dialog windows. (setup_forward_messages): If we were asked not to forward the message(s) as attachment(s) and the user chose more than a single message, then default to making each message an attachment. (cleanup_forward_messages): If we aren't forwarding the message as an attachment, then quote the text and set the composer's body with it. * mail-callbacks.c (view_source): New callback to view the message source of all messages that are currently selected. (forward_attach): New callback to forward a message as an attachment (forward_msg is now for forwarding a message without it being an attachment). (forward_message): Convenience function for forwarding messages. svn path=/trunk/; revision=6585
* #!/usr/bin/perl -pi.bakMichael Meeks2000-11-163-6/+6
| | | | | | | | s/GNOME\/GenericFactory/GNOME\/ObjectFactory/g; s/Bonobo\/EmbeddableFactory/GNOME\/ObjectFactory/g; s/Bonobo\/GenericFactory/GNOME\/ObjectFactory/g; svn path=/trunk/; revision=6580
* Take a 'subscribe' argument so that this can function as a subscribe ANDJeffrey Stedfast2000-11-142-132/+64
| | | | | | | | | | | | | | | | | 2000-11-13 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.c (subscribe_do_subscribe_folder): Take a 'subscribe' argument so that this can function as a subscribe AND unsibscribe method. (describe_subscribe_folder): Updated. (do_subscribe_folder): Updated. (cleanup_subscribe_folder): Updated. (subscribe_folder_info): Pass along a TRUE as the 'subscribe' param. (unsubscribe_folder_info): Pass along a FALSE as the 'subscribe' param. svn path=/trunk/; revision=6565
* Update the gal reqiurement version.Christopher James Lahey2000-11-142-3/+10
| | | | | | | | | | | | | | | 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Update the gal reqiurement version. From mail/ChangeLog: 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Removed some e_table_model calls and replaced them with e_tree_model calls. svn path=/trunk/; revision=6564
* Do this the normal way rather than calling mail_operation_wait_for_finish.Dan Winship2000-11-132-27/+36
| | | | | | | | | | * mail-local.c (mail_do_register_folder): Do this the normal way rather than calling mail_operation_wait_for_finish. There was some reason for it originally, but it no longer applies. This makes adding new folders from the folder selection dialog no longer hang. svn path=/trunk/; revision=6557
* Sync the source folder.Jeffrey Stedfast2000-11-133-1/+8
| | | | | | | | 2000-11-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_filter_ondemand): Sync the source folder. svn path=/trunk/; revision=6553
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-132-28/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync upMatt Bissiri2000-11-115-10/+17
| | | | | | | | | 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync up with yesterday's IDL re-scoping. svn path=/trunk/; revision=6541
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-1121-61/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this script + some grunt approximates the work: s/Evolution_MessageList/GNOME_Evolution_MessageList/g; s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g; s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g; s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g; s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g; s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g; s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g; s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g; s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g; s/Evolution_ShellView/GNOME_Evolution_ShellView/g; s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g; s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g; s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g; s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g; s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g; s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g; s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g; s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g; s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g; s/Evolution_Shell/GNOME_Evolution_Shell/g; s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g; s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g; s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g; s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g; s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g; s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g; s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g; s/Evolution_Storage/GNOME_Evolution_Storage/g; s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g; s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g; s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g; s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g; s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g; s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g; s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g; s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g; s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g; s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g; s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g; s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g; s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g; s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g; s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g; s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g; s/Evolution_Session/GNOME_Evolution_Session/g; s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g; s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g; s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g; s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g; s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g; s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g; s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g; s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g; s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g; s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g; s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g; s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g; s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g; s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g; s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g; s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g; s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g; s/Evolution_Composer/GNOME_Evolution_Composer/g; s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g; s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g; s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g; s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g; s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g; s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g; s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g; s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g; s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g; s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g; s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g; s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g; s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g; s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g; s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g; s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g; s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g; s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g; s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g; s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g; s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g; s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g; s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g; s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g; s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g; s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g; s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g; s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g; s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g; s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g; s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g; s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g; s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g; s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g; s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g; s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g; s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g; s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g; s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g; s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g; s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g; s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; svn path=/trunk/; revision=6535
* New glade file for possibly using to create the subscribe dialog.Jeffrey Stedfast2000-11-103-0/+316
| | | | | | | | | 2000-11-09 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.glade[.h]: New glade file for possibly using to create the subscribe dialog. svn path=/trunk/; revision=6523
* likewiseRadek Doulik2000-11-093-7/+14
| | | | | | | | | | | 2000-11-08 Radek Doulik <rodo@helixcode.com> * mail-format.c (mail_generate_reply): likewise * mail-callbacks.c (create_msg_composer): added send_html arg to e_msg_composer_new_with_sig_file call svn path=/trunk/; revision=6511
* Allow rule part to expand when the user resizes the dialog.Jeffrey Stedfast2000-11-082-38/+46
| | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-search-dialogue.c (mail_search_dialogue_construct): Allow rule part to expand when the user resizes the dialog. svn path=/trunk/; revision=6497
* Don't handle custom searching anymore... we don't want this.Jeffrey Stedfast2000-11-082-5/+1
| | | | | | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_save): Don't handle custom searching anymore... we don't want this. (search_full): Same. (folder_browser_search_menu_activated): Set the search entry widget sensitive. (folder_browser_search_query_changed): Same. svn path=/trunk/; revision=6496
* Don't handle custom searching anymore... we don't want this.Jeffrey Stedfast2000-11-082-27/+18
| | | | | | | | | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_save): Don't handle custom searching anymore... we don't want this. (search_full): Same. (folder_browser_search_menu_activated): Set the search entry widget sensitive. (folder_browser_search_query_changed): Same. (search_full_clicked): Set the text of the disabled search entry to the search query string (as search_save depends on this string). Would it be better to save this somewhere else? svn path=/trunk/; revision=6494
* when "Show All", clear the entry widgetJeffrey Stedfast2000-11-081-0/+1
| | | | svn path=/trunk/; revision=6491
* Updated to use the ESearchBar object rather than the previously usedJeffrey Stedfast2000-11-084-277/+263
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_full_clicked): Updated to use the ESearchBar object rather than the previously used search widgets. (search_full): Same. (search_save): Same. Also use enums to make it a little easier to read now that we have to have enums anyway. (folder_browser_search_menu_activated): New ESearchBar menu callback. (folder_browser_search_query_changed): New ESearchBar query callback. Replaces search_set() (folder_browser_clear_search): Updated to use the ESearchBar object rather than the previously used search widgets. (folder_browser_gui_init): Don't hand construct a search widget, use the new ESearchBar convenience widget. * mail-ops.c (cleanup_load_folder): Updated to reflect changes to FolderBrowser. svn path=/trunk/; revision=6490
* (on_object_requested): passed the user's default email addressJesse Pavel2000-11-082-1/+11
| | | | | | to the iTip control. svn path=/trunk/; revision=6488
* modified some of the EPopupMenu structures to account for differences inJesse Pavel2000-11-082-3/+9
| | | | | | | | * mail-display.c: (pixmap_press): modified some of the EPopupMenu structures to account for differences in the popup menu API (as informed by Jeff.) svn path=/trunk/; revision=6486
* Builddir != srcdir is The Way, man.Ettore Perazzoli2000-11-082-1/+7
| | | | svn path=/trunk/; revision=6484
* God, I sure wish people would listen when i'm saying i'm changing and API.Not Zed2000-11-075-156/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 Not Zed <NotZed@HelixCode.com> * mail-display.c (on_object_requested): God, I sure wish people would listen when i'm saying i'm changing and API. I mean I even mailed everyone and everything. Can't see any changelog either. 2000-11-06 Not Zed <NotZed@HelixCode.com> * mail-autofilter.c (rule_from_message): Updates for api changes. * mail-tools.c (mail_tool_generate_forward_subject): Fixed for api changes. Sigh, whoever wrote the multithread code of the mailer, had little idea. You can't just lock for getting a const value, until you are finished with it, cause the owner still owns it. Fixed this too. Yuck, what a horrid forwarding format, can we change this, or make it configurable? The mail headers show who forwarded it, we dont need to duplicate it in that UGLY subject. * mail-format.c (write_field_to_stream): Removed some jeffness. dont g_strdup stuff we dont need to, and remove the value_is_encoded thing since we can get the unencoded address now. (write_address): New function to write an address field. (write_headers): Uses write_address to write addresses, cleaner, fixed the god-awful unreadable indenting too. (handle_text_plain): Use a 'smarter' printf format, so we dont need to allocate and copy substrings unecessarily (esp since they're about to be allocated any copied another few times anyway *sigh*). (write_field_to_stream): Commented out the isprint check, which afaik serves no purpose. (list_add_addresses): New function to build a list of display-ready addresses. Although I think the composer then uses these as internet-ready addresses. It should probably take a list of CamelAddress's if thats what it wants. (mail_generate_reply): Cleaned up the address list creation stuff a heap, and fixes for camel api changes. Also fixed a small memory leak as a side effect (fulladdr wasn't freed if it was the same as the sender). * mail-display.c (on_object_requested): Changed for interface changes to the from address. I think passing the encoded (internet version) of the address is right here. svn path=/trunk/; revision=6475
* Move filter stuff into a submenu of the popup menu.Jeffrey Stedfast2000-11-072-38/+47
| | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (on_right_click): Move filter stuff into a submenu of the popup menu. svn path=/trunk/; revision=6464
* used Camel to parse the full address before passing the email address toJesse Pavel2000-11-072-1/+18
| | | | | | | * mail-display.c: used Camel to parse the full address before passing the email address to my iTip control. svn path=/trunk/; revision=6462
* Remove mail-local-storage.h includeDan Winship2000-11-072-2/+2
| | | | | | * mail-summary.c: Remove mail-local-storage.h include svn path=/trunk/; revision=6459
* First draft of folder tree unread message indication for /localDan Winship2000-11-078-378/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | mail folders. * mail-local.c: Add a new CamelStore subclass, MailLocalStore, which attaches to an Evolution_LocalStorage on one side and CamelSession on the other, and keeps track of local folders. Some of this code was previously in mail-local-storage.c, which no longer exists. (local_reconfigure_folder, etc): Various mail_op-related cleanups, and wrap d() around a bunch of printfs. * mail-tools.c (mail_tool_get_local_inbox_url, mail_tool_get_local_movemail_url): Removed (mail_tool_get_local_inbox): Simplified. (mail_tool_do_movemail): Remove unused dest_url variable. (mail_tool_uri_to_folder): Simplify. Now down to two cases (vfolder, and everything else). * component-factory.c (owner_set_cb): Pass evolution_dir to mail_local_storage_startup. * Makefile.am (evolution_mail_SOURCES): Remove mail-local-storage.[ch] svn path=/trunk/; revision=6456
* Fix up #include <config.h> Same here. Here too. Fix indentation of #ifdefKjartan Maraas2000-11-076-5/+15
| | | | | | | | | | | | 2000-11-06 Kjartan Maraas <kmaraas@gnome.org> * mail-autofilter.c: Fix up #include <config.h> * mail-crypto.c: Same here. * mail-search-dialog.c: Here too. * main.c: Fix indentation of #ifdef * message-thread.c: Fix include. svn path=/trunk/; revision=6422
* Don't invert the flag. (undelete_msg): Same (when multiple messages areJeffrey Stedfast2000-11-072-8/+9
| | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (delete_msg): Don't invert the flag. (undelete_msg): Same (when multiple messages are selected). svn path=/trunk/; revision=6421
* Updated to have the same menu items as the new right-click menu -Jeffrey Stedfast2000-11-075-15/+65
| | | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Updated to have the same menu items as the new right-click menu - eventually these 2 menus should be the same. * folder-browser.c (on_right_click): Now correctly handles the case of multiple selection. * mail-callbacks.c (enumerate_msg): Make public so it can be used in other source files (it's a useful function!) svn path=/trunk/; revision=6419
* Added an "Undelete" option to the right-click menu and also set a mask soJeffrey Stedfast2000-11-064-35/+100
| | | | | | | | | | | | | | 2000-11-05 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (on_right_click): Added an "Undelete" option to the right-click menu and also set a mask so it was only selectable if the message is marked as deleted. Also set a mask for "Mark as Read" and "Mark as Unread". * mail-callbacks.c (undelete_msg): New callback to undelete messages. svn path=/trunk/; revision=6407
* don't free the MessageList search when it's being reusedDan Winship2000-11-042-1/+6
| | | | | | | * message-list.c (cleanup_regenerate_messagelist): don't free the MessageList search when it's being reused svn path=/trunk/; revision=6382
* Don't show the passwd in the url string. (mail_tool_local_uri_to_folder):Jeffrey Stedfast2000-11-042-6/+13
| | | | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * mail-local.c (mail_local_map_uri): Don't show the passwd in the url string. (mail_tool_local_uri_to_folder): Same. (do_reconfigure_folder): Same. svn path=/trunk/; revision=6377
* Added new header files.Jeffrey Stedfast2000-11-0415-112/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added new header files. * component-factory.c (owner_set_cb): s/session_init/mail_session_init * session.c: Renamed public functions to mail_session_*. FIXME: Rename session.c to mail-session.c * folder-browser-factory.c: #include "mail-callbacks.h", #include "mail-session.h" and replace forget_passwords with mail_session_forget_passwords * mail.h: Move session prototypes to mail-session.h, Move mail-crypto prototypes to mail-crypto.h, Move mail-callback prototypes to mail-callbacks.h * mail-session.h: New header file containing public prototypes for session.c * mail-format.c: #include "mail-crypto.h" * mail-view.c: * folder-browser.c: #include "mail-callbacks.h" * mail-crypto.h: New header file containing public prototypes for mail-crypto.c * mail-callbacks.h: New header file containing public prototypes for mail-callbacks.c * message-list.c (message_list_get_layout): Set useful defaults. (message_list_setup_etable): Don't set the Outbox defaults on a folder just because it doesn't have a corresponding saved file. svn path=/trunk/; revision=6372
* url_flags are now on CamelProvider, not CamelServiceDan Winship2000-11-045-12/+28
| | | | | | | | | | | * mail-config-gui.c (service_page_item_new): url_flags are now on CamelProvider, not CamelService * main.c: * subscribe-dialog.c: * mail-threads.c: Kill warnings svn path=/trunk/; revision=6371
* Clean the idl-generated files properly.Federico Mena Quintero2000-11-042-0/+7
| | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * Makefile.am: Clean the idl-generated files properly. svn path=/trunk/; revision=6369
* Added mail-display.h.Not Zed2000-11-0313-307/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-03 Not Zed <NotZed@HelixCode.com> * mail-view.c: Added mail-display.h. * mail-autofilter.c: Removed unecessary headers. Who ran indent over this code? Sigh. * mail-ops.c (display_message_input_s): Added messagedisplay. (mail_do_display_message): Added messagedisplay arg. (mail_do_display_message): Dont bother doing another thread when we know we dont have a uid. (): Added folder-browser.h to headers. Sigh. * folder-browser-factory.c (control_activate): Setup the viewthreaded callback to the folder_browser function. * folder-browser.c (my_folder_browser_init): Connect to right_click of etable of the messagelist here. (on_right_click): Changed for argument changes. (folder_browser_toggle_threads): Changed to take a fb, and to set threaded mode on the messagelist. (my_folder_browser_init): Connect also to the double_click signal. (my_folder_browser_init): Connect to the message_selected signal of the message_list. (on_message_selected): Signal handler for message selected. (my_folder_browser_init): Fix for change to message_list_new(). * message-list.h: Dont include folder-browser.h. (message_list_toggle_threads): Moved into folder-browser.h. (struct _MessageList): Removed folderbrowser. * mail.h: Dont include folder-browser.h here either, but mail-types.h instead. Moved prototypes moved into folder-browser.c into folder-browser.h. (vfolder_*, filter_*). * mail-display.h: Dont include folder-browser.h here, but mail-types.h and specific camel headers. * message-thread.c (sort_node): Invert the sort order logic so the list is sorted in mailbox order, not reverse mailbox order. * message-list.c (free_tree_ids): Fix a merge foo. (remove_node_diff): Removed unused row argument. Fixed callers/prototype. (clear_tree): pre_change on the removal of the root node. (build_flat): Only perform pre_change if we are rebuilding the whole lot. For incremental change let etable do its thing. (build_tree): Likewise for building the tree view. If making incremental updates, do them as we build it. (vfolder_subject): (vfolder_sender): (vfolder_recipient): (filter_subject): (filter_sender): (filter_recipient): (filter_mlist): (on_right_click): Moved to folder-browser.c, where they belong. (message_list_init): Dont connect to right_click anymore. (message_list_toggle_threads): Moved to folder-browser.c, renamed. (on_double_click): Moved to folder-browser.c (on_click): Set the flags directly, rather than in anothre thread, which is just not necessary. (message_list_class_init): Added a new signal 'message_selected', to indicate when a message was selected. (on_cursor_change_idle): Emit a signal, rather than directly triggering the display update. (select_row): Removed, no longer used. (idle_select_row): And this too. (select_msg): Removed as well. (message_list_select): Emit a signal, rather thandisplaying/clearing the mail-display directly. (mark_msg_seen): Moved to folder-browser.c (message_list_new): Removed folderbrowser argument. svn path=/trunk/; revision=6365
* Sync with message menu. Addresses bugzilla bug #778.Jeffrey Stedfast2000-11-032-0/+8
| | | | | | | | | 2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (on_right_click): Sync with message menu. Addresses bugzilla bug #778. svn path=/trunk/; revision=6360
* Turn on draw grid for the main ETable (this may not be working in ETableChristopher James Lahey2000-11-032-1/+6
| | | | | | | | | 2000-11-02 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Turn on draw grid for the main ETable (this may not be working in ETable itself.) svn path=/trunk/; revision=6358
* Most of these are already in ../../art. Don't need to duplicate themDan Winship2000-11-037-0/+0
| | | | svn path=/trunk/; revision=6353
* icons for the mail config druid. we will probably need tigert to spruce ↵Anna Dirks2000-11-037-0/+0
| | | | | | these up a little-- some of them didn't scale very well. svn path=/trunk/; revision=6352
* New mail config druid. This file also contains a dialog for editting ↵Anna Dirks2000-11-031-36/+2769
| | | | | | existing evolution mail accounts, and a dialog for displaying the current accounts. svn path=/trunk/; revision=6351
* The big api rename ...Michael Meeks2000-11-023-6/+6
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* fmt argument should be const.Jeffrey Stedfast2000-11-023-3/+8
| | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-threads.c (mail_op_set_message): fmt argument should be const. svn path=/trunk/; revision=6343
* Make "Get Mail" even more functional on IMAP (scans all folders),Dan Winship2000-11-027-108/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | and do a first cut at folder tree highlighting (for IMAP/news only). * mail-ops.c (do_fetch_mail): For imap (sigh, we *still* shouldn't be hardcoding that), rescan the store's folder tree, rescan each changed folder for new messages, and update the shell folder tree. (do_scan_subfolders): Update for component-factory.c changes, and set folder display names and highlights appropriately when building the storage. * component-factory.c (add_storage): Make this static (was mail_add_new_storage). Use camel_service_get_name for the name rather than url->host. (Among other things, this lets you use a single machine as both an IMAP server and a news server.) (mail_lookup_storage): Hash storages based on their CamelStore rather than the URL. (factory_destroy): Disconnect each of the CamelStores in the storages_hash. * subscribe-dialog.c (cleanup_subscribe_folder): * mail-vfolder.c (vfolder_refresh): Pass "highlighted" flag to evolution_storage_new_folder svn path=/trunk/; revision=6342
* Don't call the default logging function. (do_fetch_mail): Set the logfileJeffrey Stedfast2000-11-022-12/+16
| | | | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_op_report_status): Don't call the default logging function. (do_fetch_mail): Set the logfile and don't pass the logfile to filter_driver_set_status_func - it's purpose has been altered. (do_filter_ondemand): Same. svn path=/trunk/; revision=6341
* ** Merged in camel-incremental-branch.Not Zed2000-11-0211-218/+956
| | | | | | | | | | | | | 2000-11-02 Not Zed <NotZed@HelixCode.com> ** Merged in camel-incremental-branch. * mail-format.c (mail_get_message_body): Jeff! Sigh. We should definetly not be strduping the content, it has already been copied and duplicated. Look at get_data_wrapper_text. svn path=/trunk/; revision=6337
* add fields search_entry and search_top.Chris Toshok2000-11-023-66/+386
| | | | | | | | | | | | | | | | | | | 2000-11-01 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.h: add fields search_entry and search_top. * subscribe-dialog.c: add mail-ops.c style async operations for getting the store (to remove deadlock in the case where a auth dialog is dismissed at startup and then the subscribe dialog is brought up), and subscribing/unsubscribing to folders. One case remains, that is getting the list of all folders. (subscribe_search): flesh out this function (build_tree): use the search_top field so we can search for groups/folders. (subscribe_dialog_destroy): free search_top. (subscribe_dialog_construct): init search_top. svn path=/trunk/; revision=6331
* Moving the executive summarys now :)Iain Holmes2000-11-022-5/+20
| | | | | | | | mail-summary now has clickable names to change to that view executive summary remembers what components are running when you close. selection now blocks ES updating so it won't be cleared. svn path=/trunk/; revision=6330
* Hmmm, someone can't spell Filder, er...I mean Filter ;-)Jeffrey Stedfast2000-11-022-2/+7
| | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Hmmm, someone can't spell Filder, er...I mean Filter ;-) svn path=/trunk/; revision=6327
* If the name is NULL or empty, then set the title to "Mail from <address>".Jeffrey Stedfast2000-11-022-114/+132
| | | | | | | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-autofilter.c (rule_from_message): If the name is NULL or empty, then set the title to "Mail from <address>". Closes bugzilla bug #777. Also when filtering on Subject, set the file name to "Subject is <subject>" rather than just "<subject>" - I think this is a bit more user-friendly. (strip_re): Use unsigned char when passing to is<type>() functions from ctype.h. (rule_add_subject): Use the "is" rule instead of "contains". svn path=/trunk/; revision=6321
* added property bag support for BonoboJesse Pavel2000-11-022-1/+34
| | | | | | controls, support which helps only the iTip control, currently. svn path=/trunk/; revision=6318
* Lots of fixes and simplifications. Should get rid of the "missing icon"Dan Winship2000-11-022-107/+110
| | | | | | | | | | | | | | * mail-display.c (pixbuf_gen_idle): Lots of fixes and simplifications. Should get rid of the "missing icon" problem. There is still a problem with some images failing to get thumbnails, even though they display correctly. (pixbuf_for_mime_type): New function to try really hard to get the right icon for a MIME type, including looking in mc and nautilus's pixmap directories. (on_object_requested): Always use pixbuf_gen_idle, even for non-image types, to prevent code duplication. svn path=/trunk/; revision=6317
* modified or added a bunch of .cvsignore to ignore generated files, whichGediminas Paulauskas2000-11-011-0/+2
| | | | | | | | | * modified or added a bunch of .cvsignore to ignore generated files, which are not in repository. * call *textdomain() in various files only when ENABLE_NLS is defined svn path=/trunk/; revision=6310
* Shouldn't we be strdup'ing the content? This seems to fix the memoryJeffrey Stedfast2000-11-013-24/+32
| | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_get_message_body): Shouldn't we be strdup'ing the content? This seems to fix the memory corruption problems. (mail_generate_reply): Make sure that the last char in the generated reply text is '\0' (when bodt text doesn't end with a \n, a random char will appear otherwise). svn path=/trunk/; revision=6306
* Update for camel_service_disconnect change.Dan Winship2000-11-012-1/+6
| | | | | | | * mail-config-gui.c (do_test_service): Update for camel_service_disconnect change. svn path=/trunk/; revision=6304
* Match "is" rather than "contains" now that we have the "is"-rule.Jeffrey Stedfast2000-11-012-1/+6
| | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * mail-autofilter.c (filter_gui_add_for_mailing_list): Match "is" rather than "contains" now that we have the "is"-rule. svn path=/trunk/; revision=6295
* Redo this so that it works for all pages, not just the first page. (NowDan Winship2000-10-312-15/+20
| | | | | | | | | | | * mail-config-gui.c (config_do_query_authtypes): Redo this so that it works for all pages, not just the first page. (Now that this is finally working again, I expect Anna to finish her redesign in the next 15 minutes.) (service_page_item_new): Fix up the sizing of the Auth line to look more like everything else. svn path=/trunk/; revision=6270
* Simplify this a lot by making IMAP and NNTP use the same code, now thatDan Winship2000-10-302-46/+9
| | | | | | | | * mail-tools.c (mail_tool_uri_to_folder): Simplify this a lot by making IMAP and NNTP use the same code, now that the IMAP namespace doesn't need special magic handling. svn path=/trunk/; revision=6257
* Don't try to regenerate the message list if there is no folder. (TheDan Winship2000-10-302-0/+11
| | | | | | | | | * message-list.c (mail_do_regenerate_messagelist): Don't try to regenerate the message list if there is no folder. (The Bonobo UI code will call this as the callback for the "Threaded View" command.) svn path=/trunk/; revision=6255
* Sync the folder before refreshing so we don't lose flag settings.Dan Winship2000-10-302-1/+8
| | | | | | | * mail-ops.c (do_fetch_mail): Sync the folder before refreshing so we don't lose flag settings. svn path=/trunk/; revision=6254
* Check to make sure that the recipient list is neither NULL nor a 0-lengthJeffrey Stedfast2000-10-282-1/+19
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Check to make sure that the recipient list is neither NULL nor a 0-length list of addresses and pop up a dialog letting the user know why we are not allowing him/her to send the message. svn path=/trunk/; revision=6238
* Don't destroy a dialog after run_and_close'ing it.Dan Winship2000-10-272-1/+5
| | | | | | | * mail-display.c (write_data_to_file): Don't destroy a dialog after run_and_close'ing it. svn path=/trunk/; revision=6203
* Check for the TO recipient list being NULL and don't send.Jeffrey Stedfast2000-10-262-0/+11
| | | | | | | | | 2000-10-26 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Check for the TO recipient list being NULL and don't send. svn path=/trunk/; revision=6201
* Don't forget to unref the FilterDriver.Jeffrey Stedfast2000-10-266-76/+92
| | | | | | | | | | | | | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_send_mail): Don't forget to unref the FilterDriver. * mail-callbacks.c (apply_filters): New callback for applying on-demand filters. (removed the old on-demand filters callback). * mail-ops.c (do_filter_ondemand): Rewrote to apply "incoming" filters to all selected messages. (mail_do_filter_ondemand): No longer takes a FilterContext argument or a destination folder argument (why did we ever need this last one??) but now takes a uids argument. * folder-browser-factory.c: Add a MessageApplyFilters menu item. svn path=/trunk/; revision=6190
* Summary is back in :DIain Holmes2000-10-265-30/+95
| | | | | | Fixed a silly size issue for composer file selectors. svn path=/trunk/; revision=6187
* Pass send/postpone signal handler functions toDan Winship2000-10-262-1/+7
| | | | | | | * main.c (main): Pass send/postpone signal handler functions to evolution_composer_factory_init. svn path=/trunk/; revision=6185
* Implemented. (subscribe_invert_selection): (was unselect_all) Implemented.Jeffrey Stedfast2000-10-263-7/+54
| | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.c (subscribe_select_all): Implemented. (subscribe_invert_selection): (was unselect_all) Implemented. svn path=/trunk/; revision=6181
* Add a "flagged" column, based on the Camel "flagged" flag, for assigningDan Winship2000-10-263-43/+95
| | | | | | | | | | | | | * message-list.c: Add a "flagged" column, based on the Camel "flagged" flag, for assigning an arbitrary "hey, I care about this" flag to a message. (ml_tree_set_value_at): Remove (ml_tree_is_cell_editable): No, it's not. (on_click): Handle the read/unread and flagged fields via the click handler. Among other things, this makes it not select a message when you change its read status. svn path=/trunk/; revision=6173
* Don't prepend "/" to the folder's full_name. Deal with hierarchy in theDan Winship2000-10-252-29/+52
| | | | | | | | | | | * subscribe-dialog.c (folder_info_subscribed, subscribe_folder_info, unsubscribe_folder_info): Don't prepend "/" to the folder's full_name. Deal with hierarchy in the EvolutionStorage tree better. (storage_tree_path): Helper function to build a storage path from a CamelFolderInfo. svn path=/trunk/; revision=6168
* lots of i18n fixesDan Winship2000-10-2413-136/+109
| | | | svn path=/trunk/; revision=6143
* AM_GNOME_GETTEXT doesn't use $(datadir)/locale as the locale dir. (ItDan Winship2000-10-242-1/+5
| | | | | | | uses either $(prefix)/share/locale or $(prefix)/lib/locale.) Cope with this. svn path=/trunk/; revision=6141
* Apply outgoing filters to the message.Jeffrey Stedfast2000-10-244-29/+64
| | | | | | | | | 2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_send_mail): Apply outgoing filters to the message. svn path=/trunk/; revision=6140
* Fixed a possible error in row numberings. This needs to be changed quite aChristopher James Lahey2000-10-242-1/+8
| | | | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Fixed a possible error in row numberings. This needs to be changed quite a bit anyway, but this should make things slightly nicer in some cases. svn path=/trunk/; revision=6128
* Made the top of the folder browser a little prettier.Christopher James Lahey2000-10-244-2/+18
| | | | | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Made the top of the folder browser a little prettier. * mail-display.c, mail-vfolder.c: Made more dialogs resizable. svn path=/trunk/; revision=6126
* Don't forget to set the rule source! (eg "incoming", "demand", orJeffrey Stedfast2000-10-242-0/+9
| | | | | | | | | 2000-10-23 Jeffrey Stedfast <fejj@helixcode.com> * mail-autofilter.c (filter_gui_add_from_message): Don't forget to set the rule source! (eg "incoming", "demand", or "outgoing") svn path=/trunk/; revision=6114
* Make the vertical toolbar always visible in the message list and theEttore Perazzoli2000-10-233-3/+12
| | | | | | message view (patch pulled up from the evolution-0-6-branch). svn path=/trunk/; revision=6112
* #include <camel/camel-folder.h>Jeffrey Stedfast2000-10-212-0/+5
| | | | | | | | 2000-10-20 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.h: #include <camel/camel-folder.h> svn path=/trunk/; revision=6092
* s/BonoboUIHandler/BonoboUIComponent/Michael Meeks2000-10-216-30/+38
| | | | | | | | | | | | 2000-10-20 Michael Meeks <michael@helixcode.com> * mail.h: s/BonoboUIHandler/BonoboUIComponent/ * mail-callbacks.c (run_filter_ondemand): ditto. * session.c (forget_passwords): ditto. svn path=/trunk/; revision=6085
* Declare composer factory.Dan Winship2000-10-215-33/+116
| | | | | | | | * evolution-mail.oafinfo: Declare composer factory. * main.c (main): Initialize it svn path=/trunk/; revision=6079
* e-tree-model is now opaque. use the accessor to get the root node.Chris Toshok2000-10-202-2/+9
| | | | | | | | | 2000-10-19 Chris Toshok <toshok@helixcode.com> * message-list.c (nuke_uids): e-tree-model is now opaque. use the accessor to get the root node. svn path=/trunk/; revision=6073
* #include "mail-vfolder.h" (vfolder_edit_vfolders): Don't call the dummyJeffrey Stedfast2000-10-203-4/+11
| | | | | | | | | | | | 2000-10-19 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c: #include "mail-vfolder.h" (vfolder_edit_vfolders): Don't call the dummy vfolder_edit function. * folder-browser-factory.c: s/VFolderEdit/SetVFolder svn path=/trunk/; revision=6053
* For an imap store, just refresh the INBOX.Dan Winship2000-10-204-4/+22
| | | | | | | | | | | * mail-ops.c: (do_fetch_mail): For an imap store, just refresh the INBOX. * folder-browser-factory.c (control_deactivate): Don't sync non-existent folders. * message-list.c (nuke_uids): Don't traverse non-existent trees. svn path=/trunk/; revision=6047
* Build fixes from Jacob, same as the other branch.Ettore Perazzoli2000-10-202-1/+10
| | | | svn path=/trunk/; revision=6035
* Clean up some old #if 0 code.Dan Winship2000-10-192-204/+4
| | | | | | * mail-ops.c: Clean up some old #if 0 code. svn path=/trunk/; revision=6030
* Get the MailConfigIdentity *before* we create a new composer object soJeffrey Stedfast2000-10-192-4/+10
| | | | | | | | | | 2000-10-19 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Get the MailConfigIdentity *before* we create a new composer object so that we can set the signature file. svn path=/trunk/; revision=6026
* kill. (create_ondemand_hooks): die. (control_activate): remove hook.Michael Meeks2000-10-194-54/+15
| | | | | | | | | | | | 2000-10-18 Michael Meeks <michael@helixcode.com> * folder-browser-factory.c (register_ondemand): kill. (create_ondemand_hooks): die. (control_activate): remove hook. * test-mail.c (create_container): kill old UI handler. svn path=/trunk/; revision=6020
* Fixed some column widths.Christopher James Lahey2000-10-192-3/+7
| | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Fixed some column widths. svn path=/trunk/; revision=6013
* Make all the CLists have passive titles. (identity_dialog): Make theIain Holmes2000-10-193-3/+18
| | | | | | | | | | | 2000-10-18 Iain Holmes <iain@helixcode.com> * mail-config-gui.c (mail_config): Make all the CLists have passive titles. (identity_dialog): Make the default button the "OK" button, and set the dialog to close on pressing return on the entryboxes. svn path=/trunk/; revision=5996
* Disable the optionmenu because it is empty. (service_page_item_auth_fill):Iain Holmes2000-10-183-3/+27
| | | | | | | | | | | | | | | | | 2000-10-17 Iain Holmes <iain@helixcode.com> * mail-config-gui.c (service_page_item_new): Disable the optionmenu because it is empty. (service_page_item_auth_fill): Enable the optionmenu as there's stuff in it now. * mail-callbacks.c (reply_to_sender): Call check_send_configuration when we have the FolderBrowser because if it is done in mail_reply (with passing NULL) it will only be able to continue if the mailer has already been configured. (reply_to_all): Same. svn path=/trunk/; revision=5984
* No, we REALLY dont want to perform an immediate search as the keys areNot Zed2000-10-1813-29/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-18 Not Zed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_gui_init): No, we REALLY dont want to perform an immediate search as the keys are pressed. * mail-display.c (on_object_requested): Kill a minor warning with a cast. * mail-config.c: Include mising ctype.h to kill a warning. * message-thread.c (main): Fixed the test case for api changes. * message-list.c (message_list_drag_data_get): Set some flags to get_folder(). I dont even think this will work because mail_tool_get_folder doesn't handle file url's. * mail-vfolder.c (vfolder_uri_to_folder): Pass appropriate flags. * mail-ops.c (do_setup_folder): Pass appropriate flags. Hmm, whats the difference between setup and create. *shrug* (do_create_folder): Pass appropriate flags to get_folder. Needs a way to specify the index flag. * mail-tools.c (mail_tool_get_folder_from_urlname): Changed create to flags argument. (mail_tool_get_local_inbox_url): Add an index argument. (mail_tool_get_local_inbox): honour index flag. (mail_tool_get_inbox): Changed for api change. (mail_tool_uri_to_folder): Fixed calls to store_get_folder(); * mail-local.c (load_metainfo): Added an indexed field to the metainfo. (save_metainfo): And save it too. (do_reconfigure_folder): Honour index flag when creating the new folder. Do not open the old folder with an index at all. (mail_local_map_uri): Add an index argument - tells if the mbox is indexed. (mail_tool_local_uri_to_folder): Create & pass flags properly. (#include gnome.h): Dont include all of gnome, just what we use, and explicity include xml-memory, so we get xmlFree(). svn path=/trunk/; revision=5979
* Un #if 0'd out (search_full): Same. (folder_browser_gui_init): ConnectJeffrey Stedfast2000-10-173-6/+16
| | | | | | | | | | | | | | 2000-10-16 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (search_full_clicked): Un #if 0'd out (search_full): Same. (folder_browser_gui_init): Connect search_full and search_activate. (search_set): Uncomment search_full() * Makefile.am: Re-add `mail-search-dialogue.h' and `mail-search-dialogue.c'. svn path=/trunk/; revision=5957
* fixed ChangeLog merge-conflict errorsJeffrey Stedfast2000-10-171-2/+0
| | | | svn path=/trunk/; revision=5956
* Decode recipient names so that they display nicely in the To and CcJeffrey Stedfast2000-10-172-23/+48
| | | | | | | | | | | | | | | 2000-10-16 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Decode recipient names so that they display nicely in the To and Cc fields. (write_field_to_stream): Now takes another argument 'value_is_encoded' so that we know if we should decode that string before proceding onward. Since the message subject is already decoded before it's passed in, we don't want to decode it again (wasted cpu time and/or any 8bit chars will be assumed to be latin1 encoded and thus the decoded value will be corrupt). svn path=/trunk/; revision=5955
* only set the url->user field if the user string is non-NULL and not empty.Chris Toshok2000-10-172-2/+15
| | | | | | | | | 2000-10-16 Chris Toshok <toshok@helixcode.com> * mail-config-gui.c (service_page_get_url): only set the url->user field if the user string is non-NULL and not empty. svn path=/trunk/; revision=5953
* Uh, fixed jeff's wrong fix for setting the speficiation (the functionNot Zed2000-10-162-16/+17
| | | | | | | | | | | 2000-10-16 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_setup_etable): Uh, fixed jeff's wrong fix for setting the speficiation (the function changed to set_state(), as can be seen in the e_table-scrolled_load_state() call only 2 lines above). svn path=/trunk/; revision=5938
* ETreePath != GNode now, use accessors. (ml_tree_value_at): same.Chris Toshok2000-10-162-15/+29
| | | | | | | | | | | | | | | 2000-10-15 Chris Toshok <toshok@helixcode.com> * message-list.c (subtree_unread): ETreePath != GNode now, use accessors. (ml_tree_value_at): same. (save_node_state): same. (save_tree_state): same. (nuke_uids_cb): convert to e_tree_model_node_traverse required type. (nuke_uids): g_node_traverse -> e_tree_model_node_traverse. svn path=/trunk/; revision=5936
* Icon attribute for the mail component.Ettore Perazzoli2000-10-154-0/+11
| | | | svn path=/trunk/; revision=5913
* Don't free the service name.Jeffrey Stedfast2000-10-142-11/+15
| | | | | | | | | 2000-10-13 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_setup_etable): Don't free the service name. svn path=/trunk/; revision=5902
* sync & expunge the source folder after filtering.Jeffrey Stedfast2000-10-132-36/+54
| | | | | | | | | 2000-10-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): sync & expunge the source folder after filtering. svn path=/trunk/; revision=5895
* Create the 'spec' and 'extras' arguments and call e_table_scrolled_new()Jeffrey Stedfast2000-10-132-5/+90
| | | | | | | | | | | | | | 2000-10-12 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_setup_etable): Create the 'spec' and 'extras' arguments and call e_table_scrolled_new() rather than set_specification as that function no longer (?) exists. Also started to add drag & drop functionality to something like Nautilus (but #if 0'd it out until I had time to finish it and till after 0.6). svn path=/trunk/; revision=5890
* Duh, fix the test for the folder name, strstr != strcmp is it.Not Zed2000-10-129-85/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-12 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_setup_etable): Duh, fix the test for the folder name, strstr != strcmp is it. 2000-10-10 Not Zed <NotZed@HelixCode.com> * message-list.c (folder_to_cachename): Removed, changed callers to use mail_config_folder_to_cachename instead. * mail-config.c (mail_config_folder_to_cachename): New utility function to get a cache name for a folder. * mail-tools.c (mail_tool_do_movemail): Changed to return the path to the mbox, rather than opening a folder of it. * mail-ops.c (mail_incorporate_messages): Dont bother making the pseudo messageinfo, filder_driver_filter_message will do it for us. (report_status): Callback to report status of filtering operation. (do_fetch_mail): Changed significantly - for the api changes to the filtering system. Also now incorporates a mailbox file directly, without having to import it into a camel folder first. (mail_incorporate_messages): Removed entirely, no longer needed. * mail-vfolder.c (vfolder_refresh): Fix for context api changes. (vfolder_uri_to_folder): Likewise. * folder-browser-factory.c (create_ondemand_hooks): Changed for api changes. Also only adds demand filters to the menu (fixed a small logic bug). svn path=/trunk/; revision=5883
* special case for folders with NULL urls (which aren'tChris Toshok2000-10-122-5/+31
| | | | | | | | | | | | 2000-10-11 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (folder_etree_value_at): special case for folders with NULL urls (which aren't selected/subscribeable). (unsubscribe_folder_info): can't (un)subscribe from folders with non-NULL urls. (subscribe_folder_info): same. svn path=/trunk/; revision=5879
* Replace To with From except in Drafts, Outbox, or Sent boxes. Make SubjectChristopher James Lahey2000-10-122-4/+10
| | | | | | | | | | 2000-10-12 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Replace To with From except in Drafts, Outbox, or Sent boxes. Make Subject column pay attention to text attributes like bold and strikethrough. svn path=/trunk/; revision=5877
* ChangelogIain Holmes2000-10-121-0/+4
| | | | svn path=/trunk/; revision=5873
* Disable the executive-summaryIain Holmes2000-10-122-5/+11
| | | | svn path=/trunk/; revision=5872
* set expansion to 0.0, minimum-width to 16, and resizable to false for theChris Toshok2000-10-122-23/+61
| | | | | | | | | | | | | | | | | | | | | 2000-10-11 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (FOLDER_ETABLE_SPEC): set expansion to 0.0, minimum-width to 16, and resizable to false for the subscribed column. (folder_info_subscribed): new function so we can do the correct path munging. (subscribe_folder_info): only add the folder to the storage if there wasn't an exception subscribing it. (unsubscribe_folder_info): same, but unsubscribing. (folder_etree_value_at): use folder_info_subscribed. (folder_toggle_cb): same. (unsubscribe_folder_foreach): same. (subscribe_folder_foreach): same. (subscribe_dialog_gui_init): set the bold column on the text cell, and add the subscribed pixbuf. svn path=/trunk/; revision=5869
* Changed the password-getting dialog so that the text entry has focus.Anna Marie Dirks2000-10-122-0/+15
| | | | | | | | 2000-10-11 Anna Marie Dirks <anna@helixcode.com> * mail-threads.c: Changed the password-getting dialog so that the text entry has focus. svn path=/trunk/; revision=5864
* change cell type to "string" since we're not including it in the extras.Chris Toshok2000-10-122-1/+6
| | | | | | | | | 2000-10-11 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (STORE_ETABLE_SPEC): change cell type to "string" since we're not including it in the extras. svn path=/trunk/; revision=5862
* Changed these to use the proper form for the column element.Christopher James Lahey2000-10-113-7/+12
| | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h, subscribe-dialog.c: Changed these to use the proper form for the column element. svn path=/trunk/; revision=5849
* Updated these to the new ETable style of specifications.Christopher James Lahey2000-10-114-204/+82
| | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h, subscribe-dialog.c: Updated these to the new ETable style of specifications. svn path=/trunk/; revision=5845
* convert to the new gal e-table stuff. (html_size_req): (html_new):Chris Toshok2000-10-112-63/+42
| | | | | | | | | | | | | 2000-10-11 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (subscribe_dialog_gui_init): convert to the new gal e-table stuff. (html_size_req): (html_new): (put_html): #if 0 out the html functions since description stuff isn't used and we don't want the warnings. svn path=/trunk/; revision=5842
* remove the html description stuff for now.Chris Toshok2000-10-112-0/+10
| | | | | | | | | 2000-10-11 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (subscribe_dialog_gui_init): remove the html description stuff for now. svn path=/trunk/; revision=5838
* umm.. duh :) only subscribe if it's not subscribed, and vice versa.Chris Toshok2000-10-112-4/+17
| | | | | | | | | | | | | 2000-10-10 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (folder_toggle_cb): umm.. duh :) only subscribe if it's not subscribed, and vice versa. (subscribe_folder_foreach): make sure to call e_tree_model_node_changed. (unsubscribe_folder_foreach): make sure to call e_tree_model_node_changed. svn path=/trunk/; revision=5831
* add a ref to input->storage here so that the ref/unref pattern moreChris Toshok2000-10-116-42/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-10 Chris Toshok <toshok@helixcode.com> * mail-ops.c (setup_scan_subfolders): add a ref to input->storage here so that the ref/unref pattern more closely matches other mail-ops. also, this keeps the storage from being freed when we hit the unref in cleanup_scan_subfolders, which is important because we maintain a reference to it in the storage_hash in component-factory.c * subscribe-dialog.h: add storage field. * subscribe-dialog.c (subscribe_folder_info): new function, subscribe to a folder given it's CamelFolderInfo, and add it to the shell - we're generating a path from the name of the folder which is bad. (unsubscribe_folder_info): same (except we unsubscribe and remove from the shell). (storage_selected_cb): unref the currently selected storage. (subscribe_dialog_destroy): unref the currently selected storage. (subscribe_dialog_construct): sc->storage = NULL. * component-factory.c (mail_lookup_storage): new function, to look up a EvolutionStorage corresponding to a CamelService. we ref the EvolutionStorage before passing it back. (mail_add_new_storage): insert the storage into storages_hash if result is EVOLUTION_STORAGE_OK. * mail.h: add prototype for mail_lookup_storage. svn path=/trunk/; revision=5830
* make sure we dup the return value of get_reply_to or get_from whenLarry Ewing2000-10-112-2/+10
| | | | | | | | | 2000-10-10 Larry Ewing <lewing@helixcode.com> * mail-format.c (mail_generate_reply): make sure we dup the return value of get_reply_to or get_from when building the recipient list. svn path=/trunk/; revision=5829
* HTML changeIain Holmes2000-10-112-1/+6
| | | | svn path=/trunk/; revision=5828
* Added #include <errno.h> to mail/mail-threads.c so it will compile.Cody Russell2000-10-112-0/+4
| | | | svn path=/trunk/; revision=5820
* Fixed for new rule_context_loadIain Holmes2000-10-102-1/+5
| | | | svn path=/trunk/; revision=5810
* use our own etable to display the stores, and get them from theChris Toshok2000-10-103-149/+362
| | | | | | | | | | | | 2000-10-09 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c, subscribe-dialog.h: use our own etable to display the stores, and get them from the mail-config api. put #if 0'ed code in place to add/remove the folders from the shell when they're subscribed/unsusbcribed. also, react to double clicks in the folder etable by toggling subscription status. svn path=/trunk/; revision=5809
* Updated to use new icon code.Iain Holmes2000-10-102-52/+179
| | | | | | | | | | | | | | | | | 2000-10-08 Iain Holmes <iain@helixcode.com> * mail-summary.c (create_summary_view): Updated to use new icon code. 2000-10-08 Iain Holmes <iain@helixcode.com> * mail-summary.c (generate_html_summary): Generic function to recreate the HTML of the summary. Checks all the folder summaries. (generate_folder_summarys): Create a summary of all the vfolders and the Inbox. (create_summary_view): Generate the folder summarys before the HTML. svn path=/trunk/; revision=5806
* Oops, forgot these files last night.Michael Zucci2000-10-102-0/+221
| | | | svn path=/trunk/; revision=5804
* Work around missing files in Zucchi's commit.Ettore Perazzoli2000-10-093-5/+21
| | | | svn path=/trunk/; revision=5801
* New widget, full search dialogue for mail.Not Zed2000-10-0912-50/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-06 Not Zed <NotZed@HelixCode.com> * mail-search-dialogue.c: New widget, full search dialogue for mail. * folder-browser.c (search_set): If we click on custom search, run the full search dialogue. (folder_browser_gui_init): Add a button to perform a full search. (search_full): Bring up the mail search dialogue asynchronously. (search_full_clicked): Handle search options. (folder_browser_destroy): Free the saved rule if there is one there. (search_options[]): Added a custom option option - brings up the full search dialogue. (search_set): Disable the search entry if we are doing a full search. * mail-vfolder.c (vfolder_create_storage): Yay, finally depeterised this stuff. (vfolder_uri_to_folder): Removed an irrelevant comment. * mail-callbacks.c (filter_edit): And here. * mail-ops.c (do_fetch_mail): And here too. * mail-autofilter.c (filter_gui_add_from_message): Fixed call to context_load. (filter_gui_add_for_mailing_list): And here too. * folder-browser-factory.c (create_ondemand_hooks): Remove that ondemand callback snot. 2000-10-05 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_init_etable): Build the etable once we know what folder we are going to use. (save_header_state): Save the header spec to a cache file. (message_list_destroy): Save the header spec. (message_list_setup_etable): Setup the etable spec for this folder, from a saved version if one exists, or to suit the folder type (sent/received). (message_list_set_folder): Setup the etable here once we have a folder. svn path=/trunk/; revision=5798
* re-write.Michael Meeks2000-10-094-11/+26
| | | | | | | | | | | 2000-10-09 Michael Meeks <michael@helixcode.com> * message-list.c (message_list_toggle_threads): re-write. * folder-browser-factory.c (control_activate): update paths, need CVS HEAD bonobo, use a listener not a verb. svn path=/trunk/; revision=5792
* Tag string for translation (do_flag_messages): ditto.Miguel de Icaza2000-10-082-4/+7
| | | | | | | | | 2000-10-08 Miguel de Icaza <miguel@helixcode.com> * mail-ops.c (mail_incorporate_messages): Tag string for translation (do_flag_messages): ditto. svn path=/trunk/; revision=5784
* Repeates writes on EINTRS. (pipe_read): Repeats reads on EINTRS.Miguel de Icaza2000-10-083-24/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-08 Miguel de Icaza <miguel@helixcode.com> * mail-threads.c (pipe_write): Repeates writes on EINTRS. (pipe_read): Repeats reads on EINTRS. (mail_operation_queue): Use pipe_write (mail_op_set_percentage): ditto. (mail_op_hide_progressbar): ditto. (mail_op_show_progressbar): ditto. (mail_op_set_message): ditto. (mail_op_get_password): ditto. (mail_op_error): ditto. (mail_op_forward_event): ditto. (mail_operations_terminate): ditto. (dispatch): use pipe_read. (dispatch): use pipe_write (dispatch): ditto. * mail-ops.c (mail_incorporate_messages): Only show message being incorporated every 2 seconds, to avoid a bunch of CORBA round trips. (do_transfer_messages): ditto. (do_forward_messages): ditto. svn path=/trunk/; revision=5783
* Move the functionality to incorporate messages intoMiguel de Icaza2000-10-082-122/+149
| | | | | | | | | | | 2000-10-07 Miguel de Icaza <miguel@helixcode.com> * mail-ops.c (do_fetch_mail): Move the functionality to incorporate messages into mail_incorporate_messages. (mail_load_evolution_rule_context): New function. Move the functionality for loading the context rules to its own function. svn path=/trunk/; revision=5782
* Fix the locking up of the mail by only calling camel functions from theIain Holmes2000-10-075-53/+163
| | | | | | | | | | | | | | | | | | 2000-10-06 Iain Holmes <iain@helixcode.com> * mail-summary.c: Fix the locking up of the mail by only calling camel functions from the camel thread, and ORBit functions from the GTK thread. Watch for the message-changed signal again. * component-factory.c (summary_fn, component_factory_init): Re-enabled it, cos I think it works again. * mail-display.h: Remove the pb_cache. * Makefile.am: Readd the mail-summary.[ch] files and add the evolution-services library to the link. svn path=/trunk/; revision=5777
* set the @subscribed_only parameter to TRUE, since the subscribe UI is theChris Toshok2000-10-072-1/+7
| | | | | | | | | | 2000-10-06 Chris Toshok <toshok@helixcode.com> * mail-ops.c (do_scan_subfolders): set the @subscribed_only parameter to TRUE, since the subscribe UI is the only interface that should show unsubscribed groups. svn path=/trunk/; revision=5768
* Add missing parameter in call to `camel_store_get_folder_info()'.Ettore Perazzoli2000-10-072-1/+7
| | | | | | (Duh, I hope `FALSE' is fine.) svn path=/trunk/; revision=5763
* Decode the header before writing it to the header box.Jeffrey Stedfast2000-10-062-2/+9
| | | | | | | | | | | | 2000-10-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (write_field_to_stream): Decode the header before writing it to the header box. * mail-callbacks.c (send_receieve_mail): fetch mail before sending, this is a temp fix for POP-before-SMTP authentication. svn path=/trunk/; revision=5759
* fetch mail before sending, this is a temp fix for POP-before-SMTPJeffrey Stedfast2000-10-062-3/+9
| | | | | | | | | 2000-10-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (send_receieve_mail): fetch mail before sending, this is a temp fix for POP-before-SMTP authentication. svn path=/trunk/; revision=5749
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-054-138/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* Use CamelInternetAddress instead of my quick hack (aka InternetAddress).Jeffrey Stedfast2000-10-053-154/+43
| | | | | | | | | 2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (address_compare): Use CamelInternetAddress instead of my quick hack (aka InternetAddress). svn path=/trunk/; revision=5741
* Don't listen for message-changed hook, because it causes a lock up (?)Iain Holmes2000-10-052-3/+4
| | | | svn path=/trunk/; revision=5740
* Add the stuff to make evolution-mail a summary providing component. :)Iain Holmes2000-10-058-46/+254
| | | | svn path=/trunk/; revision=5738
* Add back the "sync folder on leave" hack that got lost in the UIHandlerDan Winship2000-10-052-1/+7
| | | | | | | * folder-browser-factory.c (control_deactivate): Add back the "sync folder on leave" hack that got lost in the UIHandler merge. svn path=/trunk/; revision=5728
* Instead of UnSelectAll, we want InvertSelection.Jeffrey Stedfast2000-10-054-29/+41
| | | | | | | | | | | | | | 2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Instead of UnSelectAll, we want InvertSelection. * mail-callbacks.c (select_all): Finished this function. (invert_selection): Finished. (was unselect_all - but that's not what we really wanted as it'd be pointless. invert_selection is a much more useful callback :-) svn path=/trunk/; revision=5725
* remove news specific check. (mail_tool_uri_to_folder): news: -> nntp:Chris Toshok2000-10-052-9/+8
| | | | | | | | | | 2000-10-04 Chris Toshok <toshok@helixcode.com> * mail-tools.c (mail_tool_get_root_of_store): remove news specific check. (mail_tool_uri_to_folder): news: -> nntp: svn path=/trunk/; revision=5718
* Don't expunge the source mailbox on completion.Jeffrey Stedfast2000-10-052-1/+6
| | | | | | | | | 2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_filter_ondemand): Don't expunge the source mailbox on completion. svn path=/trunk/; revision=5715
* Don't try to add_folders if get_folder_info returned NULL.Dan Winship2000-10-052-2/+9
| | | | | | | * mail-ops.c (do_scan_subfolders): Don't try to add_folders if get_folder_info returned NULL. svn path=/trunk/; revision=5712
* Fix the attachment icon width. (content_is_attachment): Perform someNot Zed2000-10-042-4/+48
| | | | | | | | | | | 2000-10-04 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_init_header): Fix the attachment icon width. (content_is_attachment): Perform some simple tests to see if the message contains an attachment. (build_subtree): Kill a pointless warning. svn path=/trunk/; revision=5707
* Added a comment to a piece of code that I was trying to "fix" just to findMiguel de Icaza2000-10-042-0/+19
| | | | | | | | | | | | | | | 2000-10-04 Miguel de Icaza <miguel@helixcode.com> * mail-callbacks.c (delete_msg): Added a comment to a piece of code that I was trying to "fix" just to find that the strange behaviour here that was about to be fixed, was actually a fix to the problem I was trying to fix. So put the original comments from Dan, and will hope that someone with more knowledge about this can figure why the delete key wont delete messages and select the next unread message. svn path=/trunk/; revision=5701
* destroy our tree_model and remove the root node. also, release_unref ourChris Toshok2000-10-033-6/+34
| | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (subscribe_dialog_destroy): destroy our tree_model and remove the root node. also, release_unref our control and view, and unref the listener. * mail-tools.c (mail_tool_uri_to_folder): news url's contain host names too, now. svn path=/trunk/; revision=5690
* add a storage-set-view-listener, and add a little printf saying whatChris Toshok2000-10-033-2/+30
| | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c, subscribe-dialog.h: add a storage-set-view-listener, and add a little printf saying what storage was selected. svn path=/trunk/; revision=5688
* get Evolution::StorageSetView interface on our storage set view control,Chris Toshok2000-10-032-0/+13
| | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.c (subscribe_dialog_gui_init): get Evolution::StorageSetView interface on our storage set view control, and set "show_folders" to FALSE. svn path=/trunk/; revision=5683
* add -I$(top_srcdir)/widgets/miscChris Toshok2000-10-033-4/+27
| | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * Makefile.am (INCLUDES): add -I$(top_srcdir)/widgets/misc * subscribe-dialog.c (subscribe_dialog_gui_init): change the window title to Manage Subscriptions, bold subscribed folders, and add a title bar ala the evolution shell (but without the close button). svn path=/trunk/; revision=5682
* add fields for the storage set Bonobo_Control and Evolution_StorageSetViewChris Toshok2000-10-033-31/+46
| | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * subscribe-dialog.h: add fields for the storage set Bonobo_Control and Evolution_StorageSetView interfaces. * subscribe-dialog.c (subscribe_dialog_gui_init): create the uih as early as possible, and add the storage set view to the left side of the hpaned. svn path=/trunk/; revision=5681
* remove spurious conflict indicator.Michael Meeks2000-10-031-1/+0
| | | | svn path=/trunk/; revision=5679
* kill.Michael Meeks2000-10-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Michael Meeks <michael@helixcode.com> * e-shell-view.c (setup_bonobo_ui_handler): kill. * e-shell-view-menu.c (e_shell_view_menu_setup): strip out the XML UI merge; move it to * e-shell-view.c (e_shell_view_construct): here, + freeze / thaw pair. * e-shell-view.c (setup_progress_bar): impl. (setup_widgets): hook in. (progress_bar_timeout_cb): fix. (start_progress_bar): fix. (stop_progress_bar): fix. (e_shell_view_construct): setup ui handler first. 2000-09-22 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (e_shell_view_menu_setup): upd. + upd ChangeLogs svn path=/trunk/; revision=5678
* Remove "Port" entry from source dialog. We'll use "host:port" likeDan Winship2000-10-032-75/+25
| | | | | | | | | | * mail-config-gui.c: Remove "Port" entry from source dialog. We'll use "host:port" like Netscape and other programs do. (service_page_get_url): If host ends in ":###", use that as port. (service_page_set_url): If URL contains a port, append it to the hostname, separated by a colon. svn path=/trunk/; revision=5670
* subscribe-control.[ch] -> subscribe_dialog.[ch]Chris Toshok2000-10-037-78/+95
| | | | | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * Makefile.am (evolution_mail_SOURCES): subscribe-control.[ch] -> subscribe_dialog.[ch] * mail-callbacks.c (manage_subscriptions): subscribe_control -> subscribe_dialog. Also, pass the shell to subscribe_dialog_new. * mail-types.h: SubscribeControl -> SubscribeDialog. * subscribe-dialog.c, subscribe-dialog.h: rename from subscribe-control.[ch]. * subscribe-dialog.c (subscribe_dialog_construct): pass Evolution_Shell in. (subscribe_dialog_new): takes Evolution_Shell argument now. svn path=/trunk/; revision=5668
* remove the 2 tree pixbufs, so adjust the offsets to the score pixbufs.Chris Toshok2000-10-032-7/+8
| | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * message-list.c (message_list_init_renderers): remove the 2 tree pixbufs, so adjust the offsets to the score pixbufs. also, pass NULL for the open/closed pixbufs to the tree cell renderer. svn path=/trunk/; revision=5667
* Update for CamelFolderInfo changes.Dan Winship2000-10-034-48/+52
| | | | | | | | | | | | | * mail-ops.c (mail_do_scan_subfolders, etc): Update for CamelFolderInfo changes. * message-list.c (message_list_destroy): Don't save_tree_state if there's no folder associated with the MessageList. * folder-browser.c (folder_browser_set_uri): Only call mail_do_load_folder if the URI is not "". svn path=/trunk/; revision=5664
* Add a cache for the pixbufs, hashed on CID, so that we only have to make aIain Holmes2000-10-023-81/+174
| | | | | | | | | | | | | | | 2000-10-02 Iain Holmes <iain@helixcode.com> * mail-display.[ch]: Add a cache for the pixbufs, hashed on CID, so that we only have to make a thumbnail once. 2000-10-01 Iain Holmes <iain@helixcode.com> * mail-display.c: Generate the thumbnails on an idle function so that the user interface isn't locked. Checks in case the widget it will use to display the image isn't destroyed. svn path=/trunk/; revision=5653
* Eye-candy, eye-candy.Iain Holmes2000-10-012-10/+106
| | | | | | Added attachment image thumbnailing to mail-display.c svn path=/trunk/; revision=5649
* Add print preview verb here.Miguel de Icaza2000-09-305-51/+140
| | | | | | | | | | | | | 2000-09-29 Miguel de Icaza <miguel@helixcode.com> * folder-browser-factory.c: Add print preview verb here. * mail-callbacks.c (do_mail_print): Handle printing here, the complete engine. (mail_print_preview_msg): new. does print previewing. (mail_print_msg): does printing of the message. svn path=/trunk/; revision=5641
* nuked.Chris Toshok2000-09-309-332/+227
| | | | | | | | | | | | | | | | | | | | | | | 2000-09-29 Chris Toshok <toshok@helixcode.com> * subscribe-control-factory.c, subscribe-control-factory.h: nuked. * subscribe-control.c, subscribe-control.h: lots of changes. we now pop up a dialog, and will have a storage set view on our left side, like the shell does. * mail.h: add prototype for manage_subscriptions. * mail-callbacks.c (manage_subscriptions): new function, pops up the subscribe dialog. * folder-browser-factory.c: add the verb for managing subscriptions. * Makefile.am (evolution_mail_SOURCES): add subscribe-control.[ch] again. svn path=/trunk/; revision=5637
* added prototype.Chris Toshok2000-09-294-7/+61
| | | | | | | | | | | | | | | 2000-09-28 Chris Toshok <toshok@helixcode.com> * subscribe-control.h (subscribe_search): added prototype. * subscribe-control.c (subscribe_search): new function. * subscribe-control-factory.c (make_folder_search_widget): new function, to add search widget to toolbar. (control_activate): create the search widget and add it to the toolbar. svn path=/trunk/; revision=5632
* Messages should be appended to Sent as Seen. (do_send_mail): Same.Jeffrey Stedfast2000-09-292-2/+8
| | | | | | | | | | 2000-09-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_send_queue): Messages should be appended to Sent as Seen. (do_send_mail): Same. svn path=/trunk/; revision=5622
* Don't compile the subscribe control for now, as it needs to beEttore Perazzoli2000-09-282-4/+6
| | | | | | | converted to the new Bonobo UI handler code first. (It doesn't even compile with the current Bonobo.) svn path=/trunk/; revision=5617
* new function.Chris Toshok2000-09-284-8/+86
| | | | | | | | | | | | | 2000-09-27 Chris Toshok <toshok@helixcode.com> * subscribe-control.c (subscribe_refresh_list): new function. * subscribe-control.h (subscribe_refresh_list): new prototype. * subscribe-control-factory.c (update_pixmaps): add RefreshList pixmap. also, add it to the verbs list. svn path=/trunk/; revision=5612
* add SubscribeControl typedef.Chris Toshok2000-09-287-0/+673
| | | | | | | | | | | | | | | 2000-09-27 Chris Toshok <toshok@helixcode.com> * mail-types.h: add SubscribeControl typedef. * Makefile.am (evolution_mail_SOURCES): add the subscribe stuff. * subscribe-control-factory.h * subscribe-control-factory.c * subscribe-control.c: * subscribe-control.h: Mostly mocked up subscribe ui. svn path=/trunk/; revision=5610
* Note: We need a configuration option to specify whether to log filteringJeffrey Stedfast2000-09-282-3/+40
| | | | | | | | | | | | | 2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> Note: We need a configuration option to specify whether to log filtering actions or not. * mail-ops.c (do_filter_ondemand): Updated to pass a log file pointer to filter_driver_run. (do_fetch_mail): Same. (mail_do_fetch_mail): Fixed a compiler warning. svn path=/trunk/; revision=5604
* Fix it so that "send later" will still mark a message as being replied,Jeffrey Stedfast2000-09-282-0/+16
| | | | | | | | | | 2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_postpone_cb): Fix it so that "send later" will still mark a message as being replied, forwarded, whatever. Closes bug #568 on bugzilla. svn path=/trunk/; revision=5602
* If the message has been deleted, don't try filtering it - skip to the nextJeffrey Stedfast2000-09-282-0/+14
| | | | | | | | | | 2000-09-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_filter_ondemand): If the message has been deleted, don't try filtering it - skip to the next message. Fixes bugzilla bug #639. svn path=/trunk/; revision=5601
* Shuffling (un)select all menu items to the Edit menu.Jeffrey Stedfast2000-09-262-4/+10
| | | | | | | | | 2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Shuffling (un)select all menu items to the Edit menu. svn path=/trunk/; revision=5587
* Added new menu itemsJeffrey Stedfast2000-09-264-25/+77
| | | | | | | | | | | | | | | | | 2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added new menu items * mail-callbacks.c (mark_as_seen): New callback to mark all selected messages as Seen. (mark_as_unseen): New callback to mark all selected messages as Unseen. (select_all): New callback to select all messages (not yet finished) (unselect_all): New callback to unselect all messages (not yet finished) svn path=/trunk/; revision=5585
* Function to convert a folder name/path to a filename for per-folder data.Not Zed2000-09-263-16/+174
| | | | | | | | | | | | | | | | | | | 2000-09-25 Not Zed <NotZed@HelixCode.com> * message-list.c (folder_to_cachename): Function to convert a folder name/path to a filename for per-folder data. (save_tree_state): (load_tree_state): (free_tree_state): For loading/saving the state of the expansion of nodes in the tree. (message_list_destroy): Save the tree state when done. (save_node_state): Changed logic, we save when the node should be closed on startup. i.e. any new nodes with children automatically default to being open. (subtree_unread): Check for unread messages in a subtree. So false messages (for tree roots) are properly displayed. svn path=/trunk/; revision=5584
* Updated to use Nat's ENameWestern parser.Jeffrey Stedfast2000-09-263-6/+54
| | | | | | | | | | | 2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (address_compare): Updated to use Nat's ENameWestern parser. * Makefile.am: link against e-util/ename/libename.la svn path=/trunk/; revision=5583
* CamelException is not for compile-time errors. Replace lots of argumentDan Winship2000-09-262-485/+95
| | | | | | | | | | * mail-ops.c: CamelException is not for compile-time errors. Replace lots of argument checks in setup_ functions with g_return_if_fails in the public functions. Also remove some prototypes that weren't needed because they were for static functions that are defined before they're used. svn path=/trunk/; revision=5576