From a735498d7be72a9a4ceffe7391f2039b1bc249a9 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 10 Aug 2012 12:29:31 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 1bf1a3f87feb2c04469fcff28770c25704ee5aab Monotone-Revision: 1b66e85ded0b1d64105f0f5d2035ef81e9a8eb4f Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-08-10T12:29:31 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ OpenChange/SOGoMAPIDBObject.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef359d4e4..d44865ec4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-08-10 Ludovic Marcotte + + * Changed OpenChange/SOGoMAPIDBObject.m so we use + GNUstep's binary encoding - which is an order or + magnitude faster at encoding data than any other formats. + 2012-08-10 Wolfgang Sourdeau * OpenChange/MAPIStoreSOGo.m (sogo_folder_move_folder) diff --git a/OpenChange/SOGoMAPIDBObject.m b/OpenChange/SOGoMAPIDBObject.m index b80af8fc5..f5014dd52 100644 --- a/OpenChange/SOGoMAPIDBObject.m +++ b/OpenChange/SOGoMAPIDBObject.m @@ -428,7 +428,7 @@ static EOAttribute *textColumn = nil; { content = [NSPropertyListSerialization dataFromPropertyList: properties - format: NSPropertyListBinaryFormat_v1_0 + format: NSPropertyListGNUstepBinaryFormat errorDescription: NULL]; propsValue = [adaptor formatValue: [content stringByEncodingBase64] forAttribute: textColumn];