From c611fef68632d0a5f17b01458d15db41e7f2605c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 1 Nov 2004 19:58:38 +0000 Subject: Remove expunged messages from the cache. 2004-11-01 Jeffrey Stedfast * providers/imap4/camel-imap4-summary.c (camel_imap4_summary_expunge): Remove expunged messages from the cache. (camel_imap4_summary_set_uidvalidity): Clear the cache if the UIDVALIDITY has changed. * providers/imap4/camel-imap4-folder.c (imap4_get_message): If the message exists in the cache, use that rather than fetching it from the server and cache messages fetched from the server for later use. (camel_imap4_folder_finalize): Unref the cache if non-NULL. (camel_imap4_folder_new): Create the CamelDataCache. svn path=/trunk/; revision=27784 --- camel/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 498dd064de..14e1786991 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,18 @@ 2004-11-01 Jeffrey Stedfast + * providers/imap4/camel-imap4-summary.c + (camel_imap4_summary_expunge): Remove expunged messages from the + cache. + (camel_imap4_summary_set_uidvalidity): Clear the cache if the + UIDVALIDITY has changed. + + * providers/imap4/camel-imap4-folder.c (imap4_get_message): If the + message exists in the cache, use that rather than fetching it from + the server and cache messages fetched from the server for later + use. + (camel_imap4_folder_finalize): Unref the cache if non-NULL. + (camel_imap4_folder_new): Create the CamelDataCache. + * providers/imap4/camel-imap4-store.c (imap4_create_folder): Cache the folder-info on the summary if successful. (imap4_delete_folder): Un-cache the folder-info from the summary. -- cgit v1.2.3