Jason Simmons
4e6e61dfd5
Retain the toString method for subclasses of Key in profile/release mode ( #149926 )
...
toString methods are removed in AOT builds by the optimization in https://github.com/flutter/flutter/pull/144763
This PR disables that for Key subclasses because some applications rely on the previous behavior.
Fixes https://github.com/flutter/flutter/issues/148983
2024-06-10 16:06:02 +00:00
Michael Thomsen
2d0a0237d2
Remove package:platform from issue template ( #149995 )
...
Package is being transferred to the `dart-lang` github org: https://github.com/flutter/flutter/issues/141808
2024-06-10 16:03:12 +00:00
Victoria Ashworth
8b6be37c1a
Revert "[CupertinoActionSheet] Match colors to native ( #149568 )" ( #149998 )
...
This reverts commit 32081aab69 .
Reason for revert: Appears to be failing tests in tree
```
01:48 +2991 ~18: /Volumes/Work/s/w/ir/x/w/flutter/packages/flutter/test/cupertino/action_sheet_test.dart: Taps on a button can be slided to other buttons
âââ¡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK âââââââââââââââââââââââââââââââââââââââââââââââââââââ
The following SkiaException was thrown while running async test code:
Skia Gold received an unapproved image in post-submit
testing. Golden file images in flutter/flutter are triaged
in pre-submit during code review for the given PR.
Visit https://flutter-gold.skia.org/ to view and approve
the image(s), or revert the associated change. For more
information, visit the wiki:
https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter
Debug information for Gold --------------------------------
stdout: Given image with hash 601f421e3bb643f437cc12395de96152 for test
cupertino.cupertinoActionSheet.press-drag
Expectation for test: ce8ef79c146857d162663b1161fd6d5c (positive)
Expectation for test: 3bb57a8782f67836c6ad3ece7f00729a (positive)
Expectation for test: 3f8c592774caf3c760fbbd318a7dc5af (positive)
Expectation for test: 61863f38217aa3349c239eeb49b84930 (positive)
Expectation for test: 98af16e9b7eb3fb810b44c74bb18ffb9 (positive)
Untriaged or negative image:
https://flutter-gold.skia.org//detail?grouping=name%3Dcupertino.cupertinoActionSheet.press-drag%26source_type%3Dflutter&digest=601f421e3bb643f437cc12395de96152
stderr: Test: cupertino.cupertinoActionSheet.press-drag FAIL
result-state.json: No result file found.
```
2024-06-10 15:40:56 +00:00
Tong Mu
32081aab69
[CupertinoActionSheet] Match colors to native ( #149568 )
...
This PR matches the various colors of `CupertinoActionSheet` more closely with the native one.
The following colors are changed.
* Sheet background color
* Pressed button color
* Cancel button color
* Pressed cancel button color
* Divider color
* Content text color
The resulting colors match with native one with deviation of at most 1 (in terms of 0~255 RGB).
The following are comparison (left to right: Native, Flutter after PR, Flutter current)
<img width="1295" alt="image" src="https://github.com/flutter/flutter/assets/1596656/3703a4a8-a856-42b1-9395-a6e14b1881ca ">
<img width="1268" alt="image" src="https://github.com/flutter/flutter/assets/1596656/1eb9964e-41f1-414a-99ae-0a2e7da8d3fd ">
_Note: The divider thickness is adjusted to `1/dpr` instead of 0.3 in both Flutter version to make them look more native, as will be proposed in https://github.com/flutter/flutter/pull/149636._
### Derivation
All the colors are derived through color picker and calculation. The algorithm is as followed:
* Assume all colors are translucent grey colors, i.e. having the same value `x` for R, G, and B, with an alpha `a`.
* Given the barrier color is `x_B1=0` when the background is black, and `x_B2=204` when the background is white.
* Pick the target color `x_t1` when the background is black, and `x_t2` when the background is white
* Solve the following equations for `x` and `a`
```
a * x + (1-a) * x_B1 = x_t1
a * x + (1-a) * x_B2 = x_t2
a = 1 - (x_t1 - x_t2) / (x_B1 - x_B2)
x = (x_t1 - (1-a) * x_B1) / a
```
These equations use a linear model for color composition, which might not be exact, but is close enough for an accuracy of (1/255).
The full table is as follows:
<img width="1091" alt="image" src="https://github.com/flutter/flutter/assets/1596656/0fb76291-c3cc-4bb5-aefa-03ac6ac9bf1f ">
* The first two columns are colors picked from XCode.
* The 3~4 columns are the colors picked from the current Flutter. Notice the deviation, which is sometimes drastic.
* The 5~6 columns are the colors picked from Flutter after this PR. The deviation is at most 1.
* The last few columns are calculation.
* There are two rows whose calculation is based on adjusted numbers, since the original results are not accurate enough, possibly due to the linear composition.
During the calculation, I assumed these colors vary between light and dark modes, but it turns out that both modes use the same set of colors.
### Screenshots
2024-06-08 17:35:21 +00:00
auto-submit[bot]
f3808422a7
Reverts "Roll Flutter Engine from 1cdbebee1901 to 45cf05f7a580 (10 revisions) ( #149944 )" ( #149960 )
...
Reverts: flutter/flutter#149944
Initiated by: jason-simmons
Reason for reverting: Regression affecting `integration_test/test/web_extension_test.dart`
```
PathNotFoundException: Cannot open file, path = '/chromium/canvaskit.wasm' (OS Error: No such file or directory, errno = 2)
```
(see https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8745735238400976001/+/u/run_test.dart_for_web_long_running_tests_shard_and_subshard_1_5/stdout )
It looks like the p
Original PR Author: engine-flutter-autoroll
Reviewed By: {fluttergithubbot}
This change reverts the following previous change:
1cdbebee19...45cf05f7a5
2024-06-07 yjbanov@google.com [web] add test for inefficient overlay allocation (flutter/engine#53284 )
2024-06-07 jacksongardner@google.com Update Chrome to 125. (flutter/engine#53282 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from 4b693b16eec1 to d4f17e0bf28b (1 revision) (flutter/engine#53283 )
2024-06-07 jacksongardner@google.com Fixes a few issues in flutter_js (flutter/engine#53231 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from aVohW_hnfDaE0smBX... to zpBZmUB_JC5AjG-f4... (flutter/engine#53279 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from 7b239d7f4578 to 4b693b16eec1 (1 revision) (flutter/engine#53277 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from b7f51dfcc342 to ad3c9f203f4e (1 revision) (flutter/engine#53276 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from 5fc83884a619 to b7f51dfcc342 (4 revisions) (flutter/engine#53275 )
2024-06-07 jonahwilliams@google.com Revert "Widen CPU affinity set." (flutter/engine#53274 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from e36110f8b451 to 5fc83884a619 (1 revision) (flutter/engine#53273 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from aVohW_hnfDaE to zpBZmUB_JC5A
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-08 17:05:25 +00:00
engine-flutter-autoroll
f634098b3e
Roll Flutter Engine from 1cdbebee1901 to 45cf05f7a580 (10 revisions) ( #149944 )
...
1cdbebee19...45cf05f7a5
2024-06-07 yjbanov@google.com [web] add test for inefficient overlay allocation (flutter/engine#53284 )
2024-06-07 jacksongardner@google.com Update Chrome to 125. (flutter/engine#53282 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from 4b693b16eec1 to d4f17e0bf28b (1 revision) (flutter/engine#53283 )
2024-06-07 jacksongardner@google.com Fixes a few issues in flutter_js (flutter/engine#53231 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from aVohW_hnfDaE0smBX... to zpBZmUB_JC5AjG-f4... (flutter/engine#53279 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from 7b239d7f4578 to 4b693b16eec1 (1 revision) (flutter/engine#53277 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from b7f51dfcc342 to ad3c9f203f4e (1 revision) (flutter/engine#53276 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from 5fc83884a619 to b7f51dfcc342 (4 revisions) (flutter/engine#53275 )
2024-06-07 jonahwilliams@google.com Revert "Widen CPU affinity set." (flutter/engine#53274 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from e36110f8b451 to 5fc83884a619 (1 revision) (flutter/engine#53273 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from aVohW_hnfDaE to zpBZmUB_JC5A
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-08 01:49:29 +00:00
Elliott Brooks
034c0d03f8
Refactor getRootWidgetSummaryTree tests in widget_inspector_test.dart ( #149930 )
2024-06-07 16:51:47 -07:00
Zachary Anderson
47560fac5c
Remove zanderso from TESTOWNERS ( #149935 )
...
Instead I've added @andrewkolos for tools tests and @jtmcdole for engine
tests. This doesn't mean you have to investigate and solve the issues
filed by the flake bot. Instead, an assignee is just the mechanism used
by the flake bot to ensure that the issues are triaged at the
appropriate team triage meetings.
FYI @christopherfujino
2024-06-07 16:33:46 -07:00
Hans Muller
9ce0a9e510
PinnedHeaderSliver ( #143196 )
...
A sliver that remains âpinnedâ to the top of the scroll view. Subsequent slivers scroll behind it. Typically the sliver is created as the first item in the list however it can be inserted anywhere and it will always stop at the top of the scroll view. When the scrolling axis is vertical, the PinnedHeaderSliverâs height is defined by its widget child. Multiple PinnedHeaderSlivers will layout one after the other, once they've scrolled to the top.
This sliver is preferable to the general purpose SliverPersistentHeader - for its relatively narrow use case - because there's no need to create a [SliverPersistentHeaderDelegate] or to predict the header's size.
Here's a [working demo in DartPad](https://dartpad.dev/?id=3b3f24c14fa201f752407a21ca9c9456 ).
https://github.com/flutter/flutter/assets/1377460/943f2e02-8e73-48b7-90be-61168978ff71
Related sliver utility PRs: https://github.com/flutter/flutter/pull/143538 , https://github.com/flutter/flutter/pull/143325 , https://github.com/flutter/flutter/pull/127340 .
2024-06-07 21:27:06 +00:00
Elliott Brooks
6bdebcf58d
Fix test case in "getRootWidgetSummaryTree" test ( #149923 )
2024-06-07 13:20:25 -07:00
Gray Mackall
15307a9c57
Revert "Identify and re-throw our dependency checking errors in flutter.groovy ( #149609 )" ( #149918 )
...
This reverts commit 9d1de7b674 .
Reverts due to log spam and crashing of the dependency version checker (which doesn't block the build but still isn't the desired outcome).
2024-06-07 20:07:06 +00:00
auto-submit[bot]
b5697a0c6d
Reverts "Fix SegmentedButton clipping when drawing segments ( #149739 )" ( #149927 )
...
Reverts: flutter/flutter#149739
Initiated by: QuncCccccc
Reason for reverting: the newly-added unit test might cause the red tree
Original PR Author: TahaTesser
Reviewed By: {QuncCccccc}
This change reverts the following previous change:
fixes [`SegmentedButton` doesn't clip properly when one of the segments has `ColorFiltered`](https://github.com/flutter/flutter/issues/144990 )
### Code sample
<details>
<summary>expand to view the code sample</summary>
```dart
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: SegmentedButton<int>(
segments: const <ButtonSegment<int>>[
ButtonSegment<int>(
value: 0,
label: ColorFiltered(
colorFilter:
ColorFilter.mode(Colors.amber, BlendMode.colorBurn),
child: Text('Option 1'),
),
),
ButtonSegment<int>(
value: 1,
label: Text('Option 2'),
),
],
onSelectionChanged: (Set<int> selected) {},
selected: const <int>{0},
),
),
),
);
}
}
```
</details>
### Before

### After

2024-06-07 19:30:18 +00:00
Taha Tesser
fc19ecfc58
Fix SegmentedButton clipping when drawing segments ( #149739 )
...
fixes [`SegmentedButton` doesn't clip properly when one of the segments has `ColorFiltered`](https://github.com/flutter/flutter/issues/144990 )
### Code sample
<details>
<summary>expand to view the code sample</summary>
```dart
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: SegmentedButton<int>(
segments: const <ButtonSegment<int>>[
ButtonSegment<int>(
value: 0,
label: ColorFiltered(
colorFilter:
ColorFilter.mode(Colors.amber, BlendMode.colorBurn),
child: Text('Option 1'),
),
),
ButtonSegment<int>(
value: 1,
label: Text('Option 2'),
),
],
onSelectionChanged: (Set<int> selected) {},
selected: const <int>{0},
),
),
),
);
}
}
```
</details>
### Before

### After

2024-06-07 18:34:24 +00:00
Zachary Anderson
bb831b7a64
Shift consistently passing tests on mokey to prod ( #149902 )
...
Part of https://github.com/flutter/flutter/issues/148085
2024-06-07 16:48:11 +00:00
Polina Cherkasova
35a4933ba8
Prepare images for tests individually to enable clean up of cache. ( #149693 )
2024-06-07 09:30:56 -07:00
engine-flutter-autoroll
1fdb40ea95
Roll Packages from 586faa631499 to 8a2c4e499973 (8 revisions) ( #149900 )
...
586faa6314...8a2c4e4999
2024-06-06 jonahwilliams@google.com Revert "Migrate `video_player/android` from `SurfaceTexture`->`SurfaceProducer`." (flutter/packages#6882 )
2024-06-06 baumths@gmail.com [two_dimensional_scrollables] Adds generics to the callbacks and builders of TreeView (flutter/packages#6864 )
2024-06-06 15619084+vashworth@users.noreply.github.com Run tests on macOS 13 or 14 (flutter/packages#6877 )
2024-06-06 15619084+vashworth@users.noreply.github.com Disable sandboxing directly for macOS tests (flutter/packages#6880 )
2024-06-06 tarrinneal@gmail.com [pigeon] Moves all codec logic to singular custom codec (flutter/packages#6600 )
2024-06-06 engine-flutter-autoroll@skia.org Roll Flutter (stable) from a14f74ff3a1c to 761747bfc538 (6 revisions) (flutter/packages#6878 )
2024-06-06 engine-flutter-autoroll@skia.org Roll Flutter from 27e06569a1 to 4608a89137 (17 revisions) (flutter/packages#6876 )
2024-06-06 15619084+vashworth@users.noreply.github.com Disable sandboxing for macOS tests in CI (flutter/packages#6866 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 16:02:20 +00:00
engine-flutter-autoroll
538183963a
Roll Flutter Engine from 98e9393bf2e9 to 1cdbebee1901 (4 revisions) ( #149899 )
...
98e9393bf2...1cdbebee19
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from accb5c25c42a to 7b239d7f4578 (1 revision) (flutter/engine#53272 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from d2e17d341305 to e36110f8b451 (1 revision) (flutter/engine#53271 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from 376b88815099 to d2e17d341305 (2 revisions) (flutter/engine#53270 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from 41acb19a67b5 to accb5c25c42a (1 revision) (flutter/engine#53269 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 15:35:08 +00:00
engine-flutter-autoroll
d849b91ffc
Roll Flutter Engine from 087feab9922b to 98e9393bf2e9 (1 revision) ( #149875 )
...
087feab992...98e9393bf2
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from a7ee8897c66e to 376b88815099 (1 revision) (flutter/engine#53268 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 14:37:28 +00:00
Elliott Brooks
2be334f96c
Refactor widget_inspector_test.dart ( #149850 )
...
Work towards https://github.com/flutter/devtools/issues/7894
The Flutter DevTools team is working on a new Widget Inspector. As part of this work, we need to make adjusts to the widget inspector service API.
This PR simply re-factors the `widget_inspector_test` in preparation for this work, to make it easier for us to modify the tests / add new tests.
Although this PR is large (`widget_inspector_test` is over 5000 lines!!), it does not change any of the current test logic.
Instead it:
- Moves test cases that were prefixed with "WidgetInspectorService" into the pre-existing group named "WidgetInspectorService"
- Moves tests cases in that group which were skipped with `!WidgetInspectorService.instance.isWidgetCreationTracked() // [intended] Test requires --track-widget-creation flag` into a group called "Requires flag --track-widget-creation"
- Adds two helper functions, `pumpWidgetTreeWithABC` and `findElementABC` and uses them in all test cases that were duplicating the same widget set-up.
2024-06-07 14:33:14 +00:00
Valentin Vignal
dcc5361126
Add test for dropdown_menu.1.dart ( #149547 )
...
Contributes to https://github.com/flutter/flutter/issues/130459
It adds a test for
- `examples/api/lib/material/dropdown_menu/dropdown_menu.1.dart`
2024-06-07 07:13:02 +00:00
Valentin Vignal
ad56b54b63
Add test for standard_fab_location.0.dart ( #149225 )
...
Contributes to https://github.com/flutter/flutter/issues/130459
It adds a test for
- `examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart`
2024-06-07 07:08:53 +00:00
Daco Harkes
2a543aa43b
[native_assets] Fix framework name deduplication ( #149761 )
...
Applies 02d5286e02 to MacOS.
I'm hoping this will fix:
* https://github.com/flutter/flutter/issues/148955
2024-06-07 07:07:08 +00:00
engine-flutter-autoroll
ae47edab7a
Roll Flutter Engine from 47b15dfba1da to 087feab9922b (1 revision) ( #149871 )
...
47b15dfba1...087feab992
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from b3aedcf27979 to a7ee8897c66e (1 revision) (flutter/engine#53267 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 05:34:14 +00:00
engine-flutter-autoroll
73152214b8
Roll Flutter Engine from 5d5e0ee9102c to 47b15dfba1da (2 revisions) ( #149870 )
...
5d5e0ee910...47b15dfba1
2024-06-07 skia-flutter-autoroll@skia.org Roll Dart SDK from ed2b917b266d to 41acb19a67b5 (1 revision) (flutter/engine#53266 )
2024-06-07 skia-flutter-autoroll@skia.org Roll Skia from a42ff08f2b2e to b3aedcf27979 (1 revision) (flutter/engine#53265 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 04:32:32 +00:00
engine-flutter-autoroll
dccc26a28a
Roll Flutter Engine from fea8e51b0280 to 5d5e0ee9102c (2 revisions) ( #149867 )
...
fea8e51b02...5d5e0ee910
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from c1aae20f1c82 to a42ff08f2b2e (1 revision) (flutter/engine#53263 )
2024-06-06 41930132+hellohuanlin@users.noreply.github.com Reland "[ios][platform_view] Use CAShapeLayer as the mask to avoid software rendering #53072 " (flutter/engine#53256 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 03:04:28 +00:00
engine-flutter-autoroll
2a127cbdf8
Roll Flutter Engine from 5a0a49939c64 to fea8e51b0280 (2 revisions) ( #149865 )
...
5a0a49939c...fea8e51b02
2024-06-06 skia-flutter-autoroll@skia.org Roll Dart SDK from 8e05acb354f5 to ed2b917b266d (1 revision) (flutter/engine#53262 )
2024-06-06 bdero@google.com [Impeller] Round out extreme angles between curve polyline segments. (flutter/engine#53210 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-07 02:06:26 +00:00
flutter-pub-roller-bot
9a654cb5da
Roll pub packages ( #149864 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-06-07 00:22:25 +00:00
engine-flutter-autoroll
7b83e3c15b
Roll Flutter Engine from bf1a4877da0b to 5a0a49939c64 (1 revision) ( #149861 )
...
bf1a4877da...5a0a49939c
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from 41896477ca14 to c1aae20f1c82 (3 revisions) (flutter/engine#53260 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 23:42:25 +00:00
Ian Hickson
961c5b7d93
Remove some vestigial /*!*/ comments ( #149361 )
2024-06-06 23:34:00 +00:00
Jackson Gardner
5fb34b719e
Attempt to fix some web test flakiness. ( #149828 )
...
If the service is disposed when we make calls on it, we need to bubble up an exception that is understood by the callers.
This is another speculative fix for https://github.com/flutter/flutter/issues/149238 .
2024-06-06 23:22:51 +00:00
Kate Lovett
01d1e74af5
Remove abi key permanently from golden file testing ( #149858 )
...
We have fiddled with this a bunch, and there is definitively no way to reliably include this, so I am removing it.
Since CI does not cover all possible values, we can't consistently look up images for local testing. We thought removing it from the look up would work fine, and it did for most tests, but there were still some that could not find an image without it.
A brief history on the abi key
- added in https://github.com/flutter/flutter/pull/143621
- disabled in https://github.com/flutter/flutter/pull/148023
- added back in https://github.com/flutter/flutter/pull/148072
- we thought there was only an issue with alphabetizing keys
- removed from local image look up in https://github.com/flutter/flutter/pull/149696
I updated the docs page to also discuss what makes a good key and what does not based on what we learned here.
2024-06-06 23:05:52 +00:00
Tong Mu
87f68a8876
[CupertinoActionSheet] Add sliding tap gesture ( #149471 )
...
This PR implements the `CupertinoActionSheet` part of https://github.com/flutter/flutter/issues/19786 .
This PR creates a new kind of gesture "sliding tap", which can be a simple tap but also allows the user to slide to other buttons during the tap, and select the button that the slide ends in.
The following video shows the behavior on a button list (left to right: Native iOS, after PR, before PR):
https://github.com/flutter/flutter/assets/1596656/1718630d-6890-4833-908b-762332a39568
Notice:
1. When the tap starts on a button or on the content section, the gesture can slide into a button to highlight it or activate it.
2. When the user performs a quick tap on a button, the button is immediately highlighted. (Before the PR, the highlight waits until the time out of a tap gesture, causing a quick tap to not highlight anything at all.)
The following video shows the behavior when the actions section scrolls (left to right: Native iOS, after PR)
https://github.com/flutter/flutter/assets/1596656/5eb70bc1-ec25-4376-9500-2aaa12f0034b
Notice:
1. Moving left or right doesn't cancel sliding tap, but moving vertically prioritizes the scrolling.
2. Moving before the drag starts is also recognized as a sliding tap.
Also, multiple pointers interact with the button list following an algorithm of "using earliest pointer". I can't record videos about it but I've added unit tests.
2024-06-06 22:41:05 +00:00
flutter-pub-roller-bot
27972ebb48
Roll pub packages ( #149852 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-06-06 22:35:15 +00:00
Hans Muller
7e3e30929a
SliverResizingHeader ( #143325 )
...
A sliver that is pinned to the start of its `CustomScrollView` and reacts to scrolling by resizing between the intrinsic sizes of its min and max extent prototypes.
The minimum and maximum sizes of this sliver are defined by `minExtentPrototype` and `maxExtentPrototype`, a pair of widgets that are laid out once. You can use `SizedBox` widgets to define the size limits.
This sliver is preferable to the general purpose `SliverPersistentHeader` for its relatively narrow use case because there's no need to create a `SliverPersistentHeaderDelegate` or to predict the header's minimum or maximum size.
The sample shows how this sliver's two extent prototype properties can be used to create a resizing header whose minimum and maximum sizes match small and large configurations of the same header widget.
https://github.com/flutter/flutter/assets/1377460/fa7ced98-9d92-4d13-b093-50392118c213
Related sliver utility PRs: https://github.com/flutter/flutter/pull/143538 , https://github.com/flutter/flutter/pull/143196 , https://github.com/flutter/flutter/pull/127340 .
2024-06-06 22:35:12 +00:00
Victoria Ashworth
ea93790479
Run tests on macOS 13 or 14 ( #149827 )
...
In preparation of upgrading our fleet to macOS 14, allow tests to run on either macOS 13 or 14.
Fixes https://github.com/flutter/flutter/issues/148871 .
2024-06-06 22:18:18 +00:00
Polina Cherkasova
440b1c64aa
Fix leaky test. ( #149823 )
...
Introduced by https://github.com/flutter/flutter/pull/148094
2024-06-06 21:41:22 +00:00
engine-flutter-autoroll
b73cd1bee0
Roll Flutter Engine from 31804a222f97 to bf1a4877da0b (3 revisions) ( #149848 )
...
31804a222f...bf1a4877da
2024-06-06 jonahwilliams@google.com [Impeller] Expand fast gradient to all shapes. (flutter/engine#53254 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from 1211df22d135 to 41896477ca14 (1 revision) (flutter/engine#53258 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Dart SDK from 62e8607e1410 to 8e05acb354f5 (1 revision) (flutter/engine#53257 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 21:30:26 +00:00
victorgalo
7d525ea318
Add support for setting the heading level for web semantics ( #97894 ) ( #125771 )
...
This change adds a new property in Semantics widget that would take an integer corresponding to the heading levels defined by the ARIA heading role. This is necessary in order to get proper accessibility and usability in a website for users who rely on screen readers and other assistive technologies.
Issue fixed by this PR:
fixes https://github.com/flutter/flutter/issues/97894
Engine part:
https://github.com/flutter/engine/pull/41435
2024-06-06 21:24:26 +00:00
auto-submit[bot]
6f2d0be6b5
Reverts "Introduce ChipAnimationStyle to override default chips animations durations ( #149245 )" ( #149847 )
...
Reverts: flutter/flutter#149245
Initiated by: QuncCccccc
Reason for reverting: the newly-added unit test might cause the red tree
Original PR Author: TahaTesser
Reviewed By: {bleroux, Piinks}
This change reverts the following previous change:
fixes [Custom backgroundColor on Chip makes it flicker between state transitions](https://github.com/flutter/flutter/issues/146730 )
### Example preview

https://github.com/flutter/flutter/assets/48603081/a4949ce7-f38b-4251-8201-ecc570ec447c
2024-06-06 20:35:18 +00:00
Kevin Chisholm
32da263b1d
3.22.2 release notes ( #149818 )
...
Update "Hotfixes to the stable channel" in preparation for the next hotfix release.
2024-06-06 20:02:57 +00:00
engine-flutter-autoroll
5502f9f962
Roll Flutter Engine from 25bcbb888939 to 31804a222f97 (3 revisions) ( #149837 )
...
25bcbb8889...31804a222f
2024-06-06 15619084+vashworth@users.noreply.github.com Run tests on macOS 13 or 14 (flutter/engine#53252 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from d5acbe6bb22d to 1211df22d135 (2 revisions) (flutter/engine#53255 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 2xWubo2mRP_2_wXKJ... to aVohW_hnfDaE0smBX... (flutter/engine#53253 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from 2xWubo2mRP_2 to aVohW_hnfDaE
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 19:47:03 +00:00
Taha Tesser
0a546705b4
Introduce ChipAnimationStyle to override default chips animations durations ( #149245 )
...
fixes [Custom backgroundColor on Chip makes it flicker between state transitions](https://github.com/flutter/flutter/issues/146730 )
### Example preview

https://github.com/flutter/flutter/assets/48603081/a4949ce7-f38b-4251-8201-ecc570ec447c
2024-06-06 19:39:49 +00:00
engine-flutter-autoroll
da0545b970
Roll Flutter Engine from f5a9690c6061 to 25bcbb888939 (1 revision) ( #149835 )
...
f5a9690c60...25bcbb8889
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from a3a32c107ddb to d5acbe6bb22d (3 revisions) (flutter/engine#53251 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 18:46:41 +00:00
Polina Cherkasova
d19d19c2d1
Fix leaky test. ( #149822 )
2024-06-06 11:33:27 -07:00
Jenn Magder
ef386d30c9
Unpin archive package from tool, update to version without security advisories ( #149430 )
...
Unpin `archive` version and run `flutter update-packages --force-upgrade` to show there are no additional dependencies pulled in (url_launcher was updated, but unrelated).
Fixes https://github.com/flutter/flutter/issues/149427
2024-06-06 18:19:19 +00:00
flutter-pub-roller-bot
50998a99f2
Roll pub packages ( #149630 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-06-06 18:08:49 +00:00
engine-flutter-autoroll
4a941db897
Roll Flutter Engine from d9684a37af06 to f5a9690c6061 (7 revisions) ( #149832 )
...
d9684a37af...f5a9690c60
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from ee42535eb2b4 to a3a32c107ddb (5 revisions) (flutter/engine#53250 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Dart SDK from 7df5ccdf1c1b to 62e8607e1410 (2 revisions) (flutter/engine#53248 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from c2899d177c94 to ee42535eb2b4 (1 revision) (flutter/engine#53247 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Dart SDK from e5459bcecb9c to 7df5ccdf1c1b (1 revision) (flutter/engine#53245 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from 9f3289461e51 to c2899d177c94 (2 revisions) (flutter/engine#53244 )
2024-06-06 dkwingsmt@users.noreply.github.com Make pointer events ignore invalid views (flutter/engine#51925 )
2024-06-06 skia-flutter-autoroll@skia.org Roll Skia from 0062d519a9ad to 9f3289461e51 (1 revision) (flutter/engine#53242 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 17:53:08 +00:00
engine-flutter-autoroll
b31781a352
Roll Packages from 11e192a86db3 to 586faa631499 (13 revisions) ( #149820 )
...
11e192a86d...586faa6314
2024-06-05 ditman@gmail.com [google_sign_in_web] Update button_tester to use web_only library. (flutter/packages#6868 )
2024-06-05 engine-flutter-autoroll@skia.org Roll Flutter from c246ecdf8e to 27e06569a1 (17 revisions) (flutter/packages#6875 )
2024-06-05 15619084+vashworth@users.noreply.github.com [path_provider] Skip verifying sample file on macOS (flutter/packages#6874 )
2024-06-05 joonas.kerttula@codemate.com [google_maps_flutter] Custom marker size improvements (flutter/packages#4055 )
2024-06-05 uberchilly@gmail.com [rfw] Material slider widget (flutter/packages#6610 )
2024-06-04 ditman@gmail.com [ci] Manual roll Flutter to c246ecd (84 revisions) + fixes (flutter/packages#6863 )
2024-06-04 molchanovia.dev@gmail.com Correcting the typo of Flutter in projects (flutter/packages#6850 )
2024-06-04 joonas.kerttula@codemate.com [google_maps_flutter] Custom marker size improvements - platform impls (flutter/packages#6826 )
2024-06-04 lrn@google.com Avoid cumbersome formatter workaround (flutter/packages#6573 )
2024-06-04 15619084+vashworth@users.noreply.github.com Clean Xcode project before analyzing and testing (flutter/packages#6842 )
2024-06-03 37848204+RobinCombrink@users.noreply.github.com [pigeon] Kotlin/Java method overloading for the `setUp` method (flutter/packages#6843 )
2024-06-03 40719830+Alex-Usmanov@users.noreply.github.com [url_launcher] Add support for setting show title on Chrome Custom Tabs (flutter/packages#6097 )
2024-06-03 ditman@gmail.com Revert "Roll Flutter from c85fa6abf4 to 7eebe2992a (#6836 )" (flutter/packages#6860 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 17:01:57 +00:00
Mouad Debbar
7e414e88e0
Fix some links in the "Handling breaking change" section ( #149821 )
...
_Title says it all_
2024-06-06 17:00:51 +00:00
engine-flutter-autoroll
9243d8ea0f
Roll Flutter Engine from 92d0cd9370f7 to d9684a37af06 (1 revision) ( #149793 )
...
92d0cd9370...d9684a37af
2024-06-06 skia-flutter-autoroll@skia.org Roll Dart SDK from 86b8aacb2609 to e5459bcecb9c (1 revision) (flutter/engine#53241 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-06-06 16:56:59 +00:00