Skip to content

Status of KJSEv4

Wednesday, 1 June 2005  |  geiseri

Oh man, these last few weeks have been rough. I got a new toy, but that is an entirely different blog all together. So here is the lowdown on what I got working with KSJEmbed in the last few weeks:

  1. Qt signals and slots can now be connected from KJS.
  2. Static methods now work on bindings.
  3. QWidgets and QLayouts can be created from custom plugins.
  4. Qt UI files can be loaded and manipulated from Qt
  5. Qt slots and Properties can be called from Javascript.
What remains to be done in order of priority:
  1. Automatic creation of bindings via some sort of script.
  2. Enum support.
  3. Support for all QVariants (pending really on 1).
  4. Connect Qt signals to javascript slots.
  5. Mapping Qt events to javascript events.
  6. Ability to add bindings at runtime via plugins.
  7. QPainter, QDom and QSQL bindings (pending on 1 again).
  8. javascript console I really want to do this in javascript and we should have enough in place to start on this.
  9. better system io support. I want a way to be able to issue shell commands and process the output similar to the bash `` feature. Also I want the ability to read and write text files. A simple readline/writeline support should be fine imho.
  10. libffi support so we can transparently call C based libraries. I played with this some, its a neat idea, but it is limited only to C methods, and really starts to putter out when you call methods that dont have POD types.
I have posted a link to the current snapshot: http://www.sourcextreme.com/projects/kjsembed/snapshots/kjsembed-2005-06-01.tar.bz2

If people are interested in helping out please let me know. Really all of the hard hard work is getting finished, what remains is for people to start working on examples, bug hunting. I am pretty busy now but ideally development can pick up in the next few months, now that Qt4 is in current development I could probably start talking about merging my work in to KDE again.