3722 Commits

Author SHA1 Message Date
Dan Field
074f1d0842 Do not call Animator::Delegate::OnAnimatorNotifyIdle until at least one frame has been rendered. (flutter/engine#29015) 2021-10-07 09:41:58 -07:00
Emmanuel Garcia
c47526067a Remove some deprecated APIs from the Android embedding (flutter/engine#28977) 2021-10-06 15:38:02 -07:00
Tong Mu
e565b58d65 [Linux] Reset keyboard states on engine restart (flutter/engine#28877)
With this PR, the state of the keyboard system will be reset when the engine is reset (typically during a hot restart.)
2021-10-06 12:26:33 -07:00
David Worsham
afaef07cac Revert "Guard task queue id for fuchsia (#26542)" (flutter/engine#29042)
This reverts commit 1692a5f722119bb6673eb36d5d4f3d98b208f189.
2021-10-06 10:49:10 -07:00
Jaeheon Yi
eec35470ff fuchsia: fix build (flutter/engine#29035) 2021-10-05 17:47:02 -07:00
Alexander Biggs
46d879a563 [fuchsia] CML files for Flutter runner CF v2. (flutter/engine#28982)
Bug: 50694
2021-10-05 13:13:44 -04:00
Emmanuel Garcia
93ca319487 Expose updateSystemUiOverlays in FlutterActivity and FlutterFragment (flutter/engine#29013) 2021-10-04 19:03:02 -07:00
freiling
6d0920a925 [fuchsia][flatland] Fix for AwaitVsync race (flutter/engine#28980)
* [fuchsia][flatland] regression test for AwaitVsync race problem

* [fuchsia][flatland] minimal fix for AwaitVsync race
2021-10-04 17:54:04 -07:00
Dan Field
542896d8c9 Start animator paused (flutter/engine#29007) 2021-10-04 15:48:01 -07:00
Chase Latta
951c5f2e64 Pass argmuent list to dart_runner v2 main invocation. (flutter/engine#28998)
Tested by running integration tests in fuchsia.git.
2021-10-04 14:03:34 -07:00
Tong Mu
638b129319 [Windows] Add restart hooks, and reset keyboard (flutter/engine#28970)
With this PR, the state of the keyboard system will be reset when the engine is reset (typically during a hot restart.)
2021-10-04 14:02:22 -07:00
Tong Mu
2e334c1134 Keyboard guarantee non empty events (flutter/engine#28648)
* Web

* macos

* Linux

* Easier web impl

* doc and format

* Better linux impl

* Format

* Better impl mac

* Format

* Windows

* Format

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2021-10-04 14:01:51 -07:00
Tong Mu
e65e21f021 MacOS keyboard: RawKeyboard uses filtered modifier (flutter/engine#28666)
Removes the uninterested bits from the modifiers sent to the framework to keep consistency.
2021-10-04 14:01:36 -07:00
Chase Latta
fb1d646e61 make dart_runner cmx files have valid json (flutter/engine#28997) 2021-10-04 13:28:01 -07:00
Jason Simmons
79c7cfdc91 Defer setup of the default font manager if the embedding prefetched the font manager (flutter/engine#28987) 2021-10-04 13:23:02 -07:00
Chase Latta
afd577c733 [fuchsia] publish dart runner v2 protocol (flutter/engine#28993) 2021-10-04 13:18:03 -07:00
Emircan Uysaler
27ff3352fb fuchsia: Change flatland present's release fence logic (flutter/engine#28850)
* fuchsia: Change flatland present's release fence logic

(cherry picked from commit a9a370252276df6c379c25bc809467d64b11beac)
(cherry picked from commit 74c559d424d35e45e619a7da1d87e3d3dec57ec1)

* fuchsia: Use runner_services to connect to Flatland

(cherry picked from commit 685493e7f01aaf9cc03f6e8ca66946203b20f880)
2021-10-01 12:02:48 -07:00
David Worsham
bd89058626 fuchsia: Add FakeFlatland and tests (flutter/engine#28926) 2021-09-30 20:27:30 -07:00
Alexander Biggs
b173af45a6 [fuchsia] Pass WeakPtrs to GfxConnection FIDL fns. (flutter/engine#28951) 2021-09-30 18:28:01 -07:00
Rich Kadel
c2ad820db9 Migrated integration_flutter_test/embedder (scenic integration test) from fuchsia.git (flutter/engine#26880) 2021-09-30 17:10:02 -07:00
Alexander Biggs
dad7453c05 [fuchsia] Dart Runner for CF v2 components. (flutter/engine#28923)
Bug: fxb/79871

Implements the ComponentRunner protocol for the Dart runner, making the Dart runner compatible with CF v2.
2021-09-30 19:41:02 -04:00
Dan Field
8424cd2767 Avoid GCing aggressively during startup, and forward trim messages beyond low to application (flutter/engine#28891) 2021-09-30 12:46:49 -07:00
WenJingRui
8cc6aa3a61 [shared_engine] Avoid the method surfaceUpdated is called many times when multiple FlutterViewController shared one engine (flutter/engine#28658) 2021-09-29 20:53:01 -07:00
gaaclarke
4a47a9f60d fixed android unit tests (rotted before CI is running) (flutter/engine#28938) 2021-09-29 14:19:44 -07:00
Emircan Uysaler
7faf37c825 [fuchsia] Rename FuchsiaExternalViewEmbedder to GfxExternalViewEmbedder (flutter/engine#28820) 2021-09-29 11:55:45 -07:00
Jaeheon Yi
c60637ac3f [fuchsia] Flatland endpoints hookup (flutter/engine#28852)
This patch gives the view-specific protocol
endpoints to the Flatland instance.
2021-09-29 11:21:11 -07:00
Camille Simon
0eddf5471a Deprecate SplashScreenProvider (flutter/engine#28921) 2021-09-29 11:11:06 -07:00
ColdPaleLight
3bd57ac05a Make FlutterEngineGroup support initialRoute (flutter/engine#28884) 2021-09-29 11:02:37 -07:00
Kaushik Iska
a3553b7f41 vsync_waiter_fallback should schedule firecallback for future (flutter/engine#28817) 2021-09-29 10:48:02 -07:00
Tong Mu
f53ff208be [Linux] Fix crash when a method channel is reassigned (flutter/engine#28878)
* Impl

* Format

* Doc
2021-09-29 10:47:00 -07:00
Tong Mu
8ef081034c [Linux, Embedder] Add engine restart hooks (flutter/engine#28924)
* Restart

* Format

* Doc

* Test

* Format

* Revert keyboard
2021-09-29 10:46:43 -07:00
Emmanuel Garcia
03fc3660f6 Destroy overlay surfaces when the rasterizer is torn down (flutter/engine#28894) 2021-09-28 14:38:02 -07:00
gaaclarke
452b0bd2f9 added unit tests for the android embedder that run on android devices (flutter/engine#28784) 2021-09-28 14:02:18 -07:00
David Worsham
5633de2702 fix test again 2021-09-28 12:48:12 -07:00
David Worsham
d5d15aba36 fix test 2021-09-28 12:48:12 -07:00
David Worsham
4114da27f4 fuchsia: Use runner services 2021-09-28 12:48:12 -07:00
moko256
b8809dde77 Windows: Add dark theme support. (flutter/engine#28131)
This PR adds the dark theme support for both windows and winuwp engine, based on flutter/flutter#54612.

On Win32: using a registry value that is not documented. (I tested on Windows 10.0.19043.1165)
On UWP: using default background color. (I couldn't find WinRT API that returns dark/light directly, without xaml package.)

Flutter PR for win32: flutter/flutter#88520.
This PR will close flutter/flutter#54612.
This PR will complete one item in flutter/flutter#70214.
2021-09-28 11:03:18 -07:00
moko256
fecbc63bec [UWP] Implement clipboard. (flutter/engine#28064)
This PR implements clipboard in platform handler in UWP.
2021-09-27 17:01:42 -07:00
Emircan Uysaler
ea8305d95f fuchsia: Add child views to flatland engine (flutter/engine#28811) 2021-09-27 12:13:01 -07:00
Chris Yang
c9f351741d backdrop_filter_layer only pushes to the leaf_nodes_canvas (flutter/engine#28500) 2021-09-27 11:33:01 -07:00
moko256
00ca12c712 [UWP] Add modifier keys support (flutter/engine#28724)
Implement GetModsForKeyState in keyboard_key_channel_handler.cc
2021-09-27 11:19:29 -07:00
LongCatIsLooong
047a8acf2d [iOSTextInput] remove floating cursor asserts (flutter/engine#28868) 2021-09-27 11:08:16 -07:00
Jaeheon Yi
482c08216e fuchsia.ui.pointer.TouchSource implementation for fuchsia platform view (flutter/engine#28242) 2021-09-26 07:43:05 -07:00
Alexander Biggs
2e9689d1a3 [fuchsia] Remove unused deps on fidl optional.h. (flutter/engine#28863)
Removed in https://fuchsia-review.googlesource.com/c/fuchsia/+/585444
making our SDK roll fail in #28862.
2021-09-26 09:49:08 -04:00
chunhtai
c10d96d6c9 Fixes FlutterSemanticsScrollView to not implement accessibility container API (flutter/engine#28846) 2021-09-24 14:59:42 -07:00
Alexander Biggs
6dd9777440 [Fuchsia] Notify Shell when memory becomes low. (flutter/engine#28821) 2021-09-24 12:23:01 -07:00
Gary Qian
98716a1274 Fix deprecated WindowManager INCORRECT_CONTEXT_USAGE and VsyncWaiter takes FPS float (flutter/engine#28774) 2021-09-23 16:38:40 -07:00
ColdPaleLight
b5b786f13a Delete is_background_view from FlutterJNI (flutter/engine#28566) 2021-09-23 13:58:01 -07:00
Yuhui Huang
1b2b1cae4c Linux texture support (flutter/engine#24916) 2021-09-23 13:53:02 -07:00
Jason Simmons
3aaefc576f Make DartExecutor.IsolateServiceIdListener public (flutter/engine#28806) 2021-09-23 07:38:01 -07:00