aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-08Refactor SendCoarseLocations for better performance. Instead of computing ↵Dan Lake1-1/+1
list of all locations fresh for every scene presence on every frame, we will instead compute the list once every 50 frames and send to all connected presences at that time. Also, we only add 60 items to the list when there are more than 60 presences in the scene. For 1000 users, this change yields a 99.8% reduction in list processing and a 98% reduction in network bandwidth for coarse locations.
2010-06-08Comment out the attachment update reordering mechanism in LLClientView since ↵Justin Clark-Casey (justincc)1-31/+31
this doesn't appear necessary when the prim priorities are adjusted so that root prim updates are always sent before child prim updates.
2010-06-08Reduce number of full updates sent on region crossing for attachments/huds ↵Justin Clark-Casey (justincc)1-2/+41
to 1 from 3 This is one step towards reducing hud glitches on region crossing, since the viewer fails to display prims if it receives child full updates before the root prim full update This commit also introduces a mechanism in LLClientView to stop child attachment updates ever going out before the root one This is a very temporary mechanism and will be commented out when the next step of the fix (to give root prims higher udpate priority) is committed This code is a foreport from the equivalent changes in 0.6.9-post-fixes
2010-06-02Always provide at least 2 packets of a texture (if the texture is larger ↵Tom Grimshaw1-0/+3
than 1 packet). This fixes compatibility with the newer (broken) SnowGlobe and Emerald viewer(s), but also matches the behaviour of SL.
2010-05-31Fix create selection getting overwritten by multiple updates for the same prim.Melanie Thielker1-2/+2
2010-05-31Fix create selection getting overwritten by multiple updates for the same prim.Melanie Thielker1-2/+2
2010-05-27fix hanging output throttle arithmeticMike Rieker1-39/+27
had multiply overflow and subtract wrap-around errors
2010-05-28Apply Mike's TokenBucket fixMelanie Thielker1-39/+27
2010-05-27Revert "Comment noisy "CONNECTION DEBUGGING" messages, because they push more"Melanie1-1/+1
Some other stuff snuck in. This reverts commit 4cc533e7ad94d148351c16f48afd2a688a64c48a.
2010-05-27Comment noisy "CONNECTION DEBUGGING" messages, because they push moreMelanie Thielker1-1/+1
important stuff off screen too fast
2010-05-26Just because there is an agent update handler, that doesn't mean there isMelanie Thielker1-3/+4
a pre agent update handler. Null check these separately.
2010-05-26Just because there is an agent update handler, that doesn't mean there isMelanie Thielker1-3/+4
a pre agent update handler. Null check these separately.
2010-05-21Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari1-0/+15
parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
2010-05-21* Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman1-29/+17
Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
2010-05-20* Made PriorityQueue non-generic so it natively understands EntityUpdate structsJohn Hurliman1-38/+32
* Replaced the per-avatar seen update tracking with update flag combining, to avoid overwriting full updates with terse updates
2010-05-21Ensure that the first update sent out for any given prim is a full updateMelanie Thielker1-0/+11
2010-05-21Ensure that the first update sent out for any given prim is a full updateMelanie Thielker1-0/+11
2010-05-20* Don't send texture data for prims in ImprovedTerseObjectUpdate packets ↵unknown1-1/+5
unless we were asked to
2010-05-18Missed a nullref in the previous commitTom Grimshaw1-0/+2
2010-05-18Fix for hanging on "Connecting to region".. caused by packets being ↵Tom Grimshaw1-5/+32
processed before the presence has bound to receive events. Fixed this by adding packets to a queue and then processing them when the presence is ready.
2010-05-17Following on from the last commit, the stop/disconnect packet should NOT be ↵Tom Grimshaw1-1/+1
sent when the user logs out. This eliminates the annoying "crash on log out" bug, and allows the client to commit important information at the last moment (attachment data!)
2010-05-17Provide interface to prevent the client close function from sending the stop ↵Tom Grimshaw1-3/+15
packet
2010-05-17When killing a zombie session, don't send the stop packet since it often has ↵Tom Grimshaw1-3/+15
the effect of killing a newly connected client.
2010-05-12Minor tweak in ProcessEntityUpdates (mostly just confirming the git push is ↵unknown1-5/+4
working)
2010-05-12* Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown2-341/+304
original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
2010-05-11Spin the AddNewClient process off into a new thread to avoid locking up the ↵Tom Grimshaw1-1/+2
LLUDPServer (and therefore the entire scene)
2010-04-30Fix link security issueMelanie1-1/+1
2010-04-30Fix link security issueMelanie1-2/+2
2010-04-19minor: change a comment and replace some magic numbers with the AssetType enumJustin Clark-Casey (justincc)1-3/+3
2010-04-19If a transfer request is received for a task inventory item asset, then ↵Justin Clark-Casey (justincc)1-44/+64
route the permissions request through the existing CanEditScript() and CanEditNotecard() methods. This implements the 'share with group' flag for notecards and scripts in prim inventory since the PermissionsModule checks group membership and permissions. Other than that, the code in PermissionsModule duplicates the checks in LLClientView so there should be no change other than allowing group members to edit embedded notecards and scripts. For all other asset types, the permission checking code in LLClientView continues to be used, pending refactoring of suitable permissions code This means that 'share with group' will not yet work for prim inventory items other than notecards and scripts
2010-04-19log problems when an asset request through the UDP TransferRequest channel ↵Justin Clark-Casey (justincc)1-2/+45
goes wrong
2010-04-14minor: add some documentation around the asset udp request path and replace ↵Justin Clark-Casey (justincc)1-18/+33
some magic numbers with libomv enums
2010-04-12thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia1-0/+34
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-04-08Backported GetTextureModule and IAssetService.GetCached()John Hurliman1-2/+5
2010-04-08* Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman1-2/+5
cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
2010-04-07Fix llDialog responses so that they can be heard throughout the region. This ↵Thomas Grimshaw1-1/+1
now conforms to the behaviour in SL. ( http://bugs.meta7.com/view.php?id=13 )
2010-04-05log exceptions that end up at the top of a asynchronous viewer packet method ↵Justin Clark-Casey (justincc)1-3/+13
call rather than swallowing them
2010-04-05Partially implement share with group option for object inventory itemsJustin Clark-Casey (justincc)1-6/+9
If serverside permissions are off then this works as expected. Previously, it was impossible for more than one person to edit such items even if permissions were off. If serverside permissions are on then this works as expected if the object was created by an avatar who had the required group active. However, if the group for the object is later set then the contained item is still not editable. This may be linked to a wider bug where the object is still not modifiable by the group anyway
2010-04-02Don't append ACKs to zerocoded packets. Although this should fine in theory, ↵John Hurliman1-15/+20
I'm seeing the viewer ignore or fail to parse ACKs appended to our zerocoded packets. This should cut down on viewer->sim resend traffic
2010-03-31Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie1-3/+4
This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
2010-03-30minor: commented out code removalJustin Clark-Casey (justincc)1-1/+0
2010-03-30Completely prevent full update packets being sent after kill object packetsJustin Clark-Casey (justincc)1-6/+43
If a full update is sent after the kill, the object remains as in the linden viewer but in an undeletable and unowned state until relog This patch prevents this by recording kills in LLClientView
2010-03-25minor: Print out port that http servers are usingJustin Clark-Casey (justincc)1-3/+3
do this in callers so that we know who is setting up these things
2010-03-19Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake1-1/+1
Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
2010-03-16Removed the unused use_async_when_possible config variableJohn Hurliman1-1/+1
2010-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-0/+4
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-0/+4
2010-03-06- supporting llTextBoxunknown1-0/+20
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-05* Cache packed throttle data to avoid repeated allocations in ↵John Hurliman1-11/+24
CheckForSignificantMovement() * Removed a lock on "return m_neighbours.Count" in GetInaccurateNeighborCount(). Dictionary<>.Count by itself does not benefit from locking
2010-03-03remove references to OpenSim.Framework.Commuications.Tests.dll since all ↵Justin Clark-Casey (justincc)1-3/+13
relevant test code has been obsoleted this allows the tests to pass on my local system