Commit graph

20781 commits

Author SHA1 Message Date
Jonah Williams 99d0954857
[flutter_tools] ensure ErrorHandlingFileSystem wraps current directory (#66680)
The lack of current directory wrapping was letting some of the already handled errors through

Fixes #66675
2020-09-25 14:29:22 -07:00
godofredoc fd0e223b74
Add Firebase tests to flutter dashboard. (#66677)
This PR also enables firebase tests on presubmit and removes code that
won't be used anymore from test runner.

Bug:
  https://github.com/flutter/infra/pull/225
2020-09-25 14:26:39 -07:00
Jason Simmons e6b9b5efb7
Add a compressionState value to HttpResponse mocks (#66679)
The Dart SDK now requires non-null enum values if the enum is used in an
exhaustive switch statement on a non-nullable type.

See https://github.com/flutter/flutter/issues/66674
2020-09-25 14:14:45 -07:00
Yuqian Li 3e8fb33c08
Revert "Roll gallery to the newest version (#66584)" (#66666)
This reverts commit 2ae09caace.
2020-09-25 12:18:28 -07:00
godofredoc 4eedca089f
Make Gradle plugin light apk test blocking again. (#66587) 2020-09-25 11:17:03 -07:00
Jenn Magder 934e05f86d
Remove Try accepting the local network permissions popup warning (#66621) 2020-09-25 11:05:47 -07:00
Yuqian Li 2ae09caace
Roll gallery to the newest version (#66584)
This shouldn't break our tests as
https://github.com/flutter/gallery/issues/275 is closed.
2020-09-25 11:05:33 -07:00
gaaclarke 76ad864727
Added timeout for closing devfs sync http connections. (#66152) 2020-09-25 10:52:33 -07:00
Chinmoy 21ad3e7af0
Changed TickerProviderStateMixin to SingleTickerProviderStateMixin in ScrollbarState (#66653) 2020-09-25 09:51:26 -07:00
Hans Muller 6b04937292
Replaced use of obsolete RaisedButton with ElevatedButton in widget_inspector_test (#66603) 2020-09-25 08:26:04 -07:00
MH Johnson 7d89f21613
[Material] Remove opacity from dark theme overlay check (#66596)
* Remove opacity from check and add test
2020-09-25 10:41:27 -04:00
Hans Muller fd93576856
Replaced obsolete use of FlatButton with TextButton in scroll_activity_test (#66602) 2020-09-25 07:32:17 -07:00
Hans Muller 890e6ccea6
Replaced obsolete use of FlatButton with TextButton (#66597) 2020-09-25 07:31:56 -07:00
engine-flutter-autoroll db6e2d8aa5
3a73d073c Roll Skia from 5227335b0add to 1748c6a3b8c8 (1 revision) (flutter/engine#21402) (#66638) 2020-09-25 03:47:03 -07:00
engine-flutter-autoroll 4898a42b0a
Roll Engine from 435db234e4d3 to 62b5a53b10a1 (2 revisions) (#66630) 2020-09-25 02:42:04 -07:00
Android Dev Notes ace7860e41
Fix typos (#66029) 2020-09-25 11:41:37 +02:00
LongCatIsLooong c412fd9967
Length formatter minor fix (#66567) 2020-09-24 22:47:03 -07:00
engine-flutter-autoroll da1a42b577
Roll Engine from e56080ab6777 to 435db234e4d3 (12 revisions) (#66623) 2020-09-24 21:57:03 -07:00
Jonah Williams 90bc7c64dd
[flutter_tools] fix calling debugToggleBrightness on release mode (#66401)
ensure that the terminal handler checks if the service protocol is enabled before calling debug toggle brightness. Also removes globals from TerminalHander and test cases.

Fixes #65477
2020-09-24 18:56:07 -07:00
Jenn Magder a6a8a14d02
Do not cleanup Gradle in non-Android integration tests (#66487) 2020-09-24 18:34:07 -07:00
engine-flutter-autoroll 1510865fb4
Roll Engine from b0fb2c8a988f to e56080ab6777 (17 revisions) (#66583) 2020-09-24 16:27:02 -07:00
Yuqian Li 2d9e500523
Revert "Default measureCpuGpu to true (#66386)" (#66594)
This reverts commit 48ce83a833.
2020-09-24 15:17:57 -07:00
Alexandre Ardhuin 19078b1a02
migrate cupertino to nullsafety (#66493) 2020-09-24 14:07:03 -07:00
Yuqian Li 48ce83a833
Default measureCpuGpu to true (#66386) 2020-09-24 13:42:03 -07:00
includecmath 71c42c9c54
[flutter_tools] Add channel order aware version_test (#62417) 2020-09-24 13:07:03 -07:00
engine-flutter-autoroll a2406601dc
Roll Engine from dd35b5b65917 to b0fb2c8a988f (2 revisions) (#66505)
* b49de93b3 Create an ImageHandle wrapper (flutter/engine#21057)

* b0fb2c8a9 Roll Skia from 7b97b3cb2bd0 to 59b2a92c96ba (4 revisions) (flutter/engine#21365)
2020-09-24 13:05:51 -07:00
Jonah Williams b9274c7c60
[flutter_tools] bypass pubspec yaml content check when running pubdependencies (#66559)
Otherwise the heuristics we have may decide to skip running pub. We should consider reducing the number of dimensions of caching here to a single check optimized for the run/test case.
2020-09-24 12:51:18 -07:00
Will Larche ee6d4c6590
[Docs] [Material] Fix Icons api docs (#66508)
* [Docs] [Icons] Updating dart doc styles to recognize more styles of icons. All the 4 icon styles we support have to be pulled from 4 individual web fonts when we show the html page for api docs.

* Better documentation and that special awful case.

* Couple more places to remove.
2020-09-24 15:18:10 -04:00
Darren Austin 11f7ff0049
Complete the migration to the TextSelectionTheme by deprecating the opt-in flag and text selection properties in ThemeData. (#66482) 2020-09-24 12:13:00 -07:00
Michael Goderbauer 506998cff6
Allow futures that resolve to null in Future/StreamBuilder (#66506) 2020-09-24 10:04:11 -07:00
TheBiirb 2adb91895c
Fixes typos in showDialog documentation (#66213)
* Fixes typos in showDialog documentation
2020-09-24 23:28:39 +08:00
Will Larche 67f51e8ec2
[Icons] Update icon version to point to file that iOS will prefer. (#66524) 2020-09-24 07:02:03 -07:00
Phil Quitslund 1fef5912cf
disable pub lints (#66522)
* disable pub lints

* + comments
2020-09-23 21:37:08 -07:00
Greg Spencer 4fad739bf6
Change emoji in About dialog to be a divider (#66409) 2020-09-23 20:42:03 -07:00
Jonah Williams 90d83e37a6
[flutter_tools] register service worker after first frame event (#66082)
Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame.

To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup.

Fixes #66066
2020-09-23 18:58:05 -07:00
Yash Johri 9bfab77835
Changed title to label (#66186) 2020-09-23 18:57:03 -07:00
Jonah Williams 192f9e5eb4
Remove skipped tool test, remove integration shard from cirrus (#66503) 2020-09-23 17:27:06 -07:00
Jonah Williams 6642d8f16a
[flutter_tools] enable single widget reload optimization by default on master (#66507)
This should be a mostly non breaking change for hot reload workflows that improves performance, but if you see anything odd with hot reload behavior on master please file a bug. This feature can also be disabled without any changes to the SDK with flutter config --no-single-widget-reload-optimization
2020-09-23 17:26:58 -07:00
godofredoc 57cda51f7e
Fix gradle_plugin_light_apk test. (#66496) 2020-09-23 16:52:02 -07:00
Jonah Williams faa4b6635a
[flutter_tools] try deleting the web cache directory before copying new web sdk (#66461)
Delete the destination directory for the web sdk before copying the new contents. This might fix an error where the OS refuses to overwrite the files on dev
2020-09-23 16:45:20 -07:00
engine-flutter-autoroll ca6fea5e87
Roll Engine from 53c0d0c02af0 to dd35b5b65917 (10 revisions) (#66497) 2020-09-23 16:12:04 -07:00
engine-flutter-autoroll 9bbc1e3997
53c0d0c02 Roll Skia from 3eb813e0cc13 to 18f4b1c7e31a (4 revisions) (flutter/engine#21351) (#66462) 2020-09-23 15:07:02 -07:00
Alexandre Ardhuin 29fae79c72
migrate some cupertino files to nullsafety (#66424)
* migrate some cupertino files to nullsafety

* address review comments
2020-09-23 23:12:42 +02:00
Jonah Williams 707aa49e42
[flutter_tools] flush UI thread tasks before finishing hot restart (#66417)
Improve our ability to measure the performance of hot restart. Also flush all UI thread tasks before calling the hot restart "complete" in benchmark mode.

If this is successful at stabilizing the benchmarks, this should be enabled for "normal" hot restart so that we can accurately track execution time.
2020-09-23 13:39:52 -07:00
Jenn Magder f654346777
Check git commands in Flutter version check test (#66406) 2020-09-23 13:27:24 -07:00
Jonah Williams fb8163260c
[devicelab] increase timeout for cull bench (#66481) 2020-09-23 12:34:00 -07:00
Greg Spencer bbd7b97664
Change the default visual density to be adaptive based on platform. (#66370)
Based on feedback from various desktop developers, and to be consistent between the defaults and the sample code, this PR switches the default for visual density in desktop themes to be compact instead of standard.

It also removes the same setting from the sample code generated by "flutter create" because it is no longer needed now that it is the default.
2020-09-23 11:14:58 -07:00
Jacob MacDonald 9cee75ba61
update to the latest null safe packages (#66384)
Updates all null safe dependencies to versions that allow 2.10 stable and 2.11 dev releases.

Also updates flutter_goldens and flutter_goldens_client to allow 2.11 dev.
2020-09-23 11:03:29 -07:00
TheBiirb 4813bd71b9
Updated README.md file of the hello_world example (#64766) 2020-09-23 10:57:03 -07:00
Jonah Williams 1d4e7cd52d
[flutter_tools] do not add events to closed sink in throttle transform (#66468)
The throttle duration could delay past the point where the destination sink was closed. Check if it is closed before adding an event. Fixes a crash on dev: StateError: Bad State: Stream is already closed.
2020-09-23 10:40:39 -07:00