Re: [E-devel] Efl_Promise and Efl_Future

2016-09-28 Thread Tom Hacohen
On 13/09/16 01:09, Cedric BAIL wrote: > On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: >> On 08/09/16 23:29, Cedric BAIL wrote: >>> So I have now landed Efl_Future and Efl_Promise as previously >>> discussed in a lengthy email thread. The split was necessary to make >>> it possible to handle

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-28 Thread Tom Hacohen
On 28/09/16 13:42, Tom Hacohen wrote: > On 21/09/16 03:35, Felipe Magno de Almeida wrote: >> On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli >> wrote: >>> 2016-09-18 4:30 GMT+02:00 Felipe Magno de Almeida < >>> felipe.m.alme...@gmail.com>: On Sep 17, 2016 3:53 AM, "Davide Andreoli" wrote:

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-28 Thread Tom Hacohen
On 21/09/16 03:35, Felipe Magno de Almeida wrote: > On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli > wrote: >> 2016-09-18 4:30 GMT+02:00 Felipe Magno de Almeida < >> felipe.m.alme...@gmail.com>: >>> On Sep 17, 2016 3:53 AM, "Davide Andreoli" wrote: > > [snip] > >>> The problem with callbacks i

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-26 Thread The Rasterman
On Mon, 26 Sep 2016 14:23:39 -0700 Cedric BAIL said: > On Sun, Sep 25, 2016 at 1:59 AM, Davide Andreoli > wrote: > > 2016-09-25 4:37 GMT+02:00 Carsten Haitzler : > >> On Sat, 24 Sep 2016 18:44:28 +0200 Davide Andreoli >> said: > >> > 2016-09-24 12:59 GMT+02:00 Carsten Haitzler : > >> > > On Sat

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-26 Thread The Rasterman
On Mon, 26 Sep 2016 16:31:43 -0300 Gustavo Sverzut Barbieri said: > On Sat, Sep 24, 2016 at 2:14 AM, Carsten Haitzler > wrote: > > On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL said: > > > >> On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli > >> wrote: > >> > 2016-09-21 4:35 GMT+02:00 Felipe

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-26 Thread Cedric BAIL
On Sun, Sep 25, 2016 at 1:59 AM, Davide Andreoli wrote: > 2016-09-25 4:37 GMT+02:00 Carsten Haitzler : >> On Sat, 24 Sep 2016 18:44:28 +0200 Davide Andreoli > said: >> > 2016-09-24 12:59 GMT+02:00 Carsten Haitzler : >> > > On Sat, 24 Sep 2016 12:43:03 +0200 Davide Andreoli < >> d...@gurumeditation

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-26 Thread Gustavo Sverzut Barbieri
On Sat, Sep 24, 2016 at 2:14 AM, Carsten Haitzler wrote: > On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL said: > >> On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli >> wrote: >> > 2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida < >> > felipe.m.alme...@gmail.com>: >> >> On Sun, Sep 18, 2016 a

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-25 Thread Davide Andreoli
2016-09-25 4:37 GMT+02:00 Carsten Haitzler : > On Sat, 24 Sep 2016 18:44:28 +0200 Davide Andreoli > > said: > > > 2016-09-24 12:59 GMT+02:00 Carsten Haitzler : > > > > > On Sat, 24 Sep 2016 12:43:03 +0200 Davide Andreoli < > d...@gurumeditation.it > > > > > > > said: > > > > > > > 2016-09-24 7:14

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-24 Thread The Rasterman
On Sat, 24 Sep 2016 18:44:28 +0200 Davide Andreoli said: > 2016-09-24 12:59 GMT+02:00 Carsten Haitzler : > > > On Sat, 24 Sep 2016 12:43:03 +0200 Davide Andreoli > > > > said: > > > > > 2016-09-24 7:14 GMT+02:00 Carsten Haitzler : > > > > > > > On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL >

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-24 Thread Davide Andreoli
2016-09-24 12:59 GMT+02:00 Carsten Haitzler : > On Sat, 24 Sep 2016 12:43:03 +0200 Davide Andreoli > > said: > > > 2016-09-24 7:14 GMT+02:00 Carsten Haitzler : > > > > > On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL > said: > > > > > > > On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli > > > >

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-24 Thread The Rasterman
On Sat, 24 Sep 2016 12:43:03 +0200 Davide Andreoli said: > 2016-09-24 7:14 GMT+02:00 Carsten Haitzler : > > > On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL said: > > > > > On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli > > > wrote: > > > > 2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-24 Thread Davide Andreoli
2016-09-24 7:14 GMT+02:00 Carsten Haitzler : > On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL said: > > > On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli > > wrote: > > > 2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida < > > > felipe.m.alme...@gmail.com>: > > >> On Sun, Sep 18, 2016 at 3:35

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-24 Thread Davide Andreoli
2016-09-24 2:24 GMT+02:00 Cedric BAIL : > On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli > wrote: > > 2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida < > > felipe.m.alme...@gmail.com>: > >> On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli < > d...@gurumeditation.it> > >> wrote: > >> > 2016-0

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-23 Thread The Rasterman
On Fri, 23 Sep 2016 17:24:17 -0700 Cedric BAIL said: > On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli > wrote: > > 2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida < > > felipe.m.alme...@gmail.com>: > >> On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli > >> wrote: > >> > 2016-09-18 4:30 GMT

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-23 Thread The Rasterman
On Sat, 17 Sep 2016 08:51:23 +0200 Davide Andreoli said: > 2016-09-15 8:41 GMT+02:00 Carsten Haitzler : > > > On Tue, 13 Sep 2016 19:53:20 +0200 Davide Andreoli > > > > said: > > > > > I disagree here, really you are saying that only raster use async stuff > > in > > > efl? > > > > > > >From my

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-23 Thread Cedric BAIL
On Fri, Sep 23, 2016 at 10:48 AM, Davide Andreoli wrote: > 2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida < > felipe.m.alme...@gmail.com>: >> On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli >> wrote: >> > 2016-09-18 4:30 GMT+02:00 Felipe Magno de Almeida < >> > felipe.m.alme...@gmail.com>: >>

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-23 Thread Davide Andreoli
2016-09-21 4:35 GMT+02:00 Felipe Magno de Almeida < felipe.m.alme...@gmail.com>: > On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli > wrote: > > 2016-09-18 4:30 GMT+02:00 Felipe Magno de Almeida < > > felipe.m.alme...@gmail.com>: > >> On Sep 17, 2016 3:53 AM, "Davide Andreoli" > wrote: > > [snip

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-20 Thread Felipe Magno de Almeida
On Sun, Sep 18, 2016 at 3:35 AM, Davide Andreoli wrote: > 2016-09-18 4:30 GMT+02:00 Felipe Magno de Almeida < > felipe.m.alme...@gmail.com>: >> On Sep 17, 2016 3:53 AM, "Davide Andreoli" wrote: [snip] >> The problem with callbacks is not difficult to implement, but difficult to >> free the void

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-17 Thread Davide Andreoli
2016-09-18 4:30 GMT+02:00 Felipe Magno de Almeida < felipe.m.alme...@gmail.com>: > On Sep 17, 2016 3:53 AM, "Davide Andreoli" wrote: > > > > 2016-09-15 8:41 GMT+02:00 Carsten Haitzler : > > > > > On Tue, 13 Sep 2016 19:53:20 +0200 Davide Andreoli < > d...@gurumeditation.it > > > > > > > said: > >

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-17 Thread Felipe Magno de Almeida
On Sep 17, 2016 3:53 AM, "Davide Andreoli" wrote: > > 2016-09-15 8:41 GMT+02:00 Carsten Haitzler : > > > On Tue, 13 Sep 2016 19:53:20 +0200 Davide Andreoli < d...@gurumeditation.it > > > > > said: > > > > > I disagree here, really you are saying that only raster use async stuff > > in > > > efl? >

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-16 Thread Davide Andreoli
2016-09-15 8:41 GMT+02:00 Carsten Haitzler : > On Tue, 13 Sep 2016 19:53:20 +0200 Davide Andreoli > > said: > > > I disagree here, really you are saying that only raster use async stuff > in > > efl? > > > > >From my POV efl is (and has always been) a fully async toolkit, and I > use > > lots of

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-15 Thread Felipe Magno de Almeida
On Thu, Sep 15, 2016 at 11:11 AM, Gustavo Sverzut Barbieri wrote: > On Thu, Sep 15, 2016 at 3:41 AM, Carsten Haitzler > wrote: [snip] > my hope is that we can allow promise-only programming by allowing some > events to auto-generate them, something like: > > EFL_PROMISE_FOR_EVENT_GENERATOR(b

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-15 Thread Gustavo Sverzut Barbieri
On Thu, Sep 15, 2016 at 3:41 AM, Carsten Haitzler wrote: > On Tue, 13 Sep 2016 19:53:20 +0200 Davide Andreoli > said: > >> I disagree here, really you are saying that only raster use async stuff in >> efl? >> >> >From my POV efl is (and has always been) a fully async toolkit, and I use >> lots of

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-14 Thread The Rasterman
On Tue, 13 Sep 2016 19:53:20 +0200 Davide Andreoli said: > I disagree here, really you are saying that only raster use async stuff in > efl? > > >From my POV efl is (and has always been) a fully async toolkit, and I use > lots of async stuff in all my programs: timers, animators, idlers, > ecore

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Cedric BAIL
On Tue, Sep 13, 2016 at 10:53 AM, Davide Andreoli wrote: > 2016-09-13 2:09 GMT+02:00 Cedric BAIL : >> On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: >> > On 08/09/16 23:29, Cedric BAIL wrote: [snip] >> >> In any case this is better than our event model based model for >> >> asynchronous re

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Davide Andreoli
2016-09-13 20:05 GMT+02:00 Felipe Magno de Almeida < felipe.m.alme...@gmail.com>: > On Tue, Sep 13, 2016 at 2:23 PM, Davide Andreoli > wrote: > > 2016-09-13 15:59 GMT+02:00 Gustavo Sverzut Barbieri >: > > [snip] > > > This is one of the issue that make me don't like promise! > > > > Currently yo

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Felipe Magno de Almeida
On Tue, Sep 13, 2016 at 2:23 PM, Davide Andreoli wrote: > 2016-09-13 15:59 GMT+02:00 Gustavo Sverzut Barbieri : [snip] > This is one of the issue that make me don't like promise! > > Currently you are implementing promise only for async stuff that have a > single completion callback, so ecore_ti

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Davide Andreoli
2016-09-13 2:09 GMT+02:00 Cedric BAIL : > On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: > > On 08/09/16 23:29, Cedric BAIL wrote: > >> So I have now landed Efl_Future and Efl_Promise as previously > >> discussed in a lengthy email thread. The split was necessary to make > >> it possible to

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Davide Andreoli
2016-09-13 15:59 GMT+02:00 Gustavo Sverzut Barbieri : > On Tue, Sep 13, 2016 at 10:43 AM, Felipe Magno de Almeida > wrote: > > On Sep 13, 2016 5:49 AM, wrote: > >> > > > > [snip] > > > >> There could be a helper method which does the "fetch the loop and create > >> the job" stuff. > >> > >> But

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Cedric BAIL
On Tue, Sep 13, 2016 at 6:59 AM, Gustavo Sverzut Barbieri wrote: > On Tue, Sep 13, 2016 at 10:43 AM, Felipe Magno de Almeida > wrote: >> On Sep 13, 2016 5:49 AM, wrote: >>> >> >> [snip] >> >>> There could be a helper method which does the "fetch the loop and create >>> the job" stuff. >>> >>> Bu

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Felipe Magno de Almeida
On Tue, Sep 13, 2016 at 12:46 PM, Gustavo Sverzut Barbieri wrote: > Many, many times you want an one shot timer :-) Then you use a timeout in efl_loop, which is a promise. Regards, -- Felipe Magno de Almeida -- ___

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Gustavo Sverzut Barbieri
Many, many times you want an one shot timer :-) Em terça-feira, 13 de setembro de 2016, Felipe Magno de Almeida < felipe.m.alme...@gmail.com> escreveu: > On Tue, Sep 13, 2016 at 10:59 AM, Gustavo Sverzut Barbieri > > wrote: > > On Tue, Sep 13, 2016 at 10:43 AM, Felipe Magno de Almeida > > > wrote

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread marcel-hollerbach
On Tue, Sep 13, 2016 at 10:59:48AM -0300, Gustavo Sverzut Barbieri wrote: > On Tue, Sep 13, 2016 at 10:43 AM, Felipe Magno de Almeida > wrote: > > On Sep 13, 2016 5:49 AM, wrote: > >> > > > > [snip] > > > >> There could be a helper method which does the "fetch the loop and create > >> the job" st

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Felipe Magno de Almeida
On Tue, Sep 13, 2016 at 10:59 AM, Gustavo Sverzut Barbieri wrote: > On Tue, Sep 13, 2016 at 10:43 AM, Felipe Magno de Almeida > wrote: >> On Sep 13, 2016 5:49 AM, wrote: >>> >> >> [snip] >> >>> There could be a helper method which does the "fetch the loop and create >>> the job" stuff. >>> >>> B

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Gustavo Sverzut Barbieri
On Tue, Sep 13, 2016 at 10:43 AM, Felipe Magno de Almeida wrote: > On Sep 13, 2016 5:49 AM, wrote: >> > > [snip] > >> There could be a helper method which does the "fetch the loop and create >> the job" stuff. >> >> But with the feature of multiple efl loops in one process you have to >> decide o

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread Felipe Magno de Almeida
On Sep 13, 2016 5:49 AM, wrote: > [snip] > There could be a helper method which does the "fetch the loop and create > the job" stuff. > > But with the feature of multiple efl loops in one process you have to > decide on which loop to run the timer, i dont really see how you can get > arround dec

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-13 Thread marcel-hollerbach
On Mon, Sep 12, 2016 at 10:14:27PM -0300, Gustavo Sverzut Barbieri wrote: > On Mon, Sep 12, 2016 at 10:00 PM, Simon Lees wrote: > > On 09/13/2016 09:39 AM, Cedric BAIL wrote: > >> On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: > >>> On 08/09/16 23:29, Cedric BAIL wrote: > So I have now

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-12 Thread Gustavo Sverzut Barbieri
On Mon, Sep 12, 2016 at 10:00 PM, Simon Lees wrote: > On 09/13/2016 09:39 AM, Cedric BAIL wrote: >> On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: >>> On 08/09/16 23:29, Cedric BAIL wrote: So I have now landed Efl_Future and Efl_Promise as previously discussed in a lengthy email th

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-12 Thread Simon Lees
On 09/13/2016 09:39 AM, Cedric BAIL wrote: > On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: >> On 08/09/16 23:29, Cedric BAIL wrote: >>> So I have now landed Efl_Future and Efl_Promise as previously >>> discussed in a lengthy email thread. The split was necessary to make >>> it possible to

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-12 Thread Cedric BAIL
On Mon, Sep 12, 2016 at 2:11 AM, Tom Hacohen wrote: > On 08/09/16 23:29, Cedric BAIL wrote: >> So I have now landed Efl_Future and Efl_Promise as previously >> discussed in a lengthy email thread. The split was necessary to make >> it possible to handle the lifecycle using eo object. This >> imple

Re: [E-devel] Efl_Promise and Efl_Future

2016-09-12 Thread Tom Hacohen
On 08/09/16 23:29, Cedric BAIL wrote: > Hello, > > So I have now landed Efl_Future and Efl_Promise as previously > discussed in a lengthy email thread. The split was necessary to make > it possible to handle the lifecycle using eo object. This > implementation simplify and clarify the API compare t