10691 Commits

Author SHA1 Message Date
stuartmorgan
f69ea6f127 [windows] Expose the binary messenger from FlutterEngine (flutter/engine#20399)
Makes BinaryMessenger available from FlutterEngine, rather than just the plugin registrar. This allows for method channels directly in applications without building them as plugins, and matches the other platforms.

Requires some restructuring of code and GN targets in the client wrappers to make the internals in the shared section usable by the implementations of platform-specific parts of the wrappers. Also fixes a latent issue with EnableInputBlocking symbols being declared but not defined for Windows that came up during testing of the restructuring.

Fixes https://github.com/flutter/flutter/issues/62871
2020-08-16 14:28:57 -07:00
skia-flutter-autoroll
06b8099bc8 Roll Fuchsia Linux SDK from t6BpwE-Ie... to TD-QSKxG8... (flutter/engine#20548) 2020-08-16 11:46:01 -07:00
Chris Yang
e6ebeb9e68 Only create raster_thread_merge when explicitly requested by the embedding platform (flutter/engine#20487) 2020-08-16 10:31:01 -07:00
skia-flutter-autoroll
dcbf433774 Roll Skia from 01d016186340 to a008b0fa8bbb (14 revisions) (flutter/engine#20546) 2020-08-16 10:21:02 -07:00
skia-flutter-autoroll
20324a3588 Roll Fuchsia Linux SDK from WXwJgZ7tK... to t6BpwE-Ie... (flutter/engine#20539) 2020-08-15 22:26:02 -07:00
gaaclarke
df17cc6ccf Started stubbing in the FlutterView property of the mock (flutter/engine#20542)
FlutterViewControllers.
2020-08-15 21:03:20 -07:00
David Worsham
ad2bff1014 Reland: "fuchsia: Remove dead code / break dependencies" (flutter/engine#20532)
Reland #19396 with a fix for improper scale that was affecting internal tests

Tested: Ran all unittests, ran internal tests, and ran workstation on Fuchsia
BUG: 53062, 53063
2020-08-14 20:41:18 -07:00
skia-flutter-autoroll
bf0626436c Roll Skia from 166cd52cee64 to 01d016186340 (9 revisions) (flutter/engine#20519) 2020-08-14 15:16:01 -07:00
skia-flutter-autoroll
cc64931f87 Roll Fuchsia Linux SDK from -dcNYnqRy... to WXwJgZ7tK... (flutter/engine#20517) 2020-08-14 15:11:01 -07:00
Emmanuel Garcia
a87eaedcc2 Create PlatformView instance right after method channel call from Dart (flutter/engine#20500) 2020-08-14 15:06:02 -07:00
Emmanuel Garcia
3fb3b05fdf Custom Gradle home and add .vpython file (flutter/engine#20425) 2020-08-14 15:01:01 -07:00
Diego Ballesteros Villamizar
4ba82d4d91 Handle glfwGetPrimaryMonitor returning nullptr (flutter/engine#20523)
* Handle glfwGetPrimaryMonitor returning nullptr

[glfwGetPrimaryMonitor](https://www.glfw.org/docs/3.3/group__monitor.html#ga721867d84c6d18d6790d64d2847ca0b1) may return NULL in non-error cases when no monitor is found. This started to happen recently with an update to the linux distribution, see internal b/162545223.

Handling this case avoids a crash and instead assumes a pixel density.
2020-08-14 23:03:50 +02:00
Jason Simmons
0a9e612fdd Fix web_ui warnings flagged by the next Dart analyzer update (flutter/engine#20524) 2020-08-14 13:29:50 -07:00
gaaclarke
6ac18e9203 Fixed the accessibility ios unit tests by sending in mock view (flutter/engine#20522)
controllers instead of views.
2020-08-14 10:42:21 -07:00
Dan Field
4d8aaaa337 Make sure ios tests fail if they fail (flutter/engine#20518)
* Make sure ios tests fail if they fail

* explain
2020-08-14 10:11:37 -07:00
skia-flutter-autoroll
f117f6f780 Roll Skia from c9c4e2e9efac to 166cd52cee64 (4 revisions) (flutter/engine#20515) 2020-08-14 09:56:01 -07:00
Justin McCandless
1fec9ca767 hasStrings on Android (flutter/engine#20393)
hasStrings message for checking for pasteable clipboard contents without actually reading them, for iOS14 clipboard alerts.
2020-08-14 08:45:18 -07:00
skia-flutter-autoroll
ded8cf713d Roll Skia from e219c7ed3754 to c9c4e2e9efac (3 revisions) (flutter/engine#20513) 2020-08-14 08:36:01 -07:00
skia-flutter-autoroll
0e7c8e0b2b Roll Skia from 1cf2c8d6ec21 to e219c7ed3754 (1 revision) (flutter/engine#20512) 2020-08-14 07:16:02 -07:00
skia-flutter-autoroll
27850ca8fe Roll Skia from c184cf36092f to 1cf2c8d6ec21 (1 revision) (flutter/engine#20509) 2020-08-14 05:16:01 -07:00
skia-flutter-autoroll
3b330c9709 Roll Skia from b6ce6baf7a7a to c184cf36092f (3 revisions) (flutter/engine#20507) 2020-08-14 00:21:01 -07:00
stuartmorgan
7e9b115eeb Fix the legacy EncodableValue codepaths (flutter/engine#20501)
A recent refactoring broke the USE_LEGACY_ENCODABLE_VALUE codepath in
standard_codec.cc, which went unnoticed since it wasn't being compiled.
This fixes the breakage, and also adds a temporary minimal unit test
target that ensures that all the USE_LEGACY_ENCODABLE_VALUE paths are
being compiled.
2020-08-13 23:02:20 -07:00
skia-flutter-autoroll
8e6cfc0beb Roll Skia from 283c230fa18a to b6ce6baf7a7a (1 revision) (flutter/engine#20506) 2020-08-13 23:01:01 -07:00
Jia Hao
89e5cf3dba Add missing nullable annotation (flutter/engine#20505) 2020-08-13 22:41:01 -07:00
skia-flutter-autoroll
13e31b4095 Roll Fuchsia Linux SDK from AjjDqKkUV... to -dcNYnqRy... (flutter/engine#20502) 2020-08-13 21:41:01 -07:00
skia-flutter-autoroll
ea6f4ceed7 Roll Skia from 311dd9d8474c to 283c230fa18a (2 revisions) (flutter/engine#20499) 2020-08-13 20:36:05 -07:00
Yuqian Li
4dec444c69 Add a service protocol for raster cache memory (flutter/engine#20466)
Related issue: https://github.com/flutter/flutter/issues/56719
2020-08-13 20:11:47 -07:00
skia-flutter-autoroll
68008c86a5 Roll Skia from 9e77f20864d3 to 311dd9d8474c (4 revisions) (flutter/engine#20493) 2020-08-13 18:46:01 -07:00
David Worsham
877ae98e08 Fix unoptimized fuchsia builds (flutter/engine#20488) 2020-08-13 16:12:04 -07:00
skia-flutter-autoroll
6616f6cf2c Roll Skia from cc01311cfc96 to 9e77f20864d3 (6 revisions) (flutter/engine#20489) 2020-08-13 15:36:17 -07:00
Dan Field
b43d17a5a3 Remove the dummy rasterizer delegate now that flutter_runner is in tree, and cleanup ctor params (flutter/engine#20486) 2020-08-13 14:46:01 -07:00
xster
5ac78f5be6 Refactor initial route code take 2 (flutter/engine#20468) 2020-08-13 14:18:11 -07:00
keyonghan
89d75f7420 Add enabled flag for try builders (flutter/engine#20460)
* add enabled flag

* update doc

* update doc
2020-08-13 13:36:18 -07:00
skia-flutter-autoroll
811d81f24b Roll Skia from af36652766db to cc01311cfc96 (4 revisions) (flutter/engine#20485) 2020-08-13 12:26:01 -07:00
Jason Simmons
a67e03a61c Do not access members after calling ClearDartWrapper (flutter/engine#20465) 2020-08-13 11:06:02 -07:00
skia-flutter-autoroll
a42fd23c83 Roll Skia from 8dd1e22f4130 to af36652766db (6 revisions) (flutter/engine#20484) 2020-08-13 10:16:01 -07:00
Yegor
7f9b0eb7ca Clean-up CanvasKit canvas sizing. (flutter/engine#20387)
* Clean-up CanvasKit canvas sizing.

* cache size correctly
2020-08-13 09:21:08 -07:00
skia-flutter-autoroll
88d0b1cdf6 Roll Skia from df9ed89229db to 8dd1e22f4130 (2 revisions) (flutter/engine#20481) 2020-08-13 08:36:03 -07:00
skia-flutter-autoroll
3177e28af7 Roll Fuchsia Linux SDK from xcu8qvX33... to AjjDqKkUV... (flutter/engine#20477) 2020-08-13 07:31:02 -07:00
Mehmet Fidanboylu
0f611fe4b7 Plumbing for setting domain network policy (flutter/engine#20218) 2020-08-13 07:26:43 -07:00
skia-flutter-autoroll
b592b01022 Roll Skia from 025843fad003 to df9ed89229db (4 revisions) (flutter/engine#20478) 2020-08-13 07:11:01 -07:00
skia-flutter-autoroll
b7618544bd Roll Skia from 652124c372e5 to 025843fad003 (1 revision) (flutter/engine#20467) 2020-08-12 22:56:01 -07:00
skia-flutter-autoroll
508da25e6c Roll Skia from c95b589112f3 to 652124c372e5 (4 revisions) (flutter/engine#20462) 2020-08-12 19:36:01 -07:00
stuartmorgan
3d63be5265 Send locale information in the macOS embedding (flutter/engine#20461)
Queries the system list of user-preferred languages, and sends it to the
engine just after starting it up, as well as after any OS locale change.

macOS portion of https://github.com/flutter/flutter/issues/45152
2020-08-12 19:31:22 -07:00
David Worsham
a001fb98a7 Fix broken symbols on Fuchsia embedder (flutter/engine#20459)
See: b/163653659
2020-08-12 19:06:22 -07:00
skia-flutter-autoroll
03a701ea15 Roll Fuchsia Linux SDK from vomfYvIJk... to xcu8qvX33... (flutter/engine#20458) 2020-08-12 17:51:02 -07:00
skia-flutter-autoroll
6832e1ef6e Roll Skia from b3f26441d191 to c95b589112f3 (12 revisions) (flutter/engine#20456) 2020-08-12 15:51:02 -07:00
David Worsham
6d6047204d Add --unoptimied and --asan to Fuchsia builds (flutter/engine#20427) 2020-08-12 14:47:55 -07:00
Yegor
71ad89d9e6 Delete CSS paint code (flutter/engine#20426)
* Delete CSS paint code
2020-08-12 14:42:34 -07:00
gaaclarke
232d6c4fca Revert "Refactor initial route code (#19684)" (flutter/engine#20450)
This reverts commit 21404b56c6c183a829d9c758bec2330155e2d86d.
2020-08-12 12:43:08 -07:00