Stephen Birarda
332601b91c
final fixes for path query from DS
2015-05-12 14:34:14 -07:00
Stephen Birarda
7330e5255d
handle path query response from DS in NL/AM
2015-05-12 13:48:41 -07:00
Stephen Birarda
0562fee82a
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-paths
2015-05-12 12:39:05 -07:00
Stephen Birarda
e0ccc986b1
add a method to DS to respond to path query
2015-05-12 12:29:09 -07:00
Stephen Birarda
d8b17ffeb0
add packets for a path query and path response
2015-05-12 12:00:03 -07:00
Anthony Thibault
e1cbfcd901
Merge branch 'master' into ajt/particle-system-improvements
...
Conflicts:
libraries/networking/src/PacketHeaders.cpp
libraries/networking/src/PacketHeaders.h
2015-05-11 19:24:13 -07:00
Anthony Thibault
b3af515224
Particle entity improvements based on code review.
...
* Updated variable naming to match coding standards.
* Changed particle raw float arrays to vectors.
* Bug fix: changing maxParticles will no longer lead to memory corruption.
* Made particle ring buffer more explicit, added _particleTailIndex.
* Added getLivingParticleCount() private method.
* Moved integration and bounds code into private methods.
* Bug fix: high emit rates now properly integrate particles forward for the
remaing frame time, not the entire frame.
* Bug fix: new particles were not initiaized to origin.
* Added more particles to ajt-test.js.
* Bug fix: ajt-test.js script was not shutting down properly.
* Removed random seed, unless we have a psudo random number generator per
particle system instance, it's unlikely that this will preserve sync.
* Bumped packet version number.
2015-05-11 19:21:33 -07:00
Seth Alves
866a6fba9b
Merge pull request #4823 from birarda/master
...
repairs to AC stop and clean shutdown
2015-05-11 18:11:52 -07:00
Brad Davis
c12b74ebd0
Merge pull request #4816 from ctrlaltdavid/fix-pragma
...
Disable pragma that Windows doesn't know about
2015-05-11 12:30:54 -07:00
Stephen Birarda
8c6715e4fc
resolve conflicts on merge with upstream/master
2015-05-11 11:10:22 -07:00
Clément Brisset
5160eb5b94
Merge pull request #4819 from ZappoMan/moreZoneProperties
...
More Zone Atmosphere Work: add automatic day/hour calculation
2015-05-11 19:38:27 +02:00
Seth Alves
d86b22f7c8
Merge pull request #4824 from howard-stearns/cache-mod-time
...
Cache mod time
2015-05-11 10:38:23 -07:00
Clément Brisset
421ebeb3d7
Merge pull request #4795 from birarda/sequence-numbers
...
add sequence number support to NL, don't double send data from AvatarMixer
2015-05-11 19:23:33 +02:00
Howard Stearns
cdef09c9dd
Add comment (and force previous change to the right branch).
2015-05-11 10:12:03 -07:00
Howard Stearns
aed165809c
Use resource cache as long as it is no older than network resource.
...
This allows chache to be used when cdn provides different values for get-vs-head, or for cdn with different resource times in different requests of different sessions.
2015-05-11 10:01:49 -07:00
David Rowe
662f07a921
Better #if condition for clang
2015-05-11 09:31:12 -07:00
Seth Alves
e6023c59c1
if _reply is NULL, it doesn't make sense to worry about if it's finished loading or not.
2015-05-10 17:15:48 -07:00
ZappoMan
17c3c1a18d
add support for automatic hour/day calculations and backward compatibility on stage properties
2015-05-10 15:22:02 -07:00
David Rowe
70f7329a7e
Disable pragma that Windows doesn't know about
2015-05-09 17:59:10 -07:00
Stephen Birarda
897ed84cca
remove debug calls used to find ACApp stall
2015-05-08 14:56:49 -07:00
Stephen Birarda
0a295bada1
add debugging to catch AC kill hang
2015-05-08 14:32:16 -07:00
Stephen Birarda
99a9f2df90
don't allow an AC monitor to take over other local ACs
2015-05-08 14:02:19 -07:00
Stephen Birarda
be58347aec
consider assignment completed when worker thread is gone
2015-05-08 10:40:04 -07:00
Stephen Birarda
0f71e93c7f
ensure no new OST creation on OctreeServer shutdown
2015-05-08 10:12:14 -07:00
Stephen Birarda
a3ce02181e
fix ThreadedAssignment setFinished debug
2015-05-07 17:06:09 -07:00
Stephen Birarda
d75d204ff6
standardize cleanup of ThreadedAssignments
2015-05-07 17:03:43 -07:00
Stephen Birarda
305835ea79
Merge branch 'master' of https://github.com/highfidelity/hifi into sequence-numbers
2015-05-07 15:38:35 -07:00
Stephen Birarda
bfccf02912
use lamdbas for linkedDataCreateCallback
2015-05-07 15:37:02 -07:00
Stephen Birarda
e3acf861ff
fix for unverified datagram writes
2015-05-07 14:07:14 -07:00
Stephen Birarda
e540a6dbb3
fix packet sequence number unmarshal
2015-05-06 14:48:10 -07:00
Stephen Birarda
ff676958e8
fix hash replacement in PacketHeaders
2015-05-06 14:24:11 -07:00
Stephen Birarda
c5e189bbf2
use new PacketHeaders calls from LimitedNodeList
2015-05-06 11:52:03 -07:00
Stephen Birarda
ba9ed12415
store last sequence number sent with data
2015-05-06 11:35:34 -07:00
Stephen Birarda
e2986f5702
add get seq num, cleanup PacketHeaders methods
2015-05-06 11:34:58 -07:00
Stephen Birarda
b0c7af1714
store last seq for node/packet type combo
2015-05-06 10:41:41 -07:00
Stephen Birarda
5b1514a390
Merge branch 'master' of https://github.com/highfidelity/hifi into sequence-numbers
2015-05-06 10:12:17 -07:00
ZappoMan
0cb14650b6
added skybox group properties to zones
2015-05-05 14:12:02 -07:00
Stephen Birarda
a481c57315
fix for writeDatagram with hash and sequence number
2015-05-05 12:44:47 -07:00
Stephen Birarda
6b3cf1ba4a
remove dependency of PacketHeaders on NodeList
2015-05-05 12:19:42 -07:00
Stephen Birarda
c76ae56d64
allow optional sequence numbers in packets
2015-05-05 11:00:27 -07:00
ZappoMan
77232e35f8
Merge branch 'master' of https://github.com/highfidelity/hifi into atmosphereInZones
2015-05-04 17:16:33 -07:00
Stephen Birarda
ff89831894
fix for object below array in JSONBreakableMarshal
2015-05-04 16:32:26 -07:00
ZappoMan
78f7870cbb
more tweaks to atmosphere properties
2015-05-04 11:13:05 -07:00
Stephen Birarda
fb7646b02b
add a QDebug for failed conversion in fromString
2015-05-04 10:32:49 -07:00
Stephen Birarda
edade7baba
resolve conflicts on merge with upstream master
2015-05-01 16:24:16 -07:00
Stephen Birarda
5e2a22a006
perform requested interpolation when unpacking
2015-05-01 15:58:22 -07:00
Stephen Birarda
99bddcc102
insert usernames to JSONBreakableMarshal interpolate map
2015-05-01 15:45:53 -07:00
Stephen Birarda
4b777f09e6
repairs to JSONBreakableMarshal for array values
2015-05-01 15:14:41 -07:00
Stephen Birarda
94739cf8d3
move number constants out of SharedUtil to NumericalConstants
2015-05-01 10:26:53 -07:00
Ryan Huffman
b49a04c638
Add name property to entities
2015-05-01 08:40:24 -07:00
Stephen Birarda
5b55a52a04
add check in AvatarMixer for next adjustment
2015-04-30 15:36:31 -07:00
Stephen Birarda
b50545f414
use symlink for DS resources, add AM bandwidth
2015-04-30 13:53:44 -07:00
Stephen Birarda
4c4af81d3d
fix kbps comment in NetworkPeer
2015-04-30 08:58:26 -07:00
Stephen Birarda
3a10da688f
switch the avatar stat to kbps
2015-04-30 08:56:08 -07:00
Stephen Birarda
2c0604afd1
fix string JSON unmarshal, add basic avatar values
2015-04-30 08:55:08 -07:00
Seth Alves
09eea83461
don't give timers owners while also keeping track of them in as class instance variables
2015-04-29 19:18:58 -07:00
Seth Alves
e985f56b12
cleanups
2015-04-29 15:30:13 -07:00
Seth Alves
009bb9dc71
all 4 types of assignment-client appear to exit cleanly, now
2015-04-29 15:16:00 -07:00
Stephen Birarda
31c067cac5
fix change of keypath after handling array index
2015-04-29 15:10:04 -07:00
Stephen Birarda
b55889597d
complete unmarshal of breakable json using QVariant
2015-04-29 15:03:49 -07:00
Stephen Birarda
b17191a20f
add method to convert a QStringList back to QJsonObject
2015-04-29 12:40:24 -07:00
Seth Alves
e7d8bccd5d
cleanups
2015-04-29 12:03:54 -07:00
Seth Alves
d2cd4fc405
types 0 and 1 exit cleanly, type 6 crashes
2015-04-29 11:56:45 -07:00
Stephen Birarda
24576574ae
add breaking of marshaled buffer to QStringList
2015-04-29 11:20:07 -07:00
Stephen Birarda
c7a7bc1646
handle sending of JSONBreakableMarshal data via sendStats
2015-04-29 10:44:17 -07:00
Seth Alves
02fd9987c7
rework audio mixer so it can exit cleanly
2015-04-28 18:38:41 -07:00
Stephen Birarda
68998f4423
cleanup AudioMixer stats to be properly nested
2015-04-28 18:19:16 -07:00
Stephen Birarda
4e6979cac8
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar-mixer-throttling
2015-04-28 16:50:07 -07:00
Stephen Birarda
698fcdfbbf
add JSONBreakableMarshal to help with MTU stats sending
2015-04-28 16:50:00 -07:00
Stephen Birarda
404cd67bb7
Merge pull request #4716 from sethalves/assignment-client-exits
...
assignment-client shouldn't try to save contents of its nonexistent address bar
2015-04-28 19:40:44 -04:00
Seth Alves
a234c02d7d
Merge branch 'master' of github.com:highfidelity/hifi into assignment-client-exits
2015-04-28 13:41:56 -07:00
Seth Alves
28ad80936a
assignment-client shouldn't try to save contents of its nonexistent address bar. interface still needs to save the address.
2015-04-28 13:21:14 -07:00
Seth Alves
f9c0493c61
when a login is completed, reset the node list in order to force a re-connection to the domain-server (thereby giving the interface any new rights it deserves, such as the ability to edit entities)
2015-04-28 10:23:08 -07:00
Seth Alves
b69cba1aba
respond to code-review
2015-04-25 10:50:18 -07:00
Seth Alves
0fb1a83e3b
quiet compiler, remove some trailing control-Ms
2015-04-25 09:20:00 -07:00
Atlante45
8dc98d86b5
Bump entities packet version
2015-04-22 21:16:03 +02:00
ZappoMan
19386d5a5d
Merge branch 'master' of https://github.com/highfidelity/hifi into ZoneEntity2
...
Conflicts:
libraries/networking/src/PacketHeaders.cpp
libraries/networking/src/PacketHeaders.h
2015-04-22 09:35:08 -07:00
ZappoMan
e436c95212
first cut at reworking zones
2015-04-21 14:36:13 -07:00
Seth Alves
f452e47577
Merge branch 'master' of github.com:highfidelity/hifi into acceleration-and-owner-in-wire-protocol
2015-04-20 08:49:33 -07:00
Seth Alves
07b9d73edf
bump protocol version
2015-04-17 11:20:35 -07:00
Stephen Birarda
64d17f101a
obfuscate set access token from AM log
2015-04-17 10:44:01 -07:00
Seth Alves
1dd01cde00
expand svo to hold acceleration and id of current simulator node
2015-04-08 15:39:34 -07:00
Seth Alves
9014397167
try again without macro
2015-04-07 09:59:04 -07:00
Seth Alves
7af32bd67a
put audio and script-engine logging into their own QLoggingCategory
2015-04-06 15:57:18 -07:00
Seth Alves
cb7ff86386
put networking library into its own QLoggingCategory
2015-04-06 15:11:48 -07:00
Bradley Austin Davis
44c9d4a742
Working on removing some of the warnings in the xcode build
2015-04-02 16:12:44 -07:00
Stephen Birarda
1d5f1807f7
Merge pull request #4562 from sethalves/editors-are-rezzers
...
add a bool value to Node which indicates if it is allowed to rez new ent...
2015-03-31 18:53:29 -07:00
Seth Alves
8bca8ad4ef
bump protocol versions for PacketTypeDomainList and PacketTypeDomainListRequest
2015-03-31 18:37:42 -07:00
Seth Alves
4e83301c65
add a bool value to Node which indicates if it is allowed to rez new entities
2015-03-31 18:27:46 -07:00
Philip Rosedale
6a171c2f22
Merge pull request #4559 from birarda/constant-metaverse-url
...
add a networking constants class with the metaverse server URL
2015-03-31 18:13:41 -07:00
Seth Alves
d17289f566
Merge pull request #4556 from birarda/damaged-xcode
...
handle a domain-server port change once connection initiated
2015-03-31 17:12:01 -07:00
Stephen Birarda
e22b33e96d
fix QUrl include for ubuntu
2015-03-31 17:00:04 -07:00
Stephen Birarda
61806935bb
add a networking constants class with metaverse URL
2015-03-31 16:40:21 -07:00
Stephen Birarda
64921c38b6
don't overlock in killNodeWithUUID
2015-03-31 16:25:22 -07:00
Stephen Birarda
cf7a6dda74
Merge branch 'master' of https://github.com/highfidelity/hifi into damaged-xcode
2015-03-31 16:14:59 -07:00
Stephen Birarda
740438d08d
handle domain-server local port changes once connected
2015-03-31 16:11:41 -07:00
Brad Hefta-Gaub
d77333953e
Merge pull request #4552 from sethalves/island
...
Fix various collision-model related bugs
2015-03-31 15:47:53 -07:00
David Rowe
154dacf791
Fix typo
2015-03-31 14:21:56 -07:00
Seth Alves
9e0118492e
make sure to not leave in-use resources in UnusedResource list
2015-03-31 14:04:21 -07:00
Seth Alves
186cb1ec7a
merge from upstream
2015-03-30 11:28:47 -07:00