Andrii Kroitor
9f6d773fce
ethumb: rewrite slave input/output
...
Using stdio instead of low-level read and write because low-level API has
different behaviour on Linux and Windows.
2016-12-22 14:13:40 +02:00
Andrii Kroitor
518910990c
ethumb_slave: fix work on Windows
...
Ecore_Fd_Handler doesn't work on Windows as expected.
Replaced it with Ecore_Win32_Handler on Windows.
2016-12-09 16:54:12 +02:00
Jean-Philippe Andre
8fe89711ee
Ethumb: Fix clang warning
...
Unused function.......
2015-04-21 20:11:02 +09:00
Srivardhan Hebbar
05006e6463
ethumb: Fixing eina_init to eina_shutdown.
...
Summary:
In the end we should call eina_shutdown, but by mistake eina_init is being called. So have corrected that.
@fix
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1751
2014-12-09 09:25:01 -05:00
Carsten Haitzler
29c4a28457
ethumbd - check arg signature
...
fix CID 1039708
2014-08-27 14:58:50 +09:00
Carsten Haitzler
b3fa71e0dc
ethumbd - check signature type
...
fix CID 1039709
2014-08-27 14:56:13 +09:00
Carsten Haitzler
c4b2d133e4
ethumbd - check arg signaature type
...
fix CID 1039710
2014-08-27 14:53:29 +09:00
Carsten Haitzler
9e8f024b73
ethumb - check signature of arguments for crop
...
fix CID 1039711
2014-08-27 14:52:11 +09:00
Carsten Haitzler
ceee029484
ethumbd - check eldbus_service_object_data_get return like everywhere
...
this fixes CID 1039338
2014-08-22 20:14:57 +09:00
Carsten Haitzler
db447bece5
fix non 0 terminated buffer in ethmubd slave
...
this fixes a potential non 0 terminated string buffer in ethumb slave
process - harmless for apps, but might happen. this fixes CID 1193232
2014-08-12 22:24:43 +09:00
Daniel Kolesa
97dc9cac36
ethumbd_slave: fix coverity defect
...
Fixes CID 1193232 (string not null terminated)
2014-08-04 10:44:35 +01:00
wonguk.jeong
f803ba27b7
ethumb: fix setup related API problem
...
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-07-07 19:11:02 +02:00
Carsten Haitzler
43725e960a
ethumbd - stop using an idler that spins at 100% cpu while generating queues
2013-12-28 11:15:26 +09:00
Carsten Haitzler
b4411c90bf
ethumbd - if thumb gen takes too long don't just quit ethumbd, but skip thumb
2013-12-28 11:07:30 +09:00
Carsten Haitzler
332a54d1c6
ethumbd - drop priority to 19 like efreetd so it lurks in bg as much as it can
2013-12-28 10:28:57 +09:00
Daniel Juyung Seo
76d8532b54
efl: Unified eina critical manro to CRI.
...
Being annoyed by different types of eina critical macros - CRI, CRIT,
CRITICAL -, I concluded to unify them to one. Discussed on IRC and
finally, CRI was chosen to meet the consistency with other macros -
ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 12:27:13 +09:00
Carsten Haitzler
83615efe6a
ethumbd - fix possible out of bounds access to work table
...
this should fix CID 1039314 in case an unsused table slot cannot be
found. this should actualyl never happen because table expands/allocs
zero out new entires so they are "unused".
2013-12-13 21:26:05 +09:00
Carsten Haitzler
6ceabbdb6c
ethumb - fix ethumbd timeout to always work at start and mid-run too.
2013-07-09 20:13:24 +09:00
Carsten Haitzler
bb4539c826
ethumbd timeout to 30s to not timeout in middle of long generate
2013-07-09 19:56:18 +09:00
Carsten Haitzler
95c836eaa3
up ethumbd timeout to 10sec by default
2013-07-09 19:37:55 +09:00
Carsten Haitzler
64f8ea918c
ethumbd - set default timeout for ethumbd to 2 seconds
2013-07-04 08:40:35 +09:00
Eduardo Lima (Etrunko)
d3292a7ae9
Split .gitignore into multiple files
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Jérémy Zurcher
e14c2ede20
ethumbd: explicitly set flags and service desc fields to NULL in static structs
2013-05-07 22:56:02 +02:00
Lucas De Marchi
4e3804041f
Rename edbus->eldbus
...
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;
git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done
find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
2013-04-23 12:36:29 -03:00
Stefan Schmidt
fe86e29fa6
efl/ethumb: Fix more memory leaks in ethumbd_slave.c
...
MAke sure we free strdup'ed memory when hittign an error case.
SVN revision: 83818
2013-02-11 10:54:34 +00:00
Stefan Schmidt
664b4b9db4
efl/ethumb: Fix memory leak on error path in ethumb_slave.
...
When we hit an error with _ec_pipe_str_read we should clean up the strdup
from previous calls to avoid leaks in the error case.
SVN revision: 83817
2013-02-11 10:54:29 +00:00
Gustavo Sverzut Barbieri
d97c63e4c6
fix directory structure: move ethumd_client out of ethumb.
...
it's another library, do not mix stuff as it used to be.
SVN revision: 82835
2013-01-15 18:10:58 +00:00