21454 Commits

Author SHA1 Message Date
Angjie Li
f9980cdb1c
Cherry pick - Flutter 1.24 candidate.11 (#70424)
* Future can return null (#70324)

* Revert usages of the binding's platformDispatcher to use window instead (#70319)

This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.

Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places

* Revert "mark catalina ios tasks as flaky (#70255)" (#70328)

Co-authored-by: Emmanuel Garcia <egarciad@google.com>
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: keyonghan <54558023+keyonghan@users.noreply.github.com>
2020-11-12 18:20:31 -08:00
keyonghan
d26712e12f
mark catalina ios tasks as flaky (#70255) 2020-11-10 18:19:07 -08:00
Jonah Williams
28ecf05692
[null-safety] opt driver tests into null safety (#70245) 2020-11-10 16:29:13 -08:00
engine-flutter-autoroll
425ae8621c
5f660ce78 Roll ANGLE to latest version (flutter/engine#22177) (#70237) 2020-11-10 15:59:02 -08:00
engine-flutter-autoroll
3700061b13
Roll Engine from 4e0f7ab788bd to caf678d30fc0 (10 revisions) (#70231)
* 03e750d6f Roll Fuchsia Linux SDK from g6EuxMthn... to DzZi2gPbF... (flutter/engine#22417)

* 80e9a3fc2 Roll Skia from 84d503b21322 to 5b8598952931 (7 revisions) (flutter/engine#22418)

* 80cc0fae7 Roll Skia from 5b8598952931 to 02dd0ed8ce5e (1 revision) (flutter/engine#22419)

* d14c4a742 Roll Skia from 02dd0ed8ce5e to fb5850f41043 (4 revisions) (flutter/engine#22420)

* af185be87 Roll Skia from fb5850f41043 to 008d63e23dab (6 revisions) (flutter/engine#22421)

* 1a13dac52 Simplify API for scheduling Skia object deletions (flutter/engine#22409)

* 49299c37d Roll Skia from 008d63e23dab to 267826c86552 (4 revisions) (flutter/engine#22422)

* 25e08298a Roll Fuchsia Mac SDK from w10eytxvc... to e-4Jm-yWa... (flutter/engine#22423)

* 76e615859 Roll Skia from 267826c86552 to 88e8bb2fe2d5 (3 revisions) (flutter/engine#22424)

* caf678d30 Move common graphics utils to //flutter/common/graphics (flutter/engine#22320)
2020-11-10 14:41:59 -08:00
Michael Goderbauer
786d0306db
Assert for RenderFlex intrinsics if using baseline alignment (#70139) 2020-11-10 14:29:41 -08:00
Jonah Williams
fb28ee2860
[flutter_tools] reland: cache pub invocations (#70180)
Disabled caching of pub invocations on flutter drive.
2020-11-10 13:56:36 -08:00
Hans Muller
191d0aa4b6
Revert "AppBar draws its defaults from theme.colorScheme (#69251)" (#70212) 2020-11-10 13:54:04 -08:00
Jonah Williams
0bbd9020ed
[flutter_tools] remove experiment tracking analytics for null safety (#70183) 2020-11-10 12:49:50 -08:00
Jonah Williams
39bc68b6a2
[flutter_tools] dont use autodetect enum for web (#70189) 2020-11-10 12:49:38 -08:00
engine-flutter-autoroll
f877d9fd9e
Roll Engine from e50ac2c55240 to 4e0f7ab788bd (2 revisions) (#70163) 2020-11-10 12:44:02 -08:00
Jonah Williams
84a8bd3f5a
Revert "[flutter_tools] always use dart to run test script. (#70146)" (#70175)
This reverts commit a90880a8c32905dfa6f204348ad6a9e6d404d282.
2020-11-10 05:21:14 -08:00
Jonah Williams
a90880a8c3
[flutter_tools] always use dart to run test script. (#70146) 2020-11-10 05:02:56 -08:00
engine-flutter-autoroll
900da21f11
Roll Engine from d642a939c34b to e50ac2c55240 (2 revisions) (#70158) 2020-11-10 00:54:03 -08:00
Darren Austin
fb63371589
Fix for the ListTile horizontalTitleGap calculation introduced with PR #64222. (#70149) 2020-11-09 18:13:07 -08:00
Jonah Williams
dbcd7868a4
[flutter_tools] remove most globals from asset system and remove Cache manipulation in unit tests (#70011) 2020-11-09 18:01:04 -08:00
Jonah Williams
1c4b50ecf1
Revert "[flutter_tools] restore pub caching functionality (#70133)" (#70144)
This reverts commit ff953e4f83d0e9bc5a5468a7e910a7b1506a2ca5.
2020-11-09 16:38:07 -08:00
engine-flutter-autoroll
f85c383fd1
Roll Engine from 014da89eb015 to d642a939c34b (2 revisions) (#70140) 2020-11-09 16:14:03 -08:00
Jonah Williams
3fb389c75a
[null-safety] implement null-safe autodetection for the web (#70126)
Fixes #69416
Fixes #70121
2020-11-09 16:13:38 -08:00
Jonah Williams
ff953e4f83
[flutter_tools] restore pub caching functionality (#70133)
Necessary to work around #70013 (this looks like it will be fixed, but should protect us in the future)

Restores some notion of skipping pub, with differences from the prior implementation:

Off by default, and only used by the flutter command automatic pub get
A single check parameter. Uses the framework version cached per-project instead of a timestamp of the tool, to avoid cases where downloading a prebuilt framework would cause this check to no longer work.
2020-11-09 16:11:55 -08:00
Greg Spencer
bbc0161669
Remove references to Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow (#69617)
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate

* remove new test platform dispatchers

* Amend documentation
2020-11-09 15:26:29 -08:00
redsolver
3b7718c27d
AdoptAWidget: Table (#69488) (#69588)
* Added Dartpad sample for Table widget

* Changed template to stateless_widget_scaffold

* Removed trailing character
2020-11-09 15:20:42 -08:00
engine-flutter-autoroll
a82c786d29
Roll Engine from 7f07491bcafb to 014da89eb015 (3 revisions) (#70135) 2020-11-09 15:04:02 -08:00
Jonah Williams
8c02c300d9
[flutter_tools] always run pub with prebuilt applicaitons on drive (#70136) 2020-11-09 14:55:04 -08:00
Kate Lovett
31c0291af4
Remove old todo (#70131) 2020-11-09 14:44:04 -08:00
engine-flutter-autoroll
e3bb51fa1f
7f07491bc Roll Skia from cfe647c02fb4 to ee0ce9858cbc (1 revision) (flutter/engine#22399) (#70123) 2020-11-09 13:59:03 -08:00
xubaolin
935185ac45
Fix the PopupMenuButton offset bug (#69383) 2020-11-09 13:54:02 -08:00
Yegor
879466eac2
default to unsound nullability for web (#70120) 2020-11-09 13:49:02 -08:00
Jonah Williams
f1cdf2e6f3
Revert "[flutter_tools] restore pub caching functionality on run/test (#70056)" (#70132)
This reverts commit 6e5845f0253f5574c0bd059808650b2d419260bb.
2020-11-09 13:31:01 -08:00
Emmanuel Garcia
b18e2a1cc4
Bump Gallery version (#70130) 2020-11-09 13:05:56 -08:00
Jonah Williams
6e5845f025
[flutter_tools] restore pub caching functionality on run/test (#70056) 2020-11-09 12:52:22 -08:00
Jonah Williams
55e183eb09
[null-safety] migrate hello_world to null safety (#70112)
* [null-safety] migrate flutter gallery to null safety
2020-11-09 12:51:04 -08:00
Emmanuel Garcia
21e802746b
Migrate Flutter Gallery test to null safety (#70116) 2020-11-09 12:29:14 -08:00
engine-flutter-autoroll
43e1d1596e
Roll Engine from 3cf292226986 to 40b8f8227b9a (7 revisions) (#70117) 2020-11-09 12:24:03 -08:00
Jonah Williams
4c511fbde2
[flutter_tools] remove workaround for caching sound dill (#70014) 2020-11-09 11:53:56 -08:00
Konstantin Scheglov
9f36a02734
Ignore import_of_legacy_library_into_null_safe (#70115) 2020-11-09 11:41:52 -08:00
chunhtai
0bc0cc6192
Fix crash when widgetspan does not produce a semantics node in render… (#69919)
* Fix crash when widgetspan does not produce a semantics node in render paragraph

* fix comments

* fixed corner case, added test, refactored semantics widget

* addressing comment
2020-11-09 11:31:56 -08:00
Hans Muller
a8f9d4cebf
AppBar draws its defaults from theme.colorScheme (#69251) 2020-11-09 10:59:39 -08:00
Konstantin Scheglov
99e0d3b9cf
Ignore several import_of_legacy_library_into_null_safe (#70107) 2020-11-09 10:54:49 -08:00
Michael Thomsen
168ad5dc4d
Roll engine and fix pubspecs that do not have a Dart SDK constraint (#70078) 2020-11-09 19:02:10 +01:00
xster
d18bd9a5bb
move cupertino_icon template to 1.0.1 for null safety (#69997) 2020-11-09 09:54:42 -08:00
Jia Hao
f5933dbad3
[integration_test] Add a setter for defaultTestTimeout (#70073)
* [integration_test] Add a setter for defaultTestTimeout

* type annotation

* More type annotations

* Fix doc
2020-11-09 08:39:05 -08:00
Yuqian Li
8e7748e74c
Reland migration (#69996)
This reverts ae0a9cb560ff3b334ab0cc23980374792888b2d1 and therefore relands #69629.

Additionally, `flutter update-packages --force-upgrade` has been run to update `pubspec.yaml` to resolve the analyze test failures.
2020-11-08 20:32:04 -08:00
Konstantin Scheglov
cc52b32b65
Ignore several import_of_legacy_library_into_null_safe (#69904)
* Ignore import_of_legacy_library_into_null_safe instead of un-migrating.
2020-11-08 17:46:16 -08:00
engine-flutter-autoroll
f04b3d917f
Roll Engine from e4956eb118fa to 0f7cdca65fba (2 revisions) (#70036) 2020-11-07 13:09:02 -08:00
engine-flutter-autoroll
b6d56a29dd
Roll Engine from 1e3ceb037f64 to e4956eb118fa (6 revisions) (#70031) 2020-11-07 12:04:03 -08:00
Zachary Anderson
e59ab90ae1
Add Dart SDK constraint to a pubspec (#70030)
This will unblock the roll of the next Dart SDK
2020-11-07 11:42:05 -08:00
Yuqian Li
fb552edcb8
Do not analyze files that are not checked in git (#69723) 2020-11-07 05:19:02 -08:00
Michael Thomsen
e4d94f7ccd
Revert "Migrate Flutter gallery test to null safety (#69048)" (#70023)
This reverts commit 7ba775a994da472aea24f8e1ee640b8aae7f36b6.
2020-11-07 12:15:22 +01:00
engine-flutter-autoroll
f9b69bb5aa
Roll Engine from 7ab39127ee25 to 1e3ceb037f64 (2 revisions) (#70008) 2020-11-06 20:54:03 -08:00