1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

7603 Commits

Author SHA1 Message Date
Uwe L. Korn
d171ab4f69 Fix compilation 2013-05-28 15:19:19 +02:00
Uwe L. Korn
839f1b720e Even more race precautions
* It did not break yet, but I could not sleep without this commit.
2013-05-28 14:55:45 +02:00
Tomahawk CI
a81d13a91f Automatic merge of Transifex translations 2013-05-28 02:16:50 +02:00
Teo Mrnjavac
3ba9ee9779 Send tracks via context menu. 2013-05-27 21:35:40 +02:00
Uwe L. Korn
6189326430 Lock setControlConnection to prevent races 2013-05-27 20:27:33 +02:00
Teo Mrnjavac
f66f3b94af Make tracks sending more discoverable. 2013-05-27 17:54:21 +02:00
Uwe L. Korn
c4ab018ae6 Detect duplicate ControlConnections 2013-05-27 16:30:00 +02:00
Uwe L. Korn
097a377500 Remove trailing semicolons 2013-05-27 16:30:00 +02:00
Uwe L. Korn
0c7ebd8e88 Credits to me 2013-05-27 16:30:00 +02:00
Uwe L. Korn
332b701c56 Change ContolContection* to QPointer 2013-05-27 16:30:00 +02:00
Uwe L. Korn
f076ab9988 Set interval to timeout 2013-05-27 16:30:00 +02:00
Uwe L. Korn
fab81d7958 readyRead is not used as a Slot/Signal 2013-05-27 16:30:00 +02:00
Uwe L. Korn
39e630876e Wait for versionString in Xmpp until telling Servent SipInfos 2013-05-27 16:30:00 +02:00
Uwe L. Korn
9b7dd0110b Weaken references to PeerInfos 2013-05-27 16:30:00 +02:00
Uwe L. Korn
35c32575c1 Introduce ConnectionManager for outgoing connections 2013-05-27 16:30:00 +02:00
Uwe L. Korn
e16028f164 Make less usage of QHostAddress when dealing with DNS records. 2013-05-27 16:30:00 +02:00
Uwe L. Korn
3823bce04e Connection should be able to shutdown even if the socket already disappeared 2013-05-27 16:30:00 +02:00
Uwe L. Korn
e55b83914e Do not delete the Connection in Socket cleanup, we take care of this at another stage. 2013-05-27 16:30:00 +02:00
Uwe L. Korn
dfc5eab62d More logging to find error causes 2013-05-27 16:30:00 +02:00
Uwe L. Korn
21c027d8b1 For old clients, just connect if the magic sort says we should. 2013-05-27 16:30:00 +02:00
Uwe L. Korn
89950c54f5 Sent old tomahawk versions SipInfos like before. 2013-05-27 16:30:00 +02:00
Uwe L. Korn
16d30a1072 Only destroy existing ControlConnection if it does not run anymore 2013-05-27 16:29:59 +02:00
Uwe L. Korn
527fb86608 Make more use of peerInfoDebug 2013-05-27 16:29:59 +02:00
Uwe L. Korn
0a01cd7b2e Split up log messages to know the real cause 2013-05-27 16:29:59 +02:00
Uwe L. Korn
c7f356a62d Lazily create ControlConnection for offers 2013-05-27 16:29:59 +02:00
Uwe L. Korn
08cd6cf6a9 Add const to arguments in getLocalSipInfos 2013-05-27 16:29:59 +02:00
Uwe L. Korn
11b4e1f743 Refactor the creation of local SipInfos into its own method 2013-05-27 16:29:38 +02:00
Uwe L. Korn
89dd9a466d Add more verbose logging 2013-05-27 16:29:38 +02:00
Uwe L. Korn
cf7bd1a9ae Remove assert and fix logging 2013-05-27 16:29:38 +02:00
Uwe L. Korn
7799750a01 Add more logging to connection handling 2013-05-27 16:29:37 +02:00
Uwe L. Korn
fb1d86872d Add a bit of logging to XmppMessage serialzation 2013-05-27 16:29:37 +02:00
Uwe L. Korn
d71a237533 Handle disconnects during connection attempts (i.e. vanishing connection objects) 2013-05-27 16:29:37 +02:00
Uwe L. Korn
03cdb474c1 Sent non-IP hostname as a last hostname too (these are the user-supplied ones) 2013-05-27 16:29:37 +02:00
Uwe L. Korn
374e05c5ca Add ASSERTs again 2013-05-27 16:29:37 +02:00
Uwe L. Korn
2839a000bd Use nodeId instead of id 2013-05-27 16:29:37 +02:00
Uwe L. Korn
d7eea2cc8e Some more style changes 2013-05-27 16:29:37 +02:00
Uwe L. Korn
152609e68d Rename sipInfo to sipInfos at various places 2013-05-27 16:29:37 +02:00
Uwe L. Korn
175c765253 Clear up (Control)Connections if connecting failed. 2013-05-27 16:29:37 +02:00
Uwe L. Korn
724fff1b58 Do nothing in handleSipInfo if we have not received valid SipInfo 2013-05-27 16:29:37 +02:00
Uwe L. Korn
20d3f1ad72 Change comment style to gobal default 2013-05-27 16:29:37 +02:00
Uwe L. Korn
5ea9bbe604 Always try next SipInfo 2013-05-27 16:29:37 +02:00
Uwe L. Korn
70ac653985 Fix multiple ip connection mechanism 2013-05-27 16:29:37 +02:00
Uwe L. Korn
9b7730cd26 Correctly ignore IPv4-as-IPv6 localhost 2013-05-27 16:29:37 +02:00
Uwe L. Korn
8a6cd62c59 Do not try link-local addresses. 2013-05-27 16:29:37 +02:00
Uwe L. Korn
18eda1d3a8 Ignore IPv4 localhost even if written as IPv6 address 2013-05-27 16:29:37 +02:00
Uwe L. Korn
2bc6f05744 Add missing writeEndElement 2013-05-27 16:29:37 +02:00
Uwe L. Korn
0a7e108346 Rename sipInfoList to sipInfo 2013-05-27 16:29:37 +02:00
Uwe L. Korn
612fd27564 Better way to get the id of a peer 2013-05-27 16:29:37 +02:00
Uwe L. Korn
c8384ec757 Get back accidently deleted registerOffer 2013-05-27 16:29:36 +02:00
Uwe L. Korn
14af3aedd6 Ignore Zeroconf messages sent by ourselves 2013-05-27 16:29:36 +02:00