Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant