aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-09Fix "fix-phantoms" help message. Thanks Garmin Kawaguichi.Justin Clark-Casey (justincc)1-4/+5
2011-12-09Move client id check in Scene.Inventory.cs:UpdateInventoryItemAsset so that ↵Justin Clark-Casey (justincc)1-4/+6
it doesn't trigger an exception if the item hasn't been found. In this situation we will now put out a slightly more meaningful log error message instead.
2011-12-09Add commented log lines to FetchInventoryDescendents2 path for future use.Justin Clark-Casey (justincc)3-4/+95
Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost
2011-12-08Revert "Revert "Stop performing the asset save part of baked texture ↵Justin Clark-Casey (justincc)1-5/+9
uploading on the UploadBakedTexture cap asynchronously."" This turned out not to be the upload texture issue. This reverts commit 8721841fc3944ce0cdf5ce76297e73f9ed269751.
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)4-125/+167
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)4-19/+10
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-08minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-3/+1
2011-12-08When a client connects to a scene, send other avatar appearance data ↵Justin Clark-Casey (justincc)1-6/+6
asynchronously to reduce hold up in the IN UDP packet processing loop. This is already being done for the initial object data send.
2011-12-08On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)13-78/+171
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-08Simplify Scene.AddNewClient()Justin Clark-Casey (justincc)1-17/+28
If sp becomes null right after we've checked or created it, then behaviour down the line is going to be wrong anyway. So instead retain the check/create ScenePresence reference and use this.
2011-12-08Remove a left over log outputMelanie1-2/+1
2011-12-07Remove warning in admin_save_oar xmlrpc method where noassets == true was ↵Justin Clark-Casey (justincc)1-1/+1
comparing against an object rather than a string
2011-12-07Have admin_load_heighmap and admin_save_heightmap xmlrpcadmin methods return ↵Justin Clark-Casey (justincc)1-2/+2
success = true on success rather than false
2011-12-07Refactor RemoteAdminPlugin so that every xmlrpc method calls a common block ↵Justin Clark-Casey (justincc)1-1711/+1370
of code to do password checks, etc., instead of copy/pasting this code into every method
2011-12-07Remove unused SceneManager.TryGetAvatarsScene()Justin Clark-Casey (justincc)1-20/+0
It makes far more sense anyway to use TryGetRootScenePresence().Scene, in common with the rest of the code This method could also return any scene for child or root agents, depending in which order the scenes happened to lie in the list
2011-12-07On an Exception in Scene.RemoveClient(), always remove the client (and SP) ↵Justin Clark-Casey (justincc)1-19/+28
structure so that logout on unexpired packets isn't retriggered, causing the same exception
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)5-5/+157
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
2011-12-07Trigger a Jenkins buildBlueWall1-0/+1
2011-12-07properly lock CapsHandlers.m_capsHandlersJustin Clark-Casey (justincc)1-26/+40
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)5-36/+13
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)2-3/+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-06Revert "Stop performing the asset save part of baked texture uploading on ↵Justin Clark-Casey (justincc)1-9/+5
the UploadBakedTexture cap asynchronously." This is a possible cause of the dramatic upswing in "Unable to upload... No handler registered for LLSD requests..." Needs more investigation. This reverts commit 1854c52ea3c60d0a47f9793a7f5ec405e15489ca.
2011-12-06Make "show appearance" a synonym for "appearance show"Justin Clark-Casey (justincc)1-2/+8
2011-12-06In "appearance show", if a particular avatar is specified, print out texture ↵Justin Clark-Casey (justincc)1-5/+35
UUID for each bake type and whether the simulator can find it.
2011-12-06Actually send the avatar data if an individual avatar is specified, rather ↵Justin Clark-Casey (justincc)1-0/+2
than accidentally doing nothing
2011-12-06Allow "appearance show" command to take an optional avatar nameJustin Clark-Casey (justincc)1-8/+40
2011-12-06Make it possible to manually send appearance information via the "appearance ↵Justin Clark-Casey (justincc)1-11/+42
send" command for a chosen avatar as well as all
2011-12-06Provide feedback as to which avatars are resending appearance informion on ↵Justin Clark-Casey (justincc)1-2/+11
"appearance send" console command
2011-12-05Add test for not found response from GetTexture cap handler.Justin Clark-Casey (justincc)2-0/+242
Add OpenSim.Region.Capabilities.Handlers.Tests.dll into test suite
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)55-103/+380
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-05Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie4-65/+67
2011-12-05For the GetTexture capability, if a data range is requested that covers the ↵Justin Clark-Casey (justincc)1-14/+25
whole asset length, return HTTP PartialContent instead of NotFound NotFound is obviously wrong, and this change stops viewer 3.2.2 (and v probably earlier) complaining in the log about missing textures that are actually present. We still return PartialContent even if the range requested is a superset of the data range as per httpd's behaviour https://issues.apache.org/bugzilla/show_bug.cgi?id=51878 Viewer 3.2.2 and very probably earlier appear happy with this. Whether fixing this NotFound bug has any practical effect apart from resolve viewer log messages is unknown.
2011-12-04HG: Added HEAD method to Helo service. This is the preferred method, but its ↵Diva Canto2-1/+35
wide use will have to wait a few releases. So the sims are still calling GET for now.
2011-12-04HG: Renamed one methodDiva Canto5-5/+5
2011-12-03Split up test SceneHelpers to provide an AddChildScenePresence() callJustin Clark-Casey (justincc)2-10/+26
2011-12-03Remove T012_TestAddNeighbourRegion() and T013_TestRemoveNeighbourRegion() ↵Justin Clark-Casey (justincc)1-70/+5
since they don't do anything useful.
2011-12-03Extend TestCreateChildScenePresence to make assertions both at CreateAgent ↵Justin Clark-Casey (justincc)1-0/+16
stage and then at Scene.AddClient()
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)7-29/+85
This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
2011-12-03Improve locking in AgentCircuitManagerJustin Clark-Casey (justincc)1-25/+41
2011-12-03Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵Justin Clark-Casey (justincc)3-42/+57
dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions
2011-12-03Add agent circuit number checks to TestCloseAgent()Justin Clark-Casey (justincc)1-0/+4
2011-12-03Correct SOP.GetNumberOfSides() to return 8 for meshes rather than 7Justin Clark-Casey (justincc)1-7/+5
We are returning the actual number of 'sides', not the maximum index number. Also minor format corrections.
2011-12-03Workaround for mesh to correct the number of faces in GetNumberOfSides(). ↵marc1-1/+9
Meshs are handeled as sculpts but can have up to 8 faces (SL restriction the collada format can handle even more). The patch enables all LSL function that adressing faces to behave correct. Like llGetNumberOfSides(); llSetLinkPrimitiveParamsFast(); llSetPrimitiveParams(); llSetColor(); Signed-off-by: marc <mare@sounddog.net>
2011-12-03Update SP.PhysicsCollisionUpdate() doc.Justin Clark-Casey (justincc)1-2/+5
It might be inefficient, but there are collisions every frame if the avatar is walking/standing on the ground or a prim surface
2011-12-03Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's ↵Justin Clark-Casey (justincc)1-0/+4
called continuously even where there are no collisions
2011-12-03Add basic TestFlyingAnimation() regression testJustin Clark-Casey (justincc)2-2/+75
2011-12-03Stop calling Animator.UpdateMovementAnimations() at the end of ↵Justin Clark-Casey (justincc)1-2/+2
HandleAgentUpdate(). There's no point doing this if it's being called via PhysicsCollisionUpdate