Commit graph

36803 commits

Author SHA1 Message Date
engine-flutter-autoroll c7f3859976
Roll Flutter Engine from ee7215553deb to 4d8265cbc133 (1 revision) (#134506)
ee7215553d...4d8265cbc1

2023-09-12 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from cUKimo52R-2EIfHh5... to vGleXqh2SRUNJM7JN... (flutter/engine#45691)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from cUKimo52R-2E to vGleXqh2SRUN

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-12 06:56:23 +00:00
engine-flutter-autoroll e95c745b33
Roll Flutter Engine from 6ddee4423d2c to ee7215553deb (2 revisions) (#134505)
6ddee4423d...ee7215553d

2023-09-12 skia-flutter-autoroll@skia.org Roll Skia from c4e94d5febdc to 62aa41ee8135 (2 revisions) (flutter/engine#45690)
2023-09-12 matanlurey@users.noreply.github.com [Impeller] Fix thread leak in ResourceManagerVK. (flutter/engine#45686)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-12 06:06:14 +00:00
engine-flutter-autoroll bc594bd448
Roll Flutter Engine from a98348946d61 to 6ddee4423d2c (1 revision) (#134490)
a98348946d...6ddee4423d

2023-09-12 matej.knopp@gmail.com [Web] Properly report inverted selection (flutter/engine#44806)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-12 02:58:25 +00:00
xubaolin a9fac73361
[New feature] Allowing the ListView slivers to have different extents while still having scrolling performance (#131393)
Fixes https://github.com/flutter/flutter/issues/113431

Currently we only support specifying all slivers to have the same extent.
This patch introduces an `itemExtentBuilder` property for `ListView`, allowing the slivers to have different extents while still having scrolling performance, especially when the scroll position changes drastically(such as scrolling by the scrollbar or controller.jumpTo()).

@Piinks Hi, Any thoughts about this?  :)
2023-09-12 02:16:48 +00:00
engine-flutter-autoroll e645fb7d5e
Roll Flutter Engine from 8389ad914b21 to a98348946d61 (4 revisions) (#134487)
8389ad914b...a98348946d

2023-09-12 jason-simmons@users.noreply.github.com Roll libwebp to 1.3.1 (flutter/engine#45675)
2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 0b8d2203ab35 to c4e94d5febdc (5 revisions) (flutter/engine#45679)
2023-09-11 chinmaygarde@google.com Pipe VMA asserts to FML. (flutter/engine#45661)
2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from e6225224fb4e to 0b8d2203ab35 (9 revisions) (flutter/engine#45671)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-12 02:15:07 +00:00
Kohei Seino 82cb74932f
ScaleGestureRecognizer: make pointerCount public (#127310)
make `pointCount` in `ScaleGestureRecognizer` public to handle pointer event depending on the number of pointers.

https://github.com/flutter/flutter/issues/127309
2023-09-12 01:01:38 +00:00
Chinmay Kabi 4a3ab6828a
Fix DataTable example not being scrollable (#131556) 2023-09-11 18:55:53 -05:00
engine-flutter-autoroll 0770c60af3
Roll Flutter Engine from 06696e768c1b to 8389ad914b21 (2 revisions) (#134469)
06696e768c...8389ad914b

2023-09-11 109111084+yaakovschectman@users.noreply.github.com Merge `Window` into `FlutterWindow` (flutter/engine#45542)
2023-09-11 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 7Zk_dvFh301kgQte4... to fSmVaZwp41ZGp5hKn... (flutter/engine#45665)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from 7Zk_dvFh301k to fSmVaZwp41ZG

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 23:39:08 +00:00
Christopher Fujino b76b82aa71
[flutter_tools] disallow -O0 for flutter build web (#134185)
Fixes https://github.com/flutter/flutter/issues/133404.

Per the dart2js team on the linked issue, `-O0` is not intended for end users, but more for actual debugging/development of the compiler.
2023-09-11 23:33:09 +00:00
Kostia Sokolovskyi adaf78a60d
Cover focus tests with leak tracking (#134457) 2023-09-11 15:35:09 -07:00
engine-flutter-autoroll b90c1a8766
Roll Flutter Engine from 0774ddcda9b0 to 06696e768c1b (4 revisions) (#134462)
0774ddcda9...06696e768c

2023-09-11 jacksongardner@google.com Revert "Remove some of our hacks around JSPromise now that we have better APIs." (flutter/engine#45660)
2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 3ed290acb65f to e6225224fb4e (2 revisions) (flutter/engine#45658)
2023-09-11 kjlubick@users.noreply.github.com Update skwasm build to use safer flush call (flutter/engine#45652)
2023-09-11 jacksongardner@google.com Remove some of our hacks around JSPromise now that we have better APIs. (flutter/engine#45591)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 22:01:23 +00:00
Kostia Sokolovskyi e7058f568f
Fix memory leak in RenderAnimatedSize (#133653)
`AnimationController` and `CurvedAnimation` objects were not disposed in `RenderAnimatedSize`.

### Description
- Fixes https://github.com/flutter/flutter/issues/133903;
- Adds the missing `dispose()` calls for `AnimationController` and `CurvedAnimation` in `RenderAnimatedSize`.

### Tests
- Updates `animated_size_test.dart` to test that `AnimationController` and `CurvedAnimation` are disposed after `RenderSize` disposal.
2023-09-11 20:46:04 +00:00
engine-flutter-autoroll 969911d1d0
Roll Flutter Engine from e42fd367adcb to 0774ddcda9b0 (1 revision) (#134447)
e42fd367ad...0774ddcda9

2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 2fa311521fb2 to 3ed290acb65f (1 revision) (flutter/engine#45653)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 19:14:03 +00:00
engine-flutter-autoroll 9dbbd5b4bf
Roll Flutter Engine from d593002b7159 to e42fd367adcb (1 revision) (#134444)
d593002b71...e42fd367ad

2023-09-11 30870216+gaaclarke@users.noreply.github.com Revert "Makes Skia's vkQueueSubmit threadsafe." (flutter/engine#45650)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 18:19:20 +00:00
engine-flutter-autoroll b831c9f44f
Roll Packages from aaae5ef97a45 to ef0c65ea4ccd (6 revisions) (#134445)
aaae5ef97a...ef0c65ea4c

2023-09-11 engine-flutter-autoroll@skia.org Roll Flutter from 7c28e8eb07 to 219efce7f1 (16 revisions) (flutter/packages#4901)
2023-09-11 chris.langham32@gmail.com [url_launcher] migrating iOS tests from objc to swift (flutter/packages#4758)
2023-09-09 engine-flutter-autoroll@skia.org Roll Flutter from da676f79aa to 7c28e8eb07 (20 revisions) (flutter/packages#4879)
2023-09-09 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 3.1.2 to 3.1.3 (flutter/packages#4863)
2023-09-08 engine-flutter-autoroll@skia.org Roll Flutter from aea4552acd to da676f79aa (28 revisions) (flutter/packages#4874)
2023-09-08 48349434+paulppn@users.noreply.github.com [webview_flutter_android] Added the functionality to fullscreen html5 video (flutter/packages#3879)

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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 18:17:25 +00:00
engine-flutter-autoroll 6562d52634
Roll Flutter Engine from 2b5961cbc40d to d593002b7159 (3 revisions) (#134439)
2b5961cbc4...d593002b71

2023-09-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from SFM4ele7RYnVMhr7S... to cUKimo52R-2EIfHh5... (flutter/engine#45647)
2023-09-11 kjlubick@users.noreply.github.com Use safer GrDirectContext APIs (flutter/engine#45644)
2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 787b61f00100 to 2fa311521fb2 (1 revision) (flutter/engine#45642)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from SFM4ele7RYnV to cUKimo52R-2E

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 17:31:23 +00:00
Polina Cherkasova 0844726ab3
Mark leak: instances of OpacityLayer, created by _RenderChip, should be disposed. (#134395) 2023-09-11 17:12:02 +00:00
Polina Cherkasova 219efce7f1
Cover more tests with leak tracking. (#134363) 2023-09-11 09:42:27 -07:00
engine-flutter-autoroll 6de4e16985
Roll Flutter Engine from e9f1696e5060 to 2b5961cbc40d (1 revision) (#134424)
e9f1696e50...2b5961cbc4

2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 4c50e0870461 to 787b61f00100 (1 revision) (flutter/engine#45639)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 13:23:33 +00:00
engine-flutter-autoroll c6fa26162f
Roll Flutter Engine from ac6be4dbf821 to e9f1696e5060 (1 revision) (#134410)
ac6be4dbf8...e9f1696e50

2023-09-11 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 6PrTSjMiSCsSb0muF... to 7Zk_dvFh301kgQte4... (flutter/engine#45636)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from 6PrTSjMiSCsS to 7Zk_dvFh301k

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 09:41:25 +00:00
engine-flutter-autoroll 954444a0e3
Roll Flutter Engine from 1aa11b644855 to ac6be4dbf821 (1 revision) (#134407)
1aa11b6448...ac6be4dbf8

2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 2e80ffb2ebea to 4c50e0870461 (1 revision) (flutter/engine#45635)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 09:00:23 +00:00
engine-flutter-autoroll ffe1ebd207
Roll Flutter Engine from 7e41b064eb23 to 1aa11b644855 (2 revisions) (#134404)
7e41b064eb...1aa11b6448

2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 5aff628b1c47 to 2e80ffb2ebea (1 revision) (flutter/engine#45634)
2023-09-11 skia-flutter-autoroll@skia.org Roll Skia from 947f91dcacf5 to 5aff628b1c47 (1 revision) (flutter/engine#45633)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 07:46:15 +00:00
engine-flutter-autoroll 69f6e7d15d
Roll Flutter Engine from 04d836f69571 to 7e41b064eb23 (1 revision) (#134396)
04d836f695...7e41b064eb

2023-09-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from a024p4HJVVgmCW5Jo... to SFM4ele7RYnVMhr7S... (flutter/engine#45632)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from a024p4HJVVgm to SFM4ele7RYnV

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-11 04:50:38 +00:00
engine-flutter-autoroll 0d9ea62756
Roll Flutter Engine from 2acd60d6baed to 04d836f69571 (1 revision) (#134392)
2acd60d6ba...04d836f695

2023-09-10 skia-flutter-autoroll@skia.org Roll Skia from 4eea73a072d3 to 947f91dcacf5 (1 revision) (flutter/engine#45629)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-10 22:34:24 +00:00
engine-flutter-autoroll 44131ae4cf
Roll Flutter Engine from 59b08263f7cc to 2acd60d6baed (1 revision) (#134391)
59b08263f7...2acd60d6ba

2023-09-10 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from VciXahwZgiusifyh8... to 6PrTSjMiSCsSb0muF... (flutter/engine#45626)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from VciXahwZgius to 6PrTSjMiSCsS

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-10 21:00:31 +00:00
engine-flutter-autoroll de25def778
Roll Flutter Engine from a2af0c6965be to 59b08263f7cc (1 revision) (#134384)
a2af0c6965...59b08263f7

2023-09-10 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from U70-bvYinYjKdGGSt... to a024p4HJVVgmCW5Jo... (flutter/engine#45624)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from U70-bvYinYjK to a024p4HJVVgm

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-10 17:25:28 +00:00
engine-flutter-autoroll 2da03e54a9
Roll Flutter Engine from 47d1a045d140 to a2af0c6965be (1 revision) (#134375)
47d1a045d1...a2af0c6965

2023-09-10 skia-flutter-autoroll@skia.org Roll Skia from 1bb0f15f2cff to 4eea73a072d3 (1 revision) (flutter/engine#45623)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-10 13:15:26 +00:00
Daco Harkes aa36db1d29
Native assets support for MacOS and iOS (#130494)
Support for FFI calls with `@Native external` functions through Native assets on MacOS and iOS. This enables bundling native code without any build-system boilerplate code.

For more info see:

* https://github.com/flutter/flutter/issues/129757

### Implementation details for MacOS and iOS.

Dylibs are bundled by (1) making them fat binaries if multiple architectures are targeted, (2) code signing these, and (3) copying them to the frameworks folder. These steps are done manual rather than via CocoaPods. CocoaPods would have done the same steps, but (a) needs the dylibs to be there before the `xcodebuild` invocation (we could trick it, by having a minimal dylib in the place and replace it during the build process, that works), and (b) can't deal with having no dylibs to be bundled (we'd have to bundle a dummy dylib or include some dummy C code in the build file).

The dylibs are build as a new target inside flutter assemble, as that is the moment we know what build-mode and architecture to target.

The mapping from asset id to dylib-path is passed in to every kernel compilation path. The interesting case is hot-restart where the initial kernel file is compiled by the "inner" flutter assemble, while after hot restart the "outer" flutter run compiled kernel file is pushed to the device. Both kernel files need to contain the mapping. The "inner" flutter assemble gets its mapping from the NativeAssets target which builds the native assets. The "outer" flutter run get its mapping from a dry-run invocation. Since this hot restart can be used for multiple target devices (`flutter run -d all`) it contains the mapping for all known targets.

### Example vs template

The PR includes a new template that uses the new native assets in a package and has an app importing that. Separate discussion in: https://github.com/flutter/flutter/issues/131209.

### Tests

This PR adds new tests to cover the various use cases.

* dev/devicelab/bin/tasks/native_assets_ios.dart
  * Runs an example app with native assets in all build modes, doing hot reload and hot restart in debug mode.
* dev/devicelab/bin/tasks/native_assets_ios_simulator.dart
  * Runs an example app with native assets, doing hot reload and hot restart.
* packages/flutter_tools/test/integration.shard/native_assets_test.dart
  * Runs (incl hot reload/hot restart), builds, builds frameworks for iOS, MacOS and flutter-tester.
* packages/flutter_tools/test/general.shard/build_system/targets/native_assets_test.dart
  * Unit tests the new Target in the backend.
* packages/flutter_tools/test/general.shard/ios/native_assets_test.dart
* packages/flutter_tools/test/general.shard/macos/native_assets_test.dart
  * Unit tests the native assets being packaged on a iOS/MacOS build.

It also extends various existing tests:

* dev/devicelab/bin/tasks/module_test_ios.dart
   * Exercises the add2app scenario.
* packages/flutter_tools/test/general.shard/features_test.dart
   * Unit test the new feature flag.
2023-09-10 08:07:13 +00:00
engine-flutter-autoroll 690800bca3
Roll Flutter Engine from feea98d6d0ae to 47d1a045d140 (1 revision) (#134368)
feea98d6d0...47d1a045d1

2023-09-10 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 51fG0shrG6fW64BtN... to VciXahwZgiusifyh8... (flutter/engine#45620)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from 51fG0shrG6fW to VciXahwZgius

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-10 05:41:26 +00:00
engine-flutter-autoroll 8919140c0a
Roll Flutter Engine from 4edbefa5e8f7 to feea98d6d0ae (1 revision) (#134365)
4edbefa5e8...feea98d6d0

2023-09-10 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from i9IPFS-XpkPjlH235... to U70-bvYinYjKdGGSt... (flutter/engine#45618)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from i9IPFS-XpkPj to U70-bvYinYjK

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-10 03:37:11 +00:00
Renzo Olivares 2c477b1812
SelectableRegion onSelectionChange should be called when the selection changes (#134215)
This change makes sure to call `onSelectionChange` in all cases when selection might change including:
* Dragging selection handles
* Mouse drag to select
* Keyboard actions
* Long press drag to select
2023-09-09 22:03:23 +00:00
engine-flutter-autoroll c7665ff84c
Roll Flutter Engine from b8afb6deacf3 to 4edbefa5e8f7 (1 revision) (#134360)
b8afb6deac...4edbefa5e8

2023-09-09 skia-flutter-autoroll@skia.org Roll Skia from 386c7a6a56fd to 1bb0f15f2cff (1 revision) (flutter/engine#45615)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 21:26:17 +00:00
engine-flutter-autoroll cc317dff86
Roll Flutter Engine from d1913cb6a276 to b8afb6deacf3 (1 revision) (#134356)
d1913cb6a2...b8afb6deac

2023-09-09 skia-flutter-autoroll@skia.org Roll Skia from 58e39bd84ab2 to 386c7a6a56fd (1 revision) (flutter/engine#45614)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 18:06:18 +00:00
engine-flutter-autoroll 7c28e8eb07
Roll Flutter Engine from 4e3231af6efc to d1913cb6a276 (1 revision) (#134355)
4e3231af6e...d1913cb6a2

2023-09-09 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from RbgNQ_B-mcwvmNSq3... to 51fG0shrG6fW64BtN... (flutter/engine#45612)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from RbgNQ_B-mcwv to 51fG0shrG6fW

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 16:48:23 +00:00
engine-flutter-autoroll 6660cc9816
Roll Flutter Engine from 348e3a376807 to 4e3231af6efc (1 revision) (#134353)
348e3a3768...4e3231af6e

2023-09-09 skia-flutter-autoroll@skia.org Roll Skia from 3dfd4316b80d to 58e39bd84ab2 (1 revision) (flutter/engine#45610)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 15:52:13 +00:00
Polina Cherkasova 5555836712
Day picker should dispose created MaterialStatesController's. (#133884)
Fixes https://github.com/flutter/flutter/issues/133862
2023-09-09 08:45:27 -07:00
engine-flutter-autoroll 3f4ee3fbcc
Roll Flutter Engine from 00ef109b845e to 348e3a376807 (1 revision) (#134349)
00ef109b84...348e3a3768

2023-09-09 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from jYqYNRum5gWGFyoHR... to i9IPFS-XpkPjlH235... (flutter/engine#45609)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from jYqYNRum5gWG to i9IPFS-XpkPj

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 14:42:37 +00:00
engine-flutter-autoroll 2b642822b0
Roll Flutter Engine from 7af8a5d8d556 to 00ef109b845e (1 revision) (#134336)
7af8a5d8d5...00ef109b84

2023-09-09 skia-flutter-autoroll@skia.org Roll Skia from e5987e341cfd to 3dfd4316b80d (1 revision) (flutter/engine#45607)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 08:27:40 +00:00
engine-flutter-autoroll 12ce42b73a
Roll Flutter Engine from 1f2da3d69da7 to 7af8a5d8d556 (2 revisions) (#134332)
1f2da3d69d...7af8a5d8d5

2023-09-09 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from h_bQLstuirD8blCZW... to RbgNQ_B-mcwvmNSq3... (flutter/engine#45603)
2023-09-09 skia-flutter-autoroll@skia.org Roll ANGLE from fce1e57401bf to 48e2c605adcd (2 revisions) (flutter/engine#45602)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from h_bQLstuirD8 to RbgNQ_B-mcwv

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 04:24:27 +00:00
engine-flutter-autoroll e5d919caed
Roll Flutter Engine from 3a5f3ad1d054 to 1f2da3d69da7 (1 revision) (#134328)
3a5f3ad1d0...1f2da3d69d

2023-09-09 30870216+gaaclarke@users.noreply.github.com Makes Skia's vkQueueSubmit threadsafe. (flutter/engine#45459)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 02:51:25 +00:00
engine-flutter-autoroll 0c2f1af055
Roll Flutter Engine from d6aa2d9061c1 to 3a5f3ad1d054 (3 revisions) (#134327)
d6aa2d9061...3a5f3ad1d0

2023-09-09 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from KvtLknmg3f23uqWVm... to jYqYNRum5gWGFyoHR... (flutter/engine#45599)
2023-09-09 skia-flutter-autoroll@skia.org Roll Skia from 7f1d86d81d41 to e5987e341cfd (1 revision) (flutter/engine#45597)
2023-09-08 skia-flutter-autoroll@skia.org Roll ANGLE from 98b0855b9a71 to fce1e57401bf (3 revisions) (flutter/engine#45596)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from KvtLknmg3f23 to jYqYNRum5gWG

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 02:05:27 +00:00
engine-flutter-autoroll 996eb11245
Roll Flutter Engine from 66bec85d5005 to d6aa2d9061c1 (1 revision) (#134324)
66bec85d50...d6aa2d9061

2023-09-08 skia-flutter-autoroll@skia.org Roll Skia from 1012ef8349ba to 7f1d86d81d41 (1 revision) (flutter/engine#45594)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-09 00:31:24 +00:00
engine-flutter-autoroll 9c210237c9
Roll Flutter Engine from 8d2892211366 to 66bec85d5005 (3 revisions) (#134321)
8d28922113...66bec85d50

2023-09-08 skia-flutter-autoroll@skia.org Roll ANGLE from 765bca2f810a to 98b0855b9a71 (1 revision) (flutter/engine#45589)
2023-09-08 skia-flutter-autoroll@skia.org Roll Skia from 4996cc1ef9ba to 1012ef8349ba (1 revision) (flutter/engine#45588)
2023-09-08 skia-flutter-autoroll@skia.org Roll ANGLE from a507f31285b8 to 765bca2f810a (1 revision) (flutter/engine#45587)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-08 22:51:29 +00:00
engine-flutter-autoroll 9dde2166b7
Roll Flutter Engine from 2da727e23518 to 8d2892211366 (1 revision) (#134316)
2da727e235...8d28922113

2023-09-08 skia-flutter-autoroll@skia.org Roll Skia from 244c9ba5d0d7 to 4996cc1ef9ba (2 revisions) (flutter/engine#45586)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-08 22:09:05 +00:00
Kostia Sokolovskyi 5d5da38810
Fix memory leak in _DraggableScrollableSheetState (#134212) 2023-09-08 15:06:26 -07:00
Polina Cherkasova 834f5dc296
RestorationManager should dispatch creation in constructor. (#133911) 2023-09-08 15:05:43 -07:00
LongCatIsLooong 621ad9872c
Remove TextPainter migration flag from the framework (#134274)
The migration flag in `ParagraphBuilder` will be removed next.
2023-09-08 22:01:52 +00:00
Renzo Olivares 97cdc0ec07
InputDecoration.error should activate error state (#134001)
When passed an `error` widget, `InputDecoration` should activate its error state. Before this change the `errorBorder` would only activate if an `errorText` was provided. This change solves this issue by accounting for a provided `error` widget.
2023-09-08 22:01:50 +00:00
engine-flutter-autoroll fa9c301a84
Roll Flutter Engine from b2cb1d271a88 to 2da727e23518 (1 revision) (#134314)
b2cb1d271a...2da727e235

2023-09-08 skia-flutter-autoroll@skia.org Roll Skia from 948959b6b53e to 244c9ba5d0d7 (2 revisions) (flutter/engine#45584)

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 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-09-08 19:59:13 +00:00
Taha Tesser 90c524dcdf
Update chip docs to clarify how to specify a shape with no border & explain default values for Material 3 (#134298)
fixes [Update chip docs for Material 3 defaults.](https://github.com/flutter/flutter/issues/134296)

Addresses a [comment](https://github.com/flutter/flutter/pull/133856#discussion_r1313513284) from @HansMuller as well
2023-09-08 19:41:18 +00:00