Skip to content

Commit 56eb1d1

Browse files
authored
Merge branch 'main' into video-player-android-surface-producer-redo
2 parents a1dfdcf + cec00a5 commit 56eb1d1

File tree

1,192 files changed

+108979
-22633
lines changed

Some content is hidden

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

1,192 files changed

+108979
-22633
lines changed

.ci.yaml

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ platform_properties:
6565
device_type: none
6666
dependencies: >-
6767
[
68-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
68+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
6969
]
7070
windows_arm64:
7171
properties:
@@ -292,21 +292,21 @@ targets:
292292
timeout: 30
293293
properties:
294294
target_file: analyze_legacy.yaml
295-
channel: "3.22.0"
295+
channel: "3.22.3"
296296
env_variables: >-
297297
{
298-
"CHANNEL": "3.22.0"
298+
"CHANNEL": "3.22.3"
299299
}
300300
301301
- name: Linux analyze_legacy N-2
302302
recipe: packages/packages
303303
timeout: 30
304304
properties:
305305
target_file: analyze_legacy.yaml
306-
channel: "3.16.9"
306+
channel: "3.19.6"
307307
env_variables: >-
308308
{
309-
"CHANNEL": "3.16.9"
309+
"CHANNEL": "3.19.6"
310310
}
311311
312312
- name: Linux_android custom_package_tests master
@@ -327,7 +327,7 @@ targets:
327327
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
328328
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
329329
{"dependency": "ninja", "version": "version:1.9.0"},
330-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
330+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
331331
]
332332
channel: master
333333
env_variables: >-
@@ -350,7 +350,7 @@ targets:
350350
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
351351
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
352352
{"dependency": "ninja", "version": "version:1.9.0"},
353-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
353+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
354354
]
355355
channel: stable
356356
env_variables: >-
@@ -364,7 +364,24 @@ targets:
364364
timeout: 30
365365
properties:
366366
version_file: flutter_master.version
367-
target_file: android_build_all_packages.yaml
367+
# This builds the all_packages app only in a current JDK.
368+
target_file: android_build_all_packages_jdk17.yaml
369+
channel: master
370+
env_variables: >-
371+
{
372+
"CHANNEL": "master"
373+
}
374+
375+
- name: Linux_android android_build_all_packages_legacy master
376+
recipe: packages/packages
377+
timeout: 30
378+
properties:
379+
version_file: flutter_master.version
380+
# TODO(stuartmorgan): Once stable requires JDK 17, and the
381+
# legacy project is updated accordingly, this entire target
382+
# can be merged back into android_build_all_packages.
383+
# This file only builds a *legacy* version of the project.
384+
target_file: android_build_all_packages_legacy.yaml
368385
channel: master
369386
# The legacy project build requires an older JDK.
370387
dependencies: >-
@@ -382,7 +399,21 @@ targets:
382399
properties:
383400
add_recipes_cq: "true"
384401
version_file: flutter_stable.version
385-
target_file: android_build_all_packages.yaml
402+
# This builds the all_packages app only in a current JDK.
403+
target_file: android_build_all_packages_jdk17.yaml
404+
channel: stable
405+
env_variables: >-
406+
{
407+
"CHANNEL": "stable"
408+
}
409+
410+
- name: Linux_android android_build_all_packages_legacy stable
411+
recipe: packages/packages
412+
timeout: 30
413+
properties:
414+
version_file: flutter_stable.version
415+
# This file only builds a *legacy* version of the project.
416+
target_file: android_build_all_packages_legacy.yaml
386417
channel: stable
387418
# The legacy project build requires an older JDK.
388419
dependencies: >-
@@ -935,7 +966,7 @@ targets:
935966
# Install Chrome as a default handler for schemes for url_launcher.
936967
dependencies: >-
937968
[
938-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
969+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
939970
]
940971
env_variables: >-
941972
{
@@ -953,7 +984,7 @@ targets:
953984
# Install Chrome as a default handler for schemes for url_launcher.
954985
dependencies: >-
955986
[
956-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
987+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
957988
]
958989
env_variables: >-
959990
{

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e726eb401c2c1c882aa393071d5bb8bfb45e1dc3
1+
2afc452d3a8eec9756d5936674d1269258299c4e

.ci/flutter_stable.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
761747bfc538b5af34aa0d3fac380f1bc331ec49
1+
80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819

.ci/scripts/create_all_packages_app.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@
44
# found in the LICENSE file.
55
set -e
66

7+
# The base exclusion file for all_packages app.
8+
exclusions=("script/configs/exclude_all_packages_app.yaml")
9+
10+
# Add a wasm-specific exclusion file if "--wasm" is specified.
11+
if [[ "$1" == "--wasm" ]]; then
12+
exclusions+=",script/configs/exclude_all_packages_app_wasm.yaml"
13+
fi
14+
15+
# Delete ./all_packages if it exists already
16+
rm -rf ./all_packages
17+
718
dart ./script/tool/bin/flutter_plugin_tools.dart create-all-packages-app \
8-
--output-dir=. --exclude script/configs/exclude_all_packages_app.yaml
19+
--output-dir=. --exclude "$exclusions"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This only builds the modern all_packages app, which requires jdk17+
2+
tasks:
3+
- name: prepare tool
4+
script: .ci/scripts/prepare_tool.sh
5+
infra_step: true # Note infra steps failing prevents "always" from running.
6+
- name: create all_packages app
7+
script: .ci/scripts/create_all_packages_app.sh
8+
infra_step: true # Note infra steps failing prevents "always" from running.
9+
- name: build all_packages for Android debug
10+
script: .ci/scripts/build_all_packages_app.sh
11+
args: ["apk", "debug"]
12+
- name: build all_packages for Android release
13+
script: .ci/scripts/build_all_packages_app.sh
14+
args: ["apk", "release"]

.ci/targets/android_build_all_packages.yaml renamed to .ci/targets/android_build_all_packages_legacy.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1+
# This only builds the legacy all_packages app, which requires jdk11
12
tasks:
23
- name: prepare tool
34
script: .ci/scripts/prepare_tool.sh
45
infra_step: true # Note infra steps failing prevents "always" from running.
5-
- name: create all_packages app
6-
script: .ci/scripts/create_all_packages_app.sh
7-
infra_step: true # Note infra steps failing prevents "always" from running.
8-
- name: build all_packages for Android debug
9-
script: .ci/scripts/build_all_packages_app.sh
10-
args: ["apk", "debug"]
11-
- name: build all_packages for Android release
12-
script: .ci/scripts/build_all_packages_app.sh
13-
args: ["apk", "release"]
146
- name: create all_packages app - legacy version
157
script: .ci/scripts/create_all_packages_app_legacy.sh
168
# Output dir; must match the final argument to build_all_packages_app_legacy

.ci/targets/repo_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tasks:
1919
script: .ci/scripts/tool_runner.sh
2020
args:
2121
- "pubspec-check"
22-
- "--min-min-flutter-version=3.16.0"
22+
- "--min-min-flutter-version=3.19.0"
2323
- "--allow-dependencies=script/configs/allowed_unpinned_deps.yaml"
2424
- "--allow-pinned-dependencies=script/configs/allowed_pinned_deps.yaml"
2525
always: true

.ci/targets/web_build_all_packages.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ tasks:
1010
- name: build all_packages app for Web release
1111
script: .ci/scripts/build_all_packages_app.sh
1212
args: ["web", "release"]
13+
- name: (Wasm) create all_packages app
14+
script: .ci/scripts/create_all_packages_app.sh
15+
args: ["--wasm"]
16+
infra_step: true # Note infra steps failing prevents "always" from running.
17+
- name: (Wasm) build all_packages app for Web release
18+
script: .ci/scripts/build_all_packages_app.sh
19+
args: ["web", "release", "--wasm"]

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
# the change if it doesn't.
3232
run: |
3333
cd $HOME
34-
git clone https://github.com/flutter/flutter.git --depth 1 -b 3.22.0 _flutter
34+
git clone https://github.com/flutter/flutter.git --depth 1 -b 3.24.0 _flutter
3535
echo "$HOME/_flutter/bin" >> $GITHUB_PATH
3636
cd $GITHUB_WORKSPACE
3737
# Checks out a copy of the repo.
3838
- name: Check out code
39-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
39+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
4040
with:
4141
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
4242
- name: Set up tools

.github/workflows/scorecards-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121

2222
steps:
2323
- name: "Checkout code"
24-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v2.4.0
24+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0
2525
with:
2626
persist-credentials: false
2727

2828
- name: "Run analysis"
29-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.0.3
29+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.0.3
3030
with:
3131
results_file: results.sarif
3232
results_format: sarif
@@ -41,14 +41,14 @@ jobs:
4141

4242
# Upload the results as artifacts (optional).
4343
- name: "Upload artifact"
44-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v2.3.1
44+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v2.3.1
4545
with:
4646
name: SARIF file
4747
path: results.sarif
4848
retention-days: 5
4949

5050
# Upload the results to GitHub's code scanning dashboard.
5151
- name: "Upload to code-scanning"
52-
uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v1.0.26
52+
uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v1.0.26
5353
with:
5454
sarif_file: results.sarif

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,6 @@ Amir Panahandeh <[email protected]>
7575
Daniele Cambi <[email protected]>
7676
Michele Benedetti <[email protected]>
7777
Taskulu LDA <[email protected]>
78+
Alexander Rabin <[email protected]>
7879
LinXunFeng <[email protected]>
7980
Hashir Shoaib <[email protected]>

CODEOWNERS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ packages/video_player/video_player_web/** @ditman
6262
packages/webview_flutter/webview_flutter_web/** @ditman
6363

6464
# - Android
65-
packages/camera/camera_android/** @camsim99
66-
packages/camera/camera_android_camerax/** @camsim99
65+
# TODO(matanlurey): Remove @matanlurey after https://github.com/flutter/flutter/issues/151018.
66+
packages/camera/camera_android/** @camsim99 @matanlurey
67+
packages/camera/camera_android_camerax/** @camsim99 @matanlurey
6768
packages/espresso/** @reidbaker
6869
packages/file_selector/file_selector_android/** @gmackall
6970
packages/flutter_plugin_android_lifecycle/** @reidbaker
@@ -76,7 +77,7 @@ packages/path_provider/path_provider_android/** @camsim99
7677
packages/quick_actions/quick_actions_android/** @camsim99
7778
packages/shared_preferences/shared_preferences_android/** @reidbaker
7879
packages/url_launcher/url_launcher_android/** @gmackall
79-
packages/video_player/video_player_android/** @camsim99
80+
packages/video_player/video_player_android/** @camsim99 @matanlurey
8081
# Owned by ecosystem team for now during the wrapper evaluation.
8182
packages/webview_flutter/webview_flutter_android/** @bparrishMines
8283

packages/animations/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## NEXT
22

3-
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
3+
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
44

55
## 2.0.11
66

packages/animations/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ publish_to: none
66
version: 0.0.1
77

88
environment:
9-
sdk: ^3.2.0
10-
flutter: ">=3.16.0"
9+
sdk: ^3.3.0
10+
flutter: ">=3.19.0"
1111

1212
dependencies:
1313
animations:

packages/animations/example/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<title>example</title>
99
</head>
1010
<body>
11-
<script src="main.dart.js" type="application/javascript"></script>
11+
<script src="flutter_bootstrap.js" async></script>
1212
</body>
1313
</html>

packages/animations/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
55
version: 2.0.11
66

77
environment:
8-
sdk: ">=3.2.0 <4.0.0"
9-
flutter: ">=3.16.0"
8+
sdk: ^3.3.0
9+
flutter: ">=3.19.0"
1010

1111
dependencies:
1212
flutter:

packages/camera/camera/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.11.0+2
2+
3+
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
4+
15
## 0.11.0+1
26

37
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.

packages/camera/camera/example/pubspec.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Demonstrates how to use the camera plugin.
33
publish_to: none
44

55
environment:
6-
sdk: ^3.2.0
7-
flutter: ">=3.16.0"
6+
sdk: ^3.3.0
7+
flutter: ">=3.19.0"
88

99
dependencies:
1010
camera:
@@ -28,5 +28,9 @@ dev_dependencies:
2828
integration_test:
2929
sdk: flutter
3030

31+
dependency_overrides:
32+
camera_web:
33+
path: ../../camera_web
34+
3135
flutter:
3236
uses-material-design: true

packages/camera/camera/example/web/index.html

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Use of this source code is governed by a BSD-style license that can be
44
found in the LICENSE file. -->
55
<html>
6-
76
<head>
7+
<base href="$FLUTTER_BASE_HREF">
8+
89
<meta charset="UTF-8">
910
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
1011
<meta name="description" content="An example of the camera on the web.">
@@ -16,24 +17,12 @@
1617
<link rel="apple-touch-icon" href="icons/Icon-192.png">
1718

1819
<!-- Favicon -->
19-
<link rel="shortcut icon" type="image/png" href="favicon.png" />
20+
<link rel="icon" type="image/png" href="favicon.png"/>
2021

2122
<title>Camera Web Example</title>
2223
<link rel="manifest" href="manifest.json">
2324
</head>
24-
2525
<body>
26-
<!-- This script installs service_worker.js to provide PWA functionality to
27-
application. For more information, see:
28-
https://developers.google.com/web/fundamentals/primers/service-workers -->
29-
<script>
30-
if ('serviceWorker' in navigator) {
31-
window.addEventListener('load', function () {
32-
navigator.serviceWorker.register('flutter_service_worker.js');
33-
});
34-
}
35-
</script>
36-
<script src="main.dart.js" type="application/javascript"></script>
26+
<script src="flutter_bootstrap.js" async></script>
3727
</body>
38-
39-
</html>
28+
</html>

packages/camera/camera/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ description: A Flutter plugin for controlling the camera. Supports previewing
44
Dart.
55
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
66
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
7-
version: 0.11.0+1
7+
version: 0.11.0+2
88

99
environment:
10-
sdk: ^3.2.3
11-
flutter: ">=3.16.6"
10+
sdk: ^3.3.0
11+
flutter: ">=3.19.0"
1212

1313
flutter:
1414
plugin:

0 commit comments

Comments
 (0)