<table><tr><td style="">feverfew created this revision.<br />feverfew added reviewers: dfaure, fvogt, chinmoyr, apol.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />feverfew 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/D23194">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch does the following:</p>
<ol class="remarkup-list">
<li class="remarkup-list-item">Makes sure the close() signal is actually emitted when close() is called.</li>
<li class="remarkup-list-item">Documents the FileJob functions more accurately, and ensures the file slave acts similarly to the two other slaves that implement these functions</li>
</ol>
<p>(smb/sftp).</p>
<ol class="remarkup-list" start="3">
<li class="remarkup-list-item">Fixes an issue when purposefully reading 0 bytes.</li>
</ol></div></div><br /><div><strong>TEST PLAN</strong><div><p>The application I am developing on that depends on FileJob now successfully receives the close() signal when required and does not experience the bug <br />
mentioned when reading 0 bytes. <br />
Existing read/write/seek functionality is not broken.<br />
Tests also pass.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>ConsistentRead (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23194">https://phabricator.kde.org/D23194</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/filejob.cpp<br />
src/core/filejob.h<br />
src/core/slavebase.cpp<br />
src/core/slavebase.h<br />
src/core/slaveinterface.cpp<br />
src/core/slaveinterface.h<br />
src/ioslaves/file/file.cpp<br />
src/ioslaves/file/file.h</div></div></div><br /><div><strong>To: </strong>feverfew, dfaure, fvogt, chinmoyr, apol<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>