Commit graph

19 commits

Author SHA1 Message Date
Saikrishna Arcot
05fdbe0e5b Add support for receiving keyboard entries.
This patch gets the keyboard entries from the Android client and passes
along the keycode.

REVIEW: 119254
2014-08-14 18:01:31 +02:00
Albert Vaca
dfbe7c7bfc Trying to fix daemon not detecting connection to phone via usb tethering
Probably it was not detecting connections to a wired interface either,
this should do the trick but it's a bit weird having to connect to
QNetworkConfigurationManager::configurationAdded() to know about that.
2014-08-11 18:57:49 +02:00
Albert Vaca
a3b89da9c7 Minor changes 2014-08-11 18:57:48 +02:00
Aleix Pol
380006114a Use the incoming/outgoing capabilities for trimming loaded plugins
Only lets the plugins that support something offered on the other end or
that offer something supported on the other end. If we don't have
information about the other device, we enable everything like we used to.

Also refactors a bit the plugin loader, to be able to provide information
step by step.

Currently it works, but we need support for capabilities at least on
Android to start taking good advantage of it.

REVIEW: 118820
CCMAIL: kdeconnect@kde.org
2014-07-11 01:54:19 +02:00
Albert Vaca
cabb0f2f7b Simplified debug areas so we only have one, called "kdeconnect" 2014-07-01 01:26:08 +02:00
David Suárez
dcfb37c85b Provide versioned so files for kdeconnectcore lib
REVIEW: 119013
2014-06-30 01:12:49 +02:00
Aleix Pol
c8dbbed685 Move the send ping code to the ping plugin
turn it into a dbus call to the plugin

Reviewed by Albert Vaca
2014-06-27 18:21:40 +02:00
Raphael Kubo da Costa
2df8a8064f LanLinkProvider: Bind the UDP server socket to Any, not Broadcast.
Trying to bind a UDP socket to 255.255.255.255 fails with EADDRNOTAVAIL
at least on FreeBSD.

The sender side on Android should send its message in broadcast mode (as
it already does), but the receiver side should bind to INADDR_ANY, not
INADDR_BROADCAST.

BUG:	324769
REVIEW:	118870
2014-06-27 00:20:23 +03:00
Christophe Giboudeaux
5a91db4427 Use the compat link_public/link_private keywords instead.
Just removing the public/private keywords uncovers some other build errors.
2014-06-24 23:27:46 +02:00
Christophe Giboudeaux
ec9317e7ef Fix build with older CMake versions. 2014-06-24 22:40:23 +02:00
Aleix Pol
43a7c60c80 Display the user-name in the display name
Describes better what device we're linking to.

REVIEW: 118807
2014-06-21 02:05:55 +02:00
Aleix Pol
43a24ac12e Figure out Messages.sh after code refactoring
KDED is translated again
Rename the core's pot to kdeconnect-core.pot and make sure the library
loads the catalog when it's linked to.
Provide a separate translations file for all the plugins, together.

REVIEW: 118774
2014-06-17 18:45:47 +02:00
Albert Vaca
734b27ed50 De-duplicated small piece of code 2014-06-15 21:40:19 +02:00
Aleix Pol
6ce0b6b874 Document in the desktop files the outgoing types for the plugins
This way we narrow the things a plugin can send, to its own scope. Still
every plugin can set a list of types, so it should be ok.
2014-06-14 20:35:00 +02:00
Aleix Pol
b7420146eb Expose the icon name from the device instance 2014-06-14 19:42:34 +02:00
Aleix Pol
96d6e4bccb install kdeconnectcore 2014-06-14 18:04:54 +02:00
Aleix Pol
741abafaf7 Move the plugins into a different top-ĺevel directory
Reviewed by Albert Vaca
2014-06-14 16:34:11 +02:00
Albert Vaca
232c43838c Removed unused variable 2014-06-14 16:22:30 +02:00
Aleix Pol
b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +02:00