Andrew Meadows
fb7f5707c8
add SimulationEngine, MyAvatar has one.
2014-06-12 18:15:20 -07:00
John Grosen
f0cb49ef5c
added space between expressions in ternary operator
2014-06-12 17:24:56 -07:00
John Grosen
8e74398ed7
Fixed command line args parsing bug
2014-06-12 17:06:59 -07:00
Andrew Meadows
5be470bcbc
add PhysicalEntity class
...
Model and RagDoll derive from PhysicalEntity
Shape gets back pointer to its Entity (shape sharing not possible)
CollisionInfo gets backpointers the shapes involved
2014-06-12 13:13:00 -07:00
Andrew Meadows
5f5ffff23c
merge
2014-06-10 15:25:25 -07:00
Andrew Meadows
3c51ce76fc
Add simulationID to Model Shape and CollisionInfo
2014-06-10 15:24:17 -07:00
ZappoMan
c5647addf4
Merge branch 'master' of https://github.com/worklist/hifi into octreeWireformatImprovements
2014-06-09 14:10:47 -07:00
Andrew Meadows
5a76a9b4b1
RagDoll keeps a pointer to list of shapes
2014-06-09 11:04:20 -07:00
ZappoMan
8834da60b9
aded encoded length to property flags
2014-06-09 10:41:11 -07:00
ZappoMan
6943b3f763
remove debugging
2014-06-09 10:40:29 -07:00
Andrew Meadows
90c55ad06c
fix some comments
2014-06-06 16:09:21 -07:00
Andrew Meadows
131a2c27b8
move RagDoll to libraries/shared
2014-06-06 15:51:50 -07:00
Andrew Meadows
0addf3bae4
cleaup: remove some unused collision code
...
remove CollisionInfo::_type
remove unused Avatar collision response stuff
comment out some code that works but will probably be replaced
2014-06-06 14:36:05 -07:00
Andrew Meadows
ca77eb9d1e
cleanup of avatar collisions, prep for more ragdoll collisions
...
removal of paddle hands
particles use general sphere collision path against avatars
temp removal of skeleton self collision
2014-06-06 10:51:22 -07:00
Andrew Meadows
e8724b02f3
add CapsuleShape::setEndPoints()
2014-06-06 08:50:57 -07:00
ZappoMan
751c27041b
add additional assert to guard proper usage of ByteCountCoding
2014-06-05 16:01:58 -07:00
ZappoMan
2a73a91775
first cut at ByteCountCoding template, additional features in PropertyFlags template
2014-06-05 12:52:03 -07:00
Philip Rosedale
3cc67f5229
Merge pull request #2984 from ZappoMan/octreeWireformatImprovements
...
Octree wireformat improvements checkpoint
2014-06-04 21:58:08 -07:00
ZappoMan
c7a502e2c9
removed empty file
2014-06-04 15:18:11 -07:00
ZappoMan
2066dbcec7
cleanup
2014-06-04 15:16:51 -07:00
wangyix
5251057ed6
MovingPercentile moved else to same line as }
2014-06-04 15:13:16 -07:00
ZappoMan
10f7eae7a0
implemented decode
2014-06-04 14:56:13 -07:00
wangyix
0da6374e19
MovingPercentile .size() consistency
2014-06-04 14:31:58 -07:00
wangyix
e2d3fcc518
changed MovingPercentile to use QList
2014-06-04 14:24:23 -07:00
ZappoMan
78d3f1454c
more operators
2014-06-04 14:19:35 -07:00
ZappoMan
2b85145325
added test suite for PropertyFlags, latest work on PropertyFlags
2014-06-04 11:41:09 -07:00
wangyix
25e2f28b02
more cleanup
2014-06-04 11:30:35 -07:00
wangyix
b452d08495
cleaned up debug statements
...
also reorganized MovingPercentile a little bit
2014-06-04 11:20:29 -07:00
wangyix
12ac6105f1
changed MovingMedian to MovingPercentile
2014-06-04 10:59:32 -07:00
ZappoMan
b48c70a7f7
first cut at PropertyFlags template class
2014-06-04 10:23:50 -07:00
wangyix
c851edd0ef
added MovingMedian class, but not using it
...
added packet type/time data collection to DatagramProcessor and
post-execution prints of that info.
2014-06-03 16:18:40 -07:00
ZappoMan
e6966c2155
add improved detailed rendering and FPS debugging stats
2014-05-29 12:12:23 -07:00
barnold1953
5013c8c2fa
Fixed script editor crash when script calls Script.stop(). Also made the
...
processEraseMessage wait until it can lock to ensure particles are
deleted.
2014-05-22 12:45:36 -07:00
Stephen Birarda
981f9df6b3
add option to pass data server username and password to DS
2014-05-21 09:53:09 -07:00
Stephen Birarda
8e9defad3e
send an updated address to data-server with domain (when changed)
2014-05-15 12:18:24 -07:00
Brad Hefta-Gaub
e088c3d115
Merge pull request #2834 from AndrewMeadows/thermonuclear
...
remove leap fingers
2014-05-13 08:04:40 -07:00
Andrew Meadows
49dedb72c9
remove FingerData class and related cleanup
2014-05-12 11:09:12 -07:00
Andrzej Kapolka
363f545f7c
After uploading, refresh the uploaded files so that they are immediately
...
redownloaded.
2014-05-09 17:50:08 -07:00
Andrew Meadows
8ec493e85b
fix bad penetration depth for interior of cube
2014-05-07 12:39:20 -07:00
Andrew Meadows
9fc1c765d3
overhaul of CollisionInfo
...
store Cube info for sphereAACube collisions
2014-05-07 11:40:00 -07:00
Andrzej Kapolka
2a32700a30
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-05-05 17:03:31 -07:00
Andrew Meadows
5ffd307926
Merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/avatar/MyAvatar.h
2014-05-05 13:54:25 -07:00
Andrew Meadows
ddc9408a55
commit implementation of deleteLastCollision()
2014-05-05 12:32:23 -07:00
Andrew Meadows
f6b2b43376
forget collision for this failure case
2014-05-05 12:31:36 -07:00
Andrew Meadows
d2f858100e
add CollisionList::deleteLastCollision()
2014-05-05 12:30:38 -07:00
Andrew Meadows
0cecef6441
fix "nearly but not quite" edge/corner collisions
2014-05-05 10:01:31 -07:00
Andrew Meadows
b097eed1aa
fix sphere-cube collisions at edges (really)
2014-05-05 08:47:02 -07:00
Andrzej Kapolka
53a2760905
More attachment bits.
2014-05-04 16:24:23 -07:00
Andrew Meadows
0e3d66caf6
fix incorrect rescale of vec3
2014-05-02 22:27:52 -07:00
Andrew Meadows
c8e56a97cc
fix sphere-cube collisions, with tests
2014-05-02 21:47:27 -07:00
Andrew Meadows
9ceda573cc
sphere-cube: add the penetration don't subtract it
2014-05-02 10:39:27 -07:00
Andrzej Kapolka
322e12b9de
Allow users to clear the head URL and have no separate head model.
2014-05-01 17:55:16 -07:00
Andrew Meadows
4e34d0339d
set position in ctor that takes endpoints
...
and some cleanup
2014-04-29 15:15:53 -07:00
Atlante45
6595b29a4f
More bug tracking
2014-04-29 10:55:30 -07:00
Andrew Meadows
b05a315b5a
merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/avatar/MyAvatar.cpp
2014-04-25 14:52:44 -07:00
Atlante45
8b4a910040
Fix timestamp timer not fired
2014-04-25 12:19:18 -07:00
Andrew Meadows
73d0674565
expose MyAvatar.collisionGroups to JS
2014-04-24 11:19:08 -07:00
Andrzej Kapolka
4f8c1f9c65
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-23 16:09:23 -07:00
Clément Brisset
d441e6a453
Merge pull request #2717 from AndrewMeadows/inertia
...
avatar bounding capsule collision against voxels
2014-04-23 16:06:14 -07:00
Andrzej Kapolka
d38d3db224
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-23 12:25:43 -07:00
Andrew Meadows
7464ca0879
non-rounded collision solution in comments
2014-04-23 08:38:58 -07:00
Andrew Meadows
1986ac6be3
collisions with cube get rounded normals at edges
2014-04-22 20:53:12 -07:00
Andrew Meadows
f3fd81ca59
use glm::modf() for less code
2014-04-22 14:26:52 -07:00
Atlante45
fea0a262a6
Put back missing windows header
2014-04-22 12:35:50 -07:00
Atlante45
3eeb3a539d
Fixed lack of resolution in usecTimestampNow()
2014-04-22 11:48:43 -07:00
Andrew Meadows
62121b1232
remove include of StreamUtils.h again
2014-04-22 11:46:15 -07:00
Andrew Meadows
65d3b4dc39
fix penetration direction for sphere-vs-AACube
2014-04-22 11:43:23 -07:00
Andrew Meadows
7537d240bb
toward working avatar-vs-voxel collisions again
2014-04-22 10:48:42 -07:00
Andrew Meadows
a45bc6c110
remove const from CollisionList subscript operator
2014-04-22 10:48:05 -07:00
Andrew Meadows
63c02f2b04
add subscript operator for CollisionList
2014-04-21 18:22:34 -07:00
Andrew Meadows
1782e803c9
remove include StreamUtils.h
2014-04-21 18:21:39 -07:00
Andrew Meadows
8d6fa8f904
fix sphere-vs-axis-aligned-cube logic
2014-04-21 18:19:59 -07:00
Atlante45
fd20686f0f
Removed Systime.h includes
2014-04-21 17:23:06 -07:00
Atlante45
be2db49e08
Last touch to removing gettimeofday
2014-04-21 16:44:21 -07:00
Atlante45
f7f30e118c
More gettimeofday cleanup
2014-04-21 15:17:11 -07:00
Andrew Meadows
06784aa960
move AABox back to octree lib
...
Fleshing out ShapeCollider::collideShapeWithAACube()
2014-04-21 14:07:40 -07:00
Andrew Meadows
241df7a767
Move AABox from octree lib to shared lib
...
Stubbed out Shape vs Octree collisions
2014-04-21 10:27:20 -07:00
Andrzej Kapolka
e2558bdac0
Experimenting with tweaking the Euler angles so that z, rather than y, is in
...
[-pi/2, pi/2].
2014-04-18 17:16:20 -07:00
Andrzej Kapolka
58b063ee12
Make sure we call allReferencesCleared on the right thread.
2014-04-17 11:13:22 -07:00
Andrzej Kapolka
21fa833f19
Merge branch 'master' of https://github.com/highfidelity/hifi into animate
...
Conflicts:
interface/src/Application.cpp
libraries/shared/src/SharedUtil.cpp
libraries/shared/src/SharedUtil.h
2014-04-17 10:58:34 -07:00
ZappoMan
836913f1f0
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
2014-04-16 15:21:15 -07:00
ZappoMan
bdf39186de
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
2014-04-15 21:04:15 -07:00
ZappoMan
60c6b27ab2
cleanup code a bit, add support for diffusions even with no ray intersection
2014-04-15 11:38:11 -07:00
Stojce Slavkovski
1a3e6595c5
Allow users to set the destination of Snapshots
2014-04-15 19:36:02 +02:00
Andrzej Kapolka
a2dc58f7f9
Moved FBX code to its own library so that we can use it for bots.
2014-04-14 17:15:58 -07:00
Stephen Birarda
5904d19603
Merge pull request #2637 from birarda/authentication
...
add optional DTLS option for domain-server to node communication
2014-04-14 10:24:17 -07:00
ZappoMan
7a993939bf
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
...
Conflicts:
interface/interface_en.ts
interface/src/Application.cpp
interface/src/Application.h
interface/src/Menu.h
libraries/shared/src/SharedUtil.h
2014-04-14 09:43:29 -07:00
ZappoMan
a37921c1d5
move isNaN() to shared utils
2014-04-13 19:09:07 -07:00
Andrew Meadows
508d4f216d
fix #2656 avatar jumps very far away
...
This was caused by a bad CapsuleShape::_radius when the default
CapsuleShape was used to create a default bounding capsule. The
penetration against such a shape could be arbitrarily large.
2014-04-11 15:55:18 -07:00
Andrzej Kapolka
873541dd7b
Trying out basic pushback for other avatars.
2014-04-10 11:56:17 -07:00
Stephen Birarda
cfc2431a59
don't be a dummy and include Systime header from implementation
2014-04-10 11:37:09 -07:00
Stephen Birarda
00a826330e
use GetSystemTimeAsFileTime with previous gettimeofday setup
2014-04-10 11:34:43 -07:00
Stephen Birarda
ea8f0df17d
use extern C in Systime header
2014-04-10 11:30:20 -07:00
Stephen Birarda
885cee28c5
guard Systime against being included on UNIX/OS X
2014-04-10 11:28:22 -07:00
Stephen Birarda
1daaf561de
don't include missing sys/time, declare gettimeofday in Systime header
2014-04-10 11:26:47 -07:00
Stephen Birarda
3651eff3d6
cleanup Systime to gettimeofday without lean and mean windows
2014-04-10 11:24:54 -07:00
Andrzej Kapolka
a12dd916fa
More plane intersection bits.
2014-04-10 11:24:45 -07:00
Stephen Birarda
7c9e0927ab
define WIN32_LEAN_AND_MEAN before include windows.h in Systime
2014-04-10 11:17:03 -07:00
Stephen Birarda
53aafd6897
rely on winsock2 for timeval declaration
2014-04-10 11:06:22 -07:00
Stephen Birarda
186c588d5a
remove doubled timeval definition from SharedUtil
2014-04-10 10:48:50 -07:00
Stephen Birarda
ba6f861ad8
fix unmatched #ifdef in Syssocket
2014-04-10 09:54:37 -07:00
Stephen Birarda
58298984d3
link GnuTLS to the assignment-client, fix timeval in SharedUtil
2014-04-10 09:48:47 -07:00
Stephen Birarda
1d5644a85f
link GnuTLS to octree library
2014-04-10 09:45:57 -07:00
Andrzej Kapolka
f61c746b4a
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-10 09:45:23 -07:00
Stephen Birarda
7e2b73906c
remove Syssocket include from SharedUtil
2014-04-10 09:35:25 -07:00
Stephen Birarda
d5d52f804f
add a networking library and link from appropriate targets
2014-04-10 09:32:17 -07:00
Andrew Meadows
4942e93daa
replace .f with .0f as per coding standard
2014-04-10 07:53:11 -07:00
Andrzej Kapolka
9f58264cb6
Working on plane collisions, pushing back camera from intersecting avatars.
2014-04-09 18:07:56 -07:00
Andrew Meadows
22d2f84cff
merge upstream/master into andrew/scripting
2014-04-09 15:38:56 -07:00
Stephen Birarda
1c861fbecb
resolve conflicts on merge with upstream master
2014-04-09 15:36:15 -07:00
Stephen Birarda
c208af2246
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-09 15:10:48 -07:00
Stephen Birarda
3fe5af1505
update boilerplate and include guards for other new files
2014-04-09 15:08:56 -07:00
Stephen Birarda
5a79079c09
fix boilerplates in new DTLS files
2014-04-09 15:03:56 -07:00
Stephen Birarda
d4f2c9e631
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-09 14:40:14 -07:00
Andrew Meadows
635f832dfe
rename shapeShape() to be collideShapes()
...
Also add collideShapesCoarse()
2014-04-09 13:04:17 -07:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
ced5e72d39
add date to capsule shape
2014-04-09 10:46:36 -07:00
Stephen Birarda
2d755adfc0
repairs to good code blown away by regex
2014-04-09 10:46:20 -07:00
Stephen Birarda
11c235a29e
fixes to source files for code remove in regex replace
2014-04-09 10:16:56 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
974d8c0427
prepare header files for regex run against cpp
2014-04-09 09:35:05 -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
Stephen Birarda
f3cbd120ce
header comment tweaks prior to regex match
2014-04-08 17:19:23 -07:00
Stephen Birarda
6681754994
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-08 14:26:10 -07:00
Stephen Birarda
e417e7670b
cleanup DomainServer debug during config parsing
2014-04-08 14:07:31 -07:00
Atlante45
8ad7c3b239
Moved ModelUploader to interface + New error messages
2014-04-08 14:03:27 -07:00
Stephen Birarda
c2ff438182
add a CL + JSON settings reader
2014-04-08 13:37:07 -07:00
Atlante45
eaca699a6d
Merge branch 'master' of https://github.com/highfidelity/hifi into more_upload_work
2014-04-08 10:35:23 -07:00
Atlante45
e1a1ff3988
Code review
2014-04-08 10:32:49 -07:00
Stephen Birarda
080b0d7221
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-08 10:28:14 -07:00
Brad Hefta-Gaub
881383a5f2
Merge pull request #2609 from AndrewMeadows/avatar-interaction
...
More details in JS collision events
2014-04-08 06:52:04 -10:00
Atlante45
3be2319081
Removed all the temporaryDir junk
2014-04-07 16:18:23 -07:00
Atlante45
262c6d3206
Fixed double JSON callback when http error occurs
2014-04-07 14:35:13 -07:00
Atlante45
e85703d25b
Added feedback and a better success check
2014-04-07 13:48:28 -07:00
Atlante45
cec99caa47
Added upload progress tracking to AccountManager via JSON
2014-04-07 13:45:30 -07:00
Stephen Birarda
02e2135a2e
allow setting of expected DTLS cert hostname from AC
2014-04-07 12:52:26 -07:00
Stephen Birarda
86a0b715f3
verify DTLS certificate to ensure trust before handshaking
2014-04-07 11:36:32 -07:00
Stephen Birarda
0f92e02da7
add the hifi root CA trusted cert to source
2014-04-07 11:19:06 -07:00
Andrew Meadows
84d7e39d72
merge upstream/master into avatar-interaction
2014-04-07 10:05:25 -07:00
Andrew Meadows
d902580d6f
Add Collision metatype to JS script system
2014-04-07 10:03:10 -07:00
Stephen Birarda
69504b0a9d
proper cleanup of CA credentials on DTLSClientSession side
2014-04-07 09:47:51 -07:00
Stephen Birarda
efcf506383
resolve conflicts on merge with upstream master
2014-04-07 09:32:08 -07:00
Stephen Birarda
5adcf68752
sort nodes on DS page by their uptime
2014-04-07 09:08:51 -07:00
Stephen Birarda
45d796e8f3
allow re-handshake in NodeList after domain refresh
2014-04-04 15:56:02 -07:00
Andrzej Kapolka
1f3a5d09d9
Merge pull request #2593 from Atlante45/display_models_metadata
...
Display models metadata
2014-04-04 15:18:18 -07:00
Stephen Birarda
c015fdd212
leverage a DummyDTLSSession to not require cleanup of DTLSSession for cookies
2014-04-04 11:42:14 -07:00
Stephen Birarda
b40dd6a31a
say bye and de-init DTLS session from DomainServer
2014-04-04 11:17:50 -07:00
Stephen Birarda
fd8e32190e
perform cleanup of GnuTLS structures across targets
2014-04-04 11:08:53 -07:00
Stephen Birarda
e2224e0f0c
cleanup node silence timing and use for DTLS timeouts
2014-04-04 10:56:04 -07:00
Stephen Birarda
c840904642
output a message when handshake has completed with a client
2014-04-04 10:44:15 -07:00
Stephen Birarda
efd176f93c
complete check in and heartbeat via DTLS
2014-04-04 09:56:57 -07:00
Stephen Birarda
7b6ce77690
add processing of DTLS datagrams to domain-server
2014-04-04 09:20:40 -07:00
Atlante45
ba4ccc22ef
Changed FstReader name to ModelUploader
2014-04-03 16:19:33 -07:00
Atlante45
3bb6d9b3b3
Added call back to model upload.
2014-04-03 16:07:25 -07:00
Atlante45
d15e12da77
Changed FstReader categories to place models in the right dirs
2014-04-03 12:25:50 -07:00
Stephen Birarda
1c4d44ba4a
attempt to complete handshake every 100ms instead of every 1s
2014-04-02 18:08:44 -07:00
Stephen Birarda
62de84315e
detect handshake completion in DS and client
2014-04-02 17:56:04 -07:00
Stephen Birarda
e1cae6d295
initial handshaking for DTLS sessions between DS and clients
2014-04-02 17:29:14 -07:00
Atlante45
52df77b4b5
Final work on models metadata support
2014-04-02 16:25:35 -07:00
Atlante45
b73598ae8a
Merge branch 'master' of https://github.com/highfidelity/hifi into display_models_metadata
2014-04-02 11:40:41 -07:00
Stephen Birarda
dc3a4d4957
remove some unneeded parenthesis
2014-04-02 09:07:34 -07:00
Stephen Birarda
fd1ed13de0
fix static x509CACredentials method
2014-04-01 16:53:17 -07:00
Stephen Birarda
632dc6b8e4
set GnuTLS credentials for DTLSClientSession
2014-04-01 16:51:05 -07:00
Stephen Birarda
b5b4edc999
add notion of server and client DTLSSessions
2014-04-01 16:47:45 -07:00
Stephen Birarda
ce6f845681
remove some gnutls handshake debugging
2014-04-01 14:47:30 -07:00
Stephen Birarda
94b29782eb
re-scaffold some client side DTLS in DTLSSession
2014-04-01 14:19:07 -07:00
Stephen Birarda
0be2eb57bf
repairs to NodeList and LimitedNodeList
2014-04-01 13:56:33 -07:00
Stephen Birarda
45c6ae44a6
use a LimitedNodeList in domain-server
2014-04-01 13:33:30 -07:00
Stephen Birarda
62041d91a8
rename NodeList DomainInfo to DomainHandler
2014-04-01 13:09:35 -07:00
Stephen Birarda
caf2473df8
add a DTLSSession object to handle GnuTLS DTLS sessions
2014-04-01 13:08:00 -07:00
Atlante45
bdd5c291b0
Merge branch 'master' of https://github.com/highfidelity/hifi into display_models_metadata
2014-04-01 12:03:45 -07:00
Atlante45
03958f2fa0
work on metadata in the model browser + real time updates
2014-04-01 12:02:47 -07:00
Atlante45
77f5a50738
Merge branch 'master' of https://github.com/highfidelity/hifi into more_upload_fixes
2014-03-31 17:19:45 -07:00
Atlante45
f027aac76b
Fix to model upload in account manager
2014-03-31 17:19:04 -07:00
Stephen Birarda
135d97d0a7
add a pretty important missing line for symmetric socket activation
2014-03-31 15:59:54 -07:00
Stephen Birarda
62da4d622d
don't require an MD5 hash in non-verified packets
2014-03-31 15:36:32 -07:00
Stephen Birarda
6c08e2a407
add option for domain-server to enforce DTLS
2014-03-31 15:06:58 -07:00
Stephen Birarda
da30d21f6e
complete inital DTLS setup in domain-server
2014-03-31 14:02:11 -07:00
Stephen Birarda
61711c7aaa
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-03-28 13:30:06 -07:00
Stephen Birarda
eb35b63651
use a shared pointer for more elegant cleanup at assignment conclusion
2014-03-28 10:48:44 -07:00
Stephen Birarda
7b840f760c
Merge pull request #2538 from AndrewMeadows/enforce-standard
...
making some type casts abide by coding standard
2014-03-28 09:19:16 -07:00
Stephen Birarda
8b1b2d8d99
send a symmetric ping packet if appropriate when pinging nodes
2014-03-28 09:11:20 -07:00
Stephen Birarda
f80b415497
handle activation and setting of symmetric socket
2014-03-28 09:07:30 -07:00
Stephen Birarda
18a293c020
add a symmetric socket to the Node class
2014-03-28 08:58:49 -07:00
Stephen Birarda
1c47b8a3e1
Revert "hack the NodeList to take the socket on which pinged as active socket"
...
This reverts commit 5c7ac6d3a1
.
2014-03-27 21:29:01 -07:00
Stephen Birarda
5c7ac6d3a1
hack the NodeList to take the socket on which pinged as active socket
2014-03-27 17:41:55 -07:00
ZappoMan
bda96ef935
added back use of nodeWithUUID() instead of sharedpointer
2014-03-27 13:35:22 -07:00
Atlante45
d9c48d63fe
Made _zipDir a children of _dataMultiPart so it gets deleted at the right time.
2014-03-27 11:18:32 -07:00
Atlante45
88e7b8e68f
Fixed "memory leak" in Account Manager.
2014-03-27 11:16:52 -07:00
Andrew Meadows
c383b69b61
merge upstream/master into enforce-standard
...
Conflicts:
interface/src/avatar/Hand.cpp
2014-03-27 10:53:54 -07:00
Atlante45
11f40258b3
Merge branch 'master' of https://github.com/highfidelity/hifi into more_upload_fixes
2014-03-27 10:12:34 -07:00
ZappoMan
55b9dd1aee
remove non-locking version of nodeWithUUID()
2014-03-27 02:32:19 -07:00
Andrzej Kapolka
f339a3c0d7
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-03-26 18:30:23 -07:00
Stephen Birarda
87cbe9a1f4
Merge pull request #2524 from AndrewMeadows/shapes
...
avatar responds to hand-vs-head collisions again
2014-03-26 17:10:43 -07:00
Andrew Meadows
4c64c11144
making some type casts abide by coding standard
2014-03-26 16:58:47 -07:00
Andrzej Kapolka
52c8a865f1
Provide a means of tracking resource download progress. Until we have a
...
user-friendly progress meter/throbber, put the download progress in the
extended stats.
2014-03-26 15:53:19 -07:00
Atlante45
d32797b54c
Added bunch of feedback
2014-03-26 15:13:52 -07:00
Atlante45
fa2a60448b
Fixed double free crash
2014-03-26 15:09:44 -07:00
Atlante45
718b8f7eb9
Changed back to upload either head or skeleton
2014-03-26 15:07:19 -07:00
Brad Hefta-Gaub
d90ebfd29a
Merge pull request #2504 from Atlante45/upload_feedback
...
Display warning popup when something went wrong with the fst upload
2014-03-26 13:31:49 -07:00
Atlante45
f95c43393c
Fixed uninitialized member
2014-03-26 13:10:56 -07:00
Philip Rosedale
b3b9a2f337
Merge pull request #2516 from birarda/master
...
actually change NodeList send buffer size
2014-03-26 12:12:26 -07:00
Stephen Birarda
6e161e7c61
actually attempt to change send buffer size
2014-03-26 12:05:55 -07:00
Philip Rosedale
020f4b020e
Merge pull request #2503 from birarda/master
...
increase NodeList send buffer size to 1MB
2014-03-26 12:00:43 -07:00
Stephen Birarda
cb617c9e17
add a button on DS admin page to kill all nodes
2014-03-26 11:37:30 -07:00
Stephen Birarda
e03e82a29b
ifdef to handle getsockopt format requirements on windows
2014-03-26 11:02:34 -07:00
Stephen Birarda
c4b8ff8952
cast setsocktopt and getsockopt calls to fix windows build
2014-03-26 10:53:43 -07:00
Stephen Birarda
ed9c805539
attempt to set send buffer size to 1MB
2014-03-25 17:29:35 -07:00
Stephen Birarda
46077a7fb0
output old size when notifying for send buffer size change
2014-03-25 17:24:17 -07:00
Stephen Birarda
db757e9e7b
increase NodeList send buffer size by default to 128KB
2014-03-25 17:18:45 -07:00
Atlante45
9f95ca8e7c
Display warning popup when something went wrong with the fst upload
2014-03-25 17:18:18 -07:00
Stephen Birarda
34634af975
add mutex header to NodeData
2014-03-25 16:05:51 -07:00
Andrew Meadows
fff7a36b54
merge upstream/master into physics project
...
Conflicts:
interface/src/avatar/Hand.cpp
interface/src/avatar/Hand.h
interface/src/avatar/SkeletonModel.cpp
interface/src/avatar/SkeletonModel.h
interface/src/renderer/Model.h
2014-03-25 15:55:26 -07:00
Stephen Birarda
c8b3ae0c40
add a mutex to NodeData and leverage in AvatarMixer threads
2014-03-25 15:49:47 -07:00
Andrew Meadows
06fbd49ffa
Adding StreamUtils for common debug output
2014-03-25 15:29:22 -07:00
Andrew Meadows
5934a17475
fix sphere-capsule collisions at the capsule caps
2014-03-25 15:27:28 -07:00
Stephen Birarda
d5be3f1c9f
output socket errors if they occur
2014-03-25 15:01:24 -07:00
Stephen Birarda
56869a769d
remove some extraneous domain-server check in debugging
2014-03-25 14:53:32 -07:00
Stephen Birarda
38ad75fc9e
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar-debug
2014-03-25 14:52:28 -07:00
Stephen Birarda
7190ce9a88
remove loadRandomIdentifier for STUN requests, use UUID
2014-03-25 14:33:53 -07:00
Stephen Birarda
41e2ce2b19
remove DS check in debug
2014-03-25 14:29:59 -07:00
Stephen Birarda
4e77afb4b2
block and wait for bytes to be written during broadcastAvatarData loop
2014-03-25 13:38:02 -07:00
Stephen Birarda
68d55152b9
flush after each call to writeDatagram
2014-03-25 13:28:53 -07:00
Stephen Birarda
08bfc15b70
output more descriptive socket error
2014-03-25 13:20:45 -07:00
Stephen Birarda
6a8637230f
add socket error debugging
2014-03-25 13:17:37 -07:00
Stephen Birarda
ce169dd87d
add code return debug to DS check in packet
2014-03-25 13:06:44 -07:00
Stephen Birarda
08ed708ee6
add domain IP and packet size debugging
2014-03-25 13:05:58 -07:00
Stephen Birarda
f0b87bebc2
cleanup debug and inactive node pinging
2014-03-25 13:02:09 -07:00
Stephen Birarda
bc1b7045cb
output count of unreplied domain-server check ins
2014-03-25 12:30:06 -07:00
Stephen Birarda
a90cd7ed31
cast numerator to float before divide
2014-03-24 16:54:14 -07:00
Stephen Birarda
b01b2a3311
use explicit float casts where appropriate
2014-03-24 16:35:36 -07:00
Stephen Birarda
ba338cb7bc
at minimum send packet rate stats for ThreadedAssignment subclasses
2014-03-24 16:06:25 -07:00
Stephen Birarda
8dbe4dfdde
collect packet rate stats in NodeList
2014-03-24 15:06:53 -07:00
Stephen Birarda
5f93e44ff7
abstract stats packet sending to NodeList
2014-03-24 12:33:00 -07:00
Stephen Birarda
8f403609e7
hook JSON stats sending from domain-server
2014-03-24 11:56:16 -07:00
Stephen Birarda
949f7b2fc1
add a json stats packet type
2014-03-24 11:21:39 -07:00
ZappoMan
bde2146b1b
whitespace cleanup
2014-03-23 18:14:36 -07:00
ZappoMan
9c7ffffbae
fix some windows issues
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
2014-03-23 18:10:22 -07:00
ZappoMan
2c8c43094f
CR feedback
2014-03-21 14:46:46 -07:00
ZappoMan
3cb3cb81c4
fixes to voxel server crashes on client shutdown
2014-03-21 14:15:02 -07:00
Stephen Birarda
acedc555d5
Merge pull request #2424 from birarda/audio-scaling
...
move and remove some debugging for audio mixer
2014-03-21 10:26:41 -07:00
Stephen Birarda
c1cbc79807
move debug for no reply domain checkins to ThreadedAssignment
2014-03-21 10:26:09 -07:00
Philip Rosedale
b49058ea77
Merge pull request #2402 from Atlante45/inspect_js
...
Inspect js
2014-03-20 17:21:21 -07:00
Atlante45
746d109025
Merge branch 'master' of https://github.com/highfidelity/hifi into inspect_js
2014-03-20 16:10:33 -07:00
Atlante45
65603b0631
Fixed typo
2014-03-20 15:30:28 -07:00
Atlante45
bf85f8d5e5
Changed model_type to model_categorie in FstReader
2014-03-20 14:00:27 -07:00
Atlante45
a908c23f61
Merge branch 'master' of https://github.com/highfidelity/hifi into fix_models_upload
2014-03-20 13:58:44 -07:00
Atlante45
947dde3715
Modified models uploader to diferrenciate heads and skeletons
2014-03-20 12:44:37 -07:00
Atlante45
4604f5333d
Merge branch 'master' of https://github.com/highfidelity/hifi into inspect_js
2014-03-20 12:15:55 -07:00
Andrzej Kapolka
20ae5c15f7
Added a "flat" mode for environments that makes them follow you around on the
...
X/Z axes. The default environment is flat. Closes #2378 .
2014-03-20 12:09:20 -07:00
Andrzej Kapolka
a761a4862b
Merge pull request #2398 from AndrewMeadows/emergency-fixes
...
explicitly send neck angles in avatar data
2014-03-20 11:19:13 -07:00
AndrewMeadows
144f86b540
Merge pull request #2370 from Atlante45/model_browsing
...
Model browsing
2014-03-20 11:15:35 -07:00
Andrew Meadows
6440dd1b5f
explicitly send neck angles in avatar data
2014-03-20 11:05:14 -07:00
Philip Rosedale
e14069c9e3
Merge pull request #2376 from ZappoMan/experimental_scaling
...
Voxel Server Performance Improvements
2014-03-19 16:24:47 -07:00
Tony Hagale
7f2a92d759
#2386 trying a new static lookup table for numberOfOnes()
2014-03-19 16:28:12 -05:00
Tony Hagale
5f94e44cde
#2386 trying a new static lookup table for numberOfOnes()
2014-03-19 16:26:45 -05:00
Atlante45
d239aecbfb
Added names to signals argument
2014-03-19 10:17:28 -07:00
ZappoMan
584adfda08
cleanup headers
2014-03-19 00:32:38 -07:00
ZappoMan
499c4bd500
fix octree server crashes on various shutdown corner cases
2014-03-18 17:44:53 -07:00
Atlante45
93f66b074a
Merge branch 'master' of https://github.com/highfidelity/hifi into model_browsing
2014-03-18 17:37:07 -07:00
Stephen Birarda
f86b793c96
only output version mismatch once per sender per packet
2014-03-18 17:14:57 -07:00
Stephen Birarda
281f2c6614
return false in packetVersionAndHashMatch on version mismatch
2014-03-18 17:04:27 -07:00
Atlante45
a10a3f6f29
Merge branch 'master' of https://github.com/highfidelity/hifi into model_browsing
2014-03-18 14:49:00 -07:00
Andrzej Kapolka
500f9d1485
Merge pull request #2338 from AndrewMeadows/cleanup
...
Don't send redundant avatar hand/head data, and cleanup.
2014-03-18 13:57:30 -07:00
Atlante45
6f50ea0faa
Improved FileDownloader
2014-03-18 13:55:14 -07:00
Andrew Meadows
4a1a7898ea
Merge branch 'cleanup' into 'shapes'
2014-03-18 12:53:45 -07:00
Andrew Meadows
a2fea49f58
bump version of PacketTypeAvatarData from 1 to 2
2014-03-18 12:36:48 -07:00
Stephen Birarda
b6a41eeaaa
resolve conflicts on merge with upstream master
2014-03-18 10:37:04 -07:00
Andrzej Kapolka
6aa1f286bb
Alpha is the new default.
2014-03-18 10:13:23 -07:00
Stephen Birarda
7ba595338e
guard around update to last heard for a NULL matching node
2014-03-17 17:39:08 -07:00
ZappoMan
9411519dc9
fix SimpleMovingAverage::reset()
2014-03-17 16:37:07 -07:00
Stephen Birarda
61594b9a1e
fixes to silent audio frame sending
2014-03-17 16:27:49 -07:00
Stephen Birarda
9f24bd9c47
have the AudioMixer handle silent audio, send silence from Interface when gate closed
2014-03-17 15:12:02 -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
96572d3752
fix some Q_OBJECT macros in class headers
2014-03-17 10:57:53 -07:00
ZappoMan
cbdd159213
fix constness
2014-03-17 10:55:43 -07:00
Brad Hefta-Gaub
c6f8d34ded
fix unix warning
2014-03-14 18:16:38 -07:00
Brad Hefta-Gaub
c0ee3fa1f0
fix unix warning
2014-03-14 18:14:54 -07:00
Brad Hefta-Gaub
0e7e337807
fixed uninitialized variable warning
2014-03-14 18:05:40 -07:00
Atlante45
f07725d017
Merge branch 'master' of https://github.com/highfidelity/hifi into model_browsing
2014-03-14 17:47:39 -07:00
Atlante45
a88872a21f
Simple class to download files (sync/async)
2014-03-14 17:41:22 -07:00
Andrew Meadows
d4c7e25f8e
Merge branch upstream/master into "hands" project
2014-03-14 14:28:50 -07:00
Andrew Meadows
a045a87cca
Remove arm stretching, add sixense calibration
2014-03-14 11:11:00 -07:00
Atlante45
423f26f669
Review comments
2014-03-13 15:26:02 -07:00
Atlante45
e5b5778caf
Upload FST
2014-03-13 15:04:22 -07:00
Atlante45
51585acd25
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar_uploader
2014-03-13 10:53:24 -07:00
Andrzej Kapolka
e249b29b45
Merge pull request #2268 from AndrewMeadows/radians
...
prefer radians over degrees
2014-03-12 12:10:29 -07:00
AndrewMeadows
b1f4edb3a5
Merge pull request #2271 from ZappoMan/QWaitCondition
...
Fix runaway JurisdictionListener thread and other improvements
2014-03-12 11:54:48 -07:00
Atlante45
3aa534d47c
Added the send method
2014-03-12 11:48:41 -07:00
ZappoMan
e72d3127bf
fix comment and remove dead code
2014-03-11 21:25:30 -07:00
ZappoMan
025da315c6
removed dontSleep from JurisdictionListener
2014-03-11 21:11:47 -07:00
ZappoMan
8befefb054
first cut at making PacketSender use QWaitCondition
2014-03-11 20:45:46 -07:00
ZappoMan
f5cdb98efb
switch ReceivedPacketProcessor to using QWaitCondition
2014-03-11 20:32:02 -07:00
Andrzej Kapolka
6c4223bcdf
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-03-11 18:12:12 -07:00
Andrew Meadows
793a760272
merge upstream master into "radians" project
2014-03-11 17:28:36 -07:00
Andrew Meadows
aa8c2fc8cb
use radians instead of degrees (almost) everywhere
2014-03-11 17:26:58 -07:00
Dimitar Dobrev
60bf473be7
Improved the adherence to code conventions after a code review.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
86643803cf
Moved the connection and configuration of XMPP to the log-in process.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
9eb217794c
Added time stamps to the chat. Enabled translations.
2014-03-12 01:24:30 +02:00