aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)2-5/+19
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-06Implement the FetchInventory2 capability. This accompanies the existing ↵Justin Clark-Casey (justincc)1-0/+151
FetchInventoryDescendents2 capability. Not yet enabled by default. You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2 However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory For attachments, focussing on the avatar makes them appear. Hud objects have to be reattached.
2012-01-05recomment log messages I accidentally left uncommentedJustin Clark-Casey (justincc)1-6/+6
2012-01-05Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)1-6/+6
texture ids were available for the rebake request
2012-01-04Minor formatting changes and commented out log lines for future debugging of ↵Justin Clark-Casey (justincc)3-22/+76
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.
2012-01-02Reduce accessibility of some J2KImage/LLImageManager properties and methods ↵Justin Clark-Casey (justincc)2-12/+12
to reduce potential code complexity and make code reading easier.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-1/+8
hunting. No functional changes.
2011-12-24HG: more / love for XmasDiva Canto1-2/+5
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-08Don't reply with an ack packet if the client is not authorized.Justin Clark-Casey (justincc)2-45/+31
2011-12-08Extend TestAddClient() to check that the first packet received is an ack packetJustin Clark-Casey (justincc)3-93/+116
2011-12-08Add OpenSim.Region.ClientStack.LindenUDP.Tests.dll back into the test suiteJustin Clark-Casey (justincc)1-1/+1
2011-12-08Reactivate BasicCircuitTests.TestAddClient()Justin Clark-Casey (justincc)3-109/+138
This checks that the initial UseCircuitCode packet is handled correctly for a normal client login.
2011-12-08Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().Justin Clark-Casey (justincc)1-4/+4
The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)3-21/+46
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-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)1-6/+0
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-12-06Stop accidentally setting up the UploadTexture caps handler with the same ↵Justin Clark-Casey (justincc)1-1/+1
url for all users This meant that if a user exited the region, the UploadTexture handler would be effectively removed for everyone, causing subsequent failures. This hopefully resolves the recent UploadTexture LLSD problems This was a regression in 5640f2e (Thu Dec 1 23:24:15 2011 +0000)
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-3/+3
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-12-01refactor: Separate the upload baked texture handler out from BunchOfCapsJustin Clark-Casey (justincc)2-122/+113
2011-11-29On "show caps", stop excluding the seed cap but do exclude it elsewhereJustin Clark-Casey (justincc)1-1/+2
2011-11-29Improve some of the debug help messagesJustin Clark-Casey (justincc)1-0/+1
2011-11-29Correct mistake in "debug eq" helpJustin Clark-Casey (justincc)1-1/+1
2011-11-26Rip out unused Scene.HandleFetchInventoryDescendentsCAPS().Justin Clark-Casey (justincc)1-1/+0
This has been handled by WebFetchInvDescHandler.Fetch() for some time.
2011-11-26Use the same web fetch handler for every request from every avatar, since it ↵Justin Clark-Casey (justincc)1-3/+11
contains no instance code
2011-11-25Fix config so that you can have both WebFetchInventoryDescendents and ↵Justin Clark-Casey (justincc)1-1/+2
FetchInvnetoryDescendents2 caps active at once
2011-11-25Resolve error where an unknown asset type would cause the fetch inventory ↵Justin Clark-Casey (justincc)1-4/+1
descendents cap to fail. Introduced just a few commits ago in 0688861
2011-11-25Implement the FetchInventoryDescendents2 capability using the same code as ↵Justin Clark-Casey (justincc)1-17/+38
WebFetchInventoryDescendents. Enabling this by setting Cap_FetchInventoryDescendents2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini downloads inventory via http rather than udp in later viewers.
2011-11-25Fix WebFetchInventoryDescendents cap to use ↵Justin Clark-Casey (justincc)1-0/+2
Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings These cover a wider range of types.
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-24comment out a noisy log line I accidentally left in from the last commitJustin Clark-Casey (justincc)1-1/+1
2011-11-24Stop passing a request handler to the initial caps.RegisterHandler in ↵Justin Clark-Casey (justincc)1-157/+162
EventQueueGetModule since this is immediatley replaced by a poll server handler. This allows us to comment out a bunch of code and simplify the codebase and readability.
2011-11-24Add a "debug eq" console command for debugging.Justin Clark-Casey (justincc)1-6/+79
This will log outgoing event queue message names if turned on.
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-11-02Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake1-3/+4
UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
2011-11-01Removed redundant SceneContents property from Scene. It's the same as ↵Dan Lake1-1/+1
SceneGraph property.
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-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-0/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-24Fix bugs in EventQueueGetModule.ClientClosed() and ↵Justin Clark-Casey (justincc)2-4/+22
BaseHttpServer.RemovePollServerHTTPHandler() that stopped existing code in ClientClosed() from actually tearing down the poll handler Actually doing the tear down appear to have no ill effects with region crossing and teleport.
2011-10-24separate out future common setup code from EventQueueTests.AddForClient()Justin Clark-Casey (justincc)1-8/+14
2011-10-24Add new EventQueueTests with basic test to check that adding a client ↵Justin Clark-Casey (justincc)2-1/+72
registers an http poll
2011-10-17refactor: Make IClientAPI.DebugPacketFormat a property rather than a setter ↵Justin Clark-Casey (justincc)1-15/+10
without a getter