aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only count hidden messages which are in the folder. Should probablyNot Zed2002-08-062-2/+28
| | | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * message-list.c (message_list_hidden): Only count hidden messages which are in the folder. Should probably maintain hidden table better. For #4334. svn path=/trunk/; revision=17707
* Add messageinfo to id table, and store array index in messageinfo too.Not Zed2002-08-063-82/+75
| | | | | | | | | | | | | | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * providers/pop3/camel-pop3-folder.c (cmd_list): Add messageinfo to id table, and store array index in messageinfo too. (fi_to_index): Removed, use index member of messageinfo, fixed callers. (cmd_builduid): Parse the headers of the data, and ignore any status or x-status headers. (uid_to_fi): Removed, use the hashtable instead. (id_to_fi): Same. (cmd_uidl): Add messageinfo to uid table. (pop3_refresh_info): Setup hash tables, and fill out uid table for nonuid capable servers. (pop3_finalize): Destroy hash tables. Only free resources if the uids table is not null (if finalised before we ran refresh info). (id_to_fi): Removed. Use id hash table instead, fixed caller. svn path=/trunk/; revision=17706
* Check driver != NULL, if folder_filter freed it already.Not Zed2002-08-062-2/+6
| | | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * mail-ops.c (fetch_mail_fetch): Check driver != NULL, if folder_filter freed it already. svn path=/trunk/; revision=17705
* Unref the driver before returning to main thread, so any closingNot Zed2002-08-067-173/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * mail-ops.c (filter_folder_filter): Unref the driver before returning to main thread, so any closing operations are handled async (as in fetch_mail_fetch()), for #28072. ** fixes for #24605. * mail-vfolder.c (vfolder_gui_add_from_mlist): Removed. * folder-browser.c (filter_type_uid,vfolder_type_uid): Changed to accept args directly. Fixed callers. (filter_mlist_uid,vfolder_mlist_uid): Use filter_type_uid instead of mlist variant. (vfolder_type_current): new function to handle setup of vfolders from the main menu. It now uses the vfolder_type_uid function the same as the popup. (vfolder_subject, vfolder_sender, vfolder_recipient, vfolder_mlist): Changed to use vfolder_type_current. (filter_type_current): Similar for filters. (filter_subject, filter_sender, filter_recipient, filter_mlist): Changed to use filter_type_current. * mail-autofilter.c (rule_from_message): Handle AUTO_MLIST type. (rule_from_mlist): (vfolder_rule_from_mlist): (filter_rule_from_mlist): Removed. (filter_gui_add_from_mlist): Removed. * mail-autofilter.h: Added AUTO_MLIST type. svn path=/trunk/; revision=17704
* New internal function to replace xmlSaveFile. Does proper error checkingJeffrey Stedfast2002-08-062-4/+317
| | | | | | | | | | | | 2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (xml_doc_save): New internal function to replace xmlSaveFile. Does proper error checking and so forth to ensure that the resulting file does not ever get truncated. (save): Cal xml_doc_save rather than xmlSaveFile. Fixes bug #25980. svn path=/trunk/; revision=17703
* If we are not in interactive mode, don't display error dialogs.Jeffrey Stedfast2002-08-067-22/+60
| | | | | | | | | | | | | | | | | | 2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (mail_msg_check_error): If we are not in interactive mode, don't display error dialogs. * component-factory.c (interactive_cb): Updated to use the new function mail_session_set_interactive(). (owner_unset_cb): Same here. * mail-session.c (mail_session_set_interactive): Renamed from mail_session_enable_interaction(). (mail_session_get_interactive): New function to get the interactive state. svn path=/trunk/; revision=17702
* Add a GHashTable pointer so we can remove the info once the operation isPeter Williams2002-08-062-0/+10
| | | | | | | | | | | 2002-08-01 Peter Williams <peterw@ximian.com> * mail-offline-handler.c (struct _sync_info): Add a GHashTable pointer so we can remove the info once the operation is done. (sync_done): Remove the info from the hash table. (impl_syncFolder): Save the table to which the info was added. svn path=/trunk/; revision=17701
* Always set a g_atexit handler to flush/save the camel-certdb.Jeffrey Stedfast2002-08-062-10/+13
| | | | | | | | | 2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * camel.c (camel_init): Always set a g_atexit handler to flush/save the camel-certdb. svn path=/trunk/; revision=17700
* If we are asking for the toplevel folders, use the IMAP store's namespaceJeffrey Stedfast2002-08-063-35/+27
| | | | | | | | | | | | | | | | 2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (get_folder_info_online): If we are asking for the toplevel folders, use the IMAP store's namespace as the toplevel folder rather than an empty string. Fixes bug #28574. (imap_forget_folder): Rearrange the code so that name can never be used uninitialised. * providers/imap/camel-imap-utils.c (imap_namespace_concat): Removed. svn path=/trunk/; revision=17699
* Updated to call post_to_url if the id is "post".Jeffrey Stedfast2002-08-064-10/+31
| | | | | | | | | | | | | 2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (user_create_new_item_cb): Updated to call post_to_url if the id is "post". * mail-callbacks.c (post_to_url): New function so that we don't need a FolderBrowser to post a new message. (post_message): Call post_to_url since they shared so much code. svn path=/trunk/; revision=17698
* Fixes the crash in #19159Rodrigo Moya2002-08-052-0/+9
| | | | | | | | | | | 2002-08-04 Rodrigo Moya <rodrigo@ximian.com> Fixes the crash in #19159 * gui/alarm-notify/alarm-queue.c (create_snooze): check for NULL pointers before using them. svn path=/trunk/; revision=17697
* Remove the logic that assumes "Rupert> " is a citation, since it misfiresDan Winship2002-08-052-28/+22
| | | | | | | | * e-html-utils.c (is_citation): Remove the logic that assumes "Rupert> " is a citation, since it misfires more often than it hits. svn path=/trunk/; revision=17696
* Only reply to all or reply to list, set CAMEL_MESSAGE_ANSWERED_ALL too.Dan Winship2002-08-052-1/+8
| | | | | | | * mail-callbacks.c (mail_reply): Only reply to all or reply to list, set CAMEL_MESSAGE_ANSWERED_ALL too. svn path=/trunk/; revision=17695
* Add CAMEL_MESSAGE_ANSWERED_ALL, for folders that can distinguish aDan Winship2002-08-053-1/+12
| | | | | | | | | | | * camel-folder-summary.h (CamelMessageFlags): Add CAMEL_MESSAGE_ANSWERED_ALL, for folders that can distinguish a reply-to-sender from a reply-to-all. (eg, Exchange) * providers/local/camel-local-folder.c (local_init): Add ANSWERED_ALL to permanent_flags too. svn path=/trunk/; revision=17694
* Fixes bug #26237.Jeffrey Stedfast2002-08-033-55/+31
| | | | | | | | | | | | | | | 2002-08-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #26237. * providers/imap/camel-imap-command.c (imap_command_strdup_vprintf): Don't prepend any namespace shit in the %F case. * providers/imap/camel-imap-utils.c (imap_parse_list_response): Don't strip off the namespace. svn path=/trunk/; revision=17693
* Set the default flag to Follow-Up.Jeffrey Stedfast2002-08-032-0/+4
| | | | | | | | | 2002-08-02 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Set the default flag to Follow-Up. svn path=/trunk/; revision=17692
* Updated to use the new Follow-Up tags. Instead of storing a stringJeffrey Stedfast2002-08-0311-399/+290
| | | | | | | | | | | | | | | | | | | | | | | | 2002-08-02 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Updated to use the new Follow-Up tags. Instead of storing a string containing the follow-up tag value, we now have to store the CamelMessageInfo. (mail_display_destroy): Unref the folder and the message-info. * folder-browser.c (followup_tag_complete): No longer needed. (on_right_clicked): Use the individual follow-up tags to decide whether or not to enable something. * message-list.c (ml_tree_value_at): Update to use the new Follow-Up tags. * mail-callbacks.c (flag_for_followup): Update to use the new MessageTagEditor API. (tag_editor_ok): Update this too. (flag_followup_completed): Updated this too. (flag_followup_clear): Set all the follow-up tag values to "". svn path=/trunk/; revision=17691
* If the folder name contains the directory separator, reject it.Peter Williams2002-08-032-1/+14
| | | | | | | | | 2002-08-01 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-store.c (create_folder): If the folder name contains the directory separator, reject it. svn path=/trunk/; revision=17690
* don't warn if we can't use the small font, just set use_small_font toJP Rosevear2002-08-022-1/+6
| | | | | | | | | 2002-08-02 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (e_week_view_init): don't warn if we can't use the small font, just set use_small_font to FALSE svn path=/trunk/; revision=17689
* new util function to add information to an itip message that might notJP Rosevear2002-08-022-36/+49
| | | | | | | | | | | | 2002-08-02 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (adjust_item): new util function to add information to an itip message that might not already be there for display purposes (summary, location, etc) (show_current_event): use above (show_current_todo): ditto svn path=/trunk/; revision=17688
* initialize value to corba nilJP Rosevear2002-08-022-0/+6
| | | | | | | | 2002-08-02 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (init): initialize value to corba nil svn path=/trunk/; revision=17687
* Clear the summary after building the 'removed uid' list.Not Zed2002-08-022-1/+4
| | | | | | | | | 2002-08-02 Not Zed <NotZed@Ximian.com> * providers/local/camel-mbox-summary.c (mbox_summary_check): Clear the summary after building the 'removed uid' list. svn path=/trunk/; revision=17686
* revert jeff's patch below, and do it slightly differently, and stop theNot Zed2002-08-023-68/+79
| | | | | | | | | | | | | | | | | | 2002-08-02 Not Zed <NotZed@Ximian.com> * camel-folder-summary.c (message_info_load): revert jeff's patch below, and do it slightly differently, and stop the auto-reformatting bullshit. 2002-08-02 Not Zed <NotZed@Ximian.com> * providers/local/camel-maildir-summary.c (message_info_new): If we get a duplicate, just re-use the old info. (remove_summary): Add any removed to a change list. (maildir_summary_check): If we find new ones in 'cur' track them in the change list. Removed FIXME about it. For #18348. svn path=/trunk/; revision=17685
* Added a datespec editor window.Not Zed2002-08-024-478/+485
| | | | | | | | | | | | 2002-08-02 Not Zed <NotZed@Ximian.com> * filter.glade: Added a datespec editor window. * filter-datespec.c (button_clicked): Rewritten to use glade. Simplified all the code around it as a result, etc, and fixed bug #21798. svn path=/trunk/; revision=17684
* [ fixes bug #25958 ] use FULL_NAME in the case where we're untoggling aChris Toshok2002-08-022-2/+10
| | | | | | | | | | | | 2002-08-01 Chris Toshok <toshok@ximian.com> [ fixes bug #25958 ] * gui/component/addressbook.c (alphabet_state_changed): use FULL_NAME in the case where we're untoggling a letter, and... well use FULL_NAME in the other case too - we should never pop up the advanced dialog. svn path=/trunk/; revision=17683
* no more search_entry.Chris Toshok2002-08-023-13/+21
| | | | | | | | | | | | | | | | 2002-08-01 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.h (struct _ESelectNames): no more search_entry. * gui/component/select-names/e-select-names.c (update_query): no more search_entry, search_entry => select_entry, and add file_as to the query since some entries don't have names (like the Ximian, Inc. default card.) (e_select_names_init): no more search_entry, and add an "activate" handler on select_entry that updates the query. svn path=/trunk/; revision=17682
* remove folders and folders_by_uri, and the 2 listeners.Chris Toshok2002-08-023-17/+11
| | | | | | | | | | | | | | | 2002-08-01 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.h (struct _ESelectNames): remove folders and folders_by_uri, and the 2 listeners. * gui/component/select-names/e-select-names.c (e_select_names_destroy): remove the hash_table_destroys of folders and folders_by_uri, since they no longer exist. same for other_contacts_listener and local_listener. svn path=/trunk/; revision=17681
* remove the annoying fprintf about Queueing termination, since we neverChris Toshok2002-08-022-1/+5
| | | | | | | | | 2002-08-01 Chris Toshok <toshok@ximian.com> * wombat.c (last_calendar_gone_cb): remove the annoying fprintf about Queueing termination, since we never actually terminate. svn path=/trunk/; revision=17680
* (endarken_style): Set the color forEttore Perazzoli2002-08-023-3/+13
| | | | | | GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit. svn path=/trunk/; revision=17679
* (create_component): UseEttore Perazzoli2002-08-022-1/+6
| | | | | | "contact-list-16.png" for the "New Contact List" item. svn path=/trunk/; revision=17678
* (create_component): UseEttore Perazzoli2002-08-022-9/+15
| | | | | | "post-message-16.png" as the icon for the "New Message Post" item. svn path=/trunk/; revision=17677
* Use meeting-request-16.png instead of meeting-request.png.Ettore Perazzoli2002-08-024-5/+10
| | | | | | | | | | * gui/component-factory.c (create_object): Use meeting-request-16.png instead of meeting-request.png. * gui/calendar-commands.c (pixmaps): Remove pixmaps in /menu/File/New/NewFirstItem/. svn path=/trunk/; revision=17676
* New artwork from Jakub. Likewise. Likewise.Ettore Perazzoli2002-08-026-69/+11
| | | | | | | | | | * contact-list-16.png: New artwork from Jakub. * post-message-16.png: Likewise. * meeting-request-16.png: Likewise. * meeting.xpm: Removed. svn path=/trunk/; revision=17675
* If we are editing an account, then get the CamelStore associated with theJeffrey Stedfast2002-08-022-22/+76
| | | | | | | | | | | | | | | 2002-08-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): If we are editing an account, then get the CamelStore associated with the old account info and save it in a struct that we will pass along as user_data to mail_get_store() for the new account url. (add_new_store): If the old account and new account stores are identical, then don't remove the old store from the folder tree. If they are not the same, then remove the old store and add the new store to the folder tree. svn path=/trunk/; revision=17674
* Update Soup information and remove hard spaces.Ettore Perazzoli2002-08-023-14/+23
| | | | | | | | | * README: Update Soup information and remove hard spaces. * configure.in: Check for Soup 0.7 or later. [Hm, we should make sure that it's actually a 0.7.x version.] svn path=/trunk/; revision=17673
* Do more error checking to prevent crashing if we fail to read a string forJeffrey Stedfast2002-08-022-28/+50
| | | | | | | | | | 2002-08-01 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-summary.c (message_info_load): Do more error checking to prevent crashing if we fail to read a string for example. svn path=/trunk/; revision=17672
* use get_due_status (get_color): ditto (get_due_status): utility functionJP Rosevear2002-08-022-66/+75
| | | | | | | | | | | 2002-08-01 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (is_overdue): use get_due_status (get_color): ditto (get_due_status): utility function to reduce replicated code, handle the case where the due date is just a date svn path=/trunk/; revision=17671
* If the value was unset, initialize it to now.Peter Williams2002-08-022-11/+16
| | | | | | | | | 2002-08-01 Peter Williams <peterw@ximian.com> * filter-datespec.c (activate_specified): If the value was unset, initialize it to now. svn path=/trunk/; revision=17670
* camel:Peter Williams2002-08-015-96/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-29 Peter Williams <peterw@ximian.com> Fix bug #28238 * providers/imap/camel-imap-store.c (imap_forget_folder): New function, breaking out the code in delete_folder() to handle when a folder is removed. (imap_folder_effectively_unsubscribed): New function, breaking out the code in unsubscribe_folder() to handle when a folder is unsubscribed. (imap_check_folder_still_extant): New function, check whether a folder exists by LIST'ing it. (imap_store_refresh_folders): Add code here to check if the folder still exists if we're unable to refresh its info. If so, pretend that it was unsubscribed (to get the mailer to remove it from the tree) and delete its cache. If somehow this goofs up, the worst that can happen is that we must redownload the headers. (get_folder_status): If we can't get the status, behave as above. (delete_folder): Call imap_forget_folder() where the bulk of this code has gone. (unsubscribe_folder): Call imap_folder_effectively_unsubscribed() where the bulk of this code has gone. mail: 2002-07-31 Peter Williams <peterw@ximian.com> * mail-folder-cache.c: Add another bitfield "unsub" (real_flush_updates): If unsubscribing, manually remove the folder from the shell. (unset_folder_info): Add another parameter which is used to set the unsub member. (store_folder_unsubscribed): Pass true for @unsub. (unset_folder_info_hash): Pass false for @unsub. * subscribe-dialog.c (fe_done_subscribing): Don't notify the shell here. The folder cache does it now, and it was broken to make the CORBA call in another thread anyway. svn path=/trunk/; revision=17669
* new class for implementing a backend cache for the calendar queries.Rodrigo Moya2002-08-014-0/+331
| | | | | | | | | | | 2002-07-31 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch]: new class for implementing a backend cache for the calendar queries. * pcs/Makefile.am: added new files. svn path=/trunk/; revision=17668
* Don't setup a handler for multipart/digest. (handle_multipart_digest):Jeffrey Stedfast2002-08-013-31/+32
| | | | | | | | | | 2002-08-01 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (setup_mime_tables): Don't setup a handler for multipart/digest. (handle_multipart_digest): Removed. svn path=/trunk/; revision=17667
* Removed folder-browser-window from the build.Jeffrey Stedfast2002-08-016-307/+11
| | | | | | | | | | | | | | | 2002-07-31 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed folder-browser-window from the build. * folder-browser-window.[c,h]: Removed. * mail-callbacks.c (view_digest): Removed. * mail-display.c (mail_display_digest_clicked): Removed. (on_link_clicked): Don't handle digest: urls anymore. svn path=/trunk/; revision=17666
* Disable my fix to not cache headers as it means that each time we load theJeffrey Stedfast2002-08-012-7/+13
| | | | | | | | | | 2002-07-31 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (parse_fetch_response): Disable my fix to not cache headers as it means that each time we load the message, we've got to re-fecth the headers. svn path=/trunk/; revision=17665
* Parse the auto-cc/bcc recipients and then later when parsing the cc/bccJeffrey Stedfast2002-08-012-12/+80
| | | | | | | | | | | | 2002-07-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Parse the auto-cc/bcc recipients and then later when parsing the cc/bcc recipients into EDestination objects, if the address is an auto-*cc address, then set auto_recipient to TRUE on that EDestination. This fixes bug #28339. svn path=/trunk/; revision=17664
* New, implement a right-click -> "Add Default Shortcuts" menu item.Ettore Perazzoli2002-08-014-15/+55
| | | | | | | | | | | | * e-shortcuts-view.c (create_default_shortcuts_cb): New, implement a right-click -> "Add Default Shortcuts" menu item. (rename_group_cb): Remove double casts. *lol* * e-shortcuts.c (e_shortcuts_add_default_shortcuts): New. (e_shortcuts_add_default_group): Use e_shortcuts_add_default_shortcuts(). svn path=/trunk/; revision=17663
* (xml_create): Remove unused variable.Ettore Perazzoli2002-08-012-1/+4
| | | | svn path=/trunk/; revision=17662
* Change the order so that "New Contact" is first and "New Contact List" isEttore Perazzoli2002-08-019-33/+42
| | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (create_component): Change the order so that "New Contact" is first and "New Contact List" is next. * gui/component-factory.c (create_object): Change the order of the user creatable items a bit so that "New Appointment" and "New Meeting" are at the top when in a calendar folder. * component-factory.c (create_component): Put "New Mail Message" before "New Message Post" instead of vice versa. * evolution-mail-global.xml: Remove "New Mail Message" and "Post Message" items. svn path=/trunk/; revision=17661
* Don't use "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't inJeffrey Stedfast2002-08-012-25/+48
| | | | | | | | | | | | | | | 2002-07-31 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-tohtml.c (is_addr_char): Don't use "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't in most locales. (is_url_char): Same. (is_trailing_garbage): Same. (is_domain_name_char): New macro for dns-valid characters (email_address_extract): Use is_domain_name_char rather than is_addr_char for the part after the @. svn path=/trunk/; revision=17660
* (ensure_menu_items):Ettore Perazzoli2002-08-012-110/+90
| | | | | | | | | | | Don't sort the menu_items here. (create_menu_xml): Instead, sort here, and only sort the non-default section of the menu. (get_default_action_for_view): Just get the first item that is default; since we don't sort anymore, this works. (find_menu_item_for_verb): Removed since it is not used anymore. svn path=/trunk/; revision=17659
* Pass "contacts" as the @folder_type toEttore Perazzoli2002-08-0113-69/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): Pass "contacts" as the @folder_type to evolution_shell_component_add_user_creatable_item(). * gui/component-factory.c (add_creatable_item): New arg @folder_type, pass it to evolution_shell_component_add_user_creatable_item(). (create_object): Set the right folder types for the various user-creatable items. * component-factory.c (create_component): Pass "mail" as @folder_type to evolution_shell_component_add_user_creatable_item(). * evolution-test-component.c (register_component): Pass NULL for @folder_type to evolution_shell_component_add_user_creatable_item(). * e-shell-user-creatable-items-handler.c: New member folder_type in struct MenuItem. (ensure_menu_items): Initialize ->folder_type. (item_is_default): New helper function. (create_menu_xml): New arg @folder_type. Put the items on the top using item_is_default(). (shell_view_view_changed_callback): Pass the folder type to create_menu_xml(). * evolution-shell-component.c: New member folder_type in UserCreatableItemType. (user_creatable_item_type_new): New arg @folder_type. (user_creatable_item_type_free): Free ->folder_type. (evolution_shell_component_add_user_creatable_item): New arg @folder_type. (impl__get_userCreatableItemTypes): Set ->folderType in the returned CORBA structs. * Evolution-ShellComponent.idl: New member folderType in struct UserCreatableItemType. * e-shell-user-creatable-items-handler.c: New member component_id in struct MenuItem. Removed member menu_xml from EShellUserCreatableItemsHandlerPrivate. (init): No need to initialize menu_xml here anymore. (impl_destroy): ...And no need to free here, either. (setup_menu_xml): New, derived from ensure_menu_xml(). This orders the menu so that the items for the current component go at the top. (create_menu_xml): Removed. (e_shell_user_creatable_items_handler_attach_menus): Set up properly for the current component ID, using setup_menu_xml(). svn path=/trunk/; revision=17658
* [ roll in the following change from the 1.0 branch.] change the CALURI andChris Toshok2002-08-013-27/+52
| | | | | | | | | | | | | | | 2002-07-31 Chris Toshok <toshok@ximian.com> [ roll in the following change from the 1.0 branch.] * backend/pas/pas-backend-ldap.c: (prop_info): change the CALURI and FBURL ecard attributes to map to the RFC 2739 specified attributes. (check_schema_support): check to see if calEntry is supported. (add_objectclass_mod): insert calEntry if it's supported. * backend/pas/evolutionperson.schema: deprecate freeBusyURI and calendarURI. svn path=/trunk/; revision=17657
* we no longer need to manually save the state (e_tasks_open): we no longerJP Rosevear2002-08-012-38/+10
| | | | | | | | | | | | | 2002-07-31 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_destroy): we no longer need to manually save the state (e_tasks_open): we no longer need to manually load the state (display_view_cb): attach the gal view to the table Fixes #27894 svn path=/trunk/; revision=17656
* Don't use "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't inDan Winship2002-08-012-13/+24
| | | | | | | | | | | * e-html-utils.c (is_addr_char, is_trailing_garbage): Don't use "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't in most locales. (is_domain_name_char): new macro for dns-valid characters (email_address_extract): Use is_domain_name_char rather than is_addr_char for the part after the @. svn path=/trunk/; revision=17655
* Add bug fix numbers.JP Rosevear2002-07-311-0/+6
| | | | svn path=/trunk/; revision=17654
* (activate_factories_for_uri): Don'tEttore Perazzoli2002-07-312-2/+7
| | | | | | double free protocol and query. svn path=/trunk/; revision=17653
* Added global cameldatacache for managing remote image cache.Not Zed2002-07-312-3/+83
| | | | | | | | | | | | | | | | | | | | 2002-07-31 Not Zed <NotZed@Ximian.com> * mail-display.c: Added global cameldatacache for managing remote image cache. (fetch_remote): Lookup data in cache first, use that if available, or setup a new cache item. (fetch_data): Write any retrieved data to cache as well as html stream. (fetch_free): Unref cache stream. (fetch_done): (fetch_cancel): If failed/cancelled, remove cache items so they dont foul the result. Probably need a header in cache items to guarantee this, but this is ok for now. (mail_display_class_init): Setup cache structure. Also ensure globals are initialised at-most once. svn path=/trunk/; revision=17652
* Update the comment.Jeffrey Stedfast2002-07-317-59/+231
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-30 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream.c (camel_tcp_address_new): Update the comment. * camel-tcp-stream-raw.c (socket_connect): If building with IPv6 support and the address is an IPv6 address, connect using a sockaddr_in6 otherwise use the standard IPv4 sockaddr_in structure. (stream_get_local_address): Fix to work with IPv6 addresses. (stream_get_remote_address): Same. * camel-tcp-stream-openssl.c (socket_connect): Same as above. (stream_get_local_address): Fix to work with IPv6 addresses. (stream_get_remote_address): Same. * camel-tcp-stream-ssl.c (stream_connect): If building with IPv6 support and the address is an IPv6 address, initialise the PRNetAddr accordingly. (stream_get_local_address): Fix to work with IPv6 addresses. (stream_get_remote_address): Same. svn path=/trunk/; revision=17651
* If the user has enabled IPv6 support, use getaddrinfo to resolve hostnamesJeffrey Stedfast2002-07-312-9/+183
| | | | | | | | | | | 2002-07-30 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyname_r): If the user has enabled IPv6 support, use getaddrinfo to resolve hostnames and then manually fit the result into a struct hostent. (e_gethostbyaddr_r): Same. svn path=/trunk/; revision=17650
* Add checks for IPv6 support.Jeffrey Stedfast2002-07-312-1/+41
| | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Add checks for IPv6 support. svn path=/trunk/; revision=17649
* Translate the rule name when filling in the name entry.Peter Williams2002-07-312-1/+6
| | | | | | | | | 2002-07-30 Peter Williams <peterw@ximian.com> * filter-rule.c (get_widget): Translate the rule name when filling in the name entry. svn path=/trunk/; revision=17648
* X509_digest() needs a pointer to an int len. Also fixed some otherJeffrey Stedfast2002-07-313-4/+14
| | | | | | | | | | | 2002-07-30 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (ssl_verify): X509_digest() needs a pointer to an int len. Also fixed some other compiler errors. * camel-certdb.h: #include <stdio.h> svn path=/trunk/; revision=17647
* save signature here to remember the changed nameRadek Doulik2002-07-312-0/+6
| | | | | | | | | 2002-07-30 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_set_name): save signature here to remember the changed name svn path=/trunk/; revision=17646
* make sure that the work week view goes to the current work week if the dayJP Rosevear2002-07-312-4/+15
| | | | | | | | | | 2002-07-29 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_find_work_week_start): make sure that the work week view goes to the current work week if the day selected is before the start of the work week svn path=/trunk/; revision=17645
* added to the buildJeffrey Stedfast2002-07-312-0/+819
| | | | svn path=/trunk/; revision=17644
* Use camel_medium_get_header to get the date header rather than getting theJeffrey Stedfast2002-07-312-11/+12
| | | | | | | | | | 2002-07-30 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_date): Use camel_medium_get_header to get the date header rather than getting the time_t and converting it into a string. svn path=/trunk/; revision=17643
* New source file implementing a very basic certificate database. This isJeffrey Stedfast2002-07-317-72/+242
| | | | | | | | | | | | | | | | | | | 2002-07-30 Jeffrey Stedfast <fejj@ximian.com> * camel-certdb.c: New source file implementing a very basic certificate database. This is mostly just here because the Mozilla NSS certdb seems to not be working for everyone's Evolution install (works fine for me and Ettore but not many other people). * camel-tcp-stream-ssl.c (ssl_bad_cert): If we have this certificate in our own CamelCertDB, then get the trust value from that and only prompt the user if the trust is unknown. * camel-tcp-stream-openssl.c (ssl_verify): Same. * camel.c (camel_init): Create our default certdb. svn path=/trunk/; revision=17642
* Use the same command-counter mojo that the append code uses in case thePeter Williams2002-07-312-1/+14
| | | | | | | | | | 2002-07-30 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_transfer_offline): Use the same command-counter mojo that the append code uses in case the use tries to copy the same message to the folder repeatedly. svn path=/trunk/; revision=17641
* setup private data. (mail_display_destroy): cancel any outstandingNot Zed2002-07-305-51/+238
| | | | | | | | | | | | | | | | | | | | | | | | 2002-07-29 Not Zed <NotZed@Ximian.com> * mail-display.c (mail_display_init): setup private data. (mail_display_destroy): cancel any outstanding fetches, and free private data. (mail_display_set_message): Cancel any outstanding fetches. (fetch_cancelled): (fetch_next): (fetch_remote): (fetch_data): (fetch_free): (fetch_cancel): (fetch_done): Implement, used to use soup to download remote images. (load_http): Removed. (on_url_requested): When requesting a http* url, use the fetch_remote call above. * mail-display.h (struct _MailDisplay): Added priv(ate) member. svn path=/trunk/; revision=17640
* added soup to compile flags.Not Zed2002-07-302-1/+5
| | | | | | | | 2002-07-30 Not Zed <NotZed@Ximian.com> * configure.in (EVOLUTION_MAIL): added soup to compile flags. svn path=/trunk/; revision=17639
* Updated Spanish translationHector Garcia2002-07-302-1739/+1922
| | | | svn path=/trunk/; revision=17638
* (request_password): Left-align the check button'sEttore Perazzoli2002-07-302-0/+6
| | | | | | label. svn path=/trunk/; revision=17637
* new helper function (decode_signature_name): new helper functionRadek Doulik2002-07-302-4/+112
| | | | | | | | | | | 2002-07-29 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (encode_signature_name): new helper function (decode_signature_name): new helper function (get_signature_html): use encode_signature_name (set_signature_gui): use decode_signature_name svn path=/trunk/; revision=17636
* Reordered.Jeffrey Stedfast2002-07-302-34/+40
| | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * searches.xml: Reordered. svn path=/trunk/; revision=17635
* Get the "Reset Defaults" folders button and connect to the clicked signal.Jeffrey Stedfast2002-07-303-3/+56
| | | | | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Get the "Reset Defaults" folders button and connect to the clicked signal. (default_folders_clicked): Set the default uris on for the Drafts and Sent folders. svn path=/trunk/; revision=17634
* New function to set the uri programatically on aJeffrey Stedfast2002-07-303-8/+39
| | | | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): New function to set the uri programatically on a EvolutionFolderSelectorButton dingus. svn path=/trunk/; revision=17633
* Call mail_note_store to get the folders to be updated and new ones to bePeter Williams2002-07-302-1/+10
| | | | | | | | | | 2002-07-26 Peter Williams <peterw@ximian.com> * mail-offline-handler.c (storage_go_online): Call mail_note_store to get the folders to be updated and new ones to be inserted into the tree. svn path=/trunk/; revision=17632
* (request_password): Add an accelerator for theEttore Perazzoli2002-07-302-5/+21
| | | | | | "Remember this password" checkbox. svn path=/trunk/; revision=17631
* Don't use the folder's path as the physical URI; use CORBA Magic (TM) toPeter Williams2002-07-292-2/+17
| | | | | | | | | 2002-07-26 Peter Williams <peterw@ximian.com> * e-summary-mail.c (update_folder_cb): Don't use the folder's path as the physical URI; use CORBA Magic (TM) to figure it out. svn path=/trunk/; revision=17630
* update for wombat.idl -> Evolution-Wombat.idl changeDan Winship2002-07-291-4/+4
| | | | svn path=/trunk/; revision=17629
* Colour the tasks depending on their due date/timeIain Holmes2002-07-292-4/+59
| | | | svn path=/trunk/; revision=17628
* Fix bug #18963Iain Holmes2002-07-294-4/+16
| | | | svn path=/trunk/; revision=17627
* Add xml to unset system flags.Jeffrey Stedfast2002-07-293-0/+28
| | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Add xml to unset system flags. svn path=/trunk/; revision=17626
* New filter action to unset a system flag. The exact opposite of set_flag.Jeffrey Stedfast2002-07-292-16/+44
| | | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (unset_flag): New filter action to unset a system flag. The exact opposite of set_flag. svn path=/trunk/; revision=17625
* fixed mapping of popdown menu to ICAL_STATUS_ values.Rodrigo Moya2002-07-293-10/+28
| | | | | | | | | | | | | | | | 2002-07-28 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-details-page.c: fixed mapping of popdown menu to ICAL_STATUS_ values. (task_details_page_fill_widgets): when we can't set the status, default to ICAL_STATUS_NONE, which maps to 'Not started'. Fixed use of 'percent' variable, which was being used after being freed. (percent_complete_changed): default to ICAL_STATUS_NONE (Not Started). * gui/dialogs/task-details-page.glade: added 'Needs Action' to popdown menu values. svn path=/trunk/; revision=17624
* don't save empty strings. (pas_backend_summary_save): print out the errnoChris Toshok2002-07-282-2/+9
| | | | | | | | | | 2002-07-27 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (save_string): don't save empty strings. (pas_backend_summary_save): print out the errno when we fail. svn path=/trunk/; revision=17623
* Use fs->type in xmlGetProp since we already free'd 'type'. Fixes bugJeffrey Stedfast2002-07-276-34/+30
| | | | | | | | | 2002-07-26 Jeffrey Stedfast <fejj@ximian.com> * filter-int.c (xml_decode): Use fs->type in xmlGetProp since we already free'd 'type'. Fixes bug #28113. svn path=/trunk/; revision=17622
* (set_signature_gui): new helper method to set signature from draftRadek Doulik2002-07-272-1/+40
| | | | | | | message (e_msg_composer_new_with_message): use set_signature_gui svn path=/trunk/; revision=17621
* No real need for this to be an async function sync we are going to callJeffrey Stedfast2002-07-272-83/+5
| | | | | | | | | | 2002-07-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_execute_shell_command): No real need for this to be an async function sync we are going to call gnome_execute_async anyway. svn path=/trunk/; revision=17620
* remove useless debug statementJP Rosevear2002-07-272-1/+7
| | | | | | | | | | | 2002-07-26 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_construct): remove useless debug statement Probably fixes #19333 svn path=/trunk/; revision=17619
* If the path exists and is a directory, return non-NULL. Missed this beforeJeffrey Stedfast2002-07-275-17/+14
| | | | | | | | | | 2002-07-26 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-store.c (get_folder): If the path exists and is a directory, return non-NULL. Missed this before which is how we could return NULL even on success. Oops. svn path=/trunk/; revision=17618
* Add a new menu item for posting to the New toolbar button thing.Jeffrey Stedfast2002-07-272-4/+12
| | | | | | | | | | | | | | | 2002-07-26 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_component): Add a new menu item for posting to the New toolbar button thing. (destination_folder_handle_drop): Don't use a NULL exception when we already have one to use anyway. (got_folder): Move the *fp = folder; to before the check to make sure folder != NULL, this makes it so that if getting a folder fails at least have have a known value to look out for (NULL) rather than some random garbage. svn path=/trunk/; revision=17617
* Capitalize the title of the dialog for consistency.Ettore Perazzoli2002-07-273-2/+11
| | | | | | | | | | | * e-shell-view-menu.c (command_new_shortcut): Capitalize the title of the dialog for consistency. * e-shell-folder-creation-dialog.c (setup_dialog): Don't prepend the window's title with "Evolution -" since we don't do that anywhere else. Also capitalize properly. svn path=/trunk/; revision=17616
* (ensure_menu_xml): Put inEttore Perazzoli2002-07-272-2/+7
| | | | | | the ComponentItems placeholder, instead of NewItems. svn path=/trunk/; revision=17615
* Don't set up the ContactNew andEttore Perazzoli2002-07-272-48/+9
| | | | | | | | | | ContactNewList verbs. (update_command_state): Don't set the sensitivity of /commands/ContactNew and /commands/ContactNewList anymore. (new_contact_cb): Removed. (new_contact_list_cb): Removed. svn path=/trunk/; revision=17614
* Move File/New/NewItems placeholder on the top and add some separators.Ettore Perazzoli2002-07-273-32/+46
| | | | | | | | | | | * evolution.xml: Move File/New/NewItems placeholder on the top and add some separators. Also add items to the popups/NewPopup so the pop-up and the "New" submenu look the same. * evolution-addressbook.xml: Remove ContactNew and ContactNewList verbs, as well as the corresponding menu items. svn path=/trunk/; revision=17613
* Add a new menu item for posting to the New toolbar button thing.Jeffrey Stedfast2002-07-272-0/+12
| | | | | | | | | 2002-07-26 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_component): Add a new menu item for posting to the New toolbar button thing. svn path=/trunk/; revision=17612
* don't assert on default, when ESC is pressed, the dialog is closed as wellRadek Doulik2002-07-272-3/+9
| | | | | | | | | 2002-07-26 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (do_exit): don't assert on default, when ESC is pressed, the dialog is closed as well and we get button number -1 svn path=/trunk/; revision=17611
* Fix ChangeLog.Ettore Perazzoli2002-07-271-1/+2
| | | | svn path=/trunk/; revision=17610
* Special-case message/digest and give it a nice icon. [#9786]Ettore Perazzoli2002-07-273-2/+27
| | | | | | | | | * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Special-case message/digest and give it a nice icon. [#9786] * Makefile.am (INCLUDES): Add -D for EVOLUTION_ICONSDIR. svn path=/trunk/; revision=17609
* New icon for mail (gnome-textfile.png from GNOME 2, byEttore Perazzoli2002-07-273-0/+6
| | | | | | Tuomas' suggestion). svn path=/trunk/; revision=17608
* The flags'n'tags copy was unnecessary. Removed it.Peter Williams2002-07-272-4/+4
| | | | | | | | | | 2002-07-26 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-summary.c (camel_imap_summary_add_offline_uncached): The flags'n'tags copy was unnecessary. Removed it. svn path=/trunk/; revision=17607
* (load_all_folders): Don't return FALSE if anyEttore Perazzoli2002-07-272-7/+37
| | | | | | | of the folders fails to load; otherwise, if the user has played with ~/evolution, he might end up not seeing any folders at all. svn path=/trunk/; revision=17606
* Revert Jeff's previous change, it broke local folders. UninitializedPeter Williams2002-07-275-11/+18
| | | | | | | | | 2002-07-26 Peter Williams <peterw@ximian.com> * Revert Jeff's previous change, it broke local folders. Uninitialized exceptions or something. svn path=/trunk/; revision=17605
* new function for adding VTIMEZONE components to a VCALENDAR component.Rodrigo Moya2002-07-276-8/+133
| | | | | | | | | | | | | | | | | | | | | 2002-07-26 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.[ch] (cal_util_add_timezones_from_component): new function for adding VTIMEZONE components to a VCALENDAR component. * gui/e-calendar-table.c (copy_row_cb): added VTIMEZONE components to resulting VCALENDAR top-level component. * gui/e-week-view.c (e_week_view_copy_clipboard): copy to the clipboard a top-level VCALENDAR component, with all the needed VTIMEZONE components. (e_week_view_on_copy): likewise. * gui/e-day-view.c (e_day_view_copy_clipboard): likewise. (e_day_view_on_copy): likewise. svn path=/trunk/; revision=17604
* focus the editor if it does exist, create a new one if it doesn't (notJP Rosevear2002-07-272-2/+8
| | | | | | | | | 2002-07-26 JP Rosevear <jpr@ximian.com> * gui/comp-editor-factory.c (impl_editExisting): focus the editor if it does exist, create a new one if it doesn't (not vice-versa) svn path=/trunk/; revision=17603
* Update timezones (from Damon)JP Rosevear2002-07-2617-63/+113
| | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * Update timezones (from Damon) 2002-06-07 JP Rosevear <jpr@ximian.com> * src/libical/icalparameter.c (icalparameter_as_ical_string): quote if the item contains a comma svn path=/trunk/; revision=17602
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-07-262-661/+720
| | | | | | | | 2002-07-26 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17601
* ioops, this file tooJeffrey Stedfast2002-07-261-3/+2
| | | | svn path=/trunk/; revision=17600
* If we're gonna do an elite hack, lets do it right.Jeffrey Stedfast2002-07-264-10/+26
| | | | | | | | | | | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> If we're gonna do an elite hack, lets do it right. * providers/local/camel-local-store.c (get_folder): On success, return non-NULL so that our caller doesn't have to depend on 'ex' being non-NULL in order to work correctly. * providers/local/camel-mbox-store.c (get_folder): Don't bother checking if an exception was set, just use the return value of camel-local-store's get_folder. * providers/local/camel-maildir-store.c (get_folder): Same as the mbox change. * providers/local/camel-mh-store.c (get_folder): Here too. svn path=/trunk/; revision=17599
* Make the gtk label line-wrap instead of us forcing \n's in the label, thatJeffrey Stedfast2002-07-263-11/+20
| | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (create_label): Make the gtk label line-wrap instead of us forcing \n's in the label, that was just wrong. Fixes bug #10320. svn path=/trunk/; revision=17598
* add a silly "up and running" message.Chris Toshok2002-07-262-0/+6
| | | | | | | | 2002-07-25 Chris Toshok <toshok@ximian.com> * wombat.c (main): add a silly "up and running" message. svn path=/trunk/; revision=17597
* Prototype.Peter Williams2002-07-265-7/+60
| | | | | | | | | | | | | | | | | | | | | | 2002-07-25 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-summary.h (camel_imap_summary_add_offline_uncached): Prototype. * providers/imap/camel-imap-summary.c (camel_imap_summary_add_offline_uncached): New function to add an uncached message to the summary while offline. * providers/imap/camel-imap-store.c (imap_connect_online): Only refresh the folders if the disco diary is empty (ie, we're not resyncing.) * providers/imap/camel-imap-folder.c (imap_transfer_offline): Emit an event for the source if deleting its originals. Also, if we can't load the message, still process it, using the new imap summary function. svn path=/trunk/; revision=17596
* Remove "possibly non-fatal" exception strings, all exceptions are fatalJeffrey Stedfast2002-07-263-43/+125
| | | | | | | | | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c: Remove "possibly non-fatal" exception strings, all exceptions are fatal unless their caller decides otherwise. (connect_to_server): If smtp_helo() fails due to us getting disconnected, treat the exception as fatal. (smtp_connect): Abort if smtp_helo() fails and we got disconnected. (smtp_send_to): If smtp_mail() fails, abort the send operation. (smtp_set_exception): If respbuf was NULL, then we got disconnected and so update our state accordingly. (smtp_disconnect): Only send a QUIT if we are still in the connected state (or, at least think we are). svn path=/trunk/; revision=17595
* set large_font to NULL (e_day_view_style_set): calculate large font, fallJP Rosevear2002-07-262-6/+17
| | | | | | | | | | 2002-07-25 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_init): set large_font to NULL (e_day_view_style_set): calculate large font, fall back to the style->font if necessary svn path=/trunk/; revision=17594
* Make sure that the url isn't an empty string and also make sure to free itJeffrey Stedfast2002-07-262-5/+16
| | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_cb): Make sure that the url isn't an empty string and also make sure to free it when we're done with it. Also check that we got the folder - if it is NULL, then just abort. svn path=/trunk/; revision=17593
* Use mail_tools_folder_to_url().Jeffrey Stedfast2002-07-267-53/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_folder_to_safe_url): Use mail_tools_folder_to_url(). * mail-tools.c (mail_tools_folder_to_url): New convenience function to take a CamelFolder and return the URL associated with it. * mail-callbacks.c (composer_get_message): Pass in a 'post' argument so we know whether or not we can ignore a NULL set of recipients. (composer_send_cb): Default send->send to TRUE unless we are in Post-To mode, in which case set send->send to FALSE (since we'll have nothing to send). Also, if we are in Post-To mode, append to the folder the user wants to post to rather than appending to Outbox. (composer_send_queued_cb): Only queue a send thread if send->send is TRUE (ie, the composer was not in Post mode - if it was in Post mode, then the message post has already been saved in the correct folder so there is nothing to do). (post_message): New function to create an empty composer widget in Post mode. (post_reply): New function that calls mail_reply with the new mode of REPLY_POST. (mail_generate_reply): If the mode is REPLY_POST, create a Post composer widget otherwise create a normal composer widget. svn path=/trunk/; revision=17592
* Add a View/Post-To ui dingus.Jeffrey Stedfast2002-07-263-0/+22
| | | | | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * evolution-message-composer.xml: Add a View/Post-To ui dingus. * evolution-mail-global.xml: Add a Post ui dingus. * evolution-mail-message.xml: Add a Post-Reply ui dingus. svn path=/trunk/; revision=17591
* Create the Post-To header. (headers_set_visibility): Possibly show theJeffrey Stedfast2002-07-265-136/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_headers): Create the Post-To header. (headers_set_visibility): Possibly show the Post-To header. (attach_headers): Attach the Post-To header. (e_msg_composer_hdrs_set_post_to): Set the text for the Post-To header. (e_msg_composer_hdrs_get_post_to_label): Return the label widget for this header pair. (e_msg_composer_hdrs_set_visible_mask): New function to set the visible mask (so we can disallow certain headers to be shown). (e_msg_composer_hdrs_new): Save the visible mask argument. (setup_headers): To: does not always have to be visible anymore. (e_msg_composer_hdrs_get_post_to): New function to get the url for the Post-To folder. * e-msg-composer.c (e_msg_composer_get_visible_flags): Set the Post-To bit when it is supposed to be visible. (e_msg_composer_new_post): Set the visible_mask to only allow the headers needed for Posting. svn path=/trunk/; revision=17590
* It would help to mark the UIDs as deleted before we try to expunge themPeter Williams2002-07-262-6/+26
| | | | | | | | | | | | | | 2002-07-24 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_expunge_uids_resyncing): It would help to mark the UIDs as deleted before we try to expunge them (in the case when no other UIDs were marked deleted this didn't happen.) Also fix an FMR. (imap_expunge_uids_offline): Trigger a folder_changed event with our own changeinfo because camel_imap_response_free won't be able to do that for us. svn path=/trunk/; revision=17589
* Fix spelling.Dan Winship2002-07-262-1/+5
| | | | | | * e-msg-composer.c (e_msg_composer_set_body): Fix spelling. svn path=/trunk/; revision=17588
* Return the actual count, rather than always 0!Not Zed2002-07-252-1/+6
| | | | | | | | | 2002-07-25 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_dlist_length): Return the actual count, rather than always 0! svn path=/trunk/; revision=17587
* Use GtkType (I only changed this one because I turned on debugging for aJeffrey Stedfast2002-07-255-7/+24
| | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * filter-int.[c,h]: Use GtkType (I only changed this one because I turned on debugging for a bit). * filter-file.c (validate): Fix the strcmp logic a bit, I had it the exact opposite of what I really wanted. Oops :-) svn path=/trunk/; revision=17586
* Update to take argc and argv arguments since this is the new definitionJeffrey Stedfast2002-07-254-13/+61
| | | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_execute_shell_command): Update to take argc and argv arguments since this is the new definition for the CamelFilterDriverShellFunc. * mail-session.c (main_get_filter_driver): Updated for the renamed function. svn path=/trunk/; revision=17585
* Do some minimalistic validation of command-lines (ie, make sure it isn'tJeffrey Stedfast2002-07-254-20/+38
| | | | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (validate): Do some minimalistic validation of command-lines (ie, make sure it isn't an empty string). * filtertypes.xml: s/shell-exec/shell/ (for the action) and pass "/bin/sh" "-c" as the first 2 arguments. For the shell-exec *rule*, change the name to "pipe-message" and add the "/bin/sh" "-c" arguments too. svn path=/trunk/; revision=17584
* Renamed from shell_exec(). Also, we now want to pass argc/argv on to theJeffrey Stedfast2002-07-254-27/+64
| | | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (do_shell): Renamed from shell_exec(). Also, we now want to pass argc/argv on to the CamelFilterDriverShellFunc. (camel_filter_driver_set_shell_func): Renamed a bit. * camel-filter-search.c (pipe_message): Renamed from shell_exec(). svn path=/trunk/; revision=17583
* Use execv ("sh", "-c", command) rather than execing the command directly.Jeffrey Stedfast2002-07-252-11/+9
| | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-search.c (run_command): Use execv ("sh", "-c", command) rather than execing the command directly. svn path=/trunk/; revision=17582
* Mae sure that the html->pointer_url is non-NULL. Should fix bug #28159Jeffrey Stedfast2002-07-252-1/+12
| | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (link_open_in_browser): Mae sure that the html->pointer_url is non-NULL. Should fix bug #28159 (this seems to be the only questionable way for a NULL url to be passed into on_link_clicked). svn path=/trunk/; revision=17581
* Check for whether current_message is NULL as well as preview_shown (if wePeter Williams2002-07-253-3/+24
| | | | | | | | | | | | | | | 2002-07-24 Peter Williams <peterw@ximian.com> * mail-callbacks.c (do_mail_fetch_and_print): Check for whether current_message is NULL as well as preview_shown (if we tried to load the message and failed, as may happen in offline mode.) (done_message_selected): Only print if we actually got the message. * folder-browser.c (folder_browser_query_changed): New function, use this on the query_changed signal. Don't run the search if they only changed the dropdown. svn path=/trunk/; revision=17580
* Don't pass the length of the tag name into strncmp, instead use the lengthJeffrey Stedfast2002-07-251-4/+8
| | | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (message_tag_followup_decode): Don't pass the length of the tag name into strncmp, instead use the length up to the first ':' in the value string. svn path=/trunk/; revision=17579
* display the location in the itip informationJP Rosevear2002-07-252-0/+12
| | | | | | | | | 2002-07-24 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (write_html): display the location in the itip information svn path=/trunk/; revision=17578
* cast!Jeffrey Stedfast2002-07-251-4/+3
| | | | svn path=/trunk/; revision=17577
* Call camel_session_get_service instead of camel_session_get_store, asPeter Williams2002-07-253-15/+44
| | | | | | | | | | | | | | | | 2002-07-23 Peter Williams <peterw@ximian.com> * mail-ops.c (get_store_get): Call camel_session_get_service instead of camel_session_get_store, as _get_store calls _get_service_connected which is not what we want to do on startup. (set_offline_do): Rework the logic here. It was failing when trying to go online with a disco store that couldn't work offline. * mail-folder-cache.c (mail_note_store): If we're using an offline (well, non-online) disco store that cannot work offline, don't get the folderinfo as that will fail. svn path=/trunk/; revision=17576
* Touch up changelog.JP Rosevear2002-07-251-0/+2
| | | | svn path=/trunk/; revision=17575
* set status to in progress if the percent is between 0 and 100JP Rosevear2002-07-252-4/+17
| | | | | | | | | | | 2002-07-24 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (set_percent): set status to in progress if the percent is between 0 and 100 (set_status): if the value is set to in process, change the percent to 50 svn path=/trunk/; revision=17574
* use mail_config_get_send_html for html format flagRadek Doulik2002-07-253-2/+10
| | | | | | | | | | | | 2002-07-24 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_add): use mail_config_get_send_html for html format flag * mail-account-gui.c (sig_add_new_signature): use mail_config_get_send_html for html format flag svn path=/trunk/; revision=17573
* Change libversit.la -> libversit.a for danw's changes.Peter Williams2002-07-252-1/+6
| | | | | | | | | 2002-07-24 Peter Williams <peterw@ximian.com> * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Change libversit.la -> libversit.a for danw's changes. svn path=/trunk/; revision=17572
* add a day for the leap year only if we are currently counting Feb., not if42002-07-252-1/+7
| | | | | | | | | | 2002-07-24 <jpr@ximian.com> * cal-util/timeutil.c (time_day_of_year): add a day for the leap year only if we are currently counting Feb., not if the month passed in is Feb. Fixes #23446. svn path=/trunk/; revision=17571
* When writing the summary, use TRUNC flag, duh. Also, write to a temp fileNot Zed2002-07-246-9/+49
| | | | | | | | | | | | | | | | | | | | | | | | 2002-07-25 Not Zed <NotZed@Ximian.com> * camel-folder-summary.c (camel_folder_summary_save): When writing the summary, use TRUNC flag, duh. Also, write to a temp file first, and rename when closed successfully, and check ferror() and fclose() against 0 rather than -1. * providers/local/camel-mbox-summary.c (summary_update): Decrement i if we remove the summary item so we dont skip every 2nd one. * camel-mime-utils.c (header_decode_mailbox): Use rfc2047_decode_word explicitly incase we just found an encoded word. Stops us re-decoding the string twice, which fixes memory corruption in #26330 when the HUGE string is used later. 2002-07-24 Not Zed <NotZed@Ximian.com> * camel-partition-table.c (camel_key_table_next): Didn't unlock if we exited on an empty key list. svn path=/trunk/; revision=17570
* s/libversit_lt/libversit/Dan Winship2002-07-242-1/+6
| | | | | | | * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): s/libversit_lt/libversit/ svn path=/trunk/; revision=17569
* Propagate name changes or removes to the mail config. #15951. Doesn'tNot Zed2002-07-244-0/+78
| | | | | | | | | | | | | | | | 2002-07-24 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): Propagate name changes or removes to the mail config. #15951. Doesn't enitrely work for local folders, because they are never renamed only removed and added thanks to the shell's api. * mail-config.c (mail_config_uri_renamed): If a store folder is renamed, this checks for any config that needs updating, so far sent and drafts folders. (mail_config_uri_deleted): Same, for deleted folders. svn path=/trunk/; revision=17568
* Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise.Ettore Perazzoli2002-07-244-4/+14
| | | | | | | | | | | | | | * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise. * e-search-bar.c (init): Don't initialize dropdown_menu here anymore since we got rid of it. * e-search-bar.h (struct _ESearchBar): Removed member dropdown_menu. svn path=/trunk/; revision=17567
* Commit a fix that I thought I committed a while ago:Jeffrey Stedfast2002-07-243-9/+31
| | | | | | | | | | | | | | | | | 2002-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): Commit a fix that I thought I committed a while ago: * mail-format.c (handle_multipart_encrypted): Pass the correct pointer into camel_multipart_encrypted_decrypt(). * mail-ops.c (mail_send_message): Rework the logic a bit. If we find an account, use that to set the sent_folder_uri and the transport_url, otherwise use the X-Evolution-Transport and X-Evolution-Fcc headers. svn path=/trunk/; revision=17566
* If no --with-kde-applnk-path is given, try toEttore Perazzoli2002-07-242-4/+14
| | | | | | detect the directory using `kde-config'. svn path=/trunk/; revision=17565
* Initialise the standard uri's before doing anything else.Not Zed2002-07-243-13/+56
| | | | | | | | | | | | | | | | | | 2002-07-24 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_set_cb): Initialise the standard uri's before doing anything else. * mail-vfolder.c (uri_is_ignore): Return true if the uri is any sent, drafts or outbox folder uri. (mail_vfolder_add_uri): Dont automagically add any sent/outbox/drafts folder with "local" or "remote" etc rules, only add sent folders if explictly listed as folder rules. Maintain the remote/local folders list accordingly. (vfolder_adduri_do): dont check against sent_folder, drafts_folder or outbox_folder, this is checked by above code. For #14863. svn path=/trunk/; revision=17564
* (command_work_online): Remove debuggingEttore Perazzoli2002-07-242-2/+6
| | | | | | | message. (command_work_offline): Likewise. svn path=/trunk/; revision=17563
* Sync before doing an expunge if we dont have uidplus. See #25766.Not Zed2002-07-242-1/+20
| | | | | | | | | | 2002-07-24 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_expunge_uids_online): Sync before doing an expunge if we dont have uidplus. See #25766. (imap_expunge_uids_resyncing): Same here. svn path=/trunk/; revision=17562
* Move folders to a subdirectory of storage_path, rather than in it. Bye byeNot Zed2002-07-242-12/+30
| | | | | | | | | | | | | | 2002-07-24 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (get_folder_online): Move folders to a subdirectory of storage_path, rather than in it. Bye bye everyones settings. See 24947. (get_folder_offline): And here too. (delete_folder): And here too. (rename_folder): and here too. (get_folder_info_offline): And here too. I love code reuse. svn path=/trunk/; revision=17561
* Duplicated the very much hack in imap_store_refresh_folders() to avoid aNot Zed2002-07-242-1/+11
| | | | | | | | | | | 2002-07-24 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (get_folder_info_online): Duplicated the very much hack in imap_store_refresh_folders() to avoid a deadlock in #27959. A decent fix has to wait for a rewrite. svn path=/trunk/; revision=17560
* restart automanager to avoid multiple dialog apearingRadek Doulik2002-07-242-2/+11
| | | | | | | | | 2002-07-23 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (autosave_run): restart automanager to avoid multiple dialog apearing svn path=/trunk/; revision=17559
* Don't use strncmp here or reply-all will match reply.Jeffrey Stedfast2002-07-242-1/+6
| | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (message_tag_followup_decode): Don't use strncmp here or reply-all will match reply. svn path=/trunk/; revision=17558
* Use *Control*equal and *Control*minusEttore Perazzoli2002-07-242-2/+8
| | | | | | | for TextZoomIn and TextZoomOut instead of *Control*+ and *Control*-, since the former actually works. :-) svn path=/trunk/; revision=17557
* (item_key_press): In the case of '-' and '=', checkEttore Perazzoli2002-07-241-0/+6
| | | | | | that no non-Shift modifier is pressed. svn path=/trunk/; revision=17556
* icon fixesJakub Steiner2002-07-244-0/+5
| | | | svn path=/trunk/; revision=17555
* Bind MessageMove to Control-Shift-V. [#24394]Ettore Perazzoli2002-07-243-7/+25
| | | | | | | | | | | | * evolution-mail-message.xml: Bind MessageMove to Control-Shift-V. [#24394] * evolution-addressbook.xml: Bind ContactsMoveToFolder and ContactsCopyToFolder to Control-Shift-V and Control-Shift-Y for consistency with the mailer. Also move "Select All" up in the Edit menu and add a separator before "Delete". svn path=/trunk/; revision=17554
* use proper meeting icon32002-07-242-1/+6
| | | | | | | | 2002-07-23 <jpr@ximian.com> * gui/e-day-view.c (e_day_view_realize): use proper meeting icon svn path=/trunk/; revision=17553
* changed accel for HTML from T to M to avoid conflict with other menuLarry Ewing2002-07-242-1/+6
| | | | | | | | | 2002-07-23 Larry Ewing <lewing@ximian.com> * evolution-message-composer.xml: changed accel for HTML from T to M to avoid conflict with other menu items. svn path=/trunk/; revision=17552
* CVS_SILENTGörkem Çetin2002-07-241-2123/+1516
| | | | svn path=/trunk/; revision=17551
* Also perform a search on the query_changed signal, which is what getsPeter Williams2002-07-246-38/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-22 Peter Williams <peterw@ximian.com> * folder-browser.c (folder_browser_gui_init): Also perform a search on the query_changed signal, which is what gets emitted when the Search menu is used. 2002-07-22 Peter Williams <peterw@ximian.com> * e-filter-bar.c (do_advanced): Break out the code for creating the advanced rule editor into a separate function, so that... (menubar_activated): ... can also create an Advanced dialog; needed when the Search menu's advanced button is used. (option_changed): Change this to call the function instead of having all the code to itself. * e-search-bar.h: Add id's for the FIND_NOW and CLEAR actions so that other code (eg, EFilterBar) doesn't get confused by an old id being used when the search-activated signal gets emitted. * e-search-bar.c (clear_search): Set the item_id to CLEAR before emitting the signal. (search_now_verb_cb): Just make this emit query_changed, as the button in the toolbar does. svn path=/trunk/; revision=17550
* use uri_list before we set "uri-list" to NULL, which will automagicallyNot Zed2002-07-232-2/+7
| | | | | | | | | | 2002-07-24 Not Zed <NotZed@Ximian.com> * mail-display.c (drag_data_delete_cb): use uri_list before we set "uri-list" to NULL, which will automagically free it for us, so dont free it either. Found with vagrind. svn path=/trunk/; revision=17549
* Replace a bunch of old gnomecal functions with the functionally identicalDan Winship2002-07-232-34/+14
| | | | | | | * cal-util/timeutil.c: Replace a bunch of old gnomecal functions with the functionally identical ones from Connector. svn path=/trunk/; revision=17548
* Applied patch below.Not Zed2002-07-232-1/+11
| | | | | | | | | | | | | | 2002-07-23 Not Zed <NotZed@Ximian.com> * Applied patch below. 2002-07-19 Christian Kreibich <christian@whoop.org> * e.msg-composer.c (get_signature_html): Test for the signature delimiter not only at the beginning of a signature file, but also inside the signature. svn path=/trunk/; revision=17547
* Updated Greek translationSimos Xenitellis2002-07-231-9/+5
| | | | svn path=/trunk/; revision=17546
* Updated Greek translationSimos Xenitellis2002-07-232-1086/+1262
| | | | svn path=/trunk/; revision=17545
* Disconnect from folderbroser signals when we unref it, so we dont getNot Zed2002-07-232-0/+7
| | | | | | | | | | 2002-07-23 Not Zed <NotZed@Ximian.com> * message-browser.c (message_browser_destroy): Disconnect from folderbroser signals when we unref it, so we dont get signals later on if someone else has a ref on it (causing crash). svn path=/trunk/; revision=17543
* Reverted some code that got committed by accident.Jeffrey Stedfast2002-07-232-4/+12
| | | | | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some code that got committed by accident. (e_msg_composer_set_view_cc): Same. (e_msg_composer_set_view_replyto): Here too. (e_msg_composer_set_view_from): And here. svn path=/trunk/; revision=17542
* #include <string.h> for memcpy.Jeffrey Stedfast2002-07-232-0/+6
| | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream.c: #include <string.h> for memcpy. svn path=/trunk/; revision=17541
* fixed up some gtk-doc commentsJeffrey Stedfast2002-07-231-5/+13
| | | | svn path=/trunk/; revision=17540
* more cleanupJeffrey Stedfast2002-07-231-78/+78
| | | | svn path=/trunk/; revision=17539
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-232-12/+40
| | | | | | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). (get_file_content): Signatures are now supposed to be in UTF-8 and not the user's locale charset, so we must first read in the content, then check that it is valid UTF-8. If it isn't, then we need to try to convert it to UTF-8. svn path=/trunk/; revision=17538
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-233-177/+176
| | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). svn path=/trunk/; revision=17537
* Check to make sure the script output is valid UTF-8, if not then attemptJeffrey Stedfast2002-07-232-18/+58
| | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_run_script): Check to make sure the script output is valid UTF-8, if not then attempt to convert it into UTF-8. Fixes bug #28086. svn path=/trunk/; revision=17536
* s/Out/Our in a debug printfJeffrey Stedfast2002-07-231-1/+1
| | | | svn path=/trunk/; revision=17535
* removed insert file menu itemRadek Doulik2002-07-232-36/+4
| | | | svn path=/trunk/; revision=17534
* removed Insert file from composers menu + forgotten signature editorRadek Doulik2002-07-233-10/+7
| | | | | | help menu fix svn path=/trunk/; revision=17533
* add *Conf.shDan Winship2002-07-231-0/+1
| | | | svn path=/trunk/; revision=17532
* Move EVO_CHECK_LIB into here, and also create EVO_PURIFY_SUPPORT,Dan Winship2002-07-235-193/+243
| | | | | | | | | | | | | | | | | | * acinclude.m4: Move EVO_CHECK_LIB into here, and also create EVO_PURIFY_SUPPORT, EVO_TIMEZONE_CHECK, and EVO_LDAP_CHECK from stuff in configure.in. (This stuff is also used by Connector.) * configure.in: Remove the stuff that was moved to acinclude.m4. * evolution_addressbookConf.sh.in: Remove db3 and ldap references since pas-backend-file and pas-backend-ldap are no longer in libpas, and those flags weren't doing anything useful here before anyway. (Our attempts to force static linking to those libraries end up getting mangled when passed through gnome-config.) * evolution_calendarConf.sh.in: Likewise, remove db3 references. svn path=/trunk/; revision=17531
* Include libpcsfile.a, libpasfile.a and (if ENABLE_LDAP) libpasldap.aDan Winship2002-07-232-2/+15
| | | | | | | * Makefile.am (wombat_LDADD): Include libpcsfile.a, libpasfile.a and (if ENABLE_LDAP) libpasldap.a svn path=/trunk/; revision=17530
* Split pcs-backend-file out of libpcs and build it as a separate (noinst)Dan Winship2002-07-232-2/+13
| | | | | | | | | | * pcs/Makefile.am: Split pcs-backend-file out of libpcs and build it as a separate (noinst) library libpcsfile.a. This gets the db3 dependencies out of libpcs, and people trying to create a calendar backend shouldn't be calling functions from the existing backends anyway so there's no reason to install them. svn path=/trunk/; revision=17529
* Split pas-backend-file and pas-backend-ldap out of libpas and build themDan Winship2002-07-232-11/+24
| | | | | | | | | | | * backend/pas/Makefile.am: Split pas-backend-file and pas-backend-ldap out of libpas and build them as separate (noinst) libraries libpasfile.a and libpasldap.a. This gets the db3 and LDAP dependencies out of libpas, and people trying to create an addressbook backend shouldn't be calling functions from the existing backends anyway so there's no reason to install them. svn path=/trunk/; revision=17528
* add new image22002-07-233-0/+183
| | | | | | | | 2002-07-22 <jpr@ximian.com> * Makefile.am: add new image svn path=/trunk/; revision=17527
* Check if we're trying to build with the old libversit module borrowed fromDan Winship2002-07-224-3/+28
| | | | | | | | | | | * configure.in: Check if we're trying to build with the old libversit module borrowed from gnome-pim instead of our own new one, and refuse to build if so. * libversit/Makefile.am: Remove libversit.la stuff since we don't want it and it messes up the build slightly. svn path=/trunk/; revision=17526
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-07-222-1079/+1225
| | | | | | | | 2002-07-22 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=17525
* Remove the assert, and always copy over the threadtree which representsNot Zed2002-07-222-5/+9
| | | | | | | | | | | 2002-07-22 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): Remove the assert, and always copy over the threadtree which represents the current view, unreffing the old one if set. For #28021. Haven't tested this a lot, but i guess it cant be worse than what is there. svn path=/trunk/; revision=17524
* When renaming, use full_name to set the folder, not name, so the path isNot Zed2002-07-222-1/+6
| | | | | | | | | 2002-07-22 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (store_folder_renamed): When renaming, use full_name to set the folder, not name, so the path is preserved. svn path=/trunk/; revision=17523
* Oops, forgot to implement this. Fixes #24604.Not Zed2002-07-222-0/+20
| | | | | | | | | 2002-07-22 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_set_message_user_tag): Oops, forgot to implement this. Fixes #24604. svn path=/trunk/; revision=17522
* Only add a \r if the character before the \n wasn't already a \r - thisJeffrey Stedfast2002-07-222-24/+38
| | | | | | | | | | | 2002-07-21 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-crlf.c (filter): Only add a \r if the character before the \n wasn't already a \r - this covers for when people add DOS files as attachments. Fixes bug #28056. ` svn path=/trunk/; revision=17521
* recognize urls in plain text reply quoting logic (bug #27908).Larry Ewing2002-07-212-1/+7
| | | | | | | | | 2002-07-20 Larry Ewing <lewing@ximian.com> * mail-format.c (mail_get_message_body): recognize urls in plain text reply quoting logic (bug #27908). svn path=/trunk/; revision=17520
* Changed to use a different length calculator.Not Zed2002-07-193-14/+23
| | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * camel-mime-part-utils.c (convert_buffer): Changed to use a different length calculator. svn path=/trunk/; revision=17519
* Updated Hungarian translation.Andras Timar2002-07-192-1133/+1257
| | | | | | | | 2002-07-19 Andras Timar <timar@gnome.hu> * hu.po: Updated Hungarian translation. svn path=/trunk/; revision=17518
* Made these able to find the potential row for a new node which will be theChristopher James Lahey2002-07-191-3/+8
| | | | | | | | | | | | 2002-07-19 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (find_next_node, find_first_child_node): Made these able to find the potential row for a new node which will be the last row. (find_row_num): Made this handle find_next_node and find_first_child_node returning n_map. svn path=/trunk/; revision=17517
* This should use address_encode, since its an rfc822 address, notNot Zed2002-07-192-1/+7
| | | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal): This should use address_encode, since its an rfc822 address, not address_format which is for display. svn path=/trunk/; revision=17516
* Try including gtkhtml/gtkhtml.h instead. Test really is a 4 letter wordNot Zed2002-07-192-1/+6
| | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * mail-callbacks.c: Try including gtkhtml/gtkhtml.h instead. Test really is a 4 letter word obviously. svn path=/trunk/; revision=17515
* Add a tooltip to the Save item as per bug 27901.Peter Williams2002-07-192-0/+6
| | | | | | | | | 2002-07-18 Peter Williams <peterw@ximian.com> * evolution-signature-editor.xml: Add a tooltip to the Save item as per bug 27901. svn path=/trunk/; revision=17514
* (double_click_cb): RenamedEttore Perazzoli2002-07-192-57/+69
| | | | | | | | | | | from `dbl_click_cb'. (check_folder_type): Don't pop up an error dialog anymore. (check_folder_type_valid): Renamed from check_folder_type(). (folder_selected_cb): Make the OK button sensitive only if the type of the selected folder is in the list of valid types; otherwise, make it insensitive. [#848] svn path=/trunk/; revision=17513
* removed check for local folders, so that we can import into non-localRodrigo Moya2002-07-192-10/+5
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (start_import): removed check for local folders, so that we can import into non-local ones. svn path=/trunk/; revision=17512
* Change shortcut for "PilotSettings" to be `l'Ettore Perazzoli2002-07-192-1/+7
| | | | | | | instead of `p', so it doesn't conflict with "_Preferences". [#27948] svn path=/trunk/; revision=17511
* Removed unused variable.Ettore Perazzoli2002-07-1914-51/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Removed unused variable. * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Removed unused variable. * e-storage.c (e_storage_path_is_absolute) (e_storage_path_is_relative) (e_storage_async_xfer_folder) * e-storage-set.c (make_full_path) (get_storage_for_path) (signal_new_folder_for_all_folders_under_paths) (signal_new_folder_for_all_folders_in_storage) (e_storage_set_get_path_for_physical_uri) * e-storage-set-view.c (storage_sort_callback) (new_storage_cb) (removed_storage_cb) (new_folder_cb) * e-shortcuts-view.c (get_shortcut_info): * e-shell-view.c (handle_current_folder_removed) * e-shell-utils.c (e_shell_folder_name_is_valid): * e-local-storage.c (construct): * e-folder-tree.c (get_parent_path) (get_parent_path) (e_folder_tree_destroy) (e_folder_tree_add) (e_folder_tree_foreach) * e-folder-dnd-bridge.c (handle_data_received_path) * evolution-storage.c (make_full_uri): * e-shell-constants.h: New #defines E_PATH_SEPARATOR and E_PATH_SEPARATOR_S. * e-local-storage.c (load_folder): Don't add the folder if its type isn't registered. svn path=/trunk/; revision=17510
* Prepend "$(WERROR)" to all the *_CFLAGS variablesEttore Perazzoli2002-07-192-1/+8
| | | | | | | so you can do `make WERROR=-Werror' to turn all compiler warnings into errors. svn path=/trunk/; revision=17509
* Removed bogus static pre-declaration.Ettore Perazzoli2002-07-195-4/+18
| | | | | | | | | | | | | * mail-folder-cache.c: Removed bogus static pre-declaration. * e-searching-tokenizer.c (e_searching_tokenizer_end): Removed unused variables. * mail-callbacks.c: #include <gtkhtml.h>. * folder-info.h (evolution_folder_info_get_type): Add prototype. svn path=/trunk/; revision=17508
* if there's an exception, continue with the next item.Rodrigo Moya2002-07-193-2/+10
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (get_uri_from_folder_path): if there's an exception, continue with the next item. svn path=/trunk/; revision=17507
* Change the HTML to make this a little prettier.Peter Williams2002-07-192-1/+5
| | | | | | | | | 2002-07-18 Peter Williams <peterw@ximian.com> * mail-format.c (handle_multipart_digest): Change the HTML to make this a little prettier. svn path=/trunk/; revision=17506
* Load the messagedisplay XML file as a base for the UI, so that thingsPeter Williams2002-07-192-4/+26
| | | | | | | | | | | | | 2002-07-18 Peter Williams <peterw@ximian.com> * folder-browser-window.c (folder_browser_window_new): Load the messagedisplay XML file as a base for the UI, so that things appear. Don't add the global UI items as they don't make sense here. (fb_window_close): New function, used to ... close the window, suprisingly. svn path=/trunk/; revision=17505
* Put the mcheck stuff back in, which was removed without a changelog entry.Not Zed2002-07-182-2/+11
| | | | | | | | | 2002-07-18 Not Zed <NotZed@Ximian.com> * main.c (main): Put the mcheck stuff back in, which was removed without a changelog entry. svn path=/trunk/; revision=17504
* new icon for jpr. -tig-Tuomas Kuosmanen2002-07-181-0/+0
| | | | | | CVS ---------------------------------------------------------------------- svn path=/trunk/; revision=17503
* Need to add these for the buildPeter Williams2002-07-184-0/+40
| | | | svn path=/trunk/; revision=17502
* #include <glib.h> #include <libgnome/gnome-defs.h>Jeffrey Stedfast2002-07-181-0/+2
| | | | | | | | | | #include <glib.h> #include <libgnome/gnome-defs.h> apparently needed for gnome-i18n.h svn path=/trunk/; revision=17501
* #include <libgnome/gnome-i18n.h>Jeffrey Stedfast2002-07-181-1/+1
| | | | svn path=/trunk/; revision=17500
* Add the appropriate #include for the _() macro.Jeffrey Stedfast2002-07-182-2/+6
| | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * camel-lock.c: Add the appropriate #include for the _() macro. svn path=/trunk/; revision=17499
* Make ChangeLog entry more recentPeter Williams2002-07-181-7/+7
| | | | svn path=/trunk/; revision=17498
* Get the EStorageSet from the shortcut's shell since there is noEttore Perazzoli2002-07-189-99/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): Get the EStorageSet from the shortcut's shell since there is no e_shortcuts_get_storage_set() anymore. * e-shortcuts-view.c (get_shortcut_info): Likewise. (impl_shortcut_drag_motion): Likewise. (impl_shortcut_drag_data_received): Likewise. * e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not e_shortcuts_new() here. * e-shortcuts.c: Removed members storage_set and folder_type_registy in EShortcutsPrivate. New member shell. (init): Init to NULL. (e_shortcuts_construct): Removed arg @storage_set and @folder_type_registry, new arg @shell. (e_shortcuts_new): Removed. (e_shortcuts_new_from_file): New. (impl_destroy): Renamed from destroy(). (e_shortcuts_get_storage_set): Removed. (e_shortcuts_get_shell): New. (load_shortcuts): Accept any URI that can be parsed (by e_shell_parse_uri). * e-shell.c (e_shell_parse_uri): New. * e-shell-view.c (evolution_uri_for_default_uri): New. (display_uri): Use it to determine the evolution: uri given a default: uri. * e-shell.c (impl_Shell_handleURI): Pass it over to e_shell_create_view_from_uri_and_settings() even if it's an E_SHELL_DEFAULTURI_PREFIX. (handle_default_uri): Removed. svn path=/trunk/; revision=17497
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-1829-116/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* Use the U_() macro to get the UTF-8 translation.Jeffrey Stedfast2002-07-183-21/+28
| | | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): Use the U_() macro to get the UTF-8 translation. svn path=/trunk/; revision=17495
* use "saved" gtkhtml commandRadek Doulik2002-07-182-0/+8
| | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (save_draft_done): use "saved" gtkhtml command svn path=/trunk/; revision=17494
* use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved"Radek Doulik2002-07-182-3/+11
| | | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (save): use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved" gtkhtml command svn path=/trunk/; revision=17493
* Oops, Don't comment out the mail_note_store call.Jeffrey Stedfast2002-07-182-2/+7
| | | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (add_storage): Oops, Don't comment out the mail_note_store call. svn path=/trunk/; revision=17492
* use util function to see if the user is the organizer72002-07-1811-55/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-17 <jpr@ximian.com> * gui/calendar-model.c (calendar_model_value_at): use util function to see if the user is the organizer * gui/dialogs/cancel-comp.c (cancel_component_dialog): add deleting proto to indicate whether cancelling or deleting is the primary operation * gui/dialogs/cancel-comp.h: update proto * gui/dialogs/comp-editor.c (delete_cmd): offer to cancel * gui/dialogs/task-editor.c (cancel_task_cmd): call cancel_component_dialog with new param * gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): only update request if user is organizer (e_week_view_show_popup_menu): disable the meeting and meeting organizer mask if appropriate (e_week_view_delete_event_internal): offer to cancel the meeting (e_week_view_on_cut): ditto (selection_received): send request if its a meeting * gui/e-day-view.h: add meeting icon/mask * gui/e-day-view.c (e_day_view_on_event_right_click): disable the meeting and meeting organizer mask if appropriate (e_day_view_delete_event_internal): offer to cancel meeting (e_day_view_on_cut): ditto (e_day_view_finish_long_event_resize): only update request if user is organizer (e_day_view_reshape_long_event): add meeting icon to count (e_day_view_reshape_day_event): ditto (e_day_view_on_top_canvas_drag_data_received): only update request if user is organizer (e_day_view_on_main_canvas_drag_data_received): ditto (selection_received): offer to send meeting info * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): draw meeting icon if appropriate (using dummy icon atm) svn path=/trunk/; revision=17491
* (setup_standard_verbs): Set the <commands> partEttore Perazzoli2002-07-182-5/+41
| | | | | | | | | | | | | | | | of the XML manually with bonobo_ui_component_set() otherwise the verbs don't get added on the other side for us to be able to do bonobo_ui_component_set_prop(). (setup_bonobo_menus): New, menu setup code taken from update_bonobo_menus(). (remove_bonobo_menus): New; removes the Bonobo menus. (update_bonobo_menus): Rewritten, just call remove_bonobo_menus() first and setup_bonobo_menus() then. (e_search_bar_set_ui_component): Call setup_bonobo_menus() and remove_bonobo_menus() as appropriate instead of just update_bonobo_menus(). svn path=/trunk/; revision=17490
* remove debug printfDan Winship2002-07-171-2/+0
| | | | svn path=/trunk/; revision=17489
* Got rid of the stupid "tryagain" semantics, which didn't work.Not Zed2002-07-172-31/+38
| | | | | | | | | | 2002-07-17 Not Zed <NotZed@Ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Got rid of the stupid "tryagain" semantics, which didn't work. (pop3_connect): Fixed here to only retry under proper conditions. svn path=/trunk/; revision=17488
* Set the from-account last so that auto-cc/bcc recipients don't getJeffrey Stedfast2002-07-172-1/+7
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_headers): Set the from-account last so that auto-cc/bcc recipients don't get overwritten when setting the cc/bcc recipient fields. svn path=/trunk/; revision=17487
* Added final large versions of the InboxEttore Perazzoli2002-07-173-0/+5
| | | | | | and Outbox icons. svn path=/trunk/; revision=17486
* When CRLF encoding, "empty" (after stripping trailing whitespaceJeffrey Stedfast2002-07-172-0/+10
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-canon.c (filter): When CRLF encoding, "empty" (after stripping trailing whitespace characters) lines need to end in CRLF also, not just lines with data in them. svn path=/trunk/; revision=17485
* remove the option menu and browse button, and add a custom widgetChris Toshok2002-07-173-377/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-16 Chris Toshok <toshok@ximian.com> * gui/component/select-names/select-names.glade: remove the option menu and browse button, and add a custom widget placeholder for the folder-selector. * gui/component/select-names/e-select-names.c (addressbook_model_set_uri): move the "append /addressbook.db" stuff here. (e_addressbook_create_ebook_table): remove the code setting initial uri from here. (e_select_names_folder_free): gone. (e_select_names_option_activated): gone. (add_menu_item): gone. (update_option_menu): gone. (new_folder): gone. (removed_folder): gone. (folder_browse): gone. (hookup_listner): gone. (add_additional_select_names_uris): gone. (e_select_names_hookup_listners): gone. (e_addressbook_create_folder_selector): new function, create the folder selector button. (folder_selected): new function, callback for the folder selector. just calls addresbook_model_set_uri. (e_select_names_init): get the folder selector and initialize it to show /local/Contacts. also, set the model's uri here to the same folder. nuke the code involving the old option menu and browse button. svn path=/trunk/; revision=17484
* Re-enable some #if 0'd code.Jeffrey Stedfast2002-07-176-18/+32
| | | | | | | | | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code. * mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE for an auto_connect argument since that argument no longer exists. * mail-account-gui.c (add_new_store): Updated to not pass an auto_connect argument. * component-factory.c (add_storage): Don't ever auto-connect here. (mail_add_storage): No longer takes an auto_connect argument. (mail_load_storages): Only load the account storages that are enabled. svn path=/trunk/; revision=17483
* Clean up some improper usage of CamelExceptions (looking atPeter Williams2002-07-174-10/+27
| | | | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Clean up some improper usage of CamelExceptions (looking at camel_exception_is_set when ex = NULL). * providers/imap/camel-imap-store.c (get_folder_online): Here too. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_new): Nothing sets the exception so don't bother to check it at the end of this function. Prevents a warning about checking a NULL exception's value. svn path=/trunk/; revision=17482
* Remove a stray conflict marker.Peter Williams2002-07-171-1/+0
| | | | svn path=/trunk/; revision=17481
* Instead of doing this with a weakref, do it by connecting to the destroyPeter Williams2002-07-173-9/+24
| | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * e-msg-composer.c (create_composer): Instead of doing this with a weakref, do it by connecting to the destroy signal. The weakref was not getting notified in certain conditions that I could never really pin down, and this caused problems at exit. * e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to before from, because create_from_optionmenu causes from_changed to be called, which expects reply_to.entry to exist. svn path=/trunk/; revision=17480
* Make the standard AUTH format take priority over the AUTH= priority, sinceJeffrey Stedfast2002-07-173-18/+43
| | | | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_helo): Make the standard AUTH format take priority over the AUTH= priority, since sometimes servers only list a subset of the supported authtypes in the AUTH= response while they list all authtypes in the standard AUTH response. Fixes "bug" #27841. svn path=/trunk/; revision=17479
* Forgot part of the patchPeter Williams2002-07-171-1/+2
| | | | svn path=/trunk/; revision=17478
* Install the SelectNames IDL and ancillary changes.Peter Williams2002-07-172-4/+10
| | | | | | | | | 2002-07-08 Peter Williams <peterw@ximian.com> * gui/component/select-names/Makefile.am (idl_DATA): Install the SelectNames IDL and ancillary changes. svn path=/trunk/; revision=17477
* add folder.png, folder-mini.png, public-folder.png, andDan Winship2002-07-166-0/+14
| | | | | | | | | | | | * Makefile.am (images_DATA): add folder.png, folder-mini.png, public-folder.png, and public-folder-mini.png * folder-mini.png: Renamed from local-16.png * folder.png, public-folder.png, public-folder-mini.png: New, from Jakub. svn path=/trunk/; revision=17476
* If we're not online and the message isn't in our cache, give up.Peter Williams2002-07-162-1/+12
| | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_get_message): If we're not online and the message isn't in our cache, give up. svn path=/trunk/; revision=17475
* Cast to a string type. (term_eval_castint): Cast to an int type.Not Zed2002-07-163-3/+83
| | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * e-sexp.c (term_eval_caststring): Cast to a string type. (term_eval_castint): Cast to an int type. (symbols[]): Add to symbol table. * e-memory.c: Some more profiling for epoolv's. svn path=/trunk/; revision=17474
* Lookup the label colour based on the label token, not an integer.Not Zed2002-07-163-17/+19
| | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * message-list.c (ml_tree_value_at): Lookup the label colour based on the label token, not an integer. * folder-browser.c (on_right_click): Lookup the label name from the filter type. Sigh, a bunch of other code should do similar but i'm going to leave it as integers. (set_msg_label): Set the label directly. svn path=/trunk/; revision=17473
* cvs remove.Not Zed2002-07-167-132/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h * vfoldertypes.xml: Fix label vfolder rule as below, also add score and size rules from filtertypes.xml. * filtertypes.xml (score): Use (cast-int (user-tag "score")) to get the value directly, rather than (get-score). (label): Use (user-tag "label") to get the value directly, rather than (get-label). The label is now a string too. * filter-label.c (filter_label_get_type): Make filter-label inherit from filter-option. Which makes more sense doesn't it ... surely. (validate): Removed, optionlists are self-validating. (xml_create): Initialise the list of options from our configuration database. If it isn't working, ignore it and set it up anyway. (filter_label_init): Override the xml type. (filter_label_count): (filter_label_label): (filter_label_index): Some helper functions for external interfaces. All of the mail config/etc should use this. * filter-option.c (free_option): (xml_create): (clone): Made the "value" type in glib memory rather than xml memory space. (filter_option_add): Utility function to add a new option to the list. (clone): Use above function to simplify code. (xml_create): Same here. (xml_encode): Allow subclasses to override the type. svn path=/trunk/; revision=17472
* Removed. (get_score): Removed. Labels & scores are stored in tags, weNot Zed2002-07-162-36/+15
| | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * camel-filter-search.c (get_label): Removed. (get_score): Removed. Labels & scores are stored in tags, we already have a function to get tags. (user_tag): Fail if we dont get valid arguments, it must be a string type. (system_flag): Same here. svn path=/trunk/; revision=17471
* Try to get the FQDN from the results of gethostname(). If that fails, thenJeffrey Stedfast2002-07-162-9/+26
| | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_msgid_generate): Try to get the FQDN from the results of gethostname(). If that fails, then fall back to the results gotten from gethostname() or if that fails just use "localhost.localdomain". Addresses bug #17416. (header_decode_param): Protect against a NULL value. svn path=/trunk/; revision=17470
* updatedRadek Doulik2002-07-161-448/+433
| | | | svn path=/trunk/; revision=17469
* Pass 'info' into mail_append_mail(), seems I created the info but forgotJeffrey Stedfast2002-07-162-18/+28
| | | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_cb): Pass 'info' into mail_append_mail(), seems I created the info but forgot to pass it in. (composer_send_queued_cb): If the message is successfully queued, we destroy the composer, otherwise we unref it. Don't ever destroy and then unref it. svn path=/trunk/; revision=17468
* use new save_header_state flagRadek Doulik2002-07-162-3/+7
| | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * mail-callbacks.c: use new save_header_state flag svn path=/trunk/; revision=17467
* added save_html_object_data parameter, use gtkhtml command to save objectRadek Doulik2002-07-163-6/+22
| | | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (build_message): added save_html_object_data parameter, use gtkhtml command to save object data when wanted svn path=/trunk/; revision=17466
* Get rid of the constant 'required' variable, just use the value whenJeffrey Stedfast2002-07-162-3/+5
| | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of the constant 'required' variable, just use the value when calling set_best_encoding. svn path=/trunk/; revision=17465
* Changed the mbox and spool provider descriptions to try and be more clear.Jeffrey Stedfast2002-07-162-7/+18
| | | | | | | | | | | | | | 2002-07-15 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-local-provider.c: Changed the mbox and spool provider descriptions to try and be more clear. I'm not sure I like the mention of Evolution in the mbox provider description, but there was no other way to make it clear that it MOVED mail out of the mbox folder into a folder managed by Evolution without mentioning Evolution. *sigh* Anyways, to me "retrieve" means move, but apparently this isn't clear to the weak minded. svn path=/trunk/; revision=17464
* Fixes #8001Rodrigo Moya2002-07-164-37/+107
| | | | | | | | | | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #8001 * importers/icalendar-importer.c (connect_to_shell): new function for connecting the importers (both iCal and vCal) to the shell, needed for some information retrieval about the folders we're importing to. (ical_importer_new, vcal_importer_new): call connect_to_shell. (importer_destroy_cb): unref the shell client object. (get_uri_from_folder_path): retrieve the uri from the storage registry. (check_folder_type): removed. * importers/Makefile.am: included libeshell to LIBS. svn path=/trunk/; revision=17463
* Add a Control-Return accel for "FileSaveClose".Ettore Perazzoli2002-07-164-3/+16
| | | | | | | | | | | | | * evolution-signature-editor.xml: Add a Control-Return accel for "FileSaveClose". * evolution-contact-list-editor.xml: Add a Control-Return accel for "ContactListEditorSaveClose". * evolution-contact-editor.xml: Add a Control-Return accel for "ContactEditorSaveClose". svn path=/trunk/; revision=17462
* no need to convert the value returned by e_folder_tree_get_folder to aRodrigo Moya2002-07-162-7/+23
| | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> * evolution-storage.c (impl_Storage_getFolderAtPath): no need to convert the value returned by e_folder_tree_get_folder to a GNOME_Evolution_Folder, since it already is, and duplicate it before returning. svn path=/trunk/; revision=17461
* >= is not appropriate here because the sequences are 1-based; so seq =Peter Williams2002-07-162-2/+11
| | | | | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): >= is not appropriate here because the sequences are 1-based; so seq = summary_len is valid. Hopefully addresses 15646, because this caused the last message in a folder to be reloaded, replacing its CamelMessageInfo, and the tree view was using the old CamelMessageInfo. svn path=/trunk/; revision=17460
* Account for the case that when a disco store is "online" but actuallyPeter Williams2002-07-154-3/+20
| | | | | | | | | | | | | | | | 2002-07-15 Peter Williams <peterw@ximian.com> * mail-offline-handler.c (service_is_relevant): Account for the case that when a disco store is "online" but actually offline and we're going online, we should actually connect it. * component-factory.c (mail_load_storages): Always set auto_connect to FALSE, same reason as below. * mail-session.c (mail_session_init): Initialize our session to not be online, since the shell will tell us to go online if we need to. svn path=/trunk/; revision=17459
* remove a stray conflict markerPeter Williams2002-07-151-1/+0
| | | | svn path=/trunk/; revision=17458
* Define a versioned library directory that we can use for things that arePeter Williams2002-07-155-3/+25
| | | | | | | | | | | | | | | | | | | | | 2002-07-10 Peter Williams <peterw@ximian.com> * configure.in (privlibdir): Define a versioned library directory that we can use for things that are ABI-sensitive: camel providers, importers... Define camel_providerder in terms of this, resulting in a new location for the providers. Camel will have to be rebuilt for it to get the new -D flag. mail: 2002-07-10 Peter Williams <peterw@ximian.com> * Makefile.am (importerdir): Define this in terms of the new privlibdir, again resulting in a new directory name. * importers/Makefile.am (importersdir): Here too. svn path=/trunk/; revision=17457