nothPort plasma desktop scripting builds yetto qjsengine, unfortunately it needs a complete portremoving every trace of QScript from plasma-workspace.
in order to even build
port of scriptengine::v1
make ShellCorona build
port containment, make it build
remove i18n
use KLocalizedContext now
attempt for updated rect wrapper
this would be pretty much useless anyways, but we need 100% api compatibility
make scriptengine build
make scriptengine_v1 build
fully build
a temporary, semi broken print()
workaround for Appinterface: enclose in with(__AppInterface) {
workaround for not being able to set our own global object andThe scripting is 100% API compatible.
qproperties from prototype being broken
make the Panel ctor work
remove unused functions
make the ConfigGroup ctor work
reintroduce wrap()
a bit less type safety to make things coming from readConfig work
register functions as constructors
ConfigGroup,QRect and Panel classes way less hacky
make loadSerializedLayout actually work
use a js based proxy for __proto__
withthis we can dinamically read proeprties of __AppInterfacethe bindings are partly done on the javascript part as some things are only possible there and not on the QJSEngine part:
as they were global
nd a pure js * setting AppInterface as the globalobject as QRectF
this way is possible to retain 100% of the api that was added's __proto__ with property getters that are evaluated every time
to QRectF by the previous script implementation
get rid of the old backportglobal
correctly wrap applet and containment* setting functions that act as constructors (using newQMetaObject gives way more complex and uglier c++ code in Containment, as the scriptengine is not immediately accessible)
* a QRectF wrapper which exposes all properties and methods that were exposed in the previous implementation