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

Commit 8a5fca3

Browse files
Merge remote-tracking branch 'upstream/master' into ios-textinputplugin-arc
2 parents 6491f7a + a7ec07f commit 8a5fca3

File tree

408 files changed

+98072
-30192
lines changed

Some content is hidden

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

408 files changed

+98072
-30192
lines changed

.ci.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ targets:
181181
- name: Linux Host Engine
182182
recipe: engine/engine
183183
properties:
184+
gclient_variables: >-
185+
{"download_emsdk": true}
184186
add_recipes_cq: "true"
185187
build_host: "true"
186188
timeout: 60
@@ -286,7 +288,7 @@ targets:
286288
dependencies: >-
287289
[
288290
{"dependency": "chrome_and_driver", "version": "version:107.0"},
289-
{"dependency": "firefox", "version": "version:83.0"},
291+
{"dependency": "firefox", "version": "version:106.0"},
290292
{"dependency": "goldctl", "version": "git_revision:3a77d0b12c697a840ca0c7705208e8622dc94603"}
291293
]
292294
timeout: 60
@@ -337,6 +339,8 @@ targets:
337339
- name: Mac Host Engine
338340
recipe: engine/engine
339341
properties:
342+
gclient_variables: >-
343+
{"download_emsdk": true}
340344
add_recipes_cq: "true"
341345
build_host: "true"
342346
jazzy_version: "0.14.1"
@@ -375,6 +379,7 @@ targets:
375379
recipe: engine/engine_lint
376380
properties:
377381
add_recipes_cq: "true"
382+
cores: "12"
378383
jazzy_version: "0.14.1"
379384
lint_host: "true"
380385
lint_ios: "false"
@@ -486,6 +491,8 @@ targets:
486491
recipe: engine/engine
487492
timeout: 60
488493
properties:
494+
gclient_variables: >-
495+
{"download_emsdk": true}
489496
add_recipes_cq: "true"
490497
build_host: "true"
491498

.github/workflows/scorecards-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: read-all
1111
jobs:
1212
vuln-scan:
1313
name: Vulnerability scanning
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-20.04
1515
if: ${{ github.repository == 'flutter/engine' }}
1616
steps:
1717
- name: "Checkout code"
@@ -65,6 +65,6 @@ jobs:
6565

6666
# Upload the results to GitHub's code scanning dashboard.
6767
- name: "Upload to code-scanning"
68-
uses: github/codeql-action/upload-sarif@c3b6fce4ee2ca25bc1066aa3bf73962fda0e8898
68+
uses: github/codeql-action/upload-sarif@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297
6969
with:
7070
sarif_file: results.sarif

.github/workflows/third_party_scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151

5252
# Upload the results to GitHub's code scanning dashboard.
5353
- name: "Upload to code-scanning"
54-
uses: github/codeql-action/upload-sarif@a3a6c128d771b6b9bdebb1c9d0583ebd2728a108
54+
uses: github/codeql-action/upload-sarif@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297
5555
with:
5656
sarif_file: osvReport.sarif

DEPS

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ vars = {
1818
'llvm_git': 'https://llvm.googlesource.com',
1919
# OCMock is for testing only so there is no google clone
2020
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
21-
'skia_revision': 'a82a7b6da0a084fd852cae8554ea2f90a3bfa465',
21+
'skia_revision': 'f549128104babe451bacf60e5851dbf73b2940d6',
2222

2323
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2424
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -48,22 +48,22 @@ vars = {
4848
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
4949
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5050
# updated revision list of existing dependencies.
51-
'dart_revision': '962cd6e0d20a8e63b679bbb93ee1c159b6599073',
51+
'dart_revision': '1dd5b1bf109903f5991749301433557fc89d7bb3',
5252

5353
# WARNING: DO NOT EDIT MANUALLY
5454
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
55-
'dart_binaryen_rev': 'ec53f4b2d5b0d52ae703c5b696ecf052ad5fffbb',
55+
'dart_binaryen_rev': '7769139efbe818c7ba36d1a382db5114ebee9df8',
5656
'dart_boringssl_gen_rev': 'ced85ef0a00bbca77ce5a91261a5f2ae61b1e62f',
5757
'dart_boringssl_rev': '87f316d7748268eb56f2dc147bd593254ae93198',
5858
'dart_browser_launcher_rev': '5fa0bd6cddc33785f43c920576fc03dcee1c3caa',
5959
'dart_clock_rev': '8a8231fa7912d84c7e99236b7800cfbef5ea7ae5',
60-
'dart_collection_rev': 'efd709fc1760a595f8575f4137a1847de1b49d76',
61-
'dart_devtools_rev': '23444af89d716818f099974df3e4fffac87fd886',
62-
'dart_protobuf_rev': 'ae90e53cd690edbfc72fa6c293fdb7b4a09ee0a2',
63-
'dart_pub_rev': '6ac42d7644dedfcc500147ab47886eecab4b1b38',
60+
'dart_collection_rev': 'cdb11d410b67279d81673def5a8a78dfc0dec2eb',
61+
'dart_devtools_rev': 'dd3fade2bd2ef74fc6102e56333a48f0efc594d3',
62+
'dart_protobuf_rev': '2706b53d2175b5e1081603059ef1b7b30956f6b8',
63+
'dart_pub_rev': '21aa23f148a428ae4dd97a27ecc70b08c1328089',
6464
'dart_root_certificates_rev': '692f6d6488af68e0121317a9c2c9eb393eb0ee50',
6565
'dart_watcher_rev': '32591071a83f632478e702f67e29de6e54428ce9',
66-
'dart_webdev_rev': '3ec168f6815af9d5f11278111d147bc82c0755c3',
66+
'dart_webdev_rev': '3e2364ee3539ae08f350d03a3a5f3c22aa74d994',
6767
'dart_webkit_inspection_protocol_rev': 'ddb624cd85954dd384056cc253a8fc2b9da5364d',
6868
'dart_yaml_edit_rev': '299f74594ff9fda412c1da5c0b5d5231d0c6fc42',
6969
'dart_zlib_rev': '27c2f474b71d0d20764f86f60ef8b00da1a16cda',
@@ -148,6 +148,7 @@ vars = {
148148
"upstream_http_parser": "https://github.com/dart-lang/http_parser.git",
149149
"upstream_http": "https://github.com/dart-lang/http.git",
150150
"upstream_icu": "https://github.com/unicode-org/icu.git",
151+
"upstream_intl": "https://github.com/dart-lang/intl.git",
151152
"upstream_imgui": "https://github.com/ocornut/imgui.git",
152153
"upstream_inja": "https://github.com/pantor/inja.git",
153154
"upstream_json": "https://github.com/nlohmann/json.git",
@@ -235,7 +236,7 @@ allowed_hosts = [
235236
]
236237

237238
deps = {
238-
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'f63462fc605c94da9301d7263ce1b1f53bf4188a',
239+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '012a58f159c736a21d9c40a6b98f69e3a9910169',
239240

240241
# Fuchsia compatibility
241242
#
@@ -256,7 +257,7 @@ deps = {
256257
Var('llvm_git') + '/llvm-project/libcxxabi' + '@' + '2ce528fb5e0f92e57c97ec3ff53b75359d33af12',
257258

258259
'src/third_party/glfw':
259-
Var('fuchsia_git') + '/third_party/glfw' + '@' + '78e6a0063d27ed44c2c4805606309744f6fb29fc',
260+
Var('fuchsia_git') + '/third_party/glfw' + '@' + 'dd8a678a66f1967372e5a5e3deac41ebf65ee127',
260261

261262
'src/third_party/shaderc':
262263
Var('github_git') + '/google/shaderc.git' + '@' + '7ea834ecc59258a5c13c3d3e6fa0582bdde7c543',
@@ -297,10 +298,10 @@ deps = {
297298
# WARNING: Unused Dart dependencies in the list below till "WARNING:" marker are removed automatically - see create_updated_flutter_deps.py.
298299

299300
'src/third_party/dart/third_party/binaryen/src':
300-
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@ec53f4b2d5b0d52ae703c5b696ecf052ad5fffbb',
301+
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@7769139efbe818c7ba36d1a382db5114ebee9df8',
301302

302303
'src/third_party/dart/third_party/devtools':
303-
{'packages': [{'version': 'git_revision:23444af89d716818f099974df3e4fffac87fd886', 'package': 'dart/third_party/flutter/devtools'}], 'dep_type': 'cipd'},
304+
{'packages': [{'version': 'git_revision:dd3fade2bd2ef74fc6102e56333a48f0efc594d3', 'package': 'dart/third_party/flutter/devtools'}], 'dep_type': 'cipd'},
304305

305306
'src/third_party/dart/third_party/pkg/args':
306307
Var('dart_git') + '/args.git@da037acc018a8dd267d109eb634454490b7ff759',
@@ -336,19 +337,19 @@ deps = {
336337
Var('dart_git') + '/csslib.git@34203c09f073ed8267f5d6e333daddb02e6ff609',
337338

338339
'src/third_party/dart/third_party/pkg/dart_style':
339-
Var('dart_git') + '/dart_style.git@f79a9828ad07e50d6e8352ac154cc16eb4d78d5c',
340+
Var('dart_git') + '/dart_style.git@bc86574772350fa7d4cd4fa334b6652f08f750ba',
340341

341342
'src/third_party/dart/third_party/pkg/dartdoc':
342-
Var('dart_git') + '/dartdoc.git@dc502d0862fe1ba8451c9c57cd7ab70432634af3',
343+
Var('dart_git') + '/dartdoc.git@eb90a44c54fa01f0d501bf6e861a34857d843cea',
343344

344345
'src/third_party/dart/third_party/pkg/ffi':
345-
Var('dart_git') + '/ffi.git@3ede2312dd6ec37db6e7bcd6e1236647f72c7fc0',
346+
Var('dart_git') + '/ffi.git@17a8142da8114a065e03200467c7657b5368a86d',
346347

347348
'src/third_party/dart/third_party/pkg/file':
348349
Var('dart_git') + '/external/github.com/google/file.dart@b768f79dcd104a5feabafab47101c4355b71cd8f',
349350

350351
'src/third_party/dart/third_party/pkg/fixnum':
351-
Var('dart_git') + '/fixnum.git@bca3816daf641397f7b5ab9cf865a6d10d30c625',
352+
Var('dart_git') + '/fixnum.git@e4f5e9773de053adcb03bff9f02fa6f9c596fe4c',
352353

353354
'src/third_party/dart/third_party/pkg/glob':
354355
Var('dart_git') + '/glob.git@7f97bf5be6bfe8c90a92283e4c590dba2a676083',
@@ -357,28 +358,31 @@ deps = {
357358
Var('dart_git') + '/html.git@28fb8b97acf471bedcfa4eaf38899a0f65d5e30d',
358359

359360
'src/third_party/dart/third_party/pkg/http':
360-
Var('dart_git') + '/http.git@d56141de40b69e8ae3cc22602caea6cca3fba4dc',
361+
Var('dart_git') + '/http.git@46a7708b2075a807d44afbe39496e1c0c7802f4e',
361362

362363
'src/third_party/dart/third_party/pkg/http_multi_server':
363364
Var('dart_git') + '/http_multi_server.git@e31c6988e3869fb4019429254604066338f86095',
364365

365366
'src/third_party/dart/third_party/pkg/http_parser':
366367
Var('dart_git') + '/http_parser.git@c73967535ce31120e218120f70ef98cc22688c82',
367368

369+
'src/third_party/dart/third_party/pkg/intl':
370+
Var('dart_git') + '/intl.git@234b291aee7c23c9ffc9748fd6532d37553f609b',
371+
368372
'src/third_party/dart/third_party/pkg/json_rpc_2':
369373
Var('dart_git') + '/json_rpc_2.git@16fed53fbebd38edf170f58c1da1de2a325b2b98',
370374

371375
'src/third_party/dart/third_party/pkg/linter':
372-
Var('dart_git') + '/linter.git@8bce8b8b06c22716219207eb9d52beb93932ea44',
376+
Var('dart_git') + '/linter.git@7fe671cdadb52139295bae0abf62c014369af93a',
373377

374378
'src/third_party/dart/third_party/pkg/logging':
375-
Var('dart_git') + '/logging.git@f322480fb9d9e83e677c08db6d09067059f7ff74',
379+
Var('dart_git') + '/logging.git@0373ef85aa1dfe9e179b9fa006c45b65903787f2',
376380

377381
'src/third_party/dart/third_party/pkg/markdown':
378-
Var('dart_git') + '/markdown.git@37951d151750acfae756b2e466f563c1c5119b3d',
382+
Var('dart_git') + '/markdown.git@ee3f4e976efcfed87c6ec78364bc2dd3c6e717b9',
379383

380384
'src/third_party/dart/third_party/pkg/matcher':
381-
Var('dart_git') + '/matcher.git@15d4af21002ae9adee952110192a3face96307c7',
385+
Var('dart_git') + '/matcher.git@7e6a665da079baa3e2a2046ab02e4353ee32556c',
382386

383387
'src/third_party/dart/third_party/pkg/mime':
384388
Var('dart_git') + '/mime.git@c0c4c47a3d7bf696f1aa1959fb83d598baadb33c',
@@ -402,10 +406,10 @@ deps = {
402406
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
403407

404408
'src/third_party/dart/third_party/pkg/pub_semver':
405-
Var('dart_git') + '/pub_semver.git@28159b8c5b96fc2709d0904389d7932880f68659',
409+
Var('dart_git') + '/pub_semver.git@17231113f98c80285881cc4452863bcfd085d1a8',
406410

407411
'src/third_party/dart/third_party/pkg/shelf':
408-
Var('dart_git') + '/shelf.git@1c2104737973715426035c11ba840c7f23d8f186',
412+
Var('dart_git') + '/shelf.git@32e342d2498db739d2d79123cecd8f2e8d598c3b',
409413

410414
'src/third_party/dart/third_party/pkg/source_map_stack_trace':
411415
Var('dart_git') + '/source_map_stack_trace.git@8d8078fcc81c8f7936805cd277198493e0b7fc62',
@@ -417,10 +421,10 @@ deps = {
417421
Var('dart_git') + '/source_span.git@d1d47e550b6f77ed9b4907339a8a5e430b9ca314',
418422

419423
'src/third_party/dart/third_party/pkg/sse':
420-
Var('dart_git') + '/sse.git@283568dd4865cc51e25370ed107fcbdb68759c22',
424+
Var('dart_git') + '/sse.git@d3961459442816273dacaae4136dfe5900f34955',
421425

422426
'src/third_party/dart/third_party/pkg/stack_trace':
423-
Var('dart_git') + '/stack_trace.git@dce00134f6558086e8963e37d0b1ba0830862c01',
427+
Var('dart_git') + '/stack_trace.git@cf3562e0bf1796d4a801ed345408fcbc929dea70',
424428

425429
'src/third_party/dart/third_party/pkg/stream_channel':
426430
Var('dart_git') + '/stream_channel.git@914304769d036867b993bd7f9c111145f1ca4ab0',
@@ -432,7 +436,7 @@ deps = {
432436
Var('dart_git') + '/term_glyph.git@822cd5b3418615c6db715a796c2c9ba9acb63b0d',
433437

434438
'src/third_party/dart/third_party/pkg/test':
435-
Var('dart_git') + '/test.git@7756833000d671d4540b37ef04acd4b9e716026f',
439+
Var('dart_git') + '/test.git@09fb067979684dbd0918f664ec4d178975c84283',
436440

437441
'src/third_party/dart/third_party/pkg/test_reflective_loader':
438442
Var('dart_git') + '/test_reflective_loader.git@52b6753852661787208e003f9716b079026c7ac7',
@@ -462,7 +466,7 @@ deps = {
462466
Var('dart_git') + '/yaml_edit.git' + '@' + Var('dart_yaml_edit_rev'),
463467

464468
'src/third_party/dart/tools/sdks':
465-
{'packages': [{'version': 'version:2.18.0', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
469+
{'packages': [{'version': 'version:2.19.0-374.0.dev', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
466470

467471
# WARNING: end of dart dependencies list that is cleaned up automatically - see create_updated_flutter_deps.py.
468472

@@ -634,7 +638,7 @@ deps = {
634638
Var('dart_git') + '/external/github.com/google/vector_math.dart.git' + '@' + '0a5fd95449083d404df9768bc1b321b88a7d2eef', # 2.1.0
635639

636640
'src/third_party/imgui':
637-
Var('github_git') + '/ocornut/imgui.git' + '@' + '29d462ebce0275345a6ce4621d8fff0ded57c9e5',
641+
Var('github_git') + '/ocornut/imgui.git' + '@' + '3ea0fad204e994d669f79ed29dcaf61cd5cb571d',
638642

639643
'src/third_party/tinygltf':
640644
Var('github_git') + '/syoyo/tinygltf.git' + '@' + '9bb5806df4055ac973b970ba5b3e27ce27d98148',
@@ -812,7 +816,7 @@ deps = {
812816
'packages': [
813817
{
814818
'package': 'fuchsia/sdk/core/mac-amd64',
815-
'version': 'gF3YVyOjqNbzT-L9YjJk7PPaCBuQmUdqFc8KTbpsqTYC'
819+
'version': 'VEOIaacOA75U7PYyzm45DFBJhGj-7o3kEWtE86GtxdwC'
816820
}
817821
],
818822
'condition': 'host_os == "mac" and not download_fuchsia_sdk',
@@ -822,7 +826,7 @@ deps = {
822826
'packages': [
823827
{
824828
'package': 'fuchsia/sdk/core/linux-amd64',
825-
'version': 'NlJGkMbtZqQ6_BCpu5Mif5-14birO7qsn-VP2ULJK8MC'
829+
'version': 'zwfwHRSLdmV61hYqecvVYmk53-hABFbkUNUIMY8ZZVQC'
826830
}
827831
],
828832
'condition': 'host_os == "linux" and not download_fuchsia_sdk',

ci/analyze.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ echo ""
5252

5353
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/flutter_frontend_server"
5454

55+
(cd "$FLUTTER_DIR/tools/gen_web_locale_keymap"; "$DART" pub get)
5556
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/tools"
5657

5758
(cd "$FLUTTER_DIR/testing/skia_gold_client"; "$DART" pub get)

ci/builders/linux_host_engine.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"debug",
4040
"--unoptimized",
4141
"--prebuilt-dart-sdk",
42-
"--enable-impeller-vulkan",
4342
"--target-dir",
4443
"host_debug_impeller_vulkan"
4544
],

ci/builders/mac_ios_engine_release.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"targets": [
4040
"flutter/shell/platform/darwin/ios:flutter_framework",
4141
"flutter/lib/snapshot:generate_snapshot_bin"
42-
],
43-
"tool": "autoninja"
42+
]
4443
},
4544
"tests": []
4645
},
@@ -63,8 +62,7 @@
6362
"name": "ios_debug_sim_arm64",
6463
"ninja": {
6564
"config": "ios_debug_sim_arm64",
66-
"targets": [],
67-
"tool": "autoninja"
65+
"targets": []
6866
},
6967
"tests": []
7068
}

ci/format.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ cd "%ci_dir%"
2828
REM Do not use the CALL command in the next line to execute Dart. CALL causes
2929
REM Windows to re-read the line from disk after the CALL command has finished
3030
REM regardless of the ampersand chain.
31-
REM TODO(gspencergoog): Remove --no-sound-null-safety once isolate package is null-safe.
32-
"%dart%" --no-sound-null-safety --disable-dart-dev bin\format.dart %* & exit /B !ERRORLEVEL!
31+
"%dart%" --disable-dart-dev bin\format.dart %* & exit /B !ERRORLEVEL!

ci/format.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ SRC_DIR="$(cd "$SCRIPT_DIR/../.."; pwd -P)"
3232
DART_SDK_DIR="${SRC_DIR}/third_party/dart/tools/sdks/dart-sdk"
3333
DART="${DART_SDK_DIR}/bin/dart"
3434

35-
# TODO(gspencergoog): Remove --no-sound-null-safety once isolate package is null-safe.
3635
cd "$SCRIPT_DIR"
3736
"$DART" \
3837
--disable-dart-dev \
39-
--no-sound-null-safety \
4038
bin/format.dart \
4139
"$@"

0 commit comments

Comments
 (0)