-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Darwin] Update templates to preserve acronyms (e.g ACL) in APIs. (#2…
…3800) This is a re-landing of PR #22665 but with backwards compat preserved and some of the comment-only changes removed to ease review; those will re-land in a separate PR. * Update ZAP repo * [Darwin] Update template to preserve acronyms (e.g ACL) in APIs * Ota -> OTA in src/darwin/Framework/CHIPTests/MTRTestOTAProvider.m * Update generated code The header changes not accompanied by backwards-compat shims are OK for the following reasons: * The changes to the argument types in MTROTAProviderDelegate.h are in MTR_NEWLY_AVAILABLE APIs. * MTROTAProviderDelegateBridge.h is not public API. * In MTRBaseClusters.h readAttributeAclWithParams, writeAttributeAclWithValue, subscribeAttributeAclWithParams, readAttributeAclWithClusterStateCache get renamed only in MTR_NEWLY_AVAILABLE APIs. * In MTRBaseClusters.h MTRBaseClusterOtaSoftwareUpdateProvider gets renamed to MTRBaseClusterOTASoftwareUpdateProvider. This is OK because all the selectors on it are MTR_NEWLY_AVAILABLE and a shim is provided for the (Deprecated) extension. * In MTRBaseClusters.h MTROtaSoftwareUpdateProviderCluster* structs in arguments get renamed to MTROTASoftwareUpdateProviderCluster* only in MTR_NEWLY_AVAILABLE APIs. * In MTRBaseClusters.h MTRBaseClusterOtaSoftwareUpdateRequestor gets renamed to MTRBaseClusterOTASoftwareUpdateRequestor. This is OK because all the selectors on it are MTR_NEWLY_AVAILABLE and a shim is provided for the (Deprecated) extension. * In MTRBaseClusters.h MTROtaSoftwareUpdateRequestorCluster* structs in arguments get renamed to MTROTASoftwareUpdateRequestorCluster* only in MTR_NEWLY_AVAILABLE APIs. * In MTRBaseClusters.h *AttributePir* bits get renamed only in MTR_NEWLY_AVAILABLE APIs. * In MTRBaseClusters.h MTRBaseClusterWakeOnLan gets renamed to MTRBaseClusterWakeOnLAN and needs a shim. This is OK because all the selectors on it are MTR_NEWLY_AVAILABLE and a shim is provided for the (Deprecated) extension. * MTRBaseClusters_internal.h is not public API. * MTRCallbackBridge_internal.h is not public API. * In MTRClusterConstants.h all the name changes are to MTR_NEWLY_AVAILABLE constants. * In MTRClusters.h renaming MTRClusterOtaSoftwareUpdateProvider to MTRClusterOTASoftwareUpdateProvider is OK because a shim is provided. * In MTRClusters.h renaming MTRClusterOtaSoftwareUpdateRequestor to MTRClusterOTASoftwareUpdateRequestor is OK because a shim is provided. * In MTRClusters.h renaming MTRClusterWakeOnLan to MTRClusterWakeOnLAN is OK because a shim is provided. * In MTRClusters.h, all the attributes that had their names change get shims. * MTRClusters_internal.h is not public API. Co-authored-by: Vivien Nicolas <[email protected]>
- Loading branch information
Showing
45 changed files
with
17,256 additions
and
17,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.