-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix various miscellaneous Darwin API issues. #23447
Merged
bzbarsky-apple
merged 3 commits into
project-chip:master
from
bzbarsky-apple:darwin-reland-PR-22574
Nov 4, 2022
Merged
Fix various miscellaneous Darwin API issues. #23447
bzbarsky-apple
merged 3 commits into
project-chip:master
from
bzbarsky-apple:darwin-reland-PR-22574
Nov 4, 2022
Conversation
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
PR #23447: Size comparison from 3518760 to e5dc97a Increases (6 builds for bl602, cc13x2_26x2, esp32, psoc6)
Decreases (6 builds for bl602, bl702, cc13x2_26x2, cyw30739, telink)
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
andy31415
approved these changes
Nov 3, 2022
jtung-apple
reviewed
Nov 3, 2022
jtung-apple
approved these changes
Nov 3, 2022
ksperling-apple
approved these changes
Nov 3, 2022
This is a re-landing of PR project-chip#22574. * Rename readAttributeWithEndpointID to readAttributePathWithEndpointID * Document readAttributePathWithEndpointID * Rename subscribeAttributeWithEndpointID to subscribeAttributePathWithEndpointID * Document subscribeAttributePathWithEndpointID * Switch various things from "strong" to "copy" for paths, reports, etc. * Remove redundant "nonnull" declarations on properties. * Create typedefs for the NSData representations of certificates, for readability * Replace "(nullable X *)" with "(X * _Nullable)" in various places. * Fix various documentation. * Rename "failSafeExpiryTimeoutSecs" to "failSafeExpiryTimeout". The nullable to _Nullable change we might want to undo, but keeping it for now to make re-landing other PRs that were on top of project-chip#22574 easier. The header changes not accompanied by backwards-compat shims are OK for the following reasons: * The changes to MTRBaseDevice.h are all to MTR_NEWLY_AVAILABLE APIs or fixing obvious API bugs (replacing "strong" with "copy"). * MTRBaseDevice_Internal.h is not public API. * The changes to MTRCertificates.h are all to MTR_NEWLY_AVAILABLE APIs or are source+binary compatible. * The changes to MTRCluster.h are source+binary compatible. * MTRCluster_internal.h is not public API. * The changes to MTRDeviceController.h are source+binary compatible. * The changes to MTRDeviceControllerStartupParams.h are source+binary compatible. * MTRDeviceControllerStartupParams_Internal.h is not public API. * The changes to MTRDevicePairingDelegate.h are source+binary compatible. * The changes to MTRError.h are source+binary compatible. * MTRError_Internal.h is not public API. * The changes to MTRManualSetupPayloadParser.h are source+binary compatible. * The changes to MTROnboardingPayloadParser.h are source+binary compatible. * The changes to MTRPersistentStorageDelegate.h are source+binary compatible. * The changes to MTRQRCodeSetupPayloadParser.h are source+binary compatible. * The changes to MTRSetupPayload.h are source+binary compatible. * The changes to MTRThreadOperationalDataset.h are source+binary compatible. * The changes to MTRBaseClusters.h are source+binary compatible. * The changes to MTRClusters.h are source+binary compatible. * The changes to MTRCommandPayloadsObjc.h are source+binary compatible. * The changes to MTRStructsObjc.h are source+binary compatible.
66d203d
to
f20b0cc
Compare
PR #23447: Size comparison from 42b4438 to f20b0cc Increases (9 builds for bl602, bl702, cyw30739, esp32, nrfconnect, psoc6, telink)
Decreases (3 builds for bl602, psoc6, telink)
Full report (44 builds for bl602, bl702, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Fast-tracking platform change with platform owner review. |
adbridge
pushed a commit
to ARM-software/connectedhomeip
that referenced
this pull request
Nov 18, 2022
* Fix various miscellaneous Darwin API issues. This is a re-landing of PR project-chip#22574. * Rename readAttributeWithEndpointID to readAttributePathWithEndpointID * Document readAttributePathWithEndpointID * Rename subscribeAttributeWithEndpointID to subscribeAttributePathWithEndpointID * Document subscribeAttributePathWithEndpointID * Switch various things from "strong" to "copy" for paths, reports, etc. * Remove redundant "nonnull" declarations on properties. * Create typedefs for the NSData representations of certificates, for readability * Replace "(nullable X *)" with "(X * _Nullable)" in various places. * Fix various documentation. * Rename "failSafeExpiryTimeoutSecs" to "failSafeExpiryTimeout". The nullable to _Nullable change we might want to undo, but keeping it for now to make re-landing other PRs that were on top of project-chip#22574 easier. The header changes not accompanied by backwards-compat shims are OK for the following reasons: * The changes to MTRBaseDevice.h are all to MTR_NEWLY_AVAILABLE APIs or fixing obvious API bugs (replacing "strong" with "copy"). * MTRBaseDevice_Internal.h is not public API. * The changes to MTRCertificates.h are all to MTR_NEWLY_AVAILABLE APIs or are source+binary compatible. * The changes to MTRCluster.h are source+binary compatible. * MTRCluster_internal.h is not public API. * The changes to MTRDeviceController.h are source+binary compatible. * The changes to MTRDeviceControllerStartupParams.h are source+binary compatible. * MTRDeviceControllerStartupParams_Internal.h is not public API. * The changes to MTRDevicePairingDelegate.h are source+binary compatible. * The changes to MTRError.h are source+binary compatible. * MTRError_Internal.h is not public API. * The changes to MTRManualSetupPayloadParser.h are source+binary compatible. * The changes to MTROnboardingPayloadParser.h are source+binary compatible. * The changes to MTRPersistentStorageDelegate.h are source+binary compatible. * The changes to MTRQRCodeSetupPayloadParser.h are source+binary compatible. * The changes to MTRSetupPayload.h are source+binary compatible. * The changes to MTRThreadOperationalDataset.h are source+binary compatible. * The changes to MTRBaseClusters.h are source+binary compatible. * The changes to MTRClusters.h are source+binary compatible. * The changes to MTRCommandPayloadsObjc.h are source+binary compatible. * The changes to MTRStructsObjc.h are source+binary compatible. * Fix review comment. * Address review comments.
adbridge
pushed a commit
to ARM-software/connectedhomeip
that referenced
this pull request
Nov 18, 2022
* Fix various miscellaneous Darwin API issues. This is a re-landing of PR project-chip#22574. * Rename readAttributeWithEndpointID to readAttributePathWithEndpointID * Document readAttributePathWithEndpointID * Rename subscribeAttributeWithEndpointID to subscribeAttributePathWithEndpointID * Document subscribeAttributePathWithEndpointID * Switch various things from "strong" to "copy" for paths, reports, etc. * Remove redundant "nonnull" declarations on properties. * Create typedefs for the NSData representations of certificates, for readability * Replace "(nullable X *)" with "(X * _Nullable)" in various places. * Fix various documentation. * Rename "failSafeExpiryTimeoutSecs" to "failSafeExpiryTimeout". The nullable to _Nullable change we might want to undo, but keeping it for now to make re-landing other PRs that were on top of project-chip#22574 easier. The header changes not accompanied by backwards-compat shims are OK for the following reasons: * The changes to MTRBaseDevice.h are all to MTR_NEWLY_AVAILABLE APIs or fixing obvious API bugs (replacing "strong" with "copy"). * MTRBaseDevice_Internal.h is not public API. * The changes to MTRCertificates.h are all to MTR_NEWLY_AVAILABLE APIs or are source+binary compatible. * The changes to MTRCluster.h are source+binary compatible. * MTRCluster_internal.h is not public API. * The changes to MTRDeviceController.h are source+binary compatible. * The changes to MTRDeviceControllerStartupParams.h are source+binary compatible. * MTRDeviceControllerStartupParams_Internal.h is not public API. * The changes to MTRDevicePairingDelegate.h are source+binary compatible. * The changes to MTRError.h are source+binary compatible. * MTRError_Internal.h is not public API. * The changes to MTRManualSetupPayloadParser.h are source+binary compatible. * The changes to MTROnboardingPayloadParser.h are source+binary compatible. * The changes to MTRPersistentStorageDelegate.h are source+binary compatible. * The changes to MTRQRCodeSetupPayloadParser.h are source+binary compatible. * The changes to MTRSetupPayload.h are source+binary compatible. * The changes to MTRThreadOperationalDataset.h are source+binary compatible. * The changes to MTRBaseClusters.h are source+binary compatible. * The changes to MTRClusters.h are source+binary compatible. * The changes to MTRCommandPayloadsObjc.h are source+binary compatible. * The changes to MTRStructsObjc.h are source+binary compatible. * Fix review comment. * Address review comments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a re-landing of PR #22574.
The nullable to _Nullable change we might want to undo, but keeping it for now to make re-landing other PRs that were on top of #22574 easier.
The header changes not accompanied by backwards-compat shims are OK for the following reasons: