Thsi will also fail if the symbol is there but the init function just fails
to deliver EINA_TRUE. After to much digging and wondering why dlsymb and
dlopen don't behave Daniel was able to point out to me that this warning also
gets shown if init fails.
Adjust the warning message to avoid others spending to much time on this as well.
SVN revision: 76409
What a misleading doc we had in these macros!! Improve it:
* Rename the parameter from "l" to "it", since it's not an Eina_Inlist that we
are expecting, but rather its container.
* Better explain each parameter... "second list" is not so good to document
"list2" param
* Add doc where it was missing
Finally, add Changelog for the fix in EINA_INLIST_FOREACH_SAFE
SVN revision: 76156
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
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
Eina model was forgotten since it's been disabled, there's also a
remaining doc reference to the old eina_inarray_setup() function;
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 75686
Certain types of variadic functions use NULL as the last argument instead of a
string format (printf-like). Functions like these are: execl and execlp.
We are in feature freeze, but I believe this is small and simple enough to slip
in with no headaches. These functions are being used in the new edbus library
and it would be good to have it supported in eina now.
SVN revision: 75271
changed the win32 color parse to be malloc-less and also support more
colors. It should be more correct, but I have no windows machine to
test.
SVN revision: 74742
Let say you pass a log level 4 for a domain on env var.
So if you, for some reason, register a domain, unregister it, and register
it again, the log level will be set as 1 instead of 4.
And you'll miss info and debug msgs...
Now only remove this information when cleaning pending list,
on eina_log_shutdown().
SVN revision: 73380