Monotone-Parent: d9117c53c33a58d47b6b3993f78e09e431f47f96

Monotone-Revision: 586a2e5adebfaf2123f3514dffa057f7f0f0574e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-16T16:29:47
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2012-08-16 16:29:47 +00:00
parent e09972700b
commit 0d12810e14
2 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2012-08-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreAppointmentWrapper.m
(-getPidTagInternetCodepage:inMemCtx:): new getter for a property
that is sometimes requested.
(-getPidTagBody:inMemCtx:): we return an empty string when no
"description"/"comment" is actually present.
2012-08-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreMailFolder.m (-addProperties:): make use of

View File

@ -1269,11 +1269,27 @@ static NSCharacterSet *hexCharacterSet = nil;
if ([stringValue length] > 0)
*data = [stringValue asUnicodeInMemCtx: memCtx];
else
rc = MAPISTORE_ERR_NOT_FOUND;
*data = [@"" asUnicodeInMemCtx: memCtx];
return rc;
}
- (int) getPidTagInternetCodepage: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
/* ref:
http://msdn.microsoft.com/en-us/library/dd317756%28v=vs.85%29.aspx
minimal list that should be handled:
us-ascii: 20127
iso-8859-1: 28591
iso-8859-15: 28605
utf-8: 65001 */
*data = MAPILongValue(memCtx, 65001);
return MAPISTORE_SUCCESS;
}
- (int) getPidLidRecurring: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{