aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Updates for the Bonobo changes from Michael who is having someEttore Perazzoli2000-09-232-27/+11
| | | | | | troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560
* Fix a crash that happened on my system when sorting by the "From"Ettore Perazzoli2000-09-232-2/+16
| | | | | | | field. (The address parsing code failed miserably if the first character was a space.) svn path=/trunk/; revision=5559
* New comparison function for email addresses. (subject_compare): NewJeffrey Stedfast2000-09-231-6/+23
| | | | | | | | | | | 2000-09-22 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (address_compare): New comparison function for email addresses. (subject_compare): New comparison function for message subjects. (message_list_init_header): Updated to use the new compare funcs. svn path=/trunk/; revision=5554
* New comparison function for email addresses. (subject_compare): NewJeffrey Stedfast2000-09-222-3/+169
| | | | | | | | | | | 2000-09-22 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (address_compare): New comparison function for email addresses. (subject_compare): New comparison function for message subjects. (message_list_init_header): Updated to use the new compare funcs. svn path=/trunk/; revision=5546
* Fixed some memory leakage. Call free_recipients() so we don't leak memory.Jeffrey Stedfast2000-09-223-10/+26
| | | | | | | | | 2000-09-21 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Fixed some memory leakage. Call free_recipients() so we don't leak memory. svn path=/trunk/; revision=5542
* s/Bonobo_UIHandler/Bonobo_UIContainer/Michael Meeks2000-09-212-6/+5
| | | | | | s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
* Use the folder's full_name so recursive directory structures displayJeffrey Stedfast2000-09-202-2/+7
| | | | | | | | | 2000-09-19 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_scan_subfolders): Use the folder's full_name so recursive directory structures display correctly ;-) svn path=/trunk/; revision=5507
* Update for CamelFolder changes (subfolder_names -> subfolder_info).Dan Winship2000-09-202-5/+13
| | | | | | | * mail-ops.c (do_scan_subfolders): Update for CamelFolder changes (subfolder_names -> subfolder_info). svn path=/trunk/; revision=5504
* Deal with NULL composer.Dan Winship2000-09-195-16/+36
| | | | | | | | | | * mail-callbacks.c (create_msg_composer, compose_msg, send_to_url, mail_reply, forward_msg): * mail-format.c (mail_generate_reply): * mail-ops.c (cleanup_edit_messages): * mail-view.c (view_forward_msg): Deal with NULL composer. svn path=/trunk/; revision=5502
* Call gnome_vfs_init() since the composer now does file operations (to getDan Winship2000-09-192-0/+8
| | | | | | | * main.c (main): Call gnome_vfs_init() since the composer now does file operations (to get the MIME type of attachments). svn path=/trunk/; revision=5495
* Removed COL_ONLINE_STATUS because we don't want that. Renamed COL_PRIORITYJeffrey Stedfast2000-09-193-123/+169
| | | | | | | | | | 2000-09-18 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c: Removed COL_ONLINE_STATUS because we don't want that. Renamed COL_PRIORITY to COL_SCORE and set it up to sort-of work, I'm not really sure which renderer I should use. svn path=/trunk/; revision=5493
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1812-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Everywhere add a -DEVOLUTION_DATADIR=${datadir} in the Makefile.amMichael Meeks2000-09-173-1/+9
| | | | | | | | And use this in grabbing the ui from the xml file. Requires HEAD bonobo. svn path=/trunk/; revision=5474
* Revert **Temp fix** from below since the relevant shell bug has been fixedDan Winship2000-09-152-4/+9
| | | | | | | * mail-callbacks.c (transfer_msg): Revert **Temp fix** from below since the relevant shell bug has been fixed now. svn path=/trunk/; revision=5453
* Don't get_message_flags, because POP doesn't support it and it's pointlessDan Winship2000-09-152-6/+7
| | | | | | | | | * mail-ops.c (do_fetch_mail): Don't get_message_flags, because POP doesn't support it and it's pointless anyway since we're setting deleted, not toggling it. call camel_folder_sync with expunge=TRUE so that the deletions are actually recorded. svn path=/trunk/; revision=5450
* Fix the sense of the "keep on server" check so we're not doing thisDan Winship2000-09-152-1/+6
| | | | | | | * mail-ops.c (do_fetch_mail): Fix the sense of the "keep on server" check so we're not doing this backwards. svn path=/trunk/; revision=5447
* This bug was so much fun to fix the first time that I decided toDan Winship2000-09-152-1/+14
| | | | | | | | | | | | | fix it again. 2000-07-11 Dan Winship <danw@helixcode.com> * mail-ops.c (real_send_mail): Set the post_send_data flag rather than toggling it. (Maybe we'll need more control over it later, but for now, the only flag we set is "replied", and we want that set, not toggled.) svn path=/trunk/; revision=5445
* **Temp fix** Send "" as the default folder to select as anything elseJeffrey Stedfast2000-09-152-16/+25
| | | | | | | | | | | | 2000-09-14 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (transfer_msg): **Temp fix** Send "" as the default folder to select as anything else seems to cause a segfault in shell's user_get_folder(). (check_configured): A spoon full of 'line wrapping' makes the medicine go down, the medicine go dowwwwn... svn path=/trunk/; revision=5442
* Made a nicer dialog for the "You have not configured the mail client" errorIain Holmes2000-09-152-13/+26
| | | | svn path=/trunk/; revision=5440
* camel_folder_append is perfectly happy to take a NULL info.Dan Winship2000-09-142-6/+5
| | | | | | | * mail-ops.c (setup_append_mail): camel_folder_append is perfectly happy to take a NULL info. svn path=/trunk/; revision=5429
* add bonobo_ui_handler_unset_container to stop menus screwing up.Michael Meeks2000-09-142-0/+4
| | | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * folder-browser-factory.c (control_deactivate): add bonobo_ui_handler_unset_container to stop menus screwing up. * Add 2 missing stock icons in toolbar. svn path=/trunk/; revision=5428
* Make Tigert's icons work again.Michael Meeks2000-09-142-8/+9
| | | | svn path=/trunk/; revision=5427
* Move a couple of helpers into Bonobo before more people start the re-buildMichael Meeks2000-09-142-17/+4
| | | | | | treadmill. svn path=/trunk/; revision=5426
* Changed the include here because it caused make distcheck to fail for me.Christopher James Lahey2000-09-142-1/+7
| | | | | | | | | | 2000-09-14 Christopher James Lahey <clahey@helixcode.com> * mail-config-gui.h: Changed the include here because it caused make distcheck to fail for me. I changed it from <Evolution.h> to "shell/Evolution.h". This seems to have fixed things. svn path=/trunk/; revision=5425
* Only use the cache if the user plans to keep_on_server.Jeffrey Stedfast2000-09-142-20/+27
| | | | | | | | | 2000-09-14 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Only use the cache if the user plans to keep_on_server. svn path=/trunk/; revision=5422
* kill warning. (control_activate): set threaded toggle state, add freeze /Michael Meeks2000-09-142-76/+74
| | | | | | | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * folder-browser-factory.c (control_deactivate): kill warning. (control_activate): set threaded toggle state, add freeze / thaw. (set_pixmap, fill_toolbar, update_pixmaps): update. 2000-09-14 Michael Meeks <michael@helixcode.com> * POTFILES.in: s/minicard/widgets/ svn path=/trunk/; revision=5421
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-223/+80
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Fixed a warning (Missing include file.)Christopher James Lahey2000-09-142-0/+6
| | | | | | | | | 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c: Fixed a warning (Missing include file.) svn path=/trunk/; revision=5413
* Thou shalt add a space after `-I' when invoking `orbit-idl'.Ettore Perazzoli2000-09-132-1/+5
| | | | svn path=/trunk/; revision=5386
* Get rid of the `ui.xml' stuff that Michael committed, as it's breakingEttore Perazzoli2000-09-132-4/+5
| | | | | | distcheck. svn path=/trunk/; revision=5381
* Tidy some xml.Michael Meeks2000-09-131-170/+0
| | | | svn path=/trunk/; revision=5376
* set folder_tree before adding the listener, since that will eventuallyDan Winship2000-09-132-2/+6
| | | | | | | | * mail-local-storage.c (mail_local_storage_startup): set folder_tree before adding the listener, since that will eventually invoke callbacks that will look at it. svn path=/trunk/; revision=5374
* sync the folder on deactivate.Dan Winship2000-09-132-0/+6
| | | | | | | * folder-browser-factory.c (control_deactivate): sync the folder on deactivate. svn path=/trunk/; revision=5370
* For additional coolness, display the name of the mailing list in theEttore Perazzoli2000-09-124-7/+34
| | | | | | | | right-click menu. Also, make the action box appear in the filter dialog and fix a stupid cut & paste bug that prevented the code from checking for the right headers. svn path=/trunk/; revision=5365
* Grey out the "Filter for Mailing List" item if we cannot figure out aEttore Perazzoli2000-09-123-36/+70
| | | | | | mailing list for the selected message. svn path=/trunk/; revision=5364
* Cool Hack of the Day: right-click menu item to autodetect what mailingEttore Perazzoli2000-09-1211-38/+543
| | | | | | | | | | list a message comes from and create the rule for it on the fly. (Many thanks to Joakim for suggesting the way to implement this.) Also, use the new shiny toolbar icons from TigerT and mark some strings for translation. svn path=/trunk/; revision=5362
* Was trying to unhook an event from the wrong folder - oops.Jeffrey Stedfast2000-09-122-1/+6
| | | | | | | | | 2000-09-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Was trying to unhook an event from the wrong folder - oops. svn path=/trunk/; revision=5356
* (prune_empty): Plugged another small leak.Michael Zucci2000-09-122-0/+2
| | | | svn path=/trunk/; revision=5353
* Reverted to version 1.15. (remove_node): Ok, if a node has a parent,Not Zed2000-09-122-313/+63
| | | | | | | | | | | | 2000-09-12 Not Zed <NotZed@HelixCode.com> * message-thread.c: Reverted to version 1.15. (remove_node): Ok, if a node has a parent, remove it from the parent list, otherwise remove it from the (supplied) root list. (group_root_set): When we merge children, free the lost node. (thread_messages_free): Remove the return, run as is. svn path=/trunk/; revision=5352
* added some comments (no source code changes)Jeffrey Stedfast2000-09-121-1/+2
| | | | svn path=/trunk/; revision=5351
* ChangeLog for my previous commit.Ettore Perazzoli2000-09-121-0/+9
| | | | svn path=/trunk/; revision=5349
* Updated to use the new mail_do_filter_ondemand.Jeffrey Stedfast2000-09-124-26/+34
| | | | | | | | | | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (run_filter_ondemand): Updated to use the new mail_do_filter_ondemand. * mail-ops.c (do_fetch_mail): Update to use the new filter_driver_run args. (do_filter_ondemand): Updated to use the new filter_driver_run args. (mail_do_filter_ondemand): Take a FilterContext as a argument instead of a driver as we need to destroy the filter inside the do_filter_ondemand function and things'd get messy. svn path=/trunk/; revision=5347
* Don't have the filter driver self_destruct.Jeffrey Stedfast2000-09-122-1/+6
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Don't have the filter driver self_destruct. svn path=/trunk/; revision=5345
* Added a simple LocalStorage manager module so that we can hook upEttore Perazzoli2000-09-124-0/+227
| | | | | | folder read/unread message count information into it. svn path=/trunk/; revision=5337
* If we're fetching from an mbox formatted file then we need to do someJeffrey Stedfast2000-09-122-1/+9
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): If we're fetching from an mbox formatted file then we need to do some special-casing. svn path=/trunk/; revision=5329
* Accidently didn't commit the ChangeLogChris Lahey2000-09-121-0/+4
| | | | svn path=/trunk/; revision=5328
* Fixed some warnings.Christopher James Lahey2000-09-121-4/+4
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * mail-display.c: Fixed some warnings. svn path=/trunk/; revision=5327
* Another big rewrite of this stuff. Now all (well, most) attachments get aDan Winship2000-09-124-357/+505
| | | | | | | | | | | | | | * mail-display.c, mail-format.c: Another big rewrite of this stuff. Now all (well, most) attachments get a small icon with a description and a (non-obvious) right-click pop-up menu with options to save, open in an external program, or show/hide inline. TODO: antialias the icon, add more options to the pop-up for certain MIME types, add an icon to the headers, fix PGP to work like everything else, fix message/external-body to work again, add some icon caching action, etc, etc. svn path=/trunk/; revision=5326
* might be a good idea to *save* the uids in the cache when we're done ↵Jeffrey Stedfast2000-09-101-1/+9
| | | | | | fetching mail ;-) svn path=/trunk/; revision=5291
* Use the CamelUIDCache so that we only retrieve *new* messages and alsoJeffrey Stedfast2000-09-102-1/+34
| | | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Use the CamelUIDCache so that we only retrieve *new* messages and also send notes to the status bar telling it which message we're downloading so that Ettore can sleep at night ;-) svn path=/trunk/; revision=5290
* Updated to not send hook/unhook data to filter_driver_run as it no longerJeffrey Stedfast2000-09-102-2/+14
| | | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Updated to not send hook/unhook data to filter_driver_run as it no longer takes those args. (do_filter_ondemand): Same. Also wrap filtering in freeze/thaw to prevent signals from being queued up svn path=/trunk/; revision=5288
* Freeze the default folder before filtering and thaw it afterward toJeffrey Stedfast2000-09-102-1/+17
| | | | | | | | | | 2000-09-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Freeze the default folder before filtering and thaw it afterward to prevent a ton of "folder_changed" signals from being queued. svn path=/trunk/; revision=5286
* Fixed some warnings.Christopher James Lahey2000-09-095-5/+171
| | | | | | | | | | | 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c, mail-config-gui.c, mail-ops.c: Fixed some warnings. * message-list.c: Added base ETableModel functions. svn path=/trunk/; revision=5268
* Updated to pass a CamelMessageInfo to filter_driver_runJeffrey Stedfast2000-09-082-6/+42
| | | | | | | | | | 2000-09-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Updated to pass a CamelMessageInfo to filter_driver_run (do_filter_ondemand): Same. svn path=/trunk/; revision=5252
* Updated to check the boolean return code from fulter_driver_run to findJeffrey Stedfast2000-09-082-6/+24
| | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_filter_ondemand): Updated to check the boolean return code from fulter_driver_run to find out whether or not the message was filtered so that it can decide whether or not to delete the message from the source folder or not. svn path=/trunk/; revision=5250
* *** empty log message ***Jesse Pavel2000-09-081-0/+6
| | | | svn path=/trunk/; revision=5247
* I changed the Reply-All behavior so that the sender's address doesJesse Pavel2000-09-081-2/+10
| | | | | | not appear in the cc: field. svn path=/trunk/; revision=5246
* Preliminaries for new UI handler.Michael Meeks2000-09-082-1/+174
| | | | svn path=/trunk/; revision=5245
* oops, forgot to pass "expunge" to camel_folder_sync - this should fix thatJeffrey Stedfast2000-09-081-1/+1
| | | | svn path=/trunk/; revision=5244
* Updated to pass an exception to filter_driver_run and also check theJeffrey Stedfast2000-09-082-4/+16
| | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Updated to pass an exception to filter_driver_run and also check the exception before deleting the message from the source folder. (do_filter_ondemand): Updated to pass an exception to filter_driver_run svn path=/trunk/; revision=5242
* Pass a storage dir to camel_session_new now.Dan Winship2000-09-084-4/+16
| | | | | | | | | | | | * session.c (session_init): Pass a storage dir to camel_session_new now. * main.c (main): Can't call session_init here now, because it requires evolution_dir to be set. * component-factory.c (owner_set_cb): call session_init here. svn path=/trunk/; revision=5240
* Fix previous fix. (Free the uids, just do it correctly.)Dan Winship2000-09-082-0/+6
| | | | | | | * mail-ops.c (do_fetch_mail): Fix previous fix. (Free the uids, just do it correctly.) svn path=/trunk/; revision=5238
* Don't free uids, let the camel folder do that when it gets finalizedJeffrey Stedfast2000-09-082-3/+8
| | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_fetch_mail): Don't free uids, let the camel folder do that when it gets finalized svn path=/trunk/; revision=5237
* Bunch of unicode related changesLauris Kaplinski2000-09-082-3/+3
| | | | svn path=/trunk/; revision=5235
* New async function to filter messages on demand. (do_fetch_mail): UpdatedJeffrey Stedfast2000-09-076-186/+273
| | | | | | | | | | | | | | | | | | | | 2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_filter_ondemand): New async function to filter messages on demand. (do_fetch_mail): Updated to filter 1 message at a time using the new filter-driver code * mail-callbacks.c (composer_postpone_cb): Send NULL as the message info. (run_filter_ondemand): Use mail_do_filter_ondemand instead of filter_driver_run * mail-tools.c: Removed mail_tool_filter_contents_into and mail_tool_fetch_mail_into_searchable as they have now been deprecated. svn path=/trunk/; revision=5225
* set the data to NULL for the tree root, so nuke_uids won't try to freeDan Winship2000-09-072-1/+6
| | | | | | | * message-list.c (clear_tree): set the data to NULL for the tree root, so nuke_uids won't try to free anything. svn path=/trunk/; revision=5222
* Fix memory handling for the shell's CORBA object reference within theEttore Perazzoli2000-09-065-17/+51
| | | | | | folder browser. svn path=/trunk/; revision=5221
* camel_mime_part_get_filename now deals with both Content-Disposition andDan Winship2000-09-064-23/+10
| | | | | | | | | | * mail-display.c (make_safe_filename): * mail-format.c (handle_mystery): * mail-identify.c (mail_identify_mime_part): camel_mime_part_get_filename now deals with both Content-Disposition and Content-Type. svn path=/trunk/; revision=5215
* kill a warningDan Winship2000-09-061-1/+1
| | | | svn path=/trunk/; revision=5214
* Add a use-default-port option to the source editor ; bugfixesPeter Williams2000-09-064-47/+204
| | | | svn path=/trunk/; revision=5208
* Re-rename "Sent".Dan Winship2000-09-062-1/+3
| | | | | | * component-factory.c (owner_set_cb): Re-rename "Sent". svn path=/trunk/; revision=5207
* Remove the "+ 90" here since it seems to break things for me, and it's notDan Winship2000-09-062-1/+7
| | | | | | | | * folder-browser.c (fb_resize_cb): Remove the "+ 90" here since it seems to break things for me, and it's not commented anyway and there's no excuse for adding 90 to a number with no explanation. svn path=/trunk/; revision=5205
* Cleanup of lots of exception handling ; bugfixesPeter Williams2000-09-062-3/+9
| | | | svn path=/trunk/; revision=5202
* only call camel_folder_get_message_info if the folder hasDan Winship2000-09-062-52/+48
| | | | | | | | | * mail-tools.c (mail_tool_move_folder_contents): only call camel_folder_get_message_info if the folder has summary_capability. Don't hack up a fake CamelMessageInfo: append_message will take NULL. svn path=/trunk/; revision=5201
* Replace mail_do_setup_draftbox, mail_do_setup_outbox, andDan Winship2000-09-064-148/+66
| | | | | | | | | | | | | | * mail-ops.c: Replace mail_do_setup_draftbox, mail_do_setup_outbox, and mail_do_setup_sentbox with mail_do_setup_folder. (do_send_mail, do_send_queue): s/sentbox_folder/sent_folder/ * component-factory.c (owner_set_cb): Use mail_do_setup_folder, rename sentbox_folder to sent_folder, and call mail_operation_wait_for_finish after the setup_folder calls in case anything needs to use the _folder variables. svn path=/trunk/; revision=5200
* Applied Jesse's patch that will append a signature to the replied messageJeffrey Stedfast2000-09-043-22/+36
| | | | | | | | | | | | | 2000-09-04 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Applied Jesse's patch that will append a signature to the replied message text * folder-browser-factory.c: Changed "Send & Receieve" back to "Get Mail" temporarily so that the toolbar buttons don't all get stretched to some weird proportion svn path=/trunk/; revision=5191
* Copy the passed in item before adding (mail_config_add_source): dittoJP Rosevear2000-09-033-20/+45
| | | | | | | | | | | | | | | | | | | | 2000-09-03 JP Rosevear <jpr@helixcode.com> * mail-config.c (mail_config_add_news): Copy the passed in item before adding (mail_config_add_source): ditto (mail_config_add_identity): ditto * mail-config-gui.c (mail_config): We don't actually need a notebook pointer. (identities_edit_clicked): Don't explicitly destroy, we are using gtk_clist_set_data_full now (sources_edit_clicked): ditto (news_edit_clicked): ditto (mail_config): Use gtk_clist_set_row_data_full to kill leaks svn path=/trunk/; revision=5185
* Change the "Get Mail" toolbar button to become "Send & Receieve"Jeffrey Stedfast2000-09-037-41/+263
| | | | | | | | | | | | | | | | | | | | 2000-09-03 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Change the "Get Mail" toolbar button to become "Send & Receieve" * mail-callbacks.c (send_queued_mail): New callback function for sending queued mail (send_receieve_mail): New callback for Send & Receieve that basically just calls send_queued_mail and then fetch_mail * mail-ops.c (cleanup_send_mail): Mod to be able to handle a NULL composer window (setup_send_mail): Modified to handle a NULL composer widget (mail_do_send_queue): New convenience async function to send all messages in a folder (aka all messages in a queue) svn path=/trunk/; revision=5184
* Since POP3 doesn't implement get_message_info, we need to check for infoJeffrey Stedfast2000-09-032-40/+61
| | | | | | | | | | | | | 2000-09-02 Jeffrey Stedfast <fejj@helixcode.com> * mail-tools.c (mail_tool_move_folder_contents): Since POP3 doesn't implement get_message_info, we need to check for info to be NULL. In this case, we need to make our own info structure to pass to append_message and then remember to free it afterward. Should we even bother with get_message_info? And if so, should we then implement get_message_info for POP3? svn path=/trunk/; revision=5182
* Make the `Home' and `End' keys do the Right Thing. Remove circularEttore Perazzoli2000-09-035-24/+101
| | | | | | reference to the shell. Bind "Open in New Window" to `Ctrl-O'. svn path=/trunk/; revision=5181
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-023-12/+22
| | | | svn path=/trunk/; revision=5180
* Added calendar/conduits/Makefile, calendar/conduits/calendar/Makefile andChristopher James Lahey2000-09-022-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-02 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added calendar/conduits/Makefile, calendar/conduits/calendar/Makefile and calendar/conduits/todo/Makefile to the list of makefiles to output. From calendar/ChangeLog: 2000-09-02 Christopher James Lahey <clahey@helixcode.com> * conduits/calendar/calendar-conduit.c, conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c: Fixed some warnings. From mail/ChangeLog: 2000-09-01 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Removed a warning. svn path=/trunk/; revision=5179
* Attach a callback to the postpone signal (send_to_url): Same (mail_reply):Jeffrey Stedfast2000-09-025-26/+197
| | | | | | | | | | | | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (compose_msg): Attach a callback to the postpone signal (send_to_url): Same (mail_reply): Same (forward_msg): Same (composer_postpone_cb): Callback function for the postpone signal * mail-ops.c (mail_do_setup_outbox): New convenience function to load the Outbox folder (mail_do_setup_sentbox): Same, but for Sentbox. (do_send_mail): Now saves messages in Sentbox if sent successfully (mail_do_append_mail): New convenience async function for appending messages to a folder * component-factory.c: Added outbox_folder and sent_folder (owner_set_cb): Call our new convenience functions to load Outbox and Sentbox svn path=/trunk/; revision=5178
* New convenience function to load the Outbox folderJeffrey Stedfast2000-09-024-14/+153
| | | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_setup_outbox): New convenience function to load the Outbox folder (mail_do_setup_sentbox): Same, but for Sentbox. (do_send_mail): Now saves messages in Sentbox if sent successfully * component-factory.c: Added outbox_folder and sent_folder (owner_set_cb): Call our new convenience functions to load Outbox and Sentbox svn path=/trunk/; revision=5172
* Changed `Evolution::Storage' so that the displayed name for a folderEttore Perazzoli2000-09-013-2/+13
| | | | | | | is decoupled from its path, and updated all the components accordingly. svn path=/trunk/; revision=5159
* Make the HTML widget grab the focus in the mail view window so thatEttore Perazzoli2000-08-312-0/+6
| | | | | | you can scroll with the keyboard without clicking on the widget first. svn path=/trunk/; revision=5130
* Make CamelServices connect only when told to (old behavior). Make ↵Peter Williams2000-08-313-78/+26
| | | | | | CamelRemoteStore do its stuff in service::connect, not ::post_connect. svn path=/trunk/; revision=5116
* Fixing a spurious unref, or creating a circular reference? You decide.Peter Williams2000-08-302-0/+12
| | | | svn path=/trunk/; revision=5104
* Update this and related functions to no longer take a From address. (TheDan Winship2000-08-304-41/+26
| | | | | | | | | | | | | | | | | * mail-ops.c (mail_do_send_mail): Update this and related functions to no longer take a From address. (The composer deals with it itself now.) (do_send_mail): Add the Evolution version back to the X-Mailer header (this change got lost in the thread migration). * mail-callbacks.c (composer_send_cb): Don't re-fetch the From address. It's set by the composer now. Don't free the post_send_data from here. (mail_reply): Attach to the composer's destroy signal to free the psd. (The current code would free it more than once if an error occurred while trying to send the first time.) svn path=/trunk/; revision=5102
* Add new news stores as well as mail sourcesPeter Williams2000-08-292-0/+11
| | | | svn path=/trunk/; revision=5088
* Free the from address when we're done with it. Also,Jeffrey Stedfast2000-08-292-12/+16
| | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Free the from address when we're done with it. Also, e_msg_composer_hdrs_get_from returns alloc'd memory so don't strdup it. svn path=/trunk/; revision=5083
* Add more user-friendly progress messages from the friendly folks at Helix ↵Peter Williams2000-08-283-3/+27
| | | | | | Code (TM) svn path=/trunk/; revision=5076
* Display the number of messages downloaded starting from one instead ofEttore Perazzoli2000-08-283-16/+49
| | | | | | | | | | | | zero. Improve the behavior of the mail view in a separate window by reusing the same size as the last resize (we could have a better policy, but this should be enough for now). Also, create the toolbar the right way so that we respect the global GNOME settings without doing it manually. svn path=/trunk/; revision=5075
* Goodbye, GDK_THREADS!Peter Williams2000-08-2811-102/+31
| | | | svn path=/trunk/; revision=5074
* Fix to prevent possible buffer overflows and a logic fix.Jeffrey Stedfast2000-08-282-5/+5
| | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Fix to prevent possible buffer overflows and a logic fix. svn path=/trunk/; revision=5071
* Fix to prevent possible buffer overflowsJeffrey Stedfast2000-08-282-34/+42
| | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Fix to prevent possible buffer overflows svn path=/trunk/; revision=5070