Monotone-Parent: f72602cc2c82edfe4c16124494afb5a276588e34

Monotone-Revision: 508636b211f15c986b1723cd360148e2484f1e0b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-22T21:32:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-11-22 21:32:18 +00:00
parent 7cdd5b5234
commit 3833c037ec

View File

@@ -1,13 +1,26 @@
2010-11-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreContext.m (_contextClassFromModule)
(_prepareContextClass): new static functions for clearing up
* OpenChange/MAPIStoreContext.m
(_prepareContextClass): new static function for clearing up
+contextFromURI:inMemCtx:.
(+registerFixedMappings:): new subclassable method.
(_prepareContextClass): the static mappings are now initialized
from the context class themselves, via the use of an unique
invocation of registerFixedMappings: when the class is
invocation of +registerFixedMappings: when the class is
instantiated first.
(+MAPIModuleName): new method that returns the corresponding
module name for parsing or constructing MAPI urls.
(+initialize): wander the list of subclasses and construct a
static dictionary with the help of the new method above for
further user from +contextFromURI:inMemCtx:. This replaces the
static code therein with a more dynamic approach.
(-submitMessageWithMID:andFlags:): implemented method via a
private method derived from
-saveChangesInMessageWithMID:andFlags:, invoking -MAPISubmit on
the resulting object.
(-saveChangesInMessageWithMID:andFlags:) make use of the same
private method as above, invoking -MAPISave on the resulting
object.
* OpenChange/SOGoTaskObject+MAPIStore.m (-setMAPIProperties:): the
start date must be taken from the 0x811e0040 property rather than