Commit Graph

29 Commits

Author SHA1 Message Date
José Roberto de Souza 154041e62e ethumb: Port to edbus v2
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>



SVN revision: 80103
2012-12-03 21:27:40 +00:00
Rafael Antognolli 2cd49de668 ethumb: Fix license on ethumbd.c too.
It was intended to be LGPL-2.1 too. Bad copy & paste :-(

SVN revision: 79756
2012-11-27 20:53:33 +00:00
Rafael Antognolli 8ac3152e89 Ethumb: Fix license reporting on executables's --version output.
SVN revision: 79748
2012-11-27 15:37:56 +00:00
Vincent Torri 4d5063985b Ethumb: formatting, fix future compilation on Windows
SVN revision: 65946
2011-12-06 06:31:45 +00:00
Cedric BAIL fd331a6864 ethumb: fix restart of ethumbd_slave.
SVN revision: 59862
2011-06-01 10:56:35 +00:00
Cedric BAIL b5314ddd6f ethumb: prevent ecore exe handler from being called more than once.
SVN revision: 58788
2011-04-21 10:30:37 +00:00
Cedric BAIL 6110f6e6f4 ethumb: cleanup ethumbd to prepare multi slave support.
SVN revision: 58787
2011-04-21 10:13:18 +00:00
Eduardo Felipe a5d96cb881 From: Eduardo Felipe <eduardofelipe87@gmail.com>
Subject: [E-devel] [PATCH] Fix ethumbd FDO and orientation support

FDO was a noop and orientation was partially implemented on the master
and not at all on the slave. These patches fix both bugs.

Fix-FDO-support-in-ethumbd



SVN revision: 57043
2011-02-15 09:31:18 +00:00
Eduardo Felipe e5cb523f07 From: Eduardo Felipe <eduardofelipe87@gmail.com>
Subject: [E-devel] [PATCH] Fix ethumbd FDO and orientation support

Add-orientation-support-to-ethumbd



SVN revision: 57042
2011-02-15 09:29:58 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Gustavo Sverzut Barbieri a2a0ab8d4c Fix memory alignment and remove dead/useless code.
* those write to stderr were legacy from development, some of them
   were even wrongly accessing out-of-buffer memory;

 * some platforms cannot access non-aligned memory, like integers that
   are not aligned to sizeof(int) and do on. Change the generated
   message using memcpy to aligned memory before using them. Add
   comment to explain that;



SVN revision: 50135
2010-07-08 22:37:04 +00:00
Iván Briano b9d2cf0983 Fix nasty cenourette.
Also from Raphael Kubo, you can ask him what the commit message means (rakuco around the irc plane of existence)


SVN revision: 49976
2010-07-01 19:54:47 +00:00
Iván Briano 8e50bcb41b More from Raphael Kubo, register log domains
SVN revision: 49975
2010-07-01 19:48:54 +00:00
Iván Briano 01b6434842 From Raphael Kubo da Costa, fix callbacks to match Ecore changes
SVN revision: 49974
2010-07-01 19:42:12 +00:00
Gustavo Sverzut Barbieri 144e732a24 remove spurious \n for eina_log messages.
SVN revision: 46756
2010-03-02 00:39:37 +00:00
Gustavo Sverzut Barbieri 9345b211b0 fix llvm/clang and gcc errors.
NOTE: mixing write() and fprintf() to the same descriptor (stderr,
      done by ERR()), will likely cause problems :-/



SVN revision: 46753
2010-03-02 00:34:40 +00:00
Rafael Antognolli 6cbcfd262f ethumb: now using ecore_exe to start the slave.
SVN revision: 44092
2009-12-01 13:34:09 +00:00
João Paulo Rechi Vita d0155d87ee The "generated" D-Bus signal is published with an int64 as it first
parameter but an int32 is sent instead.

Patch by: João Paulo Rechi Vita <jprvita@profusion.mobi>

--This lina, and those below, will be ignored--

M    ethumb/src/bin/ethumbd.c


SVN revision: 43160
2009-10-19 14:05:54 +00:00
João Paulo Rechi Vita 2b93b55313 Sending an empty byte array to Ethumbd through the D-Bus API was
leading to a segfault.

Patch by: João Paulo Rechi Vita <jprvita@profusion.mobi>



SVN revision: 43159
2009-10-19 14:04:43 +00:00
Gustavo Sverzut Barbieri bea73e88bd Ethumb improvements and more docs.
make some types unsigned int to better represent what they will
contain, fix dbus api to match so.



SVN revision: 42545
2009-09-17 14:05:04 +00:00
Gustavo Sverzut Barbieri bf4e52869b configure summary, maximum log level and other improvements.
Have all source to include config.h conditionally (HAVE_CONFIG_H),
define EINA_LOG_LEVEL_MAXIMUM, minor changes to configure.ac to make
it conform with the rest of efl.



SVN revision: 42544
2009-09-17 12:04:35 +00:00
Gustavo Sverzut Barbieri 97645fe7bc API BREAK: Fix Ethumb API to be more EFL-like
* Callbacks were named to help Vala bindings.
 * All callbacks get 'void *data' as first argument, always.
 * All async methods get free_data parameters and call them also on disconnect()
 * queue_remove() renamed to generate_cancel() to be more clear.
 * queue_clear() renamed tp generate_cancel_call() to be more clear.



SVN revision: 42445
2009-09-12 18:23:05 +00:00
Gustavo Sverzut Barbieri 992936af22 Update to match new EINA init/shutdown.
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Gustavo Sverzut Barbieri 6aa85b1cf9 indent.
SVN revision: 41397
2009-07-17 14:44:11 +00:00
Rafael Antognolli 31fc2b0dfa Added support to creating animated thumbnails from videos.
These thumbnails are generated using an edje template. Each thumbnail is
an edje file, that has a group called "movie/thumb"
The thumbnail can be animated by receiving a signal "animate" or "animate_loop"
(the last one being a loop animation that calls itself when finished), and
the animate_loop program can be stopped by receiving a signal "animate_stop".
The transition time is set based on the time of the animation (that is set
by the call ethumb_video_time_set()).



SVN revision: 41322
2009-07-13 19:38:17 +00:00
Rafael Antognolli 2dd7e38b96 Changing boolean flags to Eina_Bool.
SVN revision: 41321
2009-07-13 19:24:20 +00:00
Rafael Antognolli 116c7d3266 Fixed wrong usage of dbus.
This was also the problem causing ethumb generated callback on the client
library always return with success=1 (see ticket #337).



SVN revision: 41287
2009-07-09 19:26:16 +00:00
Rafael Antognolli f9b765ec1c Added support to set quality and compress level.
SVN revision: 41286
2009-07-09 19:16:02 +00:00
Rafael Antognolli aac69a080f Added ethumbd (ethumb).
ethumbd is a server waiting for requests of thumbnails via dbus. A client
library is also provided, avoiding dbus burocracy (and with an API similar
to ethumb).



SVN revision: 40899
2009-06-04 21:21:43 +00:00