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

7542 Commits

Author SHA1 Message Date
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
Uwe L. Korn
248a87ccce Create SipInfo with the correct information. 2013-05-27 16:29:36 +02:00
Uwe L. Korn
f226d9a7da Always return SipInfo, even if not visible 2013-05-27 16:29:36 +02:00
Uwe L. Korn
f87f1dbaa0 Remove asserts in getters as this makes debugging harder 2013-05-27 16:29:36 +02:00
Uwe L. Korn
3e8e815b37 Support multiple SipInfos per peer 2013-05-27 16:29:36 +02:00
Uwe L. Korn
4bbc171575 Change option description to reflect new functionality 2013-05-27 16:29:36 +02:00
Uwe L. Korn
13f2430d36 Servent should listen to IPv6 too 2013-05-27 16:29:36 +02:00
Christian Muehlhaeuser
18a2184e57 Revert "Add missing emit ready()"
This reverts commit cc336e9d45f1f466251a43696c8a9417d0d272bf.
2013-05-27 12:10:09 +02:00
Christian Muehlhaeuser
b6549b310d Revert "* Some fixes to InfoSystem and loading."
This reverts commit 8460d8f5227e889f10805a9af87851ce654ec460.
2013-05-27 12:09:55 +02:00
Dominik Schmidt
cc336e9d45 Add missing emit ready() 2013-05-27 11:07:57 +02:00
Christian Muehlhaeuser
8460d8f522 * Some fixes to InfoSystem and loading. 2013-05-27 11:07:46 +02:00
Tomahawk CI
c450ae63fa Automatic merge of Transifex translations 2013-05-27 02:16:44 +02:00