mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 09:25:09 +00:00
Monotone-Parent: edfc795ccfa7cf0b564762207d8377e9a1d4e650
Monotone-Revision: 09639e12aa5fbdcbeebb63070f77940c49f0aabd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-28T22:26:09 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2012-02-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/gen-property-selectors.py: bannedProps is now an
|
||||
array instead of a dict of "True" values.
|
||||
|
||||
2012-02-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreUserContext.m (-rootFolders:):
|
||||
|
||||
@@ -106,15 +106,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,
|
||||
"PrAttachDataObj": True, "PrAclTable": True,
|
||||
"PrAclData": True, "PrRulesTable": True, "PrRulesData": True,
|
||||
"PrDisableWinsock": True, "PrHierarchyServer": True,
|
||||
"PrOfflineAddrbookEntryid": True,
|
||||
"PrShorttermEntryidFromObject": True,
|
||||
"PrNormalMessageSizeExtended": True,
|
||||
"PrAssocMessageSizeExtended": True,
|
||||
"PrMessageSizeExtended": True }
|
||||
bannedProps = [ "PrBodyHtml", "PrFavAutosubfolders",
|
||||
"PrAttachDataObj", "PrAclTable",
|
||||
"PrAclData", "PrRulesTable", "PrRulesData",
|
||||
"PrDisableWinsock", "PrHierarchyServer",
|
||||
"PrOfflineAddrbookEntryid",
|
||||
"PrShorttermEntryidFromObject",
|
||||
"PrNormalMessageSizeExtended",
|
||||
"PrAssocMessageSizeExtended",
|
||||
"PrMessageSizeExtended" ]
|
||||
|
||||
def ParseExchangeH(names, lines):
|
||||
state = 0
|
||||
@@ -151,7 +151,7 @@ def ParseExchangeHDefinition(names, line):
|
||||
propName = GenExchangeHName(stripped[0:eqIdx])
|
||||
if not propName.endswith("Error") and not propName.endswith("Unicode") \
|
||||
and not propName.startswith("PrProfile") \
|
||||
and not bannedProps.has_key(propName):
|
||||
and propName not in bannedProps:
|
||||
intIdx = stripped.find("(int", eqIdx)
|
||||
valueIdx = stripped.find("0x", intIdx + 1)
|
||||
endIdx = stripped.find(")", valueIdx)
|
||||
|
||||
Reference in New Issue
Block a user