aboutsummaryrefslogtreecommitdiff
path: root/fastiv-io.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for opening Xcursor filesPřemysl Eric Janouch2021-11-171-0/+140
| | | | | | Sadly, they don't have a canonical extension, and they don't show up in the browser. We might want to employ some level of sniffing. The first 16 bytes are enough to identify a lot.
* Make this work at all in macOS/HomebrewPřemysl Eric Janouch2021-11-161-3/+14
|
* Support opaque 16-bit images as RGB30 with WuffsPřemysl Eric Janouch2021-11-151-40/+113
| | | | | | | Do not check whether the window's visual can make use of them, since they're arguably rare enough. With transparent images, we're limited by Cairo's formats.
* Don't use a side buffer to load thumbnailsPřemysl Eric Janouch2021-11-151-25/+24
| | | | Undoing part of a recent commit.
* Slightly optimize thumbnail loadingPřemysl Eric Janouch2021-11-151-7/+3
| | | | Now it translates to just x86 bswap and ror.
* Clean upPřemysl Eric Janouch2021-11-131-6/+3
|
* Use spng to load thumbnailsPřemysl Eric Janouch2021-11-121-108/+99
| | | | | | | | | | Speed matters here, and this makes us about 20 percent faster at loading large directories. Moreover, libpng's PNG_ALPHA_BROKEN is indeed broken. Thumbnails have a fairly fixed format, so there are very few practical corner cases that could have been missed.
* Update commentsPřemysl Eric Janouch2021-11-121-7/+13
|
* Add support for defaulting to gdk-pixbufPřemysl Eric Janouch2021-11-101-0/+33
|
* Also render SVGs with unspecified dimensionsPřemysl Eric Janouch2021-11-101-5/+20
|
* Improve librsvg integrationPřemysl Eric Janouch2021-11-101-6/+11
| | | | Let it load external <image>s and not rescale images.
* Add very basic SVG supportPřemysl Eric Janouch2021-11-101-1/+97
| | | | | | | We need to refactor, so that SVGs are pre-rendered on each change of scaling by librsvg directly, because some elements may be rasterized. It would be best to also support building against resvg.
* Split out xdg.{c,h}Přemysl Eric Janouch2021-11-011-3/+2
|
* Incorporate most clang-format changesPřemysl Eric Janouch2021-11-011-35/+34
|
* Split out fastiv-io.h, move media types listPřemysl Eric Janouch2021-11-011-0/+14
|
* Add a prototype of a directory view widgetPřemysl Eric Janouch2021-10-201-6/+11
|
* Add a thumbnail loaderPřemysl Eric Janouch2021-10-041-0/+188
| | | | So far not used, we'll need another widget to make use of it.
* Improve comment wordingPřemysl Eric Janouch2021-10-011-1/+2
|
* Split out image loaders into fastiv-io.cPřemysl Eric Janouch2021-09-201-0/+426