[Kde-bindings] KDE/kdebindings/ruby/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Apr 7 13:16:31 UTC 2008

SVN commit 794432 by rdale:

* Change the way the 'MocArgument*' structs are created, instead
  building them up in a Ruby Array, use a QList<MocArgument*>.
  Move all the code to C/C++ and don't call Ruby anymore.
  the SWIG_INIT_STACK and SWIG_RESTORE_STACK macros. If QtRuby is
  compiled with a '-DRUBY_EMBEDDED' option, then before each virtual
  method callback and slot invocation call, which isn't nested
  within another, call RUBY_INIT_STACK.
* This fixes a problem with Ruby Plasmoids where the Ruby runtime was
  giving sys stackerror exceptions because the stack underflowed
  relative to where it was when the krubypluginfactory was loaded.
* Add more checking for Qnil in the marshallers for primitive types
  to make the runtime more robust. 

CCMAIL: kde-bindings at kde.org

 M  +16 -0     ChangeLog  
 M  +78 -93    src/Qt.cpp  
 M  +9 -11     src/handlers.cpp  
 M  +4 -22     src/lib/Qt/qtruby4.rb  
 M  +6 -4      src/marshall_basetypes.h  
 M  +4 -1      src/marshall_complex.h  
 M  +42 -10    src/marshall_primitives.h  
 M  +94 -71    src/marshall_types.cpp  
 M  +7 -7      src/marshall_types.h  

More information about the Kde-bindings mailing list