Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 94606b1

Browse files
Merge remote-tracking branch 'upstream/master' into block-level-text-height-behavior
2 parents c0b1bef + 6ba12fa commit 94606b1

File tree

466 files changed

+22011
-5546
lines changed

Some content is hidden

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

466 files changed

+22011
-5546
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 20 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,32 @@
1-
## Description
1+
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*
22

3-
*Replace this paragraph with a description of what this PR is doing. If you're
4-
modifying existing behavior, describe the existing behavior, how this PR is
5-
changing it, and what motivated the change.*
3+
*List which issues are fixed by this PR. You must list at least one issue.*
64

7-
## Related Issues
5+
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
86

9-
*Replace this paragraph with a list of issues related to this PR from our [issue
10-
database]. Indicate, which of these issues are resolved or fixed by this PR.
11-
There should be at least one issue listed here.*
7+
## Pre-launch Checklist
128

13-
## Tests
14-
15-
I added the following tests:
16-
17-
*Replace this with a list of the tests that you added as part of this PR. A
18-
change in behaviour with no test covering it will likely get reverted
19-
accidentally sooner or later. PRs must include tests for all
20-
changed/updated/fixed behaviors. See [testing the engine] for instructions on
21-
writing and running engine tests.*
22-
23-
## Checklist
24-
25-
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
26-
27-
- [ ] I read the [contributor guide] and followed the process outlined there for submitting PRs.
9+
- [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
10+
- [ ] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
11+
- [ ] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides].
12+
- [ ] I listed at least one issue that this PR fixes in the description above.
13+
- [ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See [testing the engine] for instructions on
14+
writing and running engine tests.
15+
- [ ] I updated/added relevant documentation (doc comments with `///`).
2816
- [ ] I signed the [CLA].
29-
- [ ] I read and followed the [C++, Objective-C, Java style guides] for the engine.
30-
- [ ] I read the [tree hygiene] wiki page, which explains my responsibilities.
31-
- [ ] I updated/added relevant documentation.
3217
- [ ] All existing and new tests are passing.
33-
- [ ] I am willing to follow-up on review comments in a timely manner.
34-
35-
36-
## Reviewer Checklist
18+
- [ ] The reviewer has submitted any presubmit flakes in this PR using the [engine presubmit flakes form] before re-triggering the failure.
3719

38-
- [ ] I have submitted any presubmit flakes in this PR using the [engine presubmit flakes form] before re-triggering the failure.
39-
40-
41-
## Breaking Change
42-
43-
Did any tests fail when you ran them? Please read [handling breaking changes].
44-
45-
- [ ] No, no existing tests failed, so this is *not* a breaking change.
46-
- [ ] Yes, this is a breaking change. *If not, delete the remainder of this section.*
47-
- [ ] I wrote a design doc: https://flutter.dev/go/template *Replace this with a link to your design doc's short link*
48-
- [ ] I got input from the developer relations team, specifically from: *Replace with the names of who gave advice*
49-
- [ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template *Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes*
20+
If you need help, consider asking for advice on the #hackers-new channel on [Discord].
5021

5122
<!-- Links -->
52-
[issue database]: https://github.com/flutter/flutter/issues
53-
[contributor guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
54-
[testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine
23+
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
24+
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
25+
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
5526
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/master/CONTRIBUTING.md#style
27+
[testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine
5628
[CLA]: https://cla.developers.google.com/
57-
[tree hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
58-
[handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
29+
[flutter/tests]: https://github.com/flutter/tests
30+
[breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
31+
[Discord]: https://github.com/flutter/flutter/wiki/Chat
5932
[engine presubmit flakes form]: https://forms.gle/Wc1VyFRYJjQTH6w5A

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.*.sw?
55
.DS_Store
66
.ccls-cache
7+
.cache
78
.classpath
89
.clangd/
910
.cproject

BUILD.gn

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ group("flutter") {
6262
public_deps += [
6363
"//flutter/flutter_frontend_server:frontend_server",
6464
"//third_party/dart:create_sdk",
65+
66+
# This must be listed explicitly for desktop cross-builds since
67+
# //flutter/lib/snapshot:generate_snapshot_bin will only build
68+
# gen_snapshot for the host and not the target.
69+
"//third_party/dart/runtime/bin:gen_snapshot",
6570
]
6671

6772
if (full_dart_sdk) {
@@ -159,8 +164,10 @@ group("flutter") {
159164

160165
if (is_win) {
161166
if (target_os == "winuwp") {
162-
# TODO: Add winnup variant of the unit tests here; see
167+
# TODO: Add winnup variant of client_wrapper_windows_unittests here; see
163168
# https://github.com/flutter/flutter/issues/70197
169+
public_deps +=
170+
[ "//flutter/shell/platform/windows:flutter_windows_unittests" ]
164171
} else {
165172
public_deps += [
166173
"//flutter/shell/platform/windows:flutter_windows_unittests",

DEPS

Lines changed: 37 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,36 @@ vars = {
2121
'chromium_git': 'https://chromium.googlesource.com',
2222
'swiftshader_git': 'https://swiftshader.googlesource.com',
2323
'dart_git': 'https://dart.googlesource.com',
24+
'flutter_git': 'https://flutter.googlesource.com',
2425
'fuchsia_git': 'https://fuchsia.googlesource.com',
2526
'github_git': 'https://github.com',
2627
'skia_git': 'https://skia.googlesource.com',
2728
# OCMock is for testing only so there is no google clone
2829
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
29-
'skia_revision': 'd8e9436a78bf19c32e3c43a5bd953a5b579ded5a',
30+
'skia_revision': '9ff7b8d675591ad2ca8bdbb9cfbd30cdef0f146c',
3031

3132
# When updating the Dart revision, ensure that all entries that are
3233
# dependencies of Dart are also updated to match the entries in the
3334
# Dart SDK's DEPS file for that revision of Dart. The DEPS file for
3435
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
3536
# You can use //tools/dart/create_updated_flutter_deps.py to produce
3637
# updated revision list of existing dependencies.
37-
'dart_revision': '724d9e5e7d7111b4c76abd3cfab99be90f218fbf',
38+
'dart_revision': '75251de89baf49c2b3722abde3fd79fb4a710f50',
3839

3940
# WARNING: DO NOT EDIT MANUALLY
4041
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
41-
'dart_boringssl_gen_rev': '429ccb1877f7987a6f3988228bc2440e61293499',
42+
'dart_boringssl_gen_rev': 'aaac86738c4f2d1bdf00f54d197f50f247ffee04',
4243
'dart_boringssl_rev': '4dfd5af70191b068aebe567b8e29ce108cee85ce',
4344
'dart_clock_rev': 'a494269254ba978e7ef8f192c5f7fec3fc05b9d3',
4445
'dart_collection_rev': 'e4bb038ce2d8e66fb15818aa40685c68d53692ab',
45-
'dart_dart_style_tag': '1.3.10',
46+
'dart_dart_style_tag': '1.3.11',
4647
'dart_http_retry_tag': '0.1.1',
4748
'dart_http_throttle_tag': '1.0.2',
4849
'dart_intl_tag': '0.17.0-nullsafety',
49-
'dart_linter_tag': '0.1.127',
50+
'dart_linter_tag': '0.1.129',
5051
'dart_oauth2_tag': '1.6.0',
5152
'dart_protobuf_rev': '0d03fd588df69e9863e2a2efc0059dee8f18d5b2',
52-
'dart_pub_rev': '392a3cb455af48f7ce8807a96174691945f97f0a',
53+
'dart_pub_rev': '0e657414a472e74ca5dd76ae0db50cc060251dec',
5354
'dart_resource_rev': '6b79867d0becf5395e5819a75720963b8298e9a7',
5455
'dart_root_certificates_rev': '7e5ec82c99677a2e5b95ce296c4d68b0d3378ed8',
5556
'dart_shelf_packages_handler_tag': '2.0.0',
@@ -92,13 +93,14 @@ gclient_gn_args = [
9293
# If you need to add a new host, contact chrome infrastructure team.
9394
allowed_hosts = [
9495
'chromium.googlesource.com',
96+
'flutter.googlesource.com',
9597
'fuchsia.googlesource.com',
9698
'github.com',
9799
'skia.googlesource.com',
98100
]
99101

100102
deps = {
101-
'src': 'https://github.com/flutter/buildroot.git' + '@' + '3d37855508a4de2481ad0fead8e15563f0210c2c',
103+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '7565131390a39d9d6c460545d7992d76a0faa262',
102104

103105
# Fuchsia compatibility
104106
#
@@ -189,10 +191,10 @@ deps = {
189191
Var('dart_git') + '/dart2js_info.git@e0acfeb5affdf94c53067e68bd836adf589628fd',
190192

191193
'src/third_party/dart/third_party/pkg/dartdoc':
192-
Var('dart_git') + '/dartdoc.git@a1d86f2c992f4660ddcc09b27733396e92765d2a',
194+
Var('dart_git') + '/dartdoc.git@9e61a4f11091aaa8998525a2692b14148dc24ab5',
193195

194196
'src/third_party/dart/third_party/pkg/ffi':
195-
Var('dart_git') + '/ffi.git@31352979f261f7c6ea88fa0a2cfb0fdd004c38fb',
197+
Var('dart_git') + '/ffi.git@f288e906c92e2ab378768dfa61a40814ede7a2a5',
196198

197199
'src/third_party/dart/third_party/pkg/file':
198200
Var('dart_git') + '/external/github.com/google/file.dart/@0e09370f581ab6388d46fda4cdab66638c0171a1',
@@ -204,10 +206,10 @@ deps = {
204206
Var('dart_git') + '/glob.git@7c0ef8d4fa086f6b185c4dd724b700e7d7ad8f79',
205207

206208
'src/third_party/dart/third_party/pkg/html':
207-
Var('dart_git') + '/html.git@22f17e97fedeacaa1e945cf84d8016284eed33a6',
209+
Var('dart_git') + '/html.git@00cd3c22dac0e68e6ed9e7e4945101aedb1b3109',
208210

209211
'src/third_party/dart/third_party/pkg/http':
210-
Var('dart_git') + '/http.git@3845753a54624b070828cb3eff7a6c2a4e046cfb',
212+
Var('dart_git') + '/http.git@d5c678cd63c3e9c1d779a09acfa95b7e3af84665',
211213

212214
'src/third_party/dart/third_party/pkg/http_multi_server':
213215
Var('dart_git') + '/http_multi_server.git@e8c8be7f15b4fb50757ff5bf29766721fbe24fe4',
@@ -285,7 +287,7 @@ deps = {
285287
Var('dart_git') + '/shelf_static.git' + '@' + Var('dart_shelf_static_rev'),
286288

287289
'src/third_party/dart/third_party/pkg/shelf_web_socket':
288-
Var('dart_git') + '/shelf_web_socket.git@abae6956e2f7d863a416c99aa031d7fa1a7160a7',
290+
Var('dart_git') + '/shelf_web_socket.git@bf8554ff80089bf88de262503f85dc3610d79ecf',
289291

290292
'src/third_party/dart/third_party/pkg/source_map_stack_trace':
291293
Var('dart_git') + '/source_map_stack_trace.git@1c3026f69d9771acf2f8c176a1ab750463309cce',
@@ -339,7 +341,7 @@ deps = {
339341
Var('dart_git') + '/dart_style.git' + '@' + Var('dart_dart_style_tag'),
340342

341343
'src/third_party/dart/third_party/pkg_tested/package_config':
342-
Var('dart_git') + '/package_config.git@9c586d04bd26fef01215fd10e7ab96a3050cfa64',
344+
Var('dart_git') + '/package_config.git@0e208cb5a9482d780c47627368d3f5bdc409f37b',
343345

344346
'src/third_party/dart/tools/sdks':
345347
{'packages': [{'version': 'version:2.12.0-133.2.beta', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
@@ -350,7 +352,7 @@ deps = {
350352
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
351353

352354
'src/third_party/freetype2':
353-
Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'edab12c07ac05d1185616688f338b1ad15936796',
355+
Var('flutter_git') + '/third_party/freetype2' + '@' + '1f03c1b2d7f2ae832a4fbe9d12bd96c3c15bbece',
354356

355357
'src/third_party/root_certificates':
356358
Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),
@@ -384,9 +386,9 @@ deps = {
384386
Var('swiftshader_git') + '/SwiftShader.git' + '@' + '5d1e8540407c138f47028d64684f3da599430aa4',
385387

386388
'src/third_party/angle':
387-
Var('github_git') + '/google/angle.git' + '@' + 'ed90c9917b1b7fc6def319184b10609c11b2bd84',
389+
Var('github_git') + '/google/angle.git' + '@' + 'ea0f3496436ec49f32576bba8d2c4c03467fbf96',
388390

389-
'src/third_party/angle/third_party/vulkan-headers/src':
391+
'src/third_party/angle/third_party/vulkan-deps/vulkan-headers/src':
390392
Var('fuchsia_git') + '/third_party/Vulkan-Headers.git' + '@' + '5de4e8fab88ef0bd6994d9ddbcc864e3179b9e79',
391393

392394
'src/third_party/abseil-cpp':
@@ -496,14 +498,27 @@ deps = {
496498
'dep_type': 'cipd',
497499
},
498500

499-
'src/buildtools/{host_os}-x64/clang': {
501+
# Clang on mac and linux are expected to typically be the same revision.
502+
# They are separated out so that the autoroller can more easily manage them.
503+
'src/buildtools/mac-x64/clang': {
500504
'packages': [
501505
{
502-
'package': 'fuchsia/third_party/clang/${{platform}}',
503-
'version': 'git_revision:7e9747b50bcb1be28d4a3236571e8050835497a6'
506+
'package': 'fuchsia/third_party/clang/mac-amd64',
507+
'version': 'hoapl8VNWFGkiCI_tQDt_7wKgyaxie5bw_plTjO00T0C'
504508
}
505509
],
506-
'condition': 'host_os == "mac" or host_os == "linux"',
510+
'condition': 'host_os == "mac"',
511+
'dep_type': 'cipd',
512+
},
513+
514+
'src/buildtools/linux-x64/clang': {
515+
'packages': [
516+
{
517+
'package': 'fuchsia/third_party/clang/linux-amd64',
518+
'version': '1Wa1KIWqFodI7MyWcK3V1py3mdLwYYWY2KOaeyIR-roC'
519+
}
520+
],
521+
'condition': 'host_os == "linux"',
507522
'dep_type': 'cipd',
508523
},
509524

@@ -526,17 +541,7 @@ deps = {
526541
'packages': [
527542
{
528543
'package': 'fuchsia/sdk/core/mac-amd64',
529-
'version': 'BsUY1yjWhCqcChByDpKAtvZNMIPPDKfPcRA0TXaPGzQC'
530-
}
531-
],
532-
'condition': 'host_os == "mac"',
533-
'dep_type': 'cipd',
534-
},
535-
'src/fuchsia/toolchain/mac': {
536-
'packages': [
537-
{
538-
'package': 'fuchsia/clang/mac-amd64',
539-
'version': 'OzTZOKkICT0yD82Dbx0jvVn5hN5eOSi6ByVTDseE7i0C'
544+
'version': 'CZUusaxvkfuScuSTU0L5AuxpqOTJ_ijx9pesRK_FNg8C'
540545
}
541546
],
542547
'condition': 'host_os == "mac"',
@@ -546,17 +551,7 @@ deps = {
546551
'packages': [
547552
{
548553
'package': 'fuchsia/sdk/core/linux-amd64',
549-
'version': 'BUsKF6z4ts8QwjxV-C8yup92MEb6_G0DW6Y2SvEBJHQC'
550-
}
551-
],
552-
'condition': 'host_os == "linux"',
553-
'dep_type': 'cipd',
554-
},
555-
'src/fuchsia/toolchain/linux': {
556-
'packages': [
557-
{
558-
'package': 'fuchsia/clang/linux-amd64',
559-
'version': 'OT6p30bQQhyCzRSy7xPsSbZ88J3PWOnneenkMZ0j7kIC'
554+
'version': 'k80WkJhOLenOf4sEOX6dvr6UVZeQRR35ZGgfogku5_sC'
560555
}
561556
],
562557
'condition': 'host_os == "linux"',

ci/licenses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function verify_licenses() (
122122

123123
local actualLicenseCount
124124
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
125-
local expectedLicenseCount=14 # When changing this number: Update the error message below as well describing all expected license types.
125+
local expectedLicenseCount=15 # When changing this number: Update the error message below as well describing all expected license types.
126126

127127
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
128128
echo "=============================== ERROR ==============================="

0 commit comments

Comments
 (0)