Skip to content

Commit 1937682

Browse files
authored
Merge branch 'main' into fix/block-then-reentrance
2 parents e0ea78e + b3a6959 commit 1937682

859 files changed

Lines changed: 22951 additions & 17900 deletions

File tree

Some content is hidden

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

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b31548feb941947afb7c0c4b2be9f6584fe1a41c
1+
d117642c18e0d5e3a96ae00d4340b1b0724de24c

.ci/flutter_stable.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
90673a4eef275d1a6692c26ac80d6d746d41a73a
1+
2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa

.ci/scripts/create_all_packages_app.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ exclusions=("script/configs/exclude_all_packages_app.yaml")
1010
# Add a wasm-specific exclusion file if "--wasm" is specified.
1111
if [[ "$1" == "--wasm" ]]; then
1212
exclusions+=",script/configs/exclude_all_packages_app_wasm.yaml"
13+
shift 1
1314
fi
1415

1516
# Delete ./all_packages if it exists already
1617
rm -rf ./all_packages
1718

1819
dart ./script/tool/bin/flutter_plugin_tools.dart create-all-packages-app \
19-
--output-dir=. --exclude "$exclusions"
20+
--output-dir=. --exclude "$exclusions" "$@"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
set -e
6+
7+
flutter config --enable-swift-package-manager

.ci/targets/ios_build_all_packages.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
44
infra_step: true # Note infra steps failing prevents "always" from running.
5-
- name: download Dart and iOS deps
6-
script: .ci/scripts/tool_runner.sh
7-
args: ["fetch-deps", "--ios", "--supporting-target-platforms-only"]
8-
infra_step: true
95
- name: create all_packages app
106
script: .ci/scripts/create_all_packages_app.sh
7+
# build-examples builds with Swift Package Manager, so run build-all without
8+
# it to test both modes in CI.
9+
args: ["--no-swift-package-manager"]
1110
infra_step: true # Note infra steps failing prevents "always" from running.
1211
- name: build all_packages for iOS debug
1312
script: .ci/scripts/build_all_packages_app.sh

.ci/targets/ios_platform_tests.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@ tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
44
infra_step: true # Note infra steps failing prevents "always" from running.
5+
- name: enable Swift Package Manager
6+
# For consistency between stable and master channels, enable SwiftPM.
7+
# TODO(stuartmorgan): Remove this step once it's the default on stable.
8+
script: .ci/scripts/enable_swift_package_manager.sh
59
- name: create simulator
610
script: .ci/scripts/create_simulator.sh
711
infra_step: true # Note infra steps failing prevents "always" from running.
812
- name: download Dart and iOS deps
913
script: .ci/scripts/tool_runner.sh
10-
args: ["fetch-deps", "--ios", "--supporting-target-platforms-only"]
14+
args: ["fetch-deps", "--ios", "--supporting-target-platforms-only", "--swift-package-manager"]
1115
infra_step: true
1216
- name: build examples
1317
script: .ci/scripts/tool_runner.sh

.ci/targets/macos_build_all_packages.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
44
infra_step: true # Note infra steps failing prevents "always" from running.
5-
- name: download Dart and macOS deps
6-
script: .ci/scripts/tool_runner.sh
7-
args: ["fetch-deps", "--macos", "--supporting-target-platforms-only"]
8-
infra_step: true
95
- name: create all_packages app
106
script: .ci/scripts/create_all_packages_app.sh
7+
# build-examples builds with Swift Package Manager, so run build-all without
8+
# it to test both modes in CI.
9+
args: ["--no-swift-package-manager"]
1110
infra_step: true # Note infra steps failing prevents "always" from running.
1211
- name: build all_packages for macOS debug
1312
script: .ci/scripts/build_all_packages_app.sh

.ci/targets/macos_platform_tests.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
44
infra_step: true # Note infra steps failing prevents "always" from running.
5+
- name: enable Swift Package Manager
6+
# For consistency between stable and master channels, enable SwiftPM.
7+
# TODO(stuartmorgan): Remove this step once it's the default on stable.
8+
script: .ci/scripts/enable_swift_package_manager.sh
59
- name: download Dart and macOS deps
610
script: .ci/scripts/tool_runner.sh
7-
args: ["fetch-deps", "--macos", "--supporting-target-platforms-only"]
11+
args: ["fetch-deps", "--macos", "--supporting-target-platforms-only", "--swift-package-manager"]
812
infra_step: true
913
- name: build examples
1014
script: .ci/scripts/tool_runner.sh

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## Pre-Review Checklist
66

77
- [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
8+
- [ ] I read the [AI contribution guidelines] and understand my responsibilities, or I am not using AI tools.
89
- [ ] I read the [Tree Hygiene] page, which explains my responsibilities.
910
- [ ] I read and followed the [relevant style guides] and ran [the auto-formatter].
1011
- [ ] I signed the [CLA].
@@ -23,6 +24,7 @@ If you need help, consider asking for advice on the #hackers-new channel on [Dis
2324

2425
<!-- Links -->
2526
[Contributor Guide]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md
27+
[AI contribution guidelines]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
2628
[Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md
2729
[relevant style guides]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md#style
2830
[the auto-formatter]: https://github.com/flutter/packages/blob/main/script/tool/README.md#format-code

AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,7 @@ Ricardo Dalarme <ricardodalarme@outlook.com>
8282
Andrei Kabylin <sys.int64@gmail.com>
8383
Ernesto Ramirez <neartox@outlook.com>
8484
Rui Craveiro <ruicraveiro@squarealfa.com>
85+
LeanCode <contribution@leancode.pl>
86+
Piotr Denert <pdenert09@gmail.com>
87+
Marcin Chudy <marcinchudy94@gmail.com>
88+
Paweł Jakubowski <pawel.jakubowski@leancode.pl>

0 commit comments

Comments
 (0)