gaaclarke
746d8af006
Adds dart fixes for Color opacity functions ( #154953 )
...
fixes https://github.com/flutter/flutter/issues/154572
2024-09-10 23:12:56 +00:00
John McDole
1c3b501f53
Missing benchmarks for foundation/all_elements_bench.dart ( #154954 )
...
I missed awaiting a future. Probably should have a lint for unawaited futures...
2024-09-10 23:01:09 +00:00
skia-flutter-autoroll
0ff9f84847
Roll Skia from 1760de26fb83 to 618beab475b6 (2 revisions) ( flutter/engine#55088 )
...
https://skia.googlesource.com/skia.git/+log/1760de26fb83..618beab475b6
2024-09-10 jvanverth@google.com Revert "[graphite] Add analytic clip support."
2024-09-10 kjlubick@google.com Update pinned version of Skia to get external configs from
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com ,bwils@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-10 22:33:04 +00:00
gaaclarke
203f11647f
Update color assertions ( #154752 )
...
issue: https://github.com/flutter/flutter/issues/127855
This is a forward fix to help
https://github.com/flutter/engine/pull/54981 land.
It makes the following changes:
1) Removes hardcoded `Color.toString()` assumptions in asserts
1) Switches some lerp tests to use numbers that are more friendly to
uint8_t and floating point numbers
1) implements custom matchers for color
1) removes word wrapping for some asserts since it makes them fragile to
changes in `Color.toString()` invocations
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
2024-09-10 15:32:40 -07:00
Andrew Kolos
30835d7dac
handle EAGAIN (macOS) in ErrorHandlingProcessManager ( #154306 )
...
~~Fixes~~ Discovered in https://github.com/flutter/flutter/issues/153776 .
To my knowledge, `Resource temporarily unavailable` when trying to run a process means that some required resource is at capacity. There may be too many processes active, not enough available ports, or some sort of blocking cache is full, etc. Feel free to independently research and see if you come to the same conclusion.
Then, it seems safe to catch and handle this within the tool's `ErrorHandlingProcessManager` abstraction, as Flutter cannot realistically do anything to prevent this issue.
2024-09-10 22:24:56 +00:00
Mairramer
93d06ebd6c
fix unpack freezing app with animation duration zero ( #153890 )
...
Fixes #153889 an issue where nodes were being removed incorrectly when using `AnimationStyle.noAnimation `or the animation duration was zero seconds, which previously caused the application to freeze due to hidden state updates. By skipping the animation and updating active nodes immediately in these cases, we avoid these issues and ensure smooth and accurate management of node states.
2024-09-10 22:24:54 +00:00
Jonah Williams
849f1d7170
[Impeller] Fix memory leak I introduced by fixing memory leak. ( flutter/engine#55087 )
...
If we don't reset host buffer then leak
2024-09-10 22:16:55 +00:00
Matan Lurey
9ac366a022
Remove the last --disable-dart-dev in the engine. ( flutter/engine#55086 )
...
Work towards https://github.com/flutter/flutter/issues/154268 .
2024-09-10 21:53:06 +00:00
Matan Lurey
4b5cf85534
Remove last --disable-dart-dev in flutter/flutter. ( #154948 )
...
Work towards https://github.com/flutter/flutter/issues/154268 .
2024-09-10 21:37:08 +00:00
Srujan Gaddam
e0e88e3664
Update package:web to use new path and latest revision ( flutter/engine#55085 )
...
package:web now uses mono_repo and now the path is in web/web instead of
just web. In order to change the version of package:web used in the Dart
SDK and google3, Flutter needs to be updated first.
2024-09-10 14:27:25 -07:00
skia-flutter-autoroll
8eaae6f423
Roll Skia from 82d2e4033333 to 1760de26fb83 (8 revisions) ( flutter/engine#55084 )
...
https://skia.googlesource.com/skia.git/+log/82d2e4033333..1760de26fb83
2024-09-10 bungeman@google.com Use implementation_deps in Bazel build
2024-09-10 michaelludwig@google.com [graphite] Store dstCopy texture and bounds on CommandBuffer
2024-09-10 jvanverth@google.com [graphite] Do a compact() step when we purge DrawAtlases.
2024-09-10 jvanverth@google.com [graphite] Add analytic clip support.
2024-09-10 bungeman@google.com Roll FreeType from f92c9655 to 83af801b (7 commits)
2024-09-10 jlavrova@google.com Tests for fake embolden
2024-09-10 borenet@google.com [infra] Update fetch-sk to use infra_revision variable
2024-09-10 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll SwiftShader from 5561c71fa64e to 8dd40811c571 (3 revisions)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com ,bwils@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-10 21:21:18 +00:00
Matan Lurey
64fbc93023
Move more of the tests in the engine to package:test ( flutter/engine#55083 )
...
Partial work towards https://github.com/flutter/flutter/issues/133569 .
2024-09-10 21:14:12 +00:00
Matan Lurey
f6915ab4ca
Redirect run_ios_tests.sh to run_ios_tests.dart. ( flutter/engine#53717 )
...
Part of https://github.com/flutter/flutter/issues/143953 .
If this merges cleanly, and is not reverted, we can delete `run_ios_tests.sh` and be done.
2024-09-10 21:05:47 +00:00
Jonah Williams
3d1eb66164
[Impeller] reland experimental canvas. ( flutter/engine#55047 )
...
Corruption should be fixed by https://github.com/flutter/engine/pull/55036
2024-09-10 20:50:06 +00:00
Gray Mackall
6fd2b9f88b
Remove scheduler: luci from new build_aar_module_test ( #154945 )
...
This option was deprecated (/removed?) in the time since the test was originally disabled.
See https://github.com/flutter/flutter/issues/109712 , https://github.com/flutter/flutter/pull/109714
2024-09-10 20:35:07 +00:00
Jenn Magder
5c93837e27
Fix 'dart --enable-asserts' typo in license check script ( flutter/engine#55082 )
...
`dart -enable-asserts` should be `--enable-asserts` with two `-`s.
License script is complaining:
```
Could not find an option with short name "-e".
```
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8737159074465654417/+/u/test:_licenses_check/stdout
Typo from:
https://github.com/flutter/engine/pull/54845/files#diff-0845c01add635bd6976b8aefd761c14899002c53f9d0ff596cc7f4667cd49f71R84
Fixes https://github.com/flutter/flutter/issues/154942
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-09-10 20:12:07 +00:00
skia-flutter-autoroll
deac8c28f2
Roll Dart SDK from af7460619b2b to 741512e72e92 (1 revision) ( flutter/engine#55080 )
...
https://dart.googlesource.com/sdk.git/+log/af7460619b2b..741512e72e92
2024-09-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-236.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC aaclarke@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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-09-10 20:08:24 +00:00
flutter-pub-roller-bot
ad4162f863
Roll pub packages ( #154939 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-09-10 19:54:11 +00:00
Qun Cheng
b872a27c4e
CupertinoSlidingSegmentedControl update (#152976 )
...
This PR is to improve `CupertinoSlidingSegmentedControl` fidelity and add a new property `setEnabled` so that segments can be disabled now.
Fidelity update includes:
* small change on default thumb radius (Based on iOS 17 Figma file)
* separator height (Based on the comparison with SegmentedControl example in Xcode)
* segment min padding (Based on iOS 17 Figma file)
* thumb scale alignment (Based on the comparison with SegmentedControl example in Xcode). If the thumb is on the first or last position in SegmentedControl, the alignment should be `Alignment.leftCenter` and `Alignment.rightCenter` respectively, assuming the text direction is left to right. For segments in middle, they should have center alignment as previously.
* TextStyle update (Based on both the Figma file and the Xcode example)
* Clipped thumb shadow if the shadow is outside of the segmented control (Based on the Xcode example)
* Fixed the overall size shaking issue during segment switching on macOS and iOS
<details><summary>Alignment update demo</summary>
https://github.com/user-attachments/assets/6de3986f-6810-4dc4-8688-f87120557d89
</details>
<details><summary>Comparison before and after</summary>
Before:

After:

</details>
<details><summary>Shaking issue</summary>
Before:
https://github.com/user-attachments/assets/910d1271-75ea-4cec-8666-24090f9d4fb0
After:
https://github.com/user-attachments/assets/bc5ae3e1-600d-49a6-95d9-b1f5d1bd9f6d
</details>
The `disabledChildren` feature can be used to disable segments. The default disabled color comes from the inspection in the Xcode example.
<details><summary>Disabled feature demos</summary>
Disabled segment cannot be highlighted:
https://github.com/user-attachments/assets/70339364-23d5-41c7-b071-c7abe92abd62
`groupValue` can still be highlighted programmatically if it is disabled.

</details>
2024-09-10 19:41:23 +00:00
skia-flutter-autoroll
f9157edf80
Roll Skia from 4815ec808aa5 to 82d2e4033333 (8 revisions) ( flutter/engine#55079 )
...
https://skia.googlesource.com/skia.git/+log/4815ec808aa5..82d2e4033333
2024-09-10 robertphillips@google.com Protected bug fix
2024-09-10 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll ANGLE from 61c26fd6930a to 501887159116 (20 revisions)
2024-09-10 bungeman@google.com Roll HarfBuzz from b74a7ecc to a070f9eb (268 commits)
2024-09-10 kjlubick@google.com Reland "Update to Bazel 7"
2024-09-10 bungeman@google.com Roll Expat from 441f98d0 to 624da0f5 (120 commits)
2024-09-10 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from b339ed4daf66 to bda245ad94ff (25 revisions)
2024-09-10 borenet@google.com [bazel] Inline //bazel/external/win_toolchain/BUILD.bazel
2024-09-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 145442b950ac to f0364692215e (16 revisions)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com ,bwils@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-10 18:26:17 +00:00
flutter-pub-roller-bot
55af75d57b
Roll pub packages ( #154933 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-09-10 18:21:26 +00:00
Andrew Kolos
d88e692895
fix test chrome.close can recover if getTab throws a StateError ( #154889 )
...
Fixes https://github.com/flutter/flutter/issues/154857 .
Does so by:
* adding `await chromiumLauncher.connect(chrome, false);` before the `close` call to make sure we enter[ the block ](9cd2fc90af/packages/flutter_tools/lib/src/web/chrome.dart (L521-L535) )that actually tries to close chromium
* adding an `onGetTab` callback to `FakeChromeConnectionWithTab`, which the test now uses to throw a StateError upon `getTab` getting called.
## How I verified this change
1. Change `Chromium.close` from using the safer `getChromeTabGuarded` function to using the previous method of calling `ChromeConnection.getTab` directly. Do so by applying this diff:
```diff
diff --git a/packages/flutter_tools/lib/src/web/chrome.dart b/packages/flutter_tools/lib/src/web/chrome.dart
index c9a5fdab81..81bc246ff9 100644
--- a/packages/flutter_tools/lib/src/web/chrome.dart
+++ b/packages/flutter_tools/lib/src/web/chrome.dart
@@ -520,7 +520,7 @@ class Chromium {
Duration sigtermDelay = Duration.zero;
if (_hasValidChromeConnection) {
try {
- final ChromeTab? tab = await getChromeTabGuarded(chromeConnection,
+ final ChromeTab? tab = await chromeConnection.getTab(
(_) => true, retryFor: const Duration(seconds: 1));
if (tab != null) {
final WipConnection wipConnection = await tab.connect();
```
2. Then, run the test, which should correctly fail:
```
dart test test/web.shard/chrome_test.dart --name="chrome.close can recover if getTab throws a StateError"`
```
3. Revert the change from step 1 and run again. The test should now pass.
2024-09-10 17:23:56 +00:00
Ryan Macnak
d3062f6a4d
Roll buildroot to f85c3be4bf808add6ba867b8ff7943fd235b7b5e. ( flutter/engine#55051 )
...
- Report the exit code for failed build-time executions.
Bug: https://github.com/dart-lang/sdk/issues/56529
2024-09-10 10:12:34 -07:00
Justin McCandless
24d0b1db0a
SearchBar context menu ( #154833 )
...
SearchBar and SearchAnchor can now control their context menu. They both received new contextMenuBuilder parameters. See the docs for EditableText.contextMenuBuilder for how to use this, including how to use the native context menu on iOS and to control the browser's context menu on web.
2024-09-10 09:54:00 -07:00
Gray Mackall
f964f15dcb
Fix flutter build aar for modules that use a plugin ( #154757 )
...
https://github.com/flutter/flutter/pull/151675 bumped module templates to AGP 8.1.
In doing so, I tried to work around a behavior change [that was new in AGP 8.0](https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes ):
> AGP 8.0 creates no SoftwareComponent by default. Instead AGP creates SoftwareComponents only for variants that are configured to be published using the publishing DSL.
by using AGP's publishing DSL to define which variants to publish in the module's ephemeral gradle files:
```
android.buildTypes.all {buildType ->
if (!android.productFlavors.isEmpty()) {
android.productFlavors.all{productFlavor ->
android.publishing.singleVariant(productFlavor.name + buildType.name.capitalize()) {
withSourcesJar()
withJavadocJar()
}
}
} else {
android.publishing.singleVariant(buildType.name) {
withSourcesJar()
withJavadocJar()
}
}
}
```
The problem is that this doesn't get applied to the plugin projects used by the module, so if a module uses any plugin it breaks. This PR fixes that by applying similar logic, but to each project (not just the module's project).
Tested manually with https://github.com/gmackall/GrayAddToApp , and also re-enabled an old test that tested this use case as a part of the PR.
Fixes: https://github.com/flutter/flutter/issues/154371
2024-09-10 16:42:22 +00:00
engine-flutter-autoroll
7e2de37336
Roll Packages from b4e0fc1bc117 to bb53e5d536ae (4 revisions) ( #154926 )
...
b4e0fc1bc1...bb53e5d536
2024-09-09 magder@google.com [ci] Increase deprecation check minimum to macOS 14 (flutter/packages#7544 )
2024-09-09 paulberry@google.com [camerax] Ignore new `unreachable_switch_default` warning. (flutter/packages#7592 )
2024-09-09 109111084+yaakovschectman@users.noreply.github.com [google_maps_flutter_platform_interface] Split `CameraUpdate` into derived classes to use structured data (flutter/packages#7596 )
2024-09-09 stuartmorgan@google.com [google_maps_flutter] Disable setAndGetScrollPosition on iOS (flutter/packages#7609 )
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-09-10 16:34:19 +00:00
Taha Tesser
ebc2c3e437
Clean up SnackBar inherit theme data test ( #154921 )
...
Fixes [Verbose `SnackBar` inherit theme data test](https://github.com/flutter/flutter/issues/154920 )
2024-09-10 16:27:14 +00:00
skia-flutter-autoroll
a3fa3c67de
Roll Skia from 5dc067350ab5 to 4815ec808aa5 (2 revisions) ( flutter/engine#55074 )
...
https://skia.googlesource.com/skia.git/+log/5dc067350ab5..4815ec808aa5
2024-09-10 borenet@google.com [bazel] Add missing newline in download_toolchains.bzl
2024-09-10 kjlubick@google.com Move SkFourByteTag to its own file
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com ,bwils@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-10 15:15:06 +00:00
davidhicks980
bffa21549c
Revert "Improve CupertinoPopupSurface appearance" ( #154893 )
...
Reverts flutter/flutter#151430 to fix
https://github.com/flutter/flutter/issues/154887 until I can investigate
further.
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com >
2024-09-10 08:12:46 -07:00
engine-flutter-autoroll
4be3035103
Roll Flutter Engine from 3dc8b71f96cc to 8a038a6f7099 (1 revision) ( #154904 )
...
3dc8b71f96...8a038a6f70
2024-09-10 yjbanov@google.com [skwasm] use temporary RawPaint objects (attempt #2 ) (flutter/engine#55035 )
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 codefu@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-09-10 14:53:34 +00:00
skia-flutter-autoroll
830b668a93
Roll Dart SDK from d59138eb6ec2 to af7460619b2b (1 revision) ( flutter/engine#55073 )
...
https://dart.googlesource.com/sdk.git/+log/d59138eb6ec2..af7460619b2b
2024-09-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-235.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC aaclarke@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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-09-10 14:17:13 +00:00
skia-flutter-autoroll
8a1d2b1e8f
Roll Skia from c62380453c72 to 5dc067350ab5 (1 revision) ( flutter/engine#55072 )
...
https://skia.googlesource.com/skia.git/+log/c62380453c72..5dc067350ab5
2024-09-10 robertphillips@google.com Revert "MiraclePtr: Fetch partition_alloc."
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com ,bwils@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-10 13:33:15 +00:00
skia-flutter-autoroll
b1a31b9b61
Roll Fuchsia Linux SDK from kIWQ460iagZLxVRPc... to 8XJTJm4D4Go1dBaTi... ( flutter/engine#55071 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC aaclarke@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-09-10 13:21:26 +00:00
skia-flutter-autoroll
ceb7015255
Roll Skia from 9bea95918e69 to c62380453c72 (1 revision) ( flutter/engine#55070 )
...
https://skia.googlesource.com/skia.git/+log/9bea95918e69..c62380453c72
2024-09-10 arthursonzogni@chromium.org MiraclePtr: Fetch partition_alloc.
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com ,bwils@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-10 12:14:35 +00:00
skia-flutter-autoroll
fcabcc1a10
Roll Dart SDK from a60078a23978 to d59138eb6ec2 (2 revisions) ( flutter/engine#55068 )
...
https://dart.googlesource.com/sdk.git/+log/a60078a23978..d59138eb6ec2
2024-09-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-234.0.dev
2024-09-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-233.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC aaclarke@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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-09-10 10:04:22 +00:00
engine-flutter-autoroll
d6e2b6aedb
Roll Flutter Engine from 656117fc8ba9 to 3dc8b71f96cc (3 revisions) ( #154900 )
...
656117fc8b...3dc8b71f96
2024-09-10 skia-flutter-autoroll@skia.org Roll Dart SDK from b6c3cd9b93f1 to a60078a23978 (14 revisions) (flutter/engine#55059 )
2024-09-09 jason-simmons@users.noreply.github.com Add missing include to fml/hex_codec.h (flutter/engine#55034 )
2024-09-09 skia-flutter-autoroll@skia.org Roll Skia from 7e659d5538fa to 9bea95918e69 (3 revisions) (flutter/engine#55052 )
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 codefu@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-09-10 05:27:20 +00:00
flutter-pub-roller-bot
b3481c3a2b
Roll pub packages ( #154894 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-09-10 04:26:19 +00:00
Yegor
d7e52c7710
[skwasm] use temporary RawPaint objects (attempt #2 ) ( flutter/engine#55035 )
...
Relands https://github.com/flutter/engine/pull/54917 . The change is the same as before, except now the native resources for `SkwasmColorFilter` and `SkwasmImageFilter` classes are no longer GC'd. Instead, we use manually managed native handles (vended and scoped by `withRawColorFilter` and `withRawImageFilter`). The bug in the previous PR was that filter objects were disposed with the paint while the framework continued holding onto them. When GC kicked the finalization registry, it attempted to double-free the filters.
2024-09-10 04:10:26 +00:00
skia-flutter-autoroll
4d39ebc0df
Roll Dart SDK from b6c3cd9b93f1 to a60078a23978 (14 revisions) ( flutter/engine#55059 )
...
https://dart.googlesource.com/sdk.git/+log/b6c3cd9b93f1..a60078a23978
2024-09-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-232.0.dev
2024-09-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-231.0.dev
2024-09-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-230.0.dev
2024-09-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-229.0.dev
2024-09-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-228.0.dev
2024-09-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-227.0.dev
2024-09-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-226.0.dev
2024-09-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-225.0.dev
2024-09-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-224.0.dev
2024-09-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-223.0.dev
2024-09-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-222.0.dev
2024-09-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-221.0.dev
2024-09-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-220.0.dev
2024-09-05 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-219.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC codefu@google.com ,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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-09-10 03:52:38 +00:00
flutter-pub-roller-bot
ee89e9a560
Roll pub packages ( #154890 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-09-10 01:27:22 +00:00
Jason Simmons
2b0b252f06
Add missing include to fml/hex_codec.h ( flutter/engine#55034 )
2024-09-09 23:55:14 +00:00
Christopher Fujino
92697d3ecc
Improve tracing and fix packages_autoroller ( #154841 )
...
Reverts flutter/flutter#154555
Re-lands of https://github.com/flutter/flutter/pull/154441 and https://github.com/flutter/flutter/pull/154369
New changes in this PR:
1. extend timeout of the `Linux packages_autoroller` shard (see step 14 in this example [LED build](https://ci.chromium.org/ui/p/flutter/builders/prod.shadow/Linux%20packages_autoroller/7/infra ))
2. use the managed framework repo as the working directory in the `framework.streamDart()` helper function--we were generating gradle lockfiles in the wrong directory
A LED build with this code generated the following gradle lockfile update: d939981cd2
2024-09-09 23:31:21 +00:00
engine-flutter-autoroll
81d23d93f6
Roll Flutter Engine from c18ecf9e4000 to 656117fc8ba9 (2 revisions) ( #154883 )
...
c18ecf9e40...656117fc8b
2024-09-09 magder@google.com Unskip Impeller iOS scenario tests (flutter/engine#55012 )
2024-09-09 skia-flutter-autoroll@skia.org Roll Skia from 7ad1252da14f to 7e659d5538fa (2 revisions) (flutter/engine#55050 )
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 codefu@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-09-09 23:26:58 +00:00
skia-flutter-autoroll
2b9f1fc6c8
Roll Skia from 7e659d5538fa to 9bea95918e69 (3 revisions) ( flutter/engine#55052 )
...
https://skia.googlesource.com/skia.git/+log/7e659d5538fa..9bea95918e69
2024-09-09 kjlubick@google.com Update assertion in SkParagraph JS test
2024-09-09 michaelludwig@google.com [graphite] Clean up PaintParamsKey printing
2024-09-09 michaelludwig@google.com [graphite] Remember DstReadRequirement on GraphicsPipelines
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,bwils@google.com ,codefu@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-09 22:57:23 +00:00
engine-flutter-autoroll
c7f5b79c57
Roll Flutter Engine from 7ad9e5ba962c to c18ecf9e4000 (1 revision) ( #154855 )
...
7ad9e5ba96...c18ecf9e40
2024-09-09 skia-flutter-autoroll@skia.org Roll Skia from 8103f53635fd to 7ad1252da14f (3 revisions) (flutter/engine#55046 )
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 codefu@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-09-09 22:00:11 +00:00
Nate Wilson
bfa04edca6
un-break ThemeData equality ( #154695 )
...
This PR is _almost_ able to close issue #89127 .
Sadly, no `InheritedModel` or custom `RenderObject`s today; instead the [WidgetState operators](https://main-api.flutter.dev/flutter/widgets/WidgetStateOperators.html ) have been restructured to support equality checks.
`WidgetStateProperty.fromMap()` is now capable of accurate equality checks, and all of the `.styleFrom()` methods have been refactored to use that constructor.
(Equality checks are still broken for `WidgetStateProperty.resolveWith()`, and any other non-`const` objects that implement the interface.)
<br><br>
credit for this idea goes to @justinmc: https://github.com/flutter/flutter/issues/89127#issuecomment-2313187703
2024-09-09 21:49:09 +00:00
Michal Hazdra
18c325af17
Add scrim color parameter to _ZoomEnterTransitionPainter ( #152815 )
...
Implements #152064
There is currently no test here as I am not sure how to do it efficiently, I tried making the painter public and adding the visibleForTestinhg attribute, but then I need to add comments to everything... And even when I did that I did not know how to test the painter itself maybe via Golden tests? I have not done those in the Flutter repo yet. And if it can be done without them then that is definitely a better way. I'll wait for what the review says I should do.
2024-09-09 21:49:07 +00:00
Jenn Magder
0a26313116
Unskip Impeller iOS scenario tests ( flutter/engine#55012 )
...
The iOS golden scenario tests are supposed to run on Skia and Impeller, but are actually running on Skia twice.
#### Issue 1: script-side
Regression from https://github.com/flutter/engine/pull/46329 .
Currently, the tests log "Running simulator tests with Impeller" but then you see that it's not:
```
Running simulator tests with Impeller
...
2024-09-06 13:38:07.692810-0700 Scenarios[73857:470266] [IMPORTANT:flutter/shell/common/shell.cc(456)] [Action Required] The application opted out of Impeller by either using the --no-enable-impeller flag or FLTEnableImpeller=false plist flag. This option is going to go away in an upcoming Flutter release. Remove the explicit opt-out. If you need to opt-out, report a bug describing the issue.
```
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8737514337106072353/+/u/test:_Scenario_App_Integration_Tests/stdout
`INFOPLIST_FILE="Scenarios/Info_Impeller.plist"` isn't passed into the xcodebuild any more. I confirmed #46329 caused this by inserting a comment in the middle of the `xcodebuild` command, which caused the last argument after the comment to not be passed in.
#### Issue 2: test-side
Regression from https://github.com/flutter/engine/pull/45093 .
[The logic deciding whether to use Skia or Impeller goldens is incorrect](1da5dd68fd/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.m (L84-L90) ) since `FLTEnableImpeller` is set in the app Info.plist, not the UI test, so the bundle should be "dev.flutter.Scenarios". That means even if the script was passing in the right Info.plist, the tests would fail since they would have compared the Skia screenshots.
#### This PR
1. Once https://github.com/flutter/engine/pull/55016 merges (edit: done), these tests will no longer be running with the software renderer. Remove all the test skips so they all run on Impeller.
2. Add the missing Impeller golden screenshots.
3. Update the default Info.plist to use Impeller, so if another script mishap happens, it will default to testing Impeller twice, and not Skia. Add a Skia Info.plist variant instead.
4. Update the test logic to check the right bundle ID Info.plist to decide whether to compare against the Skia or Impeller screenshots. Prefer Impeller so if another test-side mishap happens, it will also default to testing Impeller and not Skia. It will only use the Skia goldens if the bool is set in the Info.plist, and that bool is NO (not just if it's missing).
5. All this made the now-default Impeller tests pass, but when passing in `INFOPLIST_FILE="Scenarios/Info_Skia.plist"` the app wasn't launching, with the error:
> Scenarios encountered an error (Failed to install or launch the test runner. (Underlying Error: Simulator device returned an error for the requested operation. Failed to create promise. (Underlying Error: Failed to create app extension placeholder for /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Scenarios-aypjgouuxctxctfazxalyegcximf/Build/Products/Debug-iphonesimulator/Scenarios.app/PlugIns/ScenariosShare.appex. Failed to create promise. (Underlying Error: Failed to set placeholder attributes dev.flutter.Scenarios.ScenariosShare. Failed to create promise. (Underlying Error: extensionDictionary must be set in placeholder attributes for an app extension placeholder. Invalid placeholder attributes.)))))
This is identical to the error in https://github.com/flutter/engine/pull/53717 . I finally realized it was because the ScenariosShare app extension requires specific extension keys in its plist, which weren't present in the app Info.plist at `Scenarios/Info_Skia.plist`. So I changed the `INFOPLIST_FILE` path to `$(TARGET_NAME)/Info_Skia.plist` so it would resolve to target-specific copies like `Scenarios/ScenariosShare/Info_Skia.plist`. That meant I had to add a few more copies where they didn't exist in the target path.
Dependent on https://github.com/flutter/engine/pull/55016 landing.
Fixes https://github.com/flutter/flutter/issues/131888
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-09-09 21:47:04 +00:00
skia-flutter-autoroll
3bb536e5a4
Roll Skia from 7ad1252da14f to 7e659d5538fa (2 revisions) ( flutter/engine#55050 )
...
https://skia.googlesource.com/skia.git/+log/7ad1252da14f..7e659d5538fa
2024-09-09 borenet@google.com [bazel] Move win_toolchain dep into download_toolchains_for_skia
2024-09-09 kjlubick@google.com Remove unneeded SK_GRAPHITE guards
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,bwils@google.com ,codefu@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
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-09-09 21:35:59 +00:00
engine-flutter-autoroll
8dace15468
Roll Flutter Engine from 813ad2db9796 to 7ad9e5ba962c (1 revision) ( #154849 )
...
813ad2db97...7ad9e5ba96
2024-09-09 jonahwilliams@google.com [Impeller] fix obvious memory leak. (flutter/engine#55036 )
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 codefu@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-09-09 20:58:20 +00:00