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

Add support for icons #20

Merged
merged 19 commits into from
Jul 17, 2023
Merged

Add support for icons #20

merged 19 commits into from
Jul 17, 2023

Conversation

apgoetz
Copy link
Owner

@apgoetz apgoetz commented Jul 15, 2023

Icons are now supported on Windows, macOS, and Freedesktop based platforms.

Fixes #18

Icon support is only implemented  for macos at this point

Icon rendering must use platform-specific APIs which means it must be
duplicated for every supported OS.

Icon lookup is delegated to a separate thread in order to prevent
the system functions from blocking the runtime.

This is because if a Jolly entry location is on a network drive, the
icon lookup APIs can hang for a long period of time.
Support for SVG based icon themes

Check multiple mimetypes before choosing icon for image

Icon size can be adjusted

Buildscript checks that necessary packages are installed and gives a
warning if they are not
Still not perfect, no tests and lots of corner cases not covered.
Still not perfect, no tests and lots of corner cases not covered.
Windows CI runner on github does not have a default mailo handler. This
caused CI to file.

Also, test was updated to check all urls and summarize failures at the
end, so the next time CI runs we can see all failing URLs, not the first
one to fail.
@apgoetz apgoetz merged commit 5e41e4a into main Jul 17, 2023
4 checks passed
@apgoetz apgoetz deleted the icon branch July 17, 2023 04:28
@0323pin
Copy link
Contributor

0323pin commented Jul 17, 2023

🚀

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.

Add support for icons
2 participants