Brad Hefta-Gaub
22b979a663
couple of entity server corner cases
2015-09-15 16:02:22 -07:00
Stephen Birarda
d189fb932f
Merge pull request #5785 from Atlante45/protocol
...
Update AssetServer stats with units
2015-09-14 11:18:23 -07:00
Brad Davis
9b81842850
Merge branch 'master' into homer
...
Conflicts:
assignment-client/src/octree/OctreeSendThread.cpp
interface/src/Application.cpp
libraries/entities-renderer/src/EntityTreeRenderer.cpp
libraries/entities/src/EntityItem.cpp
libraries/entities/src/EntityTree.cpp
libraries/entities/src/EntityTreeElement.cpp
libraries/entities/src/EntityTreeElement.h
libraries/entities/src/EntityTreeHeadlessViewer.cpp
libraries/entities/src/RecurseOctreeToMapOperator.cpp
libraries/octree/src/Octree.h
libraries/physics/src/EntityMotionState.cpp
2015-09-11 16:31:18 -07:00
Brad Davis
e458eb7ae9
Merge pull request #5734 from sethalves/octree-shared-pointers
...
octree uses shared pointers
2015-09-11 16:00:04 -07:00
Atlante45
8ee56b59c9
Update AssetServer stats with units
...
Also removed array for better layout
2015-09-11 22:33:58 +02:00
Brad Davis
244795b629
Merge branch 'homer' into temp
...
Conflicts:
interface/src/Application.cpp
2015-09-11 11:21:29 -07:00
Atlante45
15f7745bcc
JSON stats reliable and ordered
2015-09-11 14:21:54 +02:00
Atlante45
801f32295d
Update JSON stats building
2015-09-11 14:21:54 +02:00
Atlante45
5808658958
Make NodeJSONStats reliable
2015-09-11 14:21:53 +02:00
Brad Davis
aa989c3687
Fixing some entity race condition crashes
2015-09-10 20:53:17 -07:00
Seth Alves
7b656d5ead
make a couple variable names better
2015-09-09 03:30:09 -07:00
Seth Alves
9c4fdfd653
merge from upstream
2015-09-08 18:01:07 -07:00
Seth Alves
31fcd55d47
octree uses shared pointers
2015-09-08 11:59:48 -07:00
Stephen Birarda
80cf7b6c76
resolve conflicts on merge with upstream/master
2015-08-27 14:50:04 -07:00
Brad Davis
d311e4f2ea
Fixing problems reported by static analysis tool
2015-08-25 19:18:55 -07:00
Stephen Birarda
fd43c48eac
resolve conflicts on merge with birarda/protocol
2015-08-18 11:48:36 -07:00
Stephen Birarda
0f77ab8611
resolve conflicts on merge with upstream/master
2015-08-18 11:45:55 -07:00
Seth Alves
4a456488a1
remove the option to persist entities as anything other than json.gz files
2015-08-17 14:01:25 -07:00
Atlante45
9e7644ee78
Change headers/payload size computation
2015-07-30 15:05:51 -07:00
Stephen Birarda
862c788aec
move payload adjustments to Packet
2015-07-23 15:27:32 -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
67294d3a23
rename nodesToKill to nodesToShutdown
2015-07-22 13:55:22 -07:00
Stephen Birarda
d22219a1f2
make myServer pointer an OctreeServer* again, it's not checked
2015-07-22 13:54:39 -07:00
Stephen Birarda
55b4784a02
avoid entity-server node/octree deadlock on shutdown
2015-07-22 13:52:49 -07:00
Stephen Birarda
29f91267d9
repairs to nack packet receiving for entity-server
2015-07-16 15:29:50 -07:00
Stephen Birarda
010cbd9934
don't handle octree query while server shutting down
2015-07-16 14:42:16 -07:00
Stephen Birarda
8921f59e23
fix entity packet send from interface client
2015-07-16 12:09:35 -07:00
Stephen Birarda
b115bd1a55
resolve conflicts on merge with huffman/receive_packets
2015-07-15 10:52:07 -07:00
Ryan Huffman
44c99ef89a
Replace bytesAvailable with bytesLefToRead
2015-07-15 10:44:51 -07:00
Stephen Birarda
e127c5c06d
rename Packet methods for clarity
2015-07-15 10:40:40 -07:00
Stephen Birarda
0327a8d477
fix bytesAvailable, don't double seek in Packet
2015-07-14 20:47:16 -07:00
Stephen Birarda
3bf93063d7
remove the OctreeServerDatagramProcessor
2015-07-14 17:22:42 -07:00
Atlante45
fbb6a94579
Merge branch 'receive_packets' of https://github.com/huffman/hifi into protocol
2015-07-14 16:36:28 -07:00
Ryan Huffman
bd345cdccd
Merge branch 'atp' of github.com:birarda/hifi into receive_packets
...
Conflicts:
libraries/networking/src/PacketReceiver.cpp
2015-07-14 15:59:16 -07:00
Stephen Birarda
789235b8c7
make NodeList deleter be deleteLater
2015-07-14 15:28:38 -07:00
Ryan Huffman
56b5c9acff
Merge branch 'atp' of github.com:birarda/hifi into receive_packets
...
Conflicts:
assignment-client/src/entities/EntityServer.cpp
domain-server/src/DomainServer.cpp
2015-07-14 14:53:45 -07:00
Ryan Huffman
10c5589629
Update OctreeServer to use dynamic_cast
2015-07-14 14:26:06 -07:00
Stephen Birarda
0637f589b5
add PacketListener to help unregister for packets
2015-07-14 13:52:38 -07:00
Ryan Huffman
b45af742ef
Remove datagram processing from OctreeServer
2015-07-14 09:37:09 -07:00
Ryan Huffman
4668914fe2
Merge branch 'atp' of github.com:birarda/hifi into receive_packets
...
Conflicts:
assignment-client/src/octree/OctreeServerDatagramProcessor.cpp
2015-07-13 15:48:52 -07:00
Stephen Birarda
49ee35a41c
remove call to processNodeData
2015-07-13 15:39:35 -07:00
Stephen Birarda
9d4f9aa21e
final fixes to get ACs building again
2015-07-13 15:38:45 -07:00
Atlante45
81ad0056c3
Fix a few node deref
2015-07-13 15:34:37 -07:00
Atlante45
c80df94b06
Update includes for moved files
2015-07-13 15:28:55 -07:00
Stephen Birarda
f06636d45e
repairs for other ThreadedAssignment subclasses
2015-07-13 15:16:55 -07:00
Ryan Huffman
a4ff18d9ec
Remove OctreeServerDatagramProcessor
2015-07-13 15:03:10 -07:00
Atlante45
957e6394a9
sendPacket function take Node& not a pointer
2015-07-13 11:57:20 -07:00
Ryan Huffman
c86e481d4f
Update OctreeServer packet receive handling
2015-07-10 17:28:27 -07:00
Ryan Huffman
09f978207b
Add packet handling to OctreeServer
2015-07-10 12:23:58 -07:00
Atlante45
f90f3a05be
Fail in Packet::create if size is invalid
2015-07-09 13:11:43 -07:00
Atlante45
2b6d79e030
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
2015-07-09 12:33:23 -07:00
Atlante45
e4051f9e30
Remove unnecessary .get()
2015-07-09 12:32:18 -07:00
Stephen Birarda
a38cb56c1c
fix an accidental comment add
2015-07-09 11:56:24 -07:00
Atlante45
94d2fce1dd
Fix sendNackPackets logic
2015-07-09 11:52:57 -07:00
Stephen Birarda
d3d3b84a20
Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp
2015-07-09 11:36:21 -07:00
Stephen Birarda
83cc4380a7
fix for sentPacketHistory dequeue
2015-07-09 11:36:12 -07:00
Atlante45
cc0e0e6a1f
Compile fixes in assignment client
2015-07-09 11:35:36 -07:00
Stephen Birarda
7e07754773
fix octreePacketSent call with const NLPacket&
2015-07-09 11:35:12 -07:00
Stephen Birarda
659f6742c6
Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp
2015-07-09 11:21:36 -07:00
Stephen Birarda
922d6413d5
change some const unique_ptr to const NLPacket
2015-07-09 11:21:27 -07:00
Atlante45
605b004514
Assigment client compile fixes
2015-07-09 11:19:36 -07:00
Atlante45
d4e01742e5
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
2015-07-08 18:40:18 -07:00
Atlante45
e2718d5c94
Merge branch 'protocol' of https://github.com/birarda/hifi into protocol
2015-07-08 18:26:36 -07:00
Stephen Birarda
5dc09692b4
more packet creation fixes for entitites
2015-07-08 18:13:06 -07:00
Stephen Birarda
74940a2132
replace lingering PacketTypes in old format
2015-07-08 10:18:13 -07:00
Stephen Birarda
6c6143f21e
remove NetworkPacket and replace with NodePacketPair
2015-07-07 16:56:05 -07:00
Stephen Birarda
631c745784
allow equal for piggyback check in OctreeSendThread
2015-07-07 16:21:14 -07:00
Stephen Birarda
6a76f858d8
close of PacketList not required to count last packet
2015-07-07 16:17:15 -07:00
Stephen Birarda
1f68ad892a
replace PacketList usage with NLPacketList
2015-07-07 16:14:57 -07:00
Stephen Birarda
56880e8858
return fixes for NAK PacketLists
2015-07-07 15:33:03 -07:00
Stephen Birarda
ff18a05507
CR fixes for octree classes
2015-07-07 15:21:10 -07:00
Stephen Birarda
2944746629
add a TODO for reading NAK fix
2015-07-07 15:15:15 -07:00
Stephen Birarda
c8a03ebff8
cleanup NAK packets in OctreeInboundPacketProcessor
2015-07-07 15:14:27 -07:00
Stephen Birarda
e953b36f58
handle stats + data packet combination in OctreeSendThread
2015-07-07 12:56:20 -07:00
Stephen Birarda
01b1c46237
more networking API changes in octree classes
2015-07-07 12:31:22 -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
Stephen Birarda
474b82e3bf
fix nack packet sending in OctreeInboundPacketProcessor
2015-07-07 11:28:57 -07:00
ZappoMan
29a7584ee6
remove dead code
2015-07-03 11:29:59 -07:00
Stephen Birarda
0d64e82fe2
replace PacketType declarations with PacketType::Value
2015-07-02 16:38:52 -07:00
ZappoMan
24b4614703
add more detailed edit timing to entity server
2015-07-01 16:11:08 -07:00
ZappoMan
ce613d59fd
add inbound edit packet queue depth to entity server
2015-07-01 14:46:37 -07:00
Seth Alves
f9618ca2cb
implicit cast
2015-06-18 10:07:12 -07:00
Seth Alves
7391aebf60
fix change that introduced interger division
2015-06-17 06:51:38 -07:00
Seth Alves
fdd5953e44
fix change that introduced interger division
2015-06-17 06:48:06 -07:00
Seth Alves
508ae276c6
enable -Wdouble-promotion
2015-06-16 18:23:10 -07:00
Seth Alves
32cc0eacfc
improve a debug print
2015-05-22 15:21:26 -07:00
Seth Alves
53fe41ef4d
improve a debug print
2015-05-22 15:11:56 -07:00
Seth Alves
945a84d24f
adjust logic used by the entity-server to decide if the contents of an octree-element have already been sent to a particular interface with a particular frustum
2015-05-22 15:01:43 -07:00
Brad Davis
079a7f2600
Fix assert caused by calling glm::perspective with nonsensical values
2015-05-20 18:11:14 -07:00
Brad Davis
41d587bd2e
Revert "Revert "Fixing HMD asymmetrical projections (esp DK1) and santizing the transform stuff""
...
This reverts commit 6e8c067bcb
.
Conflicts:
interface/src/Camera.h
2015-05-12 14:47:44 -07:00
samcake
6e8c067bcb
Revert "Fixing HMD asymmetrical projections (esp DK1) and santizing the transform stuff"
2015-05-12 14:34:43 -07:00
Brad Davis
464925ecc7
Fixing the assignment client
2015-05-12 01:15:30 -07:00
Seth Alves
866a6fba9b
Merge pull request #4823 from birarda/master
...
repairs to AC stop and clean shutdown
2015-05-11 18:11:52 -07:00
Seth Alves
83748096ef
max pps for an octree-query is a per-query thing, not an application-wide thing. move the settings-related max-octree-pps stuff into the entity tree
2015-05-11 11:37:53 -07:00
Stephen Birarda
8c6715e4fc
resolve conflicts on merge with upstream/master
2015-05-11 11:10:22 -07:00
Stephen Birarda
2dc866755d
fix OS comments, remove test call from Agent
2015-05-11 09:56:10 -07:00
Stephen Birarda
3d06a86670
drop packets on floor when shutting down
2015-05-08 11:57:25 -07:00
Stephen Birarda
fe1b8cc52b
fix entity tree reset / add OST assert for myServer
2015-05-08 11:04:22 -07:00
Stephen Birarda
0f71e93c7f
ensure no new OST creation on OctreeServer shutdown
2015-05-08 10:12:14 -07:00
Stephen Birarda
d75d204ff6
standardize cleanup of ThreadedAssignments
2015-05-07 17:03:43 -07:00
Stephen Birarda
bfccf02912
use lamdbas for linkedDataCreateCallback
2015-05-07 15:37:02 -07:00
Stephen Birarda
6b3cf1ba4a
remove dependency of PacketHeaders on NodeList
2015-05-05 12:19:42 -07:00
Stephen Birarda
edade7baba
resolve conflicts on merge with upstream master
2015-05-01 16:24:16 -07:00
Stephen Birarda
94739cf8d3
move number constants out of SharedUtil to NumericalConstants
2015-05-01 10:26:53 -07:00
Seth Alves
e985f56b12
cleanups
2015-04-29 15:30:13 -07:00
Seth Alves
009bb9dc71
all 4 types of assignment-client appear to exit cleanly, now
2015-04-29 15:16:00 -07:00
Seth Alves
e7d8bccd5d
cleanups
2015-04-29 12:03:54 -07:00
Seth Alves
d2cd4fc405
types 0 and 1 exit cleanly, type 6 crashes
2015-04-29 11:56:45 -07:00
Stephen Birarda
61806935bb
add a networking constants class with metaverse URL
2015-03-31 16:40:21 -07:00
Seth Alves
3bc85c2531
instead of a json checkbox, a dropdown to chose the file type
2015-03-12 09:34:01 -07:00
Seth Alves
2a06816f71
added persist-as-json checkbox to domain settings. File extension of persist file is automatically adjusted when entity server saves. When loading, if both a json and svo file exist, the newer one is used. This is regardless of the persistAsJson setting
2015-03-11 23:09:15 -07:00
Atlante45
1cfd98b2d7
Name threads
2015-01-31 00:50:12 -08:00
Atlante45
7b5babb02a
Set AddressManager before NodeList
2015-01-14 15:46:33 -08:00
Atlante45
f77fab2fe0
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
2015-01-13 20:38:52 -08:00
ZappoMan
60aec8ac00
add support for multiple backup rules
2015-01-13 13:41:32 -08:00
Atlante45
2a82ff9768
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
...
Conflicts:
assignment-client/src/voxels/VoxelServer.cpp
interface/src/Application.cpp
interface/src/Audio.cpp
interface/src/DatagramProcessor.cpp
interface/src/Menu.cpp
interface/src/Util.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/ui/ApplicationOverlay.cpp
interface/src/ui/PreferencesDialog.cpp
libraries/networking/src/NodeList.cpp
libraries/shared/src/DependencyManager.h
2015-01-13 11:03:14 -08:00
Andrew Meadows
58b965c9a2
lock Octree higher when extracting things from bag
2015-01-09 16:12:43 -08:00
ZappoMan
b940dcfdb3
more voxel-ectomy cleaning up some remaining references to voxels
2015-01-06 09:27:48 -08:00
ZappoMan
27d8ccb51e
more voxelEctomy
2014-12-30 19:58:04 -08:00
ZappoMan
141e231958
more work on voxelEctomy
2014-12-30 18:41:56 -08:00
Atlante45
0bd9ed469e
Changed NodeList::getInstance() calls to use the DM
2014-12-17 15:28:25 -08:00
Stephen Birarda
8549e9cb53
resolve conflicts on merge with upstream master
2014-12-15 09:36:17 -08:00
Stephen Birarda
5c3e90f64f
resolve conflicts on merge with upstream master
2014-12-03 13:11:56 -08:00
Andrew Meadows
b9944edf66
OctreeServer::createTree() is now protected
2014-12-02 11:13:37 -08:00
Atlante45
ae3bcc8f06
No more .f
2014-11-19 16:53:39 -08:00
ZappoMan
bdfe02bbd0
Merge branch 'master' of https://github.com/highfidelity/hifi into persistThreadImprovements
...
Conflicts:
assignment-client/src/octree/OctreeServer.cpp
libraries/octree/src/OctreePersistThread.cpp
libraries/octree/src/OctreePersistThread.h
2014-11-17 11:22:00 -08:00
ZappoMan
f44513ebe7
added support for rolling version numbers in backups
2014-11-15 22:55:12 -08:00
ZappoMan
4adb4787cd
added debugging of usecTimestampNow() in octree server to better understand flight times
2014-11-15 21:50:42 -08:00
ZappoMan
cd4b267732
implement persist backup
2014-11-14 11:11:32 -08:00
ZappoMan
11058355a0
implement aboutToFinish for persist thread to allow final save before shutdown
2014-11-14 09:55:32 -08:00
Stephen Birarda
0f32346324
resolve conflicts on merge with upstream master
2014-11-07 09:10:12 -08:00
ZappoMan
768a854b00
cleanup
2014-11-06 14:00:26 -08:00
Stephen Birarda
881d03b11d
migrate EntityServer and OctreeServer to tbb concurrent map
2014-11-06 13:54:40 -08:00
ZappoMan
90b079d5a8
remove debug
2014-11-06 13:51:48 -08:00
ZappoMan
3c7b06f1d2
quiet some debug
2014-11-06 13:45:38 -08:00
ZappoMan
2b62402a57
possible fix for entities not always updating bug
2014-11-06 13:17:46 -08:00
ZappoMan
bcec14b0f4
adjust the sentAt times in packets by the receiving side's clockskew so that it can calculate proper flight times
2014-11-05 19:37:08 -08:00
Stephen Birarda
8a72cdd59d
leverage new libcuckoo hash outside LimitedNodeList
2014-11-05 15:09:54 -08:00
ZappoMan
e9a332de4d
make entity and voxel servers support domain based configuration
2014-11-05 12:12:17 -08:00
Stephen Birarda
d3bbd251db
move Logging to LogHandler
2014-10-28 13:59:23 -07:00
Stephen Birarda
e9bcc90166
handle remaining conversions for AccountManager passing QNetworkReply
2014-10-14 16:16:54 -07:00
Stephen Birarda
f89b225da2
handle local socket changes by monitoring every so often
2014-10-06 09:17:25 -07:00
Stephen Birarda
60e3f3edfa
add skipSubHandler to OctreeServer HTTPRequestHandler calls
2014-10-02 11:20:56 -07:00
ZappoMan
c5e02c4ec5
removed unused lastAttemptedSubTree
2014-09-13 07:58:49 -07:00
ZappoMan
6c062102e9
fix typo in comment
2014-09-07 21:21:29 -07:00
ZappoMan
f16a85b2aa
fix header
2014-09-05 19:07:30 -07:00
ZappoMan
9e21d26a6d
improve ping behavior and clockskew in octree servers by introducing datagramprocessing thread
2014-09-05 19:03:44 -07:00
ZappoMan
25e8c7d3f1
useless semicolon removal
2014-09-03 12:22:02 -07:00
ZappoMan
66a2f58192
fix to runaway saving file and optimizations to general encoding paths
2014-09-03 10:55:56 -07:00
ZappoMan
75bb42fb73
debug cleanup
2014-08-22 10:54:00 -07:00
ZappoMan
49cf6dff3a
more DIDNT_FIT logic improvements/fixes
2014-08-18 14:09:01 -07:00
ZappoMan
a3bb8b1239
have partial elements set a stop reason of DIDNT_FIT to fix partial encoding issues
2014-08-18 09:37:07 -07:00
ZappoMan
f8f0da189f
more work on more entities in a cell
2014-08-15 17:13:59 -07:00
ZappoMan
84ba810dc4
work on reseved bytes in octree packet data
2014-08-15 11:26:55 -07:00
ZappoMan
b91b81306c
quiet more debug
2014-08-14 11:46:35 -07:00
ZappoMan
fbe409a0c2
added lots of debugging for octree edit packet sender bug fixed threading issue
2014-08-14 11:23:56 -07:00
ZappoMan
49e616dd49
first cut at using erase entity message to delete entities
2014-08-13 14:11:56 -07:00
ZappoMan
3a8c5018ee
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
interface/src/Application.h
libraries/entities/src/EntityTreeElement.h
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelItem.h
libraries/models/src/ModelTree.cpp
libraries/models/src/ModelTree.h
libraries/models/src/ModelTreeElement.cpp
libraries/networking/src/PacketHeaders.h
libraries/octree/src/OctreeEditPacketSender.cpp
libraries/octree/src/OctreeEditPacketSender.h
2014-08-04 12:01:23 -07:00
Stephen Birarda
e1ba076a71
complete redemption of signed transactions from octree server
2014-07-31 11:03:12 -07:00
Stephen Birarda
eadae8ed1a
allow unauthenticated redemptions of signed transactions from octree server
2014-07-31 10:05:26 -07:00
ZappoMan
230c2f2684
cleanup storage of entity ids on the server, added improved checks for server vs client
2014-07-29 12:52:46 -07:00
ZappoMan
ec0c350f60
Merge branch 'master' of https://github.com/worklist/hifi into virtualEntities
...
Conflicts:
interface/src/Application.cpp
interface/src/DatagramProcessor.cpp
libraries/script-engine/src/ScriptEngine.cpp
2014-07-03 14:20:40 -07:00
Brad Hefta-Gaub
dbdce32b68
Merge pull request #3107 from wangyix/master
...
prune missing sequence numbers before sending NACK; AudioRingBuffer frame length can now be specified;
2014-07-03 13:32:31 -07:00
Atlante45
36fb530594
Switched DomainServer to NetworkAccessManager
2014-07-02 10:26:38 -07:00
ZappoMan
865566414c
Merge branch 'master' of https://github.com/worklist/hifi into renameModelsToEntities
...
Conflicts:
interface/src/entities/EntityTreeRenderer.cpp
libraries/entities/src/EntityItem.h
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelTree.cpp
libraries/models/src/ModelTreeElement.cpp
libraries/models/src/ModelsScriptingInterface.cpp
tests/octree/CMakeLists.txt
tests/octree/src/ModelTests.cpp
2014-07-01 16:32:47 -07:00
wangyix
fd051310da
prune missing set before constructing nack packets;
...
make MAX_REASONALBE_SEQUENCE_GAP global and sentPacketHistory to use
that value as the default history size
2014-07-01 12:01:51 -07:00
Brad Hefta-Gaub
df51d26625
Merge pull request #3094 from wangyix/seqNumberStats
...
Fixed bugs and improved overflow handling in AudioRingBuffer; Added audio stream stats packets; Added seq numbers and tracking to audio packets;
2014-07-01 10:54:35 -07:00
ZappoMan
687a81a223
fix crash in SendNack on server shutdown
2014-06-30 13:18:58 -07:00
wangyix
0ae58bd7f9
added senderUUID arg to seq stats
2014-06-27 15:39:11 -07:00
wangyix
2ec04fb756
replaced old seqnum tracking code with SequenceNumberStats
2014-06-25 17:20:57 -07:00
ZappoMan
c54bdb3e8d
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
2014-06-18 15:20:08 -07:00
wangyix
c7788b793c
removed erroneous call updateNodeWithDataFromPacket for octree data nacks
2014-06-18 13:36:54 -07:00
wangyix
29723d0ef3
changed octree data nacks to repeatedly nack missing seq nums
2014-06-18 13:36:54 -07:00
wangyix
d78ed66616
removed spaces before comments in OctreeInboundPacketProcessor
2014-06-18 11:37:54 -07:00
wangyix
7cef5eeeec
replaced UINT16_MAX at 2 other places
2014-06-18 10:27:02 -07:00
wangyix
8c4e365958
added forgotten i++ in sendNackPackets()
...
plus minor style fixes
2014-06-18 09:28:42 -07:00
wangyix
604b17185b
call writeUnverifiedDatagram for sending edit nacks
2014-06-17 14:43:13 -07:00
wangyix
011e7c2de2
removed debug code
2014-06-17 11:53:09 -07:00
wangyix
8187912384
added qDebug() check in SentPacketHistory for seq numbers
...
used (unsigned short int)1 instead of 1 when calculating
expectedSequence
2014-06-17 11:34:35 -07:00
wangyix
dc71f87ea4
edit nacks seem to be working;
...
added mutex for releaseQueuedPacket() to prevent duplicate packets being
queued up due to the steps of queueing the packet and clearing it not
being atomic.
2014-06-17 10:42:56 -07:00
wangyix
06f8464ec9
edit nacks ready for test; seq numbers sometimes repeat??
2014-06-16 17:17:48 -07:00
wangyix
95b2524784
removed magic number 65536 from OctreeInboundPacketProcessor
2014-06-16 16:08:48 -07:00
wangyix
14f50f4576
removed old SentPacketHistory
2014-06-16 14:05:27 -07:00
wangyix
ebfd65dea8
added OctreeInboundPacketProcessor::process() override to send nack periodically
...
added code to remove dead nodes' stats in sendNackPackets()
2014-06-16 12:30:16 -07:00
wangyix
2b20720f51
added sendNackPackets() to OctreeInboundPacketProcessor
...
added rollover handling in _missingSequenceNumbers pruning; added
EditNack packet types; added getMyEditNackType() to OctreeServer
subclasses; added code to randomly skip edit packet sequence numbers for
testing in OctreeEditPacketSender
2014-06-16 09:57:05 -07:00
wangyix
b210b07b81
rollovers are now handled in SingleSenderStats::trackInboundPacket
2014-06-13 11:08:15 -07:00
wangyix
3d4fae4b3f
Revert "added code for AC to send nack packets; no locking yet"
...
This reverts commit 15bd0878c4
.
2014-06-13 09:58:56 -07:00
wangyix
1491216962
Revert "added locking on _singleSenderStats; untested!"
...
This reverts commit c542da9707
.
2014-06-13 09:58:45 -07:00
wangyix
c542da9707
added locking on _singleSenderStats; untested!
2014-06-12 12:03:22 -07:00
wangyix
15bd0878c4
added code for AC to send nack packets; no locking yet
2014-06-12 11:37:05 -07:00
wangyix
7955979599
added _missingSequenceNumbers tracking to OctreeInboundPacketProcessor
2014-06-12 09:17:12 -07:00
ZappoMan
2db897a00e
Merge branch 'master' of https://github.com/worklist/hifi into octreeWireformatImprovements
2014-06-11 14:40:25 -07:00
wangyix
c6a9a8924d
changed NetworkPacket::_sendingNode to ::_node
2014-06-10 16:43:53 -07:00
wangyix
5ab271330e
moved sendNack() into packetDistributor()
...
...for the purpose of enforcing packets sent per interval in
OctreeSendThread. Corrected mistake in keeping track of number of
special packets sent where sendSpecialPacket() was assumed to only send
one packet per call.
2014-06-10 15:35:48 -07:00
ZappoMan
50bc3b03df
Merge branch 'master' of https://github.com/worklist/hifi into octreeWireformatImprovements
2014-06-10 10:43:59 -07:00
ZappoMan
a0783f3f4a
try appendElementData() a different way
2014-06-10 10:43:50 -07:00
ZappoMan
5eb6ddbdb3
first cut at support for extra element data
2014-06-09 16:04:25 -07:00
wangyix
8312e1642d
replaced takeFirst() with dequeue() for consistency
2014-06-09 15:15:43 -07:00
ZappoMan
c5647addf4
Merge branch 'master' of https://github.com/worklist/hifi into octreeWireformatImprovements
2014-06-09 14:10:47 -07:00
wangyix
e45f2fed4b
changed writelock to readlock
...
plus a coding standard fix
2014-06-09 13:42:45 -07:00
ZappoMan
6f1ec01797
rename nodeBag to elementBag in a bunch of places
2014-06-09 13:42:44 -07:00
wangyix
ff2a5342ee
removed another extra space
2014-06-09 12:57:50 -07:00
wangyix
412d3e19fe
removed debug prints in parseNackPacket()
2014-06-09 12:56:00 -07:00
wangyix
0fce7e721a
removed more spaces
2014-06-09 12:40:01 -07:00
wangyix
968ea3563c
removed an extra space
2014-06-09 12:37:42 -07:00
wangyix
aa694d6967
removed debug code
2014-06-09 12:35:26 -07:00
wangyix
3bc457d4d2
added octree scene stats locking and unlocking
2014-06-09 11:14:02 -07:00
wangyix
b39559d860
packet recovery seems to be working
...
Seems to impact FPS a lot. OctreeSceneStats is not being locked (causes
freezing, need to find out why).
2014-06-06 17:44:30 -07:00
wangyix
0b1bffa83c
added random packet drops; ready to test
2014-06-06 15:03:54 -07:00
wangyix
8cd5ec3b54
started work on sending nack packets from client
2014-06-06 11:50:34 -07:00
wangyix
5461a06e99
completed code to resend nacked packets on AC
2014-06-06 09:33:14 -07:00
wangyix
1a7e3a859c
started work on resending nacked packets
2014-06-05 18:00:58 -07:00
wangyix
6f45939113
re-enabled piggy-backing in OctreeSendThread
2014-06-04 11:02:31 -07:00
wangyix
50746a6540
extra commit of previous commit?
2014-06-03 16:19:12 -07:00
ZappoMan
758df4f58b
silence some unused variable warnings and move some debug code to only execute in debug mode
2014-06-02 10:43:50 -07:00
wangyix
4c4ff45f31
removed duplicate function bodies
2014-05-29 14:31:40 -07:00
wangyix
d8b0b03e59
removed _sequenceNumber from OctreeSendThread
...
inlined getSequenceNumber and incrementSequenceNumber
2014-05-29 13:39:57 -07:00
wangyix
f82be105e8
moved _sequenceNumber back to OctreeQueryNode
2014-05-29 12:54:34 -07:00
wangyix
fe1a0e4565
removed debug stuff i missed
2014-05-29 11:27:14 -07:00
wangyix
c87c474877
removed debug info, cleaned code for pull req
2014-05-29 10:39:40 -07:00
wangyix
c799077379
added flag,seq,ts to ParticleErase and ModelErase
...
... this fixes unreasonable flight-time issue
2014-05-28 17:20:10 -07:00
wangyix
f361b9a8a7
removed updatePacketTimestamp()
...
..from OctreeQueryNode
2014-05-27 18:04:53 -07:00
wangyix
e89d33dc60
added if to not track ParticleErase packets
2014-05-27 18:02:49 -07:00
wangyix
fe5fabdd61
removed old code that was commented out
...
changed tabs to spaces
2014-05-23 11:17:59 -07:00
wangyix
87d927d447
moved _sequenceNumber back to OctreeQueryNode
...
instead added incrementSequenceNumber() to OctreeQueryNode for
sendthread to use
2014-05-23 10:09:46 -07:00
wangyix
2dd78b36db
moved _sequenceNumber to OctreeSendThread
2014-05-23 09:47:08 -07:00
ZappoMan
715e6b8e60
debugging model editing
2014-05-02 09:10:30 -07:00
ZappoMan
aac42058ac
first cut at modelserver
2014-04-30 09:25:52 -07:00
AndrewMeadows
94fabf7875
Merge pull request #2709 from ZappoMan/shared_and_weak_pointers
...
Voxel/Particle Server Performance Improvements
2014-04-22 10:28:39 -07:00
ZappoMan
60b8ab0de5
CR feedback
2014-04-21 17:45:38 -07:00
ZappoMan
a64d3ffc32
more cleanup
2014-04-21 16:38:45 -07:00
ZappoMan
7d18dbdfb8
more cleanup
2014-04-21 16:35:42 -07:00
Atlante45
cfc778d10c
Fix regexp fail
2014-04-21 16:32:17 -07:00
ZappoMan
e55c488964
clean up some old debugging
2014-04-21 16:17:59 -07:00
Atlante45
681aab5bf0
Remove printf and replace them by qDebug()
2014-04-21 16:17:45 -07:00
ZappoMan
003e3ae507
properly unhook delete notifications
2014-04-21 16:01:37 -07:00
ZappoMan
f3aa9d3b8f
unhook node bag from element notifications on shutdown to speed up cleanup
2014-04-21 15:45:12 -07:00
ZappoMan
7a8a8e2fac
delete tree on server shutdown
2014-04-21 15:14:06 -07:00
ZappoMan
75f079e2b3
tweak debugging
2014-04-21 14:15:13 -07:00
ZappoMan
9a63fa7550
some cleanup
2014-04-21 13:36:13 -07:00
ZappoMan
7798c6eb09
some debugging
2014-04-21 11:48:58 -07:00
ZappoMan
59cbda20c6
added some threading and event debugging
2014-04-20 19:48:17 -07:00
ZappoMan
50f7db8fe1
quiet some debugging
2014-04-18 15:02:10 -07:00
ZappoMan
2c02178802
Merge branch 'master' of https://github.com/worklist/hifi into shared_and_weak_pointers
...
Conflicts:
assignment-client/src/AssignmentClient.cpp
assignment-client/src/AssignmentClient.h
libraries/shared/src/NodeList.cpp
2014-04-18 14:28:54 -07:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
7ce91b3f96
fix headers who had their comments removed
2014-04-08 17:43:35 -07:00
Stephen Birarda
6a51df9e38
initial regex replacement of headers
2014-04-08 17:30:36 -07:00