Skip to content
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

Migrate to Meta backend #46

Merged
merged 12 commits into from
Oct 3, 2024
Merged

Migrate to Meta backend #46

merged 12 commits into from
Oct 3, 2024

Conversation

david-swift
Copy link
Member

@david-swift david-swift commented Aug 13, 2024

Steps

  • Add your name or username and a link to your GitHub profile into the Contributors.md file.
  • Build the project on your machine. If it does not compile, fix the errors.
  • Describe the purpose and approach of your pull request below.
  • Submit the pull request. Thank you very much for your contribution!

Purpose

Migrating to the Meta project enables using the project in combination with other backends to develop cross-platform apps.

Approach

The PR uses the Meta package. Additionally, further changes are made to modernize the framework:

  • Remove child windows. Instead, you can add file dialogs to windows in a similar way you add dialogs.
  • You do not have to use Idle yourself. If you update state from a non-main thread, it will automatically wrap the update process with Idle.
  • Detect deprecated GTK/Adw functions in order not to use them

Before merging this, I will:

  • Replace storing state values to files by an SQLite implementation
  • Migrate Meta & adwaita-swift to Swift 6

@david-swift david-swift marked this pull request as ready for review October 3, 2024 23:05
@david-swift david-swift merged commit ec319a6 into main Oct 3, 2024
1 check passed
@david-swift david-swift deleted the 1.0.0 branch October 3, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant