14763 Commits

Author SHA1 Message Date
Chris Bracken
ca1db50228 Revert "Rasterizer is initialized with an external view embedder (#22348)" (flutter/engine#22367)
This reverts commit cccecc46e10341d655b6bd388222f189215da506.

Due to merge conflicts, this also reverts #22275:

Revert "Do not involve external_view_embedder in submit frame process if threads are not merged. (#22275)"

This reverts commit d3902fc979fac68d498e4fe33584647c375c06ac.
2020-11-06 15:26:47 -08:00
skia-flutter-autoroll
eb33dc2d70 Roll Skia from e886b8e8b10b to 86d4cfdf8edc (2 revisions) (flutter/engine#22364) 2020-11-06 14:39:02 -08:00
skia-flutter-autoroll
8aa31b4a27 Roll Skia from b8123cc87770 to e886b8e8b10b (7 revisions) (flutter/engine#22361) 2020-11-06 13:14:02 -08:00
Greg Spencer
b25769b79b Use dispatchKeyEvent, and handle keys sent to InputConnection.sendKeyEvent on Android (flutter/engine#22340)
This (mostly) re-lands #21163, which was reverted in #22321

This switches from using onKeyDown to using dispatchKeyEvent on Android so that keys can be intercepted handled by the framework and not continue to be dispatched to other controls.

It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends them to Flutter.

This fixes the problem where (for example) pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system.

Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent, and system keys (like the back button) are only received if the IME doesn't eat them.
2020-11-06 12:45:47 -08:00
Mouad Debbar
20d7ee4779 [web] Split the EngineParagraph interface from the legacy implementation (flutter/engine#22307) 2020-11-06 12:23:35 -08:00
skia-flutter-autoroll
c158a9cae6 Roll Skia from 4eb7c23d5289 to b8123cc87770 (6 revisions) (flutter/engine#22358) 2020-11-06 11:54:01 -08:00
Chris Yang
d3902fc979 Do not involve external_view_embedder in submit frame process if threads are not merged. (flutter/engine#22275) 2020-11-06 11:04:01 -08:00
skia-flutter-autoroll
edc2f2d3dd Roll Skia from ba9a04fb8d5a to 4eb7c23d5289 (4 revisions) (flutter/engine#22355) 2020-11-06 10:34:01 -08:00
Konstantin Scheglov
3de0ba5a64 Ignore several import_of_legacy_library_into_null_safe (flutter/engine#22326) 2020-11-06 09:55:29 -08:00
Kaushik Iska
cccecc46e1 Rasterizer is initialized with an external view embedder (flutter/engine#22348)
This allows us to not rely on surface methods for getting
the external view embedder.
2020-11-06 09:01:28 -08:00
skia-flutter-autoroll
978fbe90e5 Roll Skia from 6cafdc069bdb to ba9a04fb8d5a (3 revisions) (flutter/engine#22352) 2020-11-06 08:49:01 -08:00
skia-flutter-autoroll
21885f0768 Roll Dart SDK from 1936a7d1909d to fe12b0536f42 (1 revision) (flutter/engine#22350) 2020-11-06 07:34:02 -08:00
skia-flutter-autoroll
6fbb0302f4 Roll Skia from 05f74f28d688 to 6cafdc069bdb (1 revision) (flutter/engine#22349) 2020-11-06 07:29:02 -08:00
Kaushik Iska
ea42f7eaa0 Platform views have CreateExternalViewEmbedder (flutter/engine#22214) 2020-11-06 05:30:48 -08:00
skia-flutter-autoroll
93761b4ae8 Roll Fuchsia Linux SDK from pCIhWatQU... to oNrhKDRLZ... (flutter/engine#22347) 2020-11-06 04:39:01 -08:00
skia-flutter-autoroll
bbea6af427 Roll Fuchsia Mac SDK from XV9_JbDD-... to TwfKJxO8r... (flutter/engine#22346) 2020-11-06 02:59:01 -08:00
Ferhat
77fe9a28af [web] Fix recycling same canvas more than once and add assert to detect (flutter/engine#22342) 2020-11-06 00:50:53 -08:00
skia-flutter-autoroll
61e97fcb90 Roll Skia from 92bc649cd7e6 to 05f74f28d688 (3 revisions) (flutter/engine#22344) 2020-11-05 23:29:02 -08:00
skia-flutter-autoroll
ce81b04c15 Roll Skia from 8d0f710ef0e0 to 92bc649cd7e6 (1 revision) (flutter/engine#22343) 2020-11-05 22:04:02 -08:00
Ferhat
79358426de Remove sink parameter since _BaseAdapter exposes _callback (flutter/engine#22335) 2020-11-05 19:44:04 -08:00
skia-flutter-autoroll
37f13d6510 Roll Dart SDK from 9bc7d4604277 to 1936a7d1909d (2 revisions) (flutter/engine#22341) 2020-11-05 19:04:01 -08:00
Jonah Williams
c0c62cffb3 [null-safety] increase sky engine min sdk (flutter/engine#22322) 2020-11-05 18:24:53 -08:00
skia-flutter-autoroll
8c433b9275 Roll Skia from f8f23b203079 to 8d0f710ef0e0 (2 revisions) (flutter/engine#22339) 2020-11-05 16:49:02 -08:00
chunhtai
219e2e549a Revert "Added the ability to set the initial route via launch urls. (#21336)" (flutter/engine#22337) 2020-11-05 16:09:01 -08:00
Kaushik Iska
b2bcc689b7 Roll dart e182eac158cf..9bc7d4604277 (flutter/engine#22332) 2020-11-05 15:59:02 -08:00
skia-flutter-autoroll
c8d04697db Roll Skia from 71624de2c5d9 to f8f23b203079 (8 revisions) (flutter/engine#22333) 2020-11-05 15:29:01 -08:00
张风捷特烈
50fedf3d3e Update painting.dart (flutter/engine#22221) 2020-11-05 15:24:02 -08:00
skia-flutter-autoroll
4471f04ebe Roll Fuchsia Linux SDK from 2rLs0vAIz... to pCIhWatQU... (flutter/engine#22331) 2020-11-05 15:19:04 -08:00
Ian Hickson
618c52f1aa Refactor platform message logic (flutter/engine#22181) 2020-11-05 15:19:01 -08:00
skia-flutter-autoroll
e70e291f3f Roll Fuchsia Mac SDK from NimIr5BT-... to XV9_JbDD-... (flutter/engine#22330) 2020-11-05 13:54:02 -08:00
Ferhat
80c57b441d [web] Improve dom canvas speed. Fix density calculation regression in recomputeTransformClip (flutter/engine#22328) 2020-11-05 13:17:03 -08:00
William Wold
3fe0d1f1d0 Set the IM context when showing the input method (flutter/engine#21896) 2020-11-06 09:22:17 +13:00
skia-flutter-autoroll
ec85e7475f Roll Skia from 694ff1735711 to 71624de2c5d9 (12 revisions) (flutter/engine#22324) 2020-11-05 10:59:02 -08:00
skia-flutter-autoroll
86aacadac2 Roll Skia from 68dcf542b79f to 694ff1735711 (5 revisions) (flutter/engine#22319) 2020-11-05 09:39:01 -08:00
Hidenori Matsubayashi
2310eaa4fe [linux] Change the buildroot DEPS for Linux Arm64 support (flutter/engine#22284) 2020-11-05 09:34:02 -08:00
Greg Spencer
440ff6e3f4 Revert "Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#22304)" (flutter/engine#22321)
This reverts commit b289c1711fd8357fe5a6c8aa66683d0d2ca55e48 because it breaks back button functionality.
2020-11-05 09:02:25 -08:00
skia-flutter-autoroll
56d2fe3f7c Roll Fuchsia Linux SDK from Z1HqmxtPR... to 2rLs0vAIz... (flutter/engine#22317) 2020-11-05 01:14:01 -08:00
skia-flutter-autoroll
054f55e4b2 Roll Fuchsia Mac SDK from m1uK0SlYN... to NimIr5BT-... (flutter/engine#22316) 2020-11-05 00:49:02 -08:00
freiling
4903a92b2b SKP based shader warmup (flutter/engine#20643) 2020-11-04 23:19:02 -08:00
Jason Simmons
717ab830a1 Roll the path package in web_ui and web_test_utils to match the version used by the framework (flutter/engine#22309) 2020-11-04 22:23:31 -08:00
skia-flutter-autoroll
88ac424490 Roll Skia from 007d97d69962 to 68dcf542b79f (12 revisions) (flutter/engine#22306) 2020-11-04 16:19:02 -08:00
Greg Spencer
b289c1711f Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (flutter/engine#22304)
This re-lands #21163, which was reverted in #22004

Now that flutter/flutter#67359 has landed, this change will no longer cause spaces (and other shortcuts) to be ignored in text fields if there is no action associated with the intent, even if there is a shortcut key mapping to an intent.

It also no longer causes web test failures (as far as I can tell without submitting it: the same tests don't fail locally).

Here's the original PR description:

This switches from using dispatchKeyEvent to using dispatchKeyEventPreIme so that keys can be intercepted before they reach the IME and be handled by the framework.

It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends the to Flutter before sending them to the IME (which it now only does if they are not handled by the framework).

This fixes the problem where pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system.

Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent.
2020-11-04 15:54:21 -08:00
stuartmorgan
156dafb961 Switch Linux embedding to proc table embedder API (flutter/engine#22280)
Switches the Linux embedding from the standard C API to the new proctable version, to allow for unit testing of the embedding layer separately from the embedder APIs implementation.
2020-11-04 15:12:44 -08:00
skia-flutter-autoroll
027cc8c65a Roll Dart SDK from bf751197ddb9 to e182eac158cf (1 revision) (flutter/engine#22299) 2020-11-04 15:09:02 -08:00
chunhtai
9a5b6b4e91 Revert "support uri intent launcher in android (#21275)" (flutter/engine#22298) 2020-11-04 15:04:02 -08:00
skia-flutter-autoroll
81d9813c2f Roll Skia from 3744b2a36638 to 007d97d69962 (2 revisions) (flutter/engine#22297) 2020-11-04 14:59:01 -08:00
Sarbagya Dhaubanjar
e0ab79449b Updated return-type for PathMetric.extractPath to be non-nullable (flutter/engine#22292) 2020-11-04 14:54:03 -08:00
Matej Knopp
309f003ea8 Fix code style issues in MacOS embedder (flutter/engine#22270) 2020-11-04 14:49:03 -08:00
gaaclarke
68eedd5ba3 added unit tests to the rasterizer (flutter/engine#22282) 2020-11-04 13:56:29 -08:00
Ferhat
9851a15a5b [web] Enable Control+MouseWheel browser zoom (flutter/engine#22285) 2020-11-04 12:32:25 -08:00