Commit Graph

29 Commits

Author SHA1 Message Date
Philippe Caseiro de18cf3b8c ethumb: update API documentation.
- ethumb_generate
 - ethumb_exists
 - ethumb_dup
 - ethumb_cmp
2014-10-20 18:30:51 +02:00
Philippe Caseiro cf1db89a62 etumb: updating API documentation.
- 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-20 18:30:12 +02:00
Philippe Caseiro 513d9efc78 ethumb: update API documentation.
- 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-20 18:29:29 +02:00
Adrien Nader 19a35949da ethumb: document most functions from ethumb. 2014-10-20 18:28:19 +02:00
Nicolas Aguirre 251164ad72 ethumb: add documentation for Ethumb_Version structure. 2014-10-20 18:02:07 +02:00
wonguk.jeong ae5a5b3b96 ethumb: support ETHUMB_THUMB_ORIENT_ORIGINAL without libexif
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-08 14:50:44 +02: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
Stefan Schmidt 3d269acefa ethumb: Memset whole contex in md5 implementation
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-05-16 14:32:51 +02:00
Carsten Haitzler 51cebf64e9 ethumb - fix clients going right to disk and getting half written thumbs
client still do stats (not async) but at least they dont get
half-baked thumbs now
2014-02-19 22:13:09 +09:00
Cedric BAIL bd0d03fbcf ethumb: fix build on windows by matching the #if around the if statement. 2014-01-09 14:30:53 +09:00
Carsten Haitzler e8c13118eb fix mingw build for setuid fix/checks 2014-01-08 22:06:41 +09:00
Carsten Haitzler b95ef3801f setuid safeness - ensure if an app that is setuid doesn't do bad things
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-08 19:46:23 +09:00
Carsten Haitzler 6f685d7608 fixme notes - fixme: many instances of module loading that bloat our mem 2014-01-06 12:16:36 +09:00
Carsten Haitzler 75fbf9e03a ethumb - ensure buf is nul terminated
this SHOULD deal with CID 1039577  and CID 1039576
2013-12-13 21:26:05 +09:00
Cedric Bail 44f539e1a3 eina: fix eina_hash_int64 on Windows system. 2013-11-09 20:07:27 +09:00
Cedric Bail 926f4c5e84 efl: detect 64 bits correctly. 2013-11-09 19:48:31 +09:00
Carsten Haitzler b07c0a76ce alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Chris Michael bb30cd58ce We cannot use dname in the error message if we have already freed it
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 <cp.michael@samsung.com>
2013-07-08 08:01:58 +01:00
Sebastian Dransfeld 336f6ec328 efl: formatting 2013-06-20 13:28:18 +02:00
Henrique Dante de Almeida 95623dee10 ethumb: Support strict aliasing rules in MD5 code 2013-02-26 10:17:28 -03: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
Lucas De Marchi d4da99698e efl/edbus: make all edbus_*_send() methods unref its msg
There's no reason to keep a msg after it was sent. Before this patch we
had edbus_service_signal_send() unref'ing its msg and all the others
not. Also, several users (particularly the edbus_proxy_send() ones) were
forgetting to unref the msg.

This patch makes all these methods unref the message after it has been
succesfully sent:

 - edbus_connection_send()
 - edbus_object_send()
 - edbus_proxy_send()
 - edbus_service_signal_send()



SVN revision: 82807
2013-01-15 14:33:48 +00:00
Gustavo Sverzut Barbieri c42971cd27 fix minor ethumb errors.
SVN revision: 82741
2013-01-14 01:35:58 +00:00
Gustavo Sverzut Barbieri 070cce20e7 ethumb: improve disconnect/connect log.
server disconnect is normal, not an error... and log the connect as well.



SVN revision: 82738
2013-01-14 00:58:40 +00:00
Gustavo Sverzut Barbieri 3cb8756c23 fix doxygen error.
SVN revision: 82731
2013-01-13 22:43:13 +00:00
Gustavo Sverzut Barbieri a7ad336a6a ethumb: do not free module list if it was not discovered
this will now happen when using ethumb_client, that doesn't need to
search for any plugins localy! :-)



SVN revision: 82682
2013-01-12 05:24:55 +00:00
Gustavo Sverzut Barbieri a4e4c3041e ethumb: improve plugin handling.
be more like emotion, delay plugin load and change the api to register/unregister, more future-proof.



SVN revision: 82681
2013-01-12 05:21:36 +00:00
Gustavo Sverzut Barbieri d8db6705ad fix frame handling.
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-12 04:32:13 +00:00
Gustavo Sverzut Barbieri 34f5315141 merge ethumb.
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
2013-01-12 01:15:45 +00:00