Dear Cedric Thanks for your review. ^^
> In fact, you change to much thing that shouldn't in your patch. As an > example you are modifying > st_collections_group_parts_part_repeat_events when it's not related at > all to the current patch. Please only change the function that should. Indeed, It is necessary in order to change the part I want. In st_cellection_group_inherit, it copy all property of the group. And if I wirte the specific part or description in child group, its property is overwritten. To overwrite, the pointer of current part or current description is necessary and the properties is written in the current point. So I needed chage the code like below. static void st_collections_group_parts_part_repeat_events(void) { Edje_Part_Collection *pc; Edje_Part *ep; check_arg_count(1); pc = eina_list_data_get(eina_list_last(edje_collections)); ep = current_part; ep->repeat_events = parse_bool(0); } But I think the below code is more simple. static void st_collections_group_parts_part_repeat_events(void) { check_arg_count(1); current_part->repeat_events = parse_bool(0); } All function have to change like this in order to change the property. > 7. Do not increase the size of runtime structure, especially Edje_Part > and also Edje_program as much as possible. The reorder is maybe doable > when you find the keyword, that would avoid completly the reorder > structure inside Edje_Part. If I increase the size of runtime structure, previously built edj files may have a problem. You concerned about it, right? I didn't think about that. then how can I change the code? Do you have any idea? I saw the code you change in 62086. Should I change like that? > 8. Right now, your implementation is a bit like virtual in C++, the > group that inherit can change any part the way it want. Maybe, their > is two other cases that should be considered : > - program and part could be locked and impossible to change at all, > throwing a warning if the group try to change the content of this > items. > - pure virtual part/program, that would prevent the compilation of > a group if they are not implemented (like virtual = 0 in C++). I think there is not locked or virtual part in current edc. Is there anything I don't know? Or you just mean the C++ concept? I don't know C++ in detail. If I have to change, please give a explanations to me. >> Future work >> >> 1. Delete - The part, description, program can be deleted. > I don't know if this is really usefull as all the object model I know > don't provide this kinde of feature. Do you have a use case for that ? > Or maybe you know a language that provide this kind of feature, so I > could read about it. In our theme, genlist has a lot of style. Specific part can belong to some group or not. Let's assume I make new genlist style. I want to inherit a group and change some property and delete one part. If deletion is not supported, I cannot inherit a group. Let's think about this. ^^ >> 2. Inherit from other edc file (is it possible?) > Hum, I would say that we don't want that. You don't know what an edc > could be. It could be just a macro, or many group, or just one part. I > don't think it would be doable. I think this feature would be doable but could make some problem like dependency problem. I'll think more about this feature. > Thanks for your patch and continue this good and usefull work, Thanks for your advice. I'll do it continuously. Please give a hint to me~^^ Jaehwan Kim. ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel