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

Romário Rios bugzilla_noreply at kde.org
Tue Nov 26 14:52:40 GMT 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 |https://invent.kde.org/netw
                   |ork/kio-extras/-/commit/298 |ork/kio-extras/-/commit/109
                   |12ce5eca140c61337ac8a36aa91 |d8a82ab673f6e5111b57051842c
                   |a0b1bc5ab7                  |ff4a81ec31

--- Comment #8 from Romário Rios <luizromario at gmail.com> ---
Git commit 109d8a82ab673f6e5111b57051842cff4a81ec31 by Luiz Romário Santana
Rios.
Committed on 26/11/2024 at 13:46.
Pushed by romariorios into branch 'master'.

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

Besides that, the old NFSv2 code was removed, as it is no longer
supported in all major distros for a while now

M  +3    -3    nfs/CMakeLists.txt
M  +9    -11   nfs/README
M  +198  -298  nfs/kio_nfs.cpp
M  +73   -65   nfs/kio_nfs.h
D  +0    -1751 nfs/nfsv2.cpp
D  +0    -81   nfs/nfsv2.h
M  +441  -414  nfs/nfsv3.cpp
M  +17   -17   nfs/nfsv3.h
D  +0    -659  nfs/rpc_nfs2_prot.h
D  +0    -574  nfs/rpc_nfs2_prot.x
D  +0    -936  nfs/rpc_nfs2_prot_xdr.c

https://invent.kde.org/network/kio-extras/-/commit/109d8a82ab673f6e5111b57051842cff4a81ec31

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


More information about the kfm-devel mailing list