SVN commit 572845 by sebsauer: 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. FEATURE CC_MAIL: koffice-devel@kde.org M +10 -15 CMakeLists.txt D api (directory) A core (directory) api#572836 M +14 -19 core/CMakeLists.txt A core/action.cpp main/scriptaction.cpp#572836 [License: LGPL (v2+)] A core/action.h main/scriptaction.h#572836 [License: LGPL (v2+)] D core/callable.cpp D core/callable.h A core/childreninterface.h [License: LGPL (v2+)] D core/dict.cpp D core/dict.h A core/errorinterface.h [License: LGPL (v2+)] D core/exception.cpp D core/exception.h D core/function.h A core/guiclient.cpp main/scriptguiclient.cpp#572836 [License: LGPL (v2+)] A core/guiclient.h main/scriptguiclient.h#572836 [License: LGPL (v2+)] M +8 -7 core/interpreter.cpp M +12 -9 core/interpreter.h M +7 -17 core/krossconfig.h D core/list.cpp D core/list.h A core/manager.cpp main/manager.cpp#572836 [License: LGPL (v2+)] A core/manager.h main/manager.h#572836 [License: LGPL (v2+)] A core/metaobject.cpp [License: LGPL (v2+)] A core/metaobject.h [License: LGPL (v2+)] D core/module.h M +213 -24 core/object.cpp M +43 -85 core/object.h D core/proxy.h D core/qtobject.cpp D core/qtobject.h M +12 -11 core/script.cpp M +25 -70 core/script.h D core/value.h D core/variant.cpp D core/variant.h A core/wdgscriptsmanager.cpp main/wdgscriptsmanager.cpp#572836 A core/wdgscriptsmanager.h main/wdgscriptsmanager.h#572836 D main (directory) M +50 -13 python/CMakeLists.txt M +16 -16 python/pythonconfig.h M +195 -330 python/pythonextension.cpp M +32 -124 python/pythonextension.h M +31 -46 python/pythoninterpreter.cpp M +22 -29 python/pythoninterpreter.h M +22 -33 python/pythonmodule.cpp M +4 -6 python/pythonmodule.h M +179 -219 python/pythonscript.cpp M +46 -18 python/pythonscript.h D python/pythonsecurity.cpp D python/pythonsecurity.h A python/pythonvariant.cpp [License: LGPL (v2+)] A python/pythonvariant.h [License: LGPL (v2+)] D python/scripts (directory) M +26 -0 ruby/CMakeLists.txt M +11 -11 ruby/rubyinterpreter.cpp M +6 -6 ruby/rubyinterpreter.h M +5 -5 ruby/rubyscript.cpp M +6 -6 ruby/rubyscript.h M +28 -0 runner/CMakeLists.txt M +19 -25 runner/main.cpp M +1 -7 test/CMakeLists.txt M +239 -62 test/main.cpp M +90 -110 test/testcase.py M +136 -33 test/testobject.cpp M +61 -21 test/testobject.h M +7 -59 test/testperformance.py D test/testplugin.cpp D test/testplugin.h M +15 -11 test/testwindow.cpp M +6 -6 test/testwindow.h _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel