mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 05:55:25 +00:00
Monotone-Parent: 96bc9c93be6505326ba3ccc6e53959d9f5aaefb0
Monotone-Revision: 00508a641badb7f0cbea66d27ec1d0c0a86b84e8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-19T22:31:37 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
2011-04-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreMailAttachment.m (-): binary properties are
|
||||
represented by a struct Binary_r.
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m
|
||||
(-getMAPIValue:forTag:inMemCtx:): binary properties are
|
||||
represented by a struct Binary_r.
|
||||
|
||||
* OpenChange/MAPIStoreTypes.m (NSObjectFromMAPISPropValue)
|
||||
(NSObjectFromSPropValue): we now support PT_SVREID and handle it
|
||||
exactly as PT_BINARY.
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
break;
|
||||
case PR_ATTACH_TAG:
|
||||
*data = [[self mimeAttachTag]
|
||||
asShortBinaryInMemCtx: memCtx];
|
||||
asBinaryInMemCtx: memCtx];
|
||||
break;
|
||||
case PR_ATTACH_SIZE:
|
||||
longValue = [[bodyInfo objectForKey: @"size"] longValue];
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
case PR_RECORD_KEY:
|
||||
*data = [[NSData dataWithBytes: recordBytes length: 16]
|
||||
asShortBinaryInMemCtx: memCtx];
|
||||
asBinaryInMemCtx: memCtx];
|
||||
break;
|
||||
|
||||
// PR_RECORD_KEY (0xFF90102) D9 D8 11 A3 E2 90 18 41 9E 04 58 46 9D 6D 1B 68
|
||||
@@ -152,7 +152,7 @@
|
||||
break;
|
||||
|
||||
case PR_ATTACH_DATA_BIN:
|
||||
*data = [[sogoObject fetchBLOB] asShortBinaryInMemCtx: memCtx];
|
||||
*data = [[sogoObject fetchBLOB] asBinaryInMemCtx: memCtx];
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
*data = [(NSCalendarDate * ) self asFileTimeInMemCtx: memCtx];
|
||||
break;
|
||||
case PT_BINARY:
|
||||
*data = [(NSData *) self asShortBinaryInMemCtx: memCtx];
|
||||
*data = [(NSData *) self asBinaryInMemCtx: memCtx];
|
||||
break;
|
||||
case PT_CLSID:
|
||||
*data = [(NSData *) self asGUIDInMemCtx: memCtx];
|
||||
|
||||
Reference in New Issue
Block a user