Commit graph

545 commits

Author SHA1 Message Date
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
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
Aleix Pol
9ec74a8834 The clipboard plugin also needs to send clipboard packages
Note that kbuildsycoca4 needs to be run after the change.

CCMAIL: albertvaka@gmail.com
2014-06-23 17:30:23 +02:00
l10n daemon script
7bbf49cc61 SVN_SILENT made messages (.desktop file) 2014-06-21 04:25:08 +00: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
cb23fc1691 Change plasmoid name capitalization
It looks better when we display it to the end-user, which happens quite
easily in Plasma Next.
2014-06-21 02:04:28 +02:00
l10n daemon script
2da541f5f6 SVN_SILENT made messages (.desktop file) 2014-06-20 04:55:41 +00:00
l10n daemon script
c23b83ea09 SVN_SILENT made messages (.desktop file) 2014-06-19 04:30:11 +00:00
Aleix Pol
8933782874 Submit .reviewboardrc file
Simplifies reviewboard patches submision
2014-06-18 02:42:07 +02:00
Albert Vaca
f12a3768b4 Translated sendfileitemaction and the CLI 2014-06-17 22:21:58 +02:00
Albert Vaca
1f6cca406a Added a TODO 2014-06-17 22:21:31 +02:00
Albert Vaca
dd43479956 Now plugins load by default the kdeconnect-plugins catalog. 2014-06-17 22:21:20 +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
l10n daemon script
43267c74cc SVN_SILENT made messages (.desktop file) 2014-06-16 04:30:47 +00:00
Albert Vaca
734b27ed50 De-duplicated small piece of code 2014-06-15 21:40:19 +02:00
Albert Vaca
8c7c95f98b Workaround for the bug where old notifications could not be erased 2014-06-15 21:40:18 +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
9459001fbe Use the icon for the device, in the file item actions
This way, we have visual information of what type of file we're sending it
to.
2014-06-14 19:42:34 +02:00
Aleix Pol
b7420146eb Expose the icon name from the device instance 2014-06-14 19:42:34 +02:00
Aleix Pol
61fcf3f4ba Improve exposed actions
If there's no paired devices, show nothing.
If there's one, just one action to send directly from.
If there's more, then show the submenu
2014-06-14 19:42:33 +02:00
Aleix Pol
a2e6632759 Introduce a fileitemactionplugin
This way we can send files to all devices.
2014-06-14 19:42:33 +02:00
Albert Vaca
5177937e95 Removed old TODO 2014-06-14 18:05:34 +02:00
Aleix Pol
96d6e4bccb install kdeconnectcore 2014-06-14 18:04:54 +02:00
Aleix Pol
7a0557f482 cmake fixes
Use the new directory structure when installing generated files.
Remove unneeded add_dependencies calls.
2014-06-14 16:56:41 +02:00
Rohan Garg
83c882cbdd Fix build 2014-06-14 16:50: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