kio_giobridge IO slave

nf2 nf2 at scheinwelt.at
Thu Jan 3 02:35:29 GMT 2008


Over the Christmas holidays i have written an experimental kio_gio/gvfs
bridge IO slave for KDE4:

The kprotocolinfo system has been extended to allow a "multi protocol"
slave (protocol = "*") which receives all calls for protocols not known
to KIO. Furthermore there is a "OverrulesProtocols" parameter to
override some protocols which KIO already provides.

[Protocol]
exec=kio_giobridge
protocol=*
OverrulesProtocols=smb,sftp
[...]

Here is a screenshot of dolphin, listing a folder on a gvfs smb mount:

http://www.scheinwelt.at/~norbertf/devel/stuff/kio_giobridge.png

http://www.scheinwelt.at/~norbertf/devel/stuff/kdelibs_gio_080103.patch

The patch integrates "kio_giobridge" into kdelibs. It supports
all the major file operations - i was able create text files, rename,
copy them, create folders and open files with kwrite - but of course
this is still very rough and a lot of things are missing...

btw, sometimes kde crashes with this stacktrace. perhaps someone can
help me:

[...]
#10 0xb7dcc0a1 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7dcc20d in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb76c0a30 in KDirModelPrivate::_k_slotNewItems (this=0x8282360,
     items=@0x8742f38)
     at /space/ablage/playground/src/kde4/kdelibs/kio/kio/kdirmodel.cpp:297
[...]

Norbert



More information about the kde-core-devel mailing list