Stephen Birarda
d75d204ff6
standardize cleanup of ThreadedAssignments
2015-05-07 17:03:43 -07:00
Stephen Birarda
94739cf8d3
move number constants out of SharedUtil to NumericalConstants
2015-05-01 10:26:53 -07: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
ZappoMan
90b079d5a8
remove debug
2014-11-06 13:51:48 -08:00
ZappoMan
2b62402a57
possible fix for entities not always updating bug
2014-11-06 13:17:46 -08:00
ZappoMan
c5e02c4ec5
removed unused lastAttemptedSubTree
2014-09-13 07:58:49 -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
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
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
ZappoMan
c5647addf4
Merge branch 'master' of https://github.com/worklist/hifi into octreeWireformatImprovements
2014-06-09 14:10:47 -07:00
ZappoMan
6f1ec01797
rename nodeBag to elementBag in a bunch of places
2014-06-09 13:42:44 -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
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
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
9a63fa7550
some cleanup
2014-04-21 13:36:13 -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
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
ZappoMan
193e237285
tweaks
2014-04-01 10:58:20 -07:00
ZappoMan
9d757434ab
testing tweak
2014-04-01 10:47:25 -07:00
ZappoMan
21e0bc119b
moved OctreeServer::stopTrackingThread() to destructor instead of setIsShuttingDown()
2014-04-01 09:50:10 -07:00
ZappoMan
9df315d889
removed dead debug code
2014-03-31 20:54:58 -07:00
ZappoMan
7cd39d3ef0
add forceNodeShutdown() to handle forced shutdown of nodes in case of server shutdown
2014-03-31 20:53:34 -07:00
ZappoMan
9d60be9773
cleanup some debugging
2014-03-31 17:57:48 -07:00
ZappoMan
ef68f164c9
tweak shutdown
2014-03-31 17:05:31 -07:00
ZappoMan
7a683b177d
added some debugging, and reordered some shutdown logic
2014-03-31 16:43:25 -07:00
ZappoMan
b3734d870b
cleanup
2014-03-31 15:39:12 -07:00
ZappoMan
a9d153054f
remove _process mutex since it's no longer needed
2014-03-31 15:28:13 -07:00
ZappoMan
a82a583030
cleanup
2014-03-31 14:59:28 -07:00
ZappoMan
6df3ff57c4
cleanup isNull() usage
2014-03-31 14:30:25 -07:00
ZappoMan
226274e98b
cleaning up SharedNodePointer usage
2014-03-31 14:24:08 -07:00
ZappoMan
faa062f8ab
use single instance of SharedAssignmentPointer for assignment client so we actually get reference counting
2014-03-31 14:08:19 -07:00
ZappoMan
640dbaacab
migration to shared pointers
2014-03-28 11:05:54 -07:00
ZappoMan
8856a609a4
first cut at migrating to SharedOctreeServerPointer for ref count management of OctreeServer
2014-03-28 09:46:23 -07:00
ZappoMan
0cb9bec1aa
keep SharedNodePointer in the OctreeSendThread
2014-03-27 19:29:18 -07:00
ZappoMan
c540427b9e
tweaks to _processLock to reduce time it's locked
2014-03-27 15:03:46 -07:00
ZappoMan
bda96ef935
added back use of nodeWithUUID() instead of sharedpointer
2014-03-27 13:35:22 -07:00
ZappoMan
9fdfa4a7a8
switch to using SharedNodePointer instead of UUID in octree server send thread
2014-03-27 02:33:32 -07:00
ZappoMan
bc68ed1300
moved stopTrackingThread() to setIsShuttingDown() to reduce chance of object conflict
2014-03-26 11:59:55 -07:00
ZappoMan
c3aab7337f
added more performance stats tracking to octree server
2014-03-26 11:36:35 -07:00
ZappoMan
3cb3cb81c4
fixes to voxel server crashes on client shutdown
2014-03-21 14:15:02 -07:00
ZappoMan
b4f5a6d1ce
add _isShuttingDown to OctreeQueryNode and bail as fast as possible when shutting down
2014-03-20 14:44:47 -07:00
ZappoMan
b3f60a068d
remove isScheduledForDelete from OctreeQueryNode
2014-03-19 00:17:14 -07:00
ZappoMan
499c4bd500
fix octree server crashes on various shutdown corner cases
2014-03-18 17:44:53 -07:00
ZappoMan
220232312d
remove unused variables
2014-03-18 16:06:20 -07:00
ZappoMan
dfb07e717d
removed old debugging code
2014-03-18 09:34:24 -07:00
ZappoMan
86c2b5baa7
removed some debugging, added some comments, more work on optimizaiton
2014-03-18 01:51:30 -07:00
ZappoMan
34b2ccb9d7
adding not sent to stats
2014-03-18 00:02:47 -07:00
ZappoMan
fc50cc0604
improving server stats
2014-03-17 23:40:07 -07:00
ZappoMan
e9684c0ee5
added more stats to octree server stats page
2014-03-17 16:11:00 -07:00
ZappoMan
aab2ca826f
Merge branch 'master' of https://github.com/worklist/hifi into experimental_scaling
2014-03-17 11:01:25 -07:00
ZappoMan
981ab7374a
fix crash in client shutdown, clean up some debugging, clean up Q_OBJECT
2014-03-17 11:01:09 -07:00
ZappoMan
bd6b70ee32
use unsigned int vs size_t, since that just seems more correct
2014-03-16 11:07:24 -07:00
ZappoMan
7d7e1ff28a
one more crack at this signedness comparisons on unix
2014-03-15 23:37:52 -07:00
ZappoMan
5709a8893e
more unix signedness warnings
2014-03-15 23:19:16 -07:00
ZappoMan
08d89a4565
arg windows signedness warnings
2014-03-15 23:17:03 -07:00
ZappoMan
6f85cfdb2f
more warnings fixes
2014-03-15 23:00:03 -07:00
ZappoMan
adb6ffe7c4
more warnings fixes
2014-03-15 22:00:44 -07:00
ZappoMan
21458036cc
clean up formatting of sending stats
2014-03-14 10:37:41 -07:00
ZappoMan
4c39a891be
add more packet sending statistics to server
2014-03-14 10:23:07 -07:00
ZappoMan
6173a4d2a7
fix isFullScene correctly
2014-03-12 10:19:21 -07:00
ZappoMan
7e6beba4d2
removed redundant calc of isFullScene
2014-03-12 01:29:41 -07:00
ZappoMan
4d0b762de3
some hacking on full scene debuggin
2014-03-11 20:33:53 -07:00
ZappoMan
c1c41ea2ca
handle some shutdown cases and reduce time of locking in octree server
2014-02-28 16:18:02 -08:00
ZappoMan
8d7406461a
Merge branch 'master' of https://github.com/worklist/hifi into octree_server_scaling
...
Conflicts:
assignment-client/src/octree/OctreeServer.cpp
assignment-client/src/octree/OctreeServer.h
2014-02-28 10:54:56 -08:00
ZappoMan
f9718913e2
fix octree-server random spinout sometimes when client disconnects
2014-02-27 16:13:05 -08:00
ZappoMan
cdb0aeb153
some hacking on server performance
2014-02-27 10:47:17 -08:00
ZappoMan
a34aef658d
cleanup OctreeSendThread correctly
2014-02-26 21:24:32 -08:00
ZappoMan
1603c1f38c
work on client stats and max total packets per second
2014-02-26 21:24:12 -08:00
Stephen Birarda
c1132726bf
use SharedNodePointer in place of Node where appropriate
2014-02-06 14:58:03 -08:00
Stephen Birarda
a823722d27
add writeDatagram helper to NodeList to insert md5 hash
2014-02-06 14:28:58 -08:00
Stephen Birarda
f4fe2bb754
move octree-server libs to assignment-client
2014-02-05 16:04:23 -08:00