<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/110414/">http://git.reviewboard.kde.org/r/110414/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On May 27th, 2013, 4:19 a.m. UTC, <b>Percy Camilo Triveño Aucahuasi</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Hi Punit, some comments:
I had to change json to JSON in cmake files in order to build (I'm in debian with qjson 0.8.1-1) ... and I don't know why, maybe some changes in qjson-devel or something (so -if it is possible- better we put a guard in cmake files for this)
Also, I really think that this kind of changes should be one of the last, let me explain: currently Khipu will crash when one want to create many plots and spaces, so there is not effective way to test if this changes are good enough; what I try to say is that first we need to have a consistent behaviour of Khipu in memory, so when the behaviour is validated and well tested then, later, we can to map from memory to disk. So once all (>90%) in Khipu goes well (at memory level) we'll comeback to this review.
Finally, -for future- I noted that all the code from save action is in the widget, I think we can try to decouple gui from application logic through classes like DataStore or Document (tip Document::save(const PlotsModel *, const SpacesModel *) maybe)
Thanks for your work, keep going :)
Percy
</pre>
</blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Isn't open/save a good use case for creating and removing spaces? It can even be used as a test...</pre>
<br />
<p>- Aleix</p>
<br />
<p>On May 20th, 2013, 3:45 p.m. UTC, Punit Mehta wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for KDE Edu, Aleix Pol Gonzalez and Percy Camilo Triveño Aucahuasi.</div>
<div>By Punit Mehta.</div>
<p style="color: grey;"><i>Updated May 20, 2013, 3:45 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">As we discussed the outline for khipu-specific file , I have implemented this feature. The attached diff contains the feature for save Action in Khipu. I have used qjson for file format.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Done..! worked perfect for any situtation I have come across. !</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>CMakeLists.txt <span style="color: grey">(f7dc583)</span></li>
<li>src/CMakeLists.txt <span style="color: grey">(0a50c54)</span></li>
<li>src/datastore.h <span style="color: grey">(a1276a7)</span></li>
<li>src/datastore.cpp <span style="color: grey">(616e0cc)</span></li>
<li>src/mainwindow.h <span style="color: grey">(1f059f8)</span></li>
<li>src/mainwindow.cpp <span style="color: grey">(9d6e010)</span></li>
<li>src/plotseditor.h <span style="color: grey">(47304c6)</span></li>
<li>src/plotseditor.cpp <span style="color: grey">(106cdf5)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/110414/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>