-
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. #22574
Merged
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:darwin-misc-api-bits
Sep 13, 2022
Merged
Fix various miscellaneous Darwin API issues. #22574
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:darwin-misc-api-bits
Sep 13, 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
pullapprove
bot
requested review from
anush-apple,
arkq,
Byungjoo-Lee,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
erjiaqing,
franck-apple,
gjc13,
harsha-rajendran,
hawk248,
isiu-apple,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jtung-apple,
kpschoedel,
lazarkov,
LuDuda,
mrjerryjohns,
msandstedt,
mspang,
rgoliver and
saurabhst
September 13, 2022 02:50
pullapprove
bot
requested review from
tcarmelveilleux,
tecimovic,
tehampson,
turon,
vijs,
vivien-apple,
wbschiller,
woody-apple,
xylophone21,
yufengwangca and
yunhanw-google
September 13, 2022 02:50
PR #22574: Size comparison from 5caec5a to 41f0ce2 Increases (2 builds for psoc6, telink)
Decreases (5 builds for bl702, esp32, psoc6, qpg)
Full report (37 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
vivien-apple
approved these changes
Sep 13, 2022
bzbarsky-apple
force-pushed
the
darwin-misc-api-bits
branch
from
September 13, 2022 15:03
41f0ce2
to
9dfc7b7
Compare
* 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". Fixes project-chip#22531 Addresses part of project-chip#22420
bzbarsky-apple
force-pushed
the
darwin-misc-api-bits
branch
from
September 13, 2022 15:34
9dfc7b7
to
c7ca937
Compare
PR #22574: Size comparison from 5ba27e7 to c7ca937 Increases (2 builds for bl702, k32w)
Decreases (1 build for bl702)
Full report (8 builds for bl702, k32w, nrfconnect, qpg)
|
Fast-tracking platform specific change with platform owner review. |
isiu-apple
pushed a commit
to isiu-apple/connectedhomeip
that referenced
this pull request
Sep 16, 2022
* 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". Fixes project-chip#22531 Addresses part of project-chip#22420
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this pull request
Nov 2, 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.
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this pull request
Nov 4, 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.
bzbarsky-apple
added a commit
that referenced
this pull request
Nov 4, 2022
* Fix various miscellaneous Darwin API issues. This is a re-landing of PR #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 #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.
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.
Addresses part of #22420
Issue Being Resolved
Change overview
See above.