Commit graph

974 commits

Author SHA1 Message Date
Atlante45
d496b33ae6 Compile fixes 2015-07-07 15:51:29 -07:00
Atlante45
1932703fec Merge branch 'protocol' of https://github.com/huffman/hifi into protocol 2015-07-07 15:49:45 -07:00
Atlante45
79d1a9f6c8 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-07 15:45:12 -07:00
Atlante45
b4ab6828bb Added setPacketType to Packet class 2015-07-07 15:43:16 -07:00
Ryan Huffman
399b749033 Fix method and const names in NetworkPacket 2015-07-07 15:17:16 -07:00
Atlante45
11c58ebc9e Added Packet::createCopy and getData 2015-07-07 15:07:14 -07:00
Stephen Birarda
ffa6edc904 fix spaces created by xcode find/replace 2015-07-07 15:01:19 -07:00
Stephen Birarda
f879ea2f35 Merge remote-tracking branch 'huffman/protocol' into atp 2015-07-07 13:47:39 -07:00
Stephen Birarda
f5dad95184 Merge remote-tracking branch 'clement/protocol' into atp 2015-07-07 13:47:21 -07:00
Atlante45
422bef4e18 Merge branch 'protocol' of https://github.com/highfidelity/hifi into protocol 2015-07-07 12:54:54 -07:00
Atlante45
e2bd9532b7 Implement move ctor/assignment 2015-07-07 12:47:23 -07:00
Ryan Huffman
419eec4ca7 Merge pull request #5267 from huffman/protocol
Protocol
2015-07-07 12:43:43 -07:00
Ryan Huffman
d8b1cc0aa9 Update NetworkPacket to correctly use move semantics 2015-07-07 12:38:58 -07:00
Stephen Birarda
01b1c46237 more networking API changes in octree classes 2015-07-07 12:31:22 -07:00
Atlante45
9889dcdd64 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-07 12:29:00 -07:00
Atlante45
712b35c4dc Couple changes to packets header size computation 2015-07-07 12:26:35 -07:00
Ryan Huffman
308335ff69 Update PacketSender to use NLPacket 2015-07-07 12:16:30 -07:00
Ryan Huffman
ebd223ecba Update NetworkPacket to use NLPacket 2015-07-07 12:15:44 -07:00
Stephen Birarda
fca23cc69b make SentPacketHistory use NLPacket 2015-07-07 12:14:40 -07:00
Stephen Birarda
74924bc5f1 initial changes to OctreeQueryNode for new APIs 2015-07-07 12:08:01 -07:00
Atlante45
7eddcf383c Merge Packet and PacketPayload 2015-07-07 11:33:33 -07:00
Stephen Birarda
edf7a96b58 update audio client packet send to NLPacket 2015-07-07 10:53:55 -07:00
Atlante45
a07a24788d Cast type to int before arithmetique packing 2015-07-07 10:36:15 -07:00
Atlante45
c23e3c0ec2 Change Packet.h header to NLPacket 2015-07-07 10:35:11 -07:00
Atlante45
8e7580d58d Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-07 10:32:54 -07:00
Atlante45
8e5b040627 Packet setters 2015-07-07 10:32:31 -07:00
Atlante45
91496d37c7 Move NLPacket to its own file 2015-07-07 10:31:54 -07:00
Stephen Birarda
e1c098233a use sendUnreliablePacket for repeated send in AI 2015-07-06 18:03:41 -07:00
Stephen Birarda
ac6c8c9c3a add stubs for new send methods in LNL 2015-07-06 17:40:53 -07:00
Stephen Birarda
76fb120f67 remove call to NodeListPacket in NodeList 2015-07-06 17:23:48 -07:00
Stephen Birarda
453f8605c0 finish cleanup of NodeListPacket in LimitedNodeList 2015-07-06 17:22:55 -07:00
Stephen Birarda
c0d1953df3 use NLPacket in LimitedNodeList 2015-07-06 17:21:05 -07:00
Stephen Birarda
d64d49d004 remove PacketByteArray from networking 2015-07-06 17:15:27 -07:00
Atlante45
d87679f115 Partially fill packet header on construction 2015-07-06 17:13:03 -07:00
Stephen Birarda
f8e6344678 have PacketList use Packet instead of PacketPayload 2015-07-06 17:10:55 -07:00
Stephen Birarda
02f97702d3 switch path query packets to new networking API 2015-07-06 17:08:12 -07:00
Stephen Birarda
3fa785c545 fix domain check in packets for new API 2015-07-06 17:03:26 -07:00
Atlante45
12edec7bea Packet class polishing 2015-07-06 17:02:55 -07:00
Atlante45
0c7dc1e28f Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-06 16:40:47 -07:00
Stephen Birarda
922dd5a739 keep track of size used in PacketPayload 2015-07-06 16:35:29 -07:00
Stephen Birarda
6187cff766 add a constData method to PacketPayload 2015-07-06 16:20:56 -07:00
Stephen Birarda
33a9a04d9e allow a packet to be created with extended header 2015-07-06 16:18:49 -07:00
Stephen Birarda
3ae8ba2922 add segment calls to PacketList 2015-07-06 15:53:26 -07:00
Stephen Birarda
2ab2888260 add the complicated writeData method for PacketList 2015-07-06 15:50:54 -07:00
Atlante45
43354c3b28 More Packet class work + NLPacket shell 2015-07-06 15:03:00 -07:00
Stephen Birarda
25e82d4b92 initial version of PacketList QIODevice subclass 2015-07-06 14:29:24 -07:00
Stephen Birarda
cbba8263cd fix writeData and readData for PacketPayload 2015-07-06 14:27:20 -07:00
Stephen Birarda
93ac2704e8 fix header guard comment in PacketPayload 2015-07-06 12:38:49 -07:00
Stephen Birarda
1867f259d6 keep track of max written in PacketPayload 2015-07-06 11:55:49 -07:00
Stephen Birarda
b660c80988 leverage QIODevice for much of PacketPayload functionality 2015-07-06 11:51:20 -07:00