aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix LibRaw 0.21.0 buildPřemysl Eric Janouch2022-12-231-0/+5
|
* Support opening collections of filesPřemysl Eric Janouch2022-08-081-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a process-local VFS to enable grouping together arbitrary URIs passed via program arguments, DnD, or the file open dialog. This VFS contains FivCollectionFile objects, which act as "simple" proxies over arbitrary GFiles. Their true URIs may be retrieved through the "standard::target-uri" attribute, in a similar way to GVfs's "recent" and "trash" backends. (The main reason we proxy rather than just hackishly return foreign GFiles from the VFS is that loading them would switch the current directory, and break iteration as a result. We could also keep the collection outside of GVfs, but that would result in considerable special-casing, and the author wouldn't gain intimate knowledge of GIO.) There is no perceived need to keep old collections when opening new ones, so we simply change and reload the contents when needed. Similarly, there is no intention to make the VFS writeable. The process-locality of this and other URI schemes has proven to be rather annoying when passing files to other applications, however most of the resulting complexity appears to be essential rather than accidental. Note that the GTK+ file chooser widget is retarded, and doesn't recognize URIs that lack the authority part in the location bar.
* Don't crash on orphan URIsPřemysl Eric Janouch2022-08-081-2/+3
|
* Remove forgotten include directivePřemysl Eric Janouch2022-07-201-2/+0
|
* Add missing array sentinel valuePřemysl Eric Janouch2022-07-191-1/+2
|
* Use GPatternSpec rather than fnmatch()Přemysl Eric Janouch2022-07-141-12/+24
| | | | | Fixing a portability issue on Windows, where we still aim to use the shared-mime-info database.
* Add flags to the serialization protocolPřemysl Eric Janouch2022-06-081-2/+5
| | | | | | | | | It still needs no versioning, as it's not really used by anyone. An alternative method of passing a "low-quality" flag would be perusing fiv_thumbnail_key_lq from fiv-thumbnail.c, which would create a circular dependency, unless fiv_io_{de,}serialize*() were moved to fiv-thumbnail.c.
* Clean upPřemysl Eric Janouch2022-06-051-17/+17
| | | | Use gchar when memory is allocated through GLib.
* Get rid of our spng dependencyPřemysl Eric Janouch2022-06-041-1/+165
| | | | Thumbnails can be properly loaded using Wuffs now.
* Bump Wuffs, support partial PNGs through itPřemysl Eric Janouch2022-06-041-11/+10
|
* Expose the mtime of the model's entriesPřemysl Eric Janouch2022-06-041-28/+17
|
* Plug two memory leaksPřemysl Eric Janouch2022-06-041-6/+5
|
* Fix loading huge JPEGsPřemysl Eric Janouch2022-03-091-0/+22
| | | | | | | | They fell back to gdk-pixbuf, then misrendered in the thumbnailer, and crashed the program when loaded directly. The second best we can do is scale them down, right after tiling, which is a complex feature to add.
* Make thumbnailers pass back raw imagesPřemysl Eric Janouch2022-02-201-1/+65
|
* Use natural sort orderPřemysl Eric Janouch2022-02-201-12/+9
| | | | This is exposed in GLib through collate key construction.
* Add a TODO commentPřemysl Eric Janouch2022-02-181-0/+1
| | | | WebP can't save all JPEGs, because WEBP_MAX_DIMENSION is only 16383.
* Add a missing header file includePřemysl Eric Janouch2022-02-141-2/+3
|
* Add TGA to the list of supported media typesPřemysl Eric Janouch2022-01-251-0/+1
|
* Redirect warnings to the info barPřemysl Eric Janouch2022-01-241-70/+94
| | | | | | And speed up thumbnailing of animated images while at it. Also, fix thumbnailing SVGs with external links.
* Remove SVG debugging toolsPřemysl Eric Janouch2022-01-231-35/+2
| | | | I already know how librsvg over Cairo behaves.
* Add backend for accurate SVG scalingPřemysl Eric Janouch2022-01-231-29/+126
|
* Make truncated WebP parts always transparentPřemysl Eric Janouch2022-01-231-5/+22
|
* Load even partial WebP imagesPřemysl Eric Janouch2022-01-221-5/+16
|
* Reorder codePřemysl Eric Janouch2022-01-221-241/+242
|
* Improve WebP error reportingPřemysl Eric Janouch2022-01-221-2/+27
|
* Bump Wuffs, add TGA support through itPřemysl Eric Janouch2022-01-221-2/+8
|
* Default to gdk-pixbuf even for Wuffs formatsPřemysl Eric Janouch2022-01-221-11/+15
|
* Plug a corner-case memory leak, fix range checksPřemysl Eric Janouch2022-01-211-1/+2
|
* Add preliminary support for resvgPřemysl Eric Janouch2022-01-211-2/+92
| | | | It claims better SVG support, but it sucks for a plethora of reasons.
* Mesonize JPEG Quant SmoothPřemysl Eric Janouch2022-01-191-4/+1
| | | | | | | | | Now SIMD works on amd64, although the build remains questionable, because it assumes that all of its compiler flags will work. This way we lose an uncomfortable git submodule. Also, add Meson subprojects to .gitignore.
* Add a comment about HDR PNGPřemysl Eric Janouch2022-01-131-0/+2
|
* Bump Wuffs, clean up image loadingPřemysl Eric Janouch2022-01-081-8/+3
|
* Fix GIF decoding for certain filesPřemysl Eric Janouch2022-01-081-3/+13
| | | | The handling is not perfect yet, but it should be fine enough.
* Fix SVG thumbnailingPřemysl Eric Janouch2022-01-071-13/+34
| | | | They're not loaded as image surfaces.
* Fix build with JPEG-QS but without lcms2Přemysl Eric Janouch2022-01-061-6/+8
|
* Update commentsPřemysl Eric Janouch2022-01-051-1/+6
|
* Add UI for sort order settingsPřemysl Eric Janouch2022-01-051-20/+56
|
* Use a unified filesystem modelPřemysl Eric Janouch2022-01-051-17/+307
| | | | | | This removes some duplication of effort. So far, sorting adjustments are not exposed in the UI.
* Convert all loading to use GFilePřemysl Eric Janouch2021-12-301-22/+24
| | | | Now we're able to make use of GVfs, with some caveats.
* Add pointless likelihood macrosPřemysl Eric Janouch2021-12-301-3/+3
|
* Partially colour-manage TIFFsPřemysl Eric Janouch2021-12-291-13/+20
|
* Hardcode Exif orientation in thumbnailsPřemysl Eric Janouch2021-12-281-0/+55
|
* Move thumbnails into their own source filePřemysl Eric Janouch2021-12-281-470/+16
| | | | And clean up identifiers.
* Load back wide thumbnail metadataPřemysl Eric Janouch2021-12-281-1/+9
|
* Save thumbnails lossily, with metadataPřemysl Eric Janouch2021-12-281-39/+111
|
* Fix transparent gdk-pixbuf loadingPřemysl Eric Janouch2021-12-281-0/+1
|
* Avoid unused alpha channels when rescalingPřemysl Eric Janouch2021-12-281-4/+5
|
* Clean upPřemysl Eric Janouch2021-12-281-5/+2
|
* Avoid producing thumbnails of thumbnailsPřemysl Eric Janouch2021-12-281-11/+18
|
* Try to regenerate low quality thumbnailsPřemysl Eric Janouch2021-12-281-3/+23
|