summaryrefslogtreecommitdiff
path: root/tumbler/tumbler-abstract-thumbnailer.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation warningsGaƫl Bonithon2021-11-101-13/+15
|
* This commit implements Excludes pathsAli Abdallah2020-05-011-1/+19
| | | | | Any path found in a plugin Excludes will be ignored, code contributed by Markus Kolb xfce@tower-net.de Bug #16130.
* Fix g_type_class_add_private is deprecatedAndre Miranda2019-04-161-8/+3
|
* Add config file system to control thumbnailing plugin.Nick Schermer2012-12-271-0/+48
| | | | | | Settings that allow to change the plugin priority, max file size to act on, white-listed locations or completely disable them.
* Get rid of the inherently broken GStrv type in function signatures.Jannis Pohlmann2011-02-131-4/+4
| | | | This breaks the API but it is not finalized anyway yet.
* Massive refactoring to support flavors properly.Jannis Pohlmann2009-10-271-11/+5
| | | | | | | | | | | | | | | | | | | | | Refactor the entire code to use TumblerFileInfo instead of separate URI/MIME/flavor arrays. We now support flavors which means that applications can request "normal" and "large" thumbnails and thus have more control over what is created. This simplifies the code in a lot of places. We now use a real GObject class called TumblerThumbnailFlavor instead of a fixed-size enum. Cache backends can return as many flavors as they want, each consisting of a name, a width and a height. As a consequence, we can also get rid of the configure flags to enable/disable normal, large and cropped thumbnails. The default cache plugin shipped with Tumbler only supports "normal" (128x128px) and "large" (256x256px). Optimize the code a little bit. We now load the TunarFileInfo and ThunarThumbnail only *once* for each URI instead of loading them once in the scheduler and again in thumbnailer plugins. This needs careful testing. I might have introduced a few memory leaks here and there, plus new bugs... you never know.
* Added the DBus API parts for flavor supportPhilip Van Hoof2009-10-261-3/+7
| | | | Signed-off-by: Jannis Pohlmann <jannis@xfce.org>
* Add cancel capability to the thumbnail operations.Philip Van Hoof2009-10-141-1/+4
|
* Chain constructed up to parent classes. Need to remember this.Jannis Pohlmann2009-10-051-0/+4
|
* Cleanup, remove private structs and use G_DEFINE_TYPE where possible.Jannis Pohlmann2009-06-171-4/+1
| | | | This commit also contains a few fixes though.
* Add plugin interface for cache and thumbnailer implementations.Jannis Pohlmann2009-06-081-0/+244
This is a major refactoring of the source code. Amongst others, the classes TumblerProviderFactory, TumblerThumbnailer, TumblerAbstractThumbnailer, TumblerThumbnailerProvider, TumblerCache, TumblerCacheProvider and TumblerFileInfo have been added. From now on tumbler supports different storage backends and thumbnailers as plugins. Storage backends have to implement TumblerCache, thumbnailers have to implement TumblerThumbnailer. Plugins have to implement three methods: tumbler_plugin_initialize(), tumbler_plugin_shutdown() and tumbler_plugin_get_types(). The latter is expected to return a list of provider types for cache or thumbnailer implementations. Two example plugins have been added, one for the XDG thumbnail cache and one for a GdkPixbuf based thumbnailer. The code of tumblerd was updated to reflect these changes in libtumbler.