<br><br><div class="gmail_quote">2008/11/3 Aaron J. Seigo <span dir="ltr">&lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Monday 03 November 2008, Simon Edwards wrote:<br>
&gt; Helloooo,<br>
&gt;<br>
&gt; Aaron J. Seigo wrote:<br>
&gt; &gt; i&#39;d like to move libplasma over to kdelibs on Nov 3rd. it&#39;ll be a fair<br>
&gt; &gt; amount of work, and i&#39;ll announce here when i&#39;ve started so other people<br>
&gt; &gt; don&#39;t get caught with local changes to libplasma.<br>
&gt; &gt;<br>
&gt; &gt; so this is the &quot;last call&quot; for binary incompatible API changes ... time<br>
&gt; &gt; to speak up or forever hold your peace, where &quot;forever&quot; is defined as<br>
&gt; &gt; &quot;until kde 5&quot;<br>
&gt;<br>
&gt; My only concern is that the script engine APIs seem to be missing a<br>
&gt; number of methods which match the C++ API. For example, dataenginescript<br>
&gt; doesn&#39;t have a counter part to &quot;QStringList DataEngine::sources()&quot; which<br>
&gt; AFAIK makes it not possible to implement source listing functionality in<br>
&gt; a scripted data engine.<br>
<br>
</div>i sat down for five minutes and added the two most glaring missing things from<br>
DataEngineScript.<br>
<br>
in the time it took you to write that email, you could have done the same.<br>
<div class="Ih2E3d"><br>
&gt; (Sorry, I don&#39;t have time right now to give more detail. Should the<br>
&gt; scripting APIs be part of the BC API?<br>
<br>
</div>yes<br>
<br>
&gt; can that be delayed?)<br>
<br>
it&#39;s all be sitting there for nearly a year now and i get ~zero feedback from<br>
those who might use it. i honestly don&#39;t see that improving and as such don&#39;t<br>
see that as a reason to hold things up.<br>
<br>
ok, that&#39;s not quite true. i do see that improving when people start taking<br>
scripting seriously.<br>
<br>
i&#39;m very surprised that the work going into scriptengines has mostly been in<br>
the form of writing bindings with little to no care as to what is actually in<br>
libplasma itself. that&#39;s a very poor model for creating scripting support for<br>
applications, imo.<br>
<br>
i had the bulk of feedback from the GoogleGadgets and Edje implementors, which<br>
is fasincating.</blockquote><div>Well I think what Simon and myself are doing is different from what the GoogleGadgets and Edje implementors were doing. <br><br>For better or worse we don&#39;t want to design a new api because we think the C++ api is perfectly fine when translated method for method, and class for class, to other more dynamic languages. I don&#39;t personally use the term &#39;scripting language&#39; for this, because I don&#39;t see this to be anything to do with scripting. To me scripting is all about driving a C++ application with a lightweight language like Lua. <br>
<br>I see our work consisting of making the api that the RAD language programmers sees as similar to the api that a C++ programmer sees. And although I am perfectly happy with the results for the Ruby and C# script engine apis, I really wish we had some users actually doing things with the bindings to get more feedback about any changes before everything is frozen.<br>
<br>One little thing that would be nice, is to be able to specify a different name for the main file in a plasmoid so that we can have main.rb, main.py etc without needing to have a new package structure plugin just to be able to do that.<br>
<br>-- Richard<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
in any case, take the BC requirements as a call to action and look over those<br>
classes so we can get them into the order you&#39;d be comfortable with.<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA &nbsp;EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Software<br>
<br>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br>