11206 Commits

Author SHA1 Message Date
skia-flutter-autoroll
dd4f9727d6 Roll Fuchsia Linux SDK from GEYgsTBRM... to EdtRxRaCS... (flutter/engine#21541) 2020-10-01 09:37:02 -07:00
skia-flutter-autoroll
604c7a5550 Roll Fuchsia Linux SDK from sDtTSnOFx... to GEYgsTBRM... (flutter/engine#21533) 2020-09-30 20:17:01 -07:00
Dan Field
9377073f34 Fix windows popup (flutter/engine#21522) 2020-09-30 14:38:44 -07:00
stuartmorgan
b493fa3af3 Add missing returns in system channels handlers (flutter/engine#21523)
The Windows and GLFW embeddings both had cases of missing returns after
calling `Error` on a method channel result object, leading to incorrect
double-calls on the result if the error paths were ever hit.
2020-09-30 14:34:50 -07:00
Yegor
81b8c4ac67 re-enable CanvasKit path ops test (flutter/engine#21520)
* re-enable CanvasKit path ops test

* also test Path.combine
2020-09-30 14:30:01 -07:00
fredlee12345678
5194240b61 add checker board for clip_path,clip_rect,clip_rrect,physical_shap_layer (flutter/engine#20997) 2020-09-30 10:27:11 -07:00
Ren You
f2669455f3 Revert "Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#21163)" (flutter/engine#21513)
This reverts commit afeb9b27f0191997cc45682ab756c0be4d3e155c.
2020-09-30 09:34:05 -07:00
skia-flutter-autoroll
2bd5b1e59d Roll Fuchsia Linux SDK from _ABSfRa7C... to sDtTSnOFx... (flutter/engine#21511) 2020-09-30 06:57:01 -07:00
skia-flutter-autoroll
4759147867 Roll Skia from 8a1ed2a97bf4 to a87c5076a876 (2 revisions) (flutter/engine#21508) 2020-09-30 00:22:02 -07:00
skia-flutter-autoroll
7231096c70 Roll Skia from f201af8b00e8 to 8a1ed2a97bf4 (1 revision) (flutter/engine#21507) 2020-09-29 23:02:01 -07:00
skia-flutter-autoroll
0a5bada622 Roll Skia from 4cf00a814f7d to f201af8b00e8 (2 revisions) (flutter/engine#21505) 2020-09-29 20:12:01 -07:00
skia-flutter-autoroll
befc54b042 Roll Skia from 9ecb3abfdfe8 to 4cf00a814f7d (1 revision) (flutter/engine#21503) 2020-09-29 18:52:01 -07:00
skia-flutter-autoroll
8a106e5c9b Roll Fuchsia Linux SDK from 4UZwprAK4... to _ABSfRa7C... (flutter/engine#21502) 2020-09-29 17:37:02 -07:00
skia-flutter-autoroll
7550817da9 Roll Skia from 0b0fb4d50b75 to 9ecb3abfdfe8 (12 revisions) (flutter/engine#21500) 2020-09-29 16:32:02 -07:00
Felipe Archondo
af1ab991d5 [fuchsia] fix typo (flutter/engine#21488) 2020-09-29 15:48:52 -05:00
Greg Spencer
afeb9b27f0 Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (flutter/engine#21163)
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-09-29 12:46:29 -07:00
skia-flutter-autoroll
452891b651 Roll Skia from 4b6f37d90277 to 0b0fb4d50b75 (2 revisions) (flutter/engine#21487) 2020-09-29 12:22:01 -07:00
Yegor
a347148d5a fix EnginePicture.toImage; implement rawRgba toByteData; add test (flutter/engine#21370) 2020-09-29 12:17:03 -07:00
skia-flutter-autoroll
ce90c2618e Roll Skia from c73bff39bd21 to 4b6f37d90277 (1 revision) (flutter/engine#21485) 2020-09-29 10:32:02 -07:00
lucasradaelli
ea1173225e [fuchsia][a11y] Don't populate hidden state. (flutter/engine#21484) 2020-09-29 10:07:01 -07:00
bungeman
fd93916c27 Replace kLegacyFontHost_InitType with kUnknown_SkPixelGeometry. (flutter/engine#21474)
Skia is removing the deprecated legacy display setting globals and
associated kLegacyFontHost_InitType. This change replaces all such uses
with default surface properties with no special flags and an unknown
pixel geometry. Flutter never set the associated globals, leaving them
with their initial default values, which were no special flags and
horizontal RGB pixel geometry. The values used here are different but
this change should make no difference as Flutter never mentions
SkFont::kSubpixelAntiAlias to take advantage of the pixel geometry.
2020-09-29 12:46:08 -04:00
stuartmorgan
fd8683ab35 [macos] Allow engine flags via environment vars (flutter/engine#21468)
Replaces the (temporary) compile-time option to pass engine switches
with the ability to pass them temporarily at runtime via environment
variables. This moves the recently-added code for doing this on Windows
to a shared location for use by all desktop embeddings.

This is enabled only for debug/profile to avoid potential issues with
tampering with released applications, but if there is a need for that in
the future it could be added (potentially with a whitelist, as is
currently used for Dart VM flags).

Temporarily adds a way to enable mirrors as a compile time option,
as is already provided in the Linux embedding, to provide a migration
path for the one remaining known need for compile-time options
that has been raised in flutter/flutter#38569.
2020-09-29 09:36:30 -07:00
skia-flutter-autoroll
d0768260c8 Roll Skia from 842805ced156 to c73bff39bd21 (1 revision) (flutter/engine#21483) 2020-09-29 09:12:02 -07:00
skia-flutter-autoroll
9930c696d0 Roll Skia from 01bbe189b0d0 to 842805ced156 (1 revision) (flutter/engine#21481) 2020-09-29 01:42:02 -07:00
skia-flutter-autoroll
6afbbdee6e Roll Fuchsia Linux SDK from 2NPr4uMi-... to 4UZwprAK4... (flutter/engine#21480) 2020-09-29 01:22:01 -07:00
skia-flutter-autoroll
4668fed23b Roll Skia from 1fdcd389873d to 01bbe189b0d0 (1 revision) (flutter/engine#21479) 2020-09-29 00:22:01 -07:00
skia-flutter-autoroll
46f3c17627 Roll Skia from e96cdd18ac5f to 1fdcd389873d (1 revision) (flutter/engine#21477) 2020-09-28 23:02:01 -07:00
skia-flutter-autoroll
cdd5a7b1c1 Roll Skia from 427d8ebf308c to e96cdd18ac5f (6 revisions) (flutter/engine#21471) 2020-09-28 15:57:01 -07:00
skia-flutter-autoroll
03bf8d19cf Roll Skia from d82e2c1ec126 to 427d8ebf308c (4 revisions) (flutter/engine#21469) 2020-09-28 14:37:01 -07:00
Chinmay Garde
aacf00f3b6 Make scoped_nsprotocol::release() private. (flutter/engine#21467)
This is not used anywhere in the engine. However, this API is easy to misuse as
one might incorrectly assume that it releases the reference on the underlying
object. Callers must use `reset` for this purpose.
2020-09-28 14:02:21 -07:00
Paul Berry
d65187e6c2 Remove unnecessary ?s from web_ui. (flutter/engine#21444)
* Remove unnecessary `?`s from web_ui.

In https://dart-review.googlesource.com/c/sdk/+/163841, dart's flow
analysis is being changed so that an assignment like this:

    T? x = <non-nullable value>;

causes `x` to be immediately promoted to type `T`.  This exposed two
instances in which a variable was unnecessarily given a nullable type.
To avoid warnings, we need to fix these two types before
https://dart-review.googlesource.com/c/sdk/+/163841 can land.
2020-09-28 13:58:12 -07:00
skia-flutter-autoroll
7da26bb5f5 Roll Skia from 6a189f23af5e to d82e2c1ec126 (15 revisions) (flutter/engine#21465) 2020-09-28 13:07:02 -07:00
chunhtai
cb4fe4dfab Reland Apply dpr transform to fuchsia accessibility bridge (flutter/engine#21459)
* Reland "Apply dpr transform to fuchsia accessibility bridge (#21364)"

This reverts commit 0c8c4bd82c51933ac4aa5c13fc33f0c63b12d921.

* fix test
2020-09-28 12:50:53 -07:00
Kaushik Iska
a5f4486147 Reland multiple display support for embedder API (flutter/engine#21464) 2020-09-28 12:35:34 -07:00
George Wright
ea9cc6cf3c Run embedder_tests on Fuchsia CI (flutter/engine#21462) 2020-09-28 12:22:02 -07:00
skia-flutter-autoroll
ec1c3a28b0 Roll Fuchsia Linux SDK from HNNs4gfuM... to 2NPr4uMi-... (flutter/engine#21461) 2020-09-28 12:02:01 -07:00
Jason Simmons
19b073917b Do not pass invalid platform view rendering surfaces to the rasterizer (flutter/engine#21259) 2020-09-28 11:57:01 -07:00
George Wright
67cfb02b18 Enable embedder_unittests on Fuchsia (flutter/engine#21418) 2020-09-28 11:12:02 -07:00
skia-flutter-autoroll
3da8a178d5 Roll Skia from ad6aeace6eee to 6a189f23af5e (6 revisions) (flutter/engine#21455) 2020-09-28 10:27:02 -07:00
Kaushik Iska
bd90847bad Revert multiple display support for embedder API (flutter/engine#21456)
This reverts commits
- 5f34b8442366463b5ad53e3e87e7920a006392eb.
- fc8b468d84f1fef5bf5183dd0b36d9411d454ea7.

See: https://github.com/flutter/flutter/issues/66829
2020-09-28 09:46:46 -07:00
Zachary Anderson
0c8c4bd82c Revert "Apply dpr transform to fuchsia accessibility bridge (#21364)" (flutter/engine#21458)
This reverts commit c120f3e17aeb2ee8ee69c76d6bd5070d68e7093e.
2020-09-28 09:42:50 -07:00
chunhtai
c120f3e17a Apply dpr transform to fuchsia accessibility bridge (flutter/engine#21364)
* Apply dpr transform to fuchsia accessibility bridge

* fix format

* addressing comment

* fix typo
2020-09-28 09:24:02 -07:00
Kaushik Iska
100e0491d8 [ios] Remove unused is_valid_ from IOS Metal Context (flutter/engine#21432) 2020-09-28 08:05:48 -07:00
skia-flutter-autoroll
2d0201558d Roll Skia from eabce08bb2f2 to ad6aeace6eee (2 revisions) (flutter/engine#21448) 2020-09-27 22:57:02 -07:00
skia-flutter-autoroll
016c6e1a6d Roll Fuchsia Linux SDK from ej-CkfSra... to HNNs4gfuM... (flutter/engine#21447) 2020-09-27 21:07:01 -07:00
skia-flutter-autoroll
5cb2d8e0b0 Roll Fuchsia Linux SDK from xdxm8rU8b... to ej-CkfSra... (flutter/engine#21443) 2020-09-27 07:47:02 -07:00
skia-flutter-autoroll
400e63c464 Roll Fuchsia Linux SDK from 0nW5DAxcC... to xdxm8rU8b... (flutter/engine#21439) 2020-09-26 18:27:01 -07:00
skia-flutter-autoroll
1b600feda6 Roll Skia from 5648572f4a94 to eabce08bb2f2 (1 revision) (flutter/engine#21435) 2020-09-26 10:57:01 -07:00
skia-flutter-autoroll
1727c99805 Roll Skia from 766eeb2ac325 to 5648572f4a94 (1 revision) (flutter/engine#21433) 2020-09-26 09:12:01 -07:00
skia-flutter-autoroll
f5d475a873 Roll Skia from 5e1545fa00c8 to 766eeb2ac325 (1 revision) (flutter/engine#21431) 2020-09-26 07:27:01 -07:00