Commit graph

20590 commits

Author SHA1 Message Date
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
Emmanuel Garcia fc1e764264
Expose enable-experiment in Flutter drive (#66311) 2020-09-23 10:38:02 -07:00
TheBiirb 1a9ea39ad7
Make Dismissible's HitTestBehavior an argument (#64379) 2020-09-23 10:02:05 -07:00
Shi-Hao Hong 8ed0ac5331
Update localizations (#65993) 2020-09-23 07:17:02 -07:00
Jonah Williams 51ededb92f
[flutter_tools] reland: map file URIs to a multiroot scheme (#66405)
If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI.

Use URI representation so that the transformation is resilient to the org-dartlang-app scheme used by the web builds.

Fixes #66095
Fixes #66404
2020-09-23 07:03:59 -07:00
engine-flutter-autoroll 6b39acdc53
Roll Engine from 57ee3d4b3210 to 3e7ca5b86904 (2 revisions) (#66440) 2020-09-23 05:27:04 -07:00
Alexandre Ardhuin 10febea877
fix nullability issues (#66418) 2020-09-22 22:22:10 -07:00
Alexandre Ardhuin 45fa60eb3e
migrate some cupertino files to nullsafety (#66024)
* migrate some cupertino files to nullsafety

* address review comments

* address review comments
2020-09-23 06:46:30 +02:00
Alexandre Ardhuin 71c1f6c3e4
enable lint unnecessary_nullable_for_final_variable_declarations (#66387) 2020-09-23 06:39:47 +02:00
engine-flutter-autoroll 97d6799331
57ee3d4b3 Roll Skia from 2b469ebd0627 to 3eb813e0cc13 (2 revisions) (flutter/engine#21343) (#66410) 2020-09-22 20:07:03 -07:00
Ming Lyu (CareF) f681fcf32b
migrate backdrop_filter_perf (#64482) 2020-09-22 19:52:02 -07:00
Hamdi Kahloun bd90915999
Fix Semi Hidden helpText in showDatePicker (#65010)
Wrapping the spacing SizedBox in Flexible.
2020-09-22 19:25:34 -07:00
engine-flutter-autoroll 214dac9263
339528342 Roll Skia from c61c895393ea to 2b469ebd0627 (9 revisions) (flutter/engine#21340) (#66400) 2020-09-22 18:37:02 -07:00
LongCatIsLooong 525e76bc7c
Positioning IME bars on iOS (#61981) 2020-09-22 18:32:05 -07:00
Jenn Magder 78e54dd46b
Revert "[flutter_tools] map file Uri to multi-root scheme if provided (#66151)" (#66403)
This reverts commit af6ba86728.
2020-09-22 17:50:27 -07:00
Jonah Williams f1472e1fc4
[flutter_tools] only lock if an upgrade/download will be performed (linux/macos) and output building messages to stderr (#65422)
Currently an invocation of flutter/dart will always attempt to acquire a lock. This can pose problems for tools that attempt to run multiple dart/flutter instances.

Instead update the lock logic (on Linux/macOS) so that we only attempt to acquire it if an update/snapshot needs to be performed. To avoid repeatedly performing downloads/snapshots if multiple flutter/dart invocations are fired off concurrently when an update needs to be performed, do a second check of the download/snapshot condition after the lock is released.

Additionally, moves all of the building/debug output to stderr on both the bash and batch scripts. This allows machine mode consumption of the tool to ignore needing to parse/handle the rebuild messages.
2020-09-22 17:44:08 -07:00
engine-flutter-autoroll fce475bd0f
Roll Engine from 4b8477d11573 to c62d6652992b (44 revisions) (#66398) 2020-09-22 17:22:03 -07:00
Gary Qian eb5cc495b3
Provide defaulting for textScaleFactor when passing to dart:ui (#66375) 2020-09-22 17:17:04 -07:00
Jenn Magder d5b715d7cb
Stream logging from attached debugger on iOS 13+ (#66399) 2020-09-22 17:16:45 -07:00
Jenn Magder 658e6c8a8d
Listen to Debug VM stream to get Stdout logs from VMService (#66310) 2020-09-22 17:12:02 -07:00
Yuqian Li 8e8acaac7a
Add Overflow back with deprecation (#66305) 2020-09-22 17:07:04 -07:00
Juyeong Lee 33d015199f
Fix CupertinoAlertDialog TextStyle (#64468) 2020-09-22 17:02:04 -07:00
Jonah Williams 943b41bd61
[flutter_tools] allow device classes to provide platform-specific interface for devFS Sync (#66266) 2020-09-22 16:57:04 -07:00
Aayan 1b60988f09
List tile docs (#65584) 2020-09-22 16:52:04 -07:00
Jonah Williams af6ba86728
[flutter_tools] map file Uri to multi-root scheme if provided (#66151)
If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI.

Fixes #66095
2020-09-22 16:51:18 -07:00
Ben Konyi a3b3d53d62
Revert "Revert "Ensure VmService instance is disposed after failed direct connection attempt (#66123)" (#66164)" (#66377)
This reverts commit 3e6863ab2b.
2020-09-22 16:29:13 -07:00
Dan Field 2102bb0364
Remove last FakeImage implementation (#66379) 2020-09-22 15:24:37 -07:00
Jenn Magder 4881b4b07c
Revert "Stream logging from attached debugger on iOS (#66092) (#66390)" (#66397)
This reverts commit 2be4570d3a.
2020-09-22 15:15:56 -07:00
Jenn Magder 2be4570d3a
Stream logging from attached debugger on iOS (#66092) (#66390) 2020-09-22 14:59:14 -07:00
Dan Field de85509171
Mark Windows gradle_plugin_light_apk_test as flaky (#66391)
This test is failing and was recently added.
2020-09-22 14:49:43 -07:00
Michael Goderbauer 923eb765f0
Bump dartdoc to 0.34.0 (#66048) 2020-09-22 12:57:13 -07:00
Jenn Magder 68fd603dd0
Revert "Turn off flutter_gallery__transition_perf_e2e_ios32 in devicelab (#66187)" (#66302) 2020-09-22 12:22:06 -07:00
Satsuki Ueno bf41c78255
Reland fuchsia_remote_debug_protocol allows open port on remote device (#66271) 2020-09-22 12:17:05 -07:00
Michael Goderbauer 82bd7cf894
Make CupertinoThemeData properties non-nullable (#66274) 2020-09-22 12:12:07 -07:00
xubaolin 1906218092
SliverList perform layout start from the initial child when there is no valid layout offset (#66262) 2020-09-22 12:12:03 -07:00
godofredoc 35c8f19f1e
Fix windows hostonly_devicelab tests. (#66195) 2020-09-22 12:07:05 -07:00
Jonah Williams 76698a5026
[flutter_tools] dont crash if attach is given a bad debug uri (#66358) 2020-09-22 12:03:21 -07:00
ny927 379a4e7315
Add sample code to DefaultTextStyleTransition (#64638) 2020-09-22 12:02:05 -07:00
Dan Field 7eb8447485
Allow new methods to be added to ui.Image for tests (#65876)
Remove fake image implementations, add createTestImage to flutter_test
2020-09-22 11:55:39 -07:00
Jenn Magder 8d2e257633
Revert "Stream logging from attached debugger on iOS (#66092)" (#66368)
This reverts commit 5c8580360a.
2020-09-22 11:30:50 -07:00
Dan Field 4299dd7843
Revert "Revert "Stream logging from attached debugger on iOS (#66092)" (#66359)" (#66360)
This reverts commit 53fee1be38.
2020-09-22 09:23:57 -07:00
Dan Field 53fee1be38
Revert "Stream logging from attached debugger on iOS (#66092)" (#66359)
This reverts commit 5c8580360a.
2020-09-22 09:22:55 -07:00