14434 Commits

Author SHA1 Message Date
Jenn Magder
934e05f86d
Remove Try accepting the local network permissions popup warning (#66621) 2020-09-25 11:05:47 -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
LongCatIsLooong
c412fd9967
Length formatter minor fix (#66567) 2020-09-24 22:47: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
Alexandre Ardhuin
19078b1a02
migrate cupertino to nullsafety (#66493) 2020-09-24 14:07:03 -07:00
includecmath
71c42c9c54
[flutter_tools] Add channel order aware version_test (#62417) 2020-09-24 13:07:03 -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
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
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
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
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
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
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
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
Hamdi Kahloun
bd90915999
Fix Semi Hidden helpText in showDatePicker (#65010)
Wrapping the spacing SizedBox in Flexible.
2020-09-22 19:25:34 -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 af6ba86728c134bdb80c7a250fc0184078b36d60.
2020-09-22 17:50:27 -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 3e6863ab2bc5cd33b41646ec957969860af7d518.
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 2be4570d3a3b3a54cdbe48f5ca162d21e1a90351.
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
Satsuki Ueno
bf41c78255
Reland fuchsia_remote_debug_protocol allows open port on remote device (#66271) 2020-09-22 12:17:05 -07:00