Commit graph

25 commits

Author SHA1 Message Date
Aleix Pol
b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +02:00
Àlex Fiestas
30c028b6cd Added const all around 2014-03-04 02:34:09 +01:00
Àlex Fiestas
f314420d4f Coding style (adding brackets) 2014-03-04 02:33:41 +01:00
Àlex Fiestas
ee5bf89071 Fallback to body->size if payLoadsize is empty
For some reason body->size is exactly as big as the
payload I'm trying to send (using android app). This is
probably a bug in the Android app, I decided to commit
the workaround anyway so we keep compatibility with
current (and old) versions of the Android app.

CCMAIL: albertvaka@gmail.com
2014-03-03 21:08:34 +01:00
Aleix Pol
614b8fe813 Initialize the payload size when sending a package with payload 2014-03-03 04:50:53 +01:00
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
35d2f8472c Added deviceType to the identity packages
This will tell if we are a phone, tablet, laptop or desktop
2013-11-06 21:34:54 +01:00
Albert Vaca
bf09a248db Commented console json output 2013-10-01 03:26:34 +02:00
Albert Vaca
4bd5d2e427 Payloads are now QSharedPointer<QIODevice> instead of QIODevice* 2013-09-24 14:13:02 +02:00
Albert Vaca
e20adde7fd Moved filetransferjob from filetransfer plugin to networkpackage 2013-09-24 14:10:25 +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
060addb881 qDebugs incorrectly placed 2013-09-20 16:03:17 +02:00
Albert Vaca
8883b2770e Debugging filetransfer 2013-09-20 16:03:17 +02:00
Albert Vaca
8e295ee364 Less verbosity: commented lots of QDebugs 2013-09-20 16:01:09 +02:00
Albert Vaca
158e32adcf Debugging filetransfer 2013-09-16 15:21:22 +02:00
Albert Vaca
13dcd01819 Added some comments and todos 2013-09-09 22:50:27 +02:00
Albert Vaca
e1c749e33d Added a payload field to networkpackage, protocol version increased to 4
It will be used to attach files to packages when devicelinks support it
2013-09-09 18:30:44 +02:00
Albert Vaca
aa86ad5c3c Less verbosity: commented lots of QDebugs 2013-09-09 18:28:52 +02:00
Albert Vaca
988fa537df Incorrect include 2013-09-08 19:06:13 +02:00
Albert Vaca
161ec366cc Using PEM format instead of Base64 encoded DER for the keys. 2013-09-03 16:01:28 +02:00
Albert Vaca
39550ff6ea Type was missing for identity packages
Added a test for it
2013-09-03 02:14:55 +02:00
Albert Vaca
9a0d110769 Removed unused includes and fixed indentation in some lines 2013-09-03 02:14:27 +02:00
Albert Vaca
da1347aaa1 Initializations should be in cpp file 2013-09-03 02:13:13 +02:00
Albert Vaca
892385f3fc Simplified NetworkPackage format
Now protocol version is only sent once (in the identity package)
Removed "isEncrypted" bit, using type "kdeconnect.encrypted" instead.
NetworkPackage's decrypt and unserialize return false when find problems
Updated tests.
2013-09-02 13:26:26 +02:00
Albert Vaca
36e5d41811 Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
Renamed from daemon/networkpackage.cpp (Browse further)