Aleix Pol
fd19426756
Make it possible to put NetworkPackage right into qDebug
2016-06-03 15:50:46 +02:00
Albert Vaca
c89b032569
Merge branch 'master' into sslrefactor
2016-06-03 00:48:15 +02:00
Albert Vaca
73f5996f14
Consistent naming of _REQUEST package type macros
2016-06-03 00:47:03 +02:00
Albert Vaca
5f8356b6db
Renaming a package type was a bad call
2016-06-03 00:47:03 +02:00
Frederik Schwarzer
471148f6ab
Fix wording.
2016-06-02 21:04:02 +02:00
Albert Vaca
7a0bb09353
Make sure we don't broadcast more than once at the same time.
...
Race conditions might happen because two links will be created.
2016-06-02 12:18:51 +02:00
Albert Vaca
778d0d3d2e
Make sure we send the commands list on first connection.
2016-06-02 12:17:24 +02:00
Albert Vaca
7a67274a18
Fixed memory leak.
2016-06-02 12:17:07 +02:00
Albert Vaca
0c48c00fa7
Added debug function to print a stack trace
2016-06-01 12:43:34 +02:00
Albert Vaca
04d5b12f8b
Merge branch 'master' into sslrefactor
2016-06-01 12:20:07 +02:00
Albert Vaca
75e6e3b2f8
Runcommand can now execute commands with pipes and other shell constructs
2016-06-01 12:19:39 +02:00
Harald Sitter
f071536649
force a lc_time to make sure the dummyTest passes
...
if the system locale is not en_US longMonthName might produce a localized
string, failing the qcompare.
REVIEW: 128067
2016-06-01 10:39:13 +02:00
Aleix Pol
b099bdd723
Use the macro in ECM to install kdeconnect plugins
2016-06-01 05:16:40 +02:00
Aleix Pol
5fcc0c9694
mpriscontrol doesn't send requests
2016-06-01 03:14:34 +02:00
Aleix Pol
a83998dae0
Remove absurd test
2016-06-01 02:29:28 +02:00
Aleix Pol
70d447f58f
better debug information
2016-06-01 01:14:30 +02:00
Aleix Pol
8805fed666
mpriscontrol doesn't send requests
2016-06-01 01:14:20 +02:00
Aleix Pol
702fbd09af
If interfaces are required is up to the plugin
2016-05-31 20:46:48 +02:00
Aleix Pol
16eccd46d3
Restore having plugins without any capabilities
...
These won't need to be matched by the other device
2016-05-31 20:16:25 +02:00
Albert Vaca
4383a42703
Changed the way we detect if capabilities are supported
2016-05-31 20:10:35 +02:00
Albert Vaca
59f69856d6
Fixed warning
2016-05-31 20:10:00 +02:00
Albert Vaca
5654300249
Removed logs
2016-05-31 20:09:52 +02:00
Albert Vaca
aca9cc0ed7
Notifications doesn't need kconf anymore
2016-05-31 18:13:37 +02:00
Aleix Pol
ea9c6330e9
Fix build after merge
2016-05-31 17:48:55 +02:00
Aleix Pol
9aa794b0da
Merge branch 'master' into sslrefactor
2016-05-31 17:29:06 +02:00
Aleix Pol
e7578cc129
Refactor capabilities together with Albert
...
He is committing a similar patch to kdeconnect-android
2016-05-31 17:16:01 +02:00
Albert Vaca
3f82eb9cc7
Less verbose and more useful logging.
2016-05-25 14:33:58 -06:00
Albert Vaca
0b5fbe00bb
Split plugins for sending and receiving notifications
...
CCMAIL: holger.k@elberer.de
2016-05-25 12:49:13 -06:00
Albert Vaca
932d8db6bc
Changed name and action icon for find my phone plugin, plus added tooltip.
...
Trying to make it more discoverable and less misleading (could look like
a gps-based tool).
2016-05-25 11:51:48 -06:00
Aleix Pol
668c37446c
Fix typo that prevented the dolphin integration to work
...
BUG: 362684
2016-05-06 02:07:31 +02:00
Aleix Pol
c2349bacd7
Make sure we don't eat all system memory
...
I had wrong configuration files, the encription algorithm definitely
doesn't take it into account.
2016-05-05 17:45:49 +02:00
Vineet Garg
b96227ae75
Changed protocol version to TLS 1.0, as TLS 1.2 not supported on many Android device
...
Choosing cipher suites manually, same as of Android
2016-04-30 20:39:34 +05:30
David Kahles
abc5fa3c56
Remove second UDP socket in LanLinkProvider
...
We don't need two sockets for reading and writing.
REVIEW: 127769
2016-04-28 00:19:20 +02:00
David Kahles
623ca94a0c
Don't hardcode app name to filter notifications
...
The app name used by KNotification is translated, and thus the filtering
doesn't work if the translated app name is different.
REVIEW: 127768
2016-04-28 00:19:19 +02:00
Albert Vaca
0c95010c3b
Merge branch 'master' into sslrefactor
...
# Conflicts:
# core/device.cpp
# interfaces/devicesmodel.cpp
2016-04-14 19:00:42 -07:00
Albert Vaca
29d3f9aa7a
Expose protocol version
2016-04-14 18:52:31 -07:00
David Kahles
174cf3d3ce
Don't reset m_pairStatus when unpair is requested by remote device
...
unpairInternal() will take care of this, otherwise pairingChanged() will not
be emited and though, the model won't notice it.
REVIEW: 127641
2016-04-13 08:44:47 +02:00
l10n daemon script
ef488d10a8
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-04-11 10:21:02 +00:00
l10n daemon script
05cc6fa131
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-04-09 09:56:16 +00:00
David Kahles
3103bd0c5a
Improve filtering of devices in the DevicesModel
...
We need to remove devices from the model if the filter doesn't match, to
prevent listing disconnected devices in the plasmoid.
REVIEW: 127610
2016-04-08 17:01:33 +02:00
David Kahles
337dd191e4
Fix mpris player discovery
...
The previous used QDbusServiceWatcher doesn't work as it does only watch out
for specific services, but the players use different, unpredictable names, so
we need to check all service registrations for mpris players.
BUG: 361367
REVIEW: 127611
2016-04-08 01:22:22 +02:00
David Kahles
8d7dad3604
Introduce QML component to check for plugin availability
...
Remove those checks from three different places and put them into a reusable
component, which can be used for different plugins.
REVIEW: 127583
2016-04-07 16:39:26 +02:00
David Kahles
aefa51fa86
Remove notifications from plasmoid, if the notifications plugin gets disabled
...
Therefore notify the client that we're deleting all notifications.
Otherwise the client wouldn't notice this and the notifications would still
be available in the plasmoid.
REVIEW: 127582
2016-04-06 02:30:50 +02:00
David Kahles
12ccbaef98
Improve NotificationsModel
...
Don't refresh the whole notification list, if a notification is added or
removed.
REVIEW: 127565
2016-04-05 23:33:45 +02:00
David Kahles
6cc1946443
Allow paired and not reachable devices in the model
...
The server supports this device state (e.g. if a device was saved as paired,
but isn't reachable), so let's expose it to the model.
The display filter should take care of excluding such devices if
nessecarry.
To make sure that such devices aren't shown in the kcm (we can't do anything
useful with them at the moment), set the display filter accordingly.
REVIEW: 127553
2016-04-05 23:33:45 +02:00
David Kahles
e86ea7b3bd
Remove the keys from the notification hashmap
...
When disabling the notifications plugin, we can't delete the notification
adapter due to a QT bug. Thus we leak it, and to not expose the notifications
anymore, we clean up the notifications in the adaptor. Therefore we delete
the QStrings in the notification hashmap (mNotifications) with qDeleteAll().
But this function does only free the QStrings, but no remove the keys from the
hashmap. Thus, a subsequent call to activeNotifications() has an undefined
behavior, as there are dangling pointers in the hashmap. This is solved by
removing the keys from the hashmap.
REVIEW: 127543
2016-04-05 23:33:45 +02:00
David Kahles
a8bd062baf
Stop clearing the notification list twice
...
There were two clearNotifications() calls when refreshing the notification
list. As there happens nothing relevant in between them, the second call is
useless.
REVIEW: 127542
2016-04-05 23:33:45 +02:00
Heiko Becker
ebce509158
Silence CMake policy CMP0063 warning
...
...by adding the NO_POLICY_SCOPE flag as recommended by ECM's
documentation.
2016-04-04 09:46:15 +02:00
Elias Probst
6b8595d418
Fix typo in debug msg (Batttery → Battery)
2016-03-24 23:47:55 +01:00
Albert Vaca
78d4ba2106
Cleanup
2016-03-08 07:29:34 -08:00