[IMAPx] Manage mailboxes and namespaces in CamelIMAPXStore
authorMilan Crha <mcrha@redhat.com>
Fri, 18 Apr 2014 13:20:05 +0000 (15:20 +0200)
committerMilan Crha <mcrha@redhat.com>
Fri, 18 Apr 2014 13:20:05 +0000 (15:20 +0200)
commit6a67893cca013d2c407d6acab05319b2906a7241
tree99d24d72c9b39fc2ada43e4013d8704fcd2c8957
parentddfe83e7d68912faa0f8c21f78cc9e9037d3c0e6
[IMAPx] Manage mailboxes and namespaces in CamelIMAPXStore

The mailboxes and namespaces had been managed in CamelIMAPXServer,
which was perfectly fine before the concurrent connections were added,
because each of the connection could know only on part of the two,
which is not enough. This could let to a failure of folder update
(the case I face were when an empty folder had added old messages,
where one connection new there are some messages, but the connection
serving this update thought there are no messages, thus it didn't try
to download anything).
camel/providers/imapx/camel-imapx-conn-manager.c
camel/providers/imapx/camel-imapx-conn-manager.h
camel/providers/imapx/camel-imapx-folder.c
camel/providers/imapx/camel-imapx-server.c
camel/providers/imapx/camel-imapx-server.h
camel/providers/imapx/camel-imapx-store.c
camel/providers/imapx/camel-imapx-store.h