Skip to content
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

[CHIP] Add support fox Xcode 13 beta 3. #12143

Merged
merged 6 commits into from
Jul 21, 2021

Conversation

mandel-macaque
Copy link
Member

No description provided.

@mandel-macaque mandel-macaque added the note-highlight Worth calling out specifically in release notes label Jul 19, 2021
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build] Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

🎉 All 86 tests passed 🎉

Pipeline on Agent XAMBOT-1101.BigSur'
Merge 1675dd5 into e968a93

src/chip.cs Outdated

[Async (ResultTypeName = "ChipReadAttributeResult")]
[Export ("opCSRRequest:responseHandler:")]
void OpCSRRequest (NSData cSRNonce, ChipResponseHandler responseHandler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpCsrRequest -> Csr -> TLA

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameter name should be csrNonce too

src/chip.cs Outdated

[Async (ResultTypeName = "ChipReadAttributeResult")]
[Export ("login:setupPIN:responseHandler:")]
void Login (string tempAccountIdentifier, string setupPIN, ChipResponseHandler responseHandler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> setupPin

src/chip.cs Outdated
@@ -1140,7 +1140,7 @@ interface ChipOperationalCredentials

[Async (ResultTypeName = "ChipReadAttributeResult")]
[Export ("opCSRRequest:responseHandler:")]
void OpCSRRequest (NSData cSRNonce, ChipResponseHandler responseHandler);
void OpCsRrequest (NSData csrNonce, ChipResponseHandler responseHandler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong r
OpCsRrequest -> OpCsrRequest

Copy link
Contributor

@rachelkang rachelkang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff shows that the NSError param in the CHIPDevicePairingDelegate methods onPairingComplete, onPairingDeleted, and onAddressUpdated are now nullable. Should there be a [NullAllowed] attribute added to those?

Similarly, should CHIPGetKeyValue be decorated with a [NullAllowed] attribute as well?

src/chip.cs Outdated

[Async (ResultTypeName = "ChipReadAttributeResult")]
[Export ("configureAttributeMeasuredValueWithMinInterval:maxInterval:change:responseHandler:")]
void ConfigureAttributeMeasuredValueWithMinInterval (ushort minInterval, ushort maxInterval, ushort change, ChipResponseHandler responseHandler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConfigureAttributeMeasuredValueWithMinInterval --> ConfigureAttributeMeasuredValue

src/chip.cs Outdated

[Async (ResultTypeName = "ChipReadAttributeResult")]
[Export ("windowCoveringUpOpen:")]
void WindowCoveringUpOpen (ChipResponseHandler responseHandler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can (maybe?) get rid of the WindowCovering prefix on all of the above

src/chip.cs Outdated Show resolved Hide resolved
Why are pirates call pirates?
Because the RRRR!
Copy link
Contributor

@spouliot spouliot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catches @rachelkang !

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🔥 Tests failed catastrophically on Build (no summary found). 🔥

Result file $(TEST_SUMMARY_PATH) not found.

Pipeline on Agent
Merge 72c1e08 into 09f911b

src/chip.cs Outdated
Invalid = 3,
}


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small: extra newline

src/chip.cs Outdated Show resolved Hide resolved
src/chip.cs Outdated Show resolved Hide resolved
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

1 tests failed, 85 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2629 Passed: 2494 Inconclusive: 35 Failed: 1 Ignored: 134)

Pipeline on Agent XAMBOT-1098.BigSur'
Merge a06f5c2 into eea8142

src/chip.cs Outdated Show resolved Hide resolved
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
@mandel-macaque mandel-macaque merged commit adc002b into xamarin:main Jul 21, 2021
spouliot pushed a commit to spouliot/xamarin-macios that referenced this pull request Jul 21, 2021
@rolfbjarne
Copy link
Member

/sudo backport release/6.0.1xx-preview7

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Backport Job to branch release/6.0.1xx-preview7 Created! The magic is happening here

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5007513 for more details.

rolfbjarne pushed a commit to vs-mobiletools-engineering-service2/xamarin-macios that referenced this pull request Jul 22, 2021
rolfbjarne pushed a commit that referenced this pull request Jul 27, 2021
…12169)

* [CHIP] Add support fox Xcode 13 beta 3.

* Address reviews.

* Address reviews.

* Fix typo, wrong R.

Why are pirates call pirates?
Because the RRRR!

* Apply suggestions from code review

Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>

* [chip] Remove API to fix intro on macOS 12 beta 3

That API was removed in beta 3.
https://github.com/xamarin/xamarin-macios/wiki/CHIP-iOS-xcode13.0-beta3

but this was missed by #12143

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
note-highlight Worth calling out specifically in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants