Skip to content

Commit 314c11a

Browse files
Merge branch 'master' into master
2 parents a4a49eb + 77c42fb commit 314c11a

File tree

480 files changed

+13008
-5135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

480 files changed

+13008
-5135
lines changed

.ci.yaml

Lines changed: 52 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ platform_properties:
286286
]
287287
os: Mac-14
288288
cpu: x86
289-
device_os: iOS-17
289+
device_os: iOS-17|iOS-18
290290
$flutter/osx_sdk : >-
291291
{
292292
"sdk_version": "16c5032a"
@@ -304,7 +304,7 @@ platform_properties:
304304
]
305305
os: Mac-14
306306
cpu: x86
307-
device_os: iOS-17
307+
device_os: iOS-17|iOS-18
308308
$flutter/osx_sdk : >-
309309
{
310310
"sdk_version": "16c5032a"
@@ -322,7 +322,7 @@ platform_properties:
322322
]
323323
os: Mac-14
324324
cpu: arm64
325-
device_os: iOS-17
325+
device_os: iOS-17|iOS-18
326326
$flutter/osx_sdk : >-
327327
{
328328
"sdk_version": "16c5032a"
@@ -1241,7 +1241,6 @@ targets:
12411241
- DEPS
12421242

12431243
- name: Linux tool_integration_tests_1_7
1244-
bringup: true
12451244
recipe: flutter/flutter_drone
12461245
timeout: 60
12471246
properties:
@@ -1270,7 +1269,6 @@ targets:
12701269
- DEPS
12711270

12721271
- name: Linux tool_integration_tests_2_7
1273-
bringup: true
12741272
recipe: flutter/flutter_drone
12751273
timeout: 60
12761274
properties:
@@ -1299,7 +1297,6 @@ targets:
12991297
- DEPS
13001298

13011299
- name: Linux tool_integration_tests_3_7
1302-
bringup: true
13031300
recipe: flutter/flutter_drone
13041301
timeout: 60
13051302
properties:
@@ -1412,7 +1409,6 @@ targets:
14121409
- DEPS
14131410

14141411
- name: Linux tool_integration_tests_7_7
1415-
bringup: true
14161412
recipe: flutter/flutter_drone
14171413
timeout: 60
14181414
properties:
@@ -1515,10 +1511,12 @@ targets:
15151511
test_timeout_secs: "2700"
15161512
runIf:
15171513
- packages/flutter_tools/templates/**
1514+
- packages/flutter_tools/gradle/**
15181515
- .ci.yaml
15191516
- engine/**
15201517
- DEPS
15211518
- dev/devicelab/bin/tasks/android_java11_dependency_smoke_tests.dart
1519+
- dev/devicelab/lib/framework/dependency_smoke_test_task_definition.dart
15221520

15231521
- name: Linux android_java17_dependency_smoke_tests
15241522
recipe: devicelab/devicelab_drone
@@ -1537,10 +1535,12 @@ targets:
15371535
test_timeout_secs: "2700"
15381536
runIf:
15391537
- packages/flutter_tools/templates/**
1538+
- packages/flutter_tools/gradle/**
15401539
- .ci.yaml
15411540
- engine/**
15421541
- DEPS
15431542
- dev/devicelab/bin/tasks/android_java17_dependency_smoke_tests.dart
1543+
- dev/devicelab/lib/framework/dependency_smoke_test_task_definition.dart
15441544

15451545
- name: Linux tool_tests_commands
15461546
recipe: flutter/flutter_drone
@@ -1592,7 +1592,6 @@ targets:
15921592
- name: Linux tool_tests_widget_preview_scaffold
15931593
recipe: flutter/flutter_drone
15941594
timeout: 60
1595-
bringup: true
15961595
properties:
15971596
add_recipes_cq: "true"
15981597
dependencies: >-
@@ -2380,6 +2379,29 @@ targets:
23802379
["devicelab", "android", "linux", "pixel", "7pro"]
23812380
task_name: static_path_tessellation_perf__timeline_summary
23822381

2382+
2383+
# Uses Impeller.
2384+
- name: Linux_pixel_7pro dynamic_path_stroke_tessellation_perf__timeline_summary
2385+
recipe: devicelab/devicelab_drone
2386+
presubmit: false
2387+
bringup: true
2388+
timeout: 60
2389+
properties:
2390+
tags: >
2391+
["devicelab", "android", "linux", "pixel", "7pro"]
2392+
task_name: dynamic_path_stroke_tessellation_perf__timeline_summary
2393+
2394+
# Uses Impeller.
2395+
- name: Linux_pixel_7pro static_path_stroke_tessellation_perf__timeline_summary
2396+
recipe: devicelab/devicelab_drone
2397+
presubmit: false
2398+
bringup: true
2399+
timeout: 60
2400+
properties:
2401+
tags: >
2402+
["devicelab", "android", "linux", "pixel", "7pro"]
2403+
task_name: static_path_stroke_tessellation_perf__timeline_summary
2404+
23832405
# Uses Impeller.
23842406
- name: Linux_pixel_7pro hello_world_impeller
23852407
recipe: devicelab/devicelab_drone
@@ -2706,7 +2728,6 @@ targets:
27062728
# linux mokey benchmark
27072729
- name: Linux_mokey flutter_engine_group_performance
27082730
recipe: devicelab/devicelab_drone
2709-
bringup: true # https://github.com/flutter/flutter/issues/149666
27102731
presubmit: false
27112732
timeout: 60
27122733
properties:
@@ -2758,7 +2779,6 @@ targets:
27582779
- name: Linux_mokey flutter_gallery_lazy__start_up
27592780
recipe: devicelab/devicelab_drone
27602781
presubmit: false
2761-
bringup: true
27622782
timeout: 60
27632783
properties:
27642784
tags: >
@@ -3607,6 +3627,26 @@ targets:
36073627
["devicelab", "ios", "mac"]
36083628
task_name: dynamic_path_tessellation_perf_ios__timeline_summary
36093629

3630+
- name: Mac_ios static_path_stroke_tessellation_perf_ios__timeline_summary
3631+
recipe: devicelab/devicelab_drone
3632+
presubmit: false
3633+
bringup: true
3634+
timeout: 60
3635+
properties:
3636+
tags: >
3637+
["devicelab", "ios", "mac"]
3638+
task_name: static_path_stroke_tessellation_perf_ios__timeline_summary
3639+
3640+
- name: Mac_ios dynamic_path_stroke_tessellation_perf_ios__timeline_summary
3641+
recipe: devicelab/devicelab_drone
3642+
presubmit: false
3643+
bringup: true
3644+
timeout: 60
3645+
properties:
3646+
tags: >
3647+
["devicelab", "ios", "mac"]
3648+
task_name: dynamic_path_stroke_tessellation_perf_ios__timeline_summary
3649+
36103650
- name: Staging_build_linux analyze
36113651
presubmit: false
36123652
bringup: true
@@ -4718,7 +4758,6 @@ targets:
47184758
- name: Mac_mokey microbenchmarks
47194759
recipe: devicelab/devicelab_drone
47204760
presubmit: false
4721-
bringup: true # TODO(codefu): https://github.com/flutter/flutter/issues/156506
47224761
timeout: 60
47234762
properties:
47244763
tags: >
@@ -5138,9 +5177,9 @@ targets:
51385177
task_name: macos_chrome_dev_mode
51395178

51405179
- name: Mac_ios microbenchmarks_ios
5141-
bringup: true # Flakey https://github.com/flutter/flutter/issues/156457
51425180
recipe: devicelab/devicelab_drone
51435181
presubmit: false
5182+
bringup: true
51445183
timeout: 60
51455184
properties:
51465185
tags: >
@@ -5388,7 +5427,7 @@ targets:
53885427
["devicelab", "ios", "mac"]
53895428
task_name: flutter_gallery__transition_perf_e2e_ios
53905429
drone_dimensions: >
5391-
["device_os=iOS-17","os=Mac-14", "cpu=x86"]
5430+
["device_os=iOS-17|iOS-18","os=Mac-14", "cpu=x86"]
53925431
53935432
- name: Mac_ios animated_blur_backdrop_filter_perf_ios__timeline_summary
53945433
recipe: devicelab/devicelab_drone

.github/workflows/content-aware-hash.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
2020
- name: Generate Hash
2121
run: |
22-
engine_content_hash=$(git ls-tree HEAD DEPS bin/internal/release-candidate-branch.version engine | git hash-object --stdin)
22+
engine_content_hash=$(bin/internal/content_aware_hash.sh)
2323
# test notice annotation for retrival from api
2424
echo "::notice ::{\"engine_content_hash\": \"${engine_content_hash}\"}"
2525
# test summary writing

AUTHORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,5 @@ dy0gu <[email protected]>
132132
Albert Wolszon <[email protected]>
133133
Mohammed Chahboun <[email protected]>
134134
Abdessalem Mohellebi <[email protected]>
135-
Jin Jeongsu <[email protected]>
135+
Jin Jeongsu <[email protected]>
136+
Mairon Slusarz <[email protected]>

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,23 @@ INTERNAL NOTE
2626
-->
2727
## Flutter 3.29 Changes
2828

29+
### [3.29.3](https://github.com/flutter/flutter/releases/tag/3.29.3)
30+
- [flutter/165818](https://github.com/flutter/flutter/pull/165818) - Unset `GIT_DIR` to enable flutter tool calls in githooks.
31+
- [flutter/163421](https://github.com/flutter/flutter/issues/163421) - Impeller,
32+
Android, Fixes Android Emulator crash when navigating to routes with backdrop
33+
blurs.
34+
- [flutter/165166](https://github.com/flutter/flutter/pull/165166) - Impeller, All platforms, Text that is scaled over 48x renders incorrectly.
35+
- [flutter/163627](https://github.com/flutter/flutter/pull/163627) - Fix issue where placeholder types in ARB localizations weren't used for type inference, causing a possible type mismatch with the placeholder field defined in the template.
36+
- [flutter/165166](https://github.com/flutter/flutter/pull/165166) - Update CI configurations and tests to use Xcode 16 and iOS 18 simulator.
37+
- [flutter/161466](https://github.com/flutter/flutter/pull/161466) - Hot restart can hang on all platforms if "Pause on Unhandled Exceptions" is enabled by the debugger and a call to `compute` or `Isolate.run` has not completed.
38+
2939
### [3.29.2](https://github.com/flutter/flutter/releases/tag/3.29.2)
3040

41+
- [dart 3.7.2 changelog](https://github.com/dart-lang/sdk/blob/stable/CHANGELOG.md#372)
42+
- [flutter/164958](https://github.com/flutter/flutter/issues/164958) - Impeller, All platforms, Text that is rotated 180 degrees exactly will render as if it is scaled by {-1, 1} instead of {-1, -1}.
43+
- [flutter/165075](https://github.com/flutter/flutter/pull/165075) - Fixes crashes on Android devices older than API 29 when using Impeller OpenGLES.
44+
- [flutter/164606](https://github.com/flutter/flutter/issues/164606) Fixes missing glyph error on Android and iOS devices using Impeller.
45+
- [flutter/164036](https://github.com/flutter/flutter/pull/164036) - On iOS devices Increase number of concurrent background image decode tasks to partially mitigate "Image upload failed due to loss of GPU access" errors.
3146
- [flutter/163175](https://github.com/flutter/flutter/pull/163175) - Improve performance of CanvasKit rendering for web.
3247
- [flutter/164628](https://github.com/flutter/flutter/issues/164628) - iOS Fixes crash when allocation of surface for toImage/toImageSync fails.
3348
- [flutter/164201](https://github.com/flutter/flutter/pull/164201) - Always use Android hardware buffers for platform views when supported.

DEPS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vars = {
1414
'flutter_git': 'https://flutter.googlesource.com',
1515
'skia_git': 'https://skia.googlesource.com',
1616
'llvm_git': 'https://llvm.googlesource.com',
17-
'skia_revision': 'a7da13848085143e730dc3ea946ba8b4d2176ea2',
17+
'skia_revision': '76cb5d4fba27b92393f63efbbb4311d9ac229838',
1818

1919
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2020
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -211,7 +211,7 @@ vars = {
211211
# The version / instance id of the cipd:chromium/fuchsia/test-scripts which
212212
# will be used altogether with fuchsia-sdk to setup the build / test
213213
# environment.
214-
'fuchsia_test_scripts_version': 'FZdRtNwH7jmADecj60ClOK69AHHnfTvvuwKLUgY0_AoC',
214+
'fuchsia_test_scripts_version': 'mApUsju36efRytN4WFdopPYMfYgAI8ODzTmYq3zNEqsC',
215215

216216
# The version / instance id of the cipd:chromium/fuchsia/gn-sdk which will be
217217
# used altogether with fuchsia-sdk to generate gn based build rules.
@@ -244,7 +244,7 @@ deps = {
244244
Var('flutter_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b',
245245

246246
'engine/src/flutter/third_party/harfbuzz':
247-
Var('flutter_git') + '/third_party/harfbuzz' + '@' + 'ea8f97c615f0ba17dc25013ef67dbd6bfaaa76f2',
247+
Var('flutter_git') + '/third_party/harfbuzz' + '@' + 'ea6a172f84f2cbcfed803b5ae71064c7afb6b5c2',
248248

249249
'engine/src/flutter/third_party/libcxx':
250250
Var('llvm_git') + '/llvm-project/libcxx' + '@' + 'bd557f6f764d1e40b62528a13b124ce740624f8f',
@@ -813,7 +813,7 @@ deps = {
813813
'packages': [
814814
{
815815
'package': 'fuchsia/sdk/core/linux-amd64',
816-
'version': 'vYisSsIgqw0mqFRVJxScJ5ygIU_t0l6yvA6WNas8rtgC'
816+
'version': '91RIHvX0YC3wzD7qjbMedDs-zeXWJQMLcjwj6PKjR00C'
817817
}
818818
],
819819
'condition': 'download_fuchsia_deps and not download_fuchsia_sdk',

TESTOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@
105105
/dev/devicelab/bin/tasks/draw_atlas_perf__timeline_summary.dart @jonahwilliams @flutter/engine
106106
/dev/devicelab/bin/tasks/static_path_tessellation_perf__timeline_summary.dart @jonahwilliams @flutter/engine
107107
/dev/devicelab/bin/tasks/dynamic_path_tessellation_perf__timeline_summary.dart @jonahwilliams @flutter/engine
108+
/dev/devicelab/bin/tasks/static_path_stroke_tessellation_perf__timeline_summary.dart @flar @flutter/engine
109+
/dev/devicelab/bin/tasks/dynamic_path_stroke_tessellation_perf__timeline_summary.dart @flar @flutter/engine
108110
/dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller__timeline_summary.dart @jonahwilliams @flutter/engine
109111
/dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_gles__timeline_summary.dart @jonahwilliams @flutter/engine
110112
/dev/devicelab/bin/tasks/rrect_blur_perf__timeline_summary.dart @gaaclarke @flutter/engine
@@ -229,6 +231,8 @@
229231
/dev/devicelab/bin/tasks/draw_atlas_perf_ios__timeline_summary.dart @jonahwilliams @flutter/engine
230232
/dev/devicelab/bin/tasks/static_path_tessellation_perf_ios__timeline_summary.dart @jonahwilliams @flutter/engine
231233
/dev/devicelab/bin/tasks/dynamic_path_tessellation_perf_ios__timeline_summary.dart @jonahwilliams @flutter/engine
234+
/dev/devicelab/bin/tasks/static_path_stroke_tessellation_perf_ios__timeline_summary.dart @flar @flutter/engine
235+
/dev/devicelab/bin/tasks/dynamic_path_stroke_tessellation_perf_ios__timeline_summary.dart @flar @flutter/engine
232236
/dev/devicelab/bin/tasks/rrect_blur_perf_ios__timeline_summary.dart @gaaclarke @flutter/engine
233237

234238
## Host only DeviceLab tests
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright 2014 The Flutter Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# ---------------------------------- NOTE ---------------------------------- #
6+
#
7+
# Please keep the logic in this file consistent with the logic in the
8+
# `content_aware_hash.ps1` script in the same directory to ensure that Flutter
9+
# continues to work across all platforms!
10+
#
11+
# -------------------------------------------------------------------------- #
12+
13+
$ErrorActionPreference = "Stop"
14+
15+
# When called from a submodule hook; these will override `git -C dir`
16+
$env:GIT_DIR = $null
17+
$env:GIT_INDEX_FILE = $null
18+
$env:GIT_WORK_TREE = $null
19+
20+
$progName = Split-Path -parent $MyInvocation.MyCommand.Definition
21+
$flutterRoot = (Get-Item $progName).parent.parent.FullName
22+
23+
# Cannot use '*' for files in this command
24+
# DEPS: tracks third party dependencies related to building the engine
25+
# engine: all the code in the engine folder
26+
# bin/internal/content_aware_hash.ps1: script for calculating the hash on windows
27+
# bin/internal/content_aware_hash.sh: script for calculating the hash on mac/linux
28+
# .github/workflows/content-aware-hash.yml: github action for CI/CD hashing
29+
cmd /c "git -C ""$flutterRoot"" ls-tree --format ""%(objectname) %(path)"" HEAD DEPS engine bin/internal/release-candidate-branch.version | git hash-object --stdin"

bin/internal/content_aware_hash.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/usr/bin/env bash
2+
# Copyright 2014 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
# ---------------------------------- NOTE ---------------------------------- #
7+
#
8+
# Please keep the logic in this file consistent with the logic in the
9+
# `content_aware_hash.ps1` script in the same directory to ensure that Flutter
10+
# continues to work across all platforms!
11+
#
12+
# -------------------------------------------------------------------------- #
13+
14+
set -e
15+
16+
FLUTTER_ROOT="$(dirname "$(dirname "$(dirname "${BASH_SOURCE[0]}")")")"
17+
18+
unset GIT_DIR
19+
unset GIT_INDEX_FILE
20+
unset GIT_WORK_TREE
21+
22+
# Cannot use '*' for files in this command
23+
# DEPS: tracks third party dependencies related to building the engine
24+
# engine: all the code in the engine folder
25+
# bin/internal/content_aware_hash.ps1: script for calculating the hash on windows
26+
# bin/internal/content_aware_hash.sh: script for calculating the hash on mac/linux
27+
# .github/workflows/content-aware-hash.yml: github action for CI/CD hashing
28+
git -C "$FLUTTER_ROOT" ls-tree --format "%(objectname) %(path)" HEAD DEPS engine bin/internal/release-candidate-branch.version | git hash-object --stdin
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
267ac7b66308ad34b6ce14c1f5399ab0691f9ede
1+
f26b681ab40dcd51c7a2156e60936468d9bfea60

dev/benchmarks/macrobenchmarks/lib/common.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const String kPictureCacheComplexityScoringRouteName = '/picture_cache_complexit
1212
const String kLargeImageChangerRouteName = '/large_image_changer';
1313
const String kLargeImagesRouteName = '/large_images';
1414
const String kPathTessellationRouteName = '/path_tessellation';
15+
const String kPathStrokeTessellationRouteName = '/path_stroke_tessellation';
1516
const String kTextRouteName = '/text';
1617
const String kVeryLongPictureScrollingRouteName = '/very_long_picture_scrolling';
1718
const String kFullscreenTextRouteName = '/fullscreen_text';

0 commit comments

Comments
 (0)