aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-28Start on Bulk inventory update via CAPS. Not functional yet. HG v2Melanie1-0/+48
2012-03-28Add a corresponding method for items. HG v2Melanie1-0/+38
2012-03-28Add SendRemoveInventoryFolders which allows to remove one or moreMelanie1-1/+40
folders from the viewer's inventory view. For HG v2.0. More to come
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)1-6/+1
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-09Factor out common default animations code into SLUtil. LLClientView now ↵Justin Clark-Casey (justincc)1-26/+1
makes use of the SLUtil copy via a method rather than each LLClientView loading a separate copy. As per opensim-users mailing list discussion.
2012-02-10Fix: Covenant view fails after updates or cache-clean see mantis ↵PixelTomsen1-0/+12
http://opensimulator.org/mantis/view.php?id=2879 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-10Fix: Unable to remove AV from friend list (sqldb-bug) ↵PixelTomsen1-7/+7
http://opensimulator.org/mantis/view.php?id=3731
2012-02-03Fix: Covenant changed time not set ↵PixelTomsen1-4/+4
http://opensimulator.org/mantis/view.php?id=5869 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie1-7/+7
accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
2012-01-31minor: remove mono compiler warningJustin Clark-Casey (justincc)1-2/+1
2012-01-21Telehub Support:BlueWall1-1/+13
Telehub settings now persist to the database and are saved across sim restarts. So-far this only works on MySQL. this is a work in progress, teleport routing is not yet implemented.
2012-01-20Telehub Support:BlueWall1-3/+36
Support for viewer side of telehub management. Can manupulate Telehubs and SpawnPoints from the viewer estate managemnt tools. This is a work in progress and does not yet persist or affect teleport routing.
2012-01-16Comment out noisy log lines I accidentally included in the nant build target ↵Justin Clark-Casey (justincc)1-6/+6
adjustment commit. Left in the method doc.
2012-01-16Remove monocov and other obsolete nant build targets.Justin Clark-Casey (justincc)1-5/+10
monocov was a code coverage attempt 3 years ago which no longer works. other removed targets have been commented out or unused for a very long time
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)1-5/+9
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-04Minor formatting changes and commented out log lines for future debugging of ↵Justin Clark-Casey (justincc)1-1/+1
image manager (udp texture fetch). No significant functional changes.
2012-01-04Remove the pointless LLClientView.m_imageManager null check.Justin Clark-Casey (justincc)1-16/+4
Despite the code comments we never actually null it.
2011-12-19Stop unnecessarily sending the TextureEntry in client avatar updates.Justin Clark-Casey (justincc)1-1/+7
As far as I know, viewers don't use this mechanism to recieve new TextureEntry data for avatars. This is done via the AvatarAppearance packet instead. Tested this back to viewer 1.23. Replacing with Utils.EmptyBytes since converting the texture entry to bytes on each AvatarUpdate (or which there are many) is not cost-free.
2011-12-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)1-4/+13
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-12-16Stop generating client flags when we send out full object updates.Justin Clark-Casey (justincc)1-0/+1
These were entirely unused.
2011-12-13In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() ↵Justin Clark-Casey (justincc)1-2/+4
in the same thread rather than on another one. The caller is already an async thread from LLClientView so this doesn't hold up the client. However, launching on a separate thread does remove the effect of m_setAppearanceLock This was potentially allowing two different SetAppearance threads to interfere with each other, though this probably rarely happens, if at all.
2011-12-10Implement handler for TeleportCancel inbound packetMelanie1-0/+12
2011-12-09Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)1-12/+4
in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)1-1/+3
it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
2011-11-24When setting packet level logging via "debug packet", apply to all clients, ↵Justin Clark-Casey (justincc)1-7/+11
not just root ones. Also adds scene name and client type (root|child) to logged information.
2011-11-14If a friends identifier which is too short is given to ↵Justin Clark-Casey (justincc)1-0/+2
HGFriendsModule.GetOnlineFriends() then spit out a warning rather than failing on the String.Substring(). This is to progress http://opensimulator.org/mantis/view.php?id=5789
2011-11-11Restore sending of OutPacket() for object kills removed in commit c7dd7b1.Justin Clark-Casey (justincc)1-26/+20
OutPacket() must be called within the m_killRecord lock. Otherwise the following event sequence is possible 1) LLClientView.ProcessEntityUpdates() passes the kill record check for a particular part suspends before OutPacket() 2) Another thread calls LLClientView.SendKillObject() to delete the same part and modifies the kill record 3) The same thread places the kill packet on the Task queue. 4) The earlier thread resumes and places the update packet on the Task queue after the kill packet. This results in a ghost part in the sim that only goes away after client relog. This commit also removes the unnecessary m_entityUpdates.SyncRoot locking in SendKillObject.
2011-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie1-21/+32
packet per prim. More to come as we change to make use of this.
2011-10-29Stop setting _position as well as m_taint_position in ODECharacter.PositionJustin Clark-Casey (justincc)1-2/+2
setting position at the same time as taint appears to undermine the whole purpose of taint testing doesn't reveal any obvious regressions in doing this
2011-10-27Don't blow our brains out if LLClientView.BulkInventoryUpdate() is wrongly ↵Justin Clark-Casey (justincc)1-1/+3
passed a null node reference. Addresses worst aspect of http://opensimulator.org/mantis/view.php?id=5752
2011-10-17refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter ↵Justin Clark-Casey (justincc)1-15/+10
without a getter
2011-10-17Add avatar names to debug packet outputJustin Clark-Casey (justincc)1-2/+2
2011-10-14refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it ↵Justin Clark-Casey (justincc)1-1/+1
sends entity updates (including presence ones), not just prims.
2011-10-13More method doc and formatting changes. Makes DestroyOdeStructures() privateJustin Clark-Casey (justincc)1-0/+6
2011-10-12minor: insert some commented out log lines which are a blunt but useful ↵Justin Clark-Casey (justincc)1-1/+1
instrument to see packet expiry and received acks
2011-10-03Remove usage of Linden packet types from inside Attachments Module and interfaceDan Lake1-3/+4
2011-09-22Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)1-3/+3
This is moved into ScenePresence for now as a general facility
2011-09-15refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to ↵Justin Clark-Casey (justincc)1-2/+2
reflect what it actually does This also makes it consistent with some other methods that send data to the client.
2011-09-01Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)1-5/+2
The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
2011-08-31Fix a bug where the non-root parts of rezzed objects that had previously ↵Justin Clark-Casey (justincc)1-1/+12
been attachments were sending their old attachment values to the client. The root part state is the canonical value, so always send that instead. Sending conflicting attachments states for non-root parts of a rezzed object is enough to crash the client. Fixes http://opensimulator.org/mantis/view.php?id=5664. Many thanks to mewtwo0641 for some fantastic qa work on this one.
2011-08-27refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)1-3/+7
pointless duplication of identical values
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-1/+1
removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-3/+3
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-10Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)1-1/+1
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-3/+3
agent
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-30/+14
2011-08-02Partially fix autopilot/go hereJustin Clark-Casey (justincc)1-45/+34
This now works again except that it requires a click or avatar mvmt to get going This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over. Even clicking is enough to trigger. This will be improved presently.
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+6
2011-07-19comment out all kinds of debugging guffJustin Clark-Casey (justincc)1-5/+5
2011-07-19Stop undo of just the root prim position in the linkset from shifting the ↵Justin Clark-Casey (justincc)1-5/+5
whole linkset. However, what happens now is that undo just doesn't do anything when the root prim is selected on its own. This requires more code than just fiddling with undo states.