Monotone-Parent: 28db46689fe3ccc299be6164973466befdedb0f7

Monotone-Revision: dfb6501f2203375a52c674747ac8caa6ab2ca7d3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-25T17:34:49
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-10-25 17:34:49 +00:00
parent 5f3b6f5165
commit fc6711585a
2 changed files with 17 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-10-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/gen-property-selectors.py: added a few exclusions,
which are either undocumented or unused.
2011-10-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreAttachment.m
+12 -2
View File
@@ -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)