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

[macOS] Use the new update semantics embedder API #40584

Merged
merged 2 commits into from Mar 28, 2023

Conversation

loic-sharma
Copy link
Member

@loic-sharma loic-sharma commented Mar 23, 2023

This moves the Windows embedder to the new update semantics embedder API introduced by #39807. This does not affect functionality hence why existing accessibility integration tests are unaffected.

Part of: flutter/flutter#121176

Background

FlutterSemanticsUpdate's ABI would break if we add new members to FlutterSemanticNode or FlutterSemanticCustomAction. As a result, these old types were "frozen" and new members should be added to the new types FlutterSemanticUpdate2, FlutterSemanticNode2, and FlutterSemanticCustomAction2 that were introduced by #39807.

For more information, see go/flutter-semantics-abi or the background section for this issue: flutter/flutter#121176

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

This moves the Windows embedder to the new update semantics embedder API
introduced by flutter#39807. This does not
affect functionality hence why existing accessibility integration tests are unaffected.

Part of: flutter/flutter#121176
Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

Looks great - thanks for migrating!

@loic-sharma loic-sharma added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 28, 2023
@auto-submit auto-submit bot merged commit d6a2c0a into flutter:main Mar 28, 2023
37 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 28, 2023
loic-sharma added a commit to loic-sharma/flutter-engine that referenced this pull request Mar 30, 2023
The old "update semantics" embedder API was deprecated as it could not
guarantee ABI stability (see flutter/flutter#121176).
It was replaced by a new embedder API (flutter#39807)
and all affected embedders were migrated to this new embedder API
(flutter#40072, flutter#40584).

This change:
1. Removes plumbing that was used for the old "update semantics" embedder API
2. Moves all remaining tests to the types used by the new "update semantics" embedder API

Completes: flutter/flutter#121176
loic-sharma added a commit to loic-sharma/flutter-engine that referenced this pull request Mar 30, 2023
The old "update semantics" embedder API was deprecated as it could not
guarantee ABI stability (see flutter/flutter#121176).
It was replaced by a new embedder API (flutter#39807)
and all affected embedders were migrated to this new embedder API
(flutter#40072, flutter#40584).

This change:
1. Removes plumbing that was used for the old "update semantics" embedder API
2. Moves all remaining tests to the types used by the new "update semantics" embedder API

Completes: flutter/flutter#121176
loic-sharma added a commit to loic-sharma/flutter-engine that referenced this pull request Mar 30, 2023
The old "update semantics" embedder API was deprecated as it could not
guarantee ABI stability (see flutter/flutter#121176).
It was replaced by a new embedder API (flutter#39807)
and all affected embedders were migrated to this new embedder API
(flutter#40072, flutter#40584).

This change:
1. Removes plumbing that was used for the old "update semantics" embedder API
2. Moves all remaining tests to the types used by the new "update semantics" embedder API

Completes: flutter/flutter#121176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-macos
Projects
None yet
4 participants