[Kde-bindings] [PATCH] Deferred objects, QGraphicsEffect, long long handler

Arno Rehn arno at arnorehn.de
Wed Jul 28 20:52:02 UTC 2010


On Wednesday 21 July 2010 17:42:02 Richard Dale wrote:
> On Sunday, July 11, 2010 06:24:22 pm Paolo Capriotti wrote:
> > Hi all,
> > here are 3 patches that fix some problems I'm having with the current
> > qtruby.
> > 
> > Deferred objects (http://gist.github.com/471683): I already submitted
> > a patch about this problem. This is an updated version for the current
> > svn trunk. The idea (as explained here:
> > http://article.gmane.org/gmane.comp.kde.devel.bindings/5715) is that
> > there is no guarantee that the VALUE associated to an object still
> > contains meaningful information when the object destructor is called.
> > So we cannot use value_obj_info from within Binding::deleted. This
> > patch saves a pointer to the smokeruby_object instance alongside the
> > ruby VALUE in the pointer map.
> > 
> > QGraphicsEffect (http://gist.github.com/471684): A special case
> > similar to the others in that function: a QGraphicsItem owns its
> > QGraphicsEffect's, so they must be marked in the mark phase.
> > 
> > long long handler (http://gist.github.com/471514): There is no handler
> > for the "long long" type. Not sure why this hasn't popped up before,
> > but it causes a crash on my machine when calling
> > QIODevice::bytesAvailable.
> > 
> > Let me know if there are any objections. If not, I'll commit them soon.
> 
> I'm sorry I've been so long in replying, but please commit them if you
> haven't already. Just CC this mailing list so we know it went in we you do
> commit stuff.
I committed the patches myself now so that they make it into KDE 4.5.0. Thanks 
for providing them Paolo! :)

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list