23037 Commits

Author SHA1 Message Date
Hans Muller
c66596e595
Removed uses of AppBarTheme.color in packages/flutter (#74273) 2021-01-20 12:19:18 -08:00
engine-flutter-autoroll
3b7e3d4b3a
Roll Engine from b58dbc88fce9 to 0c79393dde01 (14 revisions) (#74329)
* d4a735835 Roll Dart SDK from c4214e6daaac to 4a6764bf28c2 (4 revisions) (flutter/engine#23770)

* 9bc776a84 [web] Add --watch flag to 'felt test' (flutter/engine#23727)

* 247ebc2dc Roll Skia from bde06cc511d2 to f3087d8297fe (7 revisions) (flutter/engine#23772)

* 8b27e6fb4 skip flaky test (flutter/engine#23775)

* 2927e9fb4 block thread merging with shared engines (flutter/engine#23733)

* df5f3b086 Implement handling of framework-handled key events (flutter/engine#23655)

* f205ceda2 Roll Skia from f3087d8297fe to e0fe62adaa3e (9 revisions) (flutter/engine#23781)

* fa7aebf1e Roll Skia from e0fe62adaa3e to 18aeb5731b51 (1 revision) (flutter/engine#23784)

* 9acfb7d59 Fix JNI void vs object method call (flutter/engine#23785)

* df13ccf44 Roll Skia from 18aeb5731b51 to 7aa7f039b9ee (1 revision) (flutter/engine#23786)

* e3e3b2b6e Roll Fuchsia Mac SDK from pc_veLlry... to xYraItnQp... (flutter/engine#23787)

* 8a096d641 ci: Print output in case of compile error (flutter/engine#23522)

* f1c3ced54 Roll Fuchsia Linux SDK from fByXAJ76e... to vs54lOVoj... (flutter/engine#23788)

* 0c79393dd Revert "Roll Dart SDK from c4214e6daaac to 4a6764bf28c2 (4 revisions) (#23770)" (flutter/engine#23791)
2021-01-20 12:02:32 -08:00
RomanJos
2a2e0cf100
Add clipBehavior to InteractiveViewer (#73281)
More intuitive control over whether the child can overflow out of InteractiveViewer, deterring a lot of confusion we were seeing.
2021-01-20 11:57:37 -08:00
Greg Spencer
2e3d3e6522
Revert "ListTile Material Ripple and Shape Patch (#73618)" (#74335)
This reverts commit 024c49da856918bfa6e65bb622a5bc9df91a276d because it breaks Google internal tests.
2021-01-20 11:42:48 -08:00
Ben Konyi
e2e3976a12
Roll package:dds to 1.7.3 and add error handling for VM service disappearing (#74272) 2021-01-20 10:49:13 -08:00
Michael Thomsen
914c9aa304
Rephrase null safety mode (#74306) 2021-01-20 19:42:16 +01:00
Kenzie Schmoll
118f61230a
Return the existing DevTools server from DevToolsLauncher.serve if one is already running. (#74271)
* Return the existing DevTools server from DevToolsLauncher.serve if one is already running.
2021-01-20 10:38:49 -08:00
Romain Rastel
831ee22b06
Add removeListenerWhileNotifying benchmark for ChangeNotifier (#71986) 2021-01-20 10:29:03 -08:00
Nate Bosch
dcc4fdd558
Pass only Uri to package:http APIs (#74285) 2021-01-20 09:59:03 -08:00
Dan Field
5318782ac8
Use package:vm_service instead of json_rpc_2 (#74215) 2021-01-20 09:29:18 -08:00
Sigurd Meldgaard
178c87cc27
Avoid relative paths in .dart_tool/package_config.json when generate:true (#73944)
Instead of using package:package_config to write the .dart_tool/package_config the original json is modified and rewritten.

The .dart_tool/package_config.json file is read twice to simplify control flow.

This also avoids the issue of package:package_config writing directly to local filesystem.
2021-01-20 14:53:49 +01:00
Jia Hao
b362d6f480
[flutter_tools] Fix ignoring of Flutter tester exitCode (#74293) 2021-01-20 18:47:51 +08:00
Ben Konyi
913d5933c1
Check VM service URI is valid before attempting to start DDS (Re-upload #73998) (#74280) 2021-01-19 22:34:03 -08:00
Nathan Walker
024c49da85
ListTile Material Ripple and Shape Patch (#73618)
This PR replaces the ColoredBox that ListTile uses with an Ink widget. That Ink widget is given a ShapeDecoration with the ListTile's color and shape. This fixes issues where the ListTile color would obscure material ripple effects, and cause the specified shape to not be respected.

List which issues are fixed by this PR. You must list at least one issue.

Fixes #73616
Fixes #63877
Fixes #67117

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

I modified a handful of tests related to ListTiles. The tests I changed had implementation-specific ways of checking the ListTile color. I have rewritten those so that instead of checking for a ColoredBox with a specific color, they check that a path is painted with the correct color.

I added the following tests to list_tile_test.dart:

"ListTile shows Material ripple effects on top of tileColor" (Regression test for #73616)
"ListTile shape is painted correctly" (Regression test for #63877)
I added the following test to sliver_prototype_item_extent_test.dart:

"SliverPrototypeExtentList prototypeItem paint transform is zero" (Regression test for #67117)
2021-01-19 19:28:13 -08:00
Todd Volkert
5322c6f860
Fix RenderCustomPaint intrinsics (#72103)
Make RenderCustomPaint consult its preferred size for intrinsics when it has no child. Currently, it returns 0 for its intrinsics, even if it has a non-zero preferred size.
2021-01-19 16:24:34 -08:00
Kate Lovett
80f88a7981
Remove deprecated Scaffold.resizeToAvoidBottomPadding (#72890) 2021-01-19 16:14:05 -08:00
engine-flutter-autoroll
ca3728914f
b58dbc88f Roll clang further, fix buggy test (flutter/engine#23751) (#74269) 2021-01-19 15:59:04 -08:00
Greg Spencer
2d0afe4d83
Add some new examples to Actions and Shortcuts (#72163)
Adds a couple of new examples to the Actions and Shortcuts widgets, and updates some documentation.
2021-01-19 15:45:36 -08:00
xubaolin
e7772d0e2e
Reland "Improve the ScrollBar behavior when nested (#71843)" (#74104) 2021-01-19 15:44:03 -08:00
Jonah Williams
d325705332
[flutter_tools] pub get skips example dir if there is no pubspec.yaml (#74264) 2021-01-19 15:02:36 -08:00
engine-flutter-autoroll
ba66d7d808
Roll Engine from 609036f2bf7c to 915e2ca178e5 (13 revisions) (#74266) 2021-01-19 14:54:03 -08:00
Michael Goderbauer
2f7804f41b
Add null safety note to flutter create (#74265) 2021-01-19 14:52:43 -08:00
Kate Lovett
3fbe1a5904
Remove deprecation from RenderView (#73748) 2021-01-19 14:49:03 -08:00
Kate Lovett
4feb18ca3d
Remove deprecated CupertinoDialog (#73604) 2021-01-19 14:44:03 -08:00
Kate Lovett
164e19beee
Remove deprecated actionsForegroundColor (#73745) 2021-01-19 14:39:05 -08:00
Michael Goderbauer
cd57af1458
Tests that module/plugin/package templates can be migrated to null-safety (#74090) 2021-01-19 14:24:03 -08:00
Jonah Williams
a0be98020e
[flutter_tools] ensure pub get can run from partially valid state (#74249) 2021-01-19 12:29:07 -08:00
Kate Lovett
7a413e715f
Expand Stack fix to more exporting libraries (#74077) 2021-01-19 12:24:04 -08:00
Michael Goderbauer
e9a91521f3
Add ios and hot reload/restart infos to restoration docs (#73585) 2021-01-19 09:20:51 -08:00
Ben Konyi
2a188eeca3
Roll package:dds to 1.7.2 (#74171)
Should fix https://github.com/flutter/flutter/issues/74051
2021-01-17 19:27:00 -08:00
engine-flutter-autoroll
da5a454d5c
Roll Engine from 0716ca8943f5 to 609036f2bf7c (3 revisions) (#74141) 2021-01-16 22:24:03 -08:00
Zachary Anderson
be82bb8fdf
Add tracing test to check default streams (#74109) 2021-01-16 18:27:09 -08:00
engine-flutter-autoroll
21c61f21ab
Roll Engine from f392053b1f2a to 0716ca8943f5 (4 revisions) (#74130) 2021-01-16 16:54:02 -08:00
engine-flutter-autoroll
2c23c6c217
Roll Engine from 1424dfbe4d57 to f392053b1f2a (11 revisions) (#74126) 2021-01-16 14:49:01 -08:00
engine-flutter-autoroll
084e3f6b7f
Roll Engine from a243f4df0711 to 1424dfbe4d57 (6 revisions) (#74078) 2021-01-16 10:59:02 -08:00
engine-flutter-autoroll
319d3a511c
faa26ec36 [plugin_platform_interface] Use Mockito nnbd (flutter/plugins#3437) (#74099) 2021-01-15 22:14:04 -08:00
Dan Field
3de9342ffa
No test core (#74065)
* Revert "[integration_test] Fix incorrect logging for the legacy reporter (#72699)"

This reverts commit 57e134058fd25ec4d7f1a46265c495a0cb89e67c.

* Revert reporter
2021-01-15 20:05:10 -08:00
engine-flutter-autoroll
5240ab4834
5cff81933 [google_sign_in, url_launcher] Document unendorsement of web. (flutter/plugins#3436) (#74097) 2021-01-15 19:44:03 -08:00
Jonah Williams
fc59f01ea8
[flutter_tools] ensure allowExistingDdsInstance param is always non-null (#74091) 2021-01-15 18:04:40 -08:00
engine-flutter-autoroll
e7aced17db
Roll Plugins from e11301324721 to 6ee63e8802d2 (2 revisions) (#74094) 2021-01-15 18:04:05 -08:00
Jonas Finnemann Jensen
bf89943d94
Fix pub upgrade to work with new arguments (#74060) 2021-01-15 17:39:56 -08:00
Jonah Williams
97e82d791b
[flutter_tools] verify successful dart migrate (#74079) 2021-01-15 17:09:04 -08:00
Kate Lovett
45d01c95de
Add fixes for autovalidate deprecation in Form, FormField, TextFormField, and DropdownButtonFormField (#73996) 2021-01-15 17:04:03 -08:00
Jenn Magder
54ef030ab8
Revert "Improve the ScrollBar behavior when nested (#71843)" (#74088)
This reverts commit 99daddc2c07840f06ee7fff1d4c11675bfe97a36.
2021-01-15 16:15:52 -08:00
Jenn Magder
d603ee1100
Add verbose build flag to ios_app_with_extensions_test (#74080) 2021-01-15 15:31:03 -08:00
xubaolin
99daddc2c0
Improve the ScrollBar behavior when nested (#71843) 2021-01-15 15:24:03 -08:00
Jonah Williams
32e1e00e2e
[flutter_tools] handle NPE in language analytics (#74075) 2021-01-15 14:54:04 -08:00
Jenn Magder
17edb9aa8c
Build x86_64 iOS apps with simulator local engines (#74003) 2021-01-15 14:47:14 -08:00
Kate Lovett
8aeef71e99
Add fixes for deprecations in TextTheme (#73994) 2021-01-15 14:44:04 -08:00
xubaolin
79d0358ece
Update PopupMenuButton to match Material Design spec (#70160) 2021-01-15 14:34:05 -08:00