-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[file_selector] Convert Linux to Pigeon #7770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[file_selector] Convert Linux to Pigeon #7770
Conversation
} | ||
|
||
{ | ||
g_autoptr(FlValue) image_group_extensions = fl_value_new_list(); | ||
fl_value_append_take(image_group_extensions, fl_value_new_string("*.png")); | ||
fl_value_append_take(image_group_extensions, fl_value_new_string("*.gif")); | ||
fl_value_append_take(image_group_extensions, | ||
fl_value_new_string("*.jgpeg")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow -- nice find.
packages/file_selector/file_selector_linux/linux/test/file_selector_plugin_test.cc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flutter/packages@ebcc4f0...7c97c88 2024-10-02 [email protected] [file_selector] Convert Linux to Pigeon (flutter/packages#7770) 2024-10-02 [email protected] Background/resuming `video_player` on Android sends one `initialized` event (flutter/packages#7722) 2024-10-02 [email protected] [quick_actions_android] Update instructions for using a launcher activity with more breadcrumbs (flutter/packages#7716) 2024-10-01 [email protected] Add flutter frame timings to benchmark metrics (flutter/packages#7759) 2024-10-01 [email protected] [local_auth] Update Pigeon in iOS and Android (flutter/packages#7724) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
} | ||
} | ||
|
||
/// Options for GKT file chooser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GKT > GTK :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! I'll try to remember to fix that next time we touch the file.
Replaces manual method channel code with Pigeon.
I made a couple of simplifications to the Dart/C boundary while converting:
These changes are consistent with our general trend toward putting more logic in Dart and less in native code, for ease of maintenance.
Fixes flutter/flutter#117906
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).