Commit graph

691 commits

Author SHA1 Message Date
Lukáš Tinkl
743f7548e0 i18n fixes 2014-09-08 03:09:18 +02:00
Lukáš Tinkl
408d8e4f3b don't create a bogus org.kde.org.kde.kdeconnect service on the bus 2014-09-07 17:54:58 +02:00
Sebastian Kügler
506bd2a890 add qjson includes at top-level
It's needed by plugins as well, not just by the core.

Reviewed-by: Aleix
2014-09-07 14:12:00 +02:00
Elias Probst
79edcf5685
Visual streamlining of plasmoid.
Adapt the 'No paired devices available' message's style to the style
used by plasma-workspace plasmoids.

REVIEW: 120031
2014-09-02 08:13:26 +02:00
Aleix Pol
28097e84e4 Fix qml warnings 2014-09-01 17:49:18 +02:00
Aleix Pol
e82850411d Import error reporting
I was getting a crash, it was because of a set up problem, but having this
helped me to figure it out.
2014-09-01 17:49:09 +02:00
Christophe Giboudeaux
5bf93af31e Add FindLibFakeKey.cmake.
The build system cannot guess that a new build dependency was added.
2014-08-27 15:35:21 +02:00
Christophe Giboudeaux
b7eb49d996 -Wmissing-include-dirs 2014-08-27 15:10:59 +02:00
Elias Probst
16f2251019 Streamline internal naming (kdeconnect → org.kde.kdeconnect)
- correct PluginName in metadata
- correct plasmoid installation directory
- correct appName in aboutData
- remove trailing whitespace.

REVIEW: 119937
2014-08-26 01:37:35 +02:00
Elias Probst
5ee8f9e5a2 Protect org.kde.kdeconnect against external module registration
Fixes this message on plasmashell startup:
Module 'org.kde.kdeconnect' does not contain a module identifier
directive - it cannot be protected from external registrations.

REVIEW: 119923
2014-08-24 17:53:10 +02:00
Elias Probst
573c591a9c Correct typo (Porcess → Process). 2014-08-21 01:16:43 +02:00
Elias Probst
0b67371b11 Correct kcmshell version in desktop files (4 → 5).
REVIEW: 119856
2014-08-20 14:58:48 +02:00
Albert Vaca
ea5d9c8eca MousePad: Added support for any UTF character and more special keys.
I've also removed modifiers like Shift and Ctrl by now.

LibFakeKey is now a dependency of this plugin, as it allows us to send UTF
characters as X11 keys in a simple and convenient way. Internally it uses a
convention in Xlib, that allows to pass UTF characters as keycodes just by
adding 0x01000000 to the keycode number.

CCMAIL: saiarcot895@gmail.com
2014-08-14 21:35:23 +02:00
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
e809fa441c Added a refresh button to KCM, just in case.
We already have a refresh button on Android.
2014-08-11 18:57:49 +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
Albert Vaca
871a2bf5a9 Fixed crash when shutting down the daemon 2014-08-11 18:57:48 +02:00
l10n daemon script
ee4f486516 SVN_SILENT made messages (.desktop file) 2014-08-07 04:18:55 +00:00
Aleix Pol
fbb0a130b3 Remove unneeded Qt dependecies 2014-08-04 03:36:00 +02:00
Aleix Pol
e41ca57045 Improve look&feel of kdeconnect plasmoid
Provide a good initial size
Use compact representation when on a panel, full when on the desktop (this
prevented the icon to show on the system tray).

Reviewed by Albert Vaca
2014-08-01 12:04:44 +02:00
l10n daemon script
23728bb7e5 SVN_SILENT made messages (.desktop file) 2014-07-25 05:45:47 +00:00
l10n daemon script
dccd749948 SVN_SILENT made messages (.desktop file) 2014-07-16 05:02:58 +00: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
Martin Gräßlin
685e821d0a Set path to kdeconnectd executable through cmake
Libexec binaries need to be hardcoded, otherwise they are not found.
This commit creates a config file and sets the path there.

REVIEW: 119148
2014-07-07 18:24:29 +02:00
David Suárez
c935ea8334 TestSocketLineReader: Ensure we provide a more appropiate message if we fail trying to open a connection to the client
A litle irrelevant change :)

BTW, I'm encounter this test error on Debian kfreebsd i386:
  https://buildd.debian.org/status/fetch.php?pkg=kdeconnect&arch=kfreebsd-i386&ver=0.7-1&stamp=1404242653

Maybe someone have a clue on what is happening here :)

REVIEW: 119091
2014-07-07 12:45:13 +02:00
l10n daemon script
fbc749d4cd SVN_SILENT made messages (.desktop file) 2014-07-07 04:35:28 +00:00
Martin Gräßlin
0f334d053f Fix Plasmoid porting errors
Some types changed causing the Plasmoid to end in reference errors.

REVIEW: 119149
2014-07-06 19:33:07 +02:00
l10n daemon script
6b30bc7435 SVN_SILENT made messages (.desktop file) 2014-07-05 04:21:28 +00:00
l10n daemon script
48c0f6be0d SVN_SILENT made messages (.desktop file) 2014-07-03 04:24:38 +00:00
l10n daemon script
3cfe911049 SVN_SILENT made messages (.desktop file) 2014-07-02 04:31:45 +00:00
Aleix Pol
a8fb015a22 Fix compilation after merge 2014-07-02 01:39:38 +02:00
Albert Vaca
a303b73238 Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	plasmoid/package/contents/ui/FullRepresentation.qml
	plugins/ping/pingplugin.cpp
2014-07-01 23:59:38 +02:00
l10n daemon script
b2d50aaf9a SVN_SILENT made messages (.desktop file) 2014-07-01 06:21:38 +00:00
Aleix Pol
5aeb71873c Fix cmake warning, make link visibility explicit for kdeconnectinterfaces 2014-07-01 02:16:45 +02:00
Albert Vaca
cd8864fd92 Trying to fix a warning in the plasmoid: "root not defined" 2014-07-01 01:26:08 +02:00
Albert Vaca
12411da360 Added some debug info to devices and notifications models 2014-07-01 01:26:08 +02:00
Albert Vaca
cabb0f2f7b Simplified debug areas so we only have one, called "kdeconnect" 2014-07-01 01:26:08 +02:00
Albert Vaca
3147067fbf Fixed notifications not being appearing in the model nor in the plasmoid
The parent of the QDbusAdaptor has to be a Device, and now it was a
KdeConnectPlugin for the Notifications plugin.

Instead of passing the parent (that is actually a Device) to the
QDbusAdaptor as we were doing in the Battery plugin, I preferred to get the
actual Device from the KdeConnectPlugin, even though it needs a const_cast.
2014-07-01 01:26:07 +02:00
Albert Vaca
d72ebc4cf7 Workaround to make devices be correctly filtered again.
Flags in QML are not working correctly (as they are in Qt5), so we will
use integer values for the flags for now.
2014-07-01 01:26:07 +02:00
Albert Vaca
4ef2a07f7b CLI can now list notifications from a device 2014-07-01 01:26:07 +02:00
l10n daemon script
b18276f44e SVN_SILENT made messages (.desktop file) 2014-06-30 04:42:38 +00:00
David Suárez
dcfb37c85b Provide versioned so files for kdeconnectcore lib
REVIEW: 119013
2014-06-30 01:12:49 +02:00
Albert Vaca
c32ff31516 Should not scroll if dy is 0 2014-06-29 17:52:07 +02:00
Albert Vaca
0a87194d38 Git: ignore *.kdev4 2014-06-29 17:46:39 +02:00
Albert Vaca
9cba780f75 Added right and middle click, even though it's not implemented in Android yet
CCMAIL: ahmedibrahimkhali@gmail.com
2014-06-29 17:30:24 +02:00
Ahmed Ibrahim Khalil
178fcc128d Implemented scrolling, by sending scroll down or scroll up button events,
according to the difference value.

REVIEW: 119006
2014-06-29 17:22:31 +02:00
Albert Vaca
4132f0c373 Renamed mousepad -> touchad 2014-06-29 16:14:31 +02:00
l10n daemon script
a48b066ab4 SVN_SILENT made messages (.desktop file) 2014-06-29 04:35:25 +00:00
l10n daemon script
7ff09fe2bb SVN_SILENT made messages (.desktop file) 2014-06-28 04:21:58 +00:00