Commit Graph

173 Commits

Author SHA1 Message Date
Cedric BAIL 77851c1891 ethumb: fix race condition and memory leak.
NOTE: that's a first obvious patch thanks to Gustavo reviews.
More work needed, but some decision should be discussed first.


SVN revision: 62265
2011-08-09 20:36:28 +00:00
Iván Briano 7e9666493a I'm losing myself between the things I can't test and those I just forget
SVN revision: 62029
2011-08-03 01:46:16 +00:00
Iván Briano d19b1069bc And somehow match the doc generation to the other projects
SVN revision: 62027
2011-08-03 01:21:26 +00:00
Iván Briano eee67cc797 Fix libexif detection
SVN revision: 62023
2011-08-02 23:40:12 +00:00
Rafael Antognolli 00c5498cf0 ethumb/exif - Disable libexif module if it is not present in the system.
This way it won't break the build, but just disable support for libexif.



SVN revision: 62018
2011-08-02 19:24:53 +00:00
Carsten Haitzler 29864666c9 that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +00:00
Christopher Michael d39b302cee Ethumb: Add a bunch of UNUSED where needed.
SVN revision: 61622
2011-07-23 23:12:55 +00:00
Cedric BAIL 0408408e2a ethumb: fix various source of misusage.
SVN revision: 60760
2011-06-28 14:35:21 +00:00
Cedric BAIL 6c9680f399 ethumb: mute emotion during thumbnailing.
SVN revision: 60751
2011-06-28 08:39:28 +00:00
Cedric BAIL 563fbf97f2 eina: update Eina_Refcount API to please Tasn.
SVN revision: 60592
2011-06-22 14:04:09 +00:00
Michael Jennings 092d2d861b Since the SVN revision is now included in %{version}, it's redundant
to have it in %{release} also.  So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.



SVN revision: 60407
2011-06-16 20:36:43 +00:00
Cedric BAIL fc5d48d169 ethumb: use the right edje_cc.
patch from arrowdodger.


SVN revision: 59998
2011-06-06 17:45:57 +00:00
Cedric BAIL f8e35bf8de ethumb: request file information early to avoid loosing them.
SVN revision: 59865
2011-06-01 13:04:41 +00:00
Cedric BAIL fd331a6864 ethumb: fix restart of ethumbd_slave.
SVN revision: 59862
2011-06-01 10:56:35 +00:00
Cedric BAIL 191c79c9e1 ethumb: break API to fix race condition during cancel.
SVN revision: 59846
2011-05-31 16:14:26 +00:00
Cedric BAIL c958177e51 ethumb: use Eina_Refcount.
SVN revision: 59039
2011-04-29 16:09:45 +00:00
Cedric BAIL 3d28fd82b3 ethumb: reduce number of generate.
SVN revision: 59018
2011-04-28 17:00:49 +00:00
Cedric BAIL 88745904b4 ethumb: cache exists result.
SVN revision: 59017
2011-04-28 17:00:13 +00:00
Cedric BAIL c5b107f144 ethumb: use xattr as cache when available.
SVN revision: 59004
2011-04-28 13:25:14 +00:00
Cedric BAIL bcef93caba ethumb: make exists client API async.
Ethumb_Client now use Ecore_Thread with this patch.

TODO:
	* cache exists requests (client side).
	* cache generate requests (server side).



SVN revision: 58977
2011-04-27 18:06:42 +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
Cedric BAIL cb90b07d81 autogen: unobrk things.
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL df4bef8bdf autogen: improve detection of parameter change.
SVN revision: 58667
2011-04-14 14:03:46 +00:00
Vincent Torri c83d7b3eb6 add ethumb.spec back in dist
SVN revision: 57152
2011-02-18 22:23:06 +00:00
Vincent Torri 1bf3e709c6 don't add generated files in the distribution !
you were lucky, you broke distribution but the autotools
automatically add the files AUTHORS README and COPIYNG


SVN revision: 57145
2011-02-18 07:41:26 +00:00
Rui Seabra bae92de1b9 Oops :)
SVN revision: 57141
2011-02-17 23:21:02 +00:00
Rui Seabra 12a4f056b3 Add an rpm spec and a few more svn:ignore references.
SVN revision: 57139
2011-02-17 23:05:11 +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
Vincent Torri 0ca1df4bfe and last one, put again ethumb tests in the source tree
If there is a problem with gentoo packagers, tell me.


SVN revision: 56198
2011-01-16 19:10:44 +00:00
Vincent Torri 1610756dfe add guards in config.h to avoid multiple inclusions
this file needs love


SVN revision: 55950
2011-01-06 18:54:39 +00:00
Carsten Haitzler e1ac73922d move ethumb tests to TEST
SVN revision: 55640
2010-12-19 03:12:14 +00:00
Cedric BAIL 5b3ed54a35 * ethumb: snapshot it.
SVN revision: 55239
2010-12-04 00:51:36 +00:00
Cedric BAIL e697938fc2 * eio, ethumb and elementary: snapshot increase.
SVN revision: 54508
2010-11-12 16:03:34 +00:00
Carsten Haitzler 646e8b3982 no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54297
2010-11-08 05:50:58 +00:00
Carsten Haitzler ba0a5a6516 add file from andre.
SVN revision: 53847
2010-10-25 04:10:34 +00:00
André Ribes 38c5254494 From: André Ribes <andre.ribes@gmail.com>
Hi all, this is a patch to use pkg-config for edje_cc path on ethumb. Is it ok
for you ?
Best regards,
André



SVN revision: 53846
2010-10-25 04:10:19 +00:00
Gustavo Sverzut Barbieri fe40b278d8 yeah, we know it is unstable ;-)
SVN revision: 52604
2010-09-22 21:30:15 +00:00
Chidambar Zinnoury 52b0c711a1 ethumb: missing initialization.
Thank you Lucas de Marchi :)


SVN revision: 52487
2010-09-20 12:10:30 +00:00
Chidambar Zinnoury 0f4ce94ecf ethumb: automagically orient thumbnails based on:
- metadata contained in files (EXIF only currently) - default active;
 - orientation given by the caller against pixel data orientation.
 Code is based on els_icon.

 Next is to add that through dbus.

 Open question: if orientation is specified, do we need to save the thumbnail in a different folder?


SVN revision: 52465
2010-09-19 17:07:35 +00:00
Rafael Antognolli 94540f3b5b Changing Ethumb license from LGPL3 to LGPL2.
Making this change to be in agreement with some other EFL libraries
under LGPL.



SVN revision: 52275
2010-09-14 23:02:45 +00:00
Eduardo de Barros Lima b5dc226bc1 Ethumb: make distcheck fixes
SVN revision: 51844
2010-09-02 20:12:08 +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
Carsten Haitzler 13f65a2119 sync to 1.0.0 alpha
SVN revision: 51197
2010-08-16 10:29:57 +00:00
Eduardo de Barros Lima 168b0a7ed4 ethumb: set micro version
SVN revision: 51054
2010-08-12 18:07:23 +00:00
Gustavo Sverzut Barbieri 5882201502 ethumb: Invalid access upon ethumb_free
The sub-ecore_evas is automatically deleted by ecore_evas_object_image
object when it is deleted, so we were double-freeing it.

By: Brian Wang <brian.wang.0721@gmail.com>


SVN revision: 50265
2010-07-15 12:45:52 +00:00
Gustavo Sverzut Barbieri 675b20a859 ethumb: cleanup headers
This bug of including Ecore, Evas and Ecore_Evas from Ethumb.h was
actually expoed from recent evas-0/Evas.h change, as these were not
required in the public file, I'm removing them and just letting eina
as it is used to typedef Eina_Bool and function attributes.




SVN revision: 50160
2010-07-09 15:24:17 +00:00
Christopher Michael 6d4c38f97b Move Ethumb headers to own directory.
Fix trying to free an evas_object by using ecore_evas_free...spankies !!



SVN revision: 50152
2010-07-09 08:14:24 +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