ea4bd5d...
by
Matthias Clasen <email address hidden>
Drop all the recipe images
We download them at runtime now.
bb50d35...
by
Matthias Clasen <email address hidden>
Add version information to the keyfiles
This is just to prepare for the eventuality that
we may have to make changes to the key file format
in the future.
6a98796...
by
Matthias Clasen <email address hidden>
Use the new api
Load images aynchronously, possibly from the net.
32a304c...
by
Matthias Clasen <email address hidden>
Rework GrImage with new loading APIs
Add an async API to GrImage. The implementation uses libsoup
to possibly load images from the network (the location where
to load images from still has to be determined).
The implementation is inspired by gnome-software's code for loading
screenshots, but is generally simpler. We do support loading a small
thumbnail first, and displaying it blurred, while the main image is
downloading.
Downloaded images are stored in XDG_CACHE_DIR/gnome-recipes.
ebd29c2...
by
Matthias Clasen <email address hidden>
Add api to get a soup session
We want to keep a single, global soup session.
7febc7d...
by
Matthias Clasen <email address hidden>
Add a libsoup dependency
Tell meson about our new dependency.
3f9771c...
by
Matthias Clasen <email address hidden>
Stop rewriting image paths on loading
Just keep the relative paths, so we can recognize them
as possibly remote images to be downloaded.
d96e43b...
by
Matthias Clasen <email address hidden>
Add pixbuf blurring code
This is borrowed from libappstream-glib, and will
be used for a similar purpose: Show a blurred version
of a thumbnail when downloading images from the net.
cfc52b2...
by
Matthias Clasen <email address hidden>
Return NULL if pixbuf loading fails
We want to use these functions to check if an image file exists,
so we need them to quietly return NULL.
d498a5f...
by
Matthias Clasen <email address hidden>
Turn GrImage into an object
This makes things a little less ad-hoc, and will pave
the ground for more complex image handling.