From fc6711585a0b0a31a2709e771f5cfe6cf7234258 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 25 Oct 2011 17:34:49 +0000 Subject: [PATCH] Monotone-Parent: 28db46689fe3ccc299be6164973466befdedb0f7 Monotone-Revision: dfb6501f2203375a52c674747ac8caa6ab2ca7d3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-25T17:34:49 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ OpenChange/gen-property-selectors.py | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b07b4595d..72fa67811 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-10-25 Wolfgang Sourdeau + + * OpenChange/gen-property-selectors.py: added a few exclusions, + which are either undocumented or unused. + 2011-10-24 Wolfgang Sourdeau * OpenChange/MAPIStoreAttachment.m diff --git a/OpenChange/gen-property-selectors.py b/OpenChange/gen-property-selectors.py index c40a48534..36bdc88c7 100755 --- a/OpenChange/gen-property-selectors.py +++ b/OpenChange/gen-property-selectors.py @@ -104,7 +104,15 @@ extern const enum MAPITAGS MAPIStoreSupportedProperties[]; # hack: some properties have multiple and incompatible types. Sometimes those # props are not related at all... -bannedProps = { "PrBodyHtml": True, "PrFavAutosubfolders": True } +bannedProps = { "PrBodyHtml": True, "PrFavAutosubfolders": True, + "PrAttachDataObj": True, "PrAclTable": True, + "PrAclData": True, "PrRulesTable": True, "PrRulesData": True, + "PrDisableWinsock": True, "PrHierarchyServer": True, + "PrOfflineAddrbookEntryid": True, + "PrShorttermEntryidFromObject": True, + "PrNormalMessageSizeExtended": True, + "PrAssocMessageSizeExtended": True, + "PrMessageSizeExtended": True } def ParseExchangeH(names, lines): state = 0 @@ -139,7 +147,9 @@ def ParseExchangeHDefinition(names, line): if eqIdx == -1: raise Exception, "line does not contain a '='" propName = GenExchangeHName(stripped[0:eqIdx]) - if not propName.endswith("Error") and not propName.endswith("Unicode") and not bannedProps.has_key(propName): + if not propName.endswith("Error") and not propName.endswith("Unicode") \ + and not propName.startswith("PrProfile") \ + and not bannedProps.has_key(propName): intIdx = stripped.find("(int", eqIdx) valueIdx = stripped.find("0x", intIdx + 1) endIdx = stripped.find(")", valueIdx)