Skip to content

Initialize the lifecycle state with initial state in window. Roll engine (19 commits) #28688

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

Merged
merged 23 commits into from
Mar 8, 2019

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Mar 1, 2019

This will initialize the app lifecycle state to the initial values passed by the platform and trigger the proper event at app startup.

Dependent on the changes in flutter/engine#7999.

Fix for #2716.

Previously, the value of SchedulerBindings.instance.lifecycleState was null at startup since the messages were dropped before the dart isolate was ready to receive them.

git log --oneline --no-merges f4951df..a48cd16
a48cd16 Update a11y word forward/back enum names (flutter/engine#8073)
b5f59ed Delay the vsync callback till the frame start time specified by embedder. (flutter/engine#8072)
7426305 Mark const extern (flutter/engine#8077)
d3f6d7a only partial rule revert (flutter/engine#8078)
d71bfe5 Only build a full Dart SDK when building for the host system (flutter/engine#8071)
de90dbf Refactor web configuration/ Add dartdevc (flutter/engine#7978)
ff46dd3 Roll src/third_party/skia 4c1ea43a79b5..88b8d1124b72 (8 commits) (flutter/engine#8070)
80c6dd2 Roll src/third_party/skia 692122e3ef23..4c1ea43a79b5 (3 commits) (flutter/engine#8069)
68ed654 Roll src/third_party/skia 3c957d575c58..692122e3ef23 (6 commits) (flutter/engine#8067)
ca0bac4 Revert "add signal to pointer kinds" (flutter/engine#8066)
3fb627f add signal to pointer kinds (flutter/engine#8065)
5a06afa Roll src/third_party/skia 801a9c16d81e..3c957d575c58 (19 commits) (flutter/engine#8063)
a93d99d A11y callback (flutter/engine#8005)
3661d5e Re-land "Buffer lifecycle in WindowData" (flutter/engine#8032)
471a2c8 Send scroll events from the macOS shell (flutter/engine#8056)
2fe9c9b Roll src/third_party/skia 72542816cadb..801a9c16d81e (46 commits) (flutter/engine#8060)
3335764 Skip skp files in license check (flutter/engine#8050)
7f16789 Remove redundant thread checker in FML. (flutter/engine#8053)
840c523 Correct URL for Cirrus CI build status badge (flutter/engine#8054)
57c120a remove extra source files (flutter/engine#8052)
4773375 Used named conditionals for platform specific dependencies and suppress Android and Windows hooks on Mac. (flutter/engine#8051)
70a18b5 Add clang static analysis support to gn wrapper (flutter/engine#8047)
b30f989 Improve elevation bounds for physical shape layers (flutter/engine#8044)
e37bd27 Fix weak pointer use violations in shell and platform view. (flutter/engine#8046)
dd80fc9 Add engine support for scrollwheel events (flutter/engine#7494)

@GaryQian
Copy link
Contributor Author

GaryQian commented Mar 1, 2019

Will add tests.

@Hixie Hixie added the framework flutter/packages/flutter repository. See also f: labels. label Mar 6, 2019
@GaryQian
Copy link
Contributor Author

GaryQian commented Mar 6, 2019

flutter/engine#8032 needs to be rolled in with this to make tests happy

Copy link
Contributor

@matthew-carroll matthew-carroll left a comment

Choose a reason for hiding this comment

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

LGTM pending a couple tiny details. Thanks for doing the rework on this PR.

@GaryQian GaryQian changed the title Initialize the lifecycle state with initial state in window. Initialize the lifecycle state with initial state in window. Roll engine (19 commits) Mar 7, 2019
@dnfield
Copy link
Contributor

dnfield commented Mar 7, 2019

Could you fix the links in the PR description to point to flutter/engine# rather than to issues/PRs in flutter/flutter?

@dnfield
Copy link
Contributor

dnfield commented Mar 7, 2019

Thanks! We should probably create a script that generates a PR description like this for people who manually roll.

@GaryQian
Copy link
Contributor Author

GaryQian commented Mar 7, 2019

Yeah, copy-pasted it from my git command-line and didn't realized it tagged a bunch of irrelevant PRs.

@dnfield
Copy link
Contributor

dnfield commented Mar 8, 2019

Would you mind updating the PR description again? You can use the new script I added. Otherwise this LGTM

@GaryQian GaryQian merged commit 8f1a430 into flutter:master Mar 8, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer: mulligan (g3) framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants