summaryrefslogtreecommitdiff
path: root/src/lib/ethumb (follow)
AgeCommit message (Collapse)Author
2020-09-25Ethumb: reorder _init/shutdown functions, ecore and evas init/shutdown are ↵Vincent Torri
useless, as ecore_evas already manages them Test Plan: compilation Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12161
2020-06-23Get rid of trailing whitespaces (11 / 14)Elyes HAOUAS
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12010
2020-05-27build: stop buildsystem from beeing a public dependencyMarcel Hollerbach
this is wrong, each library should declare it on its own Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11883
2020-05-27refactor buildMarcel Hollerbach
libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
2020-05-18Revert "Fix EAPI definition by defining EFL_BUILD for each built DLL"Carsten Haitzler (Rasterman)
This reverts commit 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.
2020-05-18Fix EAPI definition by defining EFL_BUILD for each built DLLVincent Torri
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
2020-02-28doxygen: fix duplicated toc sectionsXavi Artigas
2019-09-05ethumb: fixed a potential dangling pointer.Hermet Park
fixed by null handling.
2019-08-15ethumb - fix short alloc on stack not including nul char spaceCarsten Haitzler (Rasterman)
fix space for nul byte with alloca.
2019-08-05ethumb - fix error free of static string as stringshareCarsten Haitzler (Rasterman)
in one case we try stringshare_del a static string, not stringshared, so fix by always making it a stringshare fix CID 1402614
2019-08-05ethumb - make coverity happy by including null charCarsten Haitzler (Rasterman)
doesnt cost us much to memcpy the nul byte too to keep coverity happy. fix CID 1402690
2019-07-28Evil: remove pwd code in Evil and fix compilation failures after the removalVincent Torri
Summary: remove pwd code in Evil Test Plan: compilation Reviewers: zmike, cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9420
2019-05-20remove Evil.h when not necessary, include evil_private.h when necessaryVincent Torri
Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8925
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
2018-09-13ethumb: fix module loading when running in treeMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D6820
2018-02-17ethumb: use new bs static libMarcel Hollerbach
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2018-01-12efl: remove inclusion of dirent.h where it is not usedVincent Torri
Test Plan: compilation Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5733 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
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 <cp.michael@samsung.com>
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 <cp.michael@samsung.com>
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-08-22ethum: fix compilation on Windows due to missing visibility setting.ChunEon Park
2015-05-14ethumb: use portable environment lookup.Cedric BAIL
2015-05-10ecore_cocoa,ethumb: fix compiling after EAPI policy changesJean Guyomarc'h
Summary: I went through a lot of undefined symbols while compiling ecore_evas_cocoa module and ethumb-related binaries. E.g.: Undefined symbols for architecture x86_64: "_ECORE_COCOA_EVENT_EXPOSE", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ECORE_COCOA_EVENT_GOT_FOCUS", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ECORE_COCOA_EVENT_LOST_FOCUS", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ECORE_COCOA_EVENT_RESIZE", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ECORE_COCOA_EVENT_WINDOW_DESTROY", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ecore_cocoa_init", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ecore_cocoa_screen_size_get", referenced from: __ecore_evas_screen_geometry_get in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o "_ecore_cocoa_shutdown", referenced from: _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o __ecore_evas_cocoa_free in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o Undefined symbols for architecture x86_64: "_ethumb_calculate_aspect_from_ratio", referenced from: __resize_movie in modules_ethumb_emotion_module_la-emotion.o "_ethumb_calculate_fill_from_ratio", referenced from: __resize_movie in modules_ethumb_emotion_module_la-emotion.o "_ethumb_ecore_evas_get", referenced from: __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o "_ethumb_evas_get", referenced from: __thumb_generate in modules_ethumb_emotion_module_la-emotion.o __finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o "_ethumb_finished_callback_call", referenced from: __thumb_generate in modules_ethumb_emotion_module_la-emotion.o __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o __finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o "_ethumb_image_save", referenced from: __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o "_ethumb_plugin_image_resize", referenced from: __resize_movie in modules_ethumb_emotion_module_la-emotion.o "_ethumb_plugin_register", referenced from: __module_init in modules_ethumb_emotion_module_la-emotion.o "_ethumb_plugin_unregister", referenced from: __module_shutdown in modules_ethumb_emotion_module_la-emotion.o EAPI was not well re-defined in both cases. It has been handled in ecore_cocoa_private.h and ethumb_private.h. These files must be included after a main library header (because EAPI is undef there). Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2483 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07ethumb: remove the need to order the header correctly for Windows.Cedric BAIL
2014-10-20ethumb: update API documentation.Philippe Caseiro
- ethumb_generate - ethumb_exists - ethumb_dup - ethumb_cmp
2014-10-20etumb: updating API documentation.Philippe Caseiro
- ethumb_thumb_compress_set - ethumb_thumb_compress_get - ethumb_video_start_set - ethumb_video_start_get - ethumb_video_time_set - ethumb_video_time_get - ethumb_video_interval_set - ethumb_video_interval_get - ethumb_document_page_set - ethumb_document_page_get
2014-10-20ethumb: update API documentation.Philippe Caseiro
- ethumb_frame_set - ethumb_frame_get - ethumb_thumb_dir_path_set - ethumb_thumb_dir_path_get - ethumb_thumb_category_set - ethumb_thumb_category_get
2014-10-20ethumb: document most functions from ethumb.Adrien Nader
2014-10-20ethumb: add documentation for Ethumb_Version structure.Nicolas Aguirre
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: https://phab.enlightenment.org/D1142 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
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: https://phab.enlightenment.org/D1138 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-05-16ethumb: Memset whole contex in md5 implementationStefan Schmidt
I don't know what they tried here but if we consider the content of ctx sensitive we should memset the whole thing. CID 222382
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-11-04alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1Carsten Haitzler (Rasterman)