D25682: [WIP] add initial wsdiscovery support

Harald Sitter noreply at phabricator.kde.org
Mon Dec 2 13:50:50 GMT 2019


sitter created this revision.
Herald added projects: Dolphin, Frameworks.
Herald added subscribers: kfm-devel, kde-frameworks-devel.
sitter requested review of this revision.

REVISION SUMMARY
  needs kdsoap >= 1.8.50 (current master).
  builds a static variant of kdsoap-ws-discovery-client but can also
  use system's version if available.
  
  also reinvents how discovery works:
  there are now Discoverers for dnssd and wsd that get started/stopped.
  the Discoverers discover servers and emit them as Discoveries. Discoveries
  are then converted to udsentries for kio.
  
  todo:
  
  - cleanup pragmas/warnings
  - cleanup qdebugs and/or categorize
  - split the browse function to ease readability
  - cleanup includes
  - get rid of icon overlays
  - figure out a way to get better context menus for non-file entries. this is a general problem with KIO. because it only understands unix dirent types the context menus for artificial things as appearing in discovery slaves (smb and network for instance) are lackluster

TEST PLAN
  discover all the things!
  
  - windows 10 test vm with remote address
  - https://github.com/christgau/wsdd on remote host
  - avahi smb on remote host

REPOSITORY
  R320 KIO Extras

BRANCH
  wsdiscovery

REVISION DETAIL
  https://phabricator.kde.org/D25682

AFFECTED FILES
  smb/CMakeLists.txt
  smb/discovery.cpp
  smb/discovery.h
  smb/dnssddiscoverer.cpp
  smb/dnssddiscoverer.h
  smb/kdsoap-ws-discovery-client/.gitignore
  smb/kdsoap-ws-discovery-client/.gitlab-ci.yml
  smb/kdsoap-ws-discovery-client/CMakeLists.txt
  smb/kdsoap-ws-discovery-client/CMakeLists.txt.user
  smb/kdsoap-ws-discovery-client/KDSoapWSDiscoveryClientConfig.cmake.in
  smb/kdsoap-ws-discovery-client/LICENSE
  smb/kdsoap-ws-discovery-client/README.md
  smb/kdsoap-ws-discovery-client/examples/CMakeLists.txt
  smb/kdsoap-ws-discovery-client/examples/onvif-discover/CMakeLists.txt
  smb/kdsoap-ws-discovery-client/examples/onvif-discover/main.cpp
  smb/kdsoap-ws-discovery-client/examples/onvif-discover/onvifdiscover.cpp
  smb/kdsoap-ws-discovery-client/examples/onvif-discover/onvifdiscover.h
  smb/kdsoap-ws-discovery-client/src/CMakeLists.txt
  smb/kdsoap-ws-discovery-client/src/wsdiscoveryclient.cpp
  smb/kdsoap-ws-discovery-client/src/wsdiscoveryclient.h
  smb/kdsoap-ws-discovery-client/src/wsdiscoveryprobejob.cpp
  smb/kdsoap-ws-discovery-client/src/wsdiscoveryprobejob.h
  smb/kdsoap-ws-discovery-client/src/wsdiscoverytargetservice.cpp
  smb/kdsoap-ws-discovery-client/src/wsdiscoverytargetservice.h
  smb/kdsoap-ws-discovery-client/wsdl/docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-schema-os.xsd
  smb/kdsoap-ws-discovery-client/wsdl/docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-wsdl-os.wsdl
  smb/kdsoap-ws-discovery-client/wsdl/download.sh
  smb/kdsoap-ws-discovery-client/wsdl/schemas.xmlsoap.org/ws/2004/08/addressing
  smb/kdsoap-ws-discovery-client/wsdl/schemas.xmlsoap.org/ws/2004/09/transfer/transfer.wsdl
  smb/kdsoap-ws-discovery-client/wsdl/schemas.xmlsoap.org/ws/2004/09/transfer/transfer.xsd
  smb/kdsoap-ws-discovery-client/wsdl/schemas.xmlsoap.org/ws/2005/04/discovery/ws-discovery.wsdl
  smb/kdsoap-ws-discovery-client/wsdl/schemas.xmlsoap.org/ws/2005/04/discovery/ws-discovery.xsd
  smb/kdsoap-ws-discovery-client/wsdl/www.w3.org/2006/03/addressing/ws-addr.xsd
  smb/kio_smb.h
  smb/kio_smb_browse.cpp
  smb/wsdiscoverer.cpp
  smb/wsdiscoverer.h

To: sitter
Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191202/c4a46804/attachment.html>


More information about the Kde-frameworks-devel mailing list