Revision 572845

Go back to digest for 20th August 2006

Features in Office

Sebastian Sauer committed changes in /trunk/koffice/libs/kross:

Initial code for Kross2

The backend got replaced and is build up on Qt's metatypes now. This means we are able to throw any QObject/QVariant in and just use the slots as script-functions and the properties as script-members. So, we don't need wrappers/bindings any longer (and provided scripting-interfaces don't need to depend on Kross) on the one hand and and earn a more cleaner interface on the other. Beside the try to follow KISS, we should earn much more speed that way cause everything talks now Qt internal :)

The python backend works mostly already. Ruby is disabled for now while the existing bindings will be ported to on QObject/QMetaType-stuff based scripting-interfaces later.

File Changes

Added 15 files
  • /trunk/koffice/libs/kross
  •   /core
  •   /core/action.cpp
  •   /core/action.h
  •   /core/childreninterface.h
  •   /core/errorinterface.h
  •   /core/guiclient.cpp
  •   /core/guiclient.h
  •   /core/manager.cpp
  •   /core/manager.h
  •   /core/metaobject.cpp
  •   /core/metaobject.h
  •   /core/wdgscriptsmanager.cpp
  •   /core/wdgscriptsmanager.h
  •   /python/pythonvariant.cpp
  •   /python/pythonvariant.h
Deleted 23 files
  • /trunk/koffice/libs/kross
  •   /api
  •   /main
  •   /core/callable.cpp
  •   /core/callable.h
  •   /core/dict.cpp
  •   /core/dict.h
  •   /core/exception.cpp
  •   /core/exception.h
  •   /core/function.h
  •   /core/list.cpp
  •   /core/list.h
  •   /core/module.h
  •   /core/proxy.h
  •   /core/qtobject.cpp
  •   /core/qtobject.h
  •   /core/value.h
  •   /core/variant.cpp
  •   /core/variant.h
  •   /python/pythonsecurity.cpp
  •   /python/pythonsecurity.h
  •   /python/scripts
  •   /test/testplugin.cpp
  •   /test/testplugin.h
Modified 34 files
  • /trunk/koffice/libs/kross
  •   /CMakeLists.txt
  •   /core/CMakeLists.txt
  •   /core/interpreter.cpp
  •   /core/interpreter.h
  •   /core/krossconfig.h
  •   /core/object.cpp
  •   /core/object.h
  •   /core/script.cpp
  •   /core/script.h
  •   /python/CMakeLists.txt
  •   /python/pythonconfig.h
  •   /python/pythonextension.cpp
  •   /python/pythonextension.h
  •   /python/pythoninterpreter.cpp
  •   /python/pythoninterpreter.h
  •   /python/pythonmodule.cpp
  •   /python/pythonmodule.h
  •   /python/pythonscript.cpp
  •   /python/pythonscript.h
  •   /ruby/CMakeLists.txt
  •   /ruby/rubyinterpreter.cpp
  •   /ruby/rubyinterpreter.h
  •   /ruby/rubyscript.cpp
  •   /ruby/rubyscript.h
  •   /runner/CMakeLists.txt
  •   /runner/main.cpp
  •   /test/CMakeLists.txt
  •   /test/main.cpp
  •   /test/testcase.py
  •   /test/testobject.cpp
  •   /test/testobject.h
  •   /test/testperformance.py
  •   /test/testwindow.cpp
  •   /test/testwindow.h
72 files changed in total