[dolphin] [Bug 483237] NFS ioworker needs porting to KF6

Romário Rios bugzilla_noreply at kde.org
Sat Apr 27 10:04:15 BST 2024


https://bugs.kde.org/show_bug.cgi?id=483237

Romário Rios <luizromario at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/kio-extras/-/commit/298
                   |                            |12ce5eca140c61337ac8a36aa91
                   |                            |a0b1bc5ab7
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #7 from Romário Rios <luizromario at gmail.com> ---
Git commit 29812ce5eca140c61337ac8a36aa91a0b1bc5ab7 by Luiz Romário Santana
Rios.
Committed on 01/04/2024 at 02:40.
Pushed by meven into branch 'kio-extras-work/romariorios/nfs-kf6'.

Migrate NFS KIO worker to KIO::WorkerBase

Some necessary changes included

- Making every function that called setError return WorkerResult
- Making getFileHandle return an expected/result-like result to
  ensure any errors getting the file handle are passed along to
  the caller
- Update virtual method implementations to return WorkerResult

Due to the vast differences in error reporting between KF5's SlaveBase
and KF6's WorkerBase, some of the error logic might have been altered

M  +154  -200  nfs/kio_nfs.cpp
M  +67   -51   nfs/kio_nfs.h
M  +325  -305  nfs/nfsv2.cpp
M  +14   -14   nfs/nfsv2.h
M  +388  -360  nfs/nfsv3.cpp
M  +16   -16   nfs/nfsv3.h

https://invent.kde.org/network/kio-extras/-/commit/29812ce5eca140c61337ac8a36aa91a0b1bc5ab7

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list