Commit graph

12 commits

Author SHA1 Message Date
Albert Vaca
6e5de6f437 qDebug -> kDebug with namespaces
Added 3 namespaces: kdeconnect_kded, kdeconnect_kcm and libkdeconnect
2013-11-06 22:16:55 +01:00
Albert Vaca
52dceacd14 Trying to fix a crash in LanDeviceLink/SocketLineReader
ReadyRead is emitted more than once, and there is no data the second time
2013-11-06 21:34:54 +01:00
Albert Vaca
5bbfcd860f LanDeviceLink now waits to read an entire line before trying to read it
Packages always end in \n, so this way we make sure we have a complete
package to unserialize. Before this patch, some long packages that were
divided in chunks weren't received correctly.
2013-10-30 01:18:25 +01:00
Aleix Pol
faa3daa585 Code review
Fixes/adds some comments.
Proper use of some Qt API.

REVIEW: 113195
2013-10-11 15:20:04 +02:00
Albert Vaca
9af0bc342d LanDeviceLink now uses readLine instead of readAll 2013-10-05 17:20:13 +02:00
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
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
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
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
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
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
Albert Vaca
91949acaa5 Refactor: Moved devicelinks and linkproviders to backends 2013-09-09 18:35:56 +02:00
Renamed from kded/devicelinks/landevicelink.cpp (Browse further)