11579 Commits

Author SHA1 Message Date
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
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
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
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
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
skia-flutter-autoroll
1e367cd5ac Roll Skia from a8f4c91114b5 to 3744b2a36638 (6 revisions) (flutter/engine#22296) 2020-11-04 08:49:01 -08:00
skia-flutter-autoroll
5ed9fb3717 Roll Fuchsia Linux SDK from Esyuo1am1... to Z1HqmxtPR... (flutter/engine#22295) 2020-11-04 08:19:02 -08:00
skia-flutter-autoroll
862b1c3c01 Roll Skia from 97469f4abe0a to a8f4c91114b5 (1 revision) (flutter/engine#22294) 2020-11-04 07:29:01 -08:00
skia-flutter-autoroll
4cdf1ed6e2 Roll Skia from 938932225cef to 97469f4abe0a (2 revisions) (flutter/engine#22288) 2020-11-03 23:18:02 -08:00
skia-flutter-autoroll
fb8444df09 Roll Skia from 0e54309477ac to 938932225cef (1 revision) (flutter/engine#22286) 2020-11-03 21:58:02 -08:00
Mouad Debbar
d4e264f851 [web] Put the paragraph painting logic in the Paragraph class (flutter/engine#22239) 2020-11-03 21:10:44 -08:00
Omar Emara
fc87f2df63 Fix Linux handling of window exposure events (flutter/engine#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
ac62448f3a Roll Dart SDK from a4fbabcd73dc to 57bb12dc24d2 (1 revision) (flutter/engine#22283) 2020-11-03 18:08:01 -08:00
skia-flutter-autoroll
dee93710dc Roll Skia from 6e7cfaff1817 to 0e54309477ac (2 revisions) (flutter/engine#22281) 2020-11-03 17:28:02 -08:00
skia-flutter-autoroll
638300d771 Roll Skia from dffd20efe95c to 6e7cfaff1817 (37 revisions) (flutter/engine#22277) 2020-11-03 14:43:01 -08:00
stuartmorgan
1bbf363d80 Switch Windows embedding to proc table embedder API (flutter/engine#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
9ab6d32946 Make some errors more idiomatic (flutter/engine#22261) 2020-11-03 12:57:51 -08:00
skia-flutter-autoroll
dbb5e12c09 Roll Fuchsia Linux SDK from oLF1FW-gC... to Esyuo1am1... (flutter/engine#22276) 2020-11-03 12:53:02 -08:00
Mouad Debbar
f1524d8edd [web] Canoncalize font family on input fields (flutter/engine#22215) 2020-11-03 11:53:04 -08:00
Ferhat
2328c882a9 [web] Fix repaint logic for cullrect,transform changes (flutter/engine#22273) 2020-11-03 11:31:48 -08:00
Daco Harkes
b6c5eff614 WeakPersistentHandle migration (flutter/engine#19843)
and roll Dart to 52783837369de45d3372cb6c6b7cdd63e71cd829.
2020-11-03 13:06:53 +01:00
skia-flutter-autoroll
b7531d120e Roll Fuchsia Linux SDK from QqGvMWaYk... to oLF1FW-gC... (flutter/engine#22264) 2020-11-02 23:28:01 -08:00
stuartmorgan
16113fd7f5 Switch macOS embedding to proc table embedder API (flutter/engine#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
Yegor
a6c8d6a23f do not print in _computePixelDensity (flutter/engine#22257) 2020-11-02 17:32:29 -08:00
Robert Ancell
396ad5a9a9 Add braces on if statements to match linter style (flutter/engine#22130) 2020-11-03 12:32:39 +13:00
godofredoc
7261ad23d7 Remove the metrics task from cirrus. (flutter/engine#22240)
Bug:
  https://github.com/flutter/flutter/issues/67579
2020-11-02 15:11:00 -08:00
Harry Terkelsen
67ce5d9fd6 Report error when instantiating CanvasKit network image (flutter/engine#22159) 2020-11-02 14:58:49 -08:00
Ferhat
92d8b2a82e Fix nullability issue with Image.network (flutter/engine#22252) 2020-11-02 11:41:43 -08:00
Yegor
1c8f73e65f fix _getArrayBuffer signature (flutter/engine#22251) 2020-11-02 11:12:52 -08:00
stuartmorgan
9def2f9371 Defer Windows arrow key and delete handling (flutter/engine#22207)
The framework handles arrow keys, delete, and backspace (and with better
unicode support), so we shouldn't handle them at the embedding level.

Fixes #69202
2020-11-02 11:09:03 -08:00
skia-flutter-autoroll
52f8be66a6 Roll Skia from 7585a65ac709 to dffd20efe95c (14 revisions) (flutter/engine#22250) 2020-11-02 10:43:01 -08:00
skia-flutter-autoroll
5cc1cf2473 Roll Fuchsia Linux SDK from sNx8qabBn... to QqGvMWaYk... (flutter/engine#22244) 2020-11-02 09:53:04 -08:00
chunhtai
272e2b2bac makes android semanticsnode to ignore hittest if it is not focusable (flutter/engine#22205) 2020-11-02 09:53:01 -08:00
skia-flutter-autoroll
b520ce6da6 Roll Skia from d5e6368fffd0 to 7585a65ac709 (7 revisions) (flutter/engine#22237) 2020-11-02 08:58:02 -08:00
Jonah Williams
08e76f8416 [web] fix hot restart type error (flutter/engine#22248) 2020-11-02 08:55:32 -08:00
Chris Yang
4512036697 update golden (flutter/engine#22247) 2020-11-02 08:03:53 -08:00