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-05-31Fix create selection getting overwritten by multiple updates for the same prim.Melanie Thielker1-2/+2
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-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-20* Don't send texture data for prims in ImprovedTerseObjectUpdate packets ↵unknown1-1/+5
unless we were asked to
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-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-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-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-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
2010-02-28Change the signature of SendChangeUserRights, because we have to sendMelanie1-2/+2
this to both parties
2010-02-28Add missing ChangeUserRights packet senderMelanie1-0/+15
2010-02-28Initial Online friends notification seems to be working reliably now. All ↵Diva Canto1-3/+3
this needs more testing, but everything is there.
2010-02-23Streamlined error logging for malformed packets and fixed a bug when ↵John Hurliman1-4/+3
printing the hex dump
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-2/+2
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+3
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-20* Added a sanity check for missing asset data in LLClientViewJohn Hurliman1-0/+10
* Moved the SL asset type to content type conversion methods from ServerUtils to OpenSim.Framework.SLUtil * Linked content type to asset type in AssetMetadata
2010-02-19minor: Make FlotsamAssetCache default loglevel 0 to match that given in ↵Justin Clark-Casey (justincc)1-2/+2
bin/config-include/FlotsamCache.ini.example
2010-02-17remove old commented out switch statement in LLClientView since this has ↵Justin Clark-Casey (justincc)1-4845/+2
successfully been split into separate methods for quite some time now
2010-02-15Formatting cleanup.Jeff Ames1-1/+1
2010-02-14Revolution is on the roll again! :)Revolution1-1/+55
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-02-12Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)1-18/+18
These patch should allow people using systems that do not have their locale set to En_US or similar to use OpenSim without suffering effects such as being a million miles up in the air on login. The problem was caused by parsing strings without forcing that parse to be En_US (hence different decimal and digit group symbols were causing problems). Thanks very much to VikingErik for doing the legwork on this fix and phacelia for spotting it in the first place.
2010-02-12Fix http://opensimulator.org/mantis/view.php?id=4224Justin Clark-Casey (justincc)1-3/+3
This resolves the problem where eyes and hair would turn white on standalone configurations When a client receives body part information, for some insane reason or other it always ends up uploading this back to the server and then immediately re-requesting it. This should have been okay since we stored that asset in cache. However, the standalone asset service connector was not checking this cache properly, so every time the client made the request for the asset it has just loaded it would get a big fat null back in the face, causing it to make clothes and hair white. This bug did not affect grids since they use a different service connector.
2010-02-04refactor: chain two ScenePresence constructors together to eliminate common ↵Justin Clark-Casey (justincc)1-1/+3
code. No functional changes
2010-01-30* HGScene is no more.Diva Canto2-2/+0
* Moved a few key inventory access methods from Scene.Inventory to an IInventoryAccessModule module
2010-01-29* HGGridConnector is no longer necessary.Diva Canto2-0/+10
* Handle logout properly. This needed an addition to IClientAPI, because of how the logout packet is currently being handled -- the agent is being removed from the scene before the different event handlers are executed, which is broken.