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
Dimitar Dobrev
437cadf360
Added a basic version of the chat window.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
1c2e752f3c
Integrated QXmpp in the build system.
2014-03-12 01:16:10 +02:00
Dimitar Dobrev
07d3eb886a
Added reading and storing of the XMPP password of the current user.
2014-03-12 01:16:10 +02:00
Andrzej Kapolka
7d1a44fbea
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-03-11 12:52:13 -07:00
Andrzej Kapolka
ae6a59ef78
Ray intersections for models, don't load resources if there's no network
...
manager installed.
2014-03-10 17:53:20 -07:00
Andrzej Kapolka
34ddddae1b
Basic LRU cache. Closes #2234 .
2014-03-10 12:06:07 -07:00
Andrzej Kapolka
9731159b82
Merge branch 'master' of https://github.com/highfidelity/hifi into joints
2014-03-10 10:57:48 -07:00
Andrzej Kapolka
d2f947aee1
Working on LRU cache for resources.
2014-03-10 10:49:38 -07:00
ZappoMan
e2415642f0
temporary fix to OSX 10.8 problem by delaying creation of _networkAccessManager
2014-03-09 00:10:31 -08:00
ZappoMan
1ceb05bf09
click harder
2014-03-08 18:22:30 -08:00
Atlante45
8faaa28bc1
FST ploader base
2014-03-07 11:55:02 -08:00
Andrew Meadows
9d2758ee14
fix warning about malformed case statement
2014-03-07 09:32:12 -08:00
Andrzej Kapolka
c5ab32235f
Merge branch 'master' of https://github.com/highfidelity/hifi into joints
2014-03-06 17:09:24 -08:00
Andrzej Kapolka
3adea84b81
Basic joint data sending. Closes #2166 .
2014-03-06 17:07:29 -08:00
ZappoMan
c81bac2ac4
Merge pull request #2224 from birarda/resources
...
cleanup switchToResourcesParentIfRequired hack
2014-03-06 16:51:31 -08:00
Stephen Birarda
0f22168e42
Merge pull request #2230 from ey6es/master
...
Add a five second download timeout timer: if that much time passes witho...
2014-03-06 16:22:54 -08:00
Stephen Birarda
8cbdf5d94a
Merge branch 'master' of https://github.com/highfidelity/hifi into resources
2014-03-06 15:49:45 -08:00
Stephen Birarda
ac66f09157
Merge pull request #2194 from AndrewMeadows/cleanup
...
g++ warnings
2014-03-06 15:49:22 -08:00
Andrzej Kapolka
8ec7a5e600
When we time out, report the last received/total counts.
2014-03-06 15:08:34 -08:00
Andrew Meadows
0b2c399713
memcmp() returns a signed int!
2014-03-06 14:33:59 -08:00
Andrzej Kapolka
1468bd1b49
Add a five second download timeout timer: if that much time passes without
...
any progress, consider it an error.
2014-03-06 14:31:13 -08:00
Stephen Birarda
403f91c988
update resource references to use Qt resource system
2014-03-06 10:41:11 -08:00
Philip Rosedale
c2a63c4206
Merge pull request #2190 from AndrewMeadows/shapes
...
Collision Shapes
2014-03-05 17:59:42 -08:00
Philip Rosedale
e4924cdca8
Merge pull request #2202 from birarda/authentication
...
remove deprecated qt5 methods in CMakeList files
2014-03-04 18:30:22 -08:00
Stephen Birarda
231dc624ff
replace deprecated qt5 macros in cmake with target_link_libraries
2014-03-04 12:41:24 -08:00
Andrew Meadows
57e217c7fb
Merge branch 'master' of ssh://github.com/highfidelity/hifi into shapes
2014-03-04 12:10:12 -08:00
Andrew Meadows
d537b4118d
Merge branch 'master' of ssh://github.com/highfidelity/hifi into shapes
2014-03-04 11:40:59 -08:00
Andrew Meadows
427cf02d03
Merge branch 'cleanup' to 'cleanup2'
2014-03-04 11:20:42 -08:00
Andrew Meadows
1b2db1f7ab
fix for warnings about signed/unsigned comparison
2014-03-04 11:07:15 -08:00
Stephen Birarda
f5aaad1f33
remove if checks in cases where delete handles null
2014-03-04 10:05:43 -08:00
Andrew Meadows
e22e022252
Fixing warnings and out-of-range index.
2014-03-04 09:55:32 -08:00
Andrew Meadows
343998a4a8
Adding virtual destructor to Shape class
2014-03-04 09:55:08 -08:00
Andrew Meadows
7ba5bc71ea
Merge branch 'master' of ssh://github.com/highfidelity/hifi into shapes
...
Conflicts:
interface/src/renderer/FBXReader.cpp
interface/src/renderer/Model.cpp
interface/src/renderer/Model.h
2014-03-04 09:01:24 -08:00
ZappoMan
1a5b0ee02e
Merge pull request #2170 from birarda/cmake-quotes
...
complete quoting of various cmake commands
2014-03-04 09:00:26 -08:00
Andrew Meadows
f23dda7317
Less math for the same effect.
2014-03-03 17:34:16 -08:00
Stephen Birarda
bb3a8677be
Merge branch 'master' of https://github.com/highfidelity/hifi into cmake-quotes
2014-03-03 16:31:25 -08:00
Andrzej Kapolka
7ecfeeaba3
Do the actual reading of the reply on the worker thread. Otherwise, when we
...
read from the cache, we're reading synchronously from a file. Closes #2171 .
2014-03-03 15:16:13 -08:00
Andrzej Kapolka
9759cd70c0
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-03-03 14:20:21 -08:00
Andrzej Kapolka
85083d74bc
Fix for annoying "QThreadStorage" warning.
2014-03-03 13:39:01 -08:00
Stephen Birarda
1b7d24a79c
keep known nodes alive when we receive a packet from them
2014-03-03 12:49:46 -08:00
Stephen Birarda
628f91cd73
complete quoting of varous Cmake commands, closes #1999
2014-03-03 12:15:05 -08:00
Stephen Birarda
60eb588e96
remove some unecessary null pointer checks
2014-03-03 11:36:01 -08:00
ZappoMan
ef87fbffac
Merge branch 'master' of https://github.com/worklist/hifi into octree_server_scaling
...
Conflicts:
libraries/shared/src/ResourceCache.cpp
2014-02-28 16:58:43 -08:00
ZappoMan
c1c41ea2ca
handle some shutdown cases and reduce time of locking in octree server
2014-02-28 16:18:02 -08:00
ZappoMan
d2faca9767
fixed some warnings
2014-02-28 16:17:30 -08:00
Andrzej Kapolka
2f27d8ecd3
Process geometry/textures in worker threads (via QThreadPool). Closes #2137 .
2014-02-28 16:14:02 -08:00
Andrzej Kapolka
21a149348b
When switching models, retain old one until new one is loaded. Closes #2146 .
2014-02-28 13:57:25 -08:00
Andrzej Kapolka
73ec568b4b
Further work on request limiting.
2014-02-27 19:28:45 -08:00
Andrzej Kapolka
29f7954d20
Factored out bits common to resource caches, added global limit on number of
...
resources being requested at any one time.
2014-02-27 18:13:40 -08:00
Andrew Meadows
b8c1bab4ae
Using pre-computed Model shapes for collisions
...
...instead of generating collision shapes on the fly
2014-02-27 17:52:35 -08:00
Andrew Meadows
25bdfd7677
Update to comment.
2014-02-26 15:38:33 -08:00
Andrew Meadows
5954bb91d4
ListShape now handled by ShapeCollider
2014-02-26 15:36:19 -08:00
Andrew Meadows
07eb366138
stubbed out collision handlers for ListShape
2014-02-26 14:32:46 -08:00
Philip Rosedale
0a1e840d10
Bot.js NPCs wander around and make sounds
2014-02-26 13:50:04 -08:00
Andrew Meadows
da0276ac7e
ShapeCollider takes CollisionList argument
...
Also, adding first pass at ListShape
2014-02-26 12:10:16 -08:00
ZappoMan
d765e250d5
removed AbstractMenuInterface.h
2014-02-25 20:42:59 -08:00
ZappoMan
42ddc82ac4
possible fix to windows assert
2014-02-25 20:23:38 -08:00
ZappoMan
4b3911c5c1
Merge pull request #2101 from birarda/authentication
...
fixes to login/logout flow when jumping domains
2014-02-25 18:25:17 -08:00
Stephen Birarda
bf3b5c07d5
Merge pull request #2093 from ZappoMan/menu_js
...
Adds support for editing application Menus to JS
2014-02-25 17:40:39 -08:00
Stephen Birarda
d5fc1caaaf
fix wording for access token change signal
2014-02-25 16:12:25 -08:00
Stephen Birarda
2496c6252f
fix login/logout flow when jumping domains
2014-02-25 16:10:08 -08:00
Stephen Birarda
6d847f29fb
currently support system wide auth only via hifi data-web
2014-02-25 16:05:05 -08:00
Stephen Birarda
d0269761b6
remove unecessary qDebug include
2014-02-25 14:39:33 -08:00
Stephen Birarda
27be157d70
fix oauth early token expiry
2014-02-25 14:38:19 -08:00
Stephen Birarda
ce3d6d2fca
reset nodelist if domain-server stops talking to you, closes #2092
2014-02-25 13:07:39 -08:00
ZappoMan
263d682fb9
Merge branch 'master' of https://github.com/worklist/hifi into menu_js
2014-02-25 12:20:15 -08:00
Andrew Meadows
362708be60
fix another missing semicolon
2014-02-25 11:19:07 -08:00
Andrew Meadows
28d9fb9747
fix missing semicolon
2014-02-25 11:17:48 -08:00
Andrew Meadows
9a70a50bdb
capsuleCapsule() collision with preliminary tests
2014-02-25 10:59:12 -08:00
Stephen Birarda
1163cfd07e
if the domain-server provides no auth, assume default
2014-02-25 10:58:32 -08:00
Stephen Birarda
b09ed1dff1
present a login window on app start
2014-02-25 10:53:13 -08:00
ZappoMan
74d48ab239
added support for MenuItemProperties for addMenuItem, removed some cruft, beginning support for menu item placement
2014-02-25 10:23:59 -08:00
Stephen Birarda
45429fa1e1
fix default node auth URL
2014-02-25 09:38:22 -08:00
Stephen Birarda
6d56ab3a30
use toDouble instead of toInt for Qt 5.1 compatibility
2014-02-24 15:27:12 -08:00
Stephen Birarda
672c6a9ed1
fix complaint for incomplete type QStringList
2014-02-24 15:23:47 -08:00
Stephen Birarda
c1b45d7eaa
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-02-24 15:18:21 -08:00
Stephen Birarda
f20808b47f
remove option to drive from transmitter
2014-02-24 15:11:02 -08:00
Stephen Birarda
050d223b3a
add domain connection reset to NodeList reset
2014-02-24 13:33:52 -08:00
Stephen Birarda
27c779666b
add auth to assignment-client, fix refresh of static assignments
2014-02-24 13:29:32 -08:00
Stephen Birarda
9771e1bb12
resolve conflicts on merge with upstream master
2014-02-24 12:06:10 -08:00
Stephen Birarda
9dc460bab4
make multiple instances of scripted assignment use diff UUID
2014-02-24 11:56:14 -08:00
Andrew Meadows
8a3640f016
Adding CapsuleSphere collisions with tests.
2014-02-24 11:38:27 -08:00
Stephen Birarda
a8493ecaa2
cleanup login/logout in menu, logout only when in
2014-02-24 11:11:36 -08:00
Andrew Meadows
0e28e0947c
Adding ShapeColliderTests.*
2014-02-22 13:20:47 -08:00
Stephen Birarda
6165ca658a
add a logout option to the menu
2014-02-21 17:13:22 -08:00
Stephen Birarda
0686539734
default to quieter HTTP request debugging
2014-02-21 17:07:14 -08:00
Stephen Birarda
52a21d4dfd
hook to request user's location from data-server
2014-02-21 16:55:20 -08:00
Andrew Meadows
8c1dc40d39
Adding basic physics shapes (unfinished)
2014-02-21 16:29:07 -08:00
Andrew Meadows
ef6d2a624b
helper methods to rotate/translate CollisionInfo
2014-02-21 16:24:40 -08:00
Stephen Birarda
6df317e8e6
update user's domain in data-server after connection to new one
2014-02-21 16:22:17 -08:00
Stephen Birarda
340248ac43
resolve conflicts on merge with upstream master
2014-02-21 15:16:15 -08:00
Stephen Birarda
a49893689e
store username in local settings so it doesn't need to be reloaded
2014-02-21 15:05:57 -08:00
Stephen Birarda
76e6c9342f
parse username returned from data-server
2014-02-21 14:41:43 -08:00
Stephen Birarda
9d2d9c5071
fix cross-thread calls to AccountManager, domain switch flow
2014-02-21 13:45:39 -08:00
Stephen Birarda
d56bafc9a5
default to no auth for domain-server, fix no auth flow
2014-02-21 13:16:24 -08:00
Andrzej Kapolka
8d01527d93
Merge branch 'master' of https://github.com/highfidelity/hifi into bilbo
2014-02-21 12:16:33 -08:00
ZappoMan
a12e1ef18f
Merge pull request #2043 from birarda/metavoxel-fix
...
fixes for extra characters in logging target names
2014-02-21 10:24:29 -08:00
Andrzej Kapolka
495447fc0d
Merge branch 'master' of https://github.com/highfidelity/hifi into bilbo
2014-02-21 10:19:52 -08:00
Andrzej Kapolka
18ea1d6a85
More work on billboards.
2014-02-21 10:16:06 -08:00
Andrzej Kapolka
d8321bd419
Merge pull request #2034 from birarda/master
...
fixes for scripted avatars
2014-02-21 10:14:41 -08:00