ecore_x_randr to not work for pretty much everyone. Short version,
don't memcpy something potentially Larger into something Certainly
smaller. (read on for the details).
NB: This 'should' fix all the randr problems in ecore_x (tho I have
not tested Everything).
NB: Ok, here goes:
XRRGetScreenResources returns a struct. Inside that struct is a
list of RROutputs.
RROutput is defined as (from randrproto.h):
#define RROutput CARD32
CARD32 is defined as (from X11/Xmd.h):
# ifdef LONG64
typedef unsigned long CARD64;
typedef unsigned int CARD32;
# else
typedef unsigned long CARD32;
# endif
so CARD32 can change based on the system (32/64 bit).
Ecore_X_Randr_Output is defined as (Ecore_X.h):
typedef Ecore_X_ID Ecore_X_Randr_Output;
(for reference: typedef unsigned int Ecore_X_ID)
Double bonus points if you have already spotted the problem !! ;)
SVN revision: 76306
http://trac.enlightenment.org/e/ticket/1432
Add Korean translation for the ecore
I've added Korean translation for the ecore into trunk.
please make sure that there is something problem or not, again. thank you
SVN revision: 76264
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
Otherwise it can lead to scenarios when a body 1, below body 2 is deleted
and body 2 will stay freezed in the air. Gravity won't start to
act over it until it's activated again.
SVN revision: 76155
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