Monotone-Parent: 1157cc18479225d9cabde00443bb1b31839cf5b6

Monotone-Revision: 70abddfe36eb868aa185ad5ad7f41e1c8fe7ee9c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-06-03T23:59:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
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> 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 * OpenChange/MAPIStoreCalendarMessageTable.m
(-sortIdentifierForProperty:): c_isallday and c_creationdate as (-sortIdentifierForProperty:): c_isallday and c_creationdate as
mappings for PidLidAppointmentSubType and PR_CREATION_TIME. mappings for PidLidAppointmentSubType and PR_CREATION_TIME.

View file

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

View file

@ -385,18 +385,15 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
\return MAPISTORE_SUCCESS on success, otherwise MAPISTORE_ERROR \return MAPISTORE_SUCCESS on success, otherwise MAPISTORE_ERROR
*/ */
- (int) openDir: (uint64_t) fid - (int) openDir: (uint64_t) fid
inParentFID: (uint64_t) parentFID
{ {
[self logWithFormat: [self logWithFormat:
@"UNIMPLEMENTED METHOD '%s' (%d):\n fid=0x%.16x, parentFID=0x%.16x", @"UNIMPLEMENTED METHOD '%s' (%d):\n fid=0x%.16x",
__FUNCTION__, __LINE__, __FUNCTION__, __LINE__,
(unsigned long long) fid, (unsigned long long) fid];
(unsigned long long) parentFID];
return MAPISTORE_ERROR; return MAPISTORE_SUCCESS;
} }
/** /**
\details Close a folder from the sogo backend \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 \return MAPISTORE_SUCCESS on success, otherwise MAPISTORE_ERROR
*/ */
static int 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; NSAutoreleasePool *pool;
sogo_context *cContext; sogo_context *cContext;
@ -351,7 +351,7 @@ sogo_op_opendir(void *private_data, uint64_t parent_fid, uint64_t fid)
context = cContext->objcContext; context = cContext->objcContext;
[context setupRequest]; [context setupRequest];
rc = [context openDir: fid inParentFID: parent_fid]; rc = [context openDir: fid];
[context tearDownRequest]; [context tearDownRequest];
[pool release]; [pool release];