2015-01-18 22:04 GMT+01:00 Davide Andreoli <d...@gurumeditation.it>:

> Hey, this broke edje part inheritance...grrr, you broke my media center!
>
> Looking at your next commit seems you fixed for group inheritance,
> probably
> the same need to be made for part inheritance?
>

Come on raster!! :)

this is yet broken and the release is coming, I cannot make real tests
if I have my media center that do not build the edje file.

PLEEASEEEE, give a look at the issue



>
> 2015-01-12 7:53 GMT+01:00 Carsten Haitzler <ras...@rasterman.com>:
>
>> raster pushed a commit to branch master.
>>
>>
>> http://git.enlightenment.org/core/efl.git/commit/?id=0cb33a46758bd1f66653e97d7ad027a9529b1279
>>
>> commit 0cb33a46758bd1f66653e97d7ad027a9529b1279
>> Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
>> Date:   Mon Jan 12 15:54:22 2015 +0900
>>
>>     edje - edje_cc - fix wrong state lists where default is not the first
>>
>>     this fixes T1926
>>     @fix
>> ---
>>  src/bin/edje/edje_cc_handlers.c | 27 ++++++++++++++++++++++++++-
>>  1 file changed, 26 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/bin/edje/edje_cc_handlers.c
>> b/src/bin/edje/edje_cc_handlers.c
>> index aebb953..dfb8ed4 100644
>> --- a/src/bin/edje/edje_cc_handlers.c
>> +++ b/src/bin/edje/edje_cc_handlers.c
>> @@ -6478,12 +6478,37 @@
>> st_collections_group_parts_part_description_state(void)
>>     if (ep->other.desc_count) ed = ep->other.desc[ep->other.desc_count -
>> 1];
>>
>>     s = parse_str(0);
>> -   if (!strcmp (s, "custom"))
>> +   if (!strcmp(s, "default"))
>> +     {
>> +        double v;
>> +
>> +        if (get_arg_count() == 1) v = 0.0;
>> +        else v = parse_float_range(1, 0.0, 1.0);
>> +        if (v == 0.0)
>> +          {
>> +             if (ed != ep->default_desc)
>> +               {
>> +                  ERR("parse error %s:%i. description state '%s' %1.2f
>> is not the first state listed",
>> +                      file_in, line - 1, s, v);
>> +                  exit(-1);
>> +               }
>> +          }
>> +     }
>> +   if (!strcmp(s, "custom"))
>>       {
>>          ERR("parse error %s:%i. invalid state name: '%s'.",
>>              file_in, line - 1, s);
>>          exit(-1);
>>       }
>> +   if (ed == ep->default_desc)
>> +     {
>> +        if (strcmp(s, "default"))
>> +          {
>> +             ERR("parse error %s:%i.  first state is not 'default'",
>> +                 file_in, line - 1);
>> +             exit(-1);
>> +          }
>> +     }
>>
>>     free((void *)ed->state.name);
>>     ed->state.name = s;
>>
>> --
>>
>>
>>
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to