Andrew Meadows
8986be5f1c
remove old collideAgaintsOurself() code
2014-06-23 10:36:31 -07:00
Andrew Meadows
c1c2df5933
remove debug include
2014-06-23 08:53:58 -07:00
Andrew Meadows
b2ea8c0bf9
Compute more correct masses for ragdoll parts
...
also pin root ragdoll shape at the local-frame origin
for stability
2014-06-23 08:37:11 -07:00
Andrew Meadows
ea83a97b75
Add getVolume() method to Shape
2014-06-23 08:36:45 -07:00
Andrzej Kapolka
de0c45a919
Spanner mutation in test.
2014-06-20 18:09:51 -07:00
Andrew Meadows
dcd9d8871d
re-enabling some temporary debug stuff
2014-06-20 16:36:44 -07:00
Andrew Meadows
c17b8fdb60
collisions update shapes
...
VerletShapes keep pointers to VerletPoints (rather than to glm::vec3's)
VerletShapes compute lagrangian coefficients
VerletShapes send their movement accumulations to their VerletPoints
2014-06-20 16:31:39 -07:00
Andrew Meadows
c7ad3da47d
stubbery for processing collisions
...
PhysicsSimulation tells CollisionInfos to apply() themselves
CollisionInfo knows how to apply() itself to affected shapes
Shape gets _mass and some stubbed methods for accumulating movement
VerletPoint gets movement accumulator
2014-06-20 10:55:57 -07:00
Andrew Meadows
4a0ce7a9ae
support disabling collisions btw adjacent joints
2014-06-19 17:39:50 -07:00
Andrew Meadows
f0c2417206
Split PhysicsSimulation::stepForward() into parts
2014-06-19 15:50:16 -07:00
Andrew Meadows
716ae3e479
add MyAvatar's skeleton to its PhysicsSimulation
2014-06-19 12:32:17 -07:00
Andrew Meadows
828c365b25
more dtor cleanup of back pointers
2014-06-19 11:57:32 -07:00
Andrew Meadows
9950c5b209
remove entities in PhysicsSimulation dtor
2014-06-19 11:52:44 -07:00
Andrew Meadows
fbafcb6fd8
Fix distance constraint lengths
2014-06-19 11:46:09 -07:00
Andrew Meadows
2453e9c36a
build ragdoll constraints again
2014-06-19 10:31:55 -07:00
Andrew Meadows
5e74ee8c05
VerletPoint has position, lastPosition, and mass
2014-06-19 09:54:32 -07:00
Andrew Meadows
d3a78c9fc2
simulation step stubbed out
2014-06-19 09:14:36 -07:00
Andrew Meadows
a8c2003fe6
namechange SimulationEngine --> PhysicsSimulation
2014-06-19 08:34:12 -07:00
Andrew Meadows
7cd1f75282
PhysicalEntity gets backpointer to SimulationEngine
2014-06-18 20:47:57 -07:00
Andrew Meadows
c98631f820
merge upstream/master into andrew/ragdoll
2014-06-18 17:23:24 -07:00
Andrew Meadows
d4b5550cda
Skeleton now creates VerletShape
2014-06-18 17:22:39 -07:00
ZappoMan
28c7c24399
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
...
Conflicts:
libraries/octree/src/AABox.h
2014-06-18 15:27:36 -07:00
ZappoMan
c54bdb3e8d
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
2014-06-18 15:20:08 -07:00
Andrew Meadows
3791b4712b
adding some documentation about the VerletShapes
2014-06-18 14:17:12 -07:00
Andrew Meadows
96eebec0fc
unit tests for VerletShapes
2014-06-18 14:06:00 -07:00
Stephen Birarda
5878b4af59
setup listener unattenuated zones for source ring buffers
2014-06-18 12:50:16 -07:00
Brad Hefta-Gaub
c49ff59725
Merge pull request #3037 from wangyix/edit_nack_pull
...
Edit nack pull
2014-06-18 11:43:25 -07:00
Andrew Meadows
9e839f0980
Shape::getCenter() -> Shape::getTranslation()
2014-06-18 08:55:48 -07:00
ZappoMan
5a246fab26
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
...
Conflicts:
tests/octree/src/main.cpp
2014-06-17 17:45:06 -07:00
Andrew Meadows
b9d4545aef
merge upstream/master into andrew/ragdoll
...
Conflicts:
libraries/shared/src/Shape.h
libraries/shared/src/ShapeCollider.h
2014-06-17 17:03:16 -07:00
Andrew Meadows
ecbf5043d7
code out of Model into base and derived classes
...
PhysicalEntity (base class) gets some shape management stuff
SkeletonModel (derived class) gets some boundary shape and
joint-shape stuff
2014-06-17 16:22:18 -07:00
Andrew Meadows
b6cecf3cfd
Add SphereShape.cpp to project
2014-06-17 12:50:49 -07:00
Andrew Meadows
f18864bd72
Moved findRayIntersection() to the Shape classes
2014-06-17 12:36:36 -07:00
Andrew Meadows
018ba52b1c
merge upstream/master with andrew/inertia
2014-06-17 10:50:49 -07:00
Andrew Meadows
ab3d582d79
Add ray intersection tests against most shapes.
2014-06-17 10:49:14 -07:00
Andrew Meadows
e75340f8ce
Add PlaneShape::getNormal() method.
2014-06-17 10:48:29 -07:00
Andrew Meadows
118717d96a
Shapes moved from Model into PhysicalEntity
2014-06-16 14:51:58 -07:00
Kai Ludwig
d08b63b247
changed 2000 into a constant defined inline
2014-06-16 23:30:28 +02:00
Andrew Meadows
1496e6c8b2
add VirletSphereShape and VirletCapsuleShape
2014-06-16 12:29:41 -07:00
Andrew Meadows
3a2f322ca3
SphereShape, CapsuleShape support derived classes
2014-06-16 12:23:18 -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
Andrew Meadows
3fd4ee02ff
Shape uses "center" instead of "position"
2014-06-16 08:55:08 -07:00
Andrew Meadows
92159a7ed5
Shape::get/setCenter() instead of get/setPosition()
2014-06-16 08:43:27 -07:00
Andrew Meadows
d7a28e1441
enable shape collisions for MyAvatar skeleton
...
also some stubbery for main simulation loop
2014-06-15 18:07:47 -07:00
Andrew Meadows
6f4a4ace0d
add API stubs to RagDoll for SimulationEngine stepForward
2014-06-15 17:58:27 -07:00
Andrew Meadows
6d27987226
Add shape vs list-of-shapes collision method
...
and list-of-shapes vs list-of-shapes
2014-06-15 17:56:02 -07:00
Kai Ludwig
3fbde70f96
Added functions to test usleep, msleep and sleep for accuracy.
2014-06-15 21:05:23 +02:00
Andrew Meadows
158c7de76e
Ragdoll not an Entity. SkeletonModel is a Ragdoll
2014-06-13 12:27:58 -07:00
Andrew Meadows
5bd37acdb8
Changed RagDoll to Ragdoll
2014-06-13 11:55:39 -07:00
Andrew Meadows
417a7def07
SimulationEngine::enforceConstraints() takes args
...
...for limiting simulation costs
2014-06-13 11:10:32 -07:00
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