Commit graph

4659 commits

Author SHA1 Message Date
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
Albert Vaca
43932a4300 Added battery reporting via dbus interface 2013-07-26 16:21:19 +02:00
Albert Vaca
d48b8f145b Call notifications now show 'unknown number' instead of nothing when receiving a private call 2013-07-25 18:18:50 +02:00
Albert Vaca
ee7f6b0c6d Fixed cmakelists bug that made necessary to run make without -j
Using a nicer dbus syntax in pausemusicpackageinterface
2013-07-25 17:04:58 +02:00
Albert Vaca
c2336a22a1 Separated repo in two: kded and android 2013-07-25 00:23:30 +02:00
Albert Vaca
ba129a1542 PauseMusicPackageInterface now supports MPRIS
Other small improvements
2013-07-24 23:51:06 +02:00
Albert Vaca
54de8fa2fa Android: Uses Apache Mina to abstract socket management
KDE: Housekeeping
2013-07-24 18:42:33 +02:00
Albert Vaca
8751345575 Some bugs fixed and sockets keepalive enabled 2013-07-23 20:22:38 +02:00
Albert Vaca
30b920b9a1 Added clipboard sync
Merged "package emitters" and "package receivers" in "package interfaces"
2013-07-23 17:50:09 +02:00
Albert Vaca
7ef29fdd69 Implemented bi-directional communication using tcp. 2013-07-23 16:11:54 +02:00
Albert Vaca
acadeef76d Rewritten old package emitters and receivers using the new package format
Splitted up ping receiver from notification receiver in KDE
Improved pausemusic receiver
Fixed same computer being discovered multiple times
Fixed some other minor bugs and compilation warnings
2013-07-04 19:17:22 +02:00
Albert Vaca
fa3e0145ad Package version checks 2013-07-04 14:31:47 +02:00
Albert Vaca
17d0fd4902 Added unit tests for n tests for networkpackage serialization 2013-07-04 03:34:35 +02:00
Albert Vaca
b1e4e2d836 New networkpackage format and serialization using qjson and qvariantmap (and templates fun) 2013-07-04 01:09:49 +02:00
Albert Vaca
975892dcd0 Yet another refactor, mostly moving code from from daemon class to device class
Device now has a public dbus interface
Removed wizard from kcm: now the main list shows all the devices and you can pair/unpair using a checkbox
Both Kde and Android now use unique device ids
2013-07-03 03:52:44 +02:00
Albert Vaca
213e8ea9ad Fixed android app bug 2013-07-02 15:22:05 +02:00
Albert Vaca
669edf8ea5 It even works now 2013-07-02 02:46:41 +02:00
Albert Vaca
5fbd33e8c5 Implemented communication wizard -> kcm
Renamed androidshine -> kdeconnect
2013-07-02 01:50:32 +02:00
Albert Vaca
5027b7ee8e Device listing in kcm 2013-06-27 14:33:51 +02:00
Albert Vaca
1bdd3eb97b Basic communication between daemon and wizard 2013-06-27 02:26:06 +02:00
Albert Vaca
1f536de7e9 Started wizzard implementation 2013-06-27 02:13:16 +02:00
Albert Vaca
800de8836f DBus communication working 2013-06-25 21:19:17 +02:00
Albert Vaca
df12667f10 Fixed cmake build 2013-06-25 18:43:54 +02:00
Albert Vaca
3ff7779c7c Ooops 2013-06-25 18:08:34 +02:00