Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, 15 Dec 2012 17:49:14 +1000 David Seikel onef...@gmail.com wrote: On Wed, 12 Dec 2012 06:07:28 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: use Evas to compute Ellipsis. Patch with help from Tom Hacohen. Author: cedric Date: 2012-12-12 06:07:28 -0800 (Wed, 12 Dec 2012) New Revision: 80764 Trac: http://trac.enlightenment.org/e/changeset/80764 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_text.c I think you needed to do this to trunk/efl as well. Er wait, edje is not in efl yet. Something is wrong though, I'm getting this today - CCLD edje_external_inspector ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_decc] Error 1 make[4]: *** Waiting for unfinished jobs ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_cc] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_player] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_inspector] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_external_inspector] Error 1 make[4]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje' make: *** [all] Error 2 - when compiling with the efl merged tree. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel When did you last update your efl merged tree build? I was getting that error yesterday when I tried to update edje without updated efl. Doug -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, 15 Dec 2012 02:09:23 -0600 Doug Newgard scimmi...@outlook.com wrote: On Sat, 15 Dec 2012 17:49:14 +1000 David Seikel onef...@gmail.com wrote: On Wed, 12 Dec 2012 06:07:28 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: use Evas to compute Ellipsis. Patch with help from Tom Hacohen. Author: cedric Date: 2012-12-12 06:07:28 -0800 (Wed, 12 Dec 2012) New Revision: 80764 Trac: http://trac.enlightenment.org/e/changeset/80764 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_text.c I think you needed to do this to trunk/efl as well. Er wait, edje is not in efl yet. Something is wrong though, I'm getting this today - CCLD edje_external_inspector ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_decc] Error 1 make[4]: *** Waiting for unfinished jobs ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_cc] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_player] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_inspector] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_external_inspector] Error 1 make[4]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje' make: *** [all] Error 2 - when compiling with the efl merged tree. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel When did you last update your efl merged tree build? I was getting that error yesterday when I tried to update edje without updated efl. Note the I'm getting this today part of my post, I'm trying to update it all at once, which is what I always do. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, 15 Dec 2012 18:19:37 +1000 David Seikel onef...@gmail.com wrote: On Sat, 15 Dec 2012 02:09:23 -0600 Doug Newgard scimmi...@outlook.com wrote: On Sat, 15 Dec 2012 17:49:14 +1000 David Seikel onef...@gmail.com wrote: On Wed, 12 Dec 2012 06:07:28 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: use Evas to compute Ellipsis. Patch with help from Tom Hacohen. Author: cedric Date: 2012-12-12 06:07:28 -0800 (Wed, 12 Dec 2012) New Revision: 80764 Trac: http://trac.enlightenment.org/e/changeset/80764 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_text.c I think you needed to do this to trunk/efl as well. Er wait, edje is not in efl yet. Something is wrong though, I'm getting this today - CCLD edje_external_inspector ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_decc] Error 1 make[4]: *** Waiting for unfinished jobs ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_cc] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_player] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_inspector] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_external_inspector] Error 1 make[4]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje' make: *** [all] Error 2 - when compiling with the efl merged tree. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel When did you last update your efl merged tree build? I was getting that error yesterday when I tried to update edje without updated efl. Note the I'm getting this today part of my post, I'm trying to update it all at once, which is what I always do. Ah, the problem seems to be elsewhere. I'm still poking at it, but you can probably ignore this. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, 15 Dec 2012 18:30:37 +1000 David Seikel onef...@gmail.com wrote: On Sat, 15 Dec 2012 18:19:37 +1000 David Seikel onef...@gmail.com wrote: On Sat, 15 Dec 2012 02:09:23 -0600 Doug Newgard scimmi...@outlook.com wrote: On Sat, 15 Dec 2012 17:49:14 +1000 David Seikel onef...@gmail.com wrote: On Wed, 12 Dec 2012 06:07:28 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: use Evas to compute Ellipsis. Patch with help from Tom Hacohen. Author: cedric Date: 2012-12-12 06:07:28 -0800 (Wed, 12 Dec 2012) New Revision: 80764 Trac: http://trac.enlightenment.org/e/changeset/80764 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_text.c I think you needed to do this to trunk/efl as well. Er wait, edje is not in efl yet. Something is wrong though, I'm getting this today - CCLD edje_external_inspector ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_decc] Error 1 make[4]: *** Waiting for unfinished jobs ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_cc] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_player] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_inspector] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_external_inspector] Error 1 make[4]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje' make: *** [all] Error 2 - when compiling with the efl merged tree. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel When did you last update your efl merged tree build? I was getting that error yesterday when I tried to update edje without updated efl. Note the I'm getting this today part of my post, I'm trying to update it all at once, which is what I always do. Ah, the problem seems to be elsewhere. I'm still poking at it, but you can probably ignore this. Yep, ignore this. All good now. Nothing to see here. Move along. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Wed, 12 Dec 2012 06:07:28 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: use Evas to compute Ellipsis. Patch with help from Tom Hacohen. Author: cedric Date: 2012-12-12 06:07:28 -0800 (Wed, 12 Dec 2012) New Revision: 80764 Trac: http://trac.enlightenment.org/e/changeset/80764 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_text.c I think you needed to do this to trunk/efl as well. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, 15 Dec 2012 17:49:14 +1000 David Seikel onef...@gmail.com wrote: On Wed, 12 Dec 2012 06:07:28 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: use Evas to compute Ellipsis. Patch with help from Tom Hacohen. Author: cedric Date: 2012-12-12 06:07:28 -0800 (Wed, 12 Dec 2012) New Revision: 80764 Trac: http://trac.enlightenment.org/e/changeset/80764 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_text.c I think you needed to do this to trunk/efl as well. Er wait, edje is not in efl yet. Something is wrong though, I'm getting this today - CCLD edje_external_inspector ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_decc] Error 1 make[4]: *** Waiting for unfinished jobs ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_cc] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_player] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_inspector] Error 1 ../../src/lib/.libs/libedje.so: undefined reference to `evas_obj_text_ellipsis_set' collect2: ld returned 1 exit status make[4]: *** [edje_external_inspector] Error 1 make[4]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dvs1/e17_svn/SVN/trunk/edje' make: *** [all] Error 2 - when compiling with the efl merged tree. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
Consider using inarray, may be doable here. On Wednesday, September 12, 2012, Enlightenment SVN wrote: Log: edje: reduce memory used per callback. Author: cedric Date: 2012-09-12 04:16:57 -0700 (Wed, 12 Sep 2012) New Revision: 76517 Trac: http://trac.enlightenment.org/e/changeset/76517 Modified: trunk/edje/ChangeLog trunk/edje/NEWS trunk/edje/src/lib/edje_match.c trunk/edje/src/lib/edje_private.h trunk/edje/src/lib/edje_program.c Modified: trunk/edje/ChangeLog === --- trunk/edje/ChangeLog2012-09-12 10:37:29 UTC (rev 76516) +++ trunk/edje/ChangeLog2012-09-12 11:16:57 UTC (rev 76517) @@ -615,6 +615,11 @@ 2012-09-11 Carsten Haitzler (The Rasterman) -* Improve memory footrpint by cutting core edje real part +* Improve memory footprint by cutting core edje real part struct down by less than half its size and making some parts allocated extra only if the type needs it. + +2012-09-12 Cedric Bail + + * Small improvement in memory footprint by using an array instead of a list for + some callback list. Modified: trunk/edje/NEWS === --- trunk/edje/NEWS 2012-09-12 10:37:29 UTC (rev 76516) +++ trunk/edje/NEWS 2012-09-12 11:16:57 UTC (rev 76517) @@ -16,6 +16,7 @@ * O(1) lookup when generating alias of group. * O(1) access time for parameters in edje_cc_handler. * Recycle and use less memory during load time. +* Less memory used per callbacks. Fixes: Modified: trunk/edje/src/lib/edje_match.c === --- trunk/edje/src/lib/edje_match.c 2012-09-12 10:37:29 UTC (rev 76516) +++ trunk/edje/src/lib/edje_match.c 2012-09-12 11:16:57 UTC (rev 76517) @@ -750,13 +750,13 @@ item-signal = programs[i]-signal; item-source = programs[i]-source; - item-list = NULL; + eina_array_step_set(item-list, sizeof (Eina_Array), 8); new = eina_rbtree_inline_insert(new, EINA_RBTREE_GET(item), EINA_RBTREE_CMP_NODE_CB(_edje_signal_source_node_cmp), NULL); } -item-list = eina_list_prepend(item-list, programs[i]); +eina_array_push(item-list, programs[i]); } else result = eina_list_prepend(result, programs[i]); @@ -791,13 +791,13 @@ item-signal = callback-signal; item-source = callback-source; - item-list = NULL; + eina_array_step_set(item-list, sizeof (Eina_Array), 8); new = eina_rbtree_inline_insert(new, EINA_RBTREE_GET(item), EINA_RBTREE_CMP_NODE_CB(_edje_signal_source_node_cmp), NULL); } -item-list = eina_list_prepend(item-list, callback); +eina_array_push(item-list, callback); } else result = eina_list_prepend(result, callback); @@ -807,7 +807,7 @@ return result; } -const Eina_List * +const Eina_Array * edje_match_signal_source_hash_get(const char *sig, const char *source, const Eina_Rbtree *tree) @@ -817,13 +817,13 @@ lookup = (Edje_Signal_Source_Char*) eina_rbtree_inline_lookup(tree, sig, 0, EINA_RBTREE_CMP_KEY_CB(_edje_signal_source_key_cmp), source); - if (lookup) return lookup-list; + if (lookup) return lookup-list; return NULL; } void edje_match_signal_source_free(Edje_Signal_Source_Char *key, __UNUSED__ void *data) { - eina_list_free(key-list); + eina_array_flush(key-list); free(key); } Modified: trunk/edje/src/lib/edje_private.h === --- trunk/edje/src/lib/edje_private.h 2012-09-12 10:37:29 UTC (rev 76516) +++ trunk/edje/src/lib/edje_private.h 2012-09-12 11:16:57 UTC (rev 76517) @@ -1083,7 +1083,7 @@ const char *signal; const char *source; - Eina_List *list; + Eina_Array list; }; struct _Edje_Signals_Sources_Patterns @@ -1672,9 +1672,9 @@ Eina_Rbtree **tree); Eina_List *edje_match_callback_hash_build(const Eina_List *callbacks, Eina_Rbtree **tree); -const Eina_List *edje_match_signal_source_hash_get(const char *signal, - const char *source, - const Eina_Rbtree *tree); +const Eina_Array *edje_match_signal_source_hash_get(const char *signal, + const char *source, + const Eina_Rbtree *tree); void
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Tue, May 15, 2012 at 1:35 AM, Gustavo Lima Chaves gl...@profusion.mobi wrote: * Enlightenment SVN no-re...@enlightenment.org [2012-05-09 22:37:38 -0700]: Log: edje: preserve user box and table items during call of edje_object_file_set. NOTE: now you can change theme dynamically in elementary apps more reliably. This doesn't handle the case where the swallow was done in a parent object and the reswallow should happen in a another group. I don't how to fix that use case. don't see yet how to handle that Really nice that you've done that :) I don't think that's the cited case above, so here's a bug: try elm layout 2 test and go back and forth bw and detorious-elm -- the table section is not maintained as the box one. Yep, I know that test ! I have been looking at fixing all of this issue due to my change to edje. Try edje_watch on elementary theme, change the edc, see it recompile the edj (slowly) and then reload it automatically in elementary_test. Then a few things are reset or lost when they shouldn't. That what I am trying to fix at the moment. So yes, this table layout is on my todo list to. And it's a weird one ! -- Cedric BAIL -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Tue, 31 May 2011 09:51:48 -0700 Enlightenment SVN no-re...@enlightenment.org said: cedric: just reverted this in svn. causes font classs bug. segv in e17. :) Log: edje: improve speed when deleting text member class. Author: cedric Date: 2011-05-31 09:51:48 -0700 (Tue, 31 May 2011) New Revision: 59850 Trac: http://trac.enlightenment.org/e/changeset/59850 Modified: trunk/edje/ChangeLog trunk/edje/src/lib/edje_main.c trunk/edje/src/lib/edje_private.h trunk/edje/src/lib/edje_util.c Modified: trunk/edje/ChangeLog === --- trunk/edje/ChangeLog 2011-05-31 16:43:40 UTC (rev 59849) +++ trunk/edje/ChangeLog 2011-05-31 16:51:48 UTC (rev 59850) @@ -110,3 +110,7 @@ evas freeze and thaw calls. May help in certain pathological situations. +2011-05-27 Cedric Bail + + * Improve performance by avoiding walking eina_list for nothing + when deleting member_class. Modified: trunk/edje/src/lib/edje_main.c === --- trunk/edje/src/lib/edje_main.c2011-05-31 16:43:40 UTC (rev 59849) +++ trunk/edje/src/lib/edje_main.c2011-05-31 16:51:48 UTC (rev 59850) @@ -221,6 +221,8 @@ eina_stringshare_del(cb-part); free(cb); } + + eina_hash_free(ed-members); free(ed); } Modified: trunk/edje/src/lib/edje_private.h === --- trunk/edje/src/lib/edje_private.h 2011-05-31 16:43:40 UTC (rev 59849) +++ trunk/edje/src/lib/edje_private.h 2011-05-31 16:51:48 UTC (rev 59850) @@ -1004,6 +1004,8 @@ int table_programs_size; unsigned int table_parts_size; + Eina_Hash*members; + Edje_Perspective *persp; struct { Modified: trunk/edje/src/lib/edje_util.c === --- trunk/edje/src/lib/edje_util.c2011-05-31 16:43:40 UTC (rev 59849) +++ trunk/edje/src/lib/edje_util.c2011-05-31 16:51:48 UTC (rev 59850) @@ -3674,33 +3674,38 @@ /* Get members list */ members = eina_hash_find(_edje_text_class_member_hash, text_class); - /* Remove members list */ - if (members) - eina_hash_del(_edje_text_class_member_hash, text_class, members); - /* Update the member list */ members = eina_list_prepend(members, ed); - /* Add the member list back */ + /* Don't loose track of members list */ + if (!ed-members) + ed-members = eina_hash_string_small_new(NULL); + eina_hash_set(ed-members, text_class, members); + + /* Reset the member list to the right pointer */ if (!_edje_text_class_member_hash) _edje_text_class_member_hash = eina_hash_string_superfast_new(NULL); - eina_hash_add(_edje_text_class_member_hash, text_class, members); + eina_hash_set(_edje_text_class_member_hash, text_class, members); } void _edje_text_class_member_del(Edje *ed, const char *text_class) { Eina_List *members; + Eina_List *lookup; if ((!ed) || (!text_class)) return; members = eina_hash_find(_edje_text_class_member_hash, text_class); if (!members) return; - eina_hash_del(_edje_text_class_member_hash, text_class, members); + lookup = eina_hash_find(ed-members, text_class); - members = eina_list_remove(members, ed); - if (members) - eina_hash_add(_edje_text_class_member_hash, text_class, members); + if (!lookup) return ; + + eina_hash_del(ed-members, text_class, lookup); + members = eina_list_remove_list(members, lookup); + + eina_hash_set(_edje_text_class_member_hash, text_class, members); } void -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ enlightenment-devel mailing list
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sun, Aug 16, 2009 at 4:21 AM, Carsten Haitzlerras...@rasterman.com wrote: On Sat, 15 Aug 2009 10:37:22 -0400 William Keaney kean...@gmail.com said: Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. I am seeing the problem in both E17 itself (screenshot at http://omploader.org/vMjU3aQ) and in Entrance, both of which use Edje. I did try the latest SVN with --disable-edje-calc, and that restored functionality. strange as i see no problems at all :( odd why you and no one else? I can't reproduce it either. Could you send me your config, so I can see what's going wrong (~/.e/) ? And what is your locale (LANG) ? -- Cedric BAIL -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Monday 17 August 2009 05:54:10 you wrote: On Sun, Aug 16, 2009 at 4:21 AM, Carsten Haitzlerras...@rasterman.com wrote: On Sat, 15 Aug 2009 10:37:22 -0400 William Keaney kean...@gmail.com said: Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. I am seeing the problem in both E17 itself (screenshot at http://omploader.org/vMjU3aQ) and in Entrance, both of which use Edje. I did try the latest SVN with --disable-edje-calc, and that restored functionality. strange as i see no problems at all :( odd why you and no one else? I can't reproduce it either. Could you send me your config, so I can see what's going wrong (~/.e/) ? And what is your locale (LANG) ? I've attached a tarball of my ~/.e/. I'm pretty sure the list will strip it, so I'm including you on the CC. My LANG is set to en_US.UTF-8. Will signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? -- Cedric BAIL -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
William Keaney wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Any one else ?? If this is the norm, than NO !!! Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Bad, Bad, Bad dh --Will Keaney -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
Well, IMO, ewl etk are all but dead...worry about eml E dh Cedric BAIL wrote: On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
Christopher Michael wrote: Well, IMO, ewl etk are all but dead...worry about eml E He should worry about edje, if there is a serious bug it has to be fixed. No matter if the bug is triggered by E, entrance or EWL. Peter P.S. Ewl is not dead :) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Mon, 10 Aug 2009 18:35:36 +0200 Cedric BAIL cedric.b...@free.fr said: On Mon, Aug 10, 2009 at 5:27 PM, Gustavo Sverzut Barbieribarbi...@profusion.mobi wrote: On Mon, Aug 10, 2009 at 12:16 PM, Enlightenment SVNno-re...@enlightenment.org wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. well, probably machines with lots of CPU power have lots of memory as well, and wasting less CPU means more time to render stuff, like animations can go smoother... that and also to get more testing, I'd say let's make this on by default, at least until next snapshot. I will work on reducing Edje_Real_Part size today. I have many idea to fix this. When it is done, I will make this option on by default. Sounds like the best approach for now. casting and multiple structs imho (and then u can have multiple mempools). one thing to be careful - the more mempools we have the more we will waste memory in fragmented mempools. need to be wary. :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Fri, 14 Aug 2009 21:37:40 -0400 William Keaney kean...@gmail.com said: hmm i havent seen any breaks here. On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. --Will Keaney -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Saturday, August 15, 2009, Christopher Michael cpmicha...@comcast.net wrote: Well, IMO, ewl etk are all but dead...worry about eml E I care about this toolkit as they are heavy valid user of edje with sample code to test. Cedric BAIL wrote: On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? -- Cedric BAIL -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Saturday 15 August 2009 02:14:06 Cedric BAIL wrote: On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. I am seeing the problem in both E17 itself (screenshot at http://omploader.org/vMjU3aQ) and in Entrance, both of which use Edje. I did try the latest SVN with --disable-edje-calc, and that restored functionality. --Will Keaney signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Saturday, August 15, 2009, William Keaney kean...@gmail.com wrote: On Saturday 15 August 2009 02:14:06 Cedric BAIL wrote: On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. Yep, i did switch it on by by default just before the weekend and forgot to update help message. But this is easy to fix. My current concern was your report on a revision that didn t turn this option on by default. I am correct if i assume it was on when you where bysecting this bug ? I am seeing the problem in both E17 itself (screenshot at http://omploader.org/vMjU3aQ) and in Entrance, both of which use Edje. I did try the latest SVN with --disable-edje-calc, and that restored functionality. Ok thanks for the screenshot. I can t look at it right now, but il will as soon as possible. Thanks for your help. And does anyone see the same bug ? -- Cedric BAIL -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Saturday 15 August 2009 12:34:00 Cedric BAIL wrote: On Saturday, August 15, 2009, William Keaney kean...@gmail.com wrote: On Saturday 15 August 2009 02:14:06 Cedric BAIL wrote: On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. Yep, i did switch it on by by default just before the weekend and forgot to update help message. But this is easy to fix. My current concern was your report on a revision that didn t turn this option on by default. I am correct if i assume it was on when you where bysecting this bug ? I didn't manually disable it until after I had arrived at that revision, so I believe so. --Will Keaney signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
hum I don't have any problems with edje-calc-cache activate or deactivate.. 2009/8/15 William Keaney kean...@gmail.com On Saturday 15 August 2009 02:14:06 Cedric BAIL wrote: On Sat, Aug 15, 2009 at 3:37 AM, William Keaneykean...@gmail.com wrote: On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. I am seeing the problem in both E17 itself (screenshot at http://omploader.org/vMjU3aQ) and in Entrance, both of which use Edje. I did try the latest SVN with --disable-edje-calc, and that restored functionality. --Will Keaney -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Sat, 15 Aug 2009 10:37:22 -0400 William Keaney kean...@gmail.com said: Weird it shouldn't as code is disabled by default in this commit. Where do you see problem, in E17 itselef ? Elementary ? EWL ? What module are you using ? Did you try last svn revision with --disable-edje-calc-cache during edje configure ? The --help output of autogen.sh says that edje-calc-cache is disabled by default, but when run without any arguments it enables edje-calc-cache. I am seeing the problem in both E17 itself (screenshot at http://omploader.org/vMjU3aQ) and in Entrance, both of which use Edje. I did try the latest SVN with --disable-edje-calc, and that restored functionality. strange as i see no problems at all :( odd why you and no one else? -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Monday 10 August 2009 11:16:52 Enlightenment SVN wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. Author: cedric Date: 2009-08-10 08:16:51 -0700 (Mon, 10 Aug 2009) New Revision: 41663 This seems to break everything that uses Edje on my system, most notably the b_and_w theme and Entrance. I've run a manual bisect on the repo, and this is the first revision where these things start misbehaving. Several things don't get rendered, including titlebars, buttons, and text boxes. Windows that get shaded become slivers and cannot be unshaded. --Will Keaney signature.asc Description: This is a digitally signed message part. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Mon, Aug 10, 2009 at 12:16 PM, Enlightenment SVNno-re...@enlightenment.org wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. well, probably machines with lots of CPU power have lots of memory as well, and wasting less CPU means more time to render stuff, like animations can go smoother... that and also to get more testing, I'd say let's make this on by default, at least until next snapshot. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/edje: . src/lib
On Mon, Aug 10, 2009 at 5:27 PM, Gustavo Sverzut Barbieribarbi...@profusion.mobi wrote: On Mon, Aug 10, 2009 at 12:16 PM, Enlightenment SVNno-re...@enlightenment.org wrote: Log: * edje: Add a cache for _edje_part_recalc_single. WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF. Note: This patch cache the result of _edje_part_recalc_single, until any relative part are moved, the object is resized or some property are changed (like during text set or color class set). Note: Be carefull when you call edje_object_size_min_restricted_calc, it's really an inderect heavy user of _edje_part_recalc_single and I wasn't able to bring it down. Note: This patch use more RAM, around 480 bytes per Edje state, so I don't recommand using it on a Desktop with a lot of CPU power. well, probably machines with lots of CPU power have lots of memory as well, and wasting less CPU means more time to render stuff, like animations can go smoother... that and also to get more testing, I'd say let's make this on by default, at least until next snapshot. I will work on reducing Edje_Real_Part size today. I have many idea to fix this. When it is done, I will make this option on by default. Sounds like the best approach for now. -- Cedric BAIL -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel