Revision 5e151d1...

Go back to digest for 3rd November 2013

Features in Development Tools

Albert Vaca Cintora committed changes in [kdeconnect-kde] /:

Improved package dispatch to the different plugins

Before this patch, all plugins had to discard received packages that were
not for themselves. This could be a security problem (a plugin could sniff
other plugin's packages) and also adds some complexity and processing.

This patch makes the device instance aware of what services are required
by the different plugins and when a package is received the corresponding
plugins will get the package.

These services will be listed on the plugin's desktop file, so the user
can decide whether to enable a plugin.

Note that this only works for receiving, not sending.

REVIEW: 113210

File Changes

Modified 22 files
  •   kded/device.cpp
  •   kded/device.h
  •   kded/networkpackagetypes.h
  •   kded/plugins/kdeconnect_plugin.desktop
  •   kded/plugins/pluginloader.cpp
  •   kded/plugins/pluginloader.h
  •   kded/plugins/battery/batteryplugin.cpp
  •   kded/plugins/battery/kdeconnect_battery.desktop
  •   kded/plugins/clipboard/clipboardplugin.cpp
  •   kded/plugins/clipboard/kdeconnect_clipboard.desktop
  •   kded/plugins/mpriscontrol/kdeconnect_mpriscontrol.desktop
  •   kded/plugins/mpriscontrol/mpriscontrolplugin.cpp
  •   kded/plugins/notifications/kdeconnect_notifications.desktop
  •   kded/plugins/notifications/notificationsplugin.cpp
  •   kded/plugins/pausemusic/kdeconnect_pausemusic.desktop
  •   kded/plugins/pausemusic/pausemusicplugin.cpp
  •   kded/plugins/ping/kdeconnect_ping.desktop
  •   kded/plugins/ping/pingplugin.cpp
  •   kded/plugins/sharereceiver/kdeconnect_sharereceiver.desktop
  •   kded/plugins/sharereceiver/sharereceiverplugin.cpp
  •   kded/plugins/telephony/telephonyplugin.cpp
  •   kded/plugins/telephony/telephonyplugin.h
22 files changed in total