[Kde-bindings] [ANN] QtRuby 1.0.6/Korundum 3.4 beta1/KDevelop HEAD
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Jan 4 12:07:04 UTC 2005
URIS
http://rubyforge.org/projects/korundum/
http://developer.kde.org/language-bindings/ruby/index.html
http://www.kdevelop.org/?filename=download.html
NAME
QtRuby 1.0.6
Korundum 3.4 beta1
KDevelop cvs HEAD (forthcoming release 3.2)
SYNOPSIS
Ruby bindings for the Qt and KDE GUI apis, combinded with an IDE for RAD
DESCRIPTION
Highlights from the QtRuby ChangeLog
* qError(), qWarning() and qFatal() are now Object instance methods,
rather than Qt module methods.
* Many inspect() and pretty_print() methods added to improve debugging
* The QObjects in a QObjectList were not being created with the exact
ruby class if they hadn't been allocated from within the ruby code, and
just left as Qt::Objects
* Fixed bug in lower case/underscore method naming to camel case
conversion
* Added a work round for a bug caused by an incompatibility between
QtRuby the 'require time' statement
* The qtruby runtime needs to be able to run the code for an initialize()
method up to the point where the C++ instance has been constructed and
wrapped, and then jump out. It then re-runs initialize() with the wrapped
instance. Before a callcc() call had been used for the jumping which
worked fine. However, it made the frame stack look strange when debugging
code with the KDevelop debugger. The fix is to use catch and throw
instead, as they leave the stack in a more normal looking state.
* Kernel has a method called open() which takes a String as the first
argument. But when a call is made to an open() method in the Qt classes,
it messes up the method_missing() logic to divert it to the Smoke
library. Instead it attempts to call the Kernel method with the wrong arg
types.
* The problem is fixed by calling the appropriate method based on the
type of the first arg. However, it is no longer possible to override
virtual methods called 'open'.
Highlights from the Korundum ChangeLog
* More inspect() and pretty_print() methods for common classes to improve
debugging
* Fixed crashes in the KURL::List marshalling.
KDevelop Ruby Support
* Integrated Qt Designer KPart component for creating UIs graphically
* Source code debugger
* Code folding/Syntax highlighting
* Templates for Qt and KDE project types
* Class browser with support for Qt features such as signals/slots,
or KDE dcop signals slots
CONFIG
See the qtruby/README.build file for details of configuration, building and
installation.
ENVIRONMENTS
Linux, BSD*, Unix etc
Mac OS X
AUTHORS
Richard Dale
Alexander Kellett
TUTORIALS
Qt Tutorial #1, 14 Steps to Writing a Game
http://developer.kde.org/language-bindings/ruby/tutorial/tutorial.html
Qt Tutorial #2, Building a Charting Application
http://developer.kde.org/language-bindings/ruby/tutorial2/tutorial2.html
The Qt Designer Color Tool Tutorial
http://developer.kde.org/language-bindings/ruby/colortooltutorial/designer-manual-3.html
KDE 3.0 Tutorial
http://developer.kde.org/language-bindings/ruby/kde3tutorial/index.html
RAD with KDevelop using Ruby/Qt/KDE
http://www.kdevelop.org/doc/technotes/rubyrad.html
More information about the Kde-bindings
mailing list