Skip to content
Closed

ignore #10232

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
eb7cac6
methods, basic types, sync, nullable-sync, async, and classes
tarrinneal Apr 15, 2025
9fa695d
broken nullable async methods
tarrinneal Apr 15, 2025
0aff0fd
refactor type logic, add codec
tarrinneal Apr 17, 2025
1ed8a8b
objects and enums
tarrinneal Apr 22, 2025
ee50607
full codec
tarrinneal May 9, 2025
4c6eb1a
error handling and more tests
tarrinneal May 29, 2025
f87efd4
fix codec
tarrinneal May 29, 2025
3e9d9f0
flutter api and plumbing through legacy apis and tests
tarrinneal Jun 27, 2025
6ad2e37
jnigen.yaml
tarrinneal Jun 27, 2025
9b55d44
ffi just getting started
tarrinneal Jul 7, 2025
25e8c30
gen fluff
tarrinneal Jul 11, 2025
df40332
not working
tarrinneal Jul 16, 2025
d90ecca
missing files
tarrinneal Jul 17, 2025
92933f8
gitignore
tarrinneal Jul 17, 2025
cb1c0fe
ios ffigen settings
tarrinneal Jul 17, 2025
a7cc7ce
remove macos min version from ffigen config
tarrinneal Jul 17, 2025
8fb8dca
no dylibs
tarrinneal Jul 17, 2025
ab64302
more basic, still can't see class
tarrinneal Jul 17, 2025
c7d00c6
upload macos
tarrinneal Jul 17, 2025
33f8fa1
fix ffigen files
tarrinneal Jul 17, 2025
4977cc2
test
tarrinneal Jul 29, 2025
586edf2
wip
tarrinneal Jul 29, 2025
74b1cb1
Merge branch 'Frillback' of github.com:tarrinneal/packages into Frill…
tarrinneal Jul 29, 2025
3736528
ns
tarrinneal Jul 29, 2025
31d182f
dunno
tarrinneal Jul 30, 2025
c63e598
something
tarrinneal Jul 30, 2025
6dc23e7
working again
tarrinneal Jul 30, 2025
982dfe6
Merge branch 'Frillback' of https://github.com/tarrinneal/packages in…
tarrinneal Jul 30, 2025
ecc088a
enums
tarrinneal Aug 12, 2025
927fd8d
and this one
tarrinneal Aug 12, 2025
877d60d
ffi support for classes, enums, and objects (partial testing)
tarrinneal Aug 26, 2025
910ac95
tests
tarrinneal Aug 26, 2025
b522d6c
fix enums, still need to resolve Any?
tarrinneal Sep 4, 2025
bd47b34
actually fix enums
tarrinneal Sep 5, 2025
4192a89
starting nullables, gonna be a mess
tarrinneal Sep 5, 2025
86e6907
nullable base types in classes
tarrinneal Sep 17, 2025
87f4f8a
add nullable enums (no tests for null things though.....)
tarrinneal Sep 18, 2025
ed3eb93
update to latest version
tarrinneal Sep 19, 2025
457edef
Not even I understand
tarrinneal Sep 24, 2025
9214479
fix null object?
tarrinneal Sep 25, 2025
aadd859
multi-arity and nullable enums in classes
tarrinneal Sep 26, 2025
8cb24b6
nested classes
tarrinneal Sep 27, 2025
d29e86a
typed lists and maps except int keys
tarrinneal Oct 14, 2025
b32d506
Merge branch 'main' of https://github.com/flutter/packages into Frill…
tarrinneal Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Merge branch 'main' of https://github.com/flutter/packages into Frill…
…back
  • Loading branch information
tarrinneal committed Oct 15, 2025
commit b32d506811a4abe5aeff60f1221c1b2b4670faa6
The diff you're trying to view is too large. We only load the first 3000 changed files.
112 changes: 31 additions & 81 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,25 @@ platform_properties:
device_type: none
dependencies: >-
[
{"dependency": "android_sdk", "version": "version:33v6"},
{"dependency": "android_sdk", "version": "version:36v3"},
{"dependency": "open_jdk", "version": "version:17"},
{"dependency": "curl", "version": "version:7.64.0"},
{"dependency": "avd_cipd_version", "version": "build_id:8733065022087935185"}
{"dependency": "avd_cipd_version", "version": "build_id:8719362231152674241"}
]
linux_android_legacy:
properties:
os: Ubuntu
cores: "8"
device_type: none
# The android_virtual_device here should be as old as is feasible. Currently it's 31
# because the older devices available (see link above for options) are all x86, which
# is no longer supported by Flutter.
dependencies: >-
[
{"dependency": "android_sdk", "version": "version:33v6"},
{"dependency": "open_jdk", "version": "version:17"},
{"dependency": "curl", "version": "version:7.64.0"},
{"dependency": "android_virtual_device", "version": "generic_android22.textpb"},
{"dependency": "android_virtual_device", "version": "android_31_google_apis_x64.textpb"},
{"dependency": "avd_cipd_version", "version": "build_id:8733065022087935185"}
]
linux_desktop:
Expand Down Expand Up @@ -90,7 +93,7 @@ platform_properties:
[
{"dependency": "ruby", "version": "ruby_3.1-pod_1.13"}
]
os: Mac-14
os: Mac-14|Mac-15.5
device_type: none
cpu: arm64
$flutter/osx_sdk : >-
Expand All @@ -103,7 +106,7 @@ platform_properties:
[
{"dependency": "ruby", "version": "ruby_3.1-pod_1.13"}
]
os: Mac-14
os: Mac-14|Mac-15.5
device_type: none
cpu: x86
$flutter/osx_sdk : >-
Expand All @@ -114,7 +117,7 @@ platform_properties:
targets:
- name: Linux repo_checks
recipe: packages/packages
timeout: 30
timeout: 60
properties:
add_recipes_cq: "true"
target_file: repo_checks.yaml
Expand Down Expand Up @@ -322,21 +325,21 @@ targets:
timeout: 30
properties:
target_file: analyze_legacy.yaml
channel: "3.24.5"
channel: "3.32.8"
env_variables: >-
{
"CHANNEL": "3.24.5"
"CHANNEL": "3.32.8"
}

- name: Linux analyze_legacy N-2
recipe: packages/packages
timeout: 30
properties:
target_file: analyze_legacy.yaml
channel: "3.22.3"
channel: "3.29.3"
env_variables: >-
{
"CHANNEL": "3.22.3"
"CHANNEL": "3.29.3"
}

- name: Linux_android custom_package_tests master
Expand All @@ -353,7 +356,7 @@ targets:
# web_benchmarks needs Chrome.
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"},
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"},
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
{"dependency": "ninja", "version": "version:1.9.0"},
Expand All @@ -376,7 +379,7 @@ targets:
# See comments on 'master' version above.
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"},
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"},
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
{"dependency": "ninja", "version": "version:1.9.0"},
Expand All @@ -391,70 +394,31 @@ targets:
### Android tasks ###
- name: Linux_android android_build_all_packages master
recipe: packages/packages
timeout: 30
timeout: 60
properties:
version_file: flutter_master.version
# This builds the all_packages app only in a current JDK.
target_file: android_build_all_packages_jdk17.yaml
channel: master
env_variables: >-
{
"CHANNEL": "master"
}

- name: Linux_android android_build_all_packages_legacy master
recipe: packages/packages
timeout: 30
properties:
version_file: flutter_master.version
# TODO(stuartmorgan): Once stable requires JDK 17, and the
# legacy project is updated accordingly, this entire target
# can be merged back into android_build_all_packages.
# This file only builds a *legacy* version of the project.
target_file: android_build_all_packages_legacy.yaml
target_file: android_build_all_packages.yaml
channel: master
# The legacy project build requires an older JDK.
dependencies: >-
[
{"dependency": "open_jdk", "version": "version:11"}
]
env_variables: >-
{
"CHANNEL": "master"
}

- name: Linux_android android_build_all_packages stable
recipe: packages/packages
timeout: 30
timeout: 60
properties:
add_recipes_cq: "true"
version_file: flutter_stable.version
# This builds the all_packages app only in a current JDK.
target_file: android_build_all_packages_jdk17.yaml
target_file: android_build_all_packages.yaml
channel: stable
env_variables: >-
{
"CHANNEL": "stable"
}

- name: Linux_android android_build_all_packages_legacy stable
recipe: packages/packages
timeout: 30
properties:
version_file: flutter_stable.version
# This file only builds a *legacy* version of the project.
target_file: android_build_all_packages_legacy.yaml
channel: stable
# The legacy project build requires an older JDK.
dependencies: >-
[
{"dependency": "open_jdk", "version": "version:11"}
]
env_variables: >-
{
"CHANNEL": "stable"
}

- name: Linux_android android_platform_tests_shard_1 master
recipe: packages/packages
timeout: 60
Expand All @@ -465,7 +429,7 @@ targets:
package_sharding: "--shardIndex 0 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -483,7 +447,7 @@ targets:
package_sharding: "--shardIndex 1 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -501,7 +465,7 @@ targets:
package_sharding: "--shardIndex 2 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -519,7 +483,7 @@ targets:
package_sharding: "--shardIndex 3 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -537,7 +501,7 @@ targets:
package_sharding: "--shardIndex 4 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -555,7 +519,7 @@ targets:
package_sharding: "--shardIndex 5 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -574,7 +538,7 @@ targets:
package_sharding: "--shardIndex 0 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -593,7 +557,7 @@ targets:
package_sharding: "--shardIndex 1 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -612,7 +576,7 @@ targets:
package_sharding: "--shardIndex 2 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -631,7 +595,7 @@ targets:
package_sharding: "--shardIndex 3 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -650,7 +614,7 @@ targets:
package_sharding: "--shardIndex 4 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand All @@ -669,7 +633,7 @@ targets:
package_sharding: "--shardIndex 5 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "android_34_google_apis_x64.textpb"}
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"}
]
env_variables: >-
{
Expand Down Expand Up @@ -1073,10 +1037,6 @@ targets:
properties:
version_file: flutter_master.version
target_file: macos_repo_checks.yaml
dependencies: >
[
{"dependency": "swift_format", "version": "build_id:8797338979890974865"}
]

### macOS desktop tasks ###
# macos-platform_tests builds all the packages on ARM, so this build is run
Expand Down Expand Up @@ -1146,10 +1106,6 @@ targets:
{
"CHANNEL": "master"
}
dependencies: >
[
{"dependency": "swift_format", "version": "build_id:8797338979890974865"}
]

- name: Mac_arm64 custom_package_tests stable
recipe: packages/packages
Expand All @@ -1162,10 +1118,6 @@ targets:
{
"CHANNEL": "stable"
}
dependencies: >
[
{"dependency": "swift_format", "version": "build_id:8797338979890974865"}
]

### iOS tasks ###
# ios_platform_tests builds all the packages on ARM, so this build is run
Expand Down Expand Up @@ -1479,7 +1431,6 @@ targets:
recipe: packages/packages
presubmit: false
timeout: 30
bringup: true # https://github.com/flutter/flutter/issues/134083
properties:
add_recipes_cq: "true"
target_file: windows_build_all_packages.yaml
Expand Down Expand Up @@ -1514,7 +1465,6 @@ targets:
recipe: packages/packages
presubmit: false
timeout: 30
bringup: true
properties:
target_file: windows_build_all_packages.yaml
channel: stable
Expand Down
2 changes: 1 addition & 1 deletion .ci/flutter_master.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a0b1b3253416b1f19e3f105b596eb6e4c5813ef4
e11e2c11288b6a3f9f9bb3dcfb9bb459a75e048c
2 changes: 1 addition & 1 deletion .ci/flutter_stable.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c23637390482d4cf9598c3ce3f2be31aa7332daf
9f455d2486bcb28cad87b062475f42edc959f636
29 changes: 18 additions & 11 deletions .ci/legacy_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,23 @@ and then deleting everything but `android/` from it:
- Added license boilerplate.
- Replaced `jcenter` in build.gradle with `mavenCentral`, due to the
jcenter.bintray.com shutdown.
- Update `compileSdkVersion` from 30 to 33 to maintain compatibility
with plugins that use API 34.
- Updates `gradle-wrapper.properties` from `6.7` to `6.7.1`, to add
support for the Kotlin gradle plugin. If a user runs into this
error, the error message is clear on how to upgrade.
- Modifies `build.gradle` to upgrade the Android Gradle Plugin (AGP)
from version 4.1.0 to 7.0.0. If a user runs into an error with
the AGP version, the warning is clear on how to upgrade
the version to one that we support.
- Update `compileSdkVersion` from 30 to `flutter.compileSdkVersion` in
`build.gradle` to maintain compatibility with plugins that use
Flutter's most recently supported API version.
- Modifies `gradle-wrapper.properties` to upgrade the Gradle version
from 6.7.1 to 7.0.2. If a user runs into an error with the Gradle
from 8.4 to 8.7. If a user runs into an error with the Gradle
version, the warning is clear on how to upgrade the version to
one that we support.
one that we support.
- Modifies `settings.gradle` to upgrade the Android Gradle Plugin (AGP)
from version 8.3.0 (originally set in `build.gradle`; see bullet below)
to 8.6.0. If a user runs into an error with the AGP version, the warning
is clear on how to upgrade the version to one that we support.
- Refactor plugin to use declarative Gradle apply instead of the
imperative apply (this includes moving where the Android Gradle
Plugin (AGP) version is set from `build.gradle` to `settings.gradle`).
- Modifies `settings.gradle` to upgrade the Kotlin Gradle Plugin (KGP)
from version 1.9.0 to 2.1.0. If a user runs into an error with the AGP version,
the warning is clear on how to upgrade the version to one that we support.
- Modifies `gradle.properties` to not set android.enableJetifier=true.
- Update `app/build.gradle` to enable library desugaring to support
`interactive_media_ads` plugin.
8 changes: 8 additions & 0 deletions .ci/legacy_project/all_packages/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ android {
namespace = "com.example.all_packages"
compileSdkVersion flutter.compileSdkVersion

compileOptions {
coreLibraryDesugaringEnabled true
}

defaultConfig {
applicationId "com.example.all_packages"
minSdkVersion flutter.minSdkVersion
Expand All @@ -44,3 +48,7 @@ android {
flutter {
source '../..'
}

dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Copyright 2013 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.