20130 Commits

Author SHA1 Message Date
Chris Bracken
74472ce6da
Revert "Rasterizer is initialized with an external view embedder (#22348)" (#22367)
This reverts commit 0d5f2e901d1953d04eb45004666d34a4537a0060.

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 016fbde1bb275288242e2cf097b52af1dd66ab06.
2020-11-06 15:26:47 -08:00
skia-flutter-autoroll
a4b93841fa
Roll Skia from e886b8e8b10b to 86d4cfdf8edc (2 revisions) (#22364) 2020-11-06 14:39:02 -08:00
skia-flutter-autoroll
2440ad6d39
Roll Skia from b8123cc87770 to e886b8e8b10b (7 revisions) (#22361) 2020-11-06 13:14:02 -08:00
Greg Spencer
13a624ac31
Use dispatchKeyEvent, and handle keys sent to InputConnection.sendKeyEvent on Android (#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
d3c0727907
[web] Split the EngineParagraph interface from the legacy implementation (#22307) 2020-11-06 12:23:35 -08:00
skia-flutter-autoroll
a52a1f8af5
Roll Skia from 4eb7c23d5289 to b8123cc87770 (6 revisions) (#22358) 2020-11-06 11:54:01 -08:00
Chris Yang
016fbde1bb
Do not involve external_view_embedder in submit frame process if threads are not merged. (#22275) 2020-11-06 11:04:01 -08:00
skia-flutter-autoroll
b0a2ed69f4
Roll Skia from ba9a04fb8d5a to 4eb7c23d5289 (4 revisions) (#22355) 2020-11-06 10:34:01 -08:00
Konstantin Scheglov
cf376142ed
Ignore several import_of_legacy_library_into_null_safe (#22326) 2020-11-06 09:55:29 -08:00
Kaushik Iska
0d5f2e901d
Rasterizer is initialized with an external view embedder (#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
d21bb634e0
Roll Skia from 6cafdc069bdb to ba9a04fb8d5a (3 revisions) (#22352) 2020-11-06 08:49:01 -08:00
skia-flutter-autoroll
4040862977
Roll Dart SDK from 1936a7d1909d to fe12b0536f42 (1 revision) (#22350) 2020-11-06 07:34:02 -08:00
skia-flutter-autoroll
b8aa5f10d0
Roll Skia from 05f74f28d688 to 6cafdc069bdb (1 revision) (#22349) 2020-11-06 07:29:02 -08:00
Kaushik Iska
6e95e005f1
Platform views have CreateExternalViewEmbedder (#22214) 2020-11-06 05:30:48 -08:00
skia-flutter-autoroll
d5b4f642a7
Roll Fuchsia Linux SDK from pCIhWatQU... to oNrhKDRLZ... (#22347) 2020-11-06 04:39:01 -08:00
skia-flutter-autoroll
16d0d2fcc7
Roll Fuchsia Mac SDK from XV9_JbDD-... to TwfKJxO8r... (#22346) 2020-11-06 02:59:01 -08:00
Ferhat
6c5f9391a6
[web] Fix recycling same canvas more than once and add assert to detect (#22342) 2020-11-06 00:50:53 -08:00
skia-flutter-autoroll
2a0db8867a
Roll Skia from 92bc649cd7e6 to 05f74f28d688 (3 revisions) (#22344) 2020-11-05 23:29:02 -08:00
skia-flutter-autoroll
a3b006efb2
Roll Skia from 8d0f710ef0e0 to 92bc649cd7e6 (1 revision) (#22343) 2020-11-05 22:04:02 -08:00
Ferhat
879525a9f5
Remove sink parameter since _BaseAdapter exposes _callback (#22335) 2020-11-05 19:44:04 -08:00
skia-flutter-autoroll
1db7f340d1
Roll Dart SDK from 9bc7d4604277 to 1936a7d1909d (2 revisions) (#22341) 2020-11-05 19:04:01 -08:00
Jonah Williams
4b5b496fa6
[null-safety] increase sky engine min sdk (#22322) 2020-11-05 18:24:53 -08:00
skia-flutter-autoroll
8e6264d49c
Roll Skia from f8f23b203079 to 8d0f710ef0e0 (2 revisions) (#22339) 2020-11-05 16:49:02 -08:00
chunhtai
acaef6f00d
Revert "Added the ability to set the initial route via launch urls. (#21336)" (#22337) 2020-11-05 16:09:01 -08:00
Kaushik Iska
f3c5ecd35c
Roll dart e182eac158cf..9bc7d4604277 (#22332) 2020-11-05 15:59:02 -08:00
skia-flutter-autoroll
9423fac474
Roll Skia from 71624de2c5d9 to f8f23b203079 (8 revisions) (#22333) 2020-11-05 15:29:01 -08:00
张风捷特烈
1c2a56ce02
Update painting.dart (#22221) 2020-11-05 15:24:02 -08:00
skia-flutter-autoroll
387019a39d
Roll Fuchsia Linux SDK from 2rLs0vAIz... to pCIhWatQU... (#22331) 2020-11-05 15:19:04 -08:00
Ian Hickson
ad79d23358
Refactor platform message logic (#22181) 2020-11-05 15:19:01 -08:00
skia-flutter-autoroll
2c975c088d
Roll Fuchsia Mac SDK from NimIr5BT-... to XV9_JbDD-... (#22330) 2020-11-05 13:54:02 -08:00
Ferhat
66eaa06cd5
[web] Add test for Image.network (#22256) 2020-11-05 13:22:29 -08:00
Ferhat
39f9855c1f
[web] Improve dom canvas speed. Fix density calculation regression in recomputeTransformClip (#22328) 2020-11-05 13:17:03 -08:00
William Wold
bc45d04f4b
Set the IM context when showing the input method (#21896) 2020-11-06 09:22:17 +13:00
skia-flutter-autoroll
3051288dc8
Roll Skia from 694ff1735711 to 71624de2c5d9 (12 revisions) (#22324) 2020-11-05 10:59:02 -08:00
skia-flutter-autoroll
0693ee04d1
Roll Skia from 68dcf542b79f to 694ff1735711 (5 revisions) (#22319) 2020-11-05 09:39:01 -08:00
Hidenori Matsubayashi
03023e0c0f
[linux] Change the buildroot DEPS for Linux Arm64 support (#22284) 2020-11-05 09:34:02 -08:00
Greg Spencer
5d481fb9c1
Revert "Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#22304)" (#22321)
This reverts commit 7a8057bd728772d5b7ff2451301d6c095d6bda1b because it breaks back button functionality.
2020-11-05 09:02:25 -08:00
skia-flutter-autoroll
9f83bc361d
Roll Fuchsia Linux SDK from Z1HqmxtPR... to 2rLs0vAIz... (#22317) 2020-11-05 01:14:01 -08:00
skia-flutter-autoroll
8173f91930
Roll Fuchsia Mac SDK from m1uK0SlYN... to NimIr5BT-... (#22316) 2020-11-05 00:49:02 -08:00
freiling
3105db8ee8
SKP based shader warmup (#20643) 2020-11-04 23:19:02 -08:00
Jason Simmons
e66a720137
Roll the path package in web_ui and web_test_utils to match the version used by the framework (#22309) 2020-11-04 22:23:31 -08:00
skia-flutter-autoroll
a8ec74f8f6
Roll Skia from 007d97d69962 to 68dcf542b79f (12 revisions) (#22306) 2020-11-04 16:19:02 -08:00
Greg Spencer
7a8057bd72
Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#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
bf259226b2
Switch Linux embedding to proc table embedder API (#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
d6ac456d9c
Roll Dart SDK from bf751197ddb9 to e182eac158cf (1 revision) (#22299) 2020-11-04 15:09:02 -08:00
chunhtai
f61cbc05f0
Revert "support uri intent launcher in android (#21275)" (#22298) 2020-11-04 15:04:02 -08:00
skia-flutter-autoroll
281a6ab7b7
Roll Skia from 3744b2a36638 to 007d97d69962 (2 revisions) (#22297) 2020-11-04 14:59:01 -08:00
Sarbagya Dhaubanjar
deb7c662d2
Updated return-type for PathMetric.extractPath to be non-nullable (#22292) 2020-11-04 14:54:03 -08:00
Matej Knopp
acc246676c
Fix code style issues in MacOS embedder (#22270) 2020-11-04 14:49:03 -08:00
gaaclarke
122f242588
added unit tests to the rasterizer (#22282) 2020-11-04 13:56:29 -08:00