20087 Commits

Author SHA1 Message Date
Greg Spencer
35640af9fa
Convert format script to Dart (#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
17e1ae4318
convert zircon and fuchsia to null-safety (#20577) 2020-08-18 13:15:00 -07:00
skia-flutter-autoroll
549339bda4
Roll Skia from a5a97b4858fb to 59a3c3be94f0 (3 revisions) (#20603) 2020-08-18 13:06:03 -07:00
skia-flutter-autoroll
8934173c90
Roll Fuchsia Mac SDK from 9TrSEgXpI... to r1_V5jkil... (#20602) 2020-08-18 13:01:02 -07:00
skia-flutter-autoroll
017b98210a
Roll Skia from afbf899cf1e2 to a5a97b4858fb (1 revision) (#20600) 2020-08-18 11:36:02 -07:00
Dan Field
2bb2c078f8
Revert harfbuzz 2.7.0 (#20594)
* Revert harfbuzz 2.7.0, which broke Khmer rendering
2020-08-18 11:09:12 -07:00
skia-flutter-autoroll
de98e846b3
Roll Skia from a8b16365f92a to afbf899cf1e2 (7 revisions) (#20595) 2020-08-18 10:01:03 -07:00
godofredoc
2851953970
Revert "Add android scenarios presubmit task. (#20581)" (#20597)
This reverts commit 0b330467da244c86637db5fdaa5ef5401e90beba.
2020-08-18 09:58:46 -07:00
skia-flutter-autoroll
a39df3e9f9
Roll Fuchsia Linux SDK from 4JYAs2BPb... to Hx7fWXONL... (#20592) 2020-08-18 09:36:03 -07:00
skia-flutter-autoroll
456e0de1a2
Roll Dart SDK from edc28e4a5236 to 46bdce049902 (3 revisions) (#20590) 2020-08-18 09:31:02 -07:00
skia-flutter-autoroll
9aa0d639cd
Roll Skia from f9fb0716512d to a8b16365f92a (1 revision) (#20589) 2020-08-18 07:11:02 -07:00
skia-flutter-autoroll
22274a4522
Roll Skia from 688e0966cb16 to f9fb0716512d (3 revisions) (#20586) 2020-08-18 00:16:01 -07:00
skia-flutter-autoroll
b3e281fc0c
Roll Skia from e9d783c4d235 to 688e0966cb16 (1 revision) (#20584) 2020-08-17 22:51:01 -07:00
godofredoc
0b330467da
Add android scenarios presubmit task. (#20581)
Bug:
  https://github.com/flutter/flutter/issues/55326
2020-08-17 19:54:54 -07:00
skia-flutter-autoroll
45e68b54fd
Roll Dart SDK from d61b089bb5c6 to edc28e4a5236 (1 revision) (#20578) 2020-08-17 17:51:02 -07:00
Gary Qian
02de4eb7ce
Update to android 30r2 and roll buildroot (#20479) 2020-08-17 16:33:48 -07:00
Emmanuel Garcia
615679865a
Reland: Create PlatformView instance right after method channel call from Dart (#20568) 2020-08-17 16:28:15 -07:00
skia-flutter-autoroll
1801722058
Roll Skia from f5931f3399e0 to e9d783c4d235 (1 revision) (#20576) 2020-08-17 16:26:01 -07:00
nturgut
bb24b4938f
[web] Build unit tests with dart2js instead of build_runner (#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
0fb3a8fdb3
Roll Fuchsia Mac SDK from ko0N4Pxl_... to 9TrSEgXpI... (#20573) 2020-08-17 15:16:02 -07:00
skia-flutter-autoroll
43f15c4f65
Roll Fuchsia Linux SDK from oNnqaiRXK... to 4JYAs2BPb... (#20571) 2020-08-17 14:26:02 -07:00
Greg Spencer
2218513712
Clean up the CI scripts and make it so that they can be run from anywhere (#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
0a2d4abde3
Roll Dart SDK from e74e4de7a430 to d61b089bb5c6 (1 revision) (#20563) 2020-08-17 13:26:02 -07:00
skia-flutter-autoroll
b9243713a0
Roll Skia from 37e6f530dc10 to f5931f3399e0 (2 revisions) (#20567) 2020-08-17 13:01:05 -07:00
Yegor
5d97d48055
use anonymous in some deletable Sk classes (#20528) 2020-08-17 11:57:12 -07:00
skia-flutter-autoroll
fbfe038826
Roll Skia from ce1d885a576c to 37e6f530dc10 (1 revision) (#20565) 2020-08-17 11:41:04 -07:00
gaaclarke
7b9ac278c9
Revert "Create PlatformView instance right after method channel call from Dart (#20500)" (#20564)
This reverts commit 9333b7c1d0ac7b2ae97998df116fcb0f99b1f26f.
2020-08-17 11:17:03 -07:00
skia-flutter-autoroll
41971f48c3
Roll Skia from fdbd50a8dc87 to ce1d885a576c (3 revisions) (#20562) 2020-08-17 10:21:01 -07:00
skia-flutter-autoroll
613be923b1
Roll Skia from c4245f475be7 to fdbd50a8dc87 (4 revisions) (#20561) 2020-08-17 09:01:01 -07:00
skia-flutter-autoroll
d7510dffa2
Roll Dart SDK from 58a209093c38 to e74e4de7a430 (1 revision) (#20559) 2020-08-17 06:46:01 -07:00
stuartmorgan
9060913dc9
Send locale information in the Windows embedding (#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
32b1b70e27
[windows] Expose the binary messenger from FlutterEngine (#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
76d4922293
Roll Fuchsia Linux SDK from TD-QSKxG8... to oNnqaiRXK... (#20556) 2020-08-17 01:06:02 -07:00
skia-flutter-autoroll
2116ed2e1a
Roll Fuchsia Mac SDK from EEj2OHioI... to ko0N4Pxl_... (#20555) 2020-08-17 00:56:01 -07:00
skia-flutter-autoroll
219fc839e8
Roll Skia from d882e93e416b to c4245f475be7 (2 revisions) (#20554) 2020-08-17 00:11:02 -07:00
skia-flutter-autoroll
fb581b989c
Roll Skia from a008b0fa8bbb to d882e93e416b (2 revisions) (#20553) 2020-08-16 22:51:01 -07:00
skia-flutter-autoroll
f74e4277dd
Roll Dart SDK from 302893b93170 to 58a209093c38 (1 revision) (#20552) 2020-08-16 22:16:02 -07:00
Mehmet Fidanboylu
3aff256928
Enable iOS plumbing for network security and add tests (#20492) 2020-08-16 21:20:26 -07:00
stuartmorgan
3ebcde6a17
Revert "[windows] Expose the binary messenger from FlutterEngine (#20399)" (#20550)
This reverts commit 7fa21a45a64b1a4a642c57bb81d7f3bd67cd5f5e.
2020-08-16 14:49:19 -07:00
stuartmorgan
7fa21a45a6
[windows] Expose the binary messenger from FlutterEngine (#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
ddf253b4c3
Roll Fuchsia Mac SDK from 0ZIOLxuHh... to EEj2OHioI... (#20549) 2020-08-16 11:51:01 -07:00
skia-flutter-autoroll
8430fa1e60
Roll Fuchsia Linux SDK from t6BpwE-Ie... to TD-QSKxG8... (#20548) 2020-08-16 11:46:01 -07:00
Chris Yang
ac8175fee1
Only create raster_thread_merge when explicitly requested by the embedding platform (#20487) 2020-08-16 10:31:01 -07:00
skia-flutter-autoroll
31a0e45eb4
Roll Skia from 01d016186340 to a008b0fa8bbb (14 revisions) (#20546) 2020-08-16 10:21:02 -07:00
skia-flutter-autoroll
b300be3df3
Roll Dart SDK from 6d15e04622c2 to 302893b93170 (11 revisions) (#20545) 2020-08-15 23:56:02 -07:00
skia-flutter-autoroll
7d4b549eb7
Roll Fuchsia Mac SDK from tmHY285qa... to 0ZIOLxuHh... (#20544) 2020-08-15 22:46:01 -07:00
skia-flutter-autoroll
ac6442a654
Roll Fuchsia Linux SDK from WXwJgZ7tK... to t6BpwE-Ie... (#20539) 2020-08-15 22:26:02 -07:00
gaaclarke
f60e836968
Started stubbing in the FlutterView property of the mock (#20542)
FlutterViewControllers.
2020-08-15 21:03:20 -07:00
skia-flutter-autoroll
1590fb23ca
Roll Fuchsia Mac SDK from B75vjVVwe... to tmHY285qa... (#20534) 2020-08-14 22:26:01 -07:00
David Worsham
5a2bf6aa4c
Reland: "fuchsia: Remove dead code / break dependencies" (#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