Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-10-10 Thread The Rasterman
On Wed, 28 Sep 2011 14:31:12 +0900 Daniel Juyung Seo said: h the stuff that happens while you're away. sorry guys - i don't like this. spinning int he ilder EVEN if you limit it to 0.7* frametime.. is bad. idlers spin already. they just spin OUTSIDE the idler callback. (i.e. they keep calling

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-27 Thread Daniel Juyung Seo
In SVN! Thanks. Daniel Juyung Seo (SeoZ) On Tue, Sep 27, 2011 at 4:47 PM, Kim Yunhan wrote: > Thanks a lot! > > On Tue, Sep 27, 2011 at 4:29 PM, Cedric BAIL wrote: > >> On Tue, Sep 27, 2011 at 8:56 AM, Daniel Juyung Seo >> wrote: >> > No more comments on this patch? >> >> It's good could get i

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-27 Thread Kim Yunhan
Thanks a lot! On Tue, Sep 27, 2011 at 4:29 PM, Cedric BAIL wrote: > On Tue, Sep 27, 2011 at 8:56 AM, Daniel Juyung Seo > wrote: > > No more comments on this patch? > > It's good could get in today. > > > If so, I'll commit this in a day. > > I was lacking network access. Now I am back, I can co

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-27 Thread Cedric BAIL
On Tue, Sep 27, 2011 at 8:56 AM, Daniel Juyung Seo wrote: > No more comments on this patch? It's good could get in today. > If so, I'll commit this in a day. I was lacking network access. Now I am back, I can commit and break stuff again ! Yeah ! > On Thu, Sep 22, 2011 at 10:22 PM, Kim Yunhan

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-26 Thread Daniel Juyung Seo
No more comments on this patch? If so, I'll commit this in a day. Thanks. Daniel Juyung Seo (SeoZ) On Thu, Sep 22, 2011 at 10:22 PM, Kim Yunhan wrote: > Of course, the multiplication won't matter at all. :) > I couldn't predict how much time will be taken in ecore main loop. > There exists simil

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-22 Thread Kim Yunhan
Of course, the multiplication won't matter at all. :) I couldn't predict how much time will be taken in ecore main loop. There exists similar code in Ecore_Con_Url and if download is stared, it will be called many times. So I guess that it could be affected with download performance. (though it wil

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-22 Thread Gustavo Sverzut Barbieri
What will change? The multiplication won't matter and you can move it outside of the loop. If there is nothing else to be done in the mainloop it will do few function calls and get back to work. If you allow the full frametime to be used, whenever the user will try to do work the frametime will be

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-22 Thread Kim Yunhan
It sounds good. But I'm wonder download performance will be impaired. :'-( It should be tested much more. On Thu, Sep 22, 2011 at 8:13 PM, Gustavo Sverzut Barbieri < barbi...@profusion.mobi> wrote: > Better to use a percentual if frametime otherwise user will try to do some > work and it will not

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-22 Thread Gustavo Sverzut Barbieri
Better to use a percentual if frametime otherwise user will try to do some work and it will not have enough time. Something like 0.7 * ecore_animator_frametime_get() On Thursday, September 22, 2011, Cedric BAIL wrote: > On Thu, Sep 22, 2011 at 12:51 AM, Kim Yunhan wrote: >> Thank you! >> Ecore_C

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-21 Thread Cedric BAIL
On Thu, Sep 22, 2011 at 12:51 AM, Kim Yunhan wrote: > Thank you! > Ecore_Con_Url already have the solution with _ecore_con_url_idler_handler. > So I just break the while loop if it takes too long. > > == > --- src/lib/ecore_con/ecore_

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-21 Thread Kim Yunhan
Thank you! Ecore_Con_Url already have the solution with _ecore_con_url_idler_handler. So I just break the while loop if it takes too long. == --- src/lib/ecore_con/ecore_con_url.c (revision 63520) +++ src/lib/ecore_con/ecore_con_url.c

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-21 Thread Cedric BAIL
On Wed, Sep 21, 2011 at 6:18 PM, Kim Yunhan wrote: > Thank you for your advice. > > libcurl already supports asynchronous DNS lookup (including c-ares). > Ecore_Con_Url is integrated with libcurl. > But I think that code in below blocks asynchronous mechanism of libcurl. > while (curl_multi_perfor

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-21 Thread Kim Yunhan
Thank you for your advice. libcurl already supports asynchronous DNS lookup (including c-ares). Ecore_Con_Url is integrated with libcurl. But I think that code in below blocks asynchronous mechanism of libcurl. while (curl_multi_perform(_curlm, &still_running) == CURLM_CALL_MULTI_PERFORM) ; I wan

Re: [E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-21 Thread Nicolas Aguirre
2011/9/21 Kim Yunhan : > Hello! > > elm_map uses Ecore Con with CURL. > I tested elm_map many times on my device. > But sometimes UI interaction is held when data connection is poor. > So I tried to debug and I found that this code lead to hold an Ecore main > loop. > >

[E-devel] Ecore Con : interruption of UI interaction issue.

2011-09-21 Thread Kim Yunhan
Hello! elm_map uses Ecore Con with CURL. I tested elm_map many times on my device. But sometimes UI interaction is held when data connection is poor. So I tried to debug and I found that this code lead to hold an Ecore main loop. -- In ecore_con_url.c