83702 Commits

Author SHA1 Message Date
skia-flutter-autoroll
5b9ab3f03e Roll Skia from abb4eeac59c2 to 7cba76a07795 (1 revision) (flutter/engine#55174)
https://skia.googlesource.com/skia.git/+log/abb4eeac59c2..7cba76a07795

2024-09-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from bc0954c735ac to 788001a1cbae (5 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-13 10:18:40 +00:00
skia-flutter-autoroll
3734302bfe Roll Dart SDK from 6c1e919a85f2 to eb664303c5ff (2 revisions) (flutter/engine#55173)
https://dart.googlesource.com/sdk.git/+log/6c1e919a85f2..eb664303c5ff

2024-09-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-251.0.dev
2024-09-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-250.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-13 10:04:33 +00:00
skia-flutter-autoroll
34e82924a1 Roll Skia from c8a493c589d6 to abb4eeac59c2 (2 revisions) (flutter/engine#55172)
https://skia.googlesource.com/skia.git/+log/c8a493c589d6..abb4eeac59c2

2024-09-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from f0919be383d0 to e90de4b2873f (6 revisions)
2024-09-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from be2b58e20037 to ac44b70a9831 (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-13 08:59:37 +00:00
engine-flutter-autoroll
46438acdba Roll Flutter Engine from 94696ed75dea to d917a15823f3 (1 revision) (#155147)
94696ed75d...d917a15823

2024-09-13 skia-flutter-autoroll@skia.org Roll Skia from 515a23f3cbe1 to c8a493c589d6 (1 revision) (flutter/engine#55169)

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 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-13 08:35:43 +00:00
Bruno Leroux
2277e05550 Fix TextField content should be selected on desktop when gaining focus (#154916)
## Description

This PR fixes the default selection on desktop when a text field is gaining focus.

Before this PR, when a text field is focused, the selection was collapsed at the end for all platforms except on Web where the entire content was selected.

After this PR, when a text field is focused, the entire content is selected on desktop and Web, and the selection is collapsed at the end on mobile platforms.

The implementation extends the work done in https://github.com/flutter/flutter/pull/119583 which implemented this feature for web.

## Related Issue

Fixes https://github.com/flutter/flutter/issues/150339.

## Tests

Updates 1 test.
Fixes 2 tests.
2024-09-13 08:09:13 +00:00
engine-flutter-autoroll
221a58cdd0 Roll Flutter Engine from 04802b779045 to 94696ed75dea (1 revision) (#155144)
04802b7790...94696ed75d

2024-09-13 skia-flutter-autoroll@skia.org Roll Dart SDK from 23fc7751b8b2 to 6c1e919a85f2 (1 revision) (flutter/engine#55167)

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 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-13 07:23:05 +00:00
skia-flutter-autoroll
a249f4eb12 Roll Skia from 515a23f3cbe1 to c8a493c589d6 (1 revision) (flutter/engine#55169)
https://skia.googlesource.com/skia.git/+log/515a23f3cbe1..c8a493c589d6

2024-09-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 2f71cb364e4e to 7c4fe83768b1 (9 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-13 06:04:32 +00:00
skia-flutter-autoroll
a50401125b Roll Dart SDK from 23fc7751b8b2 to 6c1e919a85f2 (1 revision) (flutter/engine#55167)
https://dart.googlesource.com/sdk.git/+log/23fc7751b8b2..6c1e919a85f2

2024-09-13 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-249.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-13 03:05:25 +00:00
engine-flutter-autoroll
1d5f36f014 Roll Flutter Engine from 3d8163f47919 to 04802b779045 (2 revisions) (#155138)
3d8163f479...04802b7790

2024-09-13 matanlurey@users.noreply.github.com Remove now unused extra args/opts/env from `run_tests.py`. (flutter/engine#55164)
2024-09-13 matanlurey@users.noreply.github.com Remove `assert(() {... })` and other unnecessary patterns in `dart:ui` tests (flutter/engine#55165)

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 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-13 02:59:31 +00:00
engine-flutter-autoroll
47b8a52e94 Roll Flutter Engine from 4d5fea97e933 to 3d8163f47919 (1 revision) (#155136)
4d5fea97e9...3d8163f479

2024-09-12 robert.ancell@canonical.com Filter out bad locales returned by g_get_language_names (flutter/engine#55091)

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 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-13 02:02:17 +00:00
LongCatIsLooong
f513a69838 Mark _LayoutBuilderElement as always clean (#154694)
Fixes https://github.com/flutter/flutter/issues/154060

The error message doesn't make sense to me since one can call `setState` during the idle phase, and I'm not sure what this is guarding against without the right error message.

In the case of #154060 the layout builder was never laid out:
```
├─child 1: _RenderLayoutBuilder#7c319 NEEDS-LAYOUT NEEDS-PAINT
│   creator: LayoutBuilder ← _BodyBuilder ← MediaQuery ←
│     LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ←
│     _ActionsScope ← Actions ← AnimatedBuilder ← DefaultTextStyle ←
│     AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#1f6eb ink
│     renderer] ← NotificationListener<LayoutChangedNotification> ← ⋯
│   parentData: offset=Offset(0.0, 0.0); id=_ScaffoldSlot.body
│   constraints: MISSING
│   size: MISSING
```
So https://github.com/flutter/flutter/pull/154681 doesn't really fix #154060 since the layout callback cannot be run without a set of valid constraints. 

Before the `BuildScope` change all `_inDirtyList` flags were unset after the `BuildOwner` finishes rebuilding the widget tree, so `LayoutBuilder._inDirtyLst` is always set to false after a frame even for layout builders that were never laid out.
With the `BuildScope` change, `LayoutBuilder` has its own `BuildScope` which is only flushed after LayoutBuilder gets its constraints.
2024-09-13 01:24:11 +00:00
Matan Lurey
c53db189c1 Remove now unused extra args/opts/env from run_tests.py. (flutter/engine#55164)
As a result of https://github.com/flutter/flutter/issues/133569, Dart tests all use the standard `dart test` runner _or_ `engine_repo_tools` to find paths.
2024-09-13 01:22:18 +00:00
engine-flutter-autoroll
3f78a5b1fc Roll Flutter Engine from 8609af642725 to 4d5fea97e933 (7 revisions) (#155134)
8609af6427...4d5fea97e9

2024-09-12 matanlurey@users.noreply.github.com Remove all references to `litetest` from the engine repo. (flutter/engine#55163)
2024-09-12 skia-flutter-autoroll@skia.org Roll Dart SDK from aa27c61f5859 to 23fc7751b8b2 (1 revision) (flutter/engine#55160)
2024-09-12 skia-flutter-autoroll@skia.org Roll Skia from bcbc3038a8ad to 515a23f3cbe1 (2 revisions) (flutter/engine#55161)
2024-09-12 bdero@google.com Remove Impeller Scene 👋 (flutter/engine#55118)
2024-09-12 skia-flutter-autoroll@skia.org Roll Skia from 26b048c6a53b to bcbc3038a8ad (3 revisions) (flutter/engine#55159)
2024-09-12 matanlurey@users.noreply.github.com Move `zircon_tests` from `package:litetest` to `package:async_helper`. (flutter/engine#55149)
2024-09-12 34871572+gmackall@users.noreply.github.com Add a note about re generating Gradle lockfiles (flutter/engine#55150)

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 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-13 01:06:24 +00:00
Matan Lurey
02d5118165 Remove assert(() {... }) and other unnecessary patterns in dart:ui tests (flutter/engine#55165)
Closes https://github.com/flutter/flutter/issues/155054, where we
decided this was correct to do.

As a bonus I improved an `assert` message :)
2024-09-12 17:40:52 -07:00
Robert Ancell
420b1b5d44 Filter out bad locales returned by g_get_language_names (flutter/engine#55091)
We're seeing issues with and "und" (undefined) locale and exceptions in
applications (see https://github.com/ubuntu/app-center/issues/1659). It
seems the GLib method for getting the language names doesn't clean up
invalid values, so we should do that.
2024-09-13 11:40:52 +12:00
zijiehe@
fc9220c981 Disable fuchsia in flutter_tools (#155111)
This change disables fuchsia in flutter_tools, most of the fuchsia logic becomes no-op, so the test cases need to be removed altogether.

This change needs to go first to avoid breaking dependencies.

Bug: b/353729557
2024-09-12 23:40:06 +00:00
Matan Lurey
425e6c707d Remove all references to litetest from the engine repo. (flutter/engine#55163)
Closes https://github.com/flutter/flutter/issues/133569.
2024-09-12 16:26:25 -07:00
John McDole
b755641559 Address frame policy benchmark flakes (#155130)
Recently the microbenchmarks were flakey, but from an older bug. Turns out, `LiveTestWidgetsFlutterBindingFramePolicy` is defaulted to `fadePointers` with this fun note:

> This can result in additional frames being pumped beyond those that
the test itself requests, which can cause differences in behavior

Both `text_intrinsic_bench` and `build_bench` use a similar pattern:
* Load stocks app
* Open the menu
* Switch to `benchmark` frame policy

What happens, rarely, is that
`LiveTestWidgetsFlutterBinding.pumpBenchmark()` will call (async) `handleBeginFrame` and `handleDrawFrame`. `handleDrawFrame` juggles a tri-state boolean (null, false, true). This boolean is only reset to `null` when handleDrawFrame is called back to back, say, from an extra frame that was scheduled.

1. Switch tri-state boolean to an enum, its easier to read
2. remove asserts that compile away in benchmarks (`--profile`)
3. use `Error.throwWithStackTrace` to keep stack traces.

I've been running this test on device lab hardware for hundreds of runs and have not hit a failure yet.

Fixes #150542
Fixes #150543 - throw stack!
2024-09-12 23:19:15 +00:00
engine-flutter-autoroll
74caead4cd Roll Flutter Engine from 48ddaf578fb0 to 8609af642725 (11 revisions) (#155128)
48ddaf578f...8609af6427

2024-09-12 30870216+gaaclarke@users.noreply.github.com Revert "Update Color to do all calculations with floating point components" (flutter/engine#55153)
2024-09-12 matanlurey@users.noreply.github.com Migrate more tests from `litetest` to `package:test` (flutter/engine#55119)
2024-09-12 skia-flutter-autoroll@skia.org Roll Skia from acff7f24ddbe to 26b048c6a53b (1 revision) (flutter/engine#55151)
2024-09-12 skia-flutter-autoroll@skia.org Roll Dart SDK from a438066d634f to aa27c61f5859 (8 revisions) (flutter/engine#55147)
2024-09-12 bungeman@chromium.org Update Skia build for Vulkan headers (flutter/engine#55143)
2024-09-12 skia-flutter-autoroll@skia.org Roll Skia from 2b40b50ea423 to acff7f24ddbe (1 revision) (flutter/engine#55144)
2024-09-12 30870216+gaaclarke@users.noreply.github.com Update Color to do all calculations with floating point components (flutter/engine#54981)
2024-09-12 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from fKNT8lbGh8JzxjE6m... to 3YH1DEYJ-s93fHBw5... (flutter/engine#55142)
2024-09-12 matanlurey@users.noreply.github.com Migrate `const_finder_test` to use `package:test` (flutter/engine#55132)
2024-09-12 jonahwilliams@google.com [engine] make UI thread the platform thread for Android. Still allows opt out as g3 escape hatch. (flutter/engine#55111)
2024-09-12 skia-flutter-autoroll@skia.org Roll Skia from b750cbedc114 to 2b40b50ea423 (1 revision) (flutter/engine#55141)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from fKNT8lbGh8Jz to 3YH1DEYJ-s93

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 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-12 23:19:13 +00:00
skia-flutter-autoroll
cf2deecf07 Roll Dart SDK from aa27c61f5859 to 23fc7751b8b2 (1 revision) (flutter/engine#55160)
https://dart.googlesource.com/sdk.git/+log/aa27c61f5859..23fc7751b8b2

2024-09-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-248.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-12 22:39:55 +00:00
skia-flutter-autoroll
fcd1ed4bcd Roll Skia from bcbc3038a8ad to 515a23f3cbe1 (2 revisions) (flutter/engine#55161)
https://skia.googlesource.com/skia.git/+log/bcbc3038a8ad..515a23f3cbe1

2024-09-12 lukasza@chromium.org [rust png] Handling interlaced images in `onIncrementalDecode`.
2024-09-12 jvanverth@google.com Reland "[graphite] Add analytic clip support."

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-12 22:39:52 +00:00
Brandon DeRosier
16acb8258a Remove Impeller Scene 👋 (flutter/engine#55118)
Impeller Scene has been fully rewritten as a Dart library for Flutter: https://pub.dev/packages/flutter_scene
2024-09-12 14:56:08 -07:00
dependabot[bot]
5e28f3fe7d Bump peter-evans/create-pull-request from 7.0.1 to 7.0.2 (#155126)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.1 to 7.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v7.0.2</h2>
<p>⚙️ Fixes an issue with commit signing when a change was detected as being a rename or copy.</p>
<h2>What's Changed</h2>
<ul>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.48 to 18.19.50 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/peter-evans/create-pull-request/pull/3320">peter-evans/create-pull-request#3320</a></li>
<li>build(deps-dev): bump typescript from 5.5.4 to 5.6.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/peter-evans/create-pull-request/pull/3319">peter-evans/create-pull-request#3319</a></li>
<li>fix: disable diff detection for renames and copies by <a href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in <a href="https://redirect.github.com/peter-evans/create-pull-request/pull/3330">peter-evans/create-pull-request#3330</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/peter-evans/create-pull-request/compare/v7.0.1...v7.0.2">https://github.com/peter-evans/create-pull-request/compare/v7.0.1...v7.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d121e62763"><code>d121e62</code></a> fix: disable diff detection for renames and copies (<a href="https://redirect.github.com/peter-evans/create-pull-request/issues/3330">#3330</a>)</li>
<li><a href="f4d66f4d5a"><code>f4d66f4</code></a> build(deps-dev): bump typescript from 5.5.4 to 5.6.2 (<a href="https://redirect.github.com/peter-evans/create-pull-request/issues/3319">#3319</a>)</li>
<li><a href="488c869d17"><code>488c869</code></a> build(deps-dev): bump <code>@​types/node</code> from 18.19.48 to 18.19.50 (<a href="https://redirect.github.com/peter-evans/create-pull-request/issues/3320">#3320</a>)</li>
<li><a href="5354f85616"><code>5354f85</code></a> docs: update readme</li>
<li>See full diff in <a href="8867c4aba1...d121e62763">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=7.0.1&new-version=7.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2024-09-12 21:43:24 +00:00
LongCatIsLooong
dbb588b6e8 Prevent the keyboard from reshowing on iOS (#154584)
Fixes https://github.com/flutter/flutter/issues/154156

Some iOS keyboard implementations change the selection in the text field if dismissed with active composing regions. The framework should not call `requestKeyboard` in such cases since that would bring up the keyboard again. 
In general the `TextInput.show` call is not needed for selection only changes. For working around https://github.com/flutter/flutter/issues/68571 the show call is needed only if we restarted the input on Android (and we don't restart on selection-only changes any way).
2024-09-12 21:29:13 +00:00
skia-flutter-autoroll
f7e96f81a9 Roll Skia from 26b048c6a53b to bcbc3038a8ad (3 revisions) (flutter/engine#55159)
https://skia.googlesource.com/skia.git/+log/26b048c6a53b..bcbc3038a8ad

2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 5a507062e158 to bc0954c735ac (6 revisions)
2024-09-12 bungeman@google.com Use implementation_deps to hide vulkan headers
2024-09-12 bungeman@google.com Add "git_revision:" to bin/fetch-sk desired_version

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-12 21:21:27 +00:00
Matan Lurey
ca6c46441e Move zircon_tests from package:litetest to package:async_helper. (flutter/engine#55149)
The engine has historically used `package:litetest`, a home grown invention that is a wrapper around the Dart SDK.

In https://github.com/flutter/flutter/issues/133569, we've moved over to the heavier weight `package:test`, which has been simplified since first evaluated by the Dart SDK vending the dependencies we need. The last user of `package:litetest` is a single test in the Fuchsia SDK, `zircon_tests`.

This PR migrates the test from `litetest` (which will be deleted) to the Dart SK vendored `async_minittest`. For this simple test case, there is only a 1-line behavioral change (`notEquals(foo)` becomes `!= foo, true`), and it allows us to remove dependencies from the tree.
2024-09-12 21:10:52 +00:00
Gray Mackall
bc422dfe62 Add a note about re generating Gradle lockfiles (flutter/engine#55150)
Adds a note that Gradle lockfile generation is necessary when updating the android embedding dependencies bundle.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-09-12 21:10:49 +00:00
Kristen McWilliam
ea3c3e719e fix(Linux): specify application id (#154522)
This change sets the program name to the application ID, which helps various
systems like GTK and desktop environments map this running application to its
corresponding .desktop file. This ensures better integration by allowing the
application to be recognized beyond its binary name.

Notably, this is necessary on Wayland to map the running application window to
the desktop file, and therefore apply the correct icon.

I've tested that this works in both GNOME & KDE Wayland sessions.

Partially addresses https://github.com/flutter/flutter/issues/53229

Resolves https://github.com/flutter/flutter/issues/154521

## Icon Association

### Task switcher

The task switcher shows the application's icon in the bottom-middle. Before it only showed a generic Wayland icon.

| Before 	| After 	|
|--------	|-------	|
| ![before1](https://github.com/user-attachments/assets/6f9392f3-c6ff-4ea4-b71b-7186949e2afd) |![after1](https://github.com/user-attachments/assets/e70d394a-a880-42c9-8409-6b975fb59ce1) |

### Window Decorations

KDE shows the application's icon on the window decorations, at the top-left.  Before it only showed a generic Wayland icon.

| Before 	| After 	|
|--------	|-------	|
| ![before2](https://github.com/user-attachments/assets/8076ccf8-79c7-4a60-b12b-2fe1ccf9c393) | ![after2](https://github.com/user-attachments/assets/7a96def2-030c-45c4-9c3f-403256b5da07) |
2024-09-12 20:52:50 +00:00
gaaclarke
f9093e1b13 Revert "Update Color to do all calculations with floating point components" (flutter/engine#55153)
Reverts flutter/engine#54981

This is causing failures in customer tests that need to be updated:
https://github.com/flutter/flutter/pull/155107/checks?check_run_id=30069840819
2024-09-12 13:01:37 -07:00
Matan Lurey
37f629a23f Migrate more tests from litetest to package:test (flutter/engine#55119)
Partial work towards https://github.com/flutter/flutter/issues/133569.

Commentary on removal of `assert`-conditionals here: https://github.com/flutter/flutter/issues/155054.
2024-09-12 19:01:05 +00:00
Kevin Chisholm
afaecd9bf0 update changelog on master (#155109)
Merges changes from stable to master.
2024-09-12 18:58:57 +00:00
skia-flutter-autoroll
894273cab7 Roll Skia from acff7f24ddbe to 26b048c6a53b (1 revision) (flutter/engine#55151)
https://skia.googlesource.com/skia.git/+log/acff7f24ddbe..26b048c6a53b

2024-09-12 kjlubick@google.com Reland "Move SkMSec out of public API"

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-12 18:43:21 +00:00
skia-flutter-autoroll
e1f762166b Roll Dart SDK from a438066d634f to aa27c61f5859 (8 revisions) (flutter/engine#55147)
https://dart.googlesource.com/sdk.git/+log/a438066d634f..aa27c61f5859

2024-09-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-247.0.dev
2024-09-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-246.0.dev
2024-09-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-245.0.dev
2024-09-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-244.0.dev
2024-09-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-243.0.dev
2024-09-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-242.0.dev
2024-09-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-241.0.dev
2024-09-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-240.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-12 18:17:50 +00:00
Chris Bracken
0cd170798c iOS: update provisioning profile for 2024-2025 cert (#155101)
Tells our iOS bots to use the provisioning profile stored in the flutter_internal/mac/mobileprovision CIPD packages tagged `version:to_2025`.

This CIPD package contains an updated provisioning profile which supports both the current development signing certificate expiring in October 2024, and the updated signing cert expiring in August 2025.

CIPD packages can be seen at:
https://chrome-infra-packages.appspot.com/p/flutter_internal/mac/mobileprovision

This is a reland of #155052, except without the removal of the CIPD dependency from the devicelab bots. After landing the original, many devicelab bots (and only devicelab bots) started failing with signing errors. The devicelab bots *should* be getting their certs/provisioning profile via the devicelab Salt configuration server (Googlers, see: go/flutter-salt) but it's possible some tests are fetching it from the CIPD package instead. This new patch simply updates the CIPD package version wherever it was already present. We can attempt to remove the CIPD package dependency from devicelab bots in a followup PR, and switch those over to using the profile installed via Salt (these are the same profile).

Required for: https://g-issues.chromium.org/issues/366034566
Issue: https://github.com/flutter/flutter/issues/152888
2024-09-12 18:15:58 +00:00
engine-flutter-autoroll
97a959c53e Roll Packages from 4c18648650ae to 91caa7a6e3dd (2 revisions) (#155103)
4c18648650...91caa7a6e3

2024-09-11 50643541+Mairramer@users.noreply.github.com [two_dimensional_scrollables] Fix TreeView bug when animation duration is zero (flutter/packages#7475)
2024-09-11 109111084+yaakovschectman@users.noreply.github.com [google_maps_flutter_platform_interface] Fix typo in CameraUpdateNewLatLngBounds.toJson (flutter/packages#7626)

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-12 18:14:42 +00:00
Gray Mackall
303f222e17 Manual roll to 48ddaf578fb0c8326d5b4b680b0f49ea72e33216 (#155070)
Manual roll, because https://github.com/flutter/engine/pull/55095 updates dependencies, and so it needs gradle lockfiles re generated.
2024-09-12 17:58:12 +00:00
Reid Baker
90aa59f6c3 Externalize and update onboarding instructions (#154730)
Part 1/n #154724 

## 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 `///`).
- [ ] 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.

---------

Co-authored-by: Tirth <pateltirth454@gmail.com>
Co-authored-by: Navaron Bracke <brackenavaron@gmail.com>
2024-09-12 13:14:53 -04:00
bungeman
f0da23fb69 Update Skia build for Vulkan headers (flutter/engine#55143)
Skia has its own set of Vulkan headers which Skia Vulkan sources expect
to be compiled against. This internal set of Vulkan headers should not
be seen by any users. Instead, users provide their own set of Vulkan
headers and Skia's public Vk headers will use the user's Vulkan headers
when included in user sources. Unfortunately, this has not been well
enforced and Skia is making changes to ensure that Skia's set of Vulkan
headers does not leak. This change updates Flutter's build of Skia to be
compatible with these Skia changes.

Skia-Change: https://skia-review.googlesource.com/c/skia/+/898139
2024-09-12 12:51:59 -04:00
skia-flutter-autoroll
2e7368c9fc Roll Skia from 2b40b50ea423 to acff7f24ddbe (1 revision) (flutter/engine#55144)
https://skia.googlesource.com/skia.git/+log/2b40b50ea423..acff7f24ddbe

2024-09-12 robertphillips@google.com Re-enable PaintParamsKeyTest on all Graphite_Dawn jobs

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-12 16:44:20 +00:00
gaaclarke
c7d96a38bc Update Color to do all calculations with floating point components (flutter/engine#54981)
This transforms the rest of Color to use the floating point parameters.  This will likely break existing tests very subtly.  For example, colors will be slightly different in golden tests if `lerp` was ever used.

issue: https://github.com/flutter/flutter/issues/127855

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-09-12 16:30:06 +00:00
skia-flutter-autoroll
35223f997d Roll Fuchsia Linux SDK from fKNT8lbGh8JzxjE6m... to 3YH1DEYJ-s93fHBw5... (flutter/engine#55142)
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-12 16:24:05 +00:00
Andrew Kolos
d8f8613a5b when setting up the log reader for a device during flutter run, discard any RPCError thrown due to the device being disconnected (#155049)
Fixes https://github.com/flutter/flutter/issues/154903

This PR contains some refactoring. To make the actual change easier to figure out, I've tried to separate parts of the change into multiple commits for easier reviewing 🙂.

**I plan on cherry-picking this change to stable.**
2024-09-12 15:42:15 +00:00
Matan Lurey
5aee88abfb Migrate const_finder_test to use package:test (flutter/engine#55132)
... instead of some home-grown framework.

This is the last test in the engine that uses custom command line arguments to start. As of this PR, `dart test` including full debugging in an IDE works across all Dart tooling code.

I tried to make this idiomatic as much as possible without changing the logic.
2024-09-12 15:30:33 +00:00
Jonah Williams
82224f9b11 [engine] make UI thread the platform thread for Android. Still allows opt out as g3 escape hatch. (flutter/engine#55111)
Part of  https://github.com/flutter/flutter/issues/150525
2024-09-12 15:21:19 +00:00
skia-flutter-autoroll
cd917d0e0f Roll Skia from b750cbedc114 to 2b40b50ea423 (1 revision) (flutter/engine#55141)
https://skia.googlesource.com/skia.git/+log/b750cbedc114..2b40b50ea423

2024-09-12 jamesgk@google.com [ganesh] Avoid int overflow in DrawAtlasOpImpl

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-12 15:19:53 +00:00
bungeman
2289895234 Ensure Vulkan when including Skia Vulkan headers (flutter/engine#55126)
Skia is changing how it handles its internal copy of Vulkan headers to
prevent them from accidentally leaking to users and potentially
overriding the user's Vulkan headers. Users of Skia are responsible for
providing the Vulkan headers when including Skia's public Vk headers.
This change only includes Skia's public Vk headers when Flutter is
providing the Vulkan headers.
2024-09-12 08:55:07 -04:00
Martin Kustermann
f469f967d8 [dart2wasm] Move web wasm embedder to new dart2wasm embedder API (flutter/engine#55037)
This removes usages of the deprecated top-level `instantiate` and
`invoke` methods and replaces it by method calls to the embedder
objects.

See [0] for the change that introduce this embedder API.

[0] https://dart-review.googlesource.com/c/sdk/+/383242/6
2024-09-12 14:27:05 +02:00
skia-flutter-autoroll
0cbf92d4f2 Roll Skia from b66a4c7f449d to b750cbedc114 (1 revision) (flutter/engine#55137)
https://skia.googlesource.com/skia.git/+log/b66a4c7f449d..b750cbedc114

2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 1a5fee1063fc to f0919be383d0 (1 revision)

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-12 12:22:17 +00:00
skia-flutter-autoroll
8a7afe69de Roll Skia from 1dd44e41b08c to b66a4c7f449d (1 revision) (flutter/engine#55133)
https://skia.googlesource.com/skia.git/+log/1dd44e41b08c..b66a4c7f449d

2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 6526c75bbc69 to 5a507062e158 (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-12 08:12:05 +00:00
skia-flutter-autoroll
ac9e5a3fbf Roll Skia from e32486ebf787 to 1dd44e41b08c (4 revisions) (flutter/engine#55131)
https://skia.googlesource.com/skia.git/+log/e32486ebf787..1dd44e41b08c

2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 5354a104db7a to be2b58e20037 (9 revisions)
2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 611fbcfa6d73 to 2f71cb364e4e (4 revisions)
2024-09-12 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll ANGLE from 501887159116 to 1a5fee1063fc (18 revisions)
2024-09-11 jvanverth@google.com Revert "[graphite] Do a compact() step when we purge DrawAtlases."

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-12 06:36:35 +00:00