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)