aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-10-30Fix logins and avatar appearance. Contains a Migration. May contain nuts.Melanie1-0/+1
This will cause visual params to be persisted along with worn items. With this, alpha and tattoo laters will be saved. Multiple layers MAY work, but not tested because I don't use Viewer 2.
2010-10-30READ CAREFULLY!!! This is a BROKEN commit. It is UNTESTED and INCOMPLETE.Melanie1-6/+15
It contains a major interface version bump and will NOT work with earlier grid services. This is preliminary work that will lead to layers support. Rest appearance services are commented out completely, they will have to be adapted by someone who actually uses them. Remote admin is working, but has no layers support. There is no layers support in the database. Login likely won't work. You have been warned.
2010-10-21Deleted a verbose and unneeded log message.Diva Canto1-1/+1
2010-10-20Major refactoring of appearance handling.Master ScienceSim1-4/+4
AvatarService -- add two new methods, GetAppearance and SetAppearance to get around the lossy encoding in AvatarData. Preseve the old functions to avoid changing the behavior for ROBUST services. AvatarAppearance -- major refactor, moved the various encoding methods used by AgentCircuitData, ClientAgentUpdate and ScenePresence into one location. Changed initialization. AvatarAttachments -- added a class specifically to handle attachments in preparation for additional functionality that will be needed for viewer 2. AvatarFactory -- removed a number of unused or methods duplicated in other locations. Moved in all appearance event handling from ScenePresence. Required a change to IClientAPI that propogated throughout all the IClientAPI implementations.
2010-09-17Send kill packets for avatars, tooMelanie1-0/+4
2010-09-17Send KillPackets on the Task queue rather than the State queueJustin Clark-Casey (justincc)1-1/+6
Object updates are sent on the task queue. It's possible for an object update to be placed on the client queue before a kill packet comes along. The kill packet would then be placed on the state queue and possibly get sent before the update If the update gets sent afterwards then client get undeletable no owner objects until relog Placing the kills in the task queue should mean that they are received after updates. The kill record prevents subsequent updates getting on the queue Comments state that updates are sent via the state queue but this isn't true. If this was the case this problem might not exist.
2010-09-15extend m_entityUpdates.SyncRoot lock in LLClientView.ProcessEntityUpdates() ↵Justin Clark-Casey (justincc)1-49/+49
to reduce scope for kill/update race conditions This is necessary because it was still possible for an entity update packet to be constructed, the thread to pause, a kill to be sent on another thread, and then the original thread to resume and send the update This would result in an update being received after a kill, which results in undeletable ghost objects until the viewer is relogged Extending the lock looks okay since its only taken by kill, update and reprioritize, and both kill and update do not take further locks However, evidence suggests that there is still a kill/update race somewhere
2010-09-13Improve generic message exception logging. Quieten down complaints about ↵Justin Clark-Casey (justincc)1-2/+4
unhandled GenericMessages
2010-09-12Formatting cleanup.Jeff Ames1-132/+129
2010-09-11Prevent child agents from being blacklisted in the kill record.Melanie1-3/+6
2010-09-07Rolling back the recent libomv update but keeping the ExpiringCache cleanups ↵John Hurliman1-3/+3
(as much as is possible). There was a report of non-finite avatar positions after the update
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman1-3/+3
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker1-1/+5
on IDwellModule
2010-09-02Show when appearance is sent to an avatar to help track down failureMelanie Thielker1-0/+1
\to display avatars
2010-08-31reinsert functionality to debug log more levels of incoming and outgoing ↵Justin Clark-Casey (justincc)1-9/+43
client protocol packets These levels correspond to packets that one isn't usually interested in when debugging (e.g. regular outgoing SimStats packets) This is equivalent to what we had a year ago before it was removed. It's extremely crude since it doesn't allow one to pick individual clients or packets. However, it can still be useful when debugging packet race conditions.
2010-08-30Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman1-62/+70
properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
2010-08-30local commit with parcel media bitsJonathan Freedman1-62/+70
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-28Replace hardcoded 0 with KickFlags provided by the client.Justin Clark-Casey (justincc)1-1/+1
This finally completes http://opensimulator.org/mantis/view.php?id=4356 where this change had been accidentally removed. Thanks Revolution.
2010-08-26Send a null result search packet when no results are passsed inMelanie1-1/+4
2010-08-26Reinstate kill record check that prevents an entity update being sent to a ↵Justin Clark-Casey (justincc)1-1/+19
client after it has been told that the entity has been deleted. On Linden Lab clients and some derivatives, receiving an entity update after an entity deletion notice results in an undeleteable prim that disappears upon client relog. This check was dropped in 0.7 for unknown reasons but renewed testing demonstrates that queued updates can still be present after a scene object has been deleted.
2010-08-24Plumb the region type through to the ProductName field in estate messagesMelanie1-2/+2
2010-08-23Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)1-2/+0
2010-08-21Don't allow oversized search reply packetsMelanie Thielker1-17/+42
2010-08-17* Changed a few OSD.FromBinary() calls to the more accurate OSD.FromULong() ↵John Hurliman1-1/+1
to fix the build
2010-08-16Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto1-4/+15
TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
2010-08-13minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-3/+2
2010-08-10On shift-copy of an object, set up a new physics actor (as appropriate) for ↵Justin Clark-Casey (justincc)1-0/+4
every copied prim, not just the root This addresses http://opensimulator.org/mantis/view.php?id=4295
2010-08-10Handle incoming ObjectImage (TextureEntry) updates synchronously rather than ↵Justin Clark-Casey (justincc)1-1/+5
asynchronously At least on stock Linden clients, updating the texture on all faces of the prim will actually send an ObjectImage packet for each update. There is a race condition if these are handled async, meaning that occasionally not all of the faces are correctly updated.
2010-08-08In my crusade against facelights, I am striking the killing blow. Add aMelanie1-0/+21
DisableFacelights option to OpenSim.ini to finally kill those immersion- breaking, silly vanity lights that destroy nighttime RP. Girls, you look just fine without them. Guys, you too. Thank you. Melanie has left the building.
2010-08-07Correct display of landmark about info. Also correct region maturity ratingMelanie Thielker1-3/+3
in LM info. Maturity is NOT the parcel's setting, that is only for the image and text. Parcel maturity is governed by region maturity.
2010-07-26start sending media url in object full updatesJustin Clark-Casey (justincc)1-2/+1
2010-07-14Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie1-24/+0
Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
2010-07-14Remove useless quaternion parameter from AttachObject sigMelanie Thielker1-1/+1
2010-07-05Fixes mantis #4845Diva Canto1-0/+3
2010-07-04Got rid of all hyperassets references. Also fixed accessing textures in ↵Diva Canto1-2/+0
user's inventory in foreign grids.
2010-07-04Started to clean up the mess with HyperAssets in LLClientView. Fixed HG ↵Diva Canto1-81/+8
access to Notecards in user's inventory.
2010-07-01start sending media url in object full updatesJustin Clark-Casey (justincc)1-2/+1
2010-06-28Fix Copy on Ray, Drag Copy and other little things. Removed the wrong andMelanie Thielker1-3/+3
nonworking ownership assignment in SOG, which messed things up before. No longer trust the client to send the ID of the person something is copied as, since it allows to run a script with someone else's permissions. Properly adjust inventory ownership and perms.
2010-06-11* Tweak the StopFlying() method in LLClientView to fabricate a suitable ↵Teravus Ovares (Dan Olivares)1-21/+36
landing collision plane regardless of the actual physics situation. position.Z - AvatarHeight / 6f
2010-06-12Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie1-0/+40
we used to send before slimupdates and explicitly send it
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-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