From 4655d888677e71962722ad86f255a27386e1e621 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 7 May 2002 07:31:26 +0000 Subject: Check for LOGIN xxxx as well if debug is on, so we dont print passwords to 2002-05-07 Not Zed * camel-remote-store.c (remote_send_string): Check for LOGIN xxxx as well if debug is on, so we dont print passwords to evolution logs. * providers/imap/camel-imap-utils.c (imap_is_atom_char): This was really broken. 1. isprint() is locale dependent, and 2. it looked up an 8 bit value in a 7 bit table without truncating it. I've removed the isprint() stuff and just put it directly into the special table, which i've expanded to the right size too. * providers/imap/*: Applied patch from Preston Elder to make camel only use literals if it needs to for simple strings. Changed slightly to use imap_is_atom() and more consistent formatting. providers/imap/camel-imap-utils.c (imap_is_atom): Chagned from imap_needs_quoting(). ** Merged in camel-object2 branch. Simpler camelobject implementation + object args interface. * camel.c (camel_init): Call camel_object_get_type() to make sure camel_object_type is initialised. * camel-object.h (CAMEL_OBJECT_TYPE): Changed to return global camel_object_type pointer, not call camel_object_get_type. svn path=/trunk/; revision=16701 --- camel/providers/local/camel-local-store.c | 4 ++-- camel/providers/local/camel-local-summary.h | 2 +- camel/providers/local/camel-mbox-summary.h | 2 +- camel/providers/local/camel-spool-summary.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'camel/providers/local') diff --git a/camel/providers/local/camel-local-store.c b/camel/providers/local/camel-local-store.c index 6a51046814..a0d3708346 100644 --- a/camel/providers/local/camel-local-store.c +++ b/camel/providers/local/camel-local-store.c @@ -242,10 +242,10 @@ create_folder(CamelStore *store, const char *parent_name, const char *folder_nam name = g_strdup_printf("%s/%s", parent_name, folder_name); - folder = ((CamelStoreClass *)((CamelObject *)store)->classfuncs)->get_folder(store, name, CAMEL_STORE_FOLDER_CREATE, ex); + folder = ((CamelStoreClass *)((CamelObject *)store)->klass)->get_folder(store, name, CAMEL_STORE_FOLDER_CREATE, ex); if (folder) { camel_object_unref((CamelObject *)folder); - info = ((CamelStoreClass *)((CamelObject *)store)->classfuncs)->get_folder_info(store, name, 0, ex); + info = ((CamelStoreClass *)((CamelObject *)store)->klass)->get_folder_info(store, name, 0, ex); /* get_folder(CREATE) will emit a folder_created event for us */ /*if (info) diff --git a/camel/providers/local/camel-local-summary.h b/camel/providers/local/camel-local-summary.h index 4a4db952d2..d1153fa8c6 100644 --- a/camel/providers/local/camel-local-summary.h +++ b/camel/providers/local/camel-local-summary.h @@ -62,7 +62,7 @@ struct _CamelLocalSummaryClass { int (*decode_x_evolution)(CamelLocalSummary *cls, const char *xev, CamelMessageInfo *info); }; -guint camel_local_summary_get_type (void); +CamelType camel_local_summary_get_type (void); void camel_local_summary_construct (CamelLocalSummary *new, const char *filename, const char *local_name, CamelIndex *index); /* load/check the summary */ diff --git a/camel/providers/local/camel-mbox-summary.h b/camel/providers/local/camel-mbox-summary.h index ec4d015489..6c61da21e5 100644 --- a/camel/providers/local/camel-mbox-summary.h +++ b/camel/providers/local/camel-mbox-summary.h @@ -52,7 +52,7 @@ struct _CamelMboxSummaryClass { CamelLocalSummaryClass parent_class; }; -guint camel_mbox_summary_get_type (void); +CamelType camel_mbox_summary_get_type (void); CamelMboxSummary *camel_mbox_summary_new (const char *filename, const char *mbox_name, CamelIndex *index); /* generate a From line from headers */ diff --git a/camel/providers/local/camel-spool-summary.h b/camel/providers/local/camel-spool-summary.h index 5b20e1dfbe..77fa6bdb3e 100644 --- a/camel/providers/local/camel-spool-summary.h +++ b/camel/providers/local/camel-spool-summary.h @@ -67,7 +67,7 @@ struct _CamelSpoolSummaryClass { int (*decode_x_evolution)(CamelSpoolSummary *cls, const char *xev, CamelMessageInfo *info); }; -guint camel_spool_summary_get_type (void); +CamelType camel_spool_summary_get_type (void); void camel_spool_summary_construct (CamelSpoolSummary *new, const char *filename, const char *spool_name, CamelIndex *index); /* create the summary, in-memory only */ -- cgit v1.2.3