Commit graph

3694 commits

Author SHA1 Message Date
Albert Vaca
f53f70d7c4 Fixed file transfer
Apparently KIO is so dumb it can't create files
Also we have lots of commented qDebugs now
2013-09-27 00:01:59 +02:00
Albert Vaca
cfe13a739c Changed QSharedPointer<QIODevice> to <QTcpSocket>
So we don't need a separate pointer.
2013-09-26 21:34:08 +02:00
Albert Vaca
2fd082f4a0 Includes and cmakelists cleanup 2013-09-26 17:49:40 +02:00
Pino Toscano
a70fde3655 fixuifiles 2013-09-24 17:54:12 +02:00
Albert Vaca
95ef31acea Documentation
Added a README to each plugin explaining the content of the packages they
send and receive
Explained the format of encrypted packages.
2013-09-24 14:14:34 +02:00
Albert Vaca
4bd5d2e427 Payloads are now QSharedPointer<QIODevice> instead of QIODevice* 2013-09-24 14:13:02 +02:00
Albert Vaca
a53ec2a9ea Notification Plugin can now receive payloads with the notification icon 2013-09-24 14:11:11 +02:00
Albert Vaca
e20adde7fd Moved filetransferjob from filetransfer plugin to networkpackage 2013-09-24 14:10:25 +02:00
Albert Vaca
acac5c36f2 Merge branch 'master' into filetransfer-debug 2013-09-20 16:08:28 +02:00
Albert Vaca
844a92a508 KCM updated when pairing state changes externally
Added an unpaired() signal to KDED's Device exported by dbus
2013-09-20 16:04:57 +02:00
Albert Vaca
29271df30e Fixed KCM updating the wrong device if selection was changed
Info displayed when pairing was always shown in the currently selected
device
2013-09-20 16:04:57 +02:00
Albert Vaca
e86897cfe3 Fixed file transfer, added file size to protocol (optional)
Increased protocol version to 5
Updated README
2013-09-20 16:03:17 +02:00
Albert Vaca
cbe275106c Added a qDebug with an error message in UploadJob 2013-09-20 16:03:17 +02:00
Albert Vaca
060addb881 qDebugs incorrectly placed 2013-09-20 16:03:17 +02:00
Albert Vaca
79a55d8ec0 Fixed landevice link not setting the payload to the proper package
Wrong variable name
2013-09-20 16:03:17 +02:00
Albert Vaca
ddbbafab63 Fixed crash
QIODevice was deleted when DownloadJob was autodeleted, causing dangling
pointers.
2013-09-20 16:03:17 +02:00
Albert Vaca
f8825e013e KCM updated when pairing state changes externally
Added an unpaired() signal to KDED's Device exported by dbus
2013-09-20 16:03:17 +02:00
Albert Vaca
95cbc13fa9 Fixed KCM updating the wrong device if selection was changed
Info displayed when pairing was always shown in the currently selected
device
2013-09-20 16:03:17 +02:00
Albert Vaca
8883b2770e Debugging filetransfer 2013-09-20 16:03:17 +02:00
l10n daemon script
28f00e0371 SVN_SILENT made messages (.desktop file) 2013-09-20 16:02:43 +02:00
l10n daemon script
40c6ed7388 SVN_SILENT made messages (.desktop file) 2013-09-20 16:02:11 +02:00
Albert Vaca
8e295ee364 Less verbosity: commented lots of QDebugs 2013-09-20 16:01:09 +02:00
l10n daemon script
a344022202 SVN_SILENT made messages (.desktop file) 2013-09-19 04:15:35 +00:00
Albert Vaca
158e32adcf Debugging filetransfer 2013-09-16 15:21:22 +02:00
l10n daemon script
874ac43dab SVN_SILENT made messages (.desktop file) 2013-09-15 04:17:17 +00:00
Albert Vaca
7d4143b944 First and untested implementation of payload transfer in LAN backend
Encryption not implemented yet for transfers, but should be easy to do
2013-09-14 17:30:12 +02:00
l10n daemon script
cc8261b849 SVN_SILENT made messages (.desktop file) 2013-09-14 04:02:16 +00:00
Albert Vaca
42e0b4a066 Moved cryptography layer down from Device to DeviceLink
DeviceLinks will need to know what they are sending and receiving to handle
payloads, so encryption can not happen above them.
2013-09-13 23:27:16 +02:00
Albert Vaca
d1f38a16b2 Fixed possible double-free crash 2013-09-13 21:20:23 +02:00
Simon Cadman
72db75e11b SMS message notification didn't show any text
QString content was shadowing a previously declared variable

BUG: 324857
2013-09-13 19:30:36 +02:00
Tim Creech
817a6c8d3e Didn't build on FreeBSD because it does not define SOL_TCP
Replaced SOL_TCP with getprotobyname("TCP")->p_proto

BUG: 324766
2013-09-13 19:30:36 +02:00
Jonathan Riddell
b122e50519 add missing licence file 2013-09-13 19:30:36 +02:00
Simon Cadman
028fc30470 SMS message notification didn't show any text
QString content was shadowing a previously declared variable

BUG: 324857
2013-09-13 19:22:32 +02:00
Tim Creech
006a0b8dad Didn't build on FreeBSD because it does not define SOL_TCP
Replaced SOL_TCP with getprotobyname("TCP")->p_proto

BUG: 324766
2013-09-13 19:22:32 +02:00
Albert Vaca
111ee7f054 First iteration of filetransfer plugin
Now it just downloads to the user desktop payloads received in packages
with type kdeconnect.filetransfer.
Added the package type define.
Created an an auxiliar QFile-like class with a small needed modification.
Added a commented test in the filetransfer plugin code (to be moved).
2013-09-10 19:01:46 +02:00
Jonathan Riddell
32a343fe6b add missing licence file 2013-09-10 15:18:32 +01:00
Albert Vaca
3cf3c54222 Fixed a bug that caused notification spam when a notification was updated
BUG: 324744
2013-09-10 15:37:35 +02:00
Albert Vaca
b22dee3e7e Include clean-up 2013-09-10 15:37:35 +02:00
Albert Vaca
b61c518d52 Less verbosity: commented lots of QDebugs 2013-09-10 15:37:35 +02:00
Albert Vaca
faf2b61f1d Plasmoid settings show kcm 2013-09-10 15:37:35 +02:00
Albert Vaca
b2c8a22815 Removed letsgo script as it was confusing users 2013-09-10 15:37:35 +02:00
Albert Vaca
50dc5be5df Unused forward declaration 2013-09-10 15:37:35 +02:00
Albert Vaca
2106adaf3b Incorrect include 2013-09-10 15:37:35 +02:00
Albert Vaca
7b01ce2d8a Incorrect comments 2013-09-10 15:37:35 +02:00
Albert Vaca
87e949e3a3 Changed plasmoid description
Old text was a stub :P
2013-09-10 15:36:25 +02:00
Albert Vaca
bb825fed8d Prettifying plasmoid
Text is no longer over the dismiss button but wrapped in two lines
2013-09-10 15:36:25 +02:00
Albert Vaca
5837fa15db Fixed a bug that caused notification spam when a notification was updated
BUG: 324744
2013-09-10 15:33:35 +02:00
Albert Vaca
6a1c01bfeb Added hasPayloadTransferInfo to NetworkPackage
Will be useful for devicelinks other than loopbackdevicelink
2013-09-09 22:51:34 +02:00
Albert Vaca
13dcd01819 Added some comments and todos 2013-09-09 22:50:27 +02:00
Albert Vaca
2625150b68 Fixed bug where more than one loopbackdevicelink was created 2013-09-09 22:28:18 +02:00