aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tweak how we build the tree based on whether a full tree or a subtree isPeter Williams2002-08-102-1/+31
| | | | | | | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-store.c (get_folder_info_online): Tweak how we build the tree based on whether a full tree or a subtree is being requested. Fixes subscribe dialog on UW servers. (get_one_folder_offline): Don't add folders that we're not subscribed to; fixes UW folders that weren't being marked as NoSelect because the storeinfo doesn't record that information. svn path=/trunk/; revision=17755
* Handle the fact that ccd may be NULL (if the composer was created viaDan Winship2002-08-102-7/+13
| | | | | | | | * mail-callbacks.c (composer_send_queued_cb, save_draft_done): Handle the fact that ccd may be NULL (if the composer was created via CORBA). Quick temporary fix for sending meeting requests. svn path=/trunk/; revision=17754
* set the editor to changed so the item actually gets savedJP Rosevear2002-08-102-0/+7
| | | | | | | | | 2002-08-09 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (real_send_comp): set the editor to changed so the item actually gets saved svn path=/trunk/; revision=17753
* When renaming our cache, add the "/folders" to the path.Peter Williams2002-08-102-1/+9
| | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_rename): When renaming our cache, add the "/folders" to the path. svn path=/trunk/; revision=17752
* When a URI is changed, try to copy over threaded view settings, previewPeter Williams2002-08-102-0/+71
| | | | | | | | | | | 2002-08-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_uri_renamed): When a URI is changed, try to copy over threaded view settings, preview pane shown settings, headers, hide state, tree expansion, and GAL view files. (uri_to_evname): New utility function. svn path=/trunk/; revision=17751
* Remove both timeouts when the dialog is destroyed, not just one of them.Dan Winship2002-08-104-44/+76
| | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (create_progress_dialog): Remove both timeouts when the dialog is destroyed, not just one of them. (shared_folder_discovery_listener_callback): Don't try to access fields of discovery_data after destroying it. Interpret the result argument correctly, and put up an error dialog (using e_corba_storage_corba_result_to_storage_result and e_storage_result_to_string) if something went wrong. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): convert a GNOME_Evolution_Storage_Result to an EStorageResult. (async_folder_cb): Use that. svn path=/trunk/; revision=17750
* initialize summary->upgraded to quiet valgrind.Chris Toshok2002-08-092-0/+6
| | | | | | | | | 2002-08-08 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (pas_backend_summary_init): initialize summary->upgraded to quiet valgrind. svn path=/trunk/; revision=17749
* Instead of comparing old/new CamelStore objects, just compare theirJeffrey Stedfast2002-08-092-55/+23
| | | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Instead of comparing old/new CamelStore objects, just compare their account urls since changing params would still result in the same CamelStore object. Fixes bug #18539. svn path=/trunk/; revision=17748
* check for an attendee in the list (comp_to_list): only add the user ifJP Rosevear2002-08-094-60/+57
| | | | | | | | | | | | | | | | | | 2002-08-08 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (users_has_attendee): check for an attendee in the list (comp_to_list): only add the user if they aren't on the list (comp_server_send): don't remove the users, pass back the list (itip_send_comp): send to server before doing comp_minimal * gui/dialogs/comp-editor.c (real_send_comp): edit and save the updated comp * pcs/cal.c (impl_Cal_send_object): copy the correct item to pass back svn path=/trunk/; revision=17747
* Only get folder info if this is a folder we're displaying.Dan Winship2002-08-092-29/+19
| | | | | | | * e-summary-mail.c (update_folder_cb): Only get folder info if this is a folder we're displaying. svn path=/trunk/; revision=17746
* Initialize loaded_backends before using it. (Just kills off a harmlessDan Winship2002-08-092-9/+17
| | | | | | | | * pcs/query-backend.c (query_backend_new): Initialize loaded_backends before using it. (Just kills off a harmless g_warning.) svn path=/trunk/; revision=17745
* Fixes #15710Rodrigo Moya2002-08-085-1/+63
| | | | | | | | | | | | | | | | | | | 2002-08-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * cal-util/cal-component.[ch] (cal_component_alarm_get_icalcomponent): new function for getting the icalcomponent from a CalComponentAlarm. * gui/comp-util.c (cal_comp_event_new_with_defaults): added X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder alarm, so that we can identify it when saving the component. * gui/dialogs/alarm-page.c (alarm_page_fill_component): if the alarm has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the description to be the same as of the component. svn path=/trunk/; revision=17744
* Set some default permanent_flags. This is the other cause of bug #28038.Jeffrey Stedfast2002-08-082-3/+16
| | | | | | | | | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set some default permanent_flags. This is the other cause of bug #28038. (imap_refresh_info): After calling camel_imap_command() with a NULL format value (this is a shortcut to change the current_folder by SELECTing it), call camel_imap_folder_selected(). This may have been why permanent_flags never got set on the folder even after going online in bug #28038. (imap_update_summary): Same here. Also NULL-guard camel_imap_response_free(). svn path=/trunk/; revision=17743
* oops, forgot to save before I commit'd apparentlyJeffrey Stedfast2002-08-081-3/+0
| | | | svn path=/trunk/; revision=17742
* Set some default permanent_flags. This is the other cause of bug #28038.Jeffrey Stedfast2002-08-082-0/+9
| | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set some default permanent_flags. This is the other cause of bug #28038. svn path=/trunk/; revision=17741
* Don't check permanent_flags for the CAMEL_MESSAGE_DELETED bit here, if weJeffrey Stedfast2002-08-082-0/+8
| | | | | | | | | | | 2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (delete_msg): Don't check permanent_flags for the CAMEL_MESSAGE_DELETED bit here, if we are gonna check to see if the folder supports the permanent flag then there are better places to check this. Besides, it was the cause for bug #28038. svn path=/trunk/; revision=17740
* Dont allow duplicate names. (edit_editor_clicked): Same here. For #24803.Not Zed2002-08-082-2/+34
| | | | | | | | | 2002-08-08 Not Zed <NotZed@Ximian.com> * rule-editor.c (add_editor_clicked): Dont allow duplicate names. (edit_editor_clicked): Same here. For #24803. svn path=/trunk/; revision=17739
* Force a refresh of the menu sensitivity when the thread state changes.Not Zed2002-08-083-60/+92
| | | | | | | | | | | | | | | | | 2002-08-08 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_toggle_threads): Force a refresh of the menu sensitivity when the thread state changes. 2002-08-07 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c: Added EditSelectThread to only enable threaded mode if threaded is on. For #19941. Added some macro's to simplify the table. (folder_browser_ui_set_selection_state): Implement IS_THREADED mask. svn path=/trunk/; revision=17738
* Oops - outbuf pointed to alloca'd memory but we were g_free'ing it afterJeffrey Stedfast2002-08-083-7/+14
| | | | | | | | | | | | | 2002-08-07 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_encode_param): Oops - outbuf pointed to alloca'd memory but we were g_free'ing it after using it. Instead use g_malloc for this outbuf buffer since it may be kinda large. Also don't depend on a single byte to nul-terminate the outbuf buffer so as to be safe with charsets such as UCS2 and UCS4, instead keep a pointer to the end of the buffer. svn path=/trunk/; revision=17737
* Delete the Draft item that this was edited from if that is the case asJeffrey Stedfast2002-08-082-61/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_send_queued_cb): Delete the Draft item that this was edited from if that is the case as well as setting any replied flags if we need to. Fixes bug #18171. (save_draft_done): Not only delete the previously saved draft, but also set any PostSendData on the message being replied to or whatever. Fixes bug #20224. (compose_msg): Create an empty callback data struct which is now a MUST. (mail_reply): Fill in the new post_send_data info and also move the creation of the post_send_data to AFTER the creation of the composer widget so we don't leak on fail. (forward_get_composer): Pass an empty post_send_data structure as the user_data to the signal callbacks. (send_to_url): Same. (post_to_url): Here too. (redirect_get_composer): And here. (do_edit_messages): We no longer use the evil kludge of setting data on the composer object to denote the drafts_uid etc, this is now part of the post_send_data struct. svn path=/trunk/; revision=17736
* Only add the stream to the gdatalist if it is non-NULL.Jeffrey Stedfast2002-08-082-2/+8
| | | | | | | | | 2002-08-07 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (parse_fetch_response): Only add the stream to the gdatalist if it is non-NULL. svn path=/trunk/; revision=17735
* just return the object untouched since we don't send anythingJP Rosevear2002-08-0810-87/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-07 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_send_object): just return the object untouched since we don't send anything * pcs/cal-backend.c (cal_backend_remove_object): call virtual method * pcs/cal-backend.h: add send result codes, new proto * pcs/cal.c (impl_Cal_send_object): implement sendObject corba call (cal_class_init): add to epv * gui/itip-utils.c (comp_toplevel_with_zones): utility function to create icalcomponent with necessary timezone info (comp_has_attendee): see if attendee is in the attendee list (comp_server_send): use above and remove attendees if the server sends them * gui/e-itip-control.c (show_current_todo): remove unused var * idl/evolution-calendar.idl: add Busy exception and * cal-client/cal-client.c (cal_client_send_object): send object via the server (if the server can) * cal-client/cal-client.h: add send results and new proto svn path=/trunk/; revision=17734
* Do slightly better error handling for close() and loop until it closesJeffrey Stedfast2002-08-081-3/+4
| | | | | | | | | 2002-08-07 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Do slightly better error handling for close() and loop until it closes successfully. svn path=/trunk/; revision=17733
* Added an alignment to make button position be the same as the otherAnna Marie Dirks2002-08-083-4/+23
| | | | | | | | | | | | | | 2002-08-07 Anna Marie Dirks <anna@ximian.com> * e-summary-shown.c (e_summary_shown_init): Added an alignment to make button position be the same as the other buttons of this type in evo. (add_clicked): make this buttons sensitive when there is no proper selection (remove_clicked): same thing with the button * my-evolution.glade: Capitalized "Weather Settings" properly. svn path=/trunk/; revision=17732
* If outbox_folder is NULL, don't try and get its message count (this shouldPeter Williams2002-08-082-1/+6
| | | | | | | | | 2002-08-07 Peter Williams <peterw@ximian.com> * component-factory.c (request_quit): If outbox_folder is NULL, don't try and get its message count (this should never happen, but has.) svn path=/trunk/; revision=17731
* agh, don't break the build (shame on me)Jeffrey Stedfast2002-08-071-1/+1
| | | | svn path=/trunk/; revision=17730
* forgot changelogNot Zed2002-08-071-0/+3
| | | | | | | | | 2002-08-07 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c: Enable the view type menu's always. See #20901. svn path=/trunk/; revision=17729
* Set the week start day from the calendar prefs, do same for 24 hourNot Zed2002-08-071-3/+3
| | | | | | | | | 2002-08-07 Not Zed <NotZed@Ximian.com> * message-tag-followup.c (target_date_new): Set the week start day from the calendar prefs, do same for 24 hour format. See #23423. svn path=/trunk/; revision=17728
* Don't need to save temp/backup files anymore, e_xml_save_file() nowJeffrey Stedfast2002-08-072-15/+10
| | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (save): Don't need to save temp/backup files anymore, e_xml_save_file() now handles this for us (well, at least the saving of temp files). I'm not sure we need a backup file anymore now that we can depend on e_xml_save_file() to "Just Work" svn path=/trunk/; revision=17727
* No need to save a temporary file first anymore since I updatedJeffrey Stedfast2002-08-072-19/+8
| | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (save_metainfo): No need to save a temporary file first anymore since I updated e_xml_save_file() to do this for us. svn path=/trunk/; revision=17726
* Changed to handle saving to a temp file first, this allows us to remove aJeffrey Stedfast2002-08-071-3/+26
| | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Changed to handle saving to a temp file first, this allows us to remove a lot of duplicate code from everywhere. svn path=/trunk/; revision=17725
* And finally here.Jeffrey Stedfast2002-08-074-74/+6
| | | | | | | | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): And finally here. * e-table-state.c (e_table_state_save_to_file): Same here. * e-table-specification.c (e_table_specification_save_to_file): No need to save to a temp file first here either since e_xml_save_file now does that for us. * e-table.c (e_table_save_specification): No need to handle writing to a temp file first anymore, since I've updated e_xml_save_file() to handle that for us. svn path=/trunk/; revision=17724
* Set the week start day from the calendar prefs, do same for 24 hourNot Zed2002-08-074-4/+56
| | | | | | | | | | | | | | 2002-08-07 Not Zed <NotZed@Ximian.com> * message-tag-followup.c (target_date_new): Set the week start day from the calendar prefs, do same for 24 hour format. See #23423. * mail-config.c (config_read): Added week_start_day from Calendar/Display config. Also time_24hour format. (mail_config_get_week_start_day): (mail_config_get_time_24hour): And read-only accessors. svn path=/trunk/; revision=17723
* Use "\r" rather than including literal CRs in the string, which confusesDan Winship2002-08-073-54/+35
| | | | | | | | | * backend/ebook/test-client.c (TEST_VCARD): Use "\r" rather than including literal CRs in the string, which confuses gcc on OS X. * backend/ebook/test-card.c (TEST_VCARD): Likewise. svn path=/trunk/; revision=17722
* Save to a temporary file first using e_xml_save_file rather thanJeffrey Stedfast2002-08-072-11/+38
| | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (save_metainfo): Save to a temporary file first using e_xml_save_file rather than xmlSaveFile, if the save completes successfully then rename it to the real filename. Make sure that errno is saved. (mls_get_folder): save_metainfo doesn't return -1 on fail, it returns FALSE. svn path=/trunk/; revision=17721
* Use e_xml_save_file(). (xml_doc_save): Removed this code and added it toJeffrey Stedfast2002-08-072-300/+11
| | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (save): Use e_xml_save_file(). (xml_doc_save): Removed this code and added it to gal so that e-table and all other parts of evolution and so forth could use it. svn path=/trunk/; revision=17720
* Need to check for gal 0.19.99.18 for e_xml_save_file().Jeffrey Stedfast2002-08-072-1/+6
| | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * configure.in (THREADS_CFLAGS): Need to check for gal 0.19.99.18 for e_xml_save_file(). svn path=/trunk/; revision=17719
* Bumped version to 0.19.99.18Jeffrey Stedfast2002-08-072-1/+312
| | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Bumped version to 0.19.99.18 * gal/util/e-xml-utils.c (e_xml_save_file): New convenience function to save an xmlDocPtr. Replaces xmlSaveFile because xmlSaveFile isn't dependable. svn path=/trunk/; revision=17718
* #include <string.h> for memsetJeffrey Stedfast2002-08-075-21/+125
| | | | | | | | | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-cell-progress.c: #include <string.h> for memset * e-table.c (e_table_save_specification): Updated to use e_xml_save_file() instead of xmlSaveFile(). Also fixed to save to a tmp file first. * e-table-specification.c (e_table_specification_save_to_file): Same as above. * e-table-state.c (e_table_state_save_to_file): Same here. * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): And here too. svn path=/trunk/; revision=17717
* Don't include the storage name in the path passed toDan Winship2002-08-072-3/+12
| | | | | | | | | * e-storage-set-view.c (folder_property_item_verb_callback): Don't include the storage name in the path passed to e_corba_storage_show_folder_properties, for consistency with the other EStorage methods. svn path=/trunk/; revision=17716
* New placeholder at FolderPopup/StorageFolderPropertiesPlaceholder.Ettore Perazzoli2002-08-072-0/+7
| | | | | | | New placeholder at FolderPopup/StorageFolderPropertiesPlaceholder. svn path=/trunk/; revision=17715
* New callback for the show_folder_properties signal.Ettore Perazzoli2002-08-0716-52/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (storage_show_folder_properties_callback): New callback for the show_folder_properties signal. (setup_custom_storage): Add two property items, and connect the callback to the signal. * e-storage-set-view.c: Renamed private member container into ui_container; new member ui_component. (init): Initialize ui_component to NULL. (impl_destroy): Unref if not NULL. (e_storage_set_view_construct): If @ui_container is not NULL, weakref it and create a new ui_component that uses it as its container. (ui_container_destroy_notify): New, weakref destroy callback for priv->ui_container. (remove_property_items): New helper function. (setup_folder_properties_items_if_corba_storage_clicked): New helper function. (folder_property_item_verb_callback): New callback for the verbs associated to the folder property items. (popup_folder_menu): Set up the per-storage folder property items using setup_folder_properties_items_if_corba_storage_clicked() and remove them with remove_property_items() after the menu has been popped down. Don't invoke populate_folder_context_menu if there is no handler for this node [this avoids a spurious warning]. * e-corba-storage.c (e_corba_storage_show_folder_properties): New. (e_corba_storage_get_folder_property_items): New. (e_corba_storage_free_property_items_list): New. * evolution-storage.c: New private member folder_property_items. (init): Init to NULL. (destroy): Free. (impl_showFolderProperties): New, implementation for the Storage::showFolderProperties CORBA method. (class_init): Set up the "show_folder_properties" signal here. (impl_Storage__get_propertyItems): New, getter for the Storage::propertyItems property. (corba_class_init): Install the new methods. (evolution_storage_add_property_item): New function to add property items to the storage. * evolution-storage.h: New signal show_folder_properties. * e-storage-set.c (e_storage_set_create_new_view): Renamed from e_storage_set_new_view(). * Evolution-Storage.idl: Added attribute folderPropertyItems and method ::showFolderProperties. svn path=/trunk/; revision=17714
* new function. (query_backend_get_uids): new function. (query_backend_new):Rodrigo Moya2002-08-064-15/+139
| | | | | | | | | | | | | | | | | | | | 2002-08-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch] (query_backend_get_object_component): new function. (query_backend_get_uids): new function. (query_backend_new): create the static GHashTable if it hasn't been created yet. (query_backend_destroy): destroy the static GHashTable if empty. (foreach_uid_cb): call object_updated_cb, which does everything. * pcs/query.c: make use of the new QueryBackend class. (query_init): initialize new private structure member. (query_destroy): clean up new member, without freeing it, since it is managed internally in query-backend.c. (query_construct): create a QueryBackend for the query. svn path=/trunk/; revision=17713
* Set the rule name to include the search string, for #10979.Not Zed2002-08-062-2/+12
| | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_search_menu_activated): Set the rule name to include the search string, for #10979. svn path=/trunk/; revision=17712
* If writing to the sendmail pipe fails, wait for the sendmail process toJeffrey Stedfast2002-08-062-12/+27
| | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * providers/sendmail/camel-sendmail-transport.c (sendmail_send_to): If writing to the sendmail pipe fails, wait for the sendmail process to exit before returning. Fixes bug #19636. svn path=/trunk/; revision=17711
* Set the query text into the filter name when saving it, for #10979.Not Zed2002-08-062-2/+13
| | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): Set the query text into the filter name when saving it, for #10979. svn path=/trunk/; revision=17710
* 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