Commit graph

526 commits

Author SHA1 Message Date
Àlex Fiestas
d3aec4887f Add content to the body that will be serialized
Just to make extra sure that the serializer works correctly.
2014-09-13 00:16:26 +02:00
Àlex Fiestas
a0ff36625d Make sure we have initialized QCA before using it
QCA::isSupported uses a private global object that is 0 if
QCA::Initializer is not instanciated.
2014-09-12 23:32:19 +02:00
Lukáš Tinkl
994057af0e fix the Configure action
display the kdeconnect kcm
2014-09-10 10:19:44 +02:00
Sune Vuorela
e3237881aa Catch a misconfigured QCA a bit earlier.
REVIEW:120095
2014-09-09 09:19:07 +02:00
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
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
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
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
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
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
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
Albert Vaca
46ca1e7109 Fixed wordpress being used as organization name and exported to dbus
Reviewed by Aleix Pol
2014-06-27 18:34: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
Aleix Pol
59cab0dc06 When trying to send file, actually tell the plugin to send the file
Works wonderfully on new apk's. \o/

Reviewed by Albert Vaca
2014-06-27 16:46:49 +02:00
Aleix Pol
db0d30e2e9 When listing from the cli, display if a device is paired. 2014-06-27 16:18:43 +02:00
Aleix Pol
446dbbc230 Remove IsPairedRole
It was not a good idea
2014-06-27 16:16:45 +02:00
Aleix Pol
e227c61cf8 Expose flags so that the plasmoid doesn't need to use magic numbers 2014-06-27 16:09:01 +02:00
Albert Vaca
5379bba551 Fixed displayFilter in plasmoid that not was updated when we changed the enum 2014-06-27 16:05:49 +02:00
Ahmed Ibrahim Khalil
d14b4411cd Implementation of mousepad plugin
CCMAIL: ahmedibrahimkhali@gmail.com
2014-06-27 15:43:34 +02:00
Aleix Pol
e1813b16f3 Port plasmoid 2014-06-27 15:29:53 +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
l10n daemon script
7cbd1c0d57 SVN_SILENT made messages (.desktop file) 2014-06-24 05:03:52 +00:00
Aleix Pol
02e18a9759 Extend kdeconnect-cli
Make it show whether devices are paired.
Let it un/pair devices.

Reviewed by Albert Vaca
2014-06-23 18:15:10 +02:00
Aleix Pol
dc2f9c0f3c Introduce a IsPaired role in the DevicesModel
Reviewed by Albert Vaca
2014-06-23 18:13:43 +02:00