<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">---------- Messaggio inoltrato ----------<br>From: "Aaron J. Seigo" <<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>><br>
To: <a href="mailto:plasma-devel@kde.org">plasma-devel@kde.org</a><br>Date: Thu, 10 Sep 2009 16:53:48 -0600<br>Subject: Re: Plasmate previewer, again =P<br>On September 10, 2009, Diego Casella ([Po]lentino) wrote:<br>
> > ---------- Messaggio inoltrato ----------<br>
> > From: "Aaron J. Seigo" <<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>><br>
> > To: <a href="mailto:plasma-devel@kde.org">plasma-devel@kde.org</a><br>
> > Date: Thu, 10 Sep 2009 11:23:26 -0600<br>
> > Subject: Re: Plasmate previewer, again =P<br>
> ><br>
> > On September 10, 2009, Shantanu Tushar Jha wrote:<br>
> > > As we could not have the meeting on that time as Diego and Aaron were<br>
> ><br>
> > busy<br>
> ><br>
> > > at Tokamak,<br>
> ><br>
> > actually, we showed up on irc at the stated time and waited around ... :/<br>
><br>
> yup ...<br>
><br>
> > > It'll be nice to have some status update. Diego what things are<br>
> > > remaining to be implemented, i.e. which were planned but are not yet<br>
> > > implemented?<br>
> ><br>
> > we put together a really short list of "things to do next"; Diego, do you<br>
> > have<br>
> > that still?<br>
> ><br>
> > Of course !<br>
><br>
> Since up to now the code structure is not as good as we want, the basic<br>
> idea was to build a core class that handles our UI stuff, a ProjectManager<br>
> class to create/load projects and keep track of its files, and other<br>
> stuffs. As soon as everything works well, first we have to provide a<br>
> secure way to upload the package ( the idea is to use QCA to sign the<br>
> package ); second, that is, when an user download a package from our<br>
> server, we have to alert the user with one of these signals ( iirc :P ):<br>
><br>
> - Green flag: package signed by both KDE and the developer ( =<br>
> completely trusted );<br>
> - Blue flag: package signed by KDE, but not by the developer;<br>
> - Yellow flag: package signed by the developer, but not by KDE;<br>
> - Red flag: package is not signed ( = install it at your own risk ).<br>
><br>
> Also, some improvements on Plasma::PackageMetadata should be done ( if<br>
> there are no issues with BC ):<br>
><br>
> - Made method's name more coherent ( for example, if the entry we want<br>
> to retrieve is "X-KDE-PluginInfo-Name" and the getter is called<br>
> "PluginName()", why the setter is named "setName()" ? it should be<br>
> "setPluginName()" ! )<br>
<br>
it is setPluginName().<br></blockquote><div><br>Ops, you are right ! These days my brain is completely screwed up ...<br>The funny part is I used both of them in my code =P<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>
> ; - extend the API in order to handle more entries (<br>
> for example, up to now there is no API call to write the<br>
> "X-Plasma-MainScript" entry, so i'm forced to use QFile to open the<br>
> metadata.desktop file, and then append that string manually O_o )<br>
<br>
that probably belongs either in a subclass or via a<br>
PackageMetaData::setProperty(const QString &key, const QVariant &value) method<br>
since X-Plasma-MainScript is specific to plasmoid scripting and not to<br>
packages in general.<br>
<br>
> * At present, the TimeLine is broken again because the regexp fix made @<br>
> Tokamak was wrong: in fact the regexp "^commit [0-9a-ef]+$" always returns<br>
> the entire list of commits! I've adjusted it with<br>
<br>
hm. try setMinimal(true) on the QRegExp object.<br>
<br>
as for the sha1 hash, try:<br>
<br>
"^commit ([0-9a-f])+$"<br>
<br>
and then you can use QRegExp::cap(int), and use a while loop like the one in<br>
the QRegExp docu:<br>
<br>
while ((pos = rx.indexIn(str, pos)) != -1) {<br>
list << rx.cap(1);<br>
pos += rx.matchedLength();<br>
}<br>
<br>
and cut up the list as you go.<br></blockquote><div><br>Ok, I'll try it as soon as possible =) <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>
> * The editor works pretty good, I tried it and works perfectly.<br>
<br>
great :)<br>
<br>
> * The previewer is awesome, but its possible to test it with a "fake"<br>
> package and see if it load it correctly ?<br>
<br>
can you try it on a real package loaded in plasmate?<br></blockquote><div><br>I'll have a look ! <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>
Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Development Frameworks<br></blockquote></div>