framework/uifw/edje.git
14 years ago * edje: add back anonymous script.
cedric [Tue, 24 Aug 2010 16:39:51 +0000 (16:39 +0000)]
* edje: add back anonymous script.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoLeak--
sachiel [Tue, 24 Aug 2010 14:36:29 +0000 (14:36 +0000)]
Leak--

By Fidencio

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51616 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing return of edje_edit_fonts_list_get
sachiel [Tue, 24 Aug 2010 14:36:07 +0000 (14:36 +0000)]
Fixing return of edje_edit_fonts_list_get
The fuction was returning a private type (as
_Edje_Font_Directory_Entry) and an EAPI should *never*
return and private type.

By Fabiano Fidencio

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51615 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing {font,image}_del's ret when file not exist
sachiel [Tue, 24 Aug 2010 14:35:37 +0000 (14:35 +0000)]
Fixing {font,image}_del's ret when file not exist
When a file not exist, now, we're returning EINA_FALSE.
It's according with eina_hash_del()'s behavior.

By Fabiano Fidencio

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51614 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: add back anonymous program support.
cedric [Tue, 24 Aug 2010 14:17:17 +0000 (14:17 +0000)]
* edje: add back anonymous program support.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51613 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: prevent segv when no param is given to edje_convert.
cedric [Mon, 23 Aug 2010 14:44:04 +0000 (14:44 +0000)]
* edje: prevent segv when no param is given to edje_convert.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51575 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoConvert (hopefully) all comparisons to NULL
lucas [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: document undefined behaviour of edje_object_size_min_restricted_calc.
cedric [Fri, 20 Aug 2010 09:20:48 +0000 (09:20 +0000)]
* edje: document undefined behaviour of edje_object_size_min_restricted_calc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51464 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix fat-finger copy-paste error. (Edje amalgamation would generate an
devilhorns [Thu, 19 Aug 2010 15:03:28 +0000 (15:03 +0000)]
Fix fat-finger copy-paste error. (Edje amalgamation would generate an
eina_amalgamation file).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51399 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd UNUSED where needed.
devilhorns [Thu, 19 Aug 2010 14:57:23 +0000 (14:57 +0000)]
Add UNUSED where needed.
Cleanup some formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51398 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix edje external module to be consistent with the rest of the efl.
cedric [Wed, 18 Aug 2010 16:57:19 +0000 (16:57 +0000)]
* edje: fix edje external module to be consistent with the rest of the efl.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51296 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix more 'may be used uninitialized' & 'unused variable' warnings.
devilhorns [Wed, 18 Aug 2010 16:55:49 +0000 (16:55 +0000)]
Fix more 'may be used uninitialized' & 'unused variable' warnings.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove unused variable.
devilhorns [Wed, 18 Aug 2010 16:51:27 +0000 (16:51 +0000)]
Remove unused variable.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix 'may be used uninitialized' warnings.
devilhorns [Wed, 18 Aug 2010 16:51:10 +0000 (16:51 +0000)]
Fix 'may be used uninitialized' warnings.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51292 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAlso change group name in the Edje smart data
sachiel [Wed, 18 Aug 2010 14:38:27 +0000 (14:38 +0000)]
Also change group name in the Edje smart data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51279 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemoving blank line and white space in gen-ed edc.
glima [Tue, 17 Aug 2010 22:20:37 +0000 (22:20 +0000)]
Removing blank line and white space in gen-ed edc.

By Fidêncio.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51268 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 3/3] If the group is still in use it must not be deleted
glima [Tue, 17 Aug 2010 16:37:53 +0000 (16:37 +0000)]
[PATCH 3/3] If the group is still in use it must not be deleted

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51257 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 2/3] group_del: the object was not being deleted from hash
glima [Tue, 17 Aug 2010 16:37:32 +0000 (16:37 +0000)]
[PATCH 2/3] group_del: the object was not being deleted from hash
In edje_edit_group_del, the object was not being removed from hash table
collection

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51256 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 1/3] checking if the pointer is null in edje_cache.c
glima [Tue, 17 Aug 2010 16:37:01 +0000 (16:37 +0000)]
[PATCH 1/3] checking if the pointer is null in edje_cache.c

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51255 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix edje external module path.
cedric [Tue, 17 Aug 2010 13:29:23 +0000 (13:29 +0000)]
* edje: fix edje external module path.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51251 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: less warnings by Albin Tonnerre.
cedric [Tue, 17 Aug 2010 12:15:04 +0000 (12:15 +0000)]
* edje: less warnings by Albin Tonnerre.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51249 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix exported api by Albin Tonnerre.
cedric [Tue, 17 Aug 2010 12:10:06 +0000 (12:10 +0000)]
* edje: fix exported api by Albin Tonnerre.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51248 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoeina-0 is no more, check for the right package name
lucas [Tue, 17 Aug 2010 03:59:29 +0000 (03:59 +0000)]
eina-0 is no more, check for the right package name

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51235 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agothat was never meant to be there!
raster [Mon, 16 Aug 2010 21:22:42 +0000 (21:22 +0000)]
that was never meant to be there!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje -> knocked off too for 1.0.0 alpha
raster [Mon, 16 Aug 2010 09:08:49 +0000 (09:08 +0000)]
edje -> knocked off too for 1.0.0 alpha

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agochar* -> const char*
discomfitor [Mon, 16 Aug 2010 03:50:27 +0000 (03:50 +0000)]
char* -> const char*

Patch by Fabiano "I'm smoking crack" Fidêncio

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51152 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix up copyings likewise. nicely standardised templateish.
raster [Mon, 16 Aug 2010 03:00:16 +0000 (03:00 +0000)]
fix up copyings likewise. nicely standardised templateish.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51150 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoand add to header too.
raster [Mon, 16 Aug 2010 02:04:46 +0000 (02:04 +0000)]
and add to header too.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoagain - using internal symbols and NOT exporting them! bad!
raster [Mon, 16 Aug 2010 02:04:01 +0000 (02:04 +0000)]
again - using internal symbols and NOT exporting them! bad!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51145 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd back in copyright notice - how did that ever go away?
raster [Sun, 15 Aug 2010 21:53:24 +0000 (21:53 +0000)]
add back in copyright notice - how did that ever go away?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51139 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: remove edje_convert use in edje_cc.
cedric [Sun, 15 Aug 2010 18:14:33 +0000 (18:14 +0000)]
* edje: remove edje_convert use in edje_cc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agore-enable. valgrind happy now. hrrrm.
raster [Sat, 14 Aug 2010 10:28:57 +0000 (10:28 +0000)]
re-enable. valgrind happy now. hrrrm.

/    /
(o)  (o)
   ..

  ~-~\.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51110 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoceeeeeeeeeeeeeeeeedric! :)
raster [Sat, 14 Aug 2010 04:03:33 +0000 (04:03 +0000)]
ceeeeeeeeeeeeeeeeedric! :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoShuting up GCC warnings!
sachiel [Fri, 13 Aug 2010 20:40:27 +0000 (20:40 +0000)]
Shuting up GCC warnings!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51098 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoconstifying (Edje_String)->str
sachiel [Fri, 13 Aug 2010 20:39:43 +0000 (20:39 +0000)]
constifying (Edje_String)->str

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51097 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUsing edje_string_get in group's gen code
sachiel [Fri, 13 Aug 2010 20:38:57 +0000 (20:38 +0000)]
Using edje_string_get in group's gen code

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51096 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse right key to find stuff in the eet file. By Fidencio
sachiel [Fri, 13 Aug 2010 20:07:12 +0000 (20:07 +0000)]
Use right key to find stuff in the eet file. By Fidencio
Store filename for the fonts when adding eith Edje_Edit. By Fidencio
Use the hash in edje_file to dump fonts with edje_decc, avoiding the
need for the fontmap, which should probably be taken out entirely later.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51095 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: don't display build edje_convert with svn status.
cedric [Fri, 13 Aug 2010 16:37:27 +0000 (16:37 +0000)]
    * edje: don't display build edje_convert with svn status.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51088 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: finally fix all this eet mess.
cedric [Fri, 13 Aug 2010 16:35:45 +0000 (16:35 +0000)]
* edje: finally fix all this eet mess.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51087 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: last fix due to edje eet breakage.
cedric [Fri, 13 Aug 2010 16:21:38 +0000 (16:21 +0000)]
* edje: last fix due to edje eet breakage.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51086 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix eet change.
cedric [Fri, 13 Aug 2010 16:06:50 +0000 (16:06 +0000)]
* edje: fix eet change.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51085 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix eet api break.
cedric [Fri, 13 Aug 2010 15:24:45 +0000 (15:24 +0000)]
* edje: fix eet api break.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51081 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocompiler wrong! fix!
raster [Fri, 13 Aug 2010 10:04:37 +0000 (10:04 +0000)]
compiler wrong! fix!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51068 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing Macro
tiago [Thu, 12 Aug 2010 18:24:48 +0000 (18:24 +0000)]
Fixing Macro

Author:    Thiago Ribeiro Masaki <masaki at profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51055 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix usage of data_set/get/etc in Edje_Edit
sachiel [Thu, 12 Aug 2010 17:49:28 +0000 (17:49 +0000)]
Fix usage of data_set/get/etc in Edje_Edit

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: only link edje_convert with eina and eet.
cedric [Thu, 12 Aug 2010 16:32:12 +0000 (16:32 +0000)]
* edje: only link edje_convert with eina and eet.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51051 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix segv when converting old theme with gradient.
cedric [Thu, 12 Aug 2010 15:29:00 +0000 (15:29 +0000)]
* edje: fix segv when converting old theme with gradient.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51049 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix memory leak.
cedric [Thu, 12 Aug 2010 15:05:56 +0000 (15:05 +0000)]
* edje: fix memory leak.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51046 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix some memleak issue.
cedric [Thu, 12 Aug 2010 12:58:54 +0000 (12:58 +0000)]
* edje: fix some memleak issue.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51033 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: move code around.
cedric [Wed, 11 Aug 2010 18:29:41 +0000 (18:29 +0000)]
    * edje: move code around.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51016 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoChanging return type of state_{add,del}. By Fidencio
tiago [Wed, 11 Aug 2010 16:23:50 +0000 (16:23 +0000)]
Changing return type of state_{add,del}. By Fidencio

Now, returning Eina_Bool instead of void, makes more sense.

Author:    Fabiano Fidencio <fidencio at profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51005 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoLittle improvements in gen code. By Fidencio
tiago [Wed, 11 Aug 2010 16:23:48 +0000 (16:23 +0000)]
Little improvements in gen code. By Fidencio

Avoiding that "normal" field of image and "font" field of text can be wrote as
NULL by edc generate.
Moreover, avoiding that defaults values are wrote with the default edc values.
ie:
    - transition: LINEAR 0.00 (in a program)
    - size: 0 (in a text)

Author:    Fabiano Fidencio <fidencio at profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51004 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUpdating fnt collection to according with new edje. By Fidencio
tiago [Wed, 11 Aug 2010 16:23:45 +0000 (16:23 +0000)]
Updating fnt collection to according with new edje. By Fidencio

Author:    Fabiano Fidencio <fidencio at profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51003 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUpdating img collection to according with new edje. By Fidencio.
tiago [Wed, 11 Aug 2010 16:23:43 +0000 (16:23 +0000)]
Updating img collection to according with new edje. By Fidencio.

Author:    Fabiano Fidencio <fidencio at profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51002 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing bad indentation in glima's commit. By Fidencio
tiago [Wed, 11 Aug 2010 16:23:40 +0000 (16:23 +0000)]
Fixing bad indentation in glima's commit. By Fidencio

Author:    Fabiano Fidencio <fidencio at profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51001 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoNo need for path in font_directory, and use the right key to store/find them
sachiel [Wed, 11 Aug 2010 14:24:03 +0000 (14:24 +0000)]
No need for path in font_directory, and use the right key to store/find them

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50999 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCode generation for data block
tiago [Wed, 11 Aug 2010 12:51:41 +0000 (12:51 +0000)]
Code generation for data block

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50995 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCode generation for collections and parts
tiago [Wed, 11 Aug 2010 12:51:39 +0000 (12:51 +0000)]
Code generation for collections and parts

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50994 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix list of part types
tiago [Wed, 11 Aug 2010 12:51:36 +0000 (12:51 +0000)]
Fix list of part types

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50993 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje: Fixed going to the start of the line.
tasn [Wed, 11 Aug 2010 09:40:21 +0000 (09:40 +0000)]
Edje: Fixed going to the start of the line.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50989 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoProperly store data values when changing them
sachiel [Tue, 10 Aug 2010 21:54:50 +0000 (21:54 +0000)]
Properly store data values when changing them

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50976 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdding checkers to data and font lists get
tiago [Tue, 10 Aug 2010 14:25:10 +0000 (14:25 +0000)]
Adding checkers to data and font lists get

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50964 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje: Fixed edje_object_part_text_cursor_content_get to handle non-english.
tasn [Tue, 10 Aug 2010 07:16:45 +0000 (07:16 +0000)]
Edje: Fixed edje_object_part_text_cursor_content_get to handle non-english.
Thanks to Brian Wang for reporting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50953 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCheck part types before casting descriptions
sachiel [Mon, 9 Aug 2010 23:09:24 +0000 (23:09 +0000)]
Check part types before casting descriptions

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50949 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoBad malloc here.
glima [Mon, 9 Aug 2010 22:28:53 +0000 (22:28 +0000)]
Bad malloc here.

By Helen Mae.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix eapi declaration.
cedric [Mon, 9 Aug 2010 22:21:36 +0000 (22:21 +0000)]
* edje: fix eapi declaration.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50946 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobork cedric.. bork. accessing internal symbols/apis without exposing
raster [Mon, 9 Aug 2010 22:01:08 +0000 (22:01 +0000)]
bork cedric.. bork. accessing internal symbols/apis without exposing
them! you should check over this and probably provide a correct/formal
way to access them. for now EAPI quickly in.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50945 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: use mempool for Edje_Part and Edje_Part_Description_*.
cedric [Mon, 9 Aug 2010 21:08:08 +0000 (21:08 +0000)]
* edje: use mempool for Edje_Part and Edje_Part_Description_*.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50944 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix version detection.
cedric [Mon, 9 Aug 2010 18:31:25 +0000 (18:31 +0000)]
* edje: fix version detection.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50940 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: add some error detection.
cedric [Mon, 9 Aug 2010 18:22:48 +0000 (18:22 +0000)]
* edje: add some error detection.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50939 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: oops forgotten file.
cedric [Mon, 9 Aug 2010 18:00:02 +0000 (18:00 +0000)]
* edje: oops forgotten file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: new file format.
cedric [Mon, 9 Aug 2010 17:34:03 +0000 (17:34 +0000)]
* edje: new file format.

WARNING ! WARNING ! WARNING ! WARNING !
Old file format is not readable by edje directly. If you have old edje
file that you want to convert, use edje_convert. Their is no way back.

Recompile your file as soon as possible. Please report any issue you
spot as this is a huge and needed change.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50936 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje: Updated edje to conform with recent textblock changes.
tasn [Mon, 9 Aug 2010 16:25:45 +0000 (16:25 +0000)]
edje: Updated edje to conform with recent textblock changes.
'Return' now inserts a Paragraph Separator.
'Shift + Return' now inserts a New Line.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50931 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSafeguarding alloc-ed region againt trash.
glima [Fri, 6 Aug 2010 22:03:32 +0000 (22:03 +0000)]
Safeguarding alloc-ed region againt trash.

This fixes external parts' state copies.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50875 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoBad free() at state_copy().
glima [Fri, 6 Aug 2010 21:21:16 +0000 (21:21 +0000)]
Bad free() at state_copy().

By Fidêncio.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMore on fixing state copies at edje edit: do not overwrite state's name and value.
glima [Fri, 6 Aug 2010 21:18:58 +0000 (21:18 +0000)]
More on fixing state copies at edje edit: do not overwrite state's name and value.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50873 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSwitch case usage.
glima [Fri, 6 Aug 2010 21:16:57 +0000 (21:16 +0000)]
Switch case usage.

By Fidêncio.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50872 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMacro undef-ing.
glima [Fri, 6 Aug 2010 21:15:29 +0000 (21:15 +0000)]
Macro undef-ing.

Patch by Fidêncio.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50871 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje: a signal can be sent in a item of a table.
watchwolf [Fri, 6 Aug 2010 19:52:07 +0000 (19:52 +0000)]
Edje: a signal can be sent in a item of a table.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50870 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix part deletion in edje_edit with new edje data
tiago [Fri, 6 Aug 2010 19:16:46 +0000 (19:16 +0000)]
Fix part deletion in edje_edit with new edje data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50869 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDecrement description counters in edje_collection_free_part_description_free
tiago [Fri, 6 Aug 2010 19:16:43 +0000 (19:16 +0000)]
Decrement description counters in edje_collection_free_part_description_free

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50868 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: move code around.
cedric [Fri, 6 Aug 2010 11:07:47 +0000 (11:07 +0000)]
* edje: move code around.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50858 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: typo.
cedric [Fri, 6 Aug 2010 08:59:51 +0000 (08:59 +0000)]
* edje: typo.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50857 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoOopsies at program code @ edje_edit.
glima [Thu, 5 Aug 2010 22:08:55 +0000 (22:08 +0000)]
Oopsies at program code @ edje_edit.

Patch by Thiago Masaki.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50845 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix edje image generation.
cedric [Thu, 5 Aug 2010 10:00:16 +0000 (10:00 +0000)]
* edje: fix edje image generation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50832 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFORMATTING
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
FORMATTING

* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50816 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: split programs type in different stack for later speed improvements.
cedric [Wed, 4 Aug 2010 14:25:40 +0000 (14:25 +0000)]
    * edje: split programs type in different stack for later speed improvements.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50810 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing typo.
glima [Tue, 3 Aug 2010 22:22:31 +0000 (22:22 +0000)]
Fixing typo.

Patch by Fidêncio.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50791 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing bad realloc usage.
glima [Tue, 3 Aug 2010 22:15:02 +0000 (22:15 +0000)]
Fixing bad realloc usage.

By Fabiano Fidêncio.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50790 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoWrong return value here.
glima [Tue, 3 Aug 2010 18:36:42 +0000 (18:36 +0000)]
Wrong return value here.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50778 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFixing wrong memory allocations.
glima [Tue, 3 Aug 2010 16:45:37 +0000 (16:45 +0000)]
Fixing wrong memory allocations.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50769 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCall only once the eina_list_last(_edje_file_cache)
tiago [Tue, 3 Aug 2010 14:27:47 +0000 (14:27 +0000)]
Call only once the eina_list_last(_edje_file_cache)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50768 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix some issue during destruction of edje_part_description,
cedric [Tue, 3 Aug 2010 12:58:31 +0000 (12:58 +0000)]
* edje: fix some issue during destruction of edje_part_description,
and move tweens to an array.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50765 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agolet's stop smoking crack while coding :-P
barbieri [Mon, 2 Aug 2010 23:35:30 +0000 (23:35 +0000)]
let's stop smoking crack while coding :-P

dudes, WTF is that look to check for numbers, then use atoi()??? Use
strtol() and let it do both in one pass. Also, just do these for part
types that make sense. The loop using child could result in unused
variables in lots of cases, returning the wrong value when not found.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50757 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRename 'same named' macros.
devilhorns [Mon, 2 Aug 2010 19:06:07 +0000 (19:06 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix counting.
cedric [Mon, 2 Aug 2010 12:41:28 +0000 (12:41 +0000)]
* edje: fix counting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje: now we can refer to the content of a external type
watchwolf [Sun, 1 Aug 2010 17:27:31 +0000 (17:27 +0000)]
Edje: now we can refer to the content of a external type

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50730 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoverify that fopen succeeded
discomfitor [Sat, 31 Jul 2010 05:24:47 +0000 (05:24 +0000)]
verify that fopen succeeded

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50709 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agonew can of grandma's LEEK B GON
discomfitor [Sat, 31 Jul 2010 05:17:56 +0000 (05:17 +0000)]
new can of grandma's LEEK B GON

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50707 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoconst
discomfitor [Sat, 31 Jul 2010 05:10:44 +0000 (05:10 +0000)]
const

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50706 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33