-
Notifications
You must be signed in to change notification settings - Fork 47
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
Upgrade gsettings.dart to 0.2+ #183
Labels
feature / enhancement
Needs implementation
Comments
I can help with this. 🙂 There are some fixes needed in gsettings.dart 0.2 too. |
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 12, 2021
Dart 2.15 has built-in string <-> enum conversions, which comes handy when migrating from GSettings 0.1 to 0.2 (ubuntu-flutter-community#183). https://medium.com/dartlang/dart-2-15-7e7a598e508a#107a
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 12, 2021
Dart 2.15 has built-in string <-> enum conversions, which comes handy when migrating from GSettings 0.1 to 0.2 (ubuntu-flutter-community#183). https://medium.com/dartlang/dart-2-15-7e7a598e508a#107a
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 12, 2021
This is a preparation step for ubuntu-flutter-community#183 i.e. migrating from GSettings 0.1 to 0.2. GSettings 0.1 and 0.2 are vastly different because the FFI-based 0.1 is synchronous, whereas the D-Bus-based 0.2 is asynchronous. Furthermore, 0.1 has separate getters for different primitive types, whereas 0.2 has only one getter that returns a DBusValue. In order to make the migration from GSettings 0.1 to 0.2 easier, hide GSettings instances from the models and use nullable setting values to eliminate the assumption that setting values are immediately available.
Merged
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 12, 2021
With gsettings.dart 0.2 (ubuntu-flutter-community#183) we can have change notifications. This commit sets up the infrastructure for that, offloading noise from the actual migration step that follows later when the blocker issues in gsettings.dart have been resolved.
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 12, 2021
With gsettings.dart 0.2 (ubuntu-flutter-community#183) we can have change notifications. This commit sets up the infrastructure for that, offloading noise from the actual migration step that follows later when the blocker issues in gsettings.dart have been resolved.
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 12, 2021
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 13, 2021
jpnurmi
added a commit
to jpnurmi/settings
that referenced
this issue
Dec 13, 2021
Feichtmeier
pushed a commit
that referenced
this issue
Dec 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The package has been completely reworked. Updating to 0.2+ will most likely fix #182
as suggested here by JP: canonical/gsettings.dart#22 (comment)
The text was updated successfully, but these errors were encountered: