83702 Commits

Author SHA1 Message Date
Matan Lurey
a9e94d9045 Do not silently fail pub get even if output-mode is "none" (#153596)
I am making an assumption `OutputMode.none` should _really_ mean
`OutputMode.failuresOnly`, that is, if we ever get a non-zero exit code,
we still want to know why. If I've somehow misunderstood that, LMK and
I'm happy to revert this PR or make adjustments.

This fixes the bug where if you were to do:

```sh
git clone https://github.com/myuser/fork-of-flutter
cd fork-of-flutter
./bin/flutter update-packages
```

You now get:

1. An actual error message, versus no output at all.
2. A warning that a common reason is not tracking a remote, with
instructions to fix it.

Closes https://github.com/flutter/flutter/issues/148569.
2024-08-22 09:12:54 -07:00
Joel Winarske
5c34b2ad0e vulkan_glfw validation layer logging (flutter/engine#54607)
This PR enables printing validation output when the Vulkan validation layer is enabled.  Without this change no messages are printed which provides a false positive for the Vulkan Embedder API health.

*List which issues are fixed by this PR. You must list at least one issue.*
https://github.com/flutter/flutter/issues/153663

*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

cc @chinmaygarde 

Fixes https://github.com/flutter/flutter/issues/153663
2024-08-22 16:03:17 +00:00
engine-flutter-autoroll
544ce7cd34 Roll Flutter Engine from 3125a760ad61 to 67a7fe18c014 (1 revision) (#153932)
3125a760ad...67a7fe18c0

2024-08-22 skia-flutter-autoroll@skia.org Roll Skia from 0429e894d3f6 to 4c66b7e42027 (1 revision) (flutter/engine#54708)

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 jimgraham@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-08-22 15:21:57 +00:00
skia-flutter-autoroll
c45bc77f1a Roll Skia from 4c66b7e42027 to 7611984dc27b (1 revision) (flutter/engine#54710)
https://skia.googlesource.com/skia.git/+log/4c66b7e42027..7611984dc27b

2024-08-22 kjlubick@google.com Fix G3 build of mac_utils and ganesh_vulkan

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,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-22 14:46:24 +00:00
skia-flutter-autoroll
f3788f243e Roll Dart SDK from 025bf8d376d3 to ce160bf13347 (1 revision) (flutter/engine#54709)
https://dart.googlesource.com/sdk.git/+log/025bf8d376d3..ce160bf13347

2024-08-22 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-168.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,jimgraham@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-08-22 14:10:19 +00:00
engine-flutter-autoroll
59e6c8d52f Roll Flutter Engine from 9891efea6966 to 3125a760ad61 (1 revision) (#153923)
9891efea69...3125a760ad

2024-08-22 skia-flutter-autoroll@skia.org Roll Skia from a9af6f466355 to 0429e894d3f6 (1 revision) (flutter/engine#54707)

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 jimgraham@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-08-22 13:37:09 +00:00
Sigurd Meldgaard
dfdd5f80f2 Fix flutter test in workspace (#153919)
Follow-up to #153754.
2024-08-22 15:34:47 +02:00
skia-flutter-autoroll
1b9dc772d3 Roll Skia from 0429e894d3f6 to 4c66b7e42027 (1 revision) (flutter/engine#54708)
https://skia.googlesource.com/skia.git/+log/0429e894d3f6..4c66b7e42027

2024-08-22 kjlubick@google.com Remove unnecessary GL shim files

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,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-22 13:26:16 +00:00
engine-flutter-autoroll
2ed3dab361 Roll Flutter Engine from 8aab0da84aba to 9891efea6966 (1 revision) (#153915)
8aab0da84a...9891efea69

2024-08-22 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from XGzE3idakwfQZ68pb... to s8Qn72-dRInu0Avzn... (flutter/engine#54706)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from XGzE3idakwfQ to s8Qn72-dRInu

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 jimgraham@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-08-22 10:05:27 +00:00
engine-flutter-autoroll
8feb92e058 Roll Flutter Engine from 85d4be037314 to 8aab0da84aba (1 revision) (#153911)
85d4be0373...8aab0da84a

2024-08-22 skia-flutter-autoroll@skia.org Roll Skia from 34aa8ce13af6 to a9af6f466355 (5 revisions) (flutter/engine#54705)

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 jimgraham@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-08-22 09:02:32 +00:00
skia-flutter-autoroll
8ec12d560b Roll Skia from a9af6f466355 to 0429e894d3f6 (1 revision) (flutter/engine#54707)
https://skia.googlesource.com/skia.git/+log/a9af6f466355..0429e894d3f6

2024-08-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 36f7e03a3578 to 790e0162111b (7 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 brianosman@google.com,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-22 08:50:24 +00:00
skia-flutter-autoroll
c77dc1f3a9 Roll Fuchsia Linux SDK from XGzE3idakwfQZ68pb... to s8Qn72-dRInu0Avzn... (flutter/engine#54706)
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 jimgraham@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-08-22 07:37:24 +00:00
skia-flutter-autoroll
d88dd87247 Roll Skia from 34aa8ce13af6 to a9af6f466355 (5 revisions) (flutter/engine#54705)
https://skia.googlesource.com/skia.git/+log/34aa8ce13af6..a9af6f466355

2024-08-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 82ebd6669b10 to 504f49204b21
2024-08-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 244b54c99d6e to 82ebd6669b10 (10 revisions)
2024-08-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from a38b02612272 to f1015ca7ba5b (4 revisions)
2024-08-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 447c179b707d to 20bd94932cd1 (1 revision)
2024-08-22 jvanverth@google.com [graphite] Fix loop counter for Image_YUVA::textureSize().

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,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-22 07:31:32 +00:00
Koji Wakamiya
7a44392f3f Remove destinations length hard limit in NavigationRail widget (#152972)
> Remove destinations length hard limit in NavigationRail.

Because of https://github.com/flutter/flutter/pull/104914#issuecomment-1318871496, a new PR was opened with some new tests ([comment](https://github.com/flutter/flutter/pull/104914#discussion_r927044117)) added.

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

Related 

* https://github.com/flutter/flutter/issues/58367
* https://github.com/flutter/flutter/pull/104914
* https://github.com/flutter/flutter/issues/104913
2024-08-22 07:25:34 +00:00
engine-flutter-autoroll
879362c8ef Roll Flutter Engine from b94e0097035d to 85d4be037314 (26 revisions) (#153902)
b94e009703...85d4be0373

2024-08-22 joel.winarske@gmail.com Export GPU symbols for embedder (flutter/engine#54662)
2024-08-22 jason-simmons@users.noreply.github.com [Impeller] Remove a log message in the Vulkan back end that is visible during engine startup (flutter/engine#54699)
2024-08-22 skia-flutter-autoroll@skia.org Roll Skia from 3cd00377cefc to 34aa8ce13af6 (3 revisions) (flutter/engine#54698)
2024-08-21 chris@bracken.jp macOS: Make framework creation consistent with iOS (flutter/engine#54685)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 69f4bd859025 to 3cd00377cefc (8 revisions) (flutter/engine#54693)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 060e40916514 to 025bf8d376d3 (1 revision) (flutter/engine#54692)
2024-08-21 zanderso@users.noreply.github.com Split tests out of Linux Android artifact creation builds (flutter/engine#54683)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 249d3f07c4d5 to 69f4bd859025 (5 revisions) (flutter/engine#54691)
2024-08-21 chinmaygarde@google.com [iOS] Tweak note about OpenGL support on mac in a user facing log. (flutter/engine#54690)
2024-08-21 jonahwilliams@google.com [Impeller] use blit pass to resize decoded images. (flutter/engine#54606)
2024-08-21 matanlurey@users.noreply.github.com Remove spammy warning message on `FlutterView` (flutter/engine#54686)
2024-08-21 chinmaygarde@google.com [Impeller] Perform integrity checks for Vulkan pipeline caches. (flutter/engine#54654)
2024-08-21 chris@bracken.jp docs: use test: all rather than editing .ci.yaml (flutter/engine#54667)
2024-08-21 flar@google.com Reland "[DisplayList] Allow random access to ops through indexing" (flutter/engine#54676)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 51ac9d93850c to 249d3f07c4d5 (2 revisions) (flutter/engine#54684)
2024-08-21 chris@bracken.jp iOS,macOS: Don't archive extra framework metadata (flutter/engine#54674)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 48f9b96d71e7 to 060e40916514 (1 revision) (flutter/engine#54682)
2024-08-21 yjbanov@google.com [web] annotate obscured text fields as passwords (flutter/engine#54664)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from c31e2ca59bd9 to 51ac9d93850c (2 revisions) (flutter/engine#54681)
2024-08-21 jonahwilliams@google.com [engine] reland weaken affinity of raster/ui to non-e core instead of only fast core (flutter/engine#54616)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from c00866df101a to c31e2ca59bd9 (2 revisions) (flutter/engine#54680)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 39e5118034f4 to c00866df101a (1 revision) (flutter/engine#54678)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 221ada80b174 to 39e5118034f4 (1 revision) (flutter/engine#54677)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from d576296091e0 to 221ada80b174 (2 revisions) (flutter/engine#54675)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 49f655b526c7 to 48f9b96d71e7 (1 revision) (flutter/engine#54672)
2024-08-21 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 3a16kOsyFmJh3lo7e... to XGzE3idakwfQZ68pb... (flutter/engine#54671)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from 3a16kOsyFmJh to XGzE3idakwfQ

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 jimgraham@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-08-22 06:50:15 +00:00
Joel Winarske
1961f2c5cc Export GPU symbols for embedder (flutter/engine#54662)
This PR exports GPU symbols for the embedder library.

*List which issues are fixed by this PR. You must list at least one issue.*
https://github.com/flutter/flutter/issues/153196

*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-08-22 04:37:31 +00:00
Justin McCandless
420755dcfa Nested Navigator state restoration predictive back examples (#153723)
I've updated these two examples to support state restoration of the navigation stack and verified that they work with predictive back in the tests. This was motivated by a worry that users are not properly setting up their navigation and that our examples are misleading them in the name of simplicity.
2024-08-22 03:40:09 +00:00
Jason Simmons
203a19e82f Ensure that the output path used by perf_tests_test matches the path used by perf_tests if the FLUTTER_TEST_OUTPUTS_DIR variable is set (#153888)
A recent change to the flutter_drone recipe is setting FLUTTER_TEST_OUTPUTS_DIR in the environment (see https://flutter.googlesource.com/recipes/+/b111cd3ef2297e66905cc48c2cfedce0cf1ba46f)

If FLUTTER_TEST_OUTPUTS_DIR is set, then perf_tests will use an output path based on that variable.  perf_tests_test needs to use the same logic when looking for the expected output file.
2024-08-22 03:30:24 +00:00
Denis Bowen
a57eb8fefc fixed issue to where screen reader reads all buttons when opening datepicker (#152705)
removed container=true property from Semantics wrapper of datepicker dialog. This prevents the screen reader from reading every button in the datepicker dialog whenever a user opens it, reducing SR noise.

Before: https://screencast.googleplex.com/cast/Njc0Mzc1MDA5MTk5NzE4NHw2NTU5ODI4YS0xNA
After: https://screencast.googleplex.com/cast/NTYxMDUwOTIxMzYzMDQ2NHxjOWQ2M2YzNy1hYQ

fixes b/345297872

NOTE: Please let me know if a test is needed for this, since it is only deleting code.
2024-08-22 03:30:22 +00:00
Renzo Olivares
f6054ae521 Fix: Deleting text in EditableText with CJK keyboard while in CupertinoPageRoute throws exception (#153822)
Fixes #153003

Pressing backspace on CJK keyboards to delete text may trigger a key event which in turns triggers the `DeleteTextIntent`. This is different than English keyboards where the updated `TextEditingValue` from the `TextInputPlugin` will come through `updateEditingValue` which allows us to hit the codepath that hides the text selection toolbar. 23883b13d4/packages/flutter/lib/src/widgets/editable_text.dart (L3245-L3250) Because CJK keyboards may not hit this codepath, when the text is long and editable text tries to bring the new selection into view by scrolling, this triggers the hide context menu scroll listener in a weird state 23883b13d4/packages/flutter/lib/src/widgets/editable_text.dart (L3865-L3869) causing an exception to be thrown.

This PR tries to work around the issue above by hiding the toolbar when a `DeleteTextIntent` is received.
2024-08-22 03:19:24 +00:00
auto-submit[bot]
cd988305c4 Reverts "Roll Flutter Engine from b94e0097035d to f493c212c23e (18 revisions) (#153884)" (#153899)
Reverts: flutter/flutter#153884
Initiated by: jason-simmons
Reason for reverting: f8d553ad64 introduced a log message that is not expected by the `run_debug_test_android` devicelab test

Reverting until an engine build is available with the log removed (see https://github.com/flutter/engine/pull/54699)
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

b94e009703...f493c212c2

2024-08-21 chinmaygarde@google.com [iOS] Tweak note about OpenGL support on mac in a user facing log. (flutter/engine#54690)
2024-08-21 jonahwilliams@google.com [Impeller] use blit pass to resize decoded images. (flutter/engine#54606)
2024-08-21 matanlurey@users.noreply.github.com Remove spammy warning message on `FlutterView` (flutter/engine#54686)
2024-08-21 chinmaygarde@google.com [Impeller] Perform integrity checks for Vulkan pipeline caches. (flutter/engine#54654)
2024-08-21 chris@bracken.jp docs: use test: all rather than editing .ci.yaml (flutter/engine#54667)
2024-08-21 flar@google.com Reland "[DisplayList] Allow random access to ops through indexing" (flutter/engine#54676)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 51ac9d93850c to 249d3f07c4d5 (2 revisions) (flutter/engine#54684)
2024-08-21 chris@bracken.jp iOS,macOS: Don't archive extra framework metadata (flutter/engine#54674)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 48f9b96d71e7 to 060e40916514 (1 revision) (flutter/engine#54682)
2024-08-21 yjbanov@google.com [web] annotate obscured text fields as passwords (flutter/engine#54664)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from c31e2ca59bd9 to 51ac9d93850c (2 revisions) (flutter/engine#54681)
2024-08-21 jonahwilliams@google.com [engine] reland weaken affinity of raster/ui to non-e core instead of only fast core (flutter/engine#54616)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from c00866df101a to c31e2ca59bd9 (2 revisions) (flutter/engine#54680)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 39e5118034f4 to c00866df101a (1 revision) (flutter/engine#54678)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 221ada80b174 to 39e5118034f4 (1 revision) (flutter/engine#54677)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from d576296091e0 to 221ada80b174 (2 revisions) (flutter/engine#54675)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 49f655b526c7 to 48f9b96d71e7 (1 revision) (flutter/engine#54672)
2024-08-21 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 3a16kOsyFmJh3lo7e... to XGzE3idakwfQZ68pb... (flutter/engine#54671)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from 3a16kOsyFmJh to XGzE3idakwfQ

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 jimgraham@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-08-22 03:13:47 +00:00
Jason Simmons
d6079c8165 [Impeller] Remove a log message in the Vulkan back end that is visible during engine startup (flutter/engine#54699) 2024-08-22 02:05:11 +00:00
skia-flutter-autoroll
e8098b9275 Roll Skia from 3cd00377cefc to 34aa8ce13af6 (3 revisions) (flutter/engine#54698)
https://skia.googlesource.com/skia.git/+log/3cd00377cefc..34aa8ce13af6

2024-08-22 robertphillips@google.com Revert "[graphite] Clean out unused Plot backing stores when purging DrawAtlas."
2024-08-21 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll vulkan-deps from 4bf3eeb31636 to 447c179b707d (10 revisions)
2024-08-21 jvanverth@google.com [graphite] Clean out unused Plot backing stores when purging DrawAtlas.

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,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-22 01:29:22 +00:00
Chris Bracken
1e7584e7a2 macOS: Make framework creation consistent with iOS (flutter/engine#54685)
Separates dSYM creation from archiving, consistent with iOS tooling. This
introduces no semantic changes, but simply adjusts `create_fat_macos_framework`
and `process_framework` for consistency with the equivalent iOS tooling in
`create_ios_framework.py`.

Related issue: https://github.com/flutter/flutter/issues/153879

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-08-21 23:19:59 +00:00
skia-flutter-autoroll
c571a9aeb7 Roll Skia from 69f4bd859025 to 3cd00377cefc (8 revisions) (flutter/engine#54693)
https://skia.googlesource.com/skia.git/+log/69f4bd859025..3cd00377cefc

2024-08-21 bungeman@google.com Remove --with-fontations from GN build
2024-08-21 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from 7ee30f5d2f5a to a38b02612272 (7 revisions)
2024-08-21 robertphillips@google.com Rename join -> joinpath in infra/bots directories
2024-08-21 brianosman@google.com Ignore more deleted test files on Android devices
2024-08-21 robertphillips@google.com Replace 'python' call w/ 'python3' in infra/bots/recipe_modules
2024-08-21 brianosman@google.com Stop forcing debug symbol generation with skia_enable_optimize_size
2024-08-21 fmalita@google.com [skottietool] Fix text rendering in worker threads
2024-08-21 kjlubick@google.com Fix builds after flag removal

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,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-21 22:54:08 +00:00
dependabot[bot]
62382c7b83 Bump github/codeql-action from 3.26.3 to 3.26.4 (#153886)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.3 to 3.26.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a href="https://github.com/github/codeql-action/releases">releases page</a> for the relevant changes to the CodeQL CLI and language packs.</p>
<p>Note that the only difference between <code>v2</code> and <code>v3</code> of the CodeQL Action is the node version they support, with <code>v3</code> running on node 20 while we continue to release <code>v2</code> to support running on node 16. For example <code>3.22.11</code> was the first <code>v3</code> release and is functionally identical to <code>2.22.11</code>. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.26.4 - 21 Aug 2024</h2>
<ul>
<li><em>Deprecation:</em> The <code>add-snippets</code> input on the <code>analyze</code> Action is deprecated and will be removed in the first release in August 2025. <a href="https://redirect.github.com/github/codeql-action/pull/2436">#2436</a></li>
<li>Fix an issue where the disk usage system call used for telemetry would fail on MacOS ARM machines with System Integrity Protection disabled, and then surface a warning. The system call is now disabled for these machines. <a href="https://redirect.github.com/github/codeql-action/pull/2434">#2434</a></li>
</ul>
<h2>3.26.3 - 19 Aug 2024</h2>
<ul>
<li>Fix an issue where the CodeQL Action could not write diagnostic messages on Windows. This issue did not impact analysis quality. <a href="https://redirect.github.com/github/codeql-action/pull/2430">#2430</a></li>
</ul>
<h2>3.26.2 - 14 Aug 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.18.2. <a href="https://redirect.github.com/github/codeql-action/pull/2417">#2417</a></li>
</ul>
<h2>3.26.1 - 13 Aug 2024</h2>
<p>No user facing changes.</p>
<h2>3.26.0 - 06 Aug 2024</h2>
<ul>
<li><em>Deprecation:</em> Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a macOS runner if this affects you. <a href="https://redirect.github.com/github/codeql-action/pull/2403">#2403</a></li>
<li>Bump the minimum CodeQL bundle version to 2.13.5. <a href="https://redirect.github.com/github/codeql-action/pull/2408">#2408</a></li>
</ul>
<h2>3.25.15 - 26 Jul 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.18.1. <a href="https://redirect.github.com/github/codeql-action/pull/2385">#2385</a></li>
</ul>
<h2>3.25.14 - 25 Jul 2024</h2>
<ul>
<li>Experimental: add a new <code>start-proxy</code> action which starts the same HTTP proxy as used by <a href="https://github.com/github/dependabot-action"><code>github/dependabot-action</code></a>. Do not use this in production as it is part of an internal experiment and subject to change at any time. <a href="https://redirect.github.com/github/codeql-action/pull/2376">#2376</a></li>
</ul>
<h2>3.25.13 - 19 Jul 2024</h2>
<ul>
<li>Add <code>codeql-version</code> to outputs. <a href="https://redirect.github.com/github/codeql-action/pull/2368">#2368</a></li>
<li>Add a deprecation warning for customers using CodeQL version 2.13.4 and earlier. These versions of CodeQL were discontinued on 9 July 2024 alongside GitHub Enterprise Server 3.9, and will be unsupported by CodeQL Action versions 3.26.0 and later and versions 2.26.0 and later. <a href="https://redirect.github.com/github/codeql-action/pull/2375">#2375</a>
<ul>
<li>If you are using one of these versions, please update to CodeQL CLI version 2.13.5 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.</li>
<li>Alternatively, if you want to continue using a version of the CodeQL CLI between 2.12.6 and 2.13.4, you can replace <code>github/codeql-action/*@v3</code> by <code>github/codeql-action/*@v3.25.13</code> and <code>github/codeql-action/*@v2</code> by <code>github/codeql-action/*@v2.25.13</code> in your code scanning workflow to ensure you continue using this version of the CodeQL Action.</li>
</ul>
</li>
</ul>
<h2>3.25.12 - 12 Jul 2024</h2>
<ul>
<li>Improve the reliability and performance of analyzing code when analyzing a compiled language with the <code>autobuild</code> <a href="https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#codeql-build-modes">build mode</a> on GitHub Enterprise Server. This feature is already available to GitHub.com users. <a href="https://redirect.github.com/github/codeql-action/pull/2353">#2353</a></li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f0f3afee80"><code>f0f3afe</code></a> Merge main into releases/v3 (<a href="https://redirect.github.com/github/codeql-action/issues/2437">#2437</a>)</li>
<li><a href="e3543591a5"><code>e354359</code></a> Update changelog for v3.26.4</li>
<li><a href="ae01f807ca"><code>ae01f80</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/2436">#2436</a> from rvermeulen/rvermeulen/deprecate-add-snippets</li>
<li><a href="72bc3f7f61"><code>72bc3f7</code></a> Address incorrect changelog location</li>
<li><a href="7388c476ae"><code>7388c47</code></a> Merge branch 'main' into rvermeulen/deprecate-add-snippets</li>
<li><a href="d7c48ef5a8"><code>d7c48ef</code></a> Add link to PR deprecating <code>add-snippets</code> to CHANGELOG.md</li>
<li><a href="ec21b8f8a4"><code>ec21b8f</code></a> Update changelog with deprecation.</li>
<li><a href="4067cdab78"><code>4067cda</code></a> Add deprecation message to <code>add-snippets</code> input.</li>
<li><a href="202b3b97bf"><code>202b3b9</code></a> Stop checking disk usage for MacOS ARM with SIP disabled (<a href="https://redirect.github.com/github/codeql-action/issues/2434">#2434</a>)</li>
<li><a href="512e3066dd"><code>512e306</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/2404">#2404</a> from github/marcogario/proxy_64</li>
<li>Additional commits viewable in <a href="883d8588e5...f0f3afee80">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=3.26.3&new-version=3.26.4)](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-08-21 22:27:12 +00:00
skia-flutter-autoroll
e2755ea6a8 Roll Dart SDK from 060e40916514 to 025bf8d376d3 (1 revision) (flutter/engine#54692)
https://dart.googlesource.com/sdk.git/+log/060e40916514..025bf8d376d3

2024-08-21 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-167.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,jimgraham@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-08-21 22:20:14 +00:00
Loïc Sharma
88d9f61d12 Add test that app builds if migrated to SwiftPM but SwiftPM is turned off (#153800)
When a Flutter app is migrated to add Swift Package Manager integration, the Xcode project is modified to depend on a local Swift package that's generated by the Flutter tool. This generated package is how plugins are added to the Xcode project if the SwiftPM feature is enabled.

If an app has been migrated to SwiftPM but Flutter's SwiftPM feature is disabled, the [tool must continue to generate a Swift package](47c1df9640/packages/flutter_tools/lib/src/macos/darwin_dependency_management.dart (L69-L78)) to ensure the app continues to build. Otherwise, the Xcode project would depend on a local package that does not exist.

This adds a high-level integration test that ensures this behavior works as expected, which mirrors this finer-grained unit test: 47c1df9640/packages/flutter_tools/test/general.shard/macos/darwin_dependency_management_test.dart (L340-L382)

Part of https://github.com/flutter/flutter/issues/153448
2024-08-21 22:18:05 +00:00
Kevin Chisholm
7cff6d8b6a Merge stable changelog to master (#153872)
Merges the stable changelog to master.
2024-08-21 22:14:47 +00:00
Zachary Anderson
67bceb8185 Split tests out of Linux Android artifact creation builds (flutter/engine#54683)
Towards https://github.com/flutter/flutter/issues/145842.

Mostly a note to self: I'll need to write a lint at some point that this
does not regress. Possibly part of
https://github.com/flutter/engine/blob/main/tools/pkg/engine_build_configs/bin/check.dart,
but it will also need to query the ci.yaml to ask whether a build config
json is part of a `release_build: "true"` build.
2024-08-21 15:14:03 -07:00
engine-flutter-autoroll
9a74329c15 Roll Flutter Engine from b94e0097035d to f493c212c23e (18 revisions) (#153884)
b94e009703...f493c212c2

2024-08-21 chinmaygarde@google.com [iOS] Tweak note about OpenGL support on mac in a user facing log. (flutter/engine#54690)
2024-08-21 jonahwilliams@google.com [Impeller] use blit pass to resize decoded images. (flutter/engine#54606)
2024-08-21 matanlurey@users.noreply.github.com Remove spammy warning message on `FlutterView` (flutter/engine#54686)
2024-08-21 chinmaygarde@google.com [Impeller] Perform integrity checks for Vulkan pipeline caches. (flutter/engine#54654)
2024-08-21 chris@bracken.jp docs: use test: all rather than editing .ci.yaml (flutter/engine#54667)
2024-08-21 flar@google.com Reland "[DisplayList] Allow random access to ops through indexing" (flutter/engine#54676)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 51ac9d93850c to 249d3f07c4d5 (2 revisions) (flutter/engine#54684)
2024-08-21 chris@bracken.jp iOS,macOS: Don't archive extra framework metadata (flutter/engine#54674)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 48f9b96d71e7 to 060e40916514 (1 revision) (flutter/engine#54682)
2024-08-21 yjbanov@google.com [web] annotate obscured text fields as passwords (flutter/engine#54664)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from c31e2ca59bd9 to 51ac9d93850c (2 revisions) (flutter/engine#54681)
2024-08-21 jonahwilliams@google.com [engine] reland weaken affinity of raster/ui to non-e core instead of only fast core (flutter/engine#54616)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from c00866df101a to c31e2ca59bd9 (2 revisions) (flutter/engine#54680)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 39e5118034f4 to c00866df101a (1 revision) (flutter/engine#54678)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from 221ada80b174 to 39e5118034f4 (1 revision) (flutter/engine#54677)
2024-08-21 skia-flutter-autoroll@skia.org Roll Skia from d576296091e0 to 221ada80b174 (2 revisions) (flutter/engine#54675)
2024-08-21 skia-flutter-autoroll@skia.org Roll Dart SDK from 49f655b526c7 to 48f9b96d71e7 (1 revision) (flutter/engine#54672)
2024-08-21 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 3a16kOsyFmJh3lo7e... to XGzE3idakwfQZ68pb... (flutter/engine#54671)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from 3a16kOsyFmJh to XGzE3idakwfQ

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 jimgraham@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-08-21 22:11:12 +00:00
Matan Lurey
b883b2337d Actually run flutter-dev from source (turns out bash is NP-hard) (#153863)
Fixes
https://github.com/flutter/flutter/pull/153599#issuecomment-2302587254.
2024-08-21 15:05:54 -07:00
skia-flutter-autoroll
ca3518ac1a Roll Skia from 249d3f07c4d5 to 69f4bd859025 (5 revisions) (flutter/engine#54691)
https://skia.googlesource.com/skia.git/+log/249d3f07c4d5..69f4bd859025

2024-08-21 fmalita@google.com [skottie] Fix Shift Channels effect coverage with FullOn alpha
2024-08-21 kjlubick@google.com Delete all filegroups that supported legacy (non-buffet) Bazel build
2024-08-21 cwallez@chromium.org Replace deprecated wgpu::SwapChain with wgpu::Surface
2024-08-21 kjlubick@google.com Move utils/SkTestCanvas -> tools/gpu/TestCanvas
2024-08-21 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll ANGLE from 86508e2014f8 to 36f7e03a3578 (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 brianosman@google.com,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-21 21:28:22 +00:00
Chinmay Garde
74861200d4 [iOS] Tweak note about OpenGL support on mac in a user facing log. (flutter/engine#54690)
We don't have an OpenGL backend on iOS.
2024-08-21 20:46:04 +00:00
Jonah Williams
02a6c7a676 [Impeller] use blit pass to resize decoded images. (flutter/engine#54606)
Fixes https://github.com/flutter/flutter/issues/153623
Fixes https://github.com/flutter/flutter/issues/153788

* Avoids slow CPU resizer
* Avoids us having to write any code at all to resize these images
* Avoids reading from the GPU staging buffers that are not read cached (similar to Glyph cache performance issues).

Also changes the single frame codec upload to either use the device private storage path or to defer upload until the GPU returns. This allows us to ensure that mips are always constructed and makes sure that we don't need to keep around the CPU texture reisze that depends on the Skia software backend.

Separately, I updated the deferred task system to allow separate success/failure tasks to make it easier to track the final state.
2024-08-21 20:22:09 +00:00
Matan Lurey
7279070455 Remove spammy warning message on FlutterView (flutter/engine#54686)
@matanlurey:

> As of 2f6952657d, we are now printing a `W/FlutterView( 7775): API level 34 is too low to query bounding rects.` message which is not user actionable. Was this intended to stay in the merged PR? What value is it supposed to have?

@yaakovschectman:

> You might be right about that
2024-08-21 19:57:52 +00:00
Chinmay Garde
ee63d2a233 [Impeller] Perform integrity checks for Vulkan pipeline caches. (flutter/engine#54654)
Fixes https://github.com/flutter/flutter/issues/128126

I scared myself looking into the recent Vulkan driver issues and decided to fix this to follow best-practices.

In addition to the comments, see the linked issue for the article on how this works. I didn't perform the data hashing because we use ::rename in fml::WriteAtomically and I am not as concerned about that. But we can add it later if needed. We also don't have a good utility to hash data.

This also gets rid of one intermediate allocation. We could also write directly into the file mapping but FML has no utilities to msync. Something to fix later if needed.
2024-08-21 19:48:05 +00:00
Flutter GitHub Bot
4f37ef14ef Marks Mac_mokey run_release_test to be flaky (#153831)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac_mokey run_release_test"
}
-->
Issue link: https://github.com/flutter/flutter/issues/153830
2024-08-21 19:37:11 +00:00
Chris Bracken
635332a0dc docs: use test: all rather than editing .ci.yaml (flutter/engine#54667)
Rather than editing `.ci.yaml` to enable the `linux_web_engine` shard, instead suggest tagging with the `test: all` label, which avoids the risk of accidentally committing an unwanted change to `.ci.yaml` and having to revert the change before landing.

This is also more future-proof against further `runIf` additions to `.ci.yaml`.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-08-21 19:06:49 +00:00
engine-flutter-autoroll
503f0f803f Roll Packages from 4e5d47e8f0ae to c5d03ee2f2db (2 revisions) (#153865)
4e5d47e8f0...c5d03ee2f2

2024-08-21 34871572+gmackall@users.noreply.github.com [many] Remove dependency on `kotlin-bom` (flutter/packages#7088)
2024-08-21 jason-simmons@users.noreply.github.com Remove unnecessary breaks in default clauses of switch statements (flutter/packages#7462)

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-08-21 18:38:30 +00:00
Taha Tesser
17ad052792 Make TextField read only when the text input is disabled by setting DropdownMenu.requestFocusOnTap to false (#153566)
Fixes [[DropdownMenu] Semantics still reads out "EditBox" when text editing is disabled](https://github.com/flutter/flutter/issues/151686)

### Code sample

<details>
<summary>expand to view the code sample</summary> 

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const DropdownMenuExample());
}

enum ColorLabel {
  blue('Blue', Colors.blue),
  pink('Pink', Colors.pink),
  green('Green', Colors.green),
  yellow('Orange', Colors.orange),
  grey('Grey', Colors.grey);

  const ColorLabel(this.label, this.color);
  final String label;
  final Color color;
}

class DropdownMenuExample extends StatefulWidget {
  const DropdownMenuExample({super.key});

  @override
  State<DropdownMenuExample> createState() => _DropdownMenuExampleState();
}

class _DropdownMenuExampleState extends State<DropdownMenuExample> {
  ColorLabel? selectedColor;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: const EdgeInsets.all(16.0),
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              spacing: 16.0,
              children: <Widget>[
                const ExcludeSemantics(child: Text('TexField')),
                const TextField(
                  readOnly: true,
                  decoration: InputDecoration(
                    labelText: 'Color',
                    border: OutlineInputBorder(),
                  ),
                ),
                const ExcludeSemantics(child: Text('DropdownMenu')),
                DropdownMenu<ColorLabel>(
                  requestFocusOnTap: false,
                  label: const Text('Color'),
                  dropdownMenuEntries: ColorLabel.values
                      .map<DropdownMenuEntry<ColorLabel>>((ColorLabel color) {
                    return DropdownMenuEntry<ColorLabel>(
                      value: color,
                      label: color.label,
                      style: MenuItemButton.styleFrom(
                        foregroundColor: color.color,
                      ),
                    );
                  }).toList(),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

```

</details>

### Preview (with Talkback captions)
|Before | After |
| --------------- | --------------- |
| <img src="https://github.com/user-attachments/assets/0d9f79f3-de5d-4c42-adea-3d700464d001" /> | <img src="https://github.com/user-attachments/assets/cf38508e-61f7-43ff-b420-ffe24cc8e28f" /> |

### Before demo
DropdownMenu announces "EditBox" and "double tap to activate" when setting `DropdownMenu.requestFocusOnTap` to `false` shouldn't allow that

https://github.com/user-attachments/assets/f692a4f6-9d6a-4834-8df0-baf6c65fae29

### After demo
When setting `DropdownMenu.requestFocusOnTap` to `false`, the underlying `TextField` gets read only state which changes the semantics to be not editable or focusable  and remove"EditBox" and "double tap to activate" announcments

https://github.com/user-attachments/assets/0e14a636-6b81-4535-a5d1-c8f301c4f89e
2024-08-21 18:30:39 +00:00
Gray Mackall
919bed6e0a Reland "Update template/test compileSdk, targetSdk, ndk versions" (#153795)
Relands https://github.com/flutter/flutter/pull/152487.

The difference is in the two new commits:
-1354c6d77b
-931788aa5a, short version is that:
- I forgot that I need to override the compileSdkVersion in the AGP 8.0 [instance of this test](ef9cd32f5a/dev/devicelab/bin/tasks/android_java17_dependency_smoke_tests.dart (L19))
- A postsubmit integration test needed new lockfiles + the package attribute -> AGP namespace change.

These were the only two postsubmit failures: [dashboard](https://flutter-dashboard.appspot.com/#/build).
2024-08-21 18:27:00 +00:00
Jim Graham
28ee6cf0bb Reland "[DisplayList] Allow random access to ops through indexing" (flutter/engine#54676)
Now also fixes: https://github.com/flutter/flutter/issues/153737

Being able to reorder rendering commands leads to optimization opportunities in the graphics package. A graphics package being fed from a DisplayList either has to take the commands in the order given or implement their own storage format for the rendering data.

With this new dispatching mechanism, the graphics package can both query basic information about the recorded ops and even dispatch them by the index into the list. Query information includes either the "category" of the op (clip/transform/render, etc.) or a specific op type enum. The package can dispatch some categories (or ops) immediately and remember other categories (or ops) along with their state for dispatching later.
2024-08-21 18:20:24 +00:00
skia-flutter-autoroll
606b1fc4bf Roll Skia from 51ac9d93850c to 249d3f07c4d5 (2 revisions) (flutter/engine#54684)
https://skia.googlesource.com/skia.git/+log/51ac9d93850c..249d3f07c4d5

2024-08-21 brianosman@google.com Remove SkSL program size limit
2024-08-21 nscobie@google.com [graphite] Update createGraphicsPipeline trace slice to _ALWAYS variant

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,jimgraham@google.com,rmistry@google.com,robertphillips@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-08-21 18:12:06 +00:00
Kishan Rathore
b8f89f70bf docs: Update doc for scale behaviour of floating label (#151835)
In input decoration if we are showing label as floating when it is focused, it scales down to `_kFinalLabelScale` i.e. 0.75 right now, but it was not mentioned anywhere.

Resolves #151406
2024-08-21 17:56:16 +00:00
Chris Bracken
ae6c96511e iOS,macOS: Don't archive extra framework metadata (flutter/engine#54674)
By default, zip archives don't just archive the files themselves, but also bundle extra metadata such as unix owner/group and unix timestamps. None of these is particularly important in the case of Flutter: owner/group information is likely to differ across machines and thus be overridden on the unarchiver's end. The tool checks for file presence and occasionally content hashes.

This change results in more reproducible zip archives across runs/machines.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-08-21 17:49:21 +00:00
skia-flutter-autoroll
1c8e23a8fb Roll Dart SDK from 48f9b96d71e7 to 060e40916514 (1 revision) (flutter/engine#54682)
https://dart.googlesource.com/sdk.git/+log/48f9b96d71e7..060e40916514

2024-08-21 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.6.0-166.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,jimgraham@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-08-21 17:44:48 +00:00
Yegor
79a6989314 [web] annotate obscured text fields as passwords (flutter/engine#54664)
The `type` attribute is needed for screen readers to tell the user whether the text field is a password or a plain text field.

Use `-webkit-text-security` for multi-line fields as a best effort (it's non-standard but is supported by all major browsers).

Fixes https://github.com/flutter/flutter/issues/153801
2024-08-21 17:40:04 +00:00
PurplePolyhedron
e13e9a08e1 Disable Dropdown menu search during keyboard navigation (#152378)
fixes https://github.com/flutter/flutter/issues/152375

PR https://github.com/flutter/flutter/pull/147294 fix keyboard navigation issue https://github.com/flutter/flutter/issues/147253 by prioritising current selection in default search.

This revert PR https://github.com/flutter/flutter/pull/147294 and fix the issue by disabling `DropdownMenu` search during keyboard navigation instead.

also fixes https://github.com/flutter/flutter/issues/151878 as it is a regression caused by PR https://github.com/flutter/flutter/pull/147294.

Reason for reverting https://github.com/flutter/flutter/pull/147294 : it doesn't fix the keyboard navigation issue if a custom searchCallback(Issue https://github.com/flutter/flutter/issues/152375) is provided, and "prioritising current selection" is ambiguous for a custom searchCallback, so it would be tricky to have searchCallback behave the same way as the default search. Additionally the original search function was agnostic about the state of `DropdownMenu` other than the entry value type, might be good to keep it that way unless needed.
2024-08-21 17:00:15 +00:00
Matan Lurey
f0a37e70e5 Add a bin/flutter-dev script, for running the flutter command-line tool from source (#153599)
Not so long ago I remember a very informal conversation that went something like this:

> @matanlurey: I wish I could pass `--dev` or something to `flutter` to run from source.
>
> @christopherfujino: I get what you want, but I don't want to overload the tool with more dev-only things. I would consider a script like `flutter-dev` that does that thing, though.
>
> @matanlurey: Cool, I might send a PR!

So uh, here it is 6-9 months later. Suggestions welcome.
2024-08-21 16:56:22 +00:00