EINA_INLIST_FOREACH_SAFE is very broken and it only works by luck, depending on
the __inlist field being the first one in the struct. Until now.
This commit makes the following snippet to work:
#include <Eina.h>
typedef struct _data {
char *name;
EINA_INLIST;
} data;
int
main()
{
Eina_Inlist *inlist = NULL, *inlist_safe;
data *reg, *d;
reg = malloc(sizeof(data));
inlist = eina_inlist_append(inlist, EINA_INLIST_GET(reg));
EINA_INLIST_FOREACH_SAFE(inlist, inlist_safe, d)
{
printf("%p\n", d);
inlist = eina_inlist_remove(inlist, EINA_INLIST_GET(d));
free(d);
}
return 0;
}
Patch-by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 76150
Closing the file openned in the functions _edje_edit_smart_file_set.
It balances the reference count and avoids the message that the file
is still opened.
Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>
SVN revision: 76149
Parsing the parts and programs of the specified group and generating
the header/source. Usage:
edje_codegen --prefix myapp_myobj input.edj a_group source.c header.h
Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>
SVN revision: 76147
don't try to do these on the framespace clip object. Also, since we
need the evas to get the framespace clip object, just directly use the
framespace values from the canvas, rather than function call to get
those values.
SVN revision: 75989
Subject: [E-devel] [PATCH][RESEND][Evas] WebP image loader
This patch adds a WebP image loader to Evas. No saver,
no animation support for now, just loader. Tested with
the libwebp-0.2.0 only, but should work fine with older
versions.
SVN revision: 75951
This is just an adaptation of expedite-cmp to work nicely with eina bench.
This is useful for comparing benchmarks to spot regressions/improvements.
SVN revision: 75939
Subject: [E-devel] [patch] A function to rotate an evas map with a
quaternion
So this is a patch to rotate an evas map with a quaternion.
You can use this to avoid gimbal lock... for example in the elementary
evas map 3d test, if you put the Rot y angle to 90 then Rot x and Rot
z will do the same rotation...
SVN revision: 75920
eeze/doc/img didn't made it to the dist package because of a missing slash.
Fix this and make the style consistent by removing the lonely $(srcdir).
SVN revision: 75886