Commit graph

1326 commits

Author SHA1 Message Date
Stephen Birarda
82def6e15f resolve conflicts on merge with upstream/master 2015-07-24 15:40:35 -07:00
Stephen Birarda
aea2fed449 add a static to create a packet pair 2015-07-24 11:46:11 -07:00
Stephen Birarda
6dba431084 initial version of the control packet class 2015-07-24 11:38:51 -07:00
Stephen Birarda
71557a1846 only output no listener for type message one time 2015-07-24 09:36:27 -07:00
Stephen Birarda
d938f31fab fix for write of sourceID and verificationHash 2015-07-23 17:10:40 -07:00
Stephen Birarda
b68c7fd92a first adjustment in NLPacket after type is known 2015-07-23 16:59:08 -07:00
Stephen Birarda
069dff0793 fix bugs from movement of type/version to NLPacket 2015-07-23 16:40:35 -07:00
Stephen Birarda
2f03075750 repairs to type/version header write 2015-07-23 15:57:31 -07:00
Stephen Birarda
862c788aec move payload adjustments to Packet 2015-07-23 15:27:32 -07:00
Stephen Birarda
df47f1dd0b add a BasePacket class for headerless packets 2015-07-23 15:20:37 -07:00
Stephen Birarda
e5955e39b7 fix QDebug signature for Node 2015-07-23 14:06:40 -07:00
Stephen Birarda
19d0bf403c change NLPacket create signature for new headers 2015-07-23 14:06:10 -07:00
Stephen Birarda
9e7fb9ae16 shuffle Packet headers, use static enum for PacketType 2015-07-23 13:56:47 -07:00
Stephen Birarda
aa08bee69f initial work to make sequence # and bitfield lead all packets 2015-07-23 11:59:37 -07:00
Stephen Birarda
5bed3502ef fix order of ctors and assignment operators 2015-07-22 14:15:17 -07:00
Stephen Birarda
023f3b8134 fix sequence number read in PacketReceiver 2015-07-22 11:34:30 -07:00
Stephen Birarda
4a11bdc22e indentation and spacing fixes 2015-07-22 11:26:28 -07:00
Stephen Birarda
12e684bea1 fix identation for NLPacket move ctor 2015-07-22 11:21:31 -07:00
Stephen Birarda
3fbda89f1d copy version in Packet move ctor/assignment 2015-07-22 11:17:50 -07:00
Stephen Birarda
8bf507dd24 add a sanity check for data NLPacket ctor 2015-07-22 11:06:13 -07:00
Stephen Birarda
1386aa57da repair to NLPacket creation from Packet and char* 2015-07-22 11:02:45 -07:00
Stephen Birarda
fb7130120a another rename to Socket callbacks 2015-07-22 10:16:26 -07:00
Stephen Birarda
7f53eda0d9 naming changes to udt::Socket handlers 2015-07-22 10:01:24 -07:00
Stephen Birarda
240f53ddd2 bunch up the NLPacket constructors 2015-07-22 09:51:13 -07:00
Stephen Birarda
30225ba3c1 fix spacing for multi-line QDebug in PacketReceiver 2015-07-21 13:05:38 -07:00
Stephen Birarda
086e4efe44 verify packet versions at ice-server 2015-07-21 13:03:39 -07:00
Stephen Birarda
4604bc5a3a leverage udt::Socket in ice-server 2015-07-21 12:27:27 -07:00
Stephen Birarda
da761d4c95 fix static methods to handle header read/write 2015-07-21 12:12:15 -07:00
Stephen Birarda
a61c04aa92 allow socket owner to specify unfiltered packets 2015-07-21 12:00:16 -07:00
Stephen Birarda
ed6867e1a0 add a method to LNL to verify packets 2015-07-21 11:47:06 -07:00
Stephen Birarda
3901dbae33 fix for broken move in NLPacket/Packet 2015-07-21 11:06:25 -07:00
Stephen Birarda
a8618ab3d5 Merge branch 'master' of https://github.com/highfidelity/hifi into atp 2015-07-21 10:19:12 -07:00
Brad Davis
9016f437a8 Merge pull request #5371 from Atlante45/smart_pointers
Smart pointers fixes
2015-07-21 08:52:29 -07:00
Stephen Birarda
cea8e01a01 add a verify packet operator to verify packets 2015-07-20 17:35:16 -07:00
Stephen Birarda
796dfee687 udt namespace fixes and NLPacket operator fixes 2015-07-20 17:28:04 -07:00
Stephen Birarda
9556fecbe2 initial changes to make _nodeSocket a udt::Socket 2015-07-20 17:10:22 -07:00
Stephen Birarda
74193b3dac bump packet versions after fix 2015-07-20 15:20:14 -07:00
Stephen Birarda
0dc62dd858 Merge branch 'protocol' of https://github.com/Atlante45/hifi into protocol 2015-07-20 15:14:40 -07:00
Atlante45
bca8d8181d fix entity data packet type value 2015-07-20 15:14:16 -07:00
Stephen Birarda
5f592df610 don't seek in Packet before open 2015-07-20 15:14:07 -07:00
Atlante45
8d6ff2d9f9 Merge branch 'master' of https://github.com/highfidelity/hifi into smart_pointers 2015-07-20 14:50:44 -07:00
Atlante45
640171d5bd Restore AccountManager setup 2015-07-17 18:22:35 -07:00
Atlante45
052c3c987b Fix some more smart pointer 2015-07-17 18:10:34 -07:00
Atlante45
256c786e28 Merge branch 'master' of https://github.com/highfidelity/hifi into smart_pointers 2015-07-17 17:59:19 -07:00
Stephen Birarda
4661bd0075 resolve conflicts on merge with clement/protocol 2015-07-17 16:58:57 -07:00
Atlante45
c6e471256d Fix atomic construction 2015-07-17 16:55:45 -07:00
Stephen Birarda
6419e49f4b call QIODevice constructor from Packet copy 2015-07-17 16:35:26 -07:00
Stephen Birarda
c846efb203 fix type in Packet constructor 2015-07-17 16:24:25 -07:00
Stephen Birarda
1a1c2d6bbe prepend module to QIODevice include 2015-07-17 16:20:53 -07:00
Stephen Birarda
30ee80313e add memory include for PacketList 2015-07-17 16:18:58 -07:00