10733 Commits

Author SHA1 Message Date
egdaniel
0ee7007d63 Remove use of ctors on Skia Vulkan struct (flutter/engine#20630)
Skia is removing the ctors on these structs so removing them.
2020-08-19 13:18:25 -04:00
Stas Parshin
fa3e19be27 Fix NPE in PlatformViewsController.checkInputConnectionProxy (flutter/engine#20622) 2020-08-19 08:34:04 -07:00
Chris Yang
72162b7a66 Ensure threads are merged when tearing down the Rasterizer (flutter/engine#19919) 2020-08-19 08:31:01 -07:00
stuartmorgan
bb04632eeb [windows] Allow delegation of top-level WindowProc (flutter/engine#20613)
Adds APIs for runners to delegate WindowProc handlers into the Flutter
engine, and for plugins to register as possible delegates.

This allows for plugins to alter top-level window behavior in ways that
can only be done from the WindowProc, such as resize control. This
functionality remains entirely on the native side, so is synchronous.

Part of https://github.com/flutter/flutter/issues/53168
2020-08-19 06:49:39 -07:00
skia-flutter-autoroll
8e45d2ed9e Roll Skia from 81eabce6a3af to 356838b9f8c0 (4 revisions) (flutter/engine#20623) 2020-08-19 00:46:02 -07:00
skia-flutter-autoroll
6912fd88bb Roll Fuchsia Linux SDK from Hx7fWXONL... to zbH5QA8Qz... (flutter/engine#20621) 2020-08-18 23:26:02 -07:00
skia-flutter-autoroll
eaa29167ff Roll Skia from 59a3c3be94f0 to 81eabce6a3af (1 revision) (flutter/engine#20618) 2020-08-18 23:21:01 -07:00
Dan Field
431323d512 Make const_finder work with implemented and extended classes (flutter/engine#20614) 2020-08-18 23:16:03 -07:00
Mouad Debbar
8f6c340c7b [web] Prepare for read-only input fields (flutter/engine#20520) 2020-08-18 23:11:02 -07:00
Greg Spencer
0764e7cf1a Remove doc comments in copied web interfaces (flutter/engine#20494)
* Remove doc comments in copied web interfaces

* Whitespace changes to improve readability
2020-08-18 17:15:16 -07:00
David Worsham
8b4e07c198 fuchsia: Increase timeout for flaky test (flutter/engine#20606) 2020-08-18 17:14:30 -07:00
Yegor
a18f17805c rename "compositor"/"surface" to "canvaskit"/"html"; document conventions (flutter/engine#20579)
* rename "compositor"/"surface" to "canvaskit"/"html"; document conventions
2020-08-18 13:30:58 -07:00
Greg Spencer
c001ea6f4a Convert format script to Dart (flutter/engine#20572)
This converts the ci/format.sh script to a Dart script that uses process_runner and isolates to multi-process the clang-format, diffs, and grepping needed to do the formatting changes.

It also will (by default) only check the formatting of changed files.

The user can optionally check all files (--all-files) or do only some types of checks with --check. --verbose prints the versions of the tools used for Clang format and Java format.

Specifying --fix will cause any formatting errors that would have been detected to be fixed.
2020-08-18 13:25:30 -07:00
Chase Latta
5f7105f763 convert zircon and fuchsia to null-safety (flutter/engine#20577) 2020-08-18 13:15:00 -07:00
skia-flutter-autoroll
ff3065a957 Roll Skia from a5a97b4858fb to 59a3c3be94f0 (3 revisions) (flutter/engine#20603) 2020-08-18 13:06:03 -07:00
skia-flutter-autoroll
f244d02e0b Roll Skia from afbf899cf1e2 to a5a97b4858fb (1 revision) (flutter/engine#20600) 2020-08-18 11:36:02 -07:00
skia-flutter-autoroll
beb63da9ac Roll Skia from a8b16365f92a to afbf899cf1e2 (7 revisions) (flutter/engine#20595) 2020-08-18 10:01:03 -07:00
godofredoc
8575bfbfd6 Revert "Add android scenarios presubmit task. (#20581)" (flutter/engine#20597)
This reverts commit 639cb1ea667adca6d97f5095d5f2e66ec63506c8.
2020-08-18 09:58:46 -07:00
skia-flutter-autoroll
2708696006 Roll Fuchsia Linux SDK from 4JYAs2BPb... to Hx7fWXONL... (flutter/engine#20592) 2020-08-18 09:36:03 -07:00
skia-flutter-autoroll
d2ec2f90ef Roll Skia from f9fb0716512d to a8b16365f92a (1 revision) (flutter/engine#20589) 2020-08-18 07:11:02 -07:00
skia-flutter-autoroll
a50646a342 Roll Skia from 688e0966cb16 to f9fb0716512d (3 revisions) (flutter/engine#20586) 2020-08-18 00:16:01 -07:00
skia-flutter-autoroll
7439478294 Roll Skia from e9d783c4d235 to 688e0966cb16 (1 revision) (flutter/engine#20584) 2020-08-17 22:51:01 -07:00
godofredoc
639cb1ea66 Add android scenarios presubmit task. (flutter/engine#20581)
Bug:
  https://github.com/flutter/flutter/issues/55326
2020-08-17 19:54:54 -07:00
Gary Qian
489c453c46 Update to android 30r2 and roll buildroot (flutter/engine#20479) 2020-08-17 16:33:48 -07:00
Emmanuel Garcia
a2732e0538 Reland: Create PlatformView instance right after method channel call from Dart (flutter/engine#20568) 2020-08-17 16:28:15 -07:00
skia-flutter-autoroll
8cd31d8c2c Roll Skia from f5931f3399e0 to e9d783c4d235 (1 revision) (flutter/engine#20576) 2020-08-17 16:26:01 -07:00
nturgut
ab6a3aa43a [web] Build unit tests with dart2js instead of build_runner (flutter/engine#20390)
* change from build_runner to dart2js

* add internalBootstrapBrowserTest to some of the tests

* add internalBootstrapBrowserTest to all remaining tests

* make tests build in paralel. Total time dropped from 586 to 177 seconds for 8 core MacBook

* change isolates with pool

* fixing analysis errors

* skipping canvaskit tests for ios-safari

* copy image files to the build directory

* adding internalBootstrapBrowserTest to newly added tests

* add internalBootstrapBrowserTest to faling path iterator test

* necessary changes to make chrome windows work

* in windows test in chrome instead of edge. our edge code was for legacy edge

* do not run golden unit tests on Windows LUCI bots for now

* addressing reviewer comments. Adding a method for deciding when to run integration tests.

* remove lines that I forgot to remove

* fixing analysis error. add issue for todo

* add bootstap to a test file

* adding bootstrap to another test

* add internalBootstrapBrowserTest to a golden test

* return test result in bat file. use archieve package to unzip

* fixing logs for chrome_installer

* use archieve and archieve entity instead of dynamic

* adding comments for windows platform archieve part

* addressing reviewer comments

* change readme file
2020-08-17 16:19:27 -07:00
skia-flutter-autoroll
e2d628f70c Roll Fuchsia Linux SDK from oNnqaiRXK... to 4JYAs2BPb... (flutter/engine#20571) 2020-08-17 14:26:02 -07:00
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