Brad Hefta-Gaub
da74114b32
Merge pull request #8070 from AndrewMeadows/triangle-soup-4
...
support btBvhTriangleMeshShape for static mesh entities
2016-06-23 12:17:32 -07:00
Stephen Birarda
f9b3165350
use a QSet instead of a QStringList
2016-06-23 09:37:17 -07:00
Stephen Birarda
7307bc6a1b
revert to domain connection refusal check with string
2016-06-23 09:27:17 -07:00
Andrew Meadows
e5b89ebd17
bump version number
2016-06-22 15:33:44 -07:00
Zach Pomerantz
eebf8e91c6
add api_key to domains/public_key updates
2016-06-22 12:02:35 -07:00
Zach Pomerantz
3a36b0a2e5
add temporary domain info to account info
2016-06-22 12:02:35 -07:00
Ryan Huffman
847685d224
Add tracking of away.js
2016-06-22 09:06:59 -07:00
Ryan Huffman
890de1bfea
Add went-to user activity back in
2016-06-22 08:54:58 -07:00
Ryan Huffman
4e52521f8c
Update UserActivityLogger device blacklist
2016-06-21 16:43:16 -07:00
Ryan Huffman
70be7b3273
Merge branch 'master' of https://github.com/highfidelity/hifi into feat/user-actions
2016-06-21 16:39:25 -07:00
Ryan Huffman
6c2c7f1eec
Fix connected_device user activity event
2016-06-21 13:28:40 -07:00
Seth Alves
b1ad743721
apply a group's permissions to users who belong to the group
2016-06-20 14:06:45 -07:00
Seth Alves
764da926a3
merge sethalves:make-permissions-names-case-insensitive
2016-06-17 19:22:22 -07:00
Seth Alves
d8a67850f2
treat usernames in permissions-grid on domain-server settings page as case-insensitive
2016-06-17 15:17:51 -07:00
Seth Alves
de100e8141
after receiving a group's ID from api, save it
2016-06-17 13:29:42 -07:00
Seth Alves
c80ca825b8
start on handling group permissions
2016-06-16 16:43:08 -07:00
Ryan Huffman
c2ebcd1f77
Make activity logging from scripts only available for certain events
2016-06-16 13:49:25 -07:00
Ryan Huffman
3650377745
Clean up NULL => nullptr
2016-06-16 13:17:31 -07:00
Ryan Huffman
8b3b62aad7
Add UserActivityLogger scripting interface
2016-06-16 10:25:38 -07:00
Ryan Huffman
ed88232fb0
Move session id storage to AccountManager
2016-06-16 09:19:42 -07:00
Stephen Birarda
59912012c6
clear domain connection refusals on hard reset, not soft
2016-06-15 09:48:53 -07:00
Chris Collins
55330f2205
Merge pull request #8057 from jherico/settings
...
Fixing issues with unclosed groups in settings persistence
2016-06-14 14:34:14 -07:00
Stephen Birarda
2163f9b5f3
signal once for domain protocol mismatch, case 918
2016-06-14 10:43:45 -07:00
Bradley Austin Davis
34c8d257d2
Fixing issues with unclosed groups in settings persistence
2016-06-14 09:49:38 -07:00
Seth Alves
924c949af5
permissions for the local node were being updated without the various *changed* signals being called. this was keeping the asset-server menu item from being correct, among other things
2016-06-11 15:16:45 -07:00
Seth Alves
4c45d081cd
merge from upstream
2016-06-10 19:57:46 -07:00
Stephen Birarda
e4ebafa0d8
add a menu option to force the wrong DS connect version
2016-06-09 15:53:19 -07:00
Stephen Birarda
12e5851ba4
fix connection denial message, put version back
2016-06-09 15:53:19 -07:00
Stephen Birarda
f963adb5dd
send connection denial for connect version mismatch
2016-06-09 15:53:19 -07:00
Stephen Birarda
4b5a554122
remove check in version downgrading from NodeList
2016-06-09 15:53:19 -07:00
Stephen Birarda
c5a4a72a84
trigger domain API refresh from DomainHandler
2016-06-09 15:53:19 -07:00
Stephen Birarda
e39c708bf6
require two triggers for API refresh, fix check for ICE domain
2016-06-09 15:53:19 -07:00
Stephen Birarda
f59335ceff
don't thrash API re-check when connection denied
2016-06-09 15:53:19 -07:00
Stephen Birarda
8318e9ccc8
Revert "additional revert related change"
...
This reverts commit 3119b654dc
.
2016-06-09 15:53:19 -07:00
Stephen Birarda
1e9e264124
Revert "Revert "refresh API info during re-connect - case 570""
...
This reverts commit b8c80e2222
.
2016-06-09 15:53:19 -07:00
Seth Alves
b2f63a2132
hook up can-rez-tmp and can-write-to-asset-server
2016-06-07 16:17:58 -07:00
Seth Alves
0c18df6278
don't restart domain-server if the only settings changes where permissions
2016-06-06 16:32:18 -07:00
Seth Alves
be403865fc
don't request public keys for the standard psuedo-account-names
2016-06-04 10:44:59 -07:00
Seth Alves
80eeff5a64
bump packet versions. change how domainObject[RESTRICTED_ACCESS_FLAG] is decided
2016-06-04 10:32:07 -07:00
Seth Alves
adf893ea19
rename AgentPermissions to NodePermissions
2016-06-04 09:50:36 -07:00
Seth Alves
09b0e3eaaf
use constants rather than bare strings for standard psuedo-account-names
2016-06-04 09:07:34 -07:00
Seth Alves
b88bba8672
add code to convert older domain-settings to current style
2016-06-03 13:15:53 -07:00
Seth Alves
d010dc9699
keep localhost line from being added every save. added some debugging print stuff
2016-06-02 15:08:16 -07:00
Seth Alves
83f2c723eb
collect permissions into their own data structure
2016-06-02 13:15:30 -07:00
Brad Hefta-Gaub
3119b654dc
additional revert related change
2016-05-31 20:50:12 -07:00
Brad Hefta-Gaub
b8c80e2222
Revert "refresh API info during re-connect - case 570"
...
This reverts commit e8d7f9614a
.
2016-05-31 20:39:16 -07:00
Brad Hefta-Gaub
0ec7eae58c
fix shapes to property polymorph and persist
2016-05-27 16:59:42 -07:00
Stephen Birarda
1ec421350d
send the UUID session ID without curly braces
2016-05-26 14:56:51 -07:00
Brad Hefta-Gaub
78b6a6c661
Merge branch 'master' of https://github.com/highfidelity/hifi into protocolVersionCheck
...
Conflicts:
libraries/networking/src/udt/PacketHeaders.cpp
2016-05-25 17:18:27 -07:00
Brad Hefta-Gaub
f2acc82899
Merge pull request #7971 from birarda/session-id-with-place-request
...
optionally include the metaverse session ID as HTTP header when sending usage data
2016-05-25 17:14:27 -07:00
Brad Hefta-Gaub
06cb625d09
Merge pull request #7959 from hyperlogic/tony/improved-avatar-mixer-precision
...
Improved Avatar Mixer Rotation Precision
2016-05-25 17:14:12 -07:00
Stephen Birarda
66bdbf910d
optionally include the metaverse session ID as an http header
2016-05-25 11:55:04 -07:00
Stephen Birarda
3137cd64e1
clear AddressManager previous lookup on 404
2016-05-25 11:40:17 -07:00
Brad Hefta-Gaub
ff45633c21
bump entities version/CR feedback
2016-05-24 17:36:52 -07:00
Brad Hefta-Gaub
5668db9e4a
cleanup and dead code removal
2016-05-24 15:43:30 -07:00
Brad Hefta-Gaub
3b0081fbbb
cleanup and dead code removal
2016-05-24 15:42:55 -07:00
Brad Hefta-Gaub
0553ff5f9f
cleanup and dead code removal
2016-05-24 15:41:11 -07:00
Brad Hefta-Gaub
2eef07e414
cleanup and dead code removal
2016-05-24 15:38:08 -07:00
Brad Hefta-Gaub
12a1857280
check point with protocol refusal working
2016-05-24 15:20:11 -07:00
Brad Hefta-Gaub
1cf8236860
Merge branch 'master' of https://github.com/highfidelity/hifi into protocolVersionCheck
2016-05-24 13:31:36 -07:00
Brad Hefta-Gaub
1d9981e624
first cut at support for verifying all protocol version compatibility
2016-05-24 13:31:19 -07:00
Brad Hefta-Gaub
bfb3f2cdfe
Merge pull request #7955 from sethalves/quiet-compiler
...
quiet gcc 5 warnings
2016-05-23 19:44:21 -07:00
Clément Brisset
a8b359dd60
Merge pull request #7943 from birarda/api-recheck-on-fail
...
refresh connection info for place/domain while not connected
2016-05-23 10:57:58 -07:00
Anthony J. Thibault
a1c32f8c44
Merge branch 'master' into tony/improved-avatar-mixer-precision
2016-05-23 10:24:52 -07:00
Seth Alves
40e862cf9e
quiet gcc 5 warnings
2016-05-21 16:53:01 -07:00
Seth Alves
f91a2403be
merge from upstream
2016-05-20 17:07:34 -07:00
Brad Hefta-Gaub
e012630db2
Merge pull request #7860 from birarda/place-referrer
...
send lookup hostname to DS for split counts, correct number of DS connected users
2016-05-20 17:00:46 -07:00
Brad Hefta-Gaub
18613908df
Merge pull request #7800 from sethalves/no-fly-zones
...
No fly zones
2016-05-20 16:59:55 -07:00
Stephen Birarda
33379824c8
clear place name if switching to a domain ID string
2016-05-20 11:25:26 -07:00
Stephen Birarda
5ab876114f
send hostname to DS with every DS packet to handle changes
2016-05-20 11:24:54 -07:00
Stephen Birarda
7110fe98eb
associate incoming place name with DomainServerNodeData
2016-05-20 11:24:54 -07:00
Stephen Birarda
51c16739f2
provide a getter for the place name in AddressManager
2016-05-20 11:24:54 -07:00
Stephen Birarda
e8d7f9614a
refresh API info during re-connect - case 570
2016-05-19 17:59:42 -07:00
Seth Alves
1de9598243
Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3
2016-05-19 16:37:40 -07:00
Seth Alves
74520f5c92
Merge branch 'master' of github.com:highfidelity/hifi into no-fly-zones
2016-05-19 09:49:44 -07:00
Seth Alves
419c744bd4
Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3
2016-05-19 09:49:18 -07:00
Ryan Huffman
64c89a5dde
Fix AccountManager not compiling on Windows
2016-05-18 15:38:54 -07:00
Ryan Huffman
e622c17f6b
Pull default UserAgentGetter out of func signature
2016-05-18 15:38:54 -07:00
Ryan Huffman
bfb4bb0896
Add userAgentGetter to AccountManager for custom UserAgent
2016-05-18 15:38:54 -07:00
Ryan Huffman
dd093e3fcd
Make AccountManager a DependencyManager singleton
2016-05-18 15:38:54 -07:00
Brad Hefta-Gaub
67891abf17
Merge pull request #7877 from Atlante45/fix/asset-client
...
Fix Asset Client crash
2016-05-18 11:37:34 -07:00
Anthony J. Thibault
b82356a249
AvatarMixer: Clients will show incompatible version dialog
...
For this to work, the server needs to send an empty AvatarIdentity packet back to the sender
when it receives a packet mismatch error. This AvatarIdentity packet will be different then
what the client expects and will trigger the incompatible version dialog.
Previously, the avatar-mixer was just silently dropping incoming mismatched version packets.
Causing the client to never get a response, and thus never showing the incompatible version dialog.
2016-05-17 15:02:04 -07:00
Ryan Huffman
cf6eba96a4
Remove unused variable
2016-05-17 11:17:34 -07:00
Ryan Huffman
2dbea37690
Fix address manager sometimes double adding address history
2016-05-17 11:17:34 -07:00
Ryan Huffman
d47c74408e
Cleanup handleViewpoint
2016-05-17 11:17:34 -07:00
Ryan Huffman
0ec9d9e277
Remove goToAddressFromObject from slots
2016-05-17 11:17:34 -07:00
Ryan Huffman
f213a059fb
Fix AddressManager not always storing history when it should
2016-05-17 11:17:34 -07:00
Ryan Huffman
fde1f0740c
Fix goBackPossible not being triggered correctly in AddressManager
2016-05-17 11:17:34 -07:00
Anthony J. Thibault
55b0060df9
Convert JointData from relative frame to absolute.
2016-05-16 17:48:52 -07:00
Atlante45
419ff3bbea
Track request lifetime in lambda callbacks
2016-05-14 14:50:02 -07:00
Seth Alves
c9c619916c
Merge branch 'master' of github.com:highfidelity/hifi into no-fly-zones
2016-05-11 19:37:57 -07:00
Seth Alves
fcd2e45d67
merge from upstream
2016-05-11 18:45:32 -07:00
Brad Hefta-Gaub
e01681eb52
Merge pull request #7856 from ZappoMan/NUEtweaks
...
don't show help or login on first run
2016-05-11 10:53:09 -07:00
Brad Hefta-Gaub
62b3c12d0f
fix comment
2016-05-10 15:53:10 -07:00
Brad Hefta-Gaub
a17acc6f6b
rename functions
2016-05-10 15:52:07 -07:00
Brad Hefta-Gaub
0eb2388f69
fix unix build buster
2016-05-10 15:00:50 -07:00
Seth Alves
f90b9ec65d
Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3
2016-05-10 12:08:45 -07:00
Brad Hefta-Gaub
7958020f4e
only expect the 5 essential servers
2016-05-10 12:07:21 -07:00
Brad Hefta-Gaub
22f4beab1a
on first run, go to home or entry
2016-05-10 10:45:57 -07:00
Seth Alves
4c1f815870
Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3
2016-05-10 10:09:40 -07:00
Zach Pomerantz
09d879e19f
Remove delayLoad
2016-05-09 18:09:48 -07:00
Zach Pomerantz
9ac783a88d
Black box asynch resource retrieval
2016-05-09 18:03:19 -07:00
Brad Hefta-Gaub
22081a8606
Merge pull request #7833 from zzmp/fix/scriptable-resource
...
Fix prefetching
2016-05-09 15:09:20 -07:00
Brad Hefta-Gaub
312ea20e15
Merge pull request #7797 from zzmp/fix/cache-thread-safety
...
Make ResourceCache::resetResourceCounters threadsafe
2016-05-09 11:52:57 -07:00
Seth Alves
46c1049a35
bump protocol version
2016-05-07 17:48:06 -07:00
Zach Pomerantz
3f4f10a27e
Fix prefetch state changes
2016-05-06 15:08:45 -07:00
Stephen Birarda
6f6221840e
put back the correct metaverse API url in NetworkingConstants
2016-05-06 13:26:23 -07:00
Stephen Birarda
ed1ddc2a8b
remove code to update/store wallet balance
2016-05-06 11:54:49 -07:00
Stephen Birarda
a5d09e268d
fix sessionID pull and re-sent for HB
2016-05-05 15:56:16 -07:00
Stephen Birarda
839c7fb8c2
provide session ID for metaverse heartbeat once received
2016-05-05 15:45:11 -07:00
Stephen Birarda
0ea46cb415
send fallback socket, don't send HB if send usage disabled
2016-05-05 15:35:37 -07:00
Zach Pomerantz
79c8001d7a
Audit thread safety of ResourceCache
2016-05-05 11:17:38 -07:00
Stephen Birarda
8a3336ae95
use the networking logging category
2016-05-04 16:31:12 -07:00
Stephen Birarda
effa2fc235
typo fix for comment
2016-05-04 16:28:26 -07:00
Stephen Birarda
7192ad301f
add debug for socket errors and state changes
2016-05-04 16:23:40 -07:00
Brad Hefta-Gaub
49d02b802a
Merge pull request #7719 from zzmp/feat/resource-prefetch
...
Add prefetching to exposed caches
2016-05-02 18:04:26 -07:00
Seth Alves
0fe4e42511
added zone properties to allow flying/ghosting or not
2016-05-01 13:53:44 -07:00
Ryan Huffman
5dadfa9e7e
Merge pull request #7792 from Atlante45/fix/crash-asset-request
...
Fix dangling reference into container
2016-04-29 17:58:11 -07:00
Atlante45
6d9080162c
Make slots private method
2016-04-29 17:39:53 -07:00
Stephen Birarda
09981db834
use a setting handle for UAL disabled to fix startup race
2016-04-28 18:05:06 -07:00
Atlante45
9a7bebaaa2
Fix dangling reference into container
2016-04-28 18:04:04 -07:00
Stephen Birarda
6883891748
don't require authentication to send user activity
2016-04-28 17:08:40 -07:00
Zach Pomerantz
854c0ea3e3
Clean out updateMemoryCost
2016-04-27 19:20:43 -07:00
Zach Pomerantz
1e8d45aecb
Put ScriptableResource state enum in prototype
2016-04-27 19:20:43 -07:00
Zach Pomerantz
0c78d5bdd1
Change ScriptableResource signal to state
2016-04-27 19:20:42 -07:00
Zach Pomerantz
bc8a171fde
Merge branch 'master' of github.com:highfidelity/hifi into feat/resource-prefetch
2016-04-27 11:55:24 -07:00
Zach Pomerantz
6b53c1e85d
Avoid leaking ScriptableResource
2016-04-27 11:55:02 -07:00
Brad Hefta-Gaub
04dab65b59
Merge pull request #7727 from ZappoMan/supportLargeClockSkew
...
support for larger than 35 minute clock skew
2016-04-23 08:42:38 -07:00
Brad Hefta-Gaub
c410242fb2
Merge pull request #7688 from jherico/texture_derez
...
Reducing GPU texture memory footprint
2016-04-22 13:20:54 -07:00
Brad Hefta-Gaub
f0659a985c
Merge pull request #7726 from Atlante45/fix/pmtu-disc-fail
...
Fix for path MTU discovery fail
2016-04-22 12:24:44 -07:00
Seth Alves
4561962db1
Merge pull request #7736 from huffman/fix/asset-request-crash
...
Fix AssetClient not properly cleaning up canceled requests
2016-04-22 11:45:26 -07:00
Ryan Huffman
1416e397e4
Merge branch 'playEntityCollisionSound-crash' of github.com:sethalves/hifi into fix/asset-request-crash
2016-04-22 10:02:00 -07:00
Stephen Birarda
5ea8b83745
use noquote so URLs are not quoted
2016-04-21 17:16:21 -07:00
Zach Pomerantz
069065dc23
Fix recursive invokes of ResourceCache::prefetch
2016-04-21 17:15:11 -07:00
Stephen Birarda
19702a9cd4
cleanup check for resource retry
2016-04-21 17:14:07 -07:00
Stephen Birarda
8cd330f431
add back on fail when server unavailable
2016-04-21 17:07:29 -07:00
Stephen Birarda
3a8c2144bf
move asset retry debug to print before retry
2016-04-21 16:55:49 -07:00
Ryan Huffman
9e46b43489
Add threading related asserts to AssetClient
2016-04-21 16:39:57 -07:00
Ryan Huffman
da5bbe51d1
Fix AssetClient not properly disconnecting from callbacks
2016-04-21 16:37:21 -07:00
Brad Hefta-Gaub
72c81e2378
Merge branch 'master' of https://github.com/highfidelity/hifi into supportLargeClockSkew
2016-04-21 16:26:44 -07:00
Brad Hefta-Gaub
2abcc454b0
CR feedback
2016-04-21 15:48:18 -07:00
Seth Alves
b088191966
Merge pull request #7731 from huffman/fix/asset-request-crash
...
Fix AssetRequest crash where signal was not disconnected
2016-04-21 15:22:08 -07:00
Brad Davis
e9959df2df
Decoupling resourcecache from nodelist
2016-04-21 14:46:09 -07:00
Ryan Huffman
63d98b1b5c
Fix AssetRequest crash where signal was not disconnected
2016-04-21 12:12:04 -07:00
Zach Pomerantz
2fd88d9fe1
Add sanity check to ResourceCache::updateTotalSize
2016-04-21 10:45:51 -07:00
Zach Pomerantz
cba5bff89e
Make ResourceCache::prefetch private and comment
2016-04-21 10:33:35 -07:00
Brad Hefta-Gaub
f9c4959578
remove some debugging, tweak formatting
2016-04-21 09:53:00 -07:00
Brad Hefta-Gaub
ddf5b0f316
some debugging
2016-04-21 10:32:22 -07:00
Atlante45
778c19d7e4
Make sure the socket allows fragmenting
2016-04-21 08:38:08 -07:00
Zach Pomerantz
92e372f385
Expose Resource progress as a signal
2016-04-20 20:18:22 -07:00
Zach Pomerantz
1a0a623d5f
Report ScriptableResource memory cost to engine
2016-04-20 20:18:22 -07:00
Zach Pomerantz
5ec82fa43d
Add release invokable to ScriptableResource
2016-04-20 20:18:22 -07:00
Zach Pomerantz
825431829d
Add url property to ScriptableResource
2016-04-20 20:18:22 -07:00
Zach Pomerantz
df4857947b
Add prefetch overload for texture specificity
2016-04-20 20:18:22 -07:00
Zach Pomerantz
8ad8b5d0d9
Return ScriptableResource from prefetch
2016-04-20 20:14:15 -07:00
Zach Pomerantz
74e1f817a5
Add prefetch to all resource caches
2016-04-20 20:14:15 -07:00
Brad Hefta-Gaub
31f9d592e0
support for larger than 35 minute clock skew
2016-04-20 18:42:00 -07:00
Atlante45
492bc75d68
Reduce max packet size to 1492
2016-04-20 15:58:01 -07:00
Zach Pomerantz
2cc48a6ca6
Add url to resource retry debug
2016-04-20 12:20:05 -07:00
Ryan Huffman
92339bf5fc
Merge pull request #7701 from birarda/udt-fixes
...
use nextPacketTimestamp to catch up, not stay ahead
2016-04-19 12:57:43 -07:00
Brad Hefta-Gaub
523d365ce7
Merge pull request #7680 from Atlante45/fix/clear-atp-cache
...
Don't use invalidated iterators
2016-04-19 07:24:07 -07:00
Seth Alves
70ddd8529b
Merge pull request #7684 from zzmp/fix/runaway-loading-resources
...
Fix ResourceCacheSharedItems::_loadingRequests removals
2016-04-18 15:46:45 -07:00
Stephen Birarda
9cce964013
use nextPacketTimestamp only to catch up, not stay ahead
2016-04-18 14:19:36 -07:00
Atlante45
c9fa91936a
Cleanup disk cache io device
2016-04-18 14:10:51 -07:00
Zach Pomerantz
0d06d8ea93
Clear freed loading resources
2016-04-15 17:34:45 -07:00
Zach Pomerantz
d2426f30c6
Mv ResourceCacheShared to top of impl
2016-04-15 16:40:07 -07:00
Atlante45
dfc3e5d488
Don't use invalidated iterators
2016-04-15 13:57:48 -07:00
Zach Pomerantz
cff5886313
Use correct resources lock
2016-04-15 10:46:19 -07:00
Zach Pomerantz
fc9de4b7e6
Merge branch 'master' of github.com:highfidelity/hifi into fix/cache-tallies
2016-04-15 00:37:03 -07:00
Atlante45
b3b2f98f6c
Merge branch 'master' of https://github.com/highfidelity/hifi into fix/clear-atp-cache
2016-04-14 17:59:36 -07:00
Zach Pomerantz
f803ecd2e7
Merge pull request #7633 from Atlante45/fix/shared-resource
...
Fix raw pointers in shared resource cache items
2016-04-14 17:52:04 -07:00
Atlante45
4ed8573f74
CR
2016-04-14 17:28:24 -07:00
Zach Pomerantz
32e9c49cf0
Fix cache tallies for uncached resources
2016-04-14 17:00:20 -07:00
Seth Alves
f114888c1c
Merge pull request #7665 from birarda/ice-server-redundancy
...
allow domain-server to cycle through ice-servers when failing
2016-04-14 14:36:29 -07:00
Stephen Birarda
bc0b3b38b3
remove narrowing conversion for ICE_SERVER_DEFAULT_PORT
2016-04-14 12:25:47 -07:00
Zach Pomerantz
e20acb1d42
Track resources as they fall out of cache
2016-04-13 15:44:14 -07:00
Stephen Birarda
8832a9d9ed
add ICEServerHeartbeatACK packet type
2016-04-12 17:59:07 -07:00
Atlante45
0f62d5c997
clear ATP assets on domain change
2016-04-12 15:30:53 -07:00
Atlante45
7c652aa3ca
Add lock on ResourceCache data structs
2016-04-12 15:30:39 -07:00
Atlante45
364f935b89
Allow cleanup of the old request
2016-04-12 13:51:11 -07:00
Atlante45
05895f628a
Revert to using a Resource
2016-04-12 13:51:11 -07:00
Atlante45
5cc90ce8f0
Make sure resource req are cleaned up with there parents
2016-04-12 13:51:11 -07:00
Atlante45
e45939d18f
Make sure ResourceCacheSharedItems deals with strong refs
2016-04-12 13:51:11 -07:00
Atlante45
afdfef1482
Make sure we don't use raw resource ptr
2016-04-12 13:51:11 -07:00
Chris Collins
0faab41057
Merge pull request #7624 from birarda/new-home-set
...
allow ATP scripts to be used by scripted Agent
2016-04-12 09:42:14 -07:00
Stephen Birarda
1df0dce971
use ResourceRequest in Agent to handle ATP scripts
2016-04-08 14:38:26 -07:00
Zach Pomerantz
e08c9db469
Expose GL property to QML
2016-04-07 18:27:07 -07:00
Clément Brisset
680ab1e38b
Merge pull request #7578 from zzmp/fix/delete-resource-later
...
Delete resource the Qt way
2016-04-06 17:17:47 -07:00
Zach Pomerantz
4300f2e415
Delete resource the Qt way
2016-04-06 14:43:48 -07:00
Brad Hefta-Gaub
891cc12d3f
Merge pull request #7549 from zzmp/feat/resource-vis
...
Add a visualization of cacheable resource usage
2016-04-05 15:43:27 -07:00
Zach Pomerantz
107cfcf10b
Change Resource setBytes->setSize
2016-04-04 13:59:57 -07:00
Zach Pomerantz
f34e951c3f
Make resource cache props thread-safe
2016-04-04 13:59:56 -07:00
Zach Pomerantz
aa0245b9c2
Debug when limit of checkins reached
2016-04-04 12:22:03 -07:00
Zach Pomerantz
3c86191a59
Add resources prop to caches
2016-04-02 17:37:51 -07:00
Zach Pomerantz
b70a4d043b
Expose resource cache count props
2016-04-01 19:52:42 -07:00
Seth Alves
6025a66fa1
Merge pull request #7532 from Atlante45/feat/delayed-decrease
...
Delay congestion epochs first decrease
2016-04-01 18:07:43 -07:00
Zach Pomerantz
3b45a57e1d
Remove resource completely when uncached
2016-04-01 17:42:36 -07:00
Zach Pomerantz
d72c695417
Sanitize ResourceCache to expose to JS/QML
...
fix sanitize
2016-04-01 17:42:36 -07:00
Brad Hefta-Gaub
a3734eba00
Merge pull request #7535 from birarda/suppress-more
...
add suppression for ring buffer and sequence number messages
2016-04-01 13:04:32 -07:00
Ryan Huffman
0948c8cefb
Fix format of long lines
2016-04-01 10:11:32 -07:00
Ryan Huffman
8e375fd076
Fix asset resource request not properly cleaning up
2016-04-01 10:08:44 -07:00
Stephen Birarda
fc8707dc05
add suppression for unreasonable sequence number messages
2016-03-31 18:04:13 -07:00
Zach Pomerantz
809b489146
Don't cache 0-sized Resources
2016-03-31 17:15:20 -07:00
Zach Pomerantz
b80f0fc8a6
Add actual byte size to Resource
2016-03-31 17:02:40 -07:00
Zach Pomerantz
9d3abe5513
Release texs when models are cached
2016-03-31 17:02:40 -07:00
Atlante45
31942d9a73
Code cleanup
2016-03-31 16:09:54 -07:00
Atlante45
86b425143b
Use Mbps for max bandwith
2016-03-31 11:03:06 -07:00
Atlante45
c95bc1c563
Don't set _loss on delayed decrease
2016-03-30 15:58:31 -07:00
Atlante45
2e3040715b
Delay congestion epoch's first decrease
2016-03-30 14:59:46 -07:00
Ryan Huffman
96a35a8f43
Fix bug where a pending asset request could receive a pending message after deletion
2016-03-29 11:33:02 -07:00
Clément Brisset
b6ce7a7db8
Merge pull request #7492 from birarda/next-packet-delta
...
fix for incorrect next packet delta in udt::SendQueue
2016-03-28 14:12:04 -07:00
Clément Brisset
19ccee5d3c
Merge pull request #7490 from birarda/udt-fixes
...
cleanup unused public keys in ice-server
2016-03-28 13:48:45 -07:00
Stephen Birarda
1df7cf5c8d
Merge pull request #7484 from Atlante45/fix/atp-req-limit
...
Fix segfault with gxx
2016-03-28 13:31:12 -07:00
Atlante45
659d7e7335
Fix segfault with gxx
2016-03-28 13:17:07 -07:00
Atlante45
103c6d89f2
Add Socket include to see debug macro
2016-03-28 13:11:44 -07:00
Stephen Birarda
c0b92486f9
fix incorrect next packet delta
2016-03-28 11:09:32 -07:00
Stephen Birarda
3e4b4a0fc7
cleanup un-used public keys in ice-server
2016-03-28 10:03:05 -07:00
Brad Hefta-Gaub
9a66d779ae
Merge pull request #7463 from zzmp/guard/bugsplat-2177
...
Guard against lack of GL support to avoid crash
2016-03-25 16:31:14 -07:00
Zach Pomerantz
b252139704
LMK when running with old GL version
2016-03-25 14:42:58 -07:00
Ryan Huffman
306425b940
Merge pull request #7475 from birarda/udt-fixes
...
guard long sleeps in udt::SendQueue
2016-03-25 13:56:45 -07:00
Stephen Birarda
d9abc79b5d
return for AccountManager sendRequest if threads do not match
2016-03-25 13:37:13 -07:00
Stephen Birarda
044fb983d7
cast chrono durations to qint64
2016-03-25 13:07:54 -07:00
Stephen Birarda
ce4d56fb90
add warning for long sendqueue sleeps
2016-03-25 13:06:21 -07:00
Stephen Birarda
74e041e9aa
cast chrono durations to int explicitly
2016-03-25 11:41:41 -07:00
Stephen Birarda
d8859def37
fix for AccountManagerAuth::Type register, consts
2016-03-25 10:47:06 -07:00
Stephen Birarda
0043a84234
guard the SendQueue sleep and send a user activity when weird
2016-03-25 10:22:14 -07:00
Zach Pomerantz
aad40f5de0
Drop network data after processing
2016-03-25 09:58:34 -07:00
Brad Hefta-Gaub
cd5beabf10
Revert "Drop resource data after load"
2016-03-24 20:37:16 -07:00
Zach Pomerantz
afc853572a
Drop resource data after load
2016-03-24 15:50:51 -07:00
Clément Brisset
caf2595e13
Merge pull request #7452 from birarda/udt-fixes
...
fix unecessary re-sends at capacity on udt, race in SendQueue timeout check
2016-03-24 11:00:57 -07:00
Philip Rosedale
f8f0e48af9
Merge pull request #7453 from Atlante45/fix/atp-req-limit
...
Make ATP respect request limit
2016-03-24 09:20:30 -07:00
Andrew Meadows
21c770f37b
Merge pull request #7441 from zzmp/clean/resource-reinsert
...
Restrict Resource reinsertion
2016-03-24 08:41:12 -07:00
Brad Hefta-Gaub
2b0670718f
Merge pull request #7449 from howard-stearns/report-previous-session-data
...
Report previous session data
2016-03-23 20:58:51 -07:00
Atlante45
69c516caaf
Have ATP respect request limit
2016-03-23 19:09:28 -07:00
Stephen Birarda
ef3f5e0221
fix for race in last receiver response
2016-03-23 18:23:30 -07:00
Stephen Birarda
1b322c8d01
don't oversend because of packet pairs
2016-03-23 18:07:28 -07:00
Stephen Birarda
57da7c2ba7
add handling for short circuit loss in SendQueue
2016-03-23 17:29:46 -07:00
howard-stearns
c435ca212a
Report previous session time.
2016-03-23 16:59:17 -07:00
howard-stearns
550738776c
Pass whether or not previous session crashed to the UserActivityLogger.
2016-03-23 15:56:29 -07:00
Zach Pomerantz
8b1a78bac0
Restrict Resource reinsertion
2016-03-23 13:00:29 -07:00
Zach Pomerantz
17aa2845a8
Add finished signal to Resource loading
2016-03-23 13:00:02 -07:00
Brad Hefta-Gaub
8c290ea6b9
Merge pull request #7390 from Atlante45/feat/udp-flood-protection
...
Server side bandwidth dial
2016-03-23 11:47:41 -07:00
Stephen Birarda
20c923db32
remove leaking unused method from NLPacketList
2016-03-21 17:26:49 -07:00
Brad Hefta-Gaub
a6bf84b90e
Merge pull request #7399 from zzmp/fix/qml-thread
...
Move QML rendering to a defined thread
2016-03-21 15:31:42 -07:00
Atlante45
170433997c
Set Asset server max bandwidth wiring
2016-03-21 14:50:18 -07:00
Atlante45
c48be75a37
Make sure everyone calls sendPeriod's setter
2016-03-21 14:50:18 -07:00
Stephen Birarda
884df5739d
remove comment that indicates that onTimeout is not used
2016-03-21 14:28:55 -07:00
Stephen Birarda
0956649cdb
give CongestionControl timeout event from SendQueue
2016-03-21 14:28:55 -07:00
Stephen Birarda
8e97a50957
unlock before de-activating the queue
2016-03-21 14:28:55 -07:00
Stephen Birarda
c65ab5f1ad
re-check the timeout guards before acting on timeout
2016-03-21 14:28:55 -07:00
Stephen Birarda
24fd39dfa3
make sure NAKs is empty before append from timeout
2016-03-21 14:28:26 -07:00
Stephen Birarda
4fe9ad94f5
notify on the emptyCondition if an ACK is received
2016-03-21 14:28:26 -07:00
Stephen Birarda
74ae18e514
replace append with insert to work around assert
2016-03-21 14:28:26 -07:00
Stephen Birarda
b059e98ff5
fix units for timeout check on expiry
2016-03-21 14:28:26 -07:00
Stephen Birarda
b7ff94e20d
put packets back in the queue if flow window is full
2016-03-21 14:28:26 -07:00
Stephen Birarda
4c5ad8a03e
remove first congestion event drops
2016-03-21 14:28:26 -07:00
Stephen Birarda
08dff9c7ac
handle expiry check even if a packet was sent
2016-03-21 14:28:26 -07:00
Stephen Birarda
cbcc6e3ef2
fix for last decrease sequence number
2016-03-21 14:28:26 -07:00
Stephen Birarda
93a00c3d5d
don't perform a decrease during single packet loss events
2016-03-21 14:28:26 -07:00
Stephen Birarda
13a906aa20
Merge pull request #7412 from huffman/fix-handshake-packet
...
Fix handshake packet being used across SendQueues
2016-03-21 14:28:07 -07:00
Stephen Birarda
eb5ecc84ff
Merge pull request #7398 from huffman/add-request-handshake
...
Add HandshakeRequest packet
2016-03-21 14:27:28 -07:00
Ryan Huffman
c515355cff
Fix handshakeRequestPacket not being thread safe
2016-03-21 14:07:15 -07:00
Ryan Huffman
afb1d68f3b
Fix handshake packet being used across SendQueues
2016-03-21 13:24:04 -07:00
Andrew Meadows
f58a00f75a
Merge pull request #7409 from huffman/fix-handle-reply-finished
...
Fix edge-case where resource can receive a signal after request deleted
2016-03-21 13:10:24 -07:00
Ryan Huffman
4f32749c17
Fix edge-case where resource can receive a signal after request deleted
2016-03-21 11:54:41 -07:00
Zach Pomerantz
d3d0f229aa
Merge branch 'master' of github.com:highfidelity/hifi into fix/qml-thread
2016-03-21 11:25:14 -07:00
Ryan Huffman
b7678f9818
Remove accidental addition of whitespace
2016-03-18 16:33:00 -07:00
Ryan Huffman
c5c35b7e89
Add HandshakeRequest packet
2016-03-18 16:30:19 -07:00
Bradley Austin Davis
16e6d9a4f9
Make shared lists thread safe
2016-03-18 11:15:35 -07:00
Zach Pomerantz
b1e020d3fd
Fix threadname typo
2016-03-17 15:56:57 -07:00
Clément Brisset
35aa074955
Merge pull request #7369 from birarda/udt-slow-start
...
repairs to udt SendQueue packet timing
2016-03-16 09:44:58 -07:00
Stephen Birarda
c94e2bdc8b
grab the now timestamp only when needed
2016-03-16 08:53:31 -07:00
Andrew Meadows
6028c3e841
Merge pull request #7318 from birarda/atp
...
Asset Transfer Protocol Mappings
2016-03-15 16:52:36 -07:00
Stephen Birarda
1cd16da83e
do sleep timing off when next packet would have been
2016-03-15 15:28:55 -07:00
Stephen Birarda
0012967734
use curly braced initialization for consts
2016-03-15 14:38:41 -07:00
Anthony Thibault
addde84bee
Merge pull request #7363 from markej/master
...
Fill in the Downloads: line of the stats window
2016-03-15 10:42:09 -07:00
Stephen Birarda
72c64532f5
Merge branch 'master' of https://github.com/highfidelity/hifi into atp
2016-03-15 09:12:49 -07:00
Stephen Birarda
8cb602173a
remove the unused member variable
2016-03-14 20:54:41 -07:00
Stephen Birarda
7858b6b0cd
fix for slow start initial value with new randomization
2016-03-14 15:06:05 -07:00
Mark Johnson
b7a47d7bf2
Tabs -> Spaces
2016-03-12 17:35:57 -08:00
Mark Johnson
d868b541c4
Separate the request limit value from the active request value
...
Use _requestLimit as the download limit, and track active downloads using
_requestsActive. If the limit is changes below the active count, it will
continue downloading all active requests, but not allow new requests until
the active count gets below the limit. If the limit increases, the pending
request queue will be checked immediately to fill the available download slots.
2016-03-12 17:19:29 -08:00
Stephen Birarda
895920a211
short circuit upload when file cannot be opened
2016-03-11 15:19:41 -08:00
Stephen Birarda
85e203e2cb
return an empty string for no error
2016-03-11 11:44:46 -08:00
Stephen Birarda
e51aedeb35
fix error handling for diff request types
2016-03-11 11:36:52 -08:00
Stephen Birarda
9522c2d17c
add file open and write error handling
2016-03-11 11:04:34 -08:00
Stephen Birarda
6ae5ed6588
add trimming to MappingRequest ctors
2016-03-10 16:57:39 -08:00
Atlante45
548d826a4e
Couple bug fixes
2016-03-10 14:59:20 -08:00
Atlante45
7d7a683b18
Add uploadFile method that prompts the user
2016-03-10 14:59:20 -08:00
Stephen Birarda
d077ade350
fix path regex to handle leading double slash
2016-03-10 14:48:44 -08:00
Stephen Birarda
5ad4645b47
Merge branch 'master' of https://github.com/highfidelity/hifi into atp
2016-03-10 13:28:59 -08:00
Stephen Birarda
50a05df721
fix asset loading with error changes
2016-03-10 11:58:57 -08:00
Stephen Birarda
9c53f40fbe
remove nullptr check in AssetMappingsScriptingInterface
2016-03-10 10:52:05 -08:00
Stephen Birarda
2bbeac6597
short circuit asset request for invalid hash
2016-03-10 10:52:05 -08:00
Stephen Birarda
9d19bf85b1
add consistent error handling for asset request and upload
2016-03-10 10:52:05 -08:00
Stephen Birarda
99718e9c4e
short circuit the mapping operations for invalid path/hash
2016-03-10 10:52:05 -08:00
Stephen Birarda
ae3c0f6646
add hash and path checking
2016-03-09 18:03:44 -08:00
Ryan Huffman
0d2ae4f3a4
Merge branch 'atp' of github.com:birarda/hifi into atp-model
2016-03-09 16:33:53 -08:00
Ryan Huffman
d299ce2677
Fix missing semicolon
2016-03-09 14:56:56 -08:00
Ryan Huffman
f5497aa1e7
Add new AssetMappingsScriptingInterface and add mappings model
2016-03-09 14:53:04 -08:00
Stephen Birarda
96ba57a946
remove client side caching of ATP mappings
2016-03-09 14:24:14 -08:00
Ryan Huffman
64bd41c37f
Add AssetMappingItem and extra data to items
2016-03-09 14:03:56 -08:00
Ryan Huffman
4da4fd889a
Add AssetMappingModel
2016-03-09 14:03:56 -08:00
Ryan Huffman
38edfe0557
Fix GetAllMappings reading
2016-03-09 14:03:56 -08:00
Ryan Huffman
fd5a5dd8f4
Add QJSEngine compatible AssetMappingScriptInterface
2016-03-09 14:03:25 -08:00
Stephen Birarda
2e9ee4f8a7
Merge branch 'atp' of github.com:birarda/hifi into atp
2016-03-09 12:16:59 -08:00
Stephen Birarda
9a2b2b4c16
Merge branch 'master' of https://github.com/highfidelity/hifi into atp
2016-03-09 12:16:46 -08:00
Clément Brisset
3f50abcd17
Merge pull request #82 from birarda/atp-rename-mapping
...
add rename mapping operation for atomic rename
2016-03-09 11:57:20 -08:00
Zach Pomerantz
54af58834a
Mark Resource loaded after postprocessing
2016-03-09 10:34:07 -08:00
Stephen Birarda
87d5958eb8
Merge branch 'master' of https://github.com/highfidelity/hifi into atp
2016-03-08 17:11:18 -08:00
Stephen Birarda
8d5111a332
move MappingRequest and subclasses to separate file
2016-03-08 15:30:59 -08:00
Stephen Birarda
181b20f673
move the AssetScriptInterface to script-engine
2016-03-08 14:49:26 -08:00
Stephen Birarda
f9f42a085a
add client side handling for mapping rename
2016-03-08 14:43:55 -08:00
Stephen Birarda
793d20306d
handle multiple paths for mapping delete operations
2016-03-08 14:24:03 -08:00
Zach Pomerantz
925ea8bcda
Add Resource::isCacheable
2016-03-08 13:30:58 -08:00
Stephen Birarda
cf5de317ba
use correct error handling for MappingRequest errors
2016-03-08 12:21:54 -08:00
Stephen Birarda
1ece9aac26
remove extension from asset upload task
2016-03-08 12:08:02 -08:00
Stephen Birarda
e92a9c9741
fix comment for asset packet version push
2016-03-08 11:53:53 -08:00
Stephen Birarda
88c1892bf6
remove a comment block re-added in merge
2016-03-08 11:51:59 -08:00
Stephen Birarda
8107287e6c
remove start from mapping request subclasses
2016-03-08 11:42:57 -08:00
Stephen Birarda
bfb9801b22
Merge branch 'atp' of github.com:birarda/hifi into atp-mappings
2016-03-08 11:37:27 -08:00
Ryan Huffman
5368ae3f91
Remove extraneous thread checks in MappingRequest subclasses
2016-03-08 11:20:15 -08:00
Ryan Huffman
93d3fb5ccf
Fix network error response for mapping requests
2016-03-08 11:19:08 -08:00
Ryan Huffman
c9bd67bc3e
Add MappingRequest superclass and mapping specific errors
2016-03-08 11:18:10 -08:00
Ryan Huffman
e06c1591fb
Remove initializer
2016-03-08 10:43:26 -08:00
Ryan Huffman
0a75a94790
Remove commented out private slot
2016-03-08 10:31:40 -08:00
Ryan Huffman
e3523c8604
Remove commented out function
2016-03-08 10:28:31 -08:00
Ryan Huffman
7db296fa69
Remove unused get/set/deleteMapping in AssetServer
2016-03-08 10:23:48 -08:00
Ryan Huffman
88760d389f
Merge branch 'master' of https://github.com/highfidelity/hifi into atp-mappings
2016-03-08 10:21:32 -08:00
Ryan Huffman
6ca4b72479
Add deleteMapping to asset scripting interface
2016-03-08 10:11:57 -08:00
Ryan Huffman
a18486d97d
Fix GetAllMappingsRequest not storing mappings
2016-03-08 10:11:37 -08:00
Ryan Huffman
cf9d4c256a
Add proper cache checking to GetAssetMapping
2016-03-08 10:10:48 -08:00
Stephen Birarda
bf8a2bc9e5
update read for get mapping to toHex
2016-03-08 10:03:29 -08:00
Stephen Birarda
909979bab9
fix SLOT connection for local address check
2016-03-08 09:11:38 -08:00
Stephen Birarda
73b7e787d3
change signature of errorTestingLocalSocket
2016-03-08 09:09:28 -08:00
Stephen Birarda
20ab108d51
remove some debug for local socket check error
2016-03-07 18:01:57 -08:00
Stephen Birarda
ed9faf4189
add a secondary check for local IP address
2016-03-07 18:00:09 -08:00
Ryan Huffman
bc99e871e1
Add asset mapping cache
2016-03-07 16:51:49 -08:00
Ryan Huffman
37c0417ea6
Add GetAll and Delete mapping requests
2016-03-07 16:31:49 -08:00
Stephen Birarda
08f181be76
handle mapping requests from AssetResourceRequest
2016-03-07 16:30:26 -08:00
Stephen Birarda
12a774d47f
return error if persistence fails for set/delete operations
2016-03-07 15:46:44 -08:00
Seth Alves
ee55721f79
allow sending interface-local messsages
2016-03-07 15:13:24 -08:00
Stephen Birarda
83b563cf9c
use AssetHash alias for hash in AssetResourceRequest
2016-03-07 14:00:12 -08:00
Stephen Birarda
4bf69f20b7
fix removal of requestHash method during cherry-pick
2016-03-07 13:59:17 -08:00
Stephen Birarda
e6ce517041
remove committed version control marker
2016-03-07 13:57:41 -08:00
Stephen Birarda
267ed3af82
remove client side handling of extension for ATP hash URLs
2016-03-07 13:57:02 -08:00
Ryan Huffman
19cd352a77
Add read/writeString to PacketList and Packet
2016-03-07 13:53:36 -08:00
Ryan Huffman
7317d3b2ea
Revert AssetRequest back to using hash
2016-03-07 13:53:29 -08:00
Ryan Huffman
7dd436a7a8
Add AssetScriptingInterface methods for mapping
2016-03-07 13:52:04 -08:00
Ryan Huffman
462f00077c
Add get/set mapping request
2016-03-07 13:50:57 -08:00
Ryan Huffman
6b485cf81d
Update atp mapping operations to use a single packet
2016-03-07 13:49:55 -08:00
Ryan Huffman
292bc12f37
Add read/writeString to PacketList and Packet
2016-03-07 13:24:12 -08:00
Ryan Huffman
2986aa1937
Revert AssetRequest back to using hash
2016-03-07 13:23:47 -08:00
Ryan Huffman
6dd3b1b4ee
Add AssetScriptingInterface methods for mapping
2016-03-07 13:23:27 -08:00
Ryan Huffman
4e7b63c72e
Add get/set mapping request
2016-03-07 13:23:00 -08:00
Ryan Huffman
db98e46bb8
Update atp mapping operations to use a single packet
2016-03-01 16:18:35 -08:00
Stephen Birarda
04fd7bcdb2
create the directory to hold account file if not present
2016-03-01 14:42:09 -08:00
Atlante45
7b179ab91a
First draft for mapping requests
2016-03-01 13:08:46 -08:00
Stephen Birarda
f44cf3903c
re-instate verified domain ownership for full automatic networking
...
This reverts commit 34408c8144
.
2016-03-01 13:04:37 -08:00
Stephen Birarda
b0c11e6562
Merge pull request #7217 from huffman/udt-random-seq
...
Randomize initial send sequence number in UDT
2016-03-01 12:59:10 -08:00
Atlante45
14ae35e741
CR
2016-03-01 12:00:43 -08:00
Atlante45
4944d0a8d0
Handle threading inside AssetServer
2016-03-01 12:00:43 -08:00
Atlante45
6a4b93a4e7
Proper fix for DiskCacheInfo
2016-03-01 12:00:43 -08:00
Atlante45
40d307a37b
Temporary fix to disk cache editor crash
2016-03-01 12:00:43 -08:00
Atlante45
2c1762526d
Move all resource requests to the same thread
2016-03-01 12:00:43 -08:00
Ryan Huffman
aa63dcc9d2
Add PacketType qMetaType
2016-03-01 11:36:49 -08:00
Ryan Huffman
cc9c87d281
Fix packet version mismatch not showing for domain packets
2016-03-01 11:36:49 -08:00
Ryan Huffman
548a672df9
Update DomainList version to 18
2016-02-29 15:31:38 -08:00
Ryan Huffman
04f512c99b
Add extra debug to udt connection
2016-02-29 14:58:25 -08:00
Ryan Huffman
57a6cbc9dd
Remove _hasReceivedData
2016-02-29 14:22:49 -08:00
Ryan Huffman
2229e397fa
Move seq num initialization to handshake
2016-02-29 14:22:26 -08:00
Ryan Huffman
b442075205
Add initial seq number to handshake
2016-02-29 14:22:08 -08:00
Ryan Huffman
a7bb47fbcc
Fix initialization of variables for SendQueue and Connection
2016-02-26 11:20:31 -08:00
Ryan Huffman
a0203cf9d5
Update BasePacket to 0-initialize data
2016-02-26 11:13:10 -08:00
Stephen Birarda
34408c8144
Revert "verified domain ownership for full automatic networking"
2016-02-25 17:02:08 -08:00
Brad Hefta-Gaub
82cbf19bca
Merge pull request #7078 from zzmp/fix/light-intensity
...
Reimplement light attenuation for spot and point lights
2016-02-25 16:08:28 -08:00
Clément Brisset
2e7c7eace5
Merge pull request #7179 from birarda/domain-security
...
verified domain ownership for full automatic networking
2016-02-25 15:24:09 -08:00
Zach Pomerantz
32ce7c6eab
Rename light surfaceRadius->falloffRadius
2016-02-25 10:02:33 -08:00
Zach Pomerantz
c2ed5e5474
Merge branch 'master' of github.com:highfidelity/hifi into fix/light-intensity
2016-02-24 16:24:09 -08:00
Stephen Birarda
f8392e62a8
some wording tweaks in comments
2016-02-23 17:43:01 -08:00
Stephen Birarda
0191d75e86
allow temporary domain to upload public key
2016-02-23 17:29:15 -08:00
Stephen Birarda
5fe74bb33c
send hearbeat denied packet back from ice-server
2016-02-23 15:12:17 -08:00
Stephen Birarda
bb561e98d0
actually process the connection denied packets
2016-02-23 15:00:42 -08:00
Stephen Birarda
39d9e64ee5
process a handshake if the connection has ever received data
2016-02-23 14:59:27 -08:00
Stephen Birarda
2c7112e9a8
add initial send sequence number to SendQueue
2016-02-23 14:59:27 -08:00
Stephen Birarda
6cab831ea0
re-gen the interface keypair while being denied from domain
2016-02-23 14:52:12 -08:00
Stephen Birarda
540d1615cd
re-attempt keypair generation for domain check in if missing
2016-02-23 12:05:12 -08:00
Stephen Birarda
83e8c248bd
repairs to failure case for keypair generation
2016-02-23 11:20:21 -08:00
Stephen Birarda
bfdf74367e
don't update the AM keypair until uploaded
2016-02-23 11:09:28 -08:00
Stephen Birarda
e2f02347dd
repairs to issues discovered during ID change
2016-02-23 10:57:54 -08:00
Stephen Birarda
d510ee0e47
complete ice-server signature verification
2016-02-22 18:00:05 -08:00
Atlante45
4c18a50473
Only debug if define set
2016-02-22 15:42:11 -08:00
Atlante45
97aebaf52a
Fix log regexes
2016-02-22 15:33:53 -08:00
Atlante45
cb4f400c7e
Cleanup obfuscation code
2016-02-22 15:32:00 -08:00
Atlante45
17b4d6fcf9
Factor members copy
2016-02-22 15:15:38 -08:00
Atlante45
f06ac911c5
Fix XORing algorithm
2016-02-22 15:15:38 -08:00
Atlante45
3a11e84c94
Use hex for msvc compatibility
2016-02-22 15:15:38 -08:00
Atlante45
c29ad09306
Fix obfuscation
2016-02-22 15:15:38 -08:00
Atlante45
bf5a65ca45
Add missing copies
2016-02-22 15:15:38 -08:00
Atlante45
4605cf5087
Move all udt header constants to Constant.h
2016-02-22 15:15:38 -08:00
Atlante45
3d7d812044
Add resend mecanic with obfuscation
2016-02-22 15:15:38 -08:00
Atlante45
6d9405d91d
Add obfuscation level to packets
2016-02-22 15:15:38 -08:00
Atlante45
f6526272de
Add header descriptions
2016-02-22 15:15:38 -08:00
Stephen Birarda
11a1bc4488
add signed heartbeat sending to domain-server
2016-02-22 15:12:02 -08:00
Zach Pomerantz
292842261d
Bump packet version to LIGHT_HAS_SURFACE_RADIUS
2016-02-22 15:07:07 -08:00
Stephen Birarda
90e9089e85
repairs for storage of domain ID in AM accounts file
2016-02-22 13:23:01 -08:00
Stephen Birarda
e30b2b7051
generate new domain keypair on domain ID change
2016-02-22 10:28:32 -08:00
Stephen Birarda
837c4c0810
handle upload of domain public key to metaverse API
2016-02-19 16:55:12 -08:00
Stephen Birarda
6e4ecffb09
expose generated public key and private key from generator
2016-02-19 16:48:58 -08:00
Stephen Birarda
5de8601b43
simpler cleanup of result from RSAKeypairGenerator
2016-02-19 16:41:56 -08:00
Stephen Birarda
fa5f2571d7
cleanup migrations from previous account file system
2016-02-19 16:31:31 -08:00
Stephen Birarda
f553becabe
data-server name tweak and isAgent behaviour change
2016-02-19 16:04:45 -08:00
Stephen Birarda
98b06112bd
handle persistence of AccountManager info to sep file
2016-02-19 15:45:20 -08:00
Stephen Birarda
af181e00b1
allow for creation of domain-server keypair in AccountManager
2016-02-19 14:34:19 -08:00
Seth Alves
5659589ea1
Merge pull request #7088 from birarda/offline-domain
...
fix STUN failover for offline machines
2016-02-12 09:16:20 -08:00
Stephen Birarda
a6ba8dd8e5
fix null STUN server socket check in LNL
2016-02-11 14:14:16 -08:00
Atlante45
51168a8a29
Explicitely cast to float
2016-02-11 09:35:31 -08:00
Atlante45
f32562b191
Coding standard
2016-02-10 16:35:06 -08:00
Atlante45
1e3bf67fab
Fix division by 0
2016-02-10 16:35:06 -08:00
Stephen Birarda
1773233af4
cleanup management of HRTF objects across connected Nodes
2016-02-09 14:30:44 -08:00
Stephen Birarda
42e9a4ebf0
fix ATP SendQueue failure to receive after re-activity
2016-02-04 13:43:50 -08:00
Stephen Birarda
095f0b9349
rename canAdjustLocks to isAllowedEditor for multi-purpose
2016-02-01 16:46:11 -08:00
Stephen Birarda
c91f8c7685
add debug for DDOS AC drop
2016-01-29 14:04:45 -08:00
Stephen Birarda
5551a05261
removed debug for queued check-ins
2016-01-29 14:04:45 -08:00
Stephen Birarda
e50e75cba7
drop assignment even if DDOS locks NL thread
2016-01-29 14:04:45 -08:00
Brad Davis
664100b9b1
Attachment dialog
2016-01-26 21:55:40 -08:00
Brad Hefta-Gaub
58b7708315
Merge pull request #6899 from birarda/fix-go-home
...
repairs to index path behaviour
2016-01-21 21:29:24 -08:00
Stephen Birarda
9061e33a1f
send path query once connected to domain
2016-01-21 18:24:17 -08:00
Stephen Birarda
fac30bb0ae
use the index path as default with network address
2016-01-21 18:24:16 -08:00
Brad Davis
f9f9ddd8bd
Yet more atmosphere removal
2016-01-21 15:15:17 -08:00
Stephen Birarda
4cfe3941f4
delete the lookup timeout timer once fired
2016-01-21 11:18:53 -08:00
Stephen Birarda
e69424e155
add parentheses to old style signal
2016-01-20 09:27:47 -08:00
Stephen Birarda
e3df02e589
fix parenting of single shot timer
2016-01-19 20:51:33 -08:00
Stephen Birarda
60bf617ea1
allow STUN to succeed started late or immediately
2016-01-19 20:41:39 -08:00
Stephen Birarda
e5d47f3379
fix for accidental filtering of stun packets
2016-01-19 17:26:41 -08:00
Stephen Birarda
8bc063e758
Merge branch 'master' of https://github.com/highfidelity/hifi into console
2016-01-19 16:21:19 -08:00
Stephen Birarda
4cbbd24c7e
complete handling of immediate temp name grab
2016-01-19 13:04:05 -08:00
Stephen Birarda
0b118a8e98
replace ApplicationVersion with BuildInfo
2016-01-15 15:41:34 -08:00
Ryan Huffman
0f2b9744d1
Merge branch 'console' of github.com:birarda/hifi into console-logging
2016-01-15 10:46:22 -08:00
Ryan Huffman
a5eb54b1b7
Move DomainServer script location to app data directory
2016-01-15 10:36:09 -08:00
Ryan Huffman
196161fe93
Merge pull request #66 from birarda/console-dev
...
some initial packaging work and console fixes
2016-01-14 10:17:24 -08:00
Andrew Meadows
c9b125612c
fix bugs
2016-01-12 15:08:52 -08:00
Andrew Meadows
e1ba4ff0a8
add CollisionMask entity property
2016-01-12 15:08:52 -08:00
Andrew Meadows
0df920d9a3
Merge pull request #6718 from birarda/master
...
cleanup QTimer management in ThreadedAssignment
2016-01-07 10:53:35 -08:00
Seth Alves
096ab44311
fix network version number
2016-01-06 11:01:31 -08:00
Anthony Thibault
95f821d61a
Merge pull request #6732 from sethalves/set-model-entity-joints
...
hook up a way for scripts to set model-entity joint state
2016-01-05 17:31:18 -08:00
Andrew Meadows
9ab5ef358a
remove dangling whitespace
2016-01-05 16:44:36 -08:00
Seth Alves
942e77166e
merge from upstream
2016-01-05 11:11:19 -08:00
Stephen Birarda
ddb8b67267
Merge branch 'master' of https://github.com/highfidelity/hifi
2016-01-05 09:56:05 -08:00
Seth Alves
ce1b8ae6f0
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2016-01-04 19:35:36 -08:00
Stephen Birarda
1646ac55ef
include application version in networking
2016-01-04 15:32:07 -08:00
Seth Alves
8eef1624cb
Merge branch 'master' of github.com:highfidelity/hifi into set-model-entity-joints
2016-01-04 09:27:59 -08:00
Brad Hefta-Gaub
5b177404d5
Merge pull request #6749 from jherico/resource_override
...
Allow a script to set a resource override.
2016-01-04 09:17:38 -08:00
Brad Hefta-Gaub
02835fc960
Merge pull request #6702 from hyperlogic/tony/soft-attachments
...
Soft Attachment Support
2016-01-03 08:46:16 -10:00
Seth Alves
bfa8cc1969
merge from upstream
2016-01-03 06:47:25 -08:00
Seth Alves
fe0a656d54
Merge branch 'master' of github.com:highfidelity/hifi into set-model-entity-joints
2015-12-30 12:45:32 -08:00
Brad Davis
07531353e4
Allow a script to set a resource override.
2015-12-30 09:06:04 -08:00
Andrew Meadows
a5c19c04e5
Merge pull request #6672 from ctrlaltdavid/fix-nodelist-shutdown
...
Don't send a domain-server check in when shutting down
2015-12-30 08:43:19 -08:00
Anthony J. Thibault
c2dd00375d
Merge branch 'master' into tony/soft-attachments
2015-12-29 13:21:37 -08:00
Stephen Birarda
a0d6001fa5
actually start domain-server check in timer
2015-12-28 10:54:42 -08:00
Stephen Birarda
2799123b55
Merge branch 'master' of https://github.com/highfidelity/hifi
2015-12-28 10:46:51 -08:00
Seth Alves
83f60d6e97
make entity properties for model-entity joint-states
2015-12-23 15:43:50 -08:00
Seth Alves
5e4a165b4d
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-22 11:23:09 -08:00
Brad Hefta-Gaub
3dfc48e205
Merge pull request #6687 from jherico/marketplace
...
Support the marketplace in QML
2015-12-21 17:55:55 -08:00
Stephen Birarda
74d1685617
remove an extra space
2015-12-21 16:45:33 -07:00
Stephen Birarda
9e2d06710f
fix for connectedToDomain signal signature
2015-12-21 16:37:22 -07:00
Stephen Birarda
49ea560e4e
make QTimers in ThreadedAssignment not be raw pointers
2015-12-21 16:33:40 -07:00
Stephen Birarda
8c6449a886
fix for stopping a nullptr QTimer
2015-12-21 16:20:06 -07:00
Brad Davis
6ef77bc46a
Support the marketplace in QML
2015-12-21 11:34:03 -08:00
Anthony J. Thibault
1618e0a92f
Network, Preferences and UI support for soft attachments
...
Added an isSoft field to the AttachmentData which is edited
by the Attachment Dialog Menu, sent over the network via
AvatarData identity packets and saved in the Interface.ini preferences.
AvatarData and AvatarBulkData version number has been bumped.
Changed Avatar attachment collections to use smart pointers to models
instead of raw ones. Removed _unusedAttachmentModels.
I don't think the caching was worth the added code complexity.
2015-12-18 13:32:09 -08:00
Seth Alves
a5d37bed60
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-18 09:12:57 -08:00
Brad Hefta-Gaub
a7824a06d0
fix Assignment copy constructor warning
2015-12-17 18:51:27 -08:00
Seth Alves
9438015f3a
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-17 11:48:04 -08:00
Stephen Birarda
06e9731fe4
don't attempt to read an empty or malformed packet
2015-12-17 11:07:36 -08:00
Seth Alves
d34e166b48
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-17 07:31:52 -08:00
Atlante45
b4dc3b1b47
Fix windows compile error.
2015-12-16 14:27:26 -08:00
Atlante45
95da71b19c
Assignment don't inherit from NodeData
...
This is an artefact from an old design that stuck around
2015-12-16 14:27:26 -08:00
Atlante45
346c28f9e2
Remove OctreeServer's static instance
2015-12-16 14:27:26 -08:00
David Rowe
b25fc5be6c
Don't send a domain-server check in when shutting down
2015-12-17 09:52:34 +13:00
Seth Alves
008065ba38
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-14 09:15:56 -08:00
Seth Alves
24fb43e8cd
first steps toward a puffed-out query-box for child entities
2015-12-12 12:33:14 -08:00
Atlante45
d3224bfde3
More warning fixes
2015-12-11 16:03:44 -08:00
Atlante45
ce51350b65
Fix warnings on windows 64bit
2015-12-11 15:42:15 -08:00
Brad Hefta-Gaub
a7a924153a
Merge pull request #6617 from huffman/entity-query-keyhole
...
Add keyhole radius to OctreeQuery
2015-12-11 09:35:46 -08:00
Ryan Huffman
87e30a2157
Remove EntityQuery version and just append new data to end
2015-12-11 09:03:39 -08:00
Ryan Huffman
6acf3603d0
Update naming and number of entity query version
2015-12-10 14:58:08 -08:00
Ryan Huffman
cfcc07da2e
Fix current version for EntityQuery
2015-12-10 14:49:28 -08:00
Ryan Huffman
46d645376b
Fix misspelling of entities
2015-12-10 14:38:44 -08:00
Ryan Huffman
b6ecd539df
Merge branch 'master' of https://github.com/highfidelity/hifi into entity-query-keyhole
2015-12-10 14:36:03 -08:00
Ryan Huffman
b5e3dce376
Add keyhole radius to OctreeQuery
2015-12-10 14:34:28 -08:00
Seth Alves
d243132b5c
quiet some logging
2015-12-10 10:28:24 -08:00
Anthony J. Thibault
e9f529bf12
Entities: Removed Start Automatically property from Animation Group
...
There is an issue when startAutomatically was set to true and animationPlaying was set to false.
This would cause clients to play the animation when they connected to the entity server, even though the server was not.
2015-12-09 17:59:56 -08:00
Ryan Huffman
0759462df7
Remove unused variable in PacketReceiver
2015-12-08 09:38:23 -08:00
Ryan Huffman
71c266bc00
Fix order of initializion in ReceivedMessage
2015-12-08 09:22:17 -08:00
Ryan Huffman
44d740ef57
Remove unused variable 'addr'
2015-12-08 09:22:02 -08:00
James B. Pollack
6cf1ad464f
Merge pull request #6583 from birarda/extension-ci
...
use a case insensitive check for extensions in Application
2015-12-07 17:33:03 -08:00
Stephen Birarda
7beaf5e235
force asset upload to use a lowercase extension
2015-12-07 15:18:32 -08:00
Leonardo Murillo
25494ec867
Merge pull request #6562 from Atlante45/baseball
...
Baseball
2015-12-07 14:11:21 -08:00
Ryan Huffman
34138f07bd
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-12-07 08:58:47 -08:00
Atlante45
1d498af76e
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-12-04 15:18:25 -08:00
Stephen Birarda
ad4f818b21
only attempt to stop QTimer if active
2015-12-04 14:12:41 -08:00
Stephen Birarda
d2fdf6a04b
Merge branch 'master' of https://github.com/highfidelity/hifi into log-handler-crash
2015-12-04 13:55:57 -08:00
Stephen Birarda
165db97cb2
cleanup double reset debug on assignment-client restart
2015-12-04 11:50:27 -08:00
Brad Hefta-Gaub
84b98c93a1
Merge pull request #6559 from birarda/log-handler-crash
...
reset the NodeList on its own thread
2015-12-04 11:44:06 -08:00
Ryan Huffman
89c412c324
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-12-04 11:38:28 -08:00
Stephen Birarda
d5f79b84fc
make the NodeList reset a blocking queued connection
2015-12-04 11:20:46 -08:00
Stephen Birarda
918342df5f
make sure the NodeList is reset on its own thread
2015-12-04 11:18:46 -08:00
Stephen Birarda
ca84fcd7f4
parent the keepalive timer to the NL thread
2015-12-04 11:01:18 -08:00
Ryan Huffman
d9eddbe738
Remove unnecessary ptr get() in PacketList
2015-12-02 13:32:56 -08:00
Atlante45
70dd8ec19a
Remove left/right relative pos/rot from c++
2015-12-01 11:44:42 -08:00
Atlante45
3bbd20a7bd
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball-test
2015-11-30 18:02:34 -08:00
Seth Alves
b7ebe5b92b
merge from upstream
2015-11-30 16:59:52 -08:00
Stephen Birarda
f07314f4ef
resolve conflicts on merge with huffman/baseball
2015-11-30 13:34:36 -08:00
Stephen Birarda
4573e5c59e
resolve conflicts on merge with upstream/master
2015-11-30 13:32:38 -08:00
Ryan Huffman
5849befb3d
Add caching back to AssetRequest
2015-11-30 11:53:53 -08:00
Ryan Huffman
304b105dac
Add proper message failure handling to Connection
2015-11-30 11:53:08 -08:00
Ryan Huffman
2e76f0e0d8
Update ReceivedMessage progress to only trigger every 100 packets
2015-11-30 11:52:49 -08:00
Ryan Huffman
5e27af5076
Remove old comment in PacketReceiver
2015-11-30 11:52:21 -08:00
Ryan Huffman
242167ebf2
Remove debug messages
2015-11-30 11:52:07 -08:00
Ryan Huffman
bb6bb85d12
Update comment in ReceivedMessage
2015-11-30 09:16:57 -08:00
Ryan Huffman
dc48b9a266
Limit progress signal in ReceivedMessage to once every 50 packets
2015-11-30 09:15:25 -08:00
Ryan Huffman
4220d7a3cc
Add atp hash checking back in
2015-11-30 09:13:59 -08:00
Seth Alves
ca75802b9c
unmangle merge
2015-11-26 06:43:28 -08:00
Anthony J. Thibault
2a9adafc09
Bumped avatar packet version number
2015-11-25 12:13:40 -08:00
Ryan Huffman
dac491ef41
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-11-24 09:59:22 -08:00
samcake
a1668cdc73
Let the AssertClient JS interface use global vars
2015-11-23 22:28:59 -08:00
Seth Alves
f013f95e9b
merge from upstream
2015-11-21 08:43:00 -08:00
Clément Brisset
5d75fcbfce
Merge pull request #6430 from birarda/unique_linked_data
...
use a unique_ptr for linkedData in Node
2015-11-20 15:01:41 -08:00
Brad Hefta-Gaub
c7673aad4a
Merge pull request #6447 from huffman/polyline-texture
...
Add texture property to polyline entity type
2015-11-20 13:31:34 -08:00
Brad Davis
eef01f8a13
Merge pull request #6443 from ZappoMan/assetJS
...
fix crash with no asset server
2015-11-20 12:58:16 -08:00
Stephen Birarda
b34934b849
resolve conflicts on merge with upstream/master
2015-11-20 11:52:53 -08:00
Brad Hefta-Gaub
f1badc017b
CR feedback
2015-11-20 11:43:50 -08:00
Brad Hefta-Gaub
caa8b0b5b6
fix unix build
2015-11-20 11:07:01 -08:00
Brad Hefta-Gaub
4bbfcb6092
Merge branch 'master' of https://github.com/highfidelity/hifi into messaging
2015-11-20 10:30:38 -08:00
Ryan Huffman
0d6279da17
Merge remote-tracking branch 'origin/polyline-texture' into baseball
2015-11-20 10:19:30 -08:00
Brad Hefta-Gaub
0e5e33446e
handle old protocol case
2015-11-20 09:57:30 -08:00
Brad Hefta-Gaub
abf169ebd9
fix senderID in messages, dry up code
2015-11-20 09:03:21 -08:00
Brad Hefta-Gaub
5c6cd9b06c
fix thread safety and crash with no asset server
2015-11-19 18:53:12 -08:00
Brad Hefta-Gaub
f80a765a29
add Assets.uploadData() and Assets.downloadData()
2015-11-19 17:28:20 -08:00
Ryan Huffman
07d21514c5
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-11-19 10:47:37 -08:00
Stephen Birarda
271387f96e
use a unique_ptr for linkedData in Node
2015-11-18 18:03:31 -08:00
Ryan Huffman
2a416ebc61
Merge branch 'master' of https://github.com/highfidelity/hifi into received-message
2015-11-18 16:52:23 -08:00
Stephen Birarda
08e6b63090
cleanup debug of received domain-server settings
2015-11-18 15:43:31 -08:00
Ryan Huffman
c2648fd6dd
Remove _packetListenerMap
2015-11-18 15:30:43 -08:00
Ryan Huffman
f0ad7f85dc
Add readHead* to ReceivedMessage
2015-11-18 15:30:30 -08:00
Stephen Birarda
f2ecce6043
use safer domain settings request in audio-mixer
2015-11-18 15:13:29 -08:00
Stephen Birarda
1a066abb26
fix some indentation for UDT_CONNECTION_DEBUG lines
2015-11-18 14:43:56 -08:00
Stephen Birarda
65142a3963
clean up agent comment for domain settings request
2015-11-18 14:20:56 -08:00
Ryan Huffman
3d0afc3c5f
Update entities version number for polyline change
2015-11-18 14:00:00 -08:00
Stephen Birarda
c54dffac12
fix entity-server avg ping, remove debug
2015-11-18 10:32:35 -08:00
Stephen Birarda
0e3d3451d7
make keep alive pings the responsibility of NL
2015-11-18 10:24:10 -08:00
Brad Hefta-Gaub
293914b84f
added NodeActivated signal to make it easier for users to know when a recently added node has an active socket
2015-11-17 16:31:34 -08:00
Brad Hefta-Gaub
073215d067
handle socketActivated
2015-11-17 15:55:41 -08:00
Brad Hefta-Gaub
9c4286b6ca
Merge branch 'master' of https://github.com/highfidelity/hifi into messaging
2015-11-17 15:50:54 -08:00
Stephen Birarda
f5ec458a5e
make activeSocket checks more consistent
2015-11-17 15:38:03 -08:00
Stephen Birarda
3906a747b8
fix a couple of bad checks
2015-11-17 15:33:57 -08:00
Stephen Birarda
34b8fca83b
add socketActivated signal to NetworkPeer for punch success
2015-11-17 15:04:31 -08:00
Stephen Birarda
7dfdb3c72e
protect LNL packet sending without active socket
2015-11-17 15:04:14 -08:00
Brad Hefta-Gaub
3efbcb7062
debug the late connect case
2015-11-17 14:47:59 -08:00
Brad Hefta-Gaub
d8a3927311
debug the late connect case
2015-11-17 14:43:06 -08:00
Brad Hefta-Gaub
85aa3b3f83
handle subscribe when messages mixer is not available
2015-11-17 14:28:51 -08:00
Brad Hefta-Gaub
8112b3b57e
add senderUUID to the messageReceived signal
2015-11-17 14:16:22 -08:00
Brad Hefta-Gaub
2d3fe497e4
fix typo
2015-11-17 13:29:28 -08:00
Brad Hefta-Gaub
5b9791d800
add message received signal
2015-11-17 11:50:10 -08:00
Brad Hefta-Gaub
60ae1259fa
more cleanup work
2015-11-17 11:06:27 -08:00
Brad Hefta-Gaub
034debc483
cleanup
2015-11-17 10:59:53 -08:00
Brad Hefta-Gaub
f9a674bca5
implement subscribe/unsubscribe in MessagesClient
2015-11-17 10:01:31 -08:00
Brad Hefta-Gaub
6b61ec569c
more work on channels
2015-11-17 09:47:50 -08:00
ZappoMan
f712fae4d2
more hacking
2015-11-17 08:56:21 -08:00
Brad Hefta-Gaub
12f206e2f0
more work on messages
2015-11-16 17:00:03 -08:00
Brad Hefta-Gaub
40e69f6946
Merge branch 'master' of https://github.com/highfidelity/hifi into messaging
2015-11-16 15:31:06 -08:00
Brad Hefta-Gaub
d42a1a721f
first cut at messages-mixer
2015-11-16 15:26:17 -08:00
Ryan Huffman
5154fbc8c5
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-16 12:23:26 -08:00
Stephen Birarda
584e35e4ab
have killNodeWithUUID return success to avoid double lookup
2015-11-16 10:58:11 -08:00
Stephen Birarda
ea38c4cc49
don't allow domain check-ins while shutting down
2015-11-12 18:04:15 -08:00
Stephen Birarda
6b2987eef8
handle domain server node removal in NodeList
2015-11-12 17:47:51 -08:00
Stephen Birarda
e52e9be44c
re-broadcast disconnects from domain-server
2015-11-12 17:23:39 -08:00
Stephen Birarda
1c9396d66e
handle disconnect request in domain-server
2015-11-12 15:43:03 -08:00
Stephen Birarda
8bdb81d832
send disconnect packet from node when leaving domain
2015-11-12 15:03:19 -08:00
Stephen Birarda
0a64242160
cleanup string grabbing for PacketType enum
2015-11-12 14:43:25 -08:00
Stephen Birarda
288ee0e9e8
add a NodeDisconnect packet
2015-11-12 11:39:32 -08:00
Atlante45
aca5cb2559
Renamed header version
2015-11-10 14:18:27 -08:00
Atlante45
d79221edd2
AvatarActionHold can ignore IK
2015-11-10 14:06:59 -08:00
Atlante45
6a53021818
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-09 13:23:31 -08:00
ericrius1
31fe5fa953
Bump version num, use different shader for additive blending effect
2015-11-03 17:15:10 -08:00
Ryan Huffman
7f4a8e9d7d
Merge branch 'master' of github.com:Atlante45/hifi into baseball
2015-11-02 12:25:51 -08:00
Seth Alves
3ac0fef1ea
merge from upstream
2015-11-01 15:22:57 -08:00
samcake
393f6a4c76
Fixing a bad field ID for keyLight.AmbientURL and bumping the domain version
2015-10-30 11:35:50 -07:00
Clément Brisset
a37c94bd3c
Merge pull request #6202 from birarda/asset-parenting
...
don't force parenting of AssetUpload/AssetRequest
2015-10-30 09:45:42 -07:00
Stephen Birarda
06897aa474
don't force parenting of AssetRequest/AssetUpload
2015-10-27 19:29:54 -07:00
Atlante45
5f8c3a6b4b
Fix AssetResourceRequest crash
2015-10-27 10:27:37 -07:00
samcake
bc7ad9d3f7
Move the keyLIght properties in their own group and add the ambientURL in
2015-10-26 09:27:06 -07:00
Seth Alves
778dc8dc15
add parentID and parentJointIndex EntityItemProperties
2015-10-22 11:52:56 -07:00
Stephen Birarda
1e39c9359f
don't force parenting of AssetRequest/AssetUpload
2015-10-21 11:53:38 -07:00
Ryan Huffman
9ddcfdf94d
Cleanup PacketReceier and ReceivedMessage
2015-10-16 09:21:10 -07:00
Ryan Huffman
7682ab00e3
Add ReceivedMessage and receive progress
2015-10-15 14:09:53 -07:00
Brad Hefta-Gaub
b7c40c2df1
fix Queue OUT stat
2015-10-15 11:41:04 -07:00
Stephen Birarda
2caa7f6d64
change getUrl to getATPUrl, use in ATPAssetMigrator
2015-10-13 16:56:20 -07:00
Stephen Birarda
76bfc6218a
add back block removed in merge
2015-10-13 16:36:10 -07:00
Stephen Birarda
fc82ea8541
resolve conflicts on merge with upstream/master
2015-10-13 16:12:54 -07:00
Stephen Birarda
c328941b9d
Merge pull request #6074 from huffman/fix-empty-hash
...
Fix crash when atp url is empty
2015-10-13 16:02:28 -07:00
Ryan Huffman
c468cabe7e
Fix crash when atp url is empty
2015-10-13 15:12:01 -07:00
Stephen Birarda
cf74cfb50e
add an ATPAssetMigrator for bulk ATP migration
2015-10-13 10:38:52 -07:00
Atlante45
b7ba99380a
Pretty up loading debug
2015-10-12 15:32:44 -07:00
Atlante45
7eadb11404
Remove optional upload caching
2015-10-12 15:09:17 -07:00
Atlante45
0e0a8301eb
Collapse line
2015-10-12 15:06:51 -07:00
Atlante45
0cdad78581
Move debug to helper functions
2015-10-12 15:03:37 -07:00
Atlante45
4abac35c72
Cache on upload
2015-10-12 15:03:37 -07:00
Atlante45
51acf07c15
Factor couple methods in AssetUtils
2015-10-12 15:03:37 -07:00
Brad Davis
cd1b758534
PR comments
2015-10-11 00:32:31 -07:00
Brad Davis
e5fc2e5525
Low level support for URL overrides when loading content
2015-10-10 23:00:15 -07:00
Stephen Birarda
b84109a781
Merge pull request #6040 from huffman/fix-null-node
...
Fix case where we deref a null pointer in OctreeInboundPacketProcessor
2015-10-09 14:57:16 -07:00
Clément Brisset
a5f0b75e25
Merge pull request #6043 from huffman/fix-uninitialized-arr
...
Fix uninitialized pointer in AssetResourceRequest
2015-10-09 13:36:58 -07:00
Clément Brisset
aa221741e5
Merge pull request #6041 from birarda/packet-corruption
...
fix for re-send timeout in SendQueue
2015-10-09 13:33:34 -07:00
Ryan Huffman
c02df56ceb
Fix uninitialized pointer in AssetResourceRequest
2015-10-09 13:15:13 -07:00
Stephen Birarda
58f9830a94
fix for re-send timeout in SendQueue
2015-10-09 10:04:35 -07:00
Ryan Huffman
36aaffce43
Revert "Fix _packets not being cleaned up in ReceivedPacketProcessor"
...
This reverts commit 4dddb508a8
.
2015-10-09 10:01:53 -07:00
Ryan Huffman
21e9d30bbe
Move qdeclare/qregister calls to their respective class header
2015-10-09 09:58:32 -07:00
Ryan Huffman
4dddb508a8
Fix _packets not being cleaned up in ReceivedPacketProcessor
2015-10-09 09:21:36 -07:00
Clément Brisset
7caf8755d1
Merge pull request #6039 from birarda/packet-corruption
...
hold the sent packets lock while re-sending a packet
2015-10-08 19:57:08 -07:00
Stephen Birarda
8985427516
maintain sent packets lock while re-sending packet
2015-10-08 19:47:15 -07:00
Clément Brisset
6d694b877d
Merge pull request #6036 from birarda/packet-corruption
...
fix for registration of meta types in Socket
2015-10-08 18:29:03 -07:00
Clément Brisset
a2b5748f54
Merge pull request #6027 from birarda/net-crashes
...
clean up Nodes via deleteLater on the network thread
2015-10-08 18:22:40 -07:00
Stephen Birarda
1cd76bb937
fix for registration of meta types in Socket
2015-10-08 18:17:24 -07:00
Stephen Birarda
aa2a8edc6f
use _segmentStartIndex before changing its value
2015-10-08 15:44:18 -07:00
Stephen Birarda
0d9421a65e
constantize the PacketList write error
2015-10-08 15:40:49 -07:00
Stephen Birarda
519df1565a
fix comment format in PacketList
2015-10-08 15:38:41 -07:00
Stephen Birarda
dc4f987a2e
fix segmented write logic in PacketList
2015-10-08 15:38:41 -07:00
Stephen Birarda
8ce3ee0d60
have nodes be cleaned up on the NL thread
2015-10-08 13:22:43 -07:00
Brad Hefta-Gaub
a86e34f9f9
Merge pull request #6018 from hyperlogic/tony/avatar-mixer-stats-improvements
...
Separated AvatarMixer inbound and outbound bandwidth on stats overlay
2015-10-07 16:04:13 -07:00
Anthony J. Thibault
00f3b7b1b5
Renamed delt to averageTimeBetweenPackets
2015-10-07 15:46:42 -07:00
Anthony J. Thibault
0cebeb7fe9
Separated AvatarMixer inbound and outbound bandwidth on stats overlay
...
Also, small bug fix to BandwidthRecorder. It would incorrectly
calculate outbound pps if the input pps was 0.
2015-10-07 15:32:10 -07:00
Brad Hefta-Gaub
bfd014203e
fix a bunch of warnings
2015-10-07 14:48:42 -07:00
Brad Hefta-Gaub
ef054ffc6d
Merge branch 'master' of https://github.com/highfidelity/hifi into animationGroupSettings
...
Conflicts:
libraries/networking/src/udt/PacketHeaders.cpp
libraries/networking/src/udt/PacketHeaders.h
2015-10-07 11:27:50 -07:00
Stephen Birarda
022c4276b9
Merge pull request #5892 from Atlante45/protocol
...
Add channels to UDT
2015-10-07 11:06:22 -07:00
Ryan Huffman
74c89ad099
Merge pull request #5984 from Atlante45/cleanup_app
...
Application cleanup
2015-10-06 16:58:05 -07:00
Atlante45
3a8deff53e
Return if innactive
2015-10-06 16:38:16 -07:00
Atlante45
ca575bee89
Remove unecessary move
2015-10-06 16:15:51 -07:00
Atlante45
5ee966261d
Start thread right away
2015-10-06 16:12:50 -07:00
Atlante45
81b88cb096
Renamed MessagePart > MessagePartNumber
2015-10-06 16:12:04 -07:00
Stephen Birarda
fbf6d166b7
add wire size to BasePacket
2015-10-06 14:48:28 -07:00
Stephen Birarda
9079f891e9
repair broken node bandwidth stats
2015-10-06 14:09:21 -07:00
Atlante45
77a7814854
Move sendPingPackets
2015-10-06 13:56:20 -07:00
Atlante45
0f18db886c
Remove 4 Application static methods
...
- Replace by lambda
- Cleaned up global scope
2015-10-06 13:56:19 -07:00
Atlante45
f5f349e13a
Bumped packet version numbers
2015-10-02 14:20:20 -07:00
Brad Hefta-Gaub
57bf69cc48
Merge branch 'master' of https://github.com/highfidelity/hifi into animationGroupSettings
...
Conflicts:
libraries/entities/src/ModelEntityItem.cpp
libraries/networking/src/udt/PacketHeaders.cpp
2015-10-02 14:19:15 -07:00
Atlante45
1e56d0c99b
Add parenthesis to quiet gcc warning
2015-10-02 14:18:18 -07:00
Atlante45
1f07ba46d0
Fix in-class initialization for windows build
2015-10-02 14:18:18 -07:00
Atlante45
48ff912dd2
Use one channel per packet list
2015-10-02 14:18:18 -07:00
Atlante45
3db99f50e5
Change takeFront name
2015-10-02 14:18:18 -07:00
Atlante45
7007d9f223
Use message part to check recieved packet list
2015-10-02 14:18:17 -07:00
Atlante45
c3fc6f4f79
Add message part to Packet
2015-10-02 14:18:17 -07:00
Atlante45
8cecb95bf2
Use array for stats
2015-10-02 14:16:47 -07:00
Atlante45
f1a9aba704
Magic number
2015-10-02 14:16:46 -07:00
Atlante45
91c779ddd8
Templatized DoubleLock
2015-10-02 14:16:46 -07:00
Atlante45
732ad41080
Introduce PacketQueue
2015-10-02 14:16:46 -07:00
Atlante45
709dab6beb
Release send queue before cleanup
2015-10-02 14:16:45 -07:00
Atlante45
290a0e573d
House cleaning
2015-10-02 14:16:45 -07:00
Atlante45
b0fe8535fd
Release _sendQueue before cleanup
2015-10-02 14:16:45 -07:00
Atlante45
eb8b37309d
Use lock_guard when possible
2015-10-02 14:16:44 -07:00
Atlante45
a4d383b384
Check handshake separately
2015-10-02 14:16:44 -07:00
Atlante45
3a61e6b6a3
Coding standart for locks
2015-10-02 14:16:44 -07:00
Atlante45
a34e1d85a5
Close current packet fix
2015-10-02 14:16:44 -07:00
Brad Hefta-Gaub
e6fb587a8c
Merge branch 'master' of https://github.com/highfidelity/hifi into animationGroupSettings
2015-10-02 13:04:14 -07:00
Anthony J. Thibault
fc7b6dee84
Merge branch 'master' into transmit-joint-translation
2015-10-02 11:40:33 -07:00
Anthony J. Thibault
fa864d29f9
Merge branch 'master' into transmit-joint-translation
2015-10-01 16:55:24 -07:00
Brad Hefta-Gaub
f2e65f5a98
Merge pull request #5936 from birarda/tv-es-lockup
...
fix a timer leak, line width in PacketList
2015-10-01 14:39:40 -07:00
Brad Hefta-Gaub
6aa9ef9910
first cut at migrating animation settings into a property group
2015-09-30 20:51:25 -07:00
Stephen Birarda
5da5bd47af
add a missing rename for socket Q_ASSERT_X
2015-09-30 21:45:22 -04:00
Brad Hefta-Gaub
9cf49597a6
fix possible crash from null coming from _sentPackets
2015-09-30 14:16:41 -07:00
Brad Hefta-Gaub
46e1a298c8
Merge pull request #5951 from huffman/cc-rng-fix
...
Fix infinite recursion error with CC rng
2015-09-30 12:36:35 -07:00
Ryan Huffman
1e9593029c
Fix infinite recursion error with CC rng
...
On some std::random implementations tryin get a range [low, high) where
high < low will cause infinite recursion.
2015-09-30 11:34:11 -07:00
Stephen Birarda
82ac0b1a27
use a mutable mutex to keep const-ness
2015-09-30 14:23:18 -04:00
Stephen Birarda
f7e7b07441
fix constness of SentPacketHistory in OEPS
2015-09-30 14:15:22 -04:00
Stephen Birarda
cc6b0adb7d
guard insert/get in SentPacketHistory
2015-09-30 14:15:04 -04:00
Stephen Birarda
f4bc3f8e38
fix a timer leak, line width in PacketList
2015-09-29 16:35:24 -04:00
Seth Alves
50dd8eba45
Relay joint translations across network. Apply animation's root-joint translation to avatar.
2015-09-26 11:40:39 -07:00
David Rowe
eb01ba9812
Merge branch 'master' into 20681
2015-09-23 09:42:56 -07:00
Brad Hefta-Gaub
efda121619
fix a bunch of warnings on windows
2015-09-22 16:40:17 -07:00
David Rowe
03194437f5
Merge branch 'master' into 20681
...
Conflicts:
examples/entityScripts/sprayPaintCan.js
2015-09-18 12:04:02 -07:00
Sam Gateau
d0f7ddd3a6
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-09-18 00:03:19 -07:00
David Rowe
12e2cf3ce9
Emit in all directions from a point or the surface of a spheroid
2015-09-17 17:14:35 -07:00
Stephen Birarda
285a6cc738
use erase directly for cleanupConnection
2015-09-17 14:51:48 -07:00
Stephen Birarda
a914ec82c3
more comment correctness for Socket
2015-09-17 14:17:43 -07:00
Stephen Birarda
1f9bb22b9e
fix some wording in Socket comment
2015-09-17 14:17:03 -07:00
Stephen Birarda
36e2d4fc76
add check for NotStarted state in PL queue
2015-09-17 14:16:03 -07:00
Stephen Birarda
4758dd2a53
correct locking races in SendQueue/Connection cleanup
2015-09-17 14:13:24 -07:00
David Rowe
d51cab3e3d
Replace particle velocity with speed and orientation
2015-09-16 14:51:08 -07:00
Sam Gateau
d45547aa1a
Merge and update
2015-09-16 13:46:07 -07:00
Stephen Birarda
cc8ad868b8
don't parent DS timer to object in another thread
2015-09-16 12:27:57 -07:00
Stephen Birarda
500a96ee7c
guard perpetual AC domain connection if NL thread locked
2015-09-16 12:25:03 -07:00
Atlante45
88d073b4ac
More disk cache debug info
2015-09-16 15:20:48 +02:00
Atlante45
dd0244b15d
Added a couple comments
2015-09-16 15:17:15 +02:00
Atlante45
9678e70444
Asset caching
2015-09-16 15:17:15 +02:00
Atlante45
eabee9857a
Enum coding standard
2015-09-16 15:17:14 +02:00
Brad Hefta-Gaub
54972515dc
make sure timer is owned
2015-09-15 17:04:40 -07:00
Ryan Huffman
8c3d8bc7de
Merge pull request #5809 from birarda/phrc
...
timing fixes for default time_point on windows
2015-09-15 15:29:30 -07:00
Stephen Birarda
8454cb916c
avoid branching by using %= operator
2015-09-15 15:15:26 -07:00
Stephen Birarda
6756d5364b
sensible defaults for other time_point uses
2015-09-15 10:11:05 -07:00
Stephen Birarda
6a186ad1fe
ensure a handshake goes out the first time
2015-09-15 09:48:17 -07:00
Brad Hefta-Gaub
54a45f3173
Merge branch 'master' of https://github.com/highfidelity/hifi into scriptEngineCleanup
...
Conflicts:
libraries/entities-renderer/src/EntityTreeRenderer.cpp
libraries/script-engine/src/ScriptEngine.cpp
libraries/script-engine/src/ScriptEngine.h
2015-09-14 21:13:08 -07:00
Stephen Birarda
a27e0e7cc7
remove an unused alias
2015-09-14 17:18:22 -07:00
Stephen Birarda
84ab4fd585
force minimum for p_hrc time_point values
2015-09-14 17:16:42 -07:00
Ryan Huffman
b0ffb50fdf
Move assertion in AssetRequest below error checking
...
If the request had an error then there is no reason the assertion should
be true.
2015-09-14 15:48:11 -07:00
Ryan Huffman
15b809bd16
Merge pull request #5795 from birarda/phrc
...
fix high resolution timing for VS2012 in networking
2015-09-14 13:49:20 -07:00
Stephen Birarda
d82fd9a6ed
Merge pull request #5797 from huffman/fix-assert
...
Fix assert in AssetResourceRequest
2015-09-14 13:40:13 -07:00
Ryan Huffman
f3b513866a
Fix assert in AssetResourceRequest
2015-09-14 13:39:14 -07:00
Stephen Birarda
8308dbf4a3
Merge pull request #5787 from huffman/cleanup-asset-requests-on-node-kill
...
DO NOT MERGE: Cleanup asset requests on node kill
2015-09-14 13:08:01 -07:00
Ryan Huffman
29d26a1f9a
Fix namespace issues std:: template specialization
2015-09-14 12:17:36 -07:00
Ryan Huffman
42d21e4dc1
Update AssetClient's node killed handling to check if node is asset server first
2015-09-14 11:56:47 -07:00
Ryan Huffman
e87fcb78cd
Add proper cleanup of AssetRequest in AssetResourceRequest
2015-09-14 11:34:51 -07:00
Ryan Huffman
b8c1c279c6
Update AssetRequest::State enum to use camelcase
2015-09-14 11:22:55 -07:00
Ryan Huffman
6468046c68
Update AssetClient callbacks to return whether a response was received
2015-09-14 11:22:34 -07:00
Stephen Birarda
302fd923b8
Merge branch 'master' of https://github.com/highfidelity/hifi into phrc
2015-09-14 11:21:37 -07:00
Stephen Birarda
9b926f6f04
add an hrc with proper resolution for < VC2015
2015-09-14 11:21:08 -07:00
Sam Gateau
3f2609e52a
merging
2015-09-14 09:59:04 -07:00
Seth Alves
49ee251238
quiet compiler
2015-09-12 09:59:25 -07:00
Brad Hefta-Gaub
8395fb6eff
normalize how ScriptCache::getScript() works relative to ResourceManager
2015-09-11 21:24:39 -07:00
Stephen Birarda
6da388f2af
cleanup UDT_CONNECTION_DEBUG, add time for node timeout
2015-09-11 16:38:14 -07:00
Ryan Huffman
a5ba86514c
Remove log message
2015-09-11 14:01:08 -07:00
Ryan Huffman
b564ceb76f
Add network error to AssetRequest
2015-09-11 14:01:08 -07:00
Ryan Huffman
42b4c7d423
Update AssetClient to handle disconnections from a node
2015-09-11 14:01:08 -07:00
Ryan Huffman
3ae323cb2e
Move pending requests in AssetClient to include node sent to
2015-09-11 14:01:08 -07:00
Ryan Huffman
4ed3e36181
Update AssetClient::create* methods to not block on invokeMethod
2015-09-11 14:01:08 -07:00
Sam Gateau
c9ec65fd65
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-09-11 09:51:43 -07:00
Stephen Birarda
a286f4e7d0
Merge pull request #5772 from Atlante45/protocol
...
Asset server node JSON stats
2015-09-11 09:35:39 -07:00
Ryan Huffman
9ab603e9a5
Merge pull request #5773 from birarda/master
...
fail asset request if hash does not match
2015-09-11 09:09:56 -07:00
Atlante45
449d6a04d8
CR
2015-09-11 14:21:56 +02:00
Atlante45
8c1fb67825
Lock nodeHash mutex for node lookup
2015-09-11 14:21:55 +02:00
Atlante45
0037a1f4a7
Win build fix
2015-09-11 14:21:55 +02:00
Atlante45
15f7745bcc
JSON stats reliable and ordered
2015-09-11 14:21:54 +02:00
Atlante45
08e0a8d705
AssetServer JSON stats
2015-09-11 14:21:53 +02:00
Atlante45
5808658958
Make NodeJSONStats reliable
2015-09-11 14:21:53 +02:00
Sam Gateau
c37cdce750
Merging back with master
2015-09-10 17:53:50 -07:00
Stephen Birarda
973fd80c1d
fail asset request if hash does not match
2015-09-10 15:24:37 -07:00
Anthony J. Thibault
3149baeefc
Merge branch 'master' into tony/ik-and-controllers
2015-09-10 11:04:31 -07:00
Brad Hefta-Gaub
626fcb867b
CR feedback
2015-09-09 17:27:39 -07:00
Brad Hefta-Gaub
f710afbfd1
CR feedback
2015-09-09 17:26:01 -07:00
Brad Hefta-Gaub
d62945c6bf
fix degenerative url scheme case
2015-09-09 17:13:16 -07:00
Stephen Birarda
f06e4eaae9
fix suppression of packet from unknown node
2015-09-09 15:20:35 -07:00
Stephen Birarda
2849d80274
use the exact payload size where possible
2015-09-09 10:39:53 -07:00
Stephen Birarda
e7e1f5fe5c
make all of AssetClient packets reliable
2015-09-09 10:35:31 -07:00
Andrew Meadows
b6cef3d1a9
fix Qt includes
2015-09-08 18:19:33 -07:00
Stephen Birarda
a3feff1bd4
put DomainServerConnectionToken back in NON_SOURCED
2015-09-08 16:19:15 -07:00
Stephen Birarda
e1c395f5ea
resolve conflicts on merge with upstream/master
2015-09-08 14:56:23 -07:00
Stephen Birarda
e0a8469354
fix for sequence point warning
2015-09-08 13:42:52 -07:00
Stephen Birarda
9878143661
repairs to ShaderCache for Resource changes
2015-09-08 08:58:35 -07:00
David Rowe
cb9468c311
Add colorSpread entity particle property
2015-09-07 16:27:42 -07:00
David Rowe
12b8a5a1d5
Add alpha property support to ParticleEffect entities
...
Add at same "level" as color so that it's available for other entity
types to use in the future.
2015-09-05 10:23:27 -07:00
David Rowe
18bc7befee
Merge branch 'master' into 20669
...
Conflicts:
libraries/networking/src/udt/PacketHeaders.cpp
libraries/networking/src/udt/PacketHeaders.h
2015-09-04 13:49:46 -07:00
David Rowe
c910da7179
Add radiusStart and radiusFinish entity particle properties
2015-09-04 12:27:18 -07:00
Stephen Birarda
875d10575f
add filename rename somehow missed in previous commit
2015-09-04 12:43:43 -06:00
Stephen Birarda
3875a7d881
fix bad copy on merge to FileResourceRequest
2015-09-04 12:39:35 -06:00
Stephen Birarda
ed19987b7d
resolve conflicts on merge with upstream/master
2015-09-04 12:31:46 -06:00
David Rowe
45ff118249
Add new radiusSpread entity particle property
2015-09-03 14:55:08 -07:00
Seth Alves
3963035599
Merge branch 'master' of github.com:highfidelity/hifi into polyvox-again
2015-09-01 21:08:23 -07:00
Stephen Birarda
e5a10e3174
resolve conflicts on merge with upstream/master
2015-09-01 17:07:32 -06:00
Stephen Birarda
231ea3b240
fix namespacing for sequence number hasher
2015-09-01 15:35:50 -06:00
Stephen Birarda
f24a267d83
fix hasher for HifiSockAddr on ubuntu
2015-09-01 15:16:02 -06:00
Seth Alves
e32b9191f5
bump AvatarData protocol version
2015-09-01 13:35:58 -07:00
Stephen Birarda
6e7db4e816
Merge pull request #51 from huffman/tiemstamp-on-receive-packet-from-packetlist
...
Move lastHeardMicroStamp to be updated when filtering packets
2015-09-01 14:35:07 -06:00
Clément Brisset
a1db4c37a7
Merge pull request #42 from birarda/control-pair-probe
...
send a control packet as bandwidth probe
2015-09-01 22:33:51 +02:00
Ryan Huffman
639dbea25b
Move lastHeardMicroStamp to be updated when filtering packets
2015-09-01 13:32:24 -07:00
Clément Brisset
5a8a95f367
Merge pull request #48 from huffman/win-fixes
...
More Windows build fixes
2015-09-01 21:41:56 +02:00
Ryan Huffman
70c937d37f
Replace NO_ERROR with NoError
2015-09-01 12:31:30 -07:00
Ryan Huffman
b73d307210
Move std::placeholders::_1 to where they are used
2015-09-01 12:24:38 -07:00
Ryan Huffman
fb8e822fa8
Fix lines longer than 120 columns
2015-09-01 12:14:58 -07:00
Ryan Huffman
d166e6d8c3
Move UUID.cpp/h to libraries/shared
2015-09-01 12:00:43 -07:00
Ryan Huffman
cb5a49e6e4
Add missing headers needed to build on Windows
2015-09-01 11:59:45 -07:00
Ryan Huffman
019d234ffd
Replace std::bind for methods that use std::unique_ptr with a lambda
2015-09-01 11:58:33 -07:00
Stephen Birarda
56d6d95df9
only process cp tail if in the right spot
2015-09-01 12:09:58 -06:00
Clément Brisset
0733ba54c7
Win build fixes
2015-09-01 18:23:44 +01:00
Stephen Birarda
6c9021c288
only send second packet of pair when required
2015-09-01 11:10:19 -06:00
Stephen Birarda
2a8250ced5
Merge branch 'protocol' of github.com:birarda/hifi into control-pair-probe
2015-09-01 11:10:06 -06:00
Clément Brisset
1e8ab09cd4
Merge pull request #46 from huffman/win-fixes
...
Windows build fixes
2015-09-01 18:52:55 +02:00
Ryan Huffman
899b94eab3
Add cstdint include to Asset* files
2015-09-01 09:41:19 -07:00
Ryan Huffman
db92e3155c
Update AssetServerError enum to be camelcase
2015-09-01 09:39:30 -07:00
Stephen Birarda
be78d7f3aa
fix headers for move of UUID to shared
2015-09-01 10:20:06 -06:00
Stephen Birarda
4824b38465
move UUID back to shared
2015-09-01 10:17:07 -06:00
Ryan Huffman
791652557e
Fix friend declaration in Socket from udt::UDTTest to UDTTest
2015-08-31 17:32:00 -07:00
Ryan Huffman
e36c2b8567
Remove extra curly brace
2015-08-31 16:55:35 -07:00
Stephen Birarda
8d3788c2b6
Merge branch 'protocol' of github.com:birarda/hifi into control-pair-probe
2015-08-31 17:33:53 -06:00
Stephen Birarda
adad752860
Merge branch 'protocol' of github.com:birarda/hifi into control-pair-probe
2015-08-31 16:07:27 -06:00
Stephen Birarda
33f1302d1f
Merge branch 'atp' of github.com:birarda/hifi into atp
2015-08-31 16:04:58 -06:00
Stephen Birarda
4255220a69
Merge branch 'protocol' of github.com:birarda/hifi into atp
2015-08-31 16:04:44 -06:00
Ryan Huffman
423370dccb
Merge pull request #37 from birarda/upload-task
...
add a task for upload in asset-server
2015-08-31 14:55:37 -07:00
Clément Brisset
745f8dfa1b
Merge pull request #39 from huffman/ordered-insertion
...
Update message handling to use insertion sort
2015-08-31 23:46:06 +02:00
Atlante45
0de4c02e8d
Add time unit in debug
2015-08-31 23:24:14 +02:00
Atlante45
3f5394281b
Fix HTTPS timeout issue
2015-08-31 23:20:07 +02:00
Atlante45
8f74935e96
Don't reload on error
2015-08-31 22:34:16 +02:00
Atlante45
9a9c703a78
Some code cleanup
2015-08-31 22:31:24 +02:00
Atlante45
15e9797827
CR
2015-08-31 22:12:42 +02:00
Ryan Huffman
e8fba991fa
Update raw loop to use find_if for message packet sorting
2015-08-31 12:35:41 -07:00
Stephen Birarda
04d23f6cc2
Merge branch 'timers-from-thread' into atp
2015-08-31 11:50:35 -07:00
Stephen Birarda
46d90b4f31
make sure syn timer is moved to Socket thread
2015-08-31 11:40:06 -07:00
Stephen Birarda
de2bfd0d0d
some QThread cleanup and fix in Socket
2015-08-31 11:30:31 -07:00
Stephen Birarda
181c8a8b65
handle packet probe when no data available
2015-08-31 10:48:45 -07:00
Ryan Huffman
fc80745c08
Update message handling to use insertion sort
2015-08-30 20:03:15 -07:00
Seth Alves
64d0ce47f3
attempting to stitch polyvox entites together
2015-08-30 09:59:33 -07:00
Stephen Birarda
7937101a58
fix define for UDT_CONNECTION_DEBUG
2015-08-29 14:44:18 -07:00
Stephen Birarda
b81f996366
add network logging to SendQueue, fix ctor order
2015-08-29 14:38:07 -07:00
Stephen Birarda
e67a3e8541
use define to hide verbose connection debugging
2015-08-29 14:36:46 -07:00
Stephen Birarda
2b0b883db2
remove debug for writeReliablePacket invoke
2015-08-29 14:28:50 -07:00
Stephen Birarda
71ff855d86
add connection cleanup that respects send/receive
2015-08-29 14:28:24 -07:00
Stephen Birarda
d16894d2c5
Merge branch 'protocol' of github.com:birarda/hifi into atp
2015-08-28 16:41:49 -07:00
Stephen Birarda
441a5d34bf
don't go inactive in sync
2015-08-28 16:36:07 -07:00
Stephen Birarda
42105dfc33
replace mutexes with invoked methods in Socket
2015-08-28 16:34:24 -07:00
Stephen Birarda
20d1244db4
use a write lock for sync so it can be recursive
2015-08-28 15:17:44 -07:00
Stephen Birarda
abffc0317b
expire the connection if it is 16 timeouts since data
2015-08-28 15:07:07 -07:00
Stephen Birarda
d6310da8c8
consider handshake ACK not received on send queue stop
2015-08-28 15:01:03 -07:00
Stephen Birarda
ee203dbe45
fix check after mutex creation
2015-08-28 14:57:22 -07:00
Stephen Birarda
a30bc79dd5
guard send queue creation with a mutex
2015-08-28 14:55:25 -07:00
Stephen Birarda
1e09321b1a
avoid creating multiple send queues from connection
2015-08-28 14:49:27 -07:00
Stephen Birarda
d1386fcb14
Merge branch 'upload-task' into atp
2015-08-28 14:19:30 -07:00
Stephen Birarda
b7d0aa062a
repairs to cleanup of send queue
2015-08-28 14:19:20 -07:00
Atlante45
bcf3fceadc
Typo
2015-08-28 22:10:54 +02:00
Atlante45
729fd96539
Fix bug where _requestLimit is stuck at 0
2015-08-28 22:10:33 +02:00
Stephen Birarda
b9d1f39c65
remove include in SendQueue that is unneeded
2015-08-28 12:36:48 -07:00
Atlante45
a448eb9109
Fix Asset Upload popup
2015-08-28 20:35:39 +02:00
Atlante45
993217491f
Retry to load only on timeout
2015-08-28 20:35:39 +02:00
Stephen Birarda
058a3c422b
re-remove the flow window full variable
2015-08-28 11:32:17 -07:00
Stephen Birarda
f2cb85ab09
add missing break to switch for LightACK
2015-08-28 11:16:05 -07:00
Stephen Birarda
3f85e8a2fe
add an UploadAssetTask so uploading is on diff thread
2015-08-28 11:12:52 -07:00
Ryan Huffman
c6d98f3c67
Update ResourceCache to retry an asset request when the node is unavailable
2015-08-28 10:59:38 -07:00
Stephen Birarda
9575b47e4e
don't unlock double lock outside conditional
2015-08-28 10:38:15 -07:00
Stephen Birarda
54cd430be9
unlock if double lock succeeds but queues not empty
2015-08-28 10:35:29 -07:00
Stephen Birarda
ac3a1d54b1
don't lock in while for maybeResendPacket
2015-08-28 10:07:01 -07:00
Stephen Birarda
d66375bb09
fix queue timeout for empty queue
2015-08-28 09:54:51 -07:00
Stephen Birarda
577b6bf62f
correct the check for flow window size
2015-08-28 09:52:33 -07:00
Stephen Birarda
e662209754
use a QMutex instead of QReadWriteMutex
2015-08-28 09:48:55 -07:00
Stephen Birarda
dcd5a4aec2
address comments in code review
2015-08-28 09:47:25 -07:00
Stephen Birarda
21c80e45c2
guard connection addition by a mutex in Socket
2015-08-28 09:42:52 -07:00
Stephen Birarda
539108dd45
repairs for new timeout code
2015-08-28 09:26:32 -07:00
Stephen Birarda
0b712eef55
Merge branch 'protocol' of github.com:birarda/hifi into atp
2015-08-28 09:10:12 -07:00
Stephen Birarda
77aeae7dc0
change to timeout behaviour to re-send unACKed packets
2015-08-28 09:10:06 -07:00
Sam Gateau
8ea8eea08d
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-08-28 08:13:10 -07:00
Stephen Birarda
cf98d4a8f7
add a control packet type for LightACK
2015-08-28 07:31:44 -07:00
Atlante45
12fdec232b
CR
2015-08-28 16:31:02 +02:00
Atlante45
ea05fcea0c
Forward AssetResourceRequest loading errors
2015-08-28 16:03:31 +02:00
Stephen Birarda
d908cd4a53
use NotStarted instead of Unsent, return NotFound for Files
2015-08-28 06:35:02 -07:00
Ryan Huffman
a7294eb0e5
Add AccessDenied error for failure to open File in FileResourceRequest
2015-08-27 22:48:15 -07:00
Ryan Huffman
2a4b25dd76
Update names of ResourceRequest enums
2015-08-27 22:23:06 -07:00
Stephen Birarda
341e27fecc
unlock mutexes before calling notify
2015-08-27 22:02:08 -07:00
Stephen Birarda
98888a36a3
use const ref where appropriate for asset classes
2015-08-27 21:33:37 -07:00
Stephen Birarda
111abac0f1
Merge pull request #30 from huffman/cache-limit
...
Update ResourceCache to only emit failure when not retrying
2015-08-27 21:17:16 -07:00
Ryan Huffman
147fbd4b54
Update ResourceCache to only emit failure when not retrying
2015-08-27 21:11:12 -07:00
Stephen Birarda
5fc09a68a8
add an assert that enqueued packet is part of message
2015-08-27 17:24:57 -07:00
Stephen Birarda
33dc65a00a
fix for return of processable packets
2015-08-27 17:09:47 -07:00
Stephen Birarda
8ebcb03b2b
don't process duplicate or pre-handshake packets
2015-08-27 16:55:13 -07:00
Ryan Huffman
4bbbd892bd
Fix atp scheme checking in ResourceCache
2015-08-27 16:46:33 -07:00
Ryan Huffman
31bdeed396
Remove cache limit for atp urls
2015-08-27 16:43:40 -07:00
Stephen Birarda
413ec718de
fix max pairs for timeout NAK
2015-08-27 15:22:53 -07:00
Stephen Birarda
8eeb808572
Merge branch 'protocol' of github.com:birarda/hifi into asset-hash
2015-08-27 15:16:41 -07:00
Stephen Birarda
549c514400
fix upload leak, return error for failed load
2015-08-27 15:12:08 -07:00
Stephen Birarda
e3e529c4e5
resolve conflicts on merge with origin/protocol
2015-08-27 14:52:29 -07:00
Stephen Birarda
80cf7b6c76
resolve conflicts on merge with upstream/master
2015-08-27 14:50:04 -07:00
Stephen Birarda
eae90cbe8a
resolve conflicts on merge with origin/protocol
2015-08-27 14:47:35 -07:00
Stephen Birarda
c80c4a9b45
resolve conflicts on merge with origin/protocol
2015-08-27 14:45:22 -07:00
Stephen Birarda
183a2ab996
Merge pull request #18 from Atlante45/protocol
...
Cleanup connections
2015-08-27 14:41:00 -07:00
Ryan Huffman
dabea21d66
Remove unused variable
2015-08-27 14:30:48 -07:00
Ryan Huffman
5aa5bca8f7
Add path to headers
2015-08-27 14:29:54 -07:00
Stephen Birarda
f238c1b167
include the extension in upload confirmation
2015-08-27 14:29:42 -07:00
Stephen Birarda
1da9eeab1f
handle double handshake in Connection
2015-08-27 14:27:29 -07:00
Stephen Birarda
86a7a42d24
use compact hash representation for asset-server
2015-08-27 14:22:21 -07:00
Ryan Huffman
4fcfd5b8f8
Fix indentation
2015-08-27 13:58:28 -07:00
Ryan Huffman
b401a62d7f
Disable request limiting for ATP requests in ResourceCache
2015-08-27 13:58:17 -07:00
Ryan Huffman
33d6f561eb
Reintroduce request limit in ResourceCache
2015-08-27 12:52:11 -07:00
Ryan Huffman
b30a008162
Fix bug with NetworkTexture occasionally breaking on assert
2015-08-27 12:48:55 -07:00
Stephen Birarda
f3797964e2
resolve conflicts on merge with huffman/atp-server
2015-08-27 12:21:15 -07:00
Stephen Birarda
16eee10cab
repairs to permission error for asset-server upload
2015-08-27 12:13:20 -07:00
Stephen Birarda
c212ef5734
fix PacketReceiver cleanup, return permission error for upload
2015-08-27 12:01:24 -07:00
Ryan Huffman
a49a1eb0d6
Add extension to atp requests
2015-08-27 11:51:45 -07:00
Stephen Birarda
f92ee597e5
fix width of asset upload dialog to fit ATP url
2015-08-27 11:32:03 -07:00
Brad Hefta-Gaub
7b2f944f48
Merge pull request #5561 from ericrius1/particleExtensions
...
Extended Particle entity to allow for more varied effects
2015-08-27 10:45:03 -07:00
Stephen Birarda
0f4a4b5cc1
resolve conflicts on merge with huffman/atp-server
2015-08-27 10:30:56 -07:00
Ryan Huffman
c6493b1720
Remove extension from hash in AssetResourceRequest
2015-08-27 10:27:12 -07:00
Stephen Birarda
513cae0d40
thread the AssetUpload so it doesn't take over main
2015-08-27 10:23:02 -07:00
Sam Gateau
4f7b857130
Merge
2015-08-27 10:01:39 -07:00
Ryan Huffman
667db200c0
Cleanup BatchLoader
2015-08-27 09:39:12 -07:00
Ryan Huffman
8765329a46
Add ASSET_TOO_LARGE to AssetUtils
2015-08-27 09:32:39 -07:00
Ryan Huffman
92dbe9997c
Clean up AssetRequest
2015-08-27 09:31:50 -07:00
Ryan Huffman
15854c6715
Make AssetClient methods private
2015-08-27 09:31:34 -07:00
Ryan Huffman
b72e7e356d
Clean up AssertClient
2015-08-27 09:31:17 -07:00
Stephen Birarda
c277584f2e
Merge branch 'atp-server' of https://github.com/huffman/hifi into asset-upload
2015-08-27 09:17:25 -07:00
Ryan Huffman
c2fcf5865a
Update log message for uploading assets
2015-08-26 16:02:47 -07:00
Ryan Huffman
d66c521200
Move SendAssetTask to separate file
2015-08-26 15:37:23 -07:00
Stephen Birarda
0450e84008
Merge branch 'atp-server' of https://github.com/huffman/hifi into asset-upload
2015-08-26 15:30:25 -07:00
Stephen Birarda
9e286666b5
add UDT to comment for Connection cleanup
2015-08-26 14:55:59 -07:00
Stephen Birarda
c340c34b38
add comments for PacketReceiver TODOs
2015-08-26 14:53:05 -07:00
Stephen Birarda
d3b19f36fd
don't use remove_if since it can't be used on associative
2015-08-26 14:43:09 -07:00
Stephen Birarda
4039c2e3e0
fix for asset-server naming, deadlock in timeout/wait
2015-08-26 14:27:12 -07:00
Ryan Huffman
2e585256ff
Update asset hash to Sha256
2015-08-26 14:20:24 -07:00
Ryan Huffman
269d5bb6da
Resolve bugs with *Cache changes
2015-08-26 14:04:55 -07:00
Stephen Birarda
352f3543c3
resolve conflicts on merge with ds-cleanup
2015-08-26 13:33:50 -07:00
Stephen Birarda
f16e0a63ee
add a string for asset-server node type
2015-08-26 13:29:40 -07:00
Stephen Birarda
d039930ca3
resolve conflicts on merge with clement/protocol
2015-08-26 12:50:13 -07:00
Stephen Birarda
413c3a4fd7
Merge branch 'handshake' into asset-upload
2015-08-26 12:45:00 -07:00
Stephen Birarda
dc1f726283
don't assign the asset-server in domain by default
2015-08-26 12:36:48 -07:00
Ryan Huffman
aa7d8678e1
Merge branch 'protocol' of github.com:birarda/hifi into atp-server
2015-08-26 12:26:11 -07:00
Atlante45
5b5dc94335
Make DoubleLock thread-safe but not self-unlocked
2015-08-26 20:03:04 +02:00
Atlante45
b1fa12cc43
Better debug message
2015-08-26 19:38:24 +02:00