Commit graph

2132 commits

Author SHA1 Message Date
Albert Vaca
986c49d326 Changed generic license headers 2013-08-16 06:23:54 +02:00
Albert Vaca
b30371d174 Telephony "notifications" are now called "events" 2013-08-16 06:23:03 +02:00
Albert Vaca
12c0c940a7 Bugfix: access by id caused removal of wrong link 2013-08-16 06:22:37 +02:00
Albert Vaca
046d01c16d Emit connectionLost *after* connectionReceived
To prevent destroying and recreating the same device again
2013-08-16 05:35:00 +02:00
Albert Vaca
f194ab9a52 Plugins are not loaded until a device is reachable 2013-08-16 01:01:58 +02:00
Albert Vaca
d4632b31cc Removed KStatusNotifier from telephonyplugin 2013-08-16 01:01:05 +02:00
Albert Vaca
04e1705697 Removed extra line breaks 2013-08-16 00:28:07 +02:00
Albert Vaca
d1658564f9 Sort devices by status in KCM.
Some coded added to keep the current selection when reordering.
2013-08-16 00:25:13 +02:00
Albert Vaca
05983267e3 Fixed KCM device list not being refreshed
When a the device visibilita changes
2013-08-15 22:45:33 +02:00
Albert Vaca
f28088c915 Telephony plugin was missing the factory macros
+ Removed qdebug messages from ping plugin
2013-08-15 22:28:35 +02:00
Albert Vaca
622fdcc46e Fixed KCM crash on KDED restart
+ added a new datarole that could be useful to sort
2013-08-15 22:22:11 +02:00
Albert Vaca
4aac44801f KCM icon, name and other texts changed 2013-08-15 21:59:19 +02:00
Albert Vaca
d32a667f04 Telephony and pausemusic plugins now use kdeconnect.telephony packages (need changes in the Android code to work) 2013-08-14 06:46:24 +02:00
Albert Vaca
3d6178ae95 Fixed loopback link provider 2013-08-14 03:10:38 +02:00
Albert Vaca
df6c2f8604 Added a note to plugins that are not working yet 2013-08-14 01:37:13 +02:00
Albert Vaca
0f38eb34a4 Fixed crash: OMG QDbusAdaptors can not be removed!
Added a fixme for future reference
reloadPlugins() now recycles plugins already present
Lots of debug messages and minor changes added trying to fix the bug
2013-08-14 01:35:12 +02:00
Albert Vaca
2a1996cbf7 Oops, that didn't even compile 2013-08-14 00:18:32 +02:00
Albert Vaca
132804835c Added stubs for futurible plugins 2013-08-14 00:09:46 +02:00
Albert Vaca
2727148a35 Ooops, missing modified file 2013-08-14 00:09:05 +02:00
Albert Vaca
dcb722b50c Changed telephony plugin icon 2013-08-14 00:05:36 +02:00
Albert Vaca
d868211229 Migrated battery plugin to new format
Added notification when battery is low (untested!)
Added intial battery status request
2013-08-14 00:03:46 +02:00
Albert Vaca
16a18c3f30 Fixed warning and remove debug message 2013-08-13 23:26:42 +02:00
Albert Vaca
925e3abb3e Migrated notifications to new plugin format. Now it is called 'telephony plugin' because we will have a different plugin for notification syncing 2013-08-13 23:26:09 +02:00
Albert Vaca
238d81a408 Changing dbus interface to improve communication with kcm and the solid backend 2013-08-13 23:23:32 +02:00
Albert Vaca
8481a91057 Migrated clipboard plugin to new format 2013-08-13 15:48:41 +02:00
Albert Vaca
049c708743 Mpris plugin to new format +commited missing files
Added files missing from previous commits (KDevelop git support fault :)
Fixed includes in linkprovider.h
Added icons to plugins
2013-08-13 06:35:58 +02:00
Albert Vaca
a062c68848 TODO: Add icon suport for KCM 2013-08-13 06:13:04 +02:00
Albert Vaca
031f769ff6 Migrated PauseMusic to new plugin format 2013-08-13 06:09:14 +02:00
Albert Vaca
8c3056a286 Oops fixed crash introduced in previous commit 2013-08-13 06:03:12 +02:00
Albert Vaca
ac7f4d0618 Disable sending packages to untrusted devices 2013-08-13 05:40:39 +02:00
Albert Vaca
c9e67f3cf0 Support for X-KDE-PluginInfo-EnabledByDefault 2013-08-13 05:37:36 +02:00
Albert Vaca
7e8f31b4be Ooops 2013-08-13 05:15:57 +02:00
Albert Vaca
37de0654df Rename PackageInterface -> Plugin 2013-08-13 05:14:46 +02:00
Albert Vaca
88fab1f333 Plugins are now owned by devices and not by daemon
Plugins can no longer emit networkpackages for *every* device.
Plugins are stored in device, wich selectively loads them.
A Device is needed in order to instantiate a Plugin (via PluginLoader)
PluginLoader is a singleton, because every instance of Device need it.
Added KPluginSelector in the KCM to select the plugins to load.
Added architecture explanation to README

Only PingPlugin is working by now.
2013-08-13 05:07:32 +02:00
Albert Vaca
9b7eecc69d Moved plugins into separate folders and added KServiceTypeTrader 2013-08-12 16:09:52 +02:00
Albert Vaca
9022823aef Improved MPRIS controls.
MPRIS now uses xml dbus interfaces-
MPRIS now detects when properties like volume or playbas status change.
Link providers now emit connectionLost and connectionReceived, like in Android.
Disabled connection notifications.
Added some missing const modifiers.
2013-08-10 05:21:55 +02:00
Albert Vaca
af02ca7c74 Check when empty to avoid a crash 2013-08-08 19:09:42 +02:00
Albert Vaca
fc3e2eff1d Dynamic tcp port change when bind fails 2013-08-08 04:11:20 +02:00
Albert Vaca
003052093d Don't show connection notifications for unpaired devices 2013-08-07 19:15:53 +02:00
Albert Vaca
f2aff3c7ca Merge branch 'master' into BroadcastTcpLinkProvider 2013-08-07 18:25:10 +02:00
Albert Vaca
a43a479733 Fixed kcm crash 2013-08-07 18:23:45 +02:00
Albert Vaca
0336ae75de Bugfixing 2013-08-07 13:40:39 +02:00
Albert Vaca
d340df1e6e Uuids were invalid dbus paths, modifying them to make dbus happy 2013-08-07 11:45:24 +02:00
Albert Vaca
e6dfaa5916 Added BroadcastTcpLinkProvider 2013-08-07 11:29:56 +02:00
Albert Vaca
04c5955526 Fixed test 2013-08-06 03:40:26 +02:00
Albert Vaca
936d843194 Changed sms notification message 2013-08-01 02:32:43 +02:00
Albert Vaca
814001029e Added NetworkPackage explanation 2013-07-31 19:09:47 +02:00
Albert Vaca
2c1d63bf4d Added multi-device support for mpris, and current track reporting 2013-07-30 20:21:06 +02:00
Albert Vaca
7b0bbebc02 First implementation of the mpris control packageinterface 2013-07-29 18:43:13 +02:00
Albert Vaca
3eb6ecaa3f Implemented batterypackageinterface
Fixed CMake macro
2013-07-28 22:00:45 +02:00