From 5e144756c987f97f4289d554d9bcdf222cd9b326 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 3 Sep 2002 14:55:03 +0000 Subject: Lots of changes, too numerous to list. Changed to use 2002-09-04 Not Zed * providers/imap/camel-imap-store.c, providers/imap/camel-imap-folder.c: Lots of changes, too numerous to list. Changed to use camel-imap-store-summary to cache list requests. Changed to use a canonicalised url path with / instead of per-store directory separator. Indirects folder name so invalid folder names can still be accessed. Summary now stored in a new expandable format in .ev-store-summary. 2002-08-28 Not Zed * providers/imap/camel-imap-store.c (construct): Load store summary if it exists. (can_work_offline): Just see if we have any folders to say whether we can work offline or not. Should probably always just return true. 2002-08-27 Not Zed * providers/imap/camel-imap-store-summary.[ch]: New files to handle offline definition of folders, etc. * camel-url.h: Define CamelURL to be struct _CamelURL rather than anonymous struct. * camel-store-summary.[ch]: a few api tweaks. Also, the summary header is versioned separately at each level, so that version upgrades can be handled separately. Renamed FolderInfo -> StoreInfo to avoid namespace with current FolderInfo code. This should be reversed when the FolderInfo code is rationalised to this new base. 2002-08-23 Not Zed * providers/imap/camel-imap-command.c (camel_imap_command): domt encode folder name. * providers/imap/camel-imap-folder.c (do_copy): dont encode folder name. (do_append): dont encode folder name. * providers/imap/camel-imap-store.c (get_folder_status): don encode folder name in imap request. (get_folder_online): here too for creating folder. (rename_folder): Assume the incoming 'new name' is a utf8 path, whereas the 'old name' is as from get folder info (raw). (create_folder): Dont encode parent_name, assume its the raw thing. 2002-08-22 Not Zed * providers/imap/camel-imap-store.c (get_folder_online): Select based on unconverted name. (imap_build_folder_info): New function to create a folderinfo properly based on raw name. (subscribe_folder): Use above helper. (imap_folder_effectively_unsubscribed): Same here. (imap_forget_folder): Same here. (get_one_folder_offline): " 2002-08-21 Not Zed * providers/imap/camel-imap-store.c (parse_list_response_as_folder_info): Setup path properly, as decoded path with / separator. Setup full_name as non-decoded raw name. Keep url as decoded path but with server separator ... (ick). (create_folder): Dont call build_path anymore, get_folders() does it for us. (subscribe_folder): Build the path ourself. (imap_folder_effectively_unsubscribed): Same here. (get_subscribed_folders): list using %S not %F, we're using the raw server provided name directly. (subscribe_folder): As above, for SUBSCRIBE. (unsubscribe_folder): Same here. (delete_folder): Same. (rename_folder_info): Same here for source name. (rename_folder): And here? (get_folders_online): Amd here. * providers/imap/camel-imap-utils.c: (imap_parse_list_response): Dont decode the mailbox. * camel-utf8.[ch]: some new utf8 & utf7 utilities. * providers/imap/camel-imap-utils.c (imap_mailbox_encode): (imap_mailbox_decode): use camel_utf7/8* functions instead. : Add config.h and alloca.h headers. svn path=/trunk/; revision=17943 --- camel/camel-private.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'camel/camel-private.h') diff --git a/camel/camel-private.h b/camel/camel-private.h index e5a7894e6f..5165f31c8b 100644 --- a/camel/camel-private.h +++ b/camel/camel-private.h @@ -61,7 +61,7 @@ struct _CamelStorePrivate { EMutex *folder_lock; /* for locking folder operations */ EMutex *cache_lock; /* for locking access to the cache */ #else - gpointer dummy; + int dummy; #endif }; @@ -77,7 +77,7 @@ struct _CamelTransportPrivate { #ifdef ENABLE_THREADS GMutex *send_lock; /* for locking send operations */ #else - gpointer dummy; + int dummy; #endif }; @@ -94,7 +94,7 @@ struct _CamelServicePrivate { EMutex *connect_lock; /* for locking connection operations */ EMutex *connect_op_lock;/* for locking the connection_op */ #else - gpointer dummy; + int dummy; #endif }; @@ -117,7 +117,7 @@ struct _CamelSessionPrivate { GHashTable *thread_active; EThread *thread_queue; #else - gpointer dummy; + int dummy; #endif }; @@ -169,7 +169,7 @@ struct _CamelStoreSummaryPrivate { GMutex *alloc_lock; /* for setting up and using allocators */ GMutex *ref_lock; /* for reffing/unreffing messageinfo's ALWAYS obtain before summary_lock */ #else - gpointer dummy; + int dummy; #endif }; @@ -205,7 +205,7 @@ struct _CamelDataWrapperPrivate { #ifdef ENABLE_THREADS pthread_mutex_t stream_lock; #else - gpointer dummy; + int dummy; #endif }; @@ -225,7 +225,7 @@ struct _CamelCertDBPrivate { GMutex *alloc_lock; /* for setting up and using allocators */ GMutex *ref_lock; /* for reffing/unreffing certs */ #else - gpointer dummy; + int dummy; #endif }; -- cgit v1.2.3