4077 Commits

Author SHA1 Message Date
Jesús S Guerrero
a9dc88faa7 Support route on ios engine (flutter/engine#31555) 2022-03-02 13:26:02 -08:00
JsouLiang
f88b49b778 Add ThreadConfigSetter for Embedder api that can set thread priority (flutter/engine#31626) 2022-03-01 16:23:24 -08:00
Jason Simmons
da146d247c Revert "Reland "Listen for Vsync callback on the UI thread directly"" (flutter/engine#31750) 2022-03-01 15:06:11 -08:00
godofredoc
29c2897bfb Standardize embedder archive name. (flutter/engine#31693) 2022-02-28 21:26:09 -08:00
godofredoc
7bfe815f56 Standardize the embedder file name. (flutter/engine#31723) 2022-02-28 16:31:06 -08:00
Justin McCandless
807287ff34 Fix copy/paste when scribble enabled (flutter/engine#31691)
Fixes cmd+c and cmd+v on iPad scribble-enabled devices.
2022-02-28 13:36:14 -08:00
Camille Simon
29d3cc56ed Undo Deletion in #31092 (flutter/engine#31661) 2022-02-28 09:31:02 -08:00
Jason Simmons
423d3655dc Revert "Change FlutterViewController default opaque value to NO (#30664)" (flutter/engine#31710) 2022-02-27 19:41:02 -08:00
Emmanuel Garcia
32f6e78828 Fix nullable annotation (flutter/engine#31668) 2022-02-25 11:46:11 -08:00
godofredoc
64edff106a Generate linux gtk zip in the correct folder. (flutter/engine#31650) 2022-02-24 10:41:02 -08:00
ColdPaleLight
1a179ecff2 Reland "Listen for Vsync callback on the UI thread directly" (flutter/engine#31494) 2022-02-24 09:51:05 -08:00
ColdPaleLight
c715418c4b Don't call 'ExternalViewEmbedder::EndFrame' when pipeline is empty (flutter/engine#31546) 2022-02-23 15:56:34 -08:00
Rulong Chen(陈汝龙)
2ccc8c1af6 Using invalidateChildInParent for API levels lower than 26. (flutter/engine#31533) 2022-02-22 21:49:02 -08:00
JsouLiang
450e986dd0 Change FlutterViewController default opaque value to NO (flutter/engine#30664) 2022-02-20 19:22:15 -08:00
Emmanuel Garcia
0eb5a3774a Reland: Fix first batch of warnings in the Android embedding (flutter/engine#31530) 2022-02-18 11:39:07 -08:00
Callum Moffat
a43a417f9c Add missing trackpad enum to android and web (flutter/engine#31429) 2022-02-17 14:01:31 -08:00
Camille Simon
58ed84f8cd [Android] Show all deprecation warnings for tests (flutter/engine#31455) 2022-02-17 13:34:11 -08:00
ColdPaleLight
043d9d2e39 Add an embedder.h API for scheduling frame (flutter/engine#31304) 2022-02-17 13:24:10 -08:00
m-bialek
266fc0e6d4 Initialize members and check for nullptr (flutter/engine#30941) 2022-02-17 13:04:02 -08:00
Camille Simon
fc7b6647b5 Partially remove setSystemUiVisibility() usages (flutter/engine#31092) 2022-02-17 12:54:02 -08:00
Emmanuel Garcia
d1d733c608 Conditionally call FlutterViewDestroyOverlaySurfaces (flutter/engine#31464) 2022-02-17 12:19:02 -08:00
Emircan Uysaler
23f0ae0a7c [fuchsia] Update flatland TODO bug numbers (flutter/engine#31504) 2022-02-17 10:31:45 -08:00
Tong Mu
33ef133aa8 [Win32, Keyboard] Resume redispatching ShiftRight key down and DeadKey messages (flutter/engine#31459)
* Tests

* KeyStateChange

* Format

* InjectKeyboardChanges

* Migrate KeyStateChange

* Revert comment changes

* protected queue

* Remove assert

* Move InjectKeyboardChanges to window

* Rename to kKeyStateChange

* Split MockMessageQueue messages. Remove WMsg.hWnd

Fix embedder test

Implement and finish tests

* Format

* Better doc

* Impl

* KeyUp overwrite_prev_state_0

* Tests

* Remove ShiftRight check and check redis count.

RedispatchedMessageCountAndClear

Add more tests. Problem with `handled` patching.

Remove ComputeEventHash

* Fix compile

* Move sys filter. Remove dead key filter.

* Complete tests

* Comment

* Remove unnecessary changes
2022-02-15 21:49:13 -08:00
Tong Mu
d031902ac3 [Win32, Keyboard] Process VK_PACKET; Unprintable keys block text (flutter/engine#31379)
* Tests

* KeyStateChange

* Format

* InjectKeyboardChanges

* Migrate KeyStateChange

* Revert comment changes

* protected queue

* Remove assert

* Move InjectKeyboardChanges to window

* Rename to kKeyStateChange

* Split MockMessageQueue messages. Remove WMsg.hWnd

Fix embedder test

Implement and finish tests

* Format

* Better doc

* Impl

* KeyUp overwrite_prev_state_0

* Tests

* Comment

* Fix compile

* Format

* Remove unnecessary changes

* Remove outdated comment

* Add redispatching count

* Format
2022-02-15 17:45:36 -08:00
Tong Mu
8eb1f58c24 [Win32, Keyboard] Check the states of all modifiers (flutter/engine#31297) 2022-02-15 16:00:11 -08:00
Emmanuel Garcia
c42f5c3591 Reland "Improve platform views performance" (flutter/engine#31468) 2022-02-15 10:25:10 -08:00
Tong Mu
1aca7024d9 [Win32, Keyboard] Check redispatch count in keyboard tests (flutter/engine#31462) 2022-02-14 17:25:10 -08:00
Tong Mu
6370d313bb [Win32, Keyboard] Unify key changes in keyboard tests (flutter/engine#31299) 2022-02-14 15:40:11 -08:00
Zachary Anderson
7990f3dee5 Revert "Improve platform views performance (#31198)" (flutter/engine#31431)
This reverts commit 9ee76a65723d1d75af55ba8a58b70b8bef7a6536.
2022-02-12 16:22:58 -08:00
Emmanuel Garcia
9ee76a6572 Improve platform views performance (flutter/engine#31198) 2022-02-11 21:15:10 -08:00
Jason Simmons
94ce103fb5 Fix initialization of ThreadHost name prefix (flutter/engine#31420) 2022-02-11 18:35:09 -08:00
Jason Simmons
957f52c55c Guard the Flutter Skia event tracer category flags with a lock (flutter/engine#31416) 2022-02-11 16:45:11 -08:00
Callum Moffat
8a1f4d07f3 Reland: Trackpad gesture PointerData types (flutter/engine#31402)
This commit adds support to the engine core for encoding trackpad gestures for to the framework. Original PR was #28571
2022-02-11 14:02:09 -08:00
Emmanuel Garcia
ddc22d32df Detach from GL context before attaching (flutter/engine#31390) 2022-02-11 12:30:04 -08:00
JsouLiang
493cfd9601 Define thread priority enum and set thread priority for all threads in Engine (flutter/engine#30605)
* Define thread priority enum and set thread priority for all threads in Engine

* Split out the thread data and the thread data set operator
2022-02-10 21:14:54 -08:00
Camille Simon
147d162382 [Android] Show deprecation warnings for Android tests (flutter/engine#31246) 2022-02-10 10:50:10 -08:00
Ben Konyi
56afd34216 Change support for VM service message from "The Dart VM Service is listening" to "The Dart VM service is listening" (flutter/engine#31361)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-10 09:45:28 -08:00
Tong Mu
367cff931a Revert "Add trackpad gesture PointerData types (#28571)" (flutter/engine#31375)
This reverts commit 66b5a1c1eb5b20fe22b87ae1de19b6ade2bb19f8.
2022-02-10 08:41:03 -08:00
Chris Bracken
3e6137c8ec Migrate string encoding conversions to FML (flutter/engine#31334)
We've implemented UTF-8/UTF-16 string encoding conversions in multiple
places, from FML to //flutter/shell/platform/common, to the individual
embedders. This migrates these conversions to FML and adds tests.

Windows APIs use wchar_t-based strings and as a result, we continue to
keep Windows-specific functions in fml/platform/win/wstring_conversion.h.

We break out string_conversions into its own source set since FML brings
with it some Dart dependencies (e.g. dart_timestamp_provider.cc) that
are unused by some targets such as uwptool.exe in the Windows UWP
embedding.

Issue: https://github.com/flutter/flutter/issues/98061
2022-02-09 22:59:48 -08:00
Callum Moffat
66b5a1c1eb Add trackpad gesture PointerData types (flutter/engine#28571)
* Implement trackpad gestures in engine

* Remove the platform implementations

* Add new device type for trackpad

* Add back the necessary changes for Android

* Address feedback

* Fix doc typos
2022-02-09 21:50:40 -08:00
Jami Couch
9c02e9da59 Fix AccessibilityBridge crash due to invalid access during ReplaceSemanticsObject (flutter/engine#31351) 2022-02-09 16:55:10 -08:00
Zachary Anderson
eca60c0b90 Add clang-analyzer-* and clang-diagnostic-* to .clang-tidy (flutter/engine#31291) 2022-02-09 12:26:34 -08:00
Brandon DeRosier
1949da6462 De-flake CanCreateShellsWithMetalBackend (flutter/engine#31343) 2022-02-08 22:50:13 -08:00
cfontas
e893b8feb2 [fuchsia] Update Flatland Clipping API (flutter/engine#31311) 2022-02-08 14:30:07 -08:00
Emircan Uysaler
33a23ab4bc [fuchsia] Allow multiple vsync requests before the first Present (flutter/engine#31316) 2022-02-08 12:30:03 -08:00
Aske Simon Christensen
b98f76a687 Add hash_factories patch file (flutter/engine#31133) 2022-02-08 07:55:04 +01:00
Justin McCandless
f3b4cf3045 Linux TextEditingDeltas (flutter/engine#29215)
The Linux platform can report the delta in text editing changes via enableDeltas, useful for custom rich text editors.
2022-02-07 14:58:48 -08:00
Ben Konyi
34d2ccff68 Change support for VM service message from "Dart VM Service listening" to "The Dart VM Service is listening" (flutter/engine#31310)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-07 13:55:22 -08:00
Jim Graham
ef9c1c9887 Revert "Fix first batch of warnings in the Android embedding (#30807)" (flutter/engine#31277)
This reverts commit 2288e0d981062fd94c41fec53ac889d039379cbb.
2022-02-05 11:39:46 -08:00
Emmanuel Garcia
2288e0d981 Fix first batch of warnings in the Android embedding (flutter/engine#30807) 2022-02-04 18:50:08 -08:00