<table><tr><td style="">mart created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />mart requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13112">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>nothing builds yet, unfortunately it needs a complete port<br />
in order to even build</p>

<p>port of scriptengine::v1</p>

<p>make ShellCorona build</p>

<p>port containment, make it build</p>

<p>remove i18n</p>

<p>use KLocalizedContext now</p>

<p>attempt for updated rect wrapper</p>

<p>this would be pretty much useless anyways, but we need 100% api compatibility</p>

<p>make scriptengine build</p>

<p>make scriptengine_v1 build</p>

<p>fully build</p>

<p>a temporary, semi broken print()</p>

<p>workaround for Appinterface: enclose in with(__AppInterface) {</p>

<p>workaround for not being able to set our own global object and<br />
qproperties from prototype being broken</p>

<p>make the Panel ctor work</p>

<p>remove unused functions</p>

<p>make the ConfigGroup ctor work</p>

<p>reintroduce wrap()</p>

<p>a bit less type safety to make things coming from readConfig work</p>

<p>register functions as constructors</p>

<p>ConfigGroup,QRect and Panel classes way less hacky</p>

<p>make loadSerializedLayout actually work</p>

<p>use a js based proxy for <u>proto</u></p>

<p>withthis we can dinamically read proeprties of __AppInterface<br />
as they were global</p>

<p>nd a pure js object as QRectF</p>

<p>this way is possible to retain 100% of the api that was added<br />
to QRectF by the previous script implementation</p>

<p>get rid of the old backportglobal</p>

<p>correctly wrap applet and containment</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>mart/QJSEngineScripting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13112">https://phabricator.kde.org/D13112</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/CMakeLists.txt<br />
shell/scripting/appinterface.cpp<br />
shell/scripting/appinterface.h<br />
shell/scripting/backportglobal.h<br />
shell/scripting/configgroup.cpp<br />
shell/scripting/containment.cpp<br />
shell/scripting/containment.h<br />
shell/scripting/i18n.cpp<br />
shell/scripting/i18n.h<br />
shell/scripting/panel.cpp<br />
shell/scripting/panel.h<br />
shell/scripting/rect.cpp<br />
shell/scripting/scriptengine.cpp<br />
shell/scripting/scriptengine.h<br />
shell/scripting/scriptengine_v1.cpp<br />
shell/scripting/scriptengine_v1.h<br />
shell/scripting/widget.cpp<br />
shell/scripting/widget.h<br />
shell/shellcorona.cpp</div></div></div><br /><div><strong>To: </strong>mart<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>