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

Handle goldendict:// and dict:// URI schemes #1632

Merged
merged 1 commit into from
May 4, 2023

Conversation

vedgy
Copy link
Member

@vedgy vedgy commented May 4, 2023

Specifications:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#idm45659000071008

GoldenDict now opens the supported URIs on GNU/Linux. However, platform-specific changes may be necessary to make this work on other operating systems. Hopefully the required changes can be implemented without recompiling GoldenDict, similarly to the simple modification of GoldenDict's desktop file in this commit. In this case, a user can make the necessary changes and test locally, then create a pull request to complete URI scheme support on his/her preferred OS.

This feature has been requested in #735, #1139 and #1280. The implementation is based on #1624 and its review in #1625.

Specifications:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#idm45659000071008

GoldenDict now opens the supported URIs on GNU/Linux. However,
platform-specific changes may be necessary to make this work on other
operating systems. Hopefully the required changes can be implemented
without recompiling GoldenDict, similarly to the simple modification of
GoldenDict's desktop file in this commit. In this case, a user can make
the necessary changes and test locally, then create a pull request to
complete URI scheme support on his/her preferred OS.

This feature has been requested in goldendict#735, goldendict#1139 and goldendict#1280.
The implementation is based on goldendict#1624 and its review in goldendict#1625.
@Abs62 Abs62 merged commit 1bcf391 into goldendict:master May 4, 2023
@vedgy vedgy deleted the handle-uri-schemes branch May 5, 2023 04:04
@vedgy
Copy link
Member Author

vedgy commented May 5, 2023

Hi @Abs62! Thanks for reviewing this pull request. Now that I have commit rights, you can just approve my pull requests in the GitHub review UI. I'll merge them myself. That'd give me a bit more time to discover and fix an oversight (such as the ones addressed in #1633) before merging.

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.

3 participants