20102 Commits

Author SHA1 Message Date
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
Ferhat
d5b726985f
[web] Enable Control+MouseWheel browser zoom (#22285) 2020-11-04 12:32:25 -08:00
skia-flutter-autoroll
c0f7e8acf9
Roll Skia from a8f4c91114b5 to 3744b2a36638 (6 revisions) (#22296) 2020-11-04 08:49:01 -08:00
skia-flutter-autoroll
1501cf830f
Roll Fuchsia Linux SDK from Esyuo1am1... to Z1HqmxtPR... (#22295) 2020-11-04 08:19:02 -08:00
skia-flutter-autoroll
fe43188457
Roll Skia from 97469f4abe0a to a8f4c91114b5 (1 revision) (#22294) 2020-11-04 07:29:01 -08:00
skia-flutter-autoroll
ee992f8997
Roll Dart SDK from fbc56c1561ba to bf751197ddb9 (1 revision) (#22293) 2020-11-04 07:14:01 -08:00
skia-flutter-autoroll
a404b53913
Roll Dart SDK from 599329b5cd98 to fbc56c1561ba (1 revision) (#22291) 2020-11-04 03:08:02 -08:00
skia-flutter-autoroll
f7bd31c11d
Roll Fuchsia Mac SDK from o45EAhxJZ... to m1uK0SlYN... (#22289) 2020-11-04 01:08:02 -08:00
skia-flutter-autoroll
1f721416fd
Roll Skia from 938932225cef to 97469f4abe0a (2 revisions) (#22288) 2020-11-03 23:18:02 -08:00
skia-flutter-autoroll
8840234ae8
Roll Dart SDK from 57bb12dc24d2 to 599329b5cd98 (1 revision) (#22287) 2020-11-03 22:38:01 -08:00
skia-flutter-autoroll
c7391d6b12
Roll Skia from 0e54309477ac to 938932225cef (1 revision) (#22286) 2020-11-03 21:58:02 -08:00
Mouad Debbar
08cc9e7114
[web] Put the paragraph painting logic in the Paragraph class (#22239) 2020-11-03 21:10:44 -08:00
Omar Emara
092cbf519c
Fix Linux handling of window exposure events (#22268)
Currently, the Linux embedder does not handle window exposure events.
This is typically not a problem for users who use compositing window
managers, since they keep the display buffers even if the window is
completely covered. However, for users that don't use a compositor, the
window will not be redrawn by the engine if it was previously covered
until another event triggers the redraw.

This patch implements the GtkWidget draw callback to handle window
exposure events. The callback doesn't actually draw anything, it just
schedule a frame for drawing by the engine.

The engine doesn't support exposure events, so instead, we force redraw
by sending a window metrics event of the same geometry. Since the
geometry didn't change, only a frame will be scheduled.
2020-11-04 16:43:47 +13:00
skia-flutter-autoroll
c76485821a
Roll Dart SDK from a4fbabcd73dc to 57bb12dc24d2 (1 revision) (#22283) 2020-11-03 18:08:01 -08:00
skia-flutter-autoroll
a4443d96a7
Roll Skia from 6e7cfaff1817 to 0e54309477ac (2 revisions) (#22281) 2020-11-03 17:28:02 -08:00
skia-flutter-autoroll
3ca9a14b9c
Roll Skia from dffd20efe95c to 6e7cfaff1817 (37 revisions) (#22277) 2020-11-03 14:43:01 -08:00
stuartmorgan
91eab23eb3
Switch Windows embedding to proc table embedder API (#22211)
Switches the Windows 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. This includes moving some engine messaging that was still in flutter_windows to the C++ engine class to better encapsulate the proc table.
2020-11-03 14:36:18 -08:00
Yegor
d27ff811b9
Make some errors more idiomatic (#22261) 2020-11-03 12:57:51 -08:00
skia-flutter-autoroll
e4b23c875f
Roll Fuchsia Linux SDK from oLF1FW-gC... to Esyuo1am1... (#22276) 2020-11-03 12:53:02 -08:00
skia-flutter-autoroll
4fcad09dc5
Roll Fuchsia Mac SDK from 6yEx5GNGG... to o45EAhxJZ... (#22271) 2020-11-03 12:03:02 -08:00
skia-flutter-autoroll
92f11d67d7
Roll Dart SDK from b43baaaa477d to a4fbabcd73dc (1 revision) (#22269) 2020-11-03 11:58:02 -08:00
Mouad Debbar
5fe35fd416
[web] Canoncalize font family on input fields (#22215) 2020-11-03 11:53:04 -08:00
Ferhat
59b01e0e5a
[web] Fix repaint logic for cullrect,transform changes (#22273) 2020-11-03 11:31:48 -08:00
skia-flutter-autoroll
ce0a30c4d7
Roll Dart SDK from 52783837369d to b43baaaa477d (723 revisions) (#22265) 2020-11-03 05:28:02 -08:00
Daco Harkes
ccdb6819ce
WeakPersistentHandle migration (#19843)
and roll Dart to 52783837369de45d3372cb6c6b7cdd63e71cd829.
2020-11-03 13:06:53 +01:00
skia-flutter-autoroll
78a0181740
Roll Fuchsia Linux SDK from QqGvMWaYk... to oLF1FW-gC... (#22264) 2020-11-02 23:28:01 -08:00
skia-flutter-autoroll
31b6f0b31a
Roll Fuchsia Mac SDK from Pz4ZHZrUp... to 6yEx5GNGG... (#22262) 2020-11-02 22:03:02 -08:00
stuartmorgan
3d194fa545
Switch macOS embedding to proc table embedder API (#21811)
Converts the macOS embedding to use the new proc table version of the embedding API, and adds one example unit test using it to demonstrate and validate the approach.
2020-11-02 21:44:10 -08:00
skia-flutter-autoroll
2617101999
Roll Dart SDK from a9d583383410 to d2577410a501 (1 revision) (#22258) 2020-11-02 18:38:01 -08:00