Commit graph

512 commits

Author SHA1 Message Date
Albert Vaca
5c66b891e2 Fixed bug with mixers not being correctly converted to dbus paths
BUG: 333709
2014-06-07 18:27:38 +02:00
Albert Vaca
0b98ec3cb0 Fixed a crash when no mixers or controls were abailable in KMix
BUG: 332153
2014-06-07 18:27:38 +02:00
l10n daemon script
4a28371412 SVN_SILENT made messages (.desktop file) 2014-06-07 04:18:43 +00:00
l10n daemon script
c641fd50c0 SVN_SILENT made messages (.desktop file) 2014-06-04 04:19:06 +00:00
l10n daemon script
ab3d38d677 SVN_SILENT made messages (.desktop file) 2014-05-31 04:21:12 +00:00
l10n daemon script
78efe7512c SVN_SILENT made messages (.desktop file) 2014-04-21 04:56:45 +00:00
l10n daemon script
fe7763026d SVN_SILENT made messages (.desktop file) 2014-04-20 04:38:36 +00:00
Àlex Fiestas
c8a9796093 Avoid doing qobject_cast on an already destroyed QObject
QObject::destroyed is emitted from the QObject destructor, because of
that the object that inherit from it (in this case DeviceLink) will not
exist anymore, hence we can't cast to it.

So we are saving the needed information in an QObject property so we
do not have to do any cast.
2014-04-15 20:14:22 +02:00
Albert Vaca
b366b1debc showPlasmoidBeShown -> shouldPlasmoidBeShown 2014-04-14 22:44:23 +02:00
Àlex Fiestas
cbd6809932 Rename pairingTimer to m_pairingTimeout 2014-04-14 21:57:48 +02:00
Àlex Fiestas
258739cd93 Fix compile
Double declared variable plus missing ;, sorry :/
2014-04-14 21:57:48 +02:00
Àlex Fiestas
0f734de3e9 Simplify socketlinereader by using Qt build in parser
This also speeds it a lot making it possible to pass long lines.

REVIEW:116645
2014-04-14 21:57:48 +02:00
Àlex Fiestas
4a74f413ae Accept all connections until none are available
When newConnection is called pendingConnections may have more than
one connectio, so we have to iterate and use all of them.
2014-04-14 21:57:48 +02:00
Àlex Fiestas
e4e4004912 Fix leak on connectError
We were not deleting the networkpacket not removing it from the map.
2014-04-14 21:57:48 +02:00
Àlex Fiestas
3735ca2cd1 Coding style and return early refactoring 2014-04-14 21:57:48 +02:00
Àlex Fiestas
e3e0eac779 Removed extra lines and trailing spaces 2014-04-14 21:57:48 +02:00
Àlex Fiestas
0029c62a2d Hide the plasmoid when no device is connected
Reviewed by albertvaka@gmail.com
2014-04-14 21:57:48 +02:00
Àlex Fiestas
2a235f6496 Add const in lanDeviceLink 2014-04-14 21:57:48 +02:00
Albert Vaca
60e8eb2a32 Removed commented code 2014-04-14 21:21:09 +02:00
Albert Vaca
1b559019ca Implemented migration from older versions of KDE Connect
That stored private keys in KConf instead of PEM files.
2014-04-14 21:08:41 +02:00
Albert Vaca
bcf6359dd1 Fixed pairing problems when kdeconnect crashed
This was caused by KConf not being saved to disk in this case
2014-04-14 21:08:13 +02:00
David Suárez
d6824ad8f8 Fixed unit test!
REVIEW: 117387
2014-04-12 23:07:40 +02:00
Albert Vaca
d7e9a42a7b Moved unit tests together 2014-04-12 23:04:35 +02:00
Albert Vaca
f1bd54a508 Daemon is a KUniqueApplication now, to avoid having more than one instance 2014-04-12 22:49:00 +02:00
Albert Vaca
de252af3a6 Wrong if condition to mute kmix 2014-04-12 21:41:38 +02:00
Albert Vaca
baa0e5ff95 Made some methods const 2014-04-05 20:05:22 +02:00
Albert Vaca
4dcbb3531a Remove the browse filesystem button from KCM 2014-04-05 20:05:22 +02:00
Aleix Pol
d5928197b2 CLI application to interact with kdeconnect kded module
Lists devices and makes it possible to share a url or a file with any
device.

REVIEW: 113343
2014-04-01 03:12:31 +02:00
l10n daemon script
51429b9ebe SVN_SILENT made messages (.desktop file) 2014-03-29 04:57:06 +00:00
l10n daemon script
13970fed8b SVN_SILENT made messages (.desktop file) 2014-03-26 04:43:05 +00:00
l10n daemon script
b6475a8d37 SVN_SILENT made messages (.desktop file) 2014-03-24 04:36:04 +00:00
l10n daemon script
77b924574a SVN_SILENT made messages (.desktop file) 2014-03-20 04:45:04 +00:00
l10n daemon script
bd89104599 SVN_SILENT made messages (.desktop file) 2014-03-19 07:06:09 +00:00
l10n daemon script
bb28de3373 SVN_SILENT made messages (.desktop file) 2014-03-18 05:07:34 +00:00
l10n daemon script
b3bfb41f29 SVN_SILENT made messages (.desktop file) 2014-03-10 04:46:57 +00:00
Albert Vaca
a2ece14400 Hashbang not needed on desktop files 2014-03-08 10:08:39 +01:00
Àlex Fiestas
3fff0a33e6 Test that we do not treat "\n" as a package.
We have to ignore the empty new lines.
2014-03-07 01:04:09 +01:00
Àlex Fiestas
71d339adea Added autotest for SocketLineReader
I want to re-write this class, so before I can do that I must
make sure that I don't break existing behavior.

The test basically sends  5 lines and then checks that those 5 lines
have been correctly identified.
2014-03-07 00:37:48 +01:00
l10n daemon script
5290189811 SVN_SILENT made messages (.desktop file) 2014-03-05 04:38:53 +00: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
8a216531cb Specify that we only support Kill. 2014-03-03 22:34:25 +01:00
Àlex Fiestas
e4c3e8c4cd Implement virtual KJob::doKill in FileTransferJob
This basically allows killing the job from the JobTrakcer
aka Plasma.
2014-03-03 22:34:03 +01:00
Àlex Fiestas
a75bfe5f0d Use KIO::RenameDialgo if the file exists
If we are receiving a file that we already have on the
system, use KIO::RenameDialog instead of just overwriting
the destination file.
2014-03-03 22:33:22 +01:00
Àlex Fiestas
82a686dbe5 Calculate the speed in FileTransferJob if we know the size
KJob doesn't do this for us so we have to do the math
ourselves.
2014-03-03 21:12:06 +01:00
Àlex Fiestas
39589434bd Set the deviceName from SharePlugin 2014-03-03 21:11:32 +01:00
Àlex Fiestas
39225d54d4 Set the name of kdeconnect to kdeconnectd
We have an icon for kdeconnect but we do not for kdeconnectd,
some libraries (like KJob) use this name to try to fetch the
app icon, so it is useful to have a name that has an icon
with the same name.
2014-03-03 21:10:30 +01:00
Àlex Fiestas
af2c0a431e In the KDED, call start in the next loop.
This is useful to start all KDED's before blocking even
for some ms.
2014-03-03 21:09:05 +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
Àlex Fiestas
556c3a5fae Added const into an inline method 2014-03-03 21:07:17 +01:00