83702 Commits

Author SHA1 Message Date
Robert Ancell
e5ecdd9c94 Fix dispose methods that didn't chain the parent. (flutter/engine#55794)
Remove empty dispose methods and convert finalize methods to dispose for
consistency.
2024-10-14 09:40:47 +13:00
skia-flutter-autoroll
c750e8e56f Roll Fuchsia Linux SDK from tNuwSyjjbdU9HjOwQ... to 2cTD8TkGBMX2IssGl... (flutter/engine#55862)
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 jacksongardner@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-10-13 18:38:23 +00:00
engine-flutter-autoroll
c083cbcf89 Roll Flutter Engine from 04f82d07c7fe to c2ef73e32f27 (1 revision) (#156671)
04f82d07c7...c2ef73e32f

2024-10-13 skia-flutter-autoroll@skia.org Roll Skia from 88cb2bff3842 to d6d3c4f624a3 (1 revision) (flutter/engine#55861)

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 jacksongardner@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-10-13 17:19:24 +00:00
skia-flutter-autoroll
0af03c79c7 Roll Skia from 88cb2bff3842 to d6d3c4f624a3 (1 revision) (flutter/engine#55861)
https://skia.googlesource.com/skia.git/+log/88cb2bff3842..d6d3c4f624a3

2024-10-13 michaelludwig@google.com [graphite] Rebind textures on pipeline changes w/ dst-copy

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,fmalita@google.com,jacksongardner@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-10-13 15:45:38 +00:00
engine-flutter-autoroll
b58fb12162 Roll Flutter Engine from ea311c957176 to 04f82d07c7fe (1 revision) (#156665)
ea311c9571...04f82d07c7

2024-10-13 skia-flutter-autoroll@skia.org Roll Skia from d2833b68c8c7 to 88cb2bff3842 (2 revisions) (flutter/engine#55853)

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 jacksongardner@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-10-13 08:01:39 +00:00
skia-flutter-autoroll
021131d643 Roll Skia from d2833b68c8c7 to 88cb2bff3842 (2 revisions) (flutter/engine#55853)
https://skia.googlesource.com/skia.git/+log/d2833b68c8c7..88cb2bff3842

2024-10-12 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll ANGLE from 3ef8d1714d61 to e7f0d107f258 (14 revisions)
2024-10-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from ab901eb0f984 to e0070499f409 (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 brianosman@google.com,jacksongardner@google.com,jvanverth@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-10-13 00:32:22 +00:00
engine-flutter-autoroll
05ef4d3131 Roll Flutter Engine from b39fec6d97d1 to ea311c957176 (8 revisions) (#156658)
b39fec6d97...ea311c9571

2024-10-12 zanderso@users.noreply.github.com Roll buildroot for flutter/buildroot#912 (flutter/engine#55818)
2024-10-12 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Manual roll Dart SDK from d916a5f69a48 to 75bf9e183a33 (1 revision) (#55838)" (flutter/engine#55850)
2024-10-12 flar@google.com Delete last usages of MockCanvas test mechanism (flutter/engine#55840)
2024-10-12 skia-flutter-autoroll@skia.org Roll Skia from 97cebfb06139 to d2833b68c8c7 (9 revisions) (flutter/engine#55846)
2024-10-12 jonahwilliams@google.com [Impeller] delete a bunch of dead filter code. (flutter/engine#55841)
2024-10-12 55750689+AthulJoseph27@users.noreply.github.com [Impeller] Added support to set polygon mode in Flutter GPU. (flutter/engine#55804)
2024-10-11 skia-flutter-autoroll@skia.org Manual roll Dart SDK from d916a5f69a48 to 75bf9e183a33 (1 revision) (flutter/engine#55838)
2024-10-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 1OZ2rHDklRNSZRUrc... to tNuwSyjjbdU9HjOwQ... (flutter/engine#55837)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from 1OZ2rHDklRNS to tNuwSyjjbdU9

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 jacksongardner@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-10-12 21:30:37 +00:00
Zachary Anderson
5ee907fdf7 Roll buildroot for flutter/buildroot#912 (flutter/engine#55818)
This change switches from using `xcodebuild` to `xcrun` for discovering the paths of installed Apple SDKs. `xcrun` tries reading this information from a cache first, which may help avoid timeouts in CI.

Related https://github.com/flutter/flutter/issues/155106
2024-10-12 19:09:23 +00:00
auto-submit[bot]
65114d1bfb Reverts "Manual roll Dart SDK from d916a5f69a48 to 75bf9e183a33 (1 revision) (#55838)" (flutter/engine#55850)
Reverts: flutter/engine#55838
Initiated by: zanderso
Reason for reverting: Blocking roll to the framework due to https://github.com/flutter/flutter/issues/156654
Original PR Author: skia-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

Manual roll requested by zra@google.com

https://dart.googlesource.com/sdk.git/+log/d916a5f69a48..75bf9e183a33

2024-10-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-0.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 dart-vm-team@google.com,jacksongardner@google.com,zra@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-10-12 17:17:46 +00:00
Jatin Nagar
b3491acb0d RadioListTile: add property to scale the radio (#156292)
Added a property in the RadioListTile to scale the underlying Radio using `Transform.scale`.

Fixes: #81334
2024-10-12 15:50:36 +00:00
Ildeberto Vasconcelos
ba778dea6d Add test for AutofillGroup api example (#156439)
Write Tests for API Examples of `autoffil_group`  as part  of https://github.com/flutter/flutter/issues/130459

This are tests of snippets used in [AutofillGroup class](https://api.flutter.dev/flutter/widgets/AutofillGroup-class.html)
2024-10-12 13:54:31 +00:00
Viraj Kanwade
0eedec47c2 Updated iPhone enable developer mode instructions (#154511)
The instructions specify to enable Developer Mode in Privacy and Security. But Developer Mode option is not available, unless you open Xcode and reconnect the device.

___________
9/23 edit from @andrewkolos: See https://stackoverflow.com/questions/77648341/flutter-not-reading-device-developer-mode-setting
2024-10-12 06:23:13 +00:00
Jatin Nagar
63dd042e72 CheckboxListTile: use Transform.scale only when required (#156593)
Make CheckboxListTile use `Transform.scale` only when required.

Fixes: #81334
2024-10-12 05:37:38 +00:00
Jim Graham
9e747c2eb6 Delete last usages of MockCanvas test mechanism (flutter/engine#55840)
The MockCanvas API was originally used to test the output of rendering methods to match them against a reference set of "MockData" structures. This API has been superseded by just using a DisplayListBuilder to record reference operations and then to compare the resulting DisplayList objects.

This PR deletes the last remaining uses of MockCanvas as well as the mechanism itself.
2024-10-12 05:15:17 +00:00
skia-flutter-autoroll
8da20b0a97 Roll Skia from 97cebfb06139 to d2833b68c8c7 (9 revisions) (flutter/engine#55846)
https://skia.googlesource.com/skia.git/+log/97cebfb06139..d2833b68c8c7

2024-10-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 73fd75175922 to ab901eb0f984 (7 revisions)
2024-10-11 bungeman@google.com Clean up references to SkDevice::createDevice
2024-10-11 fmalita@google.com [skottie] Fix Viewer crash on invalid json inputs
2024-10-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f58427c0db47 to 73fd75175922 (3 revisions)
2024-10-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from ae5c3b969e66 to 3ef8d1714d61 (6 revisions)
2024-10-11 cwallez@chromium.org DawnCaps: Prepare for Dawn's output stuct StringView change.
2024-10-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from bf6353777f11 to 462486a81e05 (6 revisions)
2024-10-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 68d8508758f2 to f3c7cc5c580e (31 revisions)
2024-10-10 jreck@google.com Fix SkRRect::dumpToString

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,jacksongardner@google.com,jvanverth@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-10-12 03:21:05 +00:00
Jonah Williams
c9f0e8a458 [Impeller] delete a bunch of dead filter code. (flutter/engine#55841)
All of these filter graph methods are not used or only used to test themselves in a limited unit test. Delete!
2024-10-12 02:15:23 +00:00
AthulJoseph
3214f65fa3 [Impeller] Added support to set polygon mode in Flutter GPU. (flutter/engine#55804)
Added support to set polygon mode in Flutter GPU. This fixes the issue [#142732](https://github.com/flutter/flutter/issues/142732).
2024-10-12 01:07:36 +00:00
skia-flutter-autoroll
96ab9b9e30 Manual roll Dart SDK from d916a5f69a48 to 75bf9e183a33 (1 revision) (flutter/engine#55838)
Manual roll requested by zra@google.com

https://dart.googlesource.com/sdk.git/+log/d916a5f69a48..75bf9e183a33

2024-10-08 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-0.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 dart-vm-team@google.com,jacksongardner@google.com,zra@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-10-11 23:42:53 +00:00
skia-flutter-autoroll
3f6fabf728 Roll Fuchsia Linux SDK from 1OZ2rHDklRNSZRUrc... to tNuwSyjjbdU9HjOwQ... (flutter/engine#55837)
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 jacksongardner@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-10-11 23:41:19 +00:00
engine-flutter-autoroll
c667c97c3f Roll Flutter Engine from bc3b18085b7e to b39fec6d97d1 (1 revision) (#156619)
bc3b18085b...b39fec6d97

2024-10-11 chinmaygarde@google.com [Impeller] libImpeller: Upload missing arm artifacts. (flutter/engine#55790)

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 jacksongardner@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-10-11 21:55:42 +00:00
Bruno Leroux
9e64b67111 Improve InputDecoration.errorMaxLines documentation (#156468)
## Description

This PR improves the `InputDecoration.errorMaxLines` and `InputDecoration.helperMaxLines` documentations to explain when wrapping and ellipsing are applied.

## Related Issue

Fixes [InputDecoration.errorMaxLines's documentation does not match behavior](https://github.com/flutter/flutter/issues/155626).
2024-10-11 21:35:27 +00:00
Parker Lougheed
2682633381 Remove non-functional, deprecated package_api_docs lint (#156603)
Reference: https://github.com/dart-lang/linter/issues/5107
2024-10-11 21:17:19 +00:00
engine-flutter-autoroll
1fb077118d Roll Flutter Engine from d13cbfb6f38a to bc3b18085b7e (3 revisions) (#156609)
d13cbfb6f3...bc3b18085b

2024-10-11 98614782+auto-submit[bot]@users.noreply.github.com Reverts "[Fuchsia] Use more high level fuchsia-gn-sdk templates (#55445)" (flutter/engine#55834)
2024-10-11 chinmaygarde@google.com [Impeller] libImpeller: Fix missing exports on some paint methods. (flutter/engine#55814)
2024-10-11 68449066+zijiehe-google-com@users.noreply.github.com [fuchsia] Use the right versioned libs according to the target-api-level (flutter/engine#55786)

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 jacksongardner@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-10-11 20:53:20 +00:00
RamonFarizel
51aa2f5809 Add code sample to the CupertinoMagnifier/CupertinoTextMagnifier (#156028)
This PR adds code samples regarding the CupertinoMagnifier and CupertinoTextMagnifier

Fixes #154439
2024-10-11 20:53:18 +00:00
Taha Tesser
45033a29f9 Introduce DropdownMenu.closeBehavior to control menu closing behavior (#156405)
Fixes [Add option to control whether the root DropdownMenu can be closed or not](https://github.com/flutter/flutter/issues/139269)

This introduces  `DropdownMenu.closeBehavior` to provide control over `DropdownMenu` can be closed in nested menus.

### 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 StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String selectedValue = "1";

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              Column(
                spacing: 16.0,
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("DropdownMenuCloseBehavior.none"),
                  MenuAnchor(
                    menuChildren: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: DropdownMenu(
                          closeBehavior: DropdownMenuCloseBehavior.none,
                          label: const Text('Menu'),
                          initialSelection: selectedValue,
                          onSelected: (String? value) {
                            if (value != null) {
                              setState(() {
                                selectedValue = value;
                              });
                            }
                          },
                          dropdownMenuEntries: ["1", "2", "3"]
                              .map(
                                (it) => DropdownMenuEntry(
                                  value: it,
                                  label: it,
                                ),
                              )
                              .toList(),
                        ),
                      )
                    ],
                    child: const Text('Open Menu'),
                    builder: (context, controller, child) {
                      return ElevatedButton(
                        onPressed: () {
                          controller.open();
                        },
                        child: child,
                      );
                    },
                  ),
                ],
              ),
              Column(
                spacing: 16.0,
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("DropdownMenuCloseBehavior.self"),
                  MenuAnchor(
                    menuChildren: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: DropdownMenu(
                          closeBehavior: DropdownMenuCloseBehavior.self,
                          label: const Text('Menu'),
                          initialSelection: selectedValue,
                          onSelected: (String? value) {
                            if (value != null) {
                              setState(() {
                                selectedValue = value;
                              });
                            }
                          },
                          dropdownMenuEntries: ["1", "2", "3"]
                              .map(
                                (it) => DropdownMenuEntry(
                                  value: it,
                                  label: it,
                                ),
                              )
                              .toList(),
                        ),
                      )
                    ],
                    child: const Text('Open Menu'),
                    builder: (context, controller, child) {
                      return ElevatedButton(
                        onPressed: () {
                          controller.open();
                        },
                        child: child,
                      );
                    },
                  ),
                ],
              ),
              Column(
                spacing: 16.0,
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text("DropdownMenuCloseBehavior.all"),
                  MenuAnchor(
                    menuChildren: <Widget>[
                      Padding(
                        padding: const EdgeInsets.all(8.0),
                        child: DropdownMenu(
                          closeBehavior: DropdownMenuCloseBehavior.all,
                          label: const Text('Menu'),
                          initialSelection: selectedValue,
                          onSelected: (String? value) {
                            if (value != null) {
                              setState(() {
                                selectedValue = value;
                              });
                            }
                          },
                          dropdownMenuEntries: ["1", "2", "3"]
                              .map(
                                (it) => DropdownMenuEntry(
                                  value: it,
                                  label: it,
                                ),
                              )
                              .toList(),
                        ),
                      )
                    ],
                    child: const Text('Open Menu'),
                    builder: (context, controller, child) {
                      return ElevatedButton(
                        onPressed: () {
                          controller.open();
                        },
                        child: child,
                      );
                    },
                  ),
                ],
              ),
            ],
          ),
        ),
      ),
    );
  }
}
```

</details>

### Demo

https://github.com/user-attachments/assets/1f79ea6e-c0c6-4dcf-8180-d9dcca1c22c5
2024-10-11 20:51:18 +00:00
Chinmay Garde
19709fe088 [Impeller] libImpeller: Upload missing arm artifacts. (flutter/engine#55790)
Should have been a part of 9910c947f6 but I missed these.
2024-10-11 20:23:45 +00:00
Jonah Williams
56e2a9d380 [devicelab] remove raster cache benchmarks. (#156600)
Death to the raster cache!
2024-10-11 19:46:21 +00:00
auto-submit[bot]
c1a301e8e8 Reverts "Manual pub roll (#156549)" (#156607)
Reverts: flutter/flutter#156549
Initiated by: christopherfujino
Reason for reverting: https://github.com/flutter/flutter/issues/156606
Original PR Author: christopherfujino

Reviewed By: {matanlurey}

This change reverts the following previous change:
I manually ran:

```
flutter update-packages --force-upgrade
cd dev/tools && dart bin/generate_gradle_lockfiles.dart --no-gradle-generation --no-exclusion
```

Note this bumps the `google_mobile_ads` plugin, which caused https://github.com/flutter/flutter/issues/156474. I expect it to work this time after https://flutter-review.googlesource.com/c/recipes/+/60340
2024-10-11 18:52:18 +00:00
engine-flutter-autoroll
7da0c10245 Roll Flutter Engine from e41a7629654a to d13cbfb6f38a (1 revision) (#156602)
e41a762965...d13cbfb6f3

2024-10-11 68449066+zijiehe-google-com@users.noreply.github.com [Fuchsia] Use more high level fuchsia-gn-sdk templates (flutter/engine#55445)

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 jacksongardner@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-10-11 18:06:16 +00:00
Christopher Fujino
184deff0f2 Manual pub roll (#156549)
I manually ran:

```
flutter update-packages --force-upgrade
cd dev/tools && dart bin/generate_gradle_lockfiles.dart --no-gradle-generation --no-exclusion
```

Note this bumps the `google_mobile_ads` plugin, which caused https://github.com/flutter/flutter/issues/156474. I expect it to work this time after https://flutter-review.googlesource.com/c/recipes/+/60340
2024-10-11 17:57:36 +00:00
auto-submit[bot]
205b056c01 Reverts "[Fuchsia] Use more high level fuchsia-gn-sdk templates (#55445)" (flutter/engine#55834)
Reverts: flutter/engine#55445
Initiated by: zijiehe-google-com
Reason for reverting: This change would break the build_fuchsia_artifacts.py without https://github.com/flutter/engine/pull/55832/files. I'd merge two into one.
Original PR Author: zijiehe-google-com

Reviewed By: {jrwang}

This change reverts the following previous change:
This change removes the in-house built pm-based build rules in favor of the high level fuchsia_component / fuchsia_package in the gn-sdk.

The build_fuchsia_artifacts.py is still using pm, and it will be handled in a following change.

Bug: http://b/353729557, http://b/368608542

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-10-11 17:51:47 +00:00
Chinmay Garde
225aa6dee4 [Impeller] libImpeller: Fix missing exports on some paint methods. (flutter/engine#55814)
cc @lyceel. I'll followup with a linker script to to verify this later.
2024-10-11 17:51:26 +00:00
zijiehe@
54e9d74b7a [fuchsia] Use the right versioned libs according to the target-api-level (flutter/engine#55786)
Except for the vulkan, target-api-level should control the versions of the other libraries rather than the ones in ToT (//fuchsia/sdk/$host_os/arch/$target_cpu/dist).

FYI: @hjfreyer
Bug: http://b/40935282

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-10-11 17:27:05 +00:00
engine-flutter-autoroll
36f2222f5e Roll Packages from f1a3da2a9f28 to 67401e169e5c (4 revisions) (#156592)
f1a3da2a9f...67401e169e

2024-10-10 engine-flutter-autoroll@skia.org Roll Flutter from 2d45fb396d to 6790525ce6 (7 revisions) (flutter/packages#7843)
2024-10-10 10687576+bparrishMines@users.noreply.github.com [webview_flutter] Updates minimum supported `webview_flutter_android` from 3.16.0 to 4.0.0 (flutter/packages#7844)
2024-10-10 49699333+dependabot[bot]@users.noreply.github.com [webview]: Bump androidx.webkit:webkit from 1.12.0 to 1.12.1 in /packages/webview_flutter/webview_flutter_android/android (flutter/packages#7801)
2024-10-10 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Fixes bug where Android would show the last frame of the previous Ad before playing the current one (flutter/packages#7835)

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 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-10-11 16:52:06 +00:00
auto-submit[bot]
72e8161da6 Reverts "Reverts "Roll Flutter Engine from 3f0e2fb48145 to e41a7629654a (4 revisions) (#156562)" (#156594)" (#156597)
Reverts: flutter/flutter#156594
Initiated by: jonahwilliams
Reason for reverting: workaround landed?
Original PR Author: auto-submit[bot]

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:
Reverts: flutter/flutter#156562
Initiated by: zanderso
Reason for reverting: Linux_mokey flutter_gallery__back_button_memory is failing repeatedly on framework CI
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

3f0e2fb481...e41a762965

2024-10-11 41930132+hellohuanlin@users.noreply.github.com [ios][platform_view] Fix Platform view gesture recognizer with iPad pencil getting stuck (flutter/engine#55724)
2024-10-11 flar@google.com [DisplayList] Create DlFoo type variants to start moving away from Skia types in API (flutter/engine#55812)
2024-10-10 jonahwilliams@google.com [engine] remove merge thread setting and fix default value. (flutter/engine#55810)
2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 1e269594df9d to 97cebfb06139 (3 revisions) (flutter/engine#55811)

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 jacksongardner@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-10-11 16:37:25 +00:00
Jonah Williams
f1f83aa909 [devicelab] handle missed lifecycle messages. (#156596)
This test waits on the application to print a message before
continuting, but that message does not reach the test post UI/platform
thread merge.

The test otherwise seems to function fine, and the app isn't crashing.
2024-10-11 09:34:24 -07:00
auto-submit[bot]
7424766f2c Reverts "Roll Flutter Engine from 3f0e2fb48145 to e41a7629654a (4 revisions) (#156562)" (#156594)
Reverts: flutter/flutter#156562
Initiated by: zanderso
Reason for reverting: Linux_mokey flutter_gallery__back_button_memory is failing repeatedly on framework CI
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

3f0e2fb481...e41a762965

2024-10-11 41930132+hellohuanlin@users.noreply.github.com [ios][platform_view] Fix Platform view gesture recognizer with iPad pencil getting stuck (flutter/engine#55724)
2024-10-11 flar@google.com [DisplayList] Create DlFoo type variants to start moving away from Skia types in API (flutter/engine#55812)
2024-10-10 jonahwilliams@google.com [engine] remove merge thread setting and fix default value. (flutter/engine#55810)
2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 1e269594df9d to 97cebfb06139 (3 revisions) (flutter/engine#55811)

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 jacksongardner@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-10-11 15:42:25 +00:00
zijiehe@
297cf4be72 [Fuchsia] Use more high level fuchsia-gn-sdk templates (flutter/engine#55445)
This change removes the in-house built pm-based build rules in favor of
the high level fuchsia_component / fuchsia_package in the gn-sdk.

The build_fuchsia_artifacts.py is still using pm, and it will be handled
in a following change.

Bug: http://b/353729557, http://b/368608542

## 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] and the [C++,
Objective-C, Java style guides].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making or feature I am
adding, or the PR is [test-exempt]. See [testing the engine] for
instructions on writing and running engine tests.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I signed the [CLA].
- [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/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2024-10-11 08:41:35 -07:00
engine-flutter-autoroll
a423dbfb0a Roll Flutter Engine from 3f0e2fb48145 to e41a7629654a (4 revisions) (#156562)
3f0e2fb481...e41a762965

2024-10-11 41930132+hellohuanlin@users.noreply.github.com [ios][platform_view] Fix Platform view gesture recognizer with iPad pencil getting stuck (flutter/engine#55724)
2024-10-11 flar@google.com [DisplayList] Create DlFoo type variants to start moving away from Skia types in API (flutter/engine#55812)
2024-10-10 jonahwilliams@google.com [engine] remove merge thread setting and fix default value. (flutter/engine#55810)
2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 1e269594df9d to 97cebfb06139 (3 revisions) (flutter/engine#55811)

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 jacksongardner@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-10-11 05:53:38 +00:00
engine-flutter-autoroll
610b35638d Roll Flutter Engine from 3ce72a28934c to 3f0e2fb48145 (2 revisions) (#156555)
3ce72a2893...3f0e2fb481

2024-10-10 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from xGr5ZkxX3CajAY1xu... to 1OZ2rHDklRNSZRUrc... (flutter/engine#55807)
2024-10-10 matanlurey@users.noreply.github.com Recognize`group`, and warn when we silently discard targets. (flutter/engine#55791)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from xGr5ZkxX3Caj to 1OZ2rHDklRNS

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 jacksongardner@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-10-11 04:17:40 +00:00
Sam Rawlins
e1dd322c8d Add doc-import for references to CommonFinders (#156539)
This adds back in the doc comment references for `CommonFinders` that
caused CI issues when @gspencergoog was trying to land
https://github.com/flutter/flutter/pull/149349.

This essentially reverts
a7721fe489.
2024-10-10 20:04:06 -07:00
hellohuanlin
21eb44914c [ios][platform_view] Fix Platform view gesture recognizer with iPad pencil getting stuck (flutter/engine#55724)
## Summary 

I came across our the "gesture recognizer delegate" implementation and it is quite odd (see below). After fixing it, the problem is resolved. However, it's hard to reason about how it's related to iPad pencil, since it's internal logic that we don't know (see my research below). 

## Gesture recognizer delegate

### Existing odd implementation

- shouldBeRequiredToFailByGestureRecognizer: 

`otherGestureRecognizer != self` is always YES because the delegate set to self, hence `gestureRecognizer` must be self, hence `otherGestureRecognizer` must not be self. 

- shouldRequireFailureOfGestureRecognizer: 

`otherGestureRecognizer == self` is always NO, for the same reason described above. 

### new implementation: 

After digging into various PRs, the idea seems to be that we want to have a precedence of "Forwarding recognizer >  Delaying recognizer > Other recognizers in platform view". 

- shouldBeRequiredToFailByGestureRecognizer:

`return otherGestureRecognizer != _forwardingRecognizer` means Delaying recognizer needs to be higher precedence than all non-Forwarding recognizer. (aka "Delaying recognizer > Other recognizers in platform view")

- shouldRequireFailureOfGestureRecognizer:

`return otherGestureRecognizer == _forwardingRecognizer` means Delaying recognizer needs to have lower precedence than forwarding recognizer. (aka "Forwarding recognizer > Delaying recognizer"). 

## Some research

This is a tricky one since pencil and finger triggers exactly the same callbacks. It turns out that when pencil is involved after finger interaction, the platform view's "forwarding" gesture recognizer is stuck at failed state. This seems to be an iOS bug, because according to [the API doc](https://developer.apple.com/documentation/uikit/uigesturerecognizerstate/uigesturerecognizerstatefailed?language=objc), it should be reset back to "possible" state:

> No action message is sent and the gesture recognizer is reset to [UIGestureRecognizerStatePossible](https://developer.apple.com/documentation/uikit/uigesturerecognizerstate/uigesturerecognizerstatepossible?language=objc).

However, when iPad pencil is involved, the state is not reset. I tried to KVO the state property, and wasn't able to capture the change. This means the state change very likely happened internally within the recognizer via the backing ivar of the state property.

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

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

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

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-10-11 02:24:43 +00:00
Jim Graham
3f0d57e071 [DisplayList] Create DlFoo type variants to start moving away from Skia types in API (flutter/engine#55812)
This is the beginning of the bulk of de-skia-fication work in the engine. All of the standard types in the DlCanvas API now have overloads that specify the corresponding Dl type, mainly for Dl*Rect and DlPoint types. This enables further work to switch from SkFoo types to DlFoo types in the various engine modules culminating in the elimination of the old methods that use the Sk types.

All of the former methods that used the basic Sk types are now implemented as inlinable translation overloads and the underlying implementations of DlCanvas now implement only the newer style interfaces so that they don't need to be further modified as we eliminate the old Skia types from the interface.

There are still a couple of Skia types remaining in the DlCanvas API without any DL type variants which will be handled in a future phase:
- SkRRect
- SkRSXform
- SkTextBlob (will be hidden behind a common interface along with TextFrame)
- SkImageInfo (only used in a few calling sites)
2024-10-11 00:42:23 +00:00
Jonah Williams
a8a7d1db42 [engine] remove merge thread setting and fix default value. (flutter/engine#55810)
When I removed the configration, I neglected the line that overrode the default from settings. This opted everyone back out. :(
2024-10-10 23:21:40 +00:00
skia-flutter-autoroll
caedaa5756 Roll Skia from 1e269594df9d to 97cebfb06139 (3 revisions) (flutter/engine#55811)
https://skia.googlesource.com/skia.git/+log/1e269594df9d..97cebfb06139

2024-10-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4480c8e9e59c to f58427c0db47 (3 revisions)
2024-10-10 michaelludwig@google.com [graphite] Re-add makeRoundOut() for dst copy bounds
2024-10-10 jvanverth@google.com [graphite] Remove analytic clip staging flag.

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,jacksongardner@google.com,jvanverth@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-10-10 23:03:41 +00:00
skia-flutter-autoroll
9519a37b6b Roll Fuchsia Linux SDK from xGr5ZkxX3CajAY1xu... to 1OZ2rHDklRNSZRUrc... (flutter/engine#55807)
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 jacksongardner@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-10-10 19:51:27 +00:00
engine-flutter-autoroll
82ebb74c64 Roll Flutter Engine from 590babc1581b to 3ce72a28934c (13 revisions) (#156541)
590babc158...3ce72a2893

2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 0a9bfc90496e to 1e269594df9d (1 revision) (flutter/engine#55801)
2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 6e4a2f266a17 to 0a9bfc90496e (2 revisions) (flutter/engine#55799)
2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 3a9e6b6a4721 to 6e4a2f266a17 (1 revision) (flutter/engine#55797)
2024-10-10 aam@google.com Roll buildroot to pick up change to --time executions (flutter/engine#55792)
2024-10-10 skia-flutter-autoroll@skia.org Roll Skia from 8c95b719bf05 to 3a9e6b6a4721 (1 revision) (flutter/engine#55793)
2024-10-09 matanlurey@users.noreply.github.com Move some `et` tests around and delete unused files. (flutter/engine#55764)
2024-10-09 yjbanov@google.com [web:a11y] make header a proper <header> (flutter/engine#55747)
2024-10-09 skia-flutter-autoroll@skia.org Roll Skia from cf9a558b3abb to 8c95b719bf05 (1 revision) (flutter/engine#55788)
2024-10-09 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Reverts "Run gen_snapshot under /usr/bin/time (#55777)" (#55787)" (flutter/engine#55789)
2024-10-09 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Run gen_snapshot under /usr/bin/time (#55777)" (flutter/engine#55787)
2024-10-09 skia-flutter-autoroll@skia.org Roll Skia from 1349ddc074ad to cf9a558b3abb (2 revisions) (flutter/engine#55785)
2024-10-09 aam@google.com Run gen_snapshot under /usr/bin/time (flutter/engine#55777)
2024-10-09 chinmaygarde@google.com [Impeller] libImpeller: Publish SDK artifacts. (flutter/engine#55783)

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 jacksongardner@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-10-10 19:45:39 +00:00
Matan Lurey
ecb7c78604 Recognizegroup, and warn when we silently discard targets. (flutter/engine#55791)
Closes https://github.com/flutter/flutter/issues/156260.

Fixes the degenerate case where you specify an unrecognized target, and it falls back to rebuilding the entire engine as if you specified nothing. In addition, added recognition of `group`.
2024-10-10 18:45:49 +00:00
John McDole
9a9b9218ee Flutter tool assumes impeller is enabled by default (#156540)
... because it is.
2024-10-10 18:44:18 +00:00
engine-flutter-autoroll
6790525ce6 Roll Packages from 9d00fb1a8e50 to f1a3da2a9f28 (5 revisions) (#156538)
9d00fb1a8e...f1a3da2a9f

2024-10-09 matanlurey@users.noreply.github.com Remove additional (harmless but annoying) native stack traces. (flutter/packages#7837)
2024-10-09 engine-flutter-autoroll@skia.org Roll Flutter from 0917e9dfdc to 2d45fb396d (50 revisions) (flutter/packages#7836)
2024-10-09 109111084+yaakovschectman@users.noreply.github.com [camera_android] Begin conversion to Pigeon (flutter/packages#7755)
2024-10-09 109111084+yaakovschectman@users.noreply.github.com [google_maps_flutter_android] Add `PlatformCap` pigeon type. (flutter/packages#7639)
2024-10-09 43054281+camsim99@users.noreply.github.com [camerax] Revert "Explicitly remove READ_EXTERNAL_STORAGE permission" (flutter/packages#7826)

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 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-10-10 18:33:39 +00:00