D8254: Make file ioslave backend on removeables are user-frendly on linux

2017-12-03 Thread Oswald Buddenhagen
ossi added inline comments. INLINE COMMENTS > file_unix.cpp:241 > QFile dest_file(dest); > -if (!dest_file.open(QIODevice::Truncate | QIODevice::WriteOnly)) { > +int dest_fd = ::open(dest.toStdString().c_str(), O_CREAT | O_TRUNC | > (is_removeable? O_SYNC : 0) | O_WRONLY); > +if

D8254: Make file ioslave backend on removeables are user-frendly on linux

2017-12-02 Thread David Faure
dfaure added reviewers: ossi, thiago. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8254 To: vova7890, #frameworks, dfaure, ossi, thiago Cc: dfaure, ngraham, alexeymin, #frameworks

D8254: Make file ioslave backend on removeables are user-frendly on linux

2017-12-02 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. I suppose `put()` should do the same, then? INLINE COMMENTS > file_unix.cpp:72 > + */ > +static QString blockDeviceByPath(const QString &filename) > +{ Doesn't KMountPoint::curre

D8254: Make file ioslave backend on removeables are user-frendly on linux

2017-10-11 Thread Nathaniel Graham
ngraham added a reviewer: Frameworks. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8254 To: vova7890, #frameworks Cc: alexeymin, #frameworks

D8254: Make file ioslave backend on removeables are user-frendly on linux

2017-10-11 Thread Vova
vova7890 created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY Currently on linux copying file on the flash drive is showing momental progress 0 -> 100% and at the end of 100% is waiting while file are