Commit graph

22250 commits

Author SHA1 Message Date
Kate Lovett aed4518569
Remove deprecated WaitUntil[NoTransientCallbacks, NoPendingFrame, FirstFrameRasterized] methods from flutter_driver (#73754) 2021-01-20 16:19:03 -08:00
engine-flutter-autoroll a9b937479e
Roll Engine from 0c79393dde01 to ced7bff0c28b (12 revisions) (#74362) 2021-01-20 16:14:03 -08:00
Kate Lovett 97481e125a
Remove deprecated Layer.findAll (#73749) 2021-01-20 15:44:02 -08:00
Muskan Jain d57512ce08
AdoptAWidget: ColorFiltered (#71093) 2021-01-20 15:34:03 -08:00
Jonah Williams 851ff68788
[flutter_tools] throwToolExit from archive failure (#74259) 2021-01-20 15:17:58 -08:00
Ian Hickson 80142d4560
Update the alt text to match recommendations in https://html.spec.whatwg.org/multipage/images.html#alt (#74089) 2021-01-20 15:14:03 -08:00
Jenn Magder 57d695a5df
Skip flutter_immediately_exit_test (#74359) 2021-01-20 15:07:37 -08:00
LongCatIsLooong a4b27cbf63
Update CupertinoSlidingSegmentedControl (#73772) 2021-01-20 14:54:03 -08:00
LongCatIsLooong e21344faa5
minor streetAddressLine2 documentation update (#73370) 2021-01-20 14:49:03 -08:00
LongCatIsLooong 61299b1621
Revert "[text_input] prepare for custom text input sources (#72803)" (#74349) 2021-01-20 13:54:06 -08:00
Michael Goderbauer def31b42b1
Improve DebugCreator docs (#74341) 2021-01-20 13:42:21 -08:00
stuartmorgan 48b3e8bf3a
Don't use iOS font names for the macOS theme (#74342)
macOS was sharing the iOS font theme, but the names of the underlying
fonts differ between the two platforms, so this was actually using the
fallback font from the engine. Instead of using the underlying font
names on macOS, which is no longer allowed by CoreText, use the
meta-font returned by systemFontOfSize:

This has been verified on 10.15; older versions of macOS may need
different font names as the handling of these fonts have changed over
time. Fixing older versions as necessary will be handled in a follow-up.

See https://github.com/flutter/flutter/issues/57805
2021-01-20 13:21:07 -08:00
Justin McCandless 24e195d918
Mac context menu (#73882)
A very minimal right-click menu for Mac desktop.
2021-01-20 13:18:25 -08:00
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 024c49da85 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 57e134058f.

* Revert reporter
2021-01-15 20:05:10 -08:00