From 86c9aafb56e8e555871d5fe713aa33d65cf08fc4 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 1 Apr 2002 23:58:53 +0000 Subject: Temporarily disable indexing. 2002-04-02 Not Zed * providers/local/camel-local-folder.c (camel_local_folder_construct): Temporarily disable indexing. 2002-03-28 Not Zed * camel-partition-table.c (camel_key_table_lookup): Change range checking assert to a warning. * providers/pop3/camel-pop3-folder.c (pop3_finalize): Make sure we flush out all outstanding commands before finalising, stops being finalised while outsanding requests are processed by the store finalise. (pop3_get_message): Instead of pre-fetching all messages, just pre-fetch a maxiumum number at any one time, stops us running out of cache fd's. * providers/nntp/camel-nntp-folder.c (nntp_folder_init/finalise): Setup priv data + locks, & free. * providers/imap/camel-imap-folder.c (imap_rescan): Batch all message_chagned events into a single folder_changed event (otherwise updates can be >>> expensive, like >5 hours for 80K messages changing!). Alternately it could use folder freeze/unfreeze perhaps. 2002-03-27 Not Zed * providers/imap/camel-imap-store.c (imap_keepalive): Pass an exception to called code so it behaves properly since it uses the passed exception to check returns. svn path=/trunk/; revision=16319 --- camel/providers/imap/camel-imap-store.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'camel/providers/imap/camel-imap-store.c') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 8253e3bdb9..2c2d051420 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1845,22 +1845,27 @@ imap_keepalive (CamelRemoteStore *store) { CamelImapStore *imap_store = CAMEL_IMAP_STORE (store); CamelImapResponse *response; - + CamelException *ex; + /* FIXME: should this check to see if we are online? */ /* Note: the idea here is to sync the flags of our currently selected folder if there have been changes... */ - + ex = NULL; + /*ex = camel_exception_new();*/ if (imap_store->current_folder && folder_flags_have_changed (imap_store->current_folder)) { - camel_folder_sync (imap_store->current_folder, FALSE, NULL); + camel_folder_sync (imap_store->current_folder, FALSE, ex); + /*camel_exception_clear(ex);*/ } /* ...but we also want to NOOP so that we get an untagged response. */ CAMEL_IMAP_STORE_LOCK (store, command_lock); - response = camel_imap_command (imap_store, NULL, NULL, "NOOP"); + response = camel_imap_command (imap_store, NULL, ex, "NOOP"); camel_imap_response_free (imap_store, response); CAMEL_IMAP_STORE_UNLOCK (store, command_lock); + + /*camel_exception_free(ex);*/ } -- cgit v1.2.3