On Wed, 3 Aug 2016 19:47:47 +0200 Davide Andreoli <d...@gurumeditation.it> said:

> Ok, this has been fixed now in python bindings.
> 
> The problem was that pyefl assume that every objects are Eo obj internally,
> was coded this way at efl 1.8 and was a big Eo win that simplify a lot the
> bindings (infact we rewrite quite everything at that time to use the Eo
> infra)
> 
> We really use a little subset of Eo as we know it's not stable, mainly 3
> functions:
> eo_key_data_set()   ->  to store the created python obj
> eo_event_callback_add(DEL)  -> to clean the python obj
> eo_class_name_get(eo_class_get(obj))  -> to create the correct python obj
> as needed
> 
> Now, from 1.18, ecore.Animators and ecore.Idlers are no more Eo based....
> sigh :(
> 
> We fixed the issue by rewriting those 2 classes in the old way, without
> using Eo.
> This has been easy because the object lifetime are really simple, BUT can
> be
> really tricky to do the same on more complex objects.
> 
> All this just to say:
> PLEASE DON'T DO THE SAME IN THE FUTURE, or at least speak with me
> to evaluate the consequences this can have in bindings.

i actually kind of agree with you here. these should have stayed eo objects,
BUT just objects we will later DROP in efl 2.0 - then they get the benefits of
eo but the same use underneath legacy api and eo features and safety.

perhaps this is something we should fix for 1.19? we really just want to bring
BACK what we had for 1.17 there.

> Thanks
> davemds
> 
> 
> 
> 2016-07-25 21:59 GMT+02:00 Davide Andreoli <d...@gurumeditation.it>:
> 
> > Hi all,
> > lately quite all the ecore test we have in python-efl are failing for
> > (seems) the same reason:
> >
> > the del callback seems not be called when you return FALSE from a callback
> > that should delete the object in that case, Animator fe.
> >
> > I'm quite sure this is not a python related issue but I have no time until
> > the next week to look at the C side. Can someone give a look at this? maybe
> > cedric or tasn?
> >
> > This happen in quite all the ecore stuff in python-efl:
> > Animator
> > Poller
> > Idler
> > IdleEnterer
> > IdleExiter
> >
> > Timers instead seems to work as expected.
> >
> > Thanks
> >
> >
> ------------------------------------------------------------------------------
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to