From 8f8b24c737a907f91b88bf0b2b985d56b4051848 Mon Sep 17 00:00:00 2001 From: 6 Date: Sat, 27 Oct 2001 06:02:04 +0000 Subject: Changed to open the source store from '/', so we can do renames across 2001-10-26 * mail-local.c (mlf_set_folder): Changed to open the source store from '/', so we can do renames across directories. Of course, this doesn't quite work with different filesystems, but we'll assume this isn't a problem we're going to have. (mail_local_folder_get_type): Setup parent_class. (mlf_rename): Implement folder rename call, rename internal data. Is this a security issue? Well, not really, no more than anything else. * mail-folder-cache.c (mail_note_store): Listen to rename event. (store_folder_renamed): Function to handle it, empty. (mail_note_store_remove): Unhook from rename event. (mail_note_folder): Hook onto renamed event. (unset_folder_info): Unhook from renamed event. (folder_finalised): Lock around update. (folder_deleted): Lock around update. (real_flush_updates): If we have a path to remove remove it. (rename_folders): Scan folderinfo's, if we can find ones renamed, rename them, otherwise add them. * component-factory.c (owner_unset_cb): Use a timeout not an idle handler. (storage_xfer_folder): Implementation of xfer_folder signal handler, so we can rename imap/vfolders/etc. svn path=/trunk/; revision=14205 --- mail/ChangeLog | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'mail/ChangeLog') diff --git a/mail/ChangeLog b/mail/ChangeLog index 2b74b79682..631fed11d4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -22,6 +22,31 @@ 2001-10-26 + * mail-local.c (mlf_set_folder): Changed to open the source store + from '/', so we can do renames across directories. Of course, + this doesn't quite work with different filesystems, but we'll + assume this isn't a problem we're going to have. + (mail_local_folder_get_type): Setup parent_class. + (mlf_rename): Implement folder rename call, rename internal data. + + Is this a security issue? Well, not really, no more than anything + else. + + * mail-folder-cache.c (mail_note_store): Listen to rename event. + (store_folder_renamed): Function to handle it, empty. + (mail_note_store_remove): Unhook from rename event. + (mail_note_folder): Hook onto renamed event. + (unset_folder_info): Unhook from renamed event. + (folder_finalised): Lock around update. + (folder_deleted): Lock around update. + (real_flush_updates): If we have a path to remove remove it. + (rename_folders): Scan folderinfo's, if we can find ones renamed, + rename them, otherwise add them. + + * component-factory.c (owner_unset_cb): Use a timeout not an idle handler. + (storage_xfer_folder): Implementation of xfer_folder signal + handler, so we can rename imap/vfolders/etc. + * component-factory.c (owner_unset_cb): Use a timeout not an idle handler. -- cgit v1.2.3