Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-27 Thread Daniel Kolesa
On Sat, Dec 24, 2016, at 18:39, Felipe Magno de Almeida wrote: > On Mon, Dec 19, 2016 at 9:36 AM, Daniel Kolesa > wrote: > > On Mon, Dec 12, 2016, at 19:50, Gustavo Sverzut Barbieri wrote: > >> okay, on IRC people clarified it with an example: > > Hello Kolesa, > > [snip]

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-24 Thread Felipe Magno de Almeida
On Mon, Dec 19, 2016 at 9:36 AM, Daniel Kolesa wrote: > On Mon, Dec 12, 2016, at 19:50, Gustavo Sverzut Barbieri wrote: >> okay, on IRC people clarified it with an example: Hello Kolesa, [snip] > Eolian is ready for this; so if this gets implemented in C++, it's just > a

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-21 Thread Felipe Magno de Almeida
On Wed, Dec 21, 2016 at 4:08 PM, Felipe Magno de Almeida wrote: > Hello Gustavo, > > I'm going to fix it in the C++ binding this week. It is more > complicated than it seems though, because the types are all used by > value, but there's a way because we rely on the

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-21 Thread Felipe Magno de Almeida
Hello Gustavo, I'm going to fix it in the C++ binding this week. It is more complicated than it seems though, because the types are all used by value, but there's a way because we rely on the fact that the type is std::is_standard_layout and has the same sizeof(Eo*). Regards, On Wed, Dec 21,

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-21 Thread Gustavo Sverzut Barbieri
Felipe... since you sent some other emails I suppose you're back... then ping to check this email :-) On Mon, Dec 19, 2016 at 9:36 AM, Daniel Kolesa wrote: > On Mon, Dec 12, 2016, at 19:50, Gustavo Sverzut Barbieri wrote: >> okay, on IRC people clarified it with an example:

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-19 Thread Daniel Kolesa
On Mon, Dec 12, 2016, at 19:50, Gustavo Sverzut Barbieri wrote: > okay, on IRC people clarified it with an example: > > Failing = http://codepad.org/qet7AgoX > > Which I'd propose the solution = http://codepad.org/LVaUAJSI This much really is obvious, I just need Felipe to actually implement

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-12 Thread Gustavo Sverzut Barbieri
A concrete example of the previous email is the following files: a.eo.cxx: http://codepad.org/BzCSLMk7 b.eo.cxx: http://codepad.org/yD60mWmy final.cxx: http://codepad.org/rZfvzIHe $ cpp -x c++ final.cxx # http://codepad.org/VqTZe6FJ # 1 "/tmp/final.cxx" # 1 "" # 1 "" # 1

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-12 Thread Gustavo Sverzut Barbieri
okay, on IRC people clarified it with an example: Failing = http://codepad.org/qet7AgoX Which I'd propose the solution = http://codepad.org/LVaUAJSI I was also told that eolian_cxx is only outputting header files. Although we do that, we should still output forward declarations first, then the

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-12 Thread Gustavo Sverzut Barbieri
it's simple, do #ifndef ... #define ... #endif, but automatically. That is, if: $ cat a.eo: import b; $ cat b.eo: import a; this should work, parsing b would include a, then it would include b but that's in the hash/db already and then NOOP. Also, it's even more annoying for documentation...

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-12 Thread Felipe Magno de Almeida
On Mon, Dec 12, 2016 at 3:10 PM, wrote: > Ping? Anyone? I agree with you. I have no idea on how to fix it, however. Regards, > On Fri, Nov 18, 2016 at 04:18:00PM +0100, marcel-hollerb...@t-online.de wrote: >> Hello, >> >> i would like to get back to this. >> >>

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-12-12 Thread marcel-hollerbach
Ping? Anyone? On Fri, Nov 18, 2016 at 04:18:00PM +0100, marcel-hollerb...@t-online.de wrote: > Hello, > > i would like to get back to this. > > On Tue, Nov 01, 2016 at 11:48:50AM -0700, Jee-Yong Um wrote: > > cedric pushed a commit to branch master. > > > >

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-11-18 Thread marcel-hollerbach
Hello, i would like to get back to this. On Tue, Nov 01, 2016 at 11:48:50AM -0700, Jee-Yong Um wrote: > cedric pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=0fd144550877ff0a6f413c025685b7e7d63e6535 > > commit 0fd144550877ff0a6f413c025685b7e7d63e6535

Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-11-01 Thread Gustavo Sverzut Barbieri
> +EOLIAN static void > +_efl_observable_observer_del(Eo *obj EINA_UNUSED, Efl_Observable_Data *pd, > const char *key, Efl_Observer *obs) > +{ > + Eina_Hash *observers; > + Efl_Observer_Refcount *or; > + > + if (!key) return; > + > + observers = eina_hash_find(pd->observers, key); > +