Taha Tesser
7abb083ae2
Add ability to override NavigationDestination.label padding for NavigationBar ( #158260 )
...
Fixes [Long NavigationBar tab titles can't be padded from the sides of the screen](https://github.com/flutter/flutter/issues/158130 )
### Code sample
<details>
<summary>expand to view the code sample</summary>
```dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
navigationBarTheme: const NavigationBarThemeData(
labelTextStyle:
WidgetStatePropertyAll(TextStyle(overflow: TextOverflow.ellipsis)),
labelPadding: EdgeInsets.symmetric(horizontal: 16, vertical: 4),
)),
home: Scaffold(
body: Center(
child: Text(
'Custom NavigationBar label padding',
style: Theme.of(context).textTheme.titleMedium,
),
),
bottomNavigationBar: NavigationBar(
destinations: const [
NavigationDestination(
icon: Icon(Icons.favorite_rounded),
label: 'Long Label Text',
),
NavigationDestination(
// icon: SizedBox.shrink(),
icon: Icon(Icons.favorite_rounded),
label: 'Long Label Text',
),
NavigationDestination(
icon: Icon(Icons.favorite_rounded),
label: 'Long Label Text',
),
],
),
),
);
}
}
```
</details>
### Default `NavigationDestination.label` padding with long label
<img width="458" alt="Screenshot 2024-11-06 at 14 30 52" src="https://github.com/user-attachments/assets/637e5e66-e05f-49fa-a4ae-72083b6ff884 ">
### Custom `NavigationDestination.label` padding with long label
<img width="458" alt="Screenshot 2024-11-06 at 14 32 02" src="https://github.com/user-attachments/assets/23ebf715-30d3-433c-92cd-c8f0fdb1571b ">
2024-11-08 14:19:18 +00:00
stuartmorgan
2afadc2cdf
Add flutter/package code generation instructions ( #158326 )
...
Adds general instructions for updating generated code in
flutter/packages, covering the common cases of Pigeon and Mockito
generation.
Fixes https://github.com/flutter/flutter/issues/158321
2024-11-08 08:17:07 -05:00
skia-flutter-autoroll
fcfdd62005
Roll Fuchsia Linux SDK from pG2aukmcwvp71aKuS... to aLUsXLv5iMZFOgcAS... ( flutter/engine#56450 )
...
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 jsimmons@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-11-08 08:56:33 +00:00
skia-flutter-autoroll
f0e362405a
Roll Skia from 7ae36ecfe93d to d0ee80612f86 (2 revisions) ( flutter/engine#56448 )
...
https://skia.googlesource.com/skia.git/+log/7ae36ecfe93d..d0ee80612f86
2024-11-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 353c8b4196e4 to 6082ccfc822c (11 revisions)
2024-11-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from b4b1d02e6e41 to b2edbc3e54d0 (13 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 ,jsimmons@google.com ,kjlubick@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-11-08 07:54:22 +00:00
John McDole
25d011162e
Move off deprecated upload-artifactv3 ( flutter/engine#56439 )
...
Looking at https://google.github.io/osv-scanner/github-action/ for v4 action
2024-11-08 05:38:18 +00:00
engine-flutter-autoroll
0059575b18
Roll Flutter Engine from 8e19915c19fc to 44d788f4651b (3 revisions) ( #158362 )
...
8e19915c19...44d788f465
2024-11-08 jonahwilliams@google.com [Impeller] Add support for ImageFilter.shader (flutter/engine#53490 )
2024-11-07 skia-flutter-autoroll@skia.org Roll Skia from 2ed9606702f1 to 7ae36ecfe93d (4 revisions) (flutter/engine#56442 )
2024-11-07 skia-flutter-autoroll@skia.org Roll Dart SDK from 6a3684b96121 to 50c620224f27 (1 revision) (flutter/engine#56438 )
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 jsimmons@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-11-08 02:47:31 +00:00
Jonah Williams
bc59375978
[Impeller] Add support for ImageFilter.shader ( flutter/engine#53490 )
...
Copy-pasta docs:
```
/// Creates an image filter from a [FragmentShader].
///
/// The fragment shader provided here has additional requirements to be used
/// by the engine for filtering. The first uniform value must be a vec2, this
/// will be set by the engine to the size of the bound texture. There must
/// also be at least one sampler2D uniform, the first of which will be set by
/// the engine to contain the filter input.
///
/// For example, the following is a valid fragment shader that can be used
/// with this API. Note that the uniform names are not required to have any
/// particular value.
///
/// ```glsl
/// #include <flutter/runtime_effect.glsl>
///
/// uniform vec2 u_size;
/// uniform float u_time;
///
/// uniform sampler2D u_texture_input;
///
/// out vec4 frag_color;
///
/// void main() {
/// frag_color = texture(u_texture_input, FlutterFragCoord().xy / u_size) * u_time;
///
/// }
///
/// ```
///
/// This API is only supported when using the Impeller rendering engine. On
/// other backends a [UnsupportedError] will be thrown. This error can be
/// caught and used for feature detection.
```
Fixes https://github.com/jonahwilliams/flutter_shaders/issues/34
Fixes https://github.com/jonahwilliams/flutter_shaders/issues/26
Fixes https://github.com/flutter/flutter/issues/132099
2024-11-08 01:15:22 +00:00
engine-flutter-autoroll
710fe2bdf4
Roll Flutter Engine from bcb281cde579 to 8e19915c19fc (4 revisions) ( #158354 )
...
bcb281cde5...8e19915c19
2024-11-07 skia-flutter-autoroll@skia.org Roll Skia from e9a7546ef3d9 to 2ed9606702f1 (1 revision) (flutter/engine#56434 )
2024-11-07 jason-simmons@users.noreply.github.com [Impeller] Use Matrix::MakeTranslateScale to compute the source-to-destination mapping in DrawImageRect (flutter/engine#56433 )
2024-11-07 chris@bracken.jp iOS: Eliminate ScopedBlock, ScopedTypeRef, ScopedPolicy (flutter/engine#56410 )
2024-11-07 jacksongardner@google.com [skwasm] Make sure to include the transfer list when using postMessage. (flutter/engine#56431 )
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 jsimmons@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-11-08 00:26:24 +00:00
skia-flutter-autoroll
9067f0eef1
Roll Skia from 2ed9606702f1 to 7ae36ecfe93d (4 revisions) ( flutter/engine#56442 )
...
https://skia.googlesource.com/skia.git/+log/2ed9606702f1..7ae36ecfe93d
2024-11-07 nscobie@google.com Revert "SkCodec: Remove the sysprop guard for SkCrabbyAvifCodec"
2024-11-07 kjlubick@google.com Guard ganesh dependency from debugger
2024-11-07 jneufeld@google.com Basic support for drawPoints point mode in SkSVGDevice using zero-length lines in a single path element.
2024-11-07 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 49a7b74158a6 to 7363ad68f4c9 (2 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 ,jsimmons@google.com ,kjlubick@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-11-07 23:58:11 +00:00
skia-flutter-autoroll
47e1fa8f84
Roll Dart SDK from 6a3684b96121 to 50c620224f27 (1 revision) ( flutter/engine#56438 )
...
https://dart.googlesource.com/sdk.git/+log/6a3684b96121..50c620224f27
2024-11-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-118.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 ,jsimmons@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-11-07 23:31:32 +00:00
Renzo Olivares
97eef6afc5
Make _SelectableRegionSelectionContainerDelegate public ( #147080 )
...
This change makes `_SelectableRegionContainerDelegate` public so it can be reused and extended by users of `SelectionContainer`. Extending `MultiSelectableRegionContainerDelegate` does not by default provide selection managing across multiple selectables, so often users will copy the implementation found in `_SelectableRegionContainerDelegate`.
`_SelectableRegionContainerDelegate` -> `StaticSelectionContainerDelegate`.
2024-11-07 23:00:52 +00:00
Jason Simmons
8461ceea43
Manual roll Flutter Engine from 371c86fb6b49 to bcb281cde579 ( #158346 )
...
Includes changes required by the new Dart formatter.
2024-11-07 22:39:19 +00:00
Kate Lovett
777ce1b0da
Add clarification on review timelines in PR template ( #158345 )
...
Adds a reference to tree hygiene to help clarify expectations for review timelines.
2024-11-07 22:13:46 +00:00
skia-flutter-autoroll
22222053d1
Roll Skia from e9a7546ef3d9 to 2ed9606702f1 (1 revision) ( flutter/engine#56434 )
...
https://skia.googlesource.com/skia.git/+log/e9a7546ef3d9..2ed9606702f1
2024-11-07 jvanverth@google.com [graphite] Add scratch label when returning Resources to ResourceCache
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 ,jsimmons@google.com ,kjlubick@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-11-07 21:11:29 +00:00
Jason Simmons
73f6b6562a
[Impeller] Use Matrix::MakeTranslateScale to compute the source-to-destination mapping in DrawImageRect ( flutter/engine#56433 )
2024-11-07 20:41:16 +00:00
Ben Konyi
998f42a3f0
Increase Java heap limit to 8GB for plugin integration tests using deferred components ( #158330 )
...
Should help resolve https://github.com/flutter/flutter/issues/156953
2024-11-07 15:24:25 -05:00
flutter-pub-roller-bot
dff06fde60
Roll pub packages ( #158337 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-11-07 20:15:01 +00:00
Chris Bracken
995852f467
iOS: Eliminate ScopedBlock, ScopedTypeRef, ScopedPolicy ( flutter/engine#56410 )
...
Eliminates the two remaining uses of ScopedBlock and with it, ScopedTypeRef which was only used by ScopedBlock. ARC automatically generates the necessary block copy/retain/release calls, including moving blocks to the heap during a retain so manual _Block_copy/_Block_release calls are no longer required.
No test changes since no semantic changes.
Issue: https://github.com/flutter/flutter/issues/137801
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-11-07 19:47:06 +00:00
engine-flutter-autoroll
ecb6db5c51
Roll Flutter Engine from ac50b20ae5c9 to 371c86fb6b49 (5 revisions) ( #158336 )
...
ac50b20ae5...371c86fb6b
2024-11-07 jonahwilliams@google.com [Impeller] disable overdraw prevention for source draws. (flutter/engine#56403 )
2024-11-07 chris@bracken.jp macOS: fix leak in CurrentKeyboardLayout (flutter/engine#56420 )
2024-11-07 chris@bracken.jp macOS: Fix use after free in FlutterViewControllerTests (flutter/engine#56418 )
2024-11-07 skia-flutter-autoroll@skia.org Roll Skia from 6f16a8c83bf4 to e9a7546ef3d9 (3 revisions) (flutter/engine#56426 )
2024-11-07 skia-flutter-autoroll@skia.org Roll Skia from 8444ee0c8a76 to 6f16a8c83bf4 (1 revision) (flutter/engine#56425 )
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 jsimmons@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-11-07 19:05:27 +00:00
Jackson Gardner
d387d0fe3b
[skwasm] Make sure to include the transfer list when using postMessage. ( flutter/engine#56431 )
...
This change doesn't have unit tests, because it doesn't actually change the functional behavior of the renderer, it only changes its performance characteristics. If the transfer list is not included, the browser copies the image bitmaps instead of transfers them, which is slow, but does actually work. I am going to be adding some additional benchmarking in the framework to ensure that we detect if we regress something like this again.
2024-11-07 18:34:08 +00:00
skia-flutter-autoroll
c3d5dc1148
Roll Dart SDK from d456f613465a to 6a3684b96121 (5 revisions) ( flutter/engine#56430 )
...
https://dart.googlesource.com/sdk.git/+log/d456f613465a..6a3684b96121
2024-11-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-117.0.dev
2024-11-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-116.0.dev
2024-11-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-115.0.dev
2024-11-07 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-114.0.dev
2024-11-06 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.7.0-113.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 ,jsimmons@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-11-07 18:34:04 +00:00
Matan Lurey
3c689ce6b7
Fix a breakage caused by the test being unskipped. ( #158335 )
...
https://github.com/flutter/flutter/pull/158204 collided with
https://github.com/flutter/flutter/pull/157462 .
Fortunately the change is 1-line in 1-test.
2024-11-07 10:16:18 -08:00
engine-flutter-autoroll
eff34e2b4a
Roll Flutter Engine from 8a963cfc134c to ac50b20ae5c9 (1 revision) ( #158308 )
...
8a963cfc13...ac50b20ae5
2024-11-07 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from z1otZzn3yKuGnu1st... to pG2aukmcwvp71aKuS... (flutter/engine#56424 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from z1otZzn3yKuG to pG2aukmcwvp7
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 jsimmons@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-11-07 18:11:09 +00:00
Matan Lurey
78cfc1ae9b
Plugin.isDevDependency if exclusively in dev_dependencies (#157462 )
...
Work towards https://github.com/flutter/flutter/issues/56591 .
I explicitly want an LGTM from @andrewkolos @jmagman @jonahwilliams before merging.
---
After this PR, `<Plugin>.isDevDependency` is resolved based on the following logic, IFF:
- The plugin comes from a package _A_ listed in the app's package's `dev_dependencies: ...`
- The package _A_ is not a normal dependency of any transitive non-dev dependency of the app
See [`compute_dev_dependencies_test.dart`](51676093a3/packages/flutter_tools/test/general.shard/compute_dev_dependencies_test.dart ) for probably the best specification of this behavior.
We (still) do not write the property to disk (i.e. it never makes it to `.flutter-plugins-dependencies`), so there is no impact to build artifacts at this time; that would come in a follow-up PR (and then follow-up follow-up PRs for the various build systems in both Gradle and Xcode to actually use that value to omit dependencies).
Some tests had to be updated; for the most part it was updating the default `ProcessManager` because a call to `dart pub deps --json` is now made in code that computes what plugins are available, but there should be no change in behavior.
_/cc @jonasfj @sigurdm for FYI only (we talked on an internal thread about this; see https://github.com/dart-lang/sdk/issues/56968 )._
_/cc @camsim99 @cbracken @johnmccutchan for visibility on the change._
2024-11-07 18:09:22 +00:00
Jonah Williams
7f0892aaeb
[Impeller] disable overdraw prevention for source draws. ( flutter/engine#56403 )
...
Overdraw prevention prevents overlapping triangles in the stroke tessellator from being visible with partially opaque draws. For fully opaque draws (or usage of src blend mode) I do not believe this will be an issue - so we can disable this to speed things up a tiny bit.
This code runs after we covert opaque draws to src blend mode, so checking for src blend mode should be sufficient.
2024-11-07 16:59:21 +00:00
Chris Bracken
a6917332f8
macOS: fix leak in CurrentKeyboardLayout ( flutter/engine#56420 )
...
Previously, if `layout_data` was not nil, we failed to `CFRelease` `source`. However, if `layout_data` was nil, we dif free source, then immediately set it to a new CoreFoundation object, which we then failed to free.
We now use `fml::CFRef` which just does the right thing.
Finally, we were returning `(__brdige_transfer)CFRetain(layout_data)` but `__bridge_transfer` releases the transferred object at the end of the enclosing expression, so this is equivalent to `(__bridge)layout_data`, which is what we now do.
No tests since this is a refactor with no semantic changes, other than fixing an internal leak.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-11-07 16:45:19 +00:00
Chris Bracken
59da8913aa
macOS: Fix use after free in FlutterViewControllerTests ( flutter/engine#56418 )
...
Previously, in `mouseAndGestureEventsAreHandledSeparately:` we were using `CGEventRef cgEventStart` after it had been `CFRelease`d. Twice. This migrates to use fml::CFRef and avoids the issue altogether.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-11-07 16:41:40 +00:00
stuartmorgan
bd65732cd2
Add recently imported packages to issue template ( #158324 )
...
Adds path_parsing, vector_graphics, and flutter_svg to the list of 1P packages to select from when reporting issues. (vector_graphics_codec/compiler and flutter_svg_test are not listed separately since they are conceptually part of a package group, not unlike federated plugin packages.)
2024-11-07 16:11:27 +00:00
skia-flutter-autoroll
f995eb61c5
Roll Skia from 6f16a8c83bf4 to e9a7546ef3d9 (3 revisions) ( flutter/engine#56426 )
...
https://skia.googlesource.com/skia.git/+log/6f16a8c83bf4..e9a7546ef3d9
2024-11-07 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 0262f84fa0d7 to 353c8b4196e4 (15 revisions)
2024-11-07 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 644b91f7e096 to 026ba8481087 (4 revisions)
2024-11-07 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 500e41cc1e25 to b4b1d02e6e41 (12 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 ,jsimmons@google.com ,kjlubick@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-11-07 10:04:28 +00:00
skia-flutter-autoroll
e965d2c4ab
Roll Skia from 8444ee0c8a76 to 6f16a8c83bf4 (1 revision) ( flutter/engine#56425 )
...
https://skia.googlesource.com/skia.git/+log/8444ee0c8a76..6f16a8c83bf4
2024-11-07 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e154ea2ed72d to 49a7b74158a6 (10 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 ,jsimmons@google.com ,kjlubick@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-11-07 08:38:28 +00:00
skia-flutter-autoroll
5e1bc7efed
Roll Fuchsia Linux SDK from z1otZzn3yKuGnu1st... to pG2aukmcwvp71aKuS... ( flutter/engine#56424 )
...
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 jsimmons@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-11-07 06:17:30 +00:00
engine-flutter-autoroll
673d6046b7
Roll Flutter Engine from 076688d95818 to 8a963cfc134c (1 revision) ( #158304 )
...
076688d958...8a963cfc13
2024-11-07 skia-flutter-autoroll@skia.org Roll Skia from cf33c4e96e81 to 8444ee0c8a76 (4 revisions) (flutter/engine#56422 )
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 jsimmons@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-11-07 05:01:38 +00:00
skia-flutter-autoroll
71ad8e233f
Roll Skia from cf33c4e96e81 to 8444ee0c8a76 (4 revisions) ( flutter/engine#56422 )
...
https://skia.googlesource.com/skia.git/+log/cf33c4e96e81..8444ee0c8a76
2024-11-06 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from a8eb33756b22 to 500e41cc1e25 (9 revisions)
2024-11-06 robertphillips@google.com [graphite] Streamline setting of PipelineInfo flags for histograms
2024-11-06 jvanverth@google.com [graphite] Remove legacy arc support.
2024-11-06 robertphillips@google.com [graphite] Add UMA histogram for various Pipeline creation times
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 ,jsimmons@google.com ,kjlubick@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-11-07 03:24:46 +00:00
engine-flutter-autoroll
eef8daf090
Roll Flutter Engine from 94dac953a95f to 076688d95818 (2 revisions) ( #158303 )
...
94dac953a9...076688d958
2024-11-07 yjbanov@google.com [web:a11y] make header a <header> when non-empty and heading when empty (flutter/engine#55996 )
2024-11-06 jonahwilliams@google.com [Impeller] make sure binding nullptr texture does not crash. (flutter/engine#56381 )
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 jsimmons@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-11-07 02:33:29 +00:00
Yegor
c799bc6196
[web:a11y] make header a <header> when non-empty and heading when empty ( flutter/engine#55996 )
...
This relands the [reverted](https://github.com/flutter/engine/pull/55993 ) [original PR](https://github.com/flutter/engine/pull/55747 ) with one important adjustment: if the header is empty and has a label, it is rendered as a heading (`<h1>`, `<h2>`, etc) instead of a `<header>`. This is to be consistent with mobile, where headers are frequently used as headings, and screen readers do indeed read it as "heading". Changing all headers to the `<header>` tag turned to out to be too disruptive to existing usages of `SemanticsProperties.header`.
Long-term, when https://github.com/flutter/flutter/issues/155928 is implemented, we could migrate the framework to use `SemanticsProperties.headingLevel` to communicate that something is a heading, and encourage our users to move from `header` to `headingLevel` as well. After that migration is done, we could make all headers proper `<header>` tags, and not special-case empty headers.
Fixes https://github.com/flutter/flutter/issues/152268
2024-11-07 00:51:19 +00:00
Polina Cherkasova
1f1eec06f1
Make leak tracking bots blocking. ( #157866 )
...
See http://flutter.dev/go/leak-tracker-make-bots-blocking
2024-11-07 00:23:04 +00:00
engine-flutter-autoroll
c55f6048d9
Roll Flutter Engine from b36ca3319825 to 94dac953a95f (1 revision) ( #158297 )
...
b36ca33198...94dac953a9
2024-11-06 jonahwilliams@google.com [Impeller] keep imgui hostbuffer alive. (flutter/engine#56409 )
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 jsimmons@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-11-07 00:09:12 +00:00
engine-flutter-autoroll
c12a3dc5b3
Roll Flutter Engine from 58ac1dadd69d to b36ca3319825 (9 revisions) ( #158295 )
...
58ac1dadd6...b36ca33198
2024-11-06 jacksongardner@google.com [skwasm] Fix empty backdrop drawing. (flutter/engine#56385 )
2024-11-06 jonahwilliams@google.com [Impeller] generate stroke vertices into point arena. (flutter/engine#56390 )
2024-11-06 jason-simmons@users.noreply.github.com [Impeller] Do not capture the temporary ImpellerMapping struct pointer when storing release callbacks in libImpeller (flutter/engine#56411 )
2024-11-06 68449066+zijiehe-google-com@users.noreply.github.com Roll ICU from 9408c6fd4a39 to 4239b1559d11 (2 revisions) (flutter/engine#56407 )
2024-11-06 chris@bracken.jp iOS,macOS: Add Obj-C cflags to all Obj-C targets (flutter/engine#56386 )
2024-11-06 skia-flutter-autoroll@skia.org Roll Skia from afaed8923682 to cf33c4e96e81 (5 revisions) (flutter/engine#56408 )
2024-11-06 skia-flutter-autoroll@skia.org Manual roll Dart SDK from 1c1d0420539f to d456f613465a (6 revisions) (flutter/engine#56406 )
2024-11-06 chinmaygarde@google.com [Impeller] Avoid errors due to triangle fans usage on Molten. (flutter/engine#56321 )
2024-11-06 skia-flutter-autoroll@skia.org Roll Skia from b4df8dda7ffc to afaed8923682 (14 revisions) (flutter/engine#56404 )
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 jsimmons@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-11-06 23:16:26 +00:00
Paul Salmon
1ad0db51ae
Added cusor control properties to CupertinoSearchTextField and tests ( #158240 )
...
Adding control over the cursor to CupertinoSearchTextField: cursorWidth, cursorHeight, cursorRadius, cursorOpacityAnimates and cursorColor.
fixes https://github.com/flutter/flutter/issues/158239
2024-11-06 23:04:55 +00:00
Ben Konyi
933323488b
Fix flakiness in hot_reload_test.dart ( #158271 )
...
The test was immediately checking the contents of stdout after the daemon indicated that the hot reload had completed. This could cause a race since the reloaded code may not have had time to execute.
Fixes https://github.com/flutter/flutter/issues/158245
2024-11-06 22:14:19 +00:00
Jonah Williams
2edc85cc0f
[Impeller] make sure binding nullptr texture does not crash. ( flutter/engine#56381 )
...
Fixes https://github.com/flutter/flutter/issues/158074
binding a nullptr texture should fail but not crash.
2024-11-06 22:14:15 +00:00
Jonah Williams
d0bb78ccaf
[Impeller] keep imgui hostbuffer alive. ( flutter/engine#56409 )
...
Fixes https://github.com/flutter/flutter/issues/158275
We are now counting on the content context to keep the host buffer alive. the imgui overlay does not use a content context, so it has to manage the lifetime of the host buffer correctly, keeping it alive for as many frames as needed and destroying it in the correct order (before context destruction).
2024-11-06 21:53:55 +00:00
Gray Mackall
b8e56e3063
Fix use of deprecated buildDir in Android templates/tests/examples ( #157560 )
...
Replace deprecated `Project.buildDir` [getter](https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#getBuildDir() ) and [setter](https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#setBuildDir(java.io.File) ) uses.
2024-11-06 21:34:23 +00:00
Jackson Gardner
fef97957af
[skwasm] Fix empty backdrop drawing. ( flutter/engine#56385 )
...
If our operation affects the backdrop, the layer slice builder needs to take that into account when deciding whether to actually build a slice. In addition, we should take the content in the backdrop into account when calculating the cull rect for our picture recorders.
For this to actually work, we need a fix for https://g-issues.skia.org/issues/362552959 which I am currently working on.
2024-11-06 21:19:07 +00:00
Jonah Williams
e673b6fb32
[Impeller] generate stroke vertices into point arena. ( flutter/engine#56390 )
...
Heap allocation is extremely expensive on Android.
We can speed up the stroke tessellation by allocation a large arena and using that to write vertices. If the vertices would overflow, we switch to a dynamically allocated vector.
2024-11-06 21:17:07 +00:00
Jason Simmons
440ee21267
[Impeller] Do not capture the temporary ImpellerMapping struct pointer when storing release callbacks in libImpeller ( flutter/engine#56411 )
...
Fixes https://github.com/flutter/flutter/issues/158285
2024-11-06 21:13:46 +00:00
zijiehe@
cca1af22b2
Roll ICU from 9408c6fd4a39 to 4239b1559d11 (2 revisions) ( flutter/engine#56407 )
...
Redo #56401 with a manual license change to remove the chromeos/icudtl.dat.hash. The file was removed by https://crrev.com/83a7bd47a345137ac6081c71c2a7158f5403cd30 .
Original change description:
9408c6fd4a..4239b1559d
2024-10-02 [dayeung@chromium.org ](mailto:dayeung@chromium.org ) Updated TZ to 2024b
2024-09-05 [andreaorru@chromium.org ](mailto:andreaorru@chromium.org ) Remove icudtl.dat.hash
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/icu-sdk-flutter-engine
Please CC [fuchsia-ui-discuss@google.com ](mailto:fuchsia-ui-discuss@google.com ),[jsimmons@google.com ](mailto:jsimmons@google.com ) on the revert to ensure that a human
is aware of the problem.
To file a bug in ICU: https://github.com/unicode-org/icu
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
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-11-06 20:57:10 +00:00
Chris Bracken
5a3f245710
iOS,macOS: Add Obj-C cflags to all Obj-C targets ( flutter/engine#56386 )
...
Ensure that all Objective-C code in the codebase is being built with the standard set of Flutter Objective-C compiler flags with ARC enabled.
Also bumps the cflags config up to the top of the first block within each target in which Objective-C sources appear, so that the location is consistent.
Migrates The following targets to ARC, which had been missed in previous passes since they didn't declare the standard Flutter Obj-C[++] cflags:
* `//flutter/fml:fml_unittests`
* `//flutter/impeller/golden_tests:metal_screenshot`
* `//flutter/impeller/playground:playground`
* `//flutter/impeller/backend/metal:metal`
* `//flutter/impeller/backend/metal:metal_unittests`
* `//shell/gpu:gpu_surface_metal_unittests`
* `//flutter/shell/platform/embedder:embedder_unittests`
This patch includes no semantic changes.
Issue: https://github.com/flutter/flutter/issues/137801
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2024-11-06 20:17:08 +00:00
skia-flutter-autoroll
5662b172be
Roll Skia from afaed8923682 to cf33c4e96e81 (5 revisions) ( flutter/engine#56408 )
...
https://skia.googlesource.com/skia.git/+log/afaed8923682..cf33c4e96e81
2024-11-06 jacksongardner@google.com Take into account the backdrop filter when calculating the bounds of a SaveLayer operation.
2024-11-06 fmalita@google.com [viewer] More path interpolation samples
2024-11-06 vigneshv@google.com SkCrabbyAvif: Remove explicit brand sniffing in IsAvif
2024-11-06 vigneshv@google.com SkCodec: Remove the sysprop guard for SkCrabbyAvifCodec
2024-11-06 robertphillips@google.com [graphite] Rename all things ForceSynchronous to ForPrecompile
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 ,jsimmons@google.com ,kjlubick@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-11-06 19:59:20 +00:00
engine-flutter-autoroll
2e23f7b30e
Roll Flutter Engine from f03f11300a9d to 58ac1dadd69d (5 revisions) ( #158283 )
...
f03f11300a...58ac1dadd6
2024-11-06 jonahwilliams@google.com [Impeller] split downsample shader into GLES variant. (flutter/engine#56376 )
2024-11-06 skia-flutter-autoroll@skia.org Roll Skia from 82175b411c80 to b4df8dda7ffc (1 revision) (flutter/engine#56398 )
2024-11-06 matanlurey@users.noreply.github.com Add and document and explicit `toARGB32`. (flutter/engine#56329 )
2024-11-06 skia-flutter-autoroll@skia.org Roll Fuchsia Test Scripts from _fkA2GjLQH4bc_n2p... to 6FgM4KTbxxmyYoiOs... (flutter/engine#56392 )
2024-11-05 skia-flutter-autoroll@skia.org Manual roll Dart SDK from 3e840340c412 to 1c1d0420539f (2 revisions) (flutter/engine#56391 )
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 jsimmons@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-11-06 19:57:09 +00:00