Commit Graph

14 Commits

Author SHA1 Message Date
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
Cedric BAIL 0df8a2e7a8 * edje: move code around.
SVN revision: 50858
2010-08-06 11:07:47 +00:00
Cedric BAIL ec632e5788 * edje: fix edje image generation.
SVN revision: 50832
2010-08-05 10:00:16 +00:00
Cedric BAIL c94ae93096 * edje: split programs type in different stack for later speed improvements.
SVN revision: 50810
2010-08-04 14:25:40 +00:00
Cedric BAIL 74f7480e41 * edje: fix some issue during destruction of edje_part_description,
and move tweens to an array.


SVN revision: 50765
2010-08-03 12:58:31 +00:00
Christopher Michael a7049f1f16 Rename 'same named' macros.
NB - Please use different macro names in the future for stuff like this 
(ie: not the same macro name in each file) as it spits nasty compiler 
warnings when compiling w/ amalgamation.



SVN revision: 50748
2010-08-02 19:06:07 +00:00
Christopher Michael 55d0190185 Don't use the same macro name in each file, gives nasty compiler warnings when
using amalgamation.



SVN revision: 50696
2010-07-31 01:21:30 +00:00
Cedric BAIL e773bc9246 * edje: change memory layout that will become the new file format.
NOTE: I tried this change with all the apps and theme I had, but maybe
	i missed some bug. Please report any strange behaviour.


SVN revision: 50641
2010-07-29 12:02:36 +00:00
Cedric BAIL 9685d5d369 * edje: count each type of description.
SVN revision: 50267
2010-07-15 13:38:07 +00:00
Cedric BAIL b49c2411bd * edje: when gradient meet dodo. Yes, they are gone !
SVN revision: 50223
2010-07-13 15:47:19 +00:00
Iván Briano b895f0c07f Re-convert to old format on Edje_Edit when saving
SVN revision: 50016
2010-07-03 22:50:58 +00:00
Cedric BAIL 4e30cb2411 * edje: move structure from Eina_List to array now that Eet support
them.


SVN revision: 49936
2010-06-29 13:48:03 +00:00
Cedric BAIL 5da985c981 * edje: add an cache for group exist test.
SVN revision: 49928
2010-06-28 17:18:47 +00:00
Cedric BAIL e17a4089df * edje: This is the first commit of a rewrite of edje file
internal representation.

	The objectiv is to simplify code, consume less CPU and memory
	without loosing feature. Please report any breakage when you
	see them. It will take a few weeks before we change the file
	layout, during that time the load time may increase.


SVN revision: 49922
2010-06-28 13:56:30 +00:00