10705 Commits

Author SHA1 Message Date
Greg Spencer
d737cca58e Clean up the CI scripts and make it so that they can be run from anywhere (flutter/engine#20538)
This cleans up the ci scripts so that they can be run from an arbitrary directory, and so that they don't have any bash lint issues, and are more explicit about which dart/pub/dartanalyzer executable they run.

I also fixed the format script to take a "--fix" argument that will fix all of the formatting issues found, including trailing whitespace and gn files.

I added a warning to the license script about untracked/ignored files in the fluttter repo because those so often trip up the license script.

I added missing license information to the ci scripts too.

There's now a bit of boilerplate at the beginning of each script (the follow_links function) in order to reliably find the actual location of the script: I'd put it into a common file, except that that code would be needed to reliably find the common location too, so I needed to duplicate it. It's the same boilerplate as what is used in the flutter/flutter repo for the flutter and dart scripts.

I deleted the ci/test.sh script, since it seems to be obsolete (the test it tries to run doesn't exist anywhere).
2020-08-17 14:03:01 -07:00
skia-flutter-autoroll
763277f6c0 Roll Skia from 37e6f530dc10 to f5931f3399e0 (2 revisions) (flutter/engine#20567) 2020-08-17 13:01:05 -07:00
Yegor
a1e5e33bda use anonymous in some deletable Sk classes (flutter/engine#20528) 2020-08-17 11:57:12 -07:00
skia-flutter-autoroll
40245ebf0c Roll Skia from ce1d885a576c to 37e6f530dc10 (1 revision) (flutter/engine#20565) 2020-08-17 11:41:04 -07:00
gaaclarke
9ef815d6dc Revert "Create PlatformView instance right after method channel call from Dart (#20500)" (flutter/engine#20564)
This reverts commit a87eaedcc22c1b96065222cdf6a05fe32c0b09f0.
2020-08-17 11:17:03 -07:00
skia-flutter-autoroll
9f1bb20fee Roll Skia from fdbd50a8dc87 to ce1d885a576c (3 revisions) (flutter/engine#20562) 2020-08-17 10:21:01 -07:00
skia-flutter-autoroll
af166508ec Roll Skia from c4245f475be7 to fdbd50a8dc87 (4 revisions) (flutter/engine#20561) 2020-08-17 09:01:01 -07:00
stuartmorgan
85ffc9bb19 Send locale information in the Windows embedding (flutter/engine#20455)
Queries the system list of user-preferred languages, and sends it to the
engine just after starting it up.

Windows portion of https://github.com/flutter/flutter/issues/45152
2020-08-17 05:46:39 -07:00
stuartmorgan
67cf6c312c [windows] Expose the binary messenger from FlutterEngine (flutter/engine#20551)
Relands https://github.com/flutter/engine/pull/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 restructing.

Fixes https://github.com/flutter/flutter/issues/62871
2020-08-17 05:44:48 -07:00
skia-flutter-autoroll
869428afe5 Roll Fuchsia Linux SDK from TD-QSKxG8... to oNnqaiRXK... (flutter/engine#20556) 2020-08-17 01:06:02 -07:00
skia-flutter-autoroll
5af99df39c Roll Skia from d882e93e416b to c4245f475be7 (2 revisions) (flutter/engine#20554) 2020-08-17 00:11:02 -07:00
skia-flutter-autoroll
1249ea9868 Roll Skia from a008b0fa8bbb to d882e93e416b (2 revisions) (flutter/engine#20553) 2020-08-16 22:51:01 -07:00
Mehmet Fidanboylu
fd10b885d8 Enable iOS plumbing for network security and add tests (flutter/engine#20492) 2020-08-16 21:20:26 -07:00
stuartmorgan
02796951ef Revert "[windows] Expose the binary messenger from FlutterEngine (#20399)" (flutter/engine#20550)
This reverts commit f69ea6f127181cb5578a3de58f96a58e183e4cdf.
2020-08-16 14:49:19 -07:00
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