Monotone-Parent: 1157cc18479225d9cabde00443bb1b31839cf5b6

Monotone-Revision: 70abddfe36eb868aa185ad5ad7f41e1c8fe7ee9c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-06-03T23:59:02
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-06-03 23:59:02 +00:00
parent 786bf7068a
commit a5614e93f5
4 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,8 @@
2011-06-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreSOGo.m (sogo_op_opendir): op_opendir no
longer takes the parent fid as parameter.
* OpenChange/MAPIStoreCalendarMessageTable.m
(-sortIdentifierForProperty:): c_isallday and c_creationdate as
mappings for PidLidAppointmentSubType and PR_CREATION_TIME.

View File

@ -117,8 +117,7 @@
inParentFID: (uint64_t) parentFID;
- (int) rmDirWithFID: (uint64_t) fid
inParentFID: (uint64_t) parentFid;
- (int) openDir: (uint64_t) fid
inParentFID: (uint64_t) parentFID;
- (int) openDir: (uint64_t) fid;
- (int) closeDir;
- (int) readCount: (uint32_t *) rowCount
ofTableType: (uint8_t) tableType

View File

@ -385,18 +385,15 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
\return MAPISTORE_SUCCESS on success, otherwise MAPISTORE_ERROR
*/
- (int) openDir: (uint64_t) fid
inParentFID: (uint64_t) parentFID
{
[self logWithFormat:
@"UNIMPLEMENTED METHOD '%s' (%d):\n fid=0x%.16x, parentFID=0x%.16x",
@"UNIMPLEMENTED METHOD '%s' (%d):\n fid=0x%.16x",
__FUNCTION__, __LINE__,
(unsigned long long) fid,
(unsigned long long) parentFID];
(unsigned long long) fid];
return MAPISTORE_ERROR;
return MAPISTORE_SUCCESS;
}
/**
\details Close a folder from the sogo backend

View File

@ -336,7 +336,7 @@ sogo_op_rmdir(void *private_data, uint64_t parent_fid, uint64_t fid)
\return MAPISTORE_SUCCESS on success, otherwise MAPISTORE_ERROR
*/
static int
sogo_op_opendir(void *private_data, uint64_t parent_fid, uint64_t fid)
sogo_op_opendir(void *private_data, uint64_t fid)
{
NSAutoreleasePool *pool;
sogo_context *cContext;
@ -351,7 +351,7 @@ sogo_op_opendir(void *private_data, uint64_t parent_fid, uint64_t fid)
context = cContext->objcContext;
[context setupRequest];
rc = [context openDir: fid inParentFID: parent_fid];
rc = [context openDir: fid];
[context tearDownRequest];
[pool release];