Commit graph

27870 commits

Author SHA1 Message Date
Atlante45
c80df94b06 Update includes for moved files 2015-07-13 15:28:55 -07:00
Atlante45
4a22f18add Setup udt namespace/move relevant files 2015-07-13 15:25:25 -07:00
Atlante45
7a160db8dd sendPacketList first implementation 2015-07-13 12:58:26 -07:00
Atlante45
77bff0c4f2 First draft at sendPacket type method impl 2015-07-13 11:57:56 -07:00
Atlante45
957e6394a9 sendPacket function take Node& not a pointer 2015-07-13 11:57:20 -07:00
Stephen Birarda
4e2cbb38bd Merge pull request #4 from Atlante45/protocol
Some cleanup
2015-07-09 17:40:43 -04:00
Atlante45
aaafa7acd2 Copy _type in assignment operators 2015-07-09 14:20:04 -07:00
Atlante45
a2a60f253c Fail with packet size in constructor 2015-07-09 14:19:47 -07:00
Atlante45
c77310019d Some .get() cleanup 2015-07-09 14:03:32 -07:00
Atlante45
ca4e2ed274 Merge branch 'protocol' of https://github.com/birarda/hifi into protocol 2015-07-09 14:03:09 -07:00
Stephen Birarda
1b4e333c49 Merge pull request #3 from birarda/atp
initial networking API changes for new protocol
2015-07-09 16:51:37 -04:00
Atlante45
569123e447 Merge branch 'protocol' of https://github.com/birarda/hifi into protocol 2015-07-09 13:39:25 -07:00
Stephen Birarda
2417981c9d resolve conflicts on merge with clement/protocol 2015-07-09 13:27:59 -07:00
Atlante45
57d4e64926 Missing deref 2015-07-09 13:24:07 -07:00
Stephen Birarda
caed7da99b create the avatarPacket in ScriptEngine with the right size 2015-07-09 13:23:20 -07:00
Atlante45
a9cfcf241d Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-09 13:22:45 -07:00
Stephen Birarda
893e1864fd cleanup _newestEntryAtIndex calc in RBH insert 2015-07-09 13:22:41 -07:00
Atlante45
c0b8f83ca0 Better ring index compute 2015-07-09 13:22:09 -07:00
Stephen Birarda
16e7b2625b don't sink the audioPacket in ScriptEngine 2015-07-09 13:20:10 -07:00
Stephen Birarda
7ee08130f0 fix for avatar packet size in ScriptEngine 2015-07-09 13:18:11 -07:00
Atlante45
7e4999b717 int64_t to qint64 for consistency 2015-07-09 13:12:48 -07:00
Atlante45
01f1a6e2b9 Fix NLPacket::create 2015-07-09 13:12:21 -07:00
Atlante45
f90f3a05be Fail in Packet::create if size is invalid 2015-07-09 13:11:43 -07:00
Stephen Birarda
6f2e9f4899 cleanup return in SentPacketHistory 2015-07-09 13:06:34 -07:00
Atlante45
e1fc242967 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-09 12:45:46 -07:00
Stephen Birarda
14b73ae00f remove qtimespan that isn't used anymore 2015-07-09 12:45:32 -07:00
Atlante45
ba8bc1f4da Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-09 12:43:37 -07:00
Stephen Birarda
dd30813ae0 remove an extra line in DomainServer 2015-07-09 12:39:43 -07:00
Stephen Birarda
f68845e806 remove hash and sequence number replacement in PacketHeaders 2015-07-09 12:33:34 -07:00
Atlante45
2b6d79e030 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-09 12:33:23 -07:00
Stephen Birarda
3da1a81363 remove packet header population from PacketHeaders 2015-07-09 12:32:52 -07:00
Atlante45
e4051f9e30 Remove unnecessary .get() 2015-07-09 12:32:18 -07:00
Stephen Birarda
6dc7745826 remove two lines from PacketHeaders 2015-07-09 12:29:21 -07:00
Stephen Birarda
11a4c20a21 fix payloadSize write in DomainServer 2015-07-09 12:23:54 -07:00
Stephen Birarda
bcea400ee4 delete the old methods to get closer to an even PR 2015-07-09 12:23:12 -07:00
Philip Rosedale
c4911dbbd4 Merge pull request #5288 from AndrewMeadows/arsenic
fix ObjectActionOffset logic
2015-07-09 12:22:23 -07:00
Brad Hefta-Gaub
489a8b4b3d Merge pull request #5285 from jherico/homer
Move log file writing to a separate thread
2015-07-09 12:22:13 -07:00
Stephen Birarda
01d1a17231 fix indentation in LimitedNodeList 2015-07-09 12:20:28 -07:00
Stephen Birarda
4c8f32ce7b add an assert for an NLPacketList segment that is oversized 2015-07-09 12:13:15 -07:00
Stephen Birarda
cafa8b65f5 specify the size of the DTLS required packet 2015-07-09 12:07:18 -07:00
Stephen Birarda
adf2ce85f1 pack the size of the connection denied reason 2015-07-09 12:03:15 -07:00
Andrew Meadows
55207a8fb1 enforce coding standards 2015-07-09 11:59:28 -07:00
Stephen Birarda
a38cb56c1c fix an accidental comment add 2015-07-09 11:56:24 -07:00
Stephen Birarda
8e693bfee7 Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp 2015-07-09 11:53:27 -07:00
Atlante45
94d2fce1dd Fix sendNackPackets logic 2015-07-09 11:52:57 -07:00
Stephen Birarda
806862fae9 pass existing SharedNodePointer from EntityServer 2015-07-09 11:50:39 -07:00
Andrew Meadows
ccf14b2e50 fix syntax error typo 2015-07-09 11:43:57 -07:00
Stephen Birarda
a363f42bb2 pass const NLPacket& for all sendUnreliablePacket calls 2015-07-09 11:42:18 -07:00
Atlante45
2d810e06dc Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-09 11:37:43 -07:00
Stephen Birarda
a49b985dad fix call to packetSent from EntityServer 2015-07-09 11:37:20 -07:00