ef443e6978
feat(image resolver): add fallback image
...
Puts a cap on the recursion, and falls back to a question mark image from the icon theme if no image could be resolved.
Fixes #250
2023-07-24 21:04:41 +01:00
87ca399220
fix: poor error handling for missing images
...
Previously images that could not be located were handled by throwing a
full report error, which incorrectly stated it was an invalid image
*type*.
This changes the image handling to instead log a single-line warning
directly in the image provider code, reducing the error handling
required by each consumer.
Resolves #146 .
2023-05-20 14:38:39 +01:00
9012feee4f
fix(image): still blurry on hidpi
...
Adds in proper HiDPI image support into the image provider, using calls to Cairo.
Resolves #96 at last! (I hope...)
2023-05-08 16:12:01 +01:00
db0868a3fc
fix(image): not scaling icons for hidpi
2023-04-23 11:07:19 +01:00
7355db74ec
fix(image): http provider not handling non-success codes
2023-04-10 20:05:13 +01:00
d4dd8c41ea
chore: improve image provider logging
2023-03-04 23:13:35 +00:00
d84139a914
refactor: general tidy up
...
fix clippy warnings from latest stable rust
2023-02-25 14:26:02 +00:00
2780d98ee0
Merge branch 'master' into feat/build-flags
...
# Conflicts:
# src/image/provider.rs
2023-02-01 21:07:36 +00:00
51d2c2279f
fix(images): incorrectly resolving non-files
2023-02-01 21:05:58 +00:00
c347b6c944
feat: add feature flags
...
Flags allow you to disable certain functionality and compile with only select features to reduce build time.
Resolves #54 .
2023-02-01 20:45:52 +00:00
b054c17d14
feat(workspaces): support for using images in name_map
2023-01-30 11:51:01 +00:00