path: root/src/lib/ethumb/ethumb.c (follow)
AgeCommit message (Collapse)Author
2017-02-03ifdef RUN_IN_TREE logic.Gustavo Sverzut Barbieri
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
2017-01-25ethumb: Fix resource leakChris Michael
Coverity reports a resource leak here as we were not freeing 'sanitized_path' inside the if statement. Fixes CID1367502 @fix Signed-off-by: Chris Michael <>
2017-01-06eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ.Cedric BAIL
2016-12-20ethumb: fix float comparison warning.Cedric BAIL
2016-12-20Revert "ethumb: remove float comparison warnings"Chris Michael
This broke building and needs to be fixed differently This reverts commit 8120572d08ef39a6f3a1a1cff0be912fa469c85d.
2016-12-20ethumb: remove float comparison warningsChris Michael
Signed-off-by: Chris Michael <>
2016-12-12ethumb: fix resource leak introduced in file path sanitization reworkStefan Schmidt
This extra snaitized path assign path does not make sense and leads to a leak in the end. We already have sanitized_path and handle that correctly. Fixes 62a0c41fd3bf8796efec55db52395f13a78fb27f CID: 1366925
2016-12-09ethumb: fix absolute path generationAndrii Kroitor
replace _ethumb_build_absolute_path with eina_file_path_sanitize It makes same thing and works on Windows correctly.
2016-05-31ethumb - don't complain to stderr about things that are handled by apiCarsten Haitzler (Rasterman)
things like load failures are up to api to deal with, not logs.
2015-12-29Evil: integrate the dlfcn code into EvilVincent Torri
This will remove some incompatibilities with other packages, especially for win-builds
2015-05-14ethumb: use portable environment lookup.Cedric BAIL
2014-07-08ethumb: support ETHUMB_THUMB_ORIENT_ORIGINAL without libexifwonguk.jeong
Summary: Since there is infra to support EXIF orientation in the loaders, we don't need to use libexif explicitely. (Currently jpeg loader support EXIF orientaion fully.) @fix Test Plan: generate thumbnail of "Light_exif_*.jpg" in efl/src/tests/evas/image/ -> check whether the image is rotated properly or not Reviewers: raster, cedric CC: seoz, cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-07-07ethumb: fix setup related API problemwonguk.jeong
Summary: setup related API was not working at all due to below problems 1. dbus type signature is wrong. it's array of dictionary not array of struct 2. since quality value was assigned to compress value, there was a problem during saving png image (out of bound) 3. orientation_set API was not working except NONE and ORIGINAL @fix Test Plan: make thumbnail by using elm_thumb_add -> orientation set to 90 CCW -> check whether image is rotated properly or not Reviewers: raster, cedric CC: seoz, cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-02-19ethumb - fix clients going right to disk and getting half written thumbsCarsten Haitzler (Rasterman)
client still do stats (not async) but at least they dont get half-baked thumbs now
2014-01-09ethumb: fix build on windows by matching the #if around the if statement.Cedric BAIL
2014-01-08fix mingw build for setuid fix/checksCarsten Haitzler (Rasterman)
2014-01-08setuid safeness - ensure if an app that is setuid doesn't do bad thingsCarsten Haitzler (Rasterman)
this makes efl ignore certain env vars for thnigs and entirely removes user modules (that no one ever used) etc. etc. to ensure that *IF* an app is setuid, there isn't a priv escalation path that is easy.
2014-01-06fixme notes - fixme: many instances of module loading that bloat our memCarsten Haitzler (Rasterman)
2013-12-13ethumb - ensure buf is nul terminatedCarsten Haitzler (Rasterman)
this SHOULD deal with CID 1039577 and CID 1039576
2013-11-09eina: fix eina_hash_int64 on Windows system.Cedric Bail
2013-11-09efl: detect 64 bits correctly.Cedric Bail
2013-07-08We cannot use dname in the error message if we have already freed itChris Michael
above, so fix. On a mkpath failure, print out the message, Then free dname. Be sure to also free dname if we do not error. NB: Fixes Coverity CID1039893 Signed-off-by: Chris Michael <>
2013-06-20efl: formattingSebastian Dransfeld
2013-01-12ethumb: do not free module list if it was not discoveredGustavo Sverzut Barbieri
this will now happen when using ethumb_client, that doesn't need to search for any plugins localy! :-) SVN revision: 82682
2013-01-12ethumb: improve plugin handling.Gustavo Sverzut Barbieri
be more like emotion, delay plugin load and change the api to register/unregister, more future-proof. SVN revision: 82681
2013-01-12fix frame handling.Gustavo Sverzut Barbieri
before it was confusing having to place the img behind the border and draw a hole, it would also cut parts of the view doing that. SVN revision: 82679
2013-01-12merge ethumb.Gustavo Sverzut Barbieri
This one was a painful bitch. The edbus2 port was quite broken, mainly leaking eina_stringshare and also not adding the '\0' to the strings that are represented as bytearray (paths cannot be utf8 to avoid translations). Emotion plugin was also quite bogus and the video thumbnail as edje (animated) is not working yet due bug in Edje_Edit api -- someone needs to investigate this, seems strange. Emotion plugin also had a bug that it was deleting the object from inside object callback. Now it seems to work. Please report if it does not. SVN revision: 82675