Review Request 116811: Autorun scripts support to Octave backend

Filipe Saraiva filipe at kde.org
Sun Mar 30 16:26:23 UTC 2014



> On March 30, 2014, 1:35 p.m., Alexander Rieder wrote:
> > src/backends/octave/octavesession.cpp, line 107
> > <https://git.reviewboard.kde.org/r/116811/diff/1/?file=254128#file254128line107>
> >
> >     Is there a reason why do you construct the Expression by hand, instead of using evaluateExpression(cmd,Expression::DeleteOnFinish)? This would also set the finishingBehavior properly so you won't end up leaking memory for this expression.

Thanks Alex Rieder, no problem about the long time to review.
I tested your tip and now the code is using evaluateExpression and it is working fine. The new diff have this new version.
If it is ok, I will commit it.

Thank you.


- Filipe


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116811/#review54599
-----------------------------------------------------------


On March 30, 2014, 4:26 p.m., Filipe Saraiva wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116811/
> -----------------------------------------------------------
> 
> (Updated March 30, 2014, 4:26 p.m.)
> 
> 
> Review request for KDE Edu and Alexander Rieder.
> 
> 
> Repository: cantor
> 
> 
> Description
> -------
> 
> Added autorun scripts support to Octave backend
> 
> Hi Alex and kdeedu team, I am developing autorun scripts supports to some backends. This scripts are loaded when Cantor load a backend - it is based on R-backend. It is the support to Octave. I did some tests and it worked very well.
> 
> I would like to request a review in this code to you.
> 
> Thanks.
> 
> 
> Diffs
> -----
> 
>   src/backends/octave/octavebackend.kcfg cea1a89 
>   src/backends/octave/octavesession.cpp ebb156a 
>   src/backends/octave/settings.ui e245632 
> 
> Diff: https://git.reviewboard.kde.org/r/116811/diff/
> 
> 
> Testing
> -------
> 
> Open Octave backend, go to Settings -> Cantor's Settings -> Octave and add some commands.
> Close Cantor and open it again, selecting Octave backend.
> See if the commands were executed.
> 
> 
> Thanks,
> 
> Filipe Saraiva
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20140330/70a65da5/attachment-0001.html>


More information about the kde-edu mailing list