Re: [Evolution-hackers] Support for LIST-EXTENDED's SUBSCRIBED parameter

2007-12-20 Thread Philip Van Hoof
I further changed Camel-lite in such a way that only the following protocol conversation takes place: if CAPABILITIES contains NAMESPACE - NAMESPACE - NAMESPACE ((namespace that matters dir_sep_char) ... ) # Camel ignores the other namespaces (this is bad!) item = namespace that matters +

Re: [Evolution-hackers] Set defaults for Sent and Drafts folder: Zimbra Connector

2007-12-20 Thread Srinivasa Ragavan
On Thu, 2007-12-06 at 19:50 -0400, Emil Soleyman wrote: Hello, I've been successful in creating a few functions to set the Draft and Sent folders for the Zimbra Connector when an account is first created but I cannot figure out how to make those same folders the default when the user hits

Re: [Evolution-hackers] Support for LIST-EXTENDED's SUBSCRIBED parameter

2007-12-20 Thread Philip Van Hoof
This is some first piece of code to parse the other namespaces In: imap_connect_online result = camel_imap_response_extract (store, response, NAMESPACE, ex); if (!result) goto done; #if 0 /* new code... */

Re: [Evolution-hackers] Support for LIST-EXTENDED's SUBSCRIBED parameter

2007-12-20 Thread Philip Van Hoof
Oh, and it's wrong. It seems that an IMAP server can send an multiple parameters after the directory separator for a namespace. So after the directory separator, the ptr should be read skipping each \string\ until )) is seen. And it seems that it's a skiplist, so a parameter can be a SOMETHING

Re: [Evolution-hackers] Support for LIST-EXTENDED's SUBSCRIBED parameter

2007-12-20 Thread Philip Van Hoof
On Thu, 2007-12-20 at 21:46 +0100, Philip Van Hoof wrote: This is some first piece of code to parse the other namespaces Forget that, imap_parse_namespace_response implements this already and looks like a fine starting point. -- Philip Van Hoof, freelance software developer home: me at

[Evolution-hackers] First attempt at support for NAMESPACE

2007-12-20 Thread Philip Van Hoof
Here's a first attempt. This is not a official patch proposal because it ain't finished yet (I made quite a few shortcuts in the code, and I need to cleanup some stuff too). http://pvanhoof.be/files/camel-lite-shared-folders.diff ps. NAMESPACE means: support for company-wide shared folders. ps.