Migrate to Meta backend #46

Merged
david-swift merged 12 commits from 1.0.0 into main 2024-10-04 01:17:43 +02:00
david-swift commented 2024-08-13 09:39:48 +02:00 (Migrated from github.com)

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
## Steps - [x] Add your name or username and a link to your GitHub profile into the [Contributors.md][1] file. - [x] Build the project on your machine. If it does not compile, fix the errors. - [x] Describe the purpose and approach of your pull request below. - [x] Submit the pull request. Thank you very much for your contribution! ## Purpose Migrating to the [Meta project](https://github.com/AparokshaUI/Meta) 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: - [X] Replace storing state values to files by an SQLite implementation - [X] Migrate Meta & adwaita-swift to Swift 6 [1]: /Contributors.md
Sign in to join this conversation.
No Reviewers
No Milestone
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aparoksha/adwaita-swift#46
No description provided.